@vercel/sdk 1.7.6 → 1.7.7

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 (92) hide show
  1. package/bin/mcp-server.js +2208 -1993
  2. package/bin/mcp-server.js.map +32 -23
  3. package/esm/lib/config.d.ts +3 -3
  4. package/esm/lib/config.js +3 -3
  5. package/esm/mcp-server/mcp-server.js +1 -1
  6. package/esm/mcp-server/server.js +1 -1
  7. package/esm/models/createdeploymentop.d.ts +43 -43
  8. package/esm/models/createdeploymentop.d.ts.map +1 -1
  9. package/esm/models/createdeploymentop.js +27 -27
  10. package/esm/models/createdeploymentop.js.map +1 -1
  11. package/esm/models/createprojectop.d.ts +9 -0
  12. package/esm/models/createprojectop.d.ts.map +1 -1
  13. package/esm/models/createprojectop.js +6 -0
  14. package/esm/models/createprojectop.js.map +1 -1
  15. package/esm/models/createwebhookop.d.ts +6 -0
  16. package/esm/models/createwebhookop.d.ts.map +1 -1
  17. package/esm/models/createwebhookop.js +2 -0
  18. package/esm/models/createwebhookop.js.map +1 -1
  19. package/esm/models/getaliasop.d.ts +108 -0
  20. package/esm/models/getaliasop.d.ts.map +1 -1
  21. package/esm/models/getaliasop.js +84 -0
  22. package/esm/models/getaliasop.js.map +1 -1
  23. package/esm/models/getprojectsop.d.ts +9 -0
  24. package/esm/models/getprojectsop.d.ts.map +1 -1
  25. package/esm/models/getprojectsop.js +6 -0
  26. package/esm/models/getprojectsop.js.map +1 -1
  27. package/esm/models/getwebhookop.d.ts +3 -0
  28. package/esm/models/getwebhookop.d.ts.map +1 -1
  29. package/esm/models/getwebhookop.js +1 -0
  30. package/esm/models/getwebhookop.js.map +1 -1
  31. package/esm/models/getwebhooksop.d.ts +6 -0
  32. package/esm/models/getwebhooksop.d.ts.map +1 -1
  33. package/esm/models/getwebhooksop.js +2 -0
  34. package/esm/models/getwebhooksop.js.map +1 -1
  35. package/esm/models/importresourceop.d.ts +43 -6
  36. package/esm/models/importresourceop.d.ts.map +1 -1
  37. package/esm/models/importresourceop.js +31 -2
  38. package/esm/models/importresourceop.js.map +1 -1
  39. package/esm/models/listaliasesop.d.ts +108 -0
  40. package/esm/models/listaliasesop.d.ts.map +1 -1
  41. package/esm/models/listaliasesop.js +85 -0
  42. package/esm/models/listaliasesop.js.map +1 -1
  43. package/esm/models/listauthtokensop.d.ts +0 -5
  44. package/esm/models/listauthtokensop.d.ts.map +1 -1
  45. package/esm/models/listauthtokensop.js +0 -2
  46. package/esm/models/listauthtokensop.js.map +1 -1
  47. package/esm/models/teamlimited.d.ts +29 -2
  48. package/esm/models/teamlimited.d.ts.map +1 -1
  49. package/esm/models/teamlimited.js +31 -2
  50. package/esm/models/teamlimited.js.map +1 -1
  51. package/esm/models/updateprojectdatacacheop.d.ts +9 -0
  52. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  53. package/esm/models/updateprojectdatacacheop.js +6 -0
  54. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  55. package/esm/models/updateprojectop.d.ts +18 -9
  56. package/esm/models/updateprojectop.d.ts.map +1 -1
  57. package/esm/models/updateprojectop.js +9 -3
  58. package/esm/models/updateprojectop.js.map +1 -1
  59. package/esm/models/updateresourcesecretsbyidop.d.ts +43 -6
  60. package/esm/models/updateresourcesecretsbyidop.d.ts.map +1 -1
  61. package/esm/models/updateresourcesecretsbyidop.js +31 -2
  62. package/esm/models/updateresourcesecretsbyidop.js.map +1 -1
  63. package/esm/models/updateresourcesecretsop.d.ts +43 -6
  64. package/esm/models/updateresourcesecretsop.d.ts.map +1 -1
  65. package/esm/models/updateresourcesecretsop.js +33 -2
  66. package/esm/models/updateresourcesecretsop.js.map +1 -1
  67. package/esm/models/userevent.d.ts +1096 -1068
  68. package/esm/models/userevent.d.ts.map +1 -1
  69. package/esm/models/userevent.js +1384 -1355
  70. package/esm/models/userevent.js.map +1 -1
  71. package/jsr.json +1 -1
  72. package/package.json +2 -2
  73. package/src/lib/config.ts +3 -3
  74. package/src/mcp-server/mcp-server.ts +1 -1
  75. package/src/mcp-server/server.ts +1 -1
  76. package/src/models/createdeploymentop.ts +75 -53
  77. package/src/models/createprojectop.ts +15 -0
  78. package/src/models/createwebhookop.ts +2 -0
  79. package/src/models/getaliasop.ts +204 -0
  80. package/src/models/getprojectsop.ts +15 -0
  81. package/src/models/getwebhookop.ts +1 -0
  82. package/src/models/getwebhooksop.ts +2 -0
  83. package/src/models/importresourceop.ts +92 -4
  84. package/src/models/listaliasesop.ts +213 -0
  85. package/src/models/listauthtokensop.ts +0 -7
  86. package/src/models/teamlimited.ts +56 -4
  87. package/src/models/updateprojectdatacacheop.ts +15 -0
  88. package/src/models/updateprojectop.ts +18 -3
  89. package/src/models/updateresourcesecretsbyidop.ts +103 -4
  90. package/src/models/updateresourcesecretsop.ts +84 -4
  91. package/src/models/userevent.ts +2506 -2435
  92. package/vercel-spec.json +270 -34
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@vercel/sdk",
5
- "version": "1.7.6",
5
+ "version": "1.7.7",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models": "./src/models/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/sdk",
3
- "version": "1.7.6",
3
+ "version": "1.7.7",
4
4
  "author": "Speakeasy",
