@vercel/sdk 1.6.4 → 1.6.6

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 (125) hide show
  1. package/README.md +2 -0
  2. package/bin/mcp-server.js +517 -275
  3. package/bin/mcp-server.js.map +17 -14
  4. package/docs/sdks/projects/README.md +85 -0
  5. package/esm/__tests__/accessgroups.test.js +94 -60
  6. package/esm/__tests__/accessgroups.test.js.map +1 -1
  7. package/esm/__tests__/aliases.test.js +41 -41
  8. package/esm/__tests__/aliases.test.js.map +1 -1
  9. package/esm/__tests__/certs.test.js +2 -2
  10. package/esm/__tests__/checks.test.js +5 -3
  11. package/esm/__tests__/checks.test.js.map +1 -1
  12. package/esm/__tests__/deployments.test.js +51 -35
  13. package/esm/__tests__/deployments.test.js.map +1 -1
  14. package/esm/__tests__/dns.test.js +0 -27
  15. package/esm/__tests__/dns.test.js.map +1 -1
  16. package/esm/__tests__/domains.test.js +2 -2
  17. package/esm/__tests__/domains.test.js.map +1 -1
  18. package/esm/__tests__/edgeconfig.test.js +9 -5
  19. package/esm/__tests__/edgeconfig.test.js.map +1 -1
  20. package/esm/__tests__/environment.test.js +15 -24
  21. package/esm/__tests__/environment.test.js.map +1 -1
  22. package/esm/__tests__/integrations.test.js +1 -7
  23. package/esm/__tests__/integrations.test.js.map +1 -1
  24. package/esm/__tests__/logdrains.test.js +72 -24
  25. package/esm/__tests__/logdrains.test.js.map +1 -1
  26. package/esm/__tests__/marketplace.test.js +60 -72
  27. package/esm/__tests__/marketplace.test.js.map +1 -1
  28. package/esm/__tests__/projects.test.js +198 -118
  29. package/esm/__tests__/projects.test.js.map +1 -1
  30. package/esm/__tests__/security.test.js +106 -118
  31. package/esm/__tests__/security.test.js.map +1 -1
  32. package/esm/__tests__/teams.test.js +11 -6
  33. package/esm/__tests__/teams.test.js.map +1 -1
  34. package/esm/funcs/projectsMoveProjectDomain.d.ts +18 -0
  35. package/esm/funcs/projectsMoveProjectDomain.d.ts.map +1 -0
  36. package/esm/funcs/projectsMoveProjectDomain.js +96 -0
  37. package/esm/funcs/projectsMoveProjectDomain.js.map +1 -0
  38. package/esm/lib/config.d.ts +3 -3
  39. package/esm/lib/config.js +3 -3
  40. package/esm/mcp-server/mcp-server.js +1 -1
  41. package/esm/mcp-server/server.d.ts.map +1 -1
  42. package/esm/mcp-server/server.js +3 -1
  43. package/esm/mcp-server/server.js.map +1 -1
  44. package/esm/mcp-server/tools/projectsMoveProjectDomain.d.ts +7 -0
  45. package/esm/mcp-server/tools/projectsMoveProjectDomain.d.ts.map +1 -0
  46. package/esm/mcp-server/tools/projectsMoveProjectDomain.js +28 -0
  47. package/esm/mcp-server/tools/projectsMoveProjectDomain.js.map +1 -0
  48. package/esm/models/authuser.d.ts +5 -0
  49. package/esm/models/authuser.d.ts.map +1 -1
  50. package/esm/models/authuser.js +2 -0
  51. package/esm/models/authuser.js.map +1 -1
  52. package/esm/models/createprojectop.d.ts +2 -0
  53. package/esm/models/createprojectop.d.ts.map +1 -1
  54. package/esm/models/createprojectop.js +2 -0
  55. package/esm/models/createprojectop.js.map +1 -1
  56. package/esm/models/getdomainconfigop.d.ts +0 -7
  57. package/esm/models/getdomainconfigop.d.ts.map +1 -1
  58. package/esm/models/getdomainconfigop.js +0 -4
  59. package/esm/models/getdomainconfigop.js.map +1 -1
  60. package/esm/models/getprojectsop.d.ts +2 -0
  61. package/esm/models/getprojectsop.d.ts.map +1 -1
  62. package/esm/models/getprojectsop.js +2 -0
  63. package/esm/models/getprojectsop.js.map +1 -1
  64. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +31 -1
  65. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts.map +1 -1
  66. package/esm/models/getv9projectsidornamecustomenvironmentsop.js +27 -0
  67. package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
  68. package/esm/models/moveprojectdomainop.d.ts +165 -0
  69. package/esm/models/moveprojectdomainop.d.ts.map +1 -0
  70. package/esm/models/moveprojectdomainop.js +151 -0
  71. package/esm/models/moveprojectdomainop.js.map +1 -0
  72. package/esm/models/updateprojectdatacacheop.d.ts +2 -0
  73. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  74. package/esm/models/updateprojectdatacacheop.js +2 -0
  75. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  76. package/esm/models/updateprojectop.d.ts +2 -0
  77. package/esm/models/updateprojectop.d.ts.map +1 -1
  78. package/esm/models/updateprojectop.js +2 -0
  79. package/esm/models/updateprojectop.js.map +1 -1
  80. package/esm/models/userevent.d.ts +43 -0
  81. package/esm/models/userevent.d.ts.map +1 -1
  82. package/esm/models/userevent.js +31 -0
  83. package/esm/models/userevent.js.map +1 -1
  84. package/esm/sdk/projects.d.ts +8 -0
  85. package/esm/sdk/projects.d.ts.map +1 -1
  86. package/esm/sdk/projects.js +10 -0
  87. package/esm/sdk/projects.js.map +1 -1
  88. package/jsr.json +1 -1
  89. package/package.json +1 -1
  90. package/src/__tests__/accessgroups.test.ts +94 -63
  91. package/src/__tests__/aliases.test.ts +47 -47
  92. package/src/__tests__/certs.test.ts +2 -2
  93. package/src/__tests__/checks.test.ts +5 -3
  94. package/src/__tests__/deployments.test.ts +56 -40
  95. package/src/__tests__/dns.test.ts +0 -30
  96. package/src/__tests__/domains.test.ts +2 -2
  97. package/src/__tests__/edgeconfig.test.ts +9 -5
  98. package/src/__tests__/environment.test.ts +20 -41
  99. package/src/__tests__/integrations.test.ts +1 -13
  100. package/src/__tests__/logdrains.test.ts +75 -36
  101. package/src/__tests__/marketplace.test.ts +63 -83
  102. package/src/__tests__/projects.test.ts +201 -121
  103. package/src/__tests__/security.test.ts +106 -121
  104. package/src/__tests__/teams.test.ts +11 -9
  105. package/src/funcs/projectsMoveProjectDomain.ts +198 -0
  106. package/src/lib/config.ts +3 -3
  107. package/src/mcp-server/mcp-server.ts +1 -1
  108. package/src/mcp-server/server.ts +3 -1
  109. package/src/mcp-server/tools/projectsMoveProjectDomain.ts +37 -0
  110. package/src/models/authuser.ts +7 -0
  111. package/src/models/createprojectop.ts +4 -0
  112. package/src/models/getdomainconfigop.ts +0 -11
  113. package/src/models/getprojectsop.ts +4 -0
  114. package/src/models/getv9projectsidornamecustomenvironmentsop.ts +62 -1
  115. package/src/models/moveprojectdomainop.ts +356 -0
  116. package/src/models/updateprojectdatacacheop.ts +4 -0
  117. package/src/models/updateprojectop.ts +4 -0
  118. package/src/models/userevent.ts +80 -0
  119. package/src/sdk/projects.ts +22 -0
  120. package/vercel-spec.json +269 -17
  121. package/esm/__tests__/apiexperimentation.test.d.ts +0 -2
  122. package/esm/__tests__/apiexperimentation.test.d.ts.map +0 -1
  123. package/esm/__tests__/apiexperimentation.test.js +0 -8
  124. package/esm/__tests__/apiexperimentation.test.js.map +0 -1
  125. package/src/__tests__/apiexperimentation.test.ts +0 -11
