@vercel/sdk 1.6.5 → 1.6.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 (120) hide show
  1. package/README.md +2 -0
  2. package/bin/mcp-server.js +519 -281
  3. package/bin/mcp-server.js.map +16 -13
  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 -27
  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 +185 -103
  29. package/esm/__tests__/projects.test.js.map +1 -1
  30. package/esm/__tests__/security.test.js +97 -120
  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 +2 -2
  39. package/esm/lib/config.js +2 -2
  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 +7 -0
  53. package/esm/models/createprojectop.d.ts.map +1 -1
  54. package/esm/models/createprojectop.js +4 -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 +7 -0
  61. package/esm/models/getprojectsop.d.ts.map +1 -1
  62. package/esm/models/getprojectsop.js +4 -0
  63. package/esm/models/getprojectsop.js.map +1 -1
  64. package/esm/models/moveprojectdomainop.d.ts +165 -0
  65. package/esm/models/moveprojectdomainop.d.ts.map +1 -0
  66. package/esm/models/moveprojectdomainop.js +151 -0
  67. package/esm/models/moveprojectdomainop.js.map +1 -0
  68. package/esm/models/updateprojectdatacacheop.d.ts +7 -0
  69. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  70. package/esm/models/updateprojectdatacacheop.js +4 -0
  71. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  72. package/esm/models/updateprojectop.d.ts +7 -0
  73. package/esm/models/updateprojectop.d.ts.map +1 -1
  74. package/esm/models/updateprojectop.js +4 -0
  75. package/esm/models/updateprojectop.js.map +1 -1
  76. package/esm/models/userevent.d.ts +43 -0
  77. package/esm/models/userevent.d.ts.map +1 -1
  78. package/esm/models/userevent.js +31 -0
  79. package/esm/models/userevent.js.map +1 -1
  80. package/esm/sdk/projects.d.ts +8 -0
  81. package/esm/sdk/projects.d.ts.map +1 -1
  82. package/esm/sdk/projects.js +10 -0
  83. package/esm/sdk/projects.js.map +1 -1
  84. package/jsr.json +1 -1
  85. package/package.json +1 -1
  86. package/src/__tests__/accessgroups.test.ts +94 -63
  87. package/src/__tests__/aliases.test.ts +47 -47
  88. package/src/__tests__/certs.test.ts +2 -2
  89. package/src/__tests__/checks.test.ts +5 -3
  90. package/src/__tests__/deployments.test.ts +56 -40
  91. package/src/__tests__/dns.test.ts +0 -30
  92. package/src/__tests__/domains.test.ts +2 -2
  93. package/src/__tests__/edgeconfig.test.ts +9 -5
  94. package/src/__tests__/environment.test.ts +18 -42
  95. package/src/__tests__/integrations.test.ts +1 -13
  96. package/src/__tests__/logdrains.test.ts +75 -36
  97. package/src/__tests__/marketplace.test.ts +63 -83
  98. package/src/__tests__/projects.test.ts +188 -106
  99. package/src/__tests__/security.test.ts +97 -123
  100. package/src/__tests__/teams.test.ts +11 -9
  101. package/src/funcs/projectsMoveProjectDomain.ts +198 -0
  102. package/src/lib/config.ts +2 -2
  103. package/src/mcp-server/mcp-server.ts +1 -1
  104. package/src/mcp-server/server.ts +3 -1
  105. package/src/mcp-server/tools/projectsMoveProjectDomain.ts +37 -0
  106. package/src/models/authuser.ts +7 -0
  107. package/src/models/createprojectop.ts +11 -0
  108. package/src/models/getdomainconfigop.ts +0 -11
  109. package/src/models/getprojectsop.ts +11 -0
  110. package/src/models/moveprojectdomainop.ts +356 -0
  111. package/src/models/updateprojectdatacacheop.ts +11 -0
  112. package/src/models/updateprojectop.ts +11 -0
  113. package/src/models/userevent.ts +80 -0
  114. package/src/sdk/projects.ts +22 -0
  115. package/vercel-spec.json +269 -12
  116. package/esm/__tests__/apiexperimentation.test.d.ts +0 -2
  117. package/esm/__tests__/apiexperimentation.test.d.ts.map +0 -1
  118. package/esm/__tests__/apiexperimentation.test.js +0 -8
  119. package/esm/__tests__/apiexperimentation.test.js.map +0 -1
  120. 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
