Variable MJRecordGeoCodeSchemaConst
MJRecordGeoCodeSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
Country: ZodNullable<ZodString>;
CountryID: ZodNullable<ZodString>;
Entity: ZodString;
EntityID: ZodString;
ErrorMessage: ZodNullable<ZodString>;
GeocodedAt: ZodNullable<ZodDate>;
GeocodingSource: ZodNullable<
ZodUnion<
[
ZodLiteral<"geocodio">,
ZodLiteral<"google">,
ZodLiteral<"here">,
ZodLiteral<"ip_geolocation">,
ZodLiteral<"manual">,
ZodLiteral<"native">,
ZodLiteral<"reference_data">,
ZodLiteral<"reverse">,
],
>,
>;
ID: ZodString;
Latitude: ZodNullable<ZodNumber>;
LocationType: ZodString;
Longitude: ZodNullable<ZodNumber>;
Precision: ZodNullable<
ZodUnion<
[
ZodLiteral<"city">,
ZodLiteral<"country">,
ZodLiteral<"county">,
ZodLiteral<"exact">,
ZodLiteral<"postal_code">,
ZodLiteral<"state_province">,
],
>,
>;
RecordID: ZodString;
RetryCount: ZodNumber;
SourceFieldHash: ZodNullable<ZodString>;
StateProvince: ZodNullable<ZodString>;
StateProvinceID: ZodNullable<ZodString>;
Status: ZodUnion<
[ZodLiteral<"failed">, ZodLiteral<"pending">, ZodLiteral<"success">],
>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Country?: string;
CountryID?: string;
Entity?: string;
EntityID?: string;
ErrorMessage?: string;
GeocodedAt?: Date;
GeocodingSource?: | "reverse"
| "geocodio"
| "google"
| "here"
| "ip_geolocation"
| "manual"
| "native"
| "reference_data";
ID?: string;
Latitude?: number;
LocationType?: string;
Longitude?: number;
Precision?: | "exact"
| "city"
| "country"
| "county"
| "postal_code"
| "state_province";
RecordID?: string;
RetryCount?: number;
SourceFieldHash?: string;
StateProvince?: string;
StateProvinceID?: string;
Status?: "success"
| "failed"
| "pending";
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Country?: string;
CountryID?: string;
Entity?: string;
EntityID?: string;
ErrorMessage?: string;
GeocodedAt?: Date;
GeocodingSource?: | "reverse"
| "geocodio"
| "google"
| "here"
| "ip_geolocation"
| "manual"
| "native"
| "reference_data";
ID?: string;
Latitude?: number;
LocationType?: string;
Longitude?: number;
Precision?: | "exact"
| "city"
| "country"
| "county"
| "postal_code"
| "state_province";
RecordID?: string;
RetryCount?: number;
SourceFieldHash?: string;
StateProvince?: string;
StateProvinceID?: string;
Status?: "success"
| "failed"
| "pending";
},
> = ...
zod schema definition for the entity MJ: Record Geo Codes