Variable: GatewayDeploymentDetailSchema
const GatewayDeploymentDetailSchema: ZodObject<{
id: ZodString;
name: ZodString;
slug: ZodString;
type: ZodString;
status: ZodString;
created_at: ZodString;
last_updated_at: ZodString;
last_synced_at: ZodNullable<ZodString>;
last_resynced_at: ZodNullable<ZodString>;
is_default: ZodNumber;
created_by: ZodString;
object: ZodString;
} & {
credentials: ZodOptional<ZodObject<{
username: ZodString;
password: ZodString;
}, "passthrough", ZodTypeAny, objectOutputType<{
username: ZodString;
password: ZodString;
}, ZodTypeAny, "passthrough">, objectInputType<{
username: ZodString;
password: ZodString;
}, ZodTypeAny, "passthrough">>>;
deployment_config: ZodNullable<ZodRecord<ZodString, ZodUnknown>>;
auth_settings: ZodOptional<ZodObject<{
disable_portkey_gateway: ZodNumber;
workspaces_allowed: ZodArray<ZodString, "many">;
allow_all_workspaces: ZodNumber;
}, "passthrough", ZodTypeAny, objectOutputType<{
disable_portkey_gateway: ZodNumber;
workspaces_allowed: ZodArray<ZodString, "many">;
allow_all_workspaces: ZodNumber;
}, ZodTypeAny, "passthrough">, objectInputType<{
disable_portkey_gateway: ZodNumber;
workspaces_allowed: ZodArray<ZodString, "many">;
allow_all_workspaces: ZodNumber;
}, ZodTypeAny, "passthrough">>>;
client_auth: ZodOptional<ZodString>;
workspaces: ZodOptional<ZodArray<ZodObject<{
id: ZodString;
slug: ZodString;
}, "passthrough", ZodTypeAny, objectOutputType<{
id: ZodString;
slug: ZodString;
}, ZodTypeAny, "passthrough">, objectInputType<{
id: ZodString;
slug: ZodString;
}, ZodTypeAny, "passthrough">>, "many">>;
}, "passthrough", ZodTypeAny, objectOutputType<{
id: ZodString;
name: ZodString;
slug: ZodString;
type: ZodString;
status: ZodString;
created_at: ZodString;
last_updated_at: ZodString;
last_synced_at: ZodNullable<ZodString>;
last_resynced_at: ZodNullable<ZodString>;
is_default: ZodNumber;
created_by: ZodString;
object: ZodString;
} & {
credentials: ZodOptional<ZodObject<{
username: ZodString;
password: ZodString;
}, "passthrough", ZodTypeAny, objectOutputType<{
username: ZodString;
password: ZodString;
}, ZodTypeAny, "passthrough">, objectInputType<{
username: ZodString;
password: ZodString;
}, ZodTypeAny, "passthrough">>>;
deployment_config: ZodNullable<ZodRecord<ZodString, ZodUnknown>>;
auth_settings: ZodOptional<ZodObject<{
disable_portkey_gateway: ZodNumber;
workspaces_allowed: ZodArray<ZodString, "many">;
allow_all_workspaces: ZodNumber;
}, "passthrough", ZodTypeAny, objectOutputType<{
disable_portkey_gateway: ZodNumber;
workspaces_allowed: ZodArray<ZodString, "many">;
allow_all_workspaces: ZodNumber;
}, ZodTypeAny, "passthrough">, objectInputType<{
disable_portkey_gateway: ZodNumber;
workspaces_allowed: ZodArray<ZodString, "many">;
allow_all_workspaces: ZodNumber;
}, ZodTypeAny, "passthrough">>>;
client_auth: ZodOptional<ZodString>;
workspaces: ZodOptional<ZodArray<ZodObject<{
id: ZodString;
slug: ZodString;
}, "passthrough", ZodTypeAny, objectOutputType<{
id: ZodString;
slug: ZodString;
}, ZodTypeAny, "passthrough">, objectInputType<{
id: ZodString;
slug: ZodString;
}, ZodTypeAny, "passthrough">>, "many">>;
}, ZodTypeAny, "passthrough">, objectInputType<{
id: ZodString;
name: ZodString;
slug: ZodString;
type: ZodString;
status: ZodString;
created_at: ZodString;
last_updated_at: ZodString;
last_synced_at: ZodNullable<ZodString>;
last_resynced_at: ZodNullable<ZodString>;
is_default: ZodNumber;
created_by: ZodString;
object: ZodString;
} & {
credentials: ZodOptional<ZodObject<{
username: ZodString;
password: ZodString;
}, "passthrough", ZodTypeAny, objectOutputType<{
username: ZodString;
password: ZodString;
}, ZodTypeAny, "passthrough">, objectInputType<{
username: ZodString;
password: ZodString;
}, ZodTypeAny, "passthrough">>>;
deployment_config: ZodNullable<ZodRecord<ZodString, ZodUnknown>>;
auth_settings: ZodOptional<ZodObject<{
disable_portkey_gateway: ZodNumber;
workspaces_allowed: ZodArray<ZodString, "many">;
allow_all_workspaces: ZodNumber;
}, "passthrough", ZodTypeAny, objectOutputType<{
disable_portkey_gateway: ZodNumber;
workspaces_allowed: ZodArray<ZodString, "many">;
allow_all_workspaces: ZodNumber;
}, ZodTypeAny, "passthrough">, objectInputType<{
disable_portkey_gateway: ZodNumber;
workspaces_allowed: ZodArray<ZodString, "many">;
allow_all_workspaces: ZodNumber;
}, ZodTypeAny, "passthrough">>>;
client_auth: ZodOptional<ZodString>;
workspaces: ZodOptional<ZodArray<ZodObject<{
id: ZodString;
slug: ZodString;
}, "passthrough", ZodTypeAny, objectOutputType<{
id: ZodString;
slug: ZodString;
}, ZodTypeAny, "passthrough">, objectInputType<{
id: ZodString;
slug: ZodString;
}, ZodTypeAny, "passthrough">>, "many">>;
}, ZodTypeAny, "passthrough">>;
Defined in: src/models/ai-gateway.ts:845
Deployment detail — adds credentials (masked), auth settings, and bound workspaces.