@@ -1884,6 +1884,7 @@ export type PayloadPurchaseType = ClosedEnum<typeof PayloadPurchaseType>;
1884
1884
  export type PayloadBuildMachine = {
1885
1885
  purchaseType?: PayloadPurchaseType | undefined;
1886
1886
  abovePlan?: boolean | undefined;
1887
+ isDefaultBuildMachine?: boolean | undefined;
1887
1888
  cores?: number | undefined;
1888
1889
  memory?: number | undefined;
1889
1890
  };
@@ -2449,6 +2450,20 @@ export type OverageUsageAlerts = {
2449
2450
  webAnalyticsEvent?: WebAnalyticsEvent | undefined;
2450
2451
  };
2451
2452
 
2453
+ /**
2454
+ * Contains the timestamps for usage summary emails.
2455
+ */
2456
+ export type OverageMetadata = {
2457
+ /**
2458
+ * Tracks if the first time on-demand overage email has been sent.
2459
+ */
2460
+ firstTimeOnDemandNotificationSentAt?: number | undefined;
2461
+ /**
2462
+ * Tracks the last time we sent a summary email.
2463
+ */
2464
+ overageSummaryEmailSentAt?: number | undefined;
2465
+ };
2466
+
2452
2467
  /**
2453
2468
  * Whether the Vercel Toolbar is enabled for preview deployments.
2454
2469
  */
