@vercel/sdk 1.7.3 → 1.7.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 (203) hide show
  1. package/README.md +31 -14
  2. package/bin/mcp-server.js +1215 -958
  3. package/bin/mcp-server.js.map +38 -38
  4. package/docs/sdks/accessgroups/README.md +16 -0
  5. package/docs/sdks/artifacts/README.md +6 -6
  6. package/docs/sdks/authentication/README.md +1 -1
  7. package/docs/sdks/deployments/README.md +8 -14
  8. package/docs/sdks/dns/README.md +12 -26
  9. package/docs/sdks/domains/README.md +2 -96
  10. package/docs/sdks/edgeconfig/README.md +10 -2
  11. package/docs/sdks/marketplace/README.md +77 -97
  12. package/docs/sdks/security/README.md +4 -10
  13. package/docs/sdks/teams/README.md +8 -0
  14. package/docs/sdks/vercel/README.md +78 -0
  15. package/docs/sdks/webhooks/README.md +12 -4
  16. package/esm/__tests__/deployments.test.js +1 -2
  17. package/esm/__tests__/deployments.test.js.map +1 -1
  18. package/esm/__tests__/domains.test.js +3 -19
  19. package/esm/__tests__/domains.test.js.map +1 -1
  20. package/esm/__tests__/vercel.test.js +13 -0
  21. package/esm/__tests__/vercel.test.js.map +1 -1
  22. package/esm/funcs/authenticationExchangeSsoToken.d.ts +1 -1
  23. package/esm/funcs/authenticationExchangeSsoToken.js +1 -1
  24. package/esm/funcs/certsGetCertById.js +1 -1
  25. package/esm/funcs/certsIssueCert.js +1 -1
  26. package/esm/funcs/certsRemoveCert.js +1 -1
  27. package/esm/funcs/certsUploadCert.js +1 -1
  28. package/esm/funcs/deploymentsGetDeploymentFileContents.d.ts +2 -2
  29. package/esm/funcs/deploymentsGetDeploymentFileContents.d.ts.map +1 -1
  30. package/esm/funcs/deploymentsGetDeploymentFileContents.js +4 -3
  31. package/esm/funcs/deploymentsGetDeploymentFileContents.js.map +1 -1
  32. package/esm/funcs/marketplaceExchangeSsoToken.d.ts +1 -1
  33. package/esm/funcs/marketplaceExchangeSsoToken.js +1 -1
  34. package/esm/funcs/postDomains.d.ts +13 -0
  35. package/esm/funcs/postDomains.d.ts.map +1 -0
  36. package/esm/funcs/{domainsCreateOrTransferDomain.js → postDomains.js} +13 -27
  37. package/esm/funcs/postDomains.js.map +1 -0
  38. package/esm/funcs/projectsRemoveProjectDomain.js +3 -2
  39. package/esm/funcs/projectsRemoveProjectDomain.js.map +1 -1
  40. package/esm/lib/config.d.ts +3 -3
  41. package/esm/lib/config.js +3 -3
  42. package/esm/mcp-server/cli/start/impl.js +2 -2
  43. package/esm/mcp-server/cli/start/impl.js.map +1 -1
  44. package/esm/mcp-server/mcp-server.js +1 -1
  45. package/esm/mcp-server/server.js +3 -3
  46. package/esm/mcp-server/server.js.map +1 -1
  47. package/esm/mcp-server/tools/authenticationExchangeSsoToken.js +1 -1
  48. package/esm/mcp-server/tools/authenticationExchangeSsoToken.js.map +1 -1
  49. package/esm/mcp-server/tools/deploymentsGetDeploymentFileContents.d.ts.map +1 -1
  50. package/esm/mcp-server/tools/deploymentsGetDeploymentFileContents.js +1 -2
  51. package/esm/mcp-server/tools/deploymentsGetDeploymentFileContents.js.map +1 -1
  52. package/esm/mcp-server/tools/marketplaceExchangeSsoToken.js +1 -1
  53. package/esm/mcp-server/tools/marketplaceExchangeSsoToken.js.map +1 -1
  54. package/esm/mcp-server/tools/postDomains.d.ts +7 -0
  55. package/esm/mcp-server/tools/postDomains.d.ts.map +1 -0
  56. package/esm/mcp-server/tools/postDomains.js +26 -0
  57. package/esm/mcp-server/tools/postDomains.js.map +1 -0
  58. package/esm/models/canceldeploymentop.d.ts +10 -0
  59. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  60. package/esm/models/canceldeploymentop.js +4 -0
  61. package/esm/models/canceldeploymentop.js.map +1 -1
  62. package/esm/models/createdeploymentop.d.ts +10 -0
  63. package/esm/models/createdeploymentop.d.ts.map +1 -1
  64. package/esm/models/createdeploymentop.js +4 -0
  65. package/esm/models/createdeploymentop.js.map +1 -1
  66. package/esm/models/createprojectop.d.ts +116 -2
  67. package/esm/models/createprojectop.d.ts.map +1 -1
  68. package/esm/models/createprojectop.js +110 -2
  69. package/esm/models/createprojectop.js.map +1 -1
  70. package/esm/models/createrecordop.d.ts +43 -43
  71. package/esm/models/createrecordop.d.ts.map +1 -1
  72. package/esm/models/createrecordop.js +51 -51
  73. package/esm/models/createrecordop.js.map +1 -1
  74. package/esm/models/getdeploymentfilecontentsop.d.ts +0 -31
  75. package/esm/models/getdeploymentfilecontentsop.d.ts.map +1 -1
  76. package/esm/models/getdeploymentfilecontentsop.js +0 -25
  77. package/esm/models/getdeploymentfilecontentsop.js.map +1 -1
  78. package/esm/models/getdeploymentop.d.ts +10 -0
  79. package/esm/models/getdeploymentop.d.ts.map +1 -1
  80. package/esm/models/getdeploymentop.js +4 -0
  81. package/esm/models/getdeploymentop.js.map +1 -1
  82. package/esm/models/getdomainop.d.ts +8 -8
  83. package/esm/models/getdomainop.d.ts.map +1 -1
  84. package/esm/models/getdomainop.js +12 -13
  85. package/esm/models/getdomainop.js.map +1 -1
  86. package/esm/models/getprojectsop.d.ts +116 -2
  87. package/esm/models/getprojectsop.d.ts.map +1 -1
  88. package/esm/models/getprojectsop.js +110 -2
  89. package/esm/models/getprojectsop.js.map +1 -1
  90. package/esm/models/importresourceop.d.ts +9 -0
  91. package/esm/models/importresourceop.d.ts.map +1 -1
  92. package/esm/models/importresourceop.js +2 -0
  93. package/esm/models/importresourceop.js.map +1 -1
  94. package/esm/models/issuecertop.d.ts +2 -2
  95. package/esm/models/issuecertop.d.ts.map +1 -1
  96. package/esm/models/issuecertop.js +2 -2
  97. package/esm/models/issuecertop.js.map +1 -1
  98. package/esm/models/postdomainsop.d.ts +353 -0
  99. package/esm/models/postdomainsop.d.ts.map +1 -0
  100. package/esm/models/postdomainsop.js +265 -0
  101. package/esm/models/postdomainsop.js.map +1 -0
  102. package/esm/models/removeprojectdomainop.d.ts +30 -0
  103. package/esm/models/removeprojectdomainop.d.ts.map +1 -1
  104. package/esm/models/removeprojectdomainop.js +38 -0
  105. package/esm/models/removeprojectdomainop.js.map +1 -1
  106. package/esm/models/updateprojectdatacacheop.d.ts +116 -2
  107. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  108. package/esm/models/updateprojectdatacacheop.js +110 -2
  109. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  110. package/esm/models/updateprojectop.d.ts +116 -2
  111. package/esm/models/updateprojectop.d.ts.map +1 -1
  112. package/esm/models/updateprojectop.js +110 -2
  113. package/esm/models/updateprojectop.js.map +1 -1
  114. package/esm/models/updateresourcesecretsbyidop.d.ts +9 -0
  115. package/esm/models/updateresourcesecretsbyidop.d.ts.map +1 -1
  116. package/esm/models/updateresourcesecretsbyidop.js +2 -0
  117. package/esm/models/updateresourcesecretsbyidop.js.map +1 -1
  118. package/esm/models/updateresourcesecretsop.d.ts +9 -0
  119. package/esm/models/updateresourcesecretsop.d.ts.map +1 -1
  120. package/esm/models/updateresourcesecretsop.js +2 -0
  121. package/esm/models/updateresourcesecretsop.js.map +1 -1
  122. package/esm/models/uploadcertop.d.ts +2 -2
  123. package/esm/models/uploadcertop.d.ts.map +1 -1
  124. package/esm/models/uploadcertop.js +2 -2
  125. package/esm/models/uploadcertop.js.map +1 -1
  126. package/esm/models/userevent.d.ts +373 -257
  127. package/esm/models/userevent.d.ts.map +1 -1
  128. package/esm/models/userevent.js +425 -315
  129. package/esm/models/userevent.js.map +1 -1
  130. package/esm/sdk/authentication.d.ts +1 -1
  131. package/esm/sdk/authentication.js +1 -1
  132. package/esm/sdk/deployments.d.ts +2 -2
  133. package/esm/sdk/deployments.d.ts.map +1 -1
  134. package/esm/sdk/deployments.js.map +1 -1
  135. package/esm/sdk/domains.d.ts +0 -8
  136. package/esm/sdk/domains.d.ts.map +1 -1
  137. package/esm/sdk/domains.js +0 -10
  138. package/esm/sdk/domains.js.map +1 -1
  139. package/esm/sdk/marketplace.d.ts +1 -1
  140. package/esm/sdk/marketplace.js +1 -1
  141. package/esm/sdk/sdk.d.ts +2 -0
  142. package/esm/sdk/sdk.d.ts.map +1 -1
  143. package/esm/sdk/sdk.js +4 -0
  144. package/esm/sdk/sdk.js.map +1 -1
  145. package/jsr.json +1 -1
  146. package/package.json +1 -1
  147. package/src/__tests__/deployments.test.ts +1 -2
  148. package/src/__tests__/domains.test.ts +5 -21
  149. package/src/__tests__/vercel.test.ts +16 -0
  150. package/src/funcs/authenticationExchangeSsoToken.ts +1 -1
  151. package/src/funcs/certsGetCertById.ts +1 -1
  152. package/src/funcs/certsIssueCert.ts +1 -1
  153. package/src/funcs/certsRemoveCert.ts +1 -1
  154. package/src/funcs/certsUploadCert.ts +1 -1
  155. package/src/funcs/deploymentsGetDeploymentFileContents.ts +6 -7
  156. package/src/funcs/marketplaceExchangeSsoToken.ts +1 -1
  157. package/src/funcs/{domainsCreateOrTransferDomain.ts → postDomains.ts} +22 -38
  158. package/src/funcs/projectsRemoveProjectDomain.ts +3 -2
  159. package/src/lib/config.ts +3 -3
  160. package/src/mcp-server/cli/start/impl.ts +2 -2
  161. package/src/mcp-server/mcp-server.ts +1 -1
  162. package/src/mcp-server/server.ts +3 -3
  163. package/src/mcp-server/tools/authenticationExchangeSsoToken.ts +1 -1
  164. package/src/mcp-server/tools/deploymentsGetDeploymentFileContents.ts +1 -3
  165. package/src/mcp-server/tools/marketplaceExchangeSsoToken.ts +1 -1
  166. package/src/mcp-server/tools/postDomains.ts +35 -0
  167. package/src/models/canceldeploymentop.ts +14 -0
  168. package/src/models/createdeploymentop.ts +14 -0
  169. package/src/models/createprojectop.ts +247 -4
  170. package/src/models/createrecordop.ts +96 -84
  171. package/src/models/getdeploymentfilecontentsop.ts +0 -69
  172. package/src/models/getdeploymentop.ts +14 -0
  173. package/src/models/getdomainop.ts +16 -14
  174. package/src/models/getprojectsop.ts +241 -4
  175. package/src/models/importresourceop.ts +7 -0
  176. package/src/models/issuecertop.ts +4 -4
  177. package/src/models/postdomainsop.ts +637 -0
  178. package/src/models/removeprojectdomainop.ts +78 -0
  179. package/src/models/updateprojectdatacacheop.ts +264 -4
  180. package/src/models/updateprojectop.ts +247 -4
  181. package/src/models/updateresourcesecretsbyidop.ts +7 -0
  182. package/src/models/updateresourcesecretsop.ts +7 -0
  183. package/src/models/uploadcertop.ts +4 -4
  184. package/src/models/userevent.ts +806 -583
  185. package/src/sdk/authentication.ts +1 -1
  186. package/src/sdk/deployments.ts +2 -5
  187. package/src/sdk/domains.ts +0 -22
  188. package/src/sdk/marketplace.ts +1 -1
  189. package/src/sdk/sdk.ts +16 -0
  190. package/vercel-spec.json +508 -87
  191. package/esm/funcs/domainsCreateOrTransferDomain.d.ts +0 -19
  192. package/esm/funcs/domainsCreateOrTransferDomain.d.ts.map +0 -1
  193. package/esm/funcs/domainsCreateOrTransferDomain.js.map +0 -1
  194. package/esm/mcp-server/tools/domainsCreateOrTransferDomain.d.ts +0 -7
  195. package/esm/mcp-server/tools/domainsCreateOrTransferDomain.d.ts.map +0 -1
  196. package/esm/mcp-server/tools/domainsCreateOrTransferDomain.js +0 -28
  197. package/esm/mcp-server/tools/domainsCreateOrTransferDomain.js.map +0 -1
  198. package/esm/models/createortransferdomainop.d.ts +0 -388
  199. package/esm/models/createortransferdomainop.d.ts.map +0 -1
  200. package/esm/models/createortransferdomainop.js +0 -310
  201. package/esm/models/createortransferdomainop.js.map +0 -1
  202. package/src/mcp-server/tools/domainsCreateOrTransferDomain.ts +0 -37
  203. package/src/models/createortransferdomainop.ts +0 -777
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  import { VercelCore } from "../core.js";
6
- import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
6
+ import { encodeFormQuery, encodeJSON, encodeSimple } from "../lib/encodings.js";
7
7
  import * as M from "../lib/matchers.js";
