@vercel/sdk 1.11.1 → 1.11.4
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 +45 -52
- package/bin/mcp-server.js +1830 -1660
- package/bin/mcp-server.js.map +36 -36
- package/docs/sdks/integrations/README.md +83 -0
- package/docs/sdks/vercel/README.md +0 -74
- package/esm/__tests__/accessgroups.test.js +1 -3
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/checks.test.js +1 -1
- package/esm/__tests__/checks.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +28 -1
- package/esm/__tests__/integrations.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +1 -1
- package/esm/__tests__/vercel.test.js +3 -27
- package/esm/__tests__/vercel.test.js.map +1 -1
- package/esm/funcs/deploymentsUploadFile.js +0 -1
- package/esm/funcs/deploymentsUploadFile.js.map +1 -1
- package/esm/funcs/domainsGetDomainTransfer.js +2 -2
- package/esm/funcs/domainsGetDomainTransfer.js.map +1 -1
- package/esm/funcs/integrationsGetBillingPlans.d.ts +20 -0
- package/esm/funcs/integrationsGetBillingPlans.d.ts.map +1 -0
- package/esm/funcs/{getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js → integrationsGetBillingPlans.js} +21 -9
- package/esm/funcs/integrationsGetBillingPlans.js.map +1 -0
- package/esm/funcs/marketplaceUpdateResourceSecrets.js +2 -2
- package/esm/funcs/marketplaceUpdateResourceSecrets.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 +3 -3
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/integrationsGetBillingPlans.d.ts +7 -0
- package/esm/mcp-server/tools/integrationsGetBillingPlans.d.ts.map +1 -0
- package/esm/mcp-server/tools/integrationsGetBillingPlans.js +28 -0
- package/esm/mcp-server/tools/integrationsGetBillingPlans.js.map +1 -0
- package/esm/models/approverollingreleasestageop.d.ts +15 -0
- package/esm/models/approverollingreleasestageop.d.ts.map +1 -1
- package/esm/models/approverollingreleasestageop.js +6 -0
- package/esm/models/approverollingreleasestageop.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +9 -6
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +3 -2
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/completerollingreleaseop.d.ts +15 -0
- package/esm/models/completerollingreleaseop.d.ts.map +1 -1
- package/esm/models/completerollingreleaseop.js +6 -0
- package/esm/models/completerollingreleaseop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +12 -6
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +4 -2
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +276 -246
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
- package/esm/models/createintegrationstoredirectop.js +318 -296
- package/esm/models/createintegrationstoredirectop.js.map +1 -1
- package/esm/models/createprojectenvop.d.ts +6 -6
- package/esm/models/createprojectenvop.js +2 -2
- package/esm/models/createprojectenvop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +173 -164
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +158 -156
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/editprojectenvop.d.ts +3 -3
- package/esm/models/editprojectenvop.js +1 -1
- package/esm/models/editprojectenvop.js.map +1 -1
- package/esm/models/getbillingplansop.d.ts +257 -0
- package/esm/models/getbillingplansop.d.ts.map +1 -0
- package/esm/models/getbillingplansop.js +244 -0
- package/esm/models/getbillingplansop.js.map +1 -0
- package/esm/models/getconfigurationproductsop.d.ts +330 -330
- package/esm/models/getconfigurationproductsop.js +408 -408
- package/esm/models/getdeploymentop.d.ts +9 -6
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +3 -2
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getdeploymentsop.d.ts +3 -0
- package/esm/models/getdeploymentsop.d.ts.map +1 -1
- package/esm/models/getdeploymentsop.js +1 -0
- package/esm/models/getdeploymentsop.js.map +1 -1
- package/esm/models/getdomaintransferop.d.ts +99 -25
- package/esm/models/getdomaintransferop.d.ts.map +1 -1
- package/esm/models/getdomaintransferop.js +101 -25
- package/esm/models/getdomaintransferop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +8 -2
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +3 -2
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getrollingreleaseconfigop.d.ts +5 -0
- package/esm/models/getrollingreleaseconfigop.d.ts.map +1 -1
- package/esm/models/getrollingreleaseconfigop.js +2 -0
- package/esm/models/getrollingreleaseconfigop.js.map +1 -1
- package/esm/models/getrollingreleaseop.d.ts +15 -0
- package/esm/models/getrollingreleaseop.d.ts.map +1 -1
- package/esm/models/getrollingreleaseop.js +6 -0
- package/esm/models/getrollingreleaseop.js.map +1 -1
- package/esm/models/getwebhooksop.d.ts +3 -0
- package/esm/models/getwebhooksop.d.ts.map +1 -1
- package/esm/models/getwebhooksop.js +1 -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/patchteamop.d.ts +12 -0
- package/esm/models/patchteamop.d.ts.map +1 -1
- package/esm/models/patchteamop.js +4 -0
- package/esm/models/patchteamop.js.map +1 -1
- package/esm/models/removeprojectenvop.d.ts +9 -9
- package/esm/models/removeprojectenvop.js +3 -3
- package/esm/models/removeprojectenvop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +8 -2
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +3 -2
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +173 -164
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +158 -156
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updaterollingreleaseconfigop.d.ts +5 -0
- package/esm/models/updaterollingreleaseconfigop.d.ts.map +1 -1
- package/esm/models/updaterollingreleaseconfigop.js +2 -0
- package/esm/models/updaterollingreleaseconfigop.js.map +1 -1
- package/esm/models/uploadfileop.d.ts +0 -5
- package/esm/models/uploadfileop.d.ts.map +1 -1
- package/esm/models/uploadfileop.js +0 -4
- package/esm/models/uploadfileop.js.map +1 -1
- package/esm/models/userevent.d.ts +960 -770
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +1102 -974
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/integrations.d.ts +8 -0
- package/esm/sdk/integrations.d.ts.map +1 -1
- package/esm/sdk/integrations.js +10 -0
- package/esm/sdk/integrations.js.map +1 -1
- package/esm/sdk/sdk.d.ts +1 -3
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +0 -5
- 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__/accessgroups.test.ts +1 -3
- package/src/__tests__/checks.test.ts +1 -1
- package/src/__tests__/integrations.test.ts +32 -1
- package/src/__tests__/rollingrelease.test.ts +1 -1
- package/src/__tests__/vercel.test.ts +4 -33
- package/src/funcs/deploymentsUploadFile.ts +0 -5
- package/src/funcs/domainsGetDomainTransfer.ts +2 -2
- package/src/funcs/{getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts → integrationsGetBillingPlans.ts} +30 -24
- package/src/funcs/marketplaceUpdateResourceSecrets.ts +2 -2
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -5
- package/src/mcp-server/tools/integrationsGetBillingPlans.ts +37 -0
- package/src/models/approverollingreleasestageop.ts +21 -0
- package/src/models/canceldeploymentop.ts +5 -4
- package/src/models/completerollingreleaseop.ts +21 -0
- package/src/models/createdeploymentop.ts +6 -4
- package/src/models/createintegrationstoredirectop.ts +544 -507
- package/src/models/createprojectenvop.ts +2 -2
- package/src/models/createprojectop.ts +347 -342
- package/src/models/editprojectenvop.ts +1 -1
- package/src/models/getbillingplansop.ts +508 -0
- package/src/models/getconfigurationproductsop.ts +703 -703
- package/src/models/getdeploymentop.ts +5 -4
- package/src/models/getdeploymentsop.ts +1 -0
- package/src/models/getdomaintransferop.ts +203 -39
- package/src/models/getprojectsop.ts +8 -4
- package/src/models/getrollingreleaseconfigop.ts +7 -0
- package/src/models/getrollingreleaseop.ts +21 -0
- package/src/models/getwebhooksop.ts +1 -0
- package/src/models/importresourceop.ts +27 -29
- package/src/models/patchteamop.ts +4 -0
- package/src/models/removeprojectenvop.ts +3 -3
- package/src/models/updateprojectdatacacheop.ts +8 -4
- package/src/models/updateprojectop.ts +347 -342
- package/src/models/updaterollingreleaseconfigop.ts +7 -0
- package/src/models/uploadfileop.ts +0 -9
- package/src/models/userevent.ts +2219 -1917
- package/src/sdk/integrations.ts +22 -0
- package/src/sdk/sdk.ts +1 -23
- package/vercel-spec.json +1401 -1170
- package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts +0 -14
- package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts.map +0 -1
- package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js.map +0 -1
- package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts +0 -7
- package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts.map +0 -1
- package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js +0 -26
- package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js.map +0 -1
- package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.d.ts +0 -247
- package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.d.ts.map +0 -1
- package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js +0 -246
- package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js.map +0 -1
- package/src/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts +0 -41
- package/src/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.ts +0 -575
|
@@ -185,6 +185,10 @@ export type ApproveRollingReleaseStageStages = {
|
|
|
185
185
|
* Duration in seconds for automatic advancement, null for manual stages or the final stage
|
|
186
186
|
*/
|
|
187
187
|
duration: number | null;
|
|
188
|
+
/**
|
|
189
|
+
* Whether to linearly shift traffic over the duration of this stage
|
|
190
|
+
*/
|
|
191
|
+
linearShift?: boolean | undefined;
|
|
188
192
|
};
|
|
189
193
|
|
|
190
194
|
/**
|
|
@@ -211,6 +215,10 @@ export type ApproveRollingReleaseStageActiveStage = {
|
|
|
211
215
|
* Duration in seconds for automatic advancement, null for manual stages or the final stage
|
|
212
216
|
*/
|
|
213
217
|
duration: number | null;
|
|
218
|
+
/**
|
|
219
|
+
* Whether to linearly shift traffic over the duration of this stage
|
|
220
|
+
*/
|
|
221
|
+
linearShift?: boolean | undefined;
|
|
214
222
|
};
|
|
215
223
|
|
|
216
224
|
/**
|
|
@@ -237,6 +245,10 @@ export type ApproveRollingReleaseStageNextStage = {
|
|
|
237
245
|
* Duration in seconds for automatic advancement, null for manual stages or the final stage
|
|
238
246
|
*/
|
|
239
247
|
duration: number | null;
|
|
248
|
+
/**
|
|
249
|
+
* Whether to linearly shift traffic over the duration of this stage
|
|
250
|
+
*/
|
|
251
|
+
linearShift?: boolean | undefined;
|
|
240
252
|
};
|
|
241
253
|
|
|
242
254
|
/**
|
|
@@ -807,6 +819,7 @@ export const ApproveRollingReleaseStageStages$inboundSchema: z.ZodType<
|
|
|
807
819
|
targetPercentage: z.number(),
|
|
808
820
|
requireApproval: z.boolean(),
|
|
809
821
|
duration: z.nullable(z.number()),
|
|
822
|
+
linearShift: z.boolean().optional(),
|
|
810
823
|
});
|
|
811
824
|
|
|
812
825
|
/** @internal */
|
|
@@ -816,6 +829,7 @@ export type ApproveRollingReleaseStageStages$Outbound = {
|
|
|
816
829
|
targetPercentage: number;
|
|
817
830
|
requireApproval: boolean;
|
|
818
831
|
duration: number | null;
|
|
832
|
+
linearShift?: boolean | undefined;
|
|
819
833
|
};
|
|
820
834
|
|
|
821
835
|
/** @internal */
|
|
@@ -829,6 +843,7 @@ export const ApproveRollingReleaseStageStages$outboundSchema: z.ZodType<
|
|
|
829
843
|
targetPercentage: z.number(),
|
|
830
844
|
requireApproval: z.boolean(),
|
|
831
845
|
duration: z.nullable(z.number()),
|
|
846
|
+
linearShift: z.boolean().optional(),
|
|
832
847
|
});
|
|
833
848
|
|
|
834
849
|
/**
|
|
@@ -875,6 +890,7 @@ export const ApproveRollingReleaseStageActiveStage$inboundSchema: z.ZodType<
|
|
|
875
890
|
targetPercentage: z.number(),
|
|
876
891
|
requireApproval: z.boolean(),
|
|
877
892
|
duration: z.nullable(z.number()),
|
|
893
|
+
linearShift: z.boolean().optional(),
|
|
878
894
|
});
|
|
879
895
|
|
|
880
896
|
/** @internal */
|
|
@@ -884,6 +900,7 @@ export type ApproveRollingReleaseStageActiveStage$Outbound = {
|
|
|
884
900
|
targetPercentage: number;
|
|
885
901
|
requireApproval: boolean;
|
|
886
902
|
duration: number | null;
|
|
903
|
+
linearShift?: boolean | undefined;
|
|
887
904
|
};
|
|
888
905
|
|
|
889
906
|
/** @internal */
|
|
@@ -897,6 +914,7 @@ export const ApproveRollingReleaseStageActiveStage$outboundSchema: z.ZodType<
|
|
|
897
914
|
targetPercentage: z.number(),
|
|
898
915
|
requireApproval: z.boolean(),
|
|
899
916
|
duration: z.nullable(z.number()),
|
|
917
|
+
linearShift: z.boolean().optional(),
|
|
900
918
|
});
|
|
901
919
|
|
|
902
920
|
/**
|
|
@@ -946,6 +964,7 @@ export const ApproveRollingReleaseStageNextStage$inboundSchema: z.ZodType<
|
|
|
946
964
|
targetPercentage: z.number(),
|
|
947
965
|
requireApproval: z.boolean(),
|
|
948
966
|
duration: z.nullable(z.number()),
|
|
967
|
+
linearShift: z.boolean().optional(),
|
|
949
968
|
});
|
|
950
969
|
|
|
951
970
|
/** @internal */
|
|
@@ -955,6 +974,7 @@ export type ApproveRollingReleaseStageNextStage$Outbound = {
|
|
|
955
974
|
targetPercentage: number;
|
|
956
975
|
requireApproval: boolean;
|
|
957
976
|
duration: number | null;
|
|
977
|
+
linearShift?: boolean | undefined;
|
|
958
978
|
};
|
|
959
979
|
|
|
960
980
|
/** @internal */
|
|
@@ -968,6 +988,7 @@ export const ApproveRollingReleaseStageNextStage$outboundSchema: z.ZodType<
|
|
|
968
988
|
targetPercentage: z.number(),
|
|
969
989
|
requireApproval: z.boolean(),
|
|
970
990
|
duration: z.nullable(z.number()),
|
|
991
|
+
linearShift: z.boolean().optional(),
|
|
971
992
|
});
|
|
972
993
|
|
|
973
994
|
/**
|
|
@@ -93,6 +93,7 @@ export const CancelDeploymentFramework = {
|
|
|
93
93
|
Nitro: "nitro",
|
|
94
94
|
Hono: "hono",
|
|
95
95
|
Express: "express",
|
|
96
|
+
H3: "h3",
|
|
96
97
|
Xmcp: "xmcp",
|
|
97
98
|
} as const;
|
|
98
99
|
export type CancelDeploymentFramework = ClosedEnum<
|
|
@@ -1295,15 +1296,15 @@ export type MicrofrontendsApplications = {
|
|
|
1295
1296
|
};
|
|
1296
1297
|
|
|
1297
1298
|
/**
|
|
1298
|
-
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `
|
|
1299
|
+
* The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
|
|
1299
1300
|
*/
|
|
1300
1301
|
export const MicrofrontendsMfeConfigUploadState = {
|
|
1301
|
-
Error: "error",
|
|
1302
1302
|
Success: "success",
|
|
1303
|
+
WaitingOnBuild: "waiting_on_build",
|
|
1303
1304
|
NoConfig: "no_config",
|
|
1304
1305
|
} as const;
|
|
1305
1306
|
/**
|
|
1306
|
-
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `
|
|
1307
|
+
* The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
|
|
1307
1308
|
*/
|
|
1308
1309
|
export type MicrofrontendsMfeConfigUploadState = ClosedEnum<
|
|
1309
1310
|
typeof MicrofrontendsMfeConfigUploadState
|
|
@@ -1316,7 +1317,7 @@ export type CancelDeploymentMicrofrontends2 = {
|
|
|
1316
1317
|
*/
|
|
1317
1318
|
applications?: { [k: string]: MicrofrontendsApplications } | undefined;
|
|
1318
1319
|
/**
|
|
1319
|
-
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `
|
|
1320
|
+
* The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
|
|
1320
1321
|
*/
|
|
1321
1322
|
mfeConfigUploadState?: MicrofrontendsMfeConfigUploadState | undefined;
|
|
1322
1323
|
/**
|
|
@@ -181,6 +181,10 @@ export type CompleteRollingReleaseStages = {
|
|
|
181
181
|
* Duration in seconds for automatic advancement, null for manual stages or the final stage
|
|
182
182
|
*/
|
|
183
183
|
duration: number | null;
|
|
184
|
+
/**
|
|
185
|
+
* Whether to linearly shift traffic over the duration of this stage
|
|
186
|
+
*/
|
|
187
|
+
linearShift?: boolean | undefined;
|
|
184
188
|
};
|
|
185
189
|
|
|
186
190
|
/**
|
|
@@ -207,6 +211,10 @@ export type CompleteRollingReleaseActiveStage = {
|
|
|
207
211
|
* Duration in seconds for automatic advancement, null for manual stages or the final stage
|
|
208
212
|
*/
|
|
209
213
|
duration: number | null;
|
|
214
|
+
/**
|
|
215
|
+
* Whether to linearly shift traffic over the duration of this stage
|
|
216
|
+
*/
|
|
217
|
+
linearShift?: boolean | undefined;
|
|
210
218
|
};
|
|
211
219
|
|
|
212
220
|
/**
|
|
@@ -233,6 +241,10 @@ export type CompleteRollingReleaseNextStage = {
|
|
|
233
241
|
* Duration in seconds for automatic advancement, null for manual stages or the final stage
|
|
234
242
|
*/
|
|
235
243
|
duration: number | null;
|
|
244
|
+
/**
|
|
245
|
+
* Whether to linearly shift traffic over the duration of this stage
|
|
246
|
+
*/
|
|
247
|
+
linearShift?: boolean | undefined;
|
|
236
248
|
};
|
|
237
249
|
|
|
238
250
|
/**
|
|
@@ -780,6 +792,7 @@ export const CompleteRollingReleaseStages$inboundSchema: z.ZodType<
|
|
|
780
792
|
targetPercentage: z.number(),
|
|
781
793
|
requireApproval: z.boolean(),
|
|
782
794
|
duration: z.nullable(z.number()),
|
|
795
|
+
linearShift: z.boolean().optional(),
|
|
783
796
|
});
|
|
784
797
|
|
|
785
798
|
/** @internal */
|
|
@@ -789,6 +802,7 @@ export type CompleteRollingReleaseStages$Outbound = {
|
|
|
789
802
|
targetPercentage: number;
|
|
790
803
|
requireApproval: boolean;
|
|
791
804
|
duration: number | null;
|
|
805
|
+
linearShift?: boolean | undefined;
|
|
792
806
|
};
|
|
793
807
|
|
|
794
808
|
/** @internal */
|
|
@@ -802,6 +816,7 @@ export const CompleteRollingReleaseStages$outboundSchema: z.ZodType<
|
|
|
802
816
|
targetPercentage: z.number(),
|
|
803
817
|
requireApproval: z.boolean(),
|
|
804
818
|
duration: z.nullable(z.number()),
|
|
819
|
+
linearShift: z.boolean().optional(),
|
|
805
820
|
});
|
|
806
821
|
|
|
807
822
|
/**
|
|
@@ -848,6 +863,7 @@ export const CompleteRollingReleaseActiveStage$inboundSchema: z.ZodType<
|
|
|
848
863
|
targetPercentage: z.number(),
|
|
849
864
|
requireApproval: z.boolean(),
|
|
850
865
|
duration: z.nullable(z.number()),
|
|
866
|
+
linearShift: z.boolean().optional(),
|
|
851
867
|
});
|
|
852
868
|
|
|
853
869
|
/** @internal */
|
|
@@ -857,6 +873,7 @@ export type CompleteRollingReleaseActiveStage$Outbound = {
|
|
|
857
873
|
targetPercentage: number;
|
|
858
874
|
requireApproval: boolean;
|
|
859
875
|
duration: number | null;
|
|
876
|
+
linearShift?: boolean | undefined;
|
|
860
877
|
};
|
|
861
878
|
|
|
862
879
|
/** @internal */
|
|
@@ -870,6 +887,7 @@ export const CompleteRollingReleaseActiveStage$outboundSchema: z.ZodType<
|
|
|
870
887
|
targetPercentage: z.number(),
|
|
871
888
|
requireApproval: z.boolean(),
|
|
872
889
|
duration: z.nullable(z.number()),
|
|
890
|
+
linearShift: z.boolean().optional(),
|
|
873
891
|
});
|
|
874
892
|
|
|
875
893
|
/**
|
|
@@ -917,6 +935,7 @@ export const CompleteRollingReleaseNextStage$inboundSchema: z.ZodType<
|
|
|
917
935
|
targetPercentage: z.number(),
|
|
918
936
|
requireApproval: z.boolean(),
|
|
919
937
|
duration: z.nullable(z.number()),
|
|
938
|
+
linearShift: z.boolean().optional(),
|
|
920
939
|
});
|
|
921
940
|
|
|
922
941
|
/** @internal */
|
|
@@ -926,6 +945,7 @@ export type CompleteRollingReleaseNextStage$Outbound = {
|
|
|
926
945
|
targetPercentage: number;
|
|
927
946
|
requireApproval: boolean;
|
|
928
947
|
duration: number | null;
|
|
948
|
+
linearShift?: boolean | undefined;
|
|
929
949
|
};
|
|
930
950
|
|
|
931
951
|
/** @internal */
|
|
@@ -939,6 +959,7 @@ export const CompleteRollingReleaseNextStage$outboundSchema: z.ZodType<
|
|
|
939
959
|
targetPercentage: z.number(),
|
|
940
960
|
requireApproval: z.boolean(),
|
|
941
961
|
duration: z.nullable(z.number()),
|
|
962
|
+
linearShift: z.boolean().optional(),
|
|
942
963
|
});
|
|
943
964
|
|
|
944
965
|
/**
|
|
@@ -279,6 +279,7 @@ export const Framework = {
|
|
|
279
279
|
Nitro: "nitro",
|
|
280
280
|
Hono: "hono",
|
|
281
281
|
Express: "express",
|
|
282
|
+
H3: "h3",
|
|
282
283
|
Xmcp: "xmcp",
|
|
283
284
|
} as const;
|
|
284
285
|
/**
|
|
@@ -493,6 +494,7 @@ export const CreateDeploymentFramework = {
|
|
|
493
494
|
Nitro: "nitro",
|
|
494
495
|
Hono: "hono",
|
|
495
496
|
Express: "express",
|
|
497
|
+
H3: "h3",
|
|
496
498
|
Xmcp: "xmcp",
|
|
497
499
|
} as const;
|
|
498
500
|
export type CreateDeploymentFramework = ClosedEnum<
|
|
@@ -1596,15 +1598,15 @@ export type CreateDeploymentMicrofrontendsApplications = {
|
|
|
1596
1598
|
};
|
|
1597
1599
|
|
|
1598
1600
|
/**
|
|
1599
|
-
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `
|
|
1601
|
+
* The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
|
|
1600
1602
|
*/
|
|
1601
1603
|
export const MfeConfigUploadState = {
|
|
1602
|
-
Error: "error",
|
|
1603
1604
|
Success: "success",
|
|
1605
|
+
WaitingOnBuild: "waiting_on_build",
|
|
1604
1606
|
NoConfig: "no_config",
|
|
1605
1607
|
} as const;
|
|
1606
1608
|
/**
|
|
1607
|
-
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `
|
|
1609
|
+
* The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
|
|
1608
1610
|
*/
|
|
1609
1611
|
export type MfeConfigUploadState = ClosedEnum<typeof MfeConfigUploadState>;
|
|
1610
1612
|
|
|
@@ -1617,7 +1619,7 @@ export type CreateDeploymentMicrofrontends2 = {
|
|
|
1617
1619
|
| { [k: string]: CreateDeploymentMicrofrontendsApplications }
|
|
1618
1620
|
| undefined;
|
|
1619
1621
|
/**
|
|
1620
|
-
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `
|
|
1622
|
+
* The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
|
|
1621
1623
|
*/
|
|
1622
1624
|
mfeConfigUploadState?: MfeConfigUploadState | undefined;
|
|
1623
1625
|
/**
|