@vercel/sdk 1.6.7 → 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 (142) hide show
  1. package/README.md +17 -29
  2. package/bin/mcp-server.js +2591 -901
  3. package/bin/mcp-server.js.map +29 -26
  4. package/docs/sdks/vercel/README.md +77 -0
  5. package/esm/__tests__/environment.test.js +28 -4
  6. package/esm/__tests__/environment.test.js.map +1 -1
  7. package/esm/__tests__/vercel.test.d.ts +2 -0
  8. package/esm/__tests__/vercel.test.d.ts.map +1 -0
  9. package/esm/__tests__/vercel.test.js +21 -0
  10. package/esm/__tests__/vercel.test.js.map +1 -0
  11. package/esm/funcs/marketplaceUpdateResourceSecretsById.js +2 -2
  12. package/esm/funcs/marketplaceUpdateResourceSecretsById.js.map +1 -1
  13. package/esm/funcs/patchAliasesIdProtectionBypass.d.ts +18 -0
  14. package/esm/funcs/patchAliasesIdProtectionBypass.d.ts.map +1 -0
  15. package/esm/funcs/patchAliasesIdProtectionBypass.js +81 -0
  16. package/esm/funcs/patchAliasesIdProtectionBypass.js.map +1 -0
  17. package/esm/lib/config.d.ts +3 -3
  18. package/esm/lib/config.js +3 -3
  19. package/esm/lib/sdks.d.ts +3 -1
  20. package/esm/lib/sdks.d.ts.map +1 -1
  21. package/esm/lib/sdks.js +6 -11
  22. package/esm/lib/sdks.js.map +1 -1
  23. package/esm/mcp-server/mcp-server.js +1 -1
  24. package/esm/mcp-server/server.d.ts.map +1 -1
  25. package/esm/mcp-server/server.js +3 -1
  26. package/esm/mcp-server/server.js.map +1 -1
  27. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts +7 -0
  28. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts.map +1 -0
  29. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js +26 -0
  30. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js.map +1 -0
  31. package/esm/models/authuser.d.ts +0 -5
  32. package/esm/models/authuser.d.ts.map +1 -1
  33. package/esm/models/authuser.js +0 -2
  34. package/esm/models/authuser.js.map +1 -1
  35. package/esm/models/canceldeploymentop.d.ts +268 -26
  36. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  37. package/esm/models/canceldeploymentop.js +194 -24
  38. package/esm/models/canceldeploymentop.js.map +1 -1
  39. package/esm/models/createcustomenvironmentop.d.ts +244 -2
  40. package/esm/models/createcustomenvironmentop.d.ts.map +1 -1
  41. package/esm/models/createcustomenvironmentop.js +174 -2
  42. package/esm/models/createcustomenvironmentop.js.map +1 -1
  43. package/esm/models/createdeploymentop.d.ts +357 -58
  44. package/esm/models/createdeploymentop.d.ts.map +1 -1
  45. package/esm/models/createdeploymentop.js +290 -60
  46. package/esm/models/createdeploymentop.js.map +1 -1
  47. package/esm/models/createprojectop.d.ts +328 -71
  48. package/esm/models/createprojectop.d.ts.map +1 -1
  49. package/esm/models/createprojectop.js +253 -75
  50. package/esm/models/createprojectop.js.map +1 -1
  51. package/esm/models/createrecordop.d.ts +43 -43
  52. package/esm/models/createrecordop.d.ts.map +1 -1
  53. package/esm/models/createrecordop.js +51 -51
  54. package/esm/models/createrecordop.js.map +1 -1
  55. package/esm/models/getaliasop.d.ts +8 -8
  56. package/esm/models/getaliasop.d.ts.map +1 -1
  57. package/esm/models/getaliasop.js +12 -13
  58. package/esm/models/getaliasop.js.map +1 -1
  59. package/esm/models/getcustomenvironmentop.d.ts +242 -2
  60. package/esm/models/getcustomenvironmentop.d.ts.map +1 -1
  61. package/esm/models/getcustomenvironmentop.js +175 -2
  62. package/esm/models/getcustomenvironmentop.js.map +1 -1
  63. package/esm/models/getdeploymentop.d.ts +502 -18
  64. package/esm/models/getdeploymentop.d.ts.map +1 -1
  65. package/esm/models/getdeploymentop.js +354 -14
  66. package/esm/models/getdeploymentop.js.map +1 -1
  67. package/esm/models/getprojectdomainsop.d.ts +30 -30
  68. package/esm/models/getprojectdomainsop.d.ts.map +1 -1
  69. package/esm/models/getprojectdomainsop.js +32 -32
  70. package/esm/models/getprojectdomainsop.js.map +1 -1
  71. package/esm/models/getprojectsop.d.ts +342 -95
  72. package/esm/models/getprojectsop.d.ts.map +1 -1
  73. package/esm/models/getprojectsop.js +285 -112
  74. package/esm/models/getprojectsop.js.map +1 -1
  75. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +242 -2
  76. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts.map +1 -1
  77. package/esm/models/getv9projectsidornamecustomenvironmentsop.js +172 -2
  78. package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
  79. package/esm/models/listaliasesop.d.ts +8 -8
  80. package/esm/models/listaliasesop.d.ts.map +1 -1
  81. package/esm/models/listaliasesop.js +12 -12
  82. package/esm/models/listaliasesop.js.map +1 -1
  83. package/esm/models/patchaliasesidprotectionbypassop.d.ts +409 -0
  84. package/esm/models/patchaliasesidprotectionbypassop.d.ts.map +1 -0
  85. package/esm/models/patchaliasesidprotectionbypassop.js +386 -0
  86. package/esm/models/patchaliasesidprotectionbypassop.js.map +1 -0
  87. package/esm/models/removecustomenvironmentop.d.ts +245 -2
  88. package/esm/models/removecustomenvironmentop.d.ts.map +1 -1
  89. package/esm/models/removecustomenvironmentop.js +173 -2
  90. package/esm/models/removecustomenvironmentop.js.map +1 -1
  91. package/esm/models/updatecustomenvironmentop.d.ts +244 -2
  92. package/esm/models/updatecustomenvironmentop.d.ts.map +1 -1
  93. package/esm/models/updatecustomenvironmentop.js +174 -2
  94. package/esm/models/updatecustomenvironmentop.js.map +1 -1
  95. package/esm/models/updateprojectdatacacheop.d.ts +358 -111
  96. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  97. package/esm/models/updateprojectdatacacheop.js +309 -135
  98. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  99. package/esm/models/updateprojectop.d.ts +342 -95
  100. package/esm/models/updateprojectop.d.ts.map +1 -1
  101. package/esm/models/updateprojectop.js +285 -111
  102. package/esm/models/updateprojectop.js.map +1 -1
  103. package/esm/models/userevent.d.ts +124 -6
  104. package/esm/models/userevent.d.ts.map +1 -1
  105. package/esm/models/userevent.js +114 -6
  106. package/esm/models/userevent.js.map +1 -1
  107. package/esm/sdk/sdk.d.ts +8 -1
  108. package/esm/sdk/sdk.d.ts.map +1 -1
  109. package/esm/sdk/sdk.js +8 -0
  110. package/esm/sdk/sdk.js.map +1 -1
  111. package/jsr.json +1 -1
  112. package/package.json +1 -1
  113. package/src/__tests__/environment.test.ts +28 -4
  114. package/src/__tests__/vercel.test.ts +26 -0
  115. package/src/funcs/marketplaceUpdateResourceSecretsById.ts +2 -2
  116. package/src/funcs/patchAliasesIdProtectionBypass.ts +185 -0
  117. package/src/lib/config.ts +3 -3
  118. package/src/lib/sdks.ts +11 -11
  119. package/src/mcp-server/mcp-server.ts +1 -1
  120. package/src/mcp-server/server.ts +3 -1
  121. package/src/mcp-server/tools/patchAliasesIdProtectionBypass.ts +37 -0
  122. package/src/models/authuser.ts +0 -7
  123. package/src/models/canceldeploymentop.ts +503 -43
  124. package/src/models/createcustomenvironmentop.ts +426 -4
  125. package/src/models/createdeploymentop.ts +640 -117
  126. package/src/models/createprojectop.ts +658 -201
  127. package/src/models/createrecordop.ts +96 -84
  128. package/src/models/getaliasop.ts +16 -14
  129. package/src/models/getcustomenvironmentop.ts +412 -4
  130. package/src/models/getdeploymentop.ts +962 -49
  131. package/src/models/getprojectdomainsop.ts +84 -84
  132. package/src/models/getprojectsop.ts +630 -189
  133. package/src/models/getv9projectsidornamecustomenvironmentsop.ts +473 -4
  134. package/src/models/listaliasesop.ts +19 -16
  135. package/src/models/patchaliasesidprotectionbypassop.ts +786 -0
  136. package/src/models/removecustomenvironmentop.ts +425 -4
  137. package/src/models/updatecustomenvironmentop.ts +437 -4
  138. package/src/models/updateprojectdatacacheop.ts +731 -271
  139. package/src/models/updateprojectop.ts +692 -249
  140. package/src/models/userevent.ts +205 -12
  141. package/src/sdk/sdk.ts +18 -1
  142. package/vercel-spec.json +2646 -161
