ResponseBodySchema: ZodObject<{
    data: ZodObject<{
        getSeries: ZodObject<{
            categories: ZodOptional<ZodNullable<ZodArray<ZodOptional<ZodNullable<(...)>>, "many">>>;
            exteriorColors: ZodOptional<ZodNullable<ZodArray<ZodOptional<ZodNullable<(...)>>, "many">>>;
            seriesData: ZodOptional<ZodNullable<ZodArray<ZodObject<{
                id: ...;
                name: ...;
                shortName: ...;
                yearSpecificData: ...;
            }, "strip", ZodTypeAny, {
                id?: ...;
                name?: ...;
                shortName?: ...;
                yearSpecificData?: ...;
            }, {
                id?: ...;
                name?: ...;
                shortName?: ...;
                yearSpecificData?: ...;
            }>, "many">>>;
        }, "strip", ZodTypeAny, {
            categories?: null | (undefined | null | {
                id: string;
                value: string;
            })[];
            exteriorColors?: null | (undefined | null | {
                code?: (...) | (...) | (...);
                colorFamilies?: (...) | (...) | (...);
                hexCode?: (...) | (...) | (...);
                id?: (...) | (...) | (...);
                images?: (...) | (...) | (...);
                isExtraCostColor?: (...) | (...) | (...) | (...);
                msrp?: (...) | (...) | (...);
                title?: (...) | (...) | (...);
            })[];
            seriesData?: null | {
                id?: null | string;
                name?: null | string;
                shortName?: null | string;
                yearSpecificData?: null | (...)[];
            }[];
        }, {
            categories?: null | (undefined | null | {
                id: string;
                value: string;
            })[];
            exteriorColors?: null | (undefined | null | {
                code?: (...) | (...) | (...);
                colorFamilies?: (...) | (...) | (...);
                hexCode?: (...) | (...) | (...);
                id?: (...) | (...) | (...);
                images?: (...) | (...) | (...);
                isExtraCostColor?: (...) | (...) | (...) | (...);
                msrp?: (...) | (...) | (...);
                title?: (...) | (...) | (...);
            })[];
            seriesData?: null | {
                id?: null | string;
                name?: null | string;
                shortName?: null | string;
                yearSpecificData?: null | (...)[];
            }[];
        }>;
    }, "strip", ZodTypeAny, {
        getSeries: {
            categories?: null | (undefined | null | {
                id: string;
                value: string;
            })[];
            exteriorColors?: null | (undefined | null | {
                code?: null | string;
                colorFamilies?: null | (...)[];
                hexCode?: null | (...)[];
                id?: null | string;
                images?: null | (...)[];
                isExtraCostColor?: null | boolean;
                msrp?: null | {
                    disclaimer?: ...;
                    value?: ...;
                };
                title?: null | string;
            })[];
            seriesData?: null | {
                id?: null | string;
                name?: null | string;
                shortName?: null | string;
                yearSpecificData?: null | ((...) | (...) | (...))[];
            }[];
        };
    }, {
        getSeries: {
            categories?: null | (undefined | null | {
                id: string;
                value: string;
            })[];
            exteriorColors?: null | (undefined | null | {
                code?: null | string;
                colorFamilies?: null | (...)[];
                hexCode?: null | (...)[];
                id?: null | string;
                images?: null | (...)[];
                isExtraCostColor?: null | boolean;
                msrp?: null | {
                    disclaimer?: ...;
                    value?: ...;
                };
                title?: null | string;
            })[];
            seriesData?: null | {
                id?: null | string;
                name?: null | string;
                shortName?: null | string;
                yearSpecificData?: null | ((...) | (...) | (...))[];
            }[];
        };
    }>;
}, "strip", ZodTypeAny, {
    data: {
        getSeries: {
            categories?: null | (undefined | null | {
                id: string;
                value: string;
            })[];
            exteriorColors?: null | (undefined | null | {
                code?: null | string;
                colorFamilies?: null | {
                    hexCode?: ...;
                    name?: ...;
                }[];
                hexCode?: null | string[];
                id?: null | string;
                images?: null | {
                    alias?: ...;
                    disclaimer?: ...;
                    isHero?: ...;
                    url?: ...;
                }[];
                isExtraCostColor?: null | boolean;
                msrp?: null | {
                    disclaimer?: (...) | (...) | (...);
                    value?: (...) | (...) | (...);
                };
                title?: null | string;
            })[];
            seriesData?: null | {
                id?: null | string;
                name?: null | string;
                shortName?: null | string;
                yearSpecificData?: null | (undefined | null | {
                    categories?: ...;
                    currentVersion?: ...;
                    date?: ...;
                    fuelType?: ...;
                    grades?: ...;
                    images?: ...;
                    mileage?: ...;
                    seating?: ...;
                    startingMsrp?: ...;
                    status?: ...;
                    trims?: ...;
                    year?: ...;
                })[];
            }[];
        };
    };
}, {
    data: {
        getSeries: {
            categories?: null | (undefined | null | {
                id: string;
                value: string;
            })[];
            exteriorColors?: null | (undefined | null | {
                code?: null | string;
                colorFamilies?: null | {
                    hexCode?: ...;
                    name?: ...;
                }[];
                hexCode?: null | string[];
                id?: null | string;
                images?: null | {
                    alias?: ...;
                    disclaimer?: ...;
                    isHero?: ...;
                    url?: ...;
                }[];
                isExtraCostColor?: null | boolean;
                msrp?: null | {
                    disclaimer?: (...) | (...) | (...);
                    value?: (...) | (...) | (...);
                };
                title?: null | string;
            })[];
            seriesData?: null | {
                id?: null | string;
                name?: null | string;
                shortName?: null | string;
                yearSpecificData?: null | (undefined | null | {
                    categories?: ...;
                    currentVersion?: ...;
                    date?: ...;
                    fuelType?: ...;
                    grades?: ...;
                    images?: ...;
                    mileage?: ...;
                    seating?: ...;
                    startingMsrp?: ...;
                    status?: ...;
                    trims?: ...;
                    year?: ...;
                })[];
            }[];
        };
    };
}> = ...

