@vercel/sdk 1.8.5 → 1.8.6

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 (191) hide show
  1. package/README.md +11 -3
  2. package/bin/mcp-server.js +1555 -654
  3. package/bin/mcp-server.js.map +38 -26
  4. package/docs/sdks/marketplace/README.md +310 -78
  5. package/docs/sdks/rollingrelease/README.md +80 -0
  6. package/esm/__tests__/marketplace.test.js +53 -0
  7. package/esm/__tests__/marketplace.test.js.map +1 -1
  8. package/esm/__tests__/rollingrelease.test.js +23 -0
  9. package/esm/__tests__/rollingrelease.test.js.map +1 -1
  10. package/esm/funcs/domainsCheckDomainStatus.js +2 -2
  11. package/esm/funcs/domainsCheckDomainStatus.js.map +1 -1
  12. package/esm/funcs/marketplaceDeleteResource.d.ts +20 -0
  13. package/esm/funcs/marketplaceDeleteResource.d.ts.map +1 -0
  14. package/esm/funcs/marketplaceDeleteResource.js +91 -0
  15. package/esm/funcs/marketplaceDeleteResource.js.map +1 -0
  16. package/esm/funcs/marketplaceGetResource.d.ts +20 -0
  17. package/esm/funcs/marketplaceGetResource.d.ts.map +1 -0
  18. package/esm/funcs/marketplaceGetResource.js +90 -0
  19. package/esm/funcs/marketplaceGetResource.js.map +1 -0
  20. package/esm/funcs/marketplaceGetResources.d.ts +20 -0
  21. package/esm/funcs/marketplaceGetResources.d.ts.map +1 -0
  22. package/esm/funcs/marketplaceGetResources.js +86 -0
  23. package/esm/funcs/marketplaceGetResources.js.map +1 -0
  24. package/esm/funcs/rollingReleaseGetRollingReleaseBillingStatus.d.ts +20 -0
  25. package/esm/funcs/rollingReleaseGetRollingReleaseBillingStatus.d.ts.map +1 -0
  26. package/esm/funcs/rollingReleaseGetRollingReleaseBillingStatus.js +94 -0
  27. package/esm/funcs/rollingReleaseGetRollingReleaseBillingStatus.js.map +1 -0
  28. package/esm/lib/config.d.ts +3 -3
  29. package/esm/lib/config.js +3 -3
  30. package/esm/mcp-server/mcp-server.js +1 -1
  31. package/esm/mcp-server/server.d.ts.map +1 -1
  32. package/esm/mcp-server/server.js +10 -2
  33. package/esm/mcp-server/server.js.map +1 -1
  34. package/esm/mcp-server/tools/marketplaceDeleteResource.d.ts +7 -0
  35. package/esm/mcp-server/tools/marketplaceDeleteResource.d.ts.map +1 -0
  36. package/esm/mcp-server/tools/marketplaceDeleteResource.js +27 -0
  37. package/esm/mcp-server/tools/marketplaceDeleteResource.js.map +1 -0
  38. package/esm/mcp-server/tools/marketplaceGetResource.d.ts +7 -0
  39. package/esm/mcp-server/tools/marketplaceGetResource.d.ts.map +1 -0
  40. package/esm/mcp-server/tools/marketplaceGetResource.js +28 -0
  41. package/esm/mcp-server/tools/marketplaceGetResource.js.map +1 -0
  42. package/esm/mcp-server/tools/marketplaceGetResources.d.ts +7 -0
  43. package/esm/mcp-server/tools/marketplaceGetResources.d.ts.map +1 -0
  44. package/esm/mcp-server/tools/marketplaceGetResources.js +28 -0
  45. package/esm/mcp-server/tools/marketplaceGetResources.js.map +1 -0
  46. package/esm/mcp-server/tools/rollingReleaseGetRollingReleaseBillingStatus.d.ts +7 -0
  47. package/esm/mcp-server/tools/rollingReleaseGetRollingReleaseBillingStatus.d.ts.map +1 -0
  48. package/esm/mcp-server/tools/rollingReleaseGetRollingReleaseBillingStatus.js +28 -0
  49. package/esm/mcp-server/tools/rollingReleaseGetRollingReleaseBillingStatus.js.map +1 -0
  50. package/esm/models/canceldeploymentop.d.ts +19 -17
  51. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  52. package/esm/models/canceldeploymentop.js +19 -17
  53. package/esm/models/canceldeploymentop.js.map +1 -1
  54. package/esm/models/createdeploymentop.d.ts +51 -106
  55. package/esm/models/createdeploymentop.d.ts.map +1 -1
  56. package/esm/models/createdeploymentop.js +55 -110
  57. package/esm/models/createdeploymentop.js.map +1 -1
  58. package/esm/models/createprojectop.d.ts +2 -0
  59. package/esm/models/createprojectop.d.ts.map +1 -1
  60. package/esm/models/createprojectop.js +2 -0
  61. package/esm/models/createprojectop.js.map +1 -1
  62. package/esm/models/createwebhookop.d.ts +6 -0
  63. package/esm/models/createwebhookop.d.ts.map +1 -1
  64. package/esm/models/createwebhookop.js +2 -0
  65. package/esm/models/createwebhookop.js.map +1 -1
  66. package/esm/models/deleteresourceop.d.ts +31 -0
  67. package/esm/models/deleteresourceop.d.ts.map +1 -0
  68. package/esm/models/deleteresourceop.js +33 -0
  69. package/esm/models/deleteresourceop.js.map +1 -0
  70. package/esm/models/getdeploymentop.d.ts +2 -0
  71. package/esm/models/getdeploymentop.d.ts.map +1 -1
  72. package/esm/models/getdeploymentop.js +2 -0
  73. package/esm/models/getdeploymentop.js.map +1 -1
  74. package/esm/models/getedgeconfigbackupop.d.ts +15 -15
  75. package/esm/models/getedgeconfigbackupop.d.ts.map +1 -1
  76. package/esm/models/getedgeconfigbackupop.js +15 -15
  77. package/esm/models/getedgeconfigbackupop.js.map +1 -1
  78. package/esm/models/getfirewallconfigop.d.ts +2 -0
  79. package/esm/models/getfirewallconfigop.d.ts.map +1 -1
  80. package/esm/models/getfirewallconfigop.js +2 -0
  81. package/esm/models/getfirewallconfigop.js.map +1 -1
  82. package/esm/models/getmemberop.d.ts +9 -0
  83. package/esm/models/getmemberop.d.ts.map +1 -1
  84. package/esm/models/getmemberop.js +3 -0
  85. package/esm/models/getmemberop.js.map +1 -1
  86. package/esm/models/getprojectsop.d.ts +2 -0
  87. package/esm/models/getprojectsop.d.ts.map +1 -1
  88. package/esm/models/getprojectsop.js +2 -0
  89. package/esm/models/getprojectsop.js.map +1 -1
  90. package/esm/models/getresourceop.d.ts +293 -0
  91. package/esm/models/getresourceop.d.ts.map +1 -0
  92. package/esm/models/getresourceop.js +250 -0
  93. package/esm/models/getresourceop.js.map +1 -0
  94. package/esm/models/getresourcesop.d.ts +310 -0
  95. package/esm/models/getresourcesop.d.ts.map +1 -0
  96. package/esm/models/getresourcesop.js +278 -0
  97. package/esm/models/getresourcesop.js.map +1 -0
  98. package/esm/models/getrollingreleasebillingstatusop.d.ts +284 -0
  99. package/esm/models/getrollingreleasebillingstatusop.d.ts.map +1 -0
  100. package/esm/models/getrollingreleasebillingstatusop.js +267 -0
  101. package/esm/models/getrollingreleasebillingstatusop.js.map +1 -0
  102. package/esm/models/getwebhookop.d.ts +3 -0
  103. package/esm/models/getwebhookop.d.ts.map +1 -1
  104. package/esm/models/getwebhookop.js +1 -0
  105. package/esm/models/getwebhookop.js.map +1 -1
  106. package/esm/models/getwebhooksop.d.ts +6 -0
  107. package/esm/models/getwebhooksop.d.ts.map +1 -1
  108. package/esm/models/getwebhooksop.js +2 -0
  109. package/esm/models/getwebhooksop.js.map +1 -1
  110. package/esm/models/importresourceop.d.ts +15 -15
  111. package/esm/models/importresourceop.d.ts.map +1 -1
  112. package/esm/models/importresourceop.js +17 -15
  113. package/esm/models/importresourceop.js.map +1 -1
  114. package/esm/models/putfirewallconfigop.d.ts +4 -0
  115. package/esm/models/putfirewallconfigop.d.ts.map +1 -1
  116. package/esm/models/putfirewallconfigop.js +4 -0
  117. package/esm/models/putfirewallconfigop.js.map +1 -1
  118. package/esm/models/updatefirewallconfigop.d.ts +36 -4
  119. package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
  120. package/esm/models/updatefirewallconfigop.js +33 -0
  121. package/esm/models/updatefirewallconfigop.js.map +1 -1
  122. package/esm/models/updateintegrationdeploymentactionop.d.ts +2 -0
  123. package/esm/models/updateintegrationdeploymentactionop.d.ts.map +1 -1
  124. package/esm/models/updateintegrationdeploymentactionop.js +2 -0
  125. package/esm/models/updateintegrationdeploymentactionop.js.map +1 -1
  126. package/esm/models/updateprojectdatacacheop.d.ts +2 -0
  127. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  128. package/esm/models/updateprojectdatacacheop.js +2 -0
  129. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  130. package/esm/models/updateprojectop.d.ts +2 -0
  131. package/esm/models/updateprojectop.d.ts.map +1 -1
  132. package/esm/models/updateprojectop.js +2 -0
  133. package/esm/models/updateprojectop.js.map +1 -1
  134. package/esm/models/updateresourcesecretsop.d.ts +15 -15
  135. package/esm/models/updateresourcesecretsop.d.ts.map +1 -1
  136. package/esm/models/updateresourcesecretsop.js +15 -17
  137. package/esm/models/updateresourcesecretsop.js.map +1 -1
  138. package/esm/models/userevent.d.ts +5 -0
  139. package/esm/models/userevent.d.ts.map +1 -1
  140. package/esm/models/userevent.js +2 -0
  141. package/esm/models/userevent.js.map +1 -1
  142. package/esm/sdk/marketplace.d.ts +31 -7
  143. package/esm/sdk/marketplace.d.ts.map +1 -1
  144. package/esm/sdk/marketplace.js +39 -9
  145. package/esm/sdk/marketplace.js.map +1 -1
  146. package/esm/sdk/rollingrelease.d.ts +8 -0
  147. package/esm/sdk/rollingrelease.d.ts.map +1 -1
  148. package/esm/sdk/rollingrelease.js +10 -0
  149. package/esm/sdk/rollingrelease.js.map +1 -1
  150. package/jsr.json +1 -1
  151. package/package.json +1 -1
  152. package/src/__tests__/marketplace.test.ts +62 -0
  153. package/src/__tests__/rollingrelease.test.ts +26 -0
  154. package/src/funcs/domainsCheckDomainStatus.ts +2 -2
  155. package/src/funcs/marketplaceDeleteResource.ts +205 -0
  156. package/src/funcs/marketplaceGetResource.ts +206 -0
  157. package/src/funcs/marketplaceGetResources.ts +202 -0
  158. package/src/funcs/rollingReleaseGetRollingReleaseBillingStatus.ts +208 -0
  159. package/src/lib/config.ts +3 -3
  160. package/src/mcp-server/mcp-server.ts +1 -1
  161. package/src/mcp-server/server.ts +10 -2
  162. package/src/mcp-server/tools/marketplaceDeleteResource.ts +35 -0
  163. package/src/mcp-server/tools/marketplaceGetResource.ts +37 -0
  164. package/src/mcp-server/tools/marketplaceGetResources.ts +37 -0
  165. package/src/mcp-server/tools/rollingReleaseGetRollingReleaseBillingStatus.ts +40 -0
  166. package/src/models/canceldeploymentop.ts +32 -32
  167. package/src/models/createdeploymentop.ts +107 -220
  168. package/src/models/createprojectop.ts +4 -0
  169. package/src/models/createwebhookop.ts +2 -0
  170. package/src/models/deleteresourceop.ts +70 -0
  171. package/src/models/getdeploymentop.ts +4 -0
  172. package/src/models/getedgeconfigbackupop.ts +41 -24
  173. package/src/models/getfirewallconfigop.ts +4 -0
  174. package/src/models/getmemberop.ts +9 -0
  175. package/src/models/getprojectsop.ts +4 -0
  176. package/src/models/getresourceop.ts +545 -0
  177. package/src/models/getresourcesop.ts +604 -0
  178. package/src/models/getrollingreleasebillingstatusop.ts +614 -0
  179. package/src/models/getwebhookop.ts +1 -0
  180. package/src/models/getwebhooksop.ts +2 -0
  181. package/src/models/importresourceop.ts +27 -35
  182. package/src/models/putfirewallconfigop.ts +8 -0
  183. package/src/models/updatefirewallconfigop.ts +73 -0
  184. package/src/models/updateintegrationdeploymentactionop.ts +4 -0
  185. package/src/models/updateprojectdatacacheop.ts +4 -0
  186. package/src/models/updateprojectop.ts +4 -0
  187. package/src/models/updateresourcesecretsop.ts +49 -33
  188. package/src/models/userevent.ts +7 -0
  189. package/src/sdk/marketplace.ts +80 -17
  190. package/src/sdk/rollingrelease.ts +22 -0
  191. package/vercel-spec.json +1037 -352
