@vercel/sdk 1.7.4 → 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 (164) hide show
  1. package/README.md +6 -6
  2. package/bin/mcp-server.js +559 -272
  3. package/bin/mcp-server.js.map +35 -35
  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 -2
  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 +2 -2
  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__/projects.test.js +13 -15
  19. package/esm/__tests__/projects.test.js.map +1 -1
  20. package/esm/funcs/authenticationExchangeSsoToken.d.ts +1 -1
  21. package/esm/funcs/authenticationExchangeSsoToken.js +1 -1
  22. package/esm/funcs/certsGetCertById.js +1 -1
  23. package/esm/funcs/certsIssueCert.js +1 -1
  24. package/esm/funcs/certsRemoveCert.js +1 -1
  25. package/esm/funcs/certsUploadCert.js +1 -1
  26. package/esm/funcs/deploymentsGetDeploymentFileContents.d.ts +2 -2
  27. package/esm/funcs/deploymentsGetDeploymentFileContents.d.ts.map +1 -1
  28. package/esm/funcs/deploymentsGetDeploymentFileContents.js +4 -3
  29. package/esm/funcs/deploymentsGetDeploymentFileContents.js.map +1 -1
  30. package/esm/funcs/marketplaceExchangeSsoToken.d.ts +1 -1
  31. package/esm/funcs/marketplaceExchangeSsoToken.js +1 -1
  32. package/esm/funcs/projectsRemoveProjectDomain.js +3 -2
  33. package/esm/funcs/projectsRemoveProjectDomain.js.map +1 -1
  34. package/esm/funcs/projectsRequestPromote.js +0 -1
  35. package/esm/funcs/projectsRequestPromote.js.map +1 -1
  36. package/esm/lib/config.d.ts +3 -3
  37. package/esm/lib/config.js +3 -3
  38. package/esm/mcp-server/cli/start/impl.js +2 -2
  39. package/esm/mcp-server/cli/start/impl.js.map +1 -1
  40. package/esm/mcp-server/mcp-server.js +1 -1
  41. package/esm/mcp-server/server.js +1 -1
  42. package/esm/mcp-server/tools/authenticationExchangeSsoToken.js +1 -1
  43. package/esm/mcp-server/tools/authenticationExchangeSsoToken.js.map +1 -1
  44. package/esm/mcp-server/tools/deploymentsGetDeploymentFileContents.d.ts.map +1 -1
  45. package/esm/mcp-server/tools/deploymentsGetDeploymentFileContents.js +1 -2
  46. package/esm/mcp-server/tools/deploymentsGetDeploymentFileContents.js.map +1 -1
  47. package/esm/mcp-server/tools/marketplaceExchangeSsoToken.js +1 -1
  48. package/esm/mcp-server/tools/marketplaceExchangeSsoToken.js.map +1 -1
  49. package/esm/models/canceldeploymentop.d.ts +10 -0
  50. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  51. package/esm/models/canceldeploymentop.js +4 -0
  52. package/esm/models/canceldeploymentop.js.map +1 -1
  53. package/esm/models/createdeploymentop.d.ts +38 -28
  54. package/esm/models/createdeploymentop.d.ts.map +1 -1
  55. package/esm/models/createdeploymentop.js +16 -12
  56. package/esm/models/createdeploymentop.js.map +1 -1
  57. package/esm/models/createprojectop.d.ts +114 -2
  58. package/esm/models/createprojectop.d.ts.map +1 -1
  59. package/esm/models/createprojectop.js +108 -2
  60. package/esm/models/createprojectop.js.map +1 -1
  61. package/esm/models/getdeploymentfilecontentsop.d.ts +0 -31
  62. package/esm/models/getdeploymentfilecontentsop.d.ts.map +1 -1
  63. package/esm/models/getdeploymentfilecontentsop.js +0 -25
  64. package/esm/models/getdeploymentfilecontentsop.js.map +1 -1
  65. package/esm/models/getdeploymentop.d.ts +10 -0
  66. package/esm/models/getdeploymentop.d.ts.map +1 -1
  67. package/esm/models/getdeploymentop.js +4 -0
  68. package/esm/models/getdeploymentop.js.map +1 -1
  69. package/esm/models/getprojectsop.d.ts +114 -2
  70. package/esm/models/getprojectsop.d.ts.map +1 -1
  71. package/esm/models/getprojectsop.js +108 -2
  72. package/esm/models/getprojectsop.js.map +1 -1
  73. package/esm/models/importresourceop.d.ts +9 -0
  74. package/esm/models/importresourceop.d.ts.map +1 -1
  75. package/esm/models/importresourceop.js +2 -0
  76. package/esm/models/importresourceop.js.map +1 -1
  77. package/esm/models/issuecertop.d.ts +2 -2
  78. package/esm/models/issuecertop.d.ts.map +1 -1
  79. package/esm/models/issuecertop.js +2 -2
  80. package/esm/models/issuecertop.js.map +1 -1
  81. package/esm/models/removeprojectdomainop.d.ts +30 -0
  82. package/esm/models/removeprojectdomainop.d.ts.map +1 -1
  83. package/esm/models/removeprojectdomainop.js +38 -0
  84. package/esm/models/removeprojectdomainop.js.map +1 -1
  85. package/esm/models/requestpromoteop.d.ts +0 -5
  86. package/esm/models/requestpromoteop.d.ts.map +1 -1
  87. package/esm/models/requestpromoteop.js +0 -2
  88. package/esm/models/requestpromoteop.js.map +1 -1
  89. package/esm/models/teamlimited.d.ts +13 -13
  90. package/esm/models/teamlimited.d.ts.map +1 -1
  91. package/esm/models/teamlimited.js +6 -6
  92. package/esm/models/teamlimited.js.map +1 -1
  93. package/esm/models/updateprojectdatacacheop.d.ts +114 -2
  94. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  95. package/esm/models/updateprojectdatacacheop.js +108 -2
  96. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  97. package/esm/models/updateprojectop.d.ts +114 -2
  98. package/esm/models/updateprojectop.d.ts.map +1 -1
  99. package/esm/models/updateprojectop.js +108 -2
  100. package/esm/models/updateprojectop.js.map +1 -1
  101. package/esm/models/updateresourcesecretsbyidop.d.ts +9 -0
  102. package/esm/models/updateresourcesecretsbyidop.d.ts.map +1 -1
  103. package/esm/models/updateresourcesecretsbyidop.js +2 -0
  104. package/esm/models/updateresourcesecretsbyidop.js.map +1 -1
  105. package/esm/models/updateresourcesecretsop.d.ts +9 -0
  106. package/esm/models/updateresourcesecretsop.d.ts.map +1 -1
  107. package/esm/models/updateresourcesecretsop.js +2 -0
  108. package/esm/models/updateresourcesecretsop.js.map +1 -1
  109. package/esm/models/uploadcertop.d.ts +2 -2
  110. package/esm/models/uploadcertop.d.ts.map +1 -1
  111. package/esm/models/uploadcertop.js +2 -2
  112. package/esm/models/uploadcertop.js.map +1 -1
  113. package/esm/models/userevent.d.ts +368 -257
  114. package/esm/models/userevent.d.ts.map +1 -1
  115. package/esm/models/userevent.js +423 -315
  116. package/esm/models/userevent.js.map +1 -1
  117. package/esm/sdk/authentication.d.ts +1 -1
  118. package/esm/sdk/authentication.js +1 -1
  119. package/esm/sdk/deployments.d.ts +2 -2
  120. package/esm/sdk/deployments.d.ts.map +1 -1
  121. package/esm/sdk/deployments.js.map +1 -1
  122. package/esm/sdk/marketplace.d.ts +1 -1
  123. package/esm/sdk/marketplace.js +1 -1
  124. package/jsr.json +1 -1
  125. package/package.json +1 -1
  126. package/src/__tests__/deployments.test.ts +1 -2
  127. package/src/__tests__/projects.test.ts +13 -15
  128. package/src/funcs/authenticationExchangeSsoToken.ts +1 -1
  129. package/src/funcs/certsGetCertById.ts +1 -1
  130. package/src/funcs/certsIssueCert.ts +1 -1
  131. package/src/funcs/certsRemoveCert.ts +1 -1
  132. package/src/funcs/certsUploadCert.ts +1 -1
  133. package/src/funcs/deploymentsGetDeploymentFileContents.ts +6 -7
  134. package/src/funcs/marketplaceExchangeSsoToken.ts +1 -1
  135. package/src/funcs/projectsRemoveProjectDomain.ts +3 -2
  136. package/src/funcs/projectsRequestPromote.ts +0 -1
  137. package/src/lib/config.ts +3 -3
  138. package/src/mcp-server/cli/start/impl.ts +2 -2
  139. package/src/mcp-server/mcp-server.ts +1 -1
  140. package/src/mcp-server/server.ts +1 -1
  141. package/src/mcp-server/tools/authenticationExchangeSsoToken.ts +1 -1
  142. package/src/mcp-server/tools/deploymentsGetDeploymentFileContents.ts +1 -3
  143. package/src/mcp-server/tools/marketplaceExchangeSsoToken.ts +1 -1
  144. package/src/models/canceldeploymentop.ts +14 -0
  145. package/src/models/createdeploymentop.ts +30 -16
  146. package/src/models/createprojectop.ts +243 -4
  147. package/src/models/getdeploymentfilecontentsop.ts +0 -69
  148. package/src/models/getdeploymentop.ts +14 -0
  149. package/src/models/getprojectsop.ts +237 -4
  150. package/src/models/importresourceop.ts +7 -0
  151. package/src/models/issuecertop.ts +4 -4
  152. package/src/models/removeprojectdomainop.ts +78 -0
  153. package/src/models/requestpromoteop.ts +0 -7
  154. package/src/models/teamlimited.ts +13 -13
  155. package/src/models/updateprojectdatacacheop.ts +260 -4
  156. package/src/models/updateprojectop.ts +243 -4
  157. package/src/models/updateresourcesecretsbyidop.ts +7 -0
  158. package/src/models/updateresourcesecretsop.ts +7 -0
  159. package/src/models/uploadcertop.ts +4 -4
  160. package/src/models/userevent.ts +798 -582
  161. package/src/sdk/authentication.ts +1 -1
  162. package/src/sdk/deployments.ts +2 -5
  163. package/src/sdk/marketplace.ts +1 -1
  164. package/vercel-spec.json +497 -94
