@vercel/sdk 1.11.4 → 1.12.0
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 +15 -7
- package/bin/mcp-server.js +4056 -2676
- package/bin/mcp-server.js.map +39 -33
- package/docs/sdks/deployments/README.md +8 -0
- package/docs/sdks/edgecache/README.md +169 -0
- package/docs/sdks/projects/README.md +0 -2
- package/esm/__tests__/checks.test.js +1 -1
- package/esm/__tests__/checks.test.js.map +1 -1
- package/esm/__tests__/deployments.test.js +1 -1
- package/esm/__tests__/deployments.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +1 -1
- package/esm/__tests__/logdrains.test.js +9 -0
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +2 -2
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/__tests__/security.test.js +11 -1
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/funcs/deploymentsGetDeployments.js +1 -0
- package/esm/funcs/deploymentsGetDeployments.js.map +1 -1
- package/esm/funcs/edgeCacheDangerouslyDeleteByTags.d.ts +20 -0
- package/esm/funcs/edgeCacheDangerouslyDeleteByTags.d.ts.map +1 -0
- package/esm/funcs/edgeCacheDangerouslyDeleteByTags.js +91 -0
- package/esm/funcs/edgeCacheDangerouslyDeleteByTags.js.map +1 -0
- package/esm/funcs/edgeCacheInvalidateByTags.d.ts +20 -0
- package/esm/funcs/edgeCacheInvalidateByTags.d.ts.map +1 -0
- package/esm/funcs/edgeCacheInvalidateByTags.js +91 -0
- package/esm/funcs/edgeCacheInvalidateByTags.js.map +1 -0
- package/esm/funcs/marketplaceImportResource.js +2 -2
- package/esm/funcs/marketplaceImportResource.js.map +1 -1
- package/esm/funcs/marketplaceUpdateResourceSecrets.js +2 -2
- package/esm/funcs/marketplaceUpdateResourceSecrets.js.map +1 -1
- package/esm/funcs/marketplaceUpdateResourceSecretsById.js +2 -2
- package/esm/funcs/marketplaceUpdateResourceSecretsById.js.map +1 -1
- package/esm/funcs/projectsGetProjects.js +0 -1
- package/esm/funcs/projectsGetProjects.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/url.js +1 -1
- package/esm/lib/url.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 +5 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.d.ts +7 -0
- package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.d.ts.map +1 -0
- package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.js +27 -0
- package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.js.map +1 -0
- package/esm/mcp-server/tools/edgeCacheInvalidateByTags.d.ts +7 -0
- package/esm/mcp-server/tools/edgeCacheInvalidateByTags.d.ts.map +1 -0
- package/esm/mcp-server/tools/edgeCacheInvalidateByTags.js +27 -0
- package/esm/mcp-server/tools/edgeCacheInvalidateByTags.js.map +1 -0
- package/esm/models/canceldeploymentop.d.ts +60 -50
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +58 -54
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +248 -109
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +244 -111
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createedgeconfigop.d.ts +2 -2
- package/esm/models/createedgeconfigop.d.ts.map +1 -1
- package/esm/models/createedgeconfigop.js +2 -2
- package/esm/models/createedgeconfigop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +903 -308
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
- package/esm/models/createintegrationstoredirectop.js +1076 -371
- package/esm/models/createintegrationstoredirectop.js.map +1 -1
- package/esm/models/createlogdrainop.d.ts +126 -4
- package/esm/models/createlogdrainop.d.ts.map +1 -1
- package/esm/models/createlogdrainop.js +129 -1
- package/esm/models/createlogdrainop.js.map +1 -1
- package/esm/models/createprojectenvop.d.ts +6 -6
- package/esm/models/createprojectenvop.js +2 -2
- package/esm/models/createprojectenvop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +32 -30
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +20 -18
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/dangerouslydeletebytagsop.d.ts +117 -0
- package/esm/models/dangerouslydeletebytagsop.d.ts.map +1 -0
- package/esm/models/dangerouslydeletebytagsop.js +117 -0
- package/esm/models/dangerouslydeletebytagsop.js.map +1 -0
- package/esm/models/editprojectenvop.d.ts +3 -3
- package/esm/models/editprojectenvop.js +1 -1
- package/esm/models/editprojectenvop.js.map +1 -1
- package/esm/models/getconfigurationop.d.ts +8 -8
- package/esm/models/getconfigurationop.d.ts.map +1 -1
- package/esm/models/getconfigurationop.js +12 -12
- package/esm/models/getconfigurationop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +909 -390
- package/esm/models/getconfigurationproductsop.d.ts.map +1 -1
- package/esm/models/getconfigurationproductsop.js +1104 -471
- package/esm/models/getconfigurationproductsop.js.map +1 -1
- package/esm/models/getconfigurationsop.d.ts +3 -0
- package/esm/models/getconfigurationsop.d.ts.map +1 -1
- package/esm/models/getconfigurationsop.js +1 -0
- package/esm/models/getconfigurationsop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +30 -20
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +24 -20
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getdeploymentsop.d.ts +5 -0
- package/esm/models/getdeploymentsop.d.ts.map +1 -1
- package/esm/models/getdeploymentsop.js +2 -0
- package/esm/models/getdeploymentsop.js.map +1 -1
- package/esm/models/getedgeconfigop.d.ts +2 -2
- package/esm/models/getedgeconfigop.d.ts.map +1 -1
- package/esm/models/getedgeconfigop.js +2 -2
- package/esm/models/getedgeconfigop.js.map +1 -1
- package/esm/models/getintegrationlogdrainsop.d.ts +125 -0
- package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
- package/esm/models/getintegrationlogdrainsop.js +130 -0
- package/esm/models/getintegrationlogdrainsop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +198 -178
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +204 -166
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/invalidatebytagsop.d.ts +115 -0
- package/esm/models/invalidatebytagsop.d.ts.map +1 -0
- package/esm/models/invalidatebytagsop.js +116 -0
- package/esm/models/invalidatebytagsop.js.map +1 -0
- package/esm/models/removeprojectenvop.d.ts +9 -9
- package/esm/models/removeprojectenvop.js +3 -3
- package/esm/models/removeprojectenvop.js.map +1 -1
- package/esm/models/updateedgeconfigop.d.ts +2 -2
- package/esm/models/updateedgeconfigop.d.ts.map +1 -1
- package/esm/models/updateedgeconfigop.js +2 -2
- package/esm/models/updateedgeconfigop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +2 -0
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +2 -0
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +32 -30
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +20 -18
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/userevent.d.ts +1300 -1049
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +1654 -1406
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/edgecache.d.ts +20 -0
- package/esm/sdk/edgecache.d.ts.map +1 -0
- package/esm/sdk/edgecache.js +28 -0
- package/esm/sdk/edgecache.js.map +1 -0
- package/esm/sdk/sdk.d.ts +3 -0
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +4 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/checks.test.ts +1 -1
- package/src/__tests__/deployments.test.ts +1 -1
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/logdrains.test.ts +9 -0
- package/src/__tests__/rollingrelease.test.ts +2 -2
- package/src/__tests__/security.test.ts +11 -1
- package/src/funcs/deploymentsGetDeployments.ts +1 -0
- package/src/funcs/edgeCacheDangerouslyDeleteByTags.ts +199 -0
- package/src/funcs/edgeCacheInvalidateByTags.ts +199 -0
- package/src/funcs/marketplaceImportResource.ts +2 -2
- package/src/funcs/marketplaceUpdateResourceSecrets.ts +2 -2
- package/src/funcs/marketplaceUpdateResourceSecretsById.ts +2 -2
- package/src/funcs/projectsGetProjects.ts +0 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/url.ts +1 -1
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +5 -1
- package/src/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.ts +37 -0
- package/src/mcp-server/tools/edgeCacheInvalidateByTags.ts +35 -0
- package/src/models/canceldeploymentop.ts +126 -104
- package/src/models/createdeploymentop.ts +511 -207
- package/src/models/createedgeconfigop.ts +4 -4
- package/src/models/createintegrationstoredirectop.ts +2458 -673
- package/src/models/createlogdrainop.ts +260 -2
- package/src/models/createprojectenvop.ts +2 -2
- package/src/models/createprojectop.ts +34 -30
- package/src/models/dangerouslydeletebytagsop.ts +249 -0
- package/src/models/editprojectenvop.ts +1 -1
- package/src/models/getconfigurationop.ts +20 -15
- package/src/models/getconfigurationproductsop.ts +2433 -838
- package/src/models/getconfigurationsop.ts +1 -0
- package/src/models/getdeploymentop.ts +62 -48
- package/src/models/getdeploymentsop.ts +7 -0
- package/src/models/getedgeconfigop.ts +4 -4
- package/src/models/getintegrationlogdrainsop.ts +237 -0
- package/src/models/getprojectsop.ts +426 -336
- package/src/models/invalidatebytagsop.ts +227 -0
- package/src/models/removeprojectenvop.ts +3 -3
- package/src/models/updateedgeconfigop.ts +4 -4
- package/src/models/updateprojectdatacacheop.ts +4 -0
- package/src/models/updateprojectop.ts +34 -30
- package/src/models/userevent.ts +3017 -2473
- package/src/sdk/edgecache.ts +46 -0
- package/src/sdk/sdk.ts +6 -0
- package/vercel-spec.json +3069 -2056
|
@@ -141,48 +141,79 @@ export type GitMetadata = {
|
|
|
141
141
|
ciGitRepoVisibility?: string | undefined;
|
|
142
142
|
};
|
|
143
143
|
|
|
144
|
-
export const
|
|
144
|
+
export const CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type = {
|
|
145
145
|
Bitbucket: "bitbucket",
|
|
146
146
|
} as const;
|
|
147
|
+
export type CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type =
|
|
148
|
+
ClosedEnum<
|
|
149
|
+
typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type
|
|
150
|
+
>;
|
|
151
|
+
|
|
152
|
+
export type GitSource7 = {
|
|
153
|
+
owner: string;
|
|
154
|
+
ref: string;
|
|
155
|
+
sha?: string | undefined;
|
|
156
|
+
slug: string;
|
|
157
|
+
type: CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type;
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
export const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType = {
|
|
161
|
+
Bitbucket: "bitbucket",
|
|
162
|
+
} as const;
|
|
163
|
+
export type CreateDeploymentGitSourceDeploymentsRequestRequestBodyType =
|
|
164
|
+
ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsRequestRequestBodyType>;
|
|
165
|
+
|
|
166
|
+
export type GitSource6 = {
|
|
167
|
+
ref: string;
|
|
168
|
+
repoUuid: string;
|
|
169
|
+
sha?: string | undefined;
|
|
170
|
+
type: CreateDeploymentGitSourceDeploymentsRequestRequestBodyType;
|
|
171
|
+
workspaceUuid?: string | undefined;
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
export type ProjectId = number | string;
|
|
175
|
+
|
|
176
|
+
export const CreateDeploymentGitSourceDeploymentsRequestType = {
|
|
177
|
+
Gitlab: "gitlab",
|
|
178
|
+
} as const;
|
|
147
179
|
export type CreateDeploymentGitSourceDeploymentsRequestType = ClosedEnum<
|
|
148
180
|
typeof CreateDeploymentGitSourceDeploymentsRequestType
|
|
149
181
|
>;
|
|
150
182
|
|
|
151
183
|
export type GitSource5 = {
|
|
152
|
-
|
|
184
|
+
projectId: number | string;
|
|
153
185
|
ref: string;
|
|
154
186
|
sha?: string | undefined;
|
|
155
|
-
slug: string;
|
|
156
187
|
type: CreateDeploymentGitSourceDeploymentsRequestType;
|
|
157
188
|
};
|
|
158
189
|
|
|
159
190
|
export const CreateDeploymentGitSourceDeploymentsType = {
|
|
160
|
-
|
|
191
|
+
GithubLimited: "github-limited",
|
|
161
192
|
} as const;
|
|
162
193
|
export type CreateDeploymentGitSourceDeploymentsType = ClosedEnum<
|
|
163
194
|
typeof CreateDeploymentGitSourceDeploymentsType
|
|
164
195
|
>;
|
|
165
196
|
|
|
166
197
|
export type GitSource4 = {
|
|
198
|
+
org: string;
|
|
167
199
|
ref: string;
|
|
168
|
-
|
|
200
|
+
repo: string;
|
|
169
201
|
sha?: string | undefined;
|
|
170
202
|
type: CreateDeploymentGitSourceDeploymentsType;
|
|
171
|
-
workspaceUuid?: string | undefined;
|
|
172
203
|
};
|
|
173
204
|
|
|
174
|
-
export type
|
|
205
|
+
export type GitSourceRepoId = number | string;
|
|
175
206
|
|
|
176
207
|
export const CreateDeploymentGitSourceType = {
|
|
177
|
-
|
|
208
|
+
GithubLimited: "github-limited",
|
|
178
209
|
} as const;
|
|
179
210
|
export type CreateDeploymentGitSourceType = ClosedEnum<
|
|
180
211
|
typeof CreateDeploymentGitSourceType
|
|
181
212
|
>;
|
|
182
213
|
|
|
183
214
|
export type GitSource3 = {
|
|
184
|
-
projectId: number | string;
|
|
185
215
|
ref: string;
|
|
216
|
+
repoId: number | string;
|
|
186
217
|
sha?: string | undefined;
|
|
187
218
|
type: CreateDeploymentGitSourceType;
|
|
188
219
|
};
|
|
@@ -202,17 +233,19 @@ export type GitSource2 = {
|
|
|
202
233
|
|
|
203
234
|
export type RepoId = number | string;
|
|
204
235
|
|
|
205
|
-
export const
|
|
236
|
+
export const CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type = {
|
|
206
237
|
Github: "github",
|
|
207
238
|
} as const;
|
|
208
|
-
export type
|
|
209
|
-
ClosedEnum<
|
|
239
|
+
export type CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type =
|
|
240
|
+
ClosedEnum<
|
|
241
|
+
typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type
|
|
242
|
+
>;
|
|
210
243
|
|
|
211
244
|
export type GitSource1 = {
|
|
212
245
|
ref: string;
|
|
213
246
|
repoId: number | string;
|
|
214
247
|
sha?: string | undefined;
|
|
215
|
-
type:
|
|
248
|
+
type: CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type;
|
|
216
249
|
};
|
|
217
250
|
|
|
218
251
|
/**
|
|
@@ -220,10 +253,12 @@ export type GitSource1 = {
|
|
|
220
253
|
*/
|
|
221
254
|
export type GitSource =
|
|
222
255
|
| GitSource2
|
|
223
|
-
|
|
|
256
|
+
| GitSource4
|
|
257
|
+
| GitSource7
|
|
224
258
|
| GitSource1
|
|
225
259
|
| GitSource3
|
|
226
|
-
|
|
|
260
|
+
| GitSource5
|
|
261
|
+
| GitSource6;
|
|
227
262
|
|
|
228
263
|
/**
|
|
229
264
|
* The framework that is being used for this project. When `null` is used no framework is selected
|
|
@@ -376,10 +411,12 @@ export type CreateDeploymentRequestBody = {
|
|
|
376
411
|
*/
|
|
377
412
|
gitSource?:
|
|
378
413
|
| GitSource2
|
|
379
|
-
|
|
|
414
|
+
| GitSource4
|
|
415
|
+
| GitSource7
|
|
380
416
|
| GitSource1
|
|
381
417
|
| GitSource3
|
|
382
|
-
|
|
|
418
|
+
| GitSource5
|
|
419
|
+
| GitSource6
|
|
383
420
|
| undefined;
|
|
384
421
|
/**
|
|
385
422
|
* An object containing the deployment's metadata. Multiple key-value pairs can be attached to a deployment
|
|
@@ -1003,7 +1040,9 @@ export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespon
|
|
|
1003
1040
|
typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type
|
|
1004
1041
|
>;
|
|
1005
1042
|
|
|
1006
|
-
export type
|
|
1043
|
+
export type CreateDeploymentGitSourceDeploymentsResponseRepoId =
|
|
1044
|
+
| string
|
|
1045
|
+
| number;
|
|
1007
1046
|
|
|
1008
1047
|
export type CreateDeploymentGitSource5 = {
|
|
1009
1048
|
type:
|
|
@@ -1043,7 +1082,7 @@ export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType =
|
|
|
1043
1082
|
typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType
|
|
1044
1083
|
>;
|
|
1045
1084
|
|
|
1046
|
-
export type
|
|
1085
|
+
export type CreateDeploymentGitSourceDeploymentsRepoId = string | number;
|
|
1047
1086
|
|
|
1048
1087
|
export type CreateDeploymentGitSource3 = {
|
|
1049
1088
|
type: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType;
|
|
@@ -1077,7 +1116,7 @@ export type CreateDeploymentGitSourceDeploymentsResponseType = ClosedEnum<
|
|
|
1077
1116
|
typeof CreateDeploymentGitSourceDeploymentsResponseType
|
|
1078
1117
|
>;
|
|
1079
1118
|
|
|
1080
|
-
export type
|
|
1119
|
+
export type CreateDeploymentGitSourceRepoId = string | number;
|
|
1081
1120
|
|
|
1082
1121
|
export type CreateDeploymentGitSource1 = {
|
|
1083
1122
|
type: CreateDeploymentGitSourceDeploymentsResponseType;
|
|
@@ -1352,13 +1391,13 @@ export type CreateDeploymentValue2 = {
|
|
|
1352
1391
|
};
|
|
1353
1392
|
|
|
1354
1393
|
export type CreateDeploymentHasDeploymentsValue =
|
|
1355
|
-
|
|
|
1356
|
-
|
|
|
1394
|
+
| string
|
|
1395
|
+
| CreateDeploymentValue2;
|
|
1357
1396
|
|
|
1358
1397
|
export type CreateDeploymentHas2 = {
|
|
1359
1398
|
type: CreateDeploymentHasDeploymentsType;
|
|
1360
1399
|
key: string;
|
|
1361
|
-
value?:
|
|
1400
|
+
value?: string | CreateDeploymentValue2 | undefined;
|
|
1362
1401
|
};
|
|
1363
1402
|
|
|
1364
1403
|
export const CreateDeploymentHasType = {
|
|
@@ -1385,12 +1424,12 @@ export type CreateDeploymentValueDeploymentsResponse2002 = {
|
|
|
1385
1424
|
};
|
|
1386
1425
|
|
|
1387
1426
|
export type CreateDeploymentHasValue =
|
|
1388
|
-
|
|
|
1389
|
-
|
|
|
1427
|
+
| string
|
|
1428
|
+
| CreateDeploymentValueDeploymentsResponse2002;
|
|
1390
1429
|
|
|
1391
1430
|
export type CreateDeploymentHas1 = {
|
|
1392
1431
|
type: CreateDeploymentHasType;
|
|
1393
|
-
value:
|
|
1432
|
+
value: string | CreateDeploymentValueDeploymentsResponse2002;
|
|
1394
1433
|
};
|
|
1395
1434
|
|
|
1396
1435
|
export type RoutesHas = CreateDeploymentHas1 | CreateDeploymentHas2;
|
|
@@ -1421,13 +1460,13 @@ export type CreateDeploymentValueDeploymentsResponse2 = {
|
|
|
1421
1460
|
};
|
|
1422
1461
|
|
|
1423
1462
|
export type CreateDeploymentMissingValue =
|
|
1424
|
-
|
|
|
1425
|
-
|
|
|
1463
|
+
| string
|
|
1464
|
+
| CreateDeploymentValueDeploymentsResponse2;
|
|
1426
1465
|
|
|
1427
1466
|
export type Missing2 = {
|
|
1428
1467
|
type: CreateDeploymentMissingType;
|
|
1429
1468
|
key: string;
|
|
1430
|
-
value?:
|
|
1469
|
+
value?: string | CreateDeploymentValueDeploymentsResponse2 | undefined;
|
|
1431
1470
|
};
|
|
1432
1471
|
|
|
1433
1472
|
export const MissingType = {
|
|
@@ -1451,11 +1490,11 @@ export type CreateDeploymentValueDeployments2 = {
|
|
|
1451
1490
|
lte?: number | undefined;
|
|
1452
1491
|
};
|
|
1453
1492
|
|
|
1454
|
-
export type MissingValue =
|
|
1493
|
+
export type MissingValue = string | CreateDeploymentValueDeployments2;
|
|
1455
1494
|
|
|
1456
1495
|
export type Missing1 = {
|
|
1457
1496
|
type: MissingType;
|
|
1458
|
-
value:
|
|
1497
|
+
value: string | CreateDeploymentValueDeployments2;
|
|
1459
1498
|
};
|
|
1460
1499
|
|
|
1461
1500
|
export type Missing = Missing1 | Missing2;
|
|
@@ -1501,10 +1540,10 @@ export type Key2 = {
|
|
|
1501
1540
|
lte?: number | undefined;
|
|
1502
1541
|
};
|
|
1503
1542
|
|
|
1504
|
-
export type RoutesKey =
|
|
1543
|
+
export type RoutesKey = string | Key2;
|
|
1505
1544
|
|
|
1506
1545
|
export type RoutesTarget = {
|
|
1507
|
-
key:
|
|
1546
|
+
key: string | Key2;
|
|
1508
1547
|
};
|
|
1509
1548
|
|
|
1510
1549
|
export type Args = string | Array<string>;
|
|
@@ -1638,6 +1677,10 @@ export type CreateDeploymentMicrofrontends2 = {
|
|
|
1638
1677
|
* Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not.
|
|
1639
1678
|
*/
|
|
1640
1679
|
microfrontendsAlias2Enabled?: boolean | undefined;
|
|
1680
|
+
/**
|
|
1681
|
+
* Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com)
|
|
1682
|
+
*/
|
|
1683
|
+
microfrontendsAliasRoutingVercelSiteProdTestHost?: boolean | undefined;
|
|
1641
1684
|
};
|
|
1642
1685
|
|
|
1643
1686
|
export type CreateDeploymentMicrofrontends1 = {
|
|
@@ -1658,6 +1701,10 @@ export type CreateDeploymentMicrofrontends1 = {
|
|
|
1658
1701
|
* Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not.
|
|
1659
1702
|
*/
|
|
1660
1703
|
microfrontendsAlias2Enabled?: boolean | undefined;
|
|
1704
|
+
/**
|
|
1705
|
+
* Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com)
|
|
1706
|
+
*/
|
|
1707
|
+
microfrontendsAliasRoutingVercelSiteProdTestHost?: boolean | undefined;
|
|
1661
1708
|
};
|
|
1662
1709
|
|
|
1663
1710
|
export type CreateDeploymentMicrofrontends =
|
|
@@ -1811,8 +1858,6 @@ export type CreateDeploymentResponseBody = {
|
|
|
1811
1858
|
name: string;
|
|
1812
1859
|
createdAt: number;
|
|
1813
1860
|
type: CreateDeploymentType;
|
|
1814
|
-
deletedAt?: number | null | undefined;
|
|
1815
|
-
version: number;
|
|
1816
1861
|
/**
|
|
1817
1862
|
* applies to custom domains only, defaults to `true`
|
|
1818
1863
|
*/
|
|
@@ -1844,11 +1889,13 @@ export type CreateDeploymentResponseBody = {
|
|
|
1844
1889
|
source?: CreateDeploymentSource | undefined;
|
|
1845
1890
|
target?: CreateDeploymentTarget | null | undefined;
|
|
1846
1891
|
errorMessage?: string | null | undefined;
|
|
1892
|
+
deletedAt?: number | null | undefined;
|
|
1847
1893
|
/**
|
|
1848
1894
|
* Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service
|
|
1849
1895
|
*/
|
|
1850
1896
|
passiveRegions?: Array<string> | undefined;
|
|
1851
1897
|
regions: Array<string>;
|
|
1898
|
+
version: number;
|
|
1852
1899
|
aliasError?: AliasError | null | undefined;
|
|
1853
1900
|
aliasFinal?: string | null | undefined;
|
|
1854
1901
|
aliasWarning?: AliasWarning | null | undefined;
|
|
@@ -1874,8 +1921,8 @@ export type CreateDeploymentResponseBody = {
|
|
|
1874
1921
|
undeletedAt?: number | undefined;
|
|
1875
1922
|
url: string;
|
|
1876
1923
|
projectId: string;
|
|
1877
|
-
ownerId: string;
|
|
1878
1924
|
monorepoManager?: string | null | undefined;
|
|
1925
|
+
ownerId: string;
|
|
1879
1926
|
plan: CreateDeploymentPlan;
|
|
1880
1927
|
/**
|
|
1881
1928
|
* Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured
|
|
@@ -2198,6 +2245,228 @@ export function gitMetadataFromJSON(
|
|
|
2198
2245
|
);
|
|
2199
2246
|
}
|
|
2200
2247
|
|
|
2248
|
+
/** @internal */
|
|
2249
|
+
export const CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$inboundSchema:
|
|
2250
|
+
z.ZodNativeEnum<
|
|
2251
|
+
typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type
|
|
2252
|
+
> = z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type);
|
|
2253
|
+
|
|
2254
|
+
/** @internal */
|
|
2255
|
+
export const CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$outboundSchema:
|
|
2256
|
+
z.ZodNativeEnum<
|
|
2257
|
+
typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type
|
|
2258
|
+
> = CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$inboundSchema;
|
|
2259
|
+
|
|
2260
|
+
/**
|
|
2261
|
+
* @internal
|
|
2262
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2263
|
+
*/
|
|
2264
|
+
export namespace CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$ {
|
|
2265
|
+
/** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$inboundSchema` instead. */
|
|
2266
|
+
export const inboundSchema =
|
|
2267
|
+
CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$inboundSchema;
|
|
2268
|
+
/** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$outboundSchema` instead. */
|
|
2269
|
+
export const outboundSchema =
|
|
2270
|
+
CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$outboundSchema;
|
|
2271
|
+
}
|
|
2272
|
+
|
|
2273
|
+
/** @internal */
|
|
2274
|
+
export const GitSource7$inboundSchema: z.ZodType<
|
|
2275
|
+
GitSource7,
|
|
2276
|
+
z.ZodTypeDef,
|
|
2277
|
+
unknown
|
|
2278
|
+
> = z.object({
|
|
2279
|
+
owner: z.string(),
|
|
2280
|
+
ref: z.string(),
|
|
2281
|
+
sha: z.string().optional(),
|
|
2282
|
+
slug: z.string(),
|
|
2283
|
+
type:
|
|
2284
|
+
CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$inboundSchema,
|
|
2285
|
+
});
|
|
2286
|
+
|
|
2287
|
+
/** @internal */
|
|
2288
|
+
export type GitSource7$Outbound = {
|
|
2289
|
+
owner: string;
|
|
2290
|
+
ref: string;
|
|
2291
|
+
sha?: string | undefined;
|
|
2292
|
+
slug: string;
|
|
2293
|
+
type: string;
|
|
2294
|
+
};
|
|
2295
|
+
|
|
2296
|
+
/** @internal */
|
|
2297
|
+
export const GitSource7$outboundSchema: z.ZodType<
|
|
2298
|
+
GitSource7$Outbound,
|
|
2299
|
+
z.ZodTypeDef,
|
|
2300
|
+
GitSource7
|
|
2301
|
+
> = z.object({
|
|
2302
|
+
owner: z.string(),
|
|
2303
|
+
ref: z.string(),
|
|
2304
|
+
sha: z.string().optional(),
|
|
2305
|
+
slug: z.string(),
|
|
2306
|
+
type:
|
|
2307
|
+
CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$outboundSchema,
|
|
2308
|
+
});
|
|
2309
|
+
|
|
2310
|
+
/**
|
|
2311
|
+
* @internal
|
|
2312
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2313
|
+
*/
|
|
2314
|
+
export namespace GitSource7$ {
|
|
2315
|
+
/** @deprecated use `GitSource7$inboundSchema` instead. */
|
|
2316
|
+
export const inboundSchema = GitSource7$inboundSchema;
|
|
2317
|
+
/** @deprecated use `GitSource7$outboundSchema` instead. */
|
|
2318
|
+
export const outboundSchema = GitSource7$outboundSchema;
|
|
2319
|
+
/** @deprecated use `GitSource7$Outbound` instead. */
|
|
2320
|
+
export type Outbound = GitSource7$Outbound;
|
|
2321
|
+
}
|
|
2322
|
+
|
|
2323
|
+
export function gitSource7ToJSON(gitSource7: GitSource7): string {
|
|
2324
|
+
return JSON.stringify(GitSource7$outboundSchema.parse(gitSource7));
|
|
2325
|
+
}
|
|
2326
|
+
|
|
2327
|
+
export function gitSource7FromJSON(
|
|
2328
|
+
jsonString: string,
|
|
2329
|
+
): SafeParseResult<GitSource7, SDKValidationError> {
|
|
2330
|
+
return safeParse(
|
|
2331
|
+
jsonString,
|
|
2332
|
+
(x) => GitSource7$inboundSchema.parse(JSON.parse(x)),
|
|
2333
|
+
`Failed to parse 'GitSource7' from JSON`,
|
|
2334
|
+
);
|
|
2335
|
+
}
|
|
2336
|
+
|
|
2337
|
+
/** @internal */
|
|
2338
|
+
export const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema:
|
|
2339
|
+
z.ZodNativeEnum<
|
|
2340
|
+
typeof CreateDeploymentGitSourceDeploymentsRequestRequestBodyType
|
|
2341
|
+
> = z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestRequestBodyType);
|
|
2342
|
+
|
|
2343
|
+
/** @internal */
|
|
2344
|
+
export const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema:
|
|
2345
|
+
z.ZodNativeEnum<
|
|
2346
|
+
typeof CreateDeploymentGitSourceDeploymentsRequestRequestBodyType
|
|
2347
|
+
> = CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema;
|
|
2348
|
+
|
|
2349
|
+
/**
|
|
2350
|
+
* @internal
|
|
2351
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2352
|
+
*/
|
|
2353
|
+
export namespace CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$ {
|
|
2354
|
+
/** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema` instead. */
|
|
2355
|
+
export const inboundSchema =
|
|
2356
|
+
CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema;
|
|
2357
|
+
/** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema` instead. */
|
|
2358
|
+
export const outboundSchema =
|
|
2359
|
+
CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema;
|
|
2360
|
+
}
|
|
2361
|
+
|
|
2362
|
+
/** @internal */
|
|
2363
|
+
export const GitSource6$inboundSchema: z.ZodType<
|
|
2364
|
+
GitSource6,
|
|
2365
|
+
z.ZodTypeDef,
|
|
2366
|
+
unknown
|
|
2367
|
+
> = z.object({
|
|
2368
|
+
ref: z.string(),
|
|
2369
|
+
repoUuid: z.string(),
|
|
2370
|
+
sha: z.string().optional(),
|
|
2371
|
+
type:
|
|
2372
|
+
CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema,
|
|
2373
|
+
workspaceUuid: z.string().optional(),
|
|
2374
|
+
});
|
|
2375
|
+
|
|
2376
|
+
/** @internal */
|
|
2377
|
+
export type GitSource6$Outbound = {
|
|
2378
|
+
ref: string;
|
|
2379
|
+
repoUuid: string;
|
|
2380
|
+
sha?: string | undefined;
|
|
2381
|
+
type: string;
|
|
2382
|
+
workspaceUuid?: string | undefined;
|
|
2383
|
+
};
|
|
2384
|
+
|
|
2385
|
+
/** @internal */
|
|
2386
|
+
export const GitSource6$outboundSchema: z.ZodType<
|
|
2387
|
+
GitSource6$Outbound,
|
|
2388
|
+
z.ZodTypeDef,
|
|
2389
|
+
GitSource6
|
|
2390
|
+
> = z.object({
|
|
2391
|
+
ref: z.string(),
|
|
2392
|
+
repoUuid: z.string(),
|
|
2393
|
+
sha: z.string().optional(),
|
|
2394
|
+
type:
|
|
2395
|
+
CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema,
|
|
2396
|
+
workspaceUuid: z.string().optional(),
|
|
2397
|
+
});
|
|
2398
|
+
|
|
2399
|
+
/**
|
|
2400
|
+
* @internal
|
|
2401
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2402
|
+
*/
|
|
2403
|
+
export namespace GitSource6$ {
|
|
2404
|
+
/** @deprecated use `GitSource6$inboundSchema` instead. */
|
|
2405
|
+
export const inboundSchema = GitSource6$inboundSchema;
|
|
2406
|
+
/** @deprecated use `GitSource6$outboundSchema` instead. */
|
|
2407
|
+
export const outboundSchema = GitSource6$outboundSchema;
|
|
2408
|
+
/** @deprecated use `GitSource6$Outbound` instead. */
|
|
2409
|
+
export type Outbound = GitSource6$Outbound;
|
|
2410
|
+
}
|
|
2411
|
+
|
|
2412
|
+
export function gitSource6ToJSON(gitSource6: GitSource6): string {
|
|
2413
|
+
return JSON.stringify(GitSource6$outboundSchema.parse(gitSource6));
|
|
2414
|
+
}
|
|
2415
|
+
|
|
2416
|
+
export function gitSource6FromJSON(
|
|
2417
|
+
jsonString: string,
|
|
2418
|
+
): SafeParseResult<GitSource6, SDKValidationError> {
|
|
2419
|
+
return safeParse(
|
|
2420
|
+
jsonString,
|
|
2421
|
+
(x) => GitSource6$inboundSchema.parse(JSON.parse(x)),
|
|
2422
|
+
`Failed to parse 'GitSource6' from JSON`,
|
|
2423
|
+
);
|
|
2424
|
+
}
|
|
2425
|
+
|
|
2426
|
+
/** @internal */
|
|
2427
|
+
export const ProjectId$inboundSchema: z.ZodType<
|
|
2428
|
+
ProjectId,
|
|
2429
|
+
z.ZodTypeDef,
|
|
2430
|
+
unknown
|
|
2431
|
+
> = z.union([z.number(), z.string()]);
|
|
2432
|
+
|
|
2433
|
+
/** @internal */
|
|
2434
|
+
export type ProjectId$Outbound = number | string;
|
|
2435
|
+
|
|
2436
|
+
/** @internal */
|
|
2437
|
+
export const ProjectId$outboundSchema: z.ZodType<
|
|
2438
|
+
ProjectId$Outbound,
|
|
2439
|
+
z.ZodTypeDef,
|
|
2440
|
+
ProjectId
|
|
2441
|
+
> = z.union([z.number(), z.string()]);
|
|
2442
|
+
|
|
2443
|
+
/**
|
|
2444
|
+
* @internal
|
|
2445
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2446
|
+
*/
|
|
2447
|
+
export namespace ProjectId$ {
|
|
2448
|
+
/** @deprecated use `ProjectId$inboundSchema` instead. */
|
|
2449
|
+
export const inboundSchema = ProjectId$inboundSchema;
|
|
2450
|
+
/** @deprecated use `ProjectId$outboundSchema` instead. */
|
|
2451
|
+
export const outboundSchema = ProjectId$outboundSchema;
|
|
2452
|
+
/** @deprecated use `ProjectId$Outbound` instead. */
|
|
2453
|
+
export type Outbound = ProjectId$Outbound;
|
|
2454
|
+
}
|
|
2455
|
+
|
|
2456
|
+
export function projectIdToJSON(projectId: ProjectId): string {
|
|
2457
|
+
return JSON.stringify(ProjectId$outboundSchema.parse(projectId));
|
|
2458
|
+
}
|
|
2459
|
+
|
|
2460
|
+
export function projectIdFromJSON(
|
|
2461
|
+
jsonString: string,
|
|
2462
|
+
): SafeParseResult<ProjectId, SDKValidationError> {
|
|
2463
|
+
return safeParse(
|
|
2464
|
+
jsonString,
|
|
2465
|
+
(x) => ProjectId$inboundSchema.parse(JSON.parse(x)),
|
|
2466
|
+
`Failed to parse 'ProjectId' from JSON`,
|
|
2467
|
+
);
|
|
2468
|
+
}
|
|
2469
|
+
|
|
2201
2470
|
/** @internal */
|
|
2202
2471
|
export const CreateDeploymentGitSourceDeploymentsRequestType$inboundSchema:
|
|
2203
2472
|
z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsRequestType> = z
|
|
@@ -2227,19 +2496,17 @@ export const GitSource5$inboundSchema: z.ZodType<
|
|
|
2227
2496
|
z.ZodTypeDef,
|
|
2228
2497
|
unknown
|
|
2229
2498
|
> = z.object({
|
|
2230
|
-
|
|
2499
|
+
projectId: z.union([z.number(), z.string()]),
|
|
2231
2500
|
ref: z.string(),
|
|
2232
2501
|
sha: z.string().optional(),
|
|
2233
|
-
slug: z.string(),
|
|
2234
2502
|
type: CreateDeploymentGitSourceDeploymentsRequestType$inboundSchema,
|
|
2235
2503
|
});
|
|
2236
2504
|
|
|
2237
2505
|
/** @internal */
|
|
2238
2506
|
export type GitSource5$Outbound = {
|
|
2239
|
-
|
|
2507
|
+
projectId: number | string;
|
|
2240
2508
|
ref: string;
|
|
2241
2509
|
sha?: string | undefined;
|
|
2242
|
-
slug: string;
|
|
2243
2510
|
type: string;
|
|
2244
2511
|
};
|
|
2245
2512
|
|
|
@@ -2249,10 +2516,9 @@ export const GitSource5$outboundSchema: z.ZodType<
|
|
|
2249
2516
|
z.ZodTypeDef,
|
|
2250
2517
|
GitSource5
|
|
2251
2518
|
> = z.object({
|
|
2252
|
-
|
|
2519
|
+
projectId: z.union([z.number(), z.string()]),
|
|
2253
2520
|
ref: z.string(),
|
|
2254
2521
|
sha: z.string().optional(),
|
|
2255
|
-
slug: z.string(),
|
|
2256
2522
|
type: CreateDeploymentGitSourceDeploymentsRequestType$outboundSchema,
|
|
2257
2523
|
});
|
|
2258
2524
|
|
|
@@ -2312,20 +2578,20 @@ export const GitSource4$inboundSchema: z.ZodType<
|
|
|
2312
2578
|
z.ZodTypeDef,
|
|
2313
2579
|
unknown
|
|
2314
2580
|
> = z.object({
|
|
2581
|
+
org: z.string(),
|
|
2315
2582
|
ref: z.string(),
|
|
2316
|
-
|
|
2583
|
+
repo: z.string(),
|
|
2317
2584
|
sha: z.string().optional(),
|
|
2318
2585
|
type: CreateDeploymentGitSourceDeploymentsType$inboundSchema,
|
|
2319
|
-
workspaceUuid: z.string().optional(),
|
|
2320
2586
|
});
|
|
2321
2587
|
|
|
2322
2588
|
/** @internal */
|
|
2323
2589
|
export type GitSource4$Outbound = {
|
|
2590
|
+
org: string;
|
|
2324
2591
|
ref: string;
|
|
2325
|
-
|
|
2592
|
+
repo: string;
|
|
2326
2593
|
sha?: string | undefined;
|
|
2327
2594
|
type: string;
|
|
2328
|
-
workspaceUuid?: string | undefined;
|
|
2329
2595
|
};
|
|
2330
2596
|
|
|
2331
2597
|
/** @internal */
|
|
@@ -2334,11 +2600,11 @@ export const GitSource4$outboundSchema: z.ZodType<
|
|
|
2334
2600
|
z.ZodTypeDef,
|
|
2335
2601
|
GitSource4
|
|
2336
2602
|
> = z.object({
|
|
2603
|
+
org: z.string(),
|
|
2337
2604
|
ref: z.string(),
|
|
2338
|
-
|
|
2605
|
+
repo: z.string(),
|
|
2339
2606
|
sha: z.string().optional(),
|
|
2340
2607
|
type: CreateDeploymentGitSourceDeploymentsType$outboundSchema,
|
|
2341
|
-
workspaceUuid: z.string().optional(),
|
|
2342
2608
|
});
|
|
2343
2609
|
|
|
2344
2610
|
/**
|
|
@@ -2369,46 +2635,48 @@ export function gitSource4FromJSON(
|
|
|
2369
2635
|
}
|
|
2370
2636
|
|
|
2371
2637
|
/** @internal */
|
|
2372
|
-
export const
|
|
2373
|
-
|
|
2638
|
+
export const GitSourceRepoId$inboundSchema: z.ZodType<
|
|
2639
|
+
GitSourceRepoId,
|
|
2374
2640
|
z.ZodTypeDef,
|
|
2375
2641
|
unknown
|
|
2376
2642
|
> = z.union([z.number(), z.string()]);
|
|
2377
2643
|
|
|
2378
2644
|
/** @internal */
|
|
2379
|
-
export type
|
|
2645
|
+
export type GitSourceRepoId$Outbound = number | string;
|
|
2380
2646
|
|
|
2381
2647
|
/** @internal */
|
|
2382
|
-
export const
|
|
2383
|
-
|
|
2648
|
+
export const GitSourceRepoId$outboundSchema: z.ZodType<
|
|
2649
|
+
GitSourceRepoId$Outbound,
|
|
2384
2650
|
z.ZodTypeDef,
|
|
2385
|
-
|
|
2651
|
+
GitSourceRepoId
|
|
2386
2652
|
> = z.union([z.number(), z.string()]);
|
|
2387
2653
|
|
|
2388
2654
|
/**
|
|
2389
2655
|
* @internal
|
|
2390
2656
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2391
2657
|
*/
|
|
2392
|
-
export namespace
|
|
2393
|
-
/** @deprecated use `
|
|
2394
|
-
export const inboundSchema =
|
|
2395
|
-
/** @deprecated use `
|
|
2396
|
-
export const outboundSchema =
|
|
2397
|
-
/** @deprecated use `
|
|
2398
|
-
export type Outbound =
|
|
2658
|
+
export namespace GitSourceRepoId$ {
|
|
2659
|
+
/** @deprecated use `GitSourceRepoId$inboundSchema` instead. */
|
|
2660
|
+
export const inboundSchema = GitSourceRepoId$inboundSchema;
|
|
2661
|
+
/** @deprecated use `GitSourceRepoId$outboundSchema` instead. */
|
|
2662
|
+
export const outboundSchema = GitSourceRepoId$outboundSchema;
|
|
2663
|
+
/** @deprecated use `GitSourceRepoId$Outbound` instead. */
|
|
2664
|
+
export type Outbound = GitSourceRepoId$Outbound;
|
|
2399
2665
|
}
|
|
2400
2666
|
|
|
2401
|
-
export function
|
|
2402
|
-
|
|
2667
|
+
export function gitSourceRepoIdToJSON(
|
|
2668
|
+
gitSourceRepoId: GitSourceRepoId,
|
|
2669
|
+
): string {
|
|
2670
|
+
return JSON.stringify(GitSourceRepoId$outboundSchema.parse(gitSourceRepoId));
|
|
2403
2671
|
}
|
|
2404
2672
|
|
|
2405
|
-
export function
|
|
2673
|
+
export function gitSourceRepoIdFromJSON(
|
|
2406
2674
|
jsonString: string,
|
|
2407
|
-
): SafeParseResult<
|
|
2675
|
+
): SafeParseResult<GitSourceRepoId, SDKValidationError> {
|
|
2408
2676
|
return safeParse(
|
|
2409
2677
|
jsonString,
|
|
2410
|
-
(x) =>
|
|
2411
|
-
`Failed to parse '
|
|
2678
|
+
(x) => GitSourceRepoId$inboundSchema.parse(JSON.parse(x)),
|
|
2679
|
+
`Failed to parse 'GitSourceRepoId' from JSON`,
|
|
2412
2680
|
);
|
|
2413
2681
|
}
|
|
2414
2682
|
|
|
@@ -2439,16 +2707,16 @@ export const GitSource3$inboundSchema: z.ZodType<
|
|
|
2439
2707
|
z.ZodTypeDef,
|
|
2440
2708
|
unknown
|
|
2441
2709
|
> = z.object({
|
|
2442
|
-
projectId: z.union([z.number(), z.string()]),
|
|
2443
2710
|
ref: z.string(),
|
|
2711
|
+
repoId: z.union([z.number(), z.string()]),
|
|
2444
2712
|
sha: z.string().optional(),
|
|
2445
2713
|
type: CreateDeploymentGitSourceType$inboundSchema,
|
|
2446
2714
|
});
|
|
2447
2715
|
|
|
2448
2716
|
/** @internal */
|
|
2449
2717
|
export type GitSource3$Outbound = {
|
|
2450
|
-
projectId: number | string;
|
|
2451
2718
|
ref: string;
|
|
2719
|
+
repoId: number | string;
|
|
2452
2720
|
sha?: string | undefined;
|
|
2453
2721
|
type: string;
|
|
2454
2722
|
};
|
|
@@ -2459,8 +2727,8 @@ export const GitSource3$outboundSchema: z.ZodType<
|
|
|
2459
2727
|
z.ZodTypeDef,
|
|
2460
2728
|
GitSource3
|
|
2461
2729
|
> = z.object({
|
|
2462
|
-
projectId: z.union([z.number(), z.string()]),
|
|
2463
2730
|
ref: z.string(),
|
|
2731
|
+
repoId: z.union([z.number(), z.string()]),
|
|
2464
2732
|
sha: z.string().optional(),
|
|
2465
2733
|
type: CreateDeploymentGitSourceType$outboundSchema,
|
|
2466
2734
|
});
|
|
@@ -2617,28 +2885,28 @@ export function repoIdFromJSON(
|
|
|
2617
2885
|
}
|
|
2618
2886
|
|
|
2619
2887
|
/** @internal */
|
|
2620
|
-
export const
|
|
2888
|
+
export const CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$inboundSchema:
|
|
2621
2889
|
z.ZodNativeEnum<
|
|
2622
|
-
typeof
|
|
2623
|
-
> = z.nativeEnum(
|
|
2890
|
+
typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type
|
|
2891
|
+
> = z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type);
|
|
2624
2892
|
|
|
2625
2893
|
/** @internal */
|
|
2626
|
-
export const
|
|
2894
|
+
export const CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$outboundSchema:
|
|
2627
2895
|
z.ZodNativeEnum<
|
|
2628
|
-
typeof
|
|
2629
|
-
> =
|
|
2896
|
+
typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type
|
|
2897
|
+
> = CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$inboundSchema;
|
|
2630
2898
|
|
|
2631
2899
|
/**
|
|
2632
2900
|
* @internal
|
|
2633
2901
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2634
2902
|
*/
|
|
2635
|
-
export namespace
|
|
2636
|
-
/** @deprecated use `
|
|
2903
|
+
export namespace CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$ {
|
|
2904
|
+
/** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$inboundSchema` instead. */
|
|
2637
2905
|
export const inboundSchema =
|
|
2638
|
-
|
|
2639
|
-
/** @deprecated use `
|
|
2906
|
+
CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$inboundSchema;
|
|
2907
|
+
/** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$outboundSchema` instead. */
|
|
2640
2908
|
export const outboundSchema =
|
|
2641
|
-
|
|
2909
|
+
CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$outboundSchema;
|
|
2642
2910
|
}
|
|
2643
2911
|
|
|
2644
2912
|
/** @internal */
|
|
@@ -2651,7 +2919,7 @@ export const GitSource1$inboundSchema: z.ZodType<
|
|
|
2651
2919
|
repoId: z.union([z.number(), z.string()]),
|
|
2652
2920
|
sha: z.string().optional(),
|
|
2653
2921
|
type:
|
|
2654
|
-
|
|
2922
|
+
CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$inboundSchema,
|
|
2655
2923
|
});
|
|
2656
2924
|
|
|
2657
2925
|
/** @internal */
|
|
@@ -2672,7 +2940,7 @@ export const GitSource1$outboundSchema: z.ZodType<
|
|
|
2672
2940
|
repoId: z.union([z.number(), z.string()]),
|
|
2673
2941
|
sha: z.string().optional(),
|
|
2674
2942
|
type:
|
|
2675
|
-
|
|
2943
|
+
CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$outboundSchema,
|
|
2676
2944
|
});
|
|
2677
2945
|
|
|
2678
2946
|
/**
|
|
@@ -2709,19 +2977,23 @@ export const GitSource$inboundSchema: z.ZodType<
|
|
|
2709
2977
|
unknown
|
|
2710
2978
|
> = z.union([
|
|
2711
2979
|
z.lazy(() => GitSource2$inboundSchema),
|
|
2712
|
-
z.lazy(() =>
|
|
2980
|
+
z.lazy(() => GitSource4$inboundSchema),
|
|
2981
|
+
z.lazy(() => GitSource7$inboundSchema),
|
|
2713
2982
|
z.lazy(() => GitSource1$inboundSchema),
|
|
2714
2983
|
z.lazy(() => GitSource3$inboundSchema),
|
|
2715
|
-
z.lazy(() =>
|
|
2984
|
+
z.lazy(() => GitSource5$inboundSchema),
|
|
2985
|
+
z.lazy(() => GitSource6$inboundSchema),
|
|
2716
2986
|
]);
|
|
2717
2987
|
|
|
2718
2988
|
/** @internal */
|
|
2719
2989
|
export type GitSource$Outbound =
|
|
2720
2990
|
| GitSource2$Outbound
|
|
2721
|
-
|
|
|
2991
|
+
| GitSource4$Outbound
|
|
2992
|
+
| GitSource7$Outbound
|
|
2722
2993
|
| GitSource1$Outbound
|
|
2723
2994
|
| GitSource3$Outbound
|
|
2724
|
-
|
|
|
2995
|
+
| GitSource5$Outbound
|
|
2996
|
+
| GitSource6$Outbound;
|
|
2725
2997
|
|
|
2726
2998
|
/** @internal */
|
|
2727
2999
|
export const GitSource$outboundSchema: z.ZodType<
|
|
@@ -2730,10 +3002,12 @@ export const GitSource$outboundSchema: z.ZodType<
|
|
|
2730
3002
|
GitSource
|
|
2731
3003
|
> = z.union([
|
|
2732
3004
|
z.lazy(() => GitSource2$outboundSchema),
|
|
2733
|
-
z.lazy(() =>
|
|
3005
|
+
z.lazy(() => GitSource4$outboundSchema),
|
|
3006
|
+
z.lazy(() => GitSource7$outboundSchema),
|
|
2734
3007
|
z.lazy(() => GitSource1$outboundSchema),
|
|
2735
3008
|
z.lazy(() => GitSource3$outboundSchema),
|
|
2736
|
-
z.lazy(() =>
|
|
3009
|
+
z.lazy(() => GitSource5$outboundSchema),
|
|
3010
|
+
z.lazy(() => GitSource6$outboundSchema),
|
|
2737
3011
|
]);
|
|
2738
3012
|
|
|
2739
3013
|
/**
|
|
@@ -2900,10 +3174,12 @@ export const CreateDeploymentRequestBody$inboundSchema: z.ZodType<
|
|
|
2900
3174
|
gitMetadata: z.lazy(() => GitMetadata$inboundSchema).optional(),
|
|
2901
3175
|
gitSource: z.union([
|
|
2902
3176
|
z.lazy(() => GitSource2$inboundSchema),
|
|
2903
|
-
z.lazy(() =>
|
|
3177
|
+
z.lazy(() => GitSource4$inboundSchema),
|
|
3178
|
+
z.lazy(() => GitSource7$inboundSchema),
|
|
2904
3179
|
z.lazy(() => GitSource1$inboundSchema),
|
|
2905
3180
|
z.lazy(() => GitSource3$inboundSchema),
|
|
2906
|
-
z.lazy(() =>
|
|
3181
|
+
z.lazy(() => GitSource5$inboundSchema),
|
|
3182
|
+
z.lazy(() => GitSource6$inboundSchema),
|
|
2907
3183
|
]).optional(),
|
|
2908
3184
|
meta: z.record(z.string()).optional(),
|
|
2909
3185
|
monorepoManager: z.nullable(z.string()).optional(),
|
|
@@ -2922,10 +3198,12 @@ export type CreateDeploymentRequestBody$Outbound = {
|
|
|
2922
3198
|
gitMetadata?: GitMetadata$Outbound | undefined;
|
|
2923
3199
|
gitSource?:
|
|
2924
3200
|
| GitSource2$Outbound
|
|
2925
|
-
|
|
|
3201
|
+
| GitSource4$Outbound
|
|
3202
|
+
| GitSource7$Outbound
|
|
2926
3203
|
| GitSource1$Outbound
|
|
2927
3204
|
| GitSource3$Outbound
|
|
2928
|
-
|
|
|
3205
|
+
| GitSource5$Outbound
|
|
3206
|
+
| GitSource6$Outbound
|
|
2929
3207
|
| undefined;
|
|
2930
3208
|
meta?: { [k: string]: string } | undefined;
|
|
2931
3209
|
monorepoManager?: string | null | undefined;
|
|
@@ -2953,10 +3231,12 @@ export const CreateDeploymentRequestBody$outboundSchema: z.ZodType<
|
|
|
2953
3231
|
gitMetadata: z.lazy(() => GitMetadata$outboundSchema).optional(),
|
|
2954
3232
|
gitSource: z.union([
|
|
2955
3233
|
z.lazy(() => GitSource2$outboundSchema),
|
|
2956
|
-
z.lazy(() =>
|
|
3234
|
+
z.lazy(() => GitSource4$outboundSchema),
|
|
3235
|
+
z.lazy(() => GitSource7$outboundSchema),
|
|
2957
3236
|
z.lazy(() => GitSource1$outboundSchema),
|
|
2958
3237
|
z.lazy(() => GitSource3$outboundSchema),
|
|
2959
|
-
z.lazy(() =>
|
|
3238
|
+
z.lazy(() => GitSource5$outboundSchema),
|
|
3239
|
+
z.lazy(() => GitSource6$outboundSchema),
|
|
2960
3240
|
]).optional(),
|
|
2961
3241
|
meta: z.record(z.string()).optional(),
|
|
2962
3242
|
monorepoManager: z.nullable(z.string()).optional(),
|
|
@@ -5634,62 +5914,66 @@ export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONR
|
|
|
5634
5914
|
}
|
|
5635
5915
|
|
|
5636
5916
|
/** @internal */
|
|
5637
|
-
export const
|
|
5638
|
-
z.ZodType<
|
|
5639
|
-
|
|
5917
|
+
export const CreateDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema:
|
|
5918
|
+
z.ZodType<
|
|
5919
|
+
CreateDeploymentGitSourceDeploymentsResponseRepoId,
|
|
5920
|
+
z.ZodTypeDef,
|
|
5921
|
+
unknown
|
|
5922
|
+
> = z.union([z.string(), z.number()]);
|
|
5640
5923
|
|
|
5641
5924
|
/** @internal */
|
|
5642
|
-
export type
|
|
5925
|
+
export type CreateDeploymentGitSourceDeploymentsResponseRepoId$Outbound =
|
|
5643
5926
|
| string
|
|
5644
5927
|
| number;
|
|
5645
5928
|
|
|
5646
5929
|
/** @internal */
|
|
5647
|
-
export const
|
|
5930
|
+
export const CreateDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema:
|
|
5648
5931
|
z.ZodType<
|
|
5649
|
-
|
|
5932
|
+
CreateDeploymentGitSourceDeploymentsResponseRepoId$Outbound,
|
|
5650
5933
|
z.ZodTypeDef,
|
|
5651
|
-
|
|
5934
|
+
CreateDeploymentGitSourceDeploymentsResponseRepoId
|
|
5652
5935
|
> = z.union([z.string(), z.number()]);
|
|
5653
5936
|
|
|
5654
5937
|
/**
|
|
5655
5938
|
* @internal
|
|
5656
5939
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5657
5940
|
*/
|
|
5658
|
-
export namespace
|
|
5659
|
-
/** @deprecated use `
|
|
5941
|
+
export namespace CreateDeploymentGitSourceDeploymentsResponseRepoId$ {
|
|
5942
|
+
/** @deprecated use `CreateDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema` instead. */
|
|
5660
5943
|
export const inboundSchema =
|
|
5661
|
-
|
|
5662
|
-
/** @deprecated use `
|
|
5944
|
+
CreateDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema;
|
|
5945
|
+
/** @deprecated use `CreateDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema` instead. */
|
|
5663
5946
|
export const outboundSchema =
|
|
5664
|
-
|
|
5665
|
-
/** @deprecated use `
|
|
5666
|
-
export type Outbound =
|
|
5947
|
+
CreateDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema;
|
|
5948
|
+
/** @deprecated use `CreateDeploymentGitSourceDeploymentsResponseRepoId$Outbound` instead. */
|
|
5949
|
+
export type Outbound =
|
|
5950
|
+
CreateDeploymentGitSourceDeploymentsResponseRepoId$Outbound;
|
|
5667
5951
|
}
|
|
5668
5952
|
|
|
5669
|
-
export function
|
|
5670
|
-
|
|
5671
|
-
|
|
5953
|
+
export function createDeploymentGitSourceDeploymentsResponseRepoIdToJSON(
|
|
5954
|
+
createDeploymentGitSourceDeploymentsResponseRepoId:
|
|
5955
|
+
CreateDeploymentGitSourceDeploymentsResponseRepoId,
|
|
5672
5956
|
): string {
|
|
5673
5957
|
return JSON.stringify(
|
|
5674
|
-
|
|
5675
|
-
|
|
5958
|
+
CreateDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema.parse(
|
|
5959
|
+
createDeploymentGitSourceDeploymentsResponseRepoId,
|
|
5676
5960
|
),
|
|
5677
5961
|
);
|
|
5678
5962
|
}
|
|
5679
5963
|
|
|
5680
|
-
export function
|
|
5964
|
+
export function createDeploymentGitSourceDeploymentsResponseRepoIdFromJSON(
|
|
5681
5965
|
jsonString: string,
|
|
5682
5966
|
): SafeParseResult<
|
|
5683
|
-
|
|
5967
|
+
CreateDeploymentGitSourceDeploymentsResponseRepoId,
|
|
5684
5968
|
SDKValidationError
|
|
5685
5969
|
> {
|
|
5686
5970
|
return safeParse(
|
|
5687
5971
|
jsonString,
|
|
5688
5972
|
(x) =>
|
|
5689
|
-
|
|
5973
|
+
CreateDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema.parse(
|
|
5690
5974
|
JSON.parse(x),
|
|
5691
5975
|
),
|
|
5692
|
-
`Failed to parse '
|
|
5976
|
+
`Failed to parse 'CreateDeploymentGitSourceDeploymentsResponseRepoId' from JSON`,
|
|
5693
5977
|
);
|
|
5694
5978
|
}
|
|
5695
5979
|
|
|
@@ -5892,52 +6176,62 @@ export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONT
|
|
|
5892
6176
|
}
|
|
5893
6177
|
|
|
5894
6178
|
/** @internal */
|
|
5895
|
-
export const
|
|
5896
|
-
|
|
5897
|
-
|
|
5898
|
-
unknown
|
|
5899
|
-
> = z.union([z.string(), z.number()]);
|
|
6179
|
+
export const CreateDeploymentGitSourceDeploymentsRepoId$inboundSchema:
|
|
6180
|
+
z.ZodType<CreateDeploymentGitSourceDeploymentsRepoId, z.ZodTypeDef, unknown> =
|
|
6181
|
+
z.union([z.string(), z.number()]);
|
|
5900
6182
|
|
|
5901
6183
|
/** @internal */
|
|
5902
|
-
export type
|
|
6184
|
+
export type CreateDeploymentGitSourceDeploymentsRepoId$Outbound =
|
|
6185
|
+
| string
|
|
6186
|
+
| number;
|
|
5903
6187
|
|
|
5904
6188
|
/** @internal */
|
|
5905
|
-
export const
|
|
5906
|
-
|
|
5907
|
-
|
|
5908
|
-
|
|
5909
|
-
|
|
6189
|
+
export const CreateDeploymentGitSourceDeploymentsRepoId$outboundSchema:
|
|
6190
|
+
z.ZodType<
|
|
6191
|
+
CreateDeploymentGitSourceDeploymentsRepoId$Outbound,
|
|
6192
|
+
z.ZodTypeDef,
|
|
6193
|
+
CreateDeploymentGitSourceDeploymentsRepoId
|
|
6194
|
+
> = z.union([z.string(), z.number()]);
|
|
5910
6195
|
|
|
5911
6196
|
/**
|
|
5912
6197
|
* @internal
|
|
5913
6198
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5914
6199
|
*/
|
|
5915
|
-
export namespace
|
|
5916
|
-
/** @deprecated use `
|
|
5917
|
-
export const inboundSchema =
|
|
5918
|
-
|
|
5919
|
-
|
|
5920
|
-
|
|
5921
|
-
|
|
6200
|
+
export namespace CreateDeploymentGitSourceDeploymentsRepoId$ {
|
|
6201
|
+
/** @deprecated use `CreateDeploymentGitSourceDeploymentsRepoId$inboundSchema` instead. */
|
|
6202
|
+
export const inboundSchema =
|
|
6203
|
+
CreateDeploymentGitSourceDeploymentsRepoId$inboundSchema;
|
|
6204
|
+
/** @deprecated use `CreateDeploymentGitSourceDeploymentsRepoId$outboundSchema` instead. */
|
|
6205
|
+
export const outboundSchema =
|
|
6206
|
+
CreateDeploymentGitSourceDeploymentsRepoId$outboundSchema;
|
|
6207
|
+
/** @deprecated use `CreateDeploymentGitSourceDeploymentsRepoId$Outbound` instead. */
|
|
6208
|
+
export type Outbound = CreateDeploymentGitSourceDeploymentsRepoId$Outbound;
|
|
5922
6209
|
}
|
|
5923
6210
|
|
|
5924
|
-
export function
|
|
5925
|
-
|
|
6211
|
+
export function createDeploymentGitSourceDeploymentsRepoIdToJSON(
|
|
6212
|
+
createDeploymentGitSourceDeploymentsRepoId:
|
|
6213
|
+
CreateDeploymentGitSourceDeploymentsRepoId,
|
|
5926
6214
|
): string {
|
|
5927
6215
|
return JSON.stringify(
|
|
5928
|
-
|
|
5929
|
-
|
|
6216
|
+
CreateDeploymentGitSourceDeploymentsRepoId$outboundSchema.parse(
|
|
6217
|
+
createDeploymentGitSourceDeploymentsRepoId,
|
|
5930
6218
|
),
|
|
5931
6219
|
);
|
|
5932
6220
|
}
|
|
5933
6221
|
|
|
5934
|
-
export function
|
|
6222
|
+
export function createDeploymentGitSourceDeploymentsRepoIdFromJSON(
|
|
5935
6223
|
jsonString: string,
|
|
5936
|
-
): SafeParseResult<
|
|
6224
|
+
): SafeParseResult<
|
|
6225
|
+
CreateDeploymentGitSourceDeploymentsRepoId,
|
|
6226
|
+
SDKValidationError
|
|
6227
|
+
> {
|
|
5937
6228
|
return safeParse(
|
|
5938
6229
|
jsonString,
|
|
5939
|
-
(x) =>
|
|
5940
|
-
|
|
6230
|
+
(x) =>
|
|
6231
|
+
CreateDeploymentGitSourceDeploymentsRepoId$inboundSchema.parse(
|
|
6232
|
+
JSON.parse(x),
|
|
6233
|
+
),
|
|
6234
|
+
`Failed to parse 'CreateDeploymentGitSourceDeploymentsRepoId' from JSON`,
|
|
5941
6235
|
);
|
|
5942
6236
|
}
|
|
5943
6237
|
|
|
@@ -6128,48 +6422,52 @@ export namespace CreateDeploymentGitSourceDeploymentsResponseType$ {
|
|
|
6128
6422
|
}
|
|
6129
6423
|
|
|
6130
6424
|
/** @internal */
|
|
6131
|
-
export const
|
|
6132
|
-
|
|
6425
|
+
export const CreateDeploymentGitSourceRepoId$inboundSchema: z.ZodType<
|
|
6426
|
+
CreateDeploymentGitSourceRepoId,
|
|
6133
6427
|
z.ZodTypeDef,
|
|
6134
6428
|
unknown
|
|
6135
6429
|
> = z.union([z.string(), z.number()]);
|
|
6136
6430
|
|
|
6137
6431
|
/** @internal */
|
|
6138
|
-
export type
|
|
6432
|
+
export type CreateDeploymentGitSourceRepoId$Outbound = string | number;
|
|
6139
6433
|
|
|
6140
6434
|
/** @internal */
|
|
6141
|
-
export const
|
|
6142
|
-
|
|
6435
|
+
export const CreateDeploymentGitSourceRepoId$outboundSchema: z.ZodType<
|
|
6436
|
+
CreateDeploymentGitSourceRepoId$Outbound,
|
|
6143
6437
|
z.ZodTypeDef,
|
|
6144
|
-
|
|
6438
|
+
CreateDeploymentGitSourceRepoId
|
|
6145
6439
|
> = z.union([z.string(), z.number()]);
|
|
6146
6440
|
|
|
6147
6441
|
/**
|
|
6148
6442
|
* @internal
|
|
6149
6443
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6150
6444
|
*/
|
|
6151
|
-
export namespace
|
|
6152
|
-
/** @deprecated use `
|
|
6153
|
-
export const inboundSchema =
|
|
6154
|
-
/** @deprecated use `
|
|
6155
|
-
export const outboundSchema =
|
|
6156
|
-
/** @deprecated use `
|
|
6157
|
-
export type Outbound =
|
|
6445
|
+
export namespace CreateDeploymentGitSourceRepoId$ {
|
|
6446
|
+
/** @deprecated use `CreateDeploymentGitSourceRepoId$inboundSchema` instead. */
|
|
6447
|
+
export const inboundSchema = CreateDeploymentGitSourceRepoId$inboundSchema;
|
|
6448
|
+
/** @deprecated use `CreateDeploymentGitSourceRepoId$outboundSchema` instead. */
|
|
6449
|
+
export const outboundSchema = CreateDeploymentGitSourceRepoId$outboundSchema;
|
|
6450
|
+
/** @deprecated use `CreateDeploymentGitSourceRepoId$Outbound` instead. */
|
|
6451
|
+
export type Outbound = CreateDeploymentGitSourceRepoId$Outbound;
|
|
6158
6452
|
}
|
|
6159
6453
|
|
|
6160
|
-
export function
|
|
6161
|
-
|
|
6454
|
+
export function createDeploymentGitSourceRepoIdToJSON(
|
|
6455
|
+
createDeploymentGitSourceRepoId: CreateDeploymentGitSourceRepoId,
|
|
6162
6456
|
): string {
|
|
6163
|
-
return JSON.stringify(
|
|
6457
|
+
return JSON.stringify(
|
|
6458
|
+
CreateDeploymentGitSourceRepoId$outboundSchema.parse(
|
|
6459
|
+
createDeploymentGitSourceRepoId,
|
|
6460
|
+
),
|
|
6461
|
+
);
|
|
6164
6462
|
}
|
|
6165
6463
|
|
|
6166
|
-
export function
|
|
6464
|
+
export function createDeploymentGitSourceRepoIdFromJSON(
|
|
6167
6465
|
jsonString: string,
|
|
6168
|
-
): SafeParseResult<
|
|
6466
|
+
): SafeParseResult<CreateDeploymentGitSourceRepoId, SDKValidationError> {
|
|
6169
6467
|
return safeParse(
|
|
6170
6468
|
jsonString,
|
|
6171
|
-
(x) =>
|
|
6172
|
-
`Failed to parse '
|
|
6469
|
+
(x) => CreateDeploymentGitSourceRepoId$inboundSchema.parse(JSON.parse(x)),
|
|
6470
|
+
`Failed to parse 'CreateDeploymentGitSourceRepoId' from JSON`,
|
|
6173
6471
|
);
|
|
6174
6472
|
}
|
|
6175
6473
|
|
|
@@ -7325,19 +7623,19 @@ export const CreateDeploymentHasDeploymentsValue$inboundSchema: z.ZodType<
|
|
|
7325
7623
|
CreateDeploymentHasDeploymentsValue,
|
|
7326
7624
|
z.ZodTypeDef,
|
|
7327
7625
|
unknown
|
|
7328
|
-
> = z.union([z.lazy(() => CreateDeploymentValue2$inboundSchema)
|
|
7626
|
+
> = z.union([z.string(), z.lazy(() => CreateDeploymentValue2$inboundSchema)]);
|
|
7329
7627
|
|
|
7330
7628
|
/** @internal */
|
|
7331
7629
|
export type CreateDeploymentHasDeploymentsValue$Outbound =
|
|
7332
|
-
|
|
|
7333
|
-
|
|
|
7630
|
+
| string
|
|
7631
|
+
| CreateDeploymentValue2$Outbound;
|
|
7334
7632
|
|
|
7335
7633
|
/** @internal */
|
|
7336
7634
|
export const CreateDeploymentHasDeploymentsValue$outboundSchema: z.ZodType<
|
|
7337
7635
|
CreateDeploymentHasDeploymentsValue$Outbound,
|
|
7338
7636
|
z.ZodTypeDef,
|
|
7339
7637
|
CreateDeploymentHasDeploymentsValue
|
|
7340
|
-
> = z.union([z.lazy(() => CreateDeploymentValue2$outboundSchema)
|
|
7638
|
+
> = z.union([z.string(), z.lazy(() => CreateDeploymentValue2$outboundSchema)]);
|
|
7341
7639
|
|
|
7342
7640
|
/**
|
|
7343
7641
|
* @internal
|
|
@@ -7384,8 +7682,8 @@ export const CreateDeploymentHas2$inboundSchema: z.ZodType<
|
|
|
7384
7682
|
type: CreateDeploymentHasDeploymentsType$inboundSchema,
|
|
7385
7683
|
key: z.string(),
|
|
7386
7684
|
value: z.union([
|
|
7387
|
-
z.lazy(() => CreateDeploymentValue2$inboundSchema),
|
|
7388
7685
|
z.string(),
|
|
7686
|
+
z.lazy(() => CreateDeploymentValue2$inboundSchema),
|
|
7389
7687
|
]).optional(),
|
|
7390
7688
|
});
|
|
7391
7689
|
|
|
@@ -7393,7 +7691,7 @@ export const CreateDeploymentHas2$inboundSchema: z.ZodType<
|
|
|
7393
7691
|
export type CreateDeploymentHas2$Outbound = {
|
|
7394
7692
|
type: string;
|
|
7395
7693
|
key: string;
|
|
7396
|
-
value?: CreateDeploymentValue2$Outbound |
|
|
7694
|
+
value?: string | CreateDeploymentValue2$Outbound | undefined;
|
|
7397
7695
|
};
|
|
7398
7696
|
|
|
7399
7697
|
/** @internal */
|
|
@@ -7405,8 +7703,8 @@ export const CreateDeploymentHas2$outboundSchema: z.ZodType<
|
|
|
7405
7703
|
type: CreateDeploymentHasDeploymentsType$outboundSchema,
|
|
7406
7704
|
key: z.string(),
|
|
7407
7705
|
value: z.union([
|
|
7408
|
-
z.lazy(() => CreateDeploymentValue2$outboundSchema),
|
|
7409
7706
|
z.string(),
|
|
7707
|
+
z.lazy(() => CreateDeploymentValue2$outboundSchema),
|
|
7410
7708
|
]).optional(),
|
|
7411
7709
|
});
|
|
7412
7710
|
|
|
@@ -7605,14 +7903,14 @@ export const CreateDeploymentHasValue$inboundSchema: z.ZodType<
|
|
|
7605
7903
|
z.ZodTypeDef,
|
|
7606
7904
|
unknown
|
|
7607
7905
|
> = z.union([
|
|
7608
|
-
z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema),
|
|
7609
7906
|
z.string(),
|
|
7907
|
+
z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema),
|
|
7610
7908
|
]);
|
|
7611
7909
|
|
|
7612
7910
|
/** @internal */
|
|
7613
7911
|
export type CreateDeploymentHasValue$Outbound =
|
|
7614
|
-
|
|
|
7615
|
-
|
|
|
7912
|
+
| string
|
|
7913
|
+
| CreateDeploymentValueDeploymentsResponse2002$Outbound;
|
|
7616
7914
|
|
|
7617
7915
|
/** @internal */
|
|
7618
7916
|
export const CreateDeploymentHasValue$outboundSchema: z.ZodType<
|
|
@@ -7620,8 +7918,8 @@ export const CreateDeploymentHasValue$outboundSchema: z.ZodType<
|
|
|
7620
7918
|
z.ZodTypeDef,
|
|
7621
7919
|
CreateDeploymentHasValue
|
|
7622
7920
|
> = z.union([
|
|
7623
|
-
z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$outboundSchema),
|
|
7624
7921
|
z.string(),
|
|
7922
|
+
z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$outboundSchema),
|
|
7625
7923
|
]);
|
|
7626
7924
|
|
|
7627
7925
|
/**
|
|
@@ -7663,15 +7961,15 @@ export const CreateDeploymentHas1$inboundSchema: z.ZodType<
|
|
|
7663
7961
|
> = z.object({
|
|
7664
7962
|
type: CreateDeploymentHasType$inboundSchema,
|
|
7665
7963
|
value: z.union([
|
|
7666
|
-
z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema),
|
|
7667
7964
|
z.string(),
|
|
7965
|
+
z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema),
|
|
7668
7966
|
]),
|
|
7669
7967
|
});
|
|
7670
7968
|
|
|
7671
7969
|
/** @internal */
|
|
7672
7970
|
export type CreateDeploymentHas1$Outbound = {
|
|
7673
7971
|
type: string;
|
|
7674
|
-
value: CreateDeploymentValueDeploymentsResponse2002$Outbound
|
|
7972
|
+
value: string | CreateDeploymentValueDeploymentsResponse2002$Outbound;
|
|
7675
7973
|
};
|
|
7676
7974
|
|
|
7677
7975
|
/** @internal */
|
|
@@ -7682,8 +7980,8 @@ export const CreateDeploymentHas1$outboundSchema: z.ZodType<
|
|
|
7682
7980
|
> = z.object({
|
|
7683
7981
|
type: CreateDeploymentHasType$outboundSchema,
|
|
7684
7982
|
value: z.union([
|
|
7685
|
-
z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$outboundSchema),
|
|
7686
7983
|
z.string(),
|
|
7984
|
+
z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$outboundSchema),
|
|
7687
7985
|
]),
|
|
7688
7986
|
});
|
|
7689
7987
|
|
|
@@ -7945,14 +8243,14 @@ export const CreateDeploymentMissingValue$inboundSchema: z.ZodType<
|
|
|
7945
8243
|
z.ZodTypeDef,
|
|
7946
8244
|
unknown
|
|
7947
8245
|
> = z.union([
|
|
7948
|
-
z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema),
|
|
7949
8246
|
z.string(),
|
|
8247
|
+
z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema),
|
|
7950
8248
|
]);
|
|
7951
8249
|
|
|
7952
8250
|
/** @internal */
|
|
7953
8251
|
export type CreateDeploymentMissingValue$Outbound =
|
|
7954
|
-
|
|
|
7955
|
-
|
|
|
8252
|
+
| string
|
|
8253
|
+
| CreateDeploymentValueDeploymentsResponse2$Outbound;
|
|
7956
8254
|
|
|
7957
8255
|
/** @internal */
|
|
7958
8256
|
export const CreateDeploymentMissingValue$outboundSchema: z.ZodType<
|
|
@@ -7960,8 +8258,8 @@ export const CreateDeploymentMissingValue$outboundSchema: z.ZodType<
|
|
|
7960
8258
|
z.ZodTypeDef,
|
|
7961
8259
|
CreateDeploymentMissingValue
|
|
7962
8260
|
> = z.union([
|
|
7963
|
-
z.lazy(() => CreateDeploymentValueDeploymentsResponse2$outboundSchema),
|
|
7964
8261
|
z.string(),
|
|
8262
|
+
z.lazy(() => CreateDeploymentValueDeploymentsResponse2$outboundSchema),
|
|
7965
8263
|
]);
|
|
7966
8264
|
|
|
7967
8265
|
/**
|
|
@@ -8006,8 +8304,8 @@ export const Missing2$inboundSchema: z.ZodType<
|
|
|
8006
8304
|
type: CreateDeploymentMissingType$inboundSchema,
|
|
8007
8305
|
key: z.string(),
|
|
8008
8306
|
value: z.union([
|
|
8009
|
-
z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema),
|
|
8010
8307
|
z.string(),
|
|
8308
|
+
z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema),
|
|
8011
8309
|
]).optional(),
|
|
8012
8310
|
});
|
|
8013
8311
|
|
|
@@ -8016,8 +8314,8 @@ export type Missing2$Outbound = {
|
|
|
8016
8314
|
type: string;
|
|
8017
8315
|
key: string;
|
|
8018
8316
|
value?:
|
|
8019
|
-
| CreateDeploymentValueDeploymentsResponse2$Outbound
|
|
8020
8317
|
| string
|
|
8318
|
+
| CreateDeploymentValueDeploymentsResponse2$Outbound
|
|
8021
8319
|
| undefined;
|
|
8022
8320
|
};
|
|
8023
8321
|
|
|
@@ -8030,8 +8328,8 @@ export const Missing2$outboundSchema: z.ZodType<
|
|
|
8030
8328
|
type: CreateDeploymentMissingType$outboundSchema,
|
|
8031
8329
|
key: z.string(),
|
|
8032
8330
|
value: z.union([
|
|
8033
|
-
z.lazy(() => CreateDeploymentValueDeploymentsResponse2$outboundSchema),
|
|
8034
8331
|
z.string(),
|
|
8332
|
+
z.lazy(() => CreateDeploymentValueDeploymentsResponse2$outboundSchema),
|
|
8035
8333
|
]).optional(),
|
|
8036
8334
|
});
|
|
8037
8335
|
|
|
@@ -8222,14 +8520,14 @@ export const MissingValue$inboundSchema: z.ZodType<
|
|
|
8222
8520
|
z.ZodTypeDef,
|
|
8223
8521
|
unknown
|
|
8224
8522
|
> = z.union([
|
|
8225
|
-
z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema),
|
|
8226
8523
|
z.string(),
|
|
8524
|
+
z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema),
|
|
8227
8525
|
]);
|
|
8228
8526
|
|
|
8229
8527
|
/** @internal */
|
|
8230
8528
|
export type MissingValue$Outbound =
|
|
8231
|
-
|
|
|
8232
|
-
|
|
|
8529
|
+
| string
|
|
8530
|
+
| CreateDeploymentValueDeployments2$Outbound;
|
|
8233
8531
|
|
|
8234
8532
|
/** @internal */
|
|
8235
8533
|
export const MissingValue$outboundSchema: z.ZodType<
|
|
@@ -8237,8 +8535,8 @@ export const MissingValue$outboundSchema: z.ZodType<
|
|
|
8237
8535
|
z.ZodTypeDef,
|
|
8238
8536
|
MissingValue
|
|
8239
8537
|
> = z.union([
|
|
8240
|
-
z.lazy(() => CreateDeploymentValueDeployments2$outboundSchema),
|
|
8241
8538
|
z.string(),
|
|
8539
|
+
z.lazy(() => CreateDeploymentValueDeployments2$outboundSchema),
|
|
8242
8540
|
]);
|
|
8243
8541
|
|
|
8244
8542
|
/**
|
|
@@ -8276,15 +8574,15 @@ export const Missing1$inboundSchema: z.ZodType<
|
|
|
8276
8574
|
> = z.object({
|
|
8277
8575
|
type: MissingType$inboundSchema,
|
|
8278
8576
|
value: z.union([
|
|
8279
|
-
z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema),
|
|
8280
8577
|
z.string(),
|
|
8578
|
+
z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema),
|
|
8281
8579
|
]),
|
|
8282
8580
|
});
|
|
8283
8581
|
|
|
8284
8582
|
/** @internal */
|
|
8285
8583
|
export type Missing1$Outbound = {
|
|
8286
8584
|
type: string;
|
|
8287
|
-
value: CreateDeploymentValueDeployments2$Outbound
|
|
8585
|
+
value: string | CreateDeploymentValueDeployments2$Outbound;
|
|
8288
8586
|
};
|
|
8289
8587
|
|
|
8290
8588
|
/** @internal */
|
|
@@ -8295,8 +8593,8 @@ export const Missing1$outboundSchema: z.ZodType<
|
|
|
8295
8593
|
> = z.object({
|
|
8296
8594
|
type: MissingType$outboundSchema,
|
|
8297
8595
|
value: z.union([
|
|
8298
|
-
z.lazy(() => CreateDeploymentValueDeployments2$outboundSchema),
|
|
8299
8596
|
z.string(),
|
|
8597
|
+
z.lazy(() => CreateDeploymentValueDeployments2$outboundSchema),
|
|
8300
8598
|
]),
|
|
8301
8599
|
});
|
|
8302
8600
|
|
|
@@ -8600,17 +8898,17 @@ export const RoutesKey$inboundSchema: z.ZodType<
|
|
|
8600
8898
|
RoutesKey,
|
|
8601
8899
|
z.ZodTypeDef,
|
|
8602
8900
|
unknown
|
|
8603
|
-
> = z.union([z.lazy(() => Key2$inboundSchema)
|
|
8901
|
+
> = z.union([z.string(), z.lazy(() => Key2$inboundSchema)]);
|
|
8604
8902
|
|
|
8605
8903
|
/** @internal */
|
|
8606
|
-
export type RoutesKey$Outbound = Key2$Outbound
|
|
8904
|
+
export type RoutesKey$Outbound = string | Key2$Outbound;
|
|
8607
8905
|
|
|
8608
8906
|
/** @internal */
|
|
8609
8907
|
export const RoutesKey$outboundSchema: z.ZodType<
|
|
8610
8908
|
RoutesKey$Outbound,
|
|
8611
8909
|
z.ZodTypeDef,
|
|
8612
8910
|
RoutesKey
|
|
8613
|
-
> = z.union([z.lazy(() => Key2$outboundSchema)
|
|
8911
|
+
> = z.union([z.string(), z.lazy(() => Key2$outboundSchema)]);
|
|
8614
8912
|
|
|
8615
8913
|
/**
|
|
8616
8914
|
* @internal
|
|
@@ -8645,12 +8943,12 @@ export const RoutesTarget$inboundSchema: z.ZodType<
|
|
|
8645
8943
|
z.ZodTypeDef,
|
|
8646
8944
|
unknown
|
|
8647
8945
|
> = z.object({
|
|
8648
|
-
key: z.union([z.lazy(() => Key2$inboundSchema)
|
|
8946
|
+
key: z.union([z.string(), z.lazy(() => Key2$inboundSchema)]),
|
|
8649
8947
|
});
|
|
8650
8948
|
|
|
8651
8949
|
/** @internal */
|
|
8652
8950
|
export type RoutesTarget$Outbound = {
|
|
8653
|
-
key: Key2$Outbound
|
|
8951
|
+
key: string | Key2$Outbound;
|
|
8654
8952
|
};
|
|
8655
8953
|
|
|
8656
8954
|
/** @internal */
|
|
@@ -8659,7 +8957,7 @@ export const RoutesTarget$outboundSchema: z.ZodType<
|
|
|
8659
8957
|
z.ZodTypeDef,
|
|
8660
8958
|
RoutesTarget
|
|
8661
8959
|
> = z.object({
|
|
8662
|
-
key: z.union([z.lazy(() => Key2$outboundSchema)
|
|
8960
|
+
key: z.union([z.string(), z.lazy(() => Key2$outboundSchema)]),
|
|
8663
8961
|
});
|
|
8664
8962
|
|
|
8665
8963
|
/**
|
|
@@ -9315,6 +9613,7 @@ export const CreateDeploymentMicrofrontends2$inboundSchema: z.ZodType<
|
|
|
9315
9613
|
defaultRoute: z.string().optional(),
|
|
9316
9614
|
groupIds: z.array(z.string()),
|
|
9317
9615
|
microfrontendsAlias2Enabled: z.boolean().optional(),
|
|
9616
|
+
microfrontendsAliasRoutingVercelSiteProdTestHost: z.boolean().optional(),
|
|
9318
9617
|
});
|
|
9319
9618
|
|
|
9320
9619
|
/** @internal */
|
|
@@ -9328,6 +9627,7 @@ export type CreateDeploymentMicrofrontends2$Outbound = {
|
|
|
9328
9627
|
defaultRoute?: string | undefined;
|
|
9329
9628
|
groupIds: Array<string>;
|
|
9330
9629
|
microfrontendsAlias2Enabled?: boolean | undefined;
|
|
9630
|
+
microfrontendsAliasRoutingVercelSiteProdTestHost?: boolean | undefined;
|
|
9331
9631
|
};
|
|
9332
9632
|
|
|
9333
9633
|
/** @internal */
|
|
@@ -9345,6 +9645,7 @@ export const CreateDeploymentMicrofrontends2$outboundSchema: z.ZodType<
|
|
|
9345
9645
|
defaultRoute: z.string().optional(),
|
|
9346
9646
|
groupIds: z.array(z.string()),
|
|
9347
9647
|
microfrontendsAlias2Enabled: z.boolean().optional(),
|
|
9648
|
+
microfrontendsAliasRoutingVercelSiteProdTestHost: z.boolean().optional(),
|
|
9348
9649
|
});
|
|
9349
9650
|
|
|
9350
9651
|
/**
|
|
@@ -9391,6 +9692,7 @@ export const CreateDeploymentMicrofrontends1$inboundSchema: z.ZodType<
|
|
|
9391
9692
|
defaultRoute: z.string().optional(),
|
|
9392
9693
|
groupIds: z.array(z.string()),
|
|
9393
9694
|
microfrontendsAlias2Enabled: z.boolean().optional(),
|
|
9695
|
+
microfrontendsAliasRoutingVercelSiteProdTestHost: z.boolean().optional(),
|
|
9394
9696
|
});
|
|
9395
9697
|
|
|
9396
9698
|
/** @internal */
|
|
@@ -9400,6 +9702,7 @@ export type CreateDeploymentMicrofrontends1$Outbound = {
|
|
|
9400
9702
|
defaultRoute?: string | undefined;
|
|
9401
9703
|
groupIds: Array<string>;
|
|
9402
9704
|
microfrontendsAlias2Enabled?: boolean | undefined;
|
|
9705
|
+
microfrontendsAliasRoutingVercelSiteProdTestHost?: boolean | undefined;
|
|
9403
9706
|
};
|
|
9404
9707
|
|
|
9405
9708
|
/** @internal */
|
|
@@ -9413,6 +9716,7 @@ export const CreateDeploymentMicrofrontends1$outboundSchema: z.ZodType<
|
|
|
9413
9716
|
defaultRoute: z.string().optional(),
|
|
9414
9717
|
groupIds: z.array(z.string()),
|
|
9415
9718
|
microfrontendsAlias2Enabled: z.boolean().optional(),
|
|
9719
|
+
microfrontendsAliasRoutingVercelSiteProdTestHost: z.boolean().optional(),
|
|
9416
9720
|
});
|
|
9417
9721
|
|
|
9418
9722
|
/**
|
|
@@ -10201,8 +10505,6 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
|
|
|
10201
10505
|
name: z.string(),
|
|
10202
10506
|
createdAt: z.number(),
|
|
10203
10507
|
type: CreateDeploymentType$inboundSchema,
|
|
10204
|
-
deletedAt: z.nullable(z.number()).optional(),
|
|
10205
|
-
version: z.number(),
|
|
10206
10508
|
autoAssignCustomDomains: z.boolean().optional(),
|
|
10207
10509
|
gitSource: z.union([
|
|
10208
10510
|
z.lazy(() => CreateDeploymentGitSource12$inboundSchema),
|
|
@@ -10228,8 +10530,10 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
|
|
|
10228
10530
|
source: CreateDeploymentSource$inboundSchema.optional(),
|
|
10229
10531
|
target: z.nullable(CreateDeploymentTarget$inboundSchema).optional(),
|
|
10230
10532
|
errorMessage: z.nullable(z.string()).optional(),
|
|
10533
|
+
deletedAt: z.nullable(z.number()).optional(),
|
|
10231
10534
|
passiveRegions: z.array(z.string()).optional(),
|
|
10232
10535
|
regions: z.array(z.string()),
|
|
10536
|
+
version: z.number(),
|
|
10233
10537
|
aliasError: z.nullable(z.lazy(() => AliasError$inboundSchema)).optional(),
|
|
10234
10538
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
10235
10539
|
aliasWarning: z.nullable(z.lazy(() => AliasWarning$inboundSchema)).optional(),
|
|
@@ -10249,8 +10553,8 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
|
|
|
10249
10553
|
undeletedAt: z.number().optional(),
|
|
10250
10554
|
url: z.string(),
|
|
10251
10555
|
projectId: z.string(),
|
|
10252
|
-
ownerId: z.string(),
|
|
10253
10556
|
monorepoManager: z.nullable(z.string()).optional(),
|
|
10557
|
+
ownerId: z.string(),
|
|
10254
10558
|
plan: CreateDeploymentPlan$inboundSchema,
|
|
10255
10559
|
config: z.lazy(() => Config$inboundSchema).optional(),
|
|
10256
10560
|
functions: z.nullable(z.record(z.lazy(() => Functions$inboundSchema)))
|
|
@@ -10328,8 +10632,6 @@ export type CreateDeploymentResponseBody$Outbound = {
|
|
|
10328
10632
|
name: string;
|
|
10329
10633
|
createdAt: number;
|
|
10330
10634
|
type: string;
|
|
10331
|
-
deletedAt?: number | null | undefined;
|
|
10332
|
-
version: number;
|
|
10333
10635
|
autoAssignCustomDomains?: boolean | undefined;
|
|
10334
10636
|
gitSource?:
|
|
10335
10637
|
| CreateDeploymentGitSource12$Outbound
|
|
@@ -10355,8 +10657,10 @@ export type CreateDeploymentResponseBody$Outbound = {
|
|
|
10355
10657
|
source?: string | undefined;
|
|
10356
10658
|
target?: string | null | undefined;
|
|
10357
10659
|
errorMessage?: string | null | undefined;
|
|
10660
|
+
deletedAt?: number | null | undefined;
|
|
10358
10661
|
passiveRegions?: Array<string> | undefined;
|
|
10359
10662
|
regions: Array<string>;
|
|
10663
|
+
version: number;
|
|
10360
10664
|
aliasError?: AliasError$Outbound | null | undefined;
|
|
10361
10665
|
aliasFinal?: string | null | undefined;
|
|
10362
10666
|
aliasWarning?: AliasWarning$Outbound | null | undefined;
|
|
@@ -10376,8 +10680,8 @@ export type CreateDeploymentResponseBody$Outbound = {
|
|
|
10376
10680
|
undeletedAt?: number | undefined;
|
|
10377
10681
|
url: string;
|
|
10378
10682
|
projectId: string;
|
|
10379
|
-
ownerId: string;
|
|
10380
10683
|
monorepoManager?: string | null | undefined;
|
|
10684
|
+
ownerId: string;
|
|
10381
10685
|
plan: string;
|
|
10382
10686
|
config?: Config$Outbound | undefined;
|
|
10383
10687
|
functions?: { [k: string]: Functions$Outbound } | null | undefined;
|
|
@@ -10446,8 +10750,6 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType<
|
|
|
10446
10750
|
name: z.string(),
|
|
10447
10751
|
createdAt: z.number(),
|
|
10448
10752
|
type: CreateDeploymentType$outboundSchema,
|
|
10449
|
-
deletedAt: z.nullable(z.number()).optional(),
|
|
10450
|
-
version: z.number(),
|
|
10451
10753
|
autoAssignCustomDomains: z.boolean().optional(),
|
|
10452
10754
|
gitSource: z.union([
|
|
10453
10755
|
z.lazy(() => CreateDeploymentGitSource12$outboundSchema),
|
|
@@ -10473,8 +10775,10 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType<
|
|
|
10473
10775
|
source: CreateDeploymentSource$outboundSchema.optional(),
|
|
10474
10776
|
target: z.nullable(CreateDeploymentTarget$outboundSchema).optional(),
|
|
10475
10777
|
errorMessage: z.nullable(z.string()).optional(),
|
|
10778
|
+
deletedAt: z.nullable(z.number()).optional(),
|
|
10476
10779
|
passiveRegions: z.array(z.string()).optional(),
|
|
10477
10780
|
regions: z.array(z.string()),
|
|
10781
|
+
version: z.number(),
|
|
10478
10782
|
aliasError: z.nullable(z.lazy(() => AliasError$outboundSchema)).optional(),
|
|
10479
10783
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
10480
10784
|
aliasWarning: z.nullable(z.lazy(() => AliasWarning$outboundSchema))
|
|
@@ -10495,8 +10799,8 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType<
|
|
|
10495
10799
|
undeletedAt: z.number().optional(),
|
|
10496
10800
|
url: z.string(),
|
|
10497
10801
|
projectId: z.string(),
|
|
10498
|
-
ownerId: z.string(),
|
|
10499
10802
|
monorepoManager: z.nullable(z.string()).optional(),
|
|
10803
|
+
ownerId: z.string(),
|
|
10500
10804
|
plan: CreateDeploymentPlan$outboundSchema,
|
|
10501
10805
|
config: z.lazy(() => Config$outboundSchema).optional(),
|
|
10502
10806
|
functions: z.nullable(z.record(z.lazy(() => Functions$outboundSchema)))
|