@@ -121,20 +121,6 @@ export type GitMetadata = {
121
121
  dirty?: boolean | undefined;
122
122
  };
123
123
 
124
- export const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType = {
125
- Bitbucket: "bitbucket",
126
- } as const;
127
- export type CreateDeploymentGitSourceDeploymentsRequestRequestBodyType =
128
- ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsRequestRequestBodyType>;
129
-
130
- export type GitSource6 = {
131
- owner: string;
132
- ref: string;
133
- sha?: string | undefined;
134
- slug: string;
135
- type: CreateDeploymentGitSourceDeploymentsRequestRequestBodyType;
136
- };
137
-
138
124
  export const CreateDeploymentGitSourceDeploymentsRequestType = {
139
125
  Bitbucket: "bitbucket",
140
126
  } as const;
@@ -143,42 +129,41 @@ export type CreateDeploymentGitSourceDeploymentsRequestType = ClosedEnum<
143
129
  >;
144
130
 
145
131
  export type GitSource5 = {
132
+ owner: string;
146
133
  ref: string;
147
- repoUuid: string;
148
134
  sha?: string | undefined;
135
+ slug: string;
149
136
  type: CreateDeploymentGitSourceDeploymentsRequestType;
150
- workspaceUuid?: string | undefined;
151
137
  };
