@vercel/sdk 1.9.0 → 1.10.0
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 +11 -7
- package/bin/mcp-server.js +3307 -2453
- package/bin/mcp-server.js.map +46 -41
- package/docs/sdks/deployments/README.md +2 -0
- package/docs/sdks/logdrains/README.md +0 -80
- package/docs/sdks/marketplace/README.md +310 -78
- package/esm/__tests__/deployments.test.js.map +1 -1
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/logdrains.test.js +3 -13
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/marketplace.test.js +41 -0
- package/esm/__tests__/marketplace.test.js.map +1 -1
- package/esm/__tests__/projects.test.js +13 -15
- package/esm/__tests__/projects.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +5 -2
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/funcs/deploymentsCreateDeployment.js +2 -2
- package/esm/funcs/deploymentsCreateDeployment.js.map +1 -1
- package/esm/funcs/{logDrainsDeleteConfigurableLogDrain.d.ts → marketplaceDeleteIntegrationResource.d.ts} +5 -5
- package/esm/funcs/marketplaceDeleteIntegrationResource.d.ts.map +1 -0
- package/esm/funcs/{logDrainsDeleteConfigurableLogDrain.js → marketplaceDeleteIntegrationResource.js} +11 -15
- package/esm/funcs/marketplaceDeleteIntegrationResource.js.map +1 -0
- package/esm/funcs/marketplaceGetIntegrationResource.d.ts +20 -0
- package/esm/funcs/marketplaceGetIntegrationResource.d.ts.map +1 -0
- package/esm/funcs/marketplaceGetIntegrationResource.js +90 -0
- package/esm/funcs/marketplaceGetIntegrationResource.js.map +1 -0
- package/esm/funcs/marketplaceGetIntegrationResources.d.ts +20 -0
- package/esm/funcs/marketplaceGetIntegrationResources.d.ts.map +1 -0
- package/esm/funcs/marketplaceGetIntegrationResources.js +86 -0
- package/esm/funcs/marketplaceGetIntegrationResources.js.map +1 -0
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/config.js.map +1 -1
- package/esm/mcp-server/cli/start/command.d.ts.map +1 -1
- package/esm/mcp-server/cli/start/command.js +0 -12
- package/esm/mcp-server/cli/start/command.js.map +1 -1
- package/esm/mcp-server/cli/start/impl.d.ts +0 -2
- package/esm/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/esm/mcp-server/cli/start/impl.js +0 -2
- package/esm/mcp-server/cli/start/impl.js.map +1 -1
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/mcp-server.js.map +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +11 -7
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/marketplaceDeleteIntegrationResource.d.ts +7 -0
- package/esm/mcp-server/tools/marketplaceDeleteIntegrationResource.d.ts.map +1 -0
- package/esm/mcp-server/tools/marketplaceDeleteIntegrationResource.js +27 -0
- package/esm/mcp-server/tools/marketplaceDeleteIntegrationResource.js.map +1 -0
- package/esm/mcp-server/tools/marketplaceGetIntegrationResource.d.ts +7 -0
- package/esm/mcp-server/tools/marketplaceGetIntegrationResource.d.ts.map +1 -0
- package/esm/mcp-server/tools/marketplaceGetIntegrationResource.js +28 -0
- package/esm/mcp-server/tools/marketplaceGetIntegrationResource.js.map +1 -0
- package/esm/mcp-server/tools/marketplaceGetIntegrationResources.d.ts +7 -0
- package/esm/mcp-server/tools/marketplaceGetIntegrationResources.d.ts.map +1 -0
- package/esm/mcp-server/tools/marketplaceGetIntegrationResources.js +28 -0
- package/esm/mcp-server/tools/marketplaceGetIntegrationResources.js.map +1 -0
- package/esm/models/authuser.d.ts +5 -27
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +2 -9
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +335 -6
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +274 -2
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +434 -97
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +362 -83
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +102 -25
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +80 -29
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/createwebhookop.d.ts +6 -0
- package/esm/models/createwebhookop.d.ts.map +1 -1
- package/esm/models/createwebhookop.js +2 -0
- package/esm/models/createwebhookop.js.map +1 -1
- package/esm/models/deleteintegrationresourceop.d.ts +31 -0
- package/esm/models/deleteintegrationresourceop.d.ts.map +1 -0
- package/esm/models/deleteintegrationresourceop.js +33 -0
- package/esm/models/deleteintegrationresourceop.js.map +1 -0
- package/esm/models/getconfigurationop.d.ts +3 -3
- package/esm/models/getconfigurationop.js +1 -1
- package/esm/models/getconfigurationop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +338 -9
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +276 -3
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getdeploymentsop.d.ts +8 -2
- package/esm/models/getdeploymentsop.d.ts.map +1 -1
- package/esm/models/getdeploymentsop.js +3 -2
- package/esm/models/getdeploymentsop.js.map +1 -1
- package/esm/models/getedgeconfigbackupop.d.ts +15 -15
- package/esm/models/getedgeconfigbackupop.d.ts.map +1 -1
- package/esm/models/getedgeconfigbackupop.js +15 -15
- package/esm/models/getedgeconfigbackupop.js.map +1 -1
- package/esm/models/getintegrationresourceop.d.ts +293 -0
- package/esm/models/getintegrationresourceop.d.ts.map +1 -0
- package/esm/models/getintegrationresourceop.js +252 -0
- package/esm/models/getintegrationresourceop.js.map +1 -0
- package/esm/models/getintegrationresourcesop.d.ts +310 -0
- package/esm/models/getintegrationresourcesop.d.ts.map +1 -0
- package/esm/models/getintegrationresourcesop.js +275 -0
- package/esm/models/getintegrationresourcesop.js.map +1 -0
- package/esm/models/getprojectsop.d.ts +12 -2
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +4 -2
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getrollingreleasebillingstatusop.d.ts +21 -13
- package/esm/models/getrollingreleasebillingstatusop.d.ts.map +1 -1
- package/esm/models/getrollingreleasebillingstatusop.js +17 -9
- package/esm/models/getrollingreleasebillingstatusop.js.map +1 -1
- package/esm/models/getteamaccessrequestop.d.ts +3 -3
- package/esm/models/getteamaccessrequestop.js +1 -1
- package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +3 -3
- package/esm/models/getv9projectsidornamecustomenvironmentsop.js +1 -1
- package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
- package/esm/models/getwebhookop.d.ts +3 -0
- package/esm/models/getwebhookop.d.ts.map +1 -1
- package/esm/models/getwebhookop.js +1 -0
- package/esm/models/getwebhookop.js.map +1 -1
- package/esm/models/getwebhooksop.d.ts +9 -0
- package/esm/models/getwebhooksop.d.ts.map +1 -1
- package/esm/models/getwebhooksop.js +3 -0
- package/esm/models/getwebhooksop.js.map +1 -1
- package/esm/models/importresourceop.d.ts +15 -15
- package/esm/models/importresourceop.d.ts.map +1 -1
- package/esm/models/importresourceop.js +17 -15
- package/esm/models/importresourceop.js.map +1 -1
- package/esm/models/requestaccesstoteamop.d.ts +3 -3
- package/esm/models/requestaccesstoteamop.js +1 -1
- package/esm/models/sdkerror.d.ts.map +1 -1
- package/esm/models/sdkerror.js +8 -2
- package/esm/models/sdkerror.js.map +1 -1
- package/esm/models/team.d.ts +8 -3
- package/esm/models/team.d.ts.map +1 -1
- package/esm/models/team.js +3 -1
- package/esm/models/team.js.map +1 -1
- package/esm/models/teamlimited.d.ts +3 -3
- package/esm/models/teamlimited.js +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +12 -2
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +4 -2
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +24 -2
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +8 -2
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updateresourcesecretsop.d.ts +15 -15
- package/esm/models/updateresourcesecretsop.d.ts.map +1 -1
- package/esm/models/updateresourcesecretsop.js +15 -17
- package/esm/models/updateresourcesecretsop.js.map +1 -1
- package/esm/models/userevent.d.ts +1622 -1824
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +2049 -2225
- package/esm/models/userevent.js.map +1 -1
- package/esm/models/vercelbadrequesterror.d.ts.map +1 -1
- package/esm/models/vercelbadrequesterror.js +2 -3
- package/esm/models/vercelbadrequesterror.js.map +1 -1
- package/esm/models/vercelforbiddenerror.d.ts.map +1 -1
- package/esm/models/vercelforbiddenerror.js +2 -3
- package/esm/models/vercelforbiddenerror.js.map +1 -1
- package/esm/models/vercelnotfounderror.d.ts.map +1 -1
- package/esm/models/vercelnotfounderror.js +2 -3
- package/esm/models/vercelnotfounderror.js.map +1 -1
- package/esm/models/vercelratelimiterror.d.ts.map +1 -1
- package/esm/models/vercelratelimiterror.js +2 -3
- package/esm/models/vercelratelimiterror.js.map +1 -1
- package/esm/sdk/logdrains.d.ts +0 -8
- package/esm/sdk/logdrains.d.ts.map +1 -1
- package/esm/sdk/logdrains.js +0 -10
- package/esm/sdk/logdrains.js.map +1 -1
- package/esm/sdk/marketplace.d.ts +31 -7
- package/esm/sdk/marketplace.d.ts.map +1 -1
- package/esm/sdk/marketplace.js +39 -9
- package/esm/sdk/marketplace.js.map +1 -1
- package/esm/sdk/sdk.d.ts +2 -2
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +3 -3
- package/esm/sdk/sdk.js.map +1 -1
- package/examples/README.md +26 -0
- package/examples/package-lock.json +628 -0
- package/examples/package.json +18 -0
- package/examples/projectsUpdateProject.example.ts +31 -0
- package/jsr.json +1 -1
- package/package.json +4 -4
- package/src/__tests__/deployments.test.ts +2 -1
- package/src/__tests__/domains.test.ts +2 -1
- package/src/__tests__/logdrains.test.ts +5 -15
- package/src/__tests__/marketplace.test.ts +47 -0
- package/src/__tests__/projects.test.ts +13 -15
- package/src/__tests__/rollingrelease.test.ts +5 -2
- package/src/funcs/deploymentsCreateDeployment.ts +2 -2
- package/src/funcs/{logDrainsDeleteConfigurableLogDrain.ts → marketplaceDeleteIntegrationResource.ts} +20 -19
- package/src/funcs/marketplaceGetIntegrationResource.ts +206 -0
- package/src/funcs/marketplaceGetIntegrationResources.ts +202 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/cli/start/command.ts +0 -13
- package/src/mcp-server/cli/start/impl.ts +0 -4
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +11 -7
- package/src/mcp-server/tools/marketplaceDeleteIntegrationResource.ts +37 -0
- package/src/mcp-server/tools/marketplaceGetIntegrationResource.ts +39 -0
- package/src/mcp-server/tools/marketplaceGetIntegrationResources.ts +39 -0
- package/src/models/authuser.ts +7 -10
- package/src/models/canceldeploymentop.ts +607 -2
- package/src/models/createdeploymentop.ts +855 -289
- package/src/models/createprojectop.ts +159 -46
- package/src/models/createwebhookop.ts +2 -0
- package/src/models/deleteintegrationresourceop.ts +72 -0
- package/src/models/getconfigurationop.ts +1 -1
- package/src/models/getdeploymentop.ts +620 -3
- package/src/models/getdeploymentsop.ts +8 -4
- package/src/models/getedgeconfigbackupop.ts +41 -24
- package/src/models/getintegrationresourceop.ts +561 -0
- package/src/models/getintegrationresourcesop.ts +642 -0
- package/src/models/getprojectsop.ts +4 -4
- package/src/models/getrollingreleasebillingstatusop.ts +31 -15
- package/src/models/getteamaccessrequestop.ts +1 -1
- package/src/models/getv9projectsidornamecustomenvironmentsop.ts +1 -1
- package/src/models/getwebhookop.ts +1 -0
- package/src/models/getwebhooksop.ts +3 -0
- package/src/models/importresourceop.ts +27 -35
- package/src/models/requestaccesstoteamop.ts +1 -1
- package/src/models/sdkerror.ts +8 -2
- package/src/models/team.ts +8 -1
- package/src/models/teamlimited.ts +1 -1
- package/src/models/updateprojectdatacacheop.ts +4 -4
- package/src/models/updateprojectop.ts +8 -4
- package/src/models/updateresourcesecretsop.ts +49 -33
- package/src/models/userevent.ts +4781 -5205
- package/src/models/vercelbadrequesterror.ts +2 -3
- package/src/models/vercelforbiddenerror.ts +2 -3
- package/src/models/vercelnotfounderror.ts +2 -3
- package/src/models/vercelratelimiterror.ts +2 -3
- package/src/sdk/logdrains.ts +0 -19
- package/src/sdk/marketplace.ts +80 -17
- package/src/sdk/sdk.ts +5 -5
- package/vercel-spec.json +1641 -828
- package/esm/funcs/logDrainsDeleteConfigurableLogDrain.d.ts.map +0 -1
- package/esm/funcs/logDrainsDeleteConfigurableLogDrain.js.map +0 -1
- package/esm/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.d.ts +0 -7
- package/esm/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.d.ts.map +0 -1
- package/esm/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.js +0 -27
- package/esm/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.js.map +0 -1
- package/esm/models/deleteconfigurablelogdrainop.d.ts +0 -39
- package/esm/models/deleteconfigurablelogdrainop.d.ts.map +0 -1
- package/esm/models/deleteconfigurablelogdrainop.js +0 -35
- package/esm/models/deleteconfigurablelogdrainop.js.map +0 -1
- package/src/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.ts +0 -37
- package/src/models/deleteconfigurablelogdrainop.ts +0 -83
|
@@ -109,9 +109,9 @@ export type GetDeploymentCustomEnvironmentType = ClosedEnum<
|
|
|
109
109
|
* The type of matching to perform
|
|
110
110
|
*/
|
|
111
111
|
export const GetDeploymentCustomEnvironmentDeploymentsResponseType = {
|
|
112
|
+
EndsWith: "endsWith",
|
|
112
113
|
StartsWith: "startsWith",
|
|
113
114
|
Equals: "equals",
|
|
114
|
-
EndsWith: "endsWith",
|
|
115
115
|
} as const;
|
|
116
116
|
/**
|
|
117
117
|
* The type of matching to perform
|
|
@@ -720,6 +720,7 @@ export const ResponseBodyFramework = {
|
|
|
720
720
|
SanityV3: "sanity-v3",
|
|
721
721
|
Sanity: "sanity",
|
|
722
722
|
Storybook: "storybook",
|
|
723
|
+
Nitro: "nitro",
|
|
723
724
|
} as const;
|
|
724
725
|
export type ResponseBodyFramework = ClosedEnum<typeof ResponseBodyFramework>;
|
|
725
726
|
|
|
@@ -752,10 +753,10 @@ export type ResponseBodyProjectSettings = {
|
|
|
752
753
|
};
|
|
753
754
|
|
|
754
755
|
export const GetDeploymentResponseBodyDeploymentsStatus = {
|
|
755
|
-
Error: "error",
|
|
756
756
|
Skipped: "skipped",
|
|
757
757
|
Pending: "pending",
|
|
758
758
|
Ready: "ready",
|
|
759
|
+
Error: "error",
|
|
759
760
|
Timeout: "timeout",
|
|
760
761
|
} as const;
|
|
761
762
|
export type GetDeploymentResponseBodyDeploymentsStatus = ClosedEnum<
|
|
@@ -918,9 +919,9 @@ export type GetDeploymentCustomEnvironmentDeploymentsType = ClosedEnum<
|
|
|
918
919
|
* The type of matching to perform
|
|
919
920
|
*/
|
|
920
921
|
export const GetDeploymentCustomEnvironmentDeploymentsResponse200Type = {
|
|
922
|
+
EndsWith: "endsWith",
|
|
921
923
|
StartsWith: "startsWith",
|
|
922
924
|
Equals: "equals",
|
|
923
|
-
EndsWith: "endsWith",
|
|
924
925
|
} as const;
|
|
925
926
|
/**
|
|
926
927
|
* The type of matching to perform
|
|
@@ -1387,6 +1388,49 @@ export type ResponseBodyArchitecture = ClosedEnum<
|
|
|
1387
1388
|
typeof ResponseBodyArchitecture
|
|
1388
1389
|
>;
|
|
1389
1390
|
|
|
1391
|
+
/**
|
|
1392
|
+
* Event type - must be "queue/v1beta" (REQUIRED)
|
|
1393
|
+
*/
|
|
1394
|
+
export const GetDeploymentResponseBodyDeploymentsResponseType = {
|
|
1395
|
+
QueueV1beta: "queue/v1beta",
|
|
1396
|
+
} as const;
|
|
1397
|
+
/**
|
|
1398
|
+
* Event type - must be "queue/v1beta" (REQUIRED)
|
|
1399
|
+
*/
|
|
1400
|
+
export type GetDeploymentResponseBodyDeploymentsResponseType = ClosedEnum<
|
|
1401
|
+
typeof GetDeploymentResponseBodyDeploymentsResponseType
|
|
1402
|
+
>;
|
|
1403
|
+
|
|
1404
|
+
/**
|
|
1405
|
+
* Queue trigger event for Vercel's queue system. Handles "queue/v1beta" events with queue-specific configuration.
|
|
1406
|
+
*/
|
|
1407
|
+
export type ResponseBodyExperimentalTriggers = {
|
|
1408
|
+
/**
|
|
1409
|
+
* Event type - must be "queue/v1beta" (REQUIRED)
|
|
1410
|
+
*/
|
|
1411
|
+
type: GetDeploymentResponseBodyDeploymentsResponseType;
|
|
1412
|
+
/**
|
|
1413
|
+
* Name of the queue topic to consume from (REQUIRED)
|
|
1414
|
+
*/
|
|
1415
|
+
topic: string;
|
|
1416
|
+
/**
|
|
1417
|
+
* Name of the consumer group for this trigger (REQUIRED)
|
|
1418
|
+
*/
|
|
1419
|
+
consumer: string;
|
|
1420
|
+
/**
|
|
1421
|
+
* Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration.
|
|
1422
|
+
*/
|
|
1423
|
+
maxDeliveries?: number | undefined;
|
|
1424
|
+
/**
|
|
1425
|
+
* Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration.
|
|
1426
|
+
*/
|
|
1427
|
+
retryAfterSeconds?: number | undefined;
|
|
1428
|
+
/**
|
|
1429
|
+
* Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration.
|
|
1430
|
+
*/
|
|
1431
|
+
initialDelaySeconds?: number | undefined;
|
|
1432
|
+
};
|
|
1433
|
+
|
|
1390
1434
|
export type ResponseBodyFunctions = {
|
|
1391
1435
|
architecture?: ResponseBodyArchitecture | undefined;
|
|
1392
1436
|
memory?: number | undefined;
|
|
@@ -1394,6 +1438,7 @@ export type ResponseBodyFunctions = {
|
|
|
1394
1438
|
runtime?: string | undefined;
|
|
1395
1439
|
includeFiles?: string | undefined;
|
|
1396
1440
|
excludeFiles?: string | undefined;
|
|
1441
|
+
experimentalTriggers?: Array<ResponseBodyExperimentalTriggers> | undefined;
|
|
1397
1442
|
};
|
|
1398
1443
|
|
|
1399
1444
|
export type GetDeploymentRoutes3 = {
|
|
@@ -1567,6 +1612,52 @@ export type GetDeploymentRoutesMitigate = {
|
|
|
1567
1612
|
action: GetDeploymentRoutesAction;
|
|
1568
1613
|
};
|
|
1569
1614
|
|
|
1615
|
+
export const GetDeploymentRoutesType = {
|
|
1616
|
+
RequestHeaders: "request.headers",
|
|
1617
|
+
RequestQuery: "request.query",
|
|
1618
|
+
ResponseHeaders: "response.headers",
|
|
1619
|
+
} as const;
|
|
1620
|
+
export type GetDeploymentRoutesType = ClosedEnum<
|
|
1621
|
+
typeof GetDeploymentRoutesType
|
|
1622
|
+
>;
|
|
1623
|
+
|
|
1624
|
+
export const GetDeploymentRoutesOp = {
|
|
1625
|
+
Append: "append",
|
|
1626
|
+
Set: "set",
|
|
1627
|
+
Delete: "delete",
|
|
1628
|
+
} as const;
|
|
1629
|
+
export type GetDeploymentRoutesOp = ClosedEnum<typeof GetDeploymentRoutesOp>;
|
|
1630
|
+
|
|
1631
|
+
export type GetDeploymentKeyEq = string | number;
|
|
1632
|
+
|
|
1633
|
+
export type GetDeploymentKey2 = {
|
|
1634
|
+
eq?: string | number | undefined;
|
|
1635
|
+
neq?: string | undefined;
|
|
1636
|
+
inc?: Array<string> | undefined;
|
|
1637
|
+
ninc?: Array<string> | undefined;
|
|
1638
|
+
pre?: string | undefined;
|
|
1639
|
+
suf?: string | undefined;
|
|
1640
|
+
gt?: number | undefined;
|
|
1641
|
+
gte?: number | undefined;
|
|
1642
|
+
lt?: number | undefined;
|
|
1643
|
+
lte?: number | undefined;
|
|
1644
|
+
};
|
|
1645
|
+
|
|
1646
|
+
export type GetDeploymentRoutesKey = GetDeploymentKey2 | string;
|
|
1647
|
+
|
|
1648
|
+
export type GetDeploymentRoutesTarget = {
|
|
1649
|
+
key: GetDeploymentKey2 | string;
|
|
1650
|
+
};
|
|
1651
|
+
|
|
1652
|
+
export type GetDeploymentRoutesArgs = string | Array<string>;
|
|
1653
|
+
|
|
1654
|
+
export type GetDeploymentRoutesTransforms = {
|
|
1655
|
+
type: GetDeploymentRoutesType;
|
|
1656
|
+
op: GetDeploymentRoutesOp;
|
|
1657
|
+
target: GetDeploymentRoutesTarget;
|
|
1658
|
+
args?: string | Array<string> | undefined;
|
|
1659
|
+
};
|
|
1660
|
+
|
|
1570
1661
|
export type GetDeploymentRoutesLocale = {
|
|
1571
1662
|
redirect?: { [k: string]: string } | undefined;
|
|
1572
1663
|
cookie?: string | undefined;
|
|
@@ -1586,6 +1677,7 @@ export type GetDeploymentRoutes1 = {
|
|
|
1586
1677
|
has?: Array<GetDeploymentHas1 | GetDeploymentHas2> | undefined;
|
|
1587
1678
|
missing?: Array<GetDeploymentMissing1 | GetDeploymentMissing2> | undefined;
|
|
1588
1679
|
mitigate?: GetDeploymentRoutesMitigate | undefined;
|
|
1680
|
+
transforms?: Array<GetDeploymentRoutesTransforms> | undefined;
|
|
1589
1681
|
locale?: GetDeploymentRoutesLocale | undefined;
|
|
1590
1682
|
/**
|
|
1591
1683
|
* A middleware key within the `output` key under the build result. Overrides a `middleware` definition.
|
|
@@ -1757,6 +1849,14 @@ export type GetDeploymentMicrofrontends2 = {
|
|
|
1757
1849
|
* The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
|
|
1758
1850
|
*/
|
|
1759
1851
|
groupIds: Array<string>;
|
|
1852
|
+
/**
|
|
1853
|
+
* Whether the MicrofrontendsAlias team flag should be considered enabled for this deployment or not. This is used to ensure that we don't accidentally switch an existing branch alias to a microfrontends branch alias.
|
|
1854
|
+
*/
|
|
1855
|
+
microfrontendsAliasEnabled?: boolean | undefined;
|
|
1856
|
+
/**
|
|
1857
|
+
* Whether this deployment, if a preview deployment on the production branch, should get the -env-preview alias instead of a normal branch alias. This is used to always generate a microfrontends fallback on the preview branch.
|
|
1858
|
+
*/
|
|
1859
|
+
previewEnvAliasEnabled?: boolean | undefined;
|
|
1760
1860
|
};
|
|
1761
1861
|
|
|
1762
1862
|
export type GetDeploymentMicrofrontends1 = {
|
|
@@ -1776,6 +1876,14 @@ export type GetDeploymentMicrofrontends1 = {
|
|
|
1776
1876
|
* The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
|
|
1777
1877
|
*/
|
|
1778
1878
|
groupIds: Array<string>;
|
|
1879
|
+
/**
|
|
1880
|
+
* Whether the MicrofrontendsAlias team flag should be considered enabled for this deployment or not. This is used to ensure that we don't accidentally switch an existing branch alias to a microfrontends branch alias.
|
|
1881
|
+
*/
|
|
1882
|
+
microfrontendsAliasEnabled?: boolean | undefined;
|
|
1883
|
+
/**
|
|
1884
|
+
* Whether this deployment, if a preview deployment on the production branch, should get the -env-preview alias instead of a normal branch alias. This is used to always generate a microfrontends fallback on the preview branch.
|
|
1885
|
+
*/
|
|
1886
|
+
previewEnvAliasEnabled?: boolean | undefined;
|
|
1779
1887
|
};
|
|
1780
1888
|
|
|
1781
1889
|
export type ResponseBodyMicrofrontends =
|
|
@@ -8627,6 +8735,100 @@ export namespace ResponseBodyArchitecture$ {
|
|
|
8627
8735
|
export const outboundSchema = ResponseBodyArchitecture$outboundSchema;
|
|
8628
8736
|
}
|
|
8629
8737
|
|
|
8738
|
+
/** @internal */
|
|
8739
|
+
export const GetDeploymentResponseBodyDeploymentsResponseType$inboundSchema:
|
|
8740
|
+
z.ZodNativeEnum<typeof GetDeploymentResponseBodyDeploymentsResponseType> = z
|
|
8741
|
+
.nativeEnum(GetDeploymentResponseBodyDeploymentsResponseType);
|
|
8742
|
+
|
|
8743
|
+
/** @internal */
|
|
8744
|
+
export const GetDeploymentResponseBodyDeploymentsResponseType$outboundSchema:
|
|
8745
|
+
z.ZodNativeEnum<typeof GetDeploymentResponseBodyDeploymentsResponseType> =
|
|
8746
|
+
GetDeploymentResponseBodyDeploymentsResponseType$inboundSchema;
|
|
8747
|
+
|
|
8748
|
+
/**
|
|
8749
|
+
* @internal
|
|
8750
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
8751
|
+
*/
|
|
8752
|
+
export namespace GetDeploymentResponseBodyDeploymentsResponseType$ {
|
|
8753
|
+
/** @deprecated use `GetDeploymentResponseBodyDeploymentsResponseType$inboundSchema` instead. */
|
|
8754
|
+
export const inboundSchema =
|
|
8755
|
+
GetDeploymentResponseBodyDeploymentsResponseType$inboundSchema;
|
|
8756
|
+
/** @deprecated use `GetDeploymentResponseBodyDeploymentsResponseType$outboundSchema` instead. */
|
|
8757
|
+
export const outboundSchema =
|
|
8758
|
+
GetDeploymentResponseBodyDeploymentsResponseType$outboundSchema;
|
|
8759
|
+
}
|
|
8760
|
+
|
|
8761
|
+
/** @internal */
|
|
8762
|
+
export const ResponseBodyExperimentalTriggers$inboundSchema: z.ZodType<
|
|
8763
|
+
ResponseBodyExperimentalTriggers,
|
|
8764
|
+
z.ZodTypeDef,
|
|
8765
|
+
unknown
|
|
8766
|
+
> = z.object({
|
|
8767
|
+
type: GetDeploymentResponseBodyDeploymentsResponseType$inboundSchema,
|
|
8768
|
+
topic: z.string(),
|
|
8769
|
+
consumer: z.string(),
|
|
8770
|
+
maxDeliveries: z.number().optional(),
|
|
8771
|
+
retryAfterSeconds: z.number().optional(),
|
|
8772
|
+
initialDelaySeconds: z.number().optional(),
|
|
8773
|
+
});
|
|
8774
|
+
|
|
8775
|
+
/** @internal */
|
|
8776
|
+
export type ResponseBodyExperimentalTriggers$Outbound = {
|
|
8777
|
+
type: string;
|
|
8778
|
+
topic: string;
|
|
8779
|
+
consumer: string;
|
|
8780
|
+
maxDeliveries?: number | undefined;
|
|
8781
|
+
retryAfterSeconds?: number | undefined;
|
|
8782
|
+
initialDelaySeconds?: number | undefined;
|
|
8783
|
+
};
|
|
8784
|
+
|
|
8785
|
+
/** @internal */
|
|
8786
|
+
export const ResponseBodyExperimentalTriggers$outboundSchema: z.ZodType<
|
|
8787
|
+
ResponseBodyExperimentalTriggers$Outbound,
|
|
8788
|
+
z.ZodTypeDef,
|
|
8789
|
+
ResponseBodyExperimentalTriggers
|
|
8790
|
+
> = z.object({
|
|
8791
|
+
type: GetDeploymentResponseBodyDeploymentsResponseType$outboundSchema,
|
|
8792
|
+
topic: z.string(),
|
|
8793
|
+
consumer: z.string(),
|
|
8794
|
+
maxDeliveries: z.number().optional(),
|
|
8795
|
+
retryAfterSeconds: z.number().optional(),
|
|
8796
|
+
initialDelaySeconds: z.number().optional(),
|
|
8797
|
+
});
|
|
8798
|
+
|
|
8799
|
+
/**
|
|
8800
|
+
* @internal
|
|
8801
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
8802
|
+
*/
|
|
8803
|
+
export namespace ResponseBodyExperimentalTriggers$ {
|
|
8804
|
+
/** @deprecated use `ResponseBodyExperimentalTriggers$inboundSchema` instead. */
|
|
8805
|
+
export const inboundSchema = ResponseBodyExperimentalTriggers$inboundSchema;
|
|
8806
|
+
/** @deprecated use `ResponseBodyExperimentalTriggers$outboundSchema` instead. */
|
|
8807
|
+
export const outboundSchema = ResponseBodyExperimentalTriggers$outboundSchema;
|
|
8808
|
+
/** @deprecated use `ResponseBodyExperimentalTriggers$Outbound` instead. */
|
|
8809
|
+
export type Outbound = ResponseBodyExperimentalTriggers$Outbound;
|
|
8810
|
+
}
|
|
8811
|
+
|
|
8812
|
+
export function responseBodyExperimentalTriggersToJSON(
|
|
8813
|
+
responseBodyExperimentalTriggers: ResponseBodyExperimentalTriggers,
|
|
8814
|
+
): string {
|
|
8815
|
+
return JSON.stringify(
|
|
8816
|
+
ResponseBodyExperimentalTriggers$outboundSchema.parse(
|
|
8817
|
+
responseBodyExperimentalTriggers,
|
|
8818
|
+
),
|
|
8819
|
+
);
|
|
8820
|
+
}
|
|
8821
|
+
|
|
8822
|
+
export function responseBodyExperimentalTriggersFromJSON(
|
|
8823
|
+
jsonString: string,
|
|
8824
|
+
): SafeParseResult<ResponseBodyExperimentalTriggers, SDKValidationError> {
|
|
8825
|
+
return safeParse(
|
|
8826
|
+
jsonString,
|
|
8827
|
+
(x) => ResponseBodyExperimentalTriggers$inboundSchema.parse(JSON.parse(x)),
|
|
8828
|
+
`Failed to parse 'ResponseBodyExperimentalTriggers' from JSON`,
|
|
8829
|
+
);
|
|
8830
|
+
}
|
|
8831
|
+
|
|
8630
8832
|
/** @internal */
|
|
8631
8833
|
export const ResponseBodyFunctions$inboundSchema: z.ZodType<
|
|
8632
8834
|
ResponseBodyFunctions,
|
|
@@ -8639,6 +8841,9 @@ export const ResponseBodyFunctions$inboundSchema: z.ZodType<
|
|
|
8639
8841
|
runtime: z.string().optional(),
|
|
8640
8842
|
includeFiles: z.string().optional(),
|
|
8641
8843
|
excludeFiles: z.string().optional(),
|
|
8844
|
+
experimentalTriggers: z.array(
|
|
8845
|
+
z.lazy(() => ResponseBodyExperimentalTriggers$inboundSchema),
|
|
8846
|
+
).optional(),
|
|
8642
8847
|
});
|
|
8643
8848
|
|
|
8644
8849
|
/** @internal */
|
|
@@ -8649,6 +8854,9 @@ export type ResponseBodyFunctions$Outbound = {
|
|
|
8649
8854
|
runtime?: string | undefined;
|
|
8650
8855
|
includeFiles?: string | undefined;
|
|
8651
8856
|
excludeFiles?: string | undefined;
|
|
8857
|
+
experimentalTriggers?:
|
|
8858
|
+
| Array<ResponseBodyExperimentalTriggers$Outbound>
|
|
8859
|
+
| undefined;
|
|
8652
8860
|
};
|
|
8653
8861
|
|
|
8654
8862
|
/** @internal */
|
|
@@ -8663,6 +8871,9 @@ export const ResponseBodyFunctions$outboundSchema: z.ZodType<
|
|
|
8663
8871
|
runtime: z.string().optional(),
|
|
8664
8872
|
includeFiles: z.string().optional(),
|
|
8665
8873
|
excludeFiles: z.string().optional(),
|
|
8874
|
+
experimentalTriggers: z.array(
|
|
8875
|
+
z.lazy(() => ResponseBodyExperimentalTriggers$outboundSchema),
|
|
8876
|
+
).optional(),
|
|
8666
8877
|
});
|
|
8667
8878
|
|
|
8668
8879
|
/**
|
|
@@ -10171,6 +10382,394 @@ export function getDeploymentRoutesMitigateFromJSON(
|
|
|
10171
10382
|
);
|
|
10172
10383
|
}
|
|
10173
10384
|
|
|
10385
|
+
/** @internal */
|
|
10386
|
+
export const GetDeploymentRoutesType$inboundSchema: z.ZodNativeEnum<
|
|
10387
|
+
typeof GetDeploymentRoutesType
|
|
10388
|
+
> = z.nativeEnum(GetDeploymentRoutesType);
|
|
10389
|
+
|
|
10390
|
+
/** @internal */
|
|
10391
|
+
export const GetDeploymentRoutesType$outboundSchema: z.ZodNativeEnum<
|
|
10392
|
+
typeof GetDeploymentRoutesType
|
|
10393
|
+
> = GetDeploymentRoutesType$inboundSchema;
|
|
10394
|
+
|
|
10395
|
+
/**
|
|
10396
|
+
* @internal
|
|
10397
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10398
|
+
*/
|
|
10399
|
+
export namespace GetDeploymentRoutesType$ {
|
|
10400
|
+
/** @deprecated use `GetDeploymentRoutesType$inboundSchema` instead. */
|
|
10401
|
+
export const inboundSchema = GetDeploymentRoutesType$inboundSchema;
|
|
10402
|
+
/** @deprecated use `GetDeploymentRoutesType$outboundSchema` instead. */
|
|
10403
|
+
export const outboundSchema = GetDeploymentRoutesType$outboundSchema;
|
|
10404
|
+
}
|
|
10405
|
+
|
|
10406
|
+
/** @internal */
|
|
10407
|
+
export const GetDeploymentRoutesOp$inboundSchema: z.ZodNativeEnum<
|
|
10408
|
+
typeof GetDeploymentRoutesOp
|
|
10409
|
+
> = z.nativeEnum(GetDeploymentRoutesOp);
|
|
10410
|
+
|
|
10411
|
+
/** @internal */
|
|
10412
|
+
export const GetDeploymentRoutesOp$outboundSchema: z.ZodNativeEnum<
|
|
10413
|
+
typeof GetDeploymentRoutesOp
|
|
10414
|
+
> = GetDeploymentRoutesOp$inboundSchema;
|
|
10415
|
+
|
|
10416
|
+
/**
|
|
10417
|
+
* @internal
|
|
10418
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10419
|
+
*/
|
|
10420
|
+
export namespace GetDeploymentRoutesOp$ {
|
|
10421
|
+
/** @deprecated use `GetDeploymentRoutesOp$inboundSchema` instead. */
|
|
10422
|
+
export const inboundSchema = GetDeploymentRoutesOp$inboundSchema;
|
|
10423
|
+
/** @deprecated use `GetDeploymentRoutesOp$outboundSchema` instead. */
|
|
10424
|
+
export const outboundSchema = GetDeploymentRoutesOp$outboundSchema;
|
|
10425
|
+
}
|
|
10426
|
+
|
|
10427
|
+
/** @internal */
|
|
10428
|
+
export const GetDeploymentKeyEq$inboundSchema: z.ZodType<
|
|
10429
|
+
GetDeploymentKeyEq,
|
|
10430
|
+
z.ZodTypeDef,
|
|
10431
|
+
unknown
|
|
10432
|
+
> = z.union([z.string(), z.number()]);
|
|
10433
|
+
|
|
10434
|
+
/** @internal */
|
|
10435
|
+
export type GetDeploymentKeyEq$Outbound = string | number;
|
|
10436
|
+
|
|
10437
|
+
/** @internal */
|
|
10438
|
+
export const GetDeploymentKeyEq$outboundSchema: z.ZodType<
|
|
10439
|
+
GetDeploymentKeyEq$Outbound,
|
|
10440
|
+
z.ZodTypeDef,
|
|
10441
|
+
GetDeploymentKeyEq
|
|
10442
|
+
> = z.union([z.string(), z.number()]);
|
|
10443
|
+
|
|
10444
|
+
/**
|
|
10445
|
+
* @internal
|
|
10446
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10447
|
+
*/
|
|
10448
|
+
export namespace GetDeploymentKeyEq$ {
|
|
10449
|
+
/** @deprecated use `GetDeploymentKeyEq$inboundSchema` instead. */
|
|
10450
|
+
export const inboundSchema = GetDeploymentKeyEq$inboundSchema;
|
|
10451
|
+
/** @deprecated use `GetDeploymentKeyEq$outboundSchema` instead. */
|
|
10452
|
+
export const outboundSchema = GetDeploymentKeyEq$outboundSchema;
|
|
10453
|
+
/** @deprecated use `GetDeploymentKeyEq$Outbound` instead. */
|
|
10454
|
+
export type Outbound = GetDeploymentKeyEq$Outbound;
|
|
10455
|
+
}
|
|
10456
|
+
|
|
10457
|
+
export function getDeploymentKeyEqToJSON(
|
|
10458
|
+
getDeploymentKeyEq: GetDeploymentKeyEq,
|
|
10459
|
+
): string {
|
|
10460
|
+
return JSON.stringify(
|
|
10461
|
+
GetDeploymentKeyEq$outboundSchema.parse(getDeploymentKeyEq),
|
|
10462
|
+
);
|
|
10463
|
+
}
|
|
10464
|
+
|
|
10465
|
+
export function getDeploymentKeyEqFromJSON(
|
|
10466
|
+
jsonString: string,
|
|
10467
|
+
): SafeParseResult<GetDeploymentKeyEq, SDKValidationError> {
|
|
10468
|
+
return safeParse(
|
|
10469
|
+
jsonString,
|
|
10470
|
+
(x) => GetDeploymentKeyEq$inboundSchema.parse(JSON.parse(x)),
|
|
10471
|
+
`Failed to parse 'GetDeploymentKeyEq' from JSON`,
|
|
10472
|
+
);
|
|
10473
|
+
}
|
|
10474
|
+
|
|
10475
|
+
/** @internal */
|
|
10476
|
+
export const GetDeploymentKey2$inboundSchema: z.ZodType<
|
|
10477
|
+
GetDeploymentKey2,
|
|
10478
|
+
z.ZodTypeDef,
|
|
10479
|
+
unknown
|
|
10480
|
+
> = z.object({
|
|
10481
|
+
eq: z.union([z.string(), z.number()]).optional(),
|
|
10482
|
+
neq: z.string().optional(),
|
|
10483
|
+
inc: z.array(z.string()).optional(),
|
|
10484
|
+
ninc: z.array(z.string()).optional(),
|
|
10485
|
+
pre: z.string().optional(),
|
|
10486
|
+
suf: z.string().optional(),
|
|
10487
|
+
gt: z.number().optional(),
|
|
10488
|
+
gte: z.number().optional(),
|
|
10489
|
+
lt: z.number().optional(),
|
|
10490
|
+
lte: z.number().optional(),
|
|
10491
|
+
});
|
|
10492
|
+
|
|
10493
|
+
/** @internal */
|
|
10494
|
+
export type GetDeploymentKey2$Outbound = {
|
|
10495
|
+
eq?: string | number | undefined;
|
|
10496
|
+
neq?: string | undefined;
|
|
10497
|
+
inc?: Array<string> | undefined;
|
|
10498
|
+
ninc?: Array<string> | undefined;
|
|
10499
|
+
pre?: string | undefined;
|
|
10500
|
+
suf?: string | undefined;
|
|
10501
|
+
gt?: number | undefined;
|
|
10502
|
+
gte?: number | undefined;
|
|
10503
|
+
lt?: number | undefined;
|
|
10504
|
+
lte?: number | undefined;
|
|
10505
|
+
};
|
|
10506
|
+
|
|
10507
|
+
/** @internal */
|
|
10508
|
+
export const GetDeploymentKey2$outboundSchema: z.ZodType<
|
|
10509
|
+
GetDeploymentKey2$Outbound,
|
|
10510
|
+
z.ZodTypeDef,
|
|
10511
|
+
GetDeploymentKey2
|
|
10512
|
+
> = z.object({
|
|
10513
|
+
eq: z.union([z.string(), z.number()]).optional(),
|
|
10514
|
+
neq: z.string().optional(),
|
|
10515
|
+
inc: z.array(z.string()).optional(),
|
|
10516
|
+
ninc: z.array(z.string()).optional(),
|
|
10517
|
+
pre: z.string().optional(),
|
|
10518
|
+
suf: z.string().optional(),
|
|
10519
|
+
gt: z.number().optional(),
|
|
10520
|
+
gte: z.number().optional(),
|
|
10521
|
+
lt: z.number().optional(),
|
|
10522
|
+
lte: z.number().optional(),
|
|
10523
|
+
});
|
|
10524
|
+
|
|
10525
|
+
/**
|
|
10526
|
+
* @internal
|
|
10527
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10528
|
+
*/
|
|
10529
|
+
export namespace GetDeploymentKey2$ {
|
|
10530
|
+
/** @deprecated use `GetDeploymentKey2$inboundSchema` instead. */
|
|
10531
|
+
export const inboundSchema = GetDeploymentKey2$inboundSchema;
|
|
10532
|
+
/** @deprecated use `GetDeploymentKey2$outboundSchema` instead. */
|
|
10533
|
+
export const outboundSchema = GetDeploymentKey2$outboundSchema;
|
|
10534
|
+
/** @deprecated use `GetDeploymentKey2$Outbound` instead. */
|
|
10535
|
+
export type Outbound = GetDeploymentKey2$Outbound;
|
|
10536
|
+
}
|
|
10537
|
+
|
|
10538
|
+
export function getDeploymentKey2ToJSON(
|
|
10539
|
+
getDeploymentKey2: GetDeploymentKey2,
|
|
10540
|
+
): string {
|
|
10541
|
+
return JSON.stringify(
|
|
10542
|
+
GetDeploymentKey2$outboundSchema.parse(getDeploymentKey2),
|
|
10543
|
+
);
|
|
10544
|
+
}
|
|
10545
|
+
|
|
10546
|
+
export function getDeploymentKey2FromJSON(
|
|
10547
|
+
jsonString: string,
|
|
10548
|
+
): SafeParseResult<GetDeploymentKey2, SDKValidationError> {
|
|
10549
|
+
return safeParse(
|
|
10550
|
+
jsonString,
|
|
10551
|
+
(x) => GetDeploymentKey2$inboundSchema.parse(JSON.parse(x)),
|
|
10552
|
+
`Failed to parse 'GetDeploymentKey2' from JSON`,
|
|
10553
|
+
);
|
|
10554
|
+
}
|
|
10555
|
+
|
|
10556
|
+
/** @internal */
|
|
10557
|
+
export const GetDeploymentRoutesKey$inboundSchema: z.ZodType<
|
|
10558
|
+
GetDeploymentRoutesKey,
|
|
10559
|
+
z.ZodTypeDef,
|
|
10560
|
+
unknown
|
|
10561
|
+
> = z.union([z.lazy(() => GetDeploymentKey2$inboundSchema), z.string()]);
|
|
10562
|
+
|
|
10563
|
+
/** @internal */
|
|
10564
|
+
export type GetDeploymentRoutesKey$Outbound =
|
|
10565
|
+
| GetDeploymentKey2$Outbound
|
|
10566
|
+
| string;
|
|
10567
|
+
|
|
10568
|
+
/** @internal */
|
|
10569
|
+
export const GetDeploymentRoutesKey$outboundSchema: z.ZodType<
|
|
10570
|
+
GetDeploymentRoutesKey$Outbound,
|
|
10571
|
+
z.ZodTypeDef,
|
|
10572
|
+
GetDeploymentRoutesKey
|
|
10573
|
+
> = z.union([z.lazy(() => GetDeploymentKey2$outboundSchema), z.string()]);
|
|
10574
|
+
|
|
10575
|
+
/**
|
|
10576
|
+
* @internal
|
|
10577
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10578
|
+
*/
|
|
10579
|
+
export namespace GetDeploymentRoutesKey$ {
|
|
10580
|
+
/** @deprecated use `GetDeploymentRoutesKey$inboundSchema` instead. */
|
|
10581
|
+
export const inboundSchema = GetDeploymentRoutesKey$inboundSchema;
|
|
10582
|
+
/** @deprecated use `GetDeploymentRoutesKey$outboundSchema` instead. */
|
|
10583
|
+
export const outboundSchema = GetDeploymentRoutesKey$outboundSchema;
|
|
10584
|
+
/** @deprecated use `GetDeploymentRoutesKey$Outbound` instead. */
|
|
10585
|
+
export type Outbound = GetDeploymentRoutesKey$Outbound;
|
|
10586
|
+
}
|
|
10587
|
+
|
|
10588
|
+
export function getDeploymentRoutesKeyToJSON(
|
|
10589
|
+
getDeploymentRoutesKey: GetDeploymentRoutesKey,
|
|
10590
|
+
): string {
|
|
10591
|
+
return JSON.stringify(
|
|
10592
|
+
GetDeploymentRoutesKey$outboundSchema.parse(getDeploymentRoutesKey),
|
|
10593
|
+
);
|
|
10594
|
+
}
|
|
10595
|
+
|
|
10596
|
+
export function getDeploymentRoutesKeyFromJSON(
|
|
10597
|
+
jsonString: string,
|
|
10598
|
+
): SafeParseResult<GetDeploymentRoutesKey, SDKValidationError> {
|
|
10599
|
+
return safeParse(
|
|
10600
|
+
jsonString,
|
|
10601
|
+
(x) => GetDeploymentRoutesKey$inboundSchema.parse(JSON.parse(x)),
|
|
10602
|
+
`Failed to parse 'GetDeploymentRoutesKey' from JSON`,
|
|
10603
|
+
);
|
|
10604
|
+
}
|
|
10605
|
+
|
|
10606
|
+
/** @internal */
|
|
10607
|
+
export const GetDeploymentRoutesTarget$inboundSchema: z.ZodType<
|
|
10608
|
+
GetDeploymentRoutesTarget,
|
|
10609
|
+
z.ZodTypeDef,
|
|
10610
|
+
unknown
|
|
10611
|
+
> = z.object({
|
|
10612
|
+
key: z.union([z.lazy(() => GetDeploymentKey2$inboundSchema), z.string()]),
|
|
10613
|
+
});
|
|
10614
|
+
|
|
10615
|
+
/** @internal */
|
|
10616
|
+
export type GetDeploymentRoutesTarget$Outbound = {
|
|
10617
|
+
key: GetDeploymentKey2$Outbound | string;
|
|
10618
|
+
};
|
|
10619
|
+
|
|
10620
|
+
/** @internal */
|
|
10621
|
+
export const GetDeploymentRoutesTarget$outboundSchema: z.ZodType<
|
|
10622
|
+
GetDeploymentRoutesTarget$Outbound,
|
|
10623
|
+
z.ZodTypeDef,
|
|
10624
|
+
GetDeploymentRoutesTarget
|
|
10625
|
+
> = z.object({
|
|
10626
|
+
key: z.union([z.lazy(() => GetDeploymentKey2$outboundSchema), z.string()]),
|
|
10627
|
+
});
|
|
10628
|
+
|
|
10629
|
+
/**
|
|
10630
|
+
* @internal
|
|
10631
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10632
|
+
*/
|
|
10633
|
+
export namespace GetDeploymentRoutesTarget$ {
|
|
10634
|
+
/** @deprecated use `GetDeploymentRoutesTarget$inboundSchema` instead. */
|
|
10635
|
+
export const inboundSchema = GetDeploymentRoutesTarget$inboundSchema;
|
|
10636
|
+
/** @deprecated use `GetDeploymentRoutesTarget$outboundSchema` instead. */
|
|
10637
|
+
export const outboundSchema = GetDeploymentRoutesTarget$outboundSchema;
|
|
10638
|
+
/** @deprecated use `GetDeploymentRoutesTarget$Outbound` instead. */
|
|
10639
|
+
export type Outbound = GetDeploymentRoutesTarget$Outbound;
|
|
10640
|
+
}
|
|
10641
|
+
|
|
10642
|
+
export function getDeploymentRoutesTargetToJSON(
|
|
10643
|
+
getDeploymentRoutesTarget: GetDeploymentRoutesTarget,
|
|
10644
|
+
): string {
|
|
10645
|
+
return JSON.stringify(
|
|
10646
|
+
GetDeploymentRoutesTarget$outboundSchema.parse(getDeploymentRoutesTarget),
|
|
10647
|
+
);
|
|
10648
|
+
}
|
|
10649
|
+
|
|
10650
|
+
export function getDeploymentRoutesTargetFromJSON(
|
|
10651
|
+
jsonString: string,
|
|
10652
|
+
): SafeParseResult<GetDeploymentRoutesTarget, SDKValidationError> {
|
|
10653
|
+
return safeParse(
|
|
10654
|
+
jsonString,
|
|
10655
|
+
(x) => GetDeploymentRoutesTarget$inboundSchema.parse(JSON.parse(x)),
|
|
10656
|
+
`Failed to parse 'GetDeploymentRoutesTarget' from JSON`,
|
|
10657
|
+
);
|
|
10658
|
+
}
|
|
10659
|
+
|
|
10660
|
+
/** @internal */
|
|
10661
|
+
export const GetDeploymentRoutesArgs$inboundSchema: z.ZodType<
|
|
10662
|
+
GetDeploymentRoutesArgs,
|
|
10663
|
+
z.ZodTypeDef,
|
|
10664
|
+
unknown
|
|
10665
|
+
> = z.union([z.string(), z.array(z.string())]);
|
|
10666
|
+
|
|
10667
|
+
/** @internal */
|
|
10668
|
+
export type GetDeploymentRoutesArgs$Outbound = string | Array<string>;
|
|
10669
|
+
|
|
10670
|
+
/** @internal */
|
|
10671
|
+
export const GetDeploymentRoutesArgs$outboundSchema: z.ZodType<
|
|
10672
|
+
GetDeploymentRoutesArgs$Outbound,
|
|
10673
|
+
z.ZodTypeDef,
|
|
10674
|
+
GetDeploymentRoutesArgs
|
|
10675
|
+
> = z.union([z.string(), z.array(z.string())]);
|
|
10676
|
+
|
|
10677
|
+
/**
|
|
10678
|
+
* @internal
|
|
10679
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10680
|
+
*/
|
|
10681
|
+
export namespace GetDeploymentRoutesArgs$ {
|
|
10682
|
+
/** @deprecated use `GetDeploymentRoutesArgs$inboundSchema` instead. */
|
|
10683
|
+
export const inboundSchema = GetDeploymentRoutesArgs$inboundSchema;
|
|
10684
|
+
/** @deprecated use `GetDeploymentRoutesArgs$outboundSchema` instead. */
|
|
10685
|
+
export const outboundSchema = GetDeploymentRoutesArgs$outboundSchema;
|
|
10686
|
+
/** @deprecated use `GetDeploymentRoutesArgs$Outbound` instead. */
|
|
10687
|
+
export type Outbound = GetDeploymentRoutesArgs$Outbound;
|
|
10688
|
+
}
|
|
10689
|
+
|
|
10690
|
+
export function getDeploymentRoutesArgsToJSON(
|
|
10691
|
+
getDeploymentRoutesArgs: GetDeploymentRoutesArgs,
|
|
10692
|
+
): string {
|
|
10693
|
+
return JSON.stringify(
|
|
10694
|
+
GetDeploymentRoutesArgs$outboundSchema.parse(getDeploymentRoutesArgs),
|
|
10695
|
+
);
|
|
10696
|
+
}
|
|
10697
|
+
|
|
10698
|
+
export function getDeploymentRoutesArgsFromJSON(
|
|
10699
|
+
jsonString: string,
|
|
10700
|
+
): SafeParseResult<GetDeploymentRoutesArgs, SDKValidationError> {
|
|
10701
|
+
return safeParse(
|
|
10702
|
+
jsonString,
|
|
10703
|
+
(x) => GetDeploymentRoutesArgs$inboundSchema.parse(JSON.parse(x)),
|
|
10704
|
+
`Failed to parse 'GetDeploymentRoutesArgs' from JSON`,
|
|
10705
|
+
);
|
|
10706
|
+
}
|
|
10707
|
+
|
|
10708
|
+
/** @internal */
|
|
10709
|
+
export const GetDeploymentRoutesTransforms$inboundSchema: z.ZodType<
|
|
10710
|
+
GetDeploymentRoutesTransforms,
|
|
10711
|
+
z.ZodTypeDef,
|
|
10712
|
+
unknown
|
|
10713
|
+
> = z.object({
|
|
10714
|
+
type: GetDeploymentRoutesType$inboundSchema,
|
|
10715
|
+
op: GetDeploymentRoutesOp$inboundSchema,
|
|
10716
|
+
target: z.lazy(() => GetDeploymentRoutesTarget$inboundSchema),
|
|
10717
|
+
args: z.union([z.string(), z.array(z.string())]).optional(),
|
|
10718
|
+
});
|
|
10719
|
+
|
|
10720
|
+
/** @internal */
|
|
10721
|
+
export type GetDeploymentRoutesTransforms$Outbound = {
|
|
10722
|
+
type: string;
|
|
10723
|
+
op: string;
|
|
10724
|
+
target: GetDeploymentRoutesTarget$Outbound;
|
|
10725
|
+
args?: string | Array<string> | undefined;
|
|
10726
|
+
};
|
|
10727
|
+
|
|
10728
|
+
/** @internal */
|
|
10729
|
+
export const GetDeploymentRoutesTransforms$outboundSchema: z.ZodType<
|
|
10730
|
+
GetDeploymentRoutesTransforms$Outbound,
|
|
10731
|
+
z.ZodTypeDef,
|
|
10732
|
+
GetDeploymentRoutesTransforms
|
|
10733
|
+
> = z.object({
|
|
10734
|
+
type: GetDeploymentRoutesType$outboundSchema,
|
|
10735
|
+
op: GetDeploymentRoutesOp$outboundSchema,
|
|
10736
|
+
target: z.lazy(() => GetDeploymentRoutesTarget$outboundSchema),
|
|
10737
|
+
args: z.union([z.string(), z.array(z.string())]).optional(),
|
|
10738
|
+
});
|
|
10739
|
+
|
|
10740
|
+
/**
|
|
10741
|
+
* @internal
|
|
10742
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10743
|
+
*/
|
|
10744
|
+
export namespace GetDeploymentRoutesTransforms$ {
|
|
10745
|
+
/** @deprecated use `GetDeploymentRoutesTransforms$inboundSchema` instead. */
|
|
10746
|
+
export const inboundSchema = GetDeploymentRoutesTransforms$inboundSchema;
|
|
10747
|
+
/** @deprecated use `GetDeploymentRoutesTransforms$outboundSchema` instead. */
|
|
10748
|
+
export const outboundSchema = GetDeploymentRoutesTransforms$outboundSchema;
|
|
10749
|
+
/** @deprecated use `GetDeploymentRoutesTransforms$Outbound` instead. */
|
|
10750
|
+
export type Outbound = GetDeploymentRoutesTransforms$Outbound;
|
|
10751
|
+
}
|
|
10752
|
+
|
|
10753
|
+
export function getDeploymentRoutesTransformsToJSON(
|
|
10754
|
+
getDeploymentRoutesTransforms: GetDeploymentRoutesTransforms,
|
|
10755
|
+
): string {
|
|
10756
|
+
return JSON.stringify(
|
|
10757
|
+
GetDeploymentRoutesTransforms$outboundSchema.parse(
|
|
10758
|
+
getDeploymentRoutesTransforms,
|
|
10759
|
+
),
|
|
10760
|
+
);
|
|
10761
|
+
}
|
|
10762
|
+
|
|
10763
|
+
export function getDeploymentRoutesTransformsFromJSON(
|
|
10764
|
+
jsonString: string,
|
|
10765
|
+
): SafeParseResult<GetDeploymentRoutesTransforms, SDKValidationError> {
|
|
10766
|
+
return safeParse(
|
|
10767
|
+
jsonString,
|
|
10768
|
+
(x) => GetDeploymentRoutesTransforms$inboundSchema.parse(JSON.parse(x)),
|
|
10769
|
+
`Failed to parse 'GetDeploymentRoutesTransforms' from JSON`,
|
|
10770
|
+
);
|
|
10771
|
+
}
|
|
10772
|
+
|
|
10174
10773
|
/** @internal */
|
|
10175
10774
|
export const GetDeploymentRoutesLocale$inboundSchema: z.ZodType<
|
|
10176
10775
|
GetDeploymentRoutesLocale,
|
|
@@ -10257,6 +10856,8 @@ export const GetDeploymentRoutes1$inboundSchema: z.ZodType<
|
|
|
10257
10856
|
]),
|
|
10258
10857
|
).optional(),
|
|
10259
10858
|
mitigate: z.lazy(() => GetDeploymentRoutesMitigate$inboundSchema).optional(),
|
|
10859
|
+
transforms: z.array(z.lazy(() => GetDeploymentRoutesTransforms$inboundSchema))
|
|
10860
|
+
.optional(),
|
|
10260
10861
|
locale: z.lazy(() => GetDeploymentRoutesLocale$inboundSchema).optional(),
|
|
10261
10862
|
middlewarePath: z.string().optional(),
|
|
10262
10863
|
middlewareRawSrc: z.array(z.string()).optional(),
|
|
@@ -10282,6 +10883,7 @@ export type GetDeploymentRoutes1$Outbound = {
|
|
|
10282
10883
|
| Array<GetDeploymentMissing1$Outbound | GetDeploymentMissing2$Outbound>
|
|
10283
10884
|
| undefined;
|
|
10284
10885
|
mitigate?: GetDeploymentRoutesMitigate$Outbound | undefined;
|
|
10886
|
+
transforms?: Array<GetDeploymentRoutesTransforms$Outbound> | undefined;
|
|
10285
10887
|
locale?: GetDeploymentRoutesLocale$Outbound | undefined;
|
|
10286
10888
|
middlewarePath?: string | undefined;
|
|
10287
10889
|
middlewareRawSrc?: Array<string> | undefined;
|
|
@@ -10317,6 +10919,9 @@ export const GetDeploymentRoutes1$outboundSchema: z.ZodType<
|
|
|
10317
10919
|
]),
|
|
10318
10920
|
).optional(),
|
|
10319
10921
|
mitigate: z.lazy(() => GetDeploymentRoutesMitigate$outboundSchema).optional(),
|
|
10922
|
+
transforms: z.array(
|
|
10923
|
+
z.lazy(() => GetDeploymentRoutesTransforms$outboundSchema),
|
|
10924
|
+
).optional(),
|
|
10320
10925
|
locale: z.lazy(() => GetDeploymentRoutesLocale$outboundSchema).optional(),
|
|
10321
10926
|
middlewarePath: z.string().optional(),
|
|
10322
10927
|
middlewareRawSrc: z.array(z.string()).optional(),
|
|
@@ -11216,6 +11821,8 @@ export const GetDeploymentMicrofrontends2$inboundSchema: z.ZodType<
|
|
|
11216
11821
|
defaultAppProjectName: z.string(),
|
|
11217
11822
|
defaultRoute: z.string().optional(),
|
|
11218
11823
|
groupIds: z.array(z.string()),
|
|
11824
|
+
microfrontendsAliasEnabled: z.boolean().optional(),
|
|
11825
|
+
previewEnvAliasEnabled: z.boolean().optional(),
|
|
11219
11826
|
});
|
|
11220
11827
|
|
|
11221
11828
|
/** @internal */
|
|
@@ -11227,6 +11834,8 @@ export type GetDeploymentMicrofrontends2$Outbound = {
|
|
|
11227
11834
|
defaultAppProjectName: string;
|
|
11228
11835
|
defaultRoute?: string | undefined;
|
|
11229
11836
|
groupIds: Array<string>;
|
|
11837
|
+
microfrontendsAliasEnabled?: boolean | undefined;
|
|
11838
|
+
previewEnvAliasEnabled?: boolean | undefined;
|
|
11230
11839
|
};
|
|
11231
11840
|
|
|
11232
11841
|
/** @internal */
|
|
@@ -11242,6 +11851,8 @@ export const GetDeploymentMicrofrontends2$outboundSchema: z.ZodType<
|
|
|
11242
11851
|
defaultAppProjectName: z.string(),
|
|
11243
11852
|
defaultRoute: z.string().optional(),
|
|
11244
11853
|
groupIds: z.array(z.string()),
|
|
11854
|
+
microfrontendsAliasEnabled: z.boolean().optional(),
|
|
11855
|
+
previewEnvAliasEnabled: z.boolean().optional(),
|
|
11245
11856
|
});
|
|
11246
11857
|
|
|
11247
11858
|
/**
|
|
@@ -11287,6 +11898,8 @@ export const GetDeploymentMicrofrontends1$inboundSchema: z.ZodType<
|
|
|
11287
11898
|
defaultAppProjectName: z.string(),
|
|
11288
11899
|
defaultRoute: z.string().optional(),
|
|
11289
11900
|
groupIds: z.array(z.string()),
|
|
11901
|
+
microfrontendsAliasEnabled: z.boolean().optional(),
|
|
11902
|
+
previewEnvAliasEnabled: z.boolean().optional(),
|
|
11290
11903
|
});
|
|
11291
11904
|
|
|
11292
11905
|
/** @internal */
|
|
@@ -11295,6 +11908,8 @@ export type GetDeploymentMicrofrontends1$Outbound = {
|
|
|
11295
11908
|
defaultAppProjectName: string;
|
|
11296
11909
|
defaultRoute?: string | undefined;
|
|
11297
11910
|
groupIds: Array<string>;
|
|
11911
|
+
microfrontendsAliasEnabled?: boolean | undefined;
|
|
11912
|
+
previewEnvAliasEnabled?: boolean | undefined;
|
|
11298
11913
|
};
|
|
11299
11914
|
|
|
11300
11915
|
/** @internal */
|
|
@@ -11307,6 +11922,8 @@ export const GetDeploymentMicrofrontends1$outboundSchema: z.ZodType<
|
|
|
11307
11922
|
defaultAppProjectName: z.string(),
|
|
11308
11923
|
defaultRoute: z.string().optional(),
|
|
11309
11924
|
groupIds: z.array(z.string()),
|
|
11925
|
+
microfrontendsAliasEnabled: z.boolean().optional(),
|
|
11926
|
+
previewEnvAliasEnabled: z.boolean().optional(),
|
|
11310
11927
|
});
|
|
11311
11928
|
|
|
11312
11929
|
/**
|