@vercel/sdk 1.5.0 → 1.6.1
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 +40 -12
- package/bin/mcp-server.js +9527 -2360
- package/bin/mcp-server.js.map +60 -62
- package/docs/sdks/marketplace/README.md +0 -6
- package/docs/sdks/security/README.md +8 -2
- package/docs/sdks/teams/README.md +0 -2
- package/esm/__tests__/apiexperimentation.test.js +3 -15
- package/esm/__tests__/apiexperimentation.test.js.map +1 -1
- package/esm/__tests__/marketplace.test.js +6 -3
- package/esm/__tests__/marketplace.test.js.map +1 -1
- package/esm/__tests__/projects.test.js +13 -15
- package/esm/__tests__/projects.test.js.map +1 -1
- package/esm/__tests__/security.test.js +0 -10
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/__tests__/teams.test.js +3 -48
- package/esm/__tests__/teams.test.js.map +1 -1
- package/esm/funcs/deploymentsGetDeployments.js +2 -0
- package/esm/funcs/deploymentsGetDeployments.js.map +1 -1
- package/esm/funcs/deploymentsUploadFile.js +2 -1
- package/esm/funcs/deploymentsUploadFile.js.map +1 -1
- package/esm/funcs/projectsCreateProjectTransferRequest.js +3 -2
- package/esm/funcs/projectsCreateProjectTransferRequest.js.map +1 -1
- package/esm/funcs/teamsGetTeamMembers.js +2 -8
- package/esm/funcs/teamsGetTeamMembers.js.map +1 -1
- package/esm/hooks/types.d.ts +1 -1
- package/esm/hooks/types.d.ts.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/security.d.ts +4 -3
- package/esm/lib/security.d.ts.map +1 -1
- package/esm/lib/security.js +6 -1
- package/esm/lib/security.js.map +1 -1
- package/esm/mcp-server/extensions.d.ts +2 -0
- package/esm/mcp-server/extensions.d.ts.map +1 -1
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/prompts.d.ts +26 -0
- package/esm/mcp-server/prompts.d.ts.map +1 -0
- package/esm/mcp-server/prompts.js +47 -0
- package/esm/mcp-server/prompts.js.map +1 -0
- package/esm/mcp-server/resources.d.ts.map +1 -1
- package/esm/mcp-server/resources.js +11 -2
- package/esm/mcp-server/resources.js.map +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +5 -6
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools.d.ts.map +1 -1
- package/esm/mcp-server/tools.js +5 -3
- package/esm/mcp-server/tools.js.map +1 -1
- package/esm/models/addbypassipop.d.ts +2 -0
- package/esm/models/addbypassipop.d.ts.map +1 -1
- package/esm/models/addbypassipop.js +4 -0
- package/esm/models/addbypassipop.js.map +1 -1
- package/esm/models/authtoken.d.ts +46 -46
- package/esm/models/authtoken.d.ts.map +1 -1
- package/esm/models/authtoken.js +63 -61
- package/esm/models/authtoken.js.map +1 -1
- package/esm/models/authuser.d.ts +22 -66
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +12 -74
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +20 -5
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +12 -3
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createconfigurablelogdrainop.d.ts +62 -59
- package/esm/models/createconfigurablelogdrainop.d.ts.map +1 -1
- package/esm/models/createconfigurablelogdrainop.js +49 -48
- package/esm/models/createconfigurablelogdrainop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +169 -154
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +167 -162
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createlogdrainop.d.ts +3 -0
- package/esm/models/createlogdrainop.d.ts.map +1 -1
- package/esm/models/createlogdrainop.js +1 -0
- package/esm/models/createlogdrainop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +102 -96
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +117 -116
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/createprojecttransferrequestop.d.ts +35 -0
- package/esm/models/createprojecttransferrequestop.d.ts.map +1 -1
- package/esm/models/createprojecttransferrequestop.js +38 -0
- package/esm/models/createprojecttransferrequestop.js.map +1 -1
- package/esm/models/createrecordop.d.ts +69 -69
- package/esm/models/createrecordop.d.ts.map +1 -1
- package/esm/models/createrecordop.js +85 -92
- package/esm/models/createrecordop.js.map +1 -1
- package/esm/models/deleteteamop.d.ts +15 -15
- package/esm/models/deleteteamop.d.ts.map +1 -1
- package/esm/models/deleteteamop.js +15 -15
- package/esm/models/deleteteamop.js.map +1 -1
- package/esm/models/getaliasop.d.ts +15 -15
- package/esm/models/getaliasop.d.ts.map +1 -1
- package/esm/models/getaliasop.js +15 -15
- package/esm/models/getaliasop.js.map +1 -1
- package/esm/models/getalllogdrainsop.d.ts +62 -59
- package/esm/models/getalllogdrainsop.d.ts.map +1 -1
- package/esm/models/getalllogdrainsop.js +46 -45
- package/esm/models/getalllogdrainsop.js.map +1 -1
- package/esm/models/getauthuserop.d.ts +13 -13
- package/esm/models/getauthuserop.d.ts.map +1 -1
- package/esm/models/getauthuserop.js +13 -14
- package/esm/models/getauthuserop.js.map +1 -1
- package/esm/models/getconfigurablelogdrainop.d.ts +62 -59
- package/esm/models/getconfigurablelogdrainop.d.ts.map +1 -1
- package/esm/models/getconfigurablelogdrainop.js +46 -45
- package/esm/models/getconfigurablelogdrainop.js.map +1 -1
- package/esm/models/getconfigurationop.d.ts +312 -0
- package/esm/models/getconfigurationop.d.ts.map +1 -1
- package/esm/models/getconfigurationop.js +298 -0
- package/esm/models/getconfigurationop.js.map +1 -1
- package/esm/models/getconfigurationsop.d.ts +6 -0
- package/esm/models/getconfigurationsop.d.ts.map +1 -1
- package/esm/models/getconfigurationsop.js +2 -0
- package/esm/models/getconfigurationsop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +26 -8
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +14 -4
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getdeploymentsop.d.ts +16 -3
- package/esm/models/getdeploymentsop.d.ts.map +1 -1
- package/esm/models/getdeploymentsop.js +6 -1
- package/esm/models/getdeploymentsop.js.map +1 -1
- package/esm/models/getdomainconfigop.d.ts +7 -0
- package/esm/models/getdomainconfigop.d.ts.map +1 -1
- package/esm/models/getdomainconfigop.js +4 -0
- package/esm/models/getdomainconfigop.js.map +1 -1
- package/esm/models/getfirewallconfigop.d.ts +15 -15
- package/esm/models/getfirewallconfigop.d.ts.map +1 -1
- package/esm/models/getfirewallconfigop.js +15 -16
- package/esm/models/getfirewallconfigop.js.map +1 -1
- package/esm/models/getintegrationlogdrainsop.d.ts +3 -0
- package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
- package/esm/models/getintegrationlogdrainsop.js +1 -0
- package/esm/models/getintegrationlogdrainsop.js.map +1 -1
- package/esm/models/getinvoiceop.d.ts +159 -48
- package/esm/models/getinvoiceop.d.ts.map +1 -1
- package/esm/models/getinvoiceop.js +26 -23
- package/esm/models/getinvoiceop.js.map +1 -1
- package/esm/models/getprojectenvop.d.ts +0 -2
- package/esm/models/getprojectenvop.d.ts.map +1 -1
- package/esm/models/getprojectenvop.js +0 -2
- package/esm/models/getprojectenvop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +6 -0
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +2 -0
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getteammembersop.d.ts +0 -5
- package/esm/models/getteammembersop.d.ts.map +1 -1
- package/esm/models/getteammembersop.js +0 -2
- package/esm/models/getteammembersop.js.map +1 -1
- package/esm/models/getteamsop.d.ts +13 -13
- package/esm/models/getteamsop.d.ts.map +1 -1
- package/esm/models/getteamsop.js +13 -14
- package/esm/models/getteamsop.js.map +1 -1
- package/esm/models/importresourceop.d.ts +64 -0
- package/esm/models/importresourceop.d.ts.map +1 -1
- package/esm/models/importresourceop.js +64 -0
- package/esm/models/importresourceop.js.map +1 -1
- package/esm/models/inviteusertoteamop.d.ts +32 -32
- package/esm/models/inviteusertoteamop.d.ts.map +1 -1
- package/esm/models/inviteusertoteamop.js +49 -49
- package/esm/models/inviteusertoteamop.js.map +1 -1
- package/esm/models/submitinvoiceop.d.ts +9 -0
- package/esm/models/submitinvoiceop.d.ts.map +1 -1
- package/esm/models/submitinvoiceop.js.map +1 -1
- package/esm/models/updatefirewallconfigop.d.ts +95 -95
- package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
- package/esm/models/updatefirewallconfigop.js +119 -121
- package/esm/models/updatefirewallconfigop.js.map +1 -1
- package/esm/models/updateinvoiceop.d.ts +8 -8
- package/esm/models/updateinvoiceop.d.ts.map +1 -1
- package/esm/models/updateinvoiceop.js +12 -13
- package/esm/models/updateinvoiceop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +124 -118
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +146 -144
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +179 -173
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +191 -192
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/uploadfileop.d.ts +2 -0
- package/esm/models/uploadfileop.d.ts.map +1 -1
- package/esm/models/uploadfileop.js +14 -0
- package/esm/models/uploadfileop.js.map +1 -1
- package/esm/models/userevent.d.ts +14408 -2
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +13247 -2
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/sdk.d.ts +0 -3
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +0 -4
- package/esm/sdk/sdk.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/apiexperimentation.test.ts +5 -17
- package/src/__tests__/marketplace.test.ts +9 -3
- package/src/__tests__/projects.test.ts +13 -15
- package/src/__tests__/security.test.ts +0 -10
- package/src/__tests__/teams.test.ts +5 -50
- package/src/funcs/deploymentsGetDeployments.ts +2 -0
- package/src/funcs/deploymentsUploadFile.ts +2 -1
- package/src/funcs/projectsCreateProjectTransferRequest.ts +3 -2
- package/src/funcs/teamsGetTeamMembers.ts +2 -9
- package/src/hooks/types.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/security.ts +11 -3
- package/src/mcp-server/extensions.ts +4 -0
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/prompts.ts +117 -0
- package/src/mcp-server/resources.ts +17 -2
- package/src/mcp-server/server.ts +6 -6
- package/src/mcp-server/tools.ts +7 -3
- package/src/models/addbypassipop.ts +6 -0
- package/src/models/authtoken.ts +100 -88
- package/src/models/authuser.ts +36 -166
- package/src/models/canceldeploymentop.ts +24 -7
- package/src/models/createconfigurablelogdrainop.ts +76 -75
- package/src/models/createdeploymentop.ts +362 -289
- package/src/models/createlogdrainop.ts +1 -0
- package/src/models/createprojectop.ts +217 -186
- package/src/models/createprojecttransferrequestop.ts +96 -0
- package/src/models/createrecordop.ts +207 -183
- package/src/models/deleteteamop.ts +34 -27
- package/src/models/getaliasop.ts +28 -24
- package/src/models/getalllogdrainsop.ts +72 -71
- package/src/models/getauthuserop.ts +29 -19
- package/src/models/getconfigurablelogdrainop.ts +70 -69
- package/src/models/getconfigurationop.ts +581 -0
- package/src/models/getconfigurationsop.ts +2 -0
- package/src/models/getdeploymentop.ts +28 -10
- package/src/models/getdeploymentsop.ts +18 -3
- package/src/models/getdomainconfigop.ts +11 -0
- package/src/models/getfirewallconfigop.ts +40 -33
- package/src/models/getintegrationlogdrainsop.ts +1 -0
- package/src/models/getinvoiceop.ts +158 -47
- package/src/models/getprojectenvop.ts +0 -4
- package/src/models/getprojectsop.ts +2 -0
- package/src/models/getteammembersop.ts +0 -7
- package/src/models/getteamsop.ts +25 -20
- package/src/models/importresourceop.ts +141 -0
- package/src/models/inviteusertoteamop.ts +79 -79
- package/src/models/submitinvoiceop.ts +9 -0
- package/src/models/updatefirewallconfigop.ts +246 -210
- package/src/models/updateinvoiceop.ts +16 -14
- package/src/models/updateprojectdatacacheop.ts +270 -252
- package/src/models/updateprojectop.ts +371 -305
- package/src/models/uploadfileop.ts +26 -0
- package/src/models/userevent.ts +28245 -4
- package/src/sdk/sdk.ts +0 -6
- package/vercel-spec.json +8586 -925
- package/docs/sdks/apiexperimentation/README.md +0 -82
- package/esm/funcs/apiExperimentationGetV1ExperimentationItems.d.ts +0 -15
- package/esm/funcs/apiExperimentationGetV1ExperimentationItems.d.ts.map +0 -1
- package/esm/funcs/apiExperimentationGetV1ExperimentationItems.js +0 -81
- package/esm/funcs/apiExperimentationGetV1ExperimentationItems.js.map +0 -1
- package/esm/mcp-server/tools/apiExperimentationGetV1ExperimentationItems.d.ts +0 -7
- package/esm/mcp-server/tools/apiExperimentationGetV1ExperimentationItems.d.ts.map +0 -1
- package/esm/mcp-server/tools/apiExperimentationGetV1ExperimentationItems.js +0 -26
- package/esm/mcp-server/tools/apiExperimentationGetV1ExperimentationItems.js.map +0 -1
- package/esm/models/getv1experimentationitemsop.d.ts +0 -148
- package/esm/models/getv1experimentationitemsop.d.ts.map +0 -1
- package/esm/models/getv1experimentationitemsop.js +0 -125
- package/esm/models/getv1experimentationitemsop.js.map +0 -1
- package/esm/sdk/apiexperimentation.d.ts +0 -9
- package/esm/sdk/apiexperimentation.d.ts.map +0 -1
- package/esm/sdk/apiexperimentation.js +0 -15
- package/esm/sdk/apiexperimentation.js.map +0 -1
- package/src/funcs/apiExperimentationGetV1ExperimentationItems.ts +0 -180
- package/src/mcp-server/tools/apiExperimentationGetV1ExperimentationItems.ts +0 -37
- package/src/models/getv1experimentationitemsop.ts +0 -287
- package/src/sdk/apiexperimentation.ts +0 -27
|
@@ -128,7 +128,7 @@ export type CreateDeploymentGitSourceDeploymentsRequestType = ClosedEnum<
|
|
|
128
128
|
typeof CreateDeploymentGitSourceDeploymentsRequestType
|
|
129
129
|
>;
|
|
130
130
|
|
|
131
|
-
export type
|
|
131
|
+
export type GitSource5 = {
|
|
132
132
|
owner: string;
|
|
133
133
|
ref: string;
|
|
134
134
|
sha?: string | undefined;
|
|
@@ -143,7 +143,7 @@ export type CreateDeploymentGitSourceDeploymentsType = ClosedEnum<
|
|
|
143
143
|
typeof CreateDeploymentGitSourceDeploymentsType
|
|
144
144
|
>;
|
|
145
145
|
|
|
146
|
-
export type
|
|
146
|
+
export type GitSource4 = {
|
|
147
147
|
ref: string;
|
|
148
148
|
repoUuid: string;
|
|
149
149
|
sha?: string | undefined;
|
|
@@ -160,7 +160,7 @@ export type CreateDeploymentGitSourceType = ClosedEnum<
|
|
|
160
160
|
typeof CreateDeploymentGitSourceType
|
|
161
161
|
>;
|
|
162
162
|
|
|
163
|
-
export type
|
|
163
|
+
export type GitSource3 = {
|
|
164
164
|
projectId: number | string;
|
|
165
165
|
ref: string;
|
|
166
166
|
sha?: string | undefined;
|
|
@@ -198,7 +198,12 @@ export type GitSource1 = {
|
|
|
198
198
|
/**
|
|
199
199
|
* Defines the Git Repository source to be deployed. This property can not be used in combination with `files`.
|
|
200
200
|
*/
|
|
201
|
-
export type GitSource =
|
|
201
|
+
export type GitSource =
|
|
202
|
+
| GitSource1
|
|
203
|
+
| GitSource3
|
|
204
|
+
| GitSource2
|
|
205
|
+
| GitSource4
|
|
206
|
+
| GitSource5;
|
|
202
207
|
|
|
203
208
|
/**
|
|
204
209
|
* The framework that is being used for this project. When `null` is used no framework is selected
|
|
@@ -343,7 +348,13 @@ export type CreateDeploymentRequestBody = {
|
|
|
343
348
|
/**
|
|
344
349
|
* Defines the Git Repository source to be deployed. This property can not be used in combination with `files`.
|
|
345
350
|
*/
|
|
346
|
-
gitSource?:
|
|
351
|
+
gitSource?:
|
|
352
|
+
| GitSource1
|
|
353
|
+
| GitSource3
|
|
354
|
+
| GitSource2
|
|
355
|
+
| GitSource4
|
|
356
|
+
| GitSource5
|
|
357
|
+
| undefined;
|
|
347
358
|
/**
|
|
348
359
|
* An object containing the deployment's metadata. Multiple key-value pairs can be attached to a deployment
|
|
349
360
|
*/
|
|
@@ -400,7 +411,11 @@ export type Build = {
|
|
|
400
411
|
env: Array<string>;
|
|
401
412
|
};
|
|
402
413
|
|
|
403
|
-
export type Builds = {
|
|
414
|
+
export type Builds = {
|
|
415
|
+
use: string;
|
|
416
|
+
src?: string | undefined;
|
|
417
|
+
config?: { [k: string]: any } | undefined;
|
|
418
|
+
};
|
|
404
419
|
|
|
405
420
|
export const CreateDeploymentFramework = {
|
|
406
421
|
Blitzjs: "blitzjs",
|
|
@@ -579,8 +594,8 @@ export type Creator = {
|
|
|
579
594
|
};
|
|
580
595
|
|
|
581
596
|
export const CreateDeploymentReadyState = {
|
|
582
|
-
Error: "ERROR",
|
|
583
597
|
Building: "BUILDING",
|
|
598
|
+
Error: "ERROR",
|
|
584
599
|
Initializing: "INITIALIZING",
|
|
585
600
|
Ready: "READY",
|
|
586
601
|
} as const;
|
|
@@ -597,10 +612,10 @@ export type CreateDeploymentOutput = {
|
|
|
597
612
|
* A partial representation of a Build used by the deployment endpoint.
|
|
598
613
|
*/
|
|
599
614
|
export type Lambdas = {
|
|
600
|
-
createdAt?: number | undefined;
|
|
601
615
|
id?: string | undefined;
|
|
602
|
-
|
|
616
|
+
createdAt?: number | undefined;
|
|
603
617
|
entrypoint?: string | null | undefined;
|
|
618
|
+
readyState?: CreateDeploymentReadyState | undefined;
|
|
604
619
|
readyStateAt?: number | undefined;
|
|
605
620
|
output: Array<CreateDeploymentOutput>;
|
|
606
621
|
};
|
|
@@ -615,7 +630,7 @@ export const CreateDeploymentStatus = {
|
|
|
615
630
|
} as const;
|
|
616
631
|
export type CreateDeploymentStatus = ClosedEnum<typeof CreateDeploymentStatus>;
|
|
617
632
|
|
|
618
|
-
export type
|
|
633
|
+
export type CreateDeploymentTeam = {
|
|
619
634
|
name: string;
|
|
620
635
|
id: string;
|
|
621
636
|
slug: string;
|
|
@@ -720,7 +735,7 @@ export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespon
|
|
|
720
735
|
typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type
|
|
721
736
|
>;
|
|
722
737
|
|
|
723
|
-
export type
|
|
738
|
+
export type CreateDeploymentGitSource5 = {
|
|
724
739
|
type:
|
|
725
740
|
CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type;
|
|
726
741
|
owner: string;
|
|
@@ -739,7 +754,7 @@ export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespon
|
|
|
739
754
|
typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType
|
|
740
755
|
>;
|
|
741
756
|
|
|
742
|
-
export type
|
|
757
|
+
export type CreateDeploymentGitSource4 = {
|
|
743
758
|
type:
|
|
744
759
|
CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType;
|
|
745
760
|
workspaceUuid?: string | undefined;
|
|
@@ -760,7 +775,7 @@ export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType =
|
|
|
760
775
|
|
|
761
776
|
export type GitSourceProjectId = string | number;
|
|
762
777
|
|
|
763
|
-
export type
|
|
778
|
+
export type CreateDeploymentGitSource3 = {
|
|
764
779
|
type: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType;
|
|
765
780
|
projectId: string | number;
|
|
766
781
|
ref?: string | null | undefined;
|
|
@@ -805,14 +820,14 @@ export type CreateDeploymentGitSource =
|
|
|
805
820
|
| CreateDeploymentGitSource6
|
|
806
821
|
| CreateDeploymentGitSource8
|
|
807
822
|
| CreateDeploymentGitSource1
|
|
808
|
-
|
|
|
823
|
+
| CreateDeploymentGitSource3
|
|
809
824
|
| CreateDeploymentGitSource2
|
|
810
|
-
|
|
|
811
|
-
|
|
|
825
|
+
| CreateDeploymentGitSource4
|
|
826
|
+
| CreateDeploymentGitSource5
|
|
812
827
|
| CreateDeploymentGitSource7
|
|
813
828
|
| CreateDeploymentGitSource9;
|
|
814
829
|
|
|
815
|
-
export type
|
|
830
|
+
export type CreateDeploymentProject = {
|
|
816
831
|
id: string;
|
|
817
832
|
name: string;
|
|
818
833
|
framework?: string | null | undefined;
|
|
@@ -874,14 +889,15 @@ export const ChecksConclusion = {
|
|
|
874
889
|
export type ChecksConclusion = ClosedEnum<typeof ChecksConclusion>;
|
|
875
890
|
|
|
876
891
|
/**
|
|
877
|
-
*
|
|
892
|
+
* Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
|
|
878
893
|
*/
|
|
879
894
|
export const ReadySubstate = {
|
|
880
895
|
Staged: "STAGED",
|
|
896
|
+
Rolling: "ROLLING",
|
|
881
897
|
Promoted: "PROMOTED",
|
|
882
898
|
} as const;
|
|
883
899
|
/**
|
|
884
|
-
*
|
|
900
|
+
* Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
|
|
885
901
|
*/
|
|
886
902
|
export type ReadySubstate = ClosedEnum<typeof ReadySubstate>;
|
|
887
903
|
|
|
@@ -897,12 +913,12 @@ export type OidcTokenClaims = {
|
|
|
897
913
|
environment: string;
|
|
898
914
|
};
|
|
899
915
|
|
|
900
|
-
export const
|
|
916
|
+
export const CreateDeploymentPlan = {
|
|
901
917
|
Pro: "pro",
|
|
902
918
|
Enterprise: "enterprise",
|
|
903
919
|
Hobby: "hobby",
|
|
904
920
|
} as const;
|
|
905
|
-
export type
|
|
921
|
+
export type CreateDeploymentPlan = ClosedEnum<typeof CreateDeploymentPlan>;
|
|
906
922
|
|
|
907
923
|
/**
|
|
908
924
|
* A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment.
|
|
@@ -955,14 +971,14 @@ export type CreateDeploymentMicrofrontends =
|
|
|
955
971
|
| CreateDeploymentMicrofrontends2;
|
|
956
972
|
|
|
957
973
|
export const FunctionType = {
|
|
958
|
-
Standard: "standard",
|
|
959
974
|
Fluid: "fluid",
|
|
975
|
+
Standard: "standard",
|
|
960
976
|
} as const;
|
|
961
977
|
export type FunctionType = ClosedEnum<typeof FunctionType>;
|
|
962
978
|
|
|
963
979
|
export const FunctionMemoryType = {
|
|
964
|
-
StandardLegacy: "standard_legacy",
|
|
965
980
|
Standard: "standard",
|
|
981
|
+
StandardLegacy: "standard_legacy",
|
|
966
982
|
Performance: "performance",
|
|
967
983
|
} as const;
|
|
968
984
|
export type FunctionMemoryType = ClosedEnum<typeof FunctionMemoryType>;
|
|
@@ -998,8 +1014,8 @@ export const RoutesHandle = {
|
|
|
998
1014
|
Filesystem: "filesystem",
|
|
999
1015
|
Hit: "hit",
|
|
1000
1016
|
Miss: "miss",
|
|
1001
|
-
Resource: "resource",
|
|
1002
1017
|
Rewrite: "rewrite",
|
|
1018
|
+
Resource: "resource",
|
|
1003
1019
|
} as const;
|
|
1004
1020
|
export type RoutesHandle = ClosedEnum<typeof RoutesHandle>;
|
|
1005
1021
|
|
|
@@ -1112,8 +1128,8 @@ export type CreateDeploymentGitRepoDeploymentsType = ClosedEnum<
|
|
|
1112
1128
|
>;
|
|
1113
1129
|
|
|
1114
1130
|
export const CreateDeploymentGitRepoOwnerType = {
|
|
1115
|
-
User: "user",
|
|
1116
1131
|
Team: "team",
|
|
1132
|
+
User: "user",
|
|
1117
1133
|
} as const;
|
|
1118
1134
|
export type CreateDeploymentGitRepoOwnerType = ClosedEnum<
|
|
1119
1135
|
typeof CreateDeploymentGitRepoOwnerType
|
|
@@ -1140,8 +1156,8 @@ export type CreateDeploymentGitRepoType = ClosedEnum<
|
|
|
1140
1156
|
>;
|
|
1141
1157
|
|
|
1142
1158
|
export const GitRepoOwnerType = {
|
|
1143
|
-
User: "user",
|
|
1144
1159
|
Team: "team",
|
|
1160
|
+
User: "user",
|
|
1145
1161
|
} as const;
|
|
1146
1162
|
export type GitRepoOwnerType = ClosedEnum<typeof GitRepoOwnerType>;
|
|
1147
1163
|
|
|
@@ -1164,8 +1180,8 @@ export const GitRepoType = {
|
|
|
1164
1180
|
export type GitRepoType = ClosedEnum<typeof GitRepoType>;
|
|
1165
1181
|
|
|
1166
1182
|
export const OwnerType = {
|
|
1167
|
-
User: "user",
|
|
1168
1183
|
Team: "team",
|
|
1184
|
+
User: "user",
|
|
1169
1185
|
} as const;
|
|
1170
1186
|
export type OwnerType = ClosedEnum<typeof OwnerType>;
|
|
1171
1187
|
|
|
@@ -1237,7 +1253,7 @@ export type CreateDeploymentResponseBody = {
|
|
|
1237
1253
|
public: boolean;
|
|
1238
1254
|
ready?: number | undefined;
|
|
1239
1255
|
status: CreateDeploymentStatus;
|
|
1240
|
-
team?:
|
|
1256
|
+
team?: CreateDeploymentTeam | undefined;
|
|
1241
1257
|
userAliases?: Array<string> | undefined;
|
|
1242
1258
|
previewCommentsEnabled?: boolean | undefined;
|
|
1243
1259
|
ttyBuildLogs?: boolean | undefined;
|
|
@@ -1256,15 +1272,15 @@ export type CreateDeploymentResponseBody = {
|
|
|
1256
1272
|
| CreateDeploymentGitSource6
|
|
1257
1273
|
| CreateDeploymentGitSource8
|
|
1258
1274
|
| CreateDeploymentGitSource1
|
|
1259
|
-
|
|
|
1275
|
+
| CreateDeploymentGitSource3
|
|
1260
1276
|
| CreateDeploymentGitSource2
|
|
1261
|
-
|
|
|
1262
|
-
|
|
|
1277
|
+
| CreateDeploymentGitSource4
|
|
1278
|
+
| CreateDeploymentGitSource5
|
|
1263
1279
|
| CreateDeploymentGitSource7
|
|
1264
1280
|
| CreateDeploymentGitSource9
|
|
1265
1281
|
| undefined;
|
|
1266
1282
|
meta: { [k: string]: string };
|
|
1267
|
-
project?:
|
|
1283
|
+
project?: CreateDeploymentProject | undefined;
|
|
1268
1284
|
readyState: ReadyState;
|
|
1269
1285
|
source?: CreateDeploymentSource | undefined;
|
|
1270
1286
|
target?: CreateDeploymentTarget | null | undefined;
|
|
@@ -1291,14 +1307,14 @@ export type CreateDeploymentResponseBody = {
|
|
|
1291
1307
|
errorStep?: string | undefined;
|
|
1292
1308
|
originCacheRegion?: string | undefined;
|
|
1293
1309
|
/**
|
|
1294
|
-
*
|
|
1310
|
+
* Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
|
|
1295
1311
|
*/
|
|
1296
1312
|
readySubstate?: ReadySubstate | undefined;
|
|
1297
1313
|
softDeletedByRetention?: boolean | undefined;
|
|
1298
1314
|
undeletedAt?: number | undefined;
|
|
1299
1315
|
url: string;
|
|
1300
1316
|
oidcTokenClaims?: OidcTokenClaims | undefined;
|
|
1301
|
-
plan:
|
|
1317
|
+
plan: CreateDeploymentPlan;
|
|
1302
1318
|
projectId: string;
|
|
1303
1319
|
ownerId: string;
|
|
1304
1320
|
microfrontends?:
|
|
@@ -1631,17 +1647,20 @@ export namespace CreateDeploymentGitSourceDeploymentsRequestType$ {
|
|
|
1631
1647
|
}
|
|
1632
1648
|
|
|
1633
1649
|
/** @internal */
|
|
1634
|
-
export const
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1650
|
+
export const GitSource5$inboundSchema: z.ZodType<
|
|
1651
|
+
GitSource5,
|
|
1652
|
+
z.ZodTypeDef,
|
|
1653
|
+
unknown
|
|
1654
|
+
> = z.object({
|
|
1655
|
+
owner: z.string(),
|
|
1656
|
+
ref: z.string(),
|
|
1657
|
+
sha: z.string().optional(),
|
|
1658
|
+
slug: z.string(),
|
|
1659
|
+
type: CreateDeploymentGitSourceDeploymentsRequestType$inboundSchema,
|
|
1660
|
+
});
|
|
1642
1661
|
|
|
1643
1662
|
/** @internal */
|
|
1644
|
-
export type
|
|
1663
|
+
export type GitSource5$Outbound = {
|
|
1645
1664
|
owner: string;
|
|
1646
1665
|
ref: string;
|
|
1647
1666
|
sha?: string | undefined;
|
|
@@ -1650,39 +1669,42 @@ export type Five$Outbound = {
|
|
|
1650
1669
|
};
|
|
1651
1670
|
|
|
1652
1671
|
/** @internal */
|
|
1653
|
-
export const
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1672
|
+
export const GitSource5$outboundSchema: z.ZodType<
|
|
1673
|
+
GitSource5$Outbound,
|
|
1674
|
+
z.ZodTypeDef,
|
|
1675
|
+
GitSource5
|
|
1676
|
+
> = z.object({
|
|
1677
|
+
owner: z.string(),
|
|
1678
|
+
ref: z.string(),
|
|
1679
|
+
sha: z.string().optional(),
|
|
1680
|
+
slug: z.string(),
|
|
1681
|
+
type: CreateDeploymentGitSourceDeploymentsRequestType$outboundSchema,
|
|
1682
|
+
});
|
|
1661
1683
|
|
|
1662
1684
|
/**
|
|
1663
1685
|
* @internal
|
|
1664
1686
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1665
1687
|
*/
|
|
1666
|
-
export namespace
|
|
1667
|
-
/** @deprecated use `
|
|
1668
|
-
export const inboundSchema =
|
|
1669
|
-
/** @deprecated use `
|
|
1670
|
-
export const outboundSchema =
|
|
1671
|
-
/** @deprecated use `
|
|
1672
|
-
export type Outbound =
|
|
1688
|
+
export namespace GitSource5$ {
|
|
1689
|
+
/** @deprecated use `GitSource5$inboundSchema` instead. */
|
|
1690
|
+
export const inboundSchema = GitSource5$inboundSchema;
|
|
1691
|
+
/** @deprecated use `GitSource5$outboundSchema` instead. */
|
|
1692
|
+
export const outboundSchema = GitSource5$outboundSchema;
|
|
1693
|
+
/** @deprecated use `GitSource5$Outbound` instead. */
|
|
1694
|
+
export type Outbound = GitSource5$Outbound;
|
|
1673
1695
|
}
|
|
1674
1696
|
|
|
1675
|
-
export function
|
|
1676
|
-
return JSON.stringify(
|
|
1697
|
+
export function gitSource5ToJSON(gitSource5: GitSource5): string {
|
|
1698
|
+
return JSON.stringify(GitSource5$outboundSchema.parse(gitSource5));
|
|
1677
1699
|
}
|
|
1678
1700
|
|
|
1679
|
-
export function
|
|
1701
|
+
export function gitSource5FromJSON(
|
|
1680
1702
|
jsonString: string,
|
|
1681
|
-
): SafeParseResult<
|
|
1703
|
+
): SafeParseResult<GitSource5, SDKValidationError> {
|
|
1682
1704
|
return safeParse(
|
|
1683
1705
|
jsonString,
|
|
1684
|
-
(x) =>
|
|
1685
|
-
`Failed to parse '
|
|
1706
|
+
(x) => GitSource5$inboundSchema.parse(JSON.parse(x)),
|
|
1707
|
+
`Failed to parse 'GitSource5' from JSON`,
|
|
1686
1708
|
);
|
|
1687
1709
|
}
|
|
1688
1710
|
|
|
@@ -1710,17 +1732,20 @@ export namespace CreateDeploymentGitSourceDeploymentsType$ {
|
|
|
1710
1732
|
}
|
|
1711
1733
|
|
|
1712
1734
|
/** @internal */
|
|
1713
|
-
export const
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1735
|
+
export const GitSource4$inboundSchema: z.ZodType<
|
|
1736
|
+
GitSource4,
|
|
1737
|
+
z.ZodTypeDef,
|
|
1738
|
+
unknown
|
|
1739
|
+
> = z.object({
|
|
1740
|
+
ref: z.string(),
|
|
1741
|
+
repoUuid: z.string(),
|
|
1742
|
+
sha: z.string().optional(),
|
|
1743
|
+
type: CreateDeploymentGitSourceDeploymentsType$inboundSchema,
|
|
1744
|
+
workspaceUuid: z.string().optional(),
|
|
1745
|
+
});
|
|
1721
1746
|
|
|
1722
1747
|
/** @internal */
|
|
1723
|
-
export type
|
|
1748
|
+
export type GitSource4$Outbound = {
|
|
1724
1749
|
ref: string;
|
|
1725
1750
|
repoUuid: string;
|
|
1726
1751
|
sha?: string | undefined;
|
|
@@ -1729,39 +1754,42 @@ export type Four$Outbound = {
|
|
|
1729
1754
|
};
|
|
1730
1755
|
|
|
1731
1756
|
/** @internal */
|
|
1732
|
-
export const
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1757
|
+
export const GitSource4$outboundSchema: z.ZodType<
|
|
1758
|
+
GitSource4$Outbound,
|
|
1759
|
+
z.ZodTypeDef,
|
|
1760
|
+
GitSource4
|
|
1761
|
+
> = z.object({
|
|
1762
|
+
ref: z.string(),
|
|
1763
|
+
repoUuid: z.string(),
|
|
1764
|
+
sha: z.string().optional(),
|
|
1765
|
+
type: CreateDeploymentGitSourceDeploymentsType$outboundSchema,
|
|
1766
|
+
workspaceUuid: z.string().optional(),
|
|
1767
|
+
});
|
|
1740
1768
|
|
|
1741
1769
|
/**
|
|
1742
1770
|
* @internal
|
|
1743
1771
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1744
1772
|
*/
|
|
1745
|
-
export namespace
|
|
1746
|
-
/** @deprecated use `
|
|
1747
|
-
export const inboundSchema =
|
|
1748
|
-
/** @deprecated use `
|
|
1749
|
-
export const outboundSchema =
|
|
1750
|
-
/** @deprecated use `
|
|
1751
|
-
export type Outbound =
|
|
1773
|
+
export namespace GitSource4$ {
|
|
1774
|
+
/** @deprecated use `GitSource4$inboundSchema` instead. */
|
|
1775
|
+
export const inboundSchema = GitSource4$inboundSchema;
|
|
1776
|
+
/** @deprecated use `GitSource4$outboundSchema` instead. */
|
|
1777
|
+
export const outboundSchema = GitSource4$outboundSchema;
|
|
1778
|
+
/** @deprecated use `GitSource4$Outbound` instead. */
|
|
1779
|
+
export type Outbound = GitSource4$Outbound;
|
|
1752
1780
|
}
|
|
1753
1781
|
|
|
1754
|
-
export function
|
|
1755
|
-
return JSON.stringify(
|
|
1782
|
+
export function gitSource4ToJSON(gitSource4: GitSource4): string {
|
|
1783
|
+
return JSON.stringify(GitSource4$outboundSchema.parse(gitSource4));
|
|
1756
1784
|
}
|
|
1757
1785
|
|
|
1758
|
-
export function
|
|
1786
|
+
export function gitSource4FromJSON(
|
|
1759
1787
|
jsonString: string,
|
|
1760
|
-
): SafeParseResult<
|
|
1788
|
+
): SafeParseResult<GitSource4, SDKValidationError> {
|
|
1761
1789
|
return safeParse(
|
|
1762
1790
|
jsonString,
|
|
1763
|
-
(x) =>
|
|
1764
|
-
`Failed to parse '
|
|
1791
|
+
(x) => GitSource4$inboundSchema.parse(JSON.parse(x)),
|
|
1792
|
+
`Failed to parse 'GitSource4' from JSON`,
|
|
1765
1793
|
);
|
|
1766
1794
|
}
|
|
1767
1795
|
|
|
@@ -1831,16 +1859,19 @@ export namespace CreateDeploymentGitSourceType$ {
|
|
|
1831
1859
|
}
|
|
1832
1860
|
|
|
1833
1861
|
/** @internal */
|
|
1834
|
-
export const
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1862
|
+
export const GitSource3$inboundSchema: z.ZodType<
|
|
1863
|
+
GitSource3,
|
|
1864
|
+
z.ZodTypeDef,
|
|
1865
|
+
unknown
|
|
1866
|
+
> = z.object({
|
|
1867
|
+
projectId: z.union([z.number(), z.string()]),
|
|
1868
|
+
ref: z.string(),
|
|
1869
|
+
sha: z.string().optional(),
|
|
1870
|
+
type: CreateDeploymentGitSourceType$inboundSchema,
|
|
1871
|
+
});
|
|
1841
1872
|
|
|
1842
1873
|
/** @internal */
|
|
1843
|
-
export type
|
|
1874
|
+
export type GitSource3$Outbound = {
|
|
1844
1875
|
projectId: number | string;
|
|
1845
1876
|
ref: string;
|
|
1846
1877
|
sha?: string | undefined;
|
|
@@ -1848,10 +1879,10 @@ export type Three$Outbound = {
|
|
|
1848
1879
|
};
|
|
1849
1880
|
|
|
1850
1881
|
/** @internal */
|
|
1851
|
-
export const
|
|
1852
|
-
|
|
1882
|
+
export const GitSource3$outboundSchema: z.ZodType<
|
|
1883
|
+
GitSource3$Outbound,
|
|
1853
1884
|
z.ZodTypeDef,
|
|
1854
|
-
|
|
1885
|
+
GitSource3
|
|
1855
1886
|
> = z.object({
|
|
1856
1887
|
projectId: z.union([z.number(), z.string()]),
|
|
1857
1888
|
ref: z.string(),
|
|
@@ -1863,26 +1894,26 @@ export const Three$outboundSchema: z.ZodType<
|
|
|
1863
1894
|
* @internal
|
|
1864
1895
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1865
1896
|
*/
|
|
1866
|
-
export namespace
|
|
1867
|
-
/** @deprecated use `
|
|
1868
|
-
export const inboundSchema =
|
|
1869
|
-
/** @deprecated use `
|
|
1870
|
-
export const outboundSchema =
|
|
1871
|
-
/** @deprecated use `
|
|
1872
|
-
export type Outbound =
|
|
1897
|
+
export namespace GitSource3$ {
|
|
1898
|
+
/** @deprecated use `GitSource3$inboundSchema` instead. */
|
|
1899
|
+
export const inboundSchema = GitSource3$inboundSchema;
|
|
1900
|
+
/** @deprecated use `GitSource3$outboundSchema` instead. */
|
|
1901
|
+
export const outboundSchema = GitSource3$outboundSchema;
|
|
1902
|
+
/** @deprecated use `GitSource3$Outbound` instead. */
|
|
1903
|
+
export type Outbound = GitSource3$Outbound;
|
|
1873
1904
|
}
|
|
1874
1905
|
|
|
1875
|
-
export function
|
|
1876
|
-
return JSON.stringify(
|
|
1906
|
+
export function gitSource3ToJSON(gitSource3: GitSource3): string {
|
|
1907
|
+
return JSON.stringify(GitSource3$outboundSchema.parse(gitSource3));
|
|
1877
1908
|
}
|
|
1878
1909
|
|
|
1879
|
-
export function
|
|
1910
|
+
export function gitSource3FromJSON(
|
|
1880
1911
|
jsonString: string,
|
|
1881
|
-
): SafeParseResult<
|
|
1912
|
+
): SafeParseResult<GitSource3, SDKValidationError> {
|
|
1882
1913
|
return safeParse(
|
|
1883
1914
|
jsonString,
|
|
1884
|
-
(x) =>
|
|
1885
|
-
`Failed to parse '
|
|
1915
|
+
(x) => GitSource3$inboundSchema.parse(JSON.parse(x)),
|
|
1916
|
+
`Failed to parse 'GitSource3' from JSON`,
|
|
1886
1917
|
);
|
|
1887
1918
|
}
|
|
1888
1919
|
|
|
@@ -2103,19 +2134,19 @@ export const GitSource$inboundSchema: z.ZodType<
|
|
|
2103
2134
|
unknown
|
|
2104
2135
|
> = z.union([
|
|
2105
2136
|
z.lazy(() => GitSource1$inboundSchema),
|
|
2106
|
-
z.lazy(() =>
|
|
2137
|
+
z.lazy(() => GitSource3$inboundSchema),
|
|
2107
2138
|
z.lazy(() => GitSource2$inboundSchema),
|
|
2108
|
-
z.lazy(() =>
|
|
2109
|
-
z.lazy(() =>
|
|
2139
|
+
z.lazy(() => GitSource4$inboundSchema),
|
|
2140
|
+
z.lazy(() => GitSource5$inboundSchema),
|
|
2110
2141
|
]);
|
|
2111
2142
|
|
|
2112
2143
|
/** @internal */
|
|
2113
2144
|
export type GitSource$Outbound =
|
|
2114
2145
|
| GitSource1$Outbound
|
|
2115
|
-
|
|
|
2146
|
+
| GitSource3$Outbound
|
|
2116
2147
|
| GitSource2$Outbound
|
|
2117
|
-
|
|
|
2118
|
-
|
|
|
2148
|
+
| GitSource4$Outbound
|
|
2149
|
+
| GitSource5$Outbound;
|
|
2119
2150
|
|
|
2120
2151
|
/** @internal */
|
|
2121
2152
|
export const GitSource$outboundSchema: z.ZodType<
|
|
@@ -2124,10 +2155,10 @@ export const GitSource$outboundSchema: z.ZodType<
|
|
|
2124
2155
|
GitSource
|
|
2125
2156
|
> = z.union([
|
|
2126
2157
|
z.lazy(() => GitSource1$outboundSchema),
|
|
2127
|
-
z.lazy(() =>
|
|
2158
|
+
z.lazy(() => GitSource3$outboundSchema),
|
|
2128
2159
|
z.lazy(() => GitSource2$outboundSchema),
|
|
2129
|
-
z.lazy(() =>
|
|
2130
|
-
z.lazy(() =>
|
|
2160
|
+
z.lazy(() => GitSource4$outboundSchema),
|
|
2161
|
+
z.lazy(() => GitSource5$outboundSchema),
|
|
2131
2162
|
]);
|
|
2132
2163
|
|
|
2133
2164
|
/**
|
|
@@ -2294,10 +2325,10 @@ export const CreateDeploymentRequestBody$inboundSchema: z.ZodType<
|
|
|
2294
2325
|
gitMetadata: z.lazy(() => GitMetadata$inboundSchema).optional(),
|
|
2295
2326
|
gitSource: z.union([
|
|
2296
2327
|
z.lazy(() => GitSource1$inboundSchema),
|
|
2297
|
-
z.lazy(() =>
|
|
2328
|
+
z.lazy(() => GitSource3$inboundSchema),
|
|
2298
2329
|
z.lazy(() => GitSource2$inboundSchema),
|
|
2299
|
-
z.lazy(() =>
|
|
2300
|
-
z.lazy(() =>
|
|
2330
|
+
z.lazy(() => GitSource4$inboundSchema),
|
|
2331
|
+
z.lazy(() => GitSource5$inboundSchema),
|
|
2301
2332
|
]).optional(),
|
|
2302
2333
|
meta: z.record(z.string()).optional(),
|
|
2303
2334
|
monorepoManager: z.nullable(z.string()).optional(),
|
|
@@ -2316,10 +2347,10 @@ export type CreateDeploymentRequestBody$Outbound = {
|
|
|
2316
2347
|
gitMetadata?: GitMetadata$Outbound | undefined;
|
|
2317
2348
|
gitSource?:
|
|
2318
2349
|
| GitSource1$Outbound
|
|
2319
|
-
|
|
|
2350
|
+
| GitSource3$Outbound
|
|
2320
2351
|
| GitSource2$Outbound
|
|
2321
|
-
|
|
|
2322
|
-
|
|
|
2352
|
+
| GitSource4$Outbound
|
|
2353
|
+
| GitSource5$Outbound
|
|
2323
2354
|
| undefined;
|
|
2324
2355
|
meta?: { [k: string]: string } | undefined;
|
|
2325
2356
|
monorepoManager?: string | null | undefined;
|
|
@@ -2347,10 +2378,10 @@ export const CreateDeploymentRequestBody$outboundSchema: z.ZodType<
|
|
|
2347
2378
|
gitMetadata: z.lazy(() => GitMetadata$outboundSchema).optional(),
|
|
2348
2379
|
gitSource: z.union([
|
|
2349
2380
|
z.lazy(() => GitSource1$outboundSchema),
|
|
2350
|
-
z.lazy(() =>
|
|
2381
|
+
z.lazy(() => GitSource3$outboundSchema),
|
|
2351
2382
|
z.lazy(() => GitSource2$outboundSchema),
|
|
2352
|
-
z.lazy(() =>
|
|
2353
|
-
z.lazy(() =>
|
|
2383
|
+
z.lazy(() => GitSource4$outboundSchema),
|
|
2384
|
+
z.lazy(() => GitSource5$outboundSchema),
|
|
2354
2385
|
]).optional(),
|
|
2355
2386
|
meta: z.record(z.string()).optional(),
|
|
2356
2387
|
monorepoManager: z.nullable(z.string()).optional(),
|
|
@@ -2565,17 +2596,29 @@ export function buildFromJSON(
|
|
|
2565
2596
|
|
|
2566
2597
|
/** @internal */
|
|
2567
2598
|
export const Builds$inboundSchema: z.ZodType<Builds, z.ZodTypeDef, unknown> = z
|
|
2568
|
-
.object({
|
|
2599
|
+
.object({
|
|
2600
|
+
use: z.string(),
|
|
2601
|
+
src: z.string().optional(),
|
|
2602
|
+
config: z.record(z.any()).optional(),
|
|
2603
|
+
});
|
|
2569
2604
|
|
|
2570
2605
|
/** @internal */
|
|
2571
|
-
export type Builds$Outbound = {
|
|
2606
|
+
export type Builds$Outbound = {
|
|
2607
|
+
use: string;
|
|
2608
|
+
src?: string | undefined;
|
|
2609
|
+
config?: { [k: string]: any } | undefined;
|
|
2610
|
+
};
|
|
2572
2611
|
|
|
2573
2612
|
/** @internal */
|
|
2574
2613
|
export const Builds$outboundSchema: z.ZodType<
|
|
2575
2614
|
Builds$Outbound,
|
|
2576
2615
|
z.ZodTypeDef,
|
|
2577
2616
|
Builds
|
|
2578
|
-
> = z.object({
|
|
2617
|
+
> = z.object({
|
|
2618
|
+
use: z.string(),
|
|
2619
|
+
src: z.string().optional(),
|
|
2620
|
+
config: z.record(z.any()).optional(),
|
|
2621
|
+
});
|
|
2579
2622
|
|
|
2580
2623
|
/**
|
|
2581
2624
|
* @internal
|
|
@@ -3314,20 +3357,20 @@ export function createDeploymentOutputFromJSON(
|
|
|
3314
3357
|
/** @internal */
|
|
3315
3358
|
export const Lambdas$inboundSchema: z.ZodType<Lambdas, z.ZodTypeDef, unknown> =
|
|
3316
3359
|
z.object({
|
|
3317
|
-
createdAt: z.number().optional(),
|
|
3318
3360
|
id: z.string().optional(),
|
|
3319
|
-
|
|
3361
|
+
createdAt: z.number().optional(),
|
|
3320
3362
|
entrypoint: z.nullable(z.string()).optional(),
|
|
3363
|
+
readyState: CreateDeploymentReadyState$inboundSchema.optional(),
|
|
3321
3364
|
readyStateAt: z.number().optional(),
|
|
3322
3365
|
output: z.array(z.lazy(() => CreateDeploymentOutput$inboundSchema)),
|
|
3323
3366
|
});
|
|
3324
3367
|
|
|
3325
3368
|
/** @internal */
|
|
3326
3369
|
export type Lambdas$Outbound = {
|
|
3327
|
-
createdAt?: number | undefined;
|
|
3328
3370
|
id?: string | undefined;
|
|
3329
|
-
|
|
3371
|
+
createdAt?: number | undefined;
|
|
3330
3372
|
entrypoint?: string | null | undefined;
|
|
3373
|
+
readyState?: string | undefined;
|
|
3331
3374
|
readyStateAt?: number | undefined;
|
|
3332
3375
|
output: Array<CreateDeploymentOutput$Outbound>;
|
|
3333
3376
|
};
|
|
@@ -3338,10 +3381,10 @@ export const Lambdas$outboundSchema: z.ZodType<
|
|
|
3338
3381
|
z.ZodTypeDef,
|
|
3339
3382
|
Lambdas
|
|
3340
3383
|
> = z.object({
|
|
3341
|
-
createdAt: z.number().optional(),
|
|
3342
3384
|
id: z.string().optional(),
|
|
3343
|
-
|
|
3385
|
+
createdAt: z.number().optional(),
|
|
3344
3386
|
entrypoint: z.nullable(z.string()).optional(),
|
|
3387
|
+
readyState: CreateDeploymentReadyState$outboundSchema.optional(),
|
|
3345
3388
|
readyStateAt: z.number().optional(),
|
|
3346
3389
|
output: z.array(z.lazy(() => CreateDeploymentOutput$outboundSchema)),
|
|
3347
3390
|
});
|
|
@@ -3395,16 +3438,19 @@ export namespace CreateDeploymentStatus$ {
|
|
|
3395
3438
|
}
|
|
3396
3439
|
|
|
3397
3440
|
/** @internal */
|
|
3398
|
-
export const
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3441
|
+
export const CreateDeploymentTeam$inboundSchema: z.ZodType<
|
|
3442
|
+
CreateDeploymentTeam,
|
|
3443
|
+
z.ZodTypeDef,
|
|
3444
|
+
unknown
|
|
3445
|
+
> = z.object({
|
|
3446
|
+
name: z.string(),
|
|
3447
|
+
id: z.string(),
|
|
3448
|
+
slug: z.string(),
|
|
3449
|
+
avatar: z.string().optional(),
|
|
3450
|
+
});
|
|
3405
3451
|
|
|
3406
3452
|
/** @internal */
|
|
3407
|
-
export type
|
|
3453
|
+
export type CreateDeploymentTeam$Outbound = {
|
|
3408
3454
|
name: string;
|
|
3409
3455
|
id: string;
|
|
3410
3456
|
slug: string;
|
|
@@ -3412,38 +3458,45 @@ export type Team$Outbound = {
|
|
|
3412
3458
|
};
|
|
3413
3459
|
|
|
3414
3460
|
/** @internal */
|
|
3415
|
-
export const
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3461
|
+
export const CreateDeploymentTeam$outboundSchema: z.ZodType<
|
|
3462
|
+
CreateDeploymentTeam$Outbound,
|
|
3463
|
+
z.ZodTypeDef,
|
|
3464
|
+
CreateDeploymentTeam
|
|
3465
|
+
> = z.object({
|
|
3466
|
+
name: z.string(),
|
|
3467
|
+
id: z.string(),
|
|
3468
|
+
slug: z.string(),
|
|
3469
|
+
avatar: z.string().optional(),
|
|
3470
|
+
});
|
|
3422
3471
|
|
|
3423
3472
|
/**
|
|
3424
3473
|
* @internal
|
|
3425
3474
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3426
3475
|
*/
|
|
3427
|
-
export namespace
|
|
3428
|
-
/** @deprecated use `
|
|
3429
|
-
export const inboundSchema =
|
|
3430
|
-
/** @deprecated use `
|
|
3431
|
-
export const outboundSchema =
|
|
3432
|
-
/** @deprecated use `
|
|
3433
|
-
export type Outbound =
|
|
3476
|
+
export namespace CreateDeploymentTeam$ {
|
|
3477
|
+
/** @deprecated use `CreateDeploymentTeam$inboundSchema` instead. */
|
|
3478
|
+
export const inboundSchema = CreateDeploymentTeam$inboundSchema;
|
|
3479
|
+
/** @deprecated use `CreateDeploymentTeam$outboundSchema` instead. */
|
|
3480
|
+
export const outboundSchema = CreateDeploymentTeam$outboundSchema;
|
|
3481
|
+
/** @deprecated use `CreateDeploymentTeam$Outbound` instead. */
|
|
3482
|
+
export type Outbound = CreateDeploymentTeam$Outbound;
|
|
3434
3483
|
}
|
|
3435
3484
|
|
|
3436
|
-
export function
|
|
3437
|
-
|
|
3485
|
+
export function createDeploymentTeamToJSON(
|
|
3486
|
+
createDeploymentTeam: CreateDeploymentTeam,
|
|
3487
|
+
): string {
|
|
3488
|
+
return JSON.stringify(
|
|
3489
|
+
CreateDeploymentTeam$outboundSchema.parse(createDeploymentTeam),
|
|
3490
|
+
);
|
|
3438
3491
|
}
|
|
3439
3492
|
|
|
3440
|
-
export function
|
|
3493
|
+
export function createDeploymentTeamFromJSON(
|
|
3441
3494
|
jsonString: string,
|
|
3442
|
-
): SafeParseResult<
|
|
3495
|
+
): SafeParseResult<CreateDeploymentTeam, SDKValidationError> {
|
|
3443
3496
|
return safeParse(
|
|
3444
3497
|
jsonString,
|
|
3445
|
-
(x) =>
|
|
3446
|
-
`Failed to parse '
|
|
3498
|
+
(x) => CreateDeploymentTeam$inboundSchema.parse(JSON.parse(x)),
|
|
3499
|
+
`Failed to parse 'CreateDeploymentTeam' from JSON`,
|
|
3447
3500
|
);
|
|
3448
3501
|
}
|
|
3449
3502
|
|
|
@@ -4042,8 +4095,8 @@ export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONR
|
|
|
4042
4095
|
}
|
|
4043
4096
|
|
|
4044
4097
|
/** @internal */
|
|
4045
|
-
export const
|
|
4046
|
-
|
|
4098
|
+
export const CreateDeploymentGitSource5$inboundSchema: z.ZodType<
|
|
4099
|
+
CreateDeploymentGitSource5,
|
|
4047
4100
|
z.ZodTypeDef,
|
|
4048
4101
|
unknown
|
|
4049
4102
|
> = z.object({
|
|
@@ -4057,7 +4110,7 @@ export const GitSource5$inboundSchema: z.ZodType<
|
|
|
4057
4110
|
});
|
|
4058
4111
|
|
|
4059
4112
|
/** @internal */
|
|
4060
|
-
export type
|
|
4113
|
+
export type CreateDeploymentGitSource5$Outbound = {
|
|
4061
4114
|
type: string;
|
|
4062
4115
|
owner: string;
|
|
4063
4116
|
slug: string;
|
|
@@ -4067,10 +4120,10 @@ export type GitSource5$Outbound = {
|
|
|
4067
4120
|
};
|
|
4068
4121
|
|
|
4069
4122
|
/** @internal */
|
|
4070
|
-
export const
|
|
4071
|
-
|
|
4123
|
+
export const CreateDeploymentGitSource5$outboundSchema: z.ZodType<
|
|
4124
|
+
CreateDeploymentGitSource5$Outbound,
|
|
4072
4125
|
z.ZodTypeDef,
|
|
4073
|
-
|
|
4126
|
+
CreateDeploymentGitSource5
|
|
4074
4127
|
> = z.object({
|
|
4075
4128
|
type:
|
|
4076
4129
|
CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$outboundSchema,
|
|
@@ -4085,26 +4138,30 @@ export const GitSource5$outboundSchema: z.ZodType<
|
|
|
4085
4138
|
* @internal
|
|
4086
4139
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4087
4140
|
*/
|
|
4088
|
-
export namespace
|
|
4089
|
-
/** @deprecated use `
|
|
4090
|
-
export const inboundSchema =
|
|
4091
|
-
/** @deprecated use `
|
|
4092
|
-
export const outboundSchema =
|
|
4093
|
-
/** @deprecated use `
|
|
4094
|
-
export type Outbound =
|
|
4141
|
+
export namespace CreateDeploymentGitSource5$ {
|
|
4142
|
+
/** @deprecated use `CreateDeploymentGitSource5$inboundSchema` instead. */
|
|
4143
|
+
export const inboundSchema = CreateDeploymentGitSource5$inboundSchema;
|
|
4144
|
+
/** @deprecated use `CreateDeploymentGitSource5$outboundSchema` instead. */
|
|
4145
|
+
export const outboundSchema = CreateDeploymentGitSource5$outboundSchema;
|
|
4146
|
+
/** @deprecated use `CreateDeploymentGitSource5$Outbound` instead. */
|
|
4147
|
+
export type Outbound = CreateDeploymentGitSource5$Outbound;
|
|
4095
4148
|
}
|
|
4096
4149
|
|
|
4097
|
-
export function
|
|
4098
|
-
|
|
4150
|
+
export function createDeploymentGitSource5ToJSON(
|
|
4151
|
+
createDeploymentGitSource5: CreateDeploymentGitSource5,
|
|
4152
|
+
): string {
|
|
4153
|
+
return JSON.stringify(
|
|
4154
|
+
CreateDeploymentGitSource5$outboundSchema.parse(createDeploymentGitSource5),
|
|
4155
|
+
);
|
|
4099
4156
|
}
|
|
4100
4157
|
|
|
4101
|
-
export function
|
|
4158
|
+
export function createDeploymentGitSource5FromJSON(
|
|
4102
4159
|
jsonString: string,
|
|
4103
|
-
): SafeParseResult<
|
|
4160
|
+
): SafeParseResult<CreateDeploymentGitSource5, SDKValidationError> {
|
|
4104
4161
|
return safeParse(
|
|
4105
4162
|
jsonString,
|
|
4106
|
-
(x) =>
|
|
4107
|
-
`Failed to parse '
|
|
4163
|
+
(x) => CreateDeploymentGitSource5$inboundSchema.parse(JSON.parse(x)),
|
|
4164
|
+
`Failed to parse 'CreateDeploymentGitSource5' from JSON`,
|
|
4108
4165
|
);
|
|
4109
4166
|
}
|
|
4110
4167
|
|
|
@@ -4137,8 +4194,8 @@ export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONR
|
|
|
4137
4194
|
}
|
|
4138
4195
|
|
|
4139
4196
|
/** @internal */
|
|
4140
|
-
export const
|
|
4141
|
-
|
|
4197
|
+
export const CreateDeploymentGitSource4$inboundSchema: z.ZodType<
|
|
4198
|
+
CreateDeploymentGitSource4,
|
|
4142
4199
|
z.ZodTypeDef,
|
|
4143
4200
|
unknown
|
|
4144
4201
|
> = z.object({
|
|
@@ -4152,7 +4209,7 @@ export const GitSource4$inboundSchema: z.ZodType<
|
|
|
4152
4209
|
});
|
|
4153
4210
|
|
|
4154
4211
|
/** @internal */
|
|
4155
|
-
export type
|
|
4212
|
+
export type CreateDeploymentGitSource4$Outbound = {
|
|
4156
4213
|
type: string;
|
|
4157
4214
|
workspaceUuid?: string | undefined;
|
|
4158
4215
|
repoUuid: string;
|
|
@@ -4162,10 +4219,10 @@ export type GitSource4$Outbound = {
|
|
|
4162
4219
|
};
|
|
4163
4220
|
|
|
4164
4221
|
/** @internal */
|
|
4165
|
-
export const
|
|
4166
|
-
|
|
4222
|
+
export const CreateDeploymentGitSource4$outboundSchema: z.ZodType<
|
|
4223
|
+
CreateDeploymentGitSource4$Outbound,
|
|
4167
4224
|
z.ZodTypeDef,
|
|
4168
|
-
|
|
4225
|
+
CreateDeploymentGitSource4
|
|
4169
4226
|
> = z.object({
|
|
4170
4227
|
type:
|
|
4171
4228
|
CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema,
|
|
@@ -4180,26 +4237,30 @@ export const GitSource4$outboundSchema: z.ZodType<
|
|
|
4180
4237
|
* @internal
|
|
4181
4238
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4182
4239
|
*/
|
|
4183
|
-
export namespace
|
|
4184
|
-
/** @deprecated use `
|
|
4185
|
-
export const inboundSchema =
|
|
4186
|
-
/** @deprecated use `
|
|
4187
|
-
export const outboundSchema =
|
|
4188
|
-
/** @deprecated use `
|
|
4189
|
-
export type Outbound =
|
|
4240
|
+
export namespace CreateDeploymentGitSource4$ {
|
|
4241
|
+
/** @deprecated use `CreateDeploymentGitSource4$inboundSchema` instead. */
|
|
4242
|
+
export const inboundSchema = CreateDeploymentGitSource4$inboundSchema;
|
|
4243
|
+
/** @deprecated use `CreateDeploymentGitSource4$outboundSchema` instead. */
|
|
4244
|
+
export const outboundSchema = CreateDeploymentGitSource4$outboundSchema;
|
|
4245
|
+
/** @deprecated use `CreateDeploymentGitSource4$Outbound` instead. */
|
|
4246
|
+
export type Outbound = CreateDeploymentGitSource4$Outbound;
|
|
4190
4247
|
}
|
|
4191
4248
|
|
|
4192
|
-
export function
|
|
4193
|
-
|
|
4249
|
+
export function createDeploymentGitSource4ToJSON(
|
|
4250
|
+
createDeploymentGitSource4: CreateDeploymentGitSource4,
|
|
4251
|
+
): string {
|
|
4252
|
+
return JSON.stringify(
|
|
4253
|
+
CreateDeploymentGitSource4$outboundSchema.parse(createDeploymentGitSource4),
|
|
4254
|
+
);
|
|
4194
4255
|
}
|
|
4195
4256
|
|
|
4196
|
-
export function
|
|
4257
|
+
export function createDeploymentGitSource4FromJSON(
|
|
4197
4258
|
jsonString: string,
|
|
4198
|
-
): SafeParseResult<
|
|
4259
|
+
): SafeParseResult<CreateDeploymentGitSource4, SDKValidationError> {
|
|
4199
4260
|
return safeParse(
|
|
4200
4261
|
jsonString,
|
|
4201
|
-
(x) =>
|
|
4202
|
-
`Failed to parse '
|
|
4262
|
+
(x) => CreateDeploymentGitSource4$inboundSchema.parse(JSON.parse(x)),
|
|
4263
|
+
`Failed to parse 'CreateDeploymentGitSource4' from JSON`,
|
|
4203
4264
|
);
|
|
4204
4265
|
}
|
|
4205
4266
|
|
|
@@ -4280,8 +4341,8 @@ export function gitSourceProjectIdFromJSON(
|
|
|
4280
4341
|
}
|
|
4281
4342
|
|
|
4282
4343
|
/** @internal */
|
|
4283
|
-
export const
|
|
4284
|
-
|
|
4344
|
+
export const CreateDeploymentGitSource3$inboundSchema: z.ZodType<
|
|
4345
|
+
CreateDeploymentGitSource3,
|
|
4285
4346
|
z.ZodTypeDef,
|
|
4286
4347
|
unknown
|
|
4287
4348
|
> = z.object({
|
|
@@ -4294,7 +4355,7 @@ export const GitSource3$inboundSchema: z.ZodType<
|
|
|
4294
4355
|
});
|
|
4295
4356
|
|
|
4296
4357
|
/** @internal */
|
|
4297
|
-
export type
|
|
4358
|
+
export type CreateDeploymentGitSource3$Outbound = {
|
|
4298
4359
|
type: string;
|
|
4299
4360
|
projectId: string | number;
|
|
4300
4361
|
ref?: string | null | undefined;
|
|
@@ -4303,10 +4364,10 @@ export type GitSource3$Outbound = {
|
|
|
4303
4364
|
};
|
|
4304
4365
|
|
|
4305
4366
|
/** @internal */
|
|
4306
|
-
export const
|
|
4307
|
-
|
|
4367
|
+
export const CreateDeploymentGitSource3$outboundSchema: z.ZodType<
|
|
4368
|
+
CreateDeploymentGitSource3$Outbound,
|
|
4308
4369
|
z.ZodTypeDef,
|
|
4309
|
-
|
|
4370
|
+
CreateDeploymentGitSource3
|
|
4310
4371
|
> = z.object({
|
|
4311
4372
|
type:
|
|
4312
4373
|
CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema,
|
|
@@ -4320,26 +4381,30 @@ export const GitSource3$outboundSchema: z.ZodType<
|
|
|
4320
4381
|
* @internal
|
|
4321
4382
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4322
4383
|
*/
|
|
4323
|
-
export namespace
|
|
4324
|
-
/** @deprecated use `
|
|
4325
|
-
export const inboundSchema =
|
|
4326
|
-
/** @deprecated use `
|
|
4327
|
-
export const outboundSchema =
|
|
4328
|
-
/** @deprecated use `
|
|
4329
|
-
export type Outbound =
|
|
4384
|
+
export namespace CreateDeploymentGitSource3$ {
|
|
4385
|
+
/** @deprecated use `CreateDeploymentGitSource3$inboundSchema` instead. */
|
|
4386
|
+
export const inboundSchema = CreateDeploymentGitSource3$inboundSchema;
|
|
4387
|
+
/** @deprecated use `CreateDeploymentGitSource3$outboundSchema` instead. */
|
|
4388
|
+
export const outboundSchema = CreateDeploymentGitSource3$outboundSchema;
|
|
4389
|
+
/** @deprecated use `CreateDeploymentGitSource3$Outbound` instead. */
|
|
4390
|
+
export type Outbound = CreateDeploymentGitSource3$Outbound;
|
|
4330
4391
|
}
|
|
4331
4392
|
|
|
4332
|
-
export function
|
|
4333
|
-
|
|
4393
|
+
export function createDeploymentGitSource3ToJSON(
|
|
4394
|
+
createDeploymentGitSource3: CreateDeploymentGitSource3,
|
|
4395
|
+
): string {
|
|
4396
|
+
return JSON.stringify(
|
|
4397
|
+
CreateDeploymentGitSource3$outboundSchema.parse(createDeploymentGitSource3),
|
|
4398
|
+
);
|
|
4334
4399
|
}
|
|
4335
4400
|
|
|
4336
|
-
export function
|
|
4401
|
+
export function createDeploymentGitSource3FromJSON(
|
|
4337
4402
|
jsonString: string,
|
|
4338
|
-
): SafeParseResult<
|
|
4403
|
+
): SafeParseResult<CreateDeploymentGitSource3, SDKValidationError> {
|
|
4339
4404
|
return safeParse(
|
|
4340
4405
|
jsonString,
|
|
4341
|
-
(x) =>
|
|
4342
|
-
`Failed to parse '
|
|
4406
|
+
(x) => CreateDeploymentGitSource3$inboundSchema.parse(JSON.parse(x)),
|
|
4407
|
+
`Failed to parse 'CreateDeploymentGitSource3' from JSON`,
|
|
4343
4408
|
);
|
|
4344
4409
|
}
|
|
4345
4410
|
|
|
@@ -4579,10 +4644,10 @@ export const CreateDeploymentGitSource$inboundSchema: z.ZodType<
|
|
|
4579
4644
|
z.lazy(() => CreateDeploymentGitSource6$inboundSchema),
|
|
4580
4645
|
z.lazy(() => CreateDeploymentGitSource8$inboundSchema),
|
|
4581
4646
|
z.lazy(() => CreateDeploymentGitSource1$inboundSchema),
|
|
4582
|
-
z.lazy(() =>
|
|
4647
|
+
z.lazy(() => CreateDeploymentGitSource3$inboundSchema),
|
|
4583
4648
|
z.lazy(() => CreateDeploymentGitSource2$inboundSchema),
|
|
4584
|
-
z.lazy(() =>
|
|
4585
|
-
z.lazy(() =>
|
|
4649
|
+
z.lazy(() => CreateDeploymentGitSource4$inboundSchema),
|
|
4650
|
+
z.lazy(() => CreateDeploymentGitSource5$inboundSchema),
|
|
4586
4651
|
z.lazy(() => CreateDeploymentGitSource7$inboundSchema),
|
|
4587
4652
|
z.lazy(() => CreateDeploymentGitSource9$inboundSchema),
|
|
4588
4653
|
]);
|
|
@@ -4592,10 +4657,10 @@ export type CreateDeploymentGitSource$Outbound =
|
|
|
4592
4657
|
| CreateDeploymentGitSource6$Outbound
|
|
4593
4658
|
| CreateDeploymentGitSource8$Outbound
|
|
4594
4659
|
| CreateDeploymentGitSource1$Outbound
|
|
4595
|
-
|
|
|
4660
|
+
| CreateDeploymentGitSource3$Outbound
|
|
4596
4661
|
| CreateDeploymentGitSource2$Outbound
|
|
4597
|
-
|
|
|
4598
|
-
|
|
|
4662
|
+
| CreateDeploymentGitSource4$Outbound
|
|
4663
|
+
| CreateDeploymentGitSource5$Outbound
|
|
4599
4664
|
| CreateDeploymentGitSource7$Outbound
|
|
4600
4665
|
| CreateDeploymentGitSource9$Outbound;
|
|
4601
4666
|
|
|
@@ -4608,10 +4673,10 @@ export const CreateDeploymentGitSource$outboundSchema: z.ZodType<
|
|
|
4608
4673
|
z.lazy(() => CreateDeploymentGitSource6$outboundSchema),
|
|
4609
4674
|
z.lazy(() => CreateDeploymentGitSource8$outboundSchema),
|
|
4610
4675
|
z.lazy(() => CreateDeploymentGitSource1$outboundSchema),
|
|
4611
|
-
z.lazy(() =>
|
|
4676
|
+
z.lazy(() => CreateDeploymentGitSource3$outboundSchema),
|
|
4612
4677
|
z.lazy(() => CreateDeploymentGitSource2$outboundSchema),
|
|
4613
|
-
z.lazy(() =>
|
|
4614
|
-
z.lazy(() =>
|
|
4678
|
+
z.lazy(() => CreateDeploymentGitSource4$outboundSchema),
|
|
4679
|
+
z.lazy(() => CreateDeploymentGitSource5$outboundSchema),
|
|
4615
4680
|
z.lazy(() => CreateDeploymentGitSource7$outboundSchema),
|
|
4616
4681
|
z.lazy(() => CreateDeploymentGitSource9$outboundSchema),
|
|
4617
4682
|
]);
|
|
@@ -4648,25 +4713,28 @@ export function createDeploymentGitSourceFromJSON(
|
|
|
4648
4713
|
}
|
|
4649
4714
|
|
|
4650
4715
|
/** @internal */
|
|
4651
|
-
export const
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4716
|
+
export const CreateDeploymentProject$inboundSchema: z.ZodType<
|
|
4717
|
+
CreateDeploymentProject,
|
|
4718
|
+
z.ZodTypeDef,
|
|
4719
|
+
unknown
|
|
4720
|
+
> = z.object({
|
|
4721
|
+
id: z.string(),
|
|
4722
|
+
name: z.string(),
|
|
4723
|
+
framework: z.nullable(z.string()).optional(),
|
|
4724
|
+
});
|
|
4657
4725
|
|
|
4658
4726
|
/** @internal */
|
|
4659
|
-
export type
|
|
4727
|
+
export type CreateDeploymentProject$Outbound = {
|
|
4660
4728
|
id: string;
|
|
4661
4729
|
name: string;
|
|
4662
4730
|
framework?: string | null | undefined;
|
|
4663
4731
|
};
|
|
4664
4732
|
|
|
4665
4733
|
/** @internal */
|
|
4666
|
-
export const
|
|
4667
|
-
|
|
4734
|
+
export const CreateDeploymentProject$outboundSchema: z.ZodType<
|
|
4735
|
+
CreateDeploymentProject$Outbound,
|
|
4668
4736
|
z.ZodTypeDef,
|
|
4669
|
-
|
|
4737
|
+
CreateDeploymentProject
|
|
4670
4738
|
> = z.object({
|
|
4671
4739
|
id: z.string(),
|
|
4672
4740
|
name: z.string(),
|
|
@@ -4677,26 +4745,30 @@ export const Project$outboundSchema: z.ZodType<
|
|
|
4677
4745
|
* @internal
|
|
4678
4746
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4679
4747
|
*/
|
|
4680
|
-
export namespace
|
|
4681
|
-
/** @deprecated use `
|
|
4682
|
-
export const inboundSchema =
|
|
4683
|
-
/** @deprecated use `
|
|
4684
|
-
export const outboundSchema =
|
|
4685
|
-
/** @deprecated use `
|
|
4686
|
-
export type Outbound =
|
|
4748
|
+
export namespace CreateDeploymentProject$ {
|
|
4749
|
+
/** @deprecated use `CreateDeploymentProject$inboundSchema` instead. */
|
|
4750
|
+
export const inboundSchema = CreateDeploymentProject$inboundSchema;
|
|
4751
|
+
/** @deprecated use `CreateDeploymentProject$outboundSchema` instead. */
|
|
4752
|
+
export const outboundSchema = CreateDeploymentProject$outboundSchema;
|
|
4753
|
+
/** @deprecated use `CreateDeploymentProject$Outbound` instead. */
|
|
4754
|
+
export type Outbound = CreateDeploymentProject$Outbound;
|
|
4687
4755
|
}
|
|
4688
4756
|
|
|
4689
|
-
export function
|
|
4690
|
-
|
|
4757
|
+
export function createDeploymentProjectToJSON(
|
|
4758
|
+
createDeploymentProject: CreateDeploymentProject,
|
|
4759
|
+
): string {
|
|
4760
|
+
return JSON.stringify(
|
|
4761
|
+
CreateDeploymentProject$outboundSchema.parse(createDeploymentProject),
|
|
4762
|
+
);
|
|
4691
4763
|
}
|
|
4692
4764
|
|
|
4693
|
-
export function
|
|
4765
|
+
export function createDeploymentProjectFromJSON(
|
|
4694
4766
|
jsonString: string,
|
|
4695
|
-
): SafeParseResult<
|
|
4767
|
+
): SafeParseResult<CreateDeploymentProject, SDKValidationError> {
|
|
4696
4768
|
return safeParse(
|
|
4697
4769
|
jsonString,
|
|
4698
|
-
(x) =>
|
|
4699
|
-
`Failed to parse '
|
|
4770
|
+
(x) => CreateDeploymentProject$inboundSchema.parse(JSON.parse(x)),
|
|
4771
|
+
`Failed to parse 'CreateDeploymentProject' from JSON`,
|
|
4700
4772
|
);
|
|
4701
4773
|
}
|
|
4702
4774
|
|
|
@@ -5021,23 +5093,24 @@ export function oidcTokenClaimsFromJSON(
|
|
|
5021
5093
|
}
|
|
5022
5094
|
|
|
5023
5095
|
/** @internal */
|
|
5024
|
-
export const
|
|
5025
|
-
|
|
5026
|
-
);
|
|
5096
|
+
export const CreateDeploymentPlan$inboundSchema: z.ZodNativeEnum<
|
|
5097
|
+
typeof CreateDeploymentPlan
|
|
5098
|
+
> = z.nativeEnum(CreateDeploymentPlan);
|
|
5027
5099
|
|
|
5028
5100
|
/** @internal */
|
|
5029
|
-
export const
|
|
5030
|
-
|
|
5101
|
+
export const CreateDeploymentPlan$outboundSchema: z.ZodNativeEnum<
|
|
5102
|
+
typeof CreateDeploymentPlan
|
|
5103
|
+
> = CreateDeploymentPlan$inboundSchema;
|
|
5031
5104
|
|
|
5032
5105
|
/**
|
|
5033
5106
|
* @internal
|
|
5034
5107
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5035
5108
|
*/
|
|
5036
|
-
export namespace
|
|
5037
|
-
/** @deprecated use `
|
|
5038
|
-
export const inboundSchema =
|
|
5039
|
-
/** @deprecated use `
|
|
5040
|
-
export const outboundSchema =
|
|
5109
|
+
export namespace CreateDeploymentPlan$ {
|
|
5110
|
+
/** @deprecated use `CreateDeploymentPlan$inboundSchema` instead. */
|
|
5111
|
+
export const inboundSchema = CreateDeploymentPlan$inboundSchema;
|
|
5112
|
+
/** @deprecated use `CreateDeploymentPlan$outboundSchema` instead. */
|
|
5113
|
+
export const outboundSchema = CreateDeploymentPlan$outboundSchema;
|
|
5041
5114
|
}
|
|
5042
5115
|
|
|
5043
5116
|
/** @internal */
|
|
@@ -6911,7 +6984,7 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
|
|
|
6911
6984
|
public: z.boolean(),
|
|
6912
6985
|
ready: z.number().optional(),
|
|
6913
6986
|
status: CreateDeploymentStatus$inboundSchema,
|
|
6914
|
-
team: z.lazy(() =>
|
|
6987
|
+
team: z.lazy(() => CreateDeploymentTeam$inboundSchema).optional(),
|
|
6915
6988
|
userAliases: z.array(z.string()).optional(),
|
|
6916
6989
|
previewCommentsEnabled: z.boolean().optional(),
|
|
6917
6990
|
ttyBuildLogs: z.boolean().optional(),
|
|
@@ -6930,15 +7003,15 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
|
|
|
6930
7003
|
z.lazy(() => CreateDeploymentGitSource6$inboundSchema),
|
|
6931
7004
|
z.lazy(() => CreateDeploymentGitSource8$inboundSchema),
|
|
6932
7005
|
z.lazy(() => CreateDeploymentGitSource1$inboundSchema),
|
|
6933
|
-
z.lazy(() =>
|
|
7006
|
+
z.lazy(() => CreateDeploymentGitSource3$inboundSchema),
|
|
6934
7007
|
z.lazy(() => CreateDeploymentGitSource2$inboundSchema),
|
|
6935
|
-
z.lazy(() =>
|
|
6936
|
-
z.lazy(() =>
|
|
7008
|
+
z.lazy(() => CreateDeploymentGitSource4$inboundSchema),
|
|
7009
|
+
z.lazy(() => CreateDeploymentGitSource5$inboundSchema),
|
|
6937
7010
|
z.lazy(() => CreateDeploymentGitSource7$inboundSchema),
|
|
6938
7011
|
z.lazy(() => CreateDeploymentGitSource9$inboundSchema),
|
|
6939
7012
|
]).optional(),
|
|
6940
7013
|
meta: z.record(z.string()),
|
|
6941
|
-
project: z.lazy(() =>
|
|
7014
|
+
project: z.lazy(() => CreateDeploymentProject$inboundSchema).optional(),
|
|
6942
7015
|
readyState: ReadyState$inboundSchema,
|
|
6943
7016
|
source: CreateDeploymentSource$inboundSchema.optional(),
|
|
6944
7017
|
target: z.nullable(CreateDeploymentTarget$inboundSchema).optional(),
|
|
@@ -6963,7 +7036,7 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
|
|
|
6963
7036
|
undeletedAt: z.number().optional(),
|
|
6964
7037
|
url: z.string(),
|
|
6965
7038
|
oidcTokenClaims: z.lazy(() => OidcTokenClaims$inboundSchema).optional(),
|
|
6966
|
-
plan:
|
|
7039
|
+
plan: CreateDeploymentPlan$inboundSchema,
|
|
6967
7040
|
projectId: z.string(),
|
|
6968
7041
|
ownerId: z.string(),
|
|
6969
7042
|
microfrontends: z.union([
|
|
@@ -7028,7 +7101,7 @@ export type CreateDeploymentResponseBody$Outbound = {
|
|
|
7028
7101
|
public: boolean;
|
|
7029
7102
|
ready?: number | undefined;
|
|
7030
7103
|
status: string;
|
|
7031
|
-
team?:
|
|
7104
|
+
team?: CreateDeploymentTeam$Outbound | undefined;
|
|
7032
7105
|
userAliases?: Array<string> | undefined;
|
|
7033
7106
|
previewCommentsEnabled?: boolean | undefined;
|
|
7034
7107
|
ttyBuildLogs?: boolean | undefined;
|
|
@@ -7047,15 +7120,15 @@ export type CreateDeploymentResponseBody$Outbound = {
|
|
|
7047
7120
|
| CreateDeploymentGitSource6$Outbound
|
|
7048
7121
|
| CreateDeploymentGitSource8$Outbound
|
|
7049
7122
|
| CreateDeploymentGitSource1$Outbound
|
|
7050
|
-
|
|
|
7123
|
+
| CreateDeploymentGitSource3$Outbound
|
|
7051
7124
|
| CreateDeploymentGitSource2$Outbound
|
|
7052
|
-
|
|
|
7053
|
-
|
|
|
7125
|
+
| CreateDeploymentGitSource4$Outbound
|
|
7126
|
+
| CreateDeploymentGitSource5$Outbound
|
|
7054
7127
|
| CreateDeploymentGitSource7$Outbound
|
|
7055
7128
|
| CreateDeploymentGitSource9$Outbound
|
|
7056
7129
|
| undefined;
|
|
7057
7130
|
meta: { [k: string]: string };
|
|
7058
|
-
project?:
|
|
7131
|
+
project?: CreateDeploymentProject$Outbound | undefined;
|
|
7059
7132
|
readyState: string;
|
|
7060
7133
|
source?: string | undefined;
|
|
7061
7134
|
target?: string | null | undefined;
|
|
@@ -7136,7 +7209,7 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType<
|
|
|
7136
7209
|
public: z.boolean(),
|
|
7137
7210
|
ready: z.number().optional(),
|
|
7138
7211
|
status: CreateDeploymentStatus$outboundSchema,
|
|
7139
|
-
team: z.lazy(() =>
|
|
7212
|
+
team: z.lazy(() => CreateDeploymentTeam$outboundSchema).optional(),
|
|
7140
7213
|
userAliases: z.array(z.string()).optional(),
|
|
7141
7214
|
previewCommentsEnabled: z.boolean().optional(),
|
|
7142
7215
|
ttyBuildLogs: z.boolean().optional(),
|
|
@@ -7155,15 +7228,15 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType<
|
|
|
7155
7228
|
z.lazy(() => CreateDeploymentGitSource6$outboundSchema),
|
|
7156
7229
|
z.lazy(() => CreateDeploymentGitSource8$outboundSchema),
|
|
7157
7230
|
z.lazy(() => CreateDeploymentGitSource1$outboundSchema),
|
|
7158
|
-
z.lazy(() =>
|
|
7231
|
+
z.lazy(() => CreateDeploymentGitSource3$outboundSchema),
|
|
7159
7232
|
z.lazy(() => CreateDeploymentGitSource2$outboundSchema),
|
|
7160
|
-
z.lazy(() =>
|
|
7161
|
-
z.lazy(() =>
|
|
7233
|
+
z.lazy(() => CreateDeploymentGitSource4$outboundSchema),
|
|
7234
|
+
z.lazy(() => CreateDeploymentGitSource5$outboundSchema),
|
|
7162
7235
|
z.lazy(() => CreateDeploymentGitSource7$outboundSchema),
|
|
7163
7236
|
z.lazy(() => CreateDeploymentGitSource9$outboundSchema),
|
|
7164
7237
|
]).optional(),
|
|
7165
7238
|
meta: z.record(z.string()),
|
|
7166
|
-
project: z.lazy(() =>
|
|
7239
|
+
project: z.lazy(() => CreateDeploymentProject$outboundSchema).optional(),
|
|
7167
7240
|
readyState: ReadyState$outboundSchema,
|
|
7168
7241
|
source: CreateDeploymentSource$outboundSchema.optional(),
|
|
7169
7242
|
target: z.nullable(CreateDeploymentTarget$outboundSchema).optional(),
|
|
@@ -7189,7 +7262,7 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType<
|
|
|
7189
7262
|
undeletedAt: z.number().optional(),
|
|
7190
7263
|
url: z.string(),
|
|
7191
7264
|
oidcTokenClaims: z.lazy(() => OidcTokenClaims$outboundSchema).optional(),
|
|
7192
|
-
plan:
|
|
7265
|
+
plan: CreateDeploymentPlan$outboundSchema,
|
|
7193
7266
|
projectId: z.string(),
|
|
7194
7267
|
ownerId: z.string(),
|
|
7195
7268
|
microfrontends: z.union([
|