Variable: GatewayDeploymentCreateRequestSchema
const GatewayDeploymentCreateRequestSchema: ZodObject<{
name: ZodString;
type: ZodEnum<["non_production", "production"]>;
organisation_id: ZodString;
auth_settings: ZodOptional<ZodObject<{
gateway_base_url: ZodOptional<ZodString>;
mcp_gateway_base_url: ZodOptional<ZodString>;
is_dataservice_hosted: ZodOptional<ZodUnion<[ZodLiteral<0>, ZodLiteral<1>]>>;
is_playground_proxy_allowed: ZodOptional<ZodUnion<[ZodLiteral<0>, ZodLiteral<1>]>>;
workspaces_allowed: ZodOptional<ZodArray<ZodString, "many">>;
jwt_subs_allowed: ZodOptional<ZodArray<ZodString, "many">>;
jwt_sub_workspace_mapping: ZodOptional<ZodRecord<ZodString, ZodString>>;
allow_all_workspaces: ZodOptional<ZodBoolean>;
remove_workspaces_allowed: ZodOptional<ZodArray<ZodString, "many">>;
remove_subs_allowed: ZodOptional<ZodArray<ZodString, "many">>;
}, "strict", ZodTypeAny, {
gateway_base_url?: string;
mcp_gateway_base_url?: string;
is_dataservice_hosted?: 0 | 1;
is_playground_proxy_allowed?: 0 | 1;
workspaces_allowed?: string[];
jwt_subs_allowed?: string[];
jwt_sub_workspace_mapping?: Record<string, string>;
allow_all_workspaces?: boolean;
remove_workspaces_allowed?: string[];
remove_subs_allowed?: string[];
}, {
gateway_base_url?: string;
mcp_gateway_base_url?: string;
is_dataservice_hosted?: 0 | 1;
is_playground_proxy_allowed?: 0 | 1;
workspaces_allowed?: string[];
jwt_subs_allowed?: string[];
jwt_sub_workspace_mapping?: Record<string, string>;
allow_all_workspaces?: boolean;
remove_workspaces_allowed?: string[];
remove_subs_allowed?: string[];
}>>;
deployment_config: ZodOptional<ZodType<GatewayJsonObject, ZodTypeDef, GatewayJsonObject>>;
is_default: ZodOptional<ZodBoolean>;
slug: ZodOptional<ZodString>;
tags: ZodOptional<ZodNullable<ZodIntersection<ZodType<
| {
[key: string]: string;
}
| null, ZodTypeDef,
| {
[key: string]: string;
}
| null>, ZodType<GatewayJsonObject, ZodTypeDef, GatewayJsonObject>>>>;
}, "strict", ZodTypeAny, {
name: string;
type: "non_production" | "production";
organisation_id: string;
auth_settings?: {
gateway_base_url?: string;
mcp_gateway_base_url?: string;
is_dataservice_hosted?: 0 | 1;
is_playground_proxy_allowed?: 0 | 1;
workspaces_allowed?: string[];
jwt_subs_allowed?: string[];
jwt_sub_workspace_mapping?: Record<string, string>;
allow_all_workspaces?: boolean;
remove_workspaces_allowed?: string[];
remove_subs_allowed?: string[];
};
deployment_config?: GatewayJsonObject;
is_default?: boolean;
slug?: string;
tags?: | {
[key: string]: string;
} & GatewayJsonObject
| null;
}, {
name: string;
type: "non_production" | "production";
organisation_id: string;
auth_settings?: {
gateway_base_url?: string;
mcp_gateway_base_url?: string;
is_dataservice_hosted?: 0 | 1;
is_playground_proxy_allowed?: 0 | 1;
workspaces_allowed?: string[];
jwt_subs_allowed?: string[];
jwt_sub_workspace_mapping?: Record<string, string>;
allow_all_workspaces?: boolean;
remove_workspaces_allowed?: string[];
remove_subs_allowed?: string[];
};
deployment_config?: GatewayJsonObject;
is_default?: boolean;
slug?: string;
tags?: | {
[key: string]: string;
} & GatewayJsonObject
| null;
}>;
Defined in: src/models/ai-gateway-requests.ts:497