vercel-api-js 1.20.0 → 1.20.2
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 +7 -1
- package/dist/index.d.ts +107 -19
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{schemas-g4hakv36.js → schemas-kld4las0.js} +43 -5
- package/dist/{schemas-b636kgje.cjs → schemas-ltom3qj0.cjs} +45 -4
- package/dist/schemas.cjs +4 -1
- package/dist/schemas.d.mts +38 -8
- package/dist/schemas.d.mts.map +1 -1
- package/dist/schemas.mjs +1 -1
- package/dist/types.cjs +21 -1
- package/dist/types.d.mts +70 -12
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +19 -2
- package/package.json +1 -1
|
@@ -82,13 +82,11 @@ const aiGatewayVirtualModelConfigSchema = z__namespace.object({
|
|
|
82
82
|
providerTimeouts: z__namespace.object({
|
|
83
83
|
byok: z__namespace.object({}).catchall(z__namespace.number()).optional()
|
|
84
84
|
}).optional().describe("Per-request provider timeouts in ms, keyed by provider slug for BYOK credentials."),
|
|
85
|
-
requires: z__namespace.array(z__namespace.string()).optional().describe("For kind=router: capability tags a candidate must have."),
|
|
86
85
|
selector: z__namespace.enum([
|
|
87
86
|
"cost",
|
|
88
|
-
"priority",
|
|
89
87
|
"tps",
|
|
90
88
|
"ttft"
|
|
91
|
-
]).optional().describe("For kind=router: how to order candidates."),
|
|
89
|
+
]).optional().describe("For kind=router: how to order candidates. Absent means declared order."),
|
|
92
90
|
serviceTier: z__namespace.enum([
|
|
93
91
|
"fast",
|
|
94
92
|
"flex",
|
|
@@ -809,6 +807,8 @@ const connectCreateConnectorRequestSchema = z__namespace.union([
|
|
|
809
807
|
projectId: z__namespace.string().optional().describe("Project to connect during creation. If environments is omitted, the connection uses development, preview, and production."),
|
|
810
808
|
environments: z__namespace.array(z__namespace.string().regex(/^env_/)).min(1).optional().describe("Environments for the project connection. Requires projectId. Use one or more built-in environment names or stable custom environment IDs that belong to the project. Duplicate values are accepted and removed."),
|
|
811
809
|
triggers: z__namespace.boolean().optional().describe("Whether the triggers are enabled for this connector."),
|
|
810
|
+
triggerType: z__namespace.string().optional().describe("Trigger driver type. Resolved automatically from the service or known service registry when not provided. Only set when using the newly decoupled triggers resolution flow."),
|
|
811
|
+
triggerData: z__namespace.object({}).catchall(z__namespace.unknown()).optional().describe("Trigger-specific credentials (e.g. webhook signing secret). Validated and encrypted against the trigger type definition."),
|
|
812
812
|
triggerDestination: z__namespace.union([
|
|
813
813
|
z__namespace.object({
|
|
814
814
|
projectId: z__namespace.string().min(1).optional().describe("Project that receives triggers. During connector creation, omit it to use the top-level projectId."),
|
|
@@ -1980,7 +1980,6 @@ const userEventSchema = z__namespace.object({
|
|
|
1980
1980
|
"providerOptions",
|
|
1981
1981
|
"providerOrder",
|
|
1982
1982
|
"providerTimeouts",
|
|
1983
|
-
"requires",
|
|
1984
1983
|
"selector",
|
|
1985
1984
|
"serviceTier",
|
|
1986
1985
|
"sort",
|
|
@@ -6217,6 +6216,10 @@ const userEventSchema = z__namespace.object({
|
|
|
6217
6216
|
projectId: z__namespace.string().optional(),
|
|
6218
6217
|
projectName: z__namespace.string()
|
|
6219
6218
|
}).strict(),
|
|
6219
|
+
z__namespace.object({
|
|
6220
|
+
avatar: z__namespace.string().nullable(),
|
|
6221
|
+
organizationId: z__namespace.string()
|
|
6222
|
+
}).strict(),
|
|
6220
6223
|
z__namespace.object({
|
|
6221
6224
|
name: z__namespace.string(),
|
|
6222
6225
|
organizationId: z__namespace.string(),
|
|
@@ -6256,6 +6259,17 @@ const userEventSchema = z__namespace.object({
|
|
|
6256
6259
|
directoryId: z__namespace.string(),
|
|
6257
6260
|
organizationId: z__namespace.string()
|
|
6258
6261
|
}).strict(),
|
|
6262
|
+
z__namespace.object({
|
|
6263
|
+
copiedDomains: z__namespace.array(z__namespace.string()),
|
|
6264
|
+
enabledOrganizationEmu: z__namespace.union([
|
|
6265
|
+
z__namespace.literal(false),
|
|
6266
|
+
z__namespace.literal(true)
|
|
6267
|
+
]),
|
|
6268
|
+
enabledTeamIds: z__namespace.array(z__namespace.string()),
|
|
6269
|
+
organizationId: z__namespace.string(),
|
|
6270
|
+
teamId: z__namespace.string(),
|
|
6271
|
+
teamSlug: z__namespace.string()
|
|
6272
|
+
}).strict(),
|
|
6259
6273
|
z__namespace.object({
|
|
6260
6274
|
enabled: z__namespace.union([
|
|
6261
6275
|
z__namespace.literal(false),
|
|
@@ -10051,10 +10065,12 @@ const userEventSchema = z__namespace.object({
|
|
|
10051
10065
|
"oidc-policy-deleted",
|
|
10052
10066
|
"oidc-policy-updated",
|
|
10053
10067
|
"oidc-policy-used-to-obtain-app-token",
|
|
10068
|
+
"organization-avatar-update",
|
|
10054
10069
|
"organization-create",
|
|
10055
10070
|
"organization-delete",
|
|
10056
10071
|
"organization-dsync-group-delete",
|
|
10057
10072
|
"organization-dsync-group-upsert",
|
|
10073
|
+
"organization-emu-domains-merged",
|
|
10058
10074
|
"organization-emu-team-updated",
|
|
10059
10075
|
"organization-emu-updated",
|
|
10060
10076
|
"organization-slug-update",
|
|
@@ -10826,10 +10842,12 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
10826
10842
|
"oidc-policy-deleted",
|
|
10827
10843
|
"oidc-policy-updated",
|
|
10828
10844
|
"oidc-policy-used-to-obtain-app-token",
|
|
10845
|
+
"organization-avatar-update",
|
|
10829
10846
|
"organization-create",
|
|
10830
10847
|
"organization-delete",
|
|
10831
10848
|
"organization-dsync-group-delete",
|
|
10832
10849
|
"organization-dsync-group-upsert",
|
|
10850
|
+
"organization-emu-domains-merged",
|
|
10833
10851
|
"organization-emu-team-updated",
|
|
10834
10852
|
"organization-emu-updated",
|
|
10835
10853
|
"organization-slug-update",
|
|
@@ -11517,10 +11535,12 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
11517
11535
|
"oidc-policy-deleted",
|
|
11518
11536
|
"oidc-policy-updated",
|
|
11519
11537
|
"oidc-policy-used-to-obtain-app-token",
|
|
11538
|
+
"organization-avatar-update",
|
|
11520
11539
|
"organization-create",
|
|
11521
11540
|
"organization-delete",
|
|
11522
11541
|
"organization-dsync-group-delete",
|
|
11523
11542
|
"organization-dsync-group-upsert",
|
|
11543
|
+
"organization-emu-domains-merged",
|
|
11524
11544
|
"organization-emu-team-updated",
|
|
11525
11545
|
"organization-emu-updated",
|
|
11526
11546
|
"organization-slug-update",
|
|
@@ -12411,6 +12431,10 @@ const aCLActionSchema = z__namespace.enum([
|
|
|
12411
12431
|
"update"
|
|
12412
12432
|
]).describe("Enum containing the actions that can be performed against a resource. Group operations are included.");
|
|
12413
12433
|
const namedSandboxSchema = z__namespace.object({
|
|
12434
|
+
architecture: z__namespace.enum([
|
|
12435
|
+
"amd64",
|
|
12436
|
+
"arm64"
|
|
12437
|
+
]).optional().describe("CPU architecture of the sandbox. This value does not change."),
|
|
12414
12438
|
createdAt: z__namespace.number().describe("The time when the named sandbox was created, in milliseconds since the epoch.").meta({
|
|
12415
12439
|
examples: [
|
|
12416
12440
|
1750344501629
|
|
@@ -12657,6 +12681,10 @@ const sessionSchema = z__namespace.object({
|
|
|
12657
12681
|
42
|
|
12658
12682
|
]
|
|
12659
12683
|
}),
|
|
12684
|
+
architecture: z__namespace.enum([
|
|
12685
|
+
"amd64",
|
|
12686
|
+
"arm64"
|
|
12687
|
+
]).optional().describe("CPU architecture of the sandbox."),
|
|
12660
12688
|
createdAt: z__namespace.number().describe("The time when the sandbox was created, in milliseconds since the epoch.").meta({
|
|
12661
12689
|
examples: [
|
|
12662
12690
|
1750344501629
|
|
@@ -12818,6 +12846,10 @@ const driveSchema = z__namespace.object({
|
|
|
12818
12846
|
})
|
|
12819
12847
|
}).describe("This object contains information related to a Vercel Sandbox Drive.");
|
|
12820
12848
|
const snapshotSchema = z__namespace.object({
|
|
12849
|
+
architecture: z__namespace.enum([
|
|
12850
|
+
"amd64",
|
|
12851
|
+
"arm64"
|
|
12852
|
+
]).optional().describe("CPU architecture required to restore the snapshot."),
|
|
12821
12853
|
createdAt: z__namespace.number().describe("The time when the snapshot was created, in milliseconds since the epoch.").meta({
|
|
12822
12854
|
examples: [
|
|
12823
12855
|
1750344501629
|
|
@@ -14951,6 +14983,7 @@ const updateAiGatewayVirtualModelConfigStatus401Schema = z__namespace.unknown();
|
|
|
14951
14983
|
const updateAiGatewayVirtualModelConfigStatus403Schema = z__namespace.unknown();
|
|
14952
14984
|
const updateAiGatewayVirtualModelConfigStatus404Schema = z__namespace.unknown();
|
|
14953
14985
|
const updateAiGatewayVirtualModelConfigStatus410Schema = z__namespace.unknown();
|
|
14986
|
+
const updateAiGatewayVirtualModelConfigStatus429Schema = z__namespace.unknown();
|
|
14954
14987
|
const updateAiGatewayVirtualModelConfigStatus500Schema = z__namespace.unknown();
|
|
14955
14988
|
const updateAiGatewayVirtualModelConfigResponseSchema = updateAiGatewayVirtualModelConfigStatus200Schema;
|
|
14956
14989
|
const updateAiGatewayVirtualModelConfigErrorSchema = z__namespace.union([
|
|
@@ -14959,6 +14992,7 @@ const updateAiGatewayVirtualModelConfigErrorSchema = z__namespace.union([
|
|
|
14959
14992
|
updateAiGatewayVirtualModelConfigStatus403Schema,
|
|
14960
14993
|
updateAiGatewayVirtualModelConfigStatus404Schema,
|
|
14961
14994
|
updateAiGatewayVirtualModelConfigStatus410Schema,
|
|
14995
|
+
updateAiGatewayVirtualModelConfigStatus429Schema,
|
|
14962
14996
|
updateAiGatewayVirtualModelConfigStatus500Schema
|
|
14963
14997
|
]);
|
|
14964
14998
|
const deleteAiGatewayVirtualModelConfigQueryOwnerIdSchema = z__namespace.string().optional();
|
|
@@ -15064,6 +15098,7 @@ const updateAiGatewayVirtualModelConfigBySlugStatus401Schema = z__namespace.unkn
|
|
|
15064
15098
|
const updateAiGatewayVirtualModelConfigBySlugStatus403Schema = z__namespace.unknown();
|
|
15065
15099
|
const updateAiGatewayVirtualModelConfigBySlugStatus404Schema = z__namespace.unknown();
|
|
15066
15100
|
const updateAiGatewayVirtualModelConfigBySlugStatus410Schema = z__namespace.unknown();
|
|
15101
|
+
const updateAiGatewayVirtualModelConfigBySlugStatus429Schema = z__namespace.unknown();
|
|
15067
15102
|
const updateAiGatewayVirtualModelConfigBySlugStatus500Schema = z__namespace.unknown();
|
|
15068
15103
|
const updateAiGatewayVirtualModelConfigBySlugResponseSchema = updateAiGatewayVirtualModelConfigBySlugStatus200Schema;
|
|
15069
15104
|
const updateAiGatewayVirtualModelConfigBySlugErrorSchema = z__namespace.union([
|
|
@@ -15072,6 +15107,7 @@ const updateAiGatewayVirtualModelConfigBySlugErrorSchema = z__namespace.union([
|
|
|
15072
15107
|
updateAiGatewayVirtualModelConfigBySlugStatus403Schema,
|
|
15073
15108
|
updateAiGatewayVirtualModelConfigBySlugStatus404Schema,
|
|
15074
15109
|
updateAiGatewayVirtualModelConfigBySlugStatus410Schema,
|
|
15110
|
+
updateAiGatewayVirtualModelConfigBySlugStatus429Schema,
|
|
15075
15111
|
updateAiGatewayVirtualModelConfigBySlugStatus500Schema
|
|
15076
15112
|
]);
|
|
15077
15113
|
const deleteAiGatewayVirtualModelConfigBySlugQueryOwnerIdSchema = z__namespace.string().optional();
|
|
@@ -24586,6 +24622,7 @@ const patchTeamStatus400Schema = z__namespace.unknown();
|
|
|
24586
24622
|
const patchTeamStatus401Schema = z__namespace.unknown();
|
|
24587
24623
|
const patchTeamStatus402Schema = z__namespace.unknown();
|
|
24588
24624
|
const patchTeamStatus403Schema = z__namespace.unknown();
|
|
24625
|
+
const patchTeamStatus409Schema = z__namespace.unknown();
|
|
24589
24626
|
const patchTeamStatus410Schema = z__namespace.unknown();
|
|
24590
24627
|
const patchTeamStatus428Schema = z__namespace.unknown();
|
|
24591
24628
|
const patchTeamResponseSchema = patchTeamStatus200Schema;
|
|
@@ -24594,6 +24631,7 @@ const patchTeamErrorSchema = z__namespace.union([
|
|
|
24594
24631
|
patchTeamStatus401Schema,
|
|
24595
24632
|
patchTeamStatus402Schema,
|
|
24596
24633
|
patchTeamStatus403Schema,
|
|
24634
|
+
patchTeamStatus409Schema,
|
|
24597
24635
|
patchTeamStatus410Schema,
|
|
24598
24636
|
patchTeamStatus428Schema
|
|
24599
24637
|
]);
|
|
@@ -30465,6 +30503,7 @@ exports.patchTeamStatus400Schema = patchTeamStatus400Schema;
|
|
|
30465
30503
|
exports.patchTeamStatus401Schema = patchTeamStatus401Schema;
|
|
30466
30504
|
exports.patchTeamStatus402Schema = patchTeamStatus402Schema;
|
|
30467
30505
|
exports.patchTeamStatus403Schema = patchTeamStatus403Schema;
|
|
30506
|
+
exports.patchTeamStatus409Schema = patchTeamStatus409Schema;
|
|
30468
30507
|
exports.patchTeamStatus410Schema = patchTeamStatus410Schema;
|
|
30469
30508
|
exports.patchTeamStatus428Schema = patchTeamStatus428Schema;
|
|
30470
30509
|
exports.patchUrlProtectionBypassErrorSchema = patchUrlProtectionBypassErrorSchema;
|
|
@@ -31137,6 +31176,7 @@ exports.updateAiGatewayVirtualModelConfigBySlugStatus401Schema = updateAiGateway
|
|
|
31137
31176
|
exports.updateAiGatewayVirtualModelConfigBySlugStatus403Schema = updateAiGatewayVirtualModelConfigBySlugStatus403Schema;
|
|
31138
31177
|
exports.updateAiGatewayVirtualModelConfigBySlugStatus404Schema = updateAiGatewayVirtualModelConfigBySlugStatus404Schema;
|
|
31139
31178
|
exports.updateAiGatewayVirtualModelConfigBySlugStatus410Schema = updateAiGatewayVirtualModelConfigBySlugStatus410Schema;
|
|
31179
|
+
exports.updateAiGatewayVirtualModelConfigBySlugStatus429Schema = updateAiGatewayVirtualModelConfigBySlugStatus429Schema;
|
|
31140
31180
|
exports.updateAiGatewayVirtualModelConfigBySlugStatus500Schema = updateAiGatewayVirtualModelConfigBySlugStatus500Schema;
|
|
31141
31181
|
exports.updateAiGatewayVirtualModelConfigErrorSchema = updateAiGatewayVirtualModelConfigErrorSchema;
|
|
31142
31182
|
exports.updateAiGatewayVirtualModelConfigQuerySlugSchema = updateAiGatewayVirtualModelConfigQuerySlugSchema;
|
|
@@ -31148,6 +31188,7 @@ exports.updateAiGatewayVirtualModelConfigStatus401Schema = updateAiGatewayVirtua
|
|
|
31148
31188
|
exports.updateAiGatewayVirtualModelConfigStatus403Schema = updateAiGatewayVirtualModelConfigStatus403Schema;
|
|
31149
31189
|
exports.updateAiGatewayVirtualModelConfigStatus404Schema = updateAiGatewayVirtualModelConfigStatus404Schema;
|
|
31150
31190
|
exports.updateAiGatewayVirtualModelConfigStatus410Schema = updateAiGatewayVirtualModelConfigStatus410Schema;
|
|
31191
|
+
exports.updateAiGatewayVirtualModelConfigStatus429Schema = updateAiGatewayVirtualModelConfigStatus429Schema;
|
|
31151
31192
|
exports.updateAiGatewayVirtualModelConfigStatus500Schema = updateAiGatewayVirtualModelConfigStatus500Schema;
|
|
31152
31193
|
exports.updateAttackChallengeModeErrorSchema = updateAttackChallengeModeErrorSchema;
|
|
31153
31194
|
exports.updateAttackChallengeModeQuerySlugSchema = updateAttackChallengeModeQuerySlugSchema;
|
package/dist/schemas.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
|
|
3
|
-
var schemas = require('./schemas-
|
|
3
|
+
var schemas = require('./schemas-ltom3qj0.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -3903,6 +3903,7 @@ exports.patchTeamStatus400Schema = schemas.patchTeamStatus400Schema;
|
|
|
3903
3903
|
exports.patchTeamStatus401Schema = schemas.patchTeamStatus401Schema;
|
|
3904
3904
|
exports.patchTeamStatus402Schema = schemas.patchTeamStatus402Schema;
|
|
3905
3905
|
exports.patchTeamStatus403Schema = schemas.patchTeamStatus403Schema;
|
|
3906
|
+
exports.patchTeamStatus409Schema = schemas.patchTeamStatus409Schema;
|
|
3906
3907
|
exports.patchTeamStatus410Schema = schemas.patchTeamStatus410Schema;
|
|
3907
3908
|
exports.patchTeamStatus428Schema = schemas.patchTeamStatus428Schema;
|
|
3908
3909
|
exports.patchUrlProtectionBypassErrorSchema = schemas.patchUrlProtectionBypassErrorSchema;
|
|
@@ -4575,6 +4576,7 @@ exports.updateAiGatewayVirtualModelConfigBySlugStatus401Schema = schemas.updateA
|
|
|
4575
4576
|
exports.updateAiGatewayVirtualModelConfigBySlugStatus403Schema = schemas.updateAiGatewayVirtualModelConfigBySlugStatus403Schema;
|
|
4576
4577
|
exports.updateAiGatewayVirtualModelConfigBySlugStatus404Schema = schemas.updateAiGatewayVirtualModelConfigBySlugStatus404Schema;
|
|
4577
4578
|
exports.updateAiGatewayVirtualModelConfigBySlugStatus410Schema = schemas.updateAiGatewayVirtualModelConfigBySlugStatus410Schema;
|
|
4579
|
+
exports.updateAiGatewayVirtualModelConfigBySlugStatus429Schema = schemas.updateAiGatewayVirtualModelConfigBySlugStatus429Schema;
|
|
4578
4580
|
exports.updateAiGatewayVirtualModelConfigBySlugStatus500Schema = schemas.updateAiGatewayVirtualModelConfigBySlugStatus500Schema;
|
|
4579
4581
|
exports.updateAiGatewayVirtualModelConfigErrorSchema = schemas.updateAiGatewayVirtualModelConfigErrorSchema;
|
|
4580
4582
|
exports.updateAiGatewayVirtualModelConfigQuerySlugSchema = schemas.updateAiGatewayVirtualModelConfigQuerySlugSchema;
|
|
@@ -4586,6 +4588,7 @@ exports.updateAiGatewayVirtualModelConfigStatus401Schema = schemas.updateAiGatew
|
|
|
4586
4588
|
exports.updateAiGatewayVirtualModelConfigStatus403Schema = schemas.updateAiGatewayVirtualModelConfigStatus403Schema;
|
|
4587
4589
|
exports.updateAiGatewayVirtualModelConfigStatus404Schema = schemas.updateAiGatewayVirtualModelConfigStatus404Schema;
|
|
4588
4590
|
exports.updateAiGatewayVirtualModelConfigStatus410Schema = schemas.updateAiGatewayVirtualModelConfigStatus410Schema;
|
|
4591
|
+
exports.updateAiGatewayVirtualModelConfigStatus429Schema = schemas.updateAiGatewayVirtualModelConfigStatus429Schema;
|
|
4589
4592
|
exports.updateAiGatewayVirtualModelConfigStatus500Schema = schemas.updateAiGatewayVirtualModelConfigStatus500Schema;
|
|
4590
4593
|
exports.updateAttackChallengeModeErrorSchema = schemas.updateAttackChallengeModeErrorSchema;
|
|
4591
4594
|
exports.updateAttackChallengeModeQuerySlugSchema = schemas.updateAttackChallengeModeQuerySlugSchema;
|