+ * Move 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
@@ -5688,6 +5688,10 @@
5688
5688
  "requireApproval": {
5689
5689
  "type": "boolean",
5690
5690
  "description": "Whether or not this stage requires approval to proceed."
5691
+ },
5692
+ "duration": {
5693
+ "type": "number",
5694
+ "description": "duration is the total time to serve a stage, at the given targetPercentage."
5691
5695
  }
5692
5696
  },
5693
5697
  "required": [
@@ -6618,6 +6622,12 @@
6618
6622
  },
6619
6623
  "type": "array"
6620
6624
  },
6625
+ "vercelAppInstallation": {
6626
+ "items": {
6627
+ "$ref": "#/components/schemas/ACLAction"
6628
+ },
6629
+ "type": "array"
6630
+ },
6621
6631
  "paymentMethod": {
6622
6632
  "items": {
6623
6633
  "$ref": "#/components/schemas/ACLAction"
@@ -16787,7 +16797,8 @@
16787
16797
  }
16788
16798
  },
16789
16799
  "required": true
16790
- }
16800
+ },
16801
+ "x-speakeasy-test": false
16791
16802
  }
16792
16803
  },
16793
16804
  "/v1/domains/records/{recordId}": {
@@ -17334,16 +17345,6 @@
17334
17345
  "misconfigured": {
17335
17346
  "type": "boolean",
17336
17347
  "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
17348
  }
17348
17349
  },
17349
17350
  "required": [
@@ -27374,6 +27375,10 @@
27374
27375
  "requireApproval": {
27375
27376
  "type": "boolean",
27376
27377
  "description": "Whether or not this stage requires approval to proceed."
27378
+ },
27379
+ "duration": {
27380
+ "type": "number",
27381
+ "description": "duration is the total time to serve a stage, at the given targetPercentage."
27377
27382
  }
27378
27383
  },
27379
27384
  "required": [
@@ -28304,6 +28309,12 @@
28304
28309
  },
28305
28310
  "type": "array"
28306
28311
  },
28312
+ "vercelAppInstallation": {
28313
+ "items": {
28314
+ "$ref": "#/components/schemas/ACLAction"
28315
+ },
28316
+ "type": "array"
28317
+ },
28307
28318
  "paymentMethod": {
28308
28319
  "items": {
28309
28320
  "$ref": "#/components/schemas/ACLAction"
@@ -31236,6 +31247,10 @@
31236
31247
  "requireApproval": {
31237
31248
  "type": "boolean",
31238
31249
  "description": "Whether or not this stage requires approval to proceed."
31250
+ },
31251
+ "duration": {
31252
+ "type": "number",
31253
+ "description": "duration is the total time to serve a stage, at the given targetPercentage."
31239
31254
  }
31240
31255
  },
31241
31256
  "required": [
@@ -32166,6 +32181,12 @@
32166
32181
  },
32167
32182
  "type": "array"
32168
32183
  },
32184
+ "vercelAppInstallation": {
32185
+ "items": {
32186
+ "$ref": "#/components/schemas/ACLAction"
32187
+ },
32188
+ "type": "array"
32189
+ },
32169
32190
  "paymentMethod": {
32170
32191
  "items": {
32171
32192
  "$ref": "#/components/schemas/ACLAction"
@@ -35225,6 +35246,10 @@
35225
35246
  "requireApproval": {
35226
35247
  "type": "boolean",
35227
35248
  "description": "Whether or not this stage requires approval to proceed."
35249
+ },
35250
+ "duration": {
35251
+ "type": "number",
35252
+ "description": "duration is the total time to serve a stage, at the given targetPercentage."
35228
35253
  }
35229
35254
  },
35230
35255
  "required": [
@@ -36155,6 +36180,12 @@
36155
36180
  },
36156
36181
  "type": "array"
36157
36182
  },
