Skip to Content

ProductReadinessSchema

const ProductReadinessSchema: ZodObject<{ api: ZodOptional<ZodObject<{ links: ZodOptional<ZodRecord<ZodString, ZodObject<{ href: ZodString; }, $strip>>>; redactions: ZodOptional<ZodArray<ZodObject<{ path: ZodString; reason: ZodEnum<{ internal: ...; secret: ...; }>; }, $strip>>>; }, $strip>>; issues: ZodArray<ZodObject<{ code: ZodEnum<{ duplicate_rule: "duplicate_rule"; model_not_in_catalog: "model_not_in_catalog"; no_usage_limit_rule: "no_usage_limit_rule"; provider_not_configured: "provider_not_configured"; }>; message: ZodString; severity: ZodEnum<{ error: "error"; warning: "warning"; }>; }, $strip>>; object: ZodLiteral<"product_readiness">; product: ZodUUID; providers: ZodArray<ZodObject<{ account: ZodNullable<ZodUUID>; provider: ZodEnum<typeof ExternalServiceProvider>; }, $strip>>; ready: ZodBoolean; }, $strip>;

Whether the gateway can serve a product, and what to fix when it cannot.

Last updated on