vercel-api-js 1.18.0 → 1.19.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/index.cjs +8 -1
- package/dist/index.d.ts +69 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{schemas-h2au2774.cjs → schemas-bnk8yeey.cjs} +49 -7
- package/dist/{schemas-k9fiajx5.js → schemas-hzd0wxda.js} +43 -8
- package/dist/schemas.cjs +8 -1
- package/dist/schemas.d.mts +31 -8
- package/dist/schemas.d.mts.map +1 -1
- package/dist/schemas.mjs +1 -1
- package/dist/types.cjs +6 -0
- package/dist/types.d.mts +38 -8
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +6 -0
- package/package.json +1 -1
|
@@ -6233,6 +6233,15 @@ const userEventSchema = z__namespace.object({
|
|
|
6233
6233
|
]),
|
|
6234
6234
|
unenforcedTeamIds: z__namespace.array(z__namespace.string())
|
|
6235
6235
|
}).strict(),
|
|
6236
|
+
z__namespace.object({
|
|
6237
|
+
enabled: z__namespace.union([
|
|
6238
|
+
z__namespace.literal(false),
|
|
6239
|
+
z__namespace.literal(true)
|
|
6240
|
+
]),
|
|
6241
|
+
organizationId: z__namespace.string(),
|
|
6242
|
+
teamId: z__namespace.string(),
|
|
6243
|
+
teamSlug: z__namespace.string()
|
|
6244
|
+
}).strict(),
|
|
6236
6245
|
z__namespace.object({
|
|
6237
6246
|
organizationId: z__namespace.string(),
|
|
6238
6247
|
slug: z__namespace.string()
|
|
@@ -7811,6 +7820,12 @@ const userEventSchema = z__namespace.object({
|
|
|
7811
7820
|
snapshotId: z__namespace.string(),
|
|
7812
7821
|
targetRegions: z__namespace.array(z__namespace.string())
|
|
7813
7822
|
}).strict(),
|
|
7823
|
+
z__namespace.object({
|
|
7824
|
+
email: z__namespace.string(),
|
|
7825
|
+
name: z__namespace.string(),
|
|
7826
|
+
projectId: z__namespace.string(),
|
|
7827
|
+
sandboxId: z__namespace.string()
|
|
7828
|
+
}).strict(),
|
|
7814
7829
|
z__namespace.object({
|
|
7815
7830
|
instances: z__namespace.number(),
|
|
7816
7831
|
url: z__namespace.string()
|
|
@@ -9976,6 +9991,7 @@ const userEventSchema = z__namespace.object({
|
|
|
9976
9991
|
"organization-delete",
|
|
9977
9992
|
"organization-dsync-group-delete",
|
|
9978
9993
|
"organization-dsync-group-upsert",
|
|
9994
|
+
"organization-emu-team-updated",
|
|
9979
9995
|
"organization-emu-updated",
|
|
9980
9996
|
"organization-slug-update",
|
|
9981
9997
|
"organization-team-add",
|
|
@@ -10143,6 +10159,7 @@ const userEventSchema = z__namespace.object({
|
|
|
10143
10159
|
"sandbox-alias-delete",
|
|
10144
10160
|
"sandbox-drive-created",
|
|
10145
10161
|
"sandbox-drive-deleted",
|
|
10162
|
+
"sandbox-signed-commit-identity-configured",
|
|
10146
10163
|
"sandbox-snapshot-regions-updated",
|
|
10147
10164
|
"scale",
|
|
10148
10165
|
"scale-auto",
|
|
@@ -10746,6 +10763,7 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
10746
10763
|
"organization-delete",
|
|
10747
10764
|
"organization-dsync-group-delete",
|
|
10748
10765
|
"organization-dsync-group-upsert",
|
|
10766
|
+
"organization-emu-team-updated",
|
|
10749
10767
|
"organization-emu-updated",
|
|
10750
10768
|
"organization-slug-update",
|
|
10751
10769
|
"organization-team-add",
|
|
@@ -10913,6 +10931,7 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
10913
10931
|
"sandbox-alias-delete",
|
|
10914
10932
|
"sandbox-drive-created",
|
|
10915
10933
|
"sandbox-drive-deleted",
|
|
10934
|
+
"sandbox-signed-commit-identity-configured",
|
|
10916
10935
|
"sandbox-snapshot-regions-updated",
|
|
10917
10936
|
"scale",
|
|
10918
10937
|
"scale-auto",
|
|
@@ -11432,6 +11451,7 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
11432
11451
|
"organization-delete",
|
|
11433
11452
|
"organization-dsync-group-delete",
|
|
11434
11453
|
"organization-dsync-group-upsert",
|
|
11454
|
+
"organization-emu-team-updated",
|
|
11435
11455
|
"organization-emu-updated",
|
|
11436
11456
|
"organization-slug-update",
|
|
11437
11457
|
"organization-team-add",
|
|
@@ -11599,6 +11619,7 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
11599
11619
|
"sandbox-alias-delete",
|
|
11600
11620
|
"sandbox-drive-created",
|
|
11601
11621
|
"sandbox-drive-deleted",
|
|
11622
|
+
"sandbox-signed-commit-identity-configured",
|
|
11602
11623
|
"sandbox-snapshot-regions-updated",
|
|
11603
11624
|
"scale",
|
|
11604
11625
|
"scale-auto",
|
|
@@ -22725,6 +22746,7 @@ const createSandboxesV2Status410Schema = z__namespace.unknown();
|
|
|
22725
22746
|
const createSandboxesV2Status422Schema = z__namespace.unknown();
|
|
22726
22747
|
const createSandboxesV2Status429Schema = z__namespace.unknown();
|
|
22727
22748
|
const createSandboxesV2Status500Schema = z__namespace.unknown();
|
|
22749
|
+
const createSandboxesV2Status502Schema = z__namespace.unknown();
|
|
22728
22750
|
const createSandboxesV2ResponseSchema = createSandboxesV2Status200Schema;
|
|
22729
22751
|
const createSandboxesV2ErrorSchema = z__namespace.union([
|
|
22730
22752
|
createSandboxesV2Status400Schema,
|
|
@@ -22736,7 +22758,8 @@ const createSandboxesV2ErrorSchema = z__namespace.union([
|
|
|
22736
22758
|
createSandboxesV2Status410Schema,
|
|
22737
22759
|
createSandboxesV2Status422Schema,
|
|
22738
22760
|
createSandboxesV2Status429Schema,
|
|
22739
|
-
createSandboxesV2Status500Schema
|
|
22761
|
+
createSandboxesV2Status500Schema,
|
|
22762
|
+
createSandboxesV2Status502Schema
|
|
22740
22763
|
]);
|
|
22741
22764
|
const listDrivesQueryProjectIdSchema = z__namespace.string().optional().describe("The project ID or name associated with the drives. Required unless using a Vercel OIDC token scoped to a project.").meta({
|
|
22742
22765
|
examples: [
|
|
@@ -23082,6 +23105,7 @@ const getNamedSandboxStatus409Schema = z__namespace.unknown();
|
|
|
23082
23105
|
const getNamedSandboxStatus410Schema = z__namespace.unknown();
|
|
23083
23106
|
const getNamedSandboxStatus429Schema = z__namespace.unknown();
|
|
23084
23107
|
const getNamedSandboxStatus500Schema = z__namespace.unknown();
|
|
23108
|
+
const getNamedSandboxStatus502Schema = z__namespace.unknown();
|
|
23085
23109
|
const getNamedSandboxResponseSchema = getNamedSandboxStatus200Schema;
|
|
23086
23110
|
const getNamedSandboxErrorSchema = z__namespace.union([
|
|
23087
23111
|
getNamedSandboxStatus400Schema,
|
|
@@ -23092,7 +23116,8 @@ const getNamedSandboxErrorSchema = z__namespace.union([
|
|
|
23092
23116
|
getNamedSandboxStatus409Schema,
|
|
23093
23117
|
getNamedSandboxStatus410Schema,
|
|
23094
23118
|
getNamedSandboxStatus429Schema,
|
|
23095
|
-
getNamedSandboxStatus500Schema
|
|
23119
|
+
getNamedSandboxStatus500Schema,
|
|
23120
|
+
getNamedSandboxStatus502Schema
|
|
23096
23121
|
]);
|
|
23097
23122
|
const updateSandboxPathNameSchema = z__namespace.string().max(128).regex(/^[a-zA-Z0-9_-]+$/).describe("The sandbox to update.").meta({
|
|
23098
23123
|
examples: [
|
|
@@ -23122,6 +23147,7 @@ const updateSandboxStatus410Schema = z__namespace.unknown();
|
|
|
23122
23147
|
const updateSandboxStatus422Schema = z__namespace.unknown();
|
|
23123
23148
|
const updateSandboxStatus429Schema = z__namespace.unknown();
|
|
23124
23149
|
const updateSandboxStatus500Schema = z__namespace.unknown();
|
|
23150
|
+
const updateSandboxStatus502Schema = z__namespace.unknown();
|
|
23125
23151
|
const updateSandboxResponseSchema = updateSandboxStatus200Schema;
|
|
23126
23152
|
const updateSandboxErrorSchema = z__namespace.union([
|
|
23127
23153
|
updateSandboxStatus400Schema,
|
|
@@ -23133,7 +23159,8 @@ const updateSandboxErrorSchema = z__namespace.union([
|
|
|
23133
23159
|
updateSandboxStatus410Schema,
|
|
23134
23160
|
updateSandboxStatus422Schema,
|
|
23135
23161
|
updateSandboxStatus429Schema,
|
|
23136
|
-
updateSandboxStatus500Schema
|
|
23162
|
+
updateSandboxStatus500Schema,
|
|
23163
|
+
updateSandboxStatus502Schema
|
|
23137
23164
|
]);
|
|
23138
23165
|
const deleteSandboxPathNameSchema = z__namespace.string().max(128).regex(/^[a-zA-Z0-9_-]+$/).describe("The sandbox name to delete.").meta({
|
|
23139
23166
|
examples: [
|
|
@@ -23638,6 +23665,7 @@ const createSandboxesByNameForkV2Status410Schema = z__namespace.unknown();
|
|
|
23638
23665
|
const createSandboxesByNameForkV2Status422Schema = z__namespace.unknown();
|
|
23639
23666
|
const createSandboxesByNameForkV2Status429Schema = z__namespace.unknown();
|
|
23640
23667
|
const createSandboxesByNameForkV2Status500Schema = z__namespace.unknown();
|
|
23668
|
+
const createSandboxesByNameForkV2Status502Schema = z__namespace.unknown();
|
|
23641
23669
|
const createSandboxesByNameForkV2ResponseSchema = createSandboxesByNameForkV2Status200Schema;
|
|
23642
23670
|
const createSandboxesByNameForkV2ErrorSchema = z__namespace.union([
|
|
23643
23671
|
createSandboxesByNameForkV2Status400Schema,
|
|
@@ -23649,7 +23677,8 @@ const createSandboxesByNameForkV2ErrorSchema = z__namespace.union([
|
|
|
23649
23677
|
createSandboxesByNameForkV2Status410Schema,
|
|
23650
23678
|
createSandboxesByNameForkV2Status422Schema,
|
|
23651
23679
|
createSandboxesByNameForkV2Status429Schema,
|
|
23652
|
-
createSandboxesByNameForkV2Status500Schema
|
|
23680
|
+
createSandboxesByNameForkV2Status500Schema,
|
|
23681
|
+
createSandboxesByNameForkV2Status502Schema
|
|
23653
23682
|
]);
|
|
23654
23683
|
const createSandboxesV3QueryTeamIdSchema = z__namespace.string().optional().describe("The Team identifier to perform the request on behalf of.").meta({
|
|
23655
23684
|
examples: [
|
|
@@ -23672,6 +23701,7 @@ const createSandboxesV3Status410Schema = z__namespace.unknown();
|
|
|
23672
23701
|
const createSandboxesV3Status422Schema = z__namespace.unknown();
|
|
23673
23702
|
const createSandboxesV3Status429Schema = z__namespace.unknown();
|
|
23674
23703
|
const createSandboxesV3Status500Schema = z__namespace.unknown();
|
|
23704
|
+
const createSandboxesV3Status502Schema = z__namespace.unknown();
|
|
23675
23705
|
const createSandboxesV3ResponseSchema = createSandboxesV3Status200Schema;
|
|
23676
23706
|
const createSandboxesV3ErrorSchema = z__namespace.union([
|
|
23677
23707
|
createSandboxesV3Status400Schema,
|
|
@@ -23683,7 +23713,8 @@ const createSandboxesV3ErrorSchema = z__namespace.union([
|
|
|
23683
23713
|
createSandboxesV3Status410Schema,
|
|
23684
23714
|
createSandboxesV3Status422Schema,
|
|
23685
23715
|
createSandboxesV3Status429Schema,
|
|
23686
|
-
createSandboxesV3Status500Schema
|
|
23716
|
+
createSandboxesV3Status500Schema,
|
|
23717
|
+
createSandboxesV3Status502Schema
|
|
23687
23718
|
]);
|
|
23688
23719
|
const createSandboxesSessionsBySessionIdSnapshotV3PathSessionIdSchema = z__namespace.string().describe("The unique identifier of the session to snapshot.").meta({
|
|
23689
23720
|
examples: [
|
|
@@ -23745,6 +23776,7 @@ const createSandboxesByNameForkV3Status410Schema = z__namespace.unknown();
|
|
|
23745
23776
|
const createSandboxesByNameForkV3Status422Schema = z__namespace.unknown();
|
|
23746
23777
|
const createSandboxesByNameForkV3Status429Schema = z__namespace.unknown();
|
|
23747
23778
|
const createSandboxesByNameForkV3Status500Schema = z__namespace.unknown();
|
|
23779
|
+
const createSandboxesByNameForkV3Status502Schema = z__namespace.unknown();
|
|
23748
23780
|
const createSandboxesByNameForkV3ResponseSchema = createSandboxesByNameForkV3Status200Schema;
|
|
23749
23781
|
const createSandboxesByNameForkV3ErrorSchema = z__namespace.union([
|
|
23750
23782
|
createSandboxesByNameForkV3Status400Schema,
|
|
@@ -23756,7 +23788,8 @@ const createSandboxesByNameForkV3ErrorSchema = z__namespace.union([
|
|
|
23756
23788
|
createSandboxesByNameForkV3Status410Schema,
|
|
23757
23789
|
createSandboxesByNameForkV3Status422Schema,
|
|
23758
23790
|
createSandboxesByNameForkV3Status429Schema,
|
|
23759
|
-
createSandboxesByNameForkV3Status500Schema
|
|
23791
|
+
createSandboxesByNameForkV3Status500Schema,
|
|
23792
|
+
createSandboxesByNameForkV3Status502Schema
|
|
23760
23793
|
]);
|
|
23761
23794
|
const createSandboxesV4QueryTeamIdSchema = z__namespace.string().optional().describe("The Team identifier to perform the request on behalf of.").meta({
|
|
23762
23795
|
examples: [
|
|
@@ -23779,6 +23812,7 @@ const createSandboxesV4Status410Schema = z__namespace.unknown();
|
|
|
23779
23812
|
const createSandboxesV4Status422Schema = z__namespace.unknown();
|
|
23780
23813
|
const createSandboxesV4Status429Schema = z__namespace.unknown();
|
|
23781
23814
|
const createSandboxesV4Status500Schema = z__namespace.unknown();
|
|
23815
|
+
const createSandboxesV4Status502Schema = z__namespace.unknown();
|
|
23782
23816
|
const createSandboxesV4ResponseSchema = createSandboxesV4Status200Schema;
|
|
23783
23817
|
const createSandboxesV4ErrorSchema = z__namespace.union([
|
|
23784
23818
|
createSandboxesV4Status400Schema,
|
|
@@ -23790,7 +23824,8 @@ const createSandboxesV4ErrorSchema = z__namespace.union([
|
|
|
23790
23824
|
createSandboxesV4Status410Schema,
|
|
23791
23825
|
createSandboxesV4Status422Schema,
|
|
23792
23826
|
createSandboxesV4Status429Schema,
|
|
23793
|
-
createSandboxesV4Status500Schema
|
|
23827
|
+
createSandboxesV4Status500Schema,
|
|
23828
|
+
createSandboxesV4Status502Schema
|
|
23794
23829
|
]);
|
|
23795
23830
|
const updateAttackChallengeModeQueryTeamIdSchema = z__namespace.string().optional().describe("The Team identifier to perform the request on behalf of.").meta({
|
|
23796
23831
|
examples: [
|
|
@@ -27233,6 +27268,7 @@ exports.createSandboxesByNameForkV2Status410Schema = createSandboxesByNameForkV2
|
|
|
27233
27268
|
exports.createSandboxesByNameForkV2Status422Schema = createSandboxesByNameForkV2Status422Schema;
|
|
27234
27269
|
exports.createSandboxesByNameForkV2Status429Schema = createSandboxesByNameForkV2Status429Schema;
|
|
27235
27270
|
exports.createSandboxesByNameForkV2Status500Schema = createSandboxesByNameForkV2Status500Schema;
|
|
27271
|
+
exports.createSandboxesByNameForkV2Status502Schema = createSandboxesByNameForkV2Status502Schema;
|
|
27236
27272
|
exports.createSandboxesByNameForkV3ErrorSchema = createSandboxesByNameForkV3ErrorSchema;
|
|
27237
27273
|
exports.createSandboxesByNameForkV3PathNameSchema = createSandboxesByNameForkV3PathNameSchema;
|
|
27238
27274
|
exports.createSandboxesByNameForkV3QueryProjectIdSchema = createSandboxesByNameForkV3QueryProjectIdSchema;
|
|
@@ -27250,6 +27286,7 @@ exports.createSandboxesByNameForkV3Status410Schema = createSandboxesByNameForkV3
|
|
|
27250
27286
|
exports.createSandboxesByNameForkV3Status422Schema = createSandboxesByNameForkV3Status422Schema;
|
|
27251
27287
|
exports.createSandboxesByNameForkV3Status429Schema = createSandboxesByNameForkV3Status429Schema;
|
|
27252
27288
|
exports.createSandboxesByNameForkV3Status500Schema = createSandboxesByNameForkV3Status500Schema;
|
|
27289
|
+
exports.createSandboxesByNameForkV3Status502Schema = createSandboxesByNameForkV3Status502Schema;
|
|
27253
27290
|
exports.createSandboxesSessionsBySessionIdSnapshotV2ErrorSchema = createSandboxesSessionsBySessionIdSnapshotV2ErrorSchema;
|
|
27254
27291
|
exports.createSandboxesSessionsBySessionIdSnapshotV2PathSessionIdSchema = createSandboxesSessionsBySessionIdSnapshotV2PathSessionIdSchema;
|
|
27255
27292
|
exports.createSandboxesSessionsBySessionIdSnapshotV2QuerySlugSchema = createSandboxesSessionsBySessionIdSnapshotV2QuerySlugSchema;
|
|
@@ -27295,6 +27332,7 @@ exports.createSandboxesV2Status410Schema = createSandboxesV2Status410Schema;
|
|
|
27295
27332
|
exports.createSandboxesV2Status422Schema = createSandboxesV2Status422Schema;
|
|
27296
27333
|
exports.createSandboxesV2Status429Schema = createSandboxesV2Status429Schema;
|
|
27297
27334
|
exports.createSandboxesV2Status500Schema = createSandboxesV2Status500Schema;
|
|
27335
|
+
exports.createSandboxesV2Status502Schema = createSandboxesV2Status502Schema;
|
|
27298
27336
|
exports.createSandboxesV3ErrorSchema = createSandboxesV3ErrorSchema;
|
|
27299
27337
|
exports.createSandboxesV3QuerySlugSchema = createSandboxesV3QuerySlugSchema;
|
|
27300
27338
|
exports.createSandboxesV3QueryTeamIdSchema = createSandboxesV3QueryTeamIdSchema;
|
|
@@ -27310,6 +27348,7 @@ exports.createSandboxesV3Status410Schema = createSandboxesV3Status410Schema;
|
|
|
27310
27348
|
exports.createSandboxesV3Status422Schema = createSandboxesV3Status422Schema;
|
|
27311
27349
|
exports.createSandboxesV3Status429Schema = createSandboxesV3Status429Schema;
|
|
27312
27350
|
exports.createSandboxesV3Status500Schema = createSandboxesV3Status500Schema;
|
|
27351
|
+
exports.createSandboxesV3Status502Schema = createSandboxesV3Status502Schema;
|
|
27313
27352
|
exports.createSandboxesV4ErrorSchema = createSandboxesV4ErrorSchema;
|
|
27314
27353
|
exports.createSandboxesV4QuerySlugSchema = createSandboxesV4QuerySlugSchema;
|
|
27315
27354
|
exports.createSandboxesV4QueryTeamIdSchema = createSandboxesV4QueryTeamIdSchema;
|
|
@@ -27325,6 +27364,7 @@ exports.createSandboxesV4Status410Schema = createSandboxesV4Status410Schema;
|
|
|
27325
27364
|
exports.createSandboxesV4Status422Schema = createSandboxesV4Status422Schema;
|
|
27326
27365
|
exports.createSandboxesV4Status429Schema = createSandboxesV4Status429Schema;
|
|
27327
27366
|
exports.createSandboxesV4Status500Schema = createSandboxesV4Status500Schema;
|
|
27367
|
+
exports.createSandboxesV4Status502Schema = createSandboxesV4Status502Schema;
|
|
27328
27368
|
exports.createSdkKeyErrorSchema = createSdkKeyErrorSchema;
|
|
27329
27369
|
exports.createSdkKeyPathProjectIdOrNameSchema = createSdkKeyPathProjectIdOrNameSchema;
|
|
27330
27370
|
exports.createSdkKeyQuerySlugSchema = createSdkKeyQuerySlugSchema;
|
|
@@ -29055,6 +29095,7 @@ exports.getNamedSandboxStatus409Schema = getNamedSandboxStatus409Schema;
|
|
|
29055
29095
|
exports.getNamedSandboxStatus410Schema = getNamedSandboxStatus410Schema;
|
|
29056
29096
|
exports.getNamedSandboxStatus429Schema = getNamedSandboxStatus429Schema;
|
|
29057
29097
|
exports.getNamedSandboxStatus500Schema = getNamedSandboxStatus500Schema;
|
|
29098
|
+
exports.getNamedSandboxStatus502Schema = getNamedSandboxStatus502Schema;
|
|
29058
29099
|
exports.getObservabilityConfigurationProjectsErrorSchema = getObservabilityConfigurationProjectsErrorSchema;
|
|
29059
29100
|
exports.getObservabilityConfigurationProjectsQuerySlugSchema = getObservabilityConfigurationProjectsQuerySlugSchema;
|
|
29060
29101
|
exports.getObservabilityConfigurationProjectsQueryTeamIdSchema = getObservabilityConfigurationProjectsQueryTeamIdSchema;
|
|
@@ -31497,6 +31538,7 @@ exports.updateSandboxStatus410Schema = updateSandboxStatus410Schema;
|
|
|
31497
31538
|
exports.updateSandboxStatus422Schema = updateSandboxStatus422Schema;
|
|
31498
31539
|
exports.updateSandboxStatus429Schema = updateSandboxStatus429Schema;
|
|
31499
31540
|
exports.updateSandboxStatus500Schema = updateSandboxStatus500Schema;
|
|
31541
|
+
exports.updateSandboxStatus502Schema = updateSandboxStatus502Schema;
|
|
31500
31542
|
exports.updateSessionNetworkPolicyErrorSchema = updateSessionNetworkPolicyErrorSchema;
|
|
31501
31543
|
exports.updateSessionNetworkPolicyPathSessionIdSchema = updateSessionNetworkPolicyPathSessionIdSchema;
|
|
31502
31544
|
exports.updateSessionNetworkPolicyQuerySlugSchema = updateSessionNetworkPolicyQuerySlugSchema;
|