152
138
 
153
- export type ProjectId = number | string;
154
-
155
139
  export const CreateDeploymentGitSourceDeploymentsType = {
156
- Gitlab: "gitlab",
140
+ Bitbucket: "bitbucket",
157
141
  } as const;
158
142
  export type CreateDeploymentGitSourceDeploymentsType = ClosedEnum<
159
143
  typeof CreateDeploymentGitSourceDeploymentsType
160
144
  >;
161
145
 
162
146
  export type GitSource4 = {
163
- projectId: number | string;
164
147
  ref: string;
148
+ repoUuid: string;
165
149
  sha?: string | undefined;
166
150
  type: CreateDeploymentGitSourceDeploymentsType;
151
+ workspaceUuid?: string | undefined;
167
152
  };
168
153
 
154
+ export type ProjectId = number | string;
155
+
169
156
  export const CreateDeploymentGitSourceType = {
170
- GithubCustomHost: "github-custom-host",
157
+ Gitlab: "gitlab",
171
158
  } as const;
172
159
  export type CreateDeploymentGitSourceType = ClosedEnum<
173
160
  typeof CreateDeploymentGitSourceType
174
161
  >;
175
162
 
176
163
  export type GitSource3 = {
177
- org: string;
164
+ projectId: number | string;
178
165
  ref: string;
179
- repo: string;
180
166
  sha?: string | undefined;
181
- host: string;
182
167
  type: CreateDeploymentGitSourceType;
183
168
  };
