Skip to content

Variable: NestedResponseSchema ​

ts
const NestedResponseSchema: ZodObject<{
  errorCollection: ZodOptional<ZodObject<{
     errorMessages: ZodOptional<ZodArray<ZodString>>;
     errors: ZodOptional<ZodRecord<ZodString, ZodString>>;
     status: ZodOptional<ZodNumber>;
  }, ApiObjectConfig<undefined>>>;
  status: ZodOptional<ZodNumber>;
  warningCollection: ZodOptional<ZodObject<{
     warnings: ZodOptional<ZodArray<ZodString>>;
  }, ApiObjectConfig<undefined>>>;
}, ApiObjectConfig<undefined>>;

Defined in: src/cloud/models/nestedResponse.ts:6