@vercel/sdk 1.10.3 → 1.10.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 (237) hide show
  1. package/README.md +4 -2
  2. package/bin/mcp-server.js +5742 -1519
  3. package/bin/mcp-server.js.map +44 -41
  4. package/docs/sdks/aliases/README.md +1 -1
  5. package/docs/sdks/integrations/README.md +81 -0
  6. package/docs/sdks/projects/README.md +6 -0
  7. package/docs/sdks/teams/README.md +0 -2
  8. package/esm/__tests__/accessgroups.test.js +6 -0
  9. package/esm/__tests__/accessgroups.test.js.map +1 -1
  10. package/esm/__tests__/aliases.test.js +1 -20
  11. package/esm/__tests__/aliases.test.js.map +1 -1
  12. package/esm/__tests__/deployments.test.js +2 -2
  13. package/esm/__tests__/deployments.test.js.map +1 -1
  14. package/esm/__tests__/domains.test.js +6 -0
  15. package/esm/__tests__/domains.test.js.map +1 -1
  16. package/esm/__tests__/edgeconfig.test.js +18 -0
  17. package/esm/__tests__/edgeconfig.test.js.map +1 -1
  18. package/esm/__tests__/integrations.test.js +25 -0
  19. package/esm/__tests__/integrations.test.js.map +1 -1
  20. package/esm/__tests__/rollingrelease.test.js +2 -6
  21. package/esm/__tests__/rollingrelease.test.js.map +1 -1
  22. package/esm/funcs/aliasesGetAlias.d.ts +2 -2
  23. package/esm/funcs/aliasesGetAlias.d.ts.map +1 -1
  24. package/esm/funcs/aliasesGetAlias.js +2 -2
  25. package/esm/funcs/aliasesGetAlias.js.map +1 -1
  26. package/esm/funcs/integrationsGetConfigurationProducts.d.ts +20 -0
  27. package/esm/funcs/integrationsGetConfigurationProducts.d.ts.map +1 -0
  28. package/esm/funcs/integrationsGetConfigurationProducts.js +94 -0
  29. package/esm/funcs/integrationsGetConfigurationProducts.js.map +1 -0
  30. package/esm/funcs/projectsCreateProject.d.ts +3 -1
  31. package/esm/funcs/projectsCreateProject.d.ts.map +1 -1
  32. package/esm/funcs/projectsCreateProject.js +16 -2
  33. package/esm/funcs/projectsCreateProject.js.map +1 -1
  34. package/esm/funcs/projectsCreateProjectEnv.d.ts +3 -1
  35. package/esm/funcs/projectsCreateProjectEnv.d.ts.map +1 -1
  36. package/esm/funcs/projectsCreateProjectEnv.js +15 -2
  37. package/esm/funcs/projectsCreateProjectEnv.js.map +1 -1
  38. package/esm/funcs/projectsEditProjectEnv.d.ts +3 -1
  39. package/esm/funcs/projectsEditProjectEnv.d.ts.map +1 -1
  40. package/esm/funcs/projectsEditProjectEnv.js +4 -2
  41. package/esm/funcs/projectsEditProjectEnv.js.map +1 -1
  42. package/esm/lib/config.d.ts +3 -3
  43. package/esm/lib/config.js +3 -3
  44. package/esm/lib/security.d.ts.map +1 -1
  45. package/esm/lib/security.js.map +1 -1
  46. package/esm/mcp-server/mcp-server.js +1 -1
  47. package/esm/mcp-server/server.d.ts.map +1 -1
  48. package/esm/mcp-server/server.js +3 -1
  49. package/esm/mcp-server/server.js.map +1 -1
  50. package/esm/mcp-server/tools/integrationsGetConfigurationProducts.d.ts +7 -0
  51. package/esm/mcp-server/tools/integrationsGetConfigurationProducts.d.ts.map +1 -0
  52. package/esm/mcp-server/tools/integrationsGetConfigurationProducts.js +28 -0
  53. package/esm/mcp-server/tools/integrationsGetConfigurationProducts.js.map +1 -0
  54. package/esm/models/canceldeploymentop.d.ts +10 -4
  55. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  56. package/esm/models/canceldeploymentop.js +6 -4
  57. package/esm/models/canceldeploymentop.js.map +1 -1
  58. package/esm/models/createaccessgroupop.d.ts +24 -0
  59. package/esm/models/createaccessgroupop.d.ts.map +1 -1
  60. package/esm/models/createaccessgroupop.js +20 -0
  61. package/esm/models/createaccessgroupop.js.map +1 -1
  62. package/esm/models/createdeploymentop.d.ts +31 -19
  63. package/esm/models/createdeploymentop.d.ts.map +1 -1
  64. package/esm/models/createdeploymentop.js +23 -19
  65. package/esm/models/createdeploymentop.js.map +1 -1
  66. package/esm/models/createedgeconfigop.d.ts +17 -12
  67. package/esm/models/createedgeconfigop.d.ts.map +1 -1
  68. package/esm/models/createedgeconfigop.js +14 -12
  69. package/esm/models/createedgeconfigop.js.map +1 -1
  70. package/esm/models/createprojectenvop.d.ts +12 -12
  71. package/esm/models/createprojectenvop.d.ts.map +1 -1
  72. package/esm/models/createprojectenvop.js +12 -12
  73. package/esm/models/createprojectenvop.js.map +1 -1
  74. package/esm/models/createprojectop.d.ts +81 -62
  75. package/esm/models/createprojectop.d.ts.map +1 -1
  76. package/esm/models/createprojectop.js +74 -68
  77. package/esm/models/createprojectop.js.map +1 -1
  78. package/esm/models/filterprojectenvsop.d.ts +20 -20
  79. package/esm/models/filterprojectenvsop.d.ts.map +1 -1
  80. package/esm/models/filterprojectenvsop.js +20 -24
  81. package/esm/models/filterprojectenvsop.js.map +1 -1
  82. package/esm/models/getaliasop.d.ts +656 -0
  83. package/esm/models/getaliasop.d.ts.map +1 -1
  84. package/esm/models/getaliasop.js +548 -0
  85. package/esm/models/getaliasop.js.map +1 -1
  86. package/esm/models/getconfigurationproductsop.d.ts +6435 -0
  87. package/esm/models/getconfigurationproductsop.d.ts.map +1 -0
  88. package/esm/models/getconfigurationproductsop.js +7314 -0
  89. package/esm/models/getconfigurationproductsop.js.map +1 -0
  90. package/esm/models/getconfigurationsop.d.ts +15 -15
  91. package/esm/models/getconfigurationsop.d.ts.map +1 -1
  92. package/esm/models/getconfigurationsop.js +15 -15
  93. package/esm/models/getconfigurationsop.js.map +1 -1
  94. package/esm/models/getdeploymentop.d.ts +66 -60
  95. package/esm/models/getdeploymentop.d.ts.map +1 -1
  96. package/esm/models/getdeploymentop.js +54 -52
  97. package/esm/models/getdeploymentop.js.map +1 -1
  98. package/esm/models/getdeploymentsop.d.ts +49 -0
  99. package/esm/models/getdeploymentsop.d.ts.map +1 -1
  100. package/esm/models/getdeploymentsop.js +29 -0
  101. package/esm/models/getdeploymentsop.js.map +1 -1
  102. package/esm/models/getdomainconfigop.d.ts +24 -12
  103. package/esm/models/getdomainconfigop.d.ts.map +1 -1
  104. package/esm/models/getdomainconfigop.js +24 -16
  105. package/esm/models/getdomainconfigop.js.map +1 -1
  106. package/esm/models/getedgeconfigop.d.ts +17 -12
  107. package/esm/models/getedgeconfigop.d.ts.map +1 -1
  108. package/esm/models/getedgeconfigop.js +14 -12
  109. package/esm/models/getedgeconfigop.js.map +1 -1
  110. package/esm/models/getfirewallconfigop.d.ts +6 -0
  111. package/esm/models/getfirewallconfigop.d.ts.map +1 -1
  112. package/esm/models/getfirewallconfigop.js +2 -0
  113. package/esm/models/getfirewallconfigop.js.map +1 -1
  114. package/esm/models/getprojectmembersop.d.ts +8 -8
  115. package/esm/models/getprojectmembersop.d.ts.map +1 -1
  116. package/esm/models/getprojectmembersop.js +12 -12
  117. package/esm/models/getprojectmembersop.js.map +1 -1
  118. package/esm/models/getprojectsop.d.ts +70 -62
  119. package/esm/models/getprojectsop.d.ts.map +1 -1
  120. package/esm/models/getprojectsop.js +70 -68
  121. package/esm/models/getprojectsop.js.map +1 -1
  122. package/esm/models/getteammembersop.d.ts +4 -4
  123. package/esm/models/getteammembersop.d.ts.map +1 -1
  124. package/esm/models/getteammembersop.js +4 -4
  125. package/esm/models/getteammembersop.js.map +1 -1
  126. package/esm/models/getwebhooksop.d.ts +6 -0
  127. package/esm/models/getwebhooksop.d.ts.map +1 -1
  128. package/esm/models/getwebhooksop.js +2 -0
  129. package/esm/models/getwebhooksop.js.map +1 -1
  130. package/esm/models/inviteusertoteamop.d.ts +32 -223
  131. package/esm/models/inviteusertoteamop.d.ts.map +1 -1
  132. package/esm/models/inviteusertoteamop.js +42 -182
  133. package/esm/models/inviteusertoteamop.js.map +1 -1
  134. package/esm/models/listaliasesop.d.ts +68 -66
  135. package/esm/models/listaliasesop.d.ts.map +1 -1
  136. package/esm/models/listaliasesop.js +80 -78
  137. package/esm/models/listaliasesop.js.map +1 -1
  138. package/esm/models/listdeploymentaliasesop.d.ts +32 -30
  139. package/esm/models/listdeploymentaliasesop.d.ts.map +1 -1
  140. package/esm/models/listdeploymentaliasesop.js +36 -34
  141. package/esm/models/listdeploymentaliasesop.js.map +1 -1
  142. package/esm/models/patchurlprotectionbypassop.d.ts +5 -0
  143. package/esm/models/patchurlprotectionbypassop.d.ts.map +1 -1
  144. package/esm/models/patchurlprotectionbypassop.js +2 -0
  145. package/esm/models/patchurlprotectionbypassop.js.map +1 -1
  146. package/esm/models/putfirewallconfigop.d.ts +9 -0
  147. package/esm/models/putfirewallconfigop.d.ts.map +1 -1
  148. package/esm/models/putfirewallconfigop.js +3 -0
  149. package/esm/models/putfirewallconfigop.js.map +1 -1
  150. package/esm/models/team.d.ts +23 -0
  151. package/esm/models/team.d.ts.map +1 -1
  152. package/esm/models/team.js +23 -0
  153. package/esm/models/team.js.map +1 -1
  154. package/esm/models/updateaccessgroupop.d.ts +2 -2
  155. package/esm/models/updateaccessgroupop.d.ts.map +1 -1
  156. package/esm/models/updateaccessgroupop.js +2 -3
  157. package/esm/models/updateaccessgroupop.js.map +1 -1
  158. package/esm/models/updateedgeconfigop.d.ts +17 -12
  159. package/esm/models/updateedgeconfigop.d.ts.map +1 -1
  160. package/esm/models/updateedgeconfigop.js +14 -12
  161. package/esm/models/updateedgeconfigop.js.map +1 -1
  162. package/esm/models/updatefirewallconfigop.d.ts +78 -4
  163. package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
  164. package/esm/models/updatefirewallconfigop.js +50 -4
  165. package/esm/models/updatefirewallconfigop.js.map +1 -1
  166. package/esm/models/updateprojectdatacacheop.d.ts +70 -62
  167. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  168. package/esm/models/updateprojectdatacacheop.js +70 -70
  169. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  170. package/esm/models/updateprojectop.d.ts +76 -62
  171. package/esm/models/updateprojectop.d.ts.map +1 -1
  172. package/esm/models/updateprojectop.js +72 -68
  173. package/esm/models/updateprojectop.js.map +1 -1
  174. package/esm/models/userevent.d.ts +56 -56
  175. package/esm/models/userevent.d.ts.map +1 -1
  176. package/esm/models/userevent.js +56 -62
  177. package/esm/models/userevent.js.map +1 -1
  178. package/esm/sdk/aliases.d.ts +2 -2
  179. package/esm/sdk/aliases.d.ts.map +1 -1
  180. package/esm/sdk/integrations.d.ts +8 -0
  181. package/esm/sdk/integrations.d.ts.map +1 -1
  182. package/esm/sdk/integrations.js +10 -0
  183. package/esm/sdk/integrations.js.map +1 -1
  184. package/examples/package-lock.json +1 -1
  185. package/jsr.json +1 -1
  186. package/package.json +1 -1
  187. package/src/__tests__/accessgroups.test.ts +6 -0
  188. package/src/__tests__/aliases.test.ts +1 -20
  189. package/src/__tests__/deployments.test.ts +2 -2
  190. package/src/__tests__/domains.test.ts +6 -0
  191. package/src/__tests__/edgeconfig.test.ts +18 -0
  192. package/src/__tests__/integrations.test.ts +28 -0
  193. package/src/__tests__/rollingrelease.test.ts +2 -6
  194. package/src/funcs/aliasesGetAlias.ts +6 -4
  195. package/src/funcs/integrationsGetConfigurationProducts.ts +207 -0
  196. package/src/funcs/projectsCreateProject.ts +30 -2
  197. package/src/funcs/projectsCreateProjectEnv.ts +29 -2
  198. package/src/funcs/projectsEditProjectEnv.ts +18 -2
  199. package/src/lib/config.ts +3 -3
  200. package/src/lib/security.ts +4 -1
  201. package/src/mcp-server/mcp-server.ts +1 -1
  202. package/src/mcp-server/server.ts +3 -1
  203. package/src/mcp-server/tools/integrationsGetConfigurationProducts.ts +39 -0
  204. package/src/models/canceldeploymentop.ts +10 -8
  205. package/src/models/createaccessgroupop.ts +32 -0
  206. package/src/models/createdeploymentop.ts +73 -47
  207. package/src/models/createedgeconfigop.ts +31 -24
  208. package/src/models/createprojectenvop.ts +24 -24
  209. package/src/models/createprojectop.ts +149 -136
  210. package/src/models/filterprojectenvsop.ts +42 -46
  211. package/src/models/getaliasop.ts +1266 -0
  212. package/src/models/getconfigurationproductsop.ts +16739 -0
  213. package/src/models/getconfigurationsop.ts +28 -24
  214. package/src/models/getdeploymentop.ts +91 -89
  215. package/src/models/getdeploymentsop.ts +57 -0
  216. package/src/models/getdomainconfigop.ts +48 -28
  217. package/src/models/getedgeconfigop.ts +31 -24
  218. package/src/models/getfirewallconfigop.ts +2 -0
  219. package/src/models/getprojectmembersop.ts +16 -19
  220. package/src/models/getprojectsop.ts +140 -136
  221. package/src/models/getteammembersop.ts +8 -8
  222. package/src/models/getwebhooksop.ts +2 -0
  223. package/src/models/inviteusertoteamop.ts +69 -330
  224. package/src/models/listaliasesop.ts +147 -124
  225. package/src/models/listdeploymentaliasesop.ts +74 -58
  226. package/src/models/patchurlprotectionbypassop.ts +7 -0
  227. package/src/models/putfirewallconfigop.ts +3 -0
  228. package/src/models/team.ts +54 -0
  229. package/src/models/updateaccessgroupop.ts +4 -5
  230. package/src/models/updateedgeconfigop.ts +31 -24
  231. package/src/models/updatefirewallconfigop.ts +73 -8
  232. package/src/models/updateprojectdatacacheop.ts +137 -135
  233. package/src/models/updateprojectop.ts +142 -136
  234. package/src/models/userevent.ts +112 -124
  235. package/src/sdk/aliases.ts +2 -2
  236. package/src/sdk/integrations.ts +22 -0
  237. package/vercel-spec.json +3704 -586