@@ -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;
@@ -731,8 +839,8 @@ export type GetProjectsDefaultResourceConfig = {
731
839
  buildMachineType?: GetProjectsProjectsBuildMachineType | undefined;
732
840
  };
733
841
  export declare const GetProjectsDeploymentType: {
734
- readonly All: "all";
735
842
  readonly Preview: "preview";
843
+ readonly All: "all";
736
844
  readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
737
845
  };
738
846
  export type GetProjectsDeploymentType = ClosedEnum<typeof GetProjectsDeploymentType>;
@@ -747,7 +855,7 @@ export type GetProjectsProjectsAliasError = {
747
855
  /**
748
856
  * The type of matching to perform
749
857
  */
750
- export declare const GetProjectsProjectsResponse200ApplicationJSONType: {
858
+ export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType: {
751
859
  readonly EndsWith: "endsWith";
752
860
  readonly StartsWith: "startsWith";
753
861
  readonly Equals: "equals";
@@ -755,12 +863,12 @@ export declare const GetProjectsProjectsResponse200ApplicationJSONType: {
755
863
  /**
756
864
  * The type of matching to perform
757
865
  */
758
- export type GetProjectsProjectsResponse200ApplicationJSONType = ClosedEnum<typeof GetProjectsProjectsResponse200ApplicationJSONType>;
759
- export type GetProjectsProjectsBranchMatcher = {
866
+ export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType = ClosedEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType>;
867
+ export type GetProjectsProjectsResponseBranchMatcher = {
760
868
  /**
761
869
  * The type of matching to perform
762
870
  */
763
- type: GetProjectsProjectsResponse200ApplicationJSONType;
871
+ type: GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType;
764
872
  /**
765
873
  * The pattern to match against branch names
766
874
  */
@@ -823,10 +931,10 @@ export declare const GetProjectsProjectsReadySubstate: {
823
931
  readonly Promoted: "PROMOTED";
824
932
  };
825
933
  export type GetProjectsProjectsReadySubstate = ClosedEnum<typeof GetProjectsProjectsReadySubstate>;
826
- export declare const GetProjectsProjectsResponseType: {
934
+ export declare const GetProjectsProjectsResponse200Type: {
827
935
  readonly Lambdas: "LAMBDAS";
828
936
  };
829
- export type GetProjectsProjectsResponseType = ClosedEnum<typeof GetProjectsProjectsResponseType>;
937
+ export type GetProjectsProjectsResponse200Type = ClosedEnum<typeof GetProjectsProjectsResponse200Type>;
830
938
  export type GetProjectsTargets = {
831
939
  id: string;
832
940
  alias?: Array<string> | undefined;
@@ -834,7 +942,7 @@ export type GetProjectsTargets = {
834
942
  aliasError?: GetProjectsProjectsAliasError | null | undefined;
835
943
  aliasFinal?: string | null | undefined;
836
944
  automaticAliases?: Array<string> | undefined;
837
- branchMatcher?: GetProjectsProjectsBranchMatcher | undefined;
945
+ branchMatcher?: GetProjectsProjectsResponseBranchMatcher | undefined;
838
946
  buildingAt?: number | undefined;
839
947
  builds?: Array<GetProjectsProjectsBuilds> | undefined;
840
948
  checksConclusion?: GetProjectsProjectsChecksConclusion | undefined;
@@ -865,7 +973,7 @@ export type GetProjectsTargets = {
865
973
  requestedAt?: number | undefined;
866
974
  target?: string | null | undefined;
867
975
  teamId?: string | null | undefined;
868
- type: GetProjectsProjectsResponseType;
976
+ type: GetProjectsProjectsResponse200Type;
869
977
  url: string;
870
978
  userId: string;
871
979
  withCache?: boolean | undefined;
@@ -1076,17 +1184,21 @@ export declare const GetProjectsJobStatus: {
1076
1184
  readonly InProgress: "in-progress";
1077
1185
  };
1078
1186
  export type GetProjectsJobStatus = ClosedEnum<typeof GetProjectsJobStatus>;
1079
- export declare const GetProjectsProjectsResponse200Type: {
1187
+ export declare const GetProjectsProjectsResponse200ApplicationJSONType: {
1080
1188
  readonly Promote: "promote";
1081
1189
  readonly Rollback: "rollback";
1082
1190
  };
1083
- export type GetProjectsProjectsResponse200Type = ClosedEnum<typeof GetProjectsProjectsResponse200Type>;
1191
+ export type GetProjectsProjectsResponse200ApplicationJSONType = ClosedEnum<typeof GetProjectsProjectsResponse200ApplicationJSONType>;
1084
1192
  export type GetProjectsLastAliasRequest = {
1085
1193
  fromDeploymentId: string;
1086
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;
1087
1199
  jobStatus: GetProjectsJobStatus;
1088
1200
  requestedAt: number;
1089
- type: GetProjectsProjectsResponse200Type;
1201
+ type: GetProjectsProjectsResponse200ApplicationJSONType;
1090
1202
  };
1091
1203
  export declare const GetProjectsScope: {
1092
1204
  readonly AutomationBypass: "automation-bypass";
@@ -1098,20 +1210,20 @@ export type GetProjectsProtectionBypass = {
1098
1210
  scope: GetProjectsScope;
1099
1211
  };
1100
1212
  export declare const GetProjectsTrustedIpsProjectsDeploymentType: {
1101
- readonly All: "all";
1213
+ readonly Production: "production";
1102
1214
  readonly Preview: "preview";
1215
+ readonly All: "all";
1103
1216
  readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
1104
- readonly Production: "production";
1105
1217
  };
1106
1218
  export type GetProjectsTrustedIpsProjectsDeploymentType = ClosedEnum<typeof GetProjectsTrustedIpsProjectsDeploymentType>;
1107
1219
  export type GetProjectsTrustedIps2 = {
1108
1220
  deploymentType: GetProjectsTrustedIpsProjectsDeploymentType;
1109
1221
  };
1110
1222
  export declare const GetProjectsTrustedIpsDeploymentType: {
1111
- readonly All: "all";
1223
+ readonly Production: "production";
1112
1224
  readonly Preview: "preview";
1225
+ readonly All: "all";
1113
1226
  readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
1114
- readonly Production: "production";
1115
1227
  };
1116
1228
  export type GetProjectsTrustedIpsDeploymentType = ClosedEnum<typeof GetProjectsTrustedIpsDeploymentType>;
1117
1229
  export type GetProjectsTrustedIpsAddresses = {
@@ -2360,19 +2472,19 @@ export declare namespace GetProjectsContentHint$ {
2360
2472
  export declare function getProjectsContentHintToJSON(getProjectsContentHint: GetProjectsContentHint): string;
2361
2473
  export declare function getProjectsContentHintFromJSON(jsonString: string): SafeParseResult<GetProjectsContentHint, SDKValidationError>;
2362
2474
  /** @internal */
2363
- export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType>;
2475
+ export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType>;
2364
2476
  /** @internal */
2365
- export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType>;
2477
+ export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType>;
2366
2478
  /**
2367
2479
  * @internal
2368
2480
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2369
2481
  */
2370
- export declare namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$ {
2371
- /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema` instead. */
2482
+ export declare namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$ {
2483
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
2372
2484
  const inboundSchema: z.ZodNativeEnum<{
2373
2485
  readonly FlagsSecret: "flags-secret";
2374
2486
  }>;
2375
- /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema` instead. */
2487
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
2376
2488
  const outboundSchema: z.ZodNativeEnum<{
2377
2489
  readonly FlagsSecret: "flags-secret";
2378
2490
  }>;
@@ -2442,9 +2554,143 @@ export declare namespace GetProjectsEnv$ {
2442
2554
  export declare function getProjectsEnvToJSON(getProjectsEnv: GetProjectsEnv): string;
2443
2555
  export declare function getProjectsEnvFromJSON(jsonString: string): SafeParseResult<GetProjectsEnv, SDKValidationError>;
2444
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 */
2445
2681
  export declare const GetProjectsCustomEnvironments$inboundSchema: z.ZodType<GetProjectsCustomEnvironments, z.ZodTypeDef, unknown>;
2446
2682
  /** @internal */
2447
- 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
+ };
2448
2694
  /** @internal */
2449
2695
  export declare const GetProjectsCustomEnvironments$outboundSchema: z.ZodType<GetProjectsCustomEnvironments$Outbound, z.ZodTypeDef, GetProjectsCustomEnvironments>;
2450
2696
  /**
@@ -2636,21 +2882,21 @@ export declare namespace GetProjectsAliasError$ {
2636
2882
  export declare function getProjectsAliasErrorToJSON(getProjectsAliasError: GetProjectsAliasError): string;
2637
2883
  export declare function getProjectsAliasErrorFromJSON(jsonString: string): SafeParseResult<GetProjectsAliasError, SDKValidationError>;
2638
2884
  /** @internal */
2639
- export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType>;
2885
+ export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$inboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType>;
2640
2886
  /** @internal */
2641
- export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType>;
2887
+ export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$outboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType>;
2642
2888
  /**
2643
2889
  * @internal
2644
2890
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2645
2891
  */
2646
- export declare namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$ {
2647
- /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
2892
+ export declare namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$ {
2893
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$inboundSchema` instead. */
2648
2894
  const inboundSchema: z.ZodNativeEnum<{
2649
2895
  readonly EndsWith: "endsWith";
2650
2896
  readonly StartsWith: "startsWith";
2651
2897
  readonly Equals: "equals";
2652
2898
  }>;
2653
- /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
2899
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$outboundSchema` instead. */
2654
2900
  const outboundSchema: z.ZodNativeEnum<{
2655
2901
  readonly EndsWith: "endsWith";
2656
2902
  readonly StartsWith: "startsWith";
@@ -2658,28 +2904,28 @@ export declare namespace GetProjectsProjectsResponse200ApplicationJSONResponseBo
2658
2904
  }>;
2659
2905
  }
2660
2906
  /** @internal */
2661
- export declare const GetProjectsBranchMatcher$inboundSchema: z.ZodType<GetProjectsBranchMatcher, z.ZodTypeDef, unknown>;
2907
+ export declare const GetProjectsProjectsBranchMatcher$inboundSchema: z.ZodType<GetProjectsProjectsBranchMatcher, z.ZodTypeDef, unknown>;
2662
2908
  /** @internal */
2663
- export type GetProjectsBranchMatcher$Outbound = {
2909
+ export type GetProjectsProjectsBranchMatcher$Outbound = {
2664
2910
  type: string;
2665
2911
  pattern: string;
2666
2912
  };
2667
2913
  /** @internal */
2668
- 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>;
2669
2915
  /**
2670
2916
  * @internal
2671
2917
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2672
2918
  */
2673
- export declare namespace GetProjectsBranchMatcher$ {
2674
- /** @deprecated use `GetProjectsBranchMatcher$inboundSchema` instead. */
2675
- const inboundSchema: z.ZodType<GetProjectsBranchMatcher, z.ZodTypeDef, unknown>;
2676
- /** @deprecated use `GetProjectsBranchMatcher$outboundSchema` instead. */
2677
- const outboundSchema: z.ZodType<GetProjectsBranchMatcher$Outbound, z.ZodTypeDef, GetProjectsBranchMatcher>;
2678
- /** @deprecated use `GetProjectsBranchMatcher$Outbound` instead. */
2679
- 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;
2680
2926
  }
2681
- export declare function getProjectsBranchMatcherToJSON(getProjectsBranchMatcher: GetProjectsBranchMatcher): string;
2682
- 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>;
2683
2929
  /** @internal */
2684
2930
  export declare const GetProjectsBuilds$inboundSchema: z.ZodType<GetProjectsBuilds, z.ZodTypeDef, unknown>;
2685
2931
  /** @internal */
@@ -2879,19 +3125,19 @@ export declare namespace GetProjectsReadySubstate$ {
2879
3125
  }>;
2880
3126
  }
2881
3127
  /** @internal */
2882
- export declare const GetProjectsProjectsType$inboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsType>;
3128
+ export declare const GetProjectsProjectsResponseType$inboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponseType>;
2883
3129
  /** @internal */
2884
- export declare const GetProjectsProjectsType$outboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsType>;
3130
+ export declare const GetProjectsProjectsResponseType$outboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponseType>;
2885
3131
  /**
2886
3132
  * @internal
2887
3133
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2888
3134
  */
2889
- export declare namespace GetProjectsProjectsType$ {
2890
- /** @deprecated use `GetProjectsProjectsType$inboundSchema` instead. */
3135
+ export declare namespace GetProjectsProjectsResponseType$ {
3136
+ /** @deprecated use `GetProjectsProjectsResponseType$inboundSchema` instead. */
2891
3137
  const inboundSchema: z.ZodNativeEnum<{
2892
3138
  readonly Lambdas: "LAMBDAS";
2893
3139
  }>;
2894
- /** @deprecated use `GetProjectsProjectsType$outboundSchema` instead. */
3140
+ /** @deprecated use `GetProjectsProjectsResponseType$outboundSchema` instead. */
2895
3141
  const outboundSchema: z.ZodNativeEnum<{
2896
3142
  readonly Lambdas: "LAMBDAS";
2897
3143
  }>;
@@ -2906,7 +3152,7 @@ export type GetProjectsLatestDeployments$Outbound = {
2906
3152
  aliasError?: GetProjectsAliasError$Outbound | null | undefined;
2907
3153
  aliasFinal?: string | null | undefined;
2908
3154
  automaticAliases?: Array<string> | undefined;
2909
- branchMatcher?: GetProjectsBranchMatcher$Outbound | undefined;
3155
+ branchMatcher?: GetProjectsProjectsBranchMatcher$Outbound | undefined;
2910
3156
  buildingAt?: number | undefined;
2911
3157
  builds?: Array<GetProjectsBuilds$Outbound> | undefined;
2912
3158
  checksConclusion?: string | undefined;
@@ -3646,14 +3892,14 @@ export declare const GetProjectsDeploymentType$outboundSchema: z.ZodNativeEnum<t
3646
3892
  export declare namespace GetProjectsDeploymentType$ {
3647
3893
  /** @deprecated use `GetProjectsDeploymentType$inboundSchema` instead. */
3648
3894
  const inboundSchema: z.ZodNativeEnum<{
3649
- readonly All: "all";
3650
3895
  readonly Preview: "preview";
3896
+ readonly All: "all";
3651
3897
  readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
3652
3898
  }>;
3653
3899
  /** @deprecated use `GetProjectsDeploymentType$outboundSchema` instead. */
3654
3900
  const outboundSchema: z.ZodNativeEnum<{
3655
- readonly All: "all";
3656
3901
  readonly Preview: "preview";
3902
+ readonly All: "all";
3657
3903
  readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
3658
3904
  }>;
3659
3905
  }
@@ -3723,21 +3969,21 @@ export declare namespace GetProjectsProjectsAliasError$ {
3723
3969
  export declare function getProjectsProjectsAliasErrorToJSON(getProjectsProjectsAliasError: GetProjectsProjectsAliasError): string;
3724
3970
  export declare function getProjectsProjectsAliasErrorFromJSON(jsonString: string): SafeParseResult<GetProjectsProjectsAliasError, SDKValidationError>;
3725
3971
  /** @internal */
3726
- export declare const GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONType>;
3972
+ export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType>;
3727
3973
  /** @internal */
3728
- export declare const GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONType>;
3974
+ export declare const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType>;
3729
3975
  /**
3730
3976
  * @internal
3731
3977
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3732
3978
  */
3733
- export declare namespace GetProjectsProjectsResponse200ApplicationJSONType$ {
3734
- /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
3979
+ export declare namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$ {
3980
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema` instead. */
3735
3981
  const inboundSchema: z.ZodNativeEnum<{
3736
3982
  readonly EndsWith: "endsWith";
3737
3983
  readonly StartsWith: "startsWith";
3738
3984
  readonly Equals: "equals";
3739
3985
  }>;
3740
- /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
3986
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema` instead. */
3741
3987
  const outboundSchema: z.ZodNativeEnum<{
3742
3988
  readonly EndsWith: "endsWith";
3743
3989
  readonly StartsWith: "startsWith";
@@ -3745,28 +3991,28 @@ export declare namespace GetProjectsProjectsResponse200ApplicationJSONType$ {
3745
3991
  }>;
3746
3992
  }
3747
3993
  /** @internal */
3748
- export declare const GetProjectsProjectsBranchMatcher$inboundSchema: z.ZodType<GetProjectsProjectsBranchMatcher, z.ZodTypeDef, unknown>;
3994
+ export declare const GetProjectsProjectsResponseBranchMatcher$inboundSchema: z.ZodType<GetProjectsProjectsResponseBranchMatcher, z.ZodTypeDef, unknown>;
3749
3995
  /** @internal */
3750
- export type GetProjectsProjectsBranchMatcher$Outbound = {
3996
+ export type GetProjectsProjectsResponseBranchMatcher$Outbound = {
3751
3997
  type: string;
3752
3998
  pattern: string;
3753
3999
  };
3754
4000
  /** @internal */
3755
- 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>;
3756
4002
  /**
3757
4003
  * @internal
3758
4004
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3759
4005
  */
3760
- export declare namespace GetProjectsProjectsBranchMatcher$ {
3761
- /** @deprecated use `GetProjectsProjectsBranchMatcher$inboundSchema` instead. */
3762
- const inboundSchema: z.ZodType<GetProjectsProjectsBranchMatcher, z.ZodTypeDef, unknown>;
3763
- /** @deprecated use `GetProjectsProjectsBranchMatcher$outboundSchema` instead. */
3764
- const outboundSchema: z.ZodType<GetProjectsProjectsBranchMatcher$Outbound, z.ZodTypeDef, GetProjectsProjectsBranchMatcher>;
3765
- /** @deprecated use `GetProjectsProjectsBranchMatcher$Outbound` instead. */
3766
- 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;
3767
4013
  }
3768
- export declare function getProjectsProjectsBranchMatcherToJSON(getProjectsProjectsBranchMatcher: GetProjectsProjectsBranchMatcher): string;
3769
- 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>;
3770
4016
  /** @internal */
3771
4017
  export declare const GetProjectsProjectsBuilds$inboundSchema: z.ZodType<GetProjectsProjectsBuilds, z.ZodTypeDef, unknown>;
3772
4018
  /** @internal */
@@ -3966,19 +4212,19 @@ export declare namespace GetProjectsProjectsReadySubstate$ {
3966
4212
  }>;
3967
4213
  }
3968
4214
  /** @internal */
3969
- export declare const GetProjectsProjectsResponseType$inboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponseType>;
4215
+ export declare const GetProjectsProjectsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200Type>;
3970
4216
  /** @internal */
3971
- export declare const GetProjectsProjectsResponseType$outboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponseType>;
4217
+ export declare const GetProjectsProjectsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200Type>;
3972
4218
  /**
3973
4219
  * @internal
3974
4220
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3975
4221
  */
3976
- export declare namespace GetProjectsProjectsResponseType$ {
3977
- /** @deprecated use `GetProjectsProjectsResponseType$inboundSchema` instead. */
4222
+ export declare namespace GetProjectsProjectsResponse200Type$ {
4223
+ /** @deprecated use `GetProjectsProjectsResponse200Type$inboundSchema` instead. */
3978
4224
  const inboundSchema: z.ZodNativeEnum<{
3979
4225
  readonly Lambdas: "LAMBDAS";
3980
4226
  }>;
3981
- /** @deprecated use `GetProjectsProjectsResponseType$outboundSchema` instead. */
4227
+ /** @deprecated use `GetProjectsProjectsResponse200Type$outboundSchema` instead. */
3982
4228
  const outboundSchema: z.ZodNativeEnum<{
3983
4229
  readonly Lambdas: "LAMBDAS";
3984
4230
  }>;
@@ -3993,7 +4239,7 @@ export type GetProjectsTargets$Outbound = {
3993
4239
  aliasError?: GetProjectsProjectsAliasError$Outbound | null | undefined;
3994
4240
  aliasFinal?: string | null | undefined;
3995
4241
  automaticAliases?: Array<string> | undefined;
3996
- branchMatcher?: GetProjectsProjectsBranchMatcher$Outbound | undefined;
4242
+ branchMatcher?: GetProjectsProjectsResponseBranchMatcher$Outbound | undefined;
3997
4243
  buildingAt?: number | undefined;
3998
4244
  builds?: Array<GetProjectsProjectsBuilds$Outbound> | undefined;
3999
4245
  checksConclusion?: string | undefined;
@@ -4305,20 +4551,20 @@ export declare namespace GetProjectsJobStatus$ {
4305
4551
  }>;
4306
4552
  }
4307
4553
  /** @internal */
4308
- export declare const GetProjectsProjectsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200Type>;
4554
+ export declare const GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONType>;
4309
4555
  /** @internal */
4310
- export declare const GetProjectsProjectsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200Type>;
4556
+ export declare const GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONType>;
4311
4557
  /**
4312
4558
  * @internal
4313
4559
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4314
4560
  */
4315
- export declare namespace GetProjectsProjectsResponse200Type$ {
4316
- /** @deprecated use `GetProjectsProjectsResponse200Type$inboundSchema` instead. */
4561
+ export declare namespace GetProjectsProjectsResponse200ApplicationJSONType$ {
4562
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
4317
4563
  const inboundSchema: z.ZodNativeEnum<{
4318
4564
  readonly Promote: "promote";
4319
4565
  readonly Rollback: "rollback";
4320
4566
  }>;
4321
- /** @deprecated use `GetProjectsProjectsResponse200Type$outboundSchema` instead. */
4567
+ /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
4322
4568
  const outboundSchema: z.ZodNativeEnum<{
4323
4569
  readonly Promote: "promote";
4324
4570
  readonly Rollback: "rollback";
@@ -4330,6 +4576,7 @@ export declare const GetProjectsLastAliasRequest$inboundSchema: z.ZodType<GetPro
4330
4576
  export type GetProjectsLastAliasRequest$Outbound = {
4331
4577
  fromDeploymentId: string;
4332
4578
  toDeploymentId: string;
4579
+ fromRollingReleaseId?: string | undefined;
4333
4580
  jobStatus: string;
4334
4581
  requestedAt: number;
4335
4582
  type: string;
@@ -4403,17 +4650,17 @@ export declare const GetProjectsTrustedIpsProjectsDeploymentType$outboundSchema:
4403
4650
  export declare namespace GetProjectsTrustedIpsProjectsDeploymentType$ {
4404
4651
  /** @deprecated use `GetProjectsTrustedIpsProjectsDeploymentType$inboundSchema` instead. */
4405
4652
  const inboundSchema: z.ZodNativeEnum<{
4406
- readonly All: "all";
4653
+ readonly Production: "production";
4407
4654
  readonly Preview: "preview";
4655
+ readonly All: "all";
4408
4656
  readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
4409
- readonly Production: "production";
4410
4657
  }>;
4411
4658
  /** @deprecated use `GetProjectsTrustedIpsProjectsDeploymentType$outboundSchema` instead. */
4412
4659
  const outboundSchema: z.ZodNativeEnum<{
4413
- readonly All: "all";
4660
+ readonly Production: "production";
4414
4661
  readonly Preview: "preview";
4662
+ readonly All: "all";
4415
4663
  readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
4416
- readonly Production: "production";
4417
4664
  }>;
4418
4665
  }
4419
4666
  /** @internal */
@@ -4449,17 +4696,17 @@ export declare const GetProjectsTrustedIpsDeploymentType$outboundSchema: z.ZodNa
4449
4696
  export declare namespace GetProjectsTrustedIpsDeploymentType$ {
4450
4697
  /** @deprecated use `GetProjectsTrustedIpsDeploymentType$inboundSchema` instead. */
4451
4698
  const inboundSchema: z.ZodNativeEnum<{
4452
- readonly All: "all";
4699
+ readonly Production: "production";
4453
4700
  readonly Preview: "preview";
4701
+ readonly All: "all";
4454
4702
  readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
4455
- readonly Production: "production";
4456
4703
  }>;
4457
4704
  /** @deprecated use `GetProjectsTrustedIpsDeploymentType$outboundSchema` instead. */
4458
4705
  const outboundSchema: z.ZodNativeEnum<{
4459
- readonly All: "all";
4706
+ readonly Production: "production";
4460
4707
  readonly Preview: "preview";
4708
+ readonly All: "all";
4461
4709
  readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
4462
- readonly Production: "production";
4463
4710
  }>;
4464
4711
  }
4465
4712
  /** @internal */