184
169
 
@@ -197,31 +182,28 @@ export type GitSource2 = {
197
182
 
198
183
  export type RepoId = number | string;
199
184
 
200
- export const CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type = {
185
+ export const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType = {
201
186
  Github: "github",
202
187
  } as const;
203
- export type CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type =
204
- ClosedEnum<
205
- typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type
206
- >;
188
+ export type CreateDeploymentGitSourceDeploymentsRequestRequestBodyType =
189
+ ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsRequestRequestBodyType>;
207
190
 
208
191
  export type GitSource1 = {
209
192
  ref: string;
210
193
  repoId: number | string;
211
194
  sha?: string | undefined;
212
- type: CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type;
195
+ type: CreateDeploymentGitSourceDeploymentsRequestRequestBodyType;
213
196
  };
214
197
 
215
198
  /**
216
199
  * Defines the Git Repository source to be deployed. This property can not be used in combination with `files`.
217
200
  */
218
201
  export type GitSource =
219
- | GitSource3
220
202
  | GitSource2
221
- | GitSource6
203
+ | GitSource5
222
204
  | GitSource1
223
- | GitSource4
224
- | GitSource5;
205
+ | GitSource3
206
+ | GitSource4;
225
207
 
226
208
  /**
227
209
  * The framework that is being used for this project. When `null` is used no framework is selected
@@ -367,12 +349,11 @@ export type CreateDeploymentRequestBody = {
367
349
  * Defines the Git Repository source to be deployed. This property can not be used in combination with `files`.
368
350
  */
369
351
  gitSource?:
370
- | GitSource3
371
352
  | GitSource2
372
- | GitSource6
353
+ | GitSource5
373
354
  | GitSource1
355
+ | GitSource3
374
356
  | GitSource4
375
- | GitSource5
376
357
  | undefined;
377
358
  /**
378
359
  * An object containing the deployment's metadata. Multiple key-value pairs can be attached to a deployment
@@ -1372,6 +1353,7 @@ export type CreateDeploymentCrons = {
1372
1353
  * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment.
1373
1354
  */
1374
1355
  export type CreateDeploymentMicrofrontendsApplications = {
1356
+ isDefaultApp?: boolean | undefined;
1375
1357
  /**
1376
1358
  * This is the production alias, it will always show the most up to date of each application.
1377
1359
  */
@@ -1963,95 +1945,6 @@ export function gitMetadataFromJSON(
1963
1945
  );
1964
1946
  }
1965
1947
 
1966
- /** @internal */
1967
- export const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema:
1968
- z.ZodNativeEnum<
1969
- typeof CreateDeploymentGitSourceDeploymentsRequestRequestBodyType
1970
- > = z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestRequestBodyType);
1971
-
1972
- /** @internal */
1973
- export const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema:
1974
- z.ZodNativeEnum<
1975
- typeof CreateDeploymentGitSourceDeploymentsRequestRequestBodyType
1976
- > = CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema;
1977
-
1978
- /**
1979
- * @internal
1980
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1981
- */
1982
- export namespace CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$ {
1983
- /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema` instead. */
1984
- export const inboundSchema =
1985
- CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema;
1986
- /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema` instead. */
1987
- export const outboundSchema =
1988
- CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema;
1989
- }
1990
-
1991
- /** @internal */
1992
- export const GitSource6$inboundSchema: z.ZodType<
1993
- GitSource6,
1994
- z.ZodTypeDef,
1995
- unknown
1996
- > = z.object({
1997
- owner: z.string(),
1998
- ref: z.string(),
1999
- sha: z.string().optional(),
2000
- slug: z.string(),
2001
- type:
2002
- CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema,
2003
- });
2004
-
2005
- /** @internal */
2006
- export type GitSource6$Outbound = {
2007
- owner: string;
2008
- ref: string;
2009
- sha?: string | undefined;
2010
- slug: string;
2011
- type: string;
2012
- };
2013
-
2014
- /** @internal */
2015
- export const GitSource6$outboundSchema: z.ZodType<
2016
- GitSource6$Outbound,
2017
- z.ZodTypeDef,
2018
- GitSource6
2019
- > = z.object({
2020
- owner: z.string(),
2021
- ref: z.string(),
2022
- sha: z.string().optional(),
2023
- slug: z.string(),
2024
- type:
2025
- CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema,
2026
- });
2027
-
2028
- /**
2029
- * @internal
2030
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2031
- */
2032
- export namespace GitSource6$ {
2033
- /** @deprecated use `GitSource6$inboundSchema` instead. */
2034
- export const inboundSchema = GitSource6$inboundSchema;
2035
- /** @deprecated use `GitSource6$outboundSchema` instead. */
2036
- export const outboundSchema = GitSource6$outboundSchema;
2037
- /** @deprecated use `GitSource6$Outbound` instead. */
2038
- export type Outbound = GitSource6$Outbound;
2039
- }
2040
-
2041
- export function gitSource6ToJSON(gitSource6: GitSource6): string {
2042
- return JSON.stringify(GitSource6$outboundSchema.parse(gitSource6));
2043
- }
2044
-
2045
- export function gitSource6FromJSON(
2046
- jsonString: string,
2047
- ): SafeParseResult<GitSource6, SDKValidationError> {
2048
- return safeParse(
2049
- jsonString,
2050
- (x) => GitSource6$inboundSchema.parse(JSON.parse(x)),
2051
- `Failed to parse 'GitSource6' from JSON`,
2052
- );
2053
- }
2054
-
2055
1948
  /** @internal */
2056
1949
  export const CreateDeploymentGitSourceDeploymentsRequestType$inboundSchema:
2057
1950
  z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsRequestType> = z
@@ -2081,20 +1974,20 @@ export const GitSource5$inboundSchema: z.ZodType<
2081
1974
  z.ZodTypeDef,
2082
1975
  unknown
2083
1976
  > = z.object({
1977
+ owner: z.string(),
2084
1978
  ref: z.string(),
2085
- repoUuid: z.string(),
2086
1979
  sha: z.string().optional(),
1980
+ slug: z.string(),
2087
1981
  type: CreateDeploymentGitSourceDeploymentsRequestType$inboundSchema,
2088
- workspaceUuid: z.string().optional(),
2089
1982
  });
2090
1983
 
2091
1984
  /** @internal */
2092
1985
  export type GitSource5$Outbound = {
1986
+ owner: string;
2093
1987
  ref: string;
2094
- repoUuid: string;
2095
1988
  sha?: string | undefined;
1989
+ slug: string;
2096
1990
  type: string;
2097
- workspaceUuid?: string | undefined;
2098
1991
  };
2099
1992
 
2100
1993
  /** @internal */
@@ -2103,11 +1996,11 @@ export const GitSource5$outboundSchema: z.ZodType<
2103
1996
  z.ZodTypeDef,
2104
1997
  GitSource5
2105
1998
  > = z.object({
1999
+ owner: z.string(),
2106
2000
  ref: z.string(),
2107
- repoUuid: z.string(),
2108
2001
  sha: z.string().optional(),
2002
+ slug: z.string(),
2109
2003
  type: CreateDeploymentGitSourceDeploymentsRequestType$outboundSchema,
2110
- workspaceUuid: z.string().optional(),
2111
2004
  });
2112
2005
 
2113
2006
  /**
@@ -2137,50 +2030,6 @@ export function gitSource5FromJSON(
2137
2030
  );
2138
2031
  }
2139
2032
 
2140
- /** @internal */
2141
- export const ProjectId$inboundSchema: z.ZodType<
2142
- ProjectId,
2143
- z.ZodTypeDef,
2144
- unknown
2145
- > = z.union([z.number(), z.string()]);
2146
-
2147
- /** @internal */
2148
- export type ProjectId$Outbound = number | string;
2149
-
2150
- /** @internal */
2151
- export const ProjectId$outboundSchema: z.ZodType<
2152
- ProjectId$Outbound,
2153
- z.ZodTypeDef,
2154
- ProjectId
2155
- > = z.union([z.number(), z.string()]);
2156
-
2157
- /**
2158
- * @internal
2159
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2160
- */
2161
- export namespace ProjectId$ {
2162
- /** @deprecated use `ProjectId$inboundSchema` instead. */
2163
- export const inboundSchema = ProjectId$inboundSchema;
2164
- /** @deprecated use `ProjectId$outboundSchema` instead. */
2165
- export const outboundSchema = ProjectId$outboundSchema;
2166
- /** @deprecated use `ProjectId$Outbound` instead. */
2167
- export type Outbound = ProjectId$Outbound;
2168
- }
2169
-
2170
- export function projectIdToJSON(projectId: ProjectId): string {
2171
- return JSON.stringify(ProjectId$outboundSchema.parse(projectId));
2172
- }
2173
-
2174
- export function projectIdFromJSON(
2175
- jsonString: string,
2176
- ): SafeParseResult<ProjectId, SDKValidationError> {
2177
- return safeParse(
2178
- jsonString,
2179
- (x) => ProjectId$inboundSchema.parse(JSON.parse(x)),
2180
- `Failed to parse 'ProjectId' from JSON`,
2181
- );
2182
- }
2183
-
2184
2033
  /** @internal */
2185
2034
  export const CreateDeploymentGitSourceDeploymentsType$inboundSchema:
2186
2035
  z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsType> = z
@@ -2210,18 +2059,20 @@ export const GitSource4$inboundSchema: z.ZodType<
2210
2059
  z.ZodTypeDef,
2211
2060
  unknown
2212
2061
  > = z.object({
2213
- projectId: z.union([z.number(), z.string()]),
2214
2062
  ref: z.string(),
2063
+ repoUuid: z.string(),
2215
2064
  sha: z.string().optional(),
2216
2065
  type: CreateDeploymentGitSourceDeploymentsType$inboundSchema,
2066
+ workspaceUuid: z.string().optional(),
2217
2067
  });
2218
2068
 
2219
2069
  /** @internal */
2220
2070
  export type GitSource4$Outbound = {
2221
- projectId: number | string;
2222
2071
  ref: string;
2072
+ repoUuid: string;
2223
2073
  sha?: string | undefined;
2224
2074
  type: string;
2075
+ workspaceUuid?: string | undefined;
2225
2076
  };
2226
2077
 
2227
2078
  /** @internal */
@@ -2230,10 +2081,11 @@ export const GitSource4$outboundSchema: z.ZodType<
2230
2081
  z.ZodTypeDef,
2231
2082
  GitSource4
2232
2083
  > = z.object({
2233
- projectId: z.union([z.number(), z.string()]),
2234
2084
  ref: z.string(),
2085
+ repoUuid: z.string(),
2235
2086
  sha: z.string().optional(),
2236
2087
  type: CreateDeploymentGitSourceDeploymentsType$outboundSchema,
2088
+ workspaceUuid: z.string().optional(),
2237
2089
  });
2238
2090
 
2239
2091
  /**
@@ -2263,6 +2115,50 @@ export function gitSource4FromJSON(
2263
2115
  );
2264
2116
  }
2265
2117
 
2118
+ /** @internal */
2119
+ export const ProjectId$inboundSchema: z.ZodType<
2120
+ ProjectId,
2121
+ z.ZodTypeDef,
2122
+ unknown
2123
+ > = z.union([z.number(), z.string()]);
2124
+
2125
+ /** @internal */
2126
+ export type ProjectId$Outbound = number | string;
2127
+
2128
+ /** @internal */
2129
+ export const ProjectId$outboundSchema: z.ZodType<
2130
+ ProjectId$Outbound,
2131
+ z.ZodTypeDef,
2132
+ ProjectId
2133
+ > = z.union([z.number(), z.string()]);
2134
+
2135
+ /**
2136
+ * @internal
2137
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2138
+ */
2139
+ export namespace ProjectId$ {
2140
+ /** @deprecated use `ProjectId$inboundSchema` instead. */
2141
+ export const inboundSchema = ProjectId$inboundSchema;
2142
+ /** @deprecated use `ProjectId$outboundSchema` instead. */
2143
+ export const outboundSchema = ProjectId$outboundSchema;
2144
+ /** @deprecated use `ProjectId$Outbound` instead. */
2145
+ export type Outbound = ProjectId$Outbound;
2146
+ }
2147
+
2148
+ export function projectIdToJSON(projectId: ProjectId): string {
2149
+ return JSON.stringify(ProjectId$outboundSchema.parse(projectId));
2150
+ }
2151
+
2152
+ export function projectIdFromJSON(
2153
+ jsonString: string,
2154
+ ): SafeParseResult<ProjectId, SDKValidationError> {
2155
+ return safeParse(
2156
+ jsonString,
2157
+ (x) => ProjectId$inboundSchema.parse(JSON.parse(x)),
2158
+ `Failed to parse 'ProjectId' from JSON`,
2159
+ );
2160
+ }
2161
+
2266
2162
  /** @internal */
2267
2163
  export const CreateDeploymentGitSourceType$inboundSchema: z.ZodNativeEnum<
2268
2164
  typeof CreateDeploymentGitSourceType
@@ -2290,21 +2186,17 @@ export const GitSource3$inboundSchema: z.ZodType<
2290
2186
  z.ZodTypeDef,
2291
2187
  unknown
2292
2188
  > = z.object({
2293
- org: z.string(),
2189
+ projectId: z.union([z.number(), z.string()]),
2294
2190
  ref: z.string(),
2295
- repo: z.string(),
2296
2191
  sha: z.string().optional(),
2297
- host: z.string(),
2298
2192
  type: CreateDeploymentGitSourceType$inboundSchema,
2299
2193
  });
2300
2194
 
2301
2195
  /** @internal */
2302
2196
  export type GitSource3$Outbound = {
2303
- org: string;
2197
+ projectId: number | string;
2304
2198
  ref: string;
2305
- repo: string;
2306
2199
  sha?: string | undefined;
2307
- host: string;
2308
2200
  type: string;
2309
2201
  };
2310
2202
 
@@ -2314,11 +2206,9 @@ export const GitSource3$outboundSchema: z.ZodType<
2314
2206
  z.ZodTypeDef,
2315
2207
  GitSource3
2316
2208
  > = z.object({
2317
- org: z.string(),
2209
+ projectId: z.union([z.number(), z.string()]),
2318
2210
  ref: z.string(),
2319
- repo: z.string(),
2320
2211
  sha: z.string().optional(),
2321
- host: z.string(),
2322
2212
  type: CreateDeploymentGitSourceType$outboundSchema,
2323
2213
  });
2324
2214
 
@@ -2474,28 +2364,28 @@ export function repoIdFromJSON(
2474
2364
  }
2475
2365
 
2476
2366
  /** @internal */
2477
- export const CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$inboundSchema:
2367
+ export const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema:
2478
2368
  z.ZodNativeEnum<
2479
- typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type
2480
- > = z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type);
2369
+ typeof CreateDeploymentGitSourceDeploymentsRequestRequestBodyType
2370
+ > = z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestRequestBodyType);
2481
2371
 