@@ -613,8 +613,8 @@ export type Creator = {
613
613
  };
614
614
 
615
615
  export const CreateDeploymentReadyState = {
616
- Error: "ERROR",
617
616
  Building: "BUILDING",
617
+ Error: "ERROR",
618
618
  Initializing: "INITIALIZING",
619
619
  Ready: "READY",
620
620
  } as const;
@@ -631,10 +631,10 @@ export type CreateDeploymentOutput = {
631
631
  * A partial representation of a Build used by the deployment endpoint.
632
632
  */
633
633
  export type Lambdas = {
634
- createdAt?: number | undefined;
635
634
  id?: string | undefined;
636
- readyState?: CreateDeploymentReadyState | undefined;
635
+ createdAt?: number | undefined;
637
636
  entrypoint?: string | null | undefined;
637
+ readyState?: CreateDeploymentReadyState | undefined;
638
638
  readyStateAt?: number | undefined;
639
639
  output: Array<CreateDeploymentOutput>;
640
640
  };
@@ -677,9 +677,9 @@ export type CustomEnvironmentType = ClosedEnum<typeof CustomEnvironmentType>;
677
677
  * The type of matching to perform
678
678
  */
679
679
  export const CreateDeploymentCustomEnvironmentType = {
680
- EndsWith: "endsWith",
681
680
  StartsWith: "startsWith",
682
681
  Equals: "equals",
682
+ EndsWith: "endsWith",
683
683
  } as const;
684
684
  /**
685
685
  * The type of matching to perform
@@ -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
  */
@@ -1169,14 +1177,14 @@ export type CreateDeploymentMicrofrontends =
1169
1177
  | CreateDeploymentMicrofrontends2;
1170
1178
 
1171
1179
  export const FunctionType = {
1172
- Standard: "standard",
1173
1180
  Fluid: "fluid",
1181
+ Standard: "standard",
1174
1182
  } as const;
1175
1183
  export type FunctionType = ClosedEnum<typeof FunctionType>;
1176
1184
 
1177
1185
  export const FunctionMemoryType = {
1178
- StandardLegacy: "standard_legacy",
1179
1186
  Standard: "standard",
1187
+ StandardLegacy: "standard_legacy",
1180
1188
  Performance: "performance",
1181
1189
  } as const;
1182
1190
  export type FunctionMemoryType = ClosedEnum<typeof FunctionMemoryType>;
@@ -1209,11 +1217,11 @@ export type Routes3 = {
1209
1217
 
1210
1218
  export const RoutesHandle = {
1211
1219
  Error: "error",
1212
- Resource: "resource",
1213
1220
  Filesystem: "filesystem",
1214
1221
  Hit: "hit",
1215
1222
  Miss: "miss",
1216
1223
  Rewrite: "rewrite",
1224
+ Resource: "resource",
1217
1225
  } as const;
1218
1226
  export type RoutesHandle = ClosedEnum<typeof RoutesHandle>;
1219
1227
 
@@ -1326,8 +1334,8 @@ export type CreateDeploymentGitRepoDeploymentsType = ClosedEnum<
1326
1334
  >;
1327
1335
 
1328
1336
  export const CreateDeploymentGitRepoOwnerType = {
1329
- User: "user",
1330
1337
  Team: "team",
1338
+ User: "user",
1331
1339
  } as const;
1332
1340
  export type CreateDeploymentGitRepoOwnerType = ClosedEnum<
1333
1341
  typeof CreateDeploymentGitRepoOwnerType
@@ -1354,8 +1362,8 @@ export type CreateDeploymentGitRepoType = ClosedEnum<
1354
1362
  >;
1355
1363
 
1356
1364
  export const GitRepoOwnerType = {
1357
- User: "user",
1358
1365
  Team: "team",
1366
+ User: "user",
1359
1367
  } as const;
1360
1368
  export type GitRepoOwnerType = ClosedEnum<typeof GitRepoOwnerType>;
1361
1369
 
@@ -1378,8 +1386,8 @@ export const GitRepoType = {
1378
1386
  export type GitRepoType = ClosedEnum<typeof GitRepoType>;
1379
1387
 
1380
1388
  export const OwnerType = {
1381
- User: "user",
1382
1389
  Team: "team",
1390
+ User: "user",
1383
1391
  } as const;
1384
1392
  export type OwnerType = ClosedEnum<typeof OwnerType>;
1385
1393
 
@@ -3660,20 +3668,20 @@ export function createDeploymentOutputFromJSON(
3660
3668
  /** @internal */
3661
3669
  export const Lambdas$inboundSchema: z.ZodType<Lambdas, z.ZodTypeDef, unknown> =
3662
3670
  z.object({
3663
- createdAt: z.number().optional(),
3664
3671
  id: z.string().optional(),
3665
- readyState: CreateDeploymentReadyState$inboundSchema.optional(),
3672
+ createdAt: z.number().optional(),
3666
3673
  entrypoint: z.nullable(z.string()).optional(),
3674
+ readyState: CreateDeploymentReadyState$inboundSchema.optional(),
3667
3675
  readyStateAt: z.number().optional(),
3668
3676
  output: z.array(z.lazy(() => CreateDeploymentOutput$inboundSchema)),
3669
3677
  });
3670
3678
 
3671
3679
  /** @internal */
3672
3680
  export type Lambdas$Outbound = {
3673
- createdAt?: number | undefined;
3674
3681
  id?: string | undefined;
3675
- readyState?: string | undefined;
3682
+ createdAt?: number | undefined;
3676
3683
  entrypoint?: string | null | undefined;
3684
+ readyState?: string | undefined;
3677
3685
  readyStateAt?: number | undefined;
3678
3686
  output: Array<CreateDeploymentOutput$Outbound>;
3679
3687
  };
@@ -3684,10 +3692,10 @@ export const Lambdas$outboundSchema: z.ZodType<
3684
3692
  z.ZodTypeDef,
3685
3693
  Lambdas
3686
3694
  > = z.object({
3687
- createdAt: z.number().optional(),
3688
3695
  id: z.string().optional(),
3689
- readyState: CreateDeploymentReadyState$outboundSchema.optional(),
3696
+ createdAt: z.number().optional(),
3690
3697
  entrypoint: z.nullable(z.string()).optional(),
3698
+ readyState: CreateDeploymentReadyState$outboundSchema.optional(),
3691
3699
  readyStateAt: z.number().optional(),
3692
3700
  output: z.array(z.lazy(() => CreateDeploymentOutput$outboundSchema)),
3693
3701
  });
@@ -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.
@@ -2065,8 +2088,13 @@ export type CreateProjectResponseBody = {
2065
2088
  autoAssignCustomDomainsUpdatedBy?: string | undefined;
2066
2089
  buildCommand?: string | null | undefined;
2067
2090
  commandForIgnoringBuildStep?: string | null | undefined;
2091
+ connectConfigurations?:
2092
+ | Array<CreateProjectConnectConfigurations>
2093
+ | null
2094
+ | undefined;
2068
2095
  connectConfigurationId?: string | null | undefined;
2069
2096
  connectBuildsEnabled?: boolean | undefined;
2097
+ passiveConnectConfigurationId?: string | null | undefined;
2070
2098
  createdAt?: number | undefined;
2071
2099
  customerSupportCodeVisibility?: boolean | undefined;
2072
2100
  crons?: CreateProjectCrons | undefined;
@@ -2097,7 +2125,6 @@ export type CreateProjectResponseBody = {
2097
2125
  nodeVersion: CreateProjectNodeVersion;
2098
2126
  optionsAllowlist?: CreateProjectOptionsAllowlist | null | undefined;
2099
2127
  outputDirectory?: string | null | undefined;
2100
- passiveConnectConfigurationId?: string | null | undefined;
2101
2128
  passwordProtection?: CreateProjectPasswordProtection | null | undefined;
2102
2129
  productionDeploymentsFastLane?: boolean | undefined;
2103
2130
  publicSource?: boolean | null | undefined;
@@ -2928,6 +2955,208 @@ export function createProjectSpeedInsightsFromJSON(
2928
2955
  );
2929
2956
  }
2930
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
+
2931
3160
  /** @internal */
2932
3161
  export const CreateProjectDefinitions$inboundSchema: z.ZodType<
2933
3162
  CreateProjectDefinitions,
@@ -11189,8 +11418,12 @@ export const CreateProjectResponseBody$inboundSchema: z.ZodType<
11189
11418
  autoAssignCustomDomainsUpdatedBy: z.string().optional(),
11190
11419
  buildCommand: z.nullable(z.string()).optional(),
11191
11420
  commandForIgnoringBuildStep: z.nullable(z.string()).optional(),
11421
+ connectConfigurations: z.nullable(
11422
+ z.array(z.lazy(() => CreateProjectConnectConfigurations$inboundSchema)),
11423
+ ).optional(),
11192
11424
  connectConfigurationId: z.nullable(z.string()).optional(),
11193
11425
  connectBuildsEnabled: z.boolean().optional(),
11426
+ passiveConnectConfigurationId: z.nullable(z.string()).optional(),
11194
11427
  createdAt: z.number().optional(),
11195
11428
  customerSupportCodeVisibility: z.boolean().optional(),
11196
11429
  crons: z.lazy(() => CreateProjectCrons$inboundSchema).optional(),
@@ -11231,7 +11464,6 @@ export const CreateProjectResponseBody$inboundSchema: z.ZodType<
11231
11464
  z.lazy(() => CreateProjectOptionsAllowlist$inboundSchema),
11232
11465
  ).optional(),
11233
11466
  outputDirectory: z.nullable(z.string()).optional(),
11234
- passiveConnectConfigurationId: z.nullable(z.string()).optional(),
11235
11467
  passwordProtection: z.nullable(
11236
11468
  z.lazy(() => CreateProjectPasswordProtection$inboundSchema),
11237
11469
  ).optional(),
@@ -11312,8 +11544,13 @@ export type CreateProjectResponseBody$Outbound = {
11312
11544
  autoAssignCustomDomainsUpdatedBy?: string | undefined;
11313
11545
  buildCommand?: string | null | undefined;
11314
11546
  commandForIgnoringBuildStep?: string | null | undefined;
11547
+ connectConfigurations?:
11548
+ | Array<CreateProjectConnectConfigurations$Outbound>
11549
+ | null
11550
+ | undefined;
11315
11551
  connectConfigurationId?: string | null | undefined;
11316
11552
  connectBuildsEnabled?: boolean | undefined;
11553
+ passiveConnectConfigurationId?: string | null | undefined;
11317
11554
  createdAt?: number | undefined;
11318
11555
  customerSupportCodeVisibility?: boolean | undefined;
11319
11556
  crons?: CreateProjectCrons$Outbound | undefined;
@@ -11351,7 +11588,6 @@ export type CreateProjectResponseBody$Outbound = {
11351
11588
  nodeVersion: string;
11352
11589
  optionsAllowlist?: CreateProjectOptionsAllowlist$Outbound | null | undefined;
11353
11590
  outputDirectory?: string | null | undefined;
11354
- passiveConnectConfigurationId?: string | null | undefined;
11355
11591
  passwordProtection?:
11356
11592
  | CreateProjectPasswordProtection$Outbound
11357
11593
  | null
@@ -11421,8 +11657,12 @@ export const CreateProjectResponseBody$outboundSchema: z.ZodType<
11421
11657
  autoAssignCustomDomainsUpdatedBy: z.string().optional(),
11422
11658
  buildCommand: z.nullable(z.string()).optional(),
11423
11659
  commandForIgnoringBuildStep: z.nullable(z.string()).optional(),
11660
+ connectConfigurations: z.nullable(
11661
+ z.array(z.lazy(() => CreateProjectConnectConfigurations$outboundSchema)),
11662
+ ).optional(),
11424
11663
  connectConfigurationId: z.nullable(z.string()).optional(),
11425
11664
  connectBuildsEnabled: z.boolean().optional(),
11665
+ passiveConnectConfigurationId: z.nullable(z.string()).optional(),
11426
11666
  createdAt: z.number().optional(),
11427
11667
  customerSupportCodeVisibility: z.boolean().optional(),
11428
11668
  crons: z.lazy(() => CreateProjectCrons$outboundSchema).optional(),
@@ -11463,7 +11703,6 @@ export const CreateProjectResponseBody$outboundSchema: z.ZodType<
11463
11703
  z.lazy(() => CreateProjectOptionsAllowlist$outboundSchema),
11464
11704
  ).optional(),
11465
11705
  outputDirectory: z.nullable(z.string()).optional(),
11466
- passiveConnectConfigurationId: z.nullable(z.string()).optional(),
11467
11706
  passwordProtection: z.nullable(
11468
11707
  z.lazy(() => CreateProjectPasswordProtection$outboundSchema),
11469
11708
  ).optional(),
@@ -30,16 +30,6 @@ export type GetDeploymentFileContentsRequest = {
30
30
  slug?: string | undefined;
31
31
  };
32
32
 
33
- /**
34
- * File content as base64 encoded string
35
- */
36
- export type GetDeploymentFileContentsResponseBody = {
37
- /**
38
- * Base64 encoded file buffer
39
- */
40
- data: string;
41
- };
42
-
43
33
  /** @internal */
44
34
  export const GetDeploymentFileContentsRequest$inboundSchema: z.ZodType<
45
35
  GetDeploymentFileContentsRequest,
@@ -107,62 +97,3 @@ export function getDeploymentFileContentsRequestFromJSON(
107
97
  `Failed to parse 'GetDeploymentFileContentsRequest' from JSON`,
108
98
  );
109
99
  }
110
-
111
- /** @internal */
112
- export const GetDeploymentFileContentsResponseBody$inboundSchema: z.ZodType<
113
- GetDeploymentFileContentsResponseBody,
114
- z.ZodTypeDef,
115
- unknown
116
- > = z.object({
117
- data: z.string(),
118
- });
119
-
120
- /** @internal */
121
- export type GetDeploymentFileContentsResponseBody$Outbound = {
122
- data: string;
123
- };
124
-
125
- /** @internal */
126
- export const GetDeploymentFileContentsResponseBody$outboundSchema: z.ZodType<
127
- GetDeploymentFileContentsResponseBody$Outbound,
128
- z.ZodTypeDef,
129
- GetDeploymentFileContentsResponseBody
130
- > = z.object({
131
- data: z.string(),
132
- });
133
-
134
- /**
135
- * @internal
136
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
137
- */
138
- export namespace GetDeploymentFileContentsResponseBody$ {
139
- /** @deprecated use `GetDeploymentFileContentsResponseBody$inboundSchema` instead. */
140
- export const inboundSchema =
141
- GetDeploymentFileContentsResponseBody$inboundSchema;
142
- /** @deprecated use `GetDeploymentFileContentsResponseBody$outboundSchema` instead. */
143
- export const outboundSchema =
144
- GetDeploymentFileContentsResponseBody$outboundSchema;
145
- /** @deprecated use `GetDeploymentFileContentsResponseBody$Outbound` instead. */
146
- export type Outbound = GetDeploymentFileContentsResponseBody$Outbound;
147
- }
148
-
149
- export function getDeploymentFileContentsResponseBodyToJSON(
150
- getDeploymentFileContentsResponseBody: GetDeploymentFileContentsResponseBody,
151
- ): string {
152
- return JSON.stringify(
153
- GetDeploymentFileContentsResponseBody$outboundSchema.parse(
154
- getDeploymentFileContentsResponseBody,
155
- ),
156
- );
157
- }
158
-
159
- export function getDeploymentFileContentsResponseBodyFromJSON(
160
- jsonString: string,
161
- ): SafeParseResult<GetDeploymentFileContentsResponseBody, SDKValidationError> {
162
- return safeParse(
163
- jsonString,
164
- (x) =>
165
- GetDeploymentFileContentsResponseBody$inboundSchema.parse(JSON.parse(x)),
166
- `Failed to parse 'GetDeploymentFileContentsResponseBody' from JSON`,
167
- );
168
- }
@@ -1633,6 +1633,10 @@ export type GetDeploymentMicrofrontends2 = {
1633
1633
  | { [k: string]: GetDeploymentMicrofrontendsApplications }
1634
1634
  | undefined;
1635
1635
  isDefaultApp: boolean;
1636
+ /**
1637
+ * The project name of the default app of this deployment's microfrontends group.
1638
+ */
1639
+ defaultAppProjectName: string;
1636
1640
  /**
1637
1641
  * 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.
1638
1642
  */
@@ -1648,6 +1652,10 @@ export type GetDeploymentMicrofrontends1 = {
1648
1652
  * 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.
1649
1653
  */
1650
1654
  isDefaultApp?: boolean | undefined;
1655
+ /**
1656
+ * The project name of the default app of this deployment's microfrontends group.
1657
+ */
1658
+ defaultAppProjectName: string;
1651
1659
  /**
1652
1660
  * 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.
1653
1661
  */
@@ -10092,6 +10100,7 @@ export const GetDeploymentMicrofrontends2$inboundSchema: z.ZodType<
10092
10100
  z.lazy(() => GetDeploymentMicrofrontendsApplications$inboundSchema),
10093
10101
  ).optional(),
10094
10102
  isDefaultApp: z.boolean(),
10103
+ defaultAppProjectName: z.string(),
10095
10104
  defaultRoute: z.string().optional(),
10096
10105
  groupIds: z.array(z.string()),
10097
10106
  });
@@ -10102,6 +10111,7 @@ export type GetDeploymentMicrofrontends2$Outbound = {
10102
10111
  [k: string]: GetDeploymentMicrofrontendsApplications$Outbound;
10103
10112
  } | undefined;
10104
10113
  isDefaultApp: boolean;
10114
+ defaultAppProjectName: string;
10105
10115
  defaultRoute?: string | undefined;
10106
10116
  groupIds: Array<string>;
10107
10117
  };
@@ -10116,6 +10126,7 @@ export const GetDeploymentMicrofrontends2$outboundSchema: z.ZodType<
10116
10126
  z.lazy(() => GetDeploymentMicrofrontendsApplications$outboundSchema),
10117
10127
  ).optional(),
10118
10128
  isDefaultApp: z.boolean(),
10129
+ defaultAppProjectName: z.string(),
10119
10130
  defaultRoute: z.string().optional(),
10120
10131
  groupIds: z.array(z.string()),
10121
10132
  });
