@vercel/sdk 1.6.6 → 1.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -31
- package/bin/mcp-server.js +2608 -910
- package/bin/mcp-server.js.map +31 -28
- package/docs/sdks/projects/README.md +1 -1
- package/docs/sdks/vercel/README.md +77 -0
- package/esm/__tests__/environment.test.js +28 -4
- package/esm/__tests__/environment.test.js.map +1 -1
- package/esm/__tests__/projects.test.js +15 -13
- package/esm/__tests__/projects.test.js.map +1 -1
- package/esm/__tests__/vercel.test.d.ts +2 -0
- package/esm/__tests__/vercel.test.d.ts.map +1 -0
- package/esm/__tests__/vercel.test.js +21 -0
- package/esm/__tests__/vercel.test.js.map +1 -0
- package/esm/funcs/marketplaceUpdateResourceSecretsById.js +2 -2
- package/esm/funcs/marketplaceUpdateResourceSecretsById.js.map +1 -1
- package/esm/funcs/patchAliasesIdProtectionBypass.d.ts +18 -0
- package/esm/funcs/patchAliasesIdProtectionBypass.d.ts.map +1 -0
- package/esm/funcs/patchAliasesIdProtectionBypass.js +81 -0
- package/esm/funcs/patchAliasesIdProtectionBypass.js.map +1 -0
- package/esm/funcs/projectsMoveProjectDomain.d.ts +1 -1
- package/esm/funcs/projectsMoveProjectDomain.js +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/sdks.d.ts +3 -1
- package/esm/lib/sdks.d.ts.map +1 -1
- package/esm/lib/sdks.js +6 -11
- package/esm/lib/sdks.js.map +1 -1
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +3 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts +7 -0
- package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts.map +1 -0
- package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js +26 -0
- package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js.map +1 -0
- package/esm/mcp-server/tools/projectsMoveProjectDomain.js +1 -1
- package/esm/models/authuser.d.ts +0 -5
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +0 -2
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +268 -26
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +194 -24
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createcustomenvironmentop.d.ts +244 -2
- package/esm/models/createcustomenvironmentop.d.ts.map +1 -1
- package/esm/models/createcustomenvironmentop.js +174 -2
- package/esm/models/createcustomenvironmentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +357 -58
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +290 -60
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +333 -71
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +255 -75
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/createrecordop.d.ts +43 -43
- package/esm/models/createrecordop.d.ts.map +1 -1
- package/esm/models/createrecordop.js +51 -51
- package/esm/models/createrecordop.js.map +1 -1
- package/esm/models/getaliasop.d.ts +8 -8
- package/esm/models/getaliasop.d.ts.map +1 -1
- package/esm/models/getaliasop.js +12 -13
- package/esm/models/getaliasop.js.map +1 -1
- package/esm/models/getcustomenvironmentop.d.ts +242 -2
- package/esm/models/getcustomenvironmentop.d.ts.map +1 -1
- package/esm/models/getcustomenvironmentop.js +175 -2
- package/esm/models/getcustomenvironmentop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +502 -18
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +354 -14
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getprojectdomainsop.d.ts +30 -30
- package/esm/models/getprojectdomainsop.d.ts.map +1 -1
- package/esm/models/getprojectdomainsop.js +32 -32
- package/esm/models/getprojectdomainsop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +347 -95
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +287 -112
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +242 -2
- package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts.map +1 -1
- package/esm/models/getv9projectsidornamecustomenvironmentsop.js +172 -2
- package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
- package/esm/models/listaliasesop.d.ts +8 -8
- package/esm/models/listaliasesop.d.ts.map +1 -1
- package/esm/models/listaliasesop.js +12 -12
- package/esm/models/listaliasesop.js.map +1 -1
- package/esm/models/patchaliasesidprotectionbypassop.d.ts +409 -0
- package/esm/models/patchaliasesidprotectionbypassop.d.ts.map +1 -0
- package/esm/models/patchaliasesidprotectionbypassop.js +386 -0
- package/esm/models/patchaliasesidprotectionbypassop.js.map +1 -0
- package/esm/models/removecustomenvironmentop.d.ts +245 -2
- package/esm/models/removecustomenvironmentop.d.ts.map +1 -1
- package/esm/models/removecustomenvironmentop.js +173 -2
- package/esm/models/removecustomenvironmentop.js.map +1 -1
- package/esm/models/updatecustomenvironmentop.d.ts +244 -2
- package/esm/models/updatecustomenvironmentop.d.ts.map +1 -1
- package/esm/models/updatecustomenvironmentop.js +174 -2
- package/esm/models/updatecustomenvironmentop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +363 -111
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +311 -135
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +347 -95
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +287 -111
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/userevent.d.ts +124 -6
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +114 -6
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/projects.d.ts +1 -1
- package/esm/sdk/projects.js +1 -1
- package/esm/sdk/sdk.d.ts +8 -1
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +8 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/environment.test.ts +28 -4
- package/src/__tests__/projects.test.ts +15 -13
- package/src/__tests__/vercel.test.ts +26 -0
- package/src/funcs/marketplaceUpdateResourceSecretsById.ts +2 -2
- package/src/funcs/patchAliasesIdProtectionBypass.ts +185 -0
- package/src/funcs/projectsMoveProjectDomain.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/sdks.ts +11 -11
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/patchAliasesIdProtectionBypass.ts +37 -0
- package/src/mcp-server/tools/projectsMoveProjectDomain.ts +1 -1
- package/src/models/authuser.ts +0 -7
- package/src/models/canceldeploymentop.ts +503 -43
- package/src/models/createcustomenvironmentop.ts +426 -4
- package/src/models/createdeploymentop.ts +640 -117
- package/src/models/createprojectop.ts +664 -200
- package/src/models/createrecordop.ts +96 -84
- package/src/models/getaliasop.ts +16 -14
- package/src/models/getcustomenvironmentop.ts +412 -4
- package/src/models/getdeploymentop.ts +962 -49
- package/src/models/getprojectdomainsop.ts +84 -84
- package/src/models/getprojectsop.ts +637 -189
- package/src/models/getv9projectsidornamecustomenvironmentsop.ts +473 -4
- package/src/models/listaliasesop.ts +19 -16
- package/src/models/patchaliasesidprotectionbypassop.ts +786 -0
- package/src/models/removecustomenvironmentop.ts +425 -4
- package/src/models/updatecustomenvironmentop.ts +437 -4
- package/src/models/updateprojectdatacacheop.ts +738 -271
- package/src/models/updateprojectop.ts +697 -247
- package/src/models/userevent.ts +205 -12
- package/src/sdk/projects.ts +1 -1
- package/src/sdk/sdk.ts +18 -1
- package/vercel-spec.json +2667 -162
|
@@ -156,6 +156,22 @@ export const CreateProjectContentHintType = {
|
|
|
156
156
|
export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType = {
|
|
157
157
|
FlagsSecret: "flags-secret",
|
|
158
158
|
};
|
|
159
|
+
/**
|
|
160
|
+
* The type of environment (production, preview, or development)
|
|
161
|
+
*/
|
|
162
|
+
export const CreateProjectProjectsResponse200Type = {
|
|
163
|
+
Production: "production",
|
|
164
|
+
Preview: "preview",
|
|
165
|
+
Development: "development",
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* The type of matching to perform
|
|
169
|
+
*/
|
|
170
|
+
export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType = {
|
|
171
|
+
EndsWith: "endsWith",
|
|
172
|
+
StartsWith: "startsWith",
|
|
173
|
+
Equals: "equals",
|
|
174
|
+
};
|
|
159
175
|
export const CreateProjectProjectsFramework = {
|
|
160
176
|
Blitzjs: "blitzjs",
|
|
161
177
|
Nextjs: "nextjs",
|
|
@@ -241,7 +257,7 @@ export const CreateProjectReadySubstate = {
|
|
|
241
257
|
Rolling: "ROLLING",
|
|
242
258
|
Promoted: "PROMOTED",
|
|
243
259
|
};
|
|
244
|
-
export const
|
|
260
|
+
export const CreateProjectProjectsResponse200ApplicationJSONType = {
|
|
245
261
|
Lambdas: "LAMBDAS",
|
|
246
262
|
};
|
|
247
263
|
export const CreateProjectLinkProjectsResponse200Type = {
|
|
@@ -283,8 +299,8 @@ export const CreateProjectProjectsBuildMachineType = {
|
|
|
283
299
|
Enhanced: "enhanced",
|
|
284
300
|
};
|
|
285
301
|
export const CreateProjectDeploymentType = {
|
|
286
|
-
All: "all",
|
|
287
302
|
Preview: "preview",
|
|
303
|
+
All: "all",
|
|
288
304
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
289
305
|
};
|
|
290
306
|
/**
|
|
@@ -324,7 +340,7 @@ export const CreateProjectProjectsReadySubstate = {
|
|
|
324
340
|
Rolling: "ROLLING",
|
|
325
341
|
Promoted: "PROMOTED",
|
|
326
342
|
};
|
|
327
|
-
export const
|
|
343
|
+
export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyType = {
|
|
328
344
|
Lambdas: "LAMBDAS",
|
|
329
345
|
};
|
|
330
346
|
export const CreateProjectJobStatus = {
|
|
@@ -334,7 +350,7 @@ export const CreateProjectJobStatus = {
|
|
|
334
350
|
Pending: "pending",
|
|
335
351
|
InProgress: "in-progress",
|
|
336
352
|
};
|
|
337
|
-
export const
|
|
353
|
+
export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType = {
|
|
338
354
|
Promote: "promote",
|
|
339
355
|
Rollback: "rollback",
|
|
340
356
|
};
|
|
@@ -342,16 +358,16 @@ export const CreateProjectScope = {
|
|
|
342
358
|
AutomationBypass: "automation-bypass",
|
|
343
359
|
};
|
|
344
360
|
export const CreateProjectTrustedIpsProjectsDeploymentType = {
|
|
345
|
-
|
|
361
|
+
Production: "production",
|
|
346
362
|
Preview: "preview",
|
|
363
|
+
All: "all",
|
|
347
364
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
348
|
-
Production: "production",
|
|
349
365
|
};
|
|
350
366
|
export const CreateProjectTrustedIpsDeploymentType = {
|
|
351
|
-
|
|
367
|
+
Production: "production",
|
|
352
368
|
Preview: "preview",
|
|
369
|
+
All: "all",
|
|
353
370
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
354
|
-
Production: "production",
|
|
355
371
|
};
|
|
356
372
|
export const TrustedIpsProtectionMode = {
|
|
357
373
|
Additional: "additional",
|
|
@@ -628,6 +644,8 @@ export function oidcTokenConfigFromJSON(jsonString) {
|
|
|
628
644
|
}
|
|
629
645
|
/** @internal */
|
|
630
646
|
export const CreateProjectRequestBody$inboundSchema = z.object({
|
|
647
|
+
enablePreviewFeedback: z.nullable(z.boolean()).optional(),
|
|
648
|
+
enableProductionFeedback: z.nullable(z.boolean()).optional(),
|
|
631
649
|
buildCommand: z.nullable(z.string()).optional(),
|
|
632
650
|
commandForIgnoringBuildStep: z.nullable(z.string()).optional(),
|
|
633
651
|
devCommand: z.nullable(z.string()).optional(),
|
|
@@ -647,6 +665,8 @@ export const CreateProjectRequestBody$inboundSchema = z.object({
|
|
|
647
665
|
});
|
|
648
666
|
/** @internal */
|
|
649
667
|
export const CreateProjectRequestBody$outboundSchema = z.object({
|
|
668
|
+
enablePreviewFeedback: z.nullable(z.boolean()).optional(),
|
|
669
|
+
enableProductionFeedback: z.nullable(z.boolean()).optional(),
|
|
650
670
|
buildCommand: z.nullable(z.string()).optional(),
|
|
651
671
|
commandForIgnoringBuildStep: z.nullable(z.string()).optional(),
|
|
652
672
|
devCommand: z.nullable(z.string()).optional(),
|
|
@@ -1821,9 +1841,167 @@ export function createProjectEnvFromJSON(jsonString) {
|
|
|
1821
1841
|
return safeParse(jsonString, (x) => CreateProjectEnv$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectEnv' from JSON`);
|
|
1822
1842
|
}
|
|
1823
1843
|
/** @internal */
|
|
1824
|
-
export const
|
|
1844
|
+
export const CreateProjectProjectsResponse200Type$inboundSchema = z.nativeEnum(CreateProjectProjectsResponse200Type);
|
|
1845
|
+
/** @internal */
|
|
1846
|
+
export const CreateProjectProjectsResponse200Type$outboundSchema = CreateProjectProjectsResponse200Type$inboundSchema;
|
|
1847
|
+
/**
|
|
1848
|
+
* @internal
|
|
1849
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1850
|
+
*/
|
|
1851
|
+
export var CreateProjectProjectsResponse200Type$;
|
|
1852
|
+
(function (CreateProjectProjectsResponse200Type$) {
|
|
1853
|
+
/** @deprecated use `CreateProjectProjectsResponse200Type$inboundSchema` instead. */
|
|
1854
|
+
CreateProjectProjectsResponse200Type$.inboundSchema = CreateProjectProjectsResponse200Type$inboundSchema;
|
|
1855
|
+
/** @deprecated use `CreateProjectProjectsResponse200Type$outboundSchema` instead. */
|
|
1856
|
+
CreateProjectProjectsResponse200Type$.outboundSchema = CreateProjectProjectsResponse200Type$outboundSchema;
|
|
1857
|
+
})(CreateProjectProjectsResponse200Type$ || (CreateProjectProjectsResponse200Type$ = {}));
|
|
1858
|
+
/** @internal */
|
|
1859
|
+
export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema = z.nativeEnum(CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType);
|
|
1860
|
+
/** @internal */
|
|
1861
|
+
export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema = CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema;
|
|
1862
|
+
/**
|
|
1863
|
+
* @internal
|
|
1864
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1865
|
+
*/
|
|
1866
|
+
export var CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$;
|
|
1867
|
+
(function (CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$) {
|
|
1868
|
+
/** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema` instead. */
|
|
1869
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$.inboundSchema = CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema;
|
|
1870
|
+
/** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema` instead. */
|
|
1871
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$.outboundSchema = CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema;
|
|
1872
|
+
})(CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$ || (CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$ = {}));
|
|
1873
|
+
/** @internal */
|
|
1874
|
+
export const CreateProjectBranchMatcher$inboundSchema = z.object({
|
|
1875
|
+
type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema,
|
|
1876
|
+
pattern: z.string(),
|
|
1877
|
+
});
|
|
1878
|
+
/** @internal */
|
|
1879
|
+
export const CreateProjectBranchMatcher$outboundSchema = z.object({
|
|
1880
|
+
type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema,
|
|
1881
|
+
pattern: z.string(),
|
|
1882
|
+
});
|
|
1883
|
+
/**
|
|
1884
|
+
* @internal
|
|
1885
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1886
|
+
*/
|
|
1887
|
+
export var CreateProjectBranchMatcher$;
|
|
1888
|
+
(function (CreateProjectBranchMatcher$) {
|
|
1889
|
+
/** @deprecated use `CreateProjectBranchMatcher$inboundSchema` instead. */
|
|
1890
|
+
CreateProjectBranchMatcher$.inboundSchema = CreateProjectBranchMatcher$inboundSchema;
|
|
1891
|
+
/** @deprecated use `CreateProjectBranchMatcher$outboundSchema` instead. */
|
|
1892
|
+
CreateProjectBranchMatcher$.outboundSchema = CreateProjectBranchMatcher$outboundSchema;
|
|
1893
|
+
})(CreateProjectBranchMatcher$ || (CreateProjectBranchMatcher$ = {}));
|
|
1894
|
+
export function createProjectBranchMatcherToJSON(createProjectBranchMatcher) {
|
|
1895
|
+
return JSON.stringify(CreateProjectBranchMatcher$outboundSchema.parse(createProjectBranchMatcher));
|
|
1896
|
+
}
|
|
1897
|
+
export function createProjectBranchMatcherFromJSON(jsonString) {
|
|
1898
|
+
return safeParse(jsonString, (x) => CreateProjectBranchMatcher$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectBranchMatcher' from JSON`);
|
|
1899
|
+
}
|
|
1900
|
+
/** @internal */
|
|
1901
|
+
export const CreateProjectVerification$inboundSchema = z.object({
|
|
1902
|
+
type: z.string(),
|
|
1903
|
+
domain: z.string(),
|
|
1904
|
+
value: z.string(),
|
|
1905
|
+
reason: z.string(),
|
|
1906
|
+
});
|
|
1907
|
+
/** @internal */
|
|
1908
|
+
export const CreateProjectVerification$outboundSchema = z.object({
|
|
1909
|
+
type: z.string(),
|
|
1910
|
+
domain: z.string(),
|
|
1911
|
+
value: z.string(),
|
|
1912
|
+
reason: z.string(),
|
|
1913
|
+
});
|
|
1914
|
+
/**
|
|
1915
|
+
* @internal
|
|
1916
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1917
|
+
*/
|
|
1918
|
+
export var CreateProjectVerification$;
|
|
1919
|
+
(function (CreateProjectVerification$) {
|
|
1920
|
+
/** @deprecated use `CreateProjectVerification$inboundSchema` instead. */
|
|
1921
|
+
CreateProjectVerification$.inboundSchema = CreateProjectVerification$inboundSchema;
|
|
1922
|
+
/** @deprecated use `CreateProjectVerification$outboundSchema` instead. */
|
|
1923
|
+
CreateProjectVerification$.outboundSchema = CreateProjectVerification$outboundSchema;
|
|
1924
|
+
})(CreateProjectVerification$ || (CreateProjectVerification$ = {}));
|
|
1925
|
+
export function createProjectVerificationToJSON(createProjectVerification) {
|
|
1926
|
+
return JSON.stringify(CreateProjectVerification$outboundSchema.parse(createProjectVerification));
|
|
1927
|
+
}
|
|
1928
|
+
export function createProjectVerificationFromJSON(jsonString) {
|
|
1929
|
+
return safeParse(jsonString, (x) => CreateProjectVerification$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectVerification' from JSON`);
|
|
1930
|
+
}
|
|
1931
|
+
/** @internal */
|
|
1932
|
+
export const CreateProjectDomains$inboundSchema = z.object({
|
|
1933
|
+
name: z.string(),
|
|
1934
|
+
apexName: z.string(),
|
|
1935
|
+
projectId: z.string(),
|
|
1936
|
+
redirect: z.nullable(z.string()).optional(),
|
|
1937
|
+
redirectStatusCode: z.nullable(z.number()).optional(),
|
|
1938
|
+
gitBranch: z.nullable(z.string()).optional(),
|
|
1939
|
+
customEnvironmentId: z.nullable(z.string()).optional(),
|
|
1940
|
+
updatedAt: z.number().optional(),
|
|
1941
|
+
createdAt: z.number().optional(),
|
|
1942
|
+
verified: z.boolean(),
|
|
1943
|
+
verification: z.array(z.lazy(() => CreateProjectVerification$inboundSchema))
|
|
1944
|
+
.optional(),
|
|
1945
|
+
});
|
|
1946
|
+
/** @internal */
|
|
1947
|
+
export const CreateProjectDomains$outboundSchema = z.object({
|
|
1948
|
+
name: z.string(),
|
|
1949
|
+
apexName: z.string(),
|
|
1950
|
+
projectId: z.string(),
|
|
1951
|
+
redirect: z.nullable(z.string()).optional(),
|
|
1952
|
+
redirectStatusCode: z.nullable(z.number()).optional(),
|
|
1953
|
+
gitBranch: z.nullable(z.string()).optional(),
|
|
1954
|
+
customEnvironmentId: z.nullable(z.string()).optional(),
|
|
1955
|
+
updatedAt: z.number().optional(),
|
|
1956
|
+
createdAt: z.number().optional(),
|
|
1957
|
+
verified: z.boolean(),
|
|
1958
|
+
verification: z.array(z.lazy(() => CreateProjectVerification$outboundSchema))
|
|
1959
|
+
.optional(),
|
|
1960
|
+
});
|
|
1961
|
+
/**
|
|
1962
|
+
* @internal
|
|
1963
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1964
|
+
*/
|
|
1965
|
+
export var CreateProjectDomains$;
|
|
1966
|
+
(function (CreateProjectDomains$) {
|
|
1967
|
+
/** @deprecated use `CreateProjectDomains$inboundSchema` instead. */
|
|
1968
|
+
CreateProjectDomains$.inboundSchema = CreateProjectDomains$inboundSchema;
|
|
1969
|
+
/** @deprecated use `CreateProjectDomains$outboundSchema` instead. */
|
|
1970
|
+
CreateProjectDomains$.outboundSchema = CreateProjectDomains$outboundSchema;
|
|
1971
|
+
})(CreateProjectDomains$ || (CreateProjectDomains$ = {}));
|
|
1972
|
+
export function createProjectDomainsToJSON(createProjectDomains) {
|
|
1973
|
+
return JSON.stringify(CreateProjectDomains$outboundSchema.parse(createProjectDomains));
|
|
1974
|
+
}
|
|
1975
|
+
export function createProjectDomainsFromJSON(jsonString) {
|
|
1976
|
+
return safeParse(jsonString, (x) => CreateProjectDomains$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectDomains' from JSON`);
|
|
1977
|
+
}
|
|
1978
|
+
/** @internal */
|
|
1979
|
+
export const CreateProjectCustomEnvironments$inboundSchema = z.object({
|
|
1980
|
+
id: z.string(),
|
|
1981
|
+
slug: z.string(),
|
|
1982
|
+
type: CreateProjectProjectsResponse200Type$inboundSchema,
|
|
1983
|
+
description: z.string().optional(),
|
|
1984
|
+
branchMatcher: z.lazy(() => CreateProjectBranchMatcher$inboundSchema)
|
|
1985
|
+
.optional(),
|
|
1986
|
+
domains: z.array(z.lazy(() => CreateProjectDomains$inboundSchema)).optional(),
|
|
1987
|
+
currentDeploymentAliases: z.array(z.string()).optional(),
|
|
1988
|
+
createdAt: z.number(),
|
|
1989
|
+
updatedAt: z.number(),
|
|
1990
|
+
});
|
|
1825
1991
|
/** @internal */
|
|
1826
|
-
export const CreateProjectCustomEnvironments$outboundSchema = z.object({
|
|
1992
|
+
export const CreateProjectCustomEnvironments$outboundSchema = z.object({
|
|
1993
|
+
id: z.string(),
|
|
1994
|
+
slug: z.string(),
|
|
1995
|
+
type: CreateProjectProjectsResponse200Type$outboundSchema,
|
|
1996
|
+
description: z.string().optional(),
|
|
1997
|
+
branchMatcher: z.lazy(() => CreateProjectBranchMatcher$outboundSchema)
|
|
1998
|
+
.optional(),
|
|
1999
|
+
domains: z.array(z.lazy(() => CreateProjectDomains$outboundSchema))
|
|
2000
|
+
.optional(),
|
|
2001
|
+
currentDeploymentAliases: z.array(z.string()).optional(),
|
|
2002
|
+
createdAt: z.number(),
|
|
2003
|
+
updatedAt: z.number(),
|
|
2004
|
+
});
|
|
1827
2005
|
/**
|
|
1828
2006
|
* @internal
|
|
1829
2007
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
@@ -1947,12 +2125,12 @@ export var CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDepl
|
|
|
1947
2125
|
CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$.outboundSchema = CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema;
|
|
1948
2126
|
})(CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$ || (CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$ = {}));
|
|
1949
2127
|
/** @internal */
|
|
1950
|
-
export const
|
|
2128
|
+
export const CreateProjectProjectsBranchMatcher$inboundSchema = z.object({
|
|
1951
2129
|
type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema,
|
|
1952
2130
|
pattern: z.string(),
|
|
1953
2131
|
});
|
|
1954
2132
|
/** @internal */
|
|
1955
|
-
export const
|
|
2133
|
+
export const CreateProjectProjectsBranchMatcher$outboundSchema = z.object({
|
|
1956
2134
|
type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema,
|
|
1957
2135
|
pattern: z.string(),
|
|
1958
2136
|
});
|
|
@@ -1960,18 +2138,18 @@ export const CreateProjectBranchMatcher$outboundSchema = z.object({
|
|
|
1960
2138
|
* @internal
|
|
1961
2139
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1962
2140
|
*/
|
|
1963
|
-
export var
|
|
1964
|
-
(function (
|
|
1965
|
-
/** @deprecated use `
|
|
1966
|
-
|
|
1967
|
-
/** @deprecated use `
|
|
1968
|
-
|
|
1969
|
-
})(
|
|
1970
|
-
export function
|
|
1971
|
-
return JSON.stringify(
|
|
2141
|
+
export var CreateProjectProjectsBranchMatcher$;
|
|
2142
|
+
(function (CreateProjectProjectsBranchMatcher$) {
|
|
2143
|
+
/** @deprecated use `CreateProjectProjectsBranchMatcher$inboundSchema` instead. */
|
|
2144
|
+
CreateProjectProjectsBranchMatcher$.inboundSchema = CreateProjectProjectsBranchMatcher$inboundSchema;
|
|
2145
|
+
/** @deprecated use `CreateProjectProjectsBranchMatcher$outboundSchema` instead. */
|
|
2146
|
+
CreateProjectProjectsBranchMatcher$.outboundSchema = CreateProjectProjectsBranchMatcher$outboundSchema;
|
|
2147
|
+
})(CreateProjectProjectsBranchMatcher$ || (CreateProjectProjectsBranchMatcher$ = {}));
|
|
2148
|
+
export function createProjectProjectsBranchMatcherToJSON(createProjectProjectsBranchMatcher) {
|
|
2149
|
+
return JSON.stringify(CreateProjectProjectsBranchMatcher$outboundSchema.parse(createProjectProjectsBranchMatcher));
|
|
1972
2150
|
}
|
|
1973
|
-
export function
|
|
1974
|
-
return safeParse(jsonString, (x) =>
|
|
2151
|
+
export function createProjectProjectsBranchMatcherFromJSON(jsonString) {
|
|
2152
|
+
return safeParse(jsonString, (x) => CreateProjectProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectProjectsBranchMatcher' from JSON`);
|
|
1975
2153
|
}
|
|
1976
2154
|
/** @internal */
|
|
1977
2155
|
export const CreateProjectBuilds$inboundSchema = z.object({
|
|
@@ -2162,20 +2340,20 @@ export var CreateProjectReadySubstate$;
|
|
|
2162
2340
|
CreateProjectReadySubstate$.outboundSchema = CreateProjectReadySubstate$outboundSchema;
|
|
2163
2341
|
})(CreateProjectReadySubstate$ || (CreateProjectReadySubstate$ = {}));
|
|
2164
2342
|
/** @internal */
|
|
2165
|
-
export const
|
|
2343
|
+
export const CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema = z.nativeEnum(CreateProjectProjectsResponse200ApplicationJSONType);
|
|
2166
2344
|
/** @internal */
|
|
2167
|
-
export const
|
|
2345
|
+
export const CreateProjectProjectsResponse200ApplicationJSONType$outboundSchema = CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema;
|
|
2168
2346
|
/**
|
|
2169
2347
|
* @internal
|
|
2170
2348
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2171
2349
|
*/
|
|
2172
|
-
export var
|
|
2173
|
-
(function (
|
|
2174
|
-
/** @deprecated use `
|
|
2175
|
-
|
|
2176
|
-
/** @deprecated use `
|
|
2177
|
-
|
|
2178
|
-
})(
|
|
2350
|
+
export var CreateProjectProjectsResponse200ApplicationJSONType$;
|
|
2351
|
+
(function (CreateProjectProjectsResponse200ApplicationJSONType$) {
|
|
2352
|
+
/** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
|
|
2353
|
+
CreateProjectProjectsResponse200ApplicationJSONType$.inboundSchema = CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema;
|
|
2354
|
+
/** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
|
|
2355
|
+
CreateProjectProjectsResponse200ApplicationJSONType$.outboundSchema = CreateProjectProjectsResponse200ApplicationJSONType$outboundSchema;
|
|
2356
|
+
})(CreateProjectProjectsResponse200ApplicationJSONType$ || (CreateProjectProjectsResponse200ApplicationJSONType$ = {}));
|
|
2179
2357
|
/** @internal */
|
|
2180
2358
|
export const CreateProjectLatestDeployments$inboundSchema = z.object({
|
|
2181
2359
|
id: z.string(),
|
|
@@ -2185,7 +2363,7 @@ export const CreateProjectLatestDeployments$inboundSchema = z.object({
|
|
|
2185
2363
|
.optional(),
|
|
2186
2364
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
2187
2365
|
automaticAliases: z.array(z.string()).optional(),
|
|
2188
|
-
branchMatcher: z.lazy(() =>
|
|
2366
|
+
branchMatcher: z.lazy(() => CreateProjectProjectsBranchMatcher$inboundSchema)
|
|
2189
2367
|
.optional(),
|
|
2190
2368
|
buildingAt: z.number().optional(),
|
|
2191
2369
|
builds: z.array(z.lazy(() => CreateProjectBuilds$inboundSchema)).optional(),
|
|
@@ -2213,7 +2391,7 @@ export const CreateProjectLatestDeployments$inboundSchema = z.object({
|
|
|
2213
2391
|
requestedAt: z.number().optional(),
|
|
2214
2392
|
target: z.nullable(z.string()).optional(),
|
|
2215
2393
|
teamId: z.nullable(z.string()).optional(),
|
|
2216
|
-
type:
|
|
2394
|
+
type: CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema,
|
|
2217
2395
|
url: z.string(),
|
|
2218
2396
|
userId: z.string(),
|
|
2219
2397
|
withCache: z.boolean().optional(),
|
|
@@ -2227,7 +2405,7 @@ export const CreateProjectLatestDeployments$outboundSchema = z.object({
|
|
|
2227
2405
|
.optional(),
|
|
2228
2406
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
2229
2407
|
automaticAliases: z.array(z.string()).optional(),
|
|
2230
|
-
branchMatcher: z.lazy(() =>
|
|
2408
|
+
branchMatcher: z.lazy(() => CreateProjectProjectsBranchMatcher$outboundSchema)
|
|
2231
2409
|
.optional(),
|
|
2232
2410
|
buildingAt: z.number().optional(),
|
|
2233
2411
|
builds: z.array(z.lazy(() => CreateProjectBuilds$outboundSchema)).optional(),
|
|
@@ -2255,7 +2433,7 @@ export const CreateProjectLatestDeployments$outboundSchema = z.object({
|
|
|
2255
2433
|
requestedAt: z.number().optional(),
|
|
2256
2434
|
target: z.nullable(z.string()).optional(),
|
|
2257
2435
|
teamId: z.nullable(z.string()).optional(),
|
|
2258
|
-
type:
|
|
2436
|
+
type: CreateProjectProjectsResponse200ApplicationJSONType$outboundSchema,
|
|
2259
2437
|
url: z.string(),
|
|
2260
2438
|
userId: z.string(),
|
|
2261
2439
|
withCache: z.boolean().optional(),
|
|
@@ -2938,12 +3116,14 @@ export const CreateProjectStages$inboundSchema = z.object({
|
|
|
2938
3116
|
targetPercentage: z.number(),
|
|
2939
3117
|
minutesToRelease: z.number().optional(),
|
|
2940
3118
|
requireApproval: z.boolean().optional(),
|
|
3119
|
+
duration: z.number().optional(),
|
|
2941
3120
|
});
|
|
2942
3121
|
/** @internal */
|
|
2943
3122
|
export const CreateProjectStages$outboundSchema = z.object({
|
|
2944
3123
|
targetPercentage: z.number(),
|
|
2945
3124
|
minutesToRelease: z.number().optional(),
|
|
2946
3125
|
requireApproval: z.boolean().optional(),
|
|
3126
|
+
duration: z.number().optional(),
|
|
2947
3127
|
});
|
|
2948
3128
|
/**
|
|
2949
3129
|
* @internal
|
|
@@ -3167,12 +3347,12 @@ export var CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsTyp
|
|
|
3167
3347
|
CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$.outboundSchema = CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema;
|
|
3168
3348
|
})(CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$ || (CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$ = {}));
|
|
3169
3349
|
/** @internal */
|
|
3170
|
-
export const
|
|
3350
|
+
export const CreateProjectProjectsResponseBranchMatcher$inboundSchema = z.object({
|
|
3171
3351
|
type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema,
|
|
3172
3352
|
pattern: z.string(),
|
|
3173
3353
|
});
|
|
3174
3354
|
/** @internal */
|
|
3175
|
-
export const
|
|
3355
|
+
export const CreateProjectProjectsResponseBranchMatcher$outboundSchema = z.object({
|
|
3176
3356
|
type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema,
|
|
3177
3357
|
pattern: z.string(),
|
|
3178
3358
|
});
|
|
@@ -3180,18 +3360,18 @@ export const CreateProjectProjectsBranchMatcher$outboundSchema = z.object({
|
|
|
3180
3360
|
* @internal
|
|
3181
3361
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3182
3362
|
*/
|
|
3183
|
-
export var
|
|
3184
|
-
(function (
|
|
3185
|
-
/** @deprecated use `
|
|
3186
|
-
|
|
3187
|
-
/** @deprecated use `
|
|
3188
|
-
|
|
3189
|
-
})(
|
|
3190
|
-
export function
|
|
3191
|
-
return JSON.stringify(
|
|
3363
|
+
export var CreateProjectProjectsResponseBranchMatcher$;
|
|
3364
|
+
(function (CreateProjectProjectsResponseBranchMatcher$) {
|
|
3365
|
+
/** @deprecated use `CreateProjectProjectsResponseBranchMatcher$inboundSchema` instead. */
|
|
3366
|
+
CreateProjectProjectsResponseBranchMatcher$.inboundSchema = CreateProjectProjectsResponseBranchMatcher$inboundSchema;
|
|
3367
|
+
/** @deprecated use `CreateProjectProjectsResponseBranchMatcher$outboundSchema` instead. */
|
|
3368
|
+
CreateProjectProjectsResponseBranchMatcher$.outboundSchema = CreateProjectProjectsResponseBranchMatcher$outboundSchema;
|
|
3369
|
+
})(CreateProjectProjectsResponseBranchMatcher$ || (CreateProjectProjectsResponseBranchMatcher$ = {}));
|
|
3370
|
+
export function createProjectProjectsResponseBranchMatcherToJSON(createProjectProjectsResponseBranchMatcher) {
|
|
3371
|
+
return JSON.stringify(CreateProjectProjectsResponseBranchMatcher$outboundSchema.parse(createProjectProjectsResponseBranchMatcher));
|
|
3192
3372
|
}
|
|
3193
|
-
export function
|
|
3194
|
-
return safeParse(jsonString, (x) =>
|
|
3373
|
+
export function createProjectProjectsResponseBranchMatcherFromJSON(jsonString) {
|
|
3374
|
+
return safeParse(jsonString, (x) => CreateProjectProjectsResponseBranchMatcher$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectProjectsResponseBranchMatcher' from JSON`);
|
|
3195
3375
|
}
|
|
3196
3376
|
/** @internal */
|
|
3197
3377
|
export const CreateProjectProjectsBuilds$inboundSchema = z.object({
|
|
@@ -3382,20 +3562,20 @@ export var CreateProjectProjectsReadySubstate$;
|
|
|
3382
3562
|
CreateProjectProjectsReadySubstate$.outboundSchema = CreateProjectProjectsReadySubstate$outboundSchema;
|
|
3383
3563
|
})(CreateProjectProjectsReadySubstate$ || (CreateProjectProjectsReadySubstate$ = {}));
|
|
3384
3564
|
/** @internal */
|
|
3385
|
-
export const
|
|
3565
|
+
export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema = z.nativeEnum(CreateProjectProjectsResponse200ApplicationJSONResponseBodyType);
|
|
3386
3566
|
/** @internal */
|
|
3387
|
-
export const
|
|
3567
|
+
export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema = CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
3388
3568
|
/**
|
|
3389
3569
|
* @internal
|
|
3390
3570
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3391
3571
|
*/
|
|
3392
|
-
export var
|
|
3393
|
-
(function (
|
|
3394
|
-
/** @deprecated use `
|
|
3395
|
-
|
|
3396
|
-
/** @deprecated use `
|
|
3397
|
-
|
|
3398
|
-
})(
|
|
3572
|
+
export var CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$;
|
|
3573
|
+
(function (CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$) {
|
|
3574
|
+
/** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
|
|
3575
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$.inboundSchema = CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
3576
|
+
/** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
|
|
3577
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$.outboundSchema = CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema;
|
|
3578
|
+
})(CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$ || (CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$ = {}));
|
|
3399
3579
|
/** @internal */
|
|
3400
3580
|
export const CreateProjectTargets$inboundSchema = z.object({
|
|
3401
3581
|
id: z.string(),
|
|
@@ -3404,8 +3584,7 @@ export const CreateProjectTargets$inboundSchema = z.object({
|
|
|
3404
3584
|
aliasError: z.nullable(z.lazy(() => CreateProjectProjectsAliasError$inboundSchema)).optional(),
|
|
3405
3585
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
3406
3586
|
automaticAliases: z.array(z.string()).optional(),
|
|
3407
|
-
branchMatcher: z.lazy(() =>
|
|
3408
|
-
.optional(),
|
|
3587
|
+
branchMatcher: z.lazy(() => CreateProjectProjectsResponseBranchMatcher$inboundSchema).optional(),
|
|
3409
3588
|
buildingAt: z.number().optional(),
|
|
3410
3589
|
builds: z.array(z.lazy(() => CreateProjectProjectsBuilds$inboundSchema))
|
|
3411
3590
|
.optional(),
|
|
@@ -3433,7 +3612,7 @@ export const CreateProjectTargets$inboundSchema = z.object({
|
|
|
3433
3612
|
requestedAt: z.number().optional(),
|
|
3434
3613
|
target: z.nullable(z.string()).optional(),
|
|
3435
3614
|
teamId: z.nullable(z.string()).optional(),
|
|
3436
|
-
type:
|
|
3615
|
+
type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema,
|
|
3437
3616
|
url: z.string(),
|
|
3438
3617
|
userId: z.string(),
|
|
3439
3618
|
withCache: z.boolean().optional(),
|
|
@@ -3446,8 +3625,7 @@ export const CreateProjectTargets$outboundSchema = z.object({
|
|
|
3446
3625
|
aliasError: z.nullable(z.lazy(() => CreateProjectProjectsAliasError$outboundSchema)).optional(),
|
|
3447
3626
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
3448
3627
|
automaticAliases: z.array(z.string()).optional(),
|
|
3449
|
-
branchMatcher: z.lazy(() =>
|
|
3450
|
-
.optional(),
|
|
3628
|
+
branchMatcher: z.lazy(() => CreateProjectProjectsResponseBranchMatcher$outboundSchema).optional(),
|
|
3451
3629
|
buildingAt: z.number().optional(),
|
|
3452
3630
|
builds: z.array(z.lazy(() => CreateProjectProjectsBuilds$outboundSchema))
|
|
3453
3631
|
.optional(),
|
|
@@ -3475,7 +3653,7 @@ export const CreateProjectTargets$outboundSchema = z.object({
|
|
|
3475
3653
|
requestedAt: z.number().optional(),
|
|
3476
3654
|
target: z.nullable(z.string()).optional(),
|
|
3477
3655
|
teamId: z.nullable(z.string()).optional(),
|
|
3478
|
-
type:
|
|
3656
|
+
type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema,
|
|
3479
3657
|
url: z.string(),
|
|
3480
3658
|
userId: z.string(),
|
|
3481
3659
|
withCache: z.boolean().optional(),
|
|
@@ -3971,35 +4149,37 @@ export var CreateProjectJobStatus$;
|
|
|
3971
4149
|
CreateProjectJobStatus$.outboundSchema = CreateProjectJobStatus$outboundSchema;
|
|
3972
4150
|
})(CreateProjectJobStatus$ || (CreateProjectJobStatus$ = {}));
|
|
3973
4151
|
/** @internal */
|
|
3974
|
-
export const
|
|
4152
|
+
export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$inboundSchema = z.nativeEnum(CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType);
|
|
3975
4153
|
/** @internal */
|
|
3976
|
-
export const
|
|
4154
|
+
export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$outboundSchema = CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$inboundSchema;
|
|
3977
4155
|
/**
|
|
3978
4156
|
* @internal
|
|
3979
4157
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3980
4158
|
*/
|
|
3981
|
-
export var
|
|
3982
|
-
(function (
|
|
3983
|
-
/** @deprecated use `
|
|
3984
|
-
|
|
3985
|
-
/** @deprecated use `
|
|
3986
|
-
|
|
3987
|
-
})(
|
|
4159
|
+
export var CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$;
|
|
4160
|
+
(function (CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$) {
|
|
4161
|
+
/** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$inboundSchema` instead. */
|
|
4162
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$.inboundSchema = CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$inboundSchema;
|
|
4163
|
+
/** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$outboundSchema` instead. */
|
|
4164
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$.outboundSchema = CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$outboundSchema;
|
|
4165
|
+
})(CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$ || (CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$ = {}));
|
|
3988
4166
|
/** @internal */
|
|
3989
4167
|
export const CreateProjectLastAliasRequest$inboundSchema = z.object({
|
|
3990
4168
|
fromDeploymentId: z.string(),
|
|
3991
4169
|
toDeploymentId: z.string(),
|
|
4170
|
+
fromRollingReleaseId: z.string().optional(),
|
|
3992
4171
|
jobStatus: CreateProjectJobStatus$inboundSchema,
|
|
3993
4172
|
requestedAt: z.number(),
|
|
3994
|
-
type:
|
|
4173
|
+
type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$inboundSchema,
|
|
3995
4174
|
});
|
|
3996
4175
|
/** @internal */
|
|
3997
4176
|
export const CreateProjectLastAliasRequest$outboundSchema = z.object({
|
|
3998
4177
|
fromDeploymentId: z.string(),
|
|
3999
4178
|
toDeploymentId: z.string(),
|
|
4179
|
+
fromRollingReleaseId: z.string().optional(),
|
|
4000
4180
|
jobStatus: CreateProjectJobStatus$outboundSchema,
|
|
4001
4181
|
requestedAt: z.number(),
|
|
4002
|
-
type:
|
|
4182
|
+
type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$outboundSchema,
|
|
4003
4183
|
});
|
|
4004
4184
|
/**
|
|
4005
4185
|
* @internal
|