@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.
Files changed (154) hide show
  1. package/README.md +19 -31
  2. package/bin/mcp-server.js +2608 -910
  3. package/bin/mcp-server.js.map +31 -28
  4. package/docs/sdks/projects/README.md +1 -1
  5. package/docs/sdks/vercel/README.md +77 -0
  6. package/esm/__tests__/environment.test.js +28 -4
  7. package/esm/__tests__/environment.test.js.map +1 -1
  8. package/esm/__tests__/projects.test.js +15 -13
  9. package/esm/__tests__/projects.test.js.map +1 -1
  10. package/esm/__tests__/vercel.test.d.ts +2 -0
  11. package/esm/__tests__/vercel.test.d.ts.map +1 -0
  12. package/esm/__tests__/vercel.test.js +21 -0
  13. package/esm/__tests__/vercel.test.js.map +1 -0
  14. package/esm/funcs/marketplaceUpdateResourceSecretsById.js +2 -2
  15. package/esm/funcs/marketplaceUpdateResourceSecretsById.js.map +1 -1
  16. package/esm/funcs/patchAliasesIdProtectionBypass.d.ts +18 -0
  17. package/esm/funcs/patchAliasesIdProtectionBypass.d.ts.map +1 -0
  18. package/esm/funcs/patchAliasesIdProtectionBypass.js +81 -0
  19. package/esm/funcs/patchAliasesIdProtectionBypass.js.map +1 -0
  20. package/esm/funcs/projectsMoveProjectDomain.d.ts +1 -1
  21. package/esm/funcs/projectsMoveProjectDomain.js +1 -1
  22. package/esm/lib/config.d.ts +3 -3
  23. package/esm/lib/config.js +3 -3
  24. package/esm/lib/sdks.d.ts +3 -1
  25. package/esm/lib/sdks.d.ts.map +1 -1
  26. package/esm/lib/sdks.js +6 -11
  27. package/esm/lib/sdks.js.map +1 -1
  28. package/esm/mcp-server/mcp-server.js +1 -1
  29. package/esm/mcp-server/server.d.ts.map +1 -1
  30. package/esm/mcp-server/server.js +3 -1
  31. package/esm/mcp-server/server.js.map +1 -1
  32. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts +7 -0
  33. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts.map +1 -0
  34. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js +26 -0
  35. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js.map +1 -0
  36. package/esm/mcp-server/tools/projectsMoveProjectDomain.js +1 -1
  37. package/esm/models/authuser.d.ts +0 -5
  38. package/esm/models/authuser.d.ts.map +1 -1
  39. package/esm/models/authuser.js +0 -2
  40. package/esm/models/authuser.js.map +1 -1
  41. package/esm/models/canceldeploymentop.d.ts +268 -26
  42. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  43. package/esm/models/canceldeploymentop.js +194 -24
  44. package/esm/models/canceldeploymentop.js.map +1 -1
  45. package/esm/models/createcustomenvironmentop.d.ts +244 -2
  46. package/esm/models/createcustomenvironmentop.d.ts.map +1 -1
  47. package/esm/models/createcustomenvironmentop.js +174 -2
  48. package/esm/models/createcustomenvironmentop.js.map +1 -1
  49. package/esm/models/createdeploymentop.d.ts +357 -58
  50. package/esm/models/createdeploymentop.d.ts.map +1 -1
  51. package/esm/models/createdeploymentop.js +290 -60
  52. package/esm/models/createdeploymentop.js.map +1 -1
  53. package/esm/models/createprojectop.d.ts +333 -71
  54. package/esm/models/createprojectop.d.ts.map +1 -1
  55. package/esm/models/createprojectop.js +255 -75
  56. package/esm/models/createprojectop.js.map +1 -1
  57. package/esm/models/createrecordop.d.ts +43 -43
  58. package/esm/models/createrecordop.d.ts.map +1 -1
  59. package/esm/models/createrecordop.js +51 -51
  60. package/esm/models/createrecordop.js.map +1 -1
  61. package/esm/models/getaliasop.d.ts +8 -8
  62. package/esm/models/getaliasop.d.ts.map +1 -1
  63. package/esm/models/getaliasop.js +12 -13
  64. package/esm/models/getaliasop.js.map +1 -1
  65. package/esm/models/getcustomenvironmentop.d.ts +242 -2
  66. package/esm/models/getcustomenvironmentop.d.ts.map +1 -1
  67. package/esm/models/getcustomenvironmentop.js +175 -2
  68. package/esm/models/getcustomenvironmentop.js.map +1 -1
  69. package/esm/models/getdeploymentop.d.ts +502 -18
  70. package/esm/models/getdeploymentop.d.ts.map +1 -1
  71. package/esm/models/getdeploymentop.js +354 -14
  72. package/esm/models/getdeploymentop.js.map +1 -1
  73. package/esm/models/getprojectdomainsop.d.ts +30 -30
  74. package/esm/models/getprojectdomainsop.d.ts.map +1 -1
  75. package/esm/models/getprojectdomainsop.js +32 -32
  76. package/esm/models/getprojectdomainsop.js.map +1 -1
  77. package/esm/models/getprojectsop.d.ts +347 -95
  78. package/esm/models/getprojectsop.d.ts.map +1 -1
  79. package/esm/models/getprojectsop.js +287 -112
  80. package/esm/models/getprojectsop.js.map +1 -1
  81. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +242 -2
  82. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts.map +1 -1
  83. package/esm/models/getv9projectsidornamecustomenvironmentsop.js +172 -2
  84. package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
  85. package/esm/models/listaliasesop.d.ts +8 -8
  86. package/esm/models/listaliasesop.d.ts.map +1 -1
  87. package/esm/models/listaliasesop.js +12 -12
  88. package/esm/models/listaliasesop.js.map +1 -1
  89. package/esm/models/patchaliasesidprotectionbypassop.d.ts +409 -0
  90. package/esm/models/patchaliasesidprotectionbypassop.d.ts.map +1 -0
  91. package/esm/models/patchaliasesidprotectionbypassop.js +386 -0
  92. package/esm/models/patchaliasesidprotectionbypassop.js.map +1 -0
  93. package/esm/models/removecustomenvironmentop.d.ts +245 -2
  94. package/esm/models/removecustomenvironmentop.d.ts.map +1 -1
  95. package/esm/models/removecustomenvironmentop.js +173 -2
  96. package/esm/models/removecustomenvironmentop.js.map +1 -1
  97. package/esm/models/updatecustomenvironmentop.d.ts +244 -2
  98. package/esm/models/updatecustomenvironmentop.d.ts.map +1 -1
  99. package/esm/models/updatecustomenvironmentop.js +174 -2
  100. package/esm/models/updatecustomenvironmentop.js.map +1 -1
  101. package/esm/models/updateprojectdatacacheop.d.ts +363 -111
  102. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  103. package/esm/models/updateprojectdatacacheop.js +311 -135
  104. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  105. package/esm/models/updateprojectop.d.ts +347 -95
  106. package/esm/models/updateprojectop.d.ts.map +1 -1
  107. package/esm/models/updateprojectop.js +287 -111
  108. package/esm/models/updateprojectop.js.map +1 -1
  109. package/esm/models/userevent.d.ts +124 -6
  110. package/esm/models/userevent.d.ts.map +1 -1
  111. package/esm/models/userevent.js +114 -6
  112. package/esm/models/userevent.js.map +1 -1
  113. package/esm/sdk/projects.d.ts +1 -1
  114. package/esm/sdk/projects.js +1 -1
  115. package/esm/sdk/sdk.d.ts +8 -1
  116. package/esm/sdk/sdk.d.ts.map +1 -1
  117. package/esm/sdk/sdk.js +8 -0
  118. package/esm/sdk/sdk.js.map +1 -1
  119. package/jsr.json +1 -1
  120. package/package.json +1 -1
  121. package/src/__tests__/environment.test.ts +28 -4
  122. package/src/__tests__/projects.test.ts +15 -13
  123. package/src/__tests__/vercel.test.ts +26 -0
  124. package/src/funcs/marketplaceUpdateResourceSecretsById.ts +2 -2
  125. package/src/funcs/patchAliasesIdProtectionBypass.ts +185 -0
  126. package/src/funcs/projectsMoveProjectDomain.ts +1 -1
  127. package/src/lib/config.ts +3 -3
  128. package/src/lib/sdks.ts +11 -11
  129. package/src/mcp-server/mcp-server.ts +1 -1
  130. package/src/mcp-server/server.ts +3 -1
  131. package/src/mcp-server/tools/patchAliasesIdProtectionBypass.ts +37 -0
  132. package/src/mcp-server/tools/projectsMoveProjectDomain.ts +1 -1
  133. package/src/models/authuser.ts +0 -7
  134. package/src/models/canceldeploymentop.ts +503 -43
  135. package/src/models/createcustomenvironmentop.ts +426 -4
  136. package/src/models/createdeploymentop.ts +640 -117
  137. package/src/models/createprojectop.ts +664 -200
  138. package/src/models/createrecordop.ts +96 -84
  139. package/src/models/getaliasop.ts +16 -14
  140. package/src/models/getcustomenvironmentop.ts +412 -4
  141. package/src/models/getdeploymentop.ts +962 -49
  142. package/src/models/getprojectdomainsop.ts +84 -84
  143. package/src/models/getprojectsop.ts +637 -189
  144. package/src/models/getv9projectsidornamecustomenvironmentsop.ts +473 -4
  145. package/src/models/listaliasesop.ts +19 -16
  146. package/src/models/patchaliasesidprotectionbypassop.ts +786 -0
  147. package/src/models/removecustomenvironmentop.ts +425 -4
  148. package/src/models/updatecustomenvironmentop.ts +437 -4
  149. package/src/models/updateprojectdatacacheop.ts +738 -271
  150. package/src/models/updateprojectop.ts +697 -247
  151. package/src/models/userevent.ts +205 -12
  152. package/src/sdk/projects.ts +1 -1
  153. package/src/sdk/sdk.ts +18 -1
  154. package/vercel-spec.json +2667 -162
