@vercel/sdk 1.6.7 → 1.6.9

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 (162) hide show
  1. package/README.md +17 -29
  2. package/bin/mcp-server.js +2689 -996
  3. package/bin/mcp-server.js.map +33 -30
  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__/projects.test.js +13 -15
  8. package/esm/__tests__/projects.test.js.map +1 -1
  9. package/esm/__tests__/vercel.test.d.ts +2 -0
  10. package/esm/__tests__/vercel.test.d.ts.map +1 -0
  11. package/esm/__tests__/vercel.test.js +21 -0
  12. package/esm/__tests__/vercel.test.js.map +1 -0
  13. package/esm/funcs/marketplaceUpdateResourceSecretsById.js +2 -2
  14. package/esm/funcs/marketplaceUpdateResourceSecretsById.js.map +1 -1
  15. package/esm/funcs/patchAliasesIdProtectionBypass.d.ts +18 -0
  16. package/esm/funcs/patchAliasesIdProtectionBypass.d.ts.map +1 -0
  17. package/esm/funcs/patchAliasesIdProtectionBypass.js +81 -0
  18. package/esm/funcs/patchAliasesIdProtectionBypass.js.map +1 -0
  19. package/esm/lib/config.d.ts +3 -3
  20. package/esm/lib/config.js +3 -3
  21. package/esm/lib/sdks.d.ts +3 -1
  22. package/esm/lib/sdks.d.ts.map +1 -1
  23. package/esm/lib/sdks.js +6 -11
  24. package/esm/lib/sdks.js.map +1 -1
  25. package/esm/mcp-server/mcp-server.js +1 -1
  26. package/esm/mcp-server/server.d.ts.map +1 -1
  27. package/esm/mcp-server/server.js +3 -1
  28. package/esm/mcp-server/server.js.map +1 -1
  29. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts +7 -0
  30. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts.map +1 -0
  31. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js +26 -0
  32. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js.map +1 -0
  33. package/esm/models/authuser.d.ts +0 -8
  34. package/esm/models/authuser.d.ts.map +1 -1
  35. package/esm/models/authuser.js +0 -3
  36. package/esm/models/authuser.js.map +1 -1
  37. package/esm/models/canceldeploymentop.d.ts +268 -26
  38. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  39. package/esm/models/canceldeploymentop.js +194 -24
  40. package/esm/models/canceldeploymentop.js.map +1 -1
  41. package/esm/models/createcustomenvironmentop.d.ts +244 -2
  42. package/esm/models/createcustomenvironmentop.d.ts.map +1 -1
  43. package/esm/models/createcustomenvironmentop.js +174 -2
  44. package/esm/models/createcustomenvironmentop.js.map +1 -1
  45. package/esm/models/createdeploymentop.d.ts +357 -58
  46. package/esm/models/createdeploymentop.d.ts.map +1 -1
  47. package/esm/models/createdeploymentop.js +290 -60
  48. package/esm/models/createdeploymentop.js.map +1 -1
  49. package/esm/models/createprojectenvop.d.ts +6 -6
  50. package/esm/models/createprojectenvop.js +2 -2
  51. package/esm/models/createprojectenvop.js.map +1 -1
  52. package/esm/models/createprojectop.d.ts +337 -80
  53. package/esm/models/createprojectop.d.ts.map +1 -1
  54. package/esm/models/createprojectop.js +256 -78
  55. package/esm/models/createprojectop.js.map +1 -1
  56. package/esm/models/createrecordop.d.ts +43 -43
  57. package/esm/models/createrecordop.d.ts.map +1 -1
  58. package/esm/models/createrecordop.js +51 -51
  59. package/esm/models/createrecordop.js.map +1 -1
  60. package/esm/models/editprojectenvop.d.ts +3 -3
  61. package/esm/models/editprojectenvop.js +1 -1
  62. package/esm/models/editprojectenvop.js.map +1 -1
  63. package/esm/models/getaliasop.d.ts +8 -8
  64. package/esm/models/getaliasop.d.ts.map +1 -1
  65. package/esm/models/getaliasop.js +12 -13
  66. package/esm/models/getaliasop.js.map +1 -1
  67. package/esm/models/getbypassipop.d.ts +28 -28
  68. package/esm/models/getbypassipop.d.ts.map +1 -1
  69. package/esm/models/getbypassipop.js +28 -28
  70. package/esm/models/getbypassipop.js.map +1 -1
  71. package/esm/models/getcustomenvironmentop.d.ts +242 -2
  72. package/esm/models/getcustomenvironmentop.d.ts.map +1 -1
  73. package/esm/models/getcustomenvironmentop.js +175 -2
  74. package/esm/models/getcustomenvironmentop.js.map +1 -1
  75. package/esm/models/getdeploymentop.d.ts +502 -18
  76. package/esm/models/getdeploymentop.d.ts.map +1 -1
  77. package/esm/models/getdeploymentop.js +354 -14
  78. package/esm/models/getdeploymentop.js.map +1 -1
  79. package/esm/models/getprojectdomainsop.d.ts +30 -30
  80. package/esm/models/getprojectdomainsop.d.ts.map +1 -1
  81. package/esm/models/getprojectdomainsop.js +32 -32
  82. package/esm/models/getprojectdomainsop.js.map +1 -1
  83. package/esm/models/getprojectsop.d.ts +342 -95
  84. package/esm/models/getprojectsop.d.ts.map +1 -1
  85. package/esm/models/getprojectsop.js +285 -112
  86. package/esm/models/getprojectsop.js.map +1 -1
  87. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +242 -2
  88. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts.map +1 -1
  89. package/esm/models/getv9projectsidornamecustomenvironmentsop.js +172 -2
  90. package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
  91. package/esm/models/listaliasesop.d.ts +8 -8
  92. package/esm/models/listaliasesop.d.ts.map +1 -1
  93. package/esm/models/listaliasesop.js +12 -12
  94. package/esm/models/listaliasesop.js.map +1 -1
  95. package/esm/models/patchaliasesidprotectionbypassop.d.ts +409 -0
  96. package/esm/models/patchaliasesidprotectionbypassop.d.ts.map +1 -0
  97. package/esm/models/patchaliasesidprotectionbypassop.js +386 -0
  98. package/esm/models/patchaliasesidprotectionbypassop.js.map +1 -0
  99. package/esm/models/removecustomenvironmentop.d.ts +245 -2
  100. package/esm/models/removecustomenvironmentop.d.ts.map +1 -1
  101. package/esm/models/removecustomenvironmentop.js +173 -2
  102. package/esm/models/removecustomenvironmentop.js.map +1 -1
  103. package/esm/models/removeprojectenvop.d.ts +9 -9
  104. package/esm/models/removeprojectenvop.js +3 -3
  105. package/esm/models/removeprojectenvop.js.map +1 -1
  106. package/esm/models/updatecustomenvironmentop.d.ts +244 -2
  107. package/esm/models/updatecustomenvironmentop.d.ts.map +1 -1
  108. package/esm/models/updatecustomenvironmentop.js +174 -2
  109. package/esm/models/updatecustomenvironmentop.js.map +1 -1
  110. package/esm/models/updateprojectdatacacheop.d.ts +358 -111
  111. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  112. package/esm/models/updateprojectdatacacheop.js +309 -135
  113. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  114. package/esm/models/updateprojectop.d.ts +420 -104
  115. package/esm/models/updateprojectop.d.ts.map +1 -1
  116. package/esm/models/updateprojectop.js +342 -114
  117. package/esm/models/updateprojectop.js.map +1 -1
  118. package/esm/models/userevent.d.ts +161 -86
  119. package/esm/models/userevent.d.ts.map +1 -1
  120. package/esm/models/userevent.js +139 -64
  121. package/esm/models/userevent.js.map +1 -1
  122. package/esm/sdk/sdk.d.ts +8 -1
  123. package/esm/sdk/sdk.d.ts.map +1 -1
  124. package/esm/sdk/sdk.js +8 -0
  125. package/esm/sdk/sdk.js.map +1 -1
  126. package/jsr.json +1 -1
  127. package/package.json +1 -1
  128. package/src/__tests__/environment.test.ts +28 -4
  129. package/src/__tests__/projects.test.ts +13 -15
  130. package/src/__tests__/vercel.test.ts +26 -0
  131. package/src/funcs/marketplaceUpdateResourceSecretsById.ts +2 -2
  132. package/src/funcs/patchAliasesIdProtectionBypass.ts +185 -0
  133. package/src/lib/config.ts +3 -3
  134. package/src/lib/sdks.ts +11 -11
  135. package/src/mcp-server/mcp-server.ts +1 -1
  136. package/src/mcp-server/server.ts +3 -1
  137. package/src/mcp-server/tools/patchAliasesIdProtectionBypass.ts +37 -0
  138. package/src/models/authuser.ts +0 -8
  139. package/src/models/canceldeploymentop.ts +503 -43
  140. package/src/models/createcustomenvironmentop.ts +426 -4
  141. package/src/models/createdeploymentop.ts +640 -117
  142. package/src/models/createprojectenvop.ts +2 -2
  143. package/src/models/createprojectop.ts +658 -201
  144. package/src/models/createrecordop.ts +96 -84
  145. package/src/models/editprojectenvop.ts +1 -1
  146. package/src/models/getaliasop.ts +16 -14
  147. package/src/models/getbypassipop.ts +56 -56
  148. package/src/models/getcustomenvironmentop.ts +412 -4
  149. package/src/models/getdeploymentop.ts +962 -49
  150. package/src/models/getprojectdomainsop.ts +84 -84
  151. package/src/models/getprojectsop.ts +630 -189
  152. package/src/models/getv9projectsidornamecustomenvironmentsop.ts +473 -4
  153. package/src/models/listaliasesop.ts +19 -16
  154. package/src/models/patchaliasesidprotectionbypassop.ts +786 -0
  155. package/src/models/removecustomenvironmentop.ts +425 -4
  156. package/src/models/removeprojectenvop.ts +3 -3
  157. package/src/models/updatecustomenvironmentop.ts +437 -4
  158. package/src/models/updateprojectdatacacheop.ts +731 -271
  159. package/src/models/updateprojectop.ts +786 -197
  160. package/src/models/userevent.ts +246 -121
  161. package/src/sdk/sdk.ts +18 -1
  162. package/vercel-spec.json +2609 -140
