@vercel/sdk 1.6.2 → 1.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -10
- package/bin/mcp-server.js +4541 -3497
- package/bin/mcp-server.js.map +36 -48
- package/docs/sdks/edgeconfig/README.md +2 -6
- package/docs/sdks/integrations/README.md +0 -161
- package/docs/sdks/logdrains/README.md +0 -260
- package/docs/sdks/marketplace/README.md +2 -6
- package/docs/sdks/security/README.md +90 -0
- package/docs/sdks/webhooks/README.md +2 -6
- package/esm/__tests__/deployments.test.js +16 -1
- package/esm/__tests__/deployments.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +5 -40
- package/esm/__tests__/integrations.test.js.map +1 -1
- package/esm/__tests__/logdrains.test.js +7 -89
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/marketplace.test.js +7 -2
- package/esm/__tests__/marketplace.test.js.map +1 -1
- package/esm/__tests__/projects.test.js +4 -4
- package/esm/__tests__/projects.test.js.map +1 -1
- package/esm/__tests__/security.test.js +164 -17
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/funcs/securityPutFirewallConfig.d.ts +19 -0
- package/esm/funcs/securityPutFirewallConfig.d.ts.map +1 -0
- package/esm/funcs/{logDrainsCreateConfigurableLogDrain.js → securityPutFirewallConfig.js} +13 -11
- package/esm/funcs/securityPutFirewallConfig.js.map +1 -0
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/matchers.d.ts +3 -1
- package/esm/lib/matchers.d.ts.map +1 -1
- package/esm/lib/matchers.js +10 -0
- package/esm/lib/matchers.js.map +1 -1
- package/esm/lib/sdks.js +7 -2
- package/esm/lib/sdks.js.map +1 -1
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +3 -11
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/securityPutFirewallConfig.d.ts +7 -0
- package/esm/mcp-server/tools/securityPutFirewallConfig.d.ts.map +1 -0
- package/esm/mcp-server/tools/securityPutFirewallConfig.js +28 -0
- package/esm/mcp-server/tools/{integrationsGitNamespaces.js.map → securityPutFirewallConfig.js.map} +1 -1
- package/esm/models/authtoken.d.ts +6 -0
- package/esm/models/authtoken.d.ts.map +1 -1
- package/esm/models/authtoken.js +2 -0
- package/esm/models/authtoken.js.map +1 -1
- package/esm/models/authuser.d.ts +87 -0
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +57 -0
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +277 -76
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +271 -73
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +274 -73
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +270 -72
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createlogdrainop.d.ts +51 -51
- package/esm/models/createlogdrainop.d.ts.map +1 -1
- package/esm/models/createlogdrainop.js +74 -75
- package/esm/models/createlogdrainop.js.map +1 -1
- package/esm/models/createprojectenvop.d.ts +12 -18
- package/esm/models/createprojectenvop.d.ts.map +1 -1
- package/esm/models/createprojectenvop.js +12 -12
- package/esm/models/createprojectenvop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +221 -29
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +174 -11
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/editprojectenvop.d.ts +4 -7
- package/esm/models/editprojectenvop.d.ts.map +1 -1
- package/esm/models/editprojectenvop.js +4 -4
- package/esm/models/editprojectenvop.js.map +1 -1
- package/esm/models/exchangessotokenop.d.ts +34 -0
- package/esm/models/exchangessotokenop.d.ts.map +1 -1
- package/esm/models/exchangessotokenop.js +25 -0
- package/esm/models/exchangessotokenop.js.map +1 -1
- package/esm/models/filterprojectenvsop.d.ts +18 -27
- package/esm/models/filterprojectenvsop.d.ts.map +1 -1
- package/esm/models/filterprojectenvsop.js +18 -18
- package/esm/models/filterprojectenvsop.js.map +1 -1
- package/esm/models/getconfigurationsop.d.ts +19 -16
- package/esm/models/getconfigurationsop.d.ts.map +1 -1
- package/esm/models/getconfigurationsop.js +25 -27
- package/esm/models/getconfigurationsop.js.map +1 -1
- package/esm/models/getcustomenvironmentop.d.ts +3 -0
- package/esm/models/getcustomenvironmentop.d.ts.map +1 -1
- package/esm/models/getcustomenvironmentop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +574 -172
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +567 -171
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getfirewallconfigop.d.ts +214 -214
- package/esm/models/getfirewallconfigop.d.ts.map +1 -1
- package/esm/models/getfirewallconfigop.js +210 -231
- package/esm/models/getfirewallconfigop.js.map +1 -1
- package/esm/models/getintegrationlogdrainsop.d.ts +11 -11
- package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
- package/esm/models/getintegrationlogdrainsop.js +14 -13
- package/esm/models/getintegrationlogdrainsop.js.map +1 -1
- package/esm/models/getprojectdomainsop.d.ts +198 -36
- package/esm/models/getprojectdomainsop.d.ts.map +1 -1
- package/esm/models/getprojectdomainsop.js +193 -32
- package/esm/models/getprojectdomainsop.js.map +1 -1
- package/esm/models/getprojectenvop.d.ts +10 -16
- package/esm/models/getprojectenvop.d.ts.map +1 -1
- package/esm/models/getprojectenvop.js +10 -10
- package/esm/models/getprojectenvop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +221 -29
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +173 -11
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getteammembersop.d.ts +9 -9
- package/esm/models/getteammembersop.js +3 -3
- package/esm/models/getteammembersop.js.map +1 -1
- package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +3 -0
- package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts.map +1 -1
- package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
- package/esm/models/putfirewallconfigop.d.ts +2901 -0
- package/esm/models/putfirewallconfigop.d.ts.map +1 -0
- package/esm/models/putfirewallconfigop.js +2383 -0
- package/esm/models/putfirewallconfigop.js.map +1 -0
- package/esm/models/removeprojectenvop.d.ts +18 -27
- package/esm/models/removeprojectenvop.d.ts.map +1 -1
- package/esm/models/removeprojectenvop.js +18 -18
- package/esm/models/removeprojectenvop.js.map +1 -1
- package/esm/models/updatefirewallconfigop.d.ts +323 -323
- package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
- package/esm/models/updatefirewallconfigop.js +379 -357
- package/esm/models/updatefirewallconfigop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +229 -37
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +189 -23
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +221 -29
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +174 -11
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/userevent.d.ts +608 -524
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +748 -666
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/integrations.d.ts +0 -16
- package/esm/sdk/integrations.d.ts.map +1 -1
- package/esm/sdk/integrations.js +0 -20
- package/esm/sdk/integrations.js.map +1 -1
- package/esm/sdk/logdrains.d.ts +0 -24
- package/esm/sdk/logdrains.d.ts.map +1 -1
- package/esm/sdk/logdrains.js +0 -30
- package/esm/sdk/logdrains.js.map +1 -1
- package/esm/sdk/security.d.ts +8 -0
- package/esm/sdk/security.d.ts.map +1 -1
- package/esm/sdk/security.js +10 -0
- package/esm/sdk/security.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +3 -3
- package/src/__tests__/deployments.test.ts +16 -1
- package/src/__tests__/integrations.test.ts +9 -44
- package/src/__tests__/logdrains.test.ts +13 -95
- package/src/__tests__/marketplace.test.ts +7 -2
- package/src/__tests__/projects.test.ts +4 -4
- package/src/__tests__/security.test.ts +166 -19
- package/src/funcs/{logDrainsCreateConfigurableLogDrain.ts → securityPutFirewallConfig.ts} +31 -22
- package/src/lib/config.ts +3 -3
- package/src/lib/matchers.ts +20 -0
- package/src/lib/sdks.ts +8 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -11
- package/src/mcp-server/tools/securityPutFirewallConfig.ts +37 -0
- package/src/models/authtoken.ts +2 -0
- package/src/models/authuser.ts +126 -0
- package/src/models/canceldeploymentop.ts +592 -149
- package/src/models/createdeploymentop.ts +616 -165
- package/src/models/createlogdrainop.ts +95 -112
- package/src/models/createprojectenvop.ts +24 -30
- package/src/models/createprojectop.ts +378 -21
- package/src/models/editprojectenvop.ts +8 -11
- package/src/models/exchangessotokenop.ts +44 -0
- package/src/models/filterprojectenvsop.ts +36 -45
- package/src/models/getconfigurationsop.ts +34 -39
- package/src/models/getcustomenvironmentop.ts +3 -0
- package/src/models/getdeploymentop.ts +1288 -353
- package/src/models/getfirewallconfigop.ts +555 -410
- package/src/models/getintegrationlogdrainsop.ts +15 -20
- package/src/models/getprojectdomainsop.ts +470 -63
- package/src/models/getprojectenvop.ts +20 -26
- package/src/models/getprojectsop.ts +380 -22
- package/src/models/getteammembersop.ts +3 -3
- package/src/models/getv9projectsidornamecustomenvironmentsop.ts +3 -0
- package/src/models/putfirewallconfigop.ts +4932 -0
- package/src/models/removeprojectenvop.ts +36 -45
- package/src/models/updatefirewallconfigop.ts +820 -612
- package/src/models/updateprojectdatacacheop.ts +395 -40
- package/src/models/updateprojectop.ts +378 -21
- package/src/models/userevent.ts +1363 -1203
- package/src/sdk/integrations.ts +0 -44
- package/src/sdk/logdrains.ts +0 -66
- package/src/sdk/security.ts +22 -0
- package/vercel-spec.json +1780 -1622
- package/esm/funcs/integrationsGitNamespaces.d.ts +0 -18
- package/esm/funcs/integrationsGitNamespaces.d.ts.map +0 -1
- package/esm/funcs/integrationsGitNamespaces.js +0 -86
- package/esm/funcs/integrationsGitNamespaces.js.map +0 -1
- package/esm/funcs/integrationsSearchRepo.d.ts +0 -17
- package/esm/funcs/integrationsSearchRepo.d.ts.map +0 -1
- package/esm/funcs/integrationsSearchRepo.js +0 -89
- package/esm/funcs/integrationsSearchRepo.js.map +0 -1
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.d.ts +0 -18
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.d.ts.map +0 -1
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.js.map +0 -1
- package/esm/funcs/logDrainsGetAllLogDrains.d.ts +0 -18
- package/esm/funcs/logDrainsGetAllLogDrains.d.ts.map +0 -1
- package/esm/funcs/logDrainsGetAllLogDrains.js +0 -88
- package/esm/funcs/logDrainsGetAllLogDrains.js.map +0 -1
- package/esm/funcs/logDrainsGetConfigurableLogDrain.d.ts +0 -19
- package/esm/funcs/logDrainsGetConfigurableLogDrain.d.ts.map +0 -1
- package/esm/funcs/logDrainsGetConfigurableLogDrain.js +0 -92
- package/esm/funcs/logDrainsGetConfigurableLogDrain.js.map +0 -1
- package/esm/mcp-server/tools/integrationsGitNamespaces.d.ts +0 -7
- package/esm/mcp-server/tools/integrationsGitNamespaces.d.ts.map +0 -1
- package/esm/mcp-server/tools/integrationsGitNamespaces.js +0 -28
- package/esm/mcp-server/tools/integrationsSearchRepo.d.ts +0 -7
- package/esm/mcp-server/tools/integrationsSearchRepo.d.ts.map +0 -1
- package/esm/mcp-server/tools/integrationsSearchRepo.js +0 -28
- package/esm/mcp-server/tools/integrationsSearchRepo.js.map +0 -1
- package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.d.ts +0 -7
- package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.d.ts.map +0 -1
- package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.js +0 -28
- package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.js.map +0 -1
- package/esm/mcp-server/tools/logDrainsGetAllLogDrains.d.ts +0 -7
- package/esm/mcp-server/tools/logDrainsGetAllLogDrains.d.ts.map +0 -1
- package/esm/mcp-server/tools/logDrainsGetAllLogDrains.js +0 -28
- package/esm/mcp-server/tools/logDrainsGetAllLogDrains.js.map +0 -1
- package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.d.ts +0 -7
- package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.d.ts.map +0 -1
- package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.js +0 -28
- package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.js.map +0 -1
- package/esm/models/createconfigurablelogdrainop.d.ts +0 -451
- package/esm/models/createconfigurablelogdrainop.d.ts.map +0 -1
- package/esm/models/createconfigurablelogdrainop.js +0 -348
- package/esm/models/createconfigurablelogdrainop.js.map +0 -1
- package/esm/models/getalllogdrainsop.d.ts +0 -294
- package/esm/models/getalllogdrainsop.d.ts.map +0 -1
- package/esm/models/getalllogdrainsop.js +0 -231
- package/esm/models/getalllogdrainsop.js.map +0 -1
- package/esm/models/getconfigurablelogdrainop.d.ts +0 -292
- package/esm/models/getconfigurablelogdrainop.d.ts.map +0 -1
- package/esm/models/getconfigurablelogdrainop.js +0 -230
- package/esm/models/getconfigurablelogdrainop.js.map +0 -1
- package/esm/models/gitnamespacesop.d.ts +0 -126
- package/esm/models/gitnamespacesop.d.ts.map +0 -1
- package/esm/models/gitnamespacesop.js +0 -115
- package/esm/models/gitnamespacesop.js.map +0 -1
- package/esm/models/searchrepoop.d.ts +0 -421
- package/esm/models/searchrepoop.d.ts.map +0 -1
- package/esm/models/searchrepoop.js +0 -385
- package/esm/models/searchrepoop.js.map +0 -1
- package/src/funcs/integrationsGitNamespaces.ts +0 -185
- package/src/funcs/integrationsSearchRepo.ts +0 -181
- package/src/funcs/logDrainsGetAllLogDrains.ts +0 -187
- package/src/funcs/logDrainsGetConfigurableLogDrain.ts +0 -199
- package/src/mcp-server/tools/integrationsGitNamespaces.ts +0 -37
- package/src/mcp-server/tools/integrationsSearchRepo.ts +0 -37
- package/src/mcp-server/tools/logDrainsCreateConfigurableLogDrain.ts +0 -39
- package/src/mcp-server/tools/logDrainsGetAllLogDrains.ts +0 -37
- package/src/mcp-server/tools/logDrainsGetConfigurableLogDrain.ts +0 -39
- package/src/models/createconfigurablelogdrainop.ts +0 -652
- package/src/models/getalllogdrainsop.ts +0 -416
- package/src/models/getconfigurablelogdrainop.ts +0 -420
- package/src/models/gitnamespacesop.ts +0 -235
- package/src/models/searchrepoop.ts +0 -784
|
@@ -705,9 +705,11 @@ export type UpdateProjectEnv = {
|
|
|
705
705
|
* This is used to identiy variables that have been migrated from type secret to sensitive.
|
|
706
706
|
*/
|
|
707
707
|
sunsetSecretId?: string | undefined;
|
|
708
|
+
decrypted?: boolean | undefined;
|
|
709
|
+
value: string;
|
|
710
|
+
vsmValue?: string | undefined;
|
|
708
711
|
id?: string | undefined;
|
|
709
712
|
key: string;
|
|
710
|
-
value: string;
|
|
711
713
|
configurationId?: string | null | undefined;
|
|
712
714
|
createdAt?: number | undefined;
|
|
713
715
|
updatedAt?: number | undefined;
|
|
@@ -738,13 +740,8 @@ export type UpdateProjectEnv = {
|
|
|
738
740
|
* Similar to `contentHints`, but should not be exposed to the user.
|
|
739
741
|
*/
|
|
740
742
|
internalContentHint?: UpdateProjectInternalContentHint | null | undefined;
|
|
741
|
-
/**
|
|
742
|
-
* Whether `value` and `vsmValue` are decrypted.
|
|
743
|
-
*/
|
|
744
|
-
decrypted?: boolean | undefined;
|
|
745
743
|
comment?: string | undefined;
|
|
746
744
|
customEnvironmentIds?: Array<string> | undefined;
|
|
747
|
-
vsmValue?: string | undefined;
|
|
748
745
|
};
|
|
749
746
|
|
|
750
747
|
export type UpdateProjectCustomEnvironments = {};
|
|
@@ -813,18 +810,30 @@ export type UpdateProjectAliasError = {
|
|
|
813
810
|
message: string;
|
|
814
811
|
};
|
|
815
812
|
|
|
813
|
+
/**
|
|
814
|
+
* The type of matching to perform
|
|
815
|
+
*/
|
|
816
816
|
export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType = {
|
|
817
817
|
EndsWith: "endsWith",
|
|
818
818
|
StartsWith: "startsWith",
|
|
819
819
|
Equals: "equals",
|
|
820
820
|
} as const;
|
|
821
|
+
/**
|
|
822
|
+
* The type of matching to perform
|
|
823
|
+
*/
|
|
821
824
|
export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType =
|
|
822
825
|
ClosedEnum<
|
|
823
826
|
typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType
|
|
824
827
|
>;
|
|
825
828
|
|
|
826
829
|
export type UpdateProjectBranchMatcher = {
|
|
830
|
+
/**
|
|
831
|
+
* The type of matching to perform
|
|
832
|
+
*/
|
|
827
833
|
type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType;
|
|
834
|
+
/**
|
|
835
|
+
* The pattern to match against branch names
|
|
836
|
+
*/
|
|
828
837
|
pattern: string;
|
|
829
838
|
};
|
|
830
839
|
|
|
@@ -950,6 +959,39 @@ export type UpdateProjectLatestDeployments = {
|
|
|
950
959
|
withCache?: boolean | undefined;
|
|
951
960
|
};
|
|
952
961
|
|
|
962
|
+
export const UpdateProjectLinkProjectsResponse200Type = {
|
|
963
|
+
GithubCustomHost: "github-custom-host",
|
|
964
|
+
} as const;
|
|
965
|
+
export type UpdateProjectLinkProjectsResponse200Type = ClosedEnum<
|
|
966
|
+
typeof UpdateProjectLinkProjectsResponse200Type
|
|
967
|
+
>;
|
|
968
|
+
|
|
969
|
+
export type UpdateProjectLinkProjectsResponse200DeployHooks = {
|
|
970
|
+
createdAt?: number | undefined;
|
|
971
|
+
id: string;
|
|
972
|
+
name: string;
|
|
973
|
+
ref: string;
|
|
974
|
+
url: string;
|
|
975
|
+
};
|
|
976
|
+
|
|
977
|
+
export type UpdateProjectLink4 = {
|
|
978
|
+
org?: string | undefined;
|
|
979
|
+
/**
|
|
980
|
+
* A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes.
|
|
981
|
+
*/
|
|
982
|
+
repoOwnerId?: number | undefined;
|
|
983
|
+
repo?: string | undefined;
|
|
984
|
+
repoId?: number | undefined;
|
|
985
|
+
type?: UpdateProjectLinkProjectsResponse200Type | undefined;
|
|
986
|
+
host?: string | undefined;
|
|
987
|
+
createdAt?: number | undefined;
|
|
988
|
+
deployHooks: Array<UpdateProjectLinkProjectsResponse200DeployHooks>;
|
|
989
|
+
gitCredentialId?: string | undefined;
|
|
990
|
+
updatedAt?: number | undefined;
|
|
991
|
+
sourceless?: boolean | undefined;
|
|
992
|
+
productionBranch?: string | undefined;
|
|
993
|
+
};
|
|
994
|
+
|
|
953
995
|
export const UpdateProjectLinkProjectsResponseType = {
|
|
954
996
|
Bitbucket: "bitbucket",
|
|
955
997
|
} as const;
|
|
@@ -1047,6 +1089,7 @@ export type UpdateProjectLink1 = {
|
|
|
1047
1089
|
export type UpdateProjectLink =
|
|
1048
1090
|
| UpdateProjectLink1
|
|
1049
1091
|
| UpdateProjectLink3
|
|
1092
|
+
| UpdateProjectLink4
|
|
1050
1093
|
| UpdateProjectLink2;
|
|
1051
1094
|
|
|
1052
1095
|
export type UpdateProjectMicrofrontends2 = {
|
|
@@ -1073,7 +1116,7 @@ export type UpdateProjectMicrofrontends1 = {
|
|
|
1073
1116
|
*/
|
|
1074
1117
|
isDefaultApp?: boolean | undefined;
|
|
1075
1118
|
/**
|
|
1076
|
-
* A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI.
|
|
1119
|
+
* A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. Includes the leading slash, e.g. `/docs`
|
|
1077
1120
|
*/
|
|
1078
1121
|
defaultRoute?: string | undefined;
|
|
1079
1122
|
/**
|
|
@@ -1119,6 +1162,13 @@ export type UpdateProjectFunctionDefaultMemoryType = ClosedEnum<
|
|
|
1119
1162
|
typeof UpdateProjectFunctionDefaultMemoryType
|
|
1120
1163
|
>;
|
|
1121
1164
|
|
|
1165
|
+
export const UpdateProjectBuildMachineType = {
|
|
1166
|
+
Enhanced: "enhanced",
|
|
1167
|
+
} as const;
|
|
1168
|
+
export type UpdateProjectBuildMachineType = ClosedEnum<
|
|
1169
|
+
typeof UpdateProjectBuildMachineType
|
|
1170
|
+
>;
|
|
1171
|
+
|
|
1122
1172
|
export type UpdateProjectResourceConfig = {
|
|
1123
1173
|
fluid?: boolean | undefined;
|
|
1124
1174
|
functionDefaultRegions: Array<string>;
|
|
@@ -1128,6 +1178,7 @@ export type UpdateProjectResourceConfig = {
|
|
|
1128
1178
|
| undefined;
|
|
1129
1179
|
functionZeroConfigFailover?: boolean | undefined;
|
|
1130
1180
|
elasticConcurrencyEnabled?: boolean | undefined;
|
|
1181
|
+
buildMachineType?: UpdateProjectBuildMachineType | undefined;
|
|
1131
1182
|
};
|
|
1132
1183
|
|
|
1133
1184
|
/**
|
|
@@ -1138,6 +1189,14 @@ export type UpdateProjectStages = {
|
|
|
1138
1189
|
* The percentage of traffic to serve to the new deployment
|
|
1139
1190
|
*/
|
|
1140
1191
|
targetPercentage: number;
|
|
1192
|
+
/**
|
|
1193
|
+
* minutesToRelease is the total time to gradually shift percentages. This value overrides stages and instead creates a single smooth starting percentage to ending percentage stage. So once we have fetched the document with the update time, subtract from the current time, and divide by total minutesToRelease, to determine what percentage of traffic the new deployment should be serving.
|
|
1194
|
+
*/
|
|
1195
|
+
minutesToRelease?: number | undefined;
|
|
1196
|
+
/**
|
|
1197
|
+
* Whether or not this stage requires approval to proceed.
|
|
1198
|
+
*/
|
|
1199
|
+
requireApproval?: boolean | undefined;
|
|
1141
1200
|
};
|
|
1142
1201
|
|
|
1143
1202
|
export type UpdateProjectRollingRelease = {
|
|
@@ -1164,6 +1223,13 @@ export type UpdateProjectProjectsFunctionDefaultMemoryType = ClosedEnum<
|
|
|
1164
1223
|
typeof UpdateProjectProjectsFunctionDefaultMemoryType
|
|
1165
1224
|
>;
|
|
1166
1225
|
|
|
1226
|
+
export const UpdateProjectProjectsBuildMachineType = {
|
|
1227
|
+
Enhanced: "enhanced",
|
|
1228
|
+
} as const;
|
|
1229
|
+
export type UpdateProjectProjectsBuildMachineType = ClosedEnum<
|
|
1230
|
+
typeof UpdateProjectProjectsBuildMachineType
|
|
1231
|
+
>;
|
|
1232
|
+
|
|
1167
1233
|
export type UpdateProjectDefaultResourceConfig = {
|
|
1168
1234
|
fluid?: boolean | undefined;
|
|
1169
1235
|
functionDefaultRegions: Array<string>;
|
|
@@ -1173,11 +1239,12 @@ export type UpdateProjectDefaultResourceConfig = {
|
|
|
1173
1239
|
| undefined;
|
|
1174
1240
|
functionZeroConfigFailover?: boolean | undefined;
|
|
1175
1241
|
elasticConcurrencyEnabled?: boolean | undefined;
|
|
1242
|
+
buildMachineType?: UpdateProjectProjectsBuildMachineType | undefined;
|
|
1176
1243
|
};
|
|
1177
1244
|
|
|
1178
1245
|
export const UpdateProjectProjectsResponseDeploymentType = {
|
|
1179
|
-
Preview: "preview",
|
|
1180
1246
|
All: "all",
|
|
1247
|
+
Preview: "preview",
|
|
1181
1248
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
1182
1249
|
} as const;
|
|
1183
1250
|
export type UpdateProjectProjectsResponseDeploymentType = ClosedEnum<
|
|
@@ -1195,17 +1262,29 @@ export type UpdateProjectProjectsAliasError = {
|
|
|
1195
1262
|
message: string;
|
|
1196
1263
|
};
|
|
1197
1264
|
|
|
1265
|
+
/**
|
|
1266
|
+
* The type of matching to perform
|
|
1267
|
+
*/
|
|
1198
1268
|
export const UpdateProjectProjectsResponse200ApplicationJSONType = {
|
|
1199
1269
|
EndsWith: "endsWith",
|
|
1200
1270
|
StartsWith: "startsWith",
|
|
1201
1271
|
Equals: "equals",
|
|
1202
1272
|
} as const;
|
|
1273
|
+
/**
|
|
1274
|
+
* The type of matching to perform
|
|
1275
|
+
*/
|
|
1203
1276
|
export type UpdateProjectProjectsResponse200ApplicationJSONType = ClosedEnum<
|
|
1204
1277
|
typeof UpdateProjectProjectsResponse200ApplicationJSONType
|
|
1205
1278
|
>;
|
|
1206
1279
|
|
|
1207
1280
|
export type UpdateProjectProjectsBranchMatcher = {
|
|
1281
|
+
/**
|
|
1282
|
+
* The type of matching to perform
|
|
1283
|
+
*/
|
|
1208
1284
|
type: UpdateProjectProjectsResponse200ApplicationJSONType;
|
|
1285
|
+
/**
|
|
1286
|
+
* The pattern to match against branch names
|
|
1287
|
+
*/
|
|
1209
1288
|
pattern: string;
|
|
1210
1289
|
};
|
|
1211
1290
|
|
|
@@ -1416,6 +1495,7 @@ export type UpdateProjectPermissions = {
|
|
|
1416
1495
|
notificationCustomerBudget?: Array<ACLAction> | undefined;
|
|
1417
1496
|
notificationStatementOfReasons?: Array<ACLAction> | undefined;
|
|
1418
1497
|
observabilityConfiguration?: Array<ACLAction> | undefined;
|
|
1498
|
+
observabilityNotebook?: Array<ACLAction> | undefined;
|
|
1419
1499
|
openTelemetryEndpoint?: Array<ACLAction> | undefined;
|
|
1420
1500
|
paymentMethod?: Array<ACLAction> | undefined;
|
|
1421
1501
|
permissions?: Array<ACLAction> | undefined;
|
|
@@ -1449,6 +1529,7 @@ export type UpdateProjectPermissions = {
|
|
|
1449
1529
|
teamInvite?: Array<ACLAction> | undefined;
|
|
1450
1530
|
teamInviteCode?: Array<ACLAction> | undefined;
|
|
1451
1531
|
teamJoin?: Array<ACLAction> | undefined;
|
|
1532
|
+
teamMemberMfaStatus?: Array<ACLAction> | undefined;
|
|
1452
1533
|
teamMicrofrontends?: Array<ACLAction> | undefined;
|
|
1453
1534
|
teamOwnMembership?: Array<ACLAction> | undefined;
|
|
1454
1535
|
teamOwnMembershipDisconnectSAML?: Array<ACLAction> | undefined;
|
|
@@ -1466,6 +1547,8 @@ export type UpdateProjectPermissions = {
|
|
|
1466
1547
|
endpointVerification?: Array<ACLAction> | undefined;
|
|
1467
1548
|
projectTransferIn?: Array<ACLAction> | undefined;
|
|
1468
1549
|
oauth2Application?: Array<ACLAction> | undefined;
|
|
1550
|
+
vercelRun?: Array<ACLAction> | undefined;
|
|
1551
|
+
vercelRunExec?: Array<ACLAction> | undefined;
|
|
1469
1552
|
aliasProject?: Array<ACLAction> | undefined;
|
|
1470
1553
|
aliasProtectionBypass?: Array<ACLAction> | undefined;
|
|
1471
1554
|
productionAliasProtectionBypass?: Array<ACLAction> | undefined;
|
|
@@ -1565,10 +1648,10 @@ export type UpdateProjectProtectionBypass = {
|
|
|
1565
1648
|
};
|
|
1566
1649
|
|
|
1567
1650
|
export const UpdateProjectTrustedIpsProjectsDeploymentType = {
|
|
1568
|
-
Production: "production",
|
|
1569
|
-
Preview: "preview",
|
|
1570
1651
|
All: "all",
|
|
1652
|
+
Preview: "preview",
|
|
1571
1653
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
1654
|
+
Production: "production",
|
|
1572
1655
|
} as const;
|
|
1573
1656
|
export type UpdateProjectTrustedIpsProjectsDeploymentType = ClosedEnum<
|
|
1574
1657
|
typeof UpdateProjectTrustedIpsProjectsDeploymentType
|
|
@@ -1579,10 +1662,10 @@ export type UpdateProjectTrustedIps2 = {
|
|
|
1579
1662
|
};
|
|
1580
1663
|
|
|
1581
1664
|
export const UpdateProjectTrustedIpsDeploymentType = {
|
|
1582
|
-
Production: "production",
|
|
1583
|
-
Preview: "preview",
|
|
1584
1665
|
All: "all",
|
|
1666
|
+
Preview: "preview",
|
|
1585
1667
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
1668
|
+
Production: "production",
|
|
1586
1669
|
} as const;
|
|
1587
1670
|
export type UpdateProjectTrustedIpsDeploymentType = ClosedEnum<
|
|
1588
1671
|
typeof UpdateProjectTrustedIpsDeploymentType
|
|
@@ -1889,6 +1972,7 @@ export type UpdateProjectResponseBody = {
|
|
|
1889
1972
|
link?:
|
|
1890
1973
|
| UpdateProjectLink1
|
|
1891
1974
|
| UpdateProjectLink3
|
|
1975
|
+
| UpdateProjectLink4
|
|
1892
1976
|
| UpdateProjectLink2
|
|
1893
1977
|
| undefined;
|
|
1894
1978
|
microfrontends?:
|
|
@@ -4699,9 +4783,11 @@ export const UpdateProjectEnv$inboundSchema: z.ZodType<
|
|
|
4699
4783
|
.optional(),
|
|
4700
4784
|
type: UpdateProjectType$inboundSchema,
|
|
4701
4785
|
sunsetSecretId: z.string().optional(),
|
|
4786
|
+
decrypted: z.boolean().optional(),
|
|
4787
|
+
value: z.string(),
|
|
4788
|
+
vsmValue: z.string().optional(),
|
|
4702
4789
|
id: z.string().optional(),
|
|
4703
4790
|
key: z.string(),
|
|
4704
|
-
value: z.string(),
|
|
4705
4791
|
configurationId: z.nullable(z.string()).optional(),
|
|
4706
4792
|
createdAt: z.number().optional(),
|
|
4707
4793
|
updatedAt: z.number().optional(),
|
|
@@ -4732,10 +4818,8 @@ export const UpdateProjectEnv$inboundSchema: z.ZodType<
|
|
|
4732
4818
|
internalContentHint: z.nullable(
|
|
4733
4819
|
z.lazy(() => UpdateProjectInternalContentHint$inboundSchema),
|
|
4734
4820
|
).optional(),
|
|
4735
|
-
decrypted: z.boolean().optional(),
|
|
4736
4821
|
comment: z.string().optional(),
|
|
4737
4822
|
customEnvironmentIds: z.array(z.string()).optional(),
|
|
4738
|
-
vsmValue: z.string().optional(),
|
|
4739
4823
|
});
|
|
4740
4824
|
|
|
4741
4825
|
/** @internal */
|
|
@@ -4743,9 +4827,11 @@ export type UpdateProjectEnv$Outbound = {
|
|
|
4743
4827
|
target?: Array<string> | string | undefined;
|
|
4744
4828
|
type: string;
|
|
4745
4829
|
sunsetSecretId?: string | undefined;
|
|
4830
|
+
decrypted?: boolean | undefined;
|
|
4831
|
+
value: string;
|
|
4832
|
+
vsmValue?: string | undefined;
|
|
4746
4833
|
id?: string | undefined;
|
|
4747
4834
|
key: string;
|
|
4748
|
-
value: string;
|
|
4749
4835
|
configurationId?: string | null | undefined;
|
|
4750
4836
|
createdAt?: number | undefined;
|
|
4751
4837
|
updatedAt?: number | undefined;
|
|
@@ -4776,10 +4862,8 @@ export type UpdateProjectEnv$Outbound = {
|
|
|
4776
4862
|
| UpdateProjectInternalContentHint$Outbound
|
|
4777
4863
|
| null
|
|
4778
4864
|
| undefined;
|
|
4779
|
-
decrypted?: boolean | undefined;
|
|
4780
4865
|
comment?: string | undefined;
|
|
4781
4866
|
customEnvironmentIds?: Array<string> | undefined;
|
|
4782
|
-
vsmValue?: string | undefined;
|
|
4783
4867
|
};
|
|
4784
4868
|
|
|
4785
4869
|
/** @internal */
|
|
@@ -4792,9 +4876,11 @@ export const UpdateProjectEnv$outboundSchema: z.ZodType<
|
|
|
4792
4876
|
.optional(),
|
|
4793
4877
|
type: UpdateProjectType$outboundSchema,
|
|
4794
4878
|
sunsetSecretId: z.string().optional(),
|
|
4879
|
+
decrypted: z.boolean().optional(),
|
|
4880
|
+
value: z.string(),
|
|
4881
|
+
vsmValue: z.string().optional(),
|
|
4795
4882
|
id: z.string().optional(),
|
|
4796
4883
|
key: z.string(),
|
|
4797
|
-
value: z.string(),
|
|
4798
4884
|
configurationId: z.nullable(z.string()).optional(),
|
|
4799
4885
|
createdAt: z.number().optional(),
|
|
4800
4886
|
updatedAt: z.number().optional(),
|
|
@@ -4825,10 +4911,8 @@ export const UpdateProjectEnv$outboundSchema: z.ZodType<
|
|
|
4825
4911
|
internalContentHint: z.nullable(
|
|
4826
4912
|
z.lazy(() => UpdateProjectInternalContentHint$outboundSchema),
|
|
4827
4913
|
).optional(),
|
|
4828
|
-
decrypted: z.boolean().optional(),
|
|
4829
4914
|
comment: z.string().optional(),
|
|
4830
4915
|
customEnvironmentIds: z.array(z.string()).optional(),
|
|
4831
|
-
vsmValue: z.string().optional(),
|
|
4832
4916
|
});
|
|
4833
4917
|
|
|
4834
4918
|
/**
|
|
@@ -5691,6 +5775,202 @@ export function updateProjectLatestDeploymentsFromJSON(
|
|
|
5691
5775
|
);
|
|
5692
5776
|
}
|
|
5693
5777
|
|
|
5778
|
+
/** @internal */
|
|
5779
|
+
export const UpdateProjectLinkProjectsResponse200Type$inboundSchema:
|
|
5780
|
+
z.ZodNativeEnum<typeof UpdateProjectLinkProjectsResponse200Type> = z
|
|
5781
|
+
.nativeEnum(UpdateProjectLinkProjectsResponse200Type);
|
|
5782
|
+
|
|
5783
|
+
/** @internal */
|
|
5784
|
+
export const UpdateProjectLinkProjectsResponse200Type$outboundSchema:
|
|
5785
|
+
z.ZodNativeEnum<typeof UpdateProjectLinkProjectsResponse200Type> =
|
|
5786
|
+
UpdateProjectLinkProjectsResponse200Type$inboundSchema;
|
|
5787
|
+
|
|
5788
|
+
/**
|
|
5789
|
+
* @internal
|
|
5790
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5791
|
+
*/
|
|
5792
|
+
export namespace UpdateProjectLinkProjectsResponse200Type$ {
|
|
5793
|
+
/** @deprecated use `UpdateProjectLinkProjectsResponse200Type$inboundSchema` instead. */
|
|
5794
|
+
export const inboundSchema =
|
|
5795
|
+
UpdateProjectLinkProjectsResponse200Type$inboundSchema;
|
|
5796
|
+
/** @deprecated use `UpdateProjectLinkProjectsResponse200Type$outboundSchema` instead. */
|
|
5797
|
+
export const outboundSchema =
|
|
5798
|
+
UpdateProjectLinkProjectsResponse200Type$outboundSchema;
|
|
5799
|
+
}
|
|
5800
|
+
|
|
5801
|
+
/** @internal */
|
|
5802
|
+
export const UpdateProjectLinkProjectsResponse200DeployHooks$inboundSchema:
|
|
5803
|
+
z.ZodType<
|
|
5804
|
+
UpdateProjectLinkProjectsResponse200DeployHooks,
|
|
5805
|
+
z.ZodTypeDef,
|
|
5806
|
+
unknown
|
|
5807
|
+
> = z.object({
|
|
5808
|
+
createdAt: z.number().optional(),
|
|
5809
|
+
id: z.string(),
|
|
5810
|
+
name: z.string(),
|
|
5811
|
+
ref: z.string(),
|
|
5812
|
+
url: z.string(),
|
|
5813
|
+
});
|
|
5814
|
+
|
|
5815
|
+
/** @internal */
|
|
5816
|
+
export type UpdateProjectLinkProjectsResponse200DeployHooks$Outbound = {
|
|
5817
|
+
createdAt?: number | undefined;
|
|
5818
|
+
id: string;
|
|
5819
|
+
name: string;
|
|
5820
|
+
ref: string;
|
|
5821
|
+
url: string;
|
|
5822
|
+
};
|
|
5823
|
+
|
|
5824
|
+
/** @internal */
|
|
5825
|
+
export const UpdateProjectLinkProjectsResponse200DeployHooks$outboundSchema:
|
|
5826
|
+
z.ZodType<
|
|
5827
|
+
UpdateProjectLinkProjectsResponse200DeployHooks$Outbound,
|
|
5828
|
+
z.ZodTypeDef,
|
|
5829
|
+
UpdateProjectLinkProjectsResponse200DeployHooks
|
|
5830
|
+
> = z.object({
|
|
5831
|
+
createdAt: z.number().optional(),
|
|
5832
|
+
id: z.string(),
|
|
5833
|
+
name: z.string(),
|
|
5834
|
+
ref: z.string(),
|
|
5835
|
+
url: z.string(),
|
|
5836
|
+
});
|
|
5837
|
+
|
|
5838
|
+
/**
|
|
5839
|
+
* @internal
|
|
5840
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5841
|
+
*/
|
|
5842
|
+
export namespace UpdateProjectLinkProjectsResponse200DeployHooks$ {
|
|
5843
|
+
/** @deprecated use `UpdateProjectLinkProjectsResponse200DeployHooks$inboundSchema` instead. */
|
|
5844
|
+
export const inboundSchema =
|
|
5845
|
+
UpdateProjectLinkProjectsResponse200DeployHooks$inboundSchema;
|
|
5846
|
+
/** @deprecated use `UpdateProjectLinkProjectsResponse200DeployHooks$outboundSchema` instead. */
|
|
5847
|
+
export const outboundSchema =
|
|
5848
|
+
UpdateProjectLinkProjectsResponse200DeployHooks$outboundSchema;
|
|
5849
|
+
/** @deprecated use `UpdateProjectLinkProjectsResponse200DeployHooks$Outbound` instead. */
|
|
5850
|
+
export type Outbound =
|
|
5851
|
+
UpdateProjectLinkProjectsResponse200DeployHooks$Outbound;
|
|
5852
|
+
}
|
|
5853
|
+
|
|
5854
|
+
export function updateProjectLinkProjectsResponse200DeployHooksToJSON(
|
|
5855
|
+
updateProjectLinkProjectsResponse200DeployHooks:
|
|
5856
|
+
UpdateProjectLinkProjectsResponse200DeployHooks,
|
|
5857
|
+
): string {
|
|
5858
|
+
return JSON.stringify(
|
|
5859
|
+
UpdateProjectLinkProjectsResponse200DeployHooks$outboundSchema.parse(
|
|
5860
|
+
updateProjectLinkProjectsResponse200DeployHooks,
|
|
5861
|
+
),
|
|
5862
|
+
);
|
|
5863
|
+
}
|
|
5864
|
+
|
|
5865
|
+
export function updateProjectLinkProjectsResponse200DeployHooksFromJSON(
|
|
5866
|
+
jsonString: string,
|
|
5867
|
+
): SafeParseResult<
|
|
5868
|
+
UpdateProjectLinkProjectsResponse200DeployHooks,
|
|
5869
|
+
SDKValidationError
|
|
5870
|
+
> {
|
|
5871
|
+
return safeParse(
|
|
5872
|
+
jsonString,
|
|
5873
|
+
(x) =>
|
|
5874
|
+
UpdateProjectLinkProjectsResponse200DeployHooks$inboundSchema.parse(
|
|
5875
|
+
JSON.parse(x),
|
|
5876
|
+
),
|
|
5877
|
+
`Failed to parse 'UpdateProjectLinkProjectsResponse200DeployHooks' from JSON`,
|
|
5878
|
+
);
|
|
5879
|
+
}
|
|
5880
|
+
|
|
5881
|
+
/** @internal */
|
|
5882
|
+
export const UpdateProjectLink4$inboundSchema: z.ZodType<
|
|
5883
|
+
UpdateProjectLink4,
|
|
5884
|
+
z.ZodTypeDef,
|
|
5885
|
+
unknown
|
|
5886
|
+
> = z.object({
|
|
5887
|
+
org: z.string().optional(),
|
|
5888
|
+
repoOwnerId: z.number().optional(),
|
|
5889
|
+
repo: z.string().optional(),
|
|
5890
|
+
repoId: z.number().optional(),
|
|
5891
|
+
type: UpdateProjectLinkProjectsResponse200Type$inboundSchema.optional(),
|
|
5892
|
+
host: z.string().optional(),
|
|
5893
|
+
createdAt: z.number().optional(),
|
|
5894
|
+
deployHooks: z.array(
|
|
5895
|
+
z.lazy(() => UpdateProjectLinkProjectsResponse200DeployHooks$inboundSchema),
|
|
5896
|
+
),
|
|
5897
|
+
gitCredentialId: z.string().optional(),
|
|
5898
|
+
updatedAt: z.number().optional(),
|
|
5899
|
+
sourceless: z.boolean().optional(),
|
|
5900
|
+
productionBranch: z.string().optional(),
|
|
5901
|
+
});
|
|
5902
|
+
|
|
5903
|
+
/** @internal */
|
|
5904
|
+
export type UpdateProjectLink4$Outbound = {
|
|
5905
|
+
org?: string | undefined;
|
|
5906
|
+
repoOwnerId?: number | undefined;
|
|
5907
|
+
repo?: string | undefined;
|
|
5908
|
+
repoId?: number | undefined;
|
|
5909
|
+
type?: string | undefined;
|
|
5910
|
+
host?: string | undefined;
|
|
5911
|
+
createdAt?: number | undefined;
|
|
5912
|
+
deployHooks: Array<UpdateProjectLinkProjectsResponse200DeployHooks$Outbound>;
|
|
5913
|
+
gitCredentialId?: string | undefined;
|
|
5914
|
+
updatedAt?: number | undefined;
|
|
5915
|
+
sourceless?: boolean | undefined;
|
|
5916
|
+
productionBranch?: string | undefined;
|
|
5917
|
+
};
|
|
5918
|
+
|
|
5919
|
+
/** @internal */
|
|
5920
|
+
export const UpdateProjectLink4$outboundSchema: z.ZodType<
|
|
5921
|
+
UpdateProjectLink4$Outbound,
|
|
5922
|
+
z.ZodTypeDef,
|
|
5923
|
+
UpdateProjectLink4
|
|
5924
|
+
> = z.object({
|
|
5925
|
+
org: z.string().optional(),
|
|
5926
|
+
repoOwnerId: z.number().optional(),
|
|
5927
|
+
repo: z.string().optional(),
|
|
5928
|
+
repoId: z.number().optional(),
|
|
5929
|
+
type: UpdateProjectLinkProjectsResponse200Type$outboundSchema.optional(),
|
|
5930
|
+
host: z.string().optional(),
|
|
5931
|
+
createdAt: z.number().optional(),
|
|
5932
|
+
deployHooks: z.array(
|
|
5933
|
+
z.lazy(() =>
|
|
5934
|
+
UpdateProjectLinkProjectsResponse200DeployHooks$outboundSchema
|
|
5935
|
+
),
|
|
5936
|
+
),
|
|
5937
|
+
gitCredentialId: z.string().optional(),
|
|
5938
|
+
updatedAt: z.number().optional(),
|
|
5939
|
+
sourceless: z.boolean().optional(),
|
|
5940
|
+
productionBranch: z.string().optional(),
|
|
5941
|
+
});
|
|
5942
|
+
|
|
5943
|
+
/**
|
|
5944
|
+
* @internal
|
|
5945
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5946
|
+
*/
|
|
5947
|
+
export namespace UpdateProjectLink4$ {
|
|
5948
|
+
/** @deprecated use `UpdateProjectLink4$inboundSchema` instead. */
|
|
5949
|
+
export const inboundSchema = UpdateProjectLink4$inboundSchema;
|
|
5950
|
+
/** @deprecated use `UpdateProjectLink4$outboundSchema` instead. */
|
|
5951
|
+
export const outboundSchema = UpdateProjectLink4$outboundSchema;
|
|
5952
|
+
/** @deprecated use `UpdateProjectLink4$Outbound` instead. */
|
|
5953
|
+
export type Outbound = UpdateProjectLink4$Outbound;
|
|
5954
|
+
}
|
|
5955
|
+
|
|
5956
|
+
export function updateProjectLink4ToJSON(
|
|
5957
|
+
updateProjectLink4: UpdateProjectLink4,
|
|
5958
|
+
): string {
|
|
5959
|
+
return JSON.stringify(
|
|
5960
|
+
UpdateProjectLink4$outboundSchema.parse(updateProjectLink4),
|
|
5961
|
+
);
|
|
5962
|
+
}
|
|
5963
|
+
|
|
5964
|
+
export function updateProjectLink4FromJSON(
|
|
5965
|
+
jsonString: string,
|
|
5966
|
+
): SafeParseResult<UpdateProjectLink4, SDKValidationError> {
|
|
5967
|
+
return safeParse(
|
|
5968
|
+
jsonString,
|
|
5969
|
+
(x) => UpdateProjectLink4$inboundSchema.parse(JSON.parse(x)),
|
|
5970
|
+
`Failed to parse 'UpdateProjectLink4' from JSON`,
|
|
5971
|
+
);
|
|
5972
|
+
}
|
|
5973
|
+
|
|
5694
5974
|
/** @internal */
|
|
5695
5975
|
export const UpdateProjectLinkProjectsResponseType$inboundSchema:
|
|
5696
5976
|
z.ZodNativeEnum<typeof UpdateProjectLinkProjectsResponseType> = z.nativeEnum(
|
|
@@ -6256,6 +6536,7 @@ export const UpdateProjectLink$inboundSchema: z.ZodType<
|
|
|
6256
6536
|
> = z.union([
|
|
6257
6537
|
z.lazy(() => UpdateProjectLink1$inboundSchema),
|
|
6258
6538
|
z.lazy(() => UpdateProjectLink3$inboundSchema),
|
|
6539
|
+
z.lazy(() => UpdateProjectLink4$inboundSchema),
|
|
6259
6540
|
z.lazy(() => UpdateProjectLink2$inboundSchema),
|
|
6260
6541
|
]);
|
|
6261
6542
|
|
|
@@ -6263,6 +6544,7 @@ export const UpdateProjectLink$inboundSchema: z.ZodType<
|
|
|
6263
6544
|
export type UpdateProjectLink$Outbound =
|
|
6264
6545
|
| UpdateProjectLink1$Outbound
|
|
6265
6546
|
| UpdateProjectLink3$Outbound
|
|
6547
|
+
| UpdateProjectLink4$Outbound
|
|
6266
6548
|
| UpdateProjectLink2$Outbound;
|
|
6267
6549
|
|
|
6268
6550
|
/** @internal */
|
|
@@ -6273,6 +6555,7 @@ export const UpdateProjectLink$outboundSchema: z.ZodType<
|
|
|
6273
6555
|
> = z.union([
|
|
6274
6556
|
z.lazy(() => UpdateProjectLink1$outboundSchema),
|
|
6275
6557
|
z.lazy(() => UpdateProjectLink3$outboundSchema),
|
|
6558
|
+
z.lazy(() => UpdateProjectLink4$outboundSchema),
|
|
6276
6559
|
z.lazy(() => UpdateProjectLink2$outboundSchema),
|
|
6277
6560
|
]);
|
|
6278
6561
|
|
|
@@ -6715,6 +6998,27 @@ export namespace UpdateProjectFunctionDefaultMemoryType$ {
|
|
|
6715
6998
|
UpdateProjectFunctionDefaultMemoryType$outboundSchema;
|
|
6716
6999
|
}
|
|
6717
7000
|
|
|
7001
|
+
/** @internal */
|
|
7002
|
+
export const UpdateProjectBuildMachineType$inboundSchema: z.ZodNativeEnum<
|
|
7003
|
+
typeof UpdateProjectBuildMachineType
|
|
7004
|
+
> = z.nativeEnum(UpdateProjectBuildMachineType);
|
|
7005
|
+
|
|
7006
|
+
/** @internal */
|
|
7007
|
+
export const UpdateProjectBuildMachineType$outboundSchema: z.ZodNativeEnum<
|
|
7008
|
+
typeof UpdateProjectBuildMachineType
|
|
7009
|
+
> = UpdateProjectBuildMachineType$inboundSchema;
|
|
7010
|
+
|
|
7011
|
+
/**
|
|
7012
|
+
* @internal
|
|
7013
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7014
|
+
*/
|
|
7015
|
+
export namespace UpdateProjectBuildMachineType$ {
|
|
7016
|
+
/** @deprecated use `UpdateProjectBuildMachineType$inboundSchema` instead. */
|
|
7017
|
+
export const inboundSchema = UpdateProjectBuildMachineType$inboundSchema;
|
|
7018
|
+
/** @deprecated use `UpdateProjectBuildMachineType$outboundSchema` instead. */
|
|
7019
|
+
export const outboundSchema = UpdateProjectBuildMachineType$outboundSchema;
|
|
7020
|
+
}
|
|
7021
|
+
|
|
6718
7022
|
/** @internal */
|
|
6719
7023
|
export const UpdateProjectResourceConfig$inboundSchema: z.ZodType<
|
|
6720
7024
|
UpdateProjectResourceConfig,
|
|
@@ -6728,6 +7032,7 @@ export const UpdateProjectResourceConfig$inboundSchema: z.ZodType<
|
|
|
6728
7032
|
UpdateProjectFunctionDefaultMemoryType$inboundSchema.optional(),
|
|
6729
7033
|
functionZeroConfigFailover: z.boolean().optional(),
|
|
6730
7034
|
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
7035
|
+
buildMachineType: UpdateProjectBuildMachineType$inboundSchema.optional(),
|
|
6731
7036
|
});
|
|
6732
7037
|
|
|
6733
7038
|
/** @internal */
|
|
@@ -6738,6 +7043,7 @@ export type UpdateProjectResourceConfig$Outbound = {
|
|
|
6738
7043
|
functionDefaultMemoryType?: string | undefined;
|
|
6739
7044
|
functionZeroConfigFailover?: boolean | undefined;
|
|
6740
7045
|
elasticConcurrencyEnabled?: boolean | undefined;
|
|
7046
|
+
buildMachineType?: string | undefined;
|
|
6741
7047
|
};
|
|
6742
7048
|
|
|
6743
7049
|
/** @internal */
|
|
@@ -6753,6 +7059,7 @@ export const UpdateProjectResourceConfig$outboundSchema: z.ZodType<
|
|
|
6753
7059
|
UpdateProjectFunctionDefaultMemoryType$outboundSchema.optional(),
|
|
6754
7060
|
functionZeroConfigFailover: z.boolean().optional(),
|
|
6755
7061
|
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
7062
|
+
buildMachineType: UpdateProjectBuildMachineType$outboundSchema.optional(),
|
|
6756
7063
|
});
|
|
6757
7064
|
|
|
6758
7065
|
/**
|
|
@@ -6795,11 +7102,15 @@ export const UpdateProjectStages$inboundSchema: z.ZodType<
|
|
|
6795
7102
|
unknown
|
|
6796
7103
|
> = z.object({
|
|
6797
7104
|
targetPercentage: z.number(),
|
|
7105
|
+
minutesToRelease: z.number().optional(),
|
|
7106
|
+
requireApproval: z.boolean().optional(),
|
|
6798
7107
|
});
|
|
6799
7108
|
|
|
6800
7109
|
/** @internal */
|
|
6801
7110
|
export type UpdateProjectStages$Outbound = {
|
|
6802
7111
|
targetPercentage: number;
|
|
7112
|
+
minutesToRelease?: number | undefined;
|
|
7113
|
+
requireApproval?: boolean | undefined;
|
|
6803
7114
|
};
|
|
6804
7115
|
|
|
6805
7116
|
/** @internal */
|
|
@@ -6809,6 +7120,8 @@ export const UpdateProjectStages$outboundSchema: z.ZodType<
|
|
|
6809
7120
|
UpdateProjectStages
|
|
6810
7121
|
> = z.object({
|
|
6811
7122
|
targetPercentage: z.number(),
|
|
7123
|
+
minutesToRelease: z.number().optional(),
|
|
7124
|
+
requireApproval: z.boolean().optional(),
|
|
6812
7125
|
});
|
|
6813
7126
|
|
|
6814
7127
|
/**
|
|
@@ -6929,6 +7242,30 @@ export namespace UpdateProjectProjectsFunctionDefaultMemoryType$ {
|
|
|
6929
7242
|
UpdateProjectProjectsFunctionDefaultMemoryType$outboundSchema;
|
|
6930
7243
|
}
|
|
6931
7244
|
|
|
7245
|
+
/** @internal */
|
|
7246
|
+
export const UpdateProjectProjectsBuildMachineType$inboundSchema:
|
|
7247
|
+
z.ZodNativeEnum<typeof UpdateProjectProjectsBuildMachineType> = z.nativeEnum(
|
|
7248
|
+
UpdateProjectProjectsBuildMachineType,
|
|
7249
|
+
);
|
|
7250
|
+
|
|
7251
|
+
/** @internal */
|
|
7252
|
+
export const UpdateProjectProjectsBuildMachineType$outboundSchema:
|
|
7253
|
+
z.ZodNativeEnum<typeof UpdateProjectProjectsBuildMachineType> =
|
|
7254
|
+
UpdateProjectProjectsBuildMachineType$inboundSchema;
|
|
7255
|
+
|
|
7256
|
+
/**
|
|
7257
|
+
* @internal
|
|
7258
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7259
|
+
*/
|
|
7260
|
+
export namespace UpdateProjectProjectsBuildMachineType$ {
|
|
7261
|
+
/** @deprecated use `UpdateProjectProjectsBuildMachineType$inboundSchema` instead. */
|
|
7262
|
+
export const inboundSchema =
|
|
7263
|
+
UpdateProjectProjectsBuildMachineType$inboundSchema;
|
|
7264
|
+
/** @deprecated use `UpdateProjectProjectsBuildMachineType$outboundSchema` instead. */
|
|
7265
|
+
export const outboundSchema =
|
|
7266
|
+
UpdateProjectProjectsBuildMachineType$outboundSchema;
|
|
7267
|
+
}
|
|
7268
|
+
|
|
6932
7269
|
/** @internal */
|
|
6933
7270
|
export const UpdateProjectDefaultResourceConfig$inboundSchema: z.ZodType<
|
|
6934
7271
|
UpdateProjectDefaultResourceConfig,
|
|
@@ -6942,6 +7279,8 @@ export const UpdateProjectDefaultResourceConfig$inboundSchema: z.ZodType<
|
|
|
6942
7279
|
UpdateProjectProjectsFunctionDefaultMemoryType$inboundSchema.optional(),
|
|
6943
7280
|
functionZeroConfigFailover: z.boolean().optional(),
|
|
6944
7281
|
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
7282
|
+
buildMachineType: UpdateProjectProjectsBuildMachineType$inboundSchema
|
|
7283
|
+
.optional(),
|
|
6945
7284
|
});
|
|
6946
7285
|
|
|
6947
7286
|
/** @internal */
|
|
@@ -6952,6 +7291,7 @@ export type UpdateProjectDefaultResourceConfig$Outbound = {
|
|
|
6952
7291
|
functionDefaultMemoryType?: string | undefined;
|
|
6953
7292
|
functionZeroConfigFailover?: boolean | undefined;
|
|
6954
7293
|
elasticConcurrencyEnabled?: boolean | undefined;
|
|
7294
|
+
buildMachineType?: string | undefined;
|
|
6955
7295
|
};
|
|
6956
7296
|
|
|
6957
7297
|
/** @internal */
|
|
@@ -6967,6 +7307,8 @@ export const UpdateProjectDefaultResourceConfig$outboundSchema: z.ZodType<
|
|
|
6967
7307
|
UpdateProjectProjectsFunctionDefaultMemoryType$outboundSchema.optional(),
|
|
6968
7308
|
functionZeroConfigFailover: z.boolean().optional(),
|
|
6969
7309
|
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
7310
|
+
buildMachineType: UpdateProjectProjectsBuildMachineType$outboundSchema
|
|
7311
|
+
.optional(),
|
|
6970
7312
|
});
|
|
6971
7313
|
|
|
6972
7314
|
/**
|
|
@@ -7900,6 +8242,7 @@ export const UpdateProjectPermissions$inboundSchema: z.ZodType<
|
|
|
7900
8242
|
notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(),
|
|
7901
8243
|
notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(),
|
|
7902
8244
|
observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(),
|
|
8245
|
+
observabilityNotebook: z.array(ACLAction$inboundSchema).optional(),
|
|
7903
8246
|
openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(),
|
|
7904
8247
|
paymentMethod: z.array(ACLAction$inboundSchema).optional(),
|
|
7905
8248
|
permissions: z.array(ACLAction$inboundSchema).optional(),
|
|
@@ -7933,6 +8276,7 @@ export const UpdateProjectPermissions$inboundSchema: z.ZodType<
|
|
|
7933
8276
|
teamInvite: z.array(ACLAction$inboundSchema).optional(),
|
|
7934
8277
|
teamInviteCode: z.array(ACLAction$inboundSchema).optional(),
|
|
7935
8278
|
teamJoin: z.array(ACLAction$inboundSchema).optional(),
|
|
8279
|
+
teamMemberMfaStatus: z.array(ACLAction$inboundSchema).optional(),
|
|
7936
8280
|
teamMicrofrontends: z.array(ACLAction$inboundSchema).optional(),
|
|
7937
8281
|
teamOwnMembership: z.array(ACLAction$inboundSchema).optional(),
|
|
7938
8282
|
teamOwnMembershipDisconnectSAML: z.array(ACLAction$inboundSchema).optional(),
|
|
@@ -7950,6 +8294,8 @@ export const UpdateProjectPermissions$inboundSchema: z.ZodType<
|
|
|
7950
8294
|
endpointVerification: z.array(ACLAction$inboundSchema).optional(),
|
|
7951
8295
|
projectTransferIn: z.array(ACLAction$inboundSchema).optional(),
|
|
7952
8296
|
oauth2Application: z.array(ACLAction$inboundSchema).optional(),
|
|
8297
|
+
vercelRun: z.array(ACLAction$inboundSchema).optional(),
|
|
8298
|
+
vercelRunExec: z.array(ACLAction$inboundSchema).optional(),
|
|
7953
8299
|
aliasProject: z.array(ACLAction$inboundSchema).optional(),
|
|
7954
8300
|
aliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(),
|
|
7955
8301
|
productionAliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(),
|
|
@@ -8102,6 +8448,7 @@ export type UpdateProjectPermissions$Outbound = {
|
|
|
8102
8448
|
notificationCustomerBudget?: Array<string> | undefined;
|
|
8103
8449
|
notificationStatementOfReasons?: Array<string> | undefined;
|
|
8104
8450
|
observabilityConfiguration?: Array<string> | undefined;
|
|
8451
|
+
observabilityNotebook?: Array<string> | undefined;
|
|
8105
8452
|
openTelemetryEndpoint?: Array<string> | undefined;
|
|
8106
8453
|
paymentMethod?: Array<string> | undefined;
|
|
8107
8454
|
permissions?: Array<string> | undefined;
|
|
@@ -8135,6 +8482,7 @@ export type UpdateProjectPermissions$Outbound = {
|
|
|
8135
8482
|
teamInvite?: Array<string> | undefined;
|
|
8136
8483
|
teamInviteCode?: Array<string> | undefined;
|
|
8137
8484
|
teamJoin?: Array<string> | undefined;
|
|
8485
|
+
teamMemberMfaStatus?: Array<string> | undefined;
|
|
8138
8486
|
teamMicrofrontends?: Array<string> | undefined;
|
|
8139
8487
|
teamOwnMembership?: Array<string> | undefined;
|
|
8140
8488
|
teamOwnMembershipDisconnectSAML?: Array<string> | undefined;
|
|
@@ -8152,6 +8500,8 @@ export type UpdateProjectPermissions$Outbound = {
|
|
|
8152
8500
|
endpointVerification?: Array<string> | undefined;
|
|
8153
8501
|
projectTransferIn?: Array<string> | undefined;
|
|
8154
8502
|
oauth2Application?: Array<string> | undefined;
|
|
8503
|
+
vercelRun?: Array<string> | undefined;
|
|
8504
|
+
vercelRunExec?: Array<string> | undefined;
|
|
8155
8505
|
aliasProject?: Array<string> | undefined;
|
|
8156
8506
|
aliasProtectionBypass?: Array<string> | undefined;
|
|
8157
8507
|
productionAliasProtectionBypass?: Array<string> | undefined;
|
|
@@ -8305,6 +8655,7 @@ export const UpdateProjectPermissions$outboundSchema: z.ZodType<
|
|
|
8305
8655
|
notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(),
|
|
8306
8656
|
notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(),
|
|
8307
8657
|
observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(),
|
|
8658
|
+
observabilityNotebook: z.array(ACLAction$outboundSchema).optional(),
|
|
8308
8659
|
openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(),
|
|
8309
8660
|
paymentMethod: z.array(ACLAction$outboundSchema).optional(),
|
|
8310
8661
|
permissions: z.array(ACLAction$outboundSchema).optional(),
|
|
@@ -8338,6 +8689,7 @@ export const UpdateProjectPermissions$outboundSchema: z.ZodType<
|
|
|
8338
8689
|
teamInvite: z.array(ACLAction$outboundSchema).optional(),
|
|
8339
8690
|
teamInviteCode: z.array(ACLAction$outboundSchema).optional(),
|
|
8340
8691
|
teamJoin: z.array(ACLAction$outboundSchema).optional(),
|
|
8692
|
+
teamMemberMfaStatus: z.array(ACLAction$outboundSchema).optional(),
|
|
8341
8693
|
teamMicrofrontends: z.array(ACLAction$outboundSchema).optional(),
|
|
8342
8694
|
teamOwnMembership: z.array(ACLAction$outboundSchema).optional(),
|
|
8343
8695
|
teamOwnMembershipDisconnectSAML: z.array(ACLAction$outboundSchema).optional(),
|
|
@@ -8355,6 +8707,8 @@ export const UpdateProjectPermissions$outboundSchema: z.ZodType<
|
|
|
8355
8707
|
endpointVerification: z.array(ACLAction$outboundSchema).optional(),
|
|
8356
8708
|
projectTransferIn: z.array(ACLAction$outboundSchema).optional(),
|
|
8357
8709
|
oauth2Application: z.array(ACLAction$outboundSchema).optional(),
|
|
8710
|
+
vercelRun: z.array(ACLAction$outboundSchema).optional(),
|
|
8711
|
+
vercelRunExec: z.array(ACLAction$outboundSchema).optional(),
|
|
8358
8712
|
aliasProject: z.array(ACLAction$outboundSchema).optional(),
|
|
8359
8713
|
aliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(),
|
|
8360
8714
|
productionAliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(),
|
|
@@ -10398,6 +10752,7 @@ export const UpdateProjectResponseBody$inboundSchema: z.ZodType<
|
|
|
10398
10752
|
link: z.union([
|
|
10399
10753
|
z.lazy(() => UpdateProjectLink1$inboundSchema),
|
|
10400
10754
|
z.lazy(() => UpdateProjectLink3$inboundSchema),
|
|
10755
|
+
z.lazy(() => UpdateProjectLink4$inboundSchema),
|
|
10401
10756
|
z.lazy(() => UpdateProjectLink2$inboundSchema),
|
|
10402
10757
|
]).optional(),
|
|
10403
10758
|
microfrontends: z.union([
|
|
@@ -10515,6 +10870,7 @@ export type UpdateProjectResponseBody$Outbound = {
|
|
|
10515
10870
|
link?:
|
|
10516
10871
|
| UpdateProjectLink1$Outbound
|
|
10517
10872
|
| UpdateProjectLink3$Outbound
|
|
10873
|
+
| UpdateProjectLink4$Outbound
|
|
10518
10874
|
| UpdateProjectLink2$Outbound
|
|
10519
10875
|
| undefined;
|
|
10520
10876
|
microfrontends?:
|
|
@@ -10628,6 +10984,7 @@ export const UpdateProjectResponseBody$outboundSchema: z.ZodType<
|
|
|
10628
10984
|
link: z.union([
|
|
10629
10985
|
z.lazy(() => UpdateProjectLink1$outboundSchema),
|
|
10630
10986
|
z.lazy(() => UpdateProjectLink3$outboundSchema),
|
|
10987
|
+
z.lazy(() => UpdateProjectLink4$outboundSchema),
|
|
10631
10988
|
z.lazy(() => UpdateProjectLink2$outboundSchema),
|
|
10632
10989
|
]).optional(),
|
|
10633
10990
|
microfrontends: z.union([
|