2482
2372
  /** @internal */
2483
- export const CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$outboundSchema:
2373
+ export const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema:
2484
2374
  z.ZodNativeEnum<
2485
- typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type
2486
- > = CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$inboundSchema;
2375
+ typeof CreateDeploymentGitSourceDeploymentsRequestRequestBodyType
2376
+ > = CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema;
2487
2377
 
2488
2378
  /**
2489
2379
  * @internal
2490
2380
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2491
2381
  */
2492
- export namespace CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$ {
2493
- /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$inboundSchema` instead. */
2382
+ export namespace CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$ {
2383
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema` instead. */
2494
2384
  export const inboundSchema =
2495
- CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$inboundSchema;
2496
- /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$outboundSchema` instead. */
2385
+ CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema;
2386
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema` instead. */
2497
2387
  export const outboundSchema =
2498
- CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$outboundSchema;
2388
+ CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema;
2499
2389
  }
2500
2390
 
2501
2391
  /** @internal */
@@ -2508,7 +2398,7 @@ export const GitSource1$inboundSchema: z.ZodType<
2508
2398
  repoId: z.union([z.number(), z.string()]),
2509
2399
  sha: z.string().optional(),
2510
2400
  type:
2511
- CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$inboundSchema,
2401
+ CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema,
2512
2402
  });
