@vercel/sdk 1.6.5 → 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.
- package/README.md +2 -0
- package/bin/mcp-server.js +503 -273
- package/bin/mcp-server.js.map +16 -13
- package/docs/sdks/projects/README.md +85 -0
- package/esm/__tests__/accessgroups.test.js +94 -60
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/aliases.test.js +41 -41
- package/esm/__tests__/aliases.test.js.map +1 -1
- package/esm/__tests__/certs.test.js +2 -2
- package/esm/__tests__/checks.test.js +5 -3
- package/esm/__tests__/checks.test.js.map +1 -1
- package/esm/__tests__/deployments.test.js +51 -35
- package/esm/__tests__/deployments.test.js.map +1 -1
- package/esm/__tests__/dns.test.js +0 -27
- package/esm/__tests__/dns.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +2 -2
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +9 -5
- package/esm/__tests__/edgeconfig.test.js.map +1 -1
- package/esm/__tests__/environment.test.js +15 -27
- package/esm/__tests__/environment.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +1 -7
- package/esm/__tests__/integrations.test.js.map +1 -1
- package/esm/__tests__/logdrains.test.js +72 -24
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/marketplace.test.js +60 -72
- package/esm/__tests__/marketplace.test.js.map +1 -1
- package/esm/__tests__/projects.test.js +198 -118
- package/esm/__tests__/projects.test.js.map +1 -1
- package/esm/__tests__/security.test.js +97 -120
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/__tests__/teams.test.js +11 -6
- package/esm/__tests__/teams.test.js.map +1 -1
- package/esm/funcs/projectsMoveProjectDomain.d.ts +18 -0
- package/esm/funcs/projectsMoveProjectDomain.d.ts.map +1 -0
- package/esm/funcs/projectsMoveProjectDomain.js +96 -0
- package/esm/funcs/projectsMoveProjectDomain.js.map +1 -0
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +3 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/projectsMoveProjectDomain.d.ts +7 -0
- package/esm/mcp-server/tools/projectsMoveProjectDomain.d.ts.map +1 -0
- package/esm/mcp-server/tools/projectsMoveProjectDomain.js +28 -0
- package/esm/mcp-server/tools/projectsMoveProjectDomain.js.map +1 -0
- package/esm/models/authuser.d.ts +5 -0
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +2 -0
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/createprojectop.d.ts +2 -0
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +2 -0
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/getdomainconfigop.d.ts +0 -7
- package/esm/models/getdomainconfigop.d.ts.map +1 -1
- package/esm/models/getdomainconfigop.js +0 -4
- package/esm/models/getdomainconfigop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +2 -0
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +2 -0
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/moveprojectdomainop.d.ts +165 -0
- package/esm/models/moveprojectdomainop.d.ts.map +1 -0
- package/esm/models/moveprojectdomainop.js +151 -0
- package/esm/models/moveprojectdomainop.js.map +1 -0
- package/esm/models/updateprojectdatacacheop.d.ts +2 -0
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +2 -0
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +2 -0
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +2 -0
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/userevent.d.ts +43 -0
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +31 -0
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/projects.d.ts +8 -0
- package/esm/sdk/projects.d.ts.map +1 -1
- package/esm/sdk/projects.js +10 -0
- package/esm/sdk/projects.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/accessgroups.test.ts +94 -63
- package/src/__tests__/aliases.test.ts +47 -47
- package/src/__tests__/certs.test.ts +2 -2
- package/src/__tests__/checks.test.ts +5 -3
- package/src/__tests__/deployments.test.ts +56 -40
- package/src/__tests__/dns.test.ts +0 -30
- package/src/__tests__/domains.test.ts +2 -2
- package/src/__tests__/edgeconfig.test.ts +9 -5
- package/src/__tests__/environment.test.ts +18 -42
- package/src/__tests__/integrations.test.ts +1 -13
- package/src/__tests__/logdrains.test.ts +75 -36
- package/src/__tests__/marketplace.test.ts +63 -83
- package/src/__tests__/projects.test.ts +201 -121
- package/src/__tests__/security.test.ts +97 -123
- package/src/__tests__/teams.test.ts +11 -9
- package/src/funcs/projectsMoveProjectDomain.ts +198 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/projectsMoveProjectDomain.ts +37 -0
- package/src/models/authuser.ts +7 -0
- package/src/models/createprojectop.ts +4 -0
- package/src/models/getdomainconfigop.ts +0 -11
- package/src/models/getprojectsop.ts +4 -0
- package/src/models/moveprojectdomainop.ts +356 -0
- package/src/models/updateprojectdatacacheop.ts +4 -0
- package/src/models/updateprojectop.ts +4 -0
- package/src/models/userevent.ts +80 -0
- package/src/sdk/projects.ts +22 -0
- package/vercel-spec.json +249 -12
- package/esm/__tests__/apiexperimentation.test.d.ts +0 -2
- package/esm/__tests__/apiexperimentation.test.d.ts.map +0 -1
- package/esm/__tests__/apiexperimentation.test.js +0 -8
- package/esm/__tests__/apiexperimentation.test.js.map +0 -1
- package/src/__tests__/apiexperimentation.test.ts +0 -11
package/src/models/userevent.ts
CHANGED
|
@@ -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(),
|
package/src/sdk/projects.ts
CHANGED
|
@@ -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": [
|
|
@@ -28304,6 +28301,12 @@
|
|
|
28304
28301
|
},
|
|
28305
28302
|
"type": "array"
|
|
28306
28303
|
},
|
|
28304
|
+
"vercelAppInstallation": {
|
|
28305
|
+
"items": {
|
|
28306
|
+
"$ref": "#/components/schemas/ACLAction"
|
|
28307
|
+
},
|
|
28308
|
+
"type": "array"
|
|
28309
|
+
},
|
|
28307
28310
|
"paymentMethod": {
|
|
28308
28311
|
"items": {
|
|
28309
28312
|
"$ref": "#/components/schemas/ACLAction"
|
|
@@ -32166,6 +32169,12 @@
|
|
|
32166
32169
|
},
|
|
32167
32170
|
"type": "array"
|
|
32168
32171
|
},
|
|
32172
|
+
"vercelAppInstallation": {
|
|
32173
|
+
"items": {
|
|
32174
|
+
"$ref": "#/components/schemas/ACLAction"
|
|
32175
|
+
},
|
|
32176
|
+
"type": "array"
|
|
32177
|
+
},
|
|
32169
32178
|
"paymentMethod": {
|
|
32170
32179
|
"items": {
|
|
32171
32180
|
"$ref": "#/components/schemas/ACLAction"
|
|
@@ -36155,6 +36164,12 @@
|
|
|
36155
36164
|
},
|
|
36156
36165
|
"type": "array"
|
|
36157
36166
|
},
|
|
36167
|
+
"vercelAppInstallation": {
|
|
36168
|
+
"items": {
|
|
36169
|
+
"$ref": "#/components/schemas/ACLAction"
|
|
36170
|
+
},
|
|
36171
|
+
"type": "array"
|
|
36172
|
+
},
|
|
36158
36173
|
"paymentMethod": {
|
|
36159
36174
|
"items": {
|
|
36160
36175
|
"$ref": "#/components/schemas/ACLAction"
|
|
@@ -39907,6 +39922,12 @@
|
|
|
39907
39922
|
},
|
|
39908
39923
|
"type": "array"
|
|
39909
39924
|
},
|
|
39925
|
+
"vercelAppInstallation": {
|
|
39926
|
+
"items": {
|
|
39927
|
+
"$ref": "#/components/schemas/ACLAction"
|
|
39928
|
+
},
|
|
39929
|
+
"type": "array"
|
|
39930
|
+
},
|
|
39910
39931
|
"paymentMethod": {
|
|
39911
39932
|
"items": {
|
|
39912
39933
|
"$ref": "#/components/schemas/ACLAction"
|
|
@@ -43377,6 +43398,200 @@
|
|
|
43377
43398
|
}
|
|
43378
43399
|
}
|
|
43379
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
|
+
},
|
|
43380
43595
|
"/v9/projects/{idOrName}/domains/{domain}/verify": {
|
|
43381
43596
|
"post": {
|
|
43382
43597
|
"description": "Attempts to verify a project domain with `verified = false` by checking the correctness of the project domain's `verification` challenge.",
|
|
@@ -54397,7 +54612,8 @@
|
|
|
54397
54612
|
"type": "string"
|
|
54398
54613
|
}
|
|
54399
54614
|
}
|
|
54400
|
-
]
|
|
54615
|
+
],
|
|
54616
|
+
"x-speakeasy-test": false
|
|
54401
54617
|
}
|
|
54402
54618
|
},
|
|
54403
54619
|
"/v1/teams/{teamId}/members": {
|
|
@@ -63643,6 +63859,9 @@
|
|
|
63643
63859
|
"abovePlan": {
|
|
63644
63860
|
"type": "boolean"
|
|
63645
63861
|
},
|
|
63862
|
+
"isDefaultBuildMachine": {
|
|
63863
|
+
"type": "boolean"
|
|
63864
|
+
},
|
|
63646
63865
|
"cores": {
|
|
63647
63866
|
"type": "number"
|
|
63648
63867
|
},
|
|
@@ -64869,6 +65088,20 @@
|
|
|
64869
65088
|
},
|
|
64870
65089
|
"type": "object"
|
|
64871
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
|
+
},
|
|
64872
65105
|
"username": {
|
|
64873
65106
|
"type": "string"
|
|
64874
65107
|
},
|
|
@@ -69138,6 +69371,10 @@
|
|
|
69138
69371
|
"type": "boolean",
|
|
69139
69372
|
"description": "An object containing infomation related to the amount of platform resources may be allocated to the User account."
|
|
69140
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
|
+
},
|
|
69141
69378
|
"cores": {
|
|
69142
69379
|
"type": "number",
|
|
69143
69380
|
"description": "An object containing infomation related to the amount of platform resources may be allocated to the User account."
|
|
@@ -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
|
-
});
|