@vercel/sdk 1.10.6 → 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 +6045 -1761
- package/bin/mcp-server.js.map +48 -39
- package/docs/sdks/integrations/README.md +209 -0
- package/docs/sdks/projects/README.md +2 -0
- package/docs/sdks/teams/README.md +12 -0
- package/docs/sdks/vercel/README.md +74 -0
- package/esm/__tests__/accessgroups.test.js +3 -1
- package/esm/__tests__/accessgroups.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 +2 -6
- package/esm/__tests__/rollingrelease.test.js.map +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 +1 -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 +80 -42
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +44 -15
- 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 +292 -254
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +244 -217
- 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/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 +183 -162
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +154 -154
- 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/editprojectenvop.d.ts +3 -3
- package/esm/models/editprojectenvop.js +1 -1
- package/esm/models/editprojectenvop.js.map +1 -1
- package/esm/models/filterprojectenvsop.d.ts +9 -9
- package/esm/models/filterprojectenvsop.js +3 -3
- package/esm/models/filterprojectenvsop.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 +57 -0
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +24 -0
- 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/removeprojectenvop.d.ts +9 -9
- package/esm/models/removeprojectenvop.js +3 -3
- package/esm/models/removeprojectenvop.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 +21 -0
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +21 -0
- package/esm/models/updateprojectop.d.ts.map +1 -1
- 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__/accessgroups.test.ts +3 -1
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/integrations.test.ts +65 -0
- package/src/__tests__/rollingrelease.test.ts +2 -6
- 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 +1 -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 +71 -24
- package/src/models/connectintegrationresourcetoprojectop.ts +185 -0
- package/src/models/createdeploymentop.ts +545 -503
- package/src/models/createintegrationstoredirectop.ts +15739 -0
- package/src/models/createprojectenvop.ts +2 -2
- package/src/models/createprojectop.ts +364 -343
- package/src/models/createwebhookop.ts +4 -0
- package/src/models/editprojectenvop.ts +1 -1
- package/src/models/filterprojectenvsop.ts +3 -3
- 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 +63 -0
- 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/removeprojectenvop.ts +3 -3
- 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 +21 -0
- package/src/models/updateprojectop.ts +21 -0
- 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 +4249 -1150
|
@@ -247,27 +247,27 @@ export type UpdateFirewallConfigRequestBody5 = {
|
|
|
247
247
|
value: number;
|
|
248
248
|
};
|
|
249
249
|
|
|
250
|
-
export const
|
|
250
|
+
export const UpdateFirewallConfigRequestBodySecurityRequest4Action = {
|
|
251
251
|
RulesRemove: "rules.remove",
|
|
252
252
|
} as const;
|
|
253
|
-
export type
|
|
254
|
-
typeof
|
|
253
|
+
export type UpdateFirewallConfigRequestBodySecurityRequest4Action = ClosedEnum<
|
|
254
|
+
typeof UpdateFirewallConfigRequestBodySecurityRequest4Action
|
|
255
255
|
>;
|
|
256
256
|
|
|
257
257
|
/**
|
|
258
258
|
* Remove a custom rule
|
|
259
259
|
*/
|
|
260
260
|
export type UpdateFirewallConfigRequestBody4 = {
|
|
261
|
-
action:
|
|
261
|
+
action: UpdateFirewallConfigRequestBodySecurityRequest4Action;
|
|
262
262
|
id: string;
|
|
263
263
|
value?: any | null | undefined;
|
|
264
264
|
};
|
|
265
265
|
|
|
266
|
-
export const
|
|
266
|
+
export const UpdateFirewallConfigRequestBodySecurityRequestAction = {
|
|
267
267
|
RulesUpdate: "rules.update",
|
|
268
268
|
} as const;
|
|
269
|
-
export type
|
|
270
|
-
typeof
|
|
269
|
+
export type UpdateFirewallConfigRequestBodySecurityRequestAction = ClosedEnum<
|
|
270
|
+
typeof UpdateFirewallConfigRequestBodySecurityRequestAction
|
|
271
271
|
>;
|
|
272
272
|
|
|
273
273
|
export const UpdateFirewallConfigRequestBodySecurityType = {
|
|
@@ -415,16 +415,16 @@ export type UpdateFirewallConfigRequestBodyValue = {
|
|
|
415
415
|
* Update a custom rule
|
|
416
416
|
*/
|
|
417
417
|
export type UpdateFirewallConfigRequestBody3 = {
|
|
418
|
-
action:
|
|
418
|
+
action: UpdateFirewallConfigRequestBodySecurityRequestAction;
|
|
419
419
|
id: string;
|
|
420
420
|
value: UpdateFirewallConfigRequestBodyValue;
|
|
421
421
|
};
|
|
422
422
|
|
|
423
|
-
export const
|
|
423
|
+
export const UpdateFirewallConfigRequestBodySecurityAction = {
|
|
424
424
|
RulesInsert: "rules.insert",
|
|
425
425
|
} as const;
|
|
426
|
-
export type
|
|
427
|
-
typeof
|
|
426
|
+
export type UpdateFirewallConfigRequestBodySecurityAction = ClosedEnum<
|
|
427
|
+
typeof UpdateFirewallConfigRequestBodySecurityAction
|
|
428
428
|
>;
|
|
429
429
|
|
|
430
430
|
export const UpdateFirewallConfigRequestBodyType = {
|
|
@@ -564,21 +564,23 @@ export type RequestBodyValue = {
|
|
|
564
564
|
* Add a custom rule
|
|
565
565
|
*/
|
|
566
566
|
export type UpdateFirewallConfigRequestBody2 = {
|
|
567
|
-
action:
|
|
567
|
+
action: UpdateFirewallConfigRequestBodySecurityAction;
|
|
568
568
|
id?: any | null | undefined;
|
|
569
569
|
value: RequestBodyValue;
|
|
570
570
|
};
|
|
571
571
|
|
|
572
|
-
export const
|
|
572
|
+
export const UpdateFirewallConfigRequestBodyAction = {
|
|
573
573
|
FirewallEnabled: "firewallEnabled",
|
|
574
574
|
} as const;
|
|
575
|
-
export type
|
|
575
|
+
export type UpdateFirewallConfigRequestBodyAction = ClosedEnum<
|
|
576
|
+
typeof UpdateFirewallConfigRequestBodyAction
|
|
577
|
+
>;
|
|
576
578
|
|
|
577
579
|
/**
|
|
578
580
|
* Enable Firewall
|
|
579
581
|
*/
|
|
580
582
|
export type UpdateFirewallConfigRequestBody1 = {
|
|
581
|
-
action:
|
|
583
|
+
action: UpdateFirewallConfigRequestBodyAction;
|
|
582
584
|
id?: any | null | undefined;
|
|
583
585
|
value: boolean;
|
|
584
586
|
};
|
|
@@ -1933,26 +1935,28 @@ export function updateFirewallConfigRequestBody5FromJSON(
|
|
|
1933
1935
|
}
|
|
1934
1936
|
|
|
1935
1937
|
/** @internal */
|
|
1936
|
-
export const
|
|
1937
|
-
z.ZodNativeEnum<
|
|
1938
|
-
|
|
1938
|
+
export const UpdateFirewallConfigRequestBodySecurityRequest4Action$inboundSchema:
|
|
1939
|
+
z.ZodNativeEnum<
|
|
1940
|
+
typeof UpdateFirewallConfigRequestBodySecurityRequest4Action
|
|
1941
|
+
> = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest4Action);
|
|
1939
1942
|
|
|
1940
1943
|
/** @internal */
|
|
1941
|
-
export const
|
|
1942
|
-
z.ZodNativeEnum<
|
|
1943
|
-
|
|
1944
|
+
export const UpdateFirewallConfigRequestBodySecurityRequest4Action$outboundSchema:
|
|
1945
|
+
z.ZodNativeEnum<
|
|
1946
|
+
typeof UpdateFirewallConfigRequestBodySecurityRequest4Action
|
|
1947
|
+
> = UpdateFirewallConfigRequestBodySecurityRequest4Action$inboundSchema;
|
|
1944
1948
|
|
|
1945
1949
|
/**
|
|
1946
1950
|
* @internal
|
|
1947
1951
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1948
1952
|
*/
|
|
1949
|
-
export namespace
|
|
1950
|
-
/** @deprecated use `
|
|
1953
|
+
export namespace UpdateFirewallConfigRequestBodySecurityRequest4Action$ {
|
|
1954
|
+
/** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest4Action$inboundSchema` instead. */
|
|
1951
1955
|
export const inboundSchema =
|
|
1952
|
-
|
|
1953
|
-
/** @deprecated use `
|
|
1956
|
+
UpdateFirewallConfigRequestBodySecurityRequest4Action$inboundSchema;
|
|
1957
|
+
/** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest4Action$outboundSchema` instead. */
|
|
1954
1958
|
export const outboundSchema =
|
|
1955
|
-
|
|
1959
|
+
UpdateFirewallConfigRequestBodySecurityRequest4Action$outboundSchema;
|
|
1956
1960
|
}
|
|
1957
1961
|
|
|
1958
1962
|
/** @internal */
|
|
@@ -1961,7 +1965,7 @@ export const UpdateFirewallConfigRequestBody4$inboundSchema: z.ZodType<
|
|
|
1961
1965
|
z.ZodTypeDef,
|
|
1962
1966
|
unknown
|
|
1963
1967
|
> = z.object({
|
|
1964
|
-
action:
|
|
1968
|
+
action: UpdateFirewallConfigRequestBodySecurityRequest4Action$inboundSchema,
|
|
1965
1969
|
id: z.string(),
|
|
1966
1970
|
value: z.nullable(z.any()).optional(),
|
|
1967
1971
|
});
|
|
@@ -1979,7 +1983,7 @@ export const UpdateFirewallConfigRequestBody4$outboundSchema: z.ZodType<
|
|
|
1979
1983
|
z.ZodTypeDef,
|
|
1980
1984
|
UpdateFirewallConfigRequestBody4
|
|
1981
1985
|
> = z.object({
|
|
1982
|
-
action:
|
|
1986
|
+
action: UpdateFirewallConfigRequestBodySecurityRequest4Action$outboundSchema,
|
|
1983
1987
|
id: z.string(),
|
|
1984
1988
|
value: z.nullable(z.any()).optional(),
|
|
1985
1989
|
});
|
|
@@ -2018,26 +2022,26 @@ export function updateFirewallConfigRequestBody4FromJSON(
|
|
|
2018
2022
|
}
|
|
2019
2023
|
|
|
2020
2024
|
/** @internal */
|
|
2021
|
-
export const
|
|
2022
|
-
z.ZodNativeEnum<typeof
|
|
2023
|
-
.nativeEnum(
|
|
2025
|
+
export const UpdateFirewallConfigRequestBodySecurityRequestAction$inboundSchema:
|
|
2026
|
+
z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequestAction> =
|
|
2027
|
+
z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequestAction);
|
|
2024
2028
|
|
|
2025
2029
|
/** @internal */
|
|
2026
|
-
export const
|
|
2027
|
-
z.ZodNativeEnum<typeof
|
|
2028
|
-
|
|
2030
|
+
export const UpdateFirewallConfigRequestBodySecurityRequestAction$outboundSchema:
|
|
2031
|
+
z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityRequestAction> =
|
|
2032
|
+
UpdateFirewallConfigRequestBodySecurityRequestAction$inboundSchema;
|
|
2029
2033
|
|
|
2030
2034
|
/**
|
|
2031
2035
|
* @internal
|
|
2032
2036
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2033
2037
|
*/
|
|
2034
|
-
export namespace
|
|
2035
|
-
/** @deprecated use `
|
|
2038
|
+
export namespace UpdateFirewallConfigRequestBodySecurityRequestAction$ {
|
|
2039
|
+
/** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequestAction$inboundSchema` instead. */
|
|
2036
2040
|
export const inboundSchema =
|
|
2037
|
-
|
|
2038
|
-
/** @deprecated use `
|
|
2041
|
+
UpdateFirewallConfigRequestBodySecurityRequestAction$inboundSchema;
|
|
2042
|
+
/** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequestAction$outboundSchema` instead. */
|
|
2039
2043
|
export const outboundSchema =
|
|
2040
|
-
|
|
2044
|
+
UpdateFirewallConfigRequestBodySecurityRequestAction$outboundSchema;
|
|
2041
2045
|
}
|
|
2042
2046
|
|
|
2043
2047
|
/** @internal */
|
|
@@ -2966,7 +2970,7 @@ export const UpdateFirewallConfigRequestBody3$inboundSchema: z.ZodType<
|
|
|
2966
2970
|
z.ZodTypeDef,
|
|
2967
2971
|
unknown
|
|
2968
2972
|
> = z.object({
|
|
2969
|
-
action:
|
|
2973
|
+
action: UpdateFirewallConfigRequestBodySecurityRequestAction$inboundSchema,
|
|
2970
2974
|
id: z.string(),
|
|
2971
2975
|
value: z.lazy(() => UpdateFirewallConfigRequestBodyValue$inboundSchema),
|
|
2972
2976
|
});
|
|
@@ -2984,7 +2988,7 @@ export const UpdateFirewallConfigRequestBody3$outboundSchema: z.ZodType<
|
|
|
2984
2988
|
z.ZodTypeDef,
|
|
2985
2989
|
UpdateFirewallConfigRequestBody3
|
|
2986
2990
|
> = z.object({
|
|
2987
|
-
action:
|
|
2991
|
+
action: UpdateFirewallConfigRequestBodySecurityRequestAction$outboundSchema,
|
|
2988
2992
|
id: z.string(),
|
|
2989
2993
|
value: z.lazy(() => UpdateFirewallConfigRequestBodyValue$outboundSchema),
|
|
2990
2994
|
});
|
|
@@ -3023,27 +3027,26 @@ export function updateFirewallConfigRequestBody3FromJSON(
|
|
|
3023
3027
|
}
|
|
3024
3028
|
|
|
3025
3029
|
/** @internal */
|
|
3026
|
-
export const
|
|
3027
|
-
z.ZodNativeEnum<typeof
|
|
3028
|
-
|
|
3029
|
-
);
|
|
3030
|
+
export const UpdateFirewallConfigRequestBodySecurityAction$inboundSchema:
|
|
3031
|
+
z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityAction> = z
|
|
3032
|
+
.nativeEnum(UpdateFirewallConfigRequestBodySecurityAction);
|
|
3030
3033
|
|
|
3031
3034
|
/** @internal */
|
|
3032
|
-
export const
|
|
3033
|
-
z.ZodNativeEnum<typeof
|
|
3034
|
-
|
|
3035
|
+
export const UpdateFirewallConfigRequestBodySecurityAction$outboundSchema:
|
|
3036
|
+
z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodySecurityAction> =
|
|
3037
|
+
UpdateFirewallConfigRequestBodySecurityAction$inboundSchema;
|
|
3035
3038
|
|
|
3036
3039
|
/**
|
|
3037
3040
|
* @internal
|
|
3038
3041
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3039
3042
|
*/
|
|
3040
|
-
export namespace
|
|
3041
|
-
/** @deprecated use `
|
|
3043
|
+
export namespace UpdateFirewallConfigRequestBodySecurityAction$ {
|
|
3044
|
+
/** @deprecated use `UpdateFirewallConfigRequestBodySecurityAction$inboundSchema` instead. */
|
|
3042
3045
|
export const inboundSchema =
|
|
3043
|
-
|
|
3044
|
-
/** @deprecated use `
|
|
3046
|
+
UpdateFirewallConfigRequestBodySecurityAction$inboundSchema;
|
|
3047
|
+
/** @deprecated use `UpdateFirewallConfigRequestBodySecurityAction$outboundSchema` instead. */
|
|
3045
3048
|
export const outboundSchema =
|
|
3046
|
-
|
|
3049
|
+
UpdateFirewallConfigRequestBodySecurityAction$outboundSchema;
|
|
3047
3050
|
}
|
|
3048
3051
|
|
|
3049
3052
|
/** @internal */
|
|
@@ -3874,7 +3877,7 @@ export const UpdateFirewallConfigRequestBody2$inboundSchema: z.ZodType<
|
|
|
3874
3877
|
z.ZodTypeDef,
|
|
3875
3878
|
unknown
|
|
3876
3879
|
> = z.object({
|
|
3877
|
-
action:
|
|
3880
|
+
action: UpdateFirewallConfigRequestBodySecurityAction$inboundSchema,
|
|
3878
3881
|
id: z.nullable(z.any()).optional(),
|
|
3879
3882
|
value: z.lazy(() => RequestBodyValue$inboundSchema),
|
|
3880
3883
|
});
|
|
@@ -3892,7 +3895,7 @@ export const UpdateFirewallConfigRequestBody2$outboundSchema: z.ZodType<
|
|
|
3892
3895
|
z.ZodTypeDef,
|
|
3893
3896
|
UpdateFirewallConfigRequestBody2
|
|
3894
3897
|
> = z.object({
|
|
3895
|
-
action:
|
|
3898
|
+
action: UpdateFirewallConfigRequestBodySecurityAction$outboundSchema,
|
|
3896
3899
|
id: z.nullable(z.any()).optional(),
|
|
3897
3900
|
value: z.lazy(() => RequestBodyValue$outboundSchema),
|
|
3898
3901
|
});
|
|
@@ -3931,24 +3934,27 @@ export function updateFirewallConfigRequestBody2FromJSON(
|
|
|
3931
3934
|
}
|
|
3932
3935
|
|
|
3933
3936
|
/** @internal */
|
|
3934
|
-
export const
|
|
3935
|
-
typeof
|
|
3936
|
-
|
|
3937
|
+
export const UpdateFirewallConfigRequestBodyAction$inboundSchema:
|
|
3938
|
+
z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodyAction> = z.nativeEnum(
|
|
3939
|
+
UpdateFirewallConfigRequestBodyAction,
|
|
3940
|
+
);
|
|
3937
3941
|
|
|
3938
3942
|
/** @internal */
|
|
3939
|
-
export const
|
|
3940
|
-
typeof
|
|
3941
|
-
|
|
3943
|
+
export const UpdateFirewallConfigRequestBodyAction$outboundSchema:
|
|
3944
|
+
z.ZodNativeEnum<typeof UpdateFirewallConfigRequestBodyAction> =
|
|
3945
|
+
UpdateFirewallConfigRequestBodyAction$inboundSchema;
|
|
3942
3946
|
|
|
3943
3947
|
/**
|
|
3944
3948
|
* @internal
|
|
3945
3949
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3946
3950
|
*/
|
|
3947
|
-
export namespace
|
|
3948
|
-
/** @deprecated use `
|
|
3949
|
-
export const inboundSchema =
|
|
3950
|
-
|
|
3951
|
-
|
|
3951
|
+
export namespace UpdateFirewallConfigRequestBodyAction$ {
|
|
3952
|
+
/** @deprecated use `UpdateFirewallConfigRequestBodyAction$inboundSchema` instead. */
|
|
3953
|
+
export const inboundSchema =
|
|
3954
|
+
UpdateFirewallConfigRequestBodyAction$inboundSchema;
|
|
3955
|
+
/** @deprecated use `UpdateFirewallConfigRequestBodyAction$outboundSchema` instead. */
|
|
3956
|
+
export const outboundSchema =
|
|
3957
|
+
UpdateFirewallConfigRequestBodyAction$outboundSchema;
|
|
3952
3958
|
}
|
|
3953
3959
|
|
|
3954
3960
|
/** @internal */
|
|
@@ -3957,7 +3963,7 @@ export const UpdateFirewallConfigRequestBody1$inboundSchema: z.ZodType<
|
|
|
3957
3963
|
z.ZodTypeDef,
|
|
3958
3964
|
unknown
|
|
3959
3965
|
> = z.object({
|
|
3960
|
-
action:
|
|
3966
|
+
action: UpdateFirewallConfigRequestBodyAction$inboundSchema,
|
|
3961
3967
|
id: z.nullable(z.any()).optional(),
|
|
3962
3968
|
value: z.boolean(),
|
|
3963
3969
|
});
|
|
@@ -3975,7 +3981,7 @@ export const UpdateFirewallConfigRequestBody1$outboundSchema: z.ZodType<
|
|
|
3975
3981
|
z.ZodTypeDef,
|
|
3976
3982
|
UpdateFirewallConfigRequestBody1
|
|
3977
3983
|
> = z.object({
|
|
3978
|
-
action:
|
|
3984
|
+
action: UpdateFirewallConfigRequestBodyAction$outboundSchema,
|
|
3979
3985
|
id: z.nullable(z.any()).optional(),
|
|
3980
3986
|
value: z.boolean(),
|
|
3981
3987
|
});
|
|
@@ -9,13 +9,13 @@ import { ClosedEnum } from "../types/enums.js";
|
|
|
9
9
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
10
10
|
import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const
|
|
12
|
+
export const RequestBodyAction = {
|
|
13
13
|
Refund: "refund",
|
|
14
14
|
} as const;
|
|
15
|
-
export type
|
|
15
|
+
export type RequestBodyAction = ClosedEnum<typeof RequestBodyAction>;
|
|
16
16
|
|
|
17
|
-
export type
|
|
18
|
-
action:
|
|
17
|
+
export type UpdateInvoiceRequestBody1 = {
|
|
18
|
+
action: RequestBodyAction;
|
|
19
19
|
/**
|
|
20
20
|
* Refund reason.
|
|
21
21
|
*/
|
|
@@ -26,62 +26,113 @@ export type UpdateInvoiceRequestBody = {
|
|
|
26
26
|
total: string;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
+
export type UpdateInvoiceRequestBody = UpdateInvoiceRequestBody1;
|
|
30
|
+
|
|
29
31
|
export type UpdateInvoiceRequest = {
|
|
30
32
|
integrationConfigurationId: string;
|
|
31
33
|
invoiceId: string;
|
|
32
|
-
requestBody:
|
|
34
|
+
requestBody: UpdateInvoiceRequestBody1;
|
|
33
35
|
};
|
|
34
36
|
|
|
35
37
|
/** @internal */
|
|
36
|
-
export const
|
|
37
|
-
typeof
|
|
38
|
-
> = z.nativeEnum(
|
|
38
|
+
export const RequestBodyAction$inboundSchema: z.ZodNativeEnum<
|
|
39
|
+
typeof RequestBodyAction
|
|
40
|
+
> = z.nativeEnum(RequestBodyAction);
|
|
39
41
|
|
|
40
42
|
/** @internal */
|
|
41
|
-
export const
|
|
42
|
-
typeof
|
|
43
|
-
> =
|
|
43
|
+
export const RequestBodyAction$outboundSchema: z.ZodNativeEnum<
|
|
44
|
+
typeof RequestBodyAction
|
|
45
|
+
> = RequestBodyAction$inboundSchema;
|
|
44
46
|
|
|
45
47
|
/**
|
|
46
48
|
* @internal
|
|
47
49
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
48
50
|
*/
|
|
49
|
-
export namespace
|
|
50
|
-
/** @deprecated use `
|
|
51
|
-
export const inboundSchema =
|
|
52
|
-
/** @deprecated use `
|
|
53
|
-
export const outboundSchema =
|
|
51
|
+
export namespace RequestBodyAction$ {
|
|
52
|
+
/** @deprecated use `RequestBodyAction$inboundSchema` instead. */
|
|
53
|
+
export const inboundSchema = RequestBodyAction$inboundSchema;
|
|
54
|
+
/** @deprecated use `RequestBodyAction$outboundSchema` instead. */
|
|
55
|
+
export const outboundSchema = RequestBodyAction$outboundSchema;
|
|
54
56
|
}
|
|
55
57
|
|
|
56
58
|
/** @internal */
|
|
57
|
-
export const
|
|
58
|
-
|
|
59
|
+
export const UpdateInvoiceRequestBody1$inboundSchema: z.ZodType<
|
|
60
|
+
UpdateInvoiceRequestBody1,
|
|
59
61
|
z.ZodTypeDef,
|
|
60
62
|
unknown
|
|
61
63
|
> = z.object({
|
|
62
|
-
action:
|
|
64
|
+
action: RequestBodyAction$inboundSchema,
|
|
63
65
|
reason: z.string(),
|
|
64
66
|
total: z.string(),
|
|
65
67
|
});
|
|
66
68
|
|
|
67
69
|
/** @internal */
|
|
68
|
-
export type
|
|
70
|
+
export type UpdateInvoiceRequestBody1$Outbound = {
|
|
69
71
|
action: string;
|
|
70
72
|
reason: string;
|
|
71
73
|
total: string;
|
|
72
74
|
};
|
|
73
75
|
|
|
74
76
|
/** @internal */
|
|
75
|
-
export const
|
|
76
|
-
|
|
77
|
+
export const UpdateInvoiceRequestBody1$outboundSchema: z.ZodType<
|
|
78
|
+
UpdateInvoiceRequestBody1$Outbound,
|
|
77
79
|
z.ZodTypeDef,
|
|
78
|
-
|
|
80
|
+
UpdateInvoiceRequestBody1
|
|
79
81
|
> = z.object({
|
|
80
|
-
action:
|
|
82
|
+
action: RequestBodyAction$outboundSchema,
|
|
81
83
|
reason: z.string(),
|
|
82
84
|
total: z.string(),
|
|
83
85
|
});
|
|
84
86
|
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
90
|
+
*/
|
|
91
|
+
export namespace UpdateInvoiceRequestBody1$ {
|
|
92
|
+
/** @deprecated use `UpdateInvoiceRequestBody1$inboundSchema` instead. */
|
|
93
|
+
export const inboundSchema = UpdateInvoiceRequestBody1$inboundSchema;
|
|
94
|
+
/** @deprecated use `UpdateInvoiceRequestBody1$outboundSchema` instead. */
|
|
95
|
+
export const outboundSchema = UpdateInvoiceRequestBody1$outboundSchema;
|
|
96
|
+
/** @deprecated use `UpdateInvoiceRequestBody1$Outbound` instead. */
|
|
97
|
+
export type Outbound = UpdateInvoiceRequestBody1$Outbound;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export function updateInvoiceRequestBody1ToJSON(
|
|
101
|
+
updateInvoiceRequestBody1: UpdateInvoiceRequestBody1,
|
|
102
|
+
): string {
|
|
103
|
+
return JSON.stringify(
|
|
104
|
+
UpdateInvoiceRequestBody1$outboundSchema.parse(updateInvoiceRequestBody1),
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function updateInvoiceRequestBody1FromJSON(
|
|
109
|
+
jsonString: string,
|
|
110
|
+
): SafeParseResult<UpdateInvoiceRequestBody1, SDKValidationError> {
|
|
111
|
+
return safeParse(
|
|
112
|
+
jsonString,
|
|
113
|
+
(x) => UpdateInvoiceRequestBody1$inboundSchema.parse(JSON.parse(x)),
|
|
114
|
+
`Failed to parse 'UpdateInvoiceRequestBody1' from JSON`,
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/** @internal */
|
|
119
|
+
export const UpdateInvoiceRequestBody$inboundSchema: z.ZodType<
|
|
120
|
+
UpdateInvoiceRequestBody,
|
|
121
|
+
z.ZodTypeDef,
|
|
122
|
+
unknown
|
|
123
|
+
> = z.lazy(() => UpdateInvoiceRequestBody1$inboundSchema);
|
|
124
|
+
|
|
125
|
+
/** @internal */
|
|
126
|
+
export type UpdateInvoiceRequestBody$Outbound =
|
|
127
|
+
UpdateInvoiceRequestBody1$Outbound;
|
|
128
|
+
|
|
129
|
+
/** @internal */
|
|
130
|
+
export const UpdateInvoiceRequestBody$outboundSchema: z.ZodType<
|
|
131
|
+
UpdateInvoiceRequestBody$Outbound,
|
|
132
|
+
z.ZodTypeDef,
|
|
133
|
+
UpdateInvoiceRequestBody
|
|
134
|
+
> = z.lazy(() => UpdateInvoiceRequestBody1$outboundSchema);
|
|
135
|
+
|
|
85
136
|
/**
|
|
86
137
|
* @internal
|
|
87
138
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
@@ -121,7 +172,7 @@ export const UpdateInvoiceRequest$inboundSchema: z.ZodType<
|
|
|
121
172
|
> = z.object({
|
|
122
173
|
integrationConfigurationId: z.string(),
|
|
123
174
|
invoiceId: z.string(),
|
|
124
|
-
RequestBody: z.lazy(() =>
|
|
175
|
+
RequestBody: z.lazy(() => UpdateInvoiceRequestBody1$inboundSchema),
|
|
125
176
|
}).transform((v) => {
|
|
126
177
|
return remap$(v, {
|
|
127
178
|
"RequestBody": "requestBody",
|
|
@@ -132,7 +183,7 @@ export const UpdateInvoiceRequest$inboundSchema: z.ZodType<
|
|
|
132
183
|
export type UpdateInvoiceRequest$Outbound = {
|
|
133
184
|
integrationConfigurationId: string;
|
|
134
185
|
invoiceId: string;
|
|
135
|
-
RequestBody:
|
|
186
|
+
RequestBody: UpdateInvoiceRequestBody1$Outbound;
|
|
136
187
|
};
|
|
137
188
|
|
|
138
189
|
/** @internal */
|
|
@@ -143,7 +194,7 @@ export const UpdateInvoiceRequest$outboundSchema: z.ZodType<
|
|
|
143
194
|
> = z.object({
|
|
144
195
|
integrationConfigurationId: z.string(),
|
|
145
196
|
invoiceId: z.string(),
|
|
146
|
-
requestBody: z.lazy(() =>
|
|
197
|
+
requestBody: z.lazy(() => UpdateInvoiceRequestBody1$outboundSchema),
|
|
147
198
|
}).transform((v) => {
|
|
148
199
|
return remap$(v, {
|
|
149
200
|
requestBody: "RequestBody",
|
|
@@ -120,11 +120,29 @@ export type UpdateProjectDataCacheDataCache = {
|
|
|
120
120
|
unlimited?: boolean | undefined;
|
|
121
121
|
};
|
|
122
122
|
|
|
123
|
+
/**
|
|
124
|
+
* Retention policies for deployments. These are enforced at the project level, but we also maintain an instance of this at the team level as a default policy that gets applied to new projects.
|
|
125
|
+
*/
|
|
123
126
|
export type DeploymentExpiration = {
|
|
127
|
+
/**
|
|
128
|
+
* Number of days to keep non-production deployments (mostly preview deployments) before soft deletion.
|
|
129
|
+
*/
|
|
124
130
|
expirationDays?: number | undefined;
|
|
131
|
+
/**
|
|
132
|
+
* Number of days to keep production deployments before soft deletion.
|
|
133
|
+
*/
|
|
125
134
|
expirationDaysProduction?: number | undefined;
|
|
135
|
+
/**
|
|
136
|
+
* Number of days to keep canceled deployments before soft deletion.
|
|
137
|
+
*/
|
|
126
138
|
expirationDaysCanceled?: number | undefined;
|
|
139
|
+
/**
|
|
140
|
+
* Number of days to keep errored deployments before soft deletion.
|
|
141
|
+
*/
|
|
127
142
|
expirationDaysErrored?: number | undefined;
|
|
143
|
+
/**
|
|
144
|
+
* Minimum number of production deployments to keep for this project, even if they are over the production expiration limit.
|
|
145
|
+
*/
|
|
128
146
|
deploymentsToKeep?: number | undefined;
|
|
129
147
|
};
|
|
130
148
|
|
|
@@ -1800,6 +1818,9 @@ export type UpdateProjectDataCacheResponseBody = {
|
|
|
1800
1818
|
customerSupportCodeVisibility?: boolean | undefined;
|
|
1801
1819
|
crons?: Crons | undefined;
|
|
1802
1820
|
dataCache?: UpdateProjectDataCacheDataCache | undefined;
|
|
1821
|
+
/**
|
|
1822
|
+
* Retention policies for deployments. These are enforced at the project level, but we also maintain an instance of this at the team level as a default policy that gets applied to new projects.
|
|
1823
|
+
*/
|
|
1803
1824
|
deploymentExpiration?: DeploymentExpiration | null | undefined;
|
|
1804
1825
|
devCommand?: string | null | undefined;
|
|
1805
1826
|
directoryListing: boolean;
|
|
@@ -522,11 +522,29 @@ export type UpdateProjectDataCache = {
|
|
|
522
522
|
unlimited?: boolean | undefined;
|
|
523
523
|
};
|
|
524
524
|
|
|
525
|
+
/**
|
|
526
|
+
* Retention policies for deployments. These are enforced at the project level, but we also maintain an instance of this at the team level as a default policy that gets applied to new projects.
|
|
527
|
+
*/
|
|
525
528
|
export type UpdateProjectDeploymentExpiration = {
|
|
529
|
+
/**
|
|
530
|
+
* Number of days to keep non-production deployments (mostly preview deployments) before soft deletion.
|
|
531
|
+
*/
|
|
526
532
|
expirationDays?: number | undefined;
|
|
533
|
+
/**
|
|
534
|
+
* Number of days to keep production deployments before soft deletion.
|
|
535
|
+
*/
|
|
527
536
|
expirationDaysProduction?: number | undefined;
|
|
537
|
+
/**
|
|
538
|
+
* Number of days to keep canceled deployments before soft deletion.
|
|
539
|
+
*/
|
|
528
540
|
expirationDaysCanceled?: number | undefined;
|
|
541
|
+
/**
|
|
542
|
+
* Number of days to keep errored deployments before soft deletion.
|
|
543
|
+
*/
|
|
529
544
|
expirationDaysErrored?: number | undefined;
|
|
545
|
+
/**
|
|
546
|
+
* Minimum number of production deployments to keep for this project, even if they are over the production expiration limit.
|
|
547
|
+
*/
|
|
530
548
|
deploymentsToKeep?: number | undefined;
|
|
531
549
|
};
|
|
532
550
|
|
|
@@ -2195,6 +2213,9 @@ export type UpdateProjectResponseBody = {
|
|
|
2195
2213
|
customerSupportCodeVisibility?: boolean | undefined;
|
|
2196
2214
|
crons?: UpdateProjectCrons | undefined;
|
|
2197
2215
|
dataCache?: UpdateProjectDataCache | undefined;
|
|
2216
|
+
/**
|
|
2217
|
+
* Retention policies for deployments. These are enforced at the project level, but we also maintain an instance of this at the team level as a default policy that gets applied to new projects.
|
|
2218
|
+
*/
|
|
2198
2219
|
deploymentExpiration?: UpdateProjectDeploymentExpiration | null | undefined;
|
|
2199
2220
|
devCommand?: string | null | undefined;
|
|
2200
2221
|
directoryListing: boolean;
|