2513
2403
 
2514
2404
  /** @internal */
@@ -2529,7 +2419,7 @@ export const GitSource1$outboundSchema: z.ZodType<
2529
2419
  repoId: z.union([z.number(), z.string()]),
2530
2420
  sha: z.string().optional(),
2531
2421
  type:
2532
- CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$outboundSchema,
2422
+ CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema,
2533
2423
  });
2534
2424
 
2535
2425
  /**
@@ -2565,22 +2455,20 @@ export const GitSource$inboundSchema: z.ZodType<
2565
2455
  z.ZodTypeDef,
2566
2456
  unknown
2567
2457
  > = z.union([
2568
- z.lazy(() => GitSource3$inboundSchema),
2569
2458
  z.lazy(() => GitSource2$inboundSchema),
2570
- z.lazy(() => GitSource6$inboundSchema),
2459
+ z.lazy(() => GitSource5$inboundSchema),
2571
2460
  z.lazy(() => GitSource1$inboundSchema),
2461
+ z.lazy(() => GitSource3$inboundSchema),
2572
2462
  z.lazy(() => GitSource4$inboundSchema),
2573
- z.lazy(() => GitSource5$inboundSchema),
2574
2463
  ]);
2575
2464
 
2576
2465
  /** @internal */
2577
2466
  export type GitSource$Outbound =