@@ -124,16 +124,17 @@ export type UpdateProjectDataCacheTarget =
124
124
  | Array<UpdateProjectDataCacheTarget1>
125
125
  | UpdateProjectDataCacheTarget2;
126
126
 
127
- export const UpdateProjectDataCacheProjectsResponse200Type = {
127
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONType = {
128
128
  Secret: "secret",
129
129
  System: "system",
130
130
  Encrypted: "encrypted",
131
131
  Plain: "plain",
132
132
  Sensitive: "sensitive",
133
133
  } as const;
134
- export type UpdateProjectDataCacheProjectsResponse200Type = ClosedEnum<
135
- typeof UpdateProjectDataCacheProjectsResponse200Type
136
- >;
134
+ export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONType =
135
+ ClosedEnum<
136
+ typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONType
137
+ >;
137
138
 
138
139
  export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type =
139
140
  {
@@ -361,13 +362,13 @@ export type ContentHint =
361
362
  | ContentHint15
362
363
  | ContentHint14;
363
364
 
364
- export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType =
365
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType =
365
366
  {
366
367
  FlagsSecret: "flags-secret",
367
368
  } as const;
368
- export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType =
369
+ export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType =
369
370
  ClosedEnum<
370
- typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType
371
+ typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType
371
372
  >;
372
373
 
373
374
  /**
@@ -375,7 +376,7 @@ export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBody
375
376
  */
376
377
  export type InternalContentHint = {
377
378
  type:
378
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType;
379
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType;
379
380
  /**
380
381
  * Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.
381
382
  */
@@ -387,7 +388,7 @@ export type Env = {
387
388
  | Array<UpdateProjectDataCacheTarget1>
388
389
  | UpdateProjectDataCacheTarget2
389
390
  | undefined;
390
- type: UpdateProjectDataCacheProjectsResponse200Type;
391
+ type: UpdateProjectDataCacheProjectsResponse200ApplicationJSONType;
391
392
  /**
392
393
  * This is used to identiy variables that have been migrated from type secret to sensitive.
393
394
  */
@@ -431,7 +432,129 @@ export type Env = {
431
432
  customEnvironmentIds?: Array<string> | undefined;
432
433
  };
433
434
 
434
- export type CustomEnvironments = {};
435
+ /**
436
+ * The type of environment (production, preview, or development)
437
+ */
438
+ export const UpdateProjectDataCacheType = {
439
+ Production: "production",
440
+ Preview: "preview",
441
+ Development: "development",
442
+ } as const;
443
+ /**
444
+ * The type of environment (production, preview, or development)
445
+ */
446
+ export type UpdateProjectDataCacheType = ClosedEnum<
447
+ typeof UpdateProjectDataCacheType
448
+ >;
449
+
450
+ /**
451
+ * The type of matching to perform
452
+ */
453
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType =
454
+ {
455
+ EndsWith: "endsWith",
456
+ StartsWith: "startsWith",
457
+ Equals: "equals",
458
+ } as const;
459
+ /**
460
+ * The type of matching to perform
461
+ */
462
+ export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType =
463
+ ClosedEnum<
464
+ typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType
465
+ >;
466
+
467
+ /**
468
+ * Configuration for matching git branches to this environment
469
+ */
470
+ export type UpdateProjectDataCacheProjectsResponseBranchMatcher = {
471
+ /**
472
+ * The type of matching to perform
473
+ */
474
+ type:
475
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType;
476
+ /**
477
+ * The pattern to match against branch names
478
+ */
479
+ pattern: string;
480
+ };
481
+
482
+ /**
483
+ * 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`.
484
+ */
485
+ export type UpdateProjectDataCacheVerification = {
486
+ type: string;
487
+ domain: string;
488
+ value: string;
489
+ reason: string;
490
+ };
491
+
492
+ /**
493
+ * List of domains associated with this environment
494
+ */
495
+ export type UpdateProjectDataCacheDomains = {
496
+ name: string;
497
+ apexName: string;
498
+ projectId: string;
499
+ redirect?: string | null | undefined;
500
+ redirectStatusCode?: number | null | undefined;
501
+ gitBranch?: string | null | undefined;
502
+ customEnvironmentId?: string | null | undefined;
503
+ updatedAt?: number | undefined;
504
+ createdAt?: number | undefined;
505
+ /**
506
+ * `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.
507
+ */
508
+ verified: boolean;
509
+ /**
510
+ * 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`.
511
+ */
512
+ verification?: Array<UpdateProjectDataCacheVerification> | undefined;
513
+ };
514
+
515
+ /**
516
+ * Internal representation of a custom environment with all required properties
517
+ */
518
+ export type CustomEnvironments = {
519
+ /**
520
+ * Unique identifier for the custom environment (format: env_*)
521
+ */
522
+ id: string;
523
+ /**
524
+ * URL-friendly name of the environment
525
+ */
526
+ slug: string;
527
+ /**
528
+ * The type of environment (production, preview, or development)
529
+ */
530
+ type: UpdateProjectDataCacheType;
531
+ /**
532
+ * Optional description of the environment's purpose
533
+ */
534
+ description?: string | undefined;
535
+ /**
536
+ * Configuration for matching git branches to this environment
537
+ */
538
+ branchMatcher?:
539
+ | UpdateProjectDataCacheProjectsResponseBranchMatcher
540
+ | undefined;
541
+ /**
542
+ * List of domains associated with this environment
543
+ */
544
+ domains?: Array<UpdateProjectDataCacheDomains> | undefined;
545
+ /**
546
+ * List of aliases for the current deployment
547
+ */
548
+ currentDeploymentAliases?: Array<string> | undefined;
549
+ /**
550
+ * Timestamp when the environment was created
551
+ */
552
+ createdAt: number;
553
+ /**
554
+ * Timestamp when the environment was last updated
555
+ */
556
+ updatedAt: number;
557
+ };
435
558
 
436
559
  export const UpdateProjectDataCacheFramework = {
437
560
  Blitzjs: "blitzjs",
@@ -500,24 +623,26 @@ export type UpdateProjectDataCacheProjectsAliasError = {
500
623
  /**
501
624
  * The type of matching to perform
502
625
  */
503
- export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONType = {
504
- EndsWith: "endsWith",
505
- StartsWith: "startsWith",
506
- Equals: "equals",
507
- } as const;
626
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType =
627
+ {
628
+ EndsWith: "endsWith",
629
+ StartsWith: "startsWith",
630
+ Equals: "equals",
631
+ } as const;
508
632
  /**
509
633
  * The type of matching to perform
510
634
  */
511
- export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONType =
635
+ export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType =
512
636
  ClosedEnum<
513
- typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONType
637
+ typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType
514
638
  >;
515
639
 
516
- export type UpdateProjectDataCacheProjectsBranchMatcher = {
640
+ export type UpdateProjectDataCacheBranchMatcher = {
517
641
  /**
518
642
  * The type of matching to perform
519
643
  */
520
- type: UpdateProjectDataCacheProjectsResponse200ApplicationJSONType;
644
+ type:
645
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType;
521
646
  /**
522
647
  * The pattern to match against branch names
523
648
  */
@@ -599,11 +724,11 @@ export type UpdateProjectDataCacheProjectsReadySubstate = ClosedEnum<
599
724
  typeof UpdateProjectDataCacheProjectsReadySubstate
600
725
  >;
601
726
 
602
- export const UpdateProjectDataCacheType = {
727
+ export const UpdateProjectDataCacheProjectsType = {
603
728
  Lambdas: "LAMBDAS",
604
729
  } as const;
605
- export type UpdateProjectDataCacheType = ClosedEnum<
606
- typeof UpdateProjectDataCacheType
730
+ export type UpdateProjectDataCacheProjectsType = ClosedEnum<
731
+ typeof UpdateProjectDataCacheProjectsType
607
732
  >;
608
733
 
609
734
  export type LatestDeployments = {
@@ -613,7 +738,7 @@ export type LatestDeployments = {
613
738
  aliasError?: UpdateProjectDataCacheProjectsAliasError | null | undefined;
614
739
  aliasFinal?: string | null | undefined;
615
740
  automaticAliases?: Array<string> | undefined;
616
- branchMatcher?: UpdateProjectDataCacheProjectsBranchMatcher | undefined;
741
+ branchMatcher?: UpdateProjectDataCacheBranchMatcher | undefined;
617
742
  buildingAt?: number | undefined;
618
743
  builds?: Array<UpdateProjectDataCacheProjectsBuilds> | undefined;
619
744
  checksConclusion?: UpdateProjectDataCacheProjectsChecksConclusion | undefined;
@@ -642,7 +767,7 @@ export type LatestDeployments = {
642
767
  requestedAt?: number | undefined;
643
768
  target?: string | null | undefined;
644
769
  teamId?: string | null | undefined;
645
- type: UpdateProjectDataCacheType;
770
+ type: UpdateProjectDataCacheProjectsType;
646
771
  url: string;
647
772
  userId: string;
648
773
  withCache?: boolean | undefined;
@@ -928,8 +1053,8 @@ export type DefaultResourceConfig = {
928
1053
  };
929
1054
 
930
1055
  export const UpdateProjectDataCacheDeploymentType = {
931
- All: "all",
932
1056
  Preview: "preview",
1057
+ All: "all",
933
1058
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
934
1059
  } as const;
935
1060
  export type UpdateProjectDataCacheDeploymentType = ClosedEnum<
@@ -950,7 +1075,7 @@ export type UpdateProjectDataCacheAliasError = {
950
1075
  /**
951
1076
  * The type of matching to perform
952
1077
  */
953
- export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType =
1078
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType =
954
1079
  {
955
1080
  EndsWith: "endsWith",
956
1081
  StartsWith: "startsWith",
@@ -959,17 +1084,17 @@ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBod
959
1084
  /**
960
1085
  * The type of matching to perform
961
1086
  */
962
- export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType =
1087
+ export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType =
963
1088
  ClosedEnum<
964
- typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType
1089
+ typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType
965
1090
  >;
966
1091
 
967
- export type UpdateProjectDataCacheBranchMatcher = {
1092
+ export type UpdateProjectDataCacheProjectsBranchMatcher = {
968
1093
  /**
969
1094
  * The type of matching to perform
970
1095
  */
971
1096
  type:
972
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType;
1097
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType;
973
1098
  /**
974
1099
  * The pattern to match against branch names
975
1100
  */
@@ -1051,11 +1176,11 @@ export type UpdateProjectDataCacheReadySubstate = ClosedEnum<
1051
1176
  typeof UpdateProjectDataCacheReadySubstate
1052
1177
  >;
1053
1178
 
1054
- export const UpdateProjectDataCacheProjectsType = {
1179
+ export const UpdateProjectDataCacheProjectsResponseType = {
1055
1180
  Lambdas: "LAMBDAS",
1056
1181
  } as const;
1057
- export type UpdateProjectDataCacheProjectsType = ClosedEnum<
1058
- typeof UpdateProjectDataCacheProjectsType
1182
+ export type UpdateProjectDataCacheProjectsResponseType = ClosedEnum<
1183
+ typeof UpdateProjectDataCacheProjectsResponseType
1059
1184
  >;
1060
1185
 
1061
1186
  export type Targets = {
@@ -1065,7 +1190,7 @@ export type Targets = {
1065
1190
  aliasError?: UpdateProjectDataCacheAliasError | null | undefined;
1066
1191
  aliasFinal?: string | null | undefined;
1067
1192
  automaticAliases?: Array<string> | undefined;
1068
- branchMatcher?: UpdateProjectDataCacheBranchMatcher | undefined;
1193
+ branchMatcher?: UpdateProjectDataCacheProjectsBranchMatcher | undefined;
1069
1194
  buildingAt?: number | undefined;
1070
1195
  builds?: Array<UpdateProjectDataCacheBuilds> | undefined;
1071
1196
  checksConclusion?: UpdateProjectDataCacheChecksConclusion | undefined;
@@ -1094,7 +1219,7 @@ export type Targets = {
1094
1219
  requestedAt?: number | undefined;
1095
1220
  target?: string | null | undefined;
1096
1221
  teamId?: string | null | undefined;
1097
- type: UpdateProjectDataCacheProjectsType;
1222
+ type: UpdateProjectDataCacheProjectsResponseType;
1098
1223
  url: string;
1099
1224
  userId: string;
1100
1225
  withCache?: boolean | undefined;
@@ -1309,38 +1434,44 @@ export const JobStatus = {
1309
1434
  } as const;
1310
1435
  export type JobStatus = ClosedEnum<typeof JobStatus>;
1311
1436
 
1312
- export const UpdateProjectDataCacheProjectsResponseType = {
1437
+ export const UpdateProjectDataCacheProjectsResponse200Type = {
1313
1438
  Promote: "promote",
1314
1439
  Rollback: "rollback",
1315
1440
  } as const;
1316
- export type UpdateProjectDataCacheProjectsResponseType = ClosedEnum<
1317
- typeof UpdateProjectDataCacheProjectsResponseType
1441
+ export type UpdateProjectDataCacheProjectsResponse200Type = ClosedEnum<
1442
+ typeof UpdateProjectDataCacheProjectsResponse200Type
1318
1443
  >;
1319
1444
 
1320
1445
  export type LastAliasRequest = {
1321
1446
  fromDeploymentId: string;
1322
1447
  toDeploymentId: string;
1448
+ /**
1449
+ * If rolling back from a rolling release, fromDeploymentId captures the "base" of that rolling release, and fromRollingReleaseId captures the "target" of that rolling release.
1450
+ */
1451
+ fromRollingReleaseId?: string | undefined;
1323
1452
  jobStatus: JobStatus;
1324
1453
  requestedAt: number;
1325
- type: UpdateProjectDataCacheProjectsResponseType;
1454
+ type: UpdateProjectDataCacheProjectsResponse200Type;
1326
1455
  };
1327
1456
 
1328
- export const Scope = {
1457
+ export const UpdateProjectDataCacheScope = {
1329
1458
  AutomationBypass: "automation-bypass",
1330
1459
  } as const;
1331
- export type Scope = ClosedEnum<typeof Scope>;
1460
+ export type UpdateProjectDataCacheScope = ClosedEnum<
1461
+ typeof UpdateProjectDataCacheScope
1462
+ >;
1332
1463
 
1333
1464
  export type ProtectionBypass = {
1334
1465
  createdAt: number;
1335
1466
  createdBy: string;
1336
- scope: Scope;
1467
+ scope: UpdateProjectDataCacheScope;
1337
1468
  };
1338
1469
 
1339
1470
  export const UpdateProjectDataCacheTrustedIpsDeploymentType = {
1340
- All: "all",
1471
+ Production: "production",
1341
1472
  Preview: "preview",
1473
+ All: "all",
1342
1474
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
1343
- Production: "production",
1344
1475
  } as const;
1345
1476
  export type UpdateProjectDataCacheTrustedIpsDeploymentType = ClosedEnum<
1346
1477
  typeof UpdateProjectDataCacheTrustedIpsDeploymentType
@@ -1351,10 +1482,10 @@ export type TrustedIps2 = {
1351
1482
  };
1352
1483
 
1353
1484
  export const TrustedIpsDeploymentType = {
1354
- All: "all",
1485
+ Production: "production",
1355
1486
  Preview: "preview",
1487
+ All: "all",
1356
1488
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
1357
- Production: "production",
1358
1489
  } as const;
1359
1490
  export type TrustedIpsDeploymentType = ClosedEnum<
1360
1491
  typeof TrustedIpsDeploymentType
@@ -2321,26 +2452,31 @@ export function updateProjectDataCacheTargetFromJSON(
2321
2452
  }
2322
2453
 
2323
2454
  /** @internal */
2324
- export const UpdateProjectDataCacheProjectsResponse200Type$inboundSchema:
2325
- z.ZodNativeEnum<typeof UpdateProjectDataCacheProjectsResponse200Type> = z
2326
- .nativeEnum(UpdateProjectDataCacheProjectsResponse200Type);
2455
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema:
2456
+ z.ZodNativeEnum<
2457
+ typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONType
2458
+ > = z.nativeEnum(
2459
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONType,
2460
+ );
2327
2461
 
2328
2462
  /** @internal */
2329
- export const UpdateProjectDataCacheProjectsResponse200Type$outboundSchema:
2330
- z.ZodNativeEnum<typeof UpdateProjectDataCacheProjectsResponse200Type> =
2331
- UpdateProjectDataCacheProjectsResponse200Type$inboundSchema;
2463
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema:
2464
+ z.ZodNativeEnum<
2465
+ typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONType
2466
+ > =
2467
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema;
2332
2468
 
2333
2469
  /**
2334
2470
  * @internal
2335
2471
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2336
2472
  */
2337
- export namespace UpdateProjectDataCacheProjectsResponse200Type$ {
2338
- /** @deprecated use `UpdateProjectDataCacheProjectsResponse200Type$inboundSchema` instead. */
2473
+ export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$ {
2474
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
2339
2475
  export const inboundSchema =
2340
- UpdateProjectDataCacheProjectsResponse200Type$inboundSchema;
2341
- /** @deprecated use `UpdateProjectDataCacheProjectsResponse200Type$outboundSchema` instead. */
2476
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema;
2477
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
2342
2478
  export const outboundSchema =
2343
- UpdateProjectDataCacheProjectsResponse200Type$outboundSchema;
2479
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema;
2344
2480
  }
2345
2481
 
2346
2482
  /** @internal */
@@ -3657,31 +3793,31 @@ export function contentHintFromJSON(
3657
3793
  }
3658
3794
 
3659
3795
  /** @internal */
3660
- export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema:
3796
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema:
3661
3797
  z.ZodNativeEnum<
3662
- typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType
3798
+ typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType
3663
3799
  > = z.nativeEnum(
3664
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType,
3800
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType,
3665
3801
  );
3666
3802
 
3667
3803
  /** @internal */
3668
- export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema:
3804
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema:
3669
3805
  z.ZodNativeEnum<
3670
- typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType
3806
+ typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType
3671
3807
  > =
3672
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
3808
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema;
3673
3809
 
3674
3810
  /**
3675
3811
  * @internal
3676
3812
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3677
3813
  */
3678
- export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$ {
3679
- /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
3814
+ export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$ {
3815
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema` instead. */
3680
3816
  export const inboundSchema =
3681
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
3682
- /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
3817
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema;
3818
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema` instead. */
3683
3819
  export const outboundSchema =
3684
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema;
3820
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema;
3685
3821
  }
3686
3822
 
3687
3823
  /** @internal */
@@ -3691,7 +3827,7 @@ export const InternalContentHint$inboundSchema: z.ZodType<
3691
3827
  unknown
3692
3828
  > = z.object({
3693
3829
  type:
3694
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema,
3830
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema,
3695
3831
  encryptedValue: z.string(),
3696
3832
  });
3697
3833
 
@@ -3708,7 +3844,7 @@ export const InternalContentHint$outboundSchema: z.ZodType<
3708
3844
  InternalContentHint
3709
3845
  > = z.object({
3710
3846
  type:
3711
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema,
3847
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema,
3712
3848
  encryptedValue: z.string(),
3713
3849
  });
3714
3850
 
@@ -3750,7 +3886,8 @@ export const Env$inboundSchema: z.ZodType<Env, z.ZodTypeDef, unknown> = z
3750
3886
  z.array(UpdateProjectDataCacheTarget1$inboundSchema),
3751
3887
  UpdateProjectDataCacheTarget2$inboundSchema,
3752
3888
  ]).optional(),
3753
- type: UpdateProjectDataCacheProjectsResponse200Type$inboundSchema,
3889
+ type:
3890
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema,
3754
3891
  sunsetSecretId: z.string().optional(),
3755
3892
  decrypted: z.boolean().optional(),
3756
3893
  value: z.string(),
@@ -3839,7 +3976,8 @@ export const Env$outboundSchema: z.ZodType<Env$Outbound, z.ZodTypeDef, Env> = z
3839
3976
  z.array(UpdateProjectDataCacheTarget1$outboundSchema),
3840
3977
  UpdateProjectDataCacheTarget2$outboundSchema,
3841
3978
  ]).optional(),
3842
- type: UpdateProjectDataCacheProjectsResponse200Type$outboundSchema,
3979
+ type:
3980
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema,
3843
3981
  sunsetSecretId: z.string().optional(),
3844
3982
  decrypted: z.boolean().optional(),
3845
3983
  value: z.string(),
@@ -3908,59 +4046,376 @@ export function envFromJSON(
3908
4046
  }
3909
4047
 
3910
4048
  /** @internal */
3911
- export const CustomEnvironments$inboundSchema: z.ZodType<
3912
- CustomEnvironments,
3913
- z.ZodTypeDef,
3914
- unknown
3915
- > = z.object({});
3916
-
3917
- /** @internal */
3918
- export type CustomEnvironments$Outbound = {};
4049
+ export const UpdateProjectDataCacheType$inboundSchema: z.ZodNativeEnum<
4050
+ typeof UpdateProjectDataCacheType
4051
+ > = z.nativeEnum(UpdateProjectDataCacheType);
3919
4052
 
3920
4053
  /** @internal */
3921
- export const CustomEnvironments$outboundSchema: z.ZodType<
3922
- CustomEnvironments$Outbound,
3923
- z.ZodTypeDef,
3924
- CustomEnvironments
3925
- > = z.object({});
4054
+ export const UpdateProjectDataCacheType$outboundSchema: z.ZodNativeEnum<
4055
+ typeof UpdateProjectDataCacheType
4056
+ > = UpdateProjectDataCacheType$inboundSchema;
3926
4057
 
3927
4058
  /**
3928
4059
  * @internal
3929
4060
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3930
4061
  */
3931
- export namespace CustomEnvironments$ {
3932
- /** @deprecated use `CustomEnvironments$inboundSchema` instead. */
3933
- export const inboundSchema = CustomEnvironments$inboundSchema;
3934
- /** @deprecated use `CustomEnvironments$outboundSchema` instead. */
3935
- export const outboundSchema = CustomEnvironments$outboundSchema;
3936
- /** @deprecated use `CustomEnvironments$Outbound` instead. */
3937
- export type Outbound = CustomEnvironments$Outbound;
3938
- }
3939
-
3940
- export function customEnvironmentsToJSON(
3941
- customEnvironments: CustomEnvironments,
3942
- ): string {
3943
- return JSON.stringify(
3944
- CustomEnvironments$outboundSchema.parse(customEnvironments),
3945
- );
4062
+ export namespace UpdateProjectDataCacheType$ {
4063
+ /** @deprecated use `UpdateProjectDataCacheType$inboundSchema` instead. */
4064
+ export const inboundSchema = UpdateProjectDataCacheType$inboundSchema;
4065
+ /** @deprecated use `UpdateProjectDataCacheType$outboundSchema` instead. */
4066
+ export const outboundSchema = UpdateProjectDataCacheType$outboundSchema;
3946
4067
  }
3947
4068
 
3948
- export function customEnvironmentsFromJSON(
3949
- jsonString: string,
3950
- ): SafeParseResult<CustomEnvironments, SDKValidationError> {
3951
- return safeParse(
3952
- jsonString,
3953
- (x) => CustomEnvironments$inboundSchema.parse(JSON.parse(x)),
3954
- `Failed to parse 'CustomEnvironments' from JSON`,
4069
+ /** @internal */
4070
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema:
4071
+ z.ZodNativeEnum<
4072
+ typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType
4073
+ > = z.nativeEnum(
4074
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType,
3955
4075
  );
3956
- }
3957
4076
 
3958
4077
  /** @internal */
3959
- export const UpdateProjectDataCacheFramework$inboundSchema: z.ZodNativeEnum<
3960
- typeof UpdateProjectDataCacheFramework
3961
- > = z.nativeEnum(UpdateProjectDataCacheFramework);
4078
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema:
4079
+ z.ZodNativeEnum<
4080
+ typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType
4081
+ > =
4082
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema;
3962
4083
 
3963
- /** @internal */
4084
+ /**
4085
+ * @internal
4086
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4087
+ */
4088
+ export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$ {
4089
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema` instead. */
4090
+ export const inboundSchema =
4091
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema;
4092
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema` instead. */
4093
+ export const outboundSchema =
4094
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema;
4095
+ }
4096
+
4097
+ /** @internal */
4098
+ export const UpdateProjectDataCacheProjectsResponseBranchMatcher$inboundSchema:
4099
+ z.ZodType<
4100
+ UpdateProjectDataCacheProjectsResponseBranchMatcher,
4101
+ z.ZodTypeDef,
4102
+ unknown
4103
+ > = z.object({
4104
+ type:
4105
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema,
4106
+ pattern: z.string(),
4107
+ });
4108
+
4109
+ /** @internal */
4110
+ export type UpdateProjectDataCacheProjectsResponseBranchMatcher$Outbound = {
4111
+ type: string;
4112
+ pattern: string;
4113
+ };
4114
+
4115
+ /** @internal */
4116
+ export const UpdateProjectDataCacheProjectsResponseBranchMatcher$outboundSchema:
4117
+ z.ZodType<
4118
+ UpdateProjectDataCacheProjectsResponseBranchMatcher$Outbound,
4119
+ z.ZodTypeDef,
4120
+ UpdateProjectDataCacheProjectsResponseBranchMatcher
4121
+ > = z.object({
4122
+ type:
4123
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema,
4124
+ pattern: z.string(),
4125
+ });
4126
+
4127
+ /**
4128
+ * @internal
4129
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4130
+ */
4131
+ export namespace UpdateProjectDataCacheProjectsResponseBranchMatcher$ {
4132
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponseBranchMatcher$inboundSchema` instead. */
4133
+ export const inboundSchema =
4134
+ UpdateProjectDataCacheProjectsResponseBranchMatcher$inboundSchema;
4135
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponseBranchMatcher$outboundSchema` instead. */
4136
+ export const outboundSchema =
4137
+ UpdateProjectDataCacheProjectsResponseBranchMatcher$outboundSchema;
4138
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponseBranchMatcher$Outbound` instead. */
4139
+ export type Outbound =
4140
+ UpdateProjectDataCacheProjectsResponseBranchMatcher$Outbound;
4141
+ }
4142
+
4143
+ export function updateProjectDataCacheProjectsResponseBranchMatcherToJSON(
4144
+ updateProjectDataCacheProjectsResponseBranchMatcher:
4145
+ UpdateProjectDataCacheProjectsResponseBranchMatcher,
4146
+ ): string {
4147
+ return JSON.stringify(
4148
+ UpdateProjectDataCacheProjectsResponseBranchMatcher$outboundSchema.parse(
4149
+ updateProjectDataCacheProjectsResponseBranchMatcher,
4150
+ ),
4151
+ );
4152
+ }
4153
+
4154
+ export function updateProjectDataCacheProjectsResponseBranchMatcherFromJSON(
4155
+ jsonString: string,
4156
+ ): SafeParseResult<
4157
+ UpdateProjectDataCacheProjectsResponseBranchMatcher,
4158
+ SDKValidationError
4159
+ > {
4160
+ return safeParse(
4161
+ jsonString,
4162
+ (x) =>
4163
+ UpdateProjectDataCacheProjectsResponseBranchMatcher$inboundSchema.parse(
4164
+ JSON.parse(x),
4165
+ ),
4166
+ `Failed to parse 'UpdateProjectDataCacheProjectsResponseBranchMatcher' from JSON`,
4167
+ );
4168
+ }
4169
+
4170
+ /** @internal */
4171
+ export const UpdateProjectDataCacheVerification$inboundSchema: z.ZodType<
4172
+ UpdateProjectDataCacheVerification,
4173
+ z.ZodTypeDef,
4174
+ unknown
4175
+ > = z.object({
4176
+ type: z.string(),
4177
+ domain: z.string(),
4178
+ value: z.string(),
4179
+ reason: z.string(),
4180
+ });
4181
+
4182
+ /** @internal */
4183
+ export type UpdateProjectDataCacheVerification$Outbound = {
4184
+ type: string;
4185
+ domain: string;
4186
+ value: string;
4187
+ reason: string;
4188
+ };
4189
+
4190
+ /** @internal */
4191
+ export const UpdateProjectDataCacheVerification$outboundSchema: z.ZodType<
4192
+ UpdateProjectDataCacheVerification$Outbound,
4193
+ z.ZodTypeDef,
4194
+ UpdateProjectDataCacheVerification
4195
+ > = z.object({
4196
+ type: z.string(),
4197
+ domain: z.string(),
4198
+ value: z.string(),
4199
+ reason: z.string(),
4200
+ });
4201
+
4202
+ /**
4203
+ * @internal
4204
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4205
+ */
4206
+ export namespace UpdateProjectDataCacheVerification$ {
4207
+ /** @deprecated use `UpdateProjectDataCacheVerification$inboundSchema` instead. */
4208
+ export const inboundSchema = UpdateProjectDataCacheVerification$inboundSchema;
4209
+ /** @deprecated use `UpdateProjectDataCacheVerification$outboundSchema` instead. */
4210
+ export const outboundSchema =
4211
+ UpdateProjectDataCacheVerification$outboundSchema;
4212
+ /** @deprecated use `UpdateProjectDataCacheVerification$Outbound` instead. */
4213
+ export type Outbound = UpdateProjectDataCacheVerification$Outbound;
4214
+ }
4215
+
4216
+ export function updateProjectDataCacheVerificationToJSON(
4217
+ updateProjectDataCacheVerification: UpdateProjectDataCacheVerification,
4218
+ ): string {
4219
+ return JSON.stringify(
4220
+ UpdateProjectDataCacheVerification$outboundSchema.parse(
4221
+ updateProjectDataCacheVerification,
4222
+ ),
4223
+ );
4224
+ }
4225
+
4226
+ export function updateProjectDataCacheVerificationFromJSON(
4227
+ jsonString: string,
4228
+ ): SafeParseResult<UpdateProjectDataCacheVerification, SDKValidationError> {
4229
+ return safeParse(
4230
+ jsonString,
4231
+ (x) =>
4232
+ UpdateProjectDataCacheVerification$inboundSchema.parse(JSON.parse(x)),
4233
+ `Failed to parse 'UpdateProjectDataCacheVerification' from JSON`,
4234
+ );
4235
+ }
4236
+
4237
+ /** @internal */
4238
+ export const UpdateProjectDataCacheDomains$inboundSchema: z.ZodType<
4239
+ UpdateProjectDataCacheDomains,
4240
+ z.ZodTypeDef,
4241
+ unknown
4242
+ > = z.object({
4243
+ name: z.string(),
4244
+ apexName: z.string(),
4245
+ projectId: z.string(),
4246
+ redirect: z.nullable(z.string()).optional(),
4247
+ redirectStatusCode: z.nullable(z.number()).optional(),
4248
+ gitBranch: z.nullable(z.string()).optional(),
4249
+ customEnvironmentId: z.nullable(z.string()).optional(),
4250
+ updatedAt: z.number().optional(),
4251
+ createdAt: z.number().optional(),
4252
+ verified: z.boolean(),
4253
+ verification: z.array(
4254
+ z.lazy(() => UpdateProjectDataCacheVerification$inboundSchema),
4255
+ ).optional(),
4256
+ });
4257
+
4258
+ /** @internal */
4259
+ export type UpdateProjectDataCacheDomains$Outbound = {
4260
+ name: string;
4261
+ apexName: string;
4262
+ projectId: string;
4263
+ redirect?: string | null | undefined;
4264
+ redirectStatusCode?: number | null | undefined;
4265
+ gitBranch?: string | null | undefined;
4266
+ customEnvironmentId?: string | null | undefined;
4267
+ updatedAt?: number | undefined;
4268
+ createdAt?: number | undefined;
4269
+ verified: boolean;
4270
+ verification?: Array<UpdateProjectDataCacheVerification$Outbound> | undefined;
4271
+ };
4272
+
4273
+ /** @internal */
4274
+ export const UpdateProjectDataCacheDomains$outboundSchema: z.ZodType<
4275
+ UpdateProjectDataCacheDomains$Outbound,
4276
+ z.ZodTypeDef,
4277
+ UpdateProjectDataCacheDomains
4278
+ > = z.object({
4279
+ name: z.string(),
4280
+ apexName: z.string(),
4281
+ projectId: z.string(),
4282
+ redirect: z.nullable(z.string()).optional(),
4283
+ redirectStatusCode: z.nullable(z.number()).optional(),
4284
+ gitBranch: z.nullable(z.string()).optional(),
4285
+ customEnvironmentId: z.nullable(z.string()).optional(),
4286
+ updatedAt: z.number().optional(),
4287
+ createdAt: z.number().optional(),
4288
+ verified: z.boolean(),
4289
+ verification: z.array(
4290
+ z.lazy(() => UpdateProjectDataCacheVerification$outboundSchema),
4291
+ ).optional(),
4292
+ });
4293
+
4294
+ /**
4295
+ * @internal
4296
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4297
+ */
4298
+ export namespace UpdateProjectDataCacheDomains$ {
4299
+ /** @deprecated use `UpdateProjectDataCacheDomains$inboundSchema` instead. */
4300
+ export const inboundSchema = UpdateProjectDataCacheDomains$inboundSchema;
4301
+ /** @deprecated use `UpdateProjectDataCacheDomains$outboundSchema` instead. */
4302
+ export const outboundSchema = UpdateProjectDataCacheDomains$outboundSchema;
4303
+ /** @deprecated use `UpdateProjectDataCacheDomains$Outbound` instead. */
4304
+ export type Outbound = UpdateProjectDataCacheDomains$Outbound;
4305
+ }
4306
+
4307
+ export function updateProjectDataCacheDomainsToJSON(
4308
+ updateProjectDataCacheDomains: UpdateProjectDataCacheDomains,
4309
+ ): string {
4310
+ return JSON.stringify(
4311
+ UpdateProjectDataCacheDomains$outboundSchema.parse(
4312
+ updateProjectDataCacheDomains,
4313
+ ),
4314
+ );
4315
+ }
4316
+
4317
+ export function updateProjectDataCacheDomainsFromJSON(
4318
+ jsonString: string,
4319
+ ): SafeParseResult<UpdateProjectDataCacheDomains, SDKValidationError> {
4320
+ return safeParse(
4321
+ jsonString,
4322
+ (x) => UpdateProjectDataCacheDomains$inboundSchema.parse(JSON.parse(x)),
4323
+ `Failed to parse 'UpdateProjectDataCacheDomains' from JSON`,
4324
+ );
4325
+ }
4326
+
4327
+ /** @internal */
4328
+ export const CustomEnvironments$inboundSchema: z.ZodType<
4329
+ CustomEnvironments,
4330
+ z.ZodTypeDef,
4331
+ unknown
4332
+ > = z.object({
4333
+ id: z.string(),
4334
+ slug: z.string(),
4335
+ type: UpdateProjectDataCacheType$inboundSchema,
4336
+ description: z.string().optional(),
4337
+ branchMatcher: z.lazy(() =>
4338
+ UpdateProjectDataCacheProjectsResponseBranchMatcher$inboundSchema
4339
+ ).optional(),
4340
+ domains: z.array(z.lazy(() => UpdateProjectDataCacheDomains$inboundSchema))
4341
+ .optional(),
4342
+ currentDeploymentAliases: z.array(z.string()).optional(),
4343
+ createdAt: z.number(),
4344
+ updatedAt: z.number(),
4345
+ });
4346
+
4347
+ /** @internal */
4348
+ export type CustomEnvironments$Outbound = {
4349
+ id: string;
4350
+ slug: string;
4351
+ type: string;
4352
+ description?: string | undefined;
4353
+ branchMatcher?:
4354
+ | UpdateProjectDataCacheProjectsResponseBranchMatcher$Outbound
4355
+ | undefined;
4356
+ domains?: Array<UpdateProjectDataCacheDomains$Outbound> | undefined;
4357
+ currentDeploymentAliases?: Array<string> | undefined;
4358
+ createdAt: number;
4359
+ updatedAt: number;
4360
+ };
4361
+
4362
+ /** @internal */
4363
+ export const CustomEnvironments$outboundSchema: z.ZodType<
4364
+ CustomEnvironments$Outbound,
4365
+ z.ZodTypeDef,
4366
+ CustomEnvironments
4367
+ > = z.object({
4368
+ id: z.string(),
4369
+ slug: z.string(),
4370
+ type: UpdateProjectDataCacheType$outboundSchema,
4371
+ description: z.string().optional(),
4372
+ branchMatcher: z.lazy(() =>
4373
+ UpdateProjectDataCacheProjectsResponseBranchMatcher$outboundSchema
4374
+ ).optional(),
4375
+ domains: z.array(z.lazy(() => UpdateProjectDataCacheDomains$outboundSchema))
4376
+ .optional(),
4377
+ currentDeploymentAliases: z.array(z.string()).optional(),
4378
+ createdAt: z.number(),
4379
+ updatedAt: z.number(),
4380
+ });
4381
+
4382
+ /**
4383
+ * @internal
4384
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4385
+ */
4386
+ export namespace CustomEnvironments$ {
4387
+ /** @deprecated use `CustomEnvironments$inboundSchema` instead. */
4388
+ export const inboundSchema = CustomEnvironments$inboundSchema;
4389
+ /** @deprecated use `CustomEnvironments$outboundSchema` instead. */
4390
+ export const outboundSchema = CustomEnvironments$outboundSchema;
4391
+ /** @deprecated use `CustomEnvironments$Outbound` instead. */
4392
+ export type Outbound = CustomEnvironments$Outbound;
4393
+ }
4394
+
4395
+ export function customEnvironmentsToJSON(
4396
+ customEnvironments: CustomEnvironments,
4397
+ ): string {
4398
+ return JSON.stringify(
4399
+ CustomEnvironments$outboundSchema.parse(customEnvironments),
4400
+ );
4401
+ }
4402
+
4403
+ export function customEnvironmentsFromJSON(
4404
+ jsonString: string,
4405
+ ): SafeParseResult<CustomEnvironments, SDKValidationError> {
4406
+ return safeParse(
4407
+ jsonString,
4408
+ (x) => CustomEnvironments$inboundSchema.parse(JSON.parse(x)),
4409
+ `Failed to parse 'CustomEnvironments' from JSON`,
4410
+ );
4411
+ }
4412
+
4413
+ /** @internal */
4414
+ export const UpdateProjectDataCacheFramework$inboundSchema: z.ZodNativeEnum<
4415
+ typeof UpdateProjectDataCacheFramework
4416
+ > = z.nativeEnum(UpdateProjectDataCacheFramework);
4417
+
4418
+ /** @internal */
3964
4419
  export const UpdateProjectDataCacheFramework$outboundSchema: z.ZodNativeEnum<
3965
4420
  typeof UpdateProjectDataCacheFramework
3966
4421
  > = UpdateProjectDataCacheFramework$inboundSchema;
@@ -4142,102 +4597,94 @@ export function updateProjectDataCacheProjectsAliasErrorFromJSON(
4142
4597
  }
4143
4598
 
4144
4599
  /** @internal */
4145
- export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema:
4600
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema:
4146
4601
  z.ZodNativeEnum<
4147
- typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONType
4602
+ typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType
4148
4603
  > = z.nativeEnum(
4149
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONType,
4604
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType,
4150
4605
  );
4151
4606
 
4152
4607
  /** @internal */
4153
- export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema:
4608
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema:
4154
4609
  z.ZodNativeEnum<
4155
- typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONType
4610
+ typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType
4156
4611
  > =
4157
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema;
4612
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema;
4158
4613
 
4159
4614
  /**
4160
4615
  * @internal
4161
4616
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4162
4617
  */
4163
- export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$ {
4164
- /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
4618
+ export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$ {
4619
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema` instead. */
4165
4620
  export const inboundSchema =
4166
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema;
4167
- /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
4621
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema;
4622
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema` instead. */
4168
4623
  export const outboundSchema =
4169
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema;
4624
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema;
4170
4625
  }
4171
4626
 
4172
4627
  /** @internal */
4173
- export const UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema:
4174
- z.ZodType<
4175
- UpdateProjectDataCacheProjectsBranchMatcher,
4176
- z.ZodTypeDef,
4177
- unknown
4178
- > = z.object({
4179
- type:
4180
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema,
4181
- pattern: z.string(),
4182
- });
4628
+ export const UpdateProjectDataCacheBranchMatcher$inboundSchema: z.ZodType<
4629
+ UpdateProjectDataCacheBranchMatcher,
4630
+ z.ZodTypeDef,
4631
+ unknown
4632
+ > = z.object({
4633
+ type:
4634
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema,
4635
+ pattern: z.string(),
4636
+ });
4183
4637
 
4184
4638
  /** @internal */
4185
- export type UpdateProjectDataCacheProjectsBranchMatcher$Outbound = {
4639
+ export type UpdateProjectDataCacheBranchMatcher$Outbound = {
4186
4640
  type: string;
4187
4641
  pattern: string;
4188
4642
  };
4189
4643
 
4190
4644
  /** @internal */
4191
- export const UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema:
4192
- z.ZodType<
4193
- UpdateProjectDataCacheProjectsBranchMatcher$Outbound,
4194
- z.ZodTypeDef,
4195
- UpdateProjectDataCacheProjectsBranchMatcher
4196
- > = z.object({
4197
- type:
4198
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema,
4199
- pattern: z.string(),
4200
- });
4645
+ export const UpdateProjectDataCacheBranchMatcher$outboundSchema: z.ZodType<
4646
+ UpdateProjectDataCacheBranchMatcher$Outbound,
4647
+ z.ZodTypeDef,
4648
+ UpdateProjectDataCacheBranchMatcher
4649
+ > = z.object({
4650
+ type:
4651
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema,
4652
+ pattern: z.string(),
4653
+ });
4201
4654
 
4202
4655
  /**
4203
4656
  * @internal
4204
4657
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4205
4658
  */
4206
- export namespace UpdateProjectDataCacheProjectsBranchMatcher$ {
4207
- /** @deprecated use `UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema` instead. */
4659
+ export namespace UpdateProjectDataCacheBranchMatcher$ {
4660
+ /** @deprecated use `UpdateProjectDataCacheBranchMatcher$inboundSchema` instead. */
4208
4661
  export const inboundSchema =
4209
- UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema;
4210
- /** @deprecated use `UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema` instead. */
4662
+ UpdateProjectDataCacheBranchMatcher$inboundSchema;
4663
+ /** @deprecated use `UpdateProjectDataCacheBranchMatcher$outboundSchema` instead. */
4211
4664
  export const outboundSchema =
4212
- UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema;
4213
- /** @deprecated use `UpdateProjectDataCacheProjectsBranchMatcher$Outbound` instead. */
4214
- export type Outbound = UpdateProjectDataCacheProjectsBranchMatcher$Outbound;
4665
+ UpdateProjectDataCacheBranchMatcher$outboundSchema;
4666
+ /** @deprecated use `UpdateProjectDataCacheBranchMatcher$Outbound` instead. */
4667
+ export type Outbound = UpdateProjectDataCacheBranchMatcher$Outbound;
4215
4668
  }
4216
4669
 
4217
- export function updateProjectDataCacheProjectsBranchMatcherToJSON(
4218
- updateProjectDataCacheProjectsBranchMatcher:
4219
- UpdateProjectDataCacheProjectsBranchMatcher,
4670
+ export function updateProjectDataCacheBranchMatcherToJSON(
4671
+ updateProjectDataCacheBranchMatcher: UpdateProjectDataCacheBranchMatcher,
4220
4672
  ): string {
4221
4673
  return JSON.stringify(
4222
- UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema.parse(
4223
- updateProjectDataCacheProjectsBranchMatcher,
4674
+ UpdateProjectDataCacheBranchMatcher$outboundSchema.parse(
4675
+ updateProjectDataCacheBranchMatcher,
4224
4676
  ),
4225
4677
  );
4226
4678
  }
4227
4679
 
4228
- export function updateProjectDataCacheProjectsBranchMatcherFromJSON(
4680
+ export function updateProjectDataCacheBranchMatcherFromJSON(
4229
4681
  jsonString: string,
4230
- ): SafeParseResult<
4231
- UpdateProjectDataCacheProjectsBranchMatcher,
4232
- SDKValidationError
4233
- > {
4682
+ ): SafeParseResult<UpdateProjectDataCacheBranchMatcher, SDKValidationError> {
4234
4683
  return safeParse(
4235
4684
  jsonString,
4236
4685
  (x) =>
4237
- UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema.parse(
4238
- JSON.parse(x),
4239
- ),
4240
- `Failed to parse 'UpdateProjectDataCacheProjectsBranchMatcher' from JSON`,
4686
+ UpdateProjectDataCacheBranchMatcher$inboundSchema.parse(JSON.parse(x)),
4687
+ `Failed to parse 'UpdateProjectDataCacheBranchMatcher' from JSON`,
4241
4688
  );
4242
4689
  }
4243
4690
 
@@ -4593,24 +5040,25 @@ export namespace UpdateProjectDataCacheProjectsReadySubstate$ {
4593
5040
  }
4594
5041
 
4595
5042
  /** @internal */
4596
- export const UpdateProjectDataCacheType$inboundSchema: z.ZodNativeEnum<
4597
- typeof UpdateProjectDataCacheType
4598
- > = z.nativeEnum(UpdateProjectDataCacheType);
5043
+ export const UpdateProjectDataCacheProjectsType$inboundSchema: z.ZodNativeEnum<
5044
+ typeof UpdateProjectDataCacheProjectsType
5045
+ > = z.nativeEnum(UpdateProjectDataCacheProjectsType);
4599
5046
 
4600
5047
  /** @internal */
4601
- export const UpdateProjectDataCacheType$outboundSchema: z.ZodNativeEnum<
4602
- typeof UpdateProjectDataCacheType
4603
- > = UpdateProjectDataCacheType$inboundSchema;
5048
+ export const UpdateProjectDataCacheProjectsType$outboundSchema: z.ZodNativeEnum<
5049
+ typeof UpdateProjectDataCacheProjectsType
5050
+ > = UpdateProjectDataCacheProjectsType$inboundSchema;
4604
5051
 
4605
5052
  /**
4606
5053
  * @internal
4607
5054
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4608
5055
  */
4609
- export namespace UpdateProjectDataCacheType$ {
4610
- /** @deprecated use `UpdateProjectDataCacheType$inboundSchema` instead. */
4611
- export const inboundSchema = UpdateProjectDataCacheType$inboundSchema;
4612
- /** @deprecated use `UpdateProjectDataCacheType$outboundSchema` instead. */
4613
- export const outboundSchema = UpdateProjectDataCacheType$outboundSchema;
5056
+ export namespace UpdateProjectDataCacheProjectsType$ {
5057
+ /** @deprecated use `UpdateProjectDataCacheProjectsType$inboundSchema` instead. */
5058
+ export const inboundSchema = UpdateProjectDataCacheProjectsType$inboundSchema;
5059
+ /** @deprecated use `UpdateProjectDataCacheProjectsType$outboundSchema` instead. */
5060
+ export const outboundSchema =
5061
+ UpdateProjectDataCacheProjectsType$outboundSchema;
4614
5062
  }
4615
5063
 
4616
5064
  /** @internal */
@@ -4627,9 +5075,8 @@ export const LatestDeployments$inboundSchema: z.ZodType<
4627
5075
  ).optional(),
4628
5076
  aliasFinal: z.nullable(z.string()).optional(),
4629
5077
  automaticAliases: z.array(z.string()).optional(),
4630
- branchMatcher: z.lazy(() =>
4631
- UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema
4632
- ).optional(),
5078
+ branchMatcher: z.lazy(() => UpdateProjectDataCacheBranchMatcher$inboundSchema)
5079
+ .optional(),
4633
5080
  buildingAt: z.number().optional(),
4634
5081
  builds: z.array(
4635
5082
  z.lazy(() => UpdateProjectDataCacheProjectsBuilds$inboundSchema),
@@ -4664,7 +5111,7 @@ export const LatestDeployments$inboundSchema: z.ZodType<
4664
5111
  requestedAt: z.number().optional(),
4665
5112
  target: z.nullable(z.string()).optional(),
4666
5113
  teamId: z.nullable(z.string()).optional(),
4667
- type: UpdateProjectDataCacheType$inboundSchema,
5114
+ type: UpdateProjectDataCacheProjectsType$inboundSchema,
4668
5115
  url: z.string(),
4669
5116
  userId: z.string(),
4670
5117
  withCache: z.boolean().optional(),
@@ -4681,9 +5128,7 @@ export type LatestDeployments$Outbound = {
4681
5128
  | undefined;
4682
5129
  aliasFinal?: string | null | undefined;
4683
5130
  automaticAliases?: Array<string> | undefined;
4684
- branchMatcher?:
4685
- | UpdateProjectDataCacheProjectsBranchMatcher$Outbound
4686
- | undefined;
5131
+ branchMatcher?: UpdateProjectDataCacheBranchMatcher$Outbound | undefined;
4687
5132
  buildingAt?: number | undefined;
4688
5133
  builds?: Array<UpdateProjectDataCacheProjectsBuilds$Outbound> | undefined;
4689
5134
  checksConclusion?: string | undefined;
@@ -4732,7 +5177,7 @@ export const LatestDeployments$outboundSchema: z.ZodType<
4732
5177
  aliasFinal: z.nullable(z.string()).optional(),
4733
5178
  automaticAliases: z.array(z.string()).optional(),
4734
5179
  branchMatcher: z.lazy(() =>
4735
- UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema
5180
+ UpdateProjectDataCacheBranchMatcher$outboundSchema
4736
5181
  ).optional(),
4737
5182
  buildingAt: z.number().optional(),
4738
5183
  builds: z.array(
@@ -4768,7 +5213,7 @@ export const LatestDeployments$outboundSchema: z.ZodType<
4768
5213
  requestedAt: z.number().optional(),
4769
5214
  target: z.nullable(z.string()).optional(),
4770
5215
  teamId: z.nullable(z.string()).optional(),
4771
- type: UpdateProjectDataCacheType$outboundSchema,
5216
+ type: UpdateProjectDataCacheProjectsType$outboundSchema,
4772
5217
  url: z.string(),
4773
5218
  userId: z.string(),
4774
5219
  withCache: z.boolean().optional(),
@@ -6498,94 +6943,102 @@ export function updateProjectDataCacheAliasErrorFromJSON(
6498
6943
  }
6499
6944
 
6500
6945
  /** @internal */
6501
- export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema:
6946
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema:
6502
6947
  z.ZodNativeEnum<
6503
- typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType
6948
+ typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType
6504
6949
  > = z.nativeEnum(
6505
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType,
6950
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType,
6506
6951
  );
6507
6952
 
6508
6953
  /** @internal */
6509
- export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema:
6954
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema:
6510
6955
  z.ZodNativeEnum<
6511
- typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType
6956
+ typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType
6512
6957
  > =
6513
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema;
6958
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
6514
6959
 
6515
6960
  /**
6516
6961
  * @internal
6517
6962
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6518
6963
  */
6519
- export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$ {
6520
- /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema` instead. */
6964
+ export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$ {
6965
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
6521
6966
  export const inboundSchema =
6522
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema;
6523
- /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema` instead. */
6967
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
6968
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
6524
6969
  export const outboundSchema =
6525
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema;
6970
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema;
6526
6971
  }
6527
6972
 
6528
6973
  /** @internal */
6529
- export const UpdateProjectDataCacheBranchMatcher$inboundSchema: z.ZodType<
6530
- UpdateProjectDataCacheBranchMatcher,
6531
- z.ZodTypeDef,
6532
- unknown
6533
- > = z.object({
6534
- type:
6535
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema,
6536
- pattern: z.string(),
6537
- });
6974
+ export const UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema:
6975
+ z.ZodType<
6976
+ UpdateProjectDataCacheProjectsBranchMatcher,
6977
+ z.ZodTypeDef,
6978
+ unknown
6979
+ > = z.object({
6980
+ type:
6981
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema,
6982
+ pattern: z.string(),
6983
+ });
6538
6984
 
6539
6985
  /** @internal */
6540
- export type UpdateProjectDataCacheBranchMatcher$Outbound = {
6986
+ export type UpdateProjectDataCacheProjectsBranchMatcher$Outbound = {
6541
6987
  type: string;
6542
6988
  pattern: string;
6543
6989
  };
6544
6990
 
6545
6991
  /** @internal */
6546
- export const UpdateProjectDataCacheBranchMatcher$outboundSchema: z.ZodType<
6547
- UpdateProjectDataCacheBranchMatcher$Outbound,
6548
- z.ZodTypeDef,
6549
- UpdateProjectDataCacheBranchMatcher
6550
- > = z.object({
6551
- type:
6552
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema,
6553
- pattern: z.string(),
6554
- });
6992
+ export const UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema:
6993
+ z.ZodType<
6994
+ UpdateProjectDataCacheProjectsBranchMatcher$Outbound,
6995
+ z.ZodTypeDef,
6996
+ UpdateProjectDataCacheProjectsBranchMatcher
6997
+ > = z.object({
6998
+ type:
6999
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema,
7000
+ pattern: z.string(),
7001
+ });
6555
7002
 
6556
7003
  /**
6557
7004
  * @internal
6558
7005
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6559
7006
  */
6560
- export namespace UpdateProjectDataCacheBranchMatcher$ {
6561
- /** @deprecated use `UpdateProjectDataCacheBranchMatcher$inboundSchema` instead. */
7007
+ export namespace UpdateProjectDataCacheProjectsBranchMatcher$ {
7008
+ /** @deprecated use `UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema` instead. */
6562
7009
  export const inboundSchema =
6563
- UpdateProjectDataCacheBranchMatcher$inboundSchema;
6564
- /** @deprecated use `UpdateProjectDataCacheBranchMatcher$outboundSchema` instead. */
7010
+ UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema;
7011
+ /** @deprecated use `UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema` instead. */
6565
7012
  export const outboundSchema =
6566
- UpdateProjectDataCacheBranchMatcher$outboundSchema;
6567
- /** @deprecated use `UpdateProjectDataCacheBranchMatcher$Outbound` instead. */
6568
- export type Outbound = UpdateProjectDataCacheBranchMatcher$Outbound;
7013
+ UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema;
7014
+ /** @deprecated use `UpdateProjectDataCacheProjectsBranchMatcher$Outbound` instead. */
7015
+ export type Outbound = UpdateProjectDataCacheProjectsBranchMatcher$Outbound;
6569
7016
  }
6570
7017
 
6571
- export function updateProjectDataCacheBranchMatcherToJSON(
6572
- updateProjectDataCacheBranchMatcher: UpdateProjectDataCacheBranchMatcher,
7018
+ export function updateProjectDataCacheProjectsBranchMatcherToJSON(
7019
+ updateProjectDataCacheProjectsBranchMatcher:
7020
+ UpdateProjectDataCacheProjectsBranchMatcher,
6573
7021
  ): string {
6574
7022
  return JSON.stringify(
6575
- UpdateProjectDataCacheBranchMatcher$outboundSchema.parse(
6576
- updateProjectDataCacheBranchMatcher,
7023
+ UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema.parse(
7024
+ updateProjectDataCacheProjectsBranchMatcher,
6577
7025
  ),
6578
7026
  );
6579
7027
  }
6580
7028
 
6581
- export function updateProjectDataCacheBranchMatcherFromJSON(
7029
+ export function updateProjectDataCacheProjectsBranchMatcherFromJSON(
6582
7030
  jsonString: string,
6583
- ): SafeParseResult<UpdateProjectDataCacheBranchMatcher, SDKValidationError> {
7031
+ ): SafeParseResult<
7032
+ UpdateProjectDataCacheProjectsBranchMatcher,
7033
+ SDKValidationError
7034
+ > {
6584
7035
  return safeParse(
6585
7036
  jsonString,
6586
7037
  (x) =>
6587
- UpdateProjectDataCacheBranchMatcher$inboundSchema.parse(JSON.parse(x)),
6588
- `Failed to parse 'UpdateProjectDataCacheBranchMatcher' from JSON`,
7038
+ UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema.parse(
7039
+ JSON.parse(x),
7040
+ ),
7041
+ `Failed to parse 'UpdateProjectDataCacheProjectsBranchMatcher' from JSON`,
6589
7042
  );
6590
7043
  }
6591
7044
 
@@ -6924,25 +7377,26 @@ export namespace UpdateProjectDataCacheReadySubstate$ {
6924
7377
  }
6925
7378
 
6926
7379
  /** @internal */
6927
- export const UpdateProjectDataCacheProjectsType$inboundSchema: z.ZodNativeEnum<
6928
- typeof UpdateProjectDataCacheProjectsType
6929
- > = z.nativeEnum(UpdateProjectDataCacheProjectsType);
7380
+ export const UpdateProjectDataCacheProjectsResponseType$inboundSchema:
7381
+ z.ZodNativeEnum<typeof UpdateProjectDataCacheProjectsResponseType> = z
7382
+ .nativeEnum(UpdateProjectDataCacheProjectsResponseType);
6930
7383
 
6931
7384
  /** @internal */
6932
- export const UpdateProjectDataCacheProjectsType$outboundSchema: z.ZodNativeEnum<
6933
- typeof UpdateProjectDataCacheProjectsType
6934
- > = UpdateProjectDataCacheProjectsType$inboundSchema;
7385
+ export const UpdateProjectDataCacheProjectsResponseType$outboundSchema:
7386
+ z.ZodNativeEnum<typeof UpdateProjectDataCacheProjectsResponseType> =
7387
+ UpdateProjectDataCacheProjectsResponseType$inboundSchema;
6935
7388
 
6936
7389
  /**
6937
7390
  * @internal
6938
7391
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6939
7392
  */
6940
- export namespace UpdateProjectDataCacheProjectsType$ {
6941
- /** @deprecated use `UpdateProjectDataCacheProjectsType$inboundSchema` instead. */
6942
- export const inboundSchema = UpdateProjectDataCacheProjectsType$inboundSchema;
6943
- /** @deprecated use `UpdateProjectDataCacheProjectsType$outboundSchema` instead. */
7393
+ export namespace UpdateProjectDataCacheProjectsResponseType$ {
7394
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponseType$inboundSchema` instead. */
7395
+ export const inboundSchema =
7396
+ UpdateProjectDataCacheProjectsResponseType$inboundSchema;
7397
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponseType$outboundSchema` instead. */
6944
7398
  export const outboundSchema =
6945
- UpdateProjectDataCacheProjectsType$outboundSchema;
7399
+ UpdateProjectDataCacheProjectsResponseType$outboundSchema;
6946
7400
  }
6947
7401
 
6948
7402
  /** @internal */
@@ -6957,7 +7411,7 @@ export const Targets$inboundSchema: z.ZodType<Targets, z.ZodTypeDef, unknown> =
6957
7411
  aliasFinal: z.nullable(z.string()).optional(),
6958
7412
  automaticAliases: z.array(z.string()).optional(),
6959
7413
  branchMatcher: z.lazy(() =>
6960
- UpdateProjectDataCacheBranchMatcher$inboundSchema
7414
+ UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema
6961
7415
  ).optional(),
6962
7416
  buildingAt: z.number().optional(),
6963
7417
  builds: z.array(z.lazy(() => UpdateProjectDataCacheBuilds$inboundSchema))
@@ -6990,7 +7444,7 @@ export const Targets$inboundSchema: z.ZodType<Targets, z.ZodTypeDef, unknown> =
6990
7444
  requestedAt: z.number().optional(),
6991
7445
  target: z.nullable(z.string()).optional(),
6992
7446
  teamId: z.nullable(z.string()).optional(),
6993
- type: UpdateProjectDataCacheProjectsType$inboundSchema,
7447
+ type: UpdateProjectDataCacheProjectsResponseType$inboundSchema,
6994
7448
  url: z.string(),
6995
7449
  userId: z.string(),
6996
7450
  withCache: z.boolean().optional(),
@@ -7004,7 +7458,9 @@ export type Targets$Outbound = {
7004
7458
  aliasError?: UpdateProjectDataCacheAliasError$Outbound | null | undefined;
7005
7459
  aliasFinal?: string | null | undefined;
7006
7460
  automaticAliases?: Array<string> | undefined;
7007
- branchMatcher?: UpdateProjectDataCacheBranchMatcher$Outbound | undefined;
7461
+ branchMatcher?:
7462
+ | UpdateProjectDataCacheProjectsBranchMatcher$Outbound
7463
+ | undefined;
7008
7464
  buildingAt?: number | undefined;
7009
7465
  builds?: Array<UpdateProjectDataCacheBuilds$Outbound> | undefined;
7010
7466
  checksConclusion?: string | undefined;
@@ -7051,7 +7507,7 @@ export const Targets$outboundSchema: z.ZodType<
7051
7507
  aliasFinal: z.nullable(z.string()).optional(),
7052
7508
  automaticAliases: z.array(z.string()).optional(),
7053
7509
  branchMatcher: z.lazy(() =>
7054
- UpdateProjectDataCacheBranchMatcher$outboundSchema
7510
+ UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema
7055
7511
  ).optional(),
7056
7512
  buildingAt: z.number().optional(),
7057
7513
  builds: z.array(z.lazy(() => UpdateProjectDataCacheBuilds$outboundSchema))
@@ -7084,7 +7540,7 @@ export const Targets$outboundSchema: z.ZodType<
7084
7540
  requestedAt: z.number().optional(),
7085
7541
  target: z.nullable(z.string()).optional(),
7086
7542
  teamId: z.nullable(z.string()).optional(),
7087
- type: UpdateProjectDataCacheProjectsType$outboundSchema,
7543
+ type: UpdateProjectDataCacheProjectsResponseType$outboundSchema,
7088
7544
  url: z.string(),
7089
7545
  userId: z.string(),
7090
7546
  withCache: z.boolean().optional(),
@@ -7841,26 +8297,26 @@ export namespace JobStatus$ {
7841
8297
  }
7842
8298
 
7843
8299
  /** @internal */
7844
- export const UpdateProjectDataCacheProjectsResponseType$inboundSchema:
7845
- z.ZodNativeEnum<typeof UpdateProjectDataCacheProjectsResponseType> = z
7846
- .nativeEnum(UpdateProjectDataCacheProjectsResponseType);
8300
+ export const UpdateProjectDataCacheProjectsResponse200Type$inboundSchema:
8301
+ z.ZodNativeEnum<typeof UpdateProjectDataCacheProjectsResponse200Type> = z
8302
+ .nativeEnum(UpdateProjectDataCacheProjectsResponse200Type);
7847
8303
 
7848
8304
  /** @internal */
7849
- export const UpdateProjectDataCacheProjectsResponseType$outboundSchema:
7850
- z.ZodNativeEnum<typeof UpdateProjectDataCacheProjectsResponseType> =
7851
- UpdateProjectDataCacheProjectsResponseType$inboundSchema;
8305
+ export const UpdateProjectDataCacheProjectsResponse200Type$outboundSchema:
8306
+ z.ZodNativeEnum<typeof UpdateProjectDataCacheProjectsResponse200Type> =
8307
+ UpdateProjectDataCacheProjectsResponse200Type$inboundSchema;
7852
8308
 
7853
8309
  /**
7854
8310
  * @internal
7855
8311
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7856
8312
  */
7857
- export namespace UpdateProjectDataCacheProjectsResponseType$ {
7858
- /** @deprecated use `UpdateProjectDataCacheProjectsResponseType$inboundSchema` instead. */
8313
+ export namespace UpdateProjectDataCacheProjectsResponse200Type$ {
8314
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponse200Type$inboundSchema` instead. */
7859
8315
  export const inboundSchema =
7860
- UpdateProjectDataCacheProjectsResponseType$inboundSchema;
7861
- /** @deprecated use `UpdateProjectDataCacheProjectsResponseType$outboundSchema` instead. */
8316
+ UpdateProjectDataCacheProjectsResponse200Type$inboundSchema;
8317
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponse200Type$outboundSchema` instead. */
7862
8318
  export const outboundSchema =
7863
- UpdateProjectDataCacheProjectsResponseType$outboundSchema;
8319
+ UpdateProjectDataCacheProjectsResponse200Type$outboundSchema;
7864
8320
  }
7865
8321
 
7866
8322
  /** @internal */
@@ -7871,15 +8327,17 @@ export const LastAliasRequest$inboundSchema: z.ZodType<
7871
8327
  > = z.object({
7872
8328
  fromDeploymentId: z.string(),
7873
8329
  toDeploymentId: z.string(),
8330
+ fromRollingReleaseId: z.string().optional(),
7874
8331
  jobStatus: JobStatus$inboundSchema,
7875
8332
  requestedAt: z.number(),
7876
- type: UpdateProjectDataCacheProjectsResponseType$inboundSchema,
8333
+ type: UpdateProjectDataCacheProjectsResponse200Type$inboundSchema,
7877
8334
  });
7878
8335
 
7879
8336
  /** @internal */
7880
8337
  export type LastAliasRequest$Outbound = {
7881
8338
  fromDeploymentId: string;
7882
8339
  toDeploymentId: string;
8340
+ fromRollingReleaseId?: string | undefined;
7883
8341
  jobStatus: string;
7884
8342
  requestedAt: number;
7885
8343
  type: string;
@@ -7893,9 +8351,10 @@ export const LastAliasRequest$outboundSchema: z.ZodType<
7893
8351
  > = z.object({
7894
8352
  fromDeploymentId: z.string(),
7895
8353
  toDeploymentId: z.string(),
8354
+ fromRollingReleaseId: z.string().optional(),
7896
8355
  jobStatus: JobStatus$outboundSchema,
7897
8356
  requestedAt: z.number(),
7898
- type: UpdateProjectDataCacheProjectsResponseType$outboundSchema,
8357
+ type: UpdateProjectDataCacheProjectsResponse200Type$outboundSchema,
7899
8358
  });
7900
8359
 
7901
8360
  /**
@@ -7930,23 +8389,24 @@ export function lastAliasRequestFromJSON(
7930
8389
  }
7931
8390
 
7932
8391
  /** @internal */
7933
- export const Scope$inboundSchema: z.ZodNativeEnum<typeof Scope> = z.nativeEnum(
7934
- Scope,
7935
- );
8392
+ export const UpdateProjectDataCacheScope$inboundSchema: z.ZodNativeEnum<
8393
+ typeof UpdateProjectDataCacheScope
8394
+ > = z.nativeEnum(UpdateProjectDataCacheScope);
7936
8395
 
7937
8396
  /** @internal */
7938
- export const Scope$outboundSchema: z.ZodNativeEnum<typeof Scope> =
7939
- Scope$inboundSchema;
8397
+ export const UpdateProjectDataCacheScope$outboundSchema: z.ZodNativeEnum<
8398
+ typeof UpdateProjectDataCacheScope
8399
+ > = UpdateProjectDataCacheScope$inboundSchema;
7940
8400
 
7941
8401
  /**
7942
8402
  * @internal
7943
8403
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7944
8404
  */
7945
- export namespace Scope$ {
7946
- /** @deprecated use `Scope$inboundSchema` instead. */
7947
- export const inboundSchema = Scope$inboundSchema;
7948
- /** @deprecated use `Scope$outboundSchema` instead. */
7949
- export const outboundSchema = Scope$outboundSchema;
8405
+ export namespace UpdateProjectDataCacheScope$ {
8406
+ /** @deprecated use `UpdateProjectDataCacheScope$inboundSchema` instead. */
8407
+ export const inboundSchema = UpdateProjectDataCacheScope$inboundSchema;
8408
+ /** @deprecated use `UpdateProjectDataCacheScope$outboundSchema` instead. */
8409
+ export const outboundSchema = UpdateProjectDataCacheScope$outboundSchema;
7950
8410
  }
7951
8411
 
7952
8412
  /** @internal */
@@ -7957,7 +8417,7 @@ export const ProtectionBypass$inboundSchema: z.ZodType<
7957
8417
  > = z.object({
7958
8418
  createdAt: z.number(),
7959
8419
  createdBy: z.string(),
7960
- scope: Scope$inboundSchema,
8420
+ scope: UpdateProjectDataCacheScope$inboundSchema,
7961
8421
  });
7962
8422
 
7963
8423
  /** @internal */
@@ -7975,7 +8435,7 @@ export const ProtectionBypass$outboundSchema: z.ZodType<
7975
8435
  > = z.object({
7976
8436
  createdAt: z.number(),
7977
8437
  createdBy: z.string(),
7978
- scope: Scope$outboundSchema,
8438
+ scope: UpdateProjectDataCacheScope$outboundSchema,
7979
8439
  });
7980
8440
 
7981
8441
  /**