@vercel/sdk 1.10.4 → 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 (225) hide show
  1. package/README.md +4 -2
  2. package/bin/mcp-server.js +5378 -1443
  3. package/bin/mcp-server.js.map +43 -40
  4. package/docs/sdks/integrations/README.md +81 -0
  5. package/docs/sdks/projects/README.md +6 -0
  6. package/docs/sdks/teams/README.md +0 -2
  7. package/esm/__tests__/accessgroups.test.js +6 -0
  8. package/esm/__tests__/accessgroups.test.js.map +1 -1
  9. package/esm/__tests__/deployments.test.js +2 -2
  10. package/esm/__tests__/deployments.test.js.map +1 -1
  11. package/esm/__tests__/domains.test.js +6 -0
  12. package/esm/__tests__/domains.test.js.map +1 -1
  13. package/esm/__tests__/edgeconfig.test.js +18 -0
  14. package/esm/__tests__/edgeconfig.test.js.map +1 -1
  15. package/esm/__tests__/integrations.test.js +25 -0
  16. package/esm/__tests__/integrations.test.js.map +1 -1
  17. package/esm/__tests__/rollingrelease.test.js +2 -6
  18. package/esm/__tests__/rollingrelease.test.js.map +1 -1
  19. package/esm/funcs/integrationsGetConfigurationProducts.d.ts +20 -0
  20. package/esm/funcs/integrationsGetConfigurationProducts.d.ts.map +1 -0
  21. package/esm/funcs/integrationsGetConfigurationProducts.js +94 -0
  22. package/esm/funcs/integrationsGetConfigurationProducts.js.map +1 -0
  23. package/esm/funcs/projectsCreateProject.d.ts +3 -1
  24. package/esm/funcs/projectsCreateProject.d.ts.map +1 -1
  25. package/esm/funcs/projectsCreateProject.js +16 -2
  26. package/esm/funcs/projectsCreateProject.js.map +1 -1
  27. package/esm/funcs/projectsCreateProjectEnv.d.ts +3 -1
  28. package/esm/funcs/projectsCreateProjectEnv.d.ts.map +1 -1
  29. package/esm/funcs/projectsCreateProjectEnv.js +15 -2
  30. package/esm/funcs/projectsCreateProjectEnv.js.map +1 -1
  31. package/esm/funcs/projectsEditProjectEnv.d.ts +3 -1
  32. package/esm/funcs/projectsEditProjectEnv.d.ts.map +1 -1
  33. package/esm/funcs/projectsEditProjectEnv.js +4 -2
  34. package/esm/funcs/projectsEditProjectEnv.js.map +1 -1
  35. package/esm/lib/config.d.ts +3 -3
  36. package/esm/lib/config.js +3 -3
  37. package/esm/lib/security.d.ts.map +1 -1
  38. package/esm/lib/security.js.map +1 -1
  39. package/esm/mcp-server/mcp-server.js +1 -1
  40. package/esm/mcp-server/server.d.ts.map +1 -1
  41. package/esm/mcp-server/server.js +3 -1
  42. package/esm/mcp-server/server.js.map +1 -1
  43. package/esm/mcp-server/tools/integrationsGetConfigurationProducts.d.ts +7 -0
  44. package/esm/mcp-server/tools/integrationsGetConfigurationProducts.d.ts.map +1 -0
  45. package/esm/mcp-server/tools/integrationsGetConfigurationProducts.js +28 -0
  46. package/esm/mcp-server/tools/integrationsGetConfigurationProducts.js.map +1 -0
  47. package/esm/models/canceldeploymentop.d.ts +10 -4
  48. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  49. package/esm/models/canceldeploymentop.js +6 -4
  50. package/esm/models/canceldeploymentop.js.map +1 -1
  51. package/esm/models/createaccessgroupop.d.ts +24 -0
  52. package/esm/models/createaccessgroupop.d.ts.map +1 -1
  53. package/esm/models/createaccessgroupop.js +20 -0
  54. package/esm/models/createaccessgroupop.js.map +1 -1
  55. package/esm/models/createdeploymentop.d.ts +16 -4
  56. package/esm/models/createdeploymentop.d.ts.map +1 -1
  57. package/esm/models/createdeploymentop.js +8 -4
  58. package/esm/models/createdeploymentop.js.map +1 -1
  59. package/esm/models/createedgeconfigop.d.ts +17 -12
  60. package/esm/models/createedgeconfigop.d.ts.map +1 -1
  61. package/esm/models/createedgeconfigop.js +14 -12
  62. package/esm/models/createedgeconfigop.js.map +1 -1
  63. package/esm/models/createprojectenvop.d.ts +12 -12
  64. package/esm/models/createprojectenvop.d.ts.map +1 -1
  65. package/esm/models/createprojectenvop.js +12 -12
  66. package/esm/models/createprojectenvop.js.map +1 -1
  67. package/esm/models/createprojectop.d.ts +81 -62
  68. package/esm/models/createprojectop.d.ts.map +1 -1
  69. package/esm/models/createprojectop.js +74 -68
  70. package/esm/models/createprojectop.js.map +1 -1
  71. package/esm/models/filterprojectenvsop.d.ts +20 -20
  72. package/esm/models/filterprojectenvsop.d.ts.map +1 -1
  73. package/esm/models/filterprojectenvsop.js +20 -24
  74. package/esm/models/filterprojectenvsop.js.map +1 -1
  75. package/esm/models/getaliasop.d.ts +2 -0
  76. package/esm/models/getaliasop.d.ts.map +1 -1
  77. package/esm/models/getaliasop.js +2 -0
  78. package/esm/models/getaliasop.js.map +1 -1
  79. package/esm/models/getconfigurationproductsop.d.ts +6435 -0
  80. package/esm/models/getconfigurationproductsop.d.ts.map +1 -0
  81. package/esm/models/getconfigurationproductsop.js +7314 -0
  82. package/esm/models/getconfigurationproductsop.js.map +1 -0
  83. package/esm/models/getconfigurationsop.d.ts +15 -15
  84. package/esm/models/getconfigurationsop.d.ts.map +1 -1
  85. package/esm/models/getconfigurationsop.js +15 -15
  86. package/esm/models/getconfigurationsop.js.map +1 -1
  87. package/esm/models/getdeploymentop.d.ts +66 -60
  88. package/esm/models/getdeploymentop.d.ts.map +1 -1
  89. package/esm/models/getdeploymentop.js +54 -52
  90. package/esm/models/getdeploymentop.js.map +1 -1
  91. package/esm/models/getdeploymentsop.d.ts +49 -0
  92. package/esm/models/getdeploymentsop.d.ts.map +1 -1
  93. package/esm/models/getdeploymentsop.js +29 -0
  94. package/esm/models/getdeploymentsop.js.map +1 -1
  95. package/esm/models/getdomainconfigop.d.ts +24 -12
  96. package/esm/models/getdomainconfigop.d.ts.map +1 -1
  97. package/esm/models/getdomainconfigop.js +24 -16
  98. package/esm/models/getdomainconfigop.js.map +1 -1
  99. package/esm/models/getedgeconfigop.d.ts +17 -12
  100. package/esm/models/getedgeconfigop.d.ts.map +1 -1
  101. package/esm/models/getedgeconfigop.js +14 -12
  102. package/esm/models/getedgeconfigop.js.map +1 -1
  103. package/esm/models/getfirewallconfigop.d.ts +6 -0
  104. package/esm/models/getfirewallconfigop.d.ts.map +1 -1
  105. package/esm/models/getfirewallconfigop.js +2 -0
  106. package/esm/models/getfirewallconfigop.js.map +1 -1
  107. package/esm/models/getprojectmembersop.d.ts +8 -8
  108. package/esm/models/getprojectmembersop.d.ts.map +1 -1
  109. package/esm/models/getprojectmembersop.js +12 -12
  110. package/esm/models/getprojectmembersop.js.map +1 -1
  111. package/esm/models/getprojectsop.d.ts +70 -62
  112. package/esm/models/getprojectsop.d.ts.map +1 -1
  113. package/esm/models/getprojectsop.js +70 -68
  114. package/esm/models/getprojectsop.js.map +1 -1
  115. package/esm/models/getteammembersop.d.ts +4 -4
  116. package/esm/models/getteammembersop.d.ts.map +1 -1
  117. package/esm/models/getteammembersop.js +4 -4
  118. package/esm/models/getteammembersop.js.map +1 -1
  119. package/esm/models/getwebhooksop.d.ts +6 -0
  120. package/esm/models/getwebhooksop.d.ts.map +1 -1
  121. package/esm/models/getwebhooksop.js +2 -0
  122. package/esm/models/getwebhooksop.js.map +1 -1
  123. package/esm/models/inviteusertoteamop.d.ts +32 -223
  124. package/esm/models/inviteusertoteamop.d.ts.map +1 -1
  125. package/esm/models/inviteusertoteamop.js +42 -182
  126. package/esm/models/inviteusertoteamop.js.map +1 -1
  127. package/esm/models/listaliasesop.d.ts +2 -0
  128. package/esm/models/listaliasesop.d.ts.map +1 -1
  129. package/esm/models/listaliasesop.js +2 -0
  130. package/esm/models/listaliasesop.js.map +1 -1
  131. package/esm/models/listdeploymentaliasesop.d.ts +2 -0
  132. package/esm/models/listdeploymentaliasesop.d.ts.map +1 -1
  133. package/esm/models/listdeploymentaliasesop.js +2 -0
  134. package/esm/models/listdeploymentaliasesop.js.map +1 -1
  135. package/esm/models/patchurlprotectionbypassop.d.ts +5 -0
  136. package/esm/models/patchurlprotectionbypassop.d.ts.map +1 -1
  137. package/esm/models/patchurlprotectionbypassop.js +2 -0
  138. package/esm/models/patchurlprotectionbypassop.js.map +1 -1
  139. package/esm/models/putfirewallconfigop.d.ts +9 -0
  140. package/esm/models/putfirewallconfigop.d.ts.map +1 -1
  141. package/esm/models/putfirewallconfigop.js +3 -0
  142. package/esm/models/putfirewallconfigop.js.map +1 -1
  143. package/esm/models/team.d.ts +23 -0
  144. package/esm/models/team.d.ts.map +1 -1
  145. package/esm/models/team.js +23 -0
  146. package/esm/models/team.js.map +1 -1
  147. package/esm/models/updateaccessgroupop.d.ts +2 -2
  148. package/esm/models/updateaccessgroupop.d.ts.map +1 -1
  149. package/esm/models/updateaccessgroupop.js +2 -3
  150. package/esm/models/updateaccessgroupop.js.map +1 -1
  151. package/esm/models/updateedgeconfigop.d.ts +17 -12
  152. package/esm/models/updateedgeconfigop.d.ts.map +1 -1
  153. package/esm/models/updateedgeconfigop.js +14 -12
  154. package/esm/models/updateedgeconfigop.js.map +1 -1
  155. package/esm/models/updatefirewallconfigop.d.ts +78 -4
  156. package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
  157. package/esm/models/updatefirewallconfigop.js +50 -4
  158. package/esm/models/updatefirewallconfigop.js.map +1 -1
  159. package/esm/models/updateprojectdatacacheop.d.ts +70 -62
  160. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  161. package/esm/models/updateprojectdatacacheop.js +70 -70
  162. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  163. package/esm/models/updateprojectop.d.ts +76 -62
  164. package/esm/models/updateprojectop.d.ts.map +1 -1
  165. package/esm/models/updateprojectop.js +72 -68
  166. package/esm/models/updateprojectop.js.map +1 -1
  167. package/esm/models/userevent.d.ts +56 -56
  168. package/esm/models/userevent.d.ts.map +1 -1
  169. package/esm/models/userevent.js +56 -62
  170. package/esm/models/userevent.js.map +1 -1
  171. package/esm/sdk/integrations.d.ts +8 -0
  172. package/esm/sdk/integrations.d.ts.map +1 -1
  173. package/esm/sdk/integrations.js +10 -0
  174. package/esm/sdk/integrations.js.map +1 -1
  175. package/examples/package-lock.json +1 -1
  176. package/jsr.json +1 -1
  177. package/package.json +1 -1
  178. package/src/__tests__/accessgroups.test.ts +6 -0
  179. package/src/__tests__/deployments.test.ts +2 -2
  180. package/src/__tests__/domains.test.ts +6 -0
  181. package/src/__tests__/edgeconfig.test.ts +18 -0
  182. package/src/__tests__/integrations.test.ts +28 -0
  183. package/src/__tests__/rollingrelease.test.ts +2 -6
  184. package/src/funcs/integrationsGetConfigurationProducts.ts +207 -0
  185. package/src/funcs/projectsCreateProject.ts +30 -2
  186. package/src/funcs/projectsCreateProjectEnv.ts +29 -2
  187. package/src/funcs/projectsEditProjectEnv.ts +18 -2
  188. package/src/lib/config.ts +3 -3
  189. package/src/lib/security.ts +4 -1
  190. package/src/mcp-server/mcp-server.ts +1 -1
  191. package/src/mcp-server/server.ts +3 -1
  192. package/src/mcp-server/tools/integrationsGetConfigurationProducts.ts +39 -0
  193. package/src/models/canceldeploymentop.ts +10 -8
  194. package/src/models/createaccessgroupop.ts +32 -0
  195. package/src/models/createdeploymentop.ts +12 -8
  196. package/src/models/createedgeconfigop.ts +31 -24
  197. package/src/models/createprojectenvop.ts +24 -24
  198. package/src/models/createprojectop.ts +149 -136
  199. package/src/models/filterprojectenvsop.ts +42 -46
  200. package/src/models/getaliasop.ts +4 -0
  201. package/src/models/getconfigurationproductsop.ts +16739 -0
  202. package/src/models/getconfigurationsop.ts +28 -24
  203. package/src/models/getdeploymentop.ts +91 -89
  204. package/src/models/getdeploymentsop.ts +57 -0
  205. package/src/models/getdomainconfigop.ts +48 -28
  206. package/src/models/getedgeconfigop.ts +31 -24
  207. package/src/models/getfirewallconfigop.ts +2 -0
  208. package/src/models/getprojectmembersop.ts +16 -19
  209. package/src/models/getprojectsop.ts +140 -136
  210. package/src/models/getteammembersop.ts +8 -8
  211. package/src/models/getwebhooksop.ts +2 -0
  212. package/src/models/inviteusertoteamop.ts +69 -330
  213. package/src/models/listaliasesop.ts +4 -0
  214. package/src/models/listdeploymentaliasesop.ts +4 -0
  215. package/src/models/patchurlprotectionbypassop.ts +7 -0
  216. package/src/models/putfirewallconfigop.ts +3 -0
  217. package/src/models/team.ts +54 -0
  218. package/src/models/updateaccessgroupop.ts +4 -5
  219. package/src/models/updateedgeconfigop.ts +31 -24
  220. package/src/models/updatefirewallconfigop.ts +73 -8
  221. package/src/models/updateprojectdatacacheop.ts +137 -135
  222. package/src/models/updateprojectop.ts +142 -136
  223. package/src/models/userevent.ts +112 -124
  224. package/src/sdk/integrations.ts +22 -0
  225. package/vercel-spec.json +3354 -585
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "1.10.4",
22
+ currentVersion: "1.10.5",
23
23
  },
