Variable ResponseBodySchemaConst
ResponseBodySchema: ZodObject<{
code: ZodOptional<ZodNullable<ZodNumber>>;
dealers: ZodOptional<ZodNullable<ZodArray<ZodObject<{
address1: ZodOptional<ZodNullable<ZodString>>;
city: ZodOptional<ZodNullable<ZodString>>;
code: ZodOptional<ZodNullable<ZodString>>;
dealerAttributes: ZodOptional<ZodNullable<ZodArray<ZodString, "many">>>;
dealerId: ZodOptional<ZodNullable<ZodString>>;
distance: ZodOptional<ZodNullable<ZodNumber>>;
email: ZodOptional<ZodNullable<ZodString>>;
encodedDashedCity: ZodOptional<ZodNullable<ZodString>>;
encodedDashedName: ZodOptional<ZodNullable<ZodString>>;
fax: ZodOptional<ZodNullable<ZodString>>;
fmp: ZodOptional<ZodNullable<ZodBoolean>>;
fmpt1: ZodOptional<ZodNullable<ZodBoolean>>;
general: ZodOptional<ZodNullable<ZodObject<{
hours: ...;
phone: ...;
url: ...;
}, "strip", ZodTypeAny, {
hours?: ...;
phone?: ...;
url?: ...;
}, {
hours?: ...;
phone?: ...;
url?: ...;
}>>>;
hoursParts: ZodOptional<ZodNullable<ZodString>>;
hoursSales: ZodOptional<ZodNullable<ZodString>>;
lat: ZodOptional<ZodNullable<ZodNumber>>;
latitude: ZodOptional<ZodNullable<ZodNumber>>;
long: ZodOptional<ZodNullable<ZodNumber>>;
longitude: ZodOptional<ZodNullable<ZodNumber>>;
miraiSales: ZodOptional<ZodNullable<ZodBoolean>>;
name: ZodOptional<ZodNullable<ZodString>>;
parts: ZodOptional<ZodNullable<ZodObject<{
hours: ...;
phone: ...;
url: ...;
}, "strip", ZodTypeAny, {
hours?: ...;
phone?: ...;
url?: ...;
}, {
hours?: ...;
phone?: ...;
url?: ...;
}>>>;
phone: ZodOptional<ZodNullable<ZodString>>;
phoneNumberParts: ZodOptional<ZodNullable<ZodString>>;
phoneNumberService: ZodOptional<ZodNullable<ZodString>>;
pma: ZodOptional<ZodNullable<ZodBoolean>>;
region: ZodOptional<ZodNullable<ZodObject<{
regionCode: ...;
success: ...;
}, "strip", ZodTypeAny, {
regionCode?: ...;
success?: ...;
}, {
regionCode?: ...;
success?: ...;
}>>>;
regionId: ZodOptional<ZodNullable<ZodString>>;
sales: ZodOptional<ZodNullable<ZodObject<{
hours: ...;
phone: ...;
url: ...;
}, "strip", ZodTypeAny, {
hours?: ...;
phone?: ...;
url?: ...;
}, {
hours?: ...;
phone?: ...;
url?: ...;
}>>>;
service: ZodOptional<ZodNullable<ZodObject<{
hours: ...;
phone: ...;
url: ...;
}, "strip", ZodTypeAny, {
hours?: ...;
phone?: ...;
url?: ...;
}, {
hours?: ...;
phone?: ...;
url?: ...;
}>>>;
serviceCenterOnly: ZodOptional<ZodNullable<ZodBoolean>>;
services: ZodOptional<ZodNullable<ZodArray<ZodString, "many">>>;
state: ZodOptional<ZodNullable<ZodString>>;
tda: ZodOptional<ZodNullable<ZodObject<{
code: ...;
name: ...;
}, "strip", ZodTypeAny, {
code?: ...;
name?: ...;
}, {
code?: ...;
name?: ...;
}>>>;
tdaId: ZodOptional<ZodNullable<ZodString>>;
url: ZodOptional<ZodNullable<ZodString>>;
zip: ZodOptional<ZodNullable<ZodString>>;
}, "strip", ZodTypeAny, {
address1?: null | string;
city?: null | string;
code?: null | string;
dealerAttributes?: null | string[];
dealerId?: null | string;
distance?: null | number;
email?: null | string;
encodedDashedCity?: null | string;
encodedDashedName?: null | string;
fax?: null | string;
fmp?: null | boolean;
fmpt1?: null | boolean;
general?: null | {
hours?: null | (...)[];
phone?: null | string;
url?: null | string;
};
hoursParts?: null | string;
hoursSales?: null | string;
lat?: null | number;
latitude?: null | number;
long?: null | number;
longitude?: null | number;
miraiSales?: null | boolean;
name?: null | string;
parts?: null | {
hours?: null | (...)[];
phone?: null | string;
url?: null | string;
};
phone?: null | string;
phoneNumberParts?: null | string;
phoneNumberService?: null | string;
pma?: null | boolean;
region?: null | {
regionCode?: null | number;
success?: null | boolean;
};
regionId?: null | string;
sales?: null | {
hours?: null | (...)[];
phone?: null | string;
url?: null | string;
};
service?: null | {
hours?: null | (...)[];
phone?: null | string;
url?: null | string;
};
serviceCenterOnly?: null | boolean;
services?: null | string[];
state?: null | string;
tda?: null | {
code?: null | string;
name?: null | string;
};
tdaId?: null | string;
url?: null | string;
zip?: null | string;
}, {
address1?: null | string;
city?: null | string;
code?: null | string;
dealerAttributes?: null | string[];
dealerId?: null | string;
distance?: null | number;
email?: null | string;
encodedDashedCity?: null | string;
encodedDashedName?: null | string;
fax?: null | string;
fmp?: null | boolean;
fmpt1?: null | boolean;
general?: null | {
hours?: null | (...)[];
phone?: null | string;
url?: null | string;
};
hoursParts?: null | string;
hoursSales?: null | string;
lat?: null | number;
latitude?: null | number;
long?: null | number;
longitude?: null | number;
miraiSales?: null | boolean;
name?: null | string;
parts?: null | {
hours?: null | (...)[];
phone?: null | string;
url?: null | string;
};
phone?: null | string;
phoneNumberParts?: null | string;
phoneNumberService?: null | string;
pma?: null | boolean;
region?: null | {
regionCode?: null | number;
success?: null | boolean;
};
regionId?: null | string;
sales?: null | {
hours?: null | (...)[];
phone?: null | string;
url?: null | string;
};
service?: null | {
hours?: null | (...)[];
phone?: null | string;
url?: null | string;
};
serviceCenterOnly?: null | boolean;
services?: null | string[];
state?: null | string;
tda?: null | {
code?: null | string;
name?: null | string;
};
tdaId?: null | string;
url?: null | string;
zip?: null | string;
}>, "many">>>;
generalMessage: ZodOptional<ZodNullable<ZodString>>;
numDealer: ZodOptional<ZodNullable<ZodNumber>>;
searchStrategy: ZodOptional<ZodNullable<ZodString>>;
searchZipCode: ZodOptional<ZodNullable<ZodString>>;
success: ZodOptional<ZodNullable<ZodBoolean>>;
totalDealer: ZodOptional<ZodNullable<ZodNumber>>;
}, "strip", ZodTypeAny, {
code?: null | number;
dealers?: null | {
address1?: null | string;
city?: null | string;
code?: null | string;
dealerAttributes?: null | string[];
dealerId?: null | string;
distance?: null | number;
email?: null | string;
encodedDashedCity?: null | string;
encodedDashedName?: null | string;
fax?: null | string;
fmp?: null | boolean;
fmpt1?: null | boolean;
general?: null | {
hours?: null | string[][];
phone?: null | string;
url?: null | string;
};
hoursParts?: null | string;
hoursSales?: null | string;
lat?: null | number;
latitude?: null | number;
long?: null | number;
longitude?: null | number;
miraiSales?: null | boolean;
name?: null | string;
parts?: null | {
hours?: null | string[][];
phone?: null | string;
url?: null | string;
};
phone?: null | string;
phoneNumberParts?: null | string;
phoneNumberService?: null | string;
pma?: null | boolean;
region?: null | {
regionCode?: null | number;
success?: null | boolean;
};
regionId?: null | string;
sales?: null | {
hours?: null | string[][];
phone?: null | string;
url?: null | string;
};
service?: null | {
hours?: null | string[][];
phone?: null | string;
url?: null | string;
};
serviceCenterOnly?: null | boolean;
services?: null | string[];
state?: null | string;
tda?: null | {
code?: null | string;
name?: null | string;
};
tdaId?: null | string;
url?: null | string;
zip?: null | string;
}[];
generalMessage?: null | string;
numDealer?: null | number;
searchStrategy?: null | string;
searchZipCode?: null | string;
success?: null | boolean;
totalDealer?: null | number;
}, {
code?: null | number;
dealers?: null | {
address1?: null | string;
city?: null | string;
code?: null | string;
dealerAttributes?: null | string[];
dealerId?: null | string;
distance?: null | number;
email?: null | string;
encodedDashedCity?: null | string;
encodedDashedName?: null | string;
fax?: null | string;
fmp?: null | boolean;
fmpt1?: null | boolean;
general?: null | {
hours?: null | string[][];
phone?: null | string;
url?: null | string;
};
hoursParts?: null | string;
hoursSales?: null | string;
lat?: null | number;
latitude?: null | number;
long?: null | number;
longitude?: null | number;
miraiSales?: null | boolean;
name?: null | string;
parts?: null | {
hours?: null | string[][];
phone?: null | string;
url?: null | string;
};
phone?: null | string;
phoneNumberParts?: null | string;
phoneNumberService?: null | string;
pma?: null | boolean;
region?: null | {
regionCode?: null | number;
success?: null | boolean;
};
regionId?: null | string;
sales?: null | {
hours?: null | string[][];
phone?: null | string;
url?: null | string;
};
service?: null | {
hours?: null | string[][];
phone?: null | string;
url?: null | string;
};
serviceCenterOnly?: null | boolean;
services?: null | string[];
state?: null | string;
tda?: null | {
code?: null | string;
name?: null | string;
};
tdaId?: null | string;
url?: null | string;
zip?: null | string;
}[];
generalMessage?: null | string;
numDealer?: null | number;
searchStrategy?: null | string;
searchZipCode?: null | string;
success?: null | boolean;
totalDealer?: null | number;
}> = ...
Type declaration
code: ZodOptional<ZodNullable<ZodNumber>>
dealers: ZodOptional<ZodNullable<ZodArray<ZodObject<{
address1: ZodOptional<ZodNullable<ZodString>>;
city: ZodOptional<ZodNullable<ZodString>>;
code: ZodOptional<ZodNullable<ZodString>>;
dealerAttributes: ZodOptional<ZodNullable<ZodArray<ZodString, "many">>>;
dealerId: ZodOptional<ZodNullable<ZodString>>;
distance: ZodOptional<ZodNullable<ZodNumber>>;
email: ZodOptional<ZodNullable<ZodString>>;
encodedDashedCity: ZodOptional<ZodNullable<ZodString>>;
encodedDashedName: ZodOptional<ZodNullable<ZodString>>;
fax: ZodOptional<ZodNullable<ZodString>>;
fmp: ZodOptional<ZodNullable<ZodBoolean>>;
fmpt1: ZodOptional<ZodNullable<ZodBoolean>>;
general: ZodOptional<ZodNullable<ZodObject<{
hours: ...;
phone: ...;
url: ...;
}, "strip", ZodTypeAny, {
hours?: ...;
phone?: ...;
url?: ...;
}, {
hours?: ...;
phone?: ...;
url?: ...;
}>>>;
hoursParts: ZodOptional<ZodNullable<ZodString>>;
hoursSales: ZodOptional<ZodNullable<ZodString>>;
lat: ZodOptional<ZodNullable<ZodNumber>>;
latitude: ZodOptional<ZodNullable<ZodNumber>>;
long: ZodOptional<ZodNullable<ZodNumber>>;
longitude: ZodOptional<ZodNullable<ZodNumber>>;
miraiSales: ZodOptional<ZodNullable<ZodBoolean>>;
name: ZodOptional<ZodNullable<ZodString>>;
parts: ZodOptional<ZodNullable<ZodObject<{
hours: ...;
phone: ...;
url: ...;
}, "strip", ZodTypeAny, {
hours?: ...;
phone?: ...;
url?: ...;
}, {
hours?: ...;
phone?: ...;
url?: ...;
}>>>;
phone: ZodOptional<ZodNullable<ZodString>>;
phoneNumberParts: ZodOptional<ZodNullable<ZodString>>;
phoneNumberService: ZodOptional<ZodNullable<ZodString>>;
pma: ZodOptional<ZodNullable<ZodBoolean>>;
region: ZodOptional<ZodNullable<ZodObject<{
regionCode: ...;
success: ...;
}, "strip", ZodTypeAny, {
regionCode?: ...;
success?: ...;
}, {
regionCode?: ...;
success?: ...;
}>>>;
regionId: ZodOptional<ZodNullable<ZodString>>;
sales: ZodOptional<ZodNullable<ZodObject<{
hours: ...;
phone: ...;
url: ...;
}, "strip", ZodTypeAny, {
hours?: ...;
phone?: ...;
url?: ...;
}, {
hours?: ...;
phone?: ...;
url?: ...;
}>>>;
service: ZodOptional<ZodNullable<ZodObject<{
hours: ...;
phone: ...;
url: ...;
}, "strip", ZodTypeAny, {
hours?: ...;
phone?: ...;
url?: ...;
}, {
hours?: ...;
phone?: ...;
url?: ...;
}>>>;
serviceCenterOnly: ZodOptional<ZodNullable<ZodBoolean>>;
services: ZodOptional<ZodNullable<ZodArray<ZodString, "many">>>;
state: ZodOptional<ZodNullable<ZodString>>;
tda: ZodOptional<ZodNullable<ZodObject<{
code: ...;
name: ...;
}, "strip", ZodTypeAny, {
code?: ...;
name?: ...;
}, {
code?: ...;
name?: ...;
}>>>;
tdaId: ZodOptional<ZodNullable<ZodString>>;
url: ZodOptional<ZodNullable<ZodString>>;
zip: ZodOptional<ZodNullable<ZodString>>;
}, "strip", ZodTypeAny, {
address1?: null | string;
city?: null | string;
code?: null | string;
dealerAttributes?: null | string[];
dealerId?: null | string;
distance?: null | number;
email?: null | string;
encodedDashedCity?: null | string;
encodedDashedName?: null | string;
fax?: null | string;
fmp?: null | boolean;
fmpt1?: null | boolean;
general?: null | {
hours?: null | (...)[];
phone?: null | string;
url?: null | string;
};
hoursParts?: null | string;
hoursSales?: null | string;
lat?: null | number;
latitude?: null | number;
long?: null | number;
longitude?: null | number;
miraiSales?: null | boolean;
name?: null | string;
parts?: null | {
hours?: null | (...)[];
phone?: null | string;
url?: null | string;
};
phone?: null | string;
phoneNumberParts?: null | string;
phoneNumberService?: null | string;
pma?: null | boolean;
region?: null | {
regionCode?: null | number;
success?: null | boolean;
};
regionId?: null | string;
sales?: null | {
hours?: null | (...)[];
phone?: null | string;
url?: null | string;
};
service?: null | {
hours?: null | (...)[];
phone?: null | string;
url?: null | string;
};
serviceCenterOnly?: null | boolean;
services?: null | string[];
state?: null | string;
tda?: null | {
code?: null | string;
name?: null | string;
};
tdaId?: null | string;
url?: null | string;
zip?: null | string;
}, {
address1?: null | string;
city?: null | string;
code?: null | string;
dealerAttributes?: null | string[];
dealerId?: null | string;
distance?: null | number;
email?: null | string;
encodedDashedCity?: null | string;
encodedDashedName?: null | string;
fax?: null | string;
fmp?: null | boolean;
fmpt1?: null | boolean;
general?: null | {
hours?: null | (...)[];
phone?: null | string;
url?: null | string;
};
hoursParts?: null | string;
hoursSales?: null | string;
lat?: null | number;
latitude?: null | number;
long?: null | number;
longitude?: null | number;
miraiSales?: null | boolean;
name?: null | string;
parts?: null | {
hours?: null | (...)[];
phone?: null | string;
url?: null | string;
};
phone?: null | string;
phoneNumberParts?: null | string;
phoneNumberService?: null | string;
pma?: null | boolean;
region?: null | {
regionCode?: null | number;
success?: null | boolean;
};
regionId?: null | string;
sales?: null | {
hours?: null | (...)[];
phone?: null | string;
url?: null | string;
};
service?: null | {
hours?: null | (...)[];
phone?: null | string;
url?: null | string;
};
serviceCenterOnly?: null | boolean;
services?: null | string[];
state?: null | string;
tda?: null | {
code?: null | string;
name?: null | string;
};
tdaId?: null | string;
url?: null | string;
zip?: null | string;
}>, "many">>>
generalMessage: ZodOptional<ZodNullable<ZodString>>
numDealer: ZodOptional<ZodNullable<ZodNumber>>
searchStrategy: ZodOptional<ZodNullable<ZodString>>
searchZipCode: ZodOptional<ZodNullable<ZodString>>
success: ZodOptional<ZodNullable<ZodBoolean>>
totalDealer: ZodOptional<ZodNullable<ZodNumber>>
Type declaration
Optional
code?: null | number
Optional
dealers?: null | {
address1?: null | string;
city?: null | string;
code?: null | string;
dealerAttributes?: null | string[];
dealerId?: null | string;
distance?: null | number;
email?: null | string;
encodedDashedCity?: null | string;
encodedDashedName?: null | string;
fax?: null | string;
fmp?: null | boolean;
fmpt1?: null | boolean;
general?: null | {
hours?: null | string[][];
phone?: null | string;
url?: null | string;
};
hoursParts?: null | string;
hoursSales?: null | string;
lat?: null | number;
latitude?: null | number;
long?: null | number;
longitude?: null | number;
miraiSales?: null | boolean;
name?: null | string;
parts?: null | {
hours?: null | string[][];
phone?: null | string;
url?: null | string;
};
phone?: null | string;
phoneNumberParts?: null | string;
phoneNumberService?: null | string;
pma?: null | boolean;
region?: null | {
regionCode?: null | number;
success?: null | boolean;
};
regionId?: null | string;
sales?: null | {
hours?: null | string[][];
phone?: null | string;
url?: null | string;
};
service?: null | {
hours?: null | string[][];
phone?: null | string;
url?: null | string;
};
serviceCenterOnly?: null | boolean;
services?: null | string[];
state?: null | string;
tda?: null | {
code?: null | string;
name?: null | string;
};
tdaId?: null | string;
url?: null | string;
zip?: null | string;
}[]
Optional
generalMessage?: null | string
Optional
numDealer?: null | number
Optional
searchStrategy?: null | string
Optional
searchZipCode?: null | string
Optional
success?: null | boolean
Optional
totalDealer?: null | number
Type declaration
Optional
code?: null | number
Optional
dealers?: null | {
address1?: null | string;
city?: null | string;
code?: null | string;
dealerAttributes?: null | string[];
dealerId?: null | string;
distance?: null | number;
email?: null | string;
encodedDashedCity?: null | string;
encodedDashedName?: null | string;
fax?: null | string;
fmp?: null | boolean;
fmpt1?: null | boolean;
general?: null | {
hours?: null | string[][];
phone?: null | string;
url?: null | string;
};
hoursParts?: null | string;
hoursSales?: null | string;
lat?: null | number;
latitude?: null | number;
long?: null | number;
longitude?: null | number;
miraiSales?: null | boolean;
name?: null | string;
parts?: null | {
hours?: null | string[][];
phone?: null | string;
url?: null | string;
};
phone?: null | string;
phoneNumberParts?: null | string;
phoneNumberService?: null | string;
pma?: null | boolean;
region?: null | {
regionCode?: null | number;
success?: null | boolean;
};
regionId?: null | string;
sales?: null | {
hours?: null | string[][];
phone?: null | string;
url?: null | string;
};
service?: null | {
hours?: null | string[][];
phone?: null | string;
url?: null | string;
};
serviceCenterOnly?: null | boolean;
services?: null | string[];
state?: null | string;
tda?: null | {
code?: null | string;
name?: null | string;
};
tdaId?: null | string;
url?: null | string;
zip?: null | string;
}[]
Optional
generalMessage?: null | string
Optional
numDealer?: null | number
Optional
searchStrategy?: null | string
Optional
searchZipCode?: null | string
Optional
success?: null | boolean
Optional
totalDealer?: null | number
Zod schema representing the returned body of a request made by the ToyotaClient#getDealerships method.