2578
- | GitSource3$Outbound
2579
2467
  | GitSource2$Outbound
2580
- | GitSource6$Outbound
2468
+ | GitSource5$Outbound
2581
2469
  | GitSource1$Outbound
2582
- | GitSource4$Outbound
2583
- | GitSource5$Outbound;
2470
+ | GitSource3$Outbound
2471
+ | GitSource4$Outbound;
2584
2472
 
2585
2473
  /** @internal */
2586
2474
  export const GitSource$outboundSchema: z.ZodType<
@@ -2588,12 +2476,11 @@ export const GitSource$outboundSchema: z.ZodType<
2588
2476
  z.ZodTypeDef,
2589
2477
  GitSource
2590
2478
  > = z.union([
2591
- z.lazy(() => GitSource3$outboundSchema),
2592
2479
  z.lazy(() => GitSource2$outboundSchema),
2593
- z.lazy(() => GitSource6$outboundSchema),
2480
+ z.lazy(() => GitSource5$outboundSchema),
2594
2481
  z.lazy(() => GitSource1$outboundSchema),
2482
+ z.lazy(() => GitSource3$outboundSchema),
2595
2483
  z.lazy(() => GitSource4$outboundSchema),
2596
- z.lazy(() => GitSource5$outboundSchema),
2597
2484
  ]);
2598
2485
 
2599
2486
  /**
@@ -2759,12 +2646,11 @@ export const CreateDeploymentRequestBody$inboundSchema: z.ZodType<
2759
2646
  ).optional(),
2760
2647
  gitMetadata: z.lazy(() => GitMetadata$inboundSchema).optional(),
2761
2648
  gitSource: z.union([
2762
- z.lazy(() => GitSource3$inboundSchema),
2763
2649
  z.lazy(() => GitSource2$inboundSchema),
2764
- z.lazy(() => GitSource6$inboundSchema),
2650
+ z.lazy(() => GitSource5$inboundSchema),
2765
2651
  z.lazy(() => GitSource1$inboundSchema),
2652
+ z.lazy(() => GitSource3$inboundSchema),
2766
2653
  z.lazy(() => GitSource4$inboundSchema),
2767
- z.lazy(() => GitSource5$inboundSchema),
2768
2654
  ]).optional(),
2769
2655
  meta: z.record(z.string()).optional(),
2770
2656
  monorepoManager: z.nullable(z.string()).optional(),
@@ -2782,12 +2668,11 @@ export type CreateDeploymentRequestBody$Outbound = {
2782
2668
  files?: Array<InlinedFile$Outbound | UploadedFile$Outbound> | undefined;
2783
2669
  gitMetadata?: GitMetadata$Outbound | undefined;
2784
2670
  gitSource?:
2785
- | GitSource3$Outbound
2786
2671
  | GitSource2$Outbound
2787
- | GitSource6$Outbound
2672
+ | GitSource5$Outbound
2788
2673
  | GitSource1$Outbound
2674
+ | GitSource3$Outbound
2789
2675
  | GitSource4$Outbound
2790
- | GitSource5$Outbound
2791
2676
  | undefined;
2792
2677
  meta?: { [k: string]: string } | undefined;
2793
2678
  monorepoManager?: string | null | undefined;
@@ -2814,12 +2699,11 @@ export const CreateDeploymentRequestBody$outboundSchema: z.ZodType<
2814
2699
  ).optional(),
2815
2700
  gitMetadata: z.lazy(() => GitMetadata$outboundSchema).optional(),
2816
2701
  gitSource: z.union([
2817
- z.lazy(() => GitSource3$outboundSchema),
2818
2702
  z.lazy(() => GitSource2$outboundSchema),
2819
- z.lazy(() => GitSource6$outboundSchema),
2703
+ z.lazy(() => GitSource5$outboundSchema),
2820
2704
  z.lazy(() => GitSource1$outboundSchema),
2705
+ z.lazy(() => GitSource3$outboundSchema),
2821
2706
  z.lazy(() => GitSource4$outboundSchema),
2822
- z.lazy(() => GitSource5$outboundSchema),
2823
2707
  ]).optional(),
2824
2708
  meta: z.record(z.string()).optional(),
2825
2709
  monorepoManager: z.nullable(z.string()).optional(),
@@ -8061,6 +7945,7 @@ export function createDeploymentCronsFromJSON(
8061
7945
  export const CreateDeploymentMicrofrontendsApplications$inboundSchema:
8062
7946
  z.ZodType<CreateDeploymentMicrofrontendsApplications, z.ZodTypeDef, unknown> =
8063
7947
  z.object({
7948
+ isDefaultApp: z.boolean().optional(),
8064
7949
  productionHost: z.string(),
8065
7950
  deploymentAlias: z.string().optional(),
8066
7951
  deploymentHost: z.string().optional(),
@@ -8068,6 +7953,7 @@ export const CreateDeploymentMicrofrontendsApplications$inboundSchema:
8068
7953
 
8069
7954
  /** @internal */
