vercel-api-js 1.37.0 → 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 +43 -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 +31 -2
- package/dist/index.d.ts +271 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/{schemas-abg5yjle.cjs → schemas-cfv66eyr.cjs} +145 -0
- package/dist/{schemas-msiadjon.js → schemas-farrhpy2.js} +117 -1
- package/dist/schemas.cjs +30 -1
- package/dist/schemas.d.mts +64 -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 +163 -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
|
|
@@ -22850,6 +22888,42 @@ const listDrivesErrorSchema = z__namespace.union([
|
|
|
22850
22888
|
listDrivesStatus410Schema,
|
|
22851
22889
|
listDrivesStatus429Schema
|
|
22852
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
|
+
]);
|
|
22853
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({
|
|
22854
22928
|
examples: [
|
|
22855
22929
|
"workspace"
|
|
@@ -22927,6 +23001,48 @@ const deleteDriveErrorSchema = z__namespace.union([
|
|
|
22927
23001
|
deleteDriveStatus410Schema,
|
|
22928
23002
|
deleteDriveStatus429Schema
|
|
22929
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
|
+
]);
|
|
22930
23046
|
const listSessionSnapshotsQueryProjectSchema = z__namespace.string().optional().describe("The unique identifier or name of the project to list snapshots for.").meta({
|
|
22931
23047
|
examples: [
|
|
22932
23048
|
"prj_abc123"
|
|
@@ -29082,6 +29198,22 @@ exports.flagJSONValueSchema = flagJSONValueSchema;
|
|
|
29082
29198
|
exports.flagSchema = flagSchema;
|
|
29083
29199
|
exports.flagsSdkKeyWithSecretsSchema = flagsSdkKeyWithSecretsSchema;
|
|
29084
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;
|
|
29085
29217
|
exports.generateFirewallRuleErrorSchema = generateFirewallRuleErrorSchema;
|
|
29086
29218
|
exports.generateFirewallRuleQueryProjectIdSchema = generateFirewallRuleQueryProjectIdSchema;
|
|
29087
29219
|
exports.generateFirewallRuleQuerySlugSchema = generateFirewallRuleQuerySlugSchema;
|
|
@@ -29701,6 +29833,19 @@ exports.getDrainsStatus401Schema = getDrainsStatus401Schema;
|
|
|
29701
29833
|
exports.getDrainsStatus403Schema = getDrainsStatus403Schema;
|
|
29702
29834
|
exports.getDrainsStatus404Schema = getDrainsStatus404Schema;
|
|
29703
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;
|
|
29704
29849
|
exports.getEdgeConfigBackupErrorSchema = getEdgeConfigBackupErrorSchema;
|
|
29705
29850
|
exports.getEdgeConfigBackupPathEdgeConfigBackupVersionIdSchema = getEdgeConfigBackupPathEdgeConfigBackupVersionIdSchema;
|
|
29706
29851
|
exports.getEdgeConfigBackupPathEdgeConfigIdSchema = getEdgeConfigBackupPathEdgeConfigIdSchema;
|