vercel-api-js 1.33.0 → 1.33.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 +2 -2
- package/dist/index.d.ts +191 -145
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{schemas-i4xy161y.js → schemas-pdwpegl5.js} +38 -8
- package/dist/{schemas-ccicbdhm.cjs → schemas-zjt5gi8h.cjs} +38 -8
- package/dist/schemas.cjs +2 -2
- package/dist/schemas.d.mts +19 -4
- 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 +37 -6
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +6 -0
- package/package.json +1 -1
|
@@ -920,7 +920,7 @@ const connectCreateConnectorRequestSchema = z__namespace.union([
|
|
|
920
920
|
projectId: z__namespace.string().optional().describe("Project to connect during creation. If environments is omitted, the connection uses development, preview, and production."),
|
|
921
921
|
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."),
|
|
922
922
|
triggers: z__namespace.boolean().optional().describe("Whether the triggers are enabled for this connector."),
|
|
923
|
-
triggerType: z__namespace.string().optional().describe("Trigger driver type. Resolved automatically from the
|
|
923
|
+
triggerType: z__namespace.string().optional().describe("Trigger driver type. Resolved automatically from the known service connection method when not provided. Only set when using the newly decoupled triggers resolution flow."),
|
|
924
924
|
triggerData: z__namespace.object({}).catchall(z__namespace.unknown()).optional().describe("Trigger configuration, validated and encrypted by the trigger driver. An empty object applies driver defaults."),
|
|
925
925
|
triggerDestination: z__namespace.union([
|
|
926
926
|
z__namespace.strictObject({
|
|
@@ -4823,6 +4823,12 @@ const userEventSchema = z__namespace.object({
|
|
|
4823
4823
|
projectId: z__namespace.string(),
|
|
4824
4824
|
rulesetName: z__namespace.string()
|
|
4825
4825
|
}),
|
|
4826
|
+
z__namespace.strictObject({
|
|
4827
|
+
consumerProjectId: z__namespace.string(),
|
|
4828
|
+
consumerProjectName: z__namespace.string().optional(),
|
|
4829
|
+
projectId: z__namespace.string(),
|
|
4830
|
+
projectName: z__namespace.string().optional()
|
|
4831
|
+
}),
|
|
4826
4832
|
z__namespace.strictObject({
|
|
4827
4833
|
newOwnerId: z__namespace.string(),
|
|
4828
4834
|
previousOwnerId: z__namespace.string(),
|
|
@@ -10403,6 +10409,8 @@ const userEventSchema = z__namespace.object({
|
|
|
10403
10409
|
"flag-deleted",
|
|
10404
10410
|
"flag-unarchived",
|
|
10405
10411
|
"flag-updated",
|
|
10412
|
+
"flags-connection-created",
|
|
10413
|
+
"flags-connection-deleted",
|
|
10406
10414
|
"flags-explorer-subscription",
|
|
10407
10415
|
"flags-sdk-key",
|
|
10408
10416
|
"flags-sdk-key-added",
|
|
@@ -11198,6 +11206,8 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
11198
11206
|
"flag-deleted",
|
|
11199
11207
|
"flag-unarchived",
|
|
11200
11208
|
"flag-updated",
|
|
11209
|
+
"flags-connection-created",
|
|
11210
|
+
"flags-connection-deleted",
|
|
11201
11211
|
"flags-explorer-subscription",
|
|
11202
11212
|
"flags-sdk-key",
|
|
11203
11213
|
"flags-sdk-key-added",
|
|
@@ -11909,6 +11919,8 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
11909
11919
|
"flag-deleted",
|
|
11910
11920
|
"flag-unarchived",
|
|
11911
11921
|
"flag-updated",
|
|
11922
|
+
"flags-connection-created",
|
|
11923
|
+
"flags-connection-deleted",
|
|
11912
11924
|
"flags-explorer-subscription",
|
|
11913
11925
|
"flags-sdk-key",
|
|
11914
11926
|
"flags-sdk-key-added",
|
|
@@ -13078,6 +13090,10 @@ const namedSandboxSchema = z__namespace.object({
|
|
|
13078
13090
|
1750344501629
|
|
13079
13091
|
]
|
|
13080
13092
|
}),
|
|
13093
|
+
v0: z__namespace.union([
|
|
13094
|
+
z__namespace.literal(false),
|
|
13095
|
+
z__namespace.literal(true)
|
|
13096
|
+
]).optional().describe("Whether this sandbox is managed by v0 on the customer's behalf."),
|
|
13081
13097
|
vcpus: z__namespace.number().optional().describe("Number of virtual CPUs allocated.").meta({
|
|
13082
13098
|
examples: [
|
|
13083
13099
|
2
|
|
@@ -13261,6 +13277,10 @@ const sessionSchema = z__namespace.object({
|
|
|
13261
13277
|
1750344501629
|
|
13262
13278
|
]
|
|
13263
13279
|
}),
|
|
13280
|
+
v0: z__namespace.union([
|
|
13281
|
+
z__namespace.literal(false),
|
|
13282
|
+
z__namespace.literal(true)
|
|
13283
|
+
]).optional().describe("Whether this sandbox is managed by v0 on the customer's behalf."),
|
|
13264
13284
|
vcpus: z__namespace.number().describe("Number of vCPUs allocated to this sandbox.").meta({
|
|
13265
13285
|
examples: [
|
|
13266
13286
|
2
|
|
@@ -13312,7 +13332,11 @@ const driveSchema = z__namespace.object({
|
|
|
13312
13332
|
examples: [
|
|
13313
13333
|
1750344501629
|
|
13314
13334
|
]
|
|
13315
|
-
})
|
|
13335
|
+
}),
|
|
13336
|
+
v0: z__namespace.union([
|
|
13337
|
+
z__namespace.literal(false),
|
|
13338
|
+
z__namespace.literal(true)
|
|
13339
|
+
]).optional().describe("Whether this drive is managed by v0 on the customer's behalf.")
|
|
13316
13340
|
}).describe("This object contains information related to a Vercel Sandbox Drive.");
|
|
13317
13341
|
const snapshotSchema = z__namespace.object({
|
|
13318
13342
|
architecture: z__namespace.enum([
|
|
@@ -13388,7 +13412,11 @@ const snapshotSchema = z__namespace.object({
|
|
|
13388
13412
|
examples: [
|
|
13389
13413
|
1750344501629
|
|
13390
13414
|
]
|
|
13391
|
-
})
|
|
13415
|
+
}),
|
|
13416
|
+
v0: z__namespace.union([
|
|
13417
|
+
z__namespace.literal(false),
|
|
13418
|
+
z__namespace.literal(true)
|
|
13419
|
+
]).optional().describe("Whether this snapshot is managed by v0 on the customer's behalf.")
|
|
13392
13420
|
}).describe("This object contains information related to a Snapshot of a Vercel Sandbox session (v2 API).");
|
|
13393
13421
|
const sessionCommandSchema = z__namespace.object({
|
|
13394
13422
|
args: z__namespace.array(z__namespace.string()).describe("The arguments of the command.").meta({
|
|
@@ -17595,7 +17623,6 @@ const getConnectorTokenStatus404Schema = z__namespace.unknown();
|
|
|
17595
17623
|
const getConnectorTokenStatus410Schema = z__namespace.unknown();
|
|
17596
17624
|
const getConnectorTokenStatus422Schema = z__namespace.unknown();
|
|
17597
17625
|
const getConnectorTokenStatus429Schema = z__namespace.unknown();
|
|
17598
|
-
const getConnectorTokenStatus504Schema = z__namespace.unknown();
|
|
17599
17626
|
const getConnectorTokenResponseSchema = getConnectorTokenStatus200Schema;
|
|
17600
17627
|
const getConnectorTokenErrorSchema = z__namespace.union([
|
|
17601
17628
|
getConnectorTokenStatus400Schema,
|
|
@@ -17604,8 +17631,7 @@ const getConnectorTokenErrorSchema = z__namespace.union([
|
|
|
17604
17631
|
getConnectorTokenStatus404Schema,
|
|
17605
17632
|
getConnectorTokenStatus410Schema,
|
|
17606
17633
|
getConnectorTokenStatus422Schema,
|
|
17607
|
-
getConnectorTokenStatus429Schema
|
|
17608
|
-
getConnectorTokenStatus504Schema
|
|
17634
|
+
getConnectorTokenStatus429Schema
|
|
17609
17635
|
]);
|
|
17610
17636
|
const createConnectorAuthorizationRequestPathConnectorSchema = z__namespace.string();
|
|
17611
17637
|
const createConnectorAuthorizationRequestStatus200Schema = z__namespace.unknown();
|
|
@@ -19345,12 +19371,16 @@ const getEdgeConfigItemQuerySlugSchema = z__namespace.string().optional().descri
|
|
|
19345
19371
|
]
|
|
19346
19372
|
});
|
|
19347
19373
|
const getEdgeConfigItemStatus200Schema = z__namespace.unknown();
|
|
19374
|
+
const getEdgeConfigItemStatus204Schema = z__namespace.unknown();
|
|
19348
19375
|
const getEdgeConfigItemStatus400Schema = z__namespace.unknown();
|
|
19349
19376
|
const getEdgeConfigItemStatus401Schema = z__namespace.unknown();
|
|
19350
19377
|
const getEdgeConfigItemStatus403Schema = z__namespace.unknown();
|
|
19351
19378
|
const getEdgeConfigItemStatus404Schema = z__namespace.unknown();
|
|
19352
19379
|
const getEdgeConfigItemStatus410Schema = z__namespace.unknown();
|
|
19353
|
-
const getEdgeConfigItemResponseSchema =
|
|
19380
|
+
const getEdgeConfigItemResponseSchema = z__namespace.union([
|
|
19381
|
+
getEdgeConfigItemStatus200Schema,
|
|
19382
|
+
getEdgeConfigItemStatus204Schema
|
|
19383
|
+
]);
|
|
19354
19384
|
const getEdgeConfigItemErrorSchema = z__namespace.union([
|
|
19355
19385
|
getEdgeConfigItemStatus400Schema,
|
|
19356
19386
|
getEdgeConfigItemStatus401Schema,
|
|
@@ -30319,7 +30349,6 @@ exports.getConnectorTokenStatus404Schema = getConnectorTokenStatus404Schema;
|
|
|
30319
30349
|
exports.getConnectorTokenStatus410Schema = getConnectorTokenStatus410Schema;
|
|
30320
30350
|
exports.getConnectorTokenStatus422Schema = getConnectorTokenStatus422Schema;
|
|
30321
30351
|
exports.getConnectorTokenStatus429Schema = getConnectorTokenStatus429Schema;
|
|
30322
|
-
exports.getConnectorTokenStatus504Schema = getConnectorTokenStatus504Schema;
|
|
30323
30352
|
exports.getContactInfoSchemaErrorSchema = getContactInfoSchemaErrorSchema;
|
|
30324
30353
|
exports.getContactInfoSchemaPathDomainSchema = getContactInfoSchemaPathDomainSchema;
|
|
30325
30354
|
exports.getContactInfoSchemaQueryTeamIdSchema = getContactInfoSchemaQueryTeamIdSchema;
|
|
@@ -30619,6 +30648,7 @@ exports.getEdgeConfigItemQuerySlugSchema = getEdgeConfigItemQuerySlugSchema;
|
|
|
30619
30648
|
exports.getEdgeConfigItemQueryTeamIdSchema = getEdgeConfigItemQueryTeamIdSchema;
|
|
30620
30649
|
exports.getEdgeConfigItemResponseSchema = getEdgeConfigItemResponseSchema;
|
|
30621
30650
|
exports.getEdgeConfigItemStatus200Schema = getEdgeConfigItemStatus200Schema;
|
|
30651
|
+
exports.getEdgeConfigItemStatus204Schema = getEdgeConfigItemStatus204Schema;
|
|
30622
30652
|
exports.getEdgeConfigItemStatus400Schema = getEdgeConfigItemStatus400Schema;
|
|
30623
30653
|
exports.getEdgeConfigItemStatus401Schema = getEdgeConfigItemStatus401Schema;
|
|
30624
30654
|
exports.getEdgeConfigItemStatus403Schema = getEdgeConfigItemStatus403Schema;
|
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-zjt5gi8h.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -2126,7 +2126,6 @@ exports.getConnectorTokenStatus404Schema = schemas.getConnectorTokenStatus404Sch
|
|
|
2126
2126
|
exports.getConnectorTokenStatus410Schema = schemas.getConnectorTokenStatus410Schema;
|
|
2127
2127
|
exports.getConnectorTokenStatus422Schema = schemas.getConnectorTokenStatus422Schema;
|
|
2128
2128
|
exports.getConnectorTokenStatus429Schema = schemas.getConnectorTokenStatus429Schema;
|
|
2129
|
-
exports.getConnectorTokenStatus504Schema = schemas.getConnectorTokenStatus504Schema;
|
|
2130
2129
|
exports.getContactInfoSchemaErrorSchema = schemas.getContactInfoSchemaErrorSchema;
|
|
2131
2130
|
exports.getContactInfoSchemaPathDomainSchema = schemas.getContactInfoSchemaPathDomainSchema;
|
|
2132
2131
|
exports.getContactInfoSchemaQueryTeamIdSchema = schemas.getContactInfoSchemaQueryTeamIdSchema;
|
|
@@ -2426,6 +2425,7 @@ exports.getEdgeConfigItemQuerySlugSchema = schemas.getEdgeConfigItemQuerySlugSch
|
|
|
2426
2425
|
exports.getEdgeConfigItemQueryTeamIdSchema = schemas.getEdgeConfigItemQueryTeamIdSchema;
|
|
2427
2426
|
exports.getEdgeConfigItemResponseSchema = schemas.getEdgeConfigItemResponseSchema;
|
|
2428
2427
|
exports.getEdgeConfigItemStatus200Schema = schemas.getEdgeConfigItemStatus200Schema;
|
|
2428
|
+
exports.getEdgeConfigItemStatus204Schema = schemas.getEdgeConfigItemStatus204Schema;
|
|
2429
2429
|
exports.getEdgeConfigItemStatus400Schema = schemas.getEdgeConfigItemStatus400Schema;
|
|
2430
2430
|
exports.getEdgeConfigItemStatus401Schema = schemas.getEdgeConfigItemStatus401Schema;
|
|
2431
2431
|
exports.getEdgeConfigItemStatus403Schema = schemas.getEdgeConfigItemStatus403Schema;
|