8
8
  import { compactMap } from "../lib/primitives.js";
9
9
  import { safeParse } from "../lib/schemas.js";
@@ -103,7 +103,7 @@ async function $do(
103
103
  return [parsed, { status: "invalid" }];
104
104
  }
105
105
  const payload = parsed.value;
106
- const body = null;
106
+ const body = encodeJSON("body", payload.RequestBody, { explode: true });
107
107
 
108
108
  const pathParams = {
109
109
  domain: encodeSimple("domain", payload.domain, {
@@ -126,6 +126,7 @@ async function $do(
126
126
  });
127
127
 
128
128
  const headers = new Headers(compactMap({
129
+ "Content-Type": "application/json",
129
130
  Accept: "application/json",
130
131
  }));
131
132
 
package/src/lib/config.ts CHANGED
@@ -57,7 +57,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
57
57
  export const SDK_METADATA = {
58
58
  language: "typescript",
59
59
  openapiDocVersion: "0.0.1",
60
- sdkVersion: "1.7.3",
61
- genVersion: "2.599.0",
62
- userAgent: "speakeasy-sdk/typescript 1.7.3 2.599.0 0.0.1 @vercel/sdk",
60
+ sdkVersion: "1.7.5",
61
+ genVersion: "2.605.6",
62
+ userAgent: "speakeasy-sdk/typescript 1.7.5 2.605.6 0.0.1 @vercel/sdk",
63
63
  } as const;
@@ -50,7 +50,7 @@ async function startStdio(flags: StartCommandFlags) {
50
50
  logger,
51
51
  allowedTools: flags.tool,
52
52
  scopes: flags.scope,
53
- ...{ bearerToken: flags["bearer-token"] },
53
+ ...{ bearerToken: flags["bearer-token"] ?? "" },
54
54
  serverURL: flags["server-url"],
55
55
  serverIdx: flags["server-index"],
56
56
  });
@@ -71,7 +71,7 @@ async function startSSE(flags: StartCommandFlags) {
71
71
  logger,
72
72
  allowedTools: flags.tool,
73
73
  scopes: flags.scope,
74
- ...{ bearerToken: flags["bearer-token"] },
74
+ ...{ bearerToken: flags["bearer-token"] ?? "" },
75
75
  serverURL: flags["server-url"],
76
76
  serverIdx: flags["server-index"],
77
77
  });
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "1.7.3",
22
+ currentVersion: "1.7.5",
23
23
  },