@@ -270,15 +270,15 @@ export type GetProjectsContentHint1 = {
270
270
  storeId: string;
271
271
  };
272
272
  export type GetProjectsContentHint = GetProjectsContentHint1 | GetProjectsContentHint2 | GetProjectsContentHint3 | GetProjectsContentHint4 | GetProjectsContentHint5 | GetProjectsContentHint6 | GetProjectsContentHint7 | GetProjectsContentHint8 | GetProjectsContentHint9 | GetProjectsContentHint10 | GetProjectsContentHint11 | GetProjectsContentHint12 | GetProjectsContentHint13 | GetProjectsContentHint15 | GetProjectsContentHint14;
273
- export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType: {
273
+ export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType: {
274
274
  readonly FlagsSecret: "flags-secret";
275
275
  };
276
- export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType = ClosedEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType>;
276
+ export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyType = ClosedEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType>;
277
277
  /**
278
278
  * Similar to `contentHints`, but should not be exposed to the user.
279
279
  */
280
280
  export type GetProjectsInternalContentHint = {
281
- type: GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType;
281
+ type: GetProjectsProjectsResponse200ApplicationJSONResponseBodyType;
282
282
  /**
283
283
  * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.
284
284
  */
@@ -312,7 +312,115 @@ export type GetProjectsEnv = {
312
312
  comment?: string | undefined;
313
313
  customEnvironmentIds?: Array<string> | undefined;
314
314
  };
315
- export type GetProjectsCustomEnvironments = {};
315
+ /**
316
+ * The type of environment (production, preview, or development)
317
+ */
318
+ export declare const GetProjectsProjectsType: {
319
+ readonly Production: "production";
320
+ readonly Preview: "preview";
321
+ readonly Development: "development";
322
+ };
323
+ /**
324
+ * The type of environment (production, preview, or development)
325
+ */
326
+ export type GetProjectsProjectsType = ClosedEnum<typeof GetProjectsProjectsType>;
327
+ /**
328
+ * The type of matching to perform
329
+ */
330
+ export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType: {
331
+ readonly EndsWith: "endsWith";
332
+ readonly StartsWith: "startsWith";
333
+ readonly Equals: "equals";
334
+ };
335
+ /**
336
+ * The type of matching to perform
337
+ */
338
+ export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType = ClosedEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType>;
339
+ /**
340
+ * Configuration for matching git branches to this environment
341
+ */
342
+ export type GetProjectsBranchMatcher = {
343
+ /**
344
+ * The type of matching to perform
345
+ */
346
+ type: GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType;
347
+ /**
348
+ * The pattern to match against branch names
349
+ */
350
+ pattern: string;
351
+ };
352
+ /**
353
+ * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.
354
+ */
355
+ export type GetProjectsVerification = {
356
+ type: string;
357
+ domain: string;
358
+ value: string;
359
+ reason: string;
360
+ };
361
+ /**
362
+ * List of domains associated with this environment
363
+ */
364
+ export type GetProjectsDomains = {
365
+ name: string;
366
+ apexName: string;
367
+ projectId: string;
368
+ redirect?: string | null | undefined;
369
+ redirectStatusCode?: number | null | undefined;
370
+ gitBranch?: string | null | undefined;
371
+ customEnvironmentId?: string | null | undefined;
372
+ updatedAt?: number | undefined;
373
+ createdAt?: number | undefined;
374
+ /**
375
+ * `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed.
376
+ */
377
+ verified: boolean;
378
+ /**
379
+ * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.
380
+ */
381
+ verification?: Array<GetProjectsVerification> | undefined;
382
+ };
383
+ /**
384
+ * Internal representation of a custom environment with all required properties
385
+ */
386
+ export type GetProjectsCustomEnvironments = {
387
+ /**
388
+ * Unique identifier for the custom environment (format: env_*)
389
+ */
390
+ id: string;
391
+ /**
392
+ * URL-friendly name of the environment
393
+ */
394
+ slug: string;
395
+ /**
396
+ * The type of environment (production, preview, or development)
397
+ */
398
+ type: GetProjectsProjectsType;
399
+ /**
400
+ * Optional description of the environment's purpose
401
+ */
402
+ description?: string | undefined;
403
+ /**
404
+ * Configuration for matching git branches to this environment
405
+ */
406
+ branchMatcher?: GetProjectsBranchMatcher | undefined;
407
+ /**
408
+ * List of domains associated with this environment
409
+ */
410
+ domains?: Array<GetProjectsDomains> | undefined;
411
+ /**
412
+ * List of aliases for the current deployment
413
+ */
414
+ currentDeploymentAliases?: Array<string> | undefined;
415
+ /**
416
+ * Timestamp when the environment was created
417
+ */
418
+ createdAt: number;
419
+ /**
420
+ * Timestamp when the environment was last updated
421
+ */
422
+ updatedAt: number;
423
+ };
316
424
  export declare const GetProjectsFramework: {
317
425
  readonly Blitzjs: "blitzjs";
318
426
  readonly Nextjs: "nextjs";
@@ -374,7 +482,7 @@ export type GetProjectsAliasError = {
374
482
  /**
375
483
  * The type of matching to perform
376
484
  */
377
- export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType: {
485
+ export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType: {
378
486
  readonly EndsWith: "endsWith";
379
487
  readonly StartsWith: "startsWith";
380
488
  readonly Equals: "equals";
@@ -382,12 +490,12 @@ export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyTy
382
490
  /**
383
491
  * The type of matching to perform
384
492
  */
385
- export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyType = ClosedEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType>;
386
- export type GetProjectsBranchMatcher = {
493
+ export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType = ClosedEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType>;
494
+ export type GetProjectsProjectsBranchMatcher = {
387
495
  /**
388
496
  * The type of matching to perform
389
497
  */
390
- type: GetProjectsProjectsResponse200ApplicationJSONResponseBodyType;
498
+ type: GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType;
391
499
  /**
392
500
  * The pattern to match against branch names
393
501
  */
@@ -450,10 +558,10 @@ export declare const GetProjectsReadySubstate: {
450
558
  readonly Promoted: "PROMOTED";
451
559
  };
452
560
  export type GetProjectsReadySubstate = ClosedEnum<typeof GetProjectsReadySubstate>;
453
- export declare const GetProjectsProjectsType: {
561
+ export declare const GetProjectsProjectsResponseType: {
454
562
  readonly Lambdas: "LAMBDAS";
455
563
  };
456
- export type GetProjectsProjectsType = ClosedEnum<typeof GetProjectsProjectsType>;
564
+ export type GetProjectsProjectsResponseType = ClosedEnum<typeof GetProjectsProjectsResponseType>;
457
565
  export type GetProjectsLatestDeployments = {
458
566
  id: string;
459
567
  alias?: Array<string> | undefined;
@@ -461,7 +569,7 @@ export type GetProjectsLatestDeployments = {
461
569
  aliasError?: GetProjectsAliasError | null | undefined;
462
570
  aliasFinal?: string | null | undefined;
463
571
  automaticAliases?: Array<string> | undefined;
464
- branchMatcher?: GetProjectsBranchMatcher | undefined;
572
+ branchMatcher?: GetProjectsProjectsBranchMatcher | undefined;
465
573
  buildingAt?: number | undefined;
466
574
  builds?: Array<GetProjectsBuilds> | undefined;
467
575
  checksConclusion?: GetProjectsChecksConclusion | undefined;
@@ -492,7 +600,7 @@ export type GetProjectsLatestDeployments = {
492
600
  requestedAt?: number | undefined;
493
601
  target?: string | null | undefined;
494
602
  teamId?: string | null | undefined;
495
- type: GetProjectsProjectsType;
603
+ type: GetProjectsProjectsResponseType;
496
604
  url: string;
497
605
  userId: string;
498
606
  withCache?: boolean | undefined;
@@ -692,6 +800,10 @@ export type GetProjectsStages = {
692
800
  * Whether or not this stage requires approval to proceed.
693
801
  */
694
802
  requireApproval?: boolean | undefined;
803
+ /**
804
+ * duration is the total time to serve a stage, at the given targetPercentage.
805
+ */
806
+ duration?: number | undefined;
695
807
  };
696
808
  export type GetProjectsRollingRelease = {
697
809
  /**
@@ -727,8 +839,8 @@ export type GetProjectsDefaultResourceConfig = {
727
839
  buildMachineType?: GetProjectsProjectsBuildMachineType | undefined;
728
840
  };
729
841
  export declare const GetProjectsDeploymentType: {
730
- readonly All: "all";
731
842
  readonly Preview: "preview";
843
+ readonly All: "all";
732
844
  readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
733
845
  };
734
846
  export type GetProjectsDeploymentType = ClosedEnum<typeof GetProjectsDeploymentType>;
@@ -743,7 +855,7 @@ export type GetProjectsProjectsAliasError = {
743
855
  /**
744
856
  * The type of matching to perform
745
857
  */
746
- export declare const GetProjectsProjectsResponse200ApplicationJSONType: {
858
+ export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType: {
747
859
  readonly EndsWith: "endsWith";
748
860
  readonly StartsWith: "startsWith";
749
861
  readonly Equals: "equals";
@@ -751,12 +863,12 @@ export declare const GetProjectsProjectsResponse200ApplicationJSONType: {
751
863
  /**
752
864
  * The type of matching to perform
753
865
  */
754
- export type GetProjectsProjectsResponse200ApplicationJSONType = ClosedEnum<typeof GetProjectsProjectsResponse200ApplicationJSONType>;
755
- export type GetProjectsProjectsBranchMatcher = {
866
+ export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType = ClosedEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType>;
867
+ export type GetProjectsProjectsResponseBranchMatcher = {
756
868
  /**
757
869
  * The type of matching to perform
758
870
  */
759
- type: GetProjectsProjectsResponse200ApplicationJSONType;
871
+ type: GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType;
760
872
  /**
761
873
  * The pattern to match against branch names
762
874
  */
@@ -819,10 +931,10 @@ export declare const GetProjectsProjectsReadySubstate: {
819
931
  readonly Promoted: "PROMOTED";
820
932
  };
821
933
  export type GetProjectsProjectsReadySubstate = ClosedEnum<typeof GetProjectsProjectsReadySubstate>;
822
- export declare const GetProjectsProjectsResponseType: {
934
+ export declare const GetProjectsProjectsResponse200Type: {
823
935
  readonly Lambdas: "LAMBDAS";
824
936
  };
825
- export type GetProjectsProjectsResponseType = ClosedEnum<typeof GetProjectsProjectsResponseType>;
937
+ export type GetProjectsProjectsResponse200Type = ClosedEnum<typeof GetProjectsProjectsResponse200Type>;
826
938
  export type GetProjectsTargets = {
827
939
  id: string;
828
940
  alias?: Array<string> | undefined;
@@ -830,7 +942,7 @@ export type GetProjectsTargets = {
830
942
  aliasError?: GetProjectsProjectsAliasError | null | undefined;
831
943
  aliasFinal?: string | null | undefined;
832
944
  automaticAliases?: Array<string> | undefined;
833
- branchMatcher?: GetProjectsProjectsBranchMatcher | undefined;
945
+ branchMatcher?: GetProjectsProjectsResponseBranchMatcher | undefined;
834
946
  buildingAt?: number | undefined;
835
947
  builds?: Array<GetProjectsProjectsBuilds> | undefined;
836
948
  checksConclusion?: GetProjectsProjectsChecksConclusion | undefined;
@@ -861,7 +973,7 @@ export type GetProjectsTargets = {
861
973
  requestedAt?: number | undefined;
862
974
  target?: string | null | undefined;
863
975
  teamId?: string | null | undefined;
864
- type: GetProjectsProjectsResponseType;
976
+ type: GetProjectsProjectsResponse200Type;
865
977
  url: string;
866
978
  userId: string;
867
979
  withCache?: boolean | undefined;
@@ -1072,17 +1184,21 @@ export declare const GetProjectsJobStatus: {
1072
1184
  readonly InProgress: "in-progress";
1073
1185
  };
1074
1186
  export type GetProjectsJobStatus = ClosedEnum<typeof GetProjectsJobStatus>;
1075
- export declare const GetProjectsProjectsResponse200Type: {
1187
+ export declare const GetProjectsProjectsResponse200ApplicationJSONType: {
1076
1188
  readonly Promote: "promote";
1077
1189
  readonly Rollback: "rollback";
1078
1190
  };
1079
- export type GetProjectsProjectsResponse200Type = ClosedEnum<typeof GetProjectsProjectsResponse200Type>;
1191
+ export type GetProjectsProjectsResponse200ApplicationJSONType = ClosedEnum<typeof GetProjectsProjectsResponse200ApplicationJSONType>;
1080
1192
  export type GetProjectsLastAliasRequest = {
1081
1193
  fromDeploymentId: string;
1082
1194
  toDeploymentId: string;
1195
+ /**
1196
+ * If rolling back from a rolling release, fromDeploymentId captures the "base" of that rolling release, and fromRollingReleaseId captures the "target" of that rolling release.
1197
+ */
1198
+ fromRollingReleaseId?: string | undefined;
1083
1199
  jobStatus: GetProjectsJobStatus;
1084
1200
  requestedAt: number;
1085
- type: GetProjectsProjectsResponse200Type;
1201
+ type: GetProjectsProjectsResponse200ApplicationJSONType;
1086
1202
  };
1087
1203
  export declare const GetProjectsScope: {
1088
1204
  readonly AutomationBypass: "automation-bypass";
@@ -1094,20 +1210,20 @@ export type GetProjectsProtectionBypass = {
1094
1210
  scope: GetProjectsScope;
1095
1211
  };
1096
1212
  export declare const GetProjectsTrustedIpsProjectsDeploymentType: {
1097
- readonly All: "all";
1213
+ readonly Production: "production";
1098
1214
  readonly Preview: "preview";
1215
+ readonly All: "all";
1099
1216
  readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
1100
- readonly Production: "production";
1101
1217
  };
1102
1218
  export type GetProjectsTrustedIpsProjectsDeploymentType = ClosedEnum<typeof GetProjectsTrustedIpsProjectsDeploymentType>;
1103
1219
  export type GetProjectsTrustedIps2 = {
1104
1220
  deploymentType: GetProjectsTrustedIpsProjectsDeploymentType;
1105
1221
  };
1106
1222
  export declare const GetProjectsTrustedIpsDeploymentType: {
1107
- readonly All: "all";
1223
+ readonly Production: "production";
1108
1224
  readonly Preview: "preview";
1225
+ readonly All: "all";
1109
1226
  readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
1110
- readonly Production: "production";
1111
1227
  };
1112
1228
  export type GetProjectsTrustedIpsDeploymentType = ClosedEnum<typeof GetProjectsTrustedIpsDeploymentType>;
1113
1229
  export type GetProjectsTrustedIpsAddresses = {
@@ -2356,19 +2472,19 @@ export declare namespace GetProjectsContentHint$ {
2356
2472
  export declare function getProjectsContentHintToJSON(getProjectsContentHint: GetProjectsContentHint): string;
2357
2473
  export declare function getProjectsContentHintFromJSON(jsonString: string): SafeParseResult<GetProjectsContentHint, SDKValidationError>;
2358
2474
  /** @internal */
2359
- export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType>;
2475
+ export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType>;
2360
2476
  /** @internal */
2361
- export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType>;
2477
+ export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType>;
2362
2478
  /**
2363
2479
  * @internal
2364
2480
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2365
2481
  */
2366
- export declare namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$ {
2367
- /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema` instead. */
2482
+ export declare namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$ {
2483
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
2368
2484
  const inboundSchema: z.ZodNativeEnum<{
2369
2485
  readonly FlagsSecret: "flags-secret";
2370
2486
  }>;
2371
- /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema` instead. */
2487
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
2372
2488
  const outboundSchema: z.ZodNativeEnum<{
2373
2489
  readonly FlagsSecret: "flags-secret";
2374
2490
  }>;
@@ -2438,9 +2554,143 @@ export declare namespace GetProjectsEnv$ {
2438
2554
  export declare function getProjectsEnvToJSON(getProjectsEnv: GetProjectsEnv): string;
2439
2555
  export declare function getProjectsEnvFromJSON(jsonString: string): SafeParseResult<GetProjectsEnv, SDKValidationError>;
2440
2556
  /** @internal */
2557
+ export declare const GetProjectsProjectsType$inboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsType>;
2558
+ /** @internal */
2559
+ export declare const GetProjectsProjectsType$outboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsType>;
2560
+ /**
2561
+ * @internal
2562
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2563
+ */
2564
+ export declare namespace GetProjectsProjectsType$ {
2565
+ /** @deprecated use `GetProjectsProjectsType$inboundSchema` instead. */
2566
+ const inboundSchema: z.ZodNativeEnum<{
2567
+ readonly Production: "production";
2568
+ readonly Preview: "preview";
2569
+ readonly Development: "development";
2570
+ }>;
2571
+ /** @deprecated use `GetProjectsProjectsType$outboundSchema` instead. */
2572
+ const outboundSchema: z.ZodNativeEnum<{
2573
+ readonly Production: "production";
2574
+ readonly Preview: "preview";
2575
+ readonly Development: "development";
2576
+ }>;
2577
+ }
2578
+ /** @internal */
2579
+ export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$inboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType>;
2580
+ /** @internal */
2581
+ export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$outboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType>;
2582
+ /**
2583
+ * @internal
2584
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2585
+ */
2586
+ export declare namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$ {
2587
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$inboundSchema` instead. */
2588
+ const inboundSchema: z.ZodNativeEnum<{
2589
+ readonly EndsWith: "endsWith";
2590
+ readonly StartsWith: "startsWith";
2591
+ readonly Equals: "equals";
2592
+ }>;
2593
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$outboundSchema` instead. */
2594
+ const outboundSchema: z.ZodNativeEnum<{
2595
+ readonly EndsWith: "endsWith";
2596
+ readonly StartsWith: "startsWith";
2597
+ readonly Equals: "equals";
2598
+ }>;
2599
+ }
2600
+ /** @internal */
2601
+ export declare const GetProjectsBranchMatcher$inboundSchema: z.ZodType<GetProjectsBranchMatcher, z.ZodTypeDef, unknown>;
2602
+ /** @internal */
2603
+ export type GetProjectsBranchMatcher$Outbound = {
2604
+ type: string;
2605
+ pattern: string;
2606
+ };
2607
+ /** @internal */
2608
+ export declare const GetProjectsBranchMatcher$outboundSchema: z.ZodType<GetProjectsBranchMatcher$Outbound, z.ZodTypeDef, GetProjectsBranchMatcher>;
2609
+ /**
2610
+ * @internal
2611
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2612
+ */
2613
+ export declare namespace GetProjectsBranchMatcher$ {
2614
+ /** @deprecated use `GetProjectsBranchMatcher$inboundSchema` instead. */
2615
+ const inboundSchema: z.ZodType<GetProjectsBranchMatcher, z.ZodTypeDef, unknown>;
2616
+ /** @deprecated use `GetProjectsBranchMatcher$outboundSchema` instead. */
2617
+ const outboundSchema: z.ZodType<GetProjectsBranchMatcher$Outbound, z.ZodTypeDef, GetProjectsBranchMatcher>;
2618
+ /** @deprecated use `GetProjectsBranchMatcher$Outbound` instead. */
2619
+ type Outbound = GetProjectsBranchMatcher$Outbound;
2620
+ }
2621
+ export declare function getProjectsBranchMatcherToJSON(getProjectsBranchMatcher: GetProjectsBranchMatcher): string;
2622
+ export declare function getProjectsBranchMatcherFromJSON(jsonString: string): SafeParseResult<GetProjectsBranchMatcher, SDKValidationError>;
2623
+ /** @internal */
2624
+ export declare const GetProjectsVerification$inboundSchema: z.ZodType<GetProjectsVerification, z.ZodTypeDef, unknown>;
2625
+ /** @internal */
2626
+ export type GetProjectsVerification$Outbound = {
2627
+ type: string;
2628
+ domain: string;
2629
+ value: string;
2630
+ reason: string;
2631
+ };
2632
+ /** @internal */
2633
+ export declare const GetProjectsVerification$outboundSchema: z.ZodType<GetProjectsVerification$Outbound, z.ZodTypeDef, GetProjectsVerification>;
2634
+ /**
2635
+ * @internal
2636
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2637
+ */
2638
+ export declare namespace GetProjectsVerification$ {
2639
+ /** @deprecated use `GetProjectsVerification$inboundSchema` instead. */
2640
+ const inboundSchema: z.ZodType<GetProjectsVerification, z.ZodTypeDef, unknown>;
2641
+ /** @deprecated use `GetProjectsVerification$outboundSchema` instead. */
2642
+ const outboundSchema: z.ZodType<GetProjectsVerification$Outbound, z.ZodTypeDef, GetProjectsVerification>;
2643
+ /** @deprecated use `GetProjectsVerification$Outbound` instead. */
2644
+ type Outbound = GetProjectsVerification$Outbound;
2645
+ }
2646
+ export declare function getProjectsVerificationToJSON(getProjectsVerification: GetProjectsVerification): string;
2647
+ export declare function getProjectsVerificationFromJSON(jsonString: string): SafeParseResult<GetProjectsVerification, SDKValidationError>;
2648
+ /** @internal */
2649
+ export declare const GetProjectsDomains$inboundSchema: z.ZodType<GetProjectsDomains, z.ZodTypeDef, unknown>;
2650
+ /** @internal */
2651
+ export type GetProjectsDomains$Outbound = {
2652
+ name: string;
2653
+ apexName: string;
2654
+ projectId: string;
2655
+ redirect?: string | null | undefined;
2656
+ redirectStatusCode?: number | null | undefined;
2657
+ gitBranch?: string | null | undefined;
2658
+ customEnvironmentId?: string | null | undefined;
2659
+ updatedAt?: number | undefined;
2660
+ createdAt?: number | undefined;
2661
+ verified: boolean;
2662
+ verification?: Array<GetProjectsVerification$Outbound> | undefined;
2663
+ };
2664
+ /** @internal */
2665
+ export declare const GetProjectsDomains$outboundSchema: z.ZodType<GetProjectsDomains$Outbound, z.ZodTypeDef, GetProjectsDomains>;
2666
+ /**
2667
+ * @internal
2668
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2669
+ */
2670
+ export declare namespace GetProjectsDomains$ {
2671
+ /** @deprecated use `GetProjectsDomains$inboundSchema` instead. */
2672
+ const inboundSchema: z.ZodType<GetProjectsDomains, z.ZodTypeDef, unknown>;
2673
+ /** @deprecated use `GetProjectsDomains$outboundSchema` instead. */
2674
+ const outboundSchema: z.ZodType<GetProjectsDomains$Outbound, z.ZodTypeDef, GetProjectsDomains>;
2675
+ /** @deprecated use `GetProjectsDomains$Outbound` instead. */
2676
+ type Outbound = GetProjectsDomains$Outbound;
2677
+ }
2678
+ export declare function getProjectsDomainsToJSON(getProjectsDomains: GetProjectsDomains): string;
2679
+ export declare function getProjectsDomainsFromJSON(jsonString: string): SafeParseResult<GetProjectsDomains, SDKValidationError>;
2680
+ /** @internal */
2441
2681
  export declare const GetProjectsCustomEnvironments$inboundSchema: z.ZodType<GetProjectsCustomEnvironments, z.ZodTypeDef, unknown>;
2442
2682
  /** @internal */
2443
- export type GetProjectsCustomEnvironments$Outbound = {};
2683
+ export type GetProjectsCustomEnvironments$Outbound = {
2684
+ id: string;
2685
+ slug: string;
2686
+ type: string;
2687
+ description?: string | undefined;
2688
+ branchMatcher?: GetProjectsBranchMatcher$Outbound | undefined;
2689
+ domains?: Array<GetProjectsDomains$Outbound> | undefined;
2690
+ currentDeploymentAliases?: Array<string> | undefined;
2691
+ createdAt: number;
2692
+ updatedAt: number;
2693
+ };
2444
2694
  /** @internal */
2445
2695
  export declare const GetProjectsCustomEnvironments$outboundSchema: z.ZodType<GetProjectsCustomEnvironments$Outbound, z.ZodTypeDef, GetProjectsCustomEnvironments>;
2446
2696
  /**
@@ -2632,21 +2882,21 @@ export declare namespace GetProjectsAliasError$ {
2632
2882
  export declare function getProjectsAliasErrorToJSON(getProjectsAliasError: GetProjectsAliasError): string;
2633
2883
  export declare function getProjectsAliasErrorFromJSON(jsonString: string): SafeParseResult<GetProjectsAliasError, SDKValidationError>;
2634
2884
  /** @internal */
2635
- export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType>;
2885
+ export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$inboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType>;
2636
2886
  /** @internal */
2637
- export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType>;
2887
+ export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$outboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType>;
2638
2888
  /**
2639
2889
  * @internal
2640
2890
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2641
2891
  */
2642
- export declare namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$ {
2643
- /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
2892
+ export declare namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$ {
2893
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$inboundSchema` instead. */
2644
2894
  const inboundSchema: z.ZodNativeEnum<{
2645
2895
  readonly EndsWith: "endsWith";
2646
2896
  readonly StartsWith: "startsWith";
2647
2897
  readonly Equals: "equals";
2648
2898
  }>;
2649
- /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
2899
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$outboundSchema` instead. */
2650
2900
  const outboundSchema: z.ZodNativeEnum<{
2651
2901
  readonly EndsWith: "endsWith";
2652
2902
  readonly StartsWith: "startsWith";
@@ -2654,28 +2904,28 @@ export declare namespace GetProjectsProjectsResponse200ApplicationJSONResponseBo
2654
2904
  }>;
2655
2905
  }
2656
2906
  /** @internal */
2657
- export declare const GetProjectsBranchMatcher$inboundSchema: z.ZodType<GetProjectsBranchMatcher, z.ZodTypeDef, unknown>;
2907
+ export declare const GetProjectsProjectsBranchMatcher$inboundSchema: z.ZodType<GetProjectsProjectsBranchMatcher, z.ZodTypeDef, unknown>;
2658
2908
  /** @internal */
2659
- export type GetProjectsBranchMatcher$Outbound = {
2909
+ export type GetProjectsProjectsBranchMatcher$Outbound = {
2660
2910
  type: string;
2661
2911
  pattern: string;
2662
2912
  };
2663
2913
  /** @internal */
2664
- export declare const GetProjectsBranchMatcher$outboundSchema: z.ZodType<GetProjectsBranchMatcher$Outbound, z.ZodTypeDef, GetProjectsBranchMatcher>;
2914
+ export declare const GetProjectsProjectsBranchMatcher$outboundSchema: z.ZodType<GetProjectsProjectsBranchMatcher$Outbound, z.ZodTypeDef, GetProjectsProjectsBranchMatcher>;
2665
2915
  /**
2666
2916
  * @internal
2667
2917
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2668
2918
  */
2669
- export declare namespace GetProjectsBranchMatcher$ {
2670
- /** @deprecated use `GetProjectsBranchMatcher$inboundSchema` instead. */
2671
- const inboundSchema: z.ZodType<GetProjectsBranchMatcher, z.ZodTypeDef, unknown>;
2672
- /** @deprecated use `GetProjectsBranchMatcher$outboundSchema` instead. */
2673
- const outboundSchema: z.ZodType<GetProjectsBranchMatcher$Outbound, z.ZodTypeDef, GetProjectsBranchMatcher>;
2674
- /** @deprecated use `GetProjectsBranchMatcher$Outbound` instead. */
2675
- type Outbound = GetProjectsBranchMatcher$Outbound;
2919
+ export declare namespace GetProjectsProjectsBranchMatcher$ {
2920
+ /** @deprecated use `GetProjectsProjectsBranchMatcher$inboundSchema` instead. */
2921
+ const inboundSchema: z.ZodType<GetProjectsProjectsBranchMatcher, z.ZodTypeDef, unknown>;
2922
+ /** @deprecated use `GetProjectsProjectsBranchMatcher$outboundSchema` instead. */
2923
+ const outboundSchema: z.ZodType<GetProjectsProjectsBranchMatcher$Outbound, z.ZodTypeDef, GetProjectsProjectsBranchMatcher>;
2924
+ /** @deprecated use `GetProjectsProjectsBranchMatcher$Outbound` instead. */
2925
+ type Outbound = GetProjectsProjectsBranchMatcher$Outbound;
2676
2926
  }
2677
- export declare function getProjectsBranchMatcherToJSON(getProjectsBranchMatcher: GetProjectsBranchMatcher): string;
2678
- export declare function getProjectsBranchMatcherFromJSON(jsonString: string): SafeParseResult<GetProjectsBranchMatcher, SDKValidationError>;
2927
+ export declare function getProjectsProjectsBranchMatcherToJSON(getProjectsProjectsBranchMatcher: GetProjectsProjectsBranchMatcher): string;
2928
+ export declare function getProjectsProjectsBranchMatcherFromJSON(jsonString: string): SafeParseResult<GetProjectsProjectsBranchMatcher, SDKValidationError>;
2679
2929
  /** @internal */
2680
2930
  export declare const GetProjectsBuilds$inboundSchema: z.ZodType<GetProjectsBuilds, z.ZodTypeDef, unknown>;
2681
2931
  /** @internal */
@@ -2875,19 +3125,19 @@ export declare namespace GetProjectsReadySubstate$ {
2875
3125
  }>;
2876
3126
  }
2877
3127
  /** @internal */
2878
- export declare const GetProjectsProjectsType$inboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsType>;
3128
+ export declare const GetProjectsProjectsResponseType$inboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponseType>;
2879
3129
  /** @internal */
2880
- export declare const GetProjectsProjectsType$outboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsType>;
3130
+ export declare const GetProjectsProjectsResponseType$outboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponseType>;
2881
3131
  /**
2882
3132
  * @internal
2883
3133
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2884
3134
  */
2885
- export declare namespace GetProjectsProjectsType$ {
2886
- /** @deprecated use `GetProjectsProjectsType$inboundSchema` instead. */
3135
+ export declare namespace GetProjectsProjectsResponseType$ {
3136
+ /** @deprecated use `GetProjectsProjectsResponseType$inboundSchema` instead. */
2887
3137
  const inboundSchema: z.ZodNativeEnum<{
2888
3138
  readonly Lambdas: "LAMBDAS";
2889
3139
  }>;
2890
- /** @deprecated use `GetProjectsProjectsType$outboundSchema` instead. */
3140
+ /** @deprecated use `GetProjectsProjectsResponseType$outboundSchema` instead. */
2891
3141
  const outboundSchema: z.ZodNativeEnum<{
2892
3142
  readonly Lambdas: "LAMBDAS";
2893
3143
  }>;
@@ -2902,7 +3152,7 @@ export type GetProjectsLatestDeployments$Outbound = {
2902
3152
  aliasError?: GetProjectsAliasError$Outbound | null | undefined;
2903
3153
  aliasFinal?: string | null | undefined;
2904
3154
  automaticAliases?: Array<string> | undefined;
2905
- branchMatcher?: GetProjectsBranchMatcher$Outbound | undefined;
3155
+ branchMatcher?: GetProjectsProjectsBranchMatcher$Outbound | undefined;
2906
3156
  buildingAt?: number | undefined;
2907
3157
  builds?: Array<GetProjectsBuilds$Outbound> | undefined;
2908
3158
  checksConclusion?: string | undefined;
@@ -3521,6 +3771,7 @@ export type GetProjectsStages$Outbound = {
3521
3771
  targetPercentage: number;
3522
3772
  minutesToRelease?: number | undefined;
3523
3773
  requireApproval?: boolean | undefined;
3774
+ duration?: number | undefined;
3524
3775
  };
3525
3776
  /** @internal */
3526
3777
  export declare const GetProjectsStages$outboundSchema: z.ZodType<GetProjectsStages$Outbound, z.ZodTypeDef, GetProjectsStages>;
@@ -3641,14 +3892,14 @@ export declare const GetProjectsDeploymentType$outboundSchema: z.ZodNativeEnum<t
3641
3892
  export declare namespace GetProjectsDeploymentType$ {
3642
3893
  /** @deprecated use `GetProjectsDeploymentType$inboundSchema` instead. */
3643
3894
  const inboundSchema: z.ZodNativeEnum<{
3644
- readonly All: "all";
3645
3895
  readonly Preview: "preview";
3896
+ readonly All: "all";
3646
3897
  readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
3647
3898
  }>;
3648
3899
  /** @deprecated use `GetProjectsDeploymentType$outboundSchema` instead. */
3649
3900
  const outboundSchema: z.ZodNativeEnum<{
3650
- readonly All: "all";
3651
3901
  readonly Preview: "preview";
3902
+ readonly All: "all";
3652
3903
  readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
3653
3904
  }>;
3654
3905
  }
@@ -3718,21 +3969,21 @@ export declare namespace GetProjectsProjectsAliasError$ {
3718
3969
  export declare function getProjectsProjectsAliasErrorToJSON(getProjectsProjectsAliasError: GetProjectsProjectsAliasError): string;
3719
3970
  export declare function getProjectsProjectsAliasErrorFromJSON(jsonString: string): SafeParseResult<GetProjectsProjectsAliasError, SDKValidationError>;
3720
3971
  /** @internal */
3721
- export declare const GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONType>;
3972
+ export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType>;
3722
3973
  /** @internal */
3723
- export declare const GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONType>;
3974
+ export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType>;
3724
3975
  /**
3725
3976
  * @internal
3726
3977
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3727
3978
  */
3728
- export declare namespace GetProjectsProjectsResponse200ApplicationJSONType$ {
3729
- /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
3979
+ export declare namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$ {
3980
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema` instead. */
3730
3981
  const inboundSchema: z.ZodNativeEnum<{
3731
3982
  readonly EndsWith: "endsWith";
3732
3983
  readonly StartsWith: "startsWith";
3733
3984
  readonly Equals: "equals";
3734
3985
  }>;
3735
- /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
3986
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema` instead. */
3736
3987
  const outboundSchema: z.ZodNativeEnum<{
3737
3988
  readonly EndsWith: "endsWith";
3738
3989
  readonly StartsWith: "startsWith";
@@ -3740,28 +3991,28 @@ export declare namespace GetProjectsProjectsResponse200ApplicationJSONType$ {
3740
3991
  }>;
3741
3992
  }
3742
3993
  /** @internal */
3743
- export declare const GetProjectsProjectsBranchMatcher$inboundSchema: z.ZodType<GetProjectsProjectsBranchMatcher, z.ZodTypeDef, unknown>;
3994
+ export declare const GetProjectsProjectsResponseBranchMatcher$inboundSchema: z.ZodType<GetProjectsProjectsResponseBranchMatcher, z.ZodTypeDef, unknown>;
3744
3995
  /** @internal */
3745
- export type GetProjectsProjectsBranchMatcher$Outbound = {
3996
+ export type GetProjectsProjectsResponseBranchMatcher$Outbound = {
3746
3997
  type: string;
3747
3998
  pattern: string;
3748
3999
  };
3749
4000
  /** @internal */
3750
- export declare const GetProjectsProjectsBranchMatcher$outboundSchema: z.ZodType<GetProjectsProjectsBranchMatcher$Outbound, z.ZodTypeDef, GetProjectsProjectsBranchMatcher>;
4001
+ export declare const GetProjectsProjectsResponseBranchMatcher$outboundSchema: z.ZodType<GetProjectsProjectsResponseBranchMatcher$Outbound, z.ZodTypeDef, GetProjectsProjectsResponseBranchMatcher>;
3751
4002
  /**
3752
4003
  * @internal
3753
4004
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3754
4005
  */
3755
- export declare namespace GetProjectsProjectsBranchMatcher$ {
3756
- /** @deprecated use `GetProjectsProjectsBranchMatcher$inboundSchema` instead. */
3757
- const inboundSchema: z.ZodType<GetProjectsProjectsBranchMatcher, z.ZodTypeDef, unknown>;
3758
- /** @deprecated use `GetProjectsProjectsBranchMatcher$outboundSchema` instead. */
3759
- const outboundSchema: z.ZodType<GetProjectsProjectsBranchMatcher$Outbound, z.ZodTypeDef, GetProjectsProjectsBranchMatcher>;
3760
- /** @deprecated use `GetProjectsProjectsBranchMatcher$Outbound` instead. */
3761
- type Outbound = GetProjectsProjectsBranchMatcher$Outbound;
4006
+ export declare namespace GetProjectsProjectsResponseBranchMatcher$ {
4007
+ /** @deprecated use `GetProjectsProjectsResponseBranchMatcher$inboundSchema` instead. */
4008
+ const inboundSchema: z.ZodType<GetProjectsProjectsResponseBranchMatcher, z.ZodTypeDef, unknown>;
4009
+ /** @deprecated use `GetProjectsProjectsResponseBranchMatcher$outboundSchema` instead. */
4010
+ const outboundSchema: z.ZodType<GetProjectsProjectsResponseBranchMatcher$Outbound, z.ZodTypeDef, GetProjectsProjectsResponseBranchMatcher>;
4011
+ /** @deprecated use `GetProjectsProjectsResponseBranchMatcher$Outbound` instead. */
4012
+ type Outbound = GetProjectsProjectsResponseBranchMatcher$Outbound;
3762
4013
  }
3763
- export declare function getProjectsProjectsBranchMatcherToJSON(getProjectsProjectsBranchMatcher: GetProjectsProjectsBranchMatcher): string;
3764
- export declare function getProjectsProjectsBranchMatcherFromJSON(jsonString: string): SafeParseResult<GetProjectsProjectsBranchMatcher, SDKValidationError>;
4014
+ export declare function getProjectsProjectsResponseBranchMatcherToJSON(getProjectsProjectsResponseBranchMatcher: GetProjectsProjectsResponseBranchMatcher): string;
4015
+ export declare function getProjectsProjectsResponseBranchMatcherFromJSON(jsonString: string): SafeParseResult<GetProjectsProjectsResponseBranchMatcher, SDKValidationError>;
3765
4016
  /** @internal */
3766
4017
  export declare const GetProjectsProjectsBuilds$inboundSchema: z.ZodType<GetProjectsProjectsBuilds, z.ZodTypeDef, unknown>;
3767
4018
  /** @internal */
@@ -3961,19 +4212,19 @@ export declare namespace GetProjectsProjectsReadySubstate$ {
3961
4212
  }>;
3962
4213
  }
3963
4214
  /** @internal */
3964
- export declare const GetProjectsProjectsResponseType$inboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponseType>;
4215
+ export declare const GetProjectsProjectsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200Type>;
3965
4216
  /** @internal */
3966
- export declare const GetProjectsProjectsResponseType$outboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponseType>;
4217
+ export declare const GetProjectsProjectsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200Type>;
3967
4218
  /**
3968
4219
  * @internal
3969
4220
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3970
4221
  */
3971
- export declare namespace GetProjectsProjectsResponseType$ {
3972
- /** @deprecated use `GetProjectsProjectsResponseType$inboundSchema` instead. */
4222
+ export declare namespace GetProjectsProjectsResponse200Type$ {
4223
+ /** @deprecated use `GetProjectsProjectsResponse200Type$inboundSchema` instead. */
3973
4224
  const inboundSchema: z.ZodNativeEnum<{
3974
4225
  readonly Lambdas: "LAMBDAS";
3975
4226
  }>;
3976
- /** @deprecated use `GetProjectsProjectsResponseType$outboundSchema` instead. */
4227
+ /** @deprecated use `GetProjectsProjectsResponse200Type$outboundSchema` instead. */
3977
4228
  const outboundSchema: z.ZodNativeEnum<{
3978
4229
  readonly Lambdas: "LAMBDAS";
3979
4230
  }>;
@@ -3988,7 +4239,7 @@ export type GetProjectsTargets$Outbound = {
3988
4239
  aliasError?: GetProjectsProjectsAliasError$Outbound | null | undefined;
3989
4240
  aliasFinal?: string | null | undefined;
3990
4241
  automaticAliases?: Array<string> | undefined;
3991
- branchMatcher?: GetProjectsProjectsBranchMatcher$Outbound | undefined;
4242
+ branchMatcher?: GetProjectsProjectsResponseBranchMatcher$Outbound | undefined;
3992
4243
  buildingAt?: number | undefined;
3993
4244
  builds?: Array<GetProjectsProjectsBuilds$Outbound> | undefined;
3994
4245
  checksConclusion?: string | undefined;
@@ -4300,20 +4551,20 @@ export declare namespace GetProjectsJobStatus$ {
4300
4551
  }>;
4301
4552
  }
4302
4553
  /** @internal */
4303
- export declare const GetProjectsProjectsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200Type>;
4554
+ export declare const GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONType>;
4304
4555
  /** @internal */
4305
- export declare const GetProjectsProjectsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200Type>;
4556
+ export declare const GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONType>;
4306
4557
  /**
4307
4558
  * @internal
4308
4559
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4309
4560
  */
4310
- export declare namespace GetProjectsProjectsResponse200Type$ {
4311
- /** @deprecated use `GetProjectsProjectsResponse200Type$inboundSchema` instead. */
4561
+ export declare namespace GetProjectsProjectsResponse200ApplicationJSONType$ {
4562
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
4312
4563
  const inboundSchema: z.ZodNativeEnum<{
4313
4564
  readonly Promote: "promote";
4314
4565
  readonly Rollback: "rollback";
4315
4566
  }>;
4316
- /** @deprecated use `GetProjectsProjectsResponse200Type$outboundSchema` instead. */
4567
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
4317
4568
  const outboundSchema: z.ZodNativeEnum<{
4318
4569
  readonly Promote: "promote";
4319
4570
  readonly Rollback: "rollback";
@@ -4325,6 +4576,7 @@ export declare const GetProjectsLastAliasRequest$inboundSchema: z.ZodType<GetPro
4325
4576
  export type GetProjectsLastAliasRequest$Outbound = {
4326
4577
  fromDeploymentId: string;
4327
4578
  toDeploymentId: string;
4579
+ fromRollingReleaseId?: string | undefined;
4328
4580
  jobStatus: string;
4329
4581
  requestedAt: number;
4330
4582
  type: string;
@@ -4398,17 +4650,17 @@ export declare const GetProjectsTrustedIpsProjectsDeploymentType$outboundSchema:
4398
4650
  export declare namespace GetProjectsTrustedIpsProjectsDeploymentType$ {
4399
4651
  /** @deprecated use `GetProjectsTrustedIpsProjectsDeploymentType$inboundSchema` instead. */
4400
4652
  const inboundSchema: z.ZodNativeEnum<{
4401
- readonly All: "all";
4653
+ readonly Production: "production";
4402
4654
  readonly Preview: "preview";
4655
+ readonly All: "all";
4403
4656
  readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
4404
- readonly Production: "production";
4405
4657
  }>;
4406
4658
  /** @deprecated use `GetProjectsTrustedIpsProjectsDeploymentType$outboundSchema` instead. */
4407
4659
  const outboundSchema: z.ZodNativeEnum<{
4408
- readonly All: "all";
4660
+ readonly Production: "production";
4409
4661
  readonly Preview: "preview";
4662
+ readonly All: "all";
4410
4663
  readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
4411
- readonly Production: "production";
4412
4664
  }>;
4413
4665
  }
4414
4666
  /** @internal */
@@ -4444,17 +4696,17 @@ export declare const GetProjectsTrustedIpsDeploymentType$outboundSchema: z.ZodNa
4444
4696
  export declare namespace GetProjectsTrustedIpsDeploymentType$ {
4445
4697
  /** @deprecated use `GetProjectsTrustedIpsDeploymentType$inboundSchema` instead. */
4446
4698
  const inboundSchema: z.ZodNativeEnum<{
4447
- readonly All: "all";
4699
+ readonly Production: "production";
4448
4700
  readonly Preview: "preview";
4701
+ readonly All: "all";
4449
4702
  readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
4450
- readonly Production: "production";
4451
4703
  }>;
4452
4704
  /** @deprecated use `GetProjectsTrustedIpsDeploymentType$outboundSchema` instead. */
4453
4705
  const outboundSchema: z.ZodNativeEnum<{
4454
- readonly All: "all";
4706
+ readonly Production: "production";
4455
4707
  readonly Preview: "preview";
4708
+ readonly All: "all";
4456
4709
  readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
4457
- readonly Production: "production";
4458
4710
  }>;
4459
4711
  }
4460
4712
  /** @internal */