@vercel/sdk 1.10.5 → 1.10.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +58 -45
- package/bin/mcp-server.js +5829 -1512
- package/bin/mcp-server.js.map +44 -35
- package/docs/sdks/integrations/README.md +209 -0
- package/docs/sdks/projects/README.md +4 -0
- package/docs/sdks/teams/README.md +12 -0
- package/docs/sdks/vercel/README.md +74 -0
- package/esm/__tests__/domains.test.js +7 -2
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +6 -6
- package/esm/__tests__/edgeconfig.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +62 -0
- package/esm/__tests__/integrations.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +1 -1
- package/esm/__tests__/security.test.js +1 -11
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/__tests__/vercel.test.js +28 -1
- package/esm/__tests__/vercel.test.js.map +1 -1
- package/esm/funcs/domainsCheckDomainPrice.js +2 -2
- package/esm/funcs/domainsCheckDomainPrice.js.map +1 -1
- package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts +14 -0
- package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts.map +1 -0
- package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js +84 -0
- package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js.map +1 -0
- package/esm/funcs/integrationsConnectIntegrationResourceToProject.d.ts +20 -0
- package/esm/funcs/integrationsConnectIntegrationResourceToProject.d.ts.map +1 -0
- package/esm/funcs/integrationsConnectIntegrationResourceToProject.js +97 -0
- package/esm/funcs/integrationsConnectIntegrationResourceToProject.js.map +1 -0
- package/esm/funcs/integrationsCreateIntegrationStoreDirect.d.ts +21 -0
- package/esm/funcs/integrationsCreateIntegrationStoreDirect.d.ts.map +1 -0
- package/esm/funcs/integrationsCreateIntegrationStoreDirect.js +90 -0
- package/esm/funcs/integrationsCreateIntegrationStoreDirect.js.map +1 -0
- package/esm/funcs/marketplaceExchangeSsoToken.js +2 -2
- package/esm/funcs/marketplaceExchangeSsoToken.js.map +1 -1
- package/esm/funcs/marketplaceSubmitInvoice.js +2 -2
- package/esm/funcs/marketplaceSubmitInvoice.js.map +1 -1
- package/esm/funcs/marketplaceUpdateInvoice.js +2 -2
- package/esm/funcs/marketplaceUpdateInvoice.js.map +1 -1
- package/esm/funcs/projectsGetProjects.js +2 -0
- package/esm/funcs/projectsGetProjects.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +7 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts +7 -0
- package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts.map +1 -0
- package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js +26 -0
- package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js.map +1 -0
- package/esm/mcp-server/tools/integrationsConnectIntegrationResourceToProject.d.ts +7 -0
- package/esm/mcp-server/tools/integrationsConnectIntegrationResourceToProject.d.ts.map +1 -0
- package/esm/mcp-server/tools/integrationsConnectIntegrationResourceToProject.js +27 -0
- package/esm/mcp-server/tools/integrationsConnectIntegrationResourceToProject.js.map +1 -0
- package/esm/mcp-server/tools/integrationsCreateIntegrationStoreDirect.d.ts +7 -0
- package/esm/mcp-server/tools/integrationsCreateIntegrationStoreDirect.d.ts.map +1 -0
- package/esm/mcp-server/tools/integrationsCreateIntegrationStoreDirect.js +28 -0
- package/esm/mcp-server/tools/integrationsCreateIntegrationStoreDirect.js.map +1 -0
- package/esm/models/acceptprojecttransferrequestop.d.ts +37 -0
- package/esm/models/acceptprojecttransferrequestop.d.ts.map +1 -1
- package/esm/models/acceptprojecttransferrequestop.js +40 -1
- package/esm/models/acceptprojecttransferrequestop.js.map +1 -1
- package/esm/models/authuser.d.ts +3 -3
- package/esm/models/authuser.js +1 -1
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +45 -7
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +31 -2
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/connectintegrationresourcetoprojectop.d.ts +68 -0
- package/esm/models/connectintegrationresourcetoprojectop.d.ts.map +1 -0
- package/esm/models/connectintegrationresourcetoprojectop.js +73 -0
- package/esm/models/connectintegrationresourcetoprojectop.js.map +1 -0
- package/esm/models/createdeploymentop.d.ts +259 -221
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +233 -206
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +5995 -0
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -0
- package/esm/models/createintegrationstoredirectop.js +6597 -0
- package/esm/models/createintegrationstoredirectop.js.map +1 -0
- package/esm/models/createprojectop.d.ts +31 -4
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +10 -4
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/createwebhookop.d.ts +12 -0
- package/esm/models/createwebhookop.d.ts.map +1 -1
- package/esm/models/createwebhookop.js +4 -0
- package/esm/models/createwebhookop.js.map +1 -1
- package/esm/models/getconfigurationop.d.ts +6 -0
- package/esm/models/getconfigurationop.d.ts.map +1 -1
- package/esm/models/getconfigurationop.js +2 -0
- package/esm/models/getconfigurationop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +533 -533
- package/esm/models/getconfigurationproductsop.d.ts.map +1 -1
- package/esm/models/getconfigurationproductsop.js +666 -665
- package/esm/models/getconfigurationproductsop.js.map +1 -1
- package/esm/models/getconfigurationsop.d.ts +6 -0
- package/esm/models/getconfigurationsop.d.ts.map +1 -1
- package/esm/models/getconfigurationsop.js +2 -0
- package/esm/models/getconfigurationsop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +45 -7
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +30 -2
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getintegrationresourceop.d.ts +13 -13
- package/esm/models/getintegrationresourceop.d.ts.map +1 -1
- package/esm/models/getintegrationresourceop.js +13 -13
- package/esm/models/getintegrationresourceop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +101 -4
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +57 -4
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getteammembersop.d.ts +102 -9
- package/esm/models/getteammembersop.d.ts.map +1 -1
- package/esm/models/getteammembersop.js +60 -3
- package/esm/models/getteammembersop.js.map +1 -1
- package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.d.ts +247 -0
- package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.d.ts.map +1 -0
- package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js +246 -0
- package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js.map +1 -0
- package/esm/models/getwebhookop.d.ts +6 -0
- package/esm/models/getwebhookop.d.ts.map +1 -1
- package/esm/models/getwebhookop.js +2 -0
- package/esm/models/getwebhookop.js.map +1 -1
- package/esm/models/getwebhooksop.d.ts +27 -15
- package/esm/models/getwebhooksop.d.ts.map +1 -1
- package/esm/models/getwebhooksop.js +19 -15
- package/esm/models/getwebhooksop.js.map +1 -1
- package/esm/models/inviteusertoteamop.d.ts +3 -0
- package/esm/models/inviteusertoteamop.d.ts.map +1 -1
- package/esm/models/inviteusertoteamop.js +1 -0
- package/esm/models/inviteusertoteamop.js.map +1 -1
- package/esm/models/patchteamop.d.ts +253 -0
- package/esm/models/patchteamop.d.ts.map +1 -1
- package/esm/models/patchteamop.js +150 -0
- package/esm/models/patchteamop.js.map +1 -1
- package/esm/models/team.d.ts +47 -0
- package/esm/models/team.d.ts.map +1 -1
- package/esm/models/team.js +36 -0
- package/esm/models/team.js.map +1 -1
- package/esm/models/teamlimited.d.ts +3 -0
- package/esm/models/teamlimited.d.ts.map +1 -1
- package/esm/models/teamlimited.js +1 -0
- package/esm/models/teamlimited.js.map +1 -1
- package/esm/models/updatefirewallconfigop.d.ts +32 -32
- package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
- package/esm/models/updatefirewallconfigop.js +49 -49
- package/esm/models/updatefirewallconfigop.js.map +1 -1
- package/esm/models/updateinvoiceop.d.ts +36 -15
- package/esm/models/updateinvoiceop.d.ts.map +1 -1
- package/esm/models/updateinvoiceop.js +37 -16
- package/esm/models/updateinvoiceop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +25 -0
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +4 -0
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +31 -4
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +10 -4
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/userevent.d.ts +406 -305
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +467 -365
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/integrations.d.ts +16 -0
- package/esm/sdk/integrations.d.ts.map +1 -1
- package/esm/sdk/integrations.js +20 -0
- package/esm/sdk/integrations.js.map +1 -1
- package/esm/sdk/sdk.d.ts +3 -1
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +5 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/domains.test.ts +7 -2
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/integrations.test.ts +65 -0
- package/src/__tests__/rollingrelease.test.ts +1 -1
- package/src/__tests__/security.test.ts +1 -11
- package/src/__tests__/vercel.test.ts +36 -1
- package/src/funcs/domainsCheckDomainPrice.ts +2 -2
- package/src/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts +207 -0
- package/src/funcs/integrationsConnectIntegrationResourceToProject.ts +213 -0
- package/src/funcs/integrationsCreateIntegrationStoreDirect.ts +207 -0
- package/src/funcs/marketplaceExchangeSsoToken.ts +2 -2
- package/src/funcs/marketplaceSubmitInvoice.ts +2 -2
- package/src/funcs/marketplaceUpdateInvoice.ts +2 -2
- package/src/funcs/projectsGetProjects.ts +2 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +9 -1
- package/src/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts +41 -0
- package/src/mcp-server/tools/integrationsConnectIntegrationResourceToProject.ts +37 -0
- package/src/mcp-server/tools/integrationsCreateIntegrationStoreDirect.ts +39 -0
- package/src/models/acceptprojecttransferrequestop.ts +88 -1
- package/src/models/authuser.ts +1 -1
- package/src/models/canceldeploymentop.ts +56 -9
- package/src/models/connectintegrationresourcetoprojectop.ts +185 -0
- package/src/models/createdeploymentop.ts +540 -498
- package/src/models/createintegrationstoredirectop.ts +15739 -0
- package/src/models/createprojectop.ts +41 -8
- package/src/models/createwebhookop.ts +4 -0
- package/src/models/getconfigurationop.ts +2 -0
- package/src/models/getconfigurationproductsop.ts +1326 -1163
- package/src/models/getconfigurationsop.ts +2 -0
- package/src/models/getdeploymentop.ts +59 -9
- package/src/models/getintegrationresourceop.ts +26 -20
- package/src/models/getprojectsop.ts +122 -8
- package/src/models/getteammembersop.ts +84 -3
- package/src/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.ts +575 -0
- package/src/models/getwebhookop.ts +2 -0
- package/src/models/getwebhooksop.ts +31 -25
- package/src/models/inviteusertoteamop.ts +1 -0
- package/src/models/patchteamop.ts +254 -0
- package/src/models/team.ts +92 -0
- package/src/models/teamlimited.ts +1 -0
- package/src/models/updatefirewallconfigop.ts +74 -68
- package/src/models/updateinvoiceop.ts +78 -27
- package/src/models/updateprojectdatacacheop.ts +29 -0
- package/src/models/updateprojectop.ts +41 -8
- package/src/models/userevent.ts +918 -682
- package/src/sdk/integrations.ts +41 -0
- package/src/sdk/sdk.ts +23 -1
- package/vercel-spec.json +3689 -540
|
@@ -1154,25 +1154,18 @@ export const CreateDeploymentTarget = {
|
|
|
1154
1154
|
} as const;
|
|
1155
1155
|
export type CreateDeploymentTarget = ClosedEnum<typeof CreateDeploymentTarget>;
|
|
1156
1156
|
|
|
1157
|
-
export type
|
|
1157
|
+
export type AliasError = {
|
|
1158
1158
|
code: string;
|
|
1159
1159
|
message: string;
|
|
1160
|
-
link?: string | undefined;
|
|
1161
|
-
action?: string | undefined;
|
|
1162
1160
|
};
|
|
1163
1161
|
|
|
1164
|
-
export type
|
|
1162
|
+
export type AliasWarning = {
|
|
1165
1163
|
code: string;
|
|
1166
1164
|
message: string;
|
|
1165
|
+
link?: string | undefined;
|
|
1166
|
+
action?: string | undefined;
|
|
1167
1167
|
};
|
|
1168
1168
|
|
|
1169
|
-
export const ChecksState = {
|
|
1170
|
-
Registered: "registered",
|
|
1171
|
-
Running: "running",
|
|
1172
|
-
Completed: "completed",
|
|
1173
|
-
} as const;
|
|
1174
|
-
export type ChecksState = ClosedEnum<typeof ChecksState>;
|
|
1175
|
-
|
|
1176
1169
|
export const ChecksConclusion = {
|
|
1177
1170
|
Succeeded: "succeeded",
|
|
1178
1171
|
Failed: "failed",
|
|
@@ -1181,18 +1174,12 @@ export const ChecksConclusion = {
|
|
|
1181
1174
|
} as const;
|
|
1182
1175
|
export type ChecksConclusion = ClosedEnum<typeof ChecksConclusion>;
|
|
1183
1176
|
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
Staged: "STAGED",
|
|
1189
|
-
Rolling: "ROLLING",
|
|
1190
|
-
Promoted: "PROMOTED",
|
|
1177
|
+
export const ChecksState = {
|
|
1178
|
+
Registered: "registered",
|
|
1179
|
+
Running: "running",
|
|
1180
|
+
Completed: "completed",
|
|
1191
1181
|
} as const;
|
|
1192
|
-
|
|
1193
|
-
* Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
|
|
1194
|
-
*/
|
|
1195
|
-
export type ReadySubstate = ClosedEnum<typeof ReadySubstate>;
|
|
1182
|
+
export type ChecksState = ClosedEnum<typeof ChecksState>;
|
|
1196
1183
|
|
|
1197
1184
|
export type OidcTokenClaims = {
|
|
1198
1185
|
iss: string;
|
|
@@ -1206,6 +1193,19 @@ export type OidcTokenClaims = {
|
|
|
1206
1193
|
environment: string;
|
|
1207
1194
|
};
|
|
1208
1195
|
|
|
1196
|
+
/**
|
|
1197
|
+
* Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
|
|
1198
|
+
*/
|
|
1199
|
+
export const ReadySubstate = {
|
|
1200
|
+
Staged: "STAGED",
|
|
1201
|
+
Rolling: "ROLLING",
|
|
1202
|
+
Promoted: "PROMOTED",
|
|
1203
|
+
} as const;
|
|
1204
|
+
/**
|
|
1205
|
+
* Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
|
|
1206
|
+
*/
|
|
1207
|
+
export type ReadySubstate = ClosedEnum<typeof ReadySubstate>;
|
|
1208
|
+
|
|
1209
1209
|
export const CreateDeploymentPlan = {
|
|
1210
1210
|
Hobby: "hobby",
|
|
1211
1211
|
Pro: "pro",
|
|
@@ -1296,6 +1296,7 @@ export type Functions = {
|
|
|
1296
1296
|
includeFiles?: string | undefined;
|
|
1297
1297
|
excludeFiles?: string | undefined;
|
|
1298
1298
|
experimentalTriggers?: Array<ExperimentalTriggers> | undefined;
|
|
1299
|
+
supportsCancellation?: boolean | undefined;
|
|
1299
1300
|
};
|
|
1300
1301
|
|
|
1301
1302
|
export type Routes3 = {
|
|
@@ -1573,7 +1574,7 @@ export type CreateDeploymentChecks = {
|
|
|
1573
1574
|
};
|
|
1574
1575
|
|
|
1575
1576
|
/**
|
|
1576
|
-
* A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment.
|
|
1577
|
+
* A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. Note: this field will be removed when MFE alias routing is fully rolled out.
|
|
1577
1578
|
*/
|
|
1578
1579
|
export type CreateDeploymentMicrofrontendsApplications = {
|
|
1579
1580
|
isDefaultApp?: boolean | undefined;
|
|
@@ -1588,14 +1589,31 @@ export type CreateDeploymentMicrofrontendsApplications = {
|
|
|
1588
1589
|
deploymentHost?: string | undefined;
|
|
1589
1590
|
};
|
|
1590
1591
|
|
|
1592
|
+
/**
|
|
1593
|
+
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `error` - The config upload failed. - `no_config` - No config was found to upload. - `undefined` - The config upload has not been attempted yet.
|
|
1594
|
+
*/
|
|
1595
|
+
export const MfeConfigUploadState = {
|
|
1596
|
+
Error: "error",
|
|
1597
|
+
Success: "success",
|
|
1598
|
+
NoConfig: "no_config",
|
|
1599
|
+
} as const;
|
|
1600
|
+
/**
|
|
1601
|
+
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `error` - The config upload failed. - `no_config` - No config was found to upload. - `undefined` - The config upload has not been attempted yet.
|
|
1602
|
+
*/
|
|
1603
|
+
export type MfeConfigUploadState = ClosedEnum<typeof MfeConfigUploadState>;
|
|
1604
|
+
|
|
1591
1605
|
export type CreateDeploymentMicrofrontends2 = {
|
|
1606
|
+
isDefaultApp: boolean;
|
|
1592
1607
|
/**
|
|
1593
|
-
* A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment.
|
|
1608
|
+
* A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. Note: this field will be removed when MFE alias routing is fully rolled out.
|
|
1594
1609
|
*/
|
|
1595
1610
|
applications?:
|
|
1596
1611
|
| { [k: string]: CreateDeploymentMicrofrontendsApplications }
|
|
1597
1612
|
| undefined;
|
|
1598
|
-
|
|
1613
|
+
/**
|
|
1614
|
+
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `error` - The config upload failed. - `no_config` - No config was found to upload. - `undefined` - The config upload has not been attempted yet.
|
|
1615
|
+
*/
|
|
1616
|
+
mfeConfigUploadState?: MfeConfigUploadState | undefined;
|
|
1599
1617
|
/**
|
|
1600
1618
|
* The project name of the default app of this deployment's microfrontends group.
|
|
1601
1619
|
*/
|
|
@@ -1615,9 +1633,6 @@ export type CreateDeploymentMicrofrontends2 = {
|
|
|
1615
1633
|
};
|
|
1616
1634
|
|
|
1617
1635
|
export type CreateDeploymentMicrofrontends1 = {
|
|
1618
|
-
/**
|
|
1619
|
-
* Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends.
|
|
1620
|
-
*/
|
|
1621
1636
|
isDefaultApp?: boolean | undefined;
|
|
1622
1637
|
/**
|
|
1623
1638
|
* The project name of the default app of this deployment's microfrontends group.
|
|
@@ -1641,6 +1656,31 @@ export type CreateDeploymentMicrofrontends =
|
|
|
1641
1656
|
| CreateDeploymentMicrofrontends2
|
|
1642
1657
|
| CreateDeploymentMicrofrontends1;
|
|
1643
1658
|
|
|
1659
|
+
/**
|
|
1660
|
+
* Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags.
|
|
1661
|
+
*/
|
|
1662
|
+
export type Flags2 = {};
|
|
1663
|
+
|
|
1664
|
+
export type Options = {
|
|
1665
|
+
value: FlagJSONValue | null;
|
|
1666
|
+
label?: string | undefined;
|
|
1667
|
+
};
|
|
1668
|
+
|
|
1669
|
+
export type FlagsDefinitions = {
|
|
1670
|
+
options?: Array<Options> | undefined;
|
|
1671
|
+
url?: string | undefined;
|
|
1672
|
+
description?: string | undefined;
|
|
1673
|
+
};
|
|
1674
|
+
|
|
1675
|
+
/**
|
|
1676
|
+
* Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags.
|
|
1677
|
+
*/
|
|
1678
|
+
export type Flags1 = {
|
|
1679
|
+
definitions: { [k: string]: FlagsDefinitions };
|
|
1680
|
+
};
|
|
1681
|
+
|
|
1682
|
+
export type Flags = Flags1 | Array<Flags2>;
|
|
1683
|
+
|
|
1644
1684
|
export const CreateDeploymentGitRepoDeploymentsType = {
|
|
1645
1685
|
Bitbucket: "bitbucket",
|
|
1646
1686
|
} as const;
|
|
@@ -1720,31 +1760,6 @@ export type GitRepo1 = {
|
|
|
1720
1760
|
|
|
1721
1761
|
export type GitRepo = GitRepo2 | GitRepo3 | GitRepo1;
|
|
1722
1762
|
|
|
1723
|
-
/**
|
|
1724
|
-
* Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags.
|
|
1725
|
-
*/
|
|
1726
|
-
export type Flags2 = {};
|
|
1727
|
-
|
|
1728
|
-
export type Options = {
|
|
1729
|
-
value: FlagJSONValue | null;
|
|
1730
|
-
label?: string | undefined;
|
|
1731
|
-
};
|
|
1732
|
-
|
|
1733
|
-
export type FlagsDefinitions = {
|
|
1734
|
-
options?: Array<Options> | undefined;
|
|
1735
|
-
url?: string | undefined;
|
|
1736
|
-
description?: string | undefined;
|
|
1737
|
-
};
|
|
1738
|
-
|
|
1739
|
-
/**
|
|
1740
|
-
* Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags.
|
|
1741
|
-
*/
|
|
1742
|
-
export type Flags1 = {
|
|
1743
|
-
definitions: { [k: string]: FlagsDefinitions };
|
|
1744
|
-
};
|
|
1745
|
-
|
|
1746
|
-
export type Flags = Flags1 | Array<Flags2>;
|
|
1747
|
-
|
|
1748
1763
|
/**
|
|
1749
1764
|
* The successfully created deployment
|
|
1750
1765
|
*/
|
|
@@ -1826,22 +1841,23 @@ export type CreateDeploymentResponseBody = {
|
|
|
1826
1841
|
*/
|
|
1827
1842
|
passiveRegions?: Array<string> | undefined;
|
|
1828
1843
|
regions: Array<string>;
|
|
1829
|
-
aliasWarning?: AliasWarning | null | undefined;
|
|
1830
1844
|
aliasError?: AliasError | null | undefined;
|
|
1831
1845
|
aliasFinal?: string | null | undefined;
|
|
1846
|
+
aliasWarning?: AliasWarning | null | undefined;
|
|
1832
1847
|
automaticAliases?: Array<string> | undefined;
|
|
1833
1848
|
buildErrorAt?: number | undefined;
|
|
1834
|
-
|
|
1849
|
+
canceledAt?: number | undefined;
|
|
1835
1850
|
checksConclusion?: ChecksConclusion | undefined;
|
|
1851
|
+
checksState?: ChecksState | undefined;
|
|
1836
1852
|
/**
|
|
1837
1853
|
* Computed field that is only available for deployments with a microfrontend configuration.
|
|
1838
1854
|
*/
|
|
1839
1855
|
defaultRoute?: string | undefined;
|
|
1840
|
-
canceledAt?: number | undefined;
|
|
1841
1856
|
errorCode?: string | undefined;
|
|
1842
1857
|
errorLink?: string | undefined;
|
|
1843
1858
|
errorStep?: string | undefined;
|
|
1844
1859
|
originCacheRegion?: string | undefined;
|
|
1860
|
+
oidcTokenClaims?: OidcTokenClaims | undefined;
|
|
1845
1861
|
/**
|
|
1846
1862
|
* Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
|
|
1847
1863
|
*/
|
|
@@ -1849,7 +1865,6 @@ export type CreateDeploymentResponseBody = {
|
|
|
1849
1865
|
softDeletedByRetention?: boolean | undefined;
|
|
1850
1866
|
undeletedAt?: number | undefined;
|
|
1851
1867
|
url: string;
|
|
1852
|
-
oidcTokenClaims?: OidcTokenClaims | undefined;
|
|
1853
1868
|
projectId: string;
|
|
1854
1869
|
ownerId: string;
|
|
1855
1870
|
monorepoManager?: string | null | undefined;
|
|
@@ -1873,8 +1888,8 @@ export type CreateDeploymentResponseBody = {
|
|
|
1873
1888
|
* Since November 2023 this field defines a Secure Compute network that will only be used to deploy passive lambdas to (as in passiveRegions)
|
|
1874
1889
|
*/
|
|
1875
1890
|
passiveConnectConfigurationId?: string | undefined;
|
|
1876
|
-
gitRepo?: GitRepo2 | GitRepo3 | GitRepo1 | null | undefined;
|
|
1877
1891
|
flags?: Flags1 | Array<Flags2> | undefined;
|
|
1892
|
+
gitRepo?: GitRepo2 | GitRepo3 | GitRepo1 | null | undefined;
|
|
1878
1893
|
};
|
|
1879
1894
|
|
|
1880
1895
|
/** @internal */
|
|
@@ -6454,136 +6469,117 @@ export namespace CreateDeploymentTarget$ {
|
|
|
6454
6469
|
}
|
|
6455
6470
|
|
|
6456
6471
|
/** @internal */
|
|
6457
|
-
export const
|
|
6458
|
-
|
|
6472
|
+
export const AliasError$inboundSchema: z.ZodType<
|
|
6473
|
+
AliasError,
|
|
6459
6474
|
z.ZodTypeDef,
|
|
6460
6475
|
unknown
|
|
6461
6476
|
> = z.object({
|
|
6462
6477
|
code: z.string(),
|
|
6463
6478
|
message: z.string(),
|
|
6464
|
-
link: z.string().optional(),
|
|
6465
|
-
action: z.string().optional(),
|
|
6466
6479
|
});
|
|
6467
6480
|
|
|
6468
6481
|
/** @internal */
|
|
6469
|
-
export type
|
|
6482
|
+
export type AliasError$Outbound = {
|
|
6470
6483
|
code: string;
|
|
6471
6484
|
message: string;
|
|
6472
|
-
link?: string | undefined;
|
|
6473
|
-
action?: string | undefined;
|
|
6474
6485
|
};
|
|
6475
6486
|
|
|
6476
6487
|
/** @internal */
|
|
6477
|
-
export const
|
|
6478
|
-
|
|
6488
|
+
export const AliasError$outboundSchema: z.ZodType<
|
|
6489
|
+
AliasError$Outbound,
|
|
6479
6490
|
z.ZodTypeDef,
|
|
6480
|
-
|
|
6491
|
+
AliasError
|
|
6481
6492
|
> = z.object({
|
|
6482
6493
|
code: z.string(),
|
|
6483
6494
|
message: z.string(),
|
|
6484
|
-
link: z.string().optional(),
|
|
6485
|
-
action: z.string().optional(),
|
|
6486
6495
|
});
|
|
6487
6496
|
|
|
6488
6497
|
/**
|
|
6489
6498
|
* @internal
|
|
6490
6499
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6491
6500
|
*/
|
|
6492
|
-
export namespace
|
|
6493
|
-
/** @deprecated use `
|
|
6494
|
-
export const inboundSchema =
|
|
6495
|
-
/** @deprecated use `
|
|
6496
|
-
export const outboundSchema =
|
|
6497
|
-
/** @deprecated use `
|
|
6498
|
-
export type Outbound =
|
|
6501
|
+
export namespace AliasError$ {
|
|
6502
|
+
/** @deprecated use `AliasError$inboundSchema` instead. */
|
|
6503
|
+
export const inboundSchema = AliasError$inboundSchema;
|
|
6504
|
+
/** @deprecated use `AliasError$outboundSchema` instead. */
|
|
6505
|
+
export const outboundSchema = AliasError$outboundSchema;
|
|
6506
|
+
/** @deprecated use `AliasError$Outbound` instead. */
|
|
6507
|
+
export type Outbound = AliasError$Outbound;
|
|
6499
6508
|
}
|
|
6500
6509
|
|
|
6501
|
-
export function
|
|
6502
|
-
return JSON.stringify(
|
|
6510
|
+
export function aliasErrorToJSON(aliasError: AliasError): string {
|
|
6511
|
+
return JSON.stringify(AliasError$outboundSchema.parse(aliasError));
|
|
6503
6512
|
}
|
|
6504
6513
|
|
|
6505
|
-
export function
|
|
6514
|
+
export function aliasErrorFromJSON(
|
|
6506
6515
|
jsonString: string,
|
|
6507
|
-
): SafeParseResult<
|
|
6516
|
+
): SafeParseResult<AliasError, SDKValidationError> {
|
|
6508
6517
|
return safeParse(
|
|
6509
6518
|
jsonString,
|
|
6510
|
-
(x) =>
|
|
6511
|
-
`Failed to parse '
|
|
6519
|
+
(x) => AliasError$inboundSchema.parse(JSON.parse(x)),
|
|
6520
|
+
`Failed to parse 'AliasError' from JSON`,
|
|
6512
6521
|
);
|
|
6513
6522
|
}
|
|
6514
6523
|
|
|
6515
6524
|
/** @internal */
|
|
6516
|
-
export const
|
|
6517
|
-
|
|
6525
|
+
export const AliasWarning$inboundSchema: z.ZodType<
|
|
6526
|
+
AliasWarning,
|
|
6518
6527
|
z.ZodTypeDef,
|
|
6519
6528
|
unknown
|
|
6520
6529
|
> = z.object({
|
|
6521
6530
|
code: z.string(),
|
|
6522
6531
|
message: z.string(),
|
|
6532
|
+
link: z.string().optional(),
|
|
6533
|
+
action: z.string().optional(),
|
|
6523
6534
|
});
|
|
6524
6535
|
|
|
6525
6536
|
/** @internal */
|
|
6526
|
-
export type
|
|
6537
|
+
export type AliasWarning$Outbound = {
|
|
6527
6538
|
code: string;
|
|
6528
6539
|
message: string;
|
|
6540
|
+
link?: string | undefined;
|
|
6541
|
+
action?: string | undefined;
|
|
6529
6542
|
};
|
|
6530
6543
|
|
|
6531
6544
|
/** @internal */
|
|
6532
|
-
export const
|
|
6533
|
-
|
|
6545
|
+
export const AliasWarning$outboundSchema: z.ZodType<
|
|
6546
|
+
AliasWarning$Outbound,
|
|
6534
6547
|
z.ZodTypeDef,
|
|
6535
|
-
|
|
6548
|
+
AliasWarning
|
|
6536
6549
|
> = z.object({
|
|
6537
6550
|
code: z.string(),
|
|
6538
6551
|
message: z.string(),
|
|
6552
|
+
link: z.string().optional(),
|
|
6553
|
+
action: z.string().optional(),
|
|
6539
6554
|
});
|
|
6540
6555
|
|
|
6541
6556
|
/**
|
|
6542
6557
|
* @internal
|
|
6543
6558
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6544
6559
|
*/
|
|
6545
|
-
export namespace
|
|
6546
|
-
/** @deprecated use `
|
|
6547
|
-
export const inboundSchema =
|
|
6548
|
-
/** @deprecated use `
|
|
6549
|
-
export const outboundSchema =
|
|
6550
|
-
/** @deprecated use `
|
|
6551
|
-
export type Outbound =
|
|
6560
|
+
export namespace AliasWarning$ {
|
|
6561
|
+
/** @deprecated use `AliasWarning$inboundSchema` instead. */
|
|
6562
|
+
export const inboundSchema = AliasWarning$inboundSchema;
|
|
6563
|
+
/** @deprecated use `AliasWarning$outboundSchema` instead. */
|
|
6564
|
+
export const outboundSchema = AliasWarning$outboundSchema;
|
|
6565
|
+
/** @deprecated use `AliasWarning$Outbound` instead. */
|
|
6566
|
+
export type Outbound = AliasWarning$Outbound;
|
|
6552
6567
|
}
|
|
6553
6568
|
|
|
6554
|
-
export function
|
|
6555
|
-
return JSON.stringify(
|
|
6569
|
+
export function aliasWarningToJSON(aliasWarning: AliasWarning): string {
|
|
6570
|
+
return JSON.stringify(AliasWarning$outboundSchema.parse(aliasWarning));
|
|
6556
6571
|
}
|
|
6557
6572
|
|
|
6558
|
-
export function
|
|
6573
|
+
export function aliasWarningFromJSON(
|
|
6559
6574
|
jsonString: string,
|
|
6560
|
-
): SafeParseResult<
|
|
6575
|
+
): SafeParseResult<AliasWarning, SDKValidationError> {
|
|
6561
6576
|
return safeParse(
|
|
6562
6577
|
jsonString,
|
|
6563
|
-
(x) =>
|
|
6564
|
-
`Failed to parse '
|
|
6578
|
+
(x) => AliasWarning$inboundSchema.parse(JSON.parse(x)),
|
|
6579
|
+
`Failed to parse 'AliasWarning' from JSON`,
|
|
6565
6580
|
);
|
|
6566
6581
|
}
|
|
6567
6582
|
|
|
6568
|
-
/** @internal */
|
|
6569
|
-
export const ChecksState$inboundSchema: z.ZodNativeEnum<typeof ChecksState> = z
|
|
6570
|
-
.nativeEnum(ChecksState);
|
|
6571
|
-
|
|
6572
|
-
/** @internal */
|
|
6573
|
-
export const ChecksState$outboundSchema: z.ZodNativeEnum<typeof ChecksState> =
|
|
6574
|
-
ChecksState$inboundSchema;
|
|
6575
|
-
|
|
6576
|
-
/**
|
|
6577
|
-
* @internal
|
|
6578
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6579
|
-
*/
|
|
6580
|
-
export namespace ChecksState$ {
|
|
6581
|
-
/** @deprecated use `ChecksState$inboundSchema` instead. */
|
|
6582
|
-
export const inboundSchema = ChecksState$inboundSchema;
|
|
6583
|
-
/** @deprecated use `ChecksState$outboundSchema` instead. */
|
|
6584
|
-
export const outboundSchema = ChecksState$outboundSchema;
|
|
6585
|
-
}
|
|
6586
|
-
|
|
6587
6583
|
/** @internal */
|
|
6588
6584
|
export const ChecksConclusion$inboundSchema: z.ZodNativeEnum<
|
|
6589
6585
|
typeof ChecksConclusion
|
|
@@ -6606,24 +6602,22 @@ export namespace ChecksConclusion$ {
|
|
|
6606
6602
|
}
|
|
6607
6603
|
|
|
6608
6604
|
/** @internal */
|
|
6609
|
-
export const
|
|
6610
|
-
|
|
6611
|
-
> = z.nativeEnum(ReadySubstate);
|
|
6605
|
+
export const ChecksState$inboundSchema: z.ZodNativeEnum<typeof ChecksState> = z
|
|
6606
|
+
.nativeEnum(ChecksState);
|
|
6612
6607
|
|
|
6613
6608
|
/** @internal */
|
|
6614
|
-
export const
|
|
6615
|
-
|
|
6616
|
-
> = ReadySubstate$inboundSchema;
|
|
6609
|
+
export const ChecksState$outboundSchema: z.ZodNativeEnum<typeof ChecksState> =
|
|
6610
|
+
ChecksState$inboundSchema;
|
|
6617
6611
|
|
|
6618
6612
|
/**
|
|
6619
6613
|
* @internal
|
|
6620
6614
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6621
6615
|
*/
|
|
6622
|
-
export namespace
|
|
6623
|
-
/** @deprecated use `
|
|
6624
|
-
export const inboundSchema =
|
|
6625
|
-
/** @deprecated use `
|
|
6626
|
-
export const outboundSchema =
|
|
6616
|
+
export namespace ChecksState$ {
|
|
6617
|
+
/** @deprecated use `ChecksState$inboundSchema` instead. */
|
|
6618
|
+
export const inboundSchema = ChecksState$inboundSchema;
|
|
6619
|
+
/** @deprecated use `ChecksState$outboundSchema` instead. */
|
|
6620
|
+
export const outboundSchema = ChecksState$outboundSchema;
|
|
6627
6621
|
}
|
|
6628
6622
|
|
|
6629
6623
|
/** @internal */
|
|
@@ -6713,14 +6707,35 @@ export function oidcTokenClaimsFromJSON(
|
|
|
6713
6707
|
}
|
|
6714
6708
|
|
|
6715
6709
|
/** @internal */
|
|
6716
|
-
export const
|
|
6717
|
-
typeof
|
|
6718
|
-
> = z.nativeEnum(
|
|
6710
|
+
export const ReadySubstate$inboundSchema: z.ZodNativeEnum<
|
|
6711
|
+
typeof ReadySubstate
|
|
6712
|
+
> = z.nativeEnum(ReadySubstate);
|
|
6719
6713
|
|
|
6720
6714
|
/** @internal */
|
|
6721
|
-
export const
|
|
6722
|
-
typeof
|
|
6723
|
-
> =
|
|
6715
|
+
export const ReadySubstate$outboundSchema: z.ZodNativeEnum<
|
|
6716
|
+
typeof ReadySubstate
|
|
6717
|
+
> = ReadySubstate$inboundSchema;
|
|
6718
|
+
|
|
6719
|
+
/**
|
|
6720
|
+
* @internal
|
|
6721
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6722
|
+
*/
|
|
6723
|
+
export namespace ReadySubstate$ {
|
|
6724
|
+
/** @deprecated use `ReadySubstate$inboundSchema` instead. */
|
|
6725
|
+
export const inboundSchema = ReadySubstate$inboundSchema;
|
|
6726
|
+
/** @deprecated use `ReadySubstate$outboundSchema` instead. */
|
|
6727
|
+
export const outboundSchema = ReadySubstate$outboundSchema;
|
|
6728
|
+
}
|
|
6729
|
+
|
|
6730
|
+
/** @internal */
|
|
6731
|
+
export const CreateDeploymentPlan$inboundSchema: z.ZodNativeEnum<
|
|
6732
|
+
typeof CreateDeploymentPlan
|
|
6733
|
+
> = z.nativeEnum(CreateDeploymentPlan);
|
|
6734
|
+
|
|
6735
|
+
/** @internal */
|
|
6736
|
+
export const CreateDeploymentPlan$outboundSchema: z.ZodNativeEnum<
|
|
6737
|
+
typeof CreateDeploymentPlan
|
|
6738
|
+
> = CreateDeploymentPlan$inboundSchema;
|
|
6724
6739
|
|
|
6725
6740
|
/**
|
|
6726
6741
|
* @internal
|
|
@@ -6962,6 +6977,7 @@ export const Functions$inboundSchema: z.ZodType<
|
|
|
6962
6977
|
experimentalTriggers: z.array(
|
|
6963
6978
|
z.lazy(() => ExperimentalTriggers$inboundSchema),
|
|
6964
6979
|
).optional(),
|
|
6980
|
+
supportsCancellation: z.boolean().optional(),
|
|
6965
6981
|
});
|
|
6966
6982
|
|
|
6967
6983
|
/** @internal */
|
|
@@ -6973,6 +6989,7 @@ export type Functions$Outbound = {
|
|
|
6973
6989
|
includeFiles?: string | undefined;
|
|
6974
6990
|
excludeFiles?: string | undefined;
|
|
6975
6991
|
experimentalTriggers?: Array<ExperimentalTriggers$Outbound> | undefined;
|
|
6992
|
+
supportsCancellation?: boolean | undefined;
|
|
6976
6993
|
};
|
|
6977
6994
|
|
|
6978
6995
|
/** @internal */
|
|
@@ -6990,6 +7007,7 @@ export const Functions$outboundSchema: z.ZodType<
|
|
|
6990
7007
|
experimentalTriggers: z.array(
|
|
6991
7008
|
z.lazy(() => ExperimentalTriggers$outboundSchema),
|
|
6992
7009
|
).optional(),
|
|
7010
|
+
supportsCancellation: z.boolean().optional(),
|
|
6993
7011
|
});
|
|
6994
7012
|
|
|
6995
7013
|
/**
|
|
@@ -9210,16 +9228,38 @@ export function createDeploymentMicrofrontendsApplicationsFromJSON(
|
|
|
9210
9228
|
);
|
|
9211
9229
|
}
|
|
9212
9230
|
|
|
9231
|
+
/** @internal */
|
|
9232
|
+
export const MfeConfigUploadState$inboundSchema: z.ZodNativeEnum<
|
|
9233
|
+
typeof MfeConfigUploadState
|
|
9234
|
+
> = z.nativeEnum(MfeConfigUploadState);
|
|
9235
|
+
|
|
9236
|
+
/** @internal */
|
|
9237
|
+
export const MfeConfigUploadState$outboundSchema: z.ZodNativeEnum<
|
|
9238
|
+
typeof MfeConfigUploadState
|
|
9239
|
+
> = MfeConfigUploadState$inboundSchema;
|
|
9240
|
+
|
|
9241
|
+
/**
|
|
9242
|
+
* @internal
|
|
9243
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
9244
|
+
*/
|
|
9245
|
+
export namespace MfeConfigUploadState$ {
|
|
9246
|
+
/** @deprecated use `MfeConfigUploadState$inboundSchema` instead. */
|
|
9247
|
+
export const inboundSchema = MfeConfigUploadState$inboundSchema;
|
|
9248
|
+
/** @deprecated use `MfeConfigUploadState$outboundSchema` instead. */
|
|
9249
|
+
export const outboundSchema = MfeConfigUploadState$outboundSchema;
|
|
9250
|
+
}
|
|
9251
|
+
|
|
9213
9252
|
/** @internal */
|
|
9214
9253
|
export const CreateDeploymentMicrofrontends2$inboundSchema: z.ZodType<
|
|
9215
9254
|
CreateDeploymentMicrofrontends2,
|
|
9216
9255
|
z.ZodTypeDef,
|
|
9217
9256
|
unknown
|
|
9218
9257
|
> = z.object({
|
|
9258
|
+
isDefaultApp: z.boolean(),
|
|
9219
9259
|
applications: z.record(
|
|
9220
9260
|
z.lazy(() => CreateDeploymentMicrofrontendsApplications$inboundSchema),
|
|
9221
9261
|
).optional(),
|
|
9222
|
-
|
|
9262
|
+
mfeConfigUploadState: MfeConfigUploadState$inboundSchema.optional(),
|
|
9223
9263
|
defaultAppProjectName: z.string(),
|
|
9224
9264
|
defaultRoute: z.string().optional(),
|
|
9225
9265
|
groupIds: z.array(z.string()),
|
|
@@ -9228,10 +9268,11 @@ export const CreateDeploymentMicrofrontends2$inboundSchema: z.ZodType<
|
|
|
9228
9268
|
|
|
9229
9269
|
/** @internal */
|
|
9230
9270
|
export type CreateDeploymentMicrofrontends2$Outbound = {
|
|
9271
|
+
isDefaultApp: boolean;
|
|
9231
9272
|
applications?: {
|
|
9232
9273
|
[k: string]: CreateDeploymentMicrofrontendsApplications$Outbound;
|
|
9233
9274
|
} | undefined;
|
|
9234
|
-
|
|
9275
|
+
mfeConfigUploadState?: string | undefined;
|
|
9235
9276
|
defaultAppProjectName: string;
|
|
9236
9277
|
defaultRoute?: string | undefined;
|
|
9237
9278
|
groupIds: Array<string>;
|
|
@@ -9244,10 +9285,11 @@ export const CreateDeploymentMicrofrontends2$outboundSchema: z.ZodType<
|
|
|
9244
9285
|
z.ZodTypeDef,
|
|
9245
9286
|
CreateDeploymentMicrofrontends2
|
|
9246
9287
|
> = z.object({
|
|
9288
|
+
isDefaultApp: z.boolean(),
|
|
9247
9289
|
applications: z.record(
|
|
9248
9290
|
z.lazy(() => CreateDeploymentMicrofrontendsApplications$outboundSchema),
|
|
9249
9291
|
).optional(),
|
|
9250
|
-
|
|
9292
|
+
mfeConfigUploadState: MfeConfigUploadState$outboundSchema.optional(),
|
|
9251
9293
|
defaultAppProjectName: z.string(),
|
|
9252
9294
|
defaultRoute: z.string().optional(),
|
|
9253
9295
|
groupIds: z.array(z.string()),
|
|
@@ -9414,154 +9456,399 @@ export function createDeploymentMicrofrontendsFromJSON(
|
|
|
9414
9456
|
}
|
|
9415
9457
|
|
|
9416
9458
|
/** @internal */
|
|
9417
|
-
export const
|
|
9418
|
-
|
|
9419
|
-
CreateDeploymentGitRepoDeploymentsType,
|
|
9420
|
-
);
|
|
9459
|
+
export const Flags2$inboundSchema: z.ZodType<Flags2, z.ZodTypeDef, unknown> = z
|
|
9460
|
+
.object({});
|
|
9421
9461
|
|
|
9422
9462
|
/** @internal */
|
|
9423
|
-
export
|
|
9424
|
-
|
|
9425
|
-
|
|
9463
|
+
export type Flags2$Outbound = {};
|
|
9464
|
+
|
|
9465
|
+
/** @internal */
|
|
9466
|
+
export const Flags2$outboundSchema: z.ZodType<
|
|
9467
|
+
Flags2$Outbound,
|
|
9468
|
+
z.ZodTypeDef,
|
|
9469
|
+
Flags2
|
|
9470
|
+
> = z.object({});
|
|
9426
9471
|
|
|
9427
9472
|
/**
|
|
9428
9473
|
* @internal
|
|
9429
9474
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
9430
9475
|
*/
|
|
9431
|
-
export namespace
|
|
9432
|
-
/** @deprecated use `
|
|
9433
|
-
export const inboundSchema =
|
|
9434
|
-
|
|
9435
|
-
|
|
9436
|
-
|
|
9437
|
-
|
|
9476
|
+
export namespace Flags2$ {
|
|
9477
|
+
/** @deprecated use `Flags2$inboundSchema` instead. */
|
|
9478
|
+
export const inboundSchema = Flags2$inboundSchema;
|
|
9479
|
+
/** @deprecated use `Flags2$outboundSchema` instead. */
|
|
9480
|
+
export const outboundSchema = Flags2$outboundSchema;
|
|
9481
|
+
/** @deprecated use `Flags2$Outbound` instead. */
|
|
9482
|
+
export type Outbound = Flags2$Outbound;
|
|
9483
|
+
}
|
|
9484
|
+
|
|
9485
|
+
export function flags2ToJSON(flags2: Flags2): string {
|
|
9486
|
+
return JSON.stringify(Flags2$outboundSchema.parse(flags2));
|
|
9487
|
+
}
|
|
9488
|
+
|
|
9489
|
+
export function flags2FromJSON(
|
|
9490
|
+
jsonString: string,
|
|
9491
|
+
): SafeParseResult<Flags2, SDKValidationError> {
|
|
9492
|
+
return safeParse(
|
|
9493
|
+
jsonString,
|
|
9494
|
+
(x) => Flags2$inboundSchema.parse(JSON.parse(x)),
|
|
9495
|
+
`Failed to parse 'Flags2' from JSON`,
|
|
9496
|
+
);
|
|
9438
9497
|
}
|
|
9439
9498
|
|
|
9440
9499
|
/** @internal */
|
|
9441
|
-
export const
|
|
9442
|
-
|
|
9443
|
-
|
|
9500
|
+
export const Options$inboundSchema: z.ZodType<Options, z.ZodTypeDef, unknown> =
|
|
9501
|
+
z.object({
|
|
9502
|
+
value: z.nullable(FlagJSONValue$inboundSchema),
|
|
9503
|
+
label: z.string().optional(),
|
|
9504
|
+
});
|
|
9444
9505
|
|
|
9445
9506
|
/** @internal */
|
|
9446
|
-
export
|
|
9447
|
-
|
|
9448
|
-
|
|
9507
|
+
export type Options$Outbound = {
|
|
9508
|
+
value: FlagJSONValue$Outbound | null;
|
|
9509
|
+
label?: string | undefined;
|
|
9510
|
+
};
|
|
9511
|
+
|
|
9512
|
+
/** @internal */
|
|
9513
|
+
export const Options$outboundSchema: z.ZodType<
|
|
9514
|
+
Options$Outbound,
|
|
9515
|
+
z.ZodTypeDef,
|
|
9516
|
+
Options
|
|
9517
|
+
> = z.object({
|
|
9518
|
+
value: z.nullable(FlagJSONValue$outboundSchema),
|
|
9519
|
+
label: z.string().optional(),
|
|
9520
|
+
});
|
|
9449
9521
|
|
|
9450
9522
|
/**
|
|
9451
9523
|
* @internal
|
|
9452
9524
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
9453
9525
|
*/
|
|
9454
|
-
export namespace
|
|
9455
|
-
/** @deprecated use `
|
|
9456
|
-
export const inboundSchema =
|
|
9457
|
-
/** @deprecated use `
|
|
9458
|
-
export const outboundSchema =
|
|
9526
|
+
export namespace Options$ {
|
|
9527
|
+
/** @deprecated use `Options$inboundSchema` instead. */
|
|
9528
|
+
export const inboundSchema = Options$inboundSchema;
|
|
9529
|
+
/** @deprecated use `Options$outboundSchema` instead. */
|
|
9530
|
+
export const outboundSchema = Options$outboundSchema;
|
|
9531
|
+
/** @deprecated use `Options$Outbound` instead. */
|
|
9532
|
+
export type Outbound = Options$Outbound;
|
|
9533
|
+
}
|
|
9534
|
+
|
|
9535
|
+
export function optionsToJSON(options: Options): string {
|
|
9536
|
+
return JSON.stringify(Options$outboundSchema.parse(options));
|
|
9537
|
+
}
|
|
9538
|
+
|
|
9539
|
+
export function optionsFromJSON(
|
|
9540
|
+
jsonString: string,
|
|
9541
|
+
): SafeParseResult<Options, SDKValidationError> {
|
|
9542
|
+
return safeParse(
|
|
9543
|
+
jsonString,
|
|
9544
|
+
(x) => Options$inboundSchema.parse(JSON.parse(x)),
|
|
9545
|
+
`Failed to parse 'Options' from JSON`,
|
|
9546
|
+
);
|
|
9459
9547
|
}
|
|
9460
9548
|
|
|
9461
9549
|
/** @internal */
|
|
9462
|
-
export const
|
|
9463
|
-
|
|
9550
|
+
export const FlagsDefinitions$inboundSchema: z.ZodType<
|
|
9551
|
+
FlagsDefinitions,
|
|
9464
9552
|
z.ZodTypeDef,
|
|
9465
9553
|
unknown
|
|
9466
9554
|
> = z.object({
|
|
9467
|
-
|
|
9468
|
-
|
|
9469
|
-
|
|
9470
|
-
type: CreateDeploymentGitRepoDeploymentsType$inboundSchema,
|
|
9471
|
-
workspaceUuid: z.string(),
|
|
9472
|
-
path: z.string(),
|
|
9473
|
-
defaultBranch: z.string(),
|
|
9474
|
-
name: z.string(),
|
|
9475
|
-
private: z.boolean(),
|
|
9476
|
-
ownerType: CreateDeploymentGitRepoOwnerType$inboundSchema,
|
|
9555
|
+
options: z.array(z.lazy(() => Options$inboundSchema)).optional(),
|
|
9556
|
+
url: z.string().optional(),
|
|
9557
|
+
description: z.string().optional(),
|
|
9477
9558
|
});
|
|
9478
9559
|
|
|
9479
9560
|
/** @internal */
|
|
9480
|
-
export type
|
|
9481
|
-
|
|
9482
|
-
|
|
9483
|
-
|
|
9484
|
-
type: string;
|
|
9485
|
-
workspaceUuid: string;
|
|
9486
|
-
path: string;
|
|
9487
|
-
defaultBranch: string;
|
|
9488
|
-
name: string;
|
|
9489
|
-
private: boolean;
|
|
9490
|
-
ownerType: string;
|
|
9561
|
+
export type FlagsDefinitions$Outbound = {
|
|
9562
|
+
options?: Array<Options$Outbound> | undefined;
|
|
9563
|
+
url?: string | undefined;
|
|
9564
|
+
description?: string | undefined;
|
|
9491
9565
|
};
|
|
9492
9566
|
|
|
9493
9567
|
/** @internal */
|
|
9494
|
-
export const
|
|
9495
|
-
|
|
9568
|
+
export const FlagsDefinitions$outboundSchema: z.ZodType<
|
|
9569
|
+
FlagsDefinitions$Outbound,
|
|
9496
9570
|
z.ZodTypeDef,
|
|
9497
|
-
|
|
9571
|
+
FlagsDefinitions
|
|
9498
9572
|
> = z.object({
|
|
9499
|
-
|
|
9500
|
-
|
|
9501
|
-
|
|
9502
|
-
type: CreateDeploymentGitRepoDeploymentsType$outboundSchema,
|
|
9503
|
-
workspaceUuid: z.string(),
|
|
9504
|
-
path: z.string(),
|
|
9505
|
-
defaultBranch: z.string(),
|
|
9506
|
-
name: z.string(),
|
|
9507
|
-
private: z.boolean(),
|
|
9508
|
-
ownerType: CreateDeploymentGitRepoOwnerType$outboundSchema,
|
|
9573
|
+
options: z.array(z.lazy(() => Options$outboundSchema)).optional(),
|
|
9574
|
+
url: z.string().optional(),
|
|
9575
|
+
description: z.string().optional(),
|
|
9509
9576
|
});
|
|
9510
9577
|
|
|
9511
9578
|
/**
|
|
9512
9579
|
* @internal
|
|
9513
9580
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
9514
9581
|
*/
|
|
9515
|
-
export namespace
|
|
9516
|
-
/** @deprecated use `
|
|
9517
|
-
export const inboundSchema =
|
|
9518
|
-
/** @deprecated use `
|
|
9519
|
-
export const outboundSchema =
|
|
9520
|
-
/** @deprecated use `
|
|
9521
|
-
export type Outbound =
|
|
9582
|
+
export namespace FlagsDefinitions$ {
|
|
9583
|
+
/** @deprecated use `FlagsDefinitions$inboundSchema` instead. */
|
|
9584
|
+
export const inboundSchema = FlagsDefinitions$inboundSchema;
|
|
9585
|
+
/** @deprecated use `FlagsDefinitions$outboundSchema` instead. */
|
|
9586
|
+
export const outboundSchema = FlagsDefinitions$outboundSchema;
|
|
9587
|
+
/** @deprecated use `FlagsDefinitions$Outbound` instead. */
|
|
9588
|
+
export type Outbound = FlagsDefinitions$Outbound;
|
|
9522
9589
|
}
|
|
9523
9590
|
|
|
9524
|
-
export function
|
|
9525
|
-
|
|
9591
|
+
export function flagsDefinitionsToJSON(
|
|
9592
|
+
flagsDefinitions: FlagsDefinitions,
|
|
9593
|
+
): string {
|
|
9594
|
+
return JSON.stringify(
|
|
9595
|
+
FlagsDefinitions$outboundSchema.parse(flagsDefinitions),
|
|
9596
|
+
);
|
|
9526
9597
|
}
|
|
9527
9598
|
|
|
9528
|
-
export function
|
|
9599
|
+
export function flagsDefinitionsFromJSON(
|
|
9529
9600
|
jsonString: string,
|
|
9530
|
-
): SafeParseResult<
|
|
9601
|
+
): SafeParseResult<FlagsDefinitions, SDKValidationError> {
|
|
9531
9602
|
return safeParse(
|
|
9532
9603
|
jsonString,
|
|
9533
|
-
(x) =>
|
|
9534
|
-
`Failed to parse '
|
|
9604
|
+
(x) => FlagsDefinitions$inboundSchema.parse(JSON.parse(x)),
|
|
9605
|
+
`Failed to parse 'FlagsDefinitions' from JSON`,
|
|
9535
9606
|
);
|
|
9536
9607
|
}
|
|
9537
9608
|
|
|
9538
9609
|
/** @internal */
|
|
9539
|
-
export const
|
|
9540
|
-
|
|
9541
|
-
|
|
9610
|
+
export const Flags1$inboundSchema: z.ZodType<Flags1, z.ZodTypeDef, unknown> = z
|
|
9611
|
+
.object({
|
|
9612
|
+
definitions: z.record(z.lazy(() => FlagsDefinitions$inboundSchema)),
|
|
9613
|
+
});
|
|
9542
9614
|
|
|
9543
9615
|
/** @internal */
|
|
9544
|
-
export
|
|
9545
|
-
|
|
9546
|
-
|
|
9616
|
+
export type Flags1$Outbound = {
|
|
9617
|
+
definitions: { [k: string]: FlagsDefinitions$Outbound };
|
|
9618
|
+
};
|
|
9619
|
+
|
|
9620
|
+
/** @internal */
|
|
9621
|
+
export const Flags1$outboundSchema: z.ZodType<
|
|
9622
|
+
Flags1$Outbound,
|
|
9623
|
+
z.ZodTypeDef,
|
|
9624
|
+
Flags1
|
|
9625
|
+
> = z.object({
|
|
9626
|
+
definitions: z.record(z.lazy(() => FlagsDefinitions$outboundSchema)),
|
|
9627
|
+
});
|
|
9547
9628
|
|
|
9548
9629
|
/**
|
|
9549
9630
|
* @internal
|
|
9550
9631
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
9551
9632
|
*/
|
|
9552
|
-
export namespace
|
|
9553
|
-
/** @deprecated use `
|
|
9554
|
-
export const inboundSchema =
|
|
9555
|
-
/** @deprecated use `
|
|
9556
|
-
export const outboundSchema =
|
|
9633
|
+
export namespace Flags1$ {
|
|
9634
|
+
/** @deprecated use `Flags1$inboundSchema` instead. */
|
|
9635
|
+
export const inboundSchema = Flags1$inboundSchema;
|
|
9636
|
+
/** @deprecated use `Flags1$outboundSchema` instead. */
|
|
9637
|
+
export const outboundSchema = Flags1$outboundSchema;
|
|
9638
|
+
/** @deprecated use `Flags1$Outbound` instead. */
|
|
9639
|
+
export type Outbound = Flags1$Outbound;
|
|
9557
9640
|
}
|
|
9558
9641
|
|
|
9559
|
-
|
|
9560
|
-
|
|
9561
|
-
|
|
9562
|
-
> = z.nativeEnum(GitRepoOwnerType);
|
|
9642
|
+
export function flags1ToJSON(flags1: Flags1): string {
|
|
9643
|
+
return JSON.stringify(Flags1$outboundSchema.parse(flags1));
|
|
9644
|
+
}
|
|
9563
9645
|
|
|
9564
|
-
|
|
9646
|
+
export function flags1FromJSON(
|
|
9647
|
+
jsonString: string,
|
|
9648
|
+
): SafeParseResult<Flags1, SDKValidationError> {
|
|
9649
|
+
return safeParse(
|
|
9650
|
+
jsonString,
|
|
9651
|
+
(x) => Flags1$inboundSchema.parse(JSON.parse(x)),
|
|
9652
|
+
`Failed to parse 'Flags1' from JSON`,
|
|
9653
|
+
);
|
|
9654
|
+
}
|
|
9655
|
+
|
|
9656
|
+
/** @internal */
|
|
9657
|
+
export const Flags$inboundSchema: z.ZodType<Flags, z.ZodTypeDef, unknown> = z
|
|
9658
|
+
.union([
|
|
9659
|
+
z.lazy(() => Flags1$inboundSchema),
|
|
9660
|
+
z.array(z.lazy(() => Flags2$inboundSchema)),
|
|
9661
|
+
]);
|
|
9662
|
+
|
|
9663
|
+
/** @internal */
|
|
9664
|
+
export type Flags$Outbound = Flags1$Outbound | Array<Flags2$Outbound>;
|
|
9665
|
+
|
|
9666
|
+
/** @internal */
|
|
9667
|
+
export const Flags$outboundSchema: z.ZodType<
|
|
9668
|
+
Flags$Outbound,
|
|
9669
|
+
z.ZodTypeDef,
|
|
9670
|
+
Flags
|
|
9671
|
+
> = z.union([
|
|
9672
|
+
z.lazy(() => Flags1$outboundSchema),
|
|
9673
|
+
z.array(z.lazy(() => Flags2$outboundSchema)),
|
|
9674
|
+
]);
|
|
9675
|
+
|
|
9676
|
+
/**
|
|
9677
|
+
* @internal
|
|
9678
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
9679
|
+
*/
|
|
9680
|
+
export namespace Flags$ {
|
|
9681
|
+
/** @deprecated use `Flags$inboundSchema` instead. */
|
|
9682
|
+
export const inboundSchema = Flags$inboundSchema;
|
|
9683
|
+
/** @deprecated use `Flags$outboundSchema` instead. */
|
|
9684
|
+
export const outboundSchema = Flags$outboundSchema;
|
|
9685
|
+
/** @deprecated use `Flags$Outbound` instead. */
|
|
9686
|
+
export type Outbound = Flags$Outbound;
|
|
9687
|
+
}
|
|
9688
|
+
|
|
9689
|
+
export function flagsToJSON(flags: Flags): string {
|
|
9690
|
+
return JSON.stringify(Flags$outboundSchema.parse(flags));
|
|
9691
|
+
}
|
|
9692
|
+
|
|
9693
|
+
export function flagsFromJSON(
|
|
9694
|
+
jsonString: string,
|
|
9695
|
+
): SafeParseResult<Flags, SDKValidationError> {
|
|
9696
|
+
return safeParse(
|
|
9697
|
+
jsonString,
|
|
9698
|
+
(x) => Flags$inboundSchema.parse(JSON.parse(x)),
|
|
9699
|
+
`Failed to parse 'Flags' from JSON`,
|
|
9700
|
+
);
|
|
9701
|
+
}
|
|
9702
|
+
|
|
9703
|
+
/** @internal */
|
|
9704
|
+
export const CreateDeploymentGitRepoDeploymentsType$inboundSchema:
|
|
9705
|
+
z.ZodNativeEnum<typeof CreateDeploymentGitRepoDeploymentsType> = z.nativeEnum(
|
|
9706
|
+
CreateDeploymentGitRepoDeploymentsType,
|
|
9707
|
+
);
|
|
9708
|
+
|
|
9709
|
+
/** @internal */
|
|
9710
|
+
export const CreateDeploymentGitRepoDeploymentsType$outboundSchema:
|
|
9711
|
+
z.ZodNativeEnum<typeof CreateDeploymentGitRepoDeploymentsType> =
|
|
9712
|
+
CreateDeploymentGitRepoDeploymentsType$inboundSchema;
|
|
9713
|
+
|
|
9714
|
+
/**
|
|
9715
|
+
* @internal
|
|
9716
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
9717
|
+
*/
|
|
9718
|
+
export namespace CreateDeploymentGitRepoDeploymentsType$ {
|
|
9719
|
+
/** @deprecated use `CreateDeploymentGitRepoDeploymentsType$inboundSchema` instead. */
|
|
9720
|
+
export const inboundSchema =
|
|
9721
|
+
CreateDeploymentGitRepoDeploymentsType$inboundSchema;
|
|
9722
|
+
/** @deprecated use `CreateDeploymentGitRepoDeploymentsType$outboundSchema` instead. */
|
|
9723
|
+
export const outboundSchema =
|
|
9724
|
+
CreateDeploymentGitRepoDeploymentsType$outboundSchema;
|
|
9725
|
+
}
|
|
9726
|
+
|
|
9727
|
+
/** @internal */
|
|
9728
|
+
export const CreateDeploymentGitRepoOwnerType$inboundSchema: z.ZodNativeEnum<
|
|
9729
|
+
typeof CreateDeploymentGitRepoOwnerType
|
|
9730
|
+
> = z.nativeEnum(CreateDeploymentGitRepoOwnerType);
|
|
9731
|
+
|
|
9732
|
+
/** @internal */
|
|
9733
|
+
export const CreateDeploymentGitRepoOwnerType$outboundSchema: z.ZodNativeEnum<
|
|
9734
|
+
typeof CreateDeploymentGitRepoOwnerType
|
|
9735
|
+
> = CreateDeploymentGitRepoOwnerType$inboundSchema;
|
|
9736
|
+
|
|
9737
|
+
/**
|
|
9738
|
+
* @internal
|
|
9739
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
9740
|
+
*/
|
|
9741
|
+
export namespace CreateDeploymentGitRepoOwnerType$ {
|
|
9742
|
+
/** @deprecated use `CreateDeploymentGitRepoOwnerType$inboundSchema` instead. */
|
|
9743
|
+
export const inboundSchema = CreateDeploymentGitRepoOwnerType$inboundSchema;
|
|
9744
|
+
/** @deprecated use `CreateDeploymentGitRepoOwnerType$outboundSchema` instead. */
|
|
9745
|
+
export const outboundSchema = CreateDeploymentGitRepoOwnerType$outboundSchema;
|
|
9746
|
+
}
|
|
9747
|
+
|
|
9748
|
+
/** @internal */
|
|
9749
|
+
export const GitRepo3$inboundSchema: z.ZodType<
|
|
9750
|
+
GitRepo3,
|
|
9751
|
+
z.ZodTypeDef,
|
|
9752
|
+
unknown
|
|
9753
|
+
> = z.object({
|
|
9754
|
+
owner: z.string(),
|
|
9755
|
+
repoUuid: z.string(),
|
|
9756
|
+
slug: z.string(),
|
|
9757
|
+
type: CreateDeploymentGitRepoDeploymentsType$inboundSchema,
|
|
9758
|
+
workspaceUuid: z.string(),
|
|
9759
|
+
path: z.string(),
|
|
9760
|
+
defaultBranch: z.string(),
|
|
9761
|
+
name: z.string(),
|
|
9762
|
+
private: z.boolean(),
|
|
9763
|
+
ownerType: CreateDeploymentGitRepoOwnerType$inboundSchema,
|
|
9764
|
+
});
|
|
9765
|
+
|
|
9766
|
+
/** @internal */
|
|
9767
|
+
export type GitRepo3$Outbound = {
|
|
9768
|
+
owner: string;
|
|
9769
|
+
repoUuid: string;
|
|
9770
|
+
slug: string;
|
|
9771
|
+
type: string;
|
|
9772
|
+
workspaceUuid: string;
|
|
9773
|
+
path: string;
|
|
9774
|
+
defaultBranch: string;
|
|
9775
|
+
name: string;
|
|
9776
|
+
private: boolean;
|
|
9777
|
+
ownerType: string;
|
|
9778
|
+
};
|
|
9779
|
+
|
|
9780
|
+
/** @internal */
|
|
9781
|
+
export const GitRepo3$outboundSchema: z.ZodType<
|
|
9782
|
+
GitRepo3$Outbound,
|
|
9783
|
+
z.ZodTypeDef,
|
|
9784
|
+
GitRepo3
|
|
9785
|
+
> = z.object({
|
|
9786
|
+
owner: z.string(),
|
|
9787
|
+
repoUuid: z.string(),
|
|
9788
|
+
slug: z.string(),
|
|
9789
|
+
type: CreateDeploymentGitRepoDeploymentsType$outboundSchema,
|
|
9790
|
+
workspaceUuid: z.string(),
|
|
9791
|
+
path: z.string(),
|
|
9792
|
+
defaultBranch: z.string(),
|
|
9793
|
+
name: z.string(),
|
|
9794
|
+
private: z.boolean(),
|
|
9795
|
+
ownerType: CreateDeploymentGitRepoOwnerType$outboundSchema,
|
|
9796
|
+
});
|
|
9797
|
+
|
|
9798
|
+
/**
|
|
9799
|
+
* @internal
|
|
9800
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
9801
|
+
*/
|
|
9802
|
+
export namespace GitRepo3$ {
|
|
9803
|
+
/** @deprecated use `GitRepo3$inboundSchema` instead. */
|
|
9804
|
+
export const inboundSchema = GitRepo3$inboundSchema;
|
|
9805
|
+
/** @deprecated use `GitRepo3$outboundSchema` instead. */
|
|
9806
|
+
export const outboundSchema = GitRepo3$outboundSchema;
|
|
9807
|
+
/** @deprecated use `GitRepo3$Outbound` instead. */
|
|
9808
|
+
export type Outbound = GitRepo3$Outbound;
|
|
9809
|
+
}
|
|
9810
|
+
|
|
9811
|
+
export function gitRepo3ToJSON(gitRepo3: GitRepo3): string {
|
|
9812
|
+
return JSON.stringify(GitRepo3$outboundSchema.parse(gitRepo3));
|
|
9813
|
+
}
|
|
9814
|
+
|
|
9815
|
+
export function gitRepo3FromJSON(
|
|
9816
|
+
jsonString: string,
|
|
9817
|
+
): SafeParseResult<GitRepo3, SDKValidationError> {
|
|
9818
|
+
return safeParse(
|
|
9819
|
+
jsonString,
|
|
9820
|
+
(x) => GitRepo3$inboundSchema.parse(JSON.parse(x)),
|
|
9821
|
+
`Failed to parse 'GitRepo3' from JSON`,
|
|
9822
|
+
);
|
|
9823
|
+
}
|
|
9824
|
+
|
|
9825
|
+
/** @internal */
|
|
9826
|
+
export const CreateDeploymentGitRepoType$inboundSchema: z.ZodNativeEnum<
|
|
9827
|
+
typeof CreateDeploymentGitRepoType
|
|
9828
|
+
> = z.nativeEnum(CreateDeploymentGitRepoType);
|
|
9829
|
+
|
|
9830
|
+
/** @internal */
|
|
9831
|
+
export const CreateDeploymentGitRepoType$outboundSchema: z.ZodNativeEnum<
|
|
9832
|
+
typeof CreateDeploymentGitRepoType
|
|
9833
|
+
> = CreateDeploymentGitRepoType$inboundSchema;
|
|
9834
|
+
|
|
9835
|
+
/**
|
|
9836
|
+
* @internal
|
|
9837
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
9838
|
+
*/
|
|
9839
|
+
export namespace CreateDeploymentGitRepoType$ {
|
|
9840
|
+
/** @deprecated use `CreateDeploymentGitRepoType$inboundSchema` instead. */
|
|
9841
|
+
export const inboundSchema = CreateDeploymentGitRepoType$inboundSchema;
|
|
9842
|
+
/** @deprecated use `CreateDeploymentGitRepoType$outboundSchema` instead. */
|
|
9843
|
+
export const outboundSchema = CreateDeploymentGitRepoType$outboundSchema;
|
|
9844
|
+
}
|
|
9845
|
+
|
|
9846
|
+
/** @internal */
|
|
9847
|
+
export const GitRepoOwnerType$inboundSchema: z.ZodNativeEnum<
|
|
9848
|
+
typeof GitRepoOwnerType
|
|
9849
|
+
> = z.nativeEnum(GitRepoOwnerType);
|
|
9850
|
+
|
|
9851
|
+
/** @internal */
|
|
9565
9852
|
export const GitRepoOwnerType$outboundSchema: z.ZodNativeEnum<
|
|
9566
9853
|
typeof GitRepoOwnerType
|
|
9567
9854
|
> = GitRepoOwnerType$inboundSchema;
|
|
@@ -9818,251 +10105,6 @@ export function gitRepoFromJSON(
|
|
|
9818
10105
|
);
|
|
9819
10106
|
}
|
|
9820
10107
|
|
|
9821
|
-
/** @internal */
|
|
9822
|
-
export const Flags2$inboundSchema: z.ZodType<Flags2, z.ZodTypeDef, unknown> = z
|
|
9823
|
-
.object({});
|
|
9824
|
-
|
|
9825
|
-
/** @internal */
|
|
9826
|
-
export type Flags2$Outbound = {};
|
|
9827
|
-
|
|
9828
|
-
/** @internal */
|
|
9829
|
-
export const Flags2$outboundSchema: z.ZodType<
|
|
9830
|
-
Flags2$Outbound,
|
|
9831
|
-
z.ZodTypeDef,
|
|
9832
|
-
Flags2
|
|
9833
|
-
> = z.object({});
|
|
9834
|
-
|
|
9835
|
-
/**
|
|
9836
|
-
* @internal
|
|
9837
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
9838
|
-
*/
|
|
9839
|
-
export namespace Flags2$ {
|
|
9840
|
-
/** @deprecated use `Flags2$inboundSchema` instead. */
|
|
9841
|
-
export const inboundSchema = Flags2$inboundSchema;
|
|
9842
|
-
/** @deprecated use `Flags2$outboundSchema` instead. */
|
|
9843
|
-
export const outboundSchema = Flags2$outboundSchema;
|
|
9844
|
-
/** @deprecated use `Flags2$Outbound` instead. */
|
|
9845
|
-
export type Outbound = Flags2$Outbound;
|
|
9846
|
-
}
|
|
9847
|
-
|
|
9848
|
-
export function flags2ToJSON(flags2: Flags2): string {
|
|
9849
|
-
return JSON.stringify(Flags2$outboundSchema.parse(flags2));
|
|
9850
|
-
}
|
|
9851
|
-
|
|
9852
|
-
export function flags2FromJSON(
|
|
9853
|
-
jsonString: string,
|
|
9854
|
-
): SafeParseResult<Flags2, SDKValidationError> {
|
|
9855
|
-
return safeParse(
|
|
9856
|
-
jsonString,
|
|
9857
|
-
(x) => Flags2$inboundSchema.parse(JSON.parse(x)),
|
|
9858
|
-
`Failed to parse 'Flags2' from JSON`,
|
|
9859
|
-
);
|
|
9860
|
-
}
|
|
9861
|
-
|
|
9862
|
-
/** @internal */
|
|
9863
|
-
export const Options$inboundSchema: z.ZodType<Options, z.ZodTypeDef, unknown> =
|
|
9864
|
-
z.object({
|
|
9865
|
-
value: z.nullable(FlagJSONValue$inboundSchema),
|
|
9866
|
-
label: z.string().optional(),
|
|
9867
|
-
});
|
|
9868
|
-
|
|
9869
|
-
/** @internal */
|
|
9870
|
-
export type Options$Outbound = {
|
|
9871
|
-
value: FlagJSONValue$Outbound | null;
|
|
9872
|
-
label?: string | undefined;
|
|
9873
|
-
};
|
|
9874
|
-
|
|
9875
|
-
/** @internal */
|
|
9876
|
-
export const Options$outboundSchema: z.ZodType<
|
|
9877
|
-
Options$Outbound,
|
|
9878
|
-
z.ZodTypeDef,
|
|
9879
|
-
Options
|
|
9880
|
-
> = z.object({
|
|
9881
|
-
value: z.nullable(FlagJSONValue$outboundSchema),
|
|
9882
|
-
label: z.string().optional(),
|
|
9883
|
-
});
|
|
9884
|
-
|
|
9885
|
-
/**
|
|
9886
|
-
* @internal
|
|
9887
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
9888
|
-
*/
|
|
9889
|
-
export namespace Options$ {
|
|
9890
|
-
/** @deprecated use `Options$inboundSchema` instead. */
|
|
9891
|
-
export const inboundSchema = Options$inboundSchema;
|
|
9892
|
-
/** @deprecated use `Options$outboundSchema` instead. */
|
|
9893
|
-
export const outboundSchema = Options$outboundSchema;
|
|
9894
|
-
/** @deprecated use `Options$Outbound` instead. */
|
|
9895
|
-
export type Outbound = Options$Outbound;
|
|
9896
|
-
}
|
|
9897
|
-
|
|
9898
|
-
export function optionsToJSON(options: Options): string {
|
|
9899
|
-
return JSON.stringify(Options$outboundSchema.parse(options));
|
|
9900
|
-
}
|
|
9901
|
-
|
|
9902
|
-
export function optionsFromJSON(
|
|
9903
|
-
jsonString: string,
|
|
9904
|
-
): SafeParseResult<Options, SDKValidationError> {
|
|
9905
|
-
return safeParse(
|
|
9906
|
-
jsonString,
|
|
9907
|
-
(x) => Options$inboundSchema.parse(JSON.parse(x)),
|
|
9908
|
-
`Failed to parse 'Options' from JSON`,
|
|
9909
|
-
);
|
|
9910
|
-
}
|
|
9911
|
-
|
|
9912
|
-
/** @internal */
|
|
9913
|
-
export const FlagsDefinitions$inboundSchema: z.ZodType<
|
|
9914
|
-
FlagsDefinitions,
|
|
9915
|
-
z.ZodTypeDef,
|
|
9916
|
-
unknown
|
|
9917
|
-
> = z.object({
|
|
9918
|
-
options: z.array(z.lazy(() => Options$inboundSchema)).optional(),
|
|
9919
|
-
url: z.string().optional(),
|
|
9920
|
-
description: z.string().optional(),
|
|
9921
|
-
});
|
|
9922
|
-
|
|
9923
|
-
/** @internal */
|
|
9924
|
-
export type FlagsDefinitions$Outbound = {
|
|
9925
|
-
options?: Array<Options$Outbound> | undefined;
|
|
9926
|
-
url?: string | undefined;
|
|
9927
|
-
description?: string | undefined;
|
|
9928
|
-
};
|
|
9929
|
-
|
|
9930
|
-
/** @internal */
|
|
9931
|
-
export const FlagsDefinitions$outboundSchema: z.ZodType<
|
|
9932
|
-
FlagsDefinitions$Outbound,
|
|
9933
|
-
z.ZodTypeDef,
|
|
9934
|
-
FlagsDefinitions
|
|
9935
|
-
> = z.object({
|
|
9936
|
-
options: z.array(z.lazy(() => Options$outboundSchema)).optional(),
|
|
9937
|
-
url: z.string().optional(),
|
|
9938
|
-
description: z.string().optional(),
|
|
9939
|
-
});
|
|
9940
|
-
|
|
9941
|
-
/**
|
|
9942
|
-
* @internal
|
|
9943
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
9944
|
-
*/
|
|
9945
|
-
export namespace FlagsDefinitions$ {
|
|
9946
|
-
/** @deprecated use `FlagsDefinitions$inboundSchema` instead. */
|
|
9947
|
-
export const inboundSchema = FlagsDefinitions$inboundSchema;
|
|
9948
|
-
/** @deprecated use `FlagsDefinitions$outboundSchema` instead. */
|
|
9949
|
-
export const outboundSchema = FlagsDefinitions$outboundSchema;
|
|
9950
|
-
/** @deprecated use `FlagsDefinitions$Outbound` instead. */
|
|
9951
|
-
export type Outbound = FlagsDefinitions$Outbound;
|
|
9952
|
-
}
|
|
9953
|
-
|
|
9954
|
-
export function flagsDefinitionsToJSON(
|
|
9955
|
-
flagsDefinitions: FlagsDefinitions,
|
|
9956
|
-
): string {
|
|
9957
|
-
return JSON.stringify(
|
|
9958
|
-
FlagsDefinitions$outboundSchema.parse(flagsDefinitions),
|
|
9959
|
-
);
|
|
9960
|
-
}
|
|
9961
|
-
|
|
9962
|
-
export function flagsDefinitionsFromJSON(
|
|
9963
|
-
jsonString: string,
|
|
9964
|
-
): SafeParseResult<FlagsDefinitions, SDKValidationError> {
|
|
9965
|
-
return safeParse(
|
|
9966
|
-
jsonString,
|
|
9967
|
-
(x) => FlagsDefinitions$inboundSchema.parse(JSON.parse(x)),
|
|
9968
|
-
`Failed to parse 'FlagsDefinitions' from JSON`,
|
|
9969
|
-
);
|
|
9970
|
-
}
|
|
9971
|
-
|
|
9972
|
-
/** @internal */
|
|
9973
|
-
export const Flags1$inboundSchema: z.ZodType<Flags1, z.ZodTypeDef, unknown> = z
|
|
9974
|
-
.object({
|
|
9975
|
-
definitions: z.record(z.lazy(() => FlagsDefinitions$inboundSchema)),
|
|
9976
|
-
});
|
|
9977
|
-
|
|
9978
|
-
/** @internal */
|
|
9979
|
-
export type Flags1$Outbound = {
|
|
9980
|
-
definitions: { [k: string]: FlagsDefinitions$Outbound };
|
|
9981
|
-
};
|
|
9982
|
-
|
|
9983
|
-
/** @internal */
|
|
9984
|
-
export const Flags1$outboundSchema: z.ZodType<
|
|
9985
|
-
Flags1$Outbound,
|
|
9986
|
-
z.ZodTypeDef,
|
|
9987
|
-
Flags1
|
|
9988
|
-
> = z.object({
|
|
9989
|
-
definitions: z.record(z.lazy(() => FlagsDefinitions$outboundSchema)),
|
|
9990
|
-
});
|
|
9991
|
-
|
|
9992
|
-
/**
|
|
9993
|
-
* @internal
|
|
9994
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
9995
|
-
*/
|
|
9996
|
-
export namespace Flags1$ {
|
|
9997
|
-
/** @deprecated use `Flags1$inboundSchema` instead. */
|
|
9998
|
-
export const inboundSchema = Flags1$inboundSchema;
|
|
9999
|
-
/** @deprecated use `Flags1$outboundSchema` instead. */
|
|
10000
|
-
export const outboundSchema = Flags1$outboundSchema;
|
|
10001
|
-
/** @deprecated use `Flags1$Outbound` instead. */
|
|
10002
|
-
export type Outbound = Flags1$Outbound;
|
|
10003
|
-
}
|
|
10004
|
-
|
|
10005
|
-
export function flags1ToJSON(flags1: Flags1): string {
|
|
10006
|
-
return JSON.stringify(Flags1$outboundSchema.parse(flags1));
|
|
10007
|
-
}
|
|
10008
|
-
|
|
10009
|
-
export function flags1FromJSON(
|
|
10010
|
-
jsonString: string,
|
|
10011
|
-
): SafeParseResult<Flags1, SDKValidationError> {
|
|
10012
|
-
return safeParse(
|
|
10013
|
-
jsonString,
|
|
10014
|
-
(x) => Flags1$inboundSchema.parse(JSON.parse(x)),
|
|
10015
|
-
`Failed to parse 'Flags1' from JSON`,
|
|
10016
|
-
);
|
|
10017
|
-
}
|
|
10018
|
-
|
|
10019
|
-
/** @internal */
|
|
10020
|
-
export const Flags$inboundSchema: z.ZodType<Flags, z.ZodTypeDef, unknown> = z
|
|
10021
|
-
.union([
|
|
10022
|
-
z.lazy(() => Flags1$inboundSchema),
|
|
10023
|
-
z.array(z.lazy(() => Flags2$inboundSchema)),
|
|
10024
|
-
]);
|
|
10025
|
-
|
|
10026
|
-
/** @internal */
|
|
10027
|
-
export type Flags$Outbound = Flags1$Outbound | Array<Flags2$Outbound>;
|
|
10028
|
-
|
|
10029
|
-
/** @internal */
|
|
10030
|
-
export const Flags$outboundSchema: z.ZodType<
|
|
10031
|
-
Flags$Outbound,
|
|
10032
|
-
z.ZodTypeDef,
|
|
10033
|
-
Flags
|
|
10034
|
-
> = z.union([
|
|
10035
|
-
z.lazy(() => Flags1$outboundSchema),
|
|
10036
|
-
z.array(z.lazy(() => Flags2$outboundSchema)),
|
|
10037
|
-
]);
|
|
10038
|
-
|
|
10039
|
-
/**
|
|
10040
|
-
* @internal
|
|
10041
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10042
|
-
*/
|
|
10043
|
-
export namespace Flags$ {
|
|
10044
|
-
/** @deprecated use `Flags$inboundSchema` instead. */
|
|
10045
|
-
export const inboundSchema = Flags$inboundSchema;
|
|
10046
|
-
/** @deprecated use `Flags$outboundSchema` instead. */
|
|
10047
|
-
export const outboundSchema = Flags$outboundSchema;
|
|
10048
|
-
/** @deprecated use `Flags$Outbound` instead. */
|
|
10049
|
-
export type Outbound = Flags$Outbound;
|
|
10050
|
-
}
|
|
10051
|
-
|
|
10052
|
-
export function flagsToJSON(flags: Flags): string {
|
|
10053
|
-
return JSON.stringify(Flags$outboundSchema.parse(flags));
|
|
10054
|
-
}
|
|
10055
|
-
|
|
10056
|
-
export function flagsFromJSON(
|
|
10057
|
-
jsonString: string,
|
|
10058
|
-
): SafeParseResult<Flags, SDKValidationError> {
|
|
10059
|
-
return safeParse(
|
|
10060
|
-
jsonString,
|
|
10061
|
-
(x) => Flags$inboundSchema.parse(JSON.parse(x)),
|
|
10062
|
-
`Failed to parse 'Flags' from JSON`,
|
|
10063
|
-
);
|
|
10064
|
-
}
|
|
10065
|
-
|
|
10066
10108
|
/** @internal */
|
|
10067
10109
|
export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
|
|
10068
10110
|
CreateDeploymentResponseBody,
|
|
@@ -10137,24 +10179,24 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
|
|
|
10137
10179
|
errorMessage: z.nullable(z.string()).optional(),
|
|
10138
10180
|
passiveRegions: z.array(z.string()).optional(),
|
|
10139
10181
|
regions: z.array(z.string()),
|
|
10140
|
-
aliasWarning: z.nullable(z.lazy(() => AliasWarning$inboundSchema)).optional(),
|
|
10141
10182
|
aliasError: z.nullable(z.lazy(() => AliasError$inboundSchema)).optional(),
|
|
10142
10183
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
10184
|
+
aliasWarning: z.nullable(z.lazy(() => AliasWarning$inboundSchema)).optional(),
|
|
10143
10185
|
automaticAliases: z.array(z.string()).optional(),
|
|
10144
10186
|
buildErrorAt: z.number().optional(),
|
|
10145
|
-
|
|
10187
|
+
canceledAt: z.number().optional(),
|
|
10146
10188
|
checksConclusion: ChecksConclusion$inboundSchema.optional(),
|
|
10189
|
+
checksState: ChecksState$inboundSchema.optional(),
|
|
10147
10190
|
defaultRoute: z.string().optional(),
|
|
10148
|
-
canceledAt: z.number().optional(),
|
|
10149
10191
|
errorCode: z.string().optional(),
|
|
10150
10192
|
errorLink: z.string().optional(),
|
|
10151
10193
|
errorStep: z.string().optional(),
|
|
10152
10194
|
originCacheRegion: z.string().optional(),
|
|
10195
|
+
oidcTokenClaims: z.lazy(() => OidcTokenClaims$inboundSchema).optional(),
|
|
10153
10196
|
readySubstate: ReadySubstate$inboundSchema.optional(),
|
|
10154
10197
|
softDeletedByRetention: z.boolean().optional(),
|
|
10155
10198
|
undeletedAt: z.number().optional(),
|
|
10156
10199
|
url: z.string(),
|
|
10157
|
-
oidcTokenClaims: z.lazy(() => OidcTokenClaims$inboundSchema).optional(),
|
|
10158
10200
|
projectId: z.string(),
|
|
10159
10201
|
ownerId: z.string(),
|
|
10160
10202
|
monorepoManager: z.nullable(z.string()).optional(),
|
|
@@ -10181,6 +10223,10 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
|
|
|
10181
10223
|
connectConfigurationId: z.string().optional(),
|
|
10182
10224
|
createdIn: z.string(),
|
|
10183
10225
|
passiveConnectConfigurationId: z.string().optional(),
|
|
10226
|
+
flags: z.union([
|
|
10227
|
+
z.lazy(() => Flags1$inboundSchema),
|
|
10228
|
+
z.array(z.lazy(() => Flags2$inboundSchema)),
|
|
10229
|
+
]).optional(),
|
|
10184
10230
|
gitRepo: z.nullable(
|
|
10185
10231
|
z.union([
|
|
10186
10232
|
z.lazy(() => GitRepo2$inboundSchema),
|
|
@@ -10188,10 +10234,6 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
|
|
|
10188
10234
|
z.lazy(() => GitRepo1$inboundSchema),
|
|
10189
10235
|
]),
|
|
10190
10236
|
).optional(),
|
|
10191
|
-
flags: z.union([
|
|
10192
|
-
z.lazy(() => Flags1$inboundSchema),
|
|
10193
|
-
z.array(z.lazy(() => Flags2$inboundSchema)),
|
|
10194
|
-
]).optional(),
|
|
10195
10237
|
});
|
|
10196
10238
|
|
|
10197
10239
|
/** @internal */
|
|
@@ -10264,24 +10306,24 @@ export type CreateDeploymentResponseBody$Outbound = {
|
|
|
10264
10306
|
errorMessage?: string | null | undefined;
|
|
10265
10307
|
passiveRegions?: Array<string> | undefined;
|
|
10266
10308
|
regions: Array<string>;
|
|
10267
|
-
aliasWarning?: AliasWarning$Outbound | null | undefined;
|
|
10268
10309
|
aliasError?: AliasError$Outbound | null | undefined;
|
|
10269
10310
|
aliasFinal?: string | null | undefined;
|
|
10311
|
+
aliasWarning?: AliasWarning$Outbound | null | undefined;
|
|
10270
10312
|
automaticAliases?: Array<string> | undefined;
|
|
10271
10313
|
buildErrorAt?: number | undefined;
|
|
10272
|
-
|
|
10314
|
+
canceledAt?: number | undefined;
|
|
10273
10315
|
checksConclusion?: string | undefined;
|
|
10316
|
+
checksState?: string | undefined;
|
|
10274
10317
|
defaultRoute?: string | undefined;
|
|
10275
|
-
canceledAt?: number | undefined;
|
|
10276
10318
|
errorCode?: string | undefined;
|
|
10277
10319
|
errorLink?: string | undefined;
|
|
10278
10320
|
errorStep?: string | undefined;
|
|
10279
10321
|
originCacheRegion?: string | undefined;
|
|
10322
|
+
oidcTokenClaims?: OidcTokenClaims$Outbound | undefined;
|
|
10280
10323
|
readySubstate?: string | undefined;
|
|
10281
10324
|
softDeletedByRetention?: boolean | undefined;
|
|
10282
10325
|
undeletedAt?: number | undefined;
|
|
10283
10326
|
url: string;
|
|
10284
|
-
oidcTokenClaims?: OidcTokenClaims$Outbound | undefined;
|
|
10285
10327
|
projectId: string;
|
|
10286
10328
|
ownerId: string;
|
|
10287
10329
|
monorepoManager?: string | null | undefined;
|
|
@@ -10299,13 +10341,13 @@ export type CreateDeploymentResponseBody$Outbound = {
|
|
|
10299
10341
|
connectConfigurationId?: string | undefined;
|
|
10300
10342
|
createdIn: string;
|
|
10301
10343
|
passiveConnectConfigurationId?: string | undefined;
|
|
10344
|
+
flags?: Flags1$Outbound | Array<Flags2$Outbound> | undefined;
|
|
10302
10345
|
gitRepo?:
|
|
10303
10346
|
| GitRepo2$Outbound
|
|
10304
10347
|
| GitRepo3$Outbound
|
|
10305
10348
|
| GitRepo1$Outbound
|
|
10306
10349
|
| null
|
|
10307
10350
|
| undefined;
|
|
10308
|
-
flags?: Flags1$Outbound | Array<Flags2$Outbound> | undefined;
|
|
10309
10351
|
};
|
|
10310
10352
|
|
|
10311
10353
|
/** @internal */
|
|
@@ -10382,25 +10424,25 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType<
|
|
|
10382
10424
|
errorMessage: z.nullable(z.string()).optional(),
|
|
10383
10425
|
passiveRegions: z.array(z.string()).optional(),
|
|
10384
10426
|
regions: z.array(z.string()),
|
|
10385
|
-
aliasWarning: z.nullable(z.lazy(() => AliasWarning$outboundSchema))
|
|
10386
|
-
.optional(),
|
|
10387
10427
|
aliasError: z.nullable(z.lazy(() => AliasError$outboundSchema)).optional(),
|
|
10388
10428
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
10429
|
+
aliasWarning: z.nullable(z.lazy(() => AliasWarning$outboundSchema))
|
|
10430
|
+
.optional(),
|
|
10389
10431
|
automaticAliases: z.array(z.string()).optional(),
|
|
10390
10432
|
buildErrorAt: z.number().optional(),
|
|
10391
|
-
|
|
10433
|
+
canceledAt: z.number().optional(),
|
|
10392
10434
|
checksConclusion: ChecksConclusion$outboundSchema.optional(),
|
|
10435
|
+
checksState: ChecksState$outboundSchema.optional(),
|
|
10393
10436
|
defaultRoute: z.string().optional(),
|
|
10394
|
-
canceledAt: z.number().optional(),
|
|
10395
10437
|
errorCode: z.string().optional(),
|
|
10396
10438
|
errorLink: z.string().optional(),
|
|
10397
10439
|
errorStep: z.string().optional(),
|
|
10398
10440
|
originCacheRegion: z.string().optional(),
|
|
10441
|
+
oidcTokenClaims: z.lazy(() => OidcTokenClaims$outboundSchema).optional(),
|
|
10399
10442
|
readySubstate: ReadySubstate$outboundSchema.optional(),
|
|
10400
10443
|
softDeletedByRetention: z.boolean().optional(),
|
|
10401
10444
|
undeletedAt: z.number().optional(),
|
|
10402
10445
|
url: z.string(),
|
|
10403
|
-
oidcTokenClaims: z.lazy(() => OidcTokenClaims$outboundSchema).optional(),
|
|
10404
10446
|
projectId: z.string(),
|
|
10405
10447
|
ownerId: z.string(),
|
|
10406
10448
|
monorepoManager: z.nullable(z.string()).optional(),
|
|
@@ -10427,6 +10469,10 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType<
|
|
|
10427
10469
|
connectConfigurationId: z.string().optional(),
|
|
10428
10470
|
createdIn: z.string(),
|
|
10429
10471
|
passiveConnectConfigurationId: z.string().optional(),
|
|
10472
|
+
flags: z.union([
|
|
10473
|
+
z.lazy(() => Flags1$outboundSchema),
|
|
10474
|
+
z.array(z.lazy(() => Flags2$outboundSchema)),
|
|
10475
|
+
]).optional(),
|
|
10430
10476
|
gitRepo: z.nullable(
|
|
10431
10477
|
z.union([
|
|
10432
10478
|
z.lazy(() => GitRepo2$outboundSchema),
|
|
@@ -10434,10 +10480,6 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType<
|
|
|
10434
10480
|
z.lazy(() => GitRepo1$outboundSchema),
|
|
10435
10481
|
]),
|
|
10436
10482
|
).optional(),
|
|
10437
|
-
flags: z.union([
|
|
10438
|
-
z.lazy(() => Flags1$outboundSchema),
|
|
10439
|
-
z.array(z.lazy(() => Flags2$outboundSchema)),
|
|
10440
|
-
]).optional(),
|
|
10441
10483
|
});
|
|
10442
10484
|
|
|
10443
10485
|
/**
|