24
24
  });
25
25
 
@@ -68,7 +68,6 @@ import { tool$dnsUpdateRecord } from "./tools/dnsUpdateRecord.js";
68
68
  import { tool$domainsBuyDomain } from "./tools/domainsBuyDomain.js";
69
69
  import { tool$domainsCheckDomainPrice } from "./tools/domainsCheckDomainPrice.js";
70
70
  import { tool$domainsCheckDomainStatus } from "./tools/domainsCheckDomainStatus.js";
71
- import { tool$domainsCreateOrTransferDomain } from "./tools/domainsCreateOrTransferDomain.js";
72
71
  import { tool$domainsDeleteDomain } from "./tools/domainsDeleteDomain.js";
73
72
  import { tool$domainsGetDomain } from "./tools/domainsGetDomain.js";
74
73
  import { tool$domainsGetDomainConfig } from "./tools/domainsGetDomainConfig.js";
@@ -124,6 +123,7 @@ import { tool$marketplaceUpdateInvoice } from "./tools/marketplaceUpdateInvoice.
124
123
  import { tool$marketplaceUpdateResourceSecrets } from "./tools/marketplaceUpdateResourceSecrets.js";
125
124
  import { tool$marketplaceUpdateResourceSecretsById } from "./tools/marketplaceUpdateResourceSecretsById.js";
126
125
  import { tool$patchProjectsProjectIdLogsPresetsId } from "./tools/patchProjectsProjectIdLogsPresetsId.js";
126
+ import { tool$postDomains } from "./tools/postDomains.js";
127
127
  import { tool$postProjectsProjectIdLogsPresets } from "./tools/postProjectsProjectIdLogsPresets.js";
128
128
  import { tool$projectMembersAddProjectMember } from "./tools/projectMembersAddProjectMember.js";
129
129
  import { tool$projectMembersGetProjectMembers } from "./tools/projectMembersGetProjectMembers.js";