@@ -10160,6 +10171,7 @@ export const GetDeploymentMicrofrontends1$inboundSchema: z.ZodType<
10160
10171
  unknown
10161
10172
  > = z.object({
10162
10173
  isDefaultApp: z.boolean().optional(),
10174
+ defaultAppProjectName: z.string(),
10163
10175
  defaultRoute: z.string().optional(),
10164
10176
  groupIds: z.array(z.string()),
10165
10177
  });
@@ -10167,6 +10179,7 @@ export const GetDeploymentMicrofrontends1$inboundSchema: z.ZodType<
10167
10179
  /** @internal */
10168
10180
  export type GetDeploymentMicrofrontends1$Outbound = {
10169
10181
  isDefaultApp?: boolean | undefined;
10182
+ defaultAppProjectName: string;
10170
10183
  defaultRoute?: string | undefined;
10171
10184
  groupIds: Array<string>;
10172
10185
  };
@@ -10178,6 +10191,7 @@ export const GetDeploymentMicrofrontends1$outboundSchema: z.ZodType<
10178
10191
  GetDeploymentMicrofrontends1
10179
10192
  > = z.object({
10180
10193
  isDefaultApp: z.boolean().optional(),
10194
+ defaultAppProjectName: z.string(),
10181
10195
  defaultRoute: z.string().optional(),
10182
10196
  groupIds: z.array(z.string()),
10183
10197
  });