@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
|
@@ -612,9 +612,11 @@ export type CreateProjectEnv = {
|
|
|
612
612
|
* This is used to identiy variables that have been migrated from type secret to sensitive.
|
|
613
613
|
*/
|
|
614
614
|
sunsetSecretId?: string | undefined;
|
|
615
|
+
decrypted?: boolean | undefined;
|
|
616
|
+
value: string;
|
|
617
|
+
vsmValue?: string | undefined;
|
|
615
618
|
id?: string | undefined;
|
|
616
619
|
key: string;
|
|
617
|
-
value: string;
|
|
618
620
|
configurationId?: string | null | undefined;
|
|
619
621
|
createdAt?: number | undefined;
|
|
620
622
|
updatedAt?: number | undefined;
|
|
@@ -645,13 +647,8 @@ export type CreateProjectEnv = {
|
|
|
645
647
|
* Similar to `contentHints`, but should not be exposed to the user.
|
|
646
648
|
*/
|
|
647
649
|
internalContentHint?: CreateProjectInternalContentHint | null | undefined;
|
|
648
|
-
/**
|
|
649
|
-
* Whether `value` and `vsmValue` are decrypted.
|
|
650
|
-
*/
|
|
651
|
-
decrypted?: boolean | undefined;
|
|
652
650
|
comment?: string | undefined;
|
|
653
651
|
customEnvironmentIds?: Array<string> | undefined;
|
|
654
|
-
vsmValue?: string | undefined;
|
|
655
652
|
};
|
|
656
653
|
|
|
657
654
|
export type CreateProjectCustomEnvironments = {};
|
|
@@ -720,20 +717,32 @@ export type CreateProjectAliasError = {
|
|
|
720
717
|
message: string;
|
|
721
718
|
};
|
|
722
719
|
|
|
720
|
+
/**
|
|
721
|
+
* The type of matching to perform
|
|
722
|
+
*/
|
|
723
723
|
export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType =
|
|
724
724
|
{
|
|
725
725
|
EndsWith: "endsWith",
|
|
726
726
|
StartsWith: "startsWith",
|
|
727
727
|
Equals: "equals",
|
|
728
728
|
} as const;
|
|
729
|
+
/**
|
|
730
|
+
* The type of matching to perform
|
|
731
|
+
*/
|
|
729
732
|
export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType =
|
|
730
733
|
ClosedEnum<
|
|
731
734
|
typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType
|
|
732
735
|
>;
|
|
733
736
|
|
|
734
737
|
export type CreateProjectBranchMatcher = {
|
|
738
|
+
/**
|
|
739
|
+
* The type of matching to perform
|
|
740
|
+
*/
|
|
735
741
|
type:
|
|
736
742
|
CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType;
|
|
743
|
+
/**
|
|
744
|
+
* The pattern to match against branch names
|
|
745
|
+
*/
|
|
737
746
|
pattern: string;
|
|
738
747
|
};
|
|
739
748
|
|
|
@@ -859,6 +868,39 @@ export type CreateProjectLatestDeployments = {
|
|
|
859
868
|
withCache?: boolean | undefined;
|
|
860
869
|
};
|
|
861
870
|
|
|
871
|
+
export const CreateProjectLinkProjectsResponse200Type = {
|
|
872
|
+
GithubCustomHost: "github-custom-host",
|
|
873
|
+
} as const;
|
|
874
|
+
export type CreateProjectLinkProjectsResponse200Type = ClosedEnum<
|
|
875
|
+
typeof CreateProjectLinkProjectsResponse200Type
|
|
876
|
+
>;
|
|
877
|
+
|
|
878
|
+
export type CreateProjectLinkProjectsResponse200DeployHooks = {
|
|
879
|
+
createdAt?: number | undefined;
|
|
880
|
+
id: string;
|
|
881
|
+
name: string;
|
|
882
|
+
ref: string;
|
|
883
|
+
url: string;
|
|
884
|
+
};
|
|
885
|
+
|
|
886
|
+
export type CreateProjectLink4 = {
|
|
887
|
+
org?: string | undefined;
|
|
888
|
+
/**
|
|
889
|
+
* 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.
|
|
890
|
+
*/
|
|
891
|
+
repoOwnerId?: number | undefined;
|
|
892
|
+
repo?: string | undefined;
|
|
893
|
+
repoId?: number | undefined;
|
|
894
|
+
type?: CreateProjectLinkProjectsResponse200Type | undefined;
|
|
895
|
+
host?: string | undefined;
|
|
896
|
+
createdAt?: number | undefined;
|
|
897
|
+
deployHooks: Array<CreateProjectLinkProjectsResponse200DeployHooks>;
|
|
898
|
+
gitCredentialId?: string | undefined;
|
|
899
|
+
updatedAt?: number | undefined;
|
|
900
|
+
sourceless?: boolean | undefined;
|
|
901
|
+
productionBranch?: string | undefined;
|
|
902
|
+
};
|
|
903
|
+
|
|
862
904
|
export const CreateProjectLinkProjectsResponseType = {
|
|
863
905
|
Bitbucket: "bitbucket",
|
|
864
906
|
} as const;
|
|
@@ -956,6 +998,7 @@ export type CreateProjectLink1 = {
|
|
|
956
998
|
export type CreateProjectLink =
|
|
957
999
|
| CreateProjectLink1
|
|
958
1000
|
| CreateProjectLink3
|
|
1001
|
+
| CreateProjectLink4
|
|
959
1002
|
| CreateProjectLink2;
|
|
960
1003
|
|
|
961
1004
|
export type CreateProjectMicrofrontends2 = {
|
|
@@ -982,7 +1025,7 @@ export type CreateProjectMicrofrontends1 = {
|
|
|
982
1025
|
*/
|
|
983
1026
|
isDefaultApp?: boolean | undefined;
|
|
984
1027
|
/**
|
|
985
|
-
* 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.
|
|
1028
|
+
* 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`
|
|
986
1029
|
*/
|
|
987
1030
|
defaultRoute?: string | undefined;
|
|
988
1031
|
/**
|
|
@@ -1028,6 +1071,13 @@ export type CreateProjectFunctionDefaultMemoryType = ClosedEnum<
|
|
|
1028
1071
|
typeof CreateProjectFunctionDefaultMemoryType
|
|
1029
1072
|
>;
|
|
1030
1073
|
|
|
1074
|
+
export const CreateProjectBuildMachineType = {
|
|
1075
|
+
Enhanced: "enhanced",
|
|
1076
|
+
} as const;
|
|
1077
|
+
export type CreateProjectBuildMachineType = ClosedEnum<
|
|
1078
|
+
typeof CreateProjectBuildMachineType
|
|
1079
|
+
>;
|
|
1080
|
+
|
|
1031
1081
|
export type CreateProjectResourceConfig = {
|
|
1032
1082
|
fluid?: boolean | undefined;
|
|
1033
1083
|
functionDefaultRegions: Array<string>;
|
|
@@ -1037,6 +1087,7 @@ export type CreateProjectResourceConfig = {
|
|
|
1037
1087
|
| undefined;
|
|
1038
1088
|
functionZeroConfigFailover?: boolean | undefined;
|
|
1039
1089
|
elasticConcurrencyEnabled?: boolean | undefined;
|
|
1090
|
+
buildMachineType?: CreateProjectBuildMachineType | undefined;
|
|
1040
1091
|
};
|
|
1041
1092
|
|
|
1042
1093
|
/**
|
|
@@ -1047,6 +1098,14 @@ export type CreateProjectStages = {
|
|
|
1047
1098
|
* The percentage of traffic to serve to the new deployment
|
|
1048
1099
|
*/
|
|
1049
1100
|
targetPercentage: number;
|
|
1101
|
+
/**
|
|
1102
|
+
* 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.
|
|
1103
|
+
*/
|
|
1104
|
+
minutesToRelease?: number | undefined;
|
|
1105
|
+
/**
|
|
1106
|
+
* Whether or not this stage requires approval to proceed.
|
|
1107
|
+
*/
|
|
1108
|
+
requireApproval?: boolean | undefined;
|
|
1050
1109
|
};
|
|
1051
1110
|
|
|
1052
1111
|
export type CreateProjectRollingRelease = {
|
|
@@ -1073,6 +1132,13 @@ export type CreateProjectProjectsFunctionDefaultMemoryType = ClosedEnum<
|
|
|
1073
1132
|
typeof CreateProjectProjectsFunctionDefaultMemoryType
|
|
1074
1133
|
>;
|
|
1075
1134
|
|
|
1135
|
+
export const CreateProjectProjectsBuildMachineType = {
|
|
1136
|
+
Enhanced: "enhanced",
|
|
1137
|
+
} as const;
|
|
1138
|
+
export type CreateProjectProjectsBuildMachineType = ClosedEnum<
|
|
1139
|
+
typeof CreateProjectProjectsBuildMachineType
|
|
1140
|
+
>;
|
|
1141
|
+
|
|
1076
1142
|
export type CreateProjectDefaultResourceConfig = {
|
|
1077
1143
|
fluid?: boolean | undefined;
|
|
1078
1144
|
functionDefaultRegions: Array<string>;
|
|
@@ -1082,11 +1148,12 @@ export type CreateProjectDefaultResourceConfig = {
|
|
|
1082
1148
|
| undefined;
|
|
1083
1149
|
functionZeroConfigFailover?: boolean | undefined;
|
|
1084
1150
|
elasticConcurrencyEnabled?: boolean | undefined;
|
|
1151
|
+
buildMachineType?: CreateProjectProjectsBuildMachineType | undefined;
|
|
1085
1152
|
};
|
|
1086
1153
|
|
|
1087
1154
|
export const CreateProjectDeploymentType = {
|
|
1088
|
-
Preview: "preview",
|
|
1089
1155
|
All: "all",
|
|
1156
|
+
Preview: "preview",
|
|
1090
1157
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
1091
1158
|
} as const;
|
|
1092
1159
|
export type CreateProjectDeploymentType = ClosedEnum<
|
|
@@ -1104,19 +1171,31 @@ export type CreateProjectProjectsAliasError = {
|
|
|
1104
1171
|
message: string;
|
|
1105
1172
|
};
|
|
1106
1173
|
|
|
1174
|
+
/**
|
|
1175
|
+
* The type of matching to perform
|
|
1176
|
+
*/
|
|
1107
1177
|
export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType =
|
|
1108
1178
|
{
|
|
1109
1179
|
EndsWith: "endsWith",
|
|
1110
1180
|
StartsWith: "startsWith",
|
|
1111
1181
|
Equals: "equals",
|
|
1112
1182
|
} as const;
|
|
1183
|
+
/**
|
|
1184
|
+
* The type of matching to perform
|
|
1185
|
+
*/
|
|
1113
1186
|
export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType =
|
|
1114
1187
|
ClosedEnum<
|
|
1115
1188
|
typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType
|
|
1116
1189
|
>;
|
|
1117
1190
|
|
|
1118
1191
|
export type CreateProjectProjectsBranchMatcher = {
|
|
1192
|
+
/**
|
|
1193
|
+
* The type of matching to perform
|
|
1194
|
+
*/
|
|
1119
1195
|
type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType;
|
|
1196
|
+
/**
|
|
1197
|
+
* The pattern to match against branch names
|
|
1198
|
+
*/
|
|
1120
1199
|
pattern: string;
|
|
1121
1200
|
};
|
|
1122
1201
|
|
|
@@ -1327,6 +1406,7 @@ export type CreateProjectPermissions = {
|
|
|
1327
1406
|
notificationCustomerBudget?: Array<ACLAction> | undefined;
|
|
1328
1407
|
notificationStatementOfReasons?: Array<ACLAction> | undefined;
|
|
1329
1408
|
observabilityConfiguration?: Array<ACLAction> | undefined;
|
|
1409
|
+
observabilityNotebook?: Array<ACLAction> | undefined;
|
|
1330
1410
|
openTelemetryEndpoint?: Array<ACLAction> | undefined;
|
|
1331
1411
|
paymentMethod?: Array<ACLAction> | undefined;
|
|
1332
1412
|
permissions?: Array<ACLAction> | undefined;
|
|
@@ -1360,6 +1440,7 @@ export type CreateProjectPermissions = {
|
|
|
1360
1440
|
teamInvite?: Array<ACLAction> | undefined;
|
|
1361
1441
|
teamInviteCode?: Array<ACLAction> | undefined;
|
|
1362
1442
|
teamJoin?: Array<ACLAction> | undefined;
|
|
1443
|
+
teamMemberMfaStatus?: Array<ACLAction> | undefined;
|
|
1363
1444
|
teamMicrofrontends?: Array<ACLAction> | undefined;
|
|
1364
1445
|
teamOwnMembership?: Array<ACLAction> | undefined;
|
|
1365
1446
|
teamOwnMembershipDisconnectSAML?: Array<ACLAction> | undefined;
|
|
@@ -1377,6 +1458,8 @@ export type CreateProjectPermissions = {
|
|
|
1377
1458
|
endpointVerification?: Array<ACLAction> | undefined;
|
|
1378
1459
|
projectTransferIn?: Array<ACLAction> | undefined;
|
|
1379
1460
|
oauth2Application?: Array<ACLAction> | undefined;
|
|
1461
|
+
vercelRun?: Array<ACLAction> | undefined;
|
|
1462
|
+
vercelRunExec?: Array<ACLAction> | undefined;
|
|
1380
1463
|
aliasProject?: Array<ACLAction> | undefined;
|
|
1381
1464
|
aliasProtectionBypass?: Array<ACLAction> | undefined;
|
|
1382
1465
|
productionAliasProtectionBypass?: Array<ACLAction> | undefined;
|
|
@@ -1477,10 +1560,10 @@ export type CreateProjectProtectionBypass = {
|
|
|
1477
1560
|
};
|
|
1478
1561
|
|
|
1479
1562
|
export const CreateProjectTrustedIpsProjectsDeploymentType = {
|
|
1480
|
-
Production: "production",
|
|
1481
|
-
Preview: "preview",
|
|
1482
1563
|
All: "all",
|
|
1564
|
+
Preview: "preview",
|
|
1483
1565
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
1566
|
+
Production: "production",
|
|
1484
1567
|
} as const;
|
|
1485
1568
|
export type CreateProjectTrustedIpsProjectsDeploymentType = ClosedEnum<
|
|
1486
1569
|
typeof CreateProjectTrustedIpsProjectsDeploymentType
|
|
@@ -1491,10 +1574,10 @@ export type CreateProjectTrustedIps2 = {
|
|
|
1491
1574
|
};
|
|
1492
1575
|
|
|
1493
1576
|
export const CreateProjectTrustedIpsDeploymentType = {
|
|
1494
|
-
Production: "production",
|
|
1495
|
-
Preview: "preview",
|
|
1496
1577
|
All: "all",
|
|
1578
|
+
Preview: "preview",
|
|
1497
1579
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
1580
|
+
Production: "production",
|
|
1498
1581
|
} as const;
|
|
1499
1582
|
export type CreateProjectTrustedIpsDeploymentType = ClosedEnum<
|
|
1500
1583
|
typeof CreateProjectTrustedIpsDeploymentType
|
|
@@ -1801,6 +1884,7 @@ export type CreateProjectResponseBody = {
|
|
|
1801
1884
|
link?:
|
|
1802
1885
|
| CreateProjectLink1
|
|
1803
1886
|
| CreateProjectLink3
|
|
1887
|
+
| CreateProjectLink4
|
|
1804
1888
|
| CreateProjectLink2
|
|
1805
1889
|
| undefined;
|
|
1806
1890
|
microfrontends?:
|
|
@@ -4366,9 +4450,11 @@ export const CreateProjectEnv$inboundSchema: z.ZodType<
|
|
|
4366
4450
|
]).optional(),
|
|
4367
4451
|
type: CreateProjectProjectsResponseType$inboundSchema,
|
|
4368
4452
|
sunsetSecretId: z.string().optional(),
|
|
4453
|
+
decrypted: z.boolean().optional(),
|
|
4454
|
+
value: z.string(),
|
|
4455
|
+
vsmValue: z.string().optional(),
|
|
4369
4456
|
id: z.string().optional(),
|
|
4370
4457
|
key: z.string(),
|
|
4371
|
-
value: z.string(),
|
|
4372
4458
|
configurationId: z.nullable(z.string()).optional(),
|
|
4373
4459
|
createdAt: z.number().optional(),
|
|
4374
4460
|
updatedAt: z.number().optional(),
|
|
@@ -4399,10 +4485,8 @@ export const CreateProjectEnv$inboundSchema: z.ZodType<
|
|
|
4399
4485
|
internalContentHint: z.nullable(
|
|
4400
4486
|
z.lazy(() => CreateProjectInternalContentHint$inboundSchema),
|
|
4401
4487
|
).optional(),
|
|
4402
|
-
decrypted: z.boolean().optional(),
|
|
4403
4488
|
comment: z.string().optional(),
|
|
4404
4489
|
customEnvironmentIds: z.array(z.string()).optional(),
|
|
4405
|
-
vsmValue: z.string().optional(),
|
|
4406
4490
|
});
|
|
4407
4491
|
|
|
4408
4492
|
/** @internal */
|
|
@@ -4410,9 +4494,11 @@ export type CreateProjectEnv$Outbound = {
|
|
|
4410
4494
|
target?: Array<string> | string | undefined;
|
|
4411
4495
|
type: string;
|
|
4412
4496
|
sunsetSecretId?: string | undefined;
|
|
4497
|
+
decrypted?: boolean | undefined;
|
|
4498
|
+
value: string;
|
|
4499
|
+
vsmValue?: string | undefined;
|
|
4413
4500
|
id?: string | undefined;
|
|
4414
4501
|
key: string;
|
|
4415
|
-
value: string;
|
|
4416
4502
|
configurationId?: string | null | undefined;
|
|
4417
4503
|
createdAt?: number | undefined;
|
|
4418
4504
|
updatedAt?: number | undefined;
|
|
@@ -4443,10 +4529,8 @@ export type CreateProjectEnv$Outbound = {
|
|
|
4443
4529
|
| CreateProjectInternalContentHint$Outbound
|
|
4444
4530
|
| null
|
|
4445
4531
|
| undefined;
|
|
4446
|
-
decrypted?: boolean | undefined;
|
|
4447
4532
|
comment?: string | undefined;
|
|
4448
4533
|
customEnvironmentIds?: Array<string> | undefined;
|
|
4449
|
-
vsmValue?: string | undefined;
|
|
4450
4534
|
};
|
|
4451
4535
|
|
|
4452
4536
|
/** @internal */
|
|
@@ -4461,9 +4545,11 @@ export const CreateProjectEnv$outboundSchema: z.ZodType<
|
|
|
4461
4545
|
]).optional(),
|
|
4462
4546
|
type: CreateProjectProjectsResponseType$outboundSchema,
|
|
4463
4547
|
sunsetSecretId: z.string().optional(),
|
|
4548
|
+
decrypted: z.boolean().optional(),
|
|
4549
|
+
value: z.string(),
|
|
4550
|
+
vsmValue: z.string().optional(),
|
|
4464
4551
|
id: z.string().optional(),
|
|
4465
4552
|
key: z.string(),
|
|
4466
|
-
value: z.string(),
|
|
4467
4553
|
configurationId: z.nullable(z.string()).optional(),
|
|
4468
4554
|
createdAt: z.number().optional(),
|
|
4469
4555
|
updatedAt: z.number().optional(),
|
|
@@ -4494,10 +4580,8 @@ export const CreateProjectEnv$outboundSchema: z.ZodType<
|
|
|
4494
4580
|
internalContentHint: z.nullable(
|
|
4495
4581
|
z.lazy(() => CreateProjectInternalContentHint$outboundSchema),
|
|
4496
4582
|
).optional(),
|
|
4497
|
-
decrypted: z.boolean().optional(),
|
|
4498
4583
|
comment: z.string().optional(),
|
|
4499
4584
|
customEnvironmentIds: z.array(z.string()).optional(),
|
|
4500
|
-
vsmValue: z.string().optional(),
|
|
4501
4585
|
});
|
|
4502
4586
|
|
|
4503
4587
|
/**
|
|
@@ -5363,6 +5447,202 @@ export function createProjectLatestDeploymentsFromJSON(
|
|
|
5363
5447
|
);
|
|
5364
5448
|
}
|
|
5365
5449
|
|
|
5450
|
+
/** @internal */
|
|
5451
|
+
export const CreateProjectLinkProjectsResponse200Type$inboundSchema:
|
|
5452
|
+
z.ZodNativeEnum<typeof CreateProjectLinkProjectsResponse200Type> = z
|
|
5453
|
+
.nativeEnum(CreateProjectLinkProjectsResponse200Type);
|
|
5454
|
+
|
|
5455
|
+
/** @internal */
|
|
5456
|
+
export const CreateProjectLinkProjectsResponse200Type$outboundSchema:
|
|
5457
|
+
z.ZodNativeEnum<typeof CreateProjectLinkProjectsResponse200Type> =
|
|
5458
|
+
CreateProjectLinkProjectsResponse200Type$inboundSchema;
|
|
5459
|
+
|
|
5460
|
+
/**
|
|
5461
|
+
* @internal
|
|
5462
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5463
|
+
*/
|
|
5464
|
+
export namespace CreateProjectLinkProjectsResponse200Type$ {
|
|
5465
|
+
/** @deprecated use `CreateProjectLinkProjectsResponse200Type$inboundSchema` instead. */
|
|
5466
|
+
export const inboundSchema =
|
|
5467
|
+
CreateProjectLinkProjectsResponse200Type$inboundSchema;
|
|
5468
|
+
/** @deprecated use `CreateProjectLinkProjectsResponse200Type$outboundSchema` instead. */
|
|
5469
|
+
export const outboundSchema =
|
|
5470
|
+
CreateProjectLinkProjectsResponse200Type$outboundSchema;
|
|
5471
|
+
}
|
|
5472
|
+
|
|
5473
|
+
/** @internal */
|
|
5474
|
+
export const CreateProjectLinkProjectsResponse200DeployHooks$inboundSchema:
|
|
5475
|
+
z.ZodType<
|
|
5476
|
+
CreateProjectLinkProjectsResponse200DeployHooks,
|
|
5477
|
+
z.ZodTypeDef,
|
|
5478
|
+
unknown
|
|
5479
|
+
> = z.object({
|
|
5480
|
+
createdAt: z.number().optional(),
|
|
5481
|
+
id: z.string(),
|
|
5482
|
+
name: z.string(),
|
|
5483
|
+
ref: z.string(),
|
|
5484
|
+
url: z.string(),
|
|
5485
|
+
});
|
|
5486
|
+
|
|
5487
|
+
/** @internal */
|
|
5488
|
+
export type CreateProjectLinkProjectsResponse200DeployHooks$Outbound = {
|
|
5489
|
+
createdAt?: number | undefined;
|
|
5490
|
+
id: string;
|
|
5491
|
+
name: string;
|
|
5492
|
+
ref: string;
|
|
5493
|
+
url: string;
|
|
5494
|
+
};
|
|
5495
|
+
|
|
5496
|
+
/** @internal */
|
|
5497
|
+
export const CreateProjectLinkProjectsResponse200DeployHooks$outboundSchema:
|
|
5498
|
+
z.ZodType<
|
|
5499
|
+
CreateProjectLinkProjectsResponse200DeployHooks$Outbound,
|
|
5500
|
+
z.ZodTypeDef,
|
|
5501
|
+
CreateProjectLinkProjectsResponse200DeployHooks
|
|
5502
|
+
> = z.object({
|
|
5503
|
+
createdAt: z.number().optional(),
|
|
5504
|
+
id: z.string(),
|
|
5505
|
+
name: z.string(),
|
|
5506
|
+
ref: z.string(),
|
|
5507
|
+
url: z.string(),
|
|
5508
|
+
});
|
|
5509
|
+
|
|
5510
|
+
/**
|
|
5511
|
+
* @internal
|
|
5512
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5513
|
+
*/
|
|
5514
|
+
export namespace CreateProjectLinkProjectsResponse200DeployHooks$ {
|
|
5515
|
+
/** @deprecated use `CreateProjectLinkProjectsResponse200DeployHooks$inboundSchema` instead. */
|
|
5516
|
+
export const inboundSchema =
|
|
5517
|
+
CreateProjectLinkProjectsResponse200DeployHooks$inboundSchema;
|
|
5518
|
+
/** @deprecated use `CreateProjectLinkProjectsResponse200DeployHooks$outboundSchema` instead. */
|
|
5519
|
+
export const outboundSchema =
|
|
5520
|
+
CreateProjectLinkProjectsResponse200DeployHooks$outboundSchema;
|
|
5521
|
+
/** @deprecated use `CreateProjectLinkProjectsResponse200DeployHooks$Outbound` instead. */
|
|
5522
|
+
export type Outbound =
|
|
5523
|
+
CreateProjectLinkProjectsResponse200DeployHooks$Outbound;
|
|
5524
|
+
}
|
|
5525
|
+
|
|
5526
|
+
export function createProjectLinkProjectsResponse200DeployHooksToJSON(
|
|
5527
|
+
createProjectLinkProjectsResponse200DeployHooks:
|
|
5528
|
+
CreateProjectLinkProjectsResponse200DeployHooks,
|
|
5529
|
+
): string {
|
|
5530
|
+
return JSON.stringify(
|
|
5531
|
+
CreateProjectLinkProjectsResponse200DeployHooks$outboundSchema.parse(
|
|
5532
|
+
createProjectLinkProjectsResponse200DeployHooks,
|
|
5533
|
+
),
|
|
5534
|
+
);
|
|
5535
|
+
}
|
|
5536
|
+
|
|
5537
|
+
export function createProjectLinkProjectsResponse200DeployHooksFromJSON(
|
|
5538
|
+
jsonString: string,
|
|
5539
|
+
): SafeParseResult<
|
|
5540
|
+
CreateProjectLinkProjectsResponse200DeployHooks,
|
|
5541
|
+
SDKValidationError
|
|
5542
|
+
> {
|
|
5543
|
+
return safeParse(
|
|
5544
|
+
jsonString,
|
|
5545
|
+
(x) =>
|
|
5546
|
+
CreateProjectLinkProjectsResponse200DeployHooks$inboundSchema.parse(
|
|
5547
|
+
JSON.parse(x),
|
|
5548
|
+
),
|
|
5549
|
+
`Failed to parse 'CreateProjectLinkProjectsResponse200DeployHooks' from JSON`,
|
|
5550
|
+
);
|
|
5551
|
+
}
|
|
5552
|
+
|
|
5553
|
+
/** @internal */
|
|
5554
|
+
export const CreateProjectLink4$inboundSchema: z.ZodType<
|
|
5555
|
+
CreateProjectLink4,
|
|
5556
|
+
z.ZodTypeDef,
|
|
5557
|
+
unknown
|
|
5558
|
+
> = z.object({
|
|
5559
|
+
org: z.string().optional(),
|
|
5560
|
+
repoOwnerId: z.number().optional(),
|
|
5561
|
+
repo: z.string().optional(),
|
|
5562
|
+
repoId: z.number().optional(),
|
|
5563
|
+
type: CreateProjectLinkProjectsResponse200Type$inboundSchema.optional(),
|
|
5564
|
+
host: z.string().optional(),
|
|
5565
|
+
createdAt: z.number().optional(),
|
|
5566
|
+
deployHooks: z.array(
|
|
5567
|
+
z.lazy(() => CreateProjectLinkProjectsResponse200DeployHooks$inboundSchema),
|
|
5568
|
+
),
|
|
5569
|
+
gitCredentialId: z.string().optional(),
|
|
5570
|
+
updatedAt: z.number().optional(),
|
|
5571
|
+
sourceless: z.boolean().optional(),
|
|
5572
|
+
productionBranch: z.string().optional(),
|
|
5573
|
+
});
|
|
5574
|
+
|
|
5575
|
+
/** @internal */
|
|
5576
|
+
export type CreateProjectLink4$Outbound = {
|
|
5577
|
+
org?: string | undefined;
|
|
5578
|
+
repoOwnerId?: number | undefined;
|
|
5579
|
+
repo?: string | undefined;
|
|
5580
|
+
repoId?: number | undefined;
|
|
5581
|
+
type?: string | undefined;
|
|
5582
|
+
host?: string | undefined;
|
|
5583
|
+
createdAt?: number | undefined;
|
|
5584
|
+
deployHooks: Array<CreateProjectLinkProjectsResponse200DeployHooks$Outbound>;
|
|
5585
|
+
gitCredentialId?: string | undefined;
|
|
5586
|
+
updatedAt?: number | undefined;
|
|
5587
|
+
sourceless?: boolean | undefined;
|
|
5588
|
+
productionBranch?: string | undefined;
|
|
5589
|
+
};
|
|
5590
|
+
|
|
5591
|
+
/** @internal */
|
|
5592
|
+
export const CreateProjectLink4$outboundSchema: z.ZodType<
|
|
5593
|
+
CreateProjectLink4$Outbound,
|
|
5594
|
+
z.ZodTypeDef,
|
|
5595
|
+
CreateProjectLink4
|
|
5596
|
+
> = z.object({
|
|
5597
|
+
org: z.string().optional(),
|
|
5598
|
+
repoOwnerId: z.number().optional(),
|
|
5599
|
+
repo: z.string().optional(),
|
|
5600
|
+
repoId: z.number().optional(),
|
|
5601
|
+
type: CreateProjectLinkProjectsResponse200Type$outboundSchema.optional(),
|
|
5602
|
+
host: z.string().optional(),
|
|
5603
|
+
createdAt: z.number().optional(),
|
|
5604
|
+
deployHooks: z.array(
|
|
5605
|
+
z.lazy(() =>
|
|
5606
|
+
CreateProjectLinkProjectsResponse200DeployHooks$outboundSchema
|
|
5607
|
+
),
|
|
5608
|
+
),
|
|
5609
|
+
gitCredentialId: z.string().optional(),
|
|
5610
|
+
updatedAt: z.number().optional(),
|
|
5611
|
+
sourceless: z.boolean().optional(),
|
|
5612
|
+
productionBranch: z.string().optional(),
|
|
5613
|
+
});
|
|
5614
|
+
|
|
5615
|
+
/**
|
|
5616
|
+
* @internal
|
|
5617
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5618
|
+
*/
|
|
5619
|
+
export namespace CreateProjectLink4$ {
|
|
5620
|
+
/** @deprecated use `CreateProjectLink4$inboundSchema` instead. */
|
|
5621
|
+
export const inboundSchema = CreateProjectLink4$inboundSchema;
|
|
5622
|
+
/** @deprecated use `CreateProjectLink4$outboundSchema` instead. */
|
|
5623
|
+
export const outboundSchema = CreateProjectLink4$outboundSchema;
|
|
5624
|
+
/** @deprecated use `CreateProjectLink4$Outbound` instead. */
|
|
5625
|
+
export type Outbound = CreateProjectLink4$Outbound;
|
|
5626
|
+
}
|
|
5627
|
+
|
|
5628
|
+
export function createProjectLink4ToJSON(
|
|
5629
|
+
createProjectLink4: CreateProjectLink4,
|
|
5630
|
+
): string {
|
|
5631
|
+
return JSON.stringify(
|
|
5632
|
+
CreateProjectLink4$outboundSchema.parse(createProjectLink4),
|
|
5633
|
+
);
|
|
5634
|
+
}
|
|
5635
|
+
|
|
5636
|
+
export function createProjectLink4FromJSON(
|
|
5637
|
+
jsonString: string,
|
|
5638
|
+
): SafeParseResult<CreateProjectLink4, SDKValidationError> {
|
|
5639
|
+
return safeParse(
|
|
5640
|
+
jsonString,
|
|
5641
|
+
(x) => CreateProjectLink4$inboundSchema.parse(JSON.parse(x)),
|
|
5642
|
+
`Failed to parse 'CreateProjectLink4' from JSON`,
|
|
5643
|
+
);
|
|
5644
|
+
}
|
|
5645
|
+
|
|
5366
5646
|
/** @internal */
|
|
5367
5647
|
export const CreateProjectLinkProjectsResponseType$inboundSchema:
|
|
5368
5648
|
z.ZodNativeEnum<typeof CreateProjectLinkProjectsResponseType> = z.nativeEnum(
|
|
@@ -5928,6 +6208,7 @@ export const CreateProjectLink$inboundSchema: z.ZodType<
|
|
|
5928
6208
|
> = z.union([
|
|
5929
6209
|
z.lazy(() => CreateProjectLink1$inboundSchema),
|
|
5930
6210
|
z.lazy(() => CreateProjectLink3$inboundSchema),
|
|
6211
|
+
z.lazy(() => CreateProjectLink4$inboundSchema),
|
|
5931
6212
|
z.lazy(() => CreateProjectLink2$inboundSchema),
|
|
5932
6213
|
]);
|
|
5933
6214
|
|
|
@@ -5935,6 +6216,7 @@ export const CreateProjectLink$inboundSchema: z.ZodType<
|
|
|
5935
6216
|
export type CreateProjectLink$Outbound =
|
|
5936
6217
|
| CreateProjectLink1$Outbound
|
|
5937
6218
|
| CreateProjectLink3$Outbound
|
|
6219
|
+
| CreateProjectLink4$Outbound
|
|
5938
6220
|
| CreateProjectLink2$Outbound;
|
|
5939
6221
|
|
|
5940
6222
|
/** @internal */
|
|
@@ -5945,6 +6227,7 @@ export const CreateProjectLink$outboundSchema: z.ZodType<
|
|
|
5945
6227
|
> = z.union([
|
|
5946
6228
|
z.lazy(() => CreateProjectLink1$outboundSchema),
|
|
5947
6229
|
z.lazy(() => CreateProjectLink3$outboundSchema),
|
|
6230
|
+
z.lazy(() => CreateProjectLink4$outboundSchema),
|
|
5948
6231
|
z.lazy(() => CreateProjectLink2$outboundSchema),
|
|
5949
6232
|
]);
|
|
5950
6233
|
|
|
@@ -6375,6 +6658,27 @@ export namespace CreateProjectFunctionDefaultMemoryType$ {
|
|
|
6375
6658
|
CreateProjectFunctionDefaultMemoryType$outboundSchema;
|
|
6376
6659
|
}
|
|
6377
6660
|
|
|
6661
|
+
/** @internal */
|
|
6662
|
+
export const CreateProjectBuildMachineType$inboundSchema: z.ZodNativeEnum<
|
|
6663
|
+
typeof CreateProjectBuildMachineType
|
|
6664
|
+
> = z.nativeEnum(CreateProjectBuildMachineType);
|
|
6665
|
+
|
|
6666
|
+
/** @internal */
|
|
6667
|
+
export const CreateProjectBuildMachineType$outboundSchema: z.ZodNativeEnum<
|
|
6668
|
+
typeof CreateProjectBuildMachineType
|
|
6669
|
+
> = CreateProjectBuildMachineType$inboundSchema;
|
|
6670
|
+
|
|
6671
|
+
/**
|
|
6672
|
+
* @internal
|
|
6673
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6674
|
+
*/
|
|
6675
|
+
export namespace CreateProjectBuildMachineType$ {
|
|
6676
|
+
/** @deprecated use `CreateProjectBuildMachineType$inboundSchema` instead. */
|
|
6677
|
+
export const inboundSchema = CreateProjectBuildMachineType$inboundSchema;
|
|
6678
|
+
/** @deprecated use `CreateProjectBuildMachineType$outboundSchema` instead. */
|
|
6679
|
+
export const outboundSchema = CreateProjectBuildMachineType$outboundSchema;
|
|
6680
|
+
}
|
|
6681
|
+
|
|
6378
6682
|
/** @internal */
|
|
6379
6683
|
export const CreateProjectResourceConfig$inboundSchema: z.ZodType<
|
|
6380
6684
|
CreateProjectResourceConfig,
|
|
@@ -6388,6 +6692,7 @@ export const CreateProjectResourceConfig$inboundSchema: z.ZodType<
|
|
|
6388
6692
|
CreateProjectFunctionDefaultMemoryType$inboundSchema.optional(),
|
|
6389
6693
|
functionZeroConfigFailover: z.boolean().optional(),
|
|
6390
6694
|
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
6695
|
+
buildMachineType: CreateProjectBuildMachineType$inboundSchema.optional(),
|
|
6391
6696
|
});
|
|
6392
6697
|
|
|
6393
6698
|
/** @internal */
|
|
@@ -6398,6 +6703,7 @@ export type CreateProjectResourceConfig$Outbound = {
|
|
|
6398
6703
|
functionDefaultMemoryType?: string | undefined;
|
|
6399
6704
|
functionZeroConfigFailover?: boolean | undefined;
|
|
6400
6705
|
elasticConcurrencyEnabled?: boolean | undefined;
|
|
6706
|
+
buildMachineType?: string | undefined;
|
|
6401
6707
|
};
|
|
6402
6708
|
|
|
6403
6709
|
/** @internal */
|
|
@@ -6413,6 +6719,7 @@ export const CreateProjectResourceConfig$outboundSchema: z.ZodType<
|
|
|
6413
6719
|
CreateProjectFunctionDefaultMemoryType$outboundSchema.optional(),
|
|
6414
6720
|
functionZeroConfigFailover: z.boolean().optional(),
|
|
6415
6721
|
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
6722
|
+
buildMachineType: CreateProjectBuildMachineType$outboundSchema.optional(),
|
|
6416
6723
|
});
|
|
6417
6724
|
|
|
6418
6725
|
/**
|
|
@@ -6455,11 +6762,15 @@ export const CreateProjectStages$inboundSchema: z.ZodType<
|
|
|
6455
6762
|
unknown
|
|
6456
6763
|
> = z.object({
|
|
6457
6764
|
targetPercentage: z.number(),
|
|
6765
|
+
minutesToRelease: z.number().optional(),
|
|
6766
|
+
requireApproval: z.boolean().optional(),
|
|
6458
6767
|
});
|
|
6459
6768
|
|
|
6460
6769
|
/** @internal */
|
|
6461
6770
|
export type CreateProjectStages$Outbound = {
|
|
6462
6771
|
targetPercentage: number;
|
|
6772
|
+
minutesToRelease?: number | undefined;
|
|
6773
|
+
requireApproval?: boolean | undefined;
|
|
6463
6774
|
};
|
|
6464
6775
|
|
|
6465
6776
|
/** @internal */
|
|
@@ -6469,6 +6780,8 @@ export const CreateProjectStages$outboundSchema: z.ZodType<
|
|
|
6469
6780
|
CreateProjectStages
|
|
6470
6781
|
> = z.object({
|
|
6471
6782
|
targetPercentage: z.number(),
|
|
6783
|
+
minutesToRelease: z.number().optional(),
|
|
6784
|
+
requireApproval: z.boolean().optional(),
|
|
6472
6785
|
});
|
|
6473
6786
|
|
|
6474
6787
|
/**
|
|
@@ -6589,6 +6902,30 @@ export namespace CreateProjectProjectsFunctionDefaultMemoryType$ {
|
|
|
6589
6902
|
CreateProjectProjectsFunctionDefaultMemoryType$outboundSchema;
|
|
6590
6903
|
}
|
|
6591
6904
|
|
|
6905
|
+
/** @internal */
|
|
6906
|
+
export const CreateProjectProjectsBuildMachineType$inboundSchema:
|
|
6907
|
+
z.ZodNativeEnum<typeof CreateProjectProjectsBuildMachineType> = z.nativeEnum(
|
|
6908
|
+
CreateProjectProjectsBuildMachineType,
|
|
6909
|
+
);
|
|
6910
|
+
|
|
6911
|
+
/** @internal */
|
|
6912
|
+
export const CreateProjectProjectsBuildMachineType$outboundSchema:
|
|
6913
|
+
z.ZodNativeEnum<typeof CreateProjectProjectsBuildMachineType> =
|
|
6914
|
+
CreateProjectProjectsBuildMachineType$inboundSchema;
|
|
6915
|
+
|
|
6916
|
+
/**
|
|
6917
|
+
* @internal
|
|
6918
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6919
|
+
*/
|
|
6920
|
+
export namespace CreateProjectProjectsBuildMachineType$ {
|
|
6921
|
+
/** @deprecated use `CreateProjectProjectsBuildMachineType$inboundSchema` instead. */
|
|
6922
|
+
export const inboundSchema =
|
|
6923
|
+
CreateProjectProjectsBuildMachineType$inboundSchema;
|
|
6924
|
+
/** @deprecated use `CreateProjectProjectsBuildMachineType$outboundSchema` instead. */
|
|
6925
|
+
export const outboundSchema =
|
|
6926
|
+
CreateProjectProjectsBuildMachineType$outboundSchema;
|
|
6927
|
+
}
|
|
6928
|
+
|
|
6592
6929
|
/** @internal */
|
|
6593
6930
|
export const CreateProjectDefaultResourceConfig$inboundSchema: z.ZodType<
|
|
6594
6931
|
CreateProjectDefaultResourceConfig,
|
|
@@ -6602,6 +6939,8 @@ export const CreateProjectDefaultResourceConfig$inboundSchema: z.ZodType<
|
|
|
6602
6939
|
CreateProjectProjectsFunctionDefaultMemoryType$inboundSchema.optional(),
|
|
6603
6940
|
functionZeroConfigFailover: z.boolean().optional(),
|
|
6604
6941
|
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
6942
|
+
buildMachineType: CreateProjectProjectsBuildMachineType$inboundSchema
|
|
6943
|
+
.optional(),
|
|
6605
6944
|
});
|
|
6606
6945
|
|
|
6607
6946
|
/** @internal */
|
|
@@ -6612,6 +6951,7 @@ export type CreateProjectDefaultResourceConfig$Outbound = {
|
|
|
6612
6951
|
functionDefaultMemoryType?: string | undefined;
|
|
6613
6952
|
functionZeroConfigFailover?: boolean | undefined;
|
|
6614
6953
|
elasticConcurrencyEnabled?: boolean | undefined;
|
|
6954
|
+
buildMachineType?: string | undefined;
|
|
6615
6955
|
};
|
|
6616
6956
|
|
|
6617
6957
|
/** @internal */
|
|
@@ -6627,6 +6967,8 @@ export const CreateProjectDefaultResourceConfig$outboundSchema: z.ZodType<
|
|
|
6627
6967
|
CreateProjectProjectsFunctionDefaultMemoryType$outboundSchema.optional(),
|
|
6628
6968
|
functionZeroConfigFailover: z.boolean().optional(),
|
|
6629
6969
|
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
6970
|
+
buildMachineType: CreateProjectProjectsBuildMachineType$outboundSchema
|
|
6971
|
+
.optional(),
|
|
6630
6972
|
});
|
|
6631
6973
|
|
|
6632
6974
|
/**
|
|
@@ -7562,6 +7904,7 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType<
|
|
|
7562
7904
|
notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(),
|
|
7563
7905
|
notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(),
|
|
7564
7906
|
observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(),
|
|
7907
|
+
observabilityNotebook: z.array(ACLAction$inboundSchema).optional(),
|
|
7565
7908
|
openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(),
|
|
7566
7909
|
paymentMethod: z.array(ACLAction$inboundSchema).optional(),
|
|
7567
7910
|
permissions: z.array(ACLAction$inboundSchema).optional(),
|
|
@@ -7595,6 +7938,7 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType<
|
|
|
7595
7938
|
teamInvite: z.array(ACLAction$inboundSchema).optional(),
|
|
7596
7939
|
teamInviteCode: z.array(ACLAction$inboundSchema).optional(),
|
|
7597
7940
|
teamJoin: z.array(ACLAction$inboundSchema).optional(),
|
|
7941
|
+
teamMemberMfaStatus: z.array(ACLAction$inboundSchema).optional(),
|
|
7598
7942
|
teamMicrofrontends: z.array(ACLAction$inboundSchema).optional(),
|
|
7599
7943
|
teamOwnMembership: z.array(ACLAction$inboundSchema).optional(),
|
|
7600
7944
|
teamOwnMembershipDisconnectSAML: z.array(ACLAction$inboundSchema).optional(),
|
|
@@ -7612,6 +7956,8 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType<
|
|
|
7612
7956
|
endpointVerification: z.array(ACLAction$inboundSchema).optional(),
|
|
7613
7957
|
projectTransferIn: z.array(ACLAction$inboundSchema).optional(),
|
|
7614
7958
|
oauth2Application: z.array(ACLAction$inboundSchema).optional(),
|
|
7959
|
+
vercelRun: z.array(ACLAction$inboundSchema).optional(),
|
|
7960
|
+
vercelRunExec: z.array(ACLAction$inboundSchema).optional(),
|
|
7615
7961
|
aliasProject: z.array(ACLAction$inboundSchema).optional(),
|
|
7616
7962
|
aliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(),
|
|
7617
7963
|
productionAliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(),
|
|
@@ -7764,6 +8110,7 @@ export type CreateProjectPermissions$Outbound = {
|
|
|
7764
8110
|
notificationCustomerBudget?: Array<string> | undefined;
|
|
7765
8111
|
notificationStatementOfReasons?: Array<string> | undefined;
|
|
7766
8112
|
observabilityConfiguration?: Array<string> | undefined;
|
|
8113
|
+
observabilityNotebook?: Array<string> | undefined;
|
|
7767
8114
|
openTelemetryEndpoint?: Array<string> | undefined;
|
|
7768
8115
|
paymentMethod?: Array<string> | undefined;
|
|
7769
8116
|
permissions?: Array<string> | undefined;
|
|
@@ -7797,6 +8144,7 @@ export type CreateProjectPermissions$Outbound = {
|
|
|
7797
8144
|
teamInvite?: Array<string> | undefined;
|
|
7798
8145
|
teamInviteCode?: Array<string> | undefined;
|
|
7799
8146
|
teamJoin?: Array<string> | undefined;
|
|
8147
|
+
teamMemberMfaStatus?: Array<string> | undefined;
|
|
7800
8148
|
teamMicrofrontends?: Array<string> | undefined;
|
|
7801
8149
|
teamOwnMembership?: Array<string> | undefined;
|
|
7802
8150
|
teamOwnMembershipDisconnectSAML?: Array<string> | undefined;
|
|
@@ -7814,6 +8162,8 @@ export type CreateProjectPermissions$Outbound = {
|
|
|
7814
8162
|
endpointVerification?: Array<string> | undefined;
|
|
7815
8163
|
projectTransferIn?: Array<string> | undefined;
|
|
7816
8164
|
oauth2Application?: Array<string> | undefined;
|
|
8165
|
+
vercelRun?: Array<string> | undefined;
|
|
8166
|
+
vercelRunExec?: Array<string> | undefined;
|
|
7817
8167
|
aliasProject?: Array<string> | undefined;
|
|
7818
8168
|
aliasProtectionBypass?: Array<string> | undefined;
|
|
7819
8169
|
productionAliasProtectionBypass?: Array<string> | undefined;
|
|
@@ -7967,6 +8317,7 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType<
|
|
|
7967
8317
|
notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(),
|
|
7968
8318
|
notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(),
|
|
7969
8319
|
observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(),
|
|
8320
|
+
observabilityNotebook: z.array(ACLAction$outboundSchema).optional(),
|
|
7970
8321
|
openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(),
|
|
7971
8322
|
paymentMethod: z.array(ACLAction$outboundSchema).optional(),
|
|
7972
8323
|
permissions: z.array(ACLAction$outboundSchema).optional(),
|
|
@@ -8000,6 +8351,7 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType<
|
|
|
8000
8351
|
teamInvite: z.array(ACLAction$outboundSchema).optional(),
|
|
8001
8352
|
teamInviteCode: z.array(ACLAction$outboundSchema).optional(),
|
|
8002
8353
|
teamJoin: z.array(ACLAction$outboundSchema).optional(),
|
|
8354
|
+
teamMemberMfaStatus: z.array(ACLAction$outboundSchema).optional(),
|
|
8003
8355
|
teamMicrofrontends: z.array(ACLAction$outboundSchema).optional(),
|
|
8004
8356
|
teamOwnMembership: z.array(ACLAction$outboundSchema).optional(),
|
|
8005
8357
|
teamOwnMembershipDisconnectSAML: z.array(ACLAction$outboundSchema).optional(),
|
|
@@ -8017,6 +8369,8 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType<
|
|
|
8017
8369
|
endpointVerification: z.array(ACLAction$outboundSchema).optional(),
|
|
8018
8370
|
projectTransferIn: z.array(ACLAction$outboundSchema).optional(),
|
|
8019
8371
|
oauth2Application: z.array(ACLAction$outboundSchema).optional(),
|
|
8372
|
+
vercelRun: z.array(ACLAction$outboundSchema).optional(),
|
|
8373
|
+
vercelRunExec: z.array(ACLAction$outboundSchema).optional(),
|
|
8020
8374
|
aliasProject: z.array(ACLAction$outboundSchema).optional(),
|
|
8021
8375
|
aliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(),
|
|
8022
8376
|
productionAliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(),
|
|
@@ -10052,6 +10406,7 @@ export const CreateProjectResponseBody$inboundSchema: z.ZodType<
|
|
|
10052
10406
|
link: z.union([
|
|
10053
10407
|
z.lazy(() => CreateProjectLink1$inboundSchema),
|
|
10054
10408
|
z.lazy(() => CreateProjectLink3$inboundSchema),
|
|
10409
|
+
z.lazy(() => CreateProjectLink4$inboundSchema),
|
|
10055
10410
|
z.lazy(() => CreateProjectLink2$inboundSchema),
|
|
10056
10411
|
]).optional(),
|
|
10057
10412
|
microfrontends: z.union([
|
|
@@ -10168,6 +10523,7 @@ export type CreateProjectResponseBody$Outbound = {
|
|
|
10168
10523
|
link?:
|
|
10169
10524
|
| CreateProjectLink1$Outbound
|
|
10170
10525
|
| CreateProjectLink3$Outbound
|
|
10526
|
+
| CreateProjectLink4$Outbound
|
|
10171
10527
|
| CreateProjectLink2$Outbound
|
|
10172
10528
|
| undefined;
|
|
10173
10529
|
microfrontends?:
|
|
@@ -10275,6 +10631,7 @@ export const CreateProjectResponseBody$outboundSchema: z.ZodType<
|
|
|
10275
10631
|
link: z.union([
|
|
10276
10632
|
z.lazy(() => CreateProjectLink1$outboundSchema),
|
|
10277
10633
|
z.lazy(() => CreateProjectLink3$outboundSchema),
|
|
10634
|
+
z.lazy(() => CreateProjectLink4$outboundSchema),
|
|
10278
10635
|
z.lazy(() => CreateProjectLink2$outboundSchema),
|
|
10279
10636
|
]).optional(),
|
|
10280
10637
|
microfrontends: z.union([
|