Zod schema representing the returned body of a request made by the ToyotaClient#getAllVehicles and ToyotaClient#getVehicle methods.

Type declaration

  • data: ZodObject<{
        getSeries: ZodObject<{
            categories: ZodOptional<ZodNullable<ZodArray<ZodOptional<ZodNullable<(...)>>, "many">>>;
            exteriorColors: ZodOptional<ZodNullable<ZodArray<ZodOptional<ZodNullable<(...)>>, "many">>>;
            seriesData: ZodOptional<ZodNullable<ZodArray<ZodObject<{
                id: ...;
                name: ...;
                shortName: ...;
                yearSpecificData: ...;
            }, "strip", ZodTypeAny, {
                id?: ...;
                name?: ...;
                shortName?: ...;
                yearSpecificData?: ...;
            }, {
                id?: ...;
                name?: ...;
                shortName?: ...;
                yearSpecificData?: ...;
            }>, "many">>>;
        }, "strip", ZodTypeAny, {
            categories?: null | (undefined | null | {
                id: string;
                value: string;
            })[];
            exteriorColors?: null | (undefined | null | {
                code?: (...) | (...) | (...);
                colorFamilies?: (...) | (...) | (...);
                hexCode?: (...) | (...) | (...);
                id?: (...) | (...) | (...);
                images?: (...) | (...) | (...);
                isExtraCostColor?: (...) | (...) | (...) | (...);
                msrp?: (...) | (...) | (...);
                title?: (...) | (...) | (...);
            })[];
            seriesData?: null | {
                id?: null | string;
                name?: null | string;
                shortName?: null | string;
                yearSpecificData?: null | (...)[];
            }[];
        }, {
            categories?: null | (undefined | null | {
                id: string;
                value: string;
            })[];
            exteriorColors?: null | (undefined | null | {
                code?: (...) | (...) | (...);
                colorFamilies?: (...) | (...) | (...);
                hexCode?: (...) | (...) | (...);
                id?: (...) | (...) | (...);
                images?: (...) | (...) | (...);
                isExtraCostColor?: (...) | (...) | (...) | (...);
                msrp?: (...) | (...) | (...);
                title?: (...) | (...) | (...);
            })[];
            seriesData?: null | {
                id?: null | string;
                name?: null | string;
                shortName?: null | string;
                yearSpecificData?: null | (...)[];
            }[];
        }>;
    }, "strip", ZodTypeAny, {
        getSeries: {
            categories?: null | (undefined | null | {
                id: string;
                value: string;
            })[];
            exteriorColors?: null | (undefined | null | {
                code?: null | string;
                colorFamilies?: null | (...)[];
                hexCode?: null | (...)[];
                id?: null | string;
                images?: null | (...)[];
                isExtraCostColor?: null | boolean;
                msrp?: null | {
                    disclaimer?: ...;
                    value?: ...;
                };
                title?: null | string;
            })[];
            seriesData?: null | {
                id?: null | string;
                name?: null | string;
                shortName?: null | string;
                yearSpecificData?: null | ((...) | (...) | (...))[];
            }[];
        };
    }, {
        getSeries: {
            categories?: null | (undefined | null | {
                id: string;
                value: string;
            })[];
            exteriorColors?: null | (undefined | null | {
                code?: null | string;
                colorFamilies?: null | (...)[];
                hexCode?: null | (...)[];
                id?: null | string;
                images?: null | (...)[];
                isExtraCostColor?: null | boolean;
                msrp?: null | {
                    disclaimer?: ...;
                    value?: ...;
                };
                title?: null | string;
            })[];
            seriesData?: null | {
                id?: null | string;
                name?: null | string;
                shortName?: null | string;
                yearSpecificData?: null | ((...) | (...) | (...))[];
            }[];
        };
    }>

