@vercel/sdk 1.10.5 → 1.10.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +58 -45
- package/bin/mcp-server.js +5829 -1512
- package/bin/mcp-server.js.map +44 -35
- package/docs/sdks/integrations/README.md +209 -0
- package/docs/sdks/projects/README.md +4 -0
- package/docs/sdks/teams/README.md +12 -0
- package/docs/sdks/vercel/README.md +74 -0
- package/esm/__tests__/domains.test.js +7 -2
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +6 -6
- package/esm/__tests__/edgeconfig.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +62 -0
- package/esm/__tests__/integrations.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +1 -1
- package/esm/__tests__/security.test.js +1 -11
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/__tests__/vercel.test.js +28 -1
- package/esm/__tests__/vercel.test.js.map +1 -1
- package/esm/funcs/domainsCheckDomainPrice.js +2 -2
- package/esm/funcs/domainsCheckDomainPrice.js.map +1 -1
- package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts +14 -0
- package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts.map +1 -0
- package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js +84 -0
- package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js.map +1 -0
- package/esm/funcs/integrationsConnectIntegrationResourceToProject.d.ts +20 -0
- package/esm/funcs/integrationsConnectIntegrationResourceToProject.d.ts.map +1 -0
- package/esm/funcs/integrationsConnectIntegrationResourceToProject.js +97 -0
- package/esm/funcs/integrationsConnectIntegrationResourceToProject.js.map +1 -0
- package/esm/funcs/integrationsCreateIntegrationStoreDirect.d.ts +21 -0
- package/esm/funcs/integrationsCreateIntegrationStoreDirect.d.ts.map +1 -0
- package/esm/funcs/integrationsCreateIntegrationStoreDirect.js +90 -0
- package/esm/funcs/integrationsCreateIntegrationStoreDirect.js.map +1 -0
- package/esm/funcs/marketplaceExchangeSsoToken.js +2 -2
- package/esm/funcs/marketplaceExchangeSsoToken.js.map +1 -1
- package/esm/funcs/marketplaceSubmitInvoice.js +2 -2
- package/esm/funcs/marketplaceSubmitInvoice.js.map +1 -1
- package/esm/funcs/marketplaceUpdateInvoice.js +2 -2
- package/esm/funcs/marketplaceUpdateInvoice.js.map +1 -1
- package/esm/funcs/projectsGetProjects.js +2 -0
- package/esm/funcs/projectsGetProjects.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +7 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts +7 -0
- package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts.map +1 -0
- package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js +26 -0
- package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js.map +1 -0
- package/esm/mcp-server/tools/integrationsConnectIntegrationResourceToProject.d.ts +7 -0
- package/esm/mcp-server/tools/integrationsConnectIntegrationResourceToProject.d.ts.map +1 -0
- package/esm/mcp-server/tools/integrationsConnectIntegrationResourceToProject.js +27 -0
- package/esm/mcp-server/tools/integrationsConnectIntegrationResourceToProject.js.map +1 -0
- package/esm/mcp-server/tools/integrationsCreateIntegrationStoreDirect.d.ts +7 -0
- package/esm/mcp-server/tools/integrationsCreateIntegrationStoreDirect.d.ts.map +1 -0
- package/esm/mcp-server/tools/integrationsCreateIntegrationStoreDirect.js +28 -0
- package/esm/mcp-server/tools/integrationsCreateIntegrationStoreDirect.js.map +1 -0
- package/esm/models/acceptprojecttransferrequestop.d.ts +37 -0
- package/esm/models/acceptprojecttransferrequestop.d.ts.map +1 -1
- package/esm/models/acceptprojecttransferrequestop.js +40 -1
- package/esm/models/acceptprojecttransferrequestop.js.map +1 -1
- package/esm/models/authuser.d.ts +3 -3
- package/esm/models/authuser.js +1 -1
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +45 -7
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +31 -2
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/connectintegrationresourcetoprojectop.d.ts +68 -0
- package/esm/models/connectintegrationresourcetoprojectop.d.ts.map +1 -0
- package/esm/models/connectintegrationresourcetoprojectop.js +73 -0
- package/esm/models/connectintegrationresourcetoprojectop.js.map +1 -0
- package/esm/models/createdeploymentop.d.ts +259 -221
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +233 -206
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +5995 -0
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -0
- package/esm/models/createintegrationstoredirectop.js +6597 -0
- package/esm/models/createintegrationstoredirectop.js.map +1 -0
- package/esm/models/createprojectop.d.ts +31 -4
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +10 -4
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/createwebhookop.d.ts +12 -0
- package/esm/models/createwebhookop.d.ts.map +1 -1
- package/esm/models/createwebhookop.js +4 -0
- package/esm/models/createwebhookop.js.map +1 -1
- package/esm/models/getconfigurationop.d.ts +6 -0
- package/esm/models/getconfigurationop.d.ts.map +1 -1
- package/esm/models/getconfigurationop.js +2 -0
- package/esm/models/getconfigurationop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +533 -533
- package/esm/models/getconfigurationproductsop.d.ts.map +1 -1
- package/esm/models/getconfigurationproductsop.js +666 -665
- package/esm/models/getconfigurationproductsop.js.map +1 -1
- package/esm/models/getconfigurationsop.d.ts +6 -0
- package/esm/models/getconfigurationsop.d.ts.map +1 -1
- package/esm/models/getconfigurationsop.js +2 -0
- package/esm/models/getconfigurationsop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +45 -7
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +30 -2
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getintegrationresourceop.d.ts +13 -13
- package/esm/models/getintegrationresourceop.d.ts.map +1 -1
- package/esm/models/getintegrationresourceop.js +13 -13
- package/esm/models/getintegrationresourceop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +101 -4
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +57 -4
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getteammembersop.d.ts +102 -9
- package/esm/models/getteammembersop.d.ts.map +1 -1
- package/esm/models/getteammembersop.js +60 -3
- package/esm/models/getteammembersop.js.map +1 -1
- package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.d.ts +247 -0
- package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.d.ts.map +1 -0
- package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js +246 -0
- package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js.map +1 -0
- package/esm/models/getwebhookop.d.ts +6 -0
- package/esm/models/getwebhookop.d.ts.map +1 -1
- package/esm/models/getwebhookop.js +2 -0
- package/esm/models/getwebhookop.js.map +1 -1
- package/esm/models/getwebhooksop.d.ts +27 -15
- package/esm/models/getwebhooksop.d.ts.map +1 -1
- package/esm/models/getwebhooksop.js +19 -15
- package/esm/models/getwebhooksop.js.map +1 -1
- package/esm/models/inviteusertoteamop.d.ts +3 -0
- package/esm/models/inviteusertoteamop.d.ts.map +1 -1
- package/esm/models/inviteusertoteamop.js +1 -0
- package/esm/models/inviteusertoteamop.js.map +1 -1
- package/esm/models/patchteamop.d.ts +253 -0
- package/esm/models/patchteamop.d.ts.map +1 -1
- package/esm/models/patchteamop.js +150 -0
- package/esm/models/patchteamop.js.map +1 -1
- package/esm/models/team.d.ts +47 -0
- package/esm/models/team.d.ts.map +1 -1
- package/esm/models/team.js +36 -0
- package/esm/models/team.js.map +1 -1
- package/esm/models/teamlimited.d.ts +3 -0
- package/esm/models/teamlimited.d.ts.map +1 -1
- package/esm/models/teamlimited.js +1 -0
- package/esm/models/teamlimited.js.map +1 -1
- package/esm/models/updatefirewallconfigop.d.ts +32 -32
- package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
- package/esm/models/updatefirewallconfigop.js +49 -49
- package/esm/models/updatefirewallconfigop.js.map +1 -1
- package/esm/models/updateinvoiceop.d.ts +36 -15
- package/esm/models/updateinvoiceop.d.ts.map +1 -1
- package/esm/models/updateinvoiceop.js +37 -16
- package/esm/models/updateinvoiceop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +25 -0
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +4 -0
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +31 -4
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +10 -4
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/userevent.d.ts +406 -305
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +467 -365
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/integrations.d.ts +16 -0
- package/esm/sdk/integrations.d.ts.map +1 -1
- package/esm/sdk/integrations.js +20 -0
- package/esm/sdk/integrations.js.map +1 -1
- package/esm/sdk/sdk.d.ts +3 -1
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +5 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/domains.test.ts +7 -2
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/integrations.test.ts +65 -0
- package/src/__tests__/rollingrelease.test.ts +1 -1
- package/src/__tests__/security.test.ts +1 -11
- package/src/__tests__/vercel.test.ts +36 -1
- package/src/funcs/domainsCheckDomainPrice.ts +2 -2
- package/src/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts +207 -0
- package/src/funcs/integrationsConnectIntegrationResourceToProject.ts +213 -0
- package/src/funcs/integrationsCreateIntegrationStoreDirect.ts +207 -0
- package/src/funcs/marketplaceExchangeSsoToken.ts +2 -2
- package/src/funcs/marketplaceSubmitInvoice.ts +2 -2
- package/src/funcs/marketplaceUpdateInvoice.ts +2 -2
- package/src/funcs/projectsGetProjects.ts +2 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +9 -1
- package/src/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts +41 -0
- package/src/mcp-server/tools/integrationsConnectIntegrationResourceToProject.ts +37 -0
- package/src/mcp-server/tools/integrationsCreateIntegrationStoreDirect.ts +39 -0
- package/src/models/acceptprojecttransferrequestop.ts +88 -1
- package/src/models/authuser.ts +1 -1
- package/src/models/canceldeploymentop.ts +56 -9
- package/src/models/connectintegrationresourcetoprojectop.ts +185 -0
- package/src/models/createdeploymentop.ts +540 -498
- package/src/models/createintegrationstoredirectop.ts +15739 -0
- package/src/models/createprojectop.ts +41 -8
- package/src/models/createwebhookop.ts +4 -0
- package/src/models/getconfigurationop.ts +2 -0
- package/src/models/getconfigurationproductsop.ts +1326 -1163
- package/src/models/getconfigurationsop.ts +2 -0
- package/src/models/getdeploymentop.ts +59 -9
- package/src/models/getintegrationresourceop.ts +26 -20
- package/src/models/getprojectsop.ts +122 -8
- package/src/models/getteammembersop.ts +84 -3
- package/src/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.ts +575 -0
- package/src/models/getwebhookop.ts +2 -0
- package/src/models/getwebhooksop.ts +31 -25
- package/src/models/inviteusertoteamop.ts +1 -0
- package/src/models/patchteamop.ts +254 -0
- package/src/models/team.ts +92 -0
- package/src/models/teamlimited.ts +1 -0
- package/src/models/updatefirewallconfigop.ts +74 -68
- package/src/models/updateinvoiceop.ts +78 -27
- package/src/models/updateprojectdatacacheop.ts +29 -0
- package/src/models/updateprojectop.ts +41 -8
- package/src/models/userevent.ts +918 -682
- package/src/sdk/integrations.ts +41 -0
- package/src/sdk/sdk.ts +23 -1
- package/vercel-spec.json +3689 -540
|
@@ -79,6 +79,7 @@ export const GetConfigurationsResponseBodyIntegrationsSource = {
|
|
|
79
79
|
DeployButton: "deploy-button",
|
|
80
80
|
External: "external",
|
|
81
81
|
V0: "v0",
|
|
82
|
+
ResourceClaims: "resource-claims",
|
|
82
83
|
} as const;
|
|
83
84
|
/**
|
|
84
85
|
* Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
|
|
@@ -198,6 +199,7 @@ export const GetConfigurationsResponseBodySource = {
|
|
|
198
199
|
DeployButton: "deploy-button",
|
|
199
200
|
External: "external",
|
|
200
201
|
V0: "v0",
|
|
202
|
+
ResourceClaims: "resource-claims",
|
|
201
203
|
} as const;
|
|
202
204
|
/**
|
|
203
205
|
* Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
|
|
@@ -1615,6 +1615,7 @@ export type ResponseBodyFunctions = {
|
|
|
1615
1615
|
includeFiles?: string | undefined;
|
|
1616
1616
|
excludeFiles?: string | undefined;
|
|
1617
1617
|
experimentalTriggers?: Array<ResponseBodyExperimentalTriggers> | undefined;
|
|
1618
|
+
supportsCancellation?: boolean | undefined;
|
|
1618
1619
|
};
|
|
1619
1620
|
|
|
1620
1621
|
export type GetDeploymentRoutes3 = {
|
|
@@ -1992,7 +1993,7 @@ export type ResponseBodyFlags =
|
|
|
1992
1993
|
| Array<GetDeploymentFlags2>;
|
|
1993
1994
|
|
|
1994
1995
|
/**
|
|
1995
|
-
* A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment.
|
|
1996
|
+
* A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. Note: this field will be removed when MFE alias routing is fully rolled out.
|
|
1996
1997
|
*/
|
|
1997
1998
|
export type GetDeploymentMicrofrontendsApplications = {
|
|
1998
1999
|
isDefaultApp?: boolean | undefined;
|
|
@@ -2007,14 +2008,35 @@ export type GetDeploymentMicrofrontendsApplications = {
|
|
|
2007
2008
|
deploymentHost?: string | undefined;
|
|
2008
2009
|
};
|
|
2009
2010
|
|
|
2011
|
+
/**
|
|
2012
|
+
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `error` - The config upload failed. - `no_config` - No config was found to upload. - `undefined` - The config upload has not been attempted yet.
|
|
2013
|
+
*/
|
|
2014
|
+
export const GetDeploymentMicrofrontendsMfeConfigUploadState = {
|
|
2015
|
+
Error: "error",
|
|
2016
|
+
Success: "success",
|
|
2017
|
+
NoConfig: "no_config",
|
|
2018
|
+
} as const;
|
|
2019
|
+
/**
|
|
2020
|
+
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `error` - The config upload failed. - `no_config` - No config was found to upload. - `undefined` - The config upload has not been attempted yet.
|
|
2021
|
+
*/
|
|
2022
|
+
export type GetDeploymentMicrofrontendsMfeConfigUploadState = ClosedEnum<
|
|
2023
|
+
typeof GetDeploymentMicrofrontendsMfeConfigUploadState
|
|
2024
|
+
>;
|
|
2025
|
+
|
|
2010
2026
|
export type GetDeploymentMicrofrontends2 = {
|
|
2027
|
+
isDefaultApp: boolean;
|
|
2011
2028
|
/**
|
|
2012
|
-
* A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment.
|
|
2029
|
+
* A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. Note: this field will be removed when MFE alias routing is fully rolled out.
|
|
2013
2030
|
*/
|
|
2014
2031
|
applications?:
|
|
2015
2032
|
| { [k: string]: GetDeploymentMicrofrontendsApplications }
|
|
2016
2033
|
| undefined;
|
|
2017
|
-
|
|
2034
|
+
/**
|
|
2035
|
+
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `error` - The config upload failed. - `no_config` - No config was found to upload. - `undefined` - The config upload has not been attempted yet.
|
|
2036
|
+
*/
|
|
2037
|
+
mfeConfigUploadState?:
|
|
2038
|
+
| GetDeploymentMicrofrontendsMfeConfigUploadState
|
|
2039
|
+
| undefined;
|
|
2018
2040
|
/**
|
|
2019
2041
|
* The project name of the default app of this deployment's microfrontends group.
|
|
2020
2042
|
*/
|
|
@@ -2034,9 +2056,6 @@ export type GetDeploymentMicrofrontends2 = {
|
|
|
2034
2056
|
};
|
|
2035
2057
|
|
|
2036
2058
|
export type GetDeploymentMicrofrontends1 = {
|
|
2037
|
-
/**
|
|
2038
|
-
* Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends.
|
|
2039
|
-
*/
|
|
2040
2059
|
isDefaultApp?: boolean | undefined;
|
|
2041
2060
|
/**
|
|
2042
2061
|
* The project name of the default app of this deployment's microfrontends group.
|
|
@@ -9825,6 +9844,7 @@ export const ResponseBodyFunctions$inboundSchema: z.ZodType<
|
|
|
9825
9844
|
experimentalTriggers: z.array(
|
|
9826
9845
|
z.lazy(() => ResponseBodyExperimentalTriggers$inboundSchema),
|
|
9827
9846
|
).optional(),
|
|
9847
|
+
supportsCancellation: z.boolean().optional(),
|
|
9828
9848
|
});
|
|
9829
9849
|
|
|
9830
9850
|
/** @internal */
|
|
@@ -9838,6 +9858,7 @@ export type ResponseBodyFunctions$Outbound = {
|
|
|
9838
9858
|
experimentalTriggers?:
|
|
9839
9859
|
| Array<ResponseBodyExperimentalTriggers$Outbound>
|
|
9840
9860
|
| undefined;
|
|
9861
|
+
supportsCancellation?: boolean | undefined;
|
|
9841
9862
|
};
|
|
9842
9863
|
|
|
9843
9864
|
/** @internal */
|
|
@@ -9855,6 +9876,7 @@ export const ResponseBodyFunctions$outboundSchema: z.ZodType<
|
|
|
9855
9876
|
experimentalTriggers: z.array(
|
|
9856
9877
|
z.lazy(() => ResponseBodyExperimentalTriggers$outboundSchema),
|
|
9857
9878
|
).optional(),
|
|
9879
|
+
supportsCancellation: z.boolean().optional(),
|
|
9858
9880
|
});
|
|
9859
9881
|
|
|
9860
9882
|
/**
|
|
@@ -12785,16 +12807,41 @@ export function getDeploymentMicrofrontendsApplicationsFromJSON(
|
|
|
12785
12807
|
);
|
|
12786
12808
|
}
|
|
12787
12809
|
|
|
12810
|
+
/** @internal */
|
|
12811
|
+
export const GetDeploymentMicrofrontendsMfeConfigUploadState$inboundSchema:
|
|
12812
|
+
z.ZodNativeEnum<typeof GetDeploymentMicrofrontendsMfeConfigUploadState> = z
|
|
12813
|
+
.nativeEnum(GetDeploymentMicrofrontendsMfeConfigUploadState);
|
|
12814
|
+
|
|
12815
|
+
/** @internal */
|
|
12816
|
+
export const GetDeploymentMicrofrontendsMfeConfigUploadState$outboundSchema:
|
|
12817
|
+
z.ZodNativeEnum<typeof GetDeploymentMicrofrontendsMfeConfigUploadState> =
|
|
12818
|
+
GetDeploymentMicrofrontendsMfeConfigUploadState$inboundSchema;
|
|
12819
|
+
|
|
12820
|
+
/**
|
|
12821
|
+
* @internal
|
|
12822
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
12823
|
+
*/
|
|
12824
|
+
export namespace GetDeploymentMicrofrontendsMfeConfigUploadState$ {
|
|
12825
|
+
/** @deprecated use `GetDeploymentMicrofrontendsMfeConfigUploadState$inboundSchema` instead. */
|
|
12826
|
+
export const inboundSchema =
|
|
12827
|
+
GetDeploymentMicrofrontendsMfeConfigUploadState$inboundSchema;
|
|
12828
|
+
/** @deprecated use `GetDeploymentMicrofrontendsMfeConfigUploadState$outboundSchema` instead. */
|
|
12829
|
+
export const outboundSchema =
|
|
12830
|
+
GetDeploymentMicrofrontendsMfeConfigUploadState$outboundSchema;
|
|
12831
|
+
}
|
|
12832
|
+
|
|
12788
12833
|
/** @internal */
|
|
12789
12834
|
export const GetDeploymentMicrofrontends2$inboundSchema: z.ZodType<
|
|
12790
12835
|
GetDeploymentMicrofrontends2,
|
|
12791
12836
|
z.ZodTypeDef,
|
|
12792
12837
|
unknown
|
|
12793
12838
|
> = z.object({
|
|
12839
|
+
isDefaultApp: z.boolean(),
|
|
12794
12840
|
applications: z.record(
|
|
12795
12841
|
z.lazy(() => GetDeploymentMicrofrontendsApplications$inboundSchema),
|
|
12796
12842
|
).optional(),
|
|
12797
|
-
|
|
12843
|
+
mfeConfigUploadState:
|
|
12844
|
+
GetDeploymentMicrofrontendsMfeConfigUploadState$inboundSchema.optional(),
|
|
12798
12845
|
defaultAppProjectName: z.string(),
|
|
12799
12846
|
defaultRoute: z.string().optional(),
|
|
12800
12847
|
groupIds: z.array(z.string()),
|
|
@@ -12803,10 +12850,11 @@ export const GetDeploymentMicrofrontends2$inboundSchema: z.ZodType<
|
|
|
12803
12850
|
|
|
12804
12851
|
/** @internal */
|
|
12805
12852
|
export type GetDeploymentMicrofrontends2$Outbound = {
|
|
12853
|
+
isDefaultApp: boolean;
|
|
12806
12854
|
applications?: {
|
|
12807
12855
|
[k: string]: GetDeploymentMicrofrontendsApplications$Outbound;
|
|
12808
12856
|
} | undefined;
|
|
12809
|
-
|
|
12857
|
+
mfeConfigUploadState?: string | undefined;
|
|
12810
12858
|
defaultAppProjectName: string;
|
|
12811
12859
|
defaultRoute?: string | undefined;
|
|
12812
12860
|
groupIds: Array<string>;
|
|
@@ -12819,10 +12867,12 @@ export const GetDeploymentMicrofrontends2$outboundSchema: z.ZodType<
|
|
|
12819
12867
|
z.ZodTypeDef,
|
|
12820
12868
|
GetDeploymentMicrofrontends2
|
|
12821
12869
|
> = z.object({
|
|
12870
|
+
isDefaultApp: z.boolean(),
|
|
12822
12871
|
applications: z.record(
|
|
12823
12872
|
z.lazy(() => GetDeploymentMicrofrontendsApplications$outboundSchema),
|
|
12824
12873
|
).optional(),
|
|
12825
|
-
|
|
12874
|
+
mfeConfigUploadState:
|
|
12875
|
+
GetDeploymentMicrofrontendsMfeConfigUploadState$outboundSchema.optional(),
|
|
12826
12876
|
defaultAppProjectName: z.string(),
|
|
12827
12877
|
defaultRoute: z.string().optional(),
|
|
12828
12878
|
groupIds: z.array(z.string()),
|
|
@@ -69,7 +69,7 @@ export type GetIntegrationResourceNotification = {
|
|
|
69
69
|
href?: string | undefined;
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
export type
|
|
72
|
+
export type GetIntegrationResourceMetadata =
|
|
73
73
|
| string
|
|
74
74
|
| number
|
|
75
75
|
| boolean
|
|
@@ -398,8 +398,8 @@ export function getIntegrationResourceNotificationFromJSON(
|
|
|
398
398
|
}
|
|
399
399
|
|
|
400
400
|
/** @internal */
|
|
401
|
-
export const
|
|
402
|
-
|
|
401
|
+
export const GetIntegrationResourceMetadata$inboundSchema: z.ZodType<
|
|
402
|
+
GetIntegrationResourceMetadata,
|
|
403
403
|
z.ZodTypeDef,
|
|
404
404
|
unknown
|
|
405
405
|
> = z.union([
|
|
@@ -411,7 +411,7 @@ export const Metadata$inboundSchema: z.ZodType<
|
|
|
411
411
|
]);
|
|
412
412
|
|
|
413
413
|
/** @internal */
|
|
414
|
-
export type
|
|
414
|
+
export type GetIntegrationResourceMetadata$Outbound =
|
|
415
415
|
| string
|
|
416
416
|
| number
|
|
417
417
|
| boolean
|
|
@@ -419,10 +419,10 @@ export type Metadata$Outbound =
|
|
|
419
419
|
| Array<number>;
|
|
420
420
|
|
|
421
421
|
/** @internal */
|
|
422
|
-
export const
|
|
423
|
-
|
|
422
|
+
export const GetIntegrationResourceMetadata$outboundSchema: z.ZodType<
|
|
423
|
+
GetIntegrationResourceMetadata$Outbound,
|
|
424
424
|
z.ZodTypeDef,
|
|
425
|
-
|
|
425
|
+
GetIntegrationResourceMetadata
|
|
426
426
|
> = z.union([
|
|
427
427
|
z.string(),
|
|
428
428
|
z.number(),
|
|
@@ -435,26 +435,32 @@ export const Metadata$outboundSchema: z.ZodType<
|
|
|
435
435
|
* @internal
|
|
436
436
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
437
437
|
*/
|
|
438
|
-
export namespace
|
|
439
|
-
/** @deprecated use `
|
|
440
|
-
export const inboundSchema =
|
|
441
|
-
/** @deprecated use `
|
|
442
|
-
export const outboundSchema =
|
|
443
|
-
/** @deprecated use `
|
|
444
|
-
export type Outbound =
|
|
438
|
+
export namespace GetIntegrationResourceMetadata$ {
|
|
439
|
+
/** @deprecated use `GetIntegrationResourceMetadata$inboundSchema` instead. */
|
|
440
|
+
export const inboundSchema = GetIntegrationResourceMetadata$inboundSchema;
|
|
441
|
+
/** @deprecated use `GetIntegrationResourceMetadata$outboundSchema` instead. */
|
|
442
|
+
export const outboundSchema = GetIntegrationResourceMetadata$outboundSchema;
|
|
443
|
+
/** @deprecated use `GetIntegrationResourceMetadata$Outbound` instead. */
|
|
444
|
+
export type Outbound = GetIntegrationResourceMetadata$Outbound;
|
|
445
445
|
}
|
|
446
446
|
|
|
447
|
-
export function
|
|
448
|
-
|
|
447
|
+
export function getIntegrationResourceMetadataToJSON(
|
|
448
|
+
getIntegrationResourceMetadata: GetIntegrationResourceMetadata,
|
|
449
|
+
): string {
|
|
450
|
+
return JSON.stringify(
|
|
451
|
+
GetIntegrationResourceMetadata$outboundSchema.parse(
|
|
452
|
+
getIntegrationResourceMetadata,
|
|
453
|
+
),
|
|
454
|
+
);
|
|
449
455
|
}
|
|
450
456
|
|
|
451
|
-
export function
|
|
457
|
+
export function getIntegrationResourceMetadataFromJSON(
|
|
452
458
|
jsonString: string,
|
|
453
|
-
): SafeParseResult<
|
|
459
|
+
): SafeParseResult<GetIntegrationResourceMetadata, SDKValidationError> {
|
|
454
460
|
return safeParse(
|
|
455
461
|
jsonString,
|
|
456
|
-
(x) =>
|
|
457
|
-
`Failed to parse '
|
|
462
|
+
(x) => GetIntegrationResourceMetadata$inboundSchema.parse(JSON.parse(x)),
|
|
463
|
+
`Failed to parse 'GetIntegrationResourceMetadata' from JSON`,
|
|
458
464
|
);
|
|
459
465
|
}
|
|
460
466
|
|
|
@@ -32,6 +32,34 @@ export const GitForkProtection = {
|
|
|
32
32
|
*/
|
|
33
33
|
export type GitForkProtection = ClosedEnum<typeof GitForkProtection>;
|
|
34
34
|
|
|
35
|
+
/**
|
|
36
|
+
* Filter results by projects with elastic concurrency enabled
|
|
37
|
+
*/
|
|
38
|
+
export const ElasticConcurrencyEnabled = {
|
|
39
|
+
One: "1",
|
|
40
|
+
Zero: "0",
|
|
41
|
+
} as const;
|
|
42
|
+
/**
|
|
43
|
+
* Filter results by projects with elastic concurrency enabled
|
|
44
|
+
*/
|
|
45
|
+
export type ElasticConcurrencyEnabled = ClosedEnum<
|
|
46
|
+
typeof ElasticConcurrencyEnabled
|
|
47
|
+
>;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Sort results by elastic concurrency status. desc = enabled projects first, asc = disabled projects first
|
|
51
|
+
*/
|
|
52
|
+
export const SortByElasticConcurrency = {
|
|
53
|
+
Desc: "desc",
|
|
54
|
+
Asc: "asc",
|
|
55
|
+
} as const;
|
|
56
|
+
/**
|
|
57
|
+
* Sort results by elastic concurrency status. desc = enabled projects first, asc = disabled projects first
|
|
58
|
+
*/
|
|
59
|
+
export type SortByElasticConcurrency = ClosedEnum<
|
|
60
|
+
typeof SortByElasticConcurrency
|
|
61
|
+
>;
|
|
62
|
+
|
|
35
63
|
export type GetProjectsRequest = {
|
|
36
64
|
/**
|
|
37
65
|
* Query only projects updated after the given timestamp
|
|
@@ -74,6 +102,14 @@ export type GetProjectsRequest = {
|
|
|
74
102
|
*/
|
|
75
103
|
edgeConfigTokenId?: string | undefined;
|
|
76
104
|
deprecated?: boolean | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* Filter results by projects with elastic concurrency enabled
|
|
107
|
+
*/
|
|
108
|
+
elasticConcurrencyEnabled?: ElasticConcurrencyEnabled | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* Sort results by elastic concurrency status. desc = enabled projects first, asc = disabled projects first
|
|
111
|
+
*/
|
|
112
|
+
sortByElasticConcurrency?: SortByElasticConcurrency | undefined;
|
|
77
113
|
/**
|
|
78
114
|
* The Team identifier to perform the request on behalf of.
|
|
79
115
|
*/
|
|
@@ -165,11 +201,29 @@ export type GetProjectsDataCache = {
|
|
|
165
201
|
unlimited?: boolean | undefined;
|
|
166
202
|
};
|
|
167
203
|
|
|
204
|
+
/**
|
|
205
|
+
* 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.
|
|
206
|
+
*/
|
|
168
207
|
export type GetProjectsDeploymentExpiration = {
|
|
208
|
+
/**
|
|
209
|
+
* Number of days to keep non-production deployments (mostly preview deployments) before soft deletion.
|
|
210
|
+
*/
|
|
169
211
|
expirationDays?: number | undefined;
|
|
212
|
+
/**
|
|
213
|
+
* Number of days to keep production deployments before soft deletion.
|
|
214
|
+
*/
|
|
170
215
|
expirationDaysProduction?: number | undefined;
|
|
216
|
+
/**
|
|
217
|
+
* Number of days to keep canceled deployments before soft deletion.
|
|
218
|
+
*/
|
|
171
219
|
expirationDaysCanceled?: number | undefined;
|
|
220
|
+
/**
|
|
221
|
+
* Number of days to keep errored deployments before soft deletion.
|
|
222
|
+
*/
|
|
172
223
|
expirationDaysErrored?: number | undefined;
|
|
224
|
+
/**
|
|
225
|
+
* Minimum number of production deployments to keep for this project, even if they are over the production expiration limit.
|
|
226
|
+
*/
|
|
173
227
|
deploymentsToKeep?: number | undefined;
|
|
174
228
|
};
|
|
175
229
|
|
|
@@ -1074,13 +1128,14 @@ export type GetProjectsBuildMachineType = ClosedEnum<
|
|
|
1074
1128
|
>;
|
|
1075
1129
|
|
|
1076
1130
|
export type GetProjectsResourceConfig = {
|
|
1131
|
+
elasticConcurrencyEnabled?: boolean | undefined;
|
|
1077
1132
|
fluid?: boolean | undefined;
|
|
1078
1133
|
functionDefaultRegions: Array<string>;
|
|
1079
1134
|
functionDefaultTimeout?: number | undefined;
|
|
1080
1135
|
functionDefaultMemoryType?: GetProjectsFunctionDefaultMemoryType | undefined;
|
|
1081
1136
|
functionZeroConfigFailover?: boolean | undefined;
|
|
1082
|
-
elasticConcurrencyEnabled?: boolean | undefined;
|
|
1083
1137
|
buildMachineType?: GetProjectsBuildMachineType | undefined;
|
|
1138
|
+
isNSNBDisabled?: boolean | undefined;
|
|
1084
1139
|
};
|
|
1085
1140
|
|
|
1086
1141
|
/**
|
|
@@ -1159,6 +1214,7 @@ export type GetProjectsProjectsBuildMachineType = ClosedEnum<
|
|
|
1159
1214
|
>;
|
|
1160
1215
|
|
|
1161
1216
|
export type GetProjectsDefaultResourceConfig = {
|
|
1217
|
+
elasticConcurrencyEnabled?: boolean | undefined;
|
|
1162
1218
|
fluid?: boolean | undefined;
|
|
1163
1219
|
functionDefaultRegions: Array<string>;
|
|
1164
1220
|
functionDefaultTimeout?: number | undefined;
|
|
@@ -1166,8 +1222,8 @@ export type GetProjectsDefaultResourceConfig = {
|
|
|
1166
1222
|
| GetProjectsProjectsFunctionDefaultMemoryType
|
|
1167
1223
|
| undefined;
|
|
1168
1224
|
functionZeroConfigFailover?: boolean | undefined;
|
|
1169
|
-
elasticConcurrencyEnabled?: boolean | undefined;
|
|
1170
1225
|
buildMachineType?: GetProjectsProjectsBuildMachineType | undefined;
|
|
1226
|
+
isNSNBDisabled?: boolean | undefined;
|
|
1171
1227
|
};
|
|
1172
1228
|
|
|
1173
1229
|
export const GetProjectsDeploymentType = {
|
|
@@ -1829,6 +1885,9 @@ export type GetProjectsProjects = {
|
|
|
1829
1885
|
customerSupportCodeVisibility?: boolean | undefined;
|
|
1830
1886
|
crons?: GetProjectsCrons | undefined;
|
|
1831
1887
|
dataCache?: GetProjectsDataCache | undefined;
|
|
1888
|
+
/**
|
|
1889
|
+
* 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.
|
|
1890
|
+
*/
|
|
1832
1891
|
deploymentExpiration?: GetProjectsDeploymentExpiration | null | undefined;
|
|
1833
1892
|
devCommand?: string | null | undefined;
|
|
1834
1893
|
directoryListing: boolean;
|
|
@@ -1942,6 +2001,48 @@ export namespace GitForkProtection$ {
|
|
|
1942
2001
|
export const outboundSchema = GitForkProtection$outboundSchema;
|
|
1943
2002
|
}
|
|
1944
2003
|
|
|
2004
|
+
/** @internal */
|
|
2005
|
+
export const ElasticConcurrencyEnabled$inboundSchema: z.ZodNativeEnum<
|
|
2006
|
+
typeof ElasticConcurrencyEnabled
|
|
2007
|
+
> = z.nativeEnum(ElasticConcurrencyEnabled);
|
|
2008
|
+
|
|
2009
|
+
/** @internal */
|
|
2010
|
+
export const ElasticConcurrencyEnabled$outboundSchema: z.ZodNativeEnum<
|
|
2011
|
+
typeof ElasticConcurrencyEnabled
|
|
2012
|
+
> = ElasticConcurrencyEnabled$inboundSchema;
|
|
2013
|
+
|
|
2014
|
+
/**
|
|
2015
|
+
* @internal
|
|
2016
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2017
|
+
*/
|
|
2018
|
+
export namespace ElasticConcurrencyEnabled$ {
|
|
2019
|
+
/** @deprecated use `ElasticConcurrencyEnabled$inboundSchema` instead. */
|
|
2020
|
+
export const inboundSchema = ElasticConcurrencyEnabled$inboundSchema;
|
|
2021
|
+
/** @deprecated use `ElasticConcurrencyEnabled$outboundSchema` instead. */
|
|
2022
|
+
export const outboundSchema = ElasticConcurrencyEnabled$outboundSchema;
|
|
2023
|
+
}
|
|
2024
|
+
|
|
2025
|
+
/** @internal */
|
|
2026
|
+
export const SortByElasticConcurrency$inboundSchema: z.ZodNativeEnum<
|
|
2027
|
+
typeof SortByElasticConcurrency
|
|
2028
|
+
> = z.nativeEnum(SortByElasticConcurrency);
|
|
2029
|
+
|
|
2030
|
+
/** @internal */
|
|
2031
|
+
export const SortByElasticConcurrency$outboundSchema: z.ZodNativeEnum<
|
|
2032
|
+
typeof SortByElasticConcurrency
|
|
2033
|
+
> = SortByElasticConcurrency$inboundSchema;
|
|
2034
|
+
|
|
2035
|
+
/**
|
|
2036
|
+
* @internal
|
|
2037
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2038
|
+
*/
|
|
2039
|
+
export namespace SortByElasticConcurrency$ {
|
|
2040
|
+
/** @deprecated use `SortByElasticConcurrency$inboundSchema` instead. */
|
|
2041
|
+
export const inboundSchema = SortByElasticConcurrency$inboundSchema;
|
|
2042
|
+
/** @deprecated use `SortByElasticConcurrency$outboundSchema` instead. */
|
|
2043
|
+
export const outboundSchema = SortByElasticConcurrency$outboundSchema;
|
|
2044
|
+
}
|
|
2045
|
+
|
|
1945
2046
|
/** @internal */
|
|
1946
2047
|
export const GetProjectsRequest$inboundSchema: z.ZodType<
|
|
1947
2048
|
GetProjectsRequest,
|
|
@@ -1959,6 +2060,8 @@ export const GetProjectsRequest$inboundSchema: z.ZodType<
|
|
|
1959
2060
|
edgeConfigId: z.string().optional(),
|
|
1960
2061
|
edgeConfigTokenId: z.string().optional(),
|
|
1961
2062
|
deprecated: z.boolean().optional(),
|
|
2063
|
+
elasticConcurrencyEnabled: ElasticConcurrencyEnabled$inboundSchema.optional(),
|
|
2064
|
+
sortByElasticConcurrency: SortByElasticConcurrency$inboundSchema.optional(),
|
|
1962
2065
|
teamId: z.string().optional(),
|
|
1963
2066
|
slug: z.string().optional(),
|
|
1964
2067
|
});
|
|
@@ -1976,6 +2079,8 @@ export type GetProjectsRequest$Outbound = {
|
|
|
1976
2079
|
edgeConfigId?: string | undefined;
|
|
1977
2080
|
edgeConfigTokenId?: string | undefined;
|
|
1978
2081
|
deprecated?: boolean | undefined;
|
|
2082
|
+
elasticConcurrencyEnabled?: string | undefined;
|
|
2083
|
+
sortByElasticConcurrency?: string | undefined;
|
|
1979
2084
|
teamId?: string | undefined;
|
|
1980
2085
|
slug?: string | undefined;
|
|
1981
2086
|
};
|
|
@@ -1997,6 +2102,9 @@ export const GetProjectsRequest$outboundSchema: z.ZodType<
|
|
|
1997
2102
|
edgeConfigId: z.string().optional(),
|
|
1998
2103
|
edgeConfigTokenId: z.string().optional(),
|
|
1999
2104
|
deprecated: z.boolean().optional(),
|
|
2105
|
+
elasticConcurrencyEnabled: ElasticConcurrencyEnabled$outboundSchema
|
|
2106
|
+
.optional(),
|
|
2107
|
+
sortByElasticConcurrency: SortByElasticConcurrency$outboundSchema.optional(),
|
|
2000
2108
|
teamId: z.string().optional(),
|
|
2001
2109
|
slug: z.string().optional(),
|
|
2002
2110
|
});
|
|
@@ -6919,25 +7027,27 @@ export const GetProjectsResourceConfig$inboundSchema: z.ZodType<
|
|
|
6919
7027
|
z.ZodTypeDef,
|
|
6920
7028
|
unknown
|
|
6921
7029
|
> = z.object({
|
|
7030
|
+
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
6922
7031
|
fluid: z.boolean().optional(),
|
|
6923
7032
|
functionDefaultRegions: z.array(z.string()),
|
|
6924
7033
|
functionDefaultTimeout: z.number().optional(),
|
|
6925
7034
|
functionDefaultMemoryType: GetProjectsFunctionDefaultMemoryType$inboundSchema
|
|
6926
7035
|
.optional(),
|
|
6927
7036
|
functionZeroConfigFailover: z.boolean().optional(),
|
|
6928
|
-
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
6929
7037
|
buildMachineType: GetProjectsBuildMachineType$inboundSchema.optional(),
|
|
7038
|
+
isNSNBDisabled: z.boolean().optional(),
|
|
6930
7039
|
});
|
|
6931
7040
|
|
|
6932
7041
|
/** @internal */
|
|
6933
7042
|
export type GetProjectsResourceConfig$Outbound = {
|
|
7043
|
+
elasticConcurrencyEnabled?: boolean | undefined;
|
|
6934
7044
|
fluid?: boolean | undefined;
|
|
6935
7045
|
functionDefaultRegions: Array<string>;
|
|
6936
7046
|
functionDefaultTimeout?: number | undefined;
|
|
6937
7047
|
functionDefaultMemoryType?: string | undefined;
|
|
6938
7048
|
functionZeroConfigFailover?: boolean | undefined;
|
|
6939
|
-
elasticConcurrencyEnabled?: boolean | undefined;
|
|
6940
7049
|
buildMachineType?: string | undefined;
|
|
7050
|
+
isNSNBDisabled?: boolean | undefined;
|
|
6941
7051
|
};
|
|
6942
7052
|
|
|
6943
7053
|
/** @internal */
|
|
@@ -6946,14 +7056,15 @@ export const GetProjectsResourceConfig$outboundSchema: z.ZodType<
|
|
|
6946
7056
|
z.ZodTypeDef,
|
|
6947
7057
|
GetProjectsResourceConfig
|
|
6948
7058
|
> = z.object({
|
|
7059
|
+
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
6949
7060
|
fluid: z.boolean().optional(),
|
|
6950
7061
|
functionDefaultRegions: z.array(z.string()),
|
|
6951
7062
|
functionDefaultTimeout: z.number().optional(),
|
|
6952
7063
|
functionDefaultMemoryType: GetProjectsFunctionDefaultMemoryType$outboundSchema
|
|
6953
7064
|
.optional(),
|
|
6954
7065
|
functionZeroConfigFailover: z.boolean().optional(),
|
|
6955
|
-
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
6956
7066
|
buildMachineType: GetProjectsBuildMachineType$outboundSchema.optional(),
|
|
7067
|
+
isNSNBDisabled: z.boolean().optional(),
|
|
6957
7068
|
});
|
|
6958
7069
|
|
|
6959
7070
|
/**
|
|
@@ -7226,26 +7337,28 @@ export const GetProjectsDefaultResourceConfig$inboundSchema: z.ZodType<
|
|
|
7226
7337
|
z.ZodTypeDef,
|
|
7227
7338
|
unknown
|
|
7228
7339
|
> = z.object({
|
|
7340
|
+
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
7229
7341
|
fluid: z.boolean().optional(),
|
|
7230
7342
|
functionDefaultRegions: z.array(z.string()),
|
|
7231
7343
|
functionDefaultTimeout: z.number().optional(),
|
|
7232
7344
|
functionDefaultMemoryType:
|
|
7233
7345
|
GetProjectsProjectsFunctionDefaultMemoryType$inboundSchema.optional(),
|
|
7234
7346
|
functionZeroConfigFailover: z.boolean().optional(),
|
|
7235
|
-
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
7236
7347
|
buildMachineType: GetProjectsProjectsBuildMachineType$inboundSchema
|
|
7237
7348
|
.optional(),
|
|
7349
|
+
isNSNBDisabled: z.boolean().optional(),
|
|
7238
7350
|
});
|
|
7239
7351
|
|
|
7240
7352
|
/** @internal */
|
|
7241
7353
|
export type GetProjectsDefaultResourceConfig$Outbound = {
|
|
7354
|
+
elasticConcurrencyEnabled?: boolean | undefined;
|
|
7242
7355
|
fluid?: boolean | undefined;
|
|
7243
7356
|
functionDefaultRegions: Array<string>;
|
|
7244
7357
|
functionDefaultTimeout?: number | undefined;
|
|
7245
7358
|
functionDefaultMemoryType?: string | undefined;
|
|
7246
7359
|
functionZeroConfigFailover?: boolean | undefined;
|
|
7247
|
-
elasticConcurrencyEnabled?: boolean | undefined;
|
|
7248
7360
|
buildMachineType?: string | undefined;
|
|
7361
|
+
isNSNBDisabled?: boolean | undefined;
|
|
7249
7362
|
};
|
|
7250
7363
|
|
|
7251
7364
|
/** @internal */
|
|
@@ -7254,15 +7367,16 @@ export const GetProjectsDefaultResourceConfig$outboundSchema: z.ZodType<
|
|
|
7254
7367
|
z.ZodTypeDef,
|
|
7255
7368
|
GetProjectsDefaultResourceConfig
|
|
7256
7369
|
> = z.object({
|
|
7370
|
+
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
7257
7371
|
fluid: z.boolean().optional(),
|
|
7258
7372
|
functionDefaultRegions: z.array(z.string()),
|
|
7259
7373
|
functionDefaultTimeout: z.number().optional(),
|
|
7260
7374
|
functionDefaultMemoryType:
|
|
7261
7375
|
GetProjectsProjectsFunctionDefaultMemoryType$outboundSchema.optional(),
|
|
7262
7376
|
functionZeroConfigFailover: z.boolean().optional(),
|
|
7263
|
-
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
7264
7377
|
buildMachineType: GetProjectsProjectsBuildMachineType$outboundSchema
|
|
7265
7378
|
.optional(),
|
|
7379
|
+
isNSNBDisabled: z.boolean().optional(),
|
|
7266
7380
|
});
|
|
7267
7381
|
|
|
7268
7382
|
/**
|
|
@@ -97,12 +97,12 @@ export type GetTeamMembersRole = ClosedEnum<typeof GetTeamMembersRole>;
|
|
|
97
97
|
export const GetTeamMembersOrigin = {
|
|
98
98
|
Teams: "teams",
|
|
99
99
|
Link: "link",
|
|
100
|
-
|
|
100
|
+
Mail: "mail",
|
|
101
|
+
Import: "import",
|
|
101
102
|
Github: "github",
|
|
102
103
|
Gitlab: "gitlab",
|
|
103
104
|
Bitbucket: "bitbucket",
|
|
104
|
-
|
|
105
|
-
Import: "import",
|
|
105
|
+
Saml: "saml",
|
|
106
106
|
Dsync: "dsync",
|
|
107
107
|
Feedback: "feedback",
|
|
108
108
|
OrganizationTeams: "organization-teams",
|
|
@@ -219,6 +219,35 @@ export type GetTeamMembersTeamsRole = ClosedEnum<
|
|
|
219
219
|
typeof GetTeamMembersTeamsRole
|
|
220
220
|
>;
|
|
221
221
|
|
|
222
|
+
export const GetTeamMembersTeamRoles = {
|
|
223
|
+
Owner: "OWNER",
|
|
224
|
+
Member: "MEMBER",
|
|
225
|
+
Developer: "DEVELOPER",
|
|
226
|
+
Viewer: "VIEWER",
|
|
227
|
+
Billing: "BILLING",
|
|
228
|
+
Contributor: "CONTRIBUTOR",
|
|
229
|
+
Security: "SECURITY",
|
|
230
|
+
ViewerForPlus: "VIEWER_FOR_PLUS",
|
|
231
|
+
} as const;
|
|
232
|
+
export type GetTeamMembersTeamRoles = ClosedEnum<
|
|
233
|
+
typeof GetTeamMembersTeamRoles
|
|
234
|
+
>;
|
|
235
|
+
|
|
236
|
+
export const GetTeamMembersTeamPermissions = {
|
|
237
|
+
IntegrationManager: "IntegrationManager",
|
|
238
|
+
CreateProject: "CreateProject",
|
|
239
|
+
FullProductionDeployment: "FullProductionDeployment",
|
|
240
|
+
UsageViewer: "UsageViewer",
|
|
241
|
+
EnvVariableManager: "EnvVariableManager",
|
|
242
|
+
EnvironmentManager: "EnvironmentManager",
|
|
243
|
+
V0Builder: "V0Builder",
|
|
244
|
+
V0Chatter: "V0Chatter",
|
|
245
|
+
V0Viewer: "V0Viewer",
|
|
246
|
+
} as const;
|
|
247
|
+
export type GetTeamMembersTeamPermissions = ClosedEnum<
|
|
248
|
+
typeof GetTeamMembersTeamPermissions
|
|
249
|
+
>;
|
|
250
|
+
|
|
222
251
|
export const GetTeamMembersTeamsProjects = {
|
|
223
252
|
Admin: "ADMIN",
|
|
224
253
|
ProjectDeveloper: "PROJECT_DEVELOPER",
|
|
@@ -233,6 +262,8 @@ export type EmailInviteCodes = {
|
|
|
233
262
|
id: string;
|
|
234
263
|
email?: string | undefined;
|
|
235
264
|
role?: GetTeamMembersTeamsRole | undefined;
|
|
265
|
+
teamRoles?: Array<GetTeamMembersTeamRoles> | undefined;
|
|
266
|
+
teamPermissions?: Array<GetTeamMembersTeamPermissions> | undefined;
|
|
236
267
|
isDSyncUser: boolean;
|
|
237
268
|
createdAt?: number | undefined;
|
|
238
269
|
expired?: boolean | undefined;
|
|
@@ -888,6 +919,48 @@ export namespace GetTeamMembersTeamsRole$ {
|
|
|
888
919
|
export const outboundSchema = GetTeamMembersTeamsRole$outboundSchema;
|
|
889
920
|
}
|
|
890
921
|
|
|
922
|
+
/** @internal */
|
|
923
|
+
export const GetTeamMembersTeamRoles$inboundSchema: z.ZodNativeEnum<
|
|
924
|
+
typeof GetTeamMembersTeamRoles
|
|
925
|
+
> = z.nativeEnum(GetTeamMembersTeamRoles);
|
|
926
|
+
|
|
927
|
+
/** @internal */
|
|
928
|
+
export const GetTeamMembersTeamRoles$outboundSchema: z.ZodNativeEnum<
|
|
929
|
+
typeof GetTeamMembersTeamRoles
|
|
930
|
+
> = GetTeamMembersTeamRoles$inboundSchema;
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* @internal
|
|
934
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
935
|
+
*/
|
|
936
|
+
export namespace GetTeamMembersTeamRoles$ {
|
|
937
|
+
/** @deprecated use `GetTeamMembersTeamRoles$inboundSchema` instead. */
|
|
938
|
+
export const inboundSchema = GetTeamMembersTeamRoles$inboundSchema;
|
|
939
|
+
/** @deprecated use `GetTeamMembersTeamRoles$outboundSchema` instead. */
|
|
940
|
+
export const outboundSchema = GetTeamMembersTeamRoles$outboundSchema;
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
/** @internal */
|
|
944
|
+
export const GetTeamMembersTeamPermissions$inboundSchema: z.ZodNativeEnum<
|
|
945
|
+
typeof GetTeamMembersTeamPermissions
|
|
946
|
+
> = z.nativeEnum(GetTeamMembersTeamPermissions);
|
|
947
|
+
|
|
948
|
+
/** @internal */
|
|
949
|
+
export const GetTeamMembersTeamPermissions$outboundSchema: z.ZodNativeEnum<
|
|
950
|
+
typeof GetTeamMembersTeamPermissions
|
|
951
|
+
> = GetTeamMembersTeamPermissions$inboundSchema;
|
|
952
|
+
|
|
953
|
+
/**
|
|
954
|
+
* @internal
|
|
955
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
956
|
+
*/
|
|
957
|
+
export namespace GetTeamMembersTeamPermissions$ {
|
|
958
|
+
/** @deprecated use `GetTeamMembersTeamPermissions$inboundSchema` instead. */
|
|
959
|
+
export const inboundSchema = GetTeamMembersTeamPermissions$inboundSchema;
|
|
960
|
+
/** @deprecated use `GetTeamMembersTeamPermissions$outboundSchema` instead. */
|
|
961
|
+
export const outboundSchema = GetTeamMembersTeamPermissions$outboundSchema;
|
|
962
|
+
}
|
|
963
|
+
|
|
891
964
|
/** @internal */
|
|
892
965
|
export const GetTeamMembersTeamsProjects$inboundSchema: z.ZodNativeEnum<
|
|
893
966
|
typeof GetTeamMembersTeamsProjects
|
|
@@ -919,6 +992,9 @@ export const EmailInviteCodes$inboundSchema: z.ZodType<
|
|
|
919
992
|
id: z.string(),
|
|
920
993
|
email: z.string().optional(),
|
|
921
994
|
role: GetTeamMembersTeamsRole$inboundSchema.optional(),
|
|
995
|
+
teamRoles: z.array(GetTeamMembersTeamRoles$inboundSchema).optional(),
|
|
996
|
+
teamPermissions: z.array(GetTeamMembersTeamPermissions$inboundSchema)
|
|
997
|
+
.optional(),
|
|
922
998
|
isDSyncUser: z.boolean(),
|
|
923
999
|
createdAt: z.number().optional(),
|
|
924
1000
|
expired: z.boolean().optional(),
|
|
@@ -932,6 +1008,8 @@ export type EmailInviteCodes$Outbound = {
|
|
|
932
1008
|
id: string;
|
|
933
1009
|
email?: string | undefined;
|
|
934
1010
|
role?: string | undefined;
|
|
1011
|
+
teamRoles?: Array<string> | undefined;
|
|
1012
|
+
teamPermissions?: Array<string> | undefined;
|
|
935
1013
|
isDSyncUser: boolean;
|
|
936
1014
|
createdAt?: number | undefined;
|
|
937
1015
|
expired?: boolean | undefined;
|
|
@@ -949,6 +1027,9 @@ export const EmailInviteCodes$outboundSchema: z.ZodType<
|
|
|
949
1027
|
id: z.string(),
|
|
950
1028
|
email: z.string().optional(),
|
|
951
1029
|
role: GetTeamMembersTeamsRole$outboundSchema.optional(),
|
|
1030
|
+
teamRoles: z.array(GetTeamMembersTeamRoles$outboundSchema).optional(),
|
|
1031
|
+
teamPermissions: z.array(GetTeamMembersTeamPermissions$outboundSchema)
|
|
1032
|
+
.optional(),
|
|
952
1033
|
isDSyncUser: z.boolean(),
|
|
953
1034
|
createdAt: z.number().optional(),
|
|
954
1035
|
expired: z.boolean().optional(),
|