36183
+ "vercelAppInstallation": {
36184
+ "items": {
36185
+ "$ref": "#/components/schemas/ACLAction"
36186
+ },
36187
+ "type": "array"
36188
+ },
36158
36189
  "paymentMethod": {
36159
36190
  "items": {
36160
36191
  "$ref": "#/components/schemas/ACLAction"
@@ -38977,6 +39008,10 @@
38977
39008
  "requireApproval": {
38978
39009
  "type": "boolean",
38979
39010
  "description": "Whether or not this stage requires approval to proceed."
39011
+ },
39012
+ "duration": {
39013
+ "type": "number",
39014
+ "description": "duration is the total time to serve a stage, at the given targetPercentage."
38980
39015
  }
38981
39016
  },
38982
39017
  "required": [
@@ -39907,6 +39942,12 @@
39907
39942
  },
39908
39943
  "type": "array"
39909
39944
  },
39945
+ "vercelAppInstallation": {
39946
+ "items": {
39947
+ "$ref": "#/components/schemas/ACLAction"
39948
+ },
39949
+ "type": "array"
39950
+ },
39910
39951
  "paymentMethod": {
39911
39952
  "items": {
39912
39953
  "$ref": "#/components/schemas/ACLAction"
@@ -43377,6 +43418,200 @@
43377
43418
  }
43378
43419
  }
43379
43420
  },
43421
+ "/v1/projects/{idOrName}/domains/{domain}/move": {
43422
+ "post": {
43423
+ "description": "Move one project's domain to another project. Also allows the move of all redirects pointed to that domain in the same project.",
43424
+ "operationId": "moveProjectDomain",
43425
+ "security": [
43426
+ {
43427
+ "bearerToken": []
43428
+ }
43429
+ ],
43430
+ "summary": "Move a project domain",
43431
+ "tags": [
43432
+ "projects"
43433
+ ],
43434
+ "responses": {
43435
+ "200": {
43436
+ "description": "The domain was updated successfuly",
43437
+ "content": {
43438
+ "application/json": {
43439
+ "schema": {
43440
+ "properties": {
43441
+ "name": {
43442
+ "type": "string"
43443
+ },
43444
+ "apexName": {
43445
+ "type": "string"
43446
+ },
43447
+ "projectId": {
43448
+ "type": "string"
43449
+ },
43450
+ "redirect": {
43451
+ "nullable": true,
43452
+ "type": "string"
43453
+ },
43454
+ "redirectStatusCode": {
43455
+ "nullable": true,
43456
+ "type": "number",
43457
+ "enum": [
43458
+ 307,
43459
+ 301,
43460
+ 302,
43461
+ 308
43462
+ ]
43463
+ },
43464
+ "gitBranch": {
43465
+ "nullable": true,
43466
+ "type": "string"
43467
+ },
43468
+ "customEnvironmentId": {
43469
+ "nullable": true,
43470
+ "type": "string"
43471
+ },
43472
+ "updatedAt": {
43473
+ "type": "number"
43474
+ },
43475
+ "createdAt": {
43476
+ "type": "number"
43477
+ },
43478
+ "verified": {
43479
+ "type": "boolean",
43480
+ "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."
43481
+ },
43482
+ "verification": {
43483
+ "items": {
43484
+ "properties": {
43485
+ "type": {
43486
+ "type": "string"
43487
+ },
43488
+ "domain": {
43489
+ "type": "string"
43490
+ },
43491
+ "value": {
43492
+ "type": "string"
43493
+ },
43494
+ "reason": {
43495
+ "type": "string"
43496
+ }
43497
+ },
43498
+ "required": [
43499
+ "type",
43500
+ "domain",
43501
+ "value",
43502
+ "reason"
43503
+ ],
43504
+ "type": "object",
43505
+ "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`."
43506
+ },
43507
+ "type": "array",
43508
+ "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`."
43509
+ }
43510
+ },
43511
+ "required": [
43512
+ "name",
43513
+ "apexName",
43514
+ "projectId",
43515
+ "verified"
43516
+ ],
43517
+ "type": "object"
43518
+ }
43519
+ }
43520
+ }
43521
+ },
43522
+ "400": {
43523
+ "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.",
43524
+ "content": {
43525
+ "application/json": {
43526
+ "schema": {
43527
+ "$ref": "#/components/schemas/VercelBadRequestError"
43528
+ }
43529
+ }
43530
+ }
43531
+ },
43532
+ "401": {
43533
+ "description": "",
43534
+ "content": {
43535
+ "application/json": {
43536
+ "schema": {
43537
+ "$ref": "#/components/schemas/VercelForbiddenError"
43538
+ }
43539
+ }
43540
+ }
43541
+ },
43542
+ "403": {
43543
+ "description": "You do not have permission to access this resource."
43544
+ },
43545
+ "409": {
43546
+ "description": "The project is currently being transferred"
43547
+ }
43548
+ },
43549
+ "parameters": [
43550
+ {
43551
+ "name": "idOrName",
43552
+ "description": "The unique project identifier or the project name",
43553
+ "in": "path",
43554
+ "required": true,
43555
+ "schema": {
43556
+ "description": "The unique project identifier or the project name",
43557
+ "type": "string"
43558
+ }
43559
+ },
43560
+ {
43561
+ "name": "domain",
43562
+ "description": "The project domain name",
43563
+ "in": "path",
43564
+ "required": true,
43565
+ "schema": {
43566
+ "description": "The project domain name",
43567
+ "type": "string",
43568
+ "example": "www.example.com"
43569
+ }
43570
+ },
43571
+ {
43572
+ "description": "The Team identifier to perform the request on behalf of.",
43573
+ "in": "query",
43574
+ "name": "teamId",
43575
+ "schema": {
43576
+ "type": "string",
43577
+ "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l"
43578
+ }
43579
+ },
43580
+ {
43581
+ "description": "The Team slug to perform the request on behalf of.",
43582
+ "in": "query",
43583
+ "name": "slug",
43584
+ "schema": {
43585
+ "type": "string",
43586
+ "example": "my-team-url-slug"
43587
+ }
43588
+ }
43589
+ ],
43590
+ "requestBody": {
43591
+ "content": {
43592
+ "application/json": {
43593
+ "schema": {
43594
+ "required": [
43595
+ "projectId"
43596
+ ],
43597
+ "properties": {
43598
+ "projectId": {
43599
+ "description": "The unique target project identifier",
43600
+ "example": "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA",
43601
+ "oneOf": [
43602
+ {
43603
+ "type": "string"
43604
+ }
43605
+ ]
43606
+ }
43607
+ },
43608
+ "type": "object"
43609
+ }
43610
+ }
43611
+ }
43612
+ }
43613
+ }
43614
+ },
43380
43615
  "/v9/projects/{idOrName}/domains/{domain}/verify": {
43381
43616
  "post": {
43382
43617
  "description": "Attempts to verify a project domain with `verified = false` by checking the correctness of the project domain's `verification` challenge.",
@@ -54397,7 +54632,8 @@
54397
54632
  "type": "string"
54398
54633
  }
54399
54634
  }
