@vercel/sdk 1.8.3 → 1.8.5

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 (184) hide show
  1. package/bin/mcp-server.js +2214 -1517
  2. package/bin/mcp-server.js.map +44 -44
  3. package/docs/sdks/edgeconfig/README.md +1 -1
  4. package/esm/__tests__/deployments.test.js +1 -1
  5. package/esm/__tests__/deployments.test.js.map +1 -1
  6. package/esm/__tests__/edgeconfig.test.js +1 -22
  7. package/esm/__tests__/edgeconfig.test.js.map +1 -1
  8. package/esm/__tests__/projects.test.js +15 -13
  9. package/esm/__tests__/projects.test.js.map +1 -1
  10. package/esm/funcs/edgeConfigGetEdgeConfigItems.d.ts +1 -1
  11. package/esm/funcs/edgeConfigGetEdgeConfigItems.d.ts.map +1 -1
  12. package/esm/funcs/edgeConfigGetEdgeConfigItems.js +2 -1
  13. package/esm/funcs/edgeConfigGetEdgeConfigItems.js.map +1 -1
  14. package/esm/lib/config.d.ts +3 -3
  15. package/esm/lib/config.js +3 -3
  16. package/esm/mcp-server/mcp-server.js +1 -1
  17. package/esm/mcp-server/server.js +1 -1
  18. package/esm/models/addbypassipop.d.ts +2 -2
  19. package/esm/models/addbypassipop.js +2 -2
  20. package/esm/models/artifactqueryop.d.ts +2 -2
  21. package/esm/models/artifactqueryop.js +2 -2
  22. package/esm/models/authtoken.d.ts +4 -4
  23. package/esm/models/authtoken.js +4 -4
  24. package/esm/models/canceldeploymentop.d.ts +428 -28
  25. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  26. package/esm/models/canceldeploymentop.js +490 -52
  27. package/esm/models/canceldeploymentop.js.map +1 -1
  28. package/esm/models/createdeploymentop.d.ts +462 -62
  29. package/esm/models/createdeploymentop.d.ts.map +1 -1
  30. package/esm/models/createdeploymentop.js +526 -86
  31. package/esm/models/createdeploymentop.js.map +1 -1
  32. package/esm/models/createeventop.d.ts +4 -4
  33. package/esm/models/createeventop.js +4 -4
  34. package/esm/models/createortransferdomainop.d.ts +4 -4
  35. package/esm/models/createortransferdomainop.js +4 -4
  36. package/esm/models/createprojectenvop.d.ts +14 -14
  37. package/esm/models/createprojectenvop.d.ts.map +1 -1
  38. package/esm/models/createprojectenvop.js +10 -10
  39. package/esm/models/createprojectenvop.js.map +1 -1
  40. package/esm/models/createprojectop.d.ts +157 -157
  41. package/esm/models/createprojectop.d.ts.map +1 -1
  42. package/esm/models/createprojectop.js +155 -155
  43. package/esm/models/createprojectop.js.map +1 -1
  44. package/esm/models/createrecordop.d.ts +6 -6
  45. package/esm/models/createrecordop.d.ts.map +1 -1
  46. package/esm/models/createrecordop.js +18 -18
  47. package/esm/models/createrecordop.js.map +1 -1
  48. package/esm/models/editprojectenvop.d.ts +9 -9
  49. package/esm/models/editprojectenvop.d.ts.map +1 -1
  50. package/esm/models/editprojectenvop.js +7 -7
  51. package/esm/models/editprojectenvop.js.map +1 -1
  52. package/esm/models/filterprojectenvsop.d.ts +14 -14
  53. package/esm/models/filterprojectenvsop.d.ts.map +1 -1
  54. package/esm/models/filterprojectenvsop.js +14 -14
  55. package/esm/models/filterprojectenvsop.js.map +1 -1
  56. package/esm/models/getactiveattackstatusop.d.ts +2 -2
  57. package/esm/models/getactiveattackstatusop.js +2 -2
  58. package/esm/models/getaliasop.d.ts +4 -4
  59. package/esm/models/getaliasop.d.ts.map +1 -1
  60. package/esm/models/getaliasop.js +8 -8
  61. package/esm/models/getaliasop.js.map +1 -1
  62. package/esm/models/getauthuserop.d.ts +4 -4
  63. package/esm/models/getauthuserop.d.ts.map +1 -1
  64. package/esm/models/getauthuserop.js +4 -4
  65. package/esm/models/getauthuserop.js.map +1 -1
  66. package/esm/models/getconfigurationop.d.ts +6 -6
  67. package/esm/models/getconfigurationop.js +6 -6
  68. package/esm/models/getdeploymenteventsop.d.ts +6 -6
  69. package/esm/models/getdeploymenteventsop.js +8 -8
  70. package/esm/models/getdeploymentop.d.ts +438 -38
  71. package/esm/models/getdeploymentop.d.ts.map +1 -1
  72. package/esm/models/getdeploymentop.js +519 -86
  73. package/esm/models/getdeploymentop.js.map +1 -1
  74. package/esm/models/getedgeconfigbackupop.d.ts +2 -2
  75. package/esm/models/getedgeconfigbackupop.js +2 -2
  76. package/esm/models/getprojectenvop.d.ts +14 -14
  77. package/esm/models/getprojectenvop.d.ts.map +1 -1
  78. package/esm/models/getprojectenvop.js +14 -14
  79. package/esm/models/getprojectenvop.js.map +1 -1
  80. package/esm/models/getprojectmembersop.d.ts +2 -2
  81. package/esm/models/getprojectmembersop.js +2 -2
  82. package/esm/models/getprojectsop.d.ts +20 -20
  83. package/esm/models/getprojectsop.d.ts.map +1 -1
  84. package/esm/models/getprojectsop.js +20 -20
  85. package/esm/models/getprojectsop.js.map +1 -1
  86. package/esm/models/getrecordsop.d.ts +2 -2
  87. package/esm/models/getrecordsop.d.ts.map +1 -1
  88. package/esm/models/getrecordsop.js +2 -2
  89. package/esm/models/getrecordsop.js.map +1 -1
  90. package/esm/models/getteamsop.d.ts +4 -4
  91. package/esm/models/getteamsop.d.ts.map +1 -1
  92. package/esm/models/getteamsop.js +4 -4
  93. package/esm/models/getteamsop.js.map +1 -1
  94. package/esm/models/inviteusertoteamop.d.ts +2 -2
  95. package/esm/models/inviteusertoteamop.js +2 -2
  96. package/esm/models/listaccessgroupsop.d.ts +2 -2
  97. package/esm/models/listaccessgroupsop.js +2 -2
  98. package/esm/models/listaliasesop.d.ts +4 -4
  99. package/esm/models/listaliasesop.js +8 -8
  100. package/esm/models/listdeploymentaliasesop.d.ts +4 -4
  101. package/esm/models/listdeploymentaliasesop.js +8 -8
  102. package/esm/models/listpromotealiasesop.d.ts +2 -2
  103. package/esm/models/listpromotealiasesop.js +2 -2
  104. package/esm/models/patchdomainop.d.ts +6 -6
  105. package/esm/models/patchdomainop.js +6 -6
  106. package/esm/models/patchurlprotectionbypassop.d.ts +4 -4
  107. package/esm/models/patchurlprotectionbypassop.js +4 -4
  108. package/esm/models/removeprojectenvop.d.ts +23 -23
  109. package/esm/models/removeprojectenvop.d.ts.map +1 -1
  110. package/esm/models/removeprojectenvop.js +17 -17
  111. package/esm/models/removeprojectenvop.js.map +1 -1
  112. package/esm/models/updatefirewallconfigop.d.ts +4 -4
  113. package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
  114. package/esm/models/updatefirewallconfigop.js +24 -24
  115. package/esm/models/updatefirewallconfigop.js.map +1 -1
  116. package/esm/models/updateprojectdatacacheop.d.ts +20 -20
  117. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  118. package/esm/models/updateprojectdatacacheop.js +20 -20
  119. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  120. package/esm/models/updateprojectop.d.ts +157 -157
  121. package/esm/models/updateprojectop.d.ts.map +1 -1
  122. package/esm/models/updateprojectop.js +155 -155
  123. package/esm/models/updateprojectop.js.map +1 -1
  124. package/esm/models/updateprojectprotectionbypassop.d.ts +4 -4
  125. package/esm/models/updateprojectprotectionbypassop.js +4 -4
  126. package/esm/models/uploadfileop.d.ts +2 -2
  127. package/esm/models/uploadfileop.js +2 -2
  128. package/esm/models/userevent.d.ts +24 -24
  129. package/esm/models/userevent.d.ts.map +1 -1
  130. package/esm/models/userevent.js +467 -467
  131. package/esm/models/userevent.js.map +1 -1
  132. package/esm/sdk/edgeconfig.d.ts +1 -1
  133. package/esm/sdk/edgeconfig.d.ts.map +1 -1
  134. package/esm/types/constdatetime.js +1 -1
  135. package/jsr.json +1 -1
  136. package/package.json +1 -1
  137. package/src/__tests__/deployments.test.ts +1 -1
  138. package/src/__tests__/edgeconfig.test.ts +1 -22
  139. package/src/__tests__/projects.test.ts +15 -13
  140. package/src/funcs/edgeConfigGetEdgeConfigItems.ts +5 -4
  141. package/src/lib/config.ts +3 -3
  142. package/src/mcp-server/mcp-server.ts +1 -1
  143. package/src/mcp-server/server.ts +1 -1
  144. package/src/models/addbypassipop.ts +6 -6
  145. package/src/models/artifactqueryop.ts +5 -5
  146. package/src/models/authtoken.ts +8 -8
  147. package/src/models/canceldeploymentop.ts +1192 -169
  148. package/src/models/createdeploymentop.ts +1110 -169
  149. package/src/models/createeventop.ts +8 -8
  150. package/src/models/createortransferdomainop.ts +10 -10
  151. package/src/models/createprojectenvop.ts +22 -22
  152. package/src/models/createprojectop.ts +315 -315
  153. package/src/models/createrecordop.ts +38 -38
  154. package/src/models/editprojectenvop.ts +17 -17
  155. package/src/models/filterprojectenvsop.ts +38 -40
  156. package/src/models/getactiveattackstatusop.ts +6 -6
  157. package/src/models/getaliasop.ts +20 -20
  158. package/src/models/getauthuserop.ts +9 -9
  159. package/src/models/getconfigurationop.ts +15 -15
  160. package/src/models/getdeploymenteventsop.ts +26 -26
  161. package/src/models/getdeploymentop.ts +1245 -254
  162. package/src/models/getedgeconfigbackupop.ts +6 -6
  163. package/src/models/getprojectenvop.ts +36 -36
  164. package/src/models/getprojectmembersop.ts +6 -6
  165. package/src/models/getprojectsop.ts +51 -51
  166. package/src/models/getrecordsop.ts +4 -4
  167. package/src/models/getteamsop.ts +8 -8
  168. package/src/models/inviteusertoteamop.ts +6 -6
  169. package/src/models/listaccessgroupsop.ts +6 -6
  170. package/src/models/listaliasesop.ts +20 -20
  171. package/src/models/listdeploymentaliasesop.ts +20 -20
  172. package/src/models/listpromotealiasesop.ts +6 -6
  173. package/src/models/patchdomainop.ts +15 -15
  174. package/src/models/patchurlprotectionbypassop.ts +10 -10
  175. package/src/models/removeprojectenvop.ts +39 -41
  176. package/src/models/updatefirewallconfigop.ts +52 -52
  177. package/src/models/updateprojectdatacacheop.ts +47 -47
  178. package/src/models/updateprojectop.ts +315 -315
  179. package/src/models/updateprojectprotectionbypassop.ts +14 -14
  180. package/src/models/uploadfileop.ts +6 -6
  181. package/src/models/userevent.ts +955 -955
  182. package/src/sdk/edgeconfig.ts +1 -1
  183. package/src/types/constdatetime.ts +1 -1
  184. package/vercel-spec.json +1645 -937