Type declaration

  • data: {
        getSeries: {
            categories?: null | (undefined | null | {
                id: string;
                value: string;
            })[];
            exteriorColors?: null | (undefined | null | {
                code?: null | string;
                colorFamilies?: null | {
                    hexCode?: ...;
                    name?: ...;
                }[];
                hexCode?: null | string[];
                id?: null | string;
                images?: null | {
                    alias?: ...;
                    disclaimer?: ...;
                    isHero?: ...;
                    url?: ...;
                }[];
                isExtraCostColor?: null | boolean;
                msrp?: null | {
                    disclaimer?: (...) | (...) | (...);
                    value?: (...) | (...) | (...);
                };
                title?: null | string;
            })[];
            seriesData?: null | {
                id?: null | string;
                name?: null | string;
                shortName?: null | string;
                yearSpecificData?: null | (undefined | null | {
                    categories?: ...;
                    currentVersion?: ...;
                    date?: ...;
                    fuelType?: ...;
                    grades?: ...;
                    images?: ...;
                    mileage?: ...;
                    seating?: ...;
                    startingMsrp?: ...;
                    status?: ...;
                    trims?: ...;
                    year?: ...;
                })[];
            }[];
        };
    }
    • getSeries: {
          categories?: null | (undefined | null | {
              id: string;
              value: string;
          })[];
          exteriorColors?: null | (undefined | null | {
              code?: null | string;
              colorFamilies?: null | {
                  hexCode?: ...;
                  name?: ...;
              }[];
              hexCode?: null | string[];
              id?: null | string;
              images?: null | {
                  alias?: ...;
                  disclaimer?: ...;
                  isHero?: ...;
                  url?: ...;
              }[];
              isExtraCostColor?: null | boolean;
              msrp?: null | {
                  disclaimer?: (...) | (...) | (...);
                  value?: (...) | (...) | (...);
              };
              title?: null | string;
          })[];
          seriesData?: null | {
              id?: null | string;
              name?: null | string;
              shortName?: null | string;
              yearSpecificData?: null | (undefined | null | {
                  categories?: ...;
                  currentVersion?: ...;
                  date?: ...;
                  fuelType?: ...;
                  grades?: ...;
                  images?: ...;
                  mileage?: ...;
                  seating?: ...;
                  startingMsrp?: ...;
                  status?: ...;
                  trims?: ...;
                  year?: ...;
              })[];
          }[];
      }
      • Optional categories?: null | (undefined | null | {
            id: string;
            value: string;
        })[]
      • Optional exteriorColors?: null | (undefined | null | {
            code?: null | string;
            colorFamilies?: null | {
                hexCode?: ...;
                name?: ...;
            }[];
            hexCode?: null | string[];
            id?: null | string;
            images?: null | {
                alias?: ...;
                disclaimer?: ...;
                isHero?: ...;
                url?: ...;
            }[];
            isExtraCostColor?: null | boolean;
            msrp?: null | {
                disclaimer?: (...) | (...) | (...);
                value?: (...) | (...) | (...);
            };
            title?: null | string;
        })[]
      • Optional seriesData?: null | {
            id?: null | string;
            name?: null | string;
            shortName?: null | string;
            yearSpecificData?: null | (undefined | null | {
                categories?: ...;
                currentVersion?: ...;
                date?: ...;
                fuelType?: ...;
                grades?: ...;
                images?: ...;
                mileage?: ...;
                seating?: ...;
                startingMsrp?: ...;
                status?: ...;
                trims?: ...;
                year?: ...;
            })[];
        }[]