54400
- ]
54635
+ ],
54636
+ "x-speakeasy-test": false
54401
54637
  }
54402
54638
  },
54403
54639
  "/v1/teams/{teamId}/members": {
@@ -63643,6 +63879,9 @@
63643
63879
  "abovePlan": {
63644
63880
  "type": "boolean"
63645
63881
  },
63882
+ "isDefaultBuildMachine": {
63883
+ "type": "boolean"
63884
+ },
63646
63885
  "cores": {
63647
63886
  "type": "number"
63648
63887
  },
@@ -64869,6 +65108,20 @@
64869
65108
  },
64870
65109
  "type": "object"
64871
65110
  },
65111
+ "overageMetadata": {
65112
+ "properties": {
65113
+ "firstTimeOnDemandNotificationSentAt": {
65114
+ "type": "number",
65115
+ "description": "Tracks if the first time on-demand overage email has been sent."
65116
+ },
65117
+ "overageSummaryEmailSentAt": {
65118
+ "type": "number",
65119
+ "description": "Tracks the last time we sent a summary email."
65120
+ }
65121
+ },
65122
+ "type": "object",
65123
+ "description": "Contains the timestamps for usage summary emails."
65124
+ },
64872
65125
  "username": {
64873
65126
  "type": "string"
64874
65127
  },
@@ -69138,6 +69391,10 @@
69138
69391
  "type": "boolean",
69139
69392
  "description": "An object containing infomation related to the amount of platform resources may be allocated to the User account."
69140
69393
  },
69394
+ "isDefaultBuildMachine": {
69395
+ "type": "boolean",
69396
+ "description": "An object containing infomation related to the amount of platform resources may be allocated to the User account."
69397
+ },
69141
69398
  "cores": {
69142
69399
  "type": "number",
69143
69400
  "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
- });