8070
7955
  export type CreateDeploymentMicrofrontendsApplications$Outbound = {
7956
+ isDefaultApp?: boolean | undefined;
8071
7957
  productionHost: string;
8072
7958
  deploymentAlias?: string | undefined;
8073
7959
  deploymentHost?: string | undefined;
@@ -8080,6 +7966,7 @@ export const CreateDeploymentMicrofrontendsApplications$outboundSchema:
8080
7966
  z.ZodTypeDef,
8081
7967
  CreateDeploymentMicrofrontendsApplications
8082
7968
  > = z.object({
7969
+ isDefaultApp: z.boolean().optional(),
8083
7970
  productionHost: z.string(),
8084
7971
  deploymentAlias: z.string().optional(),
8085
7972
  deploymentHost: z.string().optional(),
@@ -2109,6 +2109,7 @@ export type CreateProjectSecurity = {
2109
2109
  ja4Enabled?: boolean | undefined;
2110
2110
  firewallBypassIps?: Array<string> | undefined;
2111
2111
  managedRules?: CreateProjectManagedRules | null | undefined;
2112
+ botIdEnabled?: boolean | undefined;
2112
2113
  };
2113
2114
 
2114
2115
  /**
@@ -11619,6 +11620,7 @@ export const CreateProjectSecurity$inboundSchema: z.ZodType<
11619
11620
  managedRules: z.nullable(
11620
11621
  z.lazy(() => CreateProjectManagedRules$inboundSchema),
11621
11622
  ).optional(),
11623
+ botIdEnabled: z.boolean().optional(),
11622
11624
  });
11623
11625
 
11624
11626
  /** @internal */
@@ -11635,6 +11637,7 @@ export type CreateProjectSecurity$Outbound = {
11635
11637
  ja4Enabled?: boolean | undefined;
11636
11638
  firewallBypassIps?: Array<string> | undefined;
11637
11639
  managedRules?: CreateProjectManagedRules$Outbound | null | undefined;
11640
+ botIdEnabled?: boolean | undefined;
11638
11641
  };
11639
11642
 
11640
11643
  /** @internal */
@@ -11659,6 +11662,7 @@ export const CreateProjectSecurity$outboundSchema: z.ZodType<
11659
11662
  managedRules: z.nullable(
11660
11663
  z.lazy(() => CreateProjectManagedRules$outboundSchema),
11661
11664
  ).optional(),
11665
+ botIdEnabled: z.boolean().optional(),
11662
11666
  });
11663
11667
 
11664
11668
  /**
@@ -35,6 +35,7 @@ export const Events = {
35
35
  DeploymentIntegrationActionStart: "deployment.integration.action.start",
36
36
  DeploymentIntegrationActionCancel: "deployment.integration.action.cancel",
37
37
  DeploymentIntegrationActionCleanup: "deployment.integration.action.cleanup",
38
+ DeploymentCheckrunStart: "deployment.checkrun.start",
38
39
  EdgeConfigCreated: "edge-config.created",
39
40
  EdgeConfigDeleted: "edge-config.deleted",
40
41
  EdgeConfigItemsUpdated: "edge-config.items.updated",
@@ -130,6 +131,7 @@ export const CreateWebhookEvents = {
130
131
  DeploymentIntegrationActionStart: "deployment.integration.action.start",
131
132
  DeploymentIntegrationActionCancel: "deployment.integration.action.cancel",
132
133
  DeploymentIntegrationActionCleanup: "deployment.integration.action.cleanup",
134
+ DeploymentCheckrunStart: "deployment.checkrun.start",
133
135
  EdgeConfigCreated: "edge-config.created",
134
136
  EdgeConfigDeleted: "edge-config.deleted",
135
137
  EdgeConfigItemsUpdated: "edge-config.items.updated",