Type declaration

  • data: {
        getSeries: {
            categories?: null | (undefined | null | {
                id: string;
                value: string;
            })[];
            exteriorColors?: null | (undefined | null | {
                code?: null | string;
                colorFamilies?: null | {
                    hexCode?: ...;
                    name?: ...;
                }[];
                hexCode?: null | string[];
                id?: null | string;
                images?: null | {
                    alias?: ...;
                    disclaimer?: ...;
                    isHero?: ...;
                    url?: ...;
                }[];
                isExtraCostColor?: null | boolean;
                msrp?: null | {
                    disclaimer?: (...) | (...) | (...);
                    value?: (...) | (...) | (...);
                };
                title?: null | string;
            })[];
            seriesData?: null | {
                id?: null | string;
                name?: null | string;
                shortName?: null | string;
                yearSpecificData?: null | (undefined | null | {
                    categories?: ...;
                    currentVersion?: ...;
                    date?: ...;
                    fuelType?: ...;
                    grades?: ...;
                    images?: ...;
                    mileage?: ...;
                    seating?: ...;
                    startingMsrp?: ...;
                    status?: ...;
                    trims?: ...;
                    year?: ...;
                })[];
            }[];
        };
    }
    • getSeries: {
          categories?: null | (undefined | null | {
              id: string;
              value: string;
          })[];
          exteriorColors?: null | (undefined | null | {
              code?: null | string;
              colorFamilies?: null | {
                  hexCode?: ...;
                  name?: ...;
              }[];
              hexCode?: null | string[];
              id?: null | string;
              images?: null | {
                  alias?: ...;
                  disclaimer?: ...;
                  isHero?: ...;
                  url?: ...;
              }[];
              isExtraCostColor?: null | boolean;
              msrp?: null | {
                  disclaimer?: (...) | (...) | (...);
                  value?: (...) | (...) | (...);
              };
              title?: null | string;
          })[];
          seriesData?: null | {
              id?: null | string;
              name?: null | string;
              shortName?: null | string;
              yearSpecificData?: null | (undefined | null | {
                  categories?: ...;
                  currentVersion?: ...;
                  date?: ...;
                  fuelType?: ...;
                  grades?: ...;
                  images?: ...;
                  mileage?: ...;
                  seating?: ...;
                  startingMsrp?: ...;
                  status?: ...;
                  trims?: ...;
                  year?: ...;
              })[];
          }[];
      }
      • Optional categories?: null | (undefined | null | {
            id: string;
            value: string;
        })[]
      • Optional exteriorColors?: null | (undefined | null | {
            code?: null | string;
            colorFamilies?: null | {
                hexCode?: ...;
                name?: ...;
            }[];
            hexCode?: null | string[];
            id?: null | string;
            images?: null | {
                alias?: ...;
                disclaimer?: ...;
                isHero?: ...;
                url?: ...;
            }[];
            isExtraCostColor?: null | boolean;
            msrp?: null | {
                disclaimer?: (...) | (...) | (...);
                value?: (...) | (...) | (...);
            };
            title?: null | string;
        })[]
      • Optional seriesData?: null | {
            id?: null | string;
            name?: null | string;
            shortName?: null | string;
            yearSpecificData?: null | (undefined | null | {
                categories?: ...;
                currentVersion?: ...;
                date?: ...;
                fuelType?: ...;
                grades?: ...;
                images?: ...;
                mileage?: ...;
                seating?: ...;
                startingMsrp?: ...;
                status?: ...;
                trims?: ...;
                year?: ...;
            })[];
        }[]