@@ -191,7 +191,7 @@ export function createMCPServer(deps: {
191
191
  }) {
192
192
  const server = new McpServer({
193
193
  name: "Vercel",
194
- version: "1.7.3",
194
+ version: "1.7.5",
195
195
  });
196
196
 
197
197
  const client = new VercelCore({
@@ -221,6 +221,7 @@ export function createMCPServer(deps: {
221
221
  const register = { tool, resource, resourceTemplate, prompt };
222
222
  void register; // suppress unused warnings
223
223
 
224
+ tool(tool$postDomains);
224
225
  tool(tool$getProjectsProjectIdLogsPresets);
225
226
  tool(tool$postProjectsProjectIdLogsPresets);
226
227
  tool(tool$deleteProjectsProjectIdLogsPresetsId);
@@ -292,7 +293,6 @@ export function createMCPServer(deps: {
292
293
  tool(tool$domainsGetDomainConfig);
293
294
  tool(tool$domainsGetDomain);
294
295
  tool(tool$domainsGetDomains);
295
- tool(tool$domainsCreateOrTransferDomain);
296
296
  tool(tool$domainsPatchDomain);
297
297
  tool(tool$domainsDeleteDomain);
298
298
  tool(tool$dnsGetRecords);
@@ -15,7 +15,7 @@ export const tool$authenticationExchangeSsoToken: ToolDefinition<typeof args> =
15
15
  name: "authentication-exchange-sso-token",
16
16
  description: `SSO Token Exchange
17
17
 
18
- During the autorization process, Vercel sends the user to the provider [redirectLoginUrl](https://vercel.com/docs/integrations/create-integration/submit-integration#redirect-login-url), that includes the OAuth authorization \`code\` parameter. The provider then calls the SSO Token Exchange endpoint with the sent code and receives the OIDC token. They log the user in based on this token and redirects the user back to the Vercel account using deep-link parameters included the redirectLoginUrl. This is used to verify the identity of the user during the [**Open in Provider** flow](https://vercel.com/docs/integrations/marketplace-flows#open-in-provider-button-flow). Providers should not persist the returned \`id_token\` in a database since the token will expire.`,
18
+ During the autorization process, Vercel sends the user to the provider [redirectLoginUrl](https://vercel.com/docs/integrations/create-integration/submit-integration#redirect-login-url), that includes the OAuth authorization \`code\` parameter. The provider then calls the SSO Token Exchange endpoint with the sent code and receives the OIDC token. They log the user in based on this token and redirects the user back to the Vercel account using deep-link parameters included the redirectLoginUrl. Providers should not persist the returned \`id_token\` in a database since the token will expire. See [**Authentication with SSO**](https://vercel.com/docs/integrations/create-integration/marketplace-api#authentication-with-sso) for more details.`,
19
19
  args,
20
20
  tool: async (client, args, ctx) => {
21
21
  const [result, apiCall] = await authenticationExchangeSsoToken(
@@ -32,8 +32,6 @@ Allows to retrieve the content of a file by supplying the file identifier and th
32
32
  };
33
33
  }
34
34
 
35
- const value = result.value;
36
-
37
- return formatResult(value, apiCall);
35
+ return formatResult(void 0, apiCall);
38
36
  },
39
37
  };
@@ -14,7 +14,7 @@ export const tool$marketplaceExchangeSsoToken: ToolDefinition<typeof args> = {
14
14
  name: "marketplace-exchange-sso-token",
15
15
  description: `SSO Token Exchange
16
16
 
17
- During the autorization process, Vercel sends the user to the provider [redirectLoginUrl](https://vercel.com/docs/integrations/create-integration/submit-integration#redirect-login-url), that includes the OAuth authorization \`code\` parameter. The provider then calls the SSO Token Exchange endpoint with the sent code and receives the OIDC token. They log the user in based on this token and redirects the user back to the Vercel account using deep-link parameters included the redirectLoginUrl. This is used to verify the identity of the user during the [**Open in Provider** flow](https://vercel.com/docs/integrations/marketplace-flows#open-in-provider-button-flow). Providers should not persist the returned \`id_token\` in a database since the token will expire.`,
17
+ During the autorization process, Vercel sends the user to the provider [redirectLoginUrl](https://vercel.com/docs/integrations/create-integration/submit-integration#redirect-login-url), that includes the OAuth authorization \`code\` parameter. The provider then calls the SSO Token Exchange endpoint with the sent code and receives the OIDC token. They log the user in based on this token and redirects the user back to the Vercel account using deep-link parameters included the redirectLoginUrl. Providers should not persist the returned \`id_token\` in a database since the token will expire. See [**Authentication with SSO**](https://vercel.com/docs/integrations/create-integration/marketplace-api#authentication-with-sso) for more details.`,
18
18
  args,
19
19
  tool: async (client, args, ctx) => {
20
20
  const [result, apiCall] = await marketplaceExchangeSsoToken(
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { postDomains } from "../../funcs/postDomains.js";
6
+ import { PostDomainsRequestBody$inboundSchema } from "../../models/postdomainsop.js";
7
+ import { formatResult, ToolDefinition } from "../tools.js";
8
+
9
+ const args = {
10
+ request: PostDomainsRequestBody$inboundSchema.optional(),
11
+ };
12
+
13
+ export const tool$postDomains: ToolDefinition<typeof args> = {
14
+ name: "post-domains",
15
+ description: ``,
16
+ args,
17
+ tool: async (client, args, ctx) => {
18
+ const [result, apiCall] = await postDomains(
19
+ client,
20
+ args.request,
21
+ { fetchOptions: { signal: ctx.signal } },
22
+ ).$inspect();
23
+
24
+ if (!result.ok) {
25
+ return {
26
+ content: [{ type: "text", text: result.error.message }],
27
+ isError: true,
28
+ };
29
+ }
30
+
31
+ const value = result.value;
32
+
33
+ return formatResult(value, apiCall);
34
+ },
35
+ };
@@ -1014,6 +1014,10 @@ export type CancelDeploymentMicrofrontends2 = {
1014
1014
  */
1015
1015
  applications?: { [k: string]: MicrofrontendsApplications } | undefined;
1016
1016
  isDefaultApp: boolean;
1017
+ /**
1018
+ * The project name of the default app of this deployment's microfrontends group.
1019
+ */
1020
+ defaultAppProjectName: string;
1017
1021
  /**
1018
1022
  * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI.
1019
1023
  */
@@ -1029,6 +1033,10 @@ export type CancelDeploymentMicrofrontends1 = {
1029
1033
  * Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends.
1030
1034
  */
1031
1035
  isDefaultApp?: boolean | undefined;
1036
+ /**
1037
+ * The project name of the default app of this deployment's microfrontends group.
1038
+ */
1039
+ defaultAppProjectName: string;
1032
1040
  /**
1033
1041
  * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI.
1034
1042
  */
@@ -6381,6 +6389,7 @@ export const CancelDeploymentMicrofrontends2$inboundSchema: z.ZodType<
6381
6389
  applications: z.record(z.lazy(() => MicrofrontendsApplications$inboundSchema))
6382
6390
  .optional(),
6383
6391
  isDefaultApp: z.boolean(),
6392
+ defaultAppProjectName: z.string(),
6384
6393
  defaultRoute: z.string().optional(),
6385
6394
  groupIds: z.array(z.string()),
6386
6395
  });
@@ -6391,6 +6400,7 @@ export type CancelDeploymentMicrofrontends2$Outbound = {
6391
6400
  | { [k: string]: MicrofrontendsApplications$Outbound }
6392
6401
  | undefined;
6393
6402
  isDefaultApp: boolean;
6403
+ defaultAppProjectName: string;
6394
6404
  defaultRoute?: string | undefined;
6395
6405
  groupIds: Array<string>;
6396
6406
  };
@@ -6405,6 +6415,7 @@ export const CancelDeploymentMicrofrontends2$outboundSchema: z.ZodType<
6405
6415
  z.lazy(() => MicrofrontendsApplications$outboundSchema),
6406
6416
  ).optional(),
6407
6417
  isDefaultApp: z.boolean(),
6418
+ defaultAppProjectName: z.string(),
6408
6419
  defaultRoute: z.string().optional(),
6409
6420
  groupIds: z.array(z.string()),
6410
6421
  });
@@ -6449,6 +6460,7 @@ export const CancelDeploymentMicrofrontends1$inboundSchema: z.ZodType<
6449
6460
  unknown
6450
6461
  > = z.object({
6451
6462
  isDefaultApp: z.boolean().optional(),
6463
+ defaultAppProjectName: z.string(),
6452
6464
  defaultRoute: z.string().optional(),
6453
6465
  groupIds: z.array(z.string()),
6454
6466
  });
@@ -6456,6 +6468,7 @@ export const CancelDeploymentMicrofrontends1$inboundSchema: z.ZodType<
6456
6468
  /** @internal */
6457
6469
  export type CancelDeploymentMicrofrontends1$Outbound = {
6458
6470
  isDefaultApp?: boolean | undefined;
6471
+ defaultAppProjectName: string;
6459
6472
  defaultRoute?: string | undefined;
6460
6473
  groupIds: Array<string>;
6461
6474
  };
@@ -6467,6 +6480,7 @@ export const CancelDeploymentMicrofrontends1$outboundSchema: z.ZodType<
6467
6480
  CancelDeploymentMicrofrontends1
6468
6481
  > = z.object({
6469
6482
  isDefaultApp: z.boolean().optional(),
6483
+ defaultAppProjectName: z.string(),
6470
6484
  defaultRoute: z.string().optional(),
6471
6485
  groupIds: z.array(z.string()),
6472
6486
  });
@@ -1139,6 +1139,10 @@ export type CreateDeploymentMicrofrontends2 = {
1139
1139
  */
1140
1140
  applications?: { [k: string]: Applications } | undefined;
1141
1141
  isDefaultApp: boolean;
1142
+ /**
1143
+ * The project name of the default app of this deployment's microfrontends group.
1144
+ */
1145
+ defaultAppProjectName: string;
1142
1146
  /**
1143
1147
  * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI.
1144
1148
  */
@@ -1154,6 +1158,10 @@ export type CreateDeploymentMicrofrontends1 = {
1154
1158
  * Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends.
1155
1159
  */
1156
1160
  isDefaultApp?: boolean | undefined;
1161
+ /**
1162
+ * The project name of the default app of this deployment's microfrontends group.
1163
+ */
1164
+ defaultAppProjectName: string;
1157
1165
  /**
1158
1166
  * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI.
1159
1167
  */
@@ -6139,6 +6147,7 @@ export const CreateDeploymentMicrofrontends2$inboundSchema: z.ZodType<
6139
6147
  > = z.object({
6140
6148
  applications: z.record(z.lazy(() => Applications$inboundSchema)).optional(),
6141
6149
  isDefaultApp: z.boolean(),
6150
+ defaultAppProjectName: z.string(),
6142
6151
  defaultRoute: z.string().optional(),
6143
6152
  groupIds: z.array(z.string()),
6144
6153
  });
@@ -6147,6 +6156,7 @@ export const CreateDeploymentMicrofrontends2$inboundSchema: z.ZodType<
6147
6156
  export type CreateDeploymentMicrofrontends2$Outbound = {
6148
6157
  applications?: { [k: string]: Applications$Outbound } | undefined;
6149
6158
  isDefaultApp: boolean;
6159
+ defaultAppProjectName: string;
6150
6160
  defaultRoute?: string | undefined;
6151
6161
  groupIds: Array<string>;
6152
6162
  };
@@ -6159,6 +6169,7 @@ export const CreateDeploymentMicrofrontends2$outboundSchema: z.ZodType<
6159
6169
  > = z.object({
6160
6170
  applications: z.record(z.lazy(() => Applications$outboundSchema)).optional(),
6161
6171
  isDefaultApp: z.boolean(),
6172
+ defaultAppProjectName: z.string(),
6162
6173
  defaultRoute: z.string().optional(),
6163
6174
  groupIds: z.array(z.string()),
6164
6175
  });
@@ -6203,6 +6214,7 @@ export const CreateDeploymentMicrofrontends1$inboundSchema: z.ZodType<
6203
6214
  unknown
6204
6215
  > = z.object({
6205
6216
  isDefaultApp: z.boolean().optional(),
6217
+ defaultAppProjectName: z.string(),
6206
6218
  defaultRoute: z.string().optional(),
6207
6219
  groupIds: z.array(z.string()),
6208
6220
  });
@@ -6210,6 +6222,7 @@ export const CreateDeploymentMicrofrontends1$inboundSchema: z.ZodType<
6210
6222
  /** @internal */
6211
6223
  export type CreateDeploymentMicrofrontends1$Outbound = {
6212
6224
  isDefaultApp?: boolean | undefined;
6225
+ defaultAppProjectName: string;
6213
6226
  defaultRoute?: string | undefined;
6214
6227
  groupIds: Array<string>;
6215
6228
  };
@@ -6221,6 +6234,7 @@ export const CreateDeploymentMicrofrontends1$outboundSchema: z.ZodType<
6221
6234
  CreateDeploymentMicrofrontends1
6222
6235
  > = z.object({
6223
6236
  isDefaultApp: z.boolean().optional(),
6237
+ defaultAppProjectName: z.string(),
6224
6238
  defaultRoute: z.string().optional(),
6225
6239
  groupIds: z.array(z.string()),
6226
6240
  });
@@ -325,6 +325,29 @@ export type CreateProjectSpeedInsights = {
325
325
  paidAt?: number | undefined;
326
326
  };
327
327
 
328
+ export const CreateProjectEnvId2 = {
329
+ Production: "production",
330
+ Preview: "preview",
331
+ } as const;
332
+ export type CreateProjectEnvId2 = ClosedEnum<typeof CreateProjectEnvId2>;
333
+
334
+ export type CreateProjectEnvId = string | CreateProjectEnvId2;
335
+
336
+ export type CreateProjectAws = {
337
+ subnetIds: Array<string>;
338
+ securityGroupId: string;
339
+ };
340
+
341
+ export type CreateProjectConnectConfigurations = {
342
+ envId: string | CreateProjectEnvId2;
343
+ connectConfigurationId: string;
344
+ passive: boolean;
345
+ buildsEnabled: boolean;
346
+ aws?: CreateProjectAws | undefined;
347
+ createdAt: number;
348
+ updatedAt: number;
349
+ };
350
+
328
351
  export type CreateProjectDefinitions = {
329
352
  /**
330
353
  * The hostname that should be used.
@@ -1649,6 +1672,7 @@ export type CreateProjectPermissions = {
1649
1672
  deploymentPrivate?: Array<ACLAction> | undefined;
1650
1673
  deploymentPromote?: Array<ACLAction> | undefined;
1651
1674
  deploymentRollback?: Array<ACLAction> | undefined;
1675
+ edgeCacheNamespace?: Array<ACLAction> | undefined;
1652
1676
  environments?: Array<ACLAction> | undefined;
1653
1677
  logs?: Array<ACLAction> | undefined;
1654
1678
  logsPreset?: Array<ACLAction> | undefined;
@@ -2064,8 +2088,13 @@ export type CreateProjectResponseBody = {
2064
2088
  autoAssignCustomDomainsUpdatedBy?: string | undefined;
2065
2089
  buildCommand?: string | null | undefined;
2066
2090
  commandForIgnoringBuildStep?: string | null | undefined;
2091
+ connectConfigurations?:
2092
+ | Array<CreateProjectConnectConfigurations>
2093
+ | null
2094
+ | undefined;
2067
2095
  connectConfigurationId?: string | null | undefined;
2068
2096
  connectBuildsEnabled?: boolean | undefined;
2097
+ passiveConnectConfigurationId?: string | null | undefined;
2069
2098
  createdAt?: number | undefined;
2070
2099
  customerSupportCodeVisibility?: boolean | undefined;
2071
2100
  crons?: CreateProjectCrons | undefined;
@@ -2096,7 +2125,6 @@ export type CreateProjectResponseBody = {
2096
2125
  nodeVersion: CreateProjectNodeVersion;
2097
2126
  optionsAllowlist?: CreateProjectOptionsAllowlist | null | undefined;
2098
2127
  outputDirectory?: string | null | undefined;
2099
- passiveConnectConfigurationId?: string | null | undefined;
2100
2128
  passwordProtection?: CreateProjectPasswordProtection | null | undefined;
2101
2129
  productionDeploymentsFastLane?: boolean | undefined;
2102
2130
  publicSource?: boolean | null | undefined;
@@ -2927,6 +2955,208 @@ export function createProjectSpeedInsightsFromJSON(
2927
2955
  );
2928
2956
  }
2929
2957
 
2958
+ /** @internal */
2959
+ export const CreateProjectEnvId2$inboundSchema: z.ZodNativeEnum<
2960
+ typeof CreateProjectEnvId2
2961
+ > = z.nativeEnum(CreateProjectEnvId2);
2962
+
2963
+ /** @internal */
2964
+ export const CreateProjectEnvId2$outboundSchema: z.ZodNativeEnum<
2965
+ typeof CreateProjectEnvId2
2966
+ > = CreateProjectEnvId2$inboundSchema;
2967
+
2968
+ /**
2969
+ * @internal
2970
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2971
+ */
2972
+ export namespace CreateProjectEnvId2$ {
2973
+ /** @deprecated use `CreateProjectEnvId2$inboundSchema` instead. */
2974
+ export const inboundSchema = CreateProjectEnvId2$inboundSchema;
2975
+ /** @deprecated use `CreateProjectEnvId2$outboundSchema` instead. */
2976
+ export const outboundSchema = CreateProjectEnvId2$outboundSchema;
2977
+ }
2978
+
2979
+ /** @internal */
2980
+ export const CreateProjectEnvId$inboundSchema: z.ZodType<
2981
+ CreateProjectEnvId,
2982
+ z.ZodTypeDef,
2983
+ unknown
2984
+ > = z.union([z.string(), CreateProjectEnvId2$inboundSchema]);
2985
+
2986
+ /** @internal */
2987
+ export type CreateProjectEnvId$Outbound = string | string;
2988
+
2989
+ /** @internal */
2990
+ export const CreateProjectEnvId$outboundSchema: z.ZodType<
2991
+ CreateProjectEnvId$Outbound,
2992
+ z.ZodTypeDef,
2993
+ CreateProjectEnvId
2994
+ > = z.union([z.string(), CreateProjectEnvId2$outboundSchema]);
2995
+
2996
+ /**
2997
+ * @internal
2998
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2999
+ */
3000
+ export namespace CreateProjectEnvId$ {
3001
+ /** @deprecated use `CreateProjectEnvId$inboundSchema` instead. */
3002
+ export const inboundSchema = CreateProjectEnvId$inboundSchema;
3003
+ /** @deprecated use `CreateProjectEnvId$outboundSchema` instead. */
3004
+ export const outboundSchema = CreateProjectEnvId$outboundSchema;
3005
+ /** @deprecated use `CreateProjectEnvId$Outbound` instead. */
3006
+ export type Outbound = CreateProjectEnvId$Outbound;
3007
+ }
3008
+
3009
+ export function createProjectEnvIdToJSON(
3010
+ createProjectEnvId: CreateProjectEnvId,
3011
+ ): string {
3012
+ return JSON.stringify(
3013
+ CreateProjectEnvId$outboundSchema.parse(createProjectEnvId),
3014
+ );
3015
+ }
3016
+
3017
+ export function createProjectEnvIdFromJSON(
3018
+ jsonString: string,
3019
+ ): SafeParseResult<CreateProjectEnvId, SDKValidationError> {
3020
+ return safeParse(
3021
+ jsonString,
3022
+ (x) => CreateProjectEnvId$inboundSchema.parse(JSON.parse(x)),
3023
+ `Failed to parse 'CreateProjectEnvId' from JSON`,
3024
+ );
3025
+ }
3026
+
3027
+ /** @internal */
3028
+ export const CreateProjectAws$inboundSchema: z.ZodType<
3029
+ CreateProjectAws,
3030
+ z.ZodTypeDef,
3031
+ unknown
3032
+ > = z.object({
3033
+ subnetIds: z.array(z.string()),
3034
+ securityGroupId: z.string(),
3035
+ });
3036
+
3037
+ /** @internal */
3038
+ export type CreateProjectAws$Outbound = {
3039
+ subnetIds: Array<string>;
3040
+ securityGroupId: string;
3041
+ };
3042
+
3043
+ /** @internal */
3044
+ export const CreateProjectAws$outboundSchema: z.ZodType<
3045
+ CreateProjectAws$Outbound,
3046
+ z.ZodTypeDef,
3047
+ CreateProjectAws
3048
+ > = z.object({
3049
+ subnetIds: z.array(z.string()),
3050
+ securityGroupId: z.string(),
3051
+ });
3052
+
3053
+ /**
3054
+ * @internal
3055
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3056
+ */
3057
+ export namespace CreateProjectAws$ {
3058
+ /** @deprecated use `CreateProjectAws$inboundSchema` instead. */
3059
+ export const inboundSchema = CreateProjectAws$inboundSchema;
3060
+ /** @deprecated use `CreateProjectAws$outboundSchema` instead. */
3061
+ export const outboundSchema = CreateProjectAws$outboundSchema;
3062
+ /** @deprecated use `CreateProjectAws$Outbound` instead. */
3063
+ export type Outbound = CreateProjectAws$Outbound;
3064
+ }
3065
+
3066
+ export function createProjectAwsToJSON(
3067
+ createProjectAws: CreateProjectAws,
3068
+ ): string {
3069
+ return JSON.stringify(
3070
+ CreateProjectAws$outboundSchema.parse(createProjectAws),
3071
+ );
3072
+ }
3073
+
3074
+ export function createProjectAwsFromJSON(
3075
+ jsonString: string,
3076
+ ): SafeParseResult<CreateProjectAws, SDKValidationError> {
3077
+ return safeParse(
3078
+ jsonString,
3079
+ (x) => CreateProjectAws$inboundSchema.parse(JSON.parse(x)),
3080
+ `Failed to parse 'CreateProjectAws' from JSON`,
3081
+ );
3082
+ }
3083
+
3084
+ /** @internal */
3085
+ export const CreateProjectConnectConfigurations$inboundSchema: z.ZodType<
3086
+ CreateProjectConnectConfigurations,
3087
+ z.ZodTypeDef,
3088
+ unknown
3089
+ > = z.object({
3090
+ envId: z.union([z.string(), CreateProjectEnvId2$inboundSchema]),
3091
+ connectConfigurationId: z.string(),
3092
+ passive: z.boolean(),
3093
+ buildsEnabled: z.boolean(),
3094
+ aws: z.lazy(() => CreateProjectAws$inboundSchema).optional(),
3095
+ createdAt: z.number(),
3096
+ updatedAt: z.number(),
3097
+ });
3098
+
3099
+ /** @internal */
3100
+ export type CreateProjectConnectConfigurations$Outbound = {
3101
+ envId: string | string;
3102
+ connectConfigurationId: string;
3103
+ passive: boolean;
3104
+ buildsEnabled: boolean;
3105
+ aws?: CreateProjectAws$Outbound | undefined;
3106
+ createdAt: number;
3107
+ updatedAt: number;
3108
+ };
3109
+
3110
+ /** @internal */
3111
+ export const CreateProjectConnectConfigurations$outboundSchema: z.ZodType<
3112
+ CreateProjectConnectConfigurations$Outbound,
3113
+ z.ZodTypeDef,
3114
+ CreateProjectConnectConfigurations
3115
+ > = z.object({
3116
+ envId: z.union([z.string(), CreateProjectEnvId2$outboundSchema]),
3117
+ connectConfigurationId: z.string(),
3118
+ passive: z.boolean(),
3119
+ buildsEnabled: z.boolean(),
3120
+ aws: z.lazy(() => CreateProjectAws$outboundSchema).optional(),
3121
+ createdAt: z.number(),
3122
+ updatedAt: z.number(),
3123
+ });
3124
+
3125
+ /**
3126
+ * @internal
3127
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3128
+ */
3129
+ export namespace CreateProjectConnectConfigurations$ {
3130
+ /** @deprecated use `CreateProjectConnectConfigurations$inboundSchema` instead. */
3131
+ export const inboundSchema = CreateProjectConnectConfigurations$inboundSchema;
3132
+ /** @deprecated use `CreateProjectConnectConfigurations$outboundSchema` instead. */
3133
+ export const outboundSchema =
3134
+ CreateProjectConnectConfigurations$outboundSchema;
3135
+ /** @deprecated use `CreateProjectConnectConfigurations$Outbound` instead. */
3136
+ export type Outbound = CreateProjectConnectConfigurations$Outbound;
3137
+ }
3138
+
3139
+ export function createProjectConnectConfigurationsToJSON(
3140
+ createProjectConnectConfigurations: CreateProjectConnectConfigurations,
3141
+ ): string {
3142
+ return JSON.stringify(
3143
+ CreateProjectConnectConfigurations$outboundSchema.parse(
3144
+ createProjectConnectConfigurations,
3145
+ ),
3146
+ );
3147
+ }
3148
+
3149
+ export function createProjectConnectConfigurationsFromJSON(
3150
+ jsonString: string,
3151
+ ): SafeParseResult<CreateProjectConnectConfigurations, SDKValidationError> {
3152
+ return safeParse(
3153
+ jsonString,
3154
+ (x) =>
3155
+ CreateProjectConnectConfigurations$inboundSchema.parse(JSON.parse(x)),
3156
+ `Failed to parse 'CreateProjectConnectConfigurations' from JSON`,
3157
+ );
3158
+ }
3159
+
2930
3160
  /** @internal */
2931
3161
  export const CreateProjectDefinitions$inboundSchema: z.ZodType<
2932
3162
  CreateProjectDefinitions,
@@ -8627,6 +8857,7 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType<
8627
8857
  deploymentPrivate: z.array(ACLAction$inboundSchema).optional(),
8628
8858
  deploymentPromote: z.array(ACLAction$inboundSchema).optional(),
8629
8859
  deploymentRollback: z.array(ACLAction$inboundSchema).optional(),
8860
+ edgeCacheNamespace: z.array(ACLAction$inboundSchema).optional(),
8630
8861
  environments: z.array(ACLAction$inboundSchema).optional(),
8631
8862
  logs: z.array(ACLAction$inboundSchema).optional(),
8632
8863
  logsPreset: z.array(ACLAction$inboundSchema).optional(),
@@ -8833,6 +9064,7 @@ export type CreateProjectPermissions$Outbound = {
8833
9064
  deploymentPrivate?: Array<string> | undefined;
8834
9065
  deploymentPromote?: Array<string> | undefined;
8835
9066
  deploymentRollback?: Array<string> | undefined;
9067
+ edgeCacheNamespace?: Array<string> | undefined;
8836
9068
  environments?: Array<string> | undefined;
8837
9069
  logs?: Array<string> | undefined;
8838
9070
  logsPreset?: Array<string> | undefined;
@@ -9042,6 +9274,7 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType<
9042
9274
  deploymentPrivate: z.array(ACLAction$outboundSchema).optional(),
9043
9275
  deploymentPromote: z.array(ACLAction$outboundSchema).optional(),
9044
9276
  deploymentRollback: z.array(ACLAction$outboundSchema).optional(),
9277
+ edgeCacheNamespace: z.array(ACLAction$outboundSchema).optional(),
9045
9278
  environments: z.array(ACLAction$outboundSchema).optional(),
9046
9279
  logs: z.array(ACLAction$outboundSchema).optional(),
9047
9280
  logsPreset: z.array(ACLAction$outboundSchema).optional(),
@@ -11185,8 +11418,12 @@ export const CreateProjectResponseBody$inboundSchema: z.ZodType<
11185
11418
  autoAssignCustomDomainsUpdatedBy: z.string().optional(),
11186
11419
  buildCommand: z.nullable(z.string()).optional(),
11187
11420
  commandForIgnoringBuildStep: z.nullable(z.string()).optional(),
11421
+ connectConfigurations: z.nullable(
11422
+ z.array(z.lazy(() => CreateProjectConnectConfigurations$inboundSchema)),
11423
+ ).optional(),
11188
11424
  connectConfigurationId: z.nullable(z.string()).optional(),
11189
11425
  connectBuildsEnabled: z.boolean().optional(),
11426
+ passiveConnectConfigurationId: z.nullable(z.string()).optional(),
11190
11427
  createdAt: z.number().optional(),
11191
11428
  customerSupportCodeVisibility: z.boolean().optional(),
11192
11429
  crons: z.lazy(() => CreateProjectCrons$inboundSchema).optional(),
@@ -11227,7 +11464,6 @@ export const CreateProjectResponseBody$inboundSchema: z.ZodType<
11227
11464
  z.lazy(() => CreateProjectOptionsAllowlist$inboundSchema),
11228
11465
  ).optional(),
11229
11466
  outputDirectory: z.nullable(z.string()).optional(),
11230
- passiveConnectConfigurationId: z.nullable(z.string()).optional(),
11231
11467
  passwordProtection: z.nullable(
11232
11468
  z.lazy(() => CreateProjectPasswordProtection$inboundSchema),
11233
11469
  ).optional(),
@@ -11308,8 +11544,13 @@ export type CreateProjectResponseBody$Outbound = {
11308
11544
  autoAssignCustomDomainsUpdatedBy?: string | undefined;
11309
11545
  buildCommand?: string | null | undefined;
11310
11546
  commandForIgnoringBuildStep?: string | null | undefined;
11547
+ connectConfigurations?:
11548
+ | Array<CreateProjectConnectConfigurations$Outbound>
11549
+ | null
11550
+ | undefined;
11311
11551
  connectConfigurationId?: string | null | undefined;
11312
11552
  connectBuildsEnabled?: boolean | undefined;
11553
+ passiveConnectConfigurationId?: string | null | undefined;
11313
11554
  createdAt?: number | undefined;
11314
11555
  customerSupportCodeVisibility?: boolean | undefined;
11315
11556
  crons?: CreateProjectCrons$Outbound | undefined;
@@ -11347,7 +11588,6 @@ export type CreateProjectResponseBody$Outbound = {
11347
11588
  nodeVersion: string;
11348
11589
  optionsAllowlist?: CreateProjectOptionsAllowlist$Outbound | null | undefined;
11349
11590
  outputDirectory?: string | null | undefined;
11350
- passiveConnectConfigurationId?: string | null | undefined;
11351
11591
  passwordProtection?:
11352
11592
  | CreateProjectPasswordProtection$Outbound
11353
11593
  | null
@@ -11417,8 +11657,12 @@ export const CreateProjectResponseBody$outboundSchema: z.ZodType<
11417
11657
  autoAssignCustomDomainsUpdatedBy: z.string().optional(),
11418
11658
  buildCommand: z.nullable(z.string()).optional(),
11419
11659
  commandForIgnoringBuildStep: z.nullable(z.string()).optional(),
11660
+ connectConfigurations: z.nullable(
11661
+ z.array(z.lazy(() => CreateProjectConnectConfigurations$outboundSchema)),
11662
+ ).optional(),
11420
11663
  connectConfigurationId: z.nullable(z.string()).optional(),
11421
11664
  connectBuildsEnabled: z.boolean().optional(),
11665
+ passiveConnectConfigurationId: z.nullable(z.string()).optional(),
11422
11666
  createdAt: z.number().optional(),
11423
11667
  customerSupportCodeVisibility: z.boolean().optional(),
11424
11668
  crons: z.lazy(() => CreateProjectCrons$outboundSchema).optional(),
@@ -11459,7 +11703,6 @@ export const CreateProjectResponseBody$outboundSchema: z.ZodType<
11459
11703
  z.lazy(() => CreateProjectOptionsAllowlist$outboundSchema),
11460
11704
  ).optional(),
11461
11705
  outputDirectory: z.nullable(z.string()).optional(),
11462
- passiveConnectConfigurationId: z.nullable(z.string()).optional(),
11463
11706
  passwordProtection: z.nullable(
11464
11707
  z.lazy(() => CreateProjectPasswordProtection$outboundSchema),
11465
11708
  ).optional(),