@@ -170,7 +170,7 @@ export type GitSource1 = {
170
170
  /**
171
171
  * Defines the Git Repository source to be deployed. This property can not be used in combination with `files`.
172
172
  */
173
- export type GitSource = GitSource1 | GitSource4 | GitSource2 | GitSource5 | GitSource6 | GitSource3;
173
+ export type GitSource = GitSource3 | GitSource2 | GitSource6 | GitSource1 | GitSource4 | GitSource5;
174
174
  /**
175
175
  * The framework that is being used for this project. When `null` is used no framework is selected
176
176
  */
@@ -311,7 +311,7 @@ export type CreateDeploymentRequestBody = {
311
311
  /**
312
312
  * Defines the Git Repository source to be deployed. This property can not be used in combination with `files`.
313
313
  */
314
- gitSource?: GitSource1 | GitSource4 | GitSource2 | GitSource5 | GitSource6 | GitSource3 | undefined;
314
+ gitSource?: GitSource3 | GitSource2 | GitSource6 | GitSource1 | GitSource4 | GitSource5 | undefined;
315
315
  /**
316
316
  * An object containing the deployment's metadata. Multiple key-value pairs can be attached to a deployment
317
317
  */
@@ -681,7 +681,7 @@ export type CustomEnvironment1 = {
681
681
  */
682
682
  updatedAt: number;
683
683
  };
684
- export type CustomEnvironment = CustomEnvironment2 | CustomEnvironment1;
684
+ export type CustomEnvironment = CustomEnvironment1 | CustomEnvironment2;
685
685
  export declare const OomReport: {
686
686
  readonly OutOfMemory: "out-of-memory";
687
687
  };
@@ -837,7 +837,7 @@ export type CreateDeploymentGitSource1 = {
837
837
  sha?: string | undefined;
838
838
  prId?: number | null | undefined;
839
839
  };
840
- export type CreateDeploymentGitSource = CreateDeploymentGitSource8 | CreateDeploymentGitSource11 | CreateDeploymentGitSource1 | CreateDeploymentGitSource5 | CreateDeploymentGitSource2 | CreateDeploymentGitSource3 | CreateDeploymentGitSource6 | CreateDeploymentGitSource7 | CreateDeploymentGitSource9 | CreateDeploymentGitSource4 | CreateDeploymentGitSource10 | CreateDeploymentGitSource12;
840
+ export type CreateDeploymentGitSource = CreateDeploymentGitSource10 | CreateDeploymentGitSource12 | CreateDeploymentGitSource4 | CreateDeploymentGitSource8 | CreateDeploymentGitSource9 | CreateDeploymentGitSource11 | CreateDeploymentGitSource2 | CreateDeploymentGitSource3 | CreateDeploymentGitSource7 | CreateDeploymentGitSource1 | CreateDeploymentGitSource5 | CreateDeploymentGitSource6;
841
841
  export type CreateDeploymentProject = {
842
842
  id: string;
843
843
  name: string;
@@ -914,6 +914,12 @@ export type OidcTokenClaims = {
914
914
  projectId: string;
915
915
  environment: string;
916
916
  };
917
+ export declare const CreateDeploymentPlan: {
918
+ readonly Pro: "pro";
919
+ readonly Enterprise: "enterprise";
920
+ readonly Hobby: "hobby";
921
+ };
922
+ export type CreateDeploymentPlan = ClosedEnum<typeof CreateDeploymentPlan>;
917
923
  export declare const FunctionType: {
918
924
  readonly Fluid: "fluid";
919
925
  readonly Standard: "standard";
@@ -976,18 +982,48 @@ export declare const CreateDeploymentHasType: {
976
982
  readonly Query: "query";
977
983
  };
978
984
  export type CreateDeploymentHasType = ClosedEnum<typeof CreateDeploymentHasType>;
985
+ export type ValueEq = string | number;
986
+ export type CreateDeploymentValueDeployments2 = {
987
+ eq?: string | number | undefined;
988
+ neq?: string | undefined;
989
+ inc?: Array<string> | undefined;
990
+ ninc?: Array<string> | undefined;
991
+ pre?: string | undefined;
992
+ suf?: string | undefined;
993
+ re?: string | undefined;
994
+ gt?: number | undefined;
995
+ gte?: number | undefined;
996
+ lt?: number | undefined;
997
+ lte?: number | undefined;
998
+ };
999
+ export type CreateDeploymentHasValue = CreateDeploymentValueDeployments2 | string;
979
1000
  export type Has2 = {
980
1001
  type: CreateDeploymentHasType;
981
1002
  key: string;
982
- value?: string | undefined;
1003
+ value?: CreateDeploymentValueDeployments2 | string | undefined;
983
1004
  };
984
1005
  export declare const HasType: {
985
1006
  readonly Host: "host";
986
1007
  };
987
1008
  export type HasType = ClosedEnum<typeof HasType>;
1009
+ export type Eq = string | number;
1010
+ export type CreateDeploymentValue2 = {
1011
+ eq?: string | number | undefined;
1012
+ neq?: string | undefined;
1013
+ inc?: Array<string> | undefined;
1014
+ ninc?: Array<string> | undefined;
1015
+ pre?: string | undefined;
1016
+ suf?: string | undefined;
1017
+ re?: string | undefined;
1018
+ gt?: number | undefined;
1019
+ gte?: number | undefined;
1020
+ lt?: number | undefined;
1021
+ lte?: number | undefined;
1022
+ };
1023
+ export type HasValue = CreateDeploymentValue2 | string;
988
1024
  export type Has1 = {
989
1025
  type: HasType;
990
- value: string;
1026
+ value: CreateDeploymentValue2 | string;
991
1027
  };
992
1028
  export type RoutesHas = Has1 | Has2;
993
1029
  export declare const CreateDeploymentMissingType: {
@@ -996,20 +1032,58 @@ export declare const CreateDeploymentMissingType: {
996
1032
  readonly Query: "query";
997
1033
  };
998
1034
  export type CreateDeploymentMissingType = ClosedEnum<typeof CreateDeploymentMissingType>;
1035
+ export type CreateDeploymentValueDeploymentsEq = string | number;
1036
+ export type CreateDeploymentValueDeploymentsResponse2002 = {
1037
+ eq?: string | number | undefined;
1038
+ neq?: string | undefined;
1039
+ inc?: Array<string> | undefined;
1040
+ ninc?: Array<string> | undefined;
1041
+ pre?: string | undefined;
1042
+ suf?: string | undefined;
1043
+ re?: string | undefined;
1044
+ gt?: number | undefined;
1045
+ gte?: number | undefined;
1046
+ lt?: number | undefined;
1047
+ lte?: number | undefined;
1048
+ };
1049
+ export type CreateDeploymentMissingValue = CreateDeploymentValueDeploymentsResponse2002 | string;
999
1050
  export type Missing2 = {
1000
1051
  type: CreateDeploymentMissingType;
1001
1052
  key: string;
1002
- value?: string | undefined;
1053
+ value?: CreateDeploymentValueDeploymentsResponse2002 | string | undefined;
1003
1054
  };
1004
1055
  export declare const MissingType: {
1005
1056
  readonly Host: "host";
1006
1057
  };
1007
1058
  export type MissingType = ClosedEnum<typeof MissingType>;
1059
+ export type CreateDeploymentValueEq = string | number;
1060
+ export type CreateDeploymentValueDeploymentsResponse2 = {
1061
+ eq?: string | number | undefined;
1062
+ neq?: string | undefined;
1063
+ inc?: Array<string> | undefined;
1064
+ ninc?: Array<string> | undefined;
1065
+ pre?: string | undefined;
1066
+ suf?: string | undefined;
1067
+ re?: string | undefined;
1068
+ gt?: number | undefined;
1069
+ gte?: number | undefined;
1070
+ lt?: number | undefined;
1071
+ lte?: number | undefined;
1072
+ };
1073
+ export type MissingValue = CreateDeploymentValueDeploymentsResponse2 | string;
1008
1074
  export type Missing1 = {
1009
1075
  type: MissingType;
1010
- value: string;
1076
+ value: CreateDeploymentValueDeploymentsResponse2 | string;
1011
1077
  };
1012
1078
  export type RoutesMissing = Missing1 | Missing2;
1079
+ export declare const RoutesAction: {
1080
+ readonly Challenge: "challenge";
1081
+ readonly Deny: "deny";
1082
+ };
1083
+ export type RoutesAction = ClosedEnum<typeof RoutesAction>;
1084
+ export type RoutesMitigate = {
1085
+ action: RoutesAction;
1086
+ };
1013
1087
  export type Locale = {
1014
1088
  redirect?: {
1015
1089
  [k: string]: string;
@@ -1031,6 +1105,7 @@ export type Routes1 = {
1031
1105
  status?: number | undefined;
1032
1106
  has?: Array<Has1 | Has2> | undefined;
1033
1107
  missing?: Array<Missing1 | Missing2> | undefined;
1108
+ mitigate?: RoutesMitigate | undefined;
1034
1109
  locale?: Locale | undefined;
1035
1110
  /**
1036
1111
  * A middleware key within the `output` key under the build result. Overrides a `middleware` definition.
@@ -1045,7 +1120,7 @@ export type Routes1 = {
1045
1120
  */
1046
1121
  middleware?: number | undefined;
1047
1122
  };
1048
- export type Routes = Routes3 | Routes2 | Routes1;
1123
+ export type Routes = Routes3 | Routes1 | Routes2;
1049
1124
  export type CreateDeploymentCrons = {
1050
1125
  schedule: string;
1051
1126
  path: string;
@@ -1103,7 +1178,7 @@ export type CreateDeploymentMicrofrontends1 = {
1103
1178
  */
1104
1179
  groupIds: Array<string>;
1105
1180
  };
1106
- export type CreateDeploymentMicrofrontends = CreateDeploymentMicrofrontends1 | CreateDeploymentMicrofrontends2;
1181
+ export type CreateDeploymentMicrofrontends = CreateDeploymentMicrofrontends2 | CreateDeploymentMicrofrontends1;
1107
1182
  export declare const CreateDeploymentState: {
1108
1183
  readonly Succeeded: "succeeded";
1109
1184
  readonly Failed: "failed";
@@ -1124,12 +1199,6 @@ export type CreateDeploymentChecks = {
1124
1199
  */
1125
1200
  deploymentAlias: DeploymentAlias;
1126
1201
  };
1127
- export declare const CreateDeploymentPlan: {
1128
- readonly Pro: "pro";
1129
- readonly Enterprise: "enterprise";
1130
- readonly Hobby: "hobby";
1131
- };
1132
- export type CreateDeploymentPlan = ClosedEnum<typeof CreateDeploymentPlan>;
1133
1202
  export declare const CreateDeploymentGitRepoDeploymentsType: {
1134
1203
  readonly Bitbucket: "bitbucket";
1135
1204
  };
@@ -1192,7 +1261,7 @@ export type GitRepo1 = {
1192
1261
  private: boolean;
1193
1262
  ownerType: OwnerType;
1194
1263
  };
1195
- export type GitRepo = GitRepo1 | GitRepo2 | GitRepo3;
1264
+ export type GitRepo = GitRepo2 | GitRepo3 | GitRepo1;
1196
1265
  /**
1197
1266
  * Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags.
1198
1267
  */
@@ -1252,7 +1321,7 @@ export type CreateDeploymentResponseBody = {
1252
1321
  userAliases?: Array<string> | undefined;
1253
1322
  previewCommentsEnabled?: boolean | undefined;
1254
1323
  ttyBuildLogs?: boolean | undefined;
1255
- customEnvironment?: CustomEnvironment2 | CustomEnvironment1 | undefined;
1324
+ customEnvironment?: CustomEnvironment1 | CustomEnvironment2 | undefined;
1256
1325
  oomReport?: OomReport | undefined;
1257
1326
  id: string;
1258
1327
  name: string;
@@ -1264,7 +1333,7 @@ export type CreateDeploymentResponseBody = {
1264
1333
  * applies to custom domains only, defaults to `true`
1265
1334
  */
1266
1335
  autoAssignCustomDomains?: boolean | undefined;
1267
- gitSource?: CreateDeploymentGitSource8 | CreateDeploymentGitSource11 | CreateDeploymentGitSource1 | CreateDeploymentGitSource5 | CreateDeploymentGitSource2 | CreateDeploymentGitSource3 | CreateDeploymentGitSource6 | CreateDeploymentGitSource7 | CreateDeploymentGitSource9 | CreateDeploymentGitSource4 | CreateDeploymentGitSource10 | CreateDeploymentGitSource12 | undefined;
1336
+ gitSource?: CreateDeploymentGitSource10 | CreateDeploymentGitSource12 | CreateDeploymentGitSource4 | CreateDeploymentGitSource8 | CreateDeploymentGitSource9 | CreateDeploymentGitSource11 | CreateDeploymentGitSource2 | CreateDeploymentGitSource3 | CreateDeploymentGitSource7 | CreateDeploymentGitSource1 | CreateDeploymentGitSource5 | CreateDeploymentGitSource6 | undefined;
1268
1337
  meta: {
1269
1338
  [k: string]: string;
1270
1339
  };
@@ -1305,6 +1374,7 @@ export type CreateDeploymentResponseBody = {
1305
1374
  projectId: string;
1306
1375
  ownerId: string;
1307
1376
  monorepoManager?: string | null | undefined;
1377
+ plan: CreateDeploymentPlan;
1308
1378
  /**
1309
1379
  * Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured
1310
1380
  */
@@ -1312,11 +1382,10 @@ export type CreateDeploymentResponseBody = {
1312
1382
  functions?: {
1313
1383
  [k: string]: Functions;
1314
1384
  } | null | undefined;
1315
- routes: Array<Routes3 | Routes2 | Routes1> | null;
1385
+ routes: Array<Routes3 | Routes1 | Routes2> | null;
1316
1386
  crons?: Array<CreateDeploymentCrons> | undefined;
1317
- microfrontends?: CreateDeploymentMicrofrontends1 | CreateDeploymentMicrofrontends2 | undefined;
1387
+ microfrontends?: CreateDeploymentMicrofrontends2 | CreateDeploymentMicrofrontends1 | undefined;
1318
1388
  checks?: CreateDeploymentChecks | undefined;
1319
- plan: CreateDeploymentPlan;
1320
1389
  connectBuildsEnabled?: boolean | undefined;
1321
1390
  connectConfigurationId?: string | undefined;
1322
1391
  createdIn: string;
@@ -1324,7 +1393,7 @@ export type CreateDeploymentResponseBody = {
1324
1393
  * Since November 2023 this field defines a Secure Compute network that will only be used to deploy passive lambdas to (as in passiveRegions)
1325
1394
  */
1326
1395
  passiveConnectConfigurationId?: string | undefined;
1327
- gitRepo?: GitRepo1 | GitRepo2 | GitRepo3 | null | undefined;
1396
+ gitRepo?: GitRepo2 | GitRepo3 | GitRepo1 | null | undefined;
1328
1397
  flags?: Flags1 | Array<Flags2> | undefined;
1329
1398
  };
1330
1399
  /** @internal */
@@ -1788,7 +1857,7 @@ export declare function gitSource1FromJSON(jsonString: string): SafeParseResult<
1788
1857
  /** @internal */
1789
1858
  export declare const GitSource$inboundSchema: z.ZodType<GitSource, z.ZodTypeDef, unknown>;
1790
1859
  /** @internal */
1791
- export type GitSource$Outbound = GitSource1$Outbound | GitSource4$Outbound | GitSource2$Outbound | GitSource5$Outbound | GitSource6$Outbound | GitSource3$Outbound;
1860
+ export type GitSource$Outbound = GitSource3$Outbound | GitSource2$Outbound | GitSource6$Outbound | GitSource1$Outbound | GitSource4$Outbound | GitSource5$Outbound;
1792
1861
  /** @internal */
1793
1862
  export declare const GitSource$outboundSchema: z.ZodType<GitSource$Outbound, z.ZodTypeDef, GitSource>;
1794
1863
  /**
@@ -1985,7 +2054,7 @@ export type CreateDeploymentRequestBody$Outbound = {
1985
2054
  deploymentId?: string | undefined;
1986
2055
  files?: Array<InlinedFile$Outbound | UploadedFile$Outbound> | undefined;
1987
2056
  gitMetadata?: GitMetadata$Outbound | undefined;
1988
- gitSource?: GitSource1$Outbound | GitSource4$Outbound | GitSource2$Outbound | GitSource5$Outbound | GitSource6$Outbound | GitSource3$Outbound | undefined;
2057
+ gitSource?: GitSource3$Outbound | GitSource2$Outbound | GitSource6$Outbound | GitSource1$Outbound | GitSource4$Outbound | GitSource5$Outbound | undefined;
1989
2058
  meta?: {
1990
2059
  [k: string]: string;
1991
2060
  } | undefined;
@@ -2818,7 +2887,7 @@ export declare function customEnvironment1FromJSON(jsonString: string): SafePars
2818
2887
  /** @internal */
2819
2888
  export declare const CustomEnvironment$inboundSchema: z.ZodType<CustomEnvironment, z.ZodTypeDef, unknown>;
2820
2889
  /** @internal */
2821
- export type CustomEnvironment$Outbound = CustomEnvironment2$Outbound | CustomEnvironment1$Outbound;
2890
+ export type CustomEnvironment$Outbound = CustomEnvironment1$Outbound | CustomEnvironment2$Outbound;
2822
2891
  /** @internal */
2823
2892
  export declare const CustomEnvironment$outboundSchema: z.ZodType<CustomEnvironment$Outbound, z.ZodTypeDef, CustomEnvironment>;
2824
2893
  /**
@@ -3471,7 +3540,7 @@ export declare function createDeploymentGitSource1FromJSON(jsonString: string):
3471
3540
  /** @internal */
3472
3541
  export declare const CreateDeploymentGitSource$inboundSchema: z.ZodType<CreateDeploymentGitSource, z.ZodTypeDef, unknown>;
3473
3542
  /** @internal */
3474
- export type CreateDeploymentGitSource$Outbound = CreateDeploymentGitSource8$Outbound | CreateDeploymentGitSource11$Outbound | CreateDeploymentGitSource1$Outbound | CreateDeploymentGitSource5$Outbound | CreateDeploymentGitSource2$Outbound | CreateDeploymentGitSource3$Outbound | CreateDeploymentGitSource6$Outbound | CreateDeploymentGitSource7$Outbound | CreateDeploymentGitSource9$Outbound | CreateDeploymentGitSource4$Outbound | CreateDeploymentGitSource10$Outbound | CreateDeploymentGitSource12$Outbound;
3543
+ export type CreateDeploymentGitSource$Outbound = CreateDeploymentGitSource10$Outbound | CreateDeploymentGitSource12$Outbound | CreateDeploymentGitSource4$Outbound | CreateDeploymentGitSource8$Outbound | CreateDeploymentGitSource9$Outbound | CreateDeploymentGitSource11$Outbound | CreateDeploymentGitSource2$Outbound | CreateDeploymentGitSource3$Outbound | CreateDeploymentGitSource7$Outbound | CreateDeploymentGitSource1$Outbound | CreateDeploymentGitSource5$Outbound | CreateDeploymentGitSource6$Outbound;
3475
3544
  /** @internal */
3476
3545
  export declare const CreateDeploymentGitSource$outboundSchema: z.ZodType<CreateDeploymentGitSource$Outbound, z.ZodTypeDef, CreateDeploymentGitSource>;
3477
3546
  /**
@@ -3739,6 +3808,28 @@ export declare namespace OidcTokenClaims$ {
3739
3808
  export declare function oidcTokenClaimsToJSON(oidcTokenClaims: OidcTokenClaims): string;
3740
3809
  export declare function oidcTokenClaimsFromJSON(jsonString: string): SafeParseResult<OidcTokenClaims, SDKValidationError>;
3741
3810
  /** @internal */
3811
+ export declare const CreateDeploymentPlan$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentPlan>;
3812
+ /** @internal */
3813
+ export declare const CreateDeploymentPlan$outboundSchema: z.ZodNativeEnum<typeof CreateDeploymentPlan>;
3814
+ /**
3815
+ * @internal
3816
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3817
+ */
3818
+ export declare namespace CreateDeploymentPlan$ {
3819
+ /** @deprecated use `CreateDeploymentPlan$inboundSchema` instead. */
3820
+ const inboundSchema: z.ZodNativeEnum<{
3821
+ readonly Pro: "pro";
3822
+ readonly Enterprise: "enterprise";
3823
+ readonly Hobby: "hobby";
3824
+ }>;
3825
+ /** @deprecated use `CreateDeploymentPlan$outboundSchema` instead. */
3826
+ const outboundSchema: z.ZodNativeEnum<{
3827
+ readonly Pro: "pro";
3828
+ readonly Enterprise: "enterprise";
3829
+ readonly Hobby: "hobby";
3830
+ }>;
3831
+ }
3832
+ /** @internal */
3742
3833
  export declare const FunctionType$inboundSchema: z.ZodNativeEnum<typeof FunctionType>;
3743
3834
  /** @internal */
3744
3835
  export declare const FunctionType$outboundSchema: z.ZodNativeEnum<typeof FunctionType>;
@@ -3955,12 +4046,84 @@ export declare namespace CreateDeploymentHasType$ {
3955
4046
  }>;
3956
4047
  }
3957
4048
  /** @internal */
4049
+ export declare const ValueEq$inboundSchema: z.ZodType<ValueEq, z.ZodTypeDef, unknown>;
4050
+ /** @internal */
4051
+ export type ValueEq$Outbound = string | number;
4052
+ /** @internal */
4053
+ export declare const ValueEq$outboundSchema: z.ZodType<ValueEq$Outbound, z.ZodTypeDef, ValueEq>;
4054
+ /**
4055
+ * @internal
4056
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4057
+ */
4058
+ export declare namespace ValueEq$ {
4059
+ /** @deprecated use `ValueEq$inboundSchema` instead. */
4060
+ const inboundSchema: z.ZodType<ValueEq, z.ZodTypeDef, unknown>;
4061
+ /** @deprecated use `ValueEq$outboundSchema` instead. */
4062
+ const outboundSchema: z.ZodType<ValueEq$Outbound, z.ZodTypeDef, ValueEq>;
4063
+ /** @deprecated use `ValueEq$Outbound` instead. */
4064
+ type Outbound = ValueEq$Outbound;
4065
+ }
4066
+ export declare function valueEqToJSON(valueEq: ValueEq): string;
4067
+ export declare function valueEqFromJSON(jsonString: string): SafeParseResult<ValueEq, SDKValidationError>;
4068
+ /** @internal */
4069
+ export declare const CreateDeploymentValueDeployments2$inboundSchema: z.ZodType<CreateDeploymentValueDeployments2, z.ZodTypeDef, unknown>;
4070
+ /** @internal */
4071
+ export type CreateDeploymentValueDeployments2$Outbound = {
4072
+ eq?: string | number | undefined;
4073
+ neq?: string | undefined;
4074
+ inc?: Array<string> | undefined;
4075
+ ninc?: Array<string> | undefined;
4076
+ pre?: string | undefined;
4077
+ suf?: string | undefined;
4078
+ re?: string | undefined;
4079
+ gt?: number | undefined;
4080
+ gte?: number | undefined;
4081
+ lt?: number | undefined;
4082
+ lte?: number | undefined;
4083
+ };
4084
+ /** @internal */
4085
+ export declare const CreateDeploymentValueDeployments2$outboundSchema: z.ZodType<CreateDeploymentValueDeployments2$Outbound, z.ZodTypeDef, CreateDeploymentValueDeployments2>;
4086
+ /**
4087
+ * @internal
4088
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4089
+ */
4090
+ export declare namespace CreateDeploymentValueDeployments2$ {
4091
+ /** @deprecated use `CreateDeploymentValueDeployments2$inboundSchema` instead. */
4092
+ const inboundSchema: z.ZodType<CreateDeploymentValueDeployments2, z.ZodTypeDef, unknown>;
4093
+ /** @deprecated use `CreateDeploymentValueDeployments2$outboundSchema` instead. */
4094
+ const outboundSchema: z.ZodType<CreateDeploymentValueDeployments2$Outbound, z.ZodTypeDef, CreateDeploymentValueDeployments2>;
4095
+ /** @deprecated use `CreateDeploymentValueDeployments2$Outbound` instead. */
4096
+ type Outbound = CreateDeploymentValueDeployments2$Outbound;
4097
+ }
4098
+ export declare function createDeploymentValueDeployments2ToJSON(createDeploymentValueDeployments2: CreateDeploymentValueDeployments2): string;
4099
+ export declare function createDeploymentValueDeployments2FromJSON(jsonString: string): SafeParseResult<CreateDeploymentValueDeployments2, SDKValidationError>;
4100
+ /** @internal */
4101
+ export declare const CreateDeploymentHasValue$inboundSchema: z.ZodType<CreateDeploymentHasValue, z.ZodTypeDef, unknown>;
4102
+ /** @internal */
4103
+ export type CreateDeploymentHasValue$Outbound = CreateDeploymentValueDeployments2$Outbound | string;
4104
+ /** @internal */
4105
+ export declare const CreateDeploymentHasValue$outboundSchema: z.ZodType<CreateDeploymentHasValue$Outbound, z.ZodTypeDef, CreateDeploymentHasValue>;
4106
+ /**
4107
+ * @internal
4108
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4109
+ */
4110
+ export declare namespace CreateDeploymentHasValue$ {
4111
+ /** @deprecated use `CreateDeploymentHasValue$inboundSchema` instead. */
4112
+ const inboundSchema: z.ZodType<CreateDeploymentHasValue, z.ZodTypeDef, unknown>;
4113
+ /** @deprecated use `CreateDeploymentHasValue$outboundSchema` instead. */
4114
+ const outboundSchema: z.ZodType<CreateDeploymentHasValue$Outbound, z.ZodTypeDef, CreateDeploymentHasValue>;
4115
+ /** @deprecated use `CreateDeploymentHasValue$Outbound` instead. */
4116
+ type Outbound = CreateDeploymentHasValue$Outbound;
4117
+ }
4118
+ export declare function createDeploymentHasValueToJSON(createDeploymentHasValue: CreateDeploymentHasValue): string;
4119
+ export declare function createDeploymentHasValueFromJSON(jsonString: string): SafeParseResult<CreateDeploymentHasValue, SDKValidationError>;
4120
+ /** @internal */
3958
4121
  export declare const Has2$inboundSchema: z.ZodType<Has2, z.ZodTypeDef, unknown>;
3959
4122
  /** @internal */
3960
4123
  export type Has2$Outbound = {
3961
4124
  type: string;
3962
4125
  key: string;
3963
- value?: string | undefined;
4126
+ value?: CreateDeploymentValueDeployments2$Outbound | string | undefined;
3964
4127
  };
3965
4128
  /** @internal */
3966
4129
  export declare const Has2$outboundSchema: z.ZodType<Has2$Outbound, z.ZodTypeDef, Has2>;
@@ -3997,11 +4160,83 @@ export declare namespace HasType$ {
3997
4160
  }>;
3998
4161
  }
3999
4162
  /** @internal */
4163
+ export declare const Eq$inboundSchema: z.ZodType<Eq, z.ZodTypeDef, unknown>;
4164
+ /** @internal */
4165
+ export type Eq$Outbound = string | number;
4166
+ /** @internal */
4167
+ export declare const Eq$outboundSchema: z.ZodType<Eq$Outbound, z.ZodTypeDef, Eq>;
4168
+ /**
4169
+ * @internal
4170
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4171
+ */
4172
+ export declare namespace Eq$ {
4173
+ /** @deprecated use `Eq$inboundSchema` instead. */
4174
+ const inboundSchema: z.ZodType<Eq, z.ZodTypeDef, unknown>;
4175
+ /** @deprecated use `Eq$outboundSchema` instead. */
4176
+ const outboundSchema: z.ZodType<Eq$Outbound, z.ZodTypeDef, Eq>;
4177
+ /** @deprecated use `Eq$Outbound` instead. */
4178
+ type Outbound = Eq$Outbound;
4179
+ }
4180
+ export declare function eqToJSON(eq: Eq): string;
4181
+ export declare function eqFromJSON(jsonString: string): SafeParseResult<Eq, SDKValidationError>;
4182
+ /** @internal */
4183
+ export declare const CreateDeploymentValue2$inboundSchema: z.ZodType<CreateDeploymentValue2, z.ZodTypeDef, unknown>;
4184
+ /** @internal */
4185
+ export type CreateDeploymentValue2$Outbound = {
4186
+ eq?: string | number | undefined;
4187
+ neq?: string | undefined;
4188
+ inc?: Array<string> | undefined;
4189
+ ninc?: Array<string> | undefined;
4190
+ pre?: string | undefined;
4191
+ suf?: string | undefined;
4192
+ re?: string | undefined;
4193
+ gt?: number | undefined;
4194
+ gte?: number | undefined;
4195
+ lt?: number | undefined;
4196
+ lte?: number | undefined;
4197
+ };
4198
+ /** @internal */
4199
+ export declare const CreateDeploymentValue2$outboundSchema: z.ZodType<CreateDeploymentValue2$Outbound, z.ZodTypeDef, CreateDeploymentValue2>;
4200
+ /**
4201
+ * @internal
4202
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4203
+ */
4204
+ export declare namespace CreateDeploymentValue2$ {
4205
+ /** @deprecated use `CreateDeploymentValue2$inboundSchema` instead. */
4206
+ const inboundSchema: z.ZodType<CreateDeploymentValue2, z.ZodTypeDef, unknown>;
4207
+ /** @deprecated use `CreateDeploymentValue2$outboundSchema` instead. */
4208
+ const outboundSchema: z.ZodType<CreateDeploymentValue2$Outbound, z.ZodTypeDef, CreateDeploymentValue2>;
4209
+ /** @deprecated use `CreateDeploymentValue2$Outbound` instead. */
4210
+ type Outbound = CreateDeploymentValue2$Outbound;
4211
+ }
4212
+ export declare function createDeploymentValue2ToJSON(createDeploymentValue2: CreateDeploymentValue2): string;
4213
+ export declare function createDeploymentValue2FromJSON(jsonString: string): SafeParseResult<CreateDeploymentValue2, SDKValidationError>;
4214
+ /** @internal */
4215
+ export declare const HasValue$inboundSchema: z.ZodType<HasValue, z.ZodTypeDef, unknown>;
4216
+ /** @internal */
4217
+ export type HasValue$Outbound = CreateDeploymentValue2$Outbound | string;
4218
+ /** @internal */
4219
+ export declare const HasValue$outboundSchema: z.ZodType<HasValue$Outbound, z.ZodTypeDef, HasValue>;
4220
+ /**
4221
+ * @internal
4222
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4223
+ */
4224
+ export declare namespace HasValue$ {
4225
+ /** @deprecated use `HasValue$inboundSchema` instead. */
4226
+ const inboundSchema: z.ZodType<HasValue, z.ZodTypeDef, unknown>;
4227
+ /** @deprecated use `HasValue$outboundSchema` instead. */
4228
+ const outboundSchema: z.ZodType<HasValue$Outbound, z.ZodTypeDef, HasValue>;
4229
+ /** @deprecated use `HasValue$Outbound` instead. */
4230
+ type Outbound = HasValue$Outbound;
4231
+ }
4232
+ export declare function hasValueToJSON(hasValue: HasValue): string;
4233
+ export declare function hasValueFromJSON(jsonString: string): SafeParseResult<HasValue, SDKValidationError>;
4234
+ /** @internal */
4000
4235
  export declare const Has1$inboundSchema: z.ZodType<Has1, z.ZodTypeDef, unknown>;
4001
4236
  /** @internal */
4002
4237
  export type Has1$Outbound = {
4003
4238
  type: string;
4004
- value: string;
4239
+ value: CreateDeploymentValue2$Outbound | string;
4005
4240
  };
4006
4241
  /** @internal */
4007
4242
  export declare const Has1$outboundSchema: z.ZodType<Has1$Outbound, z.ZodTypeDef, Has1>;
@@ -4062,12 +4297,84 @@ export declare namespace CreateDeploymentMissingType$ {
4062
4297
  }>;
4063
4298
  }
4064
4299
  /** @internal */
4300
+ export declare const CreateDeploymentValueDeploymentsEq$inboundSchema: z.ZodType<CreateDeploymentValueDeploymentsEq, z.ZodTypeDef, unknown>;
4301
+ /** @internal */
4302
+ export type CreateDeploymentValueDeploymentsEq$Outbound = string | number;
4303
+ /** @internal */
4304
+ export declare const CreateDeploymentValueDeploymentsEq$outboundSchema: z.ZodType<CreateDeploymentValueDeploymentsEq$Outbound, z.ZodTypeDef, CreateDeploymentValueDeploymentsEq>;
4305
+ /**
4306
+ * @internal
4307
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4308
+ */
4309
+ export declare namespace CreateDeploymentValueDeploymentsEq$ {
4310
+ /** @deprecated use `CreateDeploymentValueDeploymentsEq$inboundSchema` instead. */
4311
+ const inboundSchema: z.ZodType<CreateDeploymentValueDeploymentsEq, z.ZodTypeDef, unknown>;
4312
+ /** @deprecated use `CreateDeploymentValueDeploymentsEq$outboundSchema` instead. */
4313
+ const outboundSchema: z.ZodType<CreateDeploymentValueDeploymentsEq$Outbound, z.ZodTypeDef, CreateDeploymentValueDeploymentsEq>;
4314
+ /** @deprecated use `CreateDeploymentValueDeploymentsEq$Outbound` instead. */
4315
+ type Outbound = CreateDeploymentValueDeploymentsEq$Outbound;
4316
+ }
4317
+ export declare function createDeploymentValueDeploymentsEqToJSON(createDeploymentValueDeploymentsEq: CreateDeploymentValueDeploymentsEq): string;
4318
+ export declare function createDeploymentValueDeploymentsEqFromJSON(jsonString: string): SafeParseResult<CreateDeploymentValueDeploymentsEq, SDKValidationError>;
4319
+ /** @internal */
4320
+ export declare const CreateDeploymentValueDeploymentsResponse2002$inboundSchema: z.ZodType<CreateDeploymentValueDeploymentsResponse2002, z.ZodTypeDef, unknown>;
4321
+ /** @internal */
4322
+ export type CreateDeploymentValueDeploymentsResponse2002$Outbound = {
4323
+ eq?: string | number | undefined;
4324
+ neq?: string | undefined;
4325
+ inc?: Array<string> | undefined;
4326
+ ninc?: Array<string> | undefined;
4327
+ pre?: string | undefined;
4328
+ suf?: string | undefined;
4329
+ re?: string | undefined;
4330
+ gt?: number | undefined;
4331
+ gte?: number | undefined;
4332
+ lt?: number | undefined;
4333
+ lte?: number | undefined;
4334
+ };
4335
+ /** @internal */
4336
+ export declare const CreateDeploymentValueDeploymentsResponse2002$outboundSchema: z.ZodType<CreateDeploymentValueDeploymentsResponse2002$Outbound, z.ZodTypeDef, CreateDeploymentValueDeploymentsResponse2002>;
4337
+ /**
4338
+ * @internal
4339
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4340
+ */
4341
+ export declare namespace CreateDeploymentValueDeploymentsResponse2002$ {
4342
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$inboundSchema` instead. */
4343
+ const inboundSchema: z.ZodType<CreateDeploymentValueDeploymentsResponse2002, z.ZodTypeDef, unknown>;
4344
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$outboundSchema` instead. */
4345
+ const outboundSchema: z.ZodType<CreateDeploymentValueDeploymentsResponse2002$Outbound, z.ZodTypeDef, CreateDeploymentValueDeploymentsResponse2002>;
4346
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$Outbound` instead. */
4347
+ type Outbound = CreateDeploymentValueDeploymentsResponse2002$Outbound;
4348
+ }
4349
+ export declare function createDeploymentValueDeploymentsResponse2002ToJSON(createDeploymentValueDeploymentsResponse2002: CreateDeploymentValueDeploymentsResponse2002): string;
4350
+ export declare function createDeploymentValueDeploymentsResponse2002FromJSON(jsonString: string): SafeParseResult<CreateDeploymentValueDeploymentsResponse2002, SDKValidationError>;
4351
+ /** @internal */
4352
+ export declare const CreateDeploymentMissingValue$inboundSchema: z.ZodType<CreateDeploymentMissingValue, z.ZodTypeDef, unknown>;
4353
+ /** @internal */
4354
+ export type CreateDeploymentMissingValue$Outbound = CreateDeploymentValueDeploymentsResponse2002$Outbound | string;
4355
+ /** @internal */
4356
+ export declare const CreateDeploymentMissingValue$outboundSchema: z.ZodType<CreateDeploymentMissingValue$Outbound, z.ZodTypeDef, CreateDeploymentMissingValue>;
4357
+ /**
4358
+ * @internal
4359
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4360
+ */
4361
+ export declare namespace CreateDeploymentMissingValue$ {
4362
+ /** @deprecated use `CreateDeploymentMissingValue$inboundSchema` instead. */
4363
+ const inboundSchema: z.ZodType<CreateDeploymentMissingValue, z.ZodTypeDef, unknown>;
4364
+ /** @deprecated use `CreateDeploymentMissingValue$outboundSchema` instead. */
4365
+ const outboundSchema: z.ZodType<CreateDeploymentMissingValue$Outbound, z.ZodTypeDef, CreateDeploymentMissingValue>;
4366
+ /** @deprecated use `CreateDeploymentMissingValue$Outbound` instead. */
4367
+ type Outbound = CreateDeploymentMissingValue$Outbound;
4368
+ }
4369
+ export declare function createDeploymentMissingValueToJSON(createDeploymentMissingValue: CreateDeploymentMissingValue): string;
4370
+ export declare function createDeploymentMissingValueFromJSON(jsonString: string): SafeParseResult<CreateDeploymentMissingValue, SDKValidationError>;
4371
+ /** @internal */
4065
4372
  export declare const Missing2$inboundSchema: z.ZodType<Missing2, z.ZodTypeDef, unknown>;
4066
4373
  /** @internal */
4067
4374
  export type Missing2$Outbound = {
4068
4375
  type: string;
4069
4376
  key: string;
4070
- value?: string | undefined;
4377
+ value?: CreateDeploymentValueDeploymentsResponse2002$Outbound | string | undefined;
4071
4378
  };
4072
4379
  /** @internal */
4073
4380
  export declare const Missing2$outboundSchema: z.ZodType<Missing2$Outbound, z.ZodTypeDef, Missing2>;
@@ -4104,11 +4411,83 @@ export declare namespace MissingType$ {
4104
4411
  }>;
4105
4412
  }
4106
4413
  /** @internal */
4414
+ export declare const CreateDeploymentValueEq$inboundSchema: z.ZodType<CreateDeploymentValueEq, z.ZodTypeDef, unknown>;
4415
+ /** @internal */
4416
+ export type CreateDeploymentValueEq$Outbound = string | number;
4417
+ /** @internal */
4418
+ export declare const CreateDeploymentValueEq$outboundSchema: z.ZodType<CreateDeploymentValueEq$Outbound, z.ZodTypeDef, CreateDeploymentValueEq>;
4419
+ /**
4420
+ * @internal
4421
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4422
+ */
4423
+ export declare namespace CreateDeploymentValueEq$ {
4424
+ /** @deprecated use `CreateDeploymentValueEq$inboundSchema` instead. */
4425
+ const inboundSchema: z.ZodType<CreateDeploymentValueEq, z.ZodTypeDef, unknown>;
4426
+ /** @deprecated use `CreateDeploymentValueEq$outboundSchema` instead. */
4427
+ const outboundSchema: z.ZodType<CreateDeploymentValueEq$Outbound, z.ZodTypeDef, CreateDeploymentValueEq>;
4428
+ /** @deprecated use `CreateDeploymentValueEq$Outbound` instead. */
4429
+ type Outbound = CreateDeploymentValueEq$Outbound;
4430
+ }
4431
+ export declare function createDeploymentValueEqToJSON(createDeploymentValueEq: CreateDeploymentValueEq): string;
4432
+ export declare function createDeploymentValueEqFromJSON(jsonString: string): SafeParseResult<CreateDeploymentValueEq, SDKValidationError>;
4433
+ /** @internal */
4434
+ export declare const CreateDeploymentValueDeploymentsResponse2$inboundSchema: z.ZodType<CreateDeploymentValueDeploymentsResponse2, z.ZodTypeDef, unknown>;
4435
+ /** @internal */
4436
+ export type CreateDeploymentValueDeploymentsResponse2$Outbound = {
4437
+ eq?: string | number | undefined;
4438
+ neq?: string | undefined;
4439
+ inc?: Array<string> | undefined;
4440
+ ninc?: Array<string> | undefined;
4441
+ pre?: string | undefined;
4442
+ suf?: string | undefined;
4443
+ re?: string | undefined;
4444
+ gt?: number | undefined;
4445
+ gte?: number | undefined;
4446
+ lt?: number | undefined;
4447
+ lte?: number | undefined;
4448
+ };
4449
+ /** @internal */
4450
+ export declare const CreateDeploymentValueDeploymentsResponse2$outboundSchema: z.ZodType<CreateDeploymentValueDeploymentsResponse2$Outbound, z.ZodTypeDef, CreateDeploymentValueDeploymentsResponse2>;
4451
+ /**
4452
+ * @internal
4453
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4454
+ */
4455
+ export declare namespace CreateDeploymentValueDeploymentsResponse2$ {
4456
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2$inboundSchema` instead. */
4457
+ const inboundSchema: z.ZodType<CreateDeploymentValueDeploymentsResponse2, z.ZodTypeDef, unknown>;
4458
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2$outboundSchema` instead. */
4459
+ const outboundSchema: z.ZodType<CreateDeploymentValueDeploymentsResponse2$Outbound, z.ZodTypeDef, CreateDeploymentValueDeploymentsResponse2>;
4460
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2$Outbound` instead. */
4461
+ type Outbound = CreateDeploymentValueDeploymentsResponse2$Outbound;
4462
+ }
4463
+ export declare function createDeploymentValueDeploymentsResponse2ToJSON(createDeploymentValueDeploymentsResponse2: CreateDeploymentValueDeploymentsResponse2): string;
4464
+ export declare function createDeploymentValueDeploymentsResponse2FromJSON(jsonString: string): SafeParseResult<CreateDeploymentValueDeploymentsResponse2, SDKValidationError>;
4465
+ /** @internal */
4466
+ export declare const MissingValue$inboundSchema: z.ZodType<MissingValue, z.ZodTypeDef, unknown>;
4467
+ /** @internal */
4468
+ export type MissingValue$Outbound = CreateDeploymentValueDeploymentsResponse2$Outbound | string;
4469
+ /** @internal */
4470
+ export declare const MissingValue$outboundSchema: z.ZodType<MissingValue$Outbound, z.ZodTypeDef, MissingValue>;
4471
+ /**
4472
+ * @internal
4473
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4474
+ */
4475
+ export declare namespace MissingValue$ {
4476
+ /** @deprecated use `MissingValue$inboundSchema` instead. */
4477
+ const inboundSchema: z.ZodType<MissingValue, z.ZodTypeDef, unknown>;
4478
+ /** @deprecated use `MissingValue$outboundSchema` instead. */
4479
+ const outboundSchema: z.ZodType<MissingValue$Outbound, z.ZodTypeDef, MissingValue>;
4480
+ /** @deprecated use `MissingValue$Outbound` instead. */
4481
+ type Outbound = MissingValue$Outbound;
4482
+ }
4483
+ export declare function missingValueToJSON(missingValue: MissingValue): string;
4484
+ export declare function missingValueFromJSON(jsonString: string): SafeParseResult<MissingValue, SDKValidationError>;
4485
+ /** @internal */
4107
4486
  export declare const Missing1$inboundSchema: z.ZodType<Missing1, z.ZodTypeDef, unknown>;
4108
4487
  /** @internal */
4109
4488
  export type Missing1$Outbound = {
4110
4489
  type: string;
4111
- value: string;
4490
+ value: CreateDeploymentValueDeploymentsResponse2$Outbound | string;
4112
4491
  };
4113
4492
  /** @internal */
4114
4493
  export declare const Missing1$outboundSchema: z.ZodType<Missing1$Outbound, z.ZodTypeDef, Missing1>;
@@ -4147,6 +4526,48 @@ export declare namespace RoutesMissing$ {
4147
4526
  export declare function routesMissingToJSON(routesMissing: RoutesMissing): string;
4148
4527
  export declare function routesMissingFromJSON(jsonString: string): SafeParseResult<RoutesMissing, SDKValidationError>;
4149
4528
  /** @internal */
4529
+ export declare const RoutesAction$inboundSchema: z.ZodNativeEnum<typeof RoutesAction>;
4530
+ /** @internal */
4531
+ export declare const RoutesAction$outboundSchema: z.ZodNativeEnum<typeof RoutesAction>;
4532
+ /**
4533
+ * @internal
4534
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4535
+ */
4536
+ export declare namespace RoutesAction$ {
4537
+ /** @deprecated use `RoutesAction$inboundSchema` instead. */
4538
+ const inboundSchema: z.ZodNativeEnum<{
4539
+ readonly Challenge: "challenge";
4540
+ readonly Deny: "deny";
4541
+ }>;
4542
+ /** @deprecated use `RoutesAction$outboundSchema` instead. */
4543
+ const outboundSchema: z.ZodNativeEnum<{
4544
+ readonly Challenge: "challenge";
4545
+ readonly Deny: "deny";
4546
+ }>;
4547
+ }
4548
+ /** @internal */
4549
+ export declare const RoutesMitigate$inboundSchema: z.ZodType<RoutesMitigate, z.ZodTypeDef, unknown>;
4550
+ /** @internal */
4551
+ export type RoutesMitigate$Outbound = {
4552
+ action: string;
4553
+ };
4554
+ /** @internal */
4555
+ export declare const RoutesMitigate$outboundSchema: z.ZodType<RoutesMitigate$Outbound, z.ZodTypeDef, RoutesMitigate>;
4556
+ /**
4557
+ * @internal
4558
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4559
+ */
4560
+ export declare namespace RoutesMitigate$ {
4561
+ /** @deprecated use `RoutesMitigate$inboundSchema` instead. */
4562
+ const inboundSchema: z.ZodType<RoutesMitigate, z.ZodTypeDef, unknown>;
4563
+ /** @deprecated use `RoutesMitigate$outboundSchema` instead. */
4564
+ const outboundSchema: z.ZodType<RoutesMitigate$Outbound, z.ZodTypeDef, RoutesMitigate>;
4565
+ /** @deprecated use `RoutesMitigate$Outbound` instead. */
4566
+ type Outbound = RoutesMitigate$Outbound;
4567
+ }
4568
+ export declare function routesMitigateToJSON(routesMitigate: RoutesMitigate): string;
4569
+ export declare function routesMitigateFromJSON(jsonString: string): SafeParseResult<RoutesMitigate, SDKValidationError>;
4570
+ /** @internal */
4150
4571
  export declare const Locale$inboundSchema: z.ZodType<Locale, z.ZodTypeDef, unknown>;
4151
4572
  /** @internal */
4152
4573
  export type Locale$Outbound = {
@@ -4189,6 +4610,7 @@ export type Routes1$Outbound = {
4189
4610
  status?: number | undefined;
4190
4611
  has?: Array<Has1$Outbound | Has2$Outbound> | undefined;
4191
4612
  missing?: Array<Missing1$Outbound | Missing2$Outbound> | undefined;
4613
+ mitigate?: RoutesMitigate$Outbound | undefined;
4192
4614
  locale?: Locale$Outbound | undefined;
4193
4615
  middlewarePath?: string | undefined;
4194
4616
  middlewareRawSrc?: Array<string> | undefined;
@@ -4213,7 +4635,7 @@ export declare function routes1FromJSON(jsonString: string): SafeParseResult<Rou
4213
4635
  /** @internal */
4214
4636
  export declare const Routes$inboundSchema: z.ZodType<Routes, z.ZodTypeDef, unknown>;
4215
4637
  /** @internal */
4216
- export type Routes$Outbound = Routes3$Outbound | Routes2$Outbound | Routes1$Outbound;
4638
+ export type Routes$Outbound = Routes3$Outbound | Routes1$Outbound | Routes2$Outbound;
4217
4639
  /** @internal */
4218
4640
  export declare const Routes$outboundSchema: z.ZodType<Routes$Outbound, z.ZodTypeDef, Routes>;
4219
4641
  /**
@@ -4333,7 +4755,7 @@ export declare function createDeploymentMicrofrontends1FromJSON(jsonString: stri
4333
4755
  /** @internal */
4334
4756
  export declare const CreateDeploymentMicrofrontends$inboundSchema: z.ZodType<CreateDeploymentMicrofrontends, z.ZodTypeDef, unknown>;
4335
4757
  /** @internal */
4336
- export type CreateDeploymentMicrofrontends$Outbound = CreateDeploymentMicrofrontends1$Outbound | CreateDeploymentMicrofrontends2$Outbound;
4758
+ export type CreateDeploymentMicrofrontends$Outbound = CreateDeploymentMicrofrontends2$Outbound | CreateDeploymentMicrofrontends1$Outbound;
4337
4759
  /** @internal */
4338
4760
  export declare const CreateDeploymentMicrofrontends$outboundSchema: z.ZodType<CreateDeploymentMicrofrontends$Outbound, z.ZodTypeDef, CreateDeploymentMicrofrontends>;
4339
4761
  /**
@@ -4419,28 +4841,6 @@ export declare namespace CreateDeploymentChecks$ {
4419
4841
  export declare function createDeploymentChecksToJSON(createDeploymentChecks: CreateDeploymentChecks): string;
4420
4842
  export declare function createDeploymentChecksFromJSON(jsonString: string): SafeParseResult<CreateDeploymentChecks, SDKValidationError>;
4421
4843
  /** @internal */
4422
- export declare const CreateDeploymentPlan$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentPlan>;
4423
- /** @internal */
4424
- export declare const CreateDeploymentPlan$outboundSchema: z.ZodNativeEnum<typeof CreateDeploymentPlan>;
4425
- /**
4426
- * @internal
4427
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4428
- */
4429
- export declare namespace CreateDeploymentPlan$ {
4430
- /** @deprecated use `CreateDeploymentPlan$inboundSchema` instead. */
4431
- const inboundSchema: z.ZodNativeEnum<{
4432
- readonly Pro: "pro";
4433
- readonly Enterprise: "enterprise";
4434
- readonly Hobby: "hobby";
4435
- }>;
4436
- /** @deprecated use `CreateDeploymentPlan$outboundSchema` instead. */
4437
- const outboundSchema: z.ZodNativeEnum<{
4438
- readonly Pro: "pro";
4439
- readonly Enterprise: "enterprise";
4440
- readonly Hobby: "hobby";
4441
- }>;
4442
- }
4443
- /** @internal */
4444
4844
  export declare const CreateDeploymentGitRepoDeploymentsType$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitRepoDeploymentsType>;
4445
4845
  /** @internal */
4446
4846
  export declare const CreateDeploymentGitRepoDeploymentsType$outboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitRepoDeploymentsType>;
@@ -4649,7 +5049,7 @@ export declare function gitRepo1FromJSON(jsonString: string): SafeParseResult<Gi
4649
5049
  /** @internal */
4650
5050
  export declare const GitRepo$inboundSchema: z.ZodType<GitRepo, z.ZodTypeDef, unknown>;
4651
5051
  /** @internal */
4652
- export type GitRepo$Outbound = GitRepo1$Outbound | GitRepo2$Outbound | GitRepo3$Outbound;
5052
+ export type GitRepo$Outbound = GitRepo2$Outbound | GitRepo3$Outbound | GitRepo1$Outbound;
4653
5053
  /** @internal */
4654
5054
  export declare const GitRepo$outboundSchema: z.ZodType<GitRepo$Outbound, z.ZodTypeDef, GitRepo>;
4655
5055
  /**
@@ -4811,7 +5211,7 @@ export type CreateDeploymentResponseBody$Outbound = {
4811
5211
  userAliases?: Array<string> | undefined;
4812
5212
  previewCommentsEnabled?: boolean | undefined;
4813
5213
  ttyBuildLogs?: boolean | undefined;
4814
- customEnvironment?: CustomEnvironment2$Outbound | CustomEnvironment1$Outbound | undefined;
5214
+ customEnvironment?: CustomEnvironment1$Outbound | CustomEnvironment2$Outbound | undefined;
4815
5215
  oomReport?: string | undefined;
4816
5216
  id: string;
4817
5217
  name: string;
@@ -4820,7 +5220,7 @@ export type CreateDeploymentResponseBody$Outbound = {
4820
5220
  deletedAt?: number | null | undefined;
4821
5221
  version: number;
4822
5222
  autoAssignCustomDomains?: boolean | undefined;
4823
- gitSource?: CreateDeploymentGitSource8$Outbound | CreateDeploymentGitSource11$Outbound | CreateDeploymentGitSource1$Outbound | CreateDeploymentGitSource5$Outbound | CreateDeploymentGitSource2$Outbound | CreateDeploymentGitSource3$Outbound | CreateDeploymentGitSource6$Outbound | CreateDeploymentGitSource7$Outbound | CreateDeploymentGitSource9$Outbound | CreateDeploymentGitSource4$Outbound | CreateDeploymentGitSource10$Outbound | CreateDeploymentGitSource12$Outbound | undefined;
5223
+ gitSource?: CreateDeploymentGitSource10$Outbound | CreateDeploymentGitSource12$Outbound | CreateDeploymentGitSource4$Outbound | CreateDeploymentGitSource8$Outbound | CreateDeploymentGitSource9$Outbound | CreateDeploymentGitSource11$Outbound | CreateDeploymentGitSource2$Outbound | CreateDeploymentGitSource3$Outbound | CreateDeploymentGitSource7$Outbound | CreateDeploymentGitSource1$Outbound | CreateDeploymentGitSource5$Outbound | CreateDeploymentGitSource6$Outbound | undefined;
4824
5224
  meta: {
4825
5225
  [k: string]: string;
4826
5226
  };
@@ -4852,20 +5252,20 @@ export type CreateDeploymentResponseBody$Outbound = {
4852
5252
  projectId: string;
4853
5253
  ownerId: string;
4854
5254
  monorepoManager?: string | null | undefined;
5255
+ plan: string;
4855
5256
  config?: Config$Outbound | undefined;
4856
5257
  functions?: {
4857
5258
  [k: string]: Functions$Outbound;
4858
5259
  } | null | undefined;
4859
- routes: Array<Routes3$Outbound | Routes2$Outbound | Routes1$Outbound> | null;
5260
+ routes: Array<Routes3$Outbound | Routes1$Outbound | Routes2$Outbound> | null;
4860
5261
  crons?: Array<CreateDeploymentCrons$Outbound> | undefined;
4861
- microfrontends?: CreateDeploymentMicrofrontends1$Outbound | CreateDeploymentMicrofrontends2$Outbound | undefined;
5262
+ microfrontends?: CreateDeploymentMicrofrontends2$Outbound | CreateDeploymentMicrofrontends1$Outbound | undefined;
4862
5263
  checks?: CreateDeploymentChecks$Outbound | undefined;
4863
- plan: string;
4864
5264
  connectBuildsEnabled?: boolean | undefined;
4865
5265
  connectConfigurationId?: string | undefined;
4866
5266
  createdIn: string;
4867
5267
  passiveConnectConfigurationId?: string | undefined;
4868
- gitRepo?: GitRepo1$Outbound | GitRepo2$Outbound | GitRepo3$Outbound | null | undefined;
5268
+ gitRepo?: GitRepo2$Outbound | GitRepo3$Outbound | GitRepo1$Outbound | null | undefined;
4869
5269
  flags?: Flags1$Outbound | Array<Flags2$Outbound> | undefined;
4870
5270
  };
4871
5271
  /** @internal */