@@ -2935,6 +2950,10 @@ export type NewOwner = {
2935
2950
  */
2936
2951
  usageAlerts?: UsageAlerts | null | undefined;
2937
2952
  overageUsageAlerts?: OverageUsageAlerts | undefined;
2953
+ /**
2954
+ * Contains the timestamps for usage summary emails.
2955
+ */
2956
+ overageMetadata?: OverageMetadata | undefined;
2938
2957
  username: string;
2939
2958
  updatedAt: number;
2940
2959
  /**
@@ -16071,6 +16090,7 @@ export const PayloadBuildMachine$inboundSchema: z.ZodType<
16071
16090
  > = z.object({
16072
16091
  purchaseType: PayloadPurchaseType$inboundSchema.optional(),
16073
16092
  abovePlan: z.boolean().optional(),
16093
+ isDefaultBuildMachine: z.boolean().optional(),
16074
16094
  cores: z.number().optional(),
16075
16095
  memory: z.number().optional(),
16076
16096
  });
@@ -16079,6 +16099,7 @@ export const PayloadBuildMachine$inboundSchema: z.ZodType<
16079
16099
  export type PayloadBuildMachine$Outbound = {
16080
16100
  purchaseType?: string | undefined;
16081
16101
  abovePlan?: boolean | undefined;
16102
+ isDefaultBuildMachine?: boolean | undefined;
16082
16103
  cores?: number | undefined;
16083
16104
  memory?: number | undefined;
16084
16105
  };
@@ -16091,6 +16112,7 @@ export const PayloadBuildMachine$outboundSchema: z.ZodType<
16091
16112
  > = z.object({
16092
16113
  purchaseType: PayloadPurchaseType$outboundSchema.optional(),
16093
16114
  abovePlan: z.boolean().optional(),
16115
+ isDefaultBuildMachine: z.boolean().optional(),
16094
16116
  cores: z.number().optional(),
16095
16117
  memory: z.number().optional(),
16096
16118
  });
@@ -20084,6 +20106,61 @@ export function overageUsageAlertsFromJSON(
20084
20106
  );
20085
20107
  }
20086
20108
 
20109
+ /** @internal */
20110
+ export const OverageMetadata$inboundSchema: z.ZodType<
20111
+ OverageMetadata,
20112
+ z.ZodTypeDef,
20113
+ unknown
20114
+ > = z.object({
20115
+ firstTimeOnDemandNotificationSentAt: z.number().optional(),
20116
+ overageSummaryEmailSentAt: z.number().optional(),
20117
+ });
20118
+
20119
+ /** @internal */
20120
+ export type OverageMetadata$Outbound = {
20121
+ firstTimeOnDemandNotificationSentAt?: number | undefined;
20122
+ overageSummaryEmailSentAt?: number | undefined;
20123
+ };
20124
+
20125
+ /** @internal */
20126
+ export const OverageMetadata$outboundSchema: z.ZodType<
20127
+ OverageMetadata$Outbound,
20128
+ z.ZodTypeDef,
20129
+ OverageMetadata
20130
+ > = z.object({
20131
+ firstTimeOnDemandNotificationSentAt: z.number().optional(),
20132
+ overageSummaryEmailSentAt: z.number().optional(),
20133
+ });
20134
+
20135
+ /**
20136
+ * @internal
20137
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
20138
+ */
20139
+ export namespace OverageMetadata$ {
20140
+ /** @deprecated use `OverageMetadata$inboundSchema` instead. */
20141
+ export const inboundSchema = OverageMetadata$inboundSchema;
20142
+ /** @deprecated use `OverageMetadata$outboundSchema` instead. */
20143
+ export const outboundSchema = OverageMetadata$outboundSchema;
20144
+ /** @deprecated use `OverageMetadata$Outbound` instead. */
20145
+ export type Outbound = OverageMetadata$Outbound;
20146
+ }
20147
+
20148
+ export function overageMetadataToJSON(
20149
+ overageMetadata: OverageMetadata,
20150
+ ): string {
20151
+ return JSON.stringify(OverageMetadata$outboundSchema.parse(overageMetadata));
20152
+ }
20153
+
20154
+ export function overageMetadataFromJSON(
20155
+ jsonString: string,
20156
+ ): SafeParseResult<OverageMetadata, SDKValidationError> {
20157
+ return safeParse(
20158
+ jsonString,
20159
+ (x) => OverageMetadata$inboundSchema.parse(JSON.parse(x)),
20160
+ `Failed to parse 'OverageMetadata' from JSON`,
20161
+ );
20162
+ }
20163
+
20087
20164
  /** @internal */
20088
20165
  export const EnablePreviewFeedback$inboundSchema: z.ZodNativeEnum<
20089
20166
  typeof EnablePreviewFeedback
@@ -21368,6 +21445,7 @@ export const NewOwner$inboundSchema: z.ZodType<
21368
21445
  type: UserEventPayload62Type$inboundSchema,
21369
21446
  usageAlerts: z.nullable(z.lazy(() => UsageAlerts$inboundSchema)).optional(),
21370
21447
  overageUsageAlerts: z.lazy(() => OverageUsageAlerts$inboundSchema).optional(),
21448
+ overageMetadata: z.lazy(() => OverageMetadata$inboundSchema).optional(),
21371
21449
  username: z.string(),
21372
21450
  updatedAt: z.number(),
21373
21451
  enablePreviewFeedback: EnablePreviewFeedback$inboundSchema.optional(),
@@ -21452,6 +21530,7 @@ export type NewOwner$Outbound = {
21452
21530
  type: string;
21453
21531
  usageAlerts?: UsageAlerts$Outbound | null | undefined;
21454
21532
  overageUsageAlerts?: OverageUsageAlerts$Outbound | undefined;
21533
+ overageMetadata?: OverageMetadata$Outbound | undefined;
21455
21534
  username: string;
21456
21535
  updatedAt: number;
21457
21536
  enablePreviewFeedback?: string | undefined;
@@ -21552,6 +21631,7 @@ export const NewOwner$outboundSchema: z.ZodType<
21552
21631
  usageAlerts: z.nullable(z.lazy(() => UsageAlerts$outboundSchema)).optional(),
21553
21632
  overageUsageAlerts: z.lazy(() => OverageUsageAlerts$outboundSchema)
21554
21633
  .optional(),
21634
+ overageMetadata: z.lazy(() => OverageMetadata$outboundSchema).optional(),
21555
21635
  username: z.string(),
21556
21636
  updatedAt: z.number(),
21557
21637
  enablePreviewFeedback: EnablePreviewFeedback$outboundSchema.optional(),
@@ -15,6 +15,7 @@ import { projectsGetProjectDomains } from "../funcs/projectsGetProjectDomains.js
15
15
  import { projectsGetProjectEnv } from "../funcs/projectsGetProjectEnv.js";
16
16
  import { projectsGetProjects } from "../funcs/projectsGetProjects.js";
17
17
  import { projectsListPromoteAliases } from "../funcs/projectsListPromoteAliases.js";
18
+ import { projectsMoveProjectDomain } from "../funcs/projectsMoveProjectDomain.js";
18
19
  import { projectsPauseProject } from "../funcs/projectsPauseProject.js";
19
20
  import { projectsRemoveProjectDomain } from "../funcs/projectsRemoveProjectDomain.js";
20
21
  import { projectsRemoveProjectEnv } from "../funcs/projectsRemoveProjectEnv.js";
@@ -75,6 +76,10 @@ import {
75
76
  ListPromoteAliasesRequest,
76
77
  ListPromoteAliasesResponseBody,
77
78
  } from "../models/listpromotealiasesop.js";
79
+ import {
80
+ MoveProjectDomainRequest,
81
+ MoveProjectDomainResponseBody,
82
+ } from "../models/moveprojectdomainop.js";
78
83
  import { PauseProjectRequest } from "../models/pauseprojectop.js";
79
84
  import {
80
85
  RemoveProjectDomainRequest,
@@ -279,6 +284,23 @@ export class Projects extends ClientSDK {
279
284
  ));
280
285
  }
281
286
 
287
+ /**
288
+ * Update a project domain
289
+ *
290
+ * @remarks
291
+ * Move one project's domain to another project. Also allows the move of all redirects pointed to that domain in the same project.
292
+ */
293
+ async moveProjectDomain(
294
+ request: MoveProjectDomainRequest,
295
+ options?: RequestOptions,
296
+ ): Promise<MoveProjectDomainResponseBody> {
297
+ return unwrapAsync(projectsMoveProjectDomain(
298
+ this,
299
+ request,
300
+ options,
301
+ ));
302
+ }
303
+
282
304
  /**
283
305
  * Verify project domain
284
306
  *
package/vercel-spec.json CHANGED
@@ -6618,6 +6618,12 @@
6618
6618
  },
6619
6619
  "type": "array"
6620
6620
  },
6621
+ "vercelAppInstallation": {
6622
+ "items": {
6623
+ "$ref": "#/components/schemas/ACLAction"
6624
+ },
6625
+ "type": "array"
6626
+ },
6621
6627
  "paymentMethod": {
6622
6628
  "items": {
6623
6629
  "$ref": "#/components/schemas/ACLAction"
@@ -16787,7 +16793,8 @@
16787
16793
  }
16788
16794
  },
16789
16795
  "required": true
16790
- }
16796
+ },
16797
+ "x-speakeasy-test": false
16791
16798
  }
16792
16799
  },
16793
16800
  "/v1/domains/records/{recordId}": {
@@ -17334,16 +17341,6 @@
17334
17341
  "misconfigured": {
17335
17342
  "type": "boolean",
17336
17343
  "description": "Whether or not the domain is configured AND we can automatically generate a TLS certificate."
17337
- },
17338
- "recommendedIps": {
17339
- "items": {
17340
- "type": "string"
17341
- },
17342
- "type": "array",
17343
- "description": "Recommended IPs and CNAME for the domain."
17344
- },
17345
- "recommendedCname": {
17346
- "type": "string"
17347
17344
  }
17348
17345
  },
17349
17346
  "required": [
@@ -25232,7 +25229,8 @@
25232
25229
  }
25233
25230
  }
25234
25231
  ],
25235
- "x-speakeasy-name-override": "createInstallationIntegrationEdgeConfig"
25232
+ "x-speakeasy-name-override": "createInstallationIntegrationEdgeConfig",
25233
+ "x-speakeasy-test": false
25236
25234
  },
25237
25235
  "put": {
25238
25236
  "description": "When the user enabled Edge Config syncing, then this endpoint can be used by the partner to push their configuration data into the relevant Edge Config.",
@@ -28303,6 +28301,12 @@
28303
28301
  },
28304
28302
  "type": "array"
28305
28303
  },
28304
+ "vercelAppInstallation": {
28305
+ "items": {
28306
+ "$ref": "#/components/schemas/ACLAction"
28307
+ },
28308
+ "type": "array"
28309
+ },
28306
28310
  "paymentMethod": {
28307
28311
  "items": {
28308
28312
  "$ref": "#/components/schemas/ACLAction"
@@ -32165,6 +32169,12 @@
32165
32169
  },
32166
32170
  "type": "array"
32167
32171
  },
32172
+ "vercelAppInstallation": {
32173
+ "items": {
32174
+ "$ref": "#/components/schemas/ACLAction"
32175
+ },
32176
+ "type": "array"
32177
+ },
32168
32178
  "paymentMethod": {
32169
32179
  "items": {
32170
32180
  "$ref": "#/components/schemas/ACLAction"
@@ -36154,6 +36164,12 @@
36154
36164
  },
36155
36165
  "type": "array"
36156
36166
  },
36167
+ "vercelAppInstallation": {
36168
+ "items": {
36169
+ "$ref": "#/components/schemas/ACLAction"
36170
+ },
36171
+ "type": "array"
36172
+ },
36157
36173
  "paymentMethod": {
36158
36174
  "items": {
36159
36175
  "$ref": "#/components/schemas/ACLAction"
@@ -39906,6 +39922,12 @@
39906
39922
  },
39907
39923
  "type": "array"
39908
39924
  },
39925
+ "vercelAppInstallation": {
39926
+ "items": {
39927
+ "$ref": "#/components/schemas/ACLAction"
39928
+ },
39929
+ "type": "array"
39930
+ },
39909
39931
  "paymentMethod": {
39910
39932
  "items": {
39911
39933
  "$ref": "#/components/schemas/ACLAction"
@@ -41822,15 +41844,27 @@
41822
41844
  "application/json": {
41823
41845
  "schema": {
41824
41846
  "properties": {
41847
+ "accountLimit": {
41848
+ "properties": {
41849
+ "total": {
41850
+ "type": "number"
41851
+ }
41852
+ },
41853
+ "required": [
41854
+ "total"
41855
+ ],
41856
+ "type": "object",
41857
+ "description": "The maximum number of custom environments allowed either by the team's plan type or a custom override."
41858
+ },
41825
41859
  "environments": {
41826
41860
  "items": {
41827
- "type": "object",
41828
- "description": "Internal representation of a custom environment with all required properties"
41861
+ "type": "object"
41829
41862
  },
41830
41863
  "type": "array"
41831
41864
  }
41832
41865
  },
41833
41866
  "required": [
41867
+ "accountLimit",
41834
41868
  "environments"
41835
41869
  ],
41836
41870
  "type": "object"
@@ -43364,6 +43398,200 @@
43364
43398
  }
43365
43399
  }
43366
43400
  },
43401
+ "/v1/projects/{idOrName}/domains/{domain}/move": {
43402
+ "post": {
43403
+ "description": "Move one project's domain to another project. Also allows the move of all redirects pointed to that domain in the same project.",
43404
+ "operationId": "moveProjectDomain",
43405
+ "security": [
43406
+ {
43407
+ "bearerToken": []
43408
+ }
43409
+ ],
43410
+ "summary": "Update a project domain",
43411
+ "tags": [
43412
+ "projects"
43413
+ ],
43414
+ "responses": {
43415
+ "200": {
43416
+ "description": "The domain was updated successfuly",
43417
+ "content": {
43418
+ "application/json": {
43419
+ "schema": {
43420
+ "properties": {
43421
+ "name": {
43422
+ "type": "string"
43423
+ },
43424
+ "apexName": {
43425
+ "type": "string"
43426
+ },
43427
+ "projectId": {
43428
+ "type": "string"
43429
+ },
43430
+ "redirect": {
43431
+ "nullable": true,
43432
+ "type": "string"
43433
+ },
43434
+ "redirectStatusCode": {
43435
+ "nullable": true,
43436
+ "type": "number",
43437
+ "enum": [
43438
+ 307,
43439
+ 301,
43440
+ 302,
43441
+ 308
43442
+ ]
43443
+ },
43444
+ "gitBranch": {
43445
+ "nullable": true,
43446
+ "type": "string"
43447
+ },
43448
+ "customEnvironmentId": {
43449
+ "nullable": true,
43450
+ "type": "string"
43451
+ },
43452
+ "updatedAt": {
43453
+ "type": "number"
43454
+ },
43455
+ "createdAt": {
43456
+ "type": "number"
43457
+ },
43458
+ "verified": {
43459
+ "type": "boolean",
43460
+ "description": "`true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed."
43461
+ },
43462
+ "verification": {
43463
+ "items": {
43464
+ "properties": {
43465
+ "type": {
43466
+ "type": "string"
43467
+ },
43468
+ "domain": {
43469
+ "type": "string"
43470
+ },
43471
+ "value": {
43472
+ "type": "string"
43473
+ },
43474
+ "reason": {
43475
+ "type": "string"
43476
+ }
43477
+ },
43478
+ "required": [
43479
+ "type",
43480
+ "domain",
43481
+ "value",
43482
+ "reason"
43483
+ ],
43484
+ "type": "object",
43485
+ "description": "A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`."
43486
+ },
43487
+ "type": "array",
43488
+ "description": "A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`."
43489
+ }
43490
+ },
43491
+ "required": [
43492
+ "name",
43493
+ "apexName",
43494
+ "projectId",
43495
+ "verified"
43496
+ ],
43497
+ "type": "object"
43498
+ }
43499
+ }
43500
+ }
43501
+ },
43502
+ "400": {
43503
+ "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.",
43504
+ "content": {
43505
+ "application/json": {
43506
+ "schema": {
43507
+ "$ref": "#/components/schemas/VercelBadRequestError"
43508
+ }
43509
+ }
43510
+ }
43511
+ },
43512
+ "401": {
43513
+ "description": "",
43514
+ "content": {
43515
+ "application/json": {
43516
+ "schema": {
43517
+ "$ref": "#/components/schemas/VercelForbiddenError"
43518
+ }
43519
+ }
43520
+ }
43521
+ },
43522
+ "403": {
43523
+ "description": "You do not have permission to access this resource."
43524
+ },
43525
+ "409": {
43526
+ "description": "The project is currently being transferred"
43527
+ }
43528
+ },
43529
+ "parameters": [
43530
+ {
43531
+ "name": "idOrName",
43532
+ "description": "The unique project identifier or the project name",
43533
+ "in": "path",
43534
+ "required": true,
43535
+ "schema": {
43536
+ "description": "The unique project identifier or the project name",
43537
+ "type": "string"
43538
+ }
43539
+ },
43540
+ {
43541
+ "name": "domain",
43542
+ "description": "The project domain name",
43543
+ "in": "path",
43544
+ "required": true,
43545
+ "schema": {
43546
+ "description": "The project domain name",
43547
+ "type": "string",
43548
+ "example": "www.example.com"
43549
+ }
43550
+ },
43551
+ {
43552
+ "description": "The Team identifier to perform the request on behalf of.",
43553
+ "in": "query",
43554
+ "name": "teamId",
43555
+ "schema": {
43556
+ "type": "string",
43557
+ "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l"
43558
+ }
43559
+ },
43560
+ {
43561
+ "description": "The Team slug to perform the request on behalf of.",
43562
+ "in": "query",
43563
+ "name": "slug",
43564
+ "schema": {
43565
+ "type": "string",
43566
+ "example": "my-team-url-slug"
43567
+ }
43568
+ }
43569
+ ],
43570
+ "requestBody": {
43571
+ "content": {
43572
+ "application/json": {
43573
+ "schema": {
43574
+ "required": [
43575
+ "projectId"
43576
+ ],
43577
+ "properties": {
43578
+ "projectId": {
43579
+ "description": "The unique target project identifier",
43580
+ "example": "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA",
43581
+ "oneOf": [
43582
+ {
43583
+ "type": "string"
43584
+ }
43585
+ ]
43586
+ }
43587
+ },
43588
+ "type": "object"
43589
+ }
43590
+ }
43591
+ }
43592
+ }
43593
+ }
43594
+ },
43367
43595
  "/v9/projects/{idOrName}/domains/{domain}/verify": {
43368
43596
  "post": {
43369
43597
  "description": "Attempts to verify a project domain with `verified = false` by checking the correctness of the project domain's `verification` challenge.",
@@ -44902,7 +45130,8 @@
44902
45130
  "example": "my-team-url-slug"
44903
45131
  }
44904
45132
  }
44905
- ]
45133
+ ],
45134
+ "x-speakeasy-test": false
44906
45135
  },
44907
45136
  "post": {
44908
45137
  "description": "Create one or more environment variables for a project by passing its `key`, `value`, `type` and `target` and by specifying the project by either passing the project `id` or `name` in the URL. If you include `upsert=true` as a query parameter, a new environment variable will not be created if it already exists but, the existing variable's value will be updated.",
@@ -53245,7 +53474,8 @@
53245
53474
  "example": "my-team-url-slug"
53246
53475
  }
53247
53476
  }
53248
- ]
53477
+ ],
53478
+ "x-speakeasy-test": false
53249
53479
  }
53250
53480
  },
53251
53481
  "/v1/security/firewall/bypass": {
@@ -54382,7 +54612,8 @@
54382
54612
  "type": "string"
54383
54613
  }
54384
54614
  }
54385
- ]
54615
+ ],
54616
+ "x-speakeasy-test": false
54386
54617
  }
54387
54618
  },
54388
54619
  "/v1/teams/{teamId}/members": {
@@ -63628,6 +63859,9 @@
63628
63859
  "abovePlan": {
63629
63860
  "type": "boolean"
63630
63861
  },
63862
+ "isDefaultBuildMachine": {
63863
+ "type": "boolean"
63864
+ },
63631
63865
  "cores": {
63632
63866
  "type": "number"
63633
63867
  },
@@ -64854,6 +65088,20 @@
64854
65088
  },
64855
65089
  "type": "object"
64856
65090
  },
65091
+ "overageMetadata": {
65092
+ "properties": {
65093
+ "firstTimeOnDemandNotificationSentAt": {
65094
+ "type": "number",
65095
+ "description": "Tracks if the first time on-demand overage email has been sent."
65096
+ },
65097
+ "overageSummaryEmailSentAt": {
65098
+ "type": "number",
65099
+ "description": "Tracks the last time we sent a summary email."
65100
+ }
65101
+ },
65102
+ "type": "object",
65103
+ "description": "Contains the timestamps for usage summary emails."
65104
+ },
64857
65105
  "username": {
64858
65106
  "type": "string"
64859
65107
  },
@@ -69123,6 +69371,10 @@
69123
69371
  "type": "boolean",
69124
69372
  "description": "An object containing infomation related to the amount of platform resources may be allocated to the User account."
69125
69373
  },
69374
+ "isDefaultBuildMachine": {
69375
+ "type": "boolean",
69376
+ "description": "An object containing infomation related to the amount of platform resources may be allocated to the User account."
69377
+ },
69126
69378
  "cores": {
69127
69379
  "type": "number",
69128
69380
  "description": "An object containing infomation related to the amount of platform resources may be allocated to the User account."
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=apiexperimentation.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"apiexperimentation.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/apiexperimentation.test.ts"],"names":[],"mappings":""}
@@ -1,8 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import { assert, it } from "vitest";
5
- it.skip("Api Experimentation Get /V1 /Experimentation/items", async () => {
6
- assert.fail("incomplete test found please make sure to address the following errors: [`workflow step get_/v1/experimentation/items.test referencing operation get_/v1/experimentation/items not found in document`]");
7
- });
8
- //# sourceMappingURL=apiexperimentation.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"apiexperimentation.test.js","sourceRoot":"","sources":["../../src/__tests__/apiexperimentation.test.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAEpC,EAAE,CAAC,IAAI,CAAC,oDAAoD,EAAE,KAAK,IAAI,EAAE;IACvE,MAAM,CAAC,IAAI,CACT,wMAAwM,CACzM,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1,11 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { assert, it } from "vitest";
6
-
7
- it.skip("Api Experimentation Get /V1 /Experimentation/items", async () => {
8
- assert.fail(
9
- "incomplete test found please make sure to address the following errors: [`workflow step get_/v1/experimentation/items.test referencing operation get_/v1/experimentation/items not found in document`]",
10
- );
11
- });