@@ -34,7 +34,7 @@ export type ListDeploymentAliasesProtectionBypassAliasesResponse200Scope =
34
34
  /**
35
35
  * The protection bypass for the alias
36
36
  */
37
- export type ProtectionBypass4 = {
37
+ export type ListDeploymentAliasesProtectionBypass4 = {
38
38
  createdAt: number;
39
39
  lastUpdatedAt: number;
40
40
  lastUpdatedBy: string;
@@ -50,7 +50,7 @@ export type ListDeploymentAliasesProtectionBypassAliasesResponseScope =
50
50
  /**
51
51
  * The protection bypass for the alias
52
52
  */
53
- export type ProtectionBypass3 = {
53
+ export type ListDeploymentAliasesProtectionBypass3 = {
54
54
  createdAt: number;
55
55
  createdBy: string;
56
56
  scope: ListDeploymentAliasesProtectionBypassAliasesResponseScope;
@@ -96,13 +96,14 @@ export type ListDeploymentAliasesProtectionBypass1 = {
96
96
  createdAt: number;
97
97
  createdBy: string;
98
98
  scope: ListDeploymentAliasesProtectionBypassScope;
99
+ expires?: number | undefined;
99
100
  };
100
101
 
101
102
  export type ListDeploymentAliasesProtectionBypass =
102
103
  | ListDeploymentAliasesProtectionBypass2
103
- | ProtectionBypass4
104
+ | ListDeploymentAliasesProtectionBypass4
104
105
  | ListDeploymentAliasesProtectionBypass1
105
- | ProtectionBypass3;
106
+ | ListDeploymentAliasesProtectionBypass3;
106
107
 
107
108
  /**
108
109
  * A list of the aliases assigned to the deployment
@@ -130,9 +131,9 @@ export type Aliases = {
130
131
  protectionBypass?: {
131
132
  [k: string]:
132
133
  | ListDeploymentAliasesProtectionBypass2
133
- | ProtectionBypass4
134
+ | ListDeploymentAliasesProtectionBypass4
134
135
  | ListDeploymentAliasesProtectionBypass1
135
- | ProtectionBypass3;
136
+ | ListDeploymentAliasesProtectionBypass3;
136
137
  } | undefined;
137
138
  };
138
139
 
@@ -237,8 +238,8 @@ export namespace ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$ {
237
238
  }
238
239
 
239
240
  /** @internal */
240
- export const ProtectionBypass4$inboundSchema: z.ZodType<
241
- ProtectionBypass4,
241
+ export const ListDeploymentAliasesProtectionBypass4$inboundSchema: z.ZodType<
242
+ ListDeploymentAliasesProtectionBypass4,
242
243
  z.ZodTypeDef,
243
244
  unknown
244
245
  > = z.object({
@@ -250,7 +251,7 @@ export const ProtectionBypass4$inboundSchema: z.ZodType<
250
251
  });
251
252
 
252
253
  /** @internal */
253
- export type ProtectionBypass4$Outbound = {
254
+ export type ListDeploymentAliasesProtectionBypass4$Outbound = {
254
255
  createdAt: number;
255
256
  lastUpdatedAt: number;
256
257
  lastUpdatedBy: string;
@@ -258,10 +259,10 @@ export type ProtectionBypass4$Outbound = {
258
259
  };
259
260
 
260
261
  /** @internal */
261
- export const ProtectionBypass4$outboundSchema: z.ZodType<
262
- ProtectionBypass4$Outbound,
262
+ export const ListDeploymentAliasesProtectionBypass4$outboundSchema: z.ZodType<
263
+ ListDeploymentAliasesProtectionBypass4$Outbound,
263
264
  z.ZodTypeDef,
264
- ProtectionBypass4
265
+ ListDeploymentAliasesProtectionBypass4
265
266
  > = z.object({
266
267
  createdAt: z.number(),
267
268
  lastUpdatedAt: z.number(),
@@ -274,30 +275,36 @@ export const ProtectionBypass4$outboundSchema: z.ZodType<
274
275
  * @internal
275
276
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
276
277
  */
277
- export namespace ProtectionBypass4$ {
278
- /** @deprecated use `ProtectionBypass4$inboundSchema` instead. */
279
- export const inboundSchema = ProtectionBypass4$inboundSchema;
280
- /** @deprecated use `ProtectionBypass4$outboundSchema` instead. */
281
- export const outboundSchema = ProtectionBypass4$outboundSchema;
282
- /** @deprecated use `ProtectionBypass4$Outbound` instead. */
283
- export type Outbound = ProtectionBypass4$Outbound;
278
+ export namespace ListDeploymentAliasesProtectionBypass4$ {
279
+ /** @deprecated use `ListDeploymentAliasesProtectionBypass4$inboundSchema` instead. */
280
+ export const inboundSchema =
281
+ ListDeploymentAliasesProtectionBypass4$inboundSchema;
282
+ /** @deprecated use `ListDeploymentAliasesProtectionBypass4$outboundSchema` instead. */
283
+ export const outboundSchema =
284
+ ListDeploymentAliasesProtectionBypass4$outboundSchema;
285
+ /** @deprecated use `ListDeploymentAliasesProtectionBypass4$Outbound` instead. */
286
+ export type Outbound = ListDeploymentAliasesProtectionBypass4$Outbound;
284
287
  }
285
288
 
286
- export function protectionBypass4ToJSON(
287
- protectionBypass4: ProtectionBypass4,
289
+ export function listDeploymentAliasesProtectionBypass4ToJSON(
290
+ listDeploymentAliasesProtectionBypass4:
291
+ ListDeploymentAliasesProtectionBypass4,
288
292
  ): string {
289
293
  return JSON.stringify(
290
- ProtectionBypass4$outboundSchema.parse(protectionBypass4),
294
+ ListDeploymentAliasesProtectionBypass4$outboundSchema.parse(
295
+ listDeploymentAliasesProtectionBypass4,
296
+ ),
291
297
  );
292
298
  }
293
299
 
294
- export function protectionBypass4FromJSON(
300
+ export function listDeploymentAliasesProtectionBypass4FromJSON(
295
301
  jsonString: string,
296
- ): SafeParseResult<ProtectionBypass4, SDKValidationError> {
302
+ ): SafeParseResult<ListDeploymentAliasesProtectionBypass4, SDKValidationError> {
297
303
  return safeParse(
298
304
  jsonString,
299
- (x) => ProtectionBypass4$inboundSchema.parse(JSON.parse(x)),
300
- `Failed to parse 'ProtectionBypass4' from JSON`,
305
+ (x) =>
306
+ ListDeploymentAliasesProtectionBypass4$inboundSchema.parse(JSON.parse(x)),
307
+ `Failed to parse 'ListDeploymentAliasesProtectionBypass4' from JSON`,
301
308
  );
302
309
  }
303
310
 
@@ -327,8 +334,8 @@ export namespace ListDeploymentAliasesProtectionBypassAliasesResponseScope$ {
327
334
  }
328
335
 
329
336
  /** @internal */
330
- export const ProtectionBypass3$inboundSchema: z.ZodType<
331
- ProtectionBypass3,
337
+ export const ListDeploymentAliasesProtectionBypass3$inboundSchema: z.ZodType<
338
+ ListDeploymentAliasesProtectionBypass3,
332
339
  z.ZodTypeDef,
333
340
  unknown
334
341
  > = z.object({
@@ -339,17 +346,17 @@ export const ProtectionBypass3$inboundSchema: z.ZodType<
339
346
  });
340
347
 
341
348
  /** @internal */
342
- export type ProtectionBypass3$Outbound = {
349
+ export type ListDeploymentAliasesProtectionBypass3$Outbound = {
343
350
  createdAt: number;
344
351
  createdBy: string;
345
352
  scope: string;
346
353
  };
347
354
 
348
355
  /** @internal */
349
- export const ProtectionBypass3$outboundSchema: z.ZodType<
350
- ProtectionBypass3$Outbound,
356
+ export const ListDeploymentAliasesProtectionBypass3$outboundSchema: z.ZodType<
357
+ ListDeploymentAliasesProtectionBypass3$Outbound,
351
358
  z.ZodTypeDef,
352
- ProtectionBypass3
359
+ ListDeploymentAliasesProtectionBypass3
353
360
  > = z.object({
354
361
  createdAt: z.number(),
355
362
  createdBy: z.string(),
@@ -361,30 +368,36 @@ export const ProtectionBypass3$outboundSchema: z.ZodType<
361
368
  * @internal
362
369
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
363
370
  */
364
- export namespace ProtectionBypass3$ {
365
- /** @deprecated use `ProtectionBypass3$inboundSchema` instead. */
366
- export const inboundSchema = ProtectionBypass3$inboundSchema;
367
- /** @deprecated use `ProtectionBypass3$outboundSchema` instead. */
368
- export const outboundSchema = ProtectionBypass3$outboundSchema;
369
- /** @deprecated use `ProtectionBypass3$Outbound` instead. */
370
- export type Outbound = ProtectionBypass3$Outbound;
371
+ export namespace ListDeploymentAliasesProtectionBypass3$ {
372
+ /** @deprecated use `ListDeploymentAliasesProtectionBypass3$inboundSchema` instead. */
373
+ export const inboundSchema =
374
+ ListDeploymentAliasesProtectionBypass3$inboundSchema;
375
+ /** @deprecated use `ListDeploymentAliasesProtectionBypass3$outboundSchema` instead. */
376
+ export const outboundSchema =
377
+ ListDeploymentAliasesProtectionBypass3$outboundSchema;
378
+ /** @deprecated use `ListDeploymentAliasesProtectionBypass3$Outbound` instead. */
379
+ export type Outbound = ListDeploymentAliasesProtectionBypass3$Outbound;
371
380
  }
372
381
 
373
- export function protectionBypass3ToJSON(
374
- protectionBypass3: ProtectionBypass3,
382
+ export function listDeploymentAliasesProtectionBypass3ToJSON(
383
+ listDeploymentAliasesProtectionBypass3:
384
+ ListDeploymentAliasesProtectionBypass3,
375
385
  ): string {
376
386
  return JSON.stringify(
377
- ProtectionBypass3$outboundSchema.parse(protectionBypass3),
387
+ ListDeploymentAliasesProtectionBypass3$outboundSchema.parse(
388
+ listDeploymentAliasesProtectionBypass3,
389
+ ),
378
390
  );
379
391
  }
380
392
 
381
- export function protectionBypass3FromJSON(
393
+ export function listDeploymentAliasesProtectionBypass3FromJSON(
382
394
  jsonString: string,
383
- ): SafeParseResult<ProtectionBypass3, SDKValidationError> {
395
+ ): SafeParseResult<ListDeploymentAliasesProtectionBypass3, SDKValidationError> {
384
396
  return safeParse(
385
397
  jsonString,
386
- (x) => ProtectionBypass3$inboundSchema.parse(JSON.parse(x)),
387
- `Failed to parse 'ProtectionBypass3' from JSON`,
398
+ (x) =>
399
+ ListDeploymentAliasesProtectionBypass3$inboundSchema.parse(JSON.parse(x)),
400
+ `Failed to parse 'ListDeploymentAliasesProtectionBypass3' from JSON`,
388
401
  );
389
402
  }
390
403
 
@@ -538,6 +551,7 @@ export const ListDeploymentAliasesProtectionBypass1$inboundSchema: z.ZodType<
538
551
  createdAt: z.number(),
539
552
  createdBy: z.string(),
540
553
  scope: ListDeploymentAliasesProtectionBypassScope$inboundSchema,
554
+ expires: z.number().optional(),
541
555
  });
542
556
 
543
557
  /** @internal */
@@ -545,6 +559,7 @@ export type ListDeploymentAliasesProtectionBypass1$Outbound = {
545
559
  createdAt: number;
546
560
  createdBy: string;
547
561
  scope: string;
562
+ expires?: number | undefined;
548
563
  };
549
564
 
550
565
  /** @internal */
@@ -556,6 +571,7 @@ export const ListDeploymentAliasesProtectionBypass1$outboundSchema: z.ZodType<
556
571
  createdAt: z.number(),
557
572
  createdBy: z.string(),
558
573
  scope: ListDeploymentAliasesProtectionBypassScope$outboundSchema,
574
+ expires: z.number().optional(),
559
575
  });
560
576
 
561
577
  /**
@@ -602,17 +618,17 @@ export const ListDeploymentAliasesProtectionBypass$inboundSchema: z.ZodType<
602
618
  unknown
603
619
  > = z.union([
604
620
  z.lazy(() => ListDeploymentAliasesProtectionBypass2$inboundSchema),
605
- z.lazy(() => ProtectionBypass4$inboundSchema),
621
+ z.lazy(() => ListDeploymentAliasesProtectionBypass4$inboundSchema),
606
622
  z.lazy(() => ListDeploymentAliasesProtectionBypass1$inboundSchema),
607
- z.lazy(() => ProtectionBypass3$inboundSchema),
623
+ z.lazy(() => ListDeploymentAliasesProtectionBypass3$inboundSchema),
608
624
  ]);
609
625
 
610
626
  /** @internal */
611
627
  export type ListDeploymentAliasesProtectionBypass$Outbound =
612
628
  | ListDeploymentAliasesProtectionBypass2$Outbound
613
- | ProtectionBypass4$Outbound
629
+ | ListDeploymentAliasesProtectionBypass4$Outbound
614
630
  | ListDeploymentAliasesProtectionBypass1$Outbound
615
- | ProtectionBypass3$Outbound;
631
+ | ListDeploymentAliasesProtectionBypass3$Outbound;
616
632
 
617
633
  /** @internal */
618
634
  export const ListDeploymentAliasesProtectionBypass$outboundSchema: z.ZodType<
@@ -621,9 +637,9 @@ export const ListDeploymentAliasesProtectionBypass$outboundSchema: z.ZodType<
621
637
  ListDeploymentAliasesProtectionBypass
622
638
  > = z.union([
623
639
  z.lazy(() => ListDeploymentAliasesProtectionBypass2$outboundSchema),
624
- z.lazy(() => ProtectionBypass4$outboundSchema),
640
+ z.lazy(() => ListDeploymentAliasesProtectionBypass4$outboundSchema),
625
641
  z.lazy(() => ListDeploymentAliasesProtectionBypass1$outboundSchema),
626
- z.lazy(() => ProtectionBypass3$outboundSchema),
642
+ z.lazy(() => ListDeploymentAliasesProtectionBypass3$outboundSchema),
627
643
  ]);
628
644
 
629
645
  /**
@@ -672,9 +688,9 @@ export const Aliases$inboundSchema: z.ZodType<Aliases, z.ZodTypeDef, unknown> =
672
688
  protectionBypass: z.record(
673
689
  z.union([
674
690
  z.lazy(() => ListDeploymentAliasesProtectionBypass2$inboundSchema),
675
- z.lazy(() => ProtectionBypass4$inboundSchema),
691
+ z.lazy(() => ListDeploymentAliasesProtectionBypass4$inboundSchema),
676
692
  z.lazy(() => ListDeploymentAliasesProtectionBypass1$inboundSchema),
677
- z.lazy(() => ProtectionBypass3$inboundSchema),
693
+ z.lazy(() => ListDeploymentAliasesProtectionBypass3$inboundSchema),
678
694
  ]),
679
695
  ).optional(),
680
696
  });
@@ -688,9 +704,9 @@ export type Aliases$Outbound = {
688
704
  protectionBypass?: {
689
705
  [k: string]:
690
706
  | ListDeploymentAliasesProtectionBypass2$Outbound
691
- | ProtectionBypass4$Outbound
707
+ | ListDeploymentAliasesProtectionBypass4$Outbound
692
708
  | ListDeploymentAliasesProtectionBypass1$Outbound
693
- | ProtectionBypass3$Outbound;
709
+ | ListDeploymentAliasesProtectionBypass3$Outbound;
694
710
  } | undefined;
695
711
  };
696
712
 
@@ -707,9 +723,9 @@ export const Aliases$outboundSchema: z.ZodType<
707
723
  protectionBypass: z.record(
708
724
  z.union([
709
725
  z.lazy(() => ListDeploymentAliasesProtectionBypass2$outboundSchema),
710
- z.lazy(() => ProtectionBypass4$outboundSchema),
726
+ z.lazy(() => ListDeploymentAliasesProtectionBypass4$outboundSchema),
711
727
  z.lazy(() => ListDeploymentAliasesProtectionBypass1$outboundSchema),
712
- z.lazy(() => ProtectionBypass3$outboundSchema),
728
+ z.lazy(() => ListDeploymentAliasesProtectionBypass3$outboundSchema),
713
729
  ]),
714
730
  ).optional(),
715
731
  });
@@ -112,6 +112,10 @@ export type RequestBodyRevoke = {
112
112
  };
113
113
 
114
114
  export type PatchUrlProtectionBypassRequestBody1 = {
115
+ /**
116
+ * Optional time the shareable link is valid for in seconds. If not provided, the shareable link will never expire.
117
+ */
118
+ ttl?: number | undefined;
115
119
  /**
116
120
  * Optional instructions for revoking and regenerating a shareable link
117
121
  */
@@ -618,11 +622,13 @@ export const PatchUrlProtectionBypassRequestBody1$inboundSchema: z.ZodType<
618
622
  z.ZodTypeDef,
619
623
  unknown
620
624
  > = z.object({
625
+ ttl: z.number().optional(),
621
626
  revoke: z.lazy(() => RequestBodyRevoke$inboundSchema).optional(),
622
627
  });
623
628
 
624
629
  /** @internal */
625
630
  export type PatchUrlProtectionBypassRequestBody1$Outbound = {
631
+ ttl?: number | undefined;
626
632
  revoke?: RequestBodyRevoke$Outbound | undefined;
627
633
  };
628
634
 
@@ -632,6 +638,7 @@ export const PatchUrlProtectionBypassRequestBody1$outboundSchema: z.ZodType<
632
638
  z.ZodTypeDef,
633
639
  PatchUrlProtectionBypassRequestBody1
634
640
  > = z.object({
641
+ ttl: z.number().optional(),
635
642
  revoke: z.lazy(() => RequestBodyRevoke$outboundSchema).optional(),
636
643
  });
637
644
 
@@ -241,6 +241,7 @@ export const PutFirewallConfigType = {
241
241
  Query: "query",
242
242
  Cookie: "cookie",
243
243
  TargetPath: "target_path",
244
+ Route: "route",
244
245
  RawPath: "raw_path",
245
246
  IpAddress: "ip_address",
246
247
  Region: "region",
@@ -669,6 +670,7 @@ export const PutFirewallConfigSecurityType = {
669
670
  Query: "query",
670
671
  Cookie: "cookie",
671
672
  TargetPath: "target_path",
673
+ Route: "route",
672
674
  RawPath: "raw_path",
673
675
  IpAddress: "ip_address",
674
676
  Protocol: "protocol",
@@ -684,6 +686,7 @@ export const PutFirewallConfigSecurityType = {
684
686
  Ja4Digest: "ja4_digest",
685
687
  Ja3Digest: "ja3_digest",
686
688
  RateLimitApiId: "rate_limit_api_id",
689
+ ServerAction: "server_action",
687
690
  } as const;
688
691
  export type PutFirewallConfigSecurityType = ClosedEnum<
689
692
  typeof PutFirewallConfigSecurityType
@@ -160,6 +160,8 @@ export type ResourceConfig = {
160
160
  buildEntitlements?: BuildEntitlements | undefined;
161
161
  };
162
162
 
163
+ export type DisableHardAutoBlocks = number | boolean;
164
+
163
165
  /**
164
166
  * Is remote caching enabled for this team
165
167
  */
@@ -363,6 +365,7 @@ export type Team = {
363
365
  * The hostname that is current set as preview deployment suffix.
364
366
  */
365
367
  previewDeploymentSuffix?: string | null | undefined;
368
+ disableHardAutoBlocks?: number | boolean | undefined;
366
369
  /**
367
370
  * Is remote caching enabled for this team
368
371
  */
@@ -903,6 +906,54 @@ export function resourceConfigFromJSON(
903
906
  );
904
907
  }
905
908
 
909
+ /** @internal */
910
+ export const DisableHardAutoBlocks$inboundSchema: z.ZodType<
911
+ DisableHardAutoBlocks,
912
+ z.ZodTypeDef,
913
+ unknown
914
+ > = z.union([z.number(), z.boolean()]);
915
+
916
+ /** @internal */
917
+ export type DisableHardAutoBlocks$Outbound = number | boolean;
918
+
919
+ /** @internal */
920
+ export const DisableHardAutoBlocks$outboundSchema: z.ZodType<
921
+ DisableHardAutoBlocks$Outbound,
922
+ z.ZodTypeDef,
923
+ DisableHardAutoBlocks
924
+ > = z.union([z.number(), z.boolean()]);
925
+
926
+ /**
927
+ * @internal
928
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
929
+ */
930
+ export namespace DisableHardAutoBlocks$ {
931
+ /** @deprecated use `DisableHardAutoBlocks$inboundSchema` instead. */
932
+ export const inboundSchema = DisableHardAutoBlocks$inboundSchema;
933
+ /** @deprecated use `DisableHardAutoBlocks$outboundSchema` instead. */
934
+ export const outboundSchema = DisableHardAutoBlocks$outboundSchema;
935
+ /** @deprecated use `DisableHardAutoBlocks$Outbound` instead. */
936
+ export type Outbound = DisableHardAutoBlocks$Outbound;
937
+ }
938
+
939
+ export function disableHardAutoBlocksToJSON(
940
+ disableHardAutoBlocks: DisableHardAutoBlocks,
941
+ ): string {
942
+ return JSON.stringify(
943
+ DisableHardAutoBlocks$outboundSchema.parse(disableHardAutoBlocks),
944
+ );
945
+ }
946
+
947
+ export function disableHardAutoBlocksFromJSON(
948
+ jsonString: string,
949
+ ): SafeParseResult<DisableHardAutoBlocks, SDKValidationError> {
950
+ return safeParse(
951
+ jsonString,
952
+ (x) => DisableHardAutoBlocks$inboundSchema.parse(JSON.parse(x)),
953
+ `Failed to parse 'DisableHardAutoBlocks' from JSON`,
954
+ );
955
+ }
956
+
906
957
  /** @internal */
907
958
  export const RemoteCaching$inboundSchema: z.ZodType<
908
959
  RemoteCaching,
@@ -1581,6 +1632,7 @@ export const Team$inboundSchema: z.ZodType<Team, z.ZodTypeDef, unknown> =
1581
1632
  stagingPrefix: z.string(),
1582
1633
  resourceConfig: z.lazy(() => ResourceConfig$inboundSchema).optional(),
1583
1634
  previewDeploymentSuffix: z.nullable(z.string()).optional(),
1635
+ disableHardAutoBlocks: z.union([z.number(), z.boolean()]).optional(),
1584
1636
  remoteCaching: z.lazy(() => RemoteCaching$inboundSchema).optional(),
1585
1637
  defaultDeploymentProtection: z.lazy(() =>
1586
1638
  DefaultDeploymentProtection$inboundSchema
@@ -1619,6 +1671,7 @@ export type Team$Outbound = {
1619
1671
  stagingPrefix: string;
1620
1672
  resourceConfig?: ResourceConfig$Outbound | undefined;
1621
1673
  previewDeploymentSuffix?: string | null | undefined;
1674
+ disableHardAutoBlocks?: number | boolean | undefined;
1622
1675
  remoteCaching?: RemoteCaching$Outbound | undefined;
1623
1676
  defaultDeploymentProtection?:
1624
1677
  | DefaultDeploymentProtection$Outbound
@@ -1651,6 +1704,7 @@ export const Team$outboundSchema: z.ZodType<Team$Outbound, z.ZodTypeDef, Team> =
1651
1704
  stagingPrefix: z.string(),
1652
1705
  resourceConfig: z.lazy(() => ResourceConfig$outboundSchema).optional(),
1653
1706
  previewDeploymentSuffix: z.nullable(z.string()).optional(),
1707
+ disableHardAutoBlocks: z.union([z.number(), z.boolean()]).optional(),
1654
1708
  remoteCaching: z.lazy(() => RemoteCaching$outboundSchema).optional(),
1655
1709
  defaultDeploymentProtection: z.lazy(() =>
1656
1710
  DefaultDeploymentProtection$outboundSchema
@@ -70,7 +70,7 @@ export type UpdateAccessGroupEntitlements = ClosedEnum<
70
70
  >;
71
71
 
72
72
  export type UpdateAccessGroupResponseBody = {
73
- entitlements?: Array<UpdateAccessGroupEntitlements> | undefined;
73
+ entitlements: Array<UpdateAccessGroupEntitlements>;
74
74
  /**
75
75
  * The name of this access group.
76
76
  */
@@ -346,7 +346,7 @@ export const UpdateAccessGroupResponseBody$inboundSchema: z.ZodType<
346
346
  z.ZodTypeDef,
347
347
  unknown
348
348
  > = z.object({
349
- entitlements: z.array(UpdateAccessGroupEntitlements$inboundSchema).optional(),
349
+ entitlements: z.array(UpdateAccessGroupEntitlements$inboundSchema),
350
350
  name: z.string(),
351
351
  createdAt: z.string(),
352
352
  teamId: z.string(),
@@ -360,7 +360,7 @@ export const UpdateAccessGroupResponseBody$inboundSchema: z.ZodType<
360
360
 
361
361
  /** @internal */
362
362
  export type UpdateAccessGroupResponseBody$Outbound = {
363
- entitlements?: Array<string> | undefined;
363
+ entitlements: Array<string>;
364
364
  name: string;
365
365
  createdAt: string;
366
366
  teamId: string;
@@ -378,8 +378,7 @@ export const UpdateAccessGroupResponseBody$outboundSchema: z.ZodType<
378
378
  z.ZodTypeDef,
379
379
  UpdateAccessGroupResponseBody
380
380
  > = z.object({
381
- entitlements: z.array(UpdateAccessGroupEntitlements$outboundSchema)
382
- .optional(),
381
+ entitlements: z.array(UpdateAccessGroupEntitlements$outboundSchema),
383
382
  name: z.string(),
384
383
  createdAt: z.string(),
385
384
  teamId: z.string(),
@@ -69,21 +69,25 @@ export type UpdateEdgeConfigPurpose =
69
69
  * An Edge Config
70
70
  */
71
71
  export type UpdateEdgeConfigResponseBody = {
72
- createdAt?: number | undefined;
73
- updatedAt?: number | undefined;
74
- id?: string | undefined;
72
+ createdAt: number;
73
+ updatedAt: number;
74
+ id: string;
75
75
  /**
76
76
  * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores).
77
77
  */
78
- slug?: string | undefined;
79
- ownerId?: string | undefined;
80
- digest?: string | undefined;
78
+ slug: string;
79
+ ownerId: string;
80
+ digest: string;
81
81
  /**
82
82
  * Keeps track of the current state of the Edge Config while it gets transferred.
83
83
  */
84
84
  transfer?: UpdateEdgeConfigTransfer | undefined;
85
85
  schema?: UpdateEdgeConfigSchema | undefined;
86
86
  purpose?: UpdateEdgeConfigPurpose1 | UpdateEdgeConfigPurpose2 | undefined;
87
+ /**
88
+ * Timestamp of when the Edge Config was synced to DynamoDB initially. It is only set when syncing the entire Edge Config, not when updating.
89
+ */
90
+ syncedToDynamoAt?: number | undefined;
87
91
  sizeInBytes: number;
88
92
  itemCount: number;
89
93
  };
@@ -544,36 +548,38 @@ export const UpdateEdgeConfigResponseBody$inboundSchema: z.ZodType<
544
548
  z.ZodTypeDef,
545
549
  unknown
546
550
  > = z.object({
547
- createdAt: z.number().optional(),
548
- updatedAt: z.number().optional(),
549
- id: z.string().optional(),
550
- slug: z.string().optional(),
551
- ownerId: z.string().optional(),
552
- digest: z.string().optional(),
551
+ createdAt: z.number(),
552
+ updatedAt: z.number(),
553
+ id: z.string(),
554
+ slug: z.string(),
555
+ ownerId: z.string(),
556
+ digest: z.string(),
553
557
  transfer: z.lazy(() => UpdateEdgeConfigTransfer$inboundSchema).optional(),
554
558
  schema: z.lazy(() => UpdateEdgeConfigSchema$inboundSchema).optional(),
555
559
  purpose: z.union([
556
560
  z.lazy(() => UpdateEdgeConfigPurpose1$inboundSchema),
557
561
  z.lazy(() => UpdateEdgeConfigPurpose2$inboundSchema),
558
562
  ]).optional(),
563
+ syncedToDynamoAt: z.number().optional(),
559
564
  sizeInBytes: z.number(),
560
565
  itemCount: z.number(),
561
566
  });
562
567
 
563
568
  /** @internal */
564
569
  export type UpdateEdgeConfigResponseBody$Outbound = {
565
- createdAt?: number | undefined;
566
- updatedAt?: number | undefined;
567
- id?: string | undefined;
568
- slug?: string | undefined;
569
- ownerId?: string | undefined;
570
- digest?: string | undefined;
570
+ createdAt: number;
571
+ updatedAt: number;
572
+ id: string;
573
+ slug: string;
574
+ ownerId: string;
575
+ digest: string;
571
576
  transfer?: UpdateEdgeConfigTransfer$Outbound | undefined;
572
577
  schema?: UpdateEdgeConfigSchema$Outbound | undefined;
573
578
  purpose?:
574
579
  | UpdateEdgeConfigPurpose1$Outbound
575
580
  | UpdateEdgeConfigPurpose2$Outbound
576
581
  | undefined;
582
+ syncedToDynamoAt?: number | undefined;
577
583
  sizeInBytes: number;
578
584
  itemCount: number;
579
585
  };
@@ -584,18 +590,19 @@ export const UpdateEdgeConfigResponseBody$outboundSchema: z.ZodType<
584
590
  z.ZodTypeDef,
585
591
  UpdateEdgeConfigResponseBody
586
592
  > = z.object({
587
- createdAt: z.number().optional(),
588
- updatedAt: z.number().optional(),
589
- id: z.string().optional(),
590
- slug: z.string().optional(),
591
- ownerId: z.string().optional(),
592
- digest: z.string().optional(),
593
+ createdAt: z.number(),
594
+ updatedAt: z.number(),
595
+ id: z.string(),
596
+ slug: z.string(),
597
+ ownerId: z.string(),
598
+ digest: z.string(),
593
599
  transfer: z.lazy(() => UpdateEdgeConfigTransfer$outboundSchema).optional(),
594
600
  schema: z.lazy(() => UpdateEdgeConfigSchema$outboundSchema).optional(),
595
601
  purpose: z.union([
596
602
  z.lazy(() => UpdateEdgeConfigPurpose1$outboundSchema),
597
603
  z.lazy(() => UpdateEdgeConfigPurpose2$outboundSchema),
598
604
  ]).optional(),
605
+ syncedToDynamoAt: z.number().optional(),
599
606
  sizeInBytes: z.number(),
600
607
  itemCount: z.number(),
601
608
  });