@vercel/sdk 1.10.6 → 1.10.8
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 +6081 -1764
- package/bin/mcp-server.js.map +51 -42
- 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__/domains.test.js +12 -4
- 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 +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/createortransferdomainop.d.ts +33 -0
- package/esm/models/createortransferdomainop.d.ts.map +1 -1
- package/esm/models/createortransferdomainop.js +23 -0
- package/esm/models/createortransferdomainop.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 +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/getdomainop.d.ts +33 -0
- package/esm/models/getdomainop.d.ts.map +1 -1
- package/esm/models/getdomainop.js +24 -0
- package/esm/models/getdomainop.js.map +1 -1
- package/esm/models/getdomainsop.d.ts +33 -0
- package/esm/models/getdomainsop.d.ts.map +1 -1
- package/esm/models/getdomainsop.js +23 -0
- package/esm/models/getdomainsop.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__/domains.test.ts +12 -4
- 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/createortransferdomainop.ts +41 -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/getdomainop.ts +37 -0
- package/src/models/getdomainsop.ts +39 -0
- 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 +4270 -1150
|
@@ -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()),
|
|
@@ -34,6 +34,17 @@ export type GetDomainCreator = {
|
|
|
34
34
|
id: string;
|
|
35
35
|
};
|
|
36
36
|
|
|
37
|
+
/**
|
|
38
|
+
* Whether or not the domain is registered with Name.com. If set to `true`, the domain is registered with Name.com.
|
|
39
|
+
*/
|
|
40
|
+
export const Registrar = {
|
|
41
|
+
New: "new",
|
|
42
|
+
} as const;
|
|
43
|
+
/**
|
|
44
|
+
* Whether or not the domain is registered with Name.com. If set to `true`, the domain is registered with Name.com.
|
|
45
|
+
*/
|
|
46
|
+
export type Registrar = ClosedEnum<typeof Registrar>;
|
|
47
|
+
|
|
37
48
|
/**
|
|
38
49
|
* The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available.
|
|
39
50
|
*/
|
|
@@ -69,6 +80,10 @@ export type GetDomainDomain = {
|
|
|
69
80
|
* An object containing information of the domain creator, including the user's id, username, and email.
|
|
70
81
|
*/
|
|
71
82
|
creator: GetDomainCreator;
|
|
83
|
+
/**
|
|
84
|
+
* Whether or not the domain is registered with Name.com. If set to `true`, the domain is registered with Name.com.
|
|
85
|
+
*/
|
|
86
|
+
registrar?: Registrar | undefined;
|
|
72
87
|
teamId: string | null;
|
|
73
88
|
/**
|
|
74
89
|
* If it was purchased through Vercel, the timestamp in milliseconds when it was purchased.
|
|
@@ -246,6 +261,25 @@ export function getDomainCreatorFromJSON(
|
|
|
246
261
|
);
|
|
247
262
|
}
|
|
248
263
|
|
|
264
|
+
/** @internal */
|
|
265
|
+
export const Registrar$inboundSchema: z.ZodNativeEnum<typeof Registrar> = z
|
|
266
|
+
.nativeEnum(Registrar);
|
|
267
|
+
|
|
268
|
+
/** @internal */
|
|
269
|
+
export const Registrar$outboundSchema: z.ZodNativeEnum<typeof Registrar> =
|
|
270
|
+
Registrar$inboundSchema;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* @internal
|
|
274
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
275
|
+
*/
|
|
276
|
+
export namespace Registrar$ {
|
|
277
|
+
/** @deprecated use `Registrar$inboundSchema` instead. */
|
|
278
|
+
export const inboundSchema = Registrar$inboundSchema;
|
|
279
|
+
/** @deprecated use `Registrar$outboundSchema` instead. */
|
|
280
|
+
export const outboundSchema = Registrar$outboundSchema;
|
|
281
|
+
}
|
|
282
|
+
|
|
249
283
|
/** @internal */
|
|
250
284
|
export const ServiceType$inboundSchema: z.ZodNativeEnum<typeof ServiceType> = z
|
|
251
285
|
.nativeEnum(ServiceType);
|
|
@@ -277,6 +311,7 @@ export const GetDomainDomain$inboundSchema: z.ZodType<
|
|
|
277
311
|
intendedNameservers: z.array(z.string()),
|
|
278
312
|
customNameservers: z.array(z.string()).optional(),
|
|
279
313
|
creator: z.lazy(() => GetDomainCreator$inboundSchema),
|
|
314
|
+
registrar: Registrar$inboundSchema.optional(),
|
|
280
315
|
teamId: z.nullable(z.string()),
|
|
281
316
|
boughtAt: z.nullable(z.number()),
|
|
282
317
|
name: z.string(),
|
|
@@ -299,6 +334,7 @@ export type GetDomainDomain$Outbound = {
|
|
|
299
334
|
intendedNameservers: Array<string>;
|
|
300
335
|
customNameservers?: Array<string> | undefined;
|
|
301
336
|
creator: GetDomainCreator$Outbound;
|
|
337
|
+
registrar?: string | undefined;
|
|
302
338
|
teamId: string | null;
|
|
303
339
|
boughtAt: number | null;
|
|
304
340
|
name: string;
|
|
@@ -325,6 +361,7 @@ export const GetDomainDomain$outboundSchema: z.ZodType<
|
|
|
325
361
|
intendedNameservers: z.array(z.string()),
|
|
326
362
|
customNameservers: z.array(z.string()).optional(),
|
|
327
363
|
creator: z.lazy(() => GetDomainCreator$outboundSchema),
|
|
364
|
+
registrar: Registrar$outboundSchema.optional(),
|
|
328
365
|
teamId: z.nullable(z.string()),
|
|
329
366
|
boughtAt: z.nullable(z.number()),
|
|
330
367
|
name: z.string(),
|
|
@@ -48,6 +48,17 @@ export type GetDomainsCreator = {
|
|
|
48
48
|
id: string;
|
|
49
49
|
};
|
|
50
50
|
|
|
51
|
+
/**
|
|
52
|
+
* Whether or not the domain is registered with Name.com. If set to `true`, the domain is registered with Name.com.
|
|
53
|
+
*/
|
|
54
|
+
export const GetDomainsRegistrar = {
|
|
55
|
+
New: "new",
|
|
56
|
+
} as const;
|
|
57
|
+
/**
|
|
58
|
+
* Whether or not the domain is registered with Name.com. If set to `true`, the domain is registered with Name.com.
|
|
59
|
+
*/
|
|
60
|
+
export type GetDomainsRegistrar = ClosedEnum<typeof GetDomainsRegistrar>;
|
|
61
|
+
|
|
51
62
|
/**
|
|
52
63
|
* The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available.
|
|
53
64
|
*/
|
|
@@ -82,6 +93,10 @@ export type Domains = {
|
|
|
82
93
|
* An object containing information of the domain creator, including the user's id, username, and email.
|
|
83
94
|
*/
|
|
84
95
|
creator: GetDomainsCreator;
|
|
96
|
+
/**
|
|
97
|
+
* Whether or not the domain is registered with Name.com. If set to `true`, the domain is registered with Name.com.
|
|
98
|
+
*/
|
|
99
|
+
registrar?: GetDomainsRegistrar | undefined;
|
|
85
100
|
teamId: string | null;
|
|
86
101
|
/**
|
|
87
102
|
* Timestamp in milliseconds when the domain was created in the registry.
|
|
@@ -269,6 +284,27 @@ export function getDomainsCreatorFromJSON(
|
|
|
269
284
|
);
|
|
270
285
|
}
|
|
271
286
|
|
|
287
|
+
/** @internal */
|
|
288
|
+
export const GetDomainsRegistrar$inboundSchema: z.ZodNativeEnum<
|
|
289
|
+
typeof GetDomainsRegistrar
|
|
290
|
+
> = z.nativeEnum(GetDomainsRegistrar);
|
|
291
|
+
|
|
292
|
+
/** @internal */
|
|
293
|
+
export const GetDomainsRegistrar$outboundSchema: z.ZodNativeEnum<
|
|
294
|
+
typeof GetDomainsRegistrar
|
|
295
|
+
> = GetDomainsRegistrar$inboundSchema;
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* @internal
|
|
299
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
300
|
+
*/
|
|
301
|
+
export namespace GetDomainsRegistrar$ {
|
|
302
|
+
/** @deprecated use `GetDomainsRegistrar$inboundSchema` instead. */
|
|
303
|
+
export const inboundSchema = GetDomainsRegistrar$inboundSchema;
|
|
304
|
+
/** @deprecated use `GetDomainsRegistrar$outboundSchema` instead. */
|
|
305
|
+
export const outboundSchema = GetDomainsRegistrar$outboundSchema;
|
|
306
|
+
}
|
|
307
|
+
|
|
272
308
|
/** @internal */
|
|
273
309
|
export const GetDomainsServiceType$inboundSchema: z.ZodNativeEnum<
|
|
274
310
|
typeof GetDomainsServiceType
|
|
@@ -298,6 +334,7 @@ export const Domains$inboundSchema: z.ZodType<Domains, z.ZodTypeDef, unknown> =
|
|
|
298
334
|
intendedNameservers: z.array(z.string()),
|
|
299
335
|
customNameservers: z.array(z.string()).optional(),
|
|
300
336
|
creator: z.lazy(() => GetDomainsCreator$inboundSchema),
|
|
337
|
+
registrar: GetDomainsRegistrar$inboundSchema.optional(),
|
|
301
338
|
teamId: z.nullable(z.string()),
|
|
302
339
|
createdAt: z.number(),
|
|
303
340
|
boughtAt: z.nullable(z.number()),
|
|
@@ -319,6 +356,7 @@ export type Domains$Outbound = {
|
|
|
319
356
|
intendedNameservers: Array<string>;
|
|
320
357
|
customNameservers?: Array<string> | undefined;
|
|
321
358
|
creator: GetDomainsCreator$Outbound;
|
|
359
|
+
registrar?: string | undefined;
|
|
322
360
|
teamId: string | null;
|
|
323
361
|
createdAt: number;
|
|
324
362
|
boughtAt: number | null;
|
|
@@ -344,6 +382,7 @@ export const Domains$outboundSchema: z.ZodType<
|
|
|
344
382
|
intendedNameservers: z.array(z.string()),
|
|
345
383
|
customNameservers: z.array(z.string()).optional(),
|
|
346
384
|
creator: z.lazy(() => GetDomainsCreator$outboundSchema),
|
|
385
|
+
registrar: GetDomainsRegistrar$outboundSchema.optional(),
|
|
347
386
|
teamId: z.nullable(z.string()),
|
|
348
387
|
createdAt: z.number(),
|
|
349
388
|
boughtAt: z.nullable(z.number()),
|
|
@@ -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
|
|
|
@@ -46,6 +46,20 @@ export type ElasticConcurrencyEnabled = ClosedEnum<
|
|
|
46
46
|
typeof ElasticConcurrencyEnabled
|
|
47
47
|
>;
|
|
48
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
|
+
|
|
49
63
|
export type GetProjectsRequest = {
|
|
50
64
|
/**
|
|
51
65
|
* Query only projects updated after the given timestamp
|
|
@@ -92,6 +106,10 @@ export type GetProjectsRequest = {
|
|
|
92
106
|
* Filter results by projects with elastic concurrency enabled
|
|
93
107
|
*/
|
|
94
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;
|
|
95
113
|
/**
|
|
96
114
|
* The Team identifier to perform the request on behalf of.
|
|
97
115
|
*/
|
|
@@ -183,11 +201,29 @@ export type GetProjectsDataCache = {
|
|
|
183
201
|
unlimited?: boolean | undefined;
|
|
184
202
|
};
|
|
185
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
|
+
*/
|
|
186
207
|
export type GetProjectsDeploymentExpiration = {
|
|
208
|
+
/**
|
|
209
|
+
* Number of days to keep non-production deployments (mostly preview deployments) before soft deletion.
|
|
210
|
+
*/
|
|
187
211
|
expirationDays?: number | undefined;
|
|
212
|
+
/**
|
|
213
|
+
* Number of days to keep production deployments before soft deletion.
|
|
214
|
+
*/
|
|
188
215
|
expirationDaysProduction?: number | undefined;
|
|
216
|
+
/**
|
|
217
|
+
* Number of days to keep canceled deployments before soft deletion.
|
|
218
|
+
*/
|
|
189
219
|
expirationDaysCanceled?: number | undefined;
|
|
220
|
+
/**
|
|
221
|
+
* Number of days to keep errored deployments before soft deletion.
|
|
222
|
+
*/
|
|
190
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
|
+
*/
|
|
191
227
|
deploymentsToKeep?: number | undefined;
|
|
192
228
|
};
|
|
193
229
|
|
|
@@ -1849,6 +1885,9 @@ export type GetProjectsProjects = {
|
|
|
1849
1885
|
customerSupportCodeVisibility?: boolean | undefined;
|
|
1850
1886
|
crons?: GetProjectsCrons | undefined;
|
|
1851
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
|
+
*/
|
|
1852
1891
|
deploymentExpiration?: GetProjectsDeploymentExpiration | null | undefined;
|
|
1853
1892
|
devCommand?: string | null | undefined;
|
|
1854
1893
|
directoryListing: boolean;
|
|
@@ -1983,6 +2022,27 @@ export namespace ElasticConcurrencyEnabled$ {
|
|
|
1983
2022
|
export const outboundSchema = ElasticConcurrencyEnabled$outboundSchema;
|
|
1984
2023
|
}
|
|
1985
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
|
+
|
|
1986
2046
|
/** @internal */
|
|
1987
2047
|
export const GetProjectsRequest$inboundSchema: z.ZodType<
|
|
1988
2048
|
GetProjectsRequest,
|
|
@@ -2001,6 +2061,7 @@ export const GetProjectsRequest$inboundSchema: z.ZodType<
|
|
|
2001
2061
|
edgeConfigTokenId: z.string().optional(),
|
|
2002
2062
|
deprecated: z.boolean().optional(),
|
|
2003
2063
|
elasticConcurrencyEnabled: ElasticConcurrencyEnabled$inboundSchema.optional(),
|
|
2064
|
+
sortByElasticConcurrency: SortByElasticConcurrency$inboundSchema.optional(),
|
|
2004
2065
|
teamId: z.string().optional(),
|
|
2005
2066
|
slug: z.string().optional(),
|
|
2006
2067
|
});
|
|
@@ -2019,6 +2080,7 @@ export type GetProjectsRequest$Outbound = {
|
|
|
2019
2080
|
edgeConfigTokenId?: string | undefined;
|
|
2020
2081
|
deprecated?: boolean | undefined;
|
|
2021
2082
|
elasticConcurrencyEnabled?: string | undefined;
|
|
2083
|
+
sortByElasticConcurrency?: string | undefined;
|
|
2022
2084
|
teamId?: string | undefined;
|
|
2023
2085
|
slug?: string | undefined;
|
|
2024
2086
|
};
|
|
@@ -2042,6 +2104,7 @@ export const GetProjectsRequest$outboundSchema: z.ZodType<
|
|
|
2042
2104
|
deprecated: z.boolean().optional(),
|
|
2043
2105
|
elasticConcurrencyEnabled: ElasticConcurrencyEnabled$outboundSchema
|
|
2044
2106
|
.optional(),
|
|
2107
|
+
sortByElasticConcurrency: SortByElasticConcurrency$outboundSchema.optional(),
|
|
2045
2108
|
teamId: z.string().optional(),
|
|
2046
2109
|
slug: z.string().optional(),
|
|
2047
2110
|
});
|
|
@@ -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(),
|