24
24
  });
25
25
 
@@ -97,6 +97,7 @@ import { tool$environmentRemoveCustomEnvironment } from "./tools/environmentRemo
97
97
  import { tool$environmentUpdateCustomEnvironment } from "./tools/environmentUpdateCustomEnvironment.js";
98
98
  import { tool$integrationsDeleteConfiguration } from "./tools/integrationsDeleteConfiguration.js";
99
99
  import { tool$integrationsGetConfiguration } from "./tools/integrationsGetConfiguration.js";
100
+ import { tool$integrationsGetConfigurationProducts } from "./tools/integrationsGetConfigurationProducts.js";
100
101
  import { tool$integrationsGetConfigurations } from "./tools/integrationsGetConfigurations.js";
101
102
  import { tool$logDrainsCreateLogDrain } from "./tools/logDrainsCreateLogDrain.js";
102
103
  import { tool$logDrainsDeleteIntegrationLogDrain } from "./tools/logDrainsDeleteIntegrationLogDrain.js";
@@ -195,7 +196,7 @@ export function createMCPServer(deps: {
195
196
  }) {
196
197
  const server = new McpServer({
197
198
  name: "Vercel",
198
- version: "1.10.4",
199
+ version: "1.10.5",
199
200
  });
200
201
 
201
202
  const client = new VercelCore({
@@ -284,6 +285,7 @@ export function createMCPServer(deps: {
284
285
  tool(tool$integrationsGetConfigurations);
285
286
  tool(tool$integrationsGetConfiguration);
286
287
  tool(tool$integrationsDeleteConfiguration);
288
+ tool(tool$integrationsGetConfigurationProducts);
287
289
  tool(tool$domainsBuyDomain);
288
290
  tool(tool$domainsCheckDomainPrice);
289
291
  tool(tool$domainsCheckDomainStatus);
@@ -0,0 +1,39 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { integrationsGetConfigurationProducts } from "../../funcs/integrationsGetConfigurationProducts.js";
6
+ import { GetConfigurationProductsRequest$inboundSchema } from "../../models/getconfigurationproductsop.js";
7
+ import { formatResult, ToolDefinition } from "../tools.js";
8
+
9
+ const args = {
10
+ request: GetConfigurationProductsRequest$inboundSchema,
11
+ };
12
+
13
+ export const tool$integrationsGetConfigurationProducts: ToolDefinition<
14
+ typeof args
15
+ > = {
16
+ name: "integrations-get-configuration-products",
17
+ description: `List products for integration configuration
18
+
19
+ Lists all products available for an integration configuration. Use this endpoint to discover what integration products are available for your integration configuration. The returned product IDs or slugs can then be used with storage provisioning endpoints like \`POST /v1/storage/stores/integration/direct\`. ## Workflow 1. Get your integration configurations: \`GET /v1/integrations/configurations\` 2. **Use this endpoint**: Get products for a configuration: \`GET /v1/integrations/configuration/{id}/products\` 3. Create storage resource: \`POST /v1/storage/stores/integration/direct\` ## Response Returns an array of products with their IDs, slugs, names, supported protocols, and metadata requirements. Each product represents a different type of resource you can provision. The \`metadataSchema\` field contains a JSON Schema that defines: - **Required metadata**: Fields that must be provided during storage creation - **Optional metadata**: Fields that can be provided but are not mandatory - **Field validation**: Data types, allowed values, and constraints Use this schema to validate metadata before calling the storage creation endpoint.`,
20
+ args,
21
+ tool: async (client, args, ctx) => {
22
+ const [result, apiCall] = await integrationsGetConfigurationProducts(
23
+ client,
24
+ args.request,
25
+ { fetchOptions: { signal: ctx.signal } },
26
+ ).$inspect();
27
+
28
+ if (!result.ok) {
29
+ return {
30
+ content: [{ type: "text", text: result.error.message }],
31
+ isError: true,
32
+ };
33
+ }
34
+
35
+ const value = result.value;
36
+
37
+ return formatResult(value, apiCall);
38
+ },
39
+ };
@@ -91,6 +91,8 @@ export const CancelDeploymentFramework = {
91
91
  Storybook: "storybook",
92
92
  Nitro: "nitro",
93
93
  Hono: "hono",
94
+ Express: "express",
95
+ Xmcp: "xmcp",
94
96
  } as const;
95
97
  export type CancelDeploymentFramework = ClosedEnum<
96
98
  typeof CancelDeploymentFramework
@@ -245,10 +247,10 @@ export type CancelDeploymentOutput = {
245
247
  * A partial representation of a Build used by the deployment endpoint.
246
248
  */
247
249
  export type CancelDeploymentLambdas = {
248
- id?: string | undefined;
250
+ id: string;
249
251
  createdAt?: number | undefined;
250
- entrypoint?: string | null | undefined;
251
252
  readyState?: CancelDeploymentDeploymentsReadyState | undefined;
253
+ entrypoint?: string | null | undefined;
252
254
  readyStateAt?: number | undefined;
253
255
  output: Array<CancelDeploymentOutput>;
254
256
  };
@@ -2524,20 +2526,20 @@ export const CancelDeploymentLambdas$inboundSchema: z.ZodType<
2524
2526
  z.ZodTypeDef,
2525
2527
  unknown
2526
2528
  > = z.object({
2527
- id: z.string().optional(),
2529
+ id: z.string(),
2528
2530
  createdAt: z.number().optional(),
2529
- entrypoint: z.nullable(z.string()).optional(),
2530
2531
  readyState: CancelDeploymentDeploymentsReadyState$inboundSchema.optional(),
2532
+ entrypoint: z.nullable(z.string()).optional(),
2531
2533
  readyStateAt: z.number().optional(),
2532
2534
  output: z.array(z.lazy(() => CancelDeploymentOutput$inboundSchema)),
2533
2535
  });
2534
2536
 
2535
2537
  /** @internal */
2536
2538
  export type CancelDeploymentLambdas$Outbound = {
2537
- id?: string | undefined;
2539
+ id: string;
2538
2540
  createdAt?: number | undefined;
2539
- entrypoint?: string | null | undefined;
2540
2541
  readyState?: string | undefined;
2542
+ entrypoint?: string | null | undefined;
2541
2543
  readyStateAt?: number | undefined;
2542
2544
  output: Array<CancelDeploymentOutput$Outbound>;
2543
2545
  };
@@ -2548,10 +2550,10 @@ export const CancelDeploymentLambdas$outboundSchema: z.ZodType<
2548
2550
  z.ZodTypeDef,
2549
2551
  CancelDeploymentLambdas
2550
2552
  > = z.object({
2551
- id: z.string().optional(),
2553
+ id: z.string(),
2552
2554
  createdAt: z.number().optional(),
2553
- entrypoint: z.nullable(z.string()).optional(),
2554
2555
  readyState: CancelDeploymentDeploymentsReadyState$outboundSchema.optional(),
2556
+ entrypoint: z.nullable(z.string()).optional(),
2555
2557
  readyStateAt: z.number().optional(),
2556
2558
  output: z.array(z.lazy(() => CancelDeploymentOutput$outboundSchema)),
2557
2559
  });
@@ -57,7 +57,15 @@ export type CreateAccessGroupRequest = {
57
57
  requestBody: CreateAccessGroupRequestBody;
58
58
  };
59
59
 
60
+ export const CreateAccessGroupEntitlements = {
61
+ V0: "v0",
62
+ } as const;
63
+ export type CreateAccessGroupEntitlements = ClosedEnum<
64
+ typeof CreateAccessGroupEntitlements
65
+ >;
66
+
60
67
  export type CreateAccessGroupResponseBody = {
68
+ entitlements: Array<CreateAccessGroupEntitlements>;
61
69
  membersCount: number;
62
70
  projectsCount: number;
63
71
  /**
@@ -300,12 +308,34 @@ export function createAccessGroupRequestFromJSON(
300
308
  );
301
309
  }
302
310
 
311
+ /** @internal */
312
+ export const CreateAccessGroupEntitlements$inboundSchema: z.ZodNativeEnum<
313
+ typeof CreateAccessGroupEntitlements
314
+ > = z.nativeEnum(CreateAccessGroupEntitlements);
315
+
316
+ /** @internal */
317
+ export const CreateAccessGroupEntitlements$outboundSchema: z.ZodNativeEnum<
318
+ typeof CreateAccessGroupEntitlements
319
+ > = CreateAccessGroupEntitlements$inboundSchema;
320
+
321
+ /**
322
+ * @internal
323
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
324
+ */
325
+ export namespace CreateAccessGroupEntitlements$ {
326
+ /** @deprecated use `CreateAccessGroupEntitlements$inboundSchema` instead. */
327
+ export const inboundSchema = CreateAccessGroupEntitlements$inboundSchema;
328
+ /** @deprecated use `CreateAccessGroupEntitlements$outboundSchema` instead. */
329
+ export const outboundSchema = CreateAccessGroupEntitlements$outboundSchema;
330
+ }
331
+
303
332
  /** @internal */
304
333
  export const CreateAccessGroupResponseBody$inboundSchema: z.ZodType<
305
334
  CreateAccessGroupResponseBody,
306
335
  z.ZodTypeDef,
307
336
  unknown
308
337
  > = z.object({
338
+ entitlements: z.array(CreateAccessGroupEntitlements$inboundSchema),
309
339
  membersCount: z.number(),
310
340
  projectsCount: z.number(),
311
341
  name: z.string(),
@@ -319,6 +349,7 @@ export const CreateAccessGroupResponseBody$inboundSchema: z.ZodType<
319
349
 
320
350
  /** @internal */
321
351
  export type CreateAccessGroupResponseBody$Outbound = {
352
+ entitlements: Array<string>;
322
353
  membersCount: number;
323
354
  projectsCount: number;
324
355
  name: string;
@@ -336,6 +367,7 @@ export const CreateAccessGroupResponseBody$outboundSchema: z.ZodType<
336
367
  z.ZodTypeDef,
337
368
  CreateAccessGroupResponseBody
338
369
  > = z.object({
370
+ entitlements: z.array(CreateAccessGroupEntitlements$outboundSchema),
339
371
  membersCount: z.number(),
340
372
  projectsCount: z.number(),
341
373
  name: z.string(),
@@ -277,6 +277,8 @@ export const Framework = {
277
277
  Storybook: "storybook",
278
278
  Nitro: "nitro",
279
279
  Hono: "hono",
280
+ Express: "express",
281
+ Xmcp: "xmcp",
280
282
  } as const;
281
283
  /**
282
284
  * The framework that is being used for this project. When `null` is used no framework is selected
@@ -488,6 +490,8 @@ export const CreateDeploymentFramework = {
488
490
  Storybook: "storybook",
489
491
  Nitro: "nitro",
490
492
  Hono: "hono",
493
+ Express: "express",
494
+ Xmcp: "xmcp",
491
495
  } as const;
492
496
  export type CreateDeploymentFramework = ClosedEnum<
493
497
  typeof CreateDeploymentFramework
@@ -636,10 +640,10 @@ export type CreateDeploymentOutput = {
636
640
  * A partial representation of a Build used by the deployment endpoint.
637
641
  */
638
642
  export type Lambdas = {
639
- id?: string | undefined;
643
+ id: string;
640
644
  createdAt?: number | undefined;
641
- entrypoint?: string | null | undefined;
642
645
  readyState?: CreateDeploymentReadyState | undefined;
646
+ entrypoint?: string | null | undefined;
643
647
  readyStateAt?: number | undefined;
644
648
  output: Array<CreateDeploymentOutput>;
645
649
  };
@@ -3905,20 +3909,20 @@ export function createDeploymentOutputFromJSON(
3905
3909
  /** @internal */
3906
3910
  export const Lambdas$inboundSchema: z.ZodType<Lambdas, z.ZodTypeDef, unknown> =
3907
3911
  z.object({
3908
- id: z.string().optional(),
3912
+ id: z.string(),
3909
3913
  createdAt: z.number().optional(),
3910
- entrypoint: z.nullable(z.string()).optional(),
3911
3914
  readyState: CreateDeploymentReadyState$inboundSchema.optional(),
3915
+ entrypoint: z.nullable(z.string()).optional(),
3912
3916
  readyStateAt: z.number().optional(),
3913
3917
  output: z.array(z.lazy(() => CreateDeploymentOutput$inboundSchema)),
3914
3918
  });
3915
3919
 
3916
3920
  /** @internal */
3917
3921
  export type Lambdas$Outbound = {
3918
- id?: string | undefined;
3922
+ id: string;
3919
3923
  createdAt?: number | undefined;
3920
- entrypoint?: string | null | undefined;
3921
3924
  readyState?: string | undefined;
3925
+ entrypoint?: string | null | undefined;
3922
3926
  readyStateAt?: number | undefined;
3923
3927
  output: Array<CreateDeploymentOutput$Outbound>;
3924
3928
  };
@@ -3929,10 +3933,10 @@ export const Lambdas$outboundSchema: z.ZodType<
3929
3933
  z.ZodTypeDef,
3930
3934
  Lambdas
3931
3935
  > = z.object({
3932
- id: z.string().optional(),
3936
+ id: z.string(),
3933
3937
  createdAt: z.number().optional(),
3934
- entrypoint: z.nullable(z.string()).optional(),
3935
3938
  readyState: CreateDeploymentReadyState$outboundSchema.optional(),
3939
+ entrypoint: z.nullable(z.string()).optional(),
3936
3940
  readyStateAt: z.number().optional(),
3937
3941
  output: z.array(z.lazy(() => CreateDeploymentOutput$outboundSchema)),
3938
3942
  });
@@ -65,21 +65,25 @@ export type CreateEdgeConfigPurpose = Purpose1 | Purpose2;
65
65
  * An Edge Config
66
66
  */
67
67
  export type CreateEdgeConfigResponseBody = {
68
- createdAt?: number | undefined;
69
- updatedAt?: number | undefined;
70
- id?: string | undefined;
68
+ createdAt: number;
69
+ updatedAt: number;
70
+ id: string;
71
71
  /**
72
72
  * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores).
73
73
  */
74
- slug?: string | undefined;
75
- ownerId?: string | undefined;
76
- digest?: string | undefined;
74
+ slug: string;
75
+ ownerId: string;
76
+ digest: string;
77
77
  /**
78
78
  * Keeps track of the current state of the Edge Config while it gets transferred.
79
79
  */
80
80
  transfer?: CreateEdgeConfigTransfer | undefined;
81
81
  schema?: CreateEdgeConfigSchema | undefined;
82
82
  purpose?: Purpose1 | Purpose2 | undefined;
83
+ /**
84
+ * Timestamp of when the Edge Config was synced to DynamoDB initially. It is only set when syncing the entire Edge Config, not when updating.
85
+ */
86
+ syncedToDynamoAt?: number | undefined;
83
87
  sizeInBytes: number;
84
88
  itemCount: number;
85
89
  };
@@ -527,33 +531,35 @@ export const CreateEdgeConfigResponseBody$inboundSchema: z.ZodType<
527
531
  z.ZodTypeDef,
528
532
  unknown
529
533
  > = z.object({
530
- createdAt: z.number().optional(),
531
- updatedAt: z.number().optional(),
532
- id: z.string().optional(),
533
- slug: z.string().optional(),
534
- ownerId: z.string().optional(),
535
- digest: z.string().optional(),
534
+ createdAt: z.number(),
535
+ updatedAt: z.number(),
536
+ id: z.string(),
537
+ slug: z.string(),
538
+ ownerId: z.string(),
539
+ digest: z.string(),
536
540
  transfer: z.lazy(() => CreateEdgeConfigTransfer$inboundSchema).optional(),
537
541
  schema: z.lazy(() => CreateEdgeConfigSchema$inboundSchema).optional(),
538
542
  purpose: z.union([
539
543
  z.lazy(() => Purpose1$inboundSchema),
540
544
  z.lazy(() => Purpose2$inboundSchema),
541
545
  ]).optional(),
546
+ syncedToDynamoAt: z.number().optional(),
542
547
  sizeInBytes: z.number(),
543
548
  itemCount: z.number(),
544
549
  });
545
550
 
546
551
  /** @internal */
547
552
  export type CreateEdgeConfigResponseBody$Outbound = {
548
- createdAt?: number | undefined;
549
- updatedAt?: number | undefined;
550
- id?: string | undefined;
551
- slug?: string | undefined;
552
- ownerId?: string | undefined;
553
- digest?: string | undefined;
553
+ createdAt: number;
554
+ updatedAt: number;
555
+ id: string;
556
+ slug: string;
557
+ ownerId: string;
558
+ digest: string;
554
559
  transfer?: CreateEdgeConfigTransfer$Outbound | undefined;
555
560
  schema?: CreateEdgeConfigSchema$Outbound | undefined;
556
561
  purpose?: Purpose1$Outbound | Purpose2$Outbound | undefined;
562
+ syncedToDynamoAt?: number | undefined;
557
563
  sizeInBytes: number;
558
564
  itemCount: number;
559
565
  };
@@ -564,18 +570,19 @@ export const CreateEdgeConfigResponseBody$outboundSchema: z.ZodType<
564
570
  z.ZodTypeDef,
565
571
  CreateEdgeConfigResponseBody
566
572
  > = z.object({
567
- createdAt: z.number().optional(),
568
- updatedAt: z.number().optional(),
569
- id: z.string().optional(),
570
- slug: z.string().optional(),
571
- ownerId: z.string().optional(),
572
- digest: z.string().optional(),
573
+ createdAt: z.number(),
574
+ updatedAt: z.number(),
575
+ id: z.string(),
576
+ slug: z.string(),
577
+ ownerId: z.string(),
578
+ digest: z.string(),
573
579
  transfer: z.lazy(() => CreateEdgeConfigTransfer$outboundSchema).optional(),
574
580
  schema: z.lazy(() => CreateEdgeConfigSchema$outboundSchema).optional(),
575
581
  purpose: z.union([
576
582
  z.lazy(() => Purpose1$outboundSchema),
577
583
  z.lazy(() => Purpose2$outboundSchema),
578
584
  ]).optional(),
585
+ syncedToDynamoAt: z.number().optional(),
579
586
  sizeInBytes: z.number(),
580
587
  itemCount: z.number(),
581
588
  });
@@ -545,16 +545,16 @@ export type CreateProjectEnvCreatedInternalContentHint = {
545
545
 
546
546
  export type Created2 = {
547
547
  target?: Array<string> | CreateProjectEnvTargetProjects2 | undefined;
548
- type?: CreateProjectEnvCreatedType | undefined;
548
+ type: CreateProjectEnvCreatedType;
549
549
  /**
550
550
  * This is used to identiy variables that have been migrated from type secret to sensitive.
551
551
  */
552
552
  sunsetSecretId?: string | undefined;
553
553
  decrypted?: boolean | undefined;
554
- value?: string | undefined;
554
+ value: string;
555
555
  vsmValue?: string | undefined;
556
556
  id?: string | undefined;
557
- key?: string | undefined;
557
+ key: string;
558
558
  configurationId?: string | null | undefined;
559
559
  createdAt?: number | undefined;
560
560
  updatedAt?: number | undefined;
@@ -876,16 +876,16 @@ export type CreatedInternalContentHint = {
876
876
 
877
877
  export type Created1 = {
878
878
  target?: Array<CreateProjectEnvTarget1> | CreateProjectEnvTarget2 | undefined;
879
- type?: CreatedType | undefined;
879
+ type: CreatedType;
880
880
  /**
881
881
  * This is used to identiy variables that have been migrated from type secret to sensitive.
882
882
  */
883
883
  sunsetSecretId?: string | undefined;
884
884
  decrypted?: boolean | undefined;
885
- value?: string | undefined;
885
+ value: string;
886
886
  vsmValue?: string | undefined;
887
887
  id?: string | undefined;
888
- key?: string | undefined;
888
+ key: string;
889
889
  configurationId?: string | null | undefined;
890
890
  createdAt?: number | undefined;
891
891
  updatedAt?: number | undefined;
@@ -3387,13 +3387,13 @@ export const Created2$inboundSchema: z.ZodType<
3387
3387
  z.array(z.string()),
3388
3388
  CreateProjectEnvTargetProjects2$inboundSchema,
3389
3389
  ]).optional(),
3390
- type: CreateProjectEnvCreatedType$inboundSchema.optional(),
3390
+ type: CreateProjectEnvCreatedType$inboundSchema,
3391
3391
  sunsetSecretId: z.string().optional(),
3392
3392
  decrypted: z.boolean().optional(),
3393
- value: z.string().optional(),
3393
+ value: z.string(),
3394
3394
  vsmValue: z.string().optional(),
3395
3395
  id: z.string().optional(),
3396
- key: z.string().optional(),
3396
+ key: z.string(),
3397
3397
  configurationId: z.nullable(z.string()).optional(),
3398
3398
  createdAt: z.number().optional(),
3399
3399
  updatedAt: z.number().optional(),
@@ -3432,13 +3432,13 @@ export const Created2$inboundSchema: z.ZodType<
3432
3432
  /** @internal */
3433
3433
  export type Created2$Outbound = {
3434
3434
  target?: Array<string> | string | undefined;
3435
- type?: string | undefined;
3435
+ type: string;
3436
3436
  sunsetSecretId?: string | undefined;
3437
3437
  decrypted?: boolean | undefined;
3438
- value?: string | undefined;
3438
+ value: string;
3439
3439
  vsmValue?: string | undefined;
3440
3440
  id?: string | undefined;
3441
- key?: string | undefined;
3441
+ key: string;
3442
3442
  configurationId?: string | null | undefined;
3443
3443
  createdAt?: number | undefined;
3444
3444
  updatedAt?: number | undefined;
@@ -3484,13 +3484,13 @@ export const Created2$outboundSchema: z.ZodType<
3484
3484
  z.array(z.string()),
3485
3485
  CreateProjectEnvTargetProjects2$outboundSchema,
3486
3486
  ]).optional(),
3487
- type: CreateProjectEnvCreatedType$outboundSchema.optional(),
3487
+ type: CreateProjectEnvCreatedType$outboundSchema,
3488
3488
  sunsetSecretId: z.string().optional(),
3489
3489
  decrypted: z.boolean().optional(),
3490
- value: z.string().optional(),
3490
+ value: z.string(),
3491
3491
  vsmValue: z.string().optional(),
3492
3492
  id: z.string().optional(),
3493
- key: z.string().optional(),
3493
+ key: z.string(),
3494
3494
  configurationId: z.nullable(z.string()).optional(),
3495
3495
  createdAt: z.number().optional(),
3496
3496
  updatedAt: z.number().optional(),
@@ -5163,13 +5163,13 @@ export const Created1$inboundSchema: z.ZodType<
5163
5163
  z.array(CreateProjectEnvTarget1$inboundSchema),
5164
5164
  CreateProjectEnvTarget2$inboundSchema,
5165
5165
  ]).optional(),
5166
- type: CreatedType$inboundSchema.optional(),
5166
+ type: CreatedType$inboundSchema,
5167
5167
  sunsetSecretId: z.string().optional(),
5168
5168
  decrypted: z.boolean().optional(),
5169
- value: z.string().optional(),
5169
+ value: z.string(),
5170
5170
  vsmValue: z.string().optional(),
5171
5171
  id: z.string().optional(),
5172
- key: z.string().optional(),
5172
+ key: z.string(),
5173
5173
  configurationId: z.nullable(z.string()).optional(),
5174
5174
  createdAt: z.number().optional(),
5175
5175
  updatedAt: z.number().optional(),
@@ -5208,13 +5208,13 @@ export const Created1$inboundSchema: z.ZodType<
5208
5208
  /** @internal */
5209
5209
  export type Created1$Outbound = {
5210
5210
  target?: Array<string> | string | undefined;
5211
- type?: string | undefined;
5211
+ type: string;
5212
5212
  sunsetSecretId?: string | undefined;
5213
5213
  decrypted?: boolean | undefined;
5214
- value?: string | undefined;
5214
+ value: string;
5215
5215
  vsmValue?: string | undefined;
5216
5216
  id?: string | undefined;
5217
- key?: string | undefined;
5217
+ key: string;
5218
5218
  configurationId?: string | null | undefined;
5219
5219
  createdAt?: number | undefined;
5220
5220
  updatedAt?: number | undefined;
@@ -5257,13 +5257,13 @@ export const Created1$outboundSchema: z.ZodType<
5257
5257
  z.array(CreateProjectEnvTarget1$outboundSchema),
5258
5258
  CreateProjectEnvTarget2$outboundSchema,
5259
5259
  ]).optional(),
5260
- type: CreatedType$outboundSchema.optional(),
5260
+ type: CreatedType$outboundSchema,
5261
5261
  sunsetSecretId: z.string().optional(),
5262
5262
  decrypted: z.boolean().optional(),
5263
- value: z.string().optional(),
5263
+ value: z.string(),
5264
5264
  vsmValue: z.string().optional(),
5265
5265
  id: z.string().optional(),
5266
- key: z.string().optional(),
5266
+ key: z.string(),
5267
5267
  configurationId: z.nullable(z.string()).optional(),
5268
5268
  createdAt: z.number().optional(),
5269
5269
  updatedAt: z.number().optional(),