5
5
  "type": "module",
6
6
  "bin": {
@@ -59,7 +59,7 @@
59
59
  "typescript": "^5.4.5",
60
60
  "typescript-eslint": "^8.22.0",
61
61
  "vitest": "^3.0.2",
62
- "zod": "^3.23.4"
62
+ "zod": "^3.25.17"
63
63
  },
64
64
  "dependencies": {
65
65
 
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.6",
61
- genVersion: "2.605.6",
62
- userAgent: "speakeasy-sdk/typescript 1.7.6 2.605.6 0.0.1 @vercel/sdk",
60
+ sdkVersion: "1.7.7",
61
+ genVersion: "2.610.0",
62
+ userAgent: "speakeasy-sdk/typescript 1.7.7 2.610.0 0.0.1 @vercel/sdk",
63
63
  } as const;
@@ -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.6",
22
+ currentVersion: "1.7.7",
23
23
  },
24
24
  });
25
25
 
@@ -191,7 +191,7 @@ export function createMCPServer(deps: {
191
191
  }) {
192
192
  const server = new McpServer({
193
193
  name: "Vercel",
194
- version: "1.7.6",
194
+ version: "1.7.7",
195
195
  });
196
196
 
197
197
  const client = new VercelCore({
@@ -613,8 +613,8 @@ export type Creator = {
613
613
  };
614
614
 
615
615
  export const CreateDeploymentReadyState = {
616
- Building: "BUILDING",
617
616
  Error: "ERROR",
617
+ Building: "BUILDING",
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
- id?: string | undefined;
635
634
  createdAt?: number | undefined;
636
- entrypoint?: string | null | undefined;
635
+ id?: string | undefined;
637
636
  readyState?: CreateDeploymentReadyState | undefined;
637
+ entrypoint?: string | null | 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",
680
681
  StartsWith: "startsWith",
681
682
  Equals: "equals",
682
- EndsWith: "endsWith",
683
683
  } as const;
684
684
  /**
685
685
  * The type of matching to perform
@@ -1121,7 +1121,7 @@ export type CreateDeploymentPlan = ClosedEnum<typeof CreateDeploymentPlan>;
1121
1121
  /**
1122
1122
  * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment.
1123
1123
  */
1124
- export type Applications = {
1124
+ export type CreateDeploymentMicrofrontendsApplications = {
1125
1125
  /**
1126
1126
  * This is the production alias, it will always show the most up to date of each application.
1127
1127
  */
@@ -1137,7 +1137,9 @@ export type CreateDeploymentMicrofrontends2 = {
1137
1137
  /**
1138
1138
  * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment.
1139
1139
  */
1140
- applications?: { [k: string]: Applications } | undefined;
1140
+ applications?:
1141
+ | { [k: string]: CreateDeploymentMicrofrontendsApplications }
1142
+ | undefined;
1141
1143
  isDefaultApp: boolean;
1142
1144
  /**
1143
1145
  * The project name of the default app of this deployment's microfrontends group.
@@ -1177,14 +1179,14 @@ export type CreateDeploymentMicrofrontends =
1177
1179
  | CreateDeploymentMicrofrontends2;
1178
1180
 
1179
1181
  export const FunctionType = {
1180
- Fluid: "fluid",
1181
1182
  Standard: "standard",
1183
+ Fluid: "fluid",
1182
1184
  } as const;
1183
1185
  export type FunctionType = ClosedEnum<typeof FunctionType>;
1184
1186
 
1185
1187
  export const FunctionMemoryType = {
1186
- Standard: "standard",
1187
1188
  StandardLegacy: "standard_legacy",
1189
+ Standard: "standard",
1188
1190
  Performance: "performance",
1189
1191
  } as const;
1190
1192
  export type FunctionMemoryType = ClosedEnum<typeof FunctionMemoryType>;
@@ -1217,11 +1219,11 @@ export type Routes3 = {
1217
1219
 
1218
1220
  export const RoutesHandle = {
1219
1221
  Error: "error",
1222
+ Resource: "resource",
1220
1223
  Filesystem: "filesystem",
1221
1224
  Hit: "hit",
1222
1225
  Miss: "miss",
1223
1226
  Rewrite: "rewrite",
1224
- Resource: "resource",
1225
1227
  } as const;
1226
1228
  export type RoutesHandle = ClosedEnum<typeof RoutesHandle>;
1227
1229
 
@@ -1334,8 +1336,8 @@ export type CreateDeploymentGitRepoDeploymentsType = ClosedEnum<
1334
1336
  >;
1335
1337
 
1336
1338
  export const CreateDeploymentGitRepoOwnerType = {
1337
- Team: "team",
1338
1339
  User: "user",
1340
+ Team: "team",
1339
1341
  } as const;
1340
1342
  export type CreateDeploymentGitRepoOwnerType = ClosedEnum<
1341
1343
  typeof CreateDeploymentGitRepoOwnerType
@@ -1362,8 +1364,8 @@ export type CreateDeploymentGitRepoType = ClosedEnum<
1362
1364
  >;
1363
1365
 
1364
1366
  export const GitRepoOwnerType = {
1365
- Team: "team",
1366
1367
  User: "user",
1368
+ Team: "team",
1367
1369
  } as const;
1368
1370
  export type GitRepoOwnerType = ClosedEnum<typeof GitRepoOwnerType>;
1369
1371
 
@@ -1386,8 +1388,8 @@ export const GitRepoType = {
1386
1388
  export type GitRepoType = ClosedEnum<typeof GitRepoType>;
1387
1389
 
1388
1390
  export const OwnerType = {
1389
- Team: "team",
1390
1391
  User: "user",
1392
+ Team: "team",
1391
1393
  } as const;
1392
1394
  export type OwnerType = ClosedEnum<typeof OwnerType>;
1393
1395
 
@@ -3668,20 +3670,20 @@ export function createDeploymentOutputFromJSON(
3668
3670
  /** @internal */
3669
3671
  export const Lambdas$inboundSchema: z.ZodType<Lambdas, z.ZodTypeDef, unknown> =
3670
3672
  z.object({
3671
- id: z.string().optional(),
3672
3673
  createdAt: z.number().optional(),
3673
- entrypoint: z.nullable(z.string()).optional(),
3674
+ id: z.string().optional(),
3674
3675
  readyState: CreateDeploymentReadyState$inboundSchema.optional(),
3676
+ entrypoint: z.nullable(z.string()).optional(),
3675
3677
  readyStateAt: z.number().optional(),
3676
3678
  output: z.array(z.lazy(() => CreateDeploymentOutput$inboundSchema)),
3677
3679
  });
3678
3680
 
3679
3681
  /** @internal */
3680
3682
  export type Lambdas$Outbound = {
3681
- id?: string | undefined;
3682
3683
  createdAt?: number | undefined;
3683
- entrypoint?: string | null | undefined;
3684
+ id?: string | undefined;
3684
3685
  readyState?: string | undefined;
3686
+ entrypoint?: string | null | undefined;
3685
3687
  readyStateAt?: number | undefined;
3686
3688
  output: Array<CreateDeploymentOutput$Outbound>;
3687
3689
  };
@@ -3692,10 +3694,10 @@ export const Lambdas$outboundSchema: z.ZodType<
3692
3694
  z.ZodTypeDef,
3693
3695
  Lambdas
3694
3696
  > = z.object({
3695
- id: z.string().optional(),
3696
3697
  createdAt: z.number().optional(),
3697
- entrypoint: z.nullable(z.string()).optional(),
3698
+ id: z.string().optional(),
3698
3699
  readyState: CreateDeploymentReadyState$outboundSchema.optional(),
3700
+ entrypoint: z.nullable(z.string()).optional(),
3699
3701
  readyStateAt: z.number().optional(),
3700
3702
  output: z.array(z.lazy(() => CreateDeploymentOutput$outboundSchema)),
3701
3703
  });
@@ -6084,58 +6086,72 @@ export namespace CreateDeploymentPlan$ {
6084
6086
  }
6085
6087
 
6086
6088
  /** @internal */
6087
- export const Applications$inboundSchema: z.ZodType<
6088
- Applications,
6089
- z.ZodTypeDef,
6090
- unknown
6091
- > = z.object({
6092
- productionHost: z.string(),
6093
- deploymentAlias: z.string().optional(),
6094
- deploymentHost: z.string().optional(),
6095
- });
6089
+ export const CreateDeploymentMicrofrontendsApplications$inboundSchema:
6090
+ z.ZodType<CreateDeploymentMicrofrontendsApplications, z.ZodTypeDef, unknown> =
6091
+ z.object({
6092
+ productionHost: z.string(),
6093
+ deploymentAlias: z.string().optional(),
6094
+ deploymentHost: z.string().optional(),
6095
+ });
6096
6096
 
6097
6097
  /** @internal */
6098
- export type Applications$Outbound = {
6098
+ export type CreateDeploymentMicrofrontendsApplications$Outbound = {
6099
6099
  productionHost: string;
6100
6100
  deploymentAlias?: string | undefined;
6101
6101
  deploymentHost?: string | undefined;
6102
6102
  };
6103
6103
 
6104
6104
  /** @internal */
6105
- export const Applications$outboundSchema: z.ZodType<
6106
- Applications$Outbound,
6107
- z.ZodTypeDef,
6108
- Applications
6109
- > = z.object({
6110
- productionHost: z.string(),
6111
- deploymentAlias: z.string().optional(),
6112
- deploymentHost: z.string().optional(),
6113
- });
6105
+ export const CreateDeploymentMicrofrontendsApplications$outboundSchema:
6106
+ z.ZodType<
6107
+ CreateDeploymentMicrofrontendsApplications$Outbound,
6108
+ z.ZodTypeDef,
6109
+ CreateDeploymentMicrofrontendsApplications
6110
+ > = z.object({
6111
+ productionHost: z.string(),
6112
+ deploymentAlias: z.string().optional(),
6113
+ deploymentHost: z.string().optional(),
6114
+ });
6114
6115
 
6115
6116
  /**
6116
6117
  * @internal
6117
6118
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6118
6119
  */
6119
- export namespace Applications$ {
6120
- /** @deprecated use `Applications$inboundSchema` instead. */
6121
- export const inboundSchema = Applications$inboundSchema;
6122
- /** @deprecated use `Applications$outboundSchema` instead. */
6123
- export const outboundSchema = Applications$outboundSchema;
6124
- /** @deprecated use `Applications$Outbound` instead. */
6125
- export type Outbound = Applications$Outbound;
6120
+ export namespace CreateDeploymentMicrofrontendsApplications$ {
6121
+ /** @deprecated use `CreateDeploymentMicrofrontendsApplications$inboundSchema` instead. */
6122
+ export const inboundSchema =
6123
+ CreateDeploymentMicrofrontendsApplications$inboundSchema;
6124
+ /** @deprecated use `CreateDeploymentMicrofrontendsApplications$outboundSchema` instead. */
6125
+ export const outboundSchema =
6126
+ CreateDeploymentMicrofrontendsApplications$outboundSchema;
6127
+ /** @deprecated use `CreateDeploymentMicrofrontendsApplications$Outbound` instead. */
6128
+ export type Outbound = CreateDeploymentMicrofrontendsApplications$Outbound;
6126
6129
  }
6127
6130
 
6128
- export function applicationsToJSON(applications: Applications): string {
6129
- return JSON.stringify(Applications$outboundSchema.parse(applications));
6131
+ export function createDeploymentMicrofrontendsApplicationsToJSON(
6132
+ createDeploymentMicrofrontendsApplications:
6133
+ CreateDeploymentMicrofrontendsApplications,
6134
+ ): string {
6135
+ return JSON.stringify(
6136
+ CreateDeploymentMicrofrontendsApplications$outboundSchema.parse(
6137
+ createDeploymentMicrofrontendsApplications,
6138
+ ),
6139
+ );
6130
6140
  }
6131
6141
 
6132
- export function applicationsFromJSON(
6142
+ export function createDeploymentMicrofrontendsApplicationsFromJSON(
6133
6143
  jsonString: string,
6134
- ): SafeParseResult<Applications, SDKValidationError> {
6144
+ ): SafeParseResult<
6145
+ CreateDeploymentMicrofrontendsApplications,
6146
+ SDKValidationError
6147
+ > {
6135
6148
  return safeParse(
6136
6149
  jsonString,
6137
- (x) => Applications$inboundSchema.parse(JSON.parse(x)),
6138
- `Failed to parse 'Applications' from JSON`,
6150
+ (x) =>
6151
+ CreateDeploymentMicrofrontendsApplications$inboundSchema.parse(
6152
+ JSON.parse(x),
6153
+ ),
6154
+ `Failed to parse 'CreateDeploymentMicrofrontendsApplications' from JSON`,
6139
6155
  );
6140
6156
  }
6141
6157
 
@@ -6145,7 +6161,9 @@ export const CreateDeploymentMicrofrontends2$inboundSchema: z.ZodType<
6145
6161
  z.ZodTypeDef,
6146
6162
  unknown
6147
6163
  > = z.object({
6148
- applications: z.record(z.lazy(() => Applications$inboundSchema)).optional(),
6164
+ applications: z.record(
6165
+ z.lazy(() => CreateDeploymentMicrofrontendsApplications$inboundSchema),
6166
+ ).optional(),
6149
6167
  isDefaultApp: z.boolean(),
6150
6168
  defaultAppProjectName: z.string(),
6151
6169
  defaultRoute: z.string().optional(),
@@ -6154,7 +6172,9 @@ export const CreateDeploymentMicrofrontends2$inboundSchema: z.ZodType<
6154
6172
 
6155
6173
  /** @internal */
6156
6174
  export type CreateDeploymentMicrofrontends2$Outbound = {
6157
- applications?: { [k: string]: Applications$Outbound } | undefined;
6175
+ applications?: {
6176
+ [k: string]: CreateDeploymentMicrofrontendsApplications$Outbound;
6177
+ } | undefined;
6158
6178
  isDefaultApp: boolean;
6159
6179
  defaultAppProjectName: string;
6160
6180
  defaultRoute?: string | undefined;
@@ -6167,7 +6187,9 @@ export const CreateDeploymentMicrofrontends2$outboundSchema: z.ZodType<
6167
6187
  z.ZodTypeDef,
6168
6188
  CreateDeploymentMicrofrontends2
6169
6189
  > = z.object({
6170
- applications: z.record(z.lazy(() => Applications$outboundSchema)).optional(),
6190
+ applications: z.record(
6191
+ z.lazy(() => CreateDeploymentMicrofrontendsApplications$outboundSchema),
6192
+ ).optional(),
6171
6193
  isDefaultApp: z.boolean(),
6172
6194
  defaultAppProjectName: z.string(),
6173
6195
  defaultRoute: z.string().optional(),
@@ -1315,6 +1315,10 @@ export type CreateProjectRollingRelease = {
1315
1315
  * An array of all the stages required during a deployment release. each stage requires an approval before advancing to the next stage.
1316
1316
  */
1317
1317
  stages?: Array<CreateProjectStages> | null | undefined;
1318
+ /**
1319
+ * Whether the request served by a canary deployment should return a header indicating a canary was served. Defaults to `false` when omitted.
1320
+ */
1321
+ canaryResponseHeader?: boolean | undefined;
1318
1322
  };
1319
1323
 
1320
1324
  export const CreateProjectProjectsFunctionDefaultMemoryType = {
@@ -1684,6 +1688,8 @@ export type CreateProjectPermissions = {
1684
1688
  projectFromV0?: Array<ACLAction> | undefined;
1685
1689
  projectAccessGroup?: Array<ACLAction> | undefined;
1686
1690
  projectAnalyticsSampling?: Array<ACLAction> | undefined;
1691
+ projectCheck?: Array<ACLAction> | undefined;
1692
+ projectCheckRun?: Array<ACLAction> | undefined;
1687
1693
  projectDeploymentHook?: Array<ACLAction> | undefined;
1688
1694
  projectDomain?: Array<ACLAction> | undefined;
1689
1695
  projectDomainMove?: Array<ACLAction> | undefined;
@@ -7690,6 +7696,7 @@ export const CreateProjectRollingRelease$inboundSchema: z.ZodType<
7690
7696
  minutesToRelease: z.number().optional(),
7691
7697
  stages: z.nullable(z.array(z.lazy(() => CreateProjectStages$inboundSchema)))
7692
7698
  .optional(),
7699
+ canaryResponseHeader: z.boolean().optional(),
7693
7700
  });
7694
7701
 
7695
7702
  /** @internal */
@@ -7697,6 +7704,7 @@ export type CreateProjectRollingRelease$Outbound = {
7697
7704
  target: string;
7698
7705
  minutesToRelease?: number | undefined;
7699
7706
  stages?: Array<CreateProjectStages$Outbound> | null | undefined;
7707
+ canaryResponseHeader?: boolean | undefined;
7700
7708
  };
7701
7709
 
7702
7710
  /** @internal */
@@ -7709,6 +7717,7 @@ export const CreateProjectRollingRelease$outboundSchema: z.ZodType<
7709
7717
  minutesToRelease: z.number().optional(),
7710
7718
  stages: z.nullable(z.array(z.lazy(() => CreateProjectStages$outboundSchema)))
7711
7719
  .optional(),
7720
+ canaryResponseHeader: z.boolean().optional(),
7712
7721
  });
7713
7722
 
7714
7723
  /**
@@ -8869,6 +8878,8 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType<
8869
8878
  projectFromV0: z.array(ACLAction$inboundSchema).optional(),
8870
8879
  projectAccessGroup: z.array(ACLAction$inboundSchema).optional(),
8871
8880
  projectAnalyticsSampling: z.array(ACLAction$inboundSchema).optional(),
8881
+ projectCheck: z.array(ACLAction$inboundSchema).optional(),
8882
+ projectCheckRun: z.array(ACLAction$inboundSchema).optional(),
8872
8883
  projectDeploymentHook: z.array(ACLAction$inboundSchema).optional(),
8873
8884
  projectDomain: z.array(ACLAction$inboundSchema).optional(),
8874
8885
  projectDomainMove: z.array(ACLAction$inboundSchema).optional(),
@@ -9076,6 +9087,8 @@ export type CreateProjectPermissions$Outbound = {
9076
9087
  projectFromV0?: Array<string> | undefined;
9077
9088
  projectAccessGroup?: Array<string> | undefined;
9078
9089
  projectAnalyticsSampling?: Array<string> | undefined;
9090
+ projectCheck?: Array<string> | undefined;
9091
+ projectCheckRun?: Array<string> | undefined;
9079
9092
  projectDeploymentHook?: Array<string> | undefined;
9080
9093
  projectDomain?: Array<string> | undefined;
9081
9094
  projectDomainMove?: Array<string> | undefined;
@@ -9286,6 +9299,8 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType<
9286
9299
  projectFromV0: z.array(ACLAction$outboundSchema).optional(),
9287
9300
  projectAccessGroup: z.array(ACLAction$outboundSchema).optional(),
9288
9301
  projectAnalyticsSampling: z.array(ACLAction$outboundSchema).optional(),
9302
+ projectCheck: z.array(ACLAction$outboundSchema).optional(),
9303
+ projectCheckRun: z.array(ACLAction$outboundSchema).optional(),
9289
9304
  projectDeploymentHook: z.array(ACLAction$outboundSchema).optional(),
9290
9305
  projectDomain: z.array(ACLAction$outboundSchema).optional(),
9291
9306
  projectDomainMove: z.array(ACLAction$outboundSchema).optional(),
@@ -37,6 +37,7 @@ export const Events = {
37
37
  "integration-resource.project-disconnected",
38
38
  ProjectCreated: "project.created",
39
39
  ProjectRemoved: "project.removed",
40
+ ProjectDomainVerified: "project.domain.verified",
40
41
  ProjectRollingReleaseStarted: "project.rolling-release.started",
41
42
  ProjectRollingReleaseAborted: "project.rolling-release.aborted",
42
43
  ProjectRollingReleaseCompleted: "project.rolling-release.completed",
@@ -114,6 +115,7 @@ export const CreateWebhookEvents = {
114
115
  "integration-resource.project-disconnected",
115
116
  ProjectCreated: "project.created",
116
117
  ProjectRemoved: "project.removed",
118
+ ProjectDomainVerified: "project.domain.verified",
117
119
  ProjectRollingReleaseStarted: "project.rolling-release.started",
118
120
  ProjectRollingReleaseAborted: "project.rolling-release.aborted",
119
121
  ProjectRollingReleaseCompleted: "project.rolling-release.completed",
@@ -154,6 +154,39 @@ export type GetAliasProtectionBypass =
154
154
  | ProtectionBypass4
155
155
  | GetAliasProtectionBypass2;
156
156
 
157
+ export type DefaultApp = {
158
+ projectId: string;
159
+ };
160
+
161
+ /**
162
+ * A mapping from `projectId` to information that should be used if the path is routed to that particular project.
163
+ */
164
+ export type Applications = {
165
+ /**
166
+ * This is always set and is the fallback host to send the request to if there is no deployment ID.
167
+ */
168
+ fallbackHost: string;
169
+ /**
170
+ * This is only set if there are changes to the application. This is the deployment ID to use for requests to that application. If this is unset, requests will be sent to the `fallbackHost`.
171
+ */
172
+ deploymentId?: string | undefined;
173
+ /**
174
+ * This is used and set in the exact same way as `deploymentId`.
175
+ */
176
+ deploymentUrl?: string | undefined;
177
+ };
178
+
179
+ /**
180
+ * The microfrontends for the alias including the routing configuration
181
+ */
182
+ export type GetAliasMicrofrontends = {
183
+ defaultApp: DefaultApp;
184
+ /**
185
+ * A mapping from `projectId` to information that should be used if the path is routed to that particular project.
186
+ */
187
+ applications: { [k: string]: Applications };
188
+ };
189
+
157
190
  /**
158
191
  * The alias information
159
192
  */
@@ -216,6 +249,10 @@ export type GetAliasResponseBody = {
216
249
  | ProtectionBypass4
217
250
  | GetAliasProtectionBypass2;
218
251
  } | undefined;
252
+ /**
253
+ * The microfrontends for the alias including the routing configuration
254
+ */
255
+ microfrontends?: GetAliasMicrofrontends | undefined;
219
256
  };
220
257
 
221
258
  /** @internal */
@@ -829,6 +866,169 @@ export function getAliasProtectionBypassFromJSON(
829
866
  );
830
867
  }
831
868
 
869
+ /** @internal */
870
+ export const DefaultApp$inboundSchema: z.ZodType<
871
+ DefaultApp,
872
+ z.ZodTypeDef,
873
+ unknown
874
+ > = z.object({
875
+ projectId: z.string(),
876
+ });
877
+
878
+ /** @internal */
879
+ export type DefaultApp$Outbound = {
880
+ projectId: string;
881
+ };
882
+
883
+ /** @internal */
884
+ export const DefaultApp$outboundSchema: z.ZodType<
885
+ DefaultApp$Outbound,
886
+ z.ZodTypeDef,
887
+ DefaultApp
888
+ > = z.object({
889
+ projectId: z.string(),
890
+ });
891
+
892
+ /**
893
+ * @internal
894
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
895
+ */
896
+ export namespace DefaultApp$ {
897
+ /** @deprecated use `DefaultApp$inboundSchema` instead. */
898
+ export const inboundSchema = DefaultApp$inboundSchema;
899
+ /** @deprecated use `DefaultApp$outboundSchema` instead. */
900
+ export const outboundSchema = DefaultApp$outboundSchema;
901
+ /** @deprecated use `DefaultApp$Outbound` instead. */
902
+ export type Outbound = DefaultApp$Outbound;
903
+ }
904
+
905
+ export function defaultAppToJSON(defaultApp: DefaultApp): string {
906
+ return JSON.stringify(DefaultApp$outboundSchema.parse(defaultApp));
907
+ }
908
+
909
+ export function defaultAppFromJSON(
910
+ jsonString: string,
911
+ ): SafeParseResult<DefaultApp, SDKValidationError> {
912
+ return safeParse(
913
+ jsonString,
914
+ (x) => DefaultApp$inboundSchema.parse(JSON.parse(x)),
915
+ `Failed to parse 'DefaultApp' from JSON`,
916
+ );
917
+ }
918
+
919
+ /** @internal */
920
+ export const Applications$inboundSchema: z.ZodType<
921
+ Applications,
922
+ z.ZodTypeDef,
923
+ unknown
924
+ > = z.object({
925
+ fallbackHost: z.string(),
926
+ deploymentId: z.string().optional(),
927
+ deploymentUrl: z.string().optional(),
928
+ });
929
+
930
+ /** @internal */
931
+ export type Applications$Outbound = {
932
+ fallbackHost: string;
933
+ deploymentId?: string | undefined;
934
+ deploymentUrl?: string | undefined;
935
+ };
936
+
937
+ /** @internal */
938
+ export const Applications$outboundSchema: z.ZodType<
939
+ Applications$Outbound,
940
+ z.ZodTypeDef,
941
+ Applications
942
+ > = z.object({
943
+ fallbackHost: z.string(),
944
+ deploymentId: z.string().optional(),
945
+ deploymentUrl: z.string().optional(),
946
+ });
947
+
948
+ /**
949
+ * @internal
950
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
951
+ */
952
+ export namespace Applications$ {
953
+ /** @deprecated use `Applications$inboundSchema` instead. */
954
+ export const inboundSchema = Applications$inboundSchema;
955
+ /** @deprecated use `Applications$outboundSchema` instead. */
956
+ export const outboundSchema = Applications$outboundSchema;
957
+ /** @deprecated use `Applications$Outbound` instead. */
958
+ export type Outbound = Applications$Outbound;
959
+ }
960
+
961
+ export function applicationsToJSON(applications: Applications): string {
962
+ return JSON.stringify(Applications$outboundSchema.parse(applications));
963
+ }
964
+
965
+ export function applicationsFromJSON(
966
+ jsonString: string,
967
+ ): SafeParseResult<Applications, SDKValidationError> {
968
+ return safeParse(
969
+ jsonString,
970
+ (x) => Applications$inboundSchema.parse(JSON.parse(x)),
971
+ `Failed to parse 'Applications' from JSON`,
972
+ );
973
+ }
974
+
975
+ /** @internal */
976
+ export const GetAliasMicrofrontends$inboundSchema: z.ZodType<
977
+ GetAliasMicrofrontends,
978
+ z.ZodTypeDef,
979
+ unknown
980
+ > = z.object({
981
+ defaultApp: z.lazy(() => DefaultApp$inboundSchema),
982
+ applications: z.record(z.lazy(() => Applications$inboundSchema)),
983
+ });
984
+
985
+ /** @internal */
986
+ export type GetAliasMicrofrontends$Outbound = {
987
+ defaultApp: DefaultApp$Outbound;
988
+ applications: { [k: string]: Applications$Outbound };
989
+ };
990
+
991
+ /** @internal */
992
+ export const GetAliasMicrofrontends$outboundSchema: z.ZodType<
993
+ GetAliasMicrofrontends$Outbound,
994
+ z.ZodTypeDef,
995
+ GetAliasMicrofrontends
996
+ > = z.object({
997
+ defaultApp: z.lazy(() => DefaultApp$outboundSchema),
998
+ applications: z.record(z.lazy(() => Applications$outboundSchema)),
999
+ });
1000
+
1001
+ /**
1002
+ * @internal
1003
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1004
+ */
1005
+ export namespace GetAliasMicrofrontends$ {
1006
+ /** @deprecated use `GetAliasMicrofrontends$inboundSchema` instead. */
1007
+ export const inboundSchema = GetAliasMicrofrontends$inboundSchema;
1008
+ /** @deprecated use `GetAliasMicrofrontends$outboundSchema` instead. */
1009
+ export const outboundSchema = GetAliasMicrofrontends$outboundSchema;
1010
+ /** @deprecated use `GetAliasMicrofrontends$Outbound` instead. */
1011
+ export type Outbound = GetAliasMicrofrontends$Outbound;
1012
+ }
1013
+
1014
+ export function getAliasMicrofrontendsToJSON(
1015
+ getAliasMicrofrontends: GetAliasMicrofrontends,
1016
+ ): string {
1017
+ return JSON.stringify(
1018
+ GetAliasMicrofrontends$outboundSchema.parse(getAliasMicrofrontends),
1019
+ );
1020
+ }
1021
+
1022
+ export function getAliasMicrofrontendsFromJSON(
1023
+ jsonString: string,
1024
+ ): SafeParseResult<GetAliasMicrofrontends, SDKValidationError> {
1025
+ return safeParse(
1026
+ jsonString,
1027
+ (x) => GetAliasMicrofrontends$inboundSchema.parse(JSON.parse(x)),
1028
+ `Failed to parse 'GetAliasMicrofrontends' from JSON`,
1029
+ );
1030
+ }
1031
+
832
1032
  /** @internal */
833
1033
  export const GetAliasResponseBody$inboundSchema: z.ZodType<
834
1034
  GetAliasResponseBody,
@@ -855,6 +1055,7 @@ export const GetAliasResponseBody$inboundSchema: z.ZodType<
855
1055
  z.lazy(() => GetAliasProtectionBypass2$inboundSchema),
856
1056
  ]),
857
1057
  ).optional(),
1058
+ microfrontends: z.lazy(() => GetAliasMicrofrontends$inboundSchema).optional(),
858
1059
  });
859
1060
 
860
1061
  /** @internal */
@@ -878,6 +1079,7 @@ export type GetAliasResponseBody$Outbound = {
878
1079
  | ProtectionBypass4$Outbound
879
1080
  | GetAliasProtectionBypass2$Outbound;
880
1081
  } | undefined;
1082
+ microfrontends?: GetAliasMicrofrontends$Outbound | undefined;
881
1083
  };
882
1084
 
883
1085
  /** @internal */
@@ -906,6 +1108,8 @@ export const GetAliasResponseBody$outboundSchema: z.ZodType<
906
1108
  z.lazy(() => GetAliasProtectionBypass2$outboundSchema),
907
1109
  ]),
908
1110
  ).optional(),
1111
+ microfrontends: z.lazy(() => GetAliasMicrofrontends$outboundSchema)
1112
+ .optional(),
909
1113
  });
910
1114
 
911
1115
  /**