vercel-api-js 1.36.1 → 1.38.0
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/dist/{components-omphqb50.cjs → components-e26mvbwq.cjs} +48 -0
- package/dist/{components-j37pmknp.js → components-m6a0hks1.js} +47 -1
- package/dist/components.cjs +3 -1
- package/dist/components.d.mts +45 -3
- package/dist/components.d.mts.map +1 -1
- package/dist/components.mjs +1 -1
- package/dist/effect.cjs +1 -1
- package/dist/effect.d.mts +5 -1
- package/dist/effect.d.mts.map +1 -1
- package/dist/effect.mjs +1 -1
- package/dist/index.cjs +33 -2
- package/dist/index.d.ts +409 -125
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/{schemas-eowa6hfa.cjs → schemas-cfv66eyr.cjs} +158 -0
- package/dist/{schemas-jjatl8oo.js → schemas-farrhpy2.js} +128 -1
- package/dist/schemas.cjs +32 -1
- package/dist/schemas.d.mts +67 -1
- package/dist/schemas.d.mts.map +1 -1
- package/dist/schemas.mjs +1 -1
- package/dist/types.cjs +19 -4
- package/dist/types.d.mts +180 -6
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +19 -4
- package/package.json +1 -1
|
@@ -1780,6 +1780,24 @@ const userEventSchema = z__namespace.object({
|
|
|
1780
1780
|
operationId: z__namespace.string(),
|
|
1781
1781
|
spaceId: z__namespace.string()
|
|
1782
1782
|
}),
|
|
1783
|
+
z__namespace.strictObject({
|
|
1784
|
+
boardId: z__namespace.string(),
|
|
1785
|
+
fields: z__namespace.array(z__namespace.string()),
|
|
1786
|
+
operationId: z__namespace.string(),
|
|
1787
|
+
spaceId: z__namespace.string()
|
|
1788
|
+
}),
|
|
1789
|
+
z__namespace.strictObject({
|
|
1790
|
+
boardId: z__namespace.string(),
|
|
1791
|
+
operationId: z__namespace.string(),
|
|
1792
|
+
visibility: z__namespace.enum([
|
|
1793
|
+
"private",
|
|
1794
|
+
"team"
|
|
1795
|
+
])
|
|
1796
|
+
}),
|
|
1797
|
+
z__namespace.strictObject({
|
|
1798
|
+
operationId: z__namespace.string(),
|
|
1799
|
+
schemaId: z__namespace.string()
|
|
1800
|
+
}),
|
|
1783
1801
|
z__namespace.strictObject({
|
|
1784
1802
|
provider: z__namespace.enum([
|
|
1785
1803
|
"chatgpt",
|
|
@@ -2824,6 +2842,9 @@ const userEventSchema = z__namespace.object({
|
|
|
2824
2842
|
"refunded-payment-pending"
|
|
2825
2843
|
])
|
|
2826
2844
|
}),
|
|
2845
|
+
z__namespace.strictObject({
|
|
2846
|
+
subscriptionId: z__namespace.string()
|
|
2847
|
+
}),
|
|
2827
2848
|
z__namespace.strictObject({
|
|
2828
2849
|
paymentMethodId: z__namespace.string(),
|
|
2829
2850
|
subscriptionId: z__namespace.string()
|
|
@@ -9391,7 +9412,11 @@ const userEventSchema = z__namespace.object({
|
|
|
9391
9412
|
"messageboard-created",
|
|
9392
9413
|
"messageboard-private-created",
|
|
9393
9414
|
"messageboard-private-space-created",
|
|
9415
|
+
"messageboard-private-space-updated",
|
|
9416
|
+
"messageboard-schema-registered",
|
|
9394
9417
|
"messageboard-space-created",
|
|
9418
|
+
"messageboard-space-updated",
|
|
9419
|
+
"messageboard-visibility-updated",
|
|
9395
9420
|
"microfrontend-group-added",
|
|
9396
9421
|
"microfrontend-group-deleted",
|
|
9397
9422
|
"microfrontend-group-updated",
|
|
@@ -9751,6 +9776,7 @@ const userEventSchema = z__namespace.object({
|
|
|
9751
9776
|
"v0-chat-created",
|
|
9752
9777
|
"v0-chat-message-sent",
|
|
9753
9778
|
"v0-migration-payment-confirmed",
|
|
9779
|
+
"v0-migration-subscription-completed",
|
|
9754
9780
|
"vcr-image-deleted",
|
|
9755
9781
|
"vcr-image-pushed",
|
|
9756
9782
|
"vcr-repository-created",
|
|
@@ -10190,7 +10216,11 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
10190
10216
|
"messageboard-created",
|
|
10191
10217
|
"messageboard-private-created",
|
|
10192
10218
|
"messageboard-private-space-created",
|
|
10219
|
+
"messageboard-private-space-updated",
|
|
10220
|
+
"messageboard-schema-registered",
|
|
10193
10221
|
"messageboard-space-created",
|
|
10222
|
+
"messageboard-space-updated",
|
|
10223
|
+
"messageboard-visibility-updated",
|
|
10194
10224
|
"microfrontend-group-added",
|
|
10195
10225
|
"microfrontend-group-deleted",
|
|
10196
10226
|
"microfrontend-group-updated",
|
|
@@ -10550,6 +10580,7 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
10550
10580
|
"v0-chat-created",
|
|
10551
10581
|
"v0-chat-message-sent",
|
|
10552
10582
|
"v0-migration-payment-confirmed",
|
|
10583
|
+
"v0-migration-subscription-completed",
|
|
10553
10584
|
"vcr-image-deleted",
|
|
10554
10585
|
"vcr-image-pushed",
|
|
10555
10586
|
"vcr-repository-created",
|
|
@@ -10905,7 +10936,11 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
10905
10936
|
"messageboard-created",
|
|
10906
10937
|
"messageboard-private-created",
|
|
10907
10938
|
"messageboard-private-space-created",
|
|
10939
|
+
"messageboard-private-space-updated",
|
|
10940
|
+
"messageboard-schema-registered",
|
|
10908
10941
|
"messageboard-space-created",
|
|
10942
|
+
"messageboard-space-updated",
|
|
10943
|
+
"messageboard-visibility-updated",
|
|
10909
10944
|
"microfrontend-group-added",
|
|
10910
10945
|
"microfrontend-group-deleted",
|
|
10911
10946
|
"microfrontend-group-updated",
|
|
@@ -11265,6 +11300,7 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
11265
11300
|
"v0-chat-created",
|
|
11266
11301
|
"v0-chat-message-sent",
|
|
11267
11302
|
"v0-migration-payment-confirmed",
|
|
11303
|
+
"v0-migration-subscription-completed",
|
|
11268
11304
|
"vcr-image-deleted",
|
|
11269
11305
|
"vcr-image-pushed",
|
|
11270
11306
|
"vcr-repository-created",
|
|
@@ -12240,6 +12276,7 @@ const driveSchema = z__namespace.object({
|
|
|
12240
12276
|
"workspace"
|
|
12241
12277
|
]
|
|
12242
12278
|
}),
|
|
12279
|
+
parentDriveId: z__namespace.string().optional().describe("The ID of the source drive when this drive is a fork."),
|
|
12243
12280
|
projectId: z__namespace.string().describe("The project that owns the drive.").meta({
|
|
12244
12281
|
examples: [
|
|
12245
12282
|
"prj_abc123"
|
|
@@ -12250,6 +12287,7 @@ const driveSchema = z__namespace.object({
|
|
|
12250
12287
|
"iad1"
|
|
12251
12288
|
]
|
|
12252
12289
|
}),
|
|
12290
|
+
rootDriveId: z__namespace.string().optional().describe("The ID of the original drive at the root of this fork."),
|
|
12253
12291
|
updatedAt: z__namespace.number().describe("The last time the drive was updated, in milliseconds since the epoch.").meta({
|
|
12254
12292
|
examples: [
|
|
12255
12293
|
1750344501629
|
|
@@ -12731,6 +12769,7 @@ const teamSchema = z__namespace.object({
|
|
|
12731
12769
|
]).optional(),
|
|
12732
12770
|
supportUntil: z__namespace.number().optional()
|
|
12733
12771
|
})).optional(),
|
|
12772
|
+
limited: z__namespace.literal(false).describe("Property indicating that this Team data contains full information. Limited Team data has `limited: true`."),
|
|
12734
12773
|
membership: z__namespace.object({
|
|
12735
12774
|
accessRequestedAt: z__namespace.number().optional(),
|
|
12736
12775
|
confirmed: z__namespace.literal(true),
|
|
@@ -21209,6 +21248,16 @@ const updateRouteVersionsErrorSchema = z__namespace.union([
|
|
|
21209
21248
|
updateRouteVersionsStatus500Schema
|
|
21210
21249
|
]);
|
|
21211
21250
|
const getProjectsQueryFromSchema = z__namespace.string().optional().describe("Query only projects updated after the given timestamp or continuation token.");
|
|
21251
|
+
const getProjectsQuerySinceSchema = z__namespace.number().optional().describe("Query only projects updated after this JavaScript timestamp.").meta({
|
|
21252
|
+
examples: [
|
|
21253
|
+
1540095775941
|
|
21254
|
+
]
|
|
21255
|
+
});
|
|
21256
|
+
const getProjectsQueryUntilSchema = z__namespace.number().optional().describe("Query only projects updated before this JavaScript timestamp.").meta({
|
|
21257
|
+
examples: [
|
|
21258
|
+
1540095775951
|
|
21259
|
+
]
|
|
21260
|
+
});
|
|
21212
21261
|
const getProjectsQueryGitForkProtectionSchema = z__namespace.string().optional().describe("Specifies whether PRs from Git forks should require a team member's authorization before it can be deployed").meta({
|
|
21213
21262
|
examples: [
|
|
21214
21263
|
"1"
|
|
@@ -22839,6 +22888,42 @@ const listDrivesErrorSchema = z__namespace.union([
|
|
|
22839
22888
|
listDrivesStatus410Schema,
|
|
22840
22889
|
listDrivesStatus429Schema
|
|
22841
22890
|
]);
|
|
22891
|
+
const getDrivePathNameOrIdSchema = z__namespace.string().max(64).regex(/^[a-zA-Z0-9_-]+$/).describe("The drive name or ID.").meta({
|
|
22892
|
+
examples: [
|
|
22893
|
+
"workspace"
|
|
22894
|
+
]
|
|
22895
|
+
});
|
|
22896
|
+
const getDriveQueryProjectIdSchema = z__namespace.string().optional().describe("The project ID or name associated with the drive. Required unless using a Vercel OIDC token scoped to a project.").meta({
|
|
22897
|
+
examples: [
|
|
22898
|
+
"prj_abc123"
|
|
22899
|
+
]
|
|
22900
|
+
});
|
|
22901
|
+
const getDriveQueryTeamIdSchema = z__namespace.string().optional().describe("The Team identifier to perform the request on behalf of.").meta({
|
|
22902
|
+
examples: [
|
|
22903
|
+
"team_1a2b3c4d5e6f7g8h9i0j1k2l"
|
|
22904
|
+
]
|
|
22905
|
+
});
|
|
22906
|
+
const getDriveQuerySlugSchema = z__namespace.string().optional().describe("The Team slug to perform the request on behalf of.").meta({
|
|
22907
|
+
examples: [
|
|
22908
|
+
"my-team-url-slug"
|
|
22909
|
+
]
|
|
22910
|
+
});
|
|
22911
|
+
const getDriveStatus200Schema = z__namespace.unknown();
|
|
22912
|
+
const getDriveStatus400Schema = z__namespace.unknown();
|
|
22913
|
+
const getDriveStatus401Schema = z__namespace.unknown();
|
|
22914
|
+
const getDriveStatus403Schema = z__namespace.unknown();
|
|
22915
|
+
const getDriveStatus404Schema = z__namespace.unknown();
|
|
22916
|
+
const getDriveStatus410Schema = z__namespace.unknown();
|
|
22917
|
+
const getDriveStatus429Schema = z__namespace.unknown();
|
|
22918
|
+
const getDriveResponseSchema = getDriveStatus200Schema;
|
|
22919
|
+
const getDriveErrorSchema = z__namespace.union([
|
|
22920
|
+
getDriveStatus400Schema,
|
|
22921
|
+
getDriveStatus401Schema,
|
|
22922
|
+
getDriveStatus403Schema,
|
|
22923
|
+
getDriveStatus404Schema,
|
|
22924
|
+
getDriveStatus410Schema,
|
|
22925
|
+
getDriveStatus429Schema
|
|
22926
|
+
]);
|
|
22842
22927
|
const getOrCreateDrivePathNameSchema = z__namespace.string().max(64).regex(/^[a-zA-Z0-9_-]+$/).describe("Name for the drive. Must be unique per project and URL-safe (alphanumeric, hyphens, underscores).").meta({
|
|
22843
22928
|
examples: [
|
|
22844
22929
|
"workspace"
|
|
@@ -22916,6 +23001,48 @@ const deleteDriveErrorSchema = z__namespace.union([
|
|
|
22916
23001
|
deleteDriveStatus410Schema,
|
|
22917
23002
|
deleteDriveStatus429Schema
|
|
22918
23003
|
]);
|
|
23004
|
+
const forkDrivePathNameSchema = z__namespace.string().max(64).regex(/^[a-zA-Z0-9_-]+$/).describe("Name of the source drive to fork.").meta({
|
|
23005
|
+
examples: [
|
|
23006
|
+
"workspace"
|
|
23007
|
+
]
|
|
23008
|
+
});
|
|
23009
|
+
const forkDriveQueryProjectIdSchema = z__namespace.string().optional().describe("The project ID or name associated with the drive. Required unless using a Vercel OIDC token scoped to a project.").meta({
|
|
23010
|
+
examples: [
|
|
23011
|
+
"prj_abc123"
|
|
23012
|
+
]
|
|
23013
|
+
});
|
|
23014
|
+
const forkDriveQueryTeamIdSchema = z__namespace.string().optional().describe("The Team identifier to perform the request on behalf of.").meta({
|
|
23015
|
+
examples: [
|
|
23016
|
+
"team_1a2b3c4d5e6f7g8h9i0j1k2l"
|
|
23017
|
+
]
|
|
23018
|
+
});
|
|
23019
|
+
const forkDriveQuerySlugSchema = z__namespace.string().optional().describe("The Team slug to perform the request on behalf of.").meta({
|
|
23020
|
+
examples: [
|
|
23021
|
+
"my-team-url-slug"
|
|
23022
|
+
]
|
|
23023
|
+
});
|
|
23024
|
+
const forkDriveStatus201Schema = z__namespace.unknown();
|
|
23025
|
+
const forkDriveStatus400Schema = z__namespace.unknown();
|
|
23026
|
+
const forkDriveStatus401Schema = z__namespace.unknown();
|
|
23027
|
+
const forkDriveStatus402Schema = z__namespace.unknown();
|
|
23028
|
+
const forkDriveStatus403Schema = z__namespace.unknown();
|
|
23029
|
+
const forkDriveStatus404Schema = z__namespace.unknown();
|
|
23030
|
+
const forkDriveStatus409Schema = z__namespace.unknown();
|
|
23031
|
+
const forkDriveStatus410Schema = z__namespace.unknown();
|
|
23032
|
+
const forkDriveStatus429Schema = z__namespace.unknown();
|
|
23033
|
+
const forkDriveStatus503Schema = z__namespace.unknown();
|
|
23034
|
+
const forkDriveResponseSchema = forkDriveStatus201Schema;
|
|
23035
|
+
const forkDriveErrorSchema = z__namespace.union([
|
|
23036
|
+
forkDriveStatus400Schema,
|
|
23037
|
+
forkDriveStatus401Schema,
|
|
23038
|
+
forkDriveStatus402Schema,
|
|
23039
|
+
forkDriveStatus403Schema,
|
|
23040
|
+
forkDriveStatus404Schema,
|
|
23041
|
+
forkDriveStatus409Schema,
|
|
23042
|
+
forkDriveStatus410Schema,
|
|
23043
|
+
forkDriveStatus429Schema,
|
|
23044
|
+
forkDriveStatus503Schema
|
|
23045
|
+
]);
|
|
22919
23046
|
const listSessionSnapshotsQueryProjectSchema = z__namespace.string().optional().describe("The unique identifier or name of the project to list snapshots for.").meta({
|
|
22920
23047
|
examples: [
|
|
22921
23048
|
"prj_abc123"
|
|
@@ -29071,6 +29198,22 @@ exports.flagJSONValueSchema = flagJSONValueSchema;
|
|
|
29071
29198
|
exports.flagSchema = flagSchema;
|
|
29072
29199
|
exports.flagsSdkKeyWithSecretsSchema = flagsSdkKeyWithSecretsSchema;
|
|
29073
29200
|
exports.forbiddenSchema = forbiddenSchema;
|
|
29201
|
+
exports.forkDriveErrorSchema = forkDriveErrorSchema;
|
|
29202
|
+
exports.forkDrivePathNameSchema = forkDrivePathNameSchema;
|
|
29203
|
+
exports.forkDriveQueryProjectIdSchema = forkDriveQueryProjectIdSchema;
|
|
29204
|
+
exports.forkDriveQuerySlugSchema = forkDriveQuerySlugSchema;
|
|
29205
|
+
exports.forkDriveQueryTeamIdSchema = forkDriveQueryTeamIdSchema;
|
|
29206
|
+
exports.forkDriveResponseSchema = forkDriveResponseSchema;
|
|
29207
|
+
exports.forkDriveStatus201Schema = forkDriveStatus201Schema;
|
|
29208
|
+
exports.forkDriveStatus400Schema = forkDriveStatus400Schema;
|
|
29209
|
+
exports.forkDriveStatus401Schema = forkDriveStatus401Schema;
|
|
29210
|
+
exports.forkDriveStatus402Schema = forkDriveStatus402Schema;
|
|
29211
|
+
exports.forkDriveStatus403Schema = forkDriveStatus403Schema;
|
|
29212
|
+
exports.forkDriveStatus404Schema = forkDriveStatus404Schema;
|
|
29213
|
+
exports.forkDriveStatus409Schema = forkDriveStatus409Schema;
|
|
29214
|
+
exports.forkDriveStatus410Schema = forkDriveStatus410Schema;
|
|
29215
|
+
exports.forkDriveStatus429Schema = forkDriveStatus429Schema;
|
|
29216
|
+
exports.forkDriveStatus503Schema = forkDriveStatus503Schema;
|
|
29074
29217
|
exports.generateFirewallRuleErrorSchema = generateFirewallRuleErrorSchema;
|
|
29075
29218
|
exports.generateFirewallRuleQueryProjectIdSchema = generateFirewallRuleQueryProjectIdSchema;
|
|
29076
29219
|
exports.generateFirewallRuleQuerySlugSchema = generateFirewallRuleQuerySlugSchema;
|
|
@@ -29690,6 +29833,19 @@ exports.getDrainsStatus401Schema = getDrainsStatus401Schema;
|
|
|
29690
29833
|
exports.getDrainsStatus403Schema = getDrainsStatus403Schema;
|
|
29691
29834
|
exports.getDrainsStatus404Schema = getDrainsStatus404Schema;
|
|
29692
29835
|
exports.getDrainsStatus410Schema = getDrainsStatus410Schema;
|
|
29836
|
+
exports.getDriveErrorSchema = getDriveErrorSchema;
|
|
29837
|
+
exports.getDrivePathNameOrIdSchema = getDrivePathNameOrIdSchema;
|
|
29838
|
+
exports.getDriveQueryProjectIdSchema = getDriveQueryProjectIdSchema;
|
|
29839
|
+
exports.getDriveQuerySlugSchema = getDriveQuerySlugSchema;
|
|
29840
|
+
exports.getDriveQueryTeamIdSchema = getDriveQueryTeamIdSchema;
|
|
29841
|
+
exports.getDriveResponseSchema = getDriveResponseSchema;
|
|
29842
|
+
exports.getDriveStatus200Schema = getDriveStatus200Schema;
|
|
29843
|
+
exports.getDriveStatus400Schema = getDriveStatus400Schema;
|
|
29844
|
+
exports.getDriveStatus401Schema = getDriveStatus401Schema;
|
|
29845
|
+
exports.getDriveStatus403Schema = getDriveStatus403Schema;
|
|
29846
|
+
exports.getDriveStatus404Schema = getDriveStatus404Schema;
|
|
29847
|
+
exports.getDriveStatus410Schema = getDriveStatus410Schema;
|
|
29848
|
+
exports.getDriveStatus429Schema = getDriveStatus429Schema;
|
|
29693
29849
|
exports.getEdgeConfigBackupErrorSchema = getEdgeConfigBackupErrorSchema;
|
|
29694
29850
|
exports.getEdgeConfigBackupPathEdgeConfigBackupVersionIdSchema = getEdgeConfigBackupPathEdgeConfigBackupVersionIdSchema;
|
|
29695
29851
|
exports.getEdgeConfigBackupPathEdgeConfigIdSchema = getEdgeConfigBackupPathEdgeConfigIdSchema;
|
|
@@ -30174,9 +30330,11 @@ exports.getProjectsQueryRepoIdSchema = getProjectsQueryRepoIdSchema;
|
|
|
30174
30330
|
exports.getProjectsQueryRepoSchema = getProjectsQueryRepoSchema;
|
|
30175
30331
|
exports.getProjectsQueryRepoUrlSchema = getProjectsQueryRepoUrlSchema;
|
|
30176
30332
|
exports.getProjectsQuerySearchSchema = getProjectsQuerySearchSchema;
|
|
30333
|
+
exports.getProjectsQuerySinceSchema = getProjectsQuerySinceSchema;
|
|
30177
30334
|
exports.getProjectsQuerySlugSchema = getProjectsQuerySlugSchema;
|
|
30178
30335
|
exports.getProjectsQueryStaticIpsEnabledSchema = getProjectsQueryStaticIpsEnabledSchema;
|
|
30179
30336
|
exports.getProjectsQueryTeamIdSchema = getProjectsQueryTeamIdSchema;
|
|
30337
|
+
exports.getProjectsQueryUntilSchema = getProjectsQueryUntilSchema;
|
|
30180
30338
|
exports.getProjectsResponseSchema = getProjectsResponseSchema;
|
|
30181
30339
|
exports.getProjectsStatus200Schema = getProjectsStatus200Schema;
|
|
30182
30340
|
exports.getProjectsStatus400Schema = getProjectsStatus400Schema;
|