vercel-api-js 1.24.0 → 1.24.1
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 +1 -1
- package/dist/index.d.ts +219 -135
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{schemas-kfouxllz.js → schemas-mypb2rqy.js} +57 -0
- package/dist/{schemas-jo04pn92.cjs → schemas-oqtb4s3h.cjs} +57 -0
- package/dist/schemas.cjs +1 -1
- package/dist/schemas.d.mts +292 -244
- package/dist/schemas.d.mts.map +1 -1
- package/dist/schemas.mjs +1 -1
- package/dist/types.d.mts +36 -0
- package/dist/types.d.mts.map +1 -1
- package/package.json +1 -1
|
@@ -4264,6 +4264,25 @@ const userEventSchema = z.object({
|
|
|
4264
4264
|
]
|
|
4265
4265
|
}),
|
|
4266
4266
|
lastEditedByDisplayName: z.string().optional().describe("The last editor full name or username."),
|
|
4267
|
+
lastEditedByPrincipal: z.discriminatedUnion("type", [
|
|
4268
|
+
z.object({
|
|
4269
|
+
avatar: z.string().optional(),
|
|
4270
|
+
id: z.string(),
|
|
4271
|
+
name: z.string().nullish(),
|
|
4272
|
+
type: z.enum([
|
|
4273
|
+
"user"
|
|
4274
|
+
]),
|
|
4275
|
+
username: z.string()
|
|
4276
|
+
}).strict(),
|
|
4277
|
+
z.object({
|
|
4278
|
+
avatar: z.string().optional(),
|
|
4279
|
+
id: z.string(),
|
|
4280
|
+
name: z.string(),
|
|
4281
|
+
type: z.enum([
|
|
4282
|
+
"app"
|
|
4283
|
+
])
|
|
4284
|
+
}).strict()
|
|
4285
|
+
]).optional(),
|
|
4267
4286
|
ownerId: z.string().nullish().describe("The unique identifier of the owner (team) the Shared Env Var was created for.").meta({
|
|
4268
4287
|
examples: [
|
|
4269
4288
|
"team_LLHUOMOoDlqOp8wPE4kFo9pE"
|
|
@@ -4370,6 +4389,25 @@ const userEventSchema = z.object({
|
|
|
4370
4389
|
]
|
|
4371
4390
|
}),
|
|
4372
4391
|
lastEditedByDisplayName: z.string().optional().describe("The last editor full name or username."),
|
|
4392
|
+
lastEditedByPrincipal: z.discriminatedUnion("type", [
|
|
4393
|
+
z.object({
|
|
4394
|
+
avatar: z.string().optional(),
|
|
4395
|
+
id: z.string(),
|
|
4396
|
+
name: z.string().nullish(),
|
|
4397
|
+
type: z.enum([
|
|
4398
|
+
"user"
|
|
4399
|
+
]),
|
|
4400
|
+
username: z.string()
|
|
4401
|
+
}).strict(),
|
|
4402
|
+
z.object({
|
|
4403
|
+
avatar: z.string().optional(),
|
|
4404
|
+
id: z.string(),
|
|
4405
|
+
name: z.string(),
|
|
4406
|
+
type: z.enum([
|
|
4407
|
+
"app"
|
|
4408
|
+
])
|
|
4409
|
+
}).strict()
|
|
4410
|
+
]).optional(),
|
|
4373
4411
|
ownerId: z.string().nullish().describe("The unique identifier of the owner (team) the Shared Env Var was created for.").meta({
|
|
4374
4412
|
examples: [
|
|
4375
4413
|
"team_LLHUOMOoDlqOp8wPE4kFo9pE"
|
|
@@ -4461,6 +4499,25 @@ const userEventSchema = z.object({
|
|
|
4461
4499
|
]
|
|
4462
4500
|
}),
|
|
4463
4501
|
lastEditedByDisplayName: z.string().optional().describe("The last editor full name or username."),
|
|
4502
|
+
lastEditedByPrincipal: z.discriminatedUnion("type", [
|
|
4503
|
+
z.object({
|
|
4504
|
+
avatar: z.string().optional(),
|
|
4505
|
+
id: z.string(),
|
|
4506
|
+
name: z.string().nullish(),
|
|
4507
|
+
type: z.enum([
|
|
4508
|
+
"user"
|
|
4509
|
+
]),
|
|
4510
|
+
username: z.string()
|
|
4511
|
+
}).strict(),
|
|
4512
|
+
z.object({
|
|
4513
|
+
avatar: z.string().optional(),
|
|
4514
|
+
id: z.string(),
|
|
4515
|
+
name: z.string(),
|
|
4516
|
+
type: z.enum([
|
|
4517
|
+
"app"
|
|
4518
|
+
])
|
|
4519
|
+
}).strict()
|
|
4520
|
+
]).optional(),
|
|
4464
4521
|
ownerId: z.string().nullish().describe("The unique identifier of the owner (team) the Shared Env Var was created for.").meta({
|
|
4465
4522
|
examples: [
|
|
4466
4523
|
"team_LLHUOMOoDlqOp8wPE4kFo9pE"
|
|
@@ -4284,6 +4284,25 @@ const userEventSchema = z__namespace.object({
|
|
|
4284
4284
|
]
|
|
4285
4285
|
}),
|
|
4286
4286
|
lastEditedByDisplayName: z__namespace.string().optional().describe("The last editor full name or username."),
|
|
4287
|
+
lastEditedByPrincipal: z__namespace.discriminatedUnion("type", [
|
|
4288
|
+
z__namespace.object({
|
|
4289
|
+
avatar: z__namespace.string().optional(),
|
|
4290
|
+
id: z__namespace.string(),
|
|
4291
|
+
name: z__namespace.string().nullish(),
|
|
4292
|
+
type: z__namespace.enum([
|
|
4293
|
+
"user"
|
|
4294
|
+
]),
|
|
4295
|
+
username: z__namespace.string()
|
|
4296
|
+
}).strict(),
|
|
4297
|
+
z__namespace.object({
|
|
4298
|
+
avatar: z__namespace.string().optional(),
|
|
4299
|
+
id: z__namespace.string(),
|
|
4300
|
+
name: z__namespace.string(),
|
|
4301
|
+
type: z__namespace.enum([
|
|
4302
|
+
"app"
|
|
4303
|
+
])
|
|
4304
|
+
}).strict()
|
|
4305
|
+
]).optional(),
|
|
4287
4306
|
ownerId: z__namespace.string().nullish().describe("The unique identifier of the owner (team) the Shared Env Var was created for.").meta({
|
|
4288
4307
|
examples: [
|
|
4289
4308
|
"team_LLHUOMOoDlqOp8wPE4kFo9pE"
|
|
@@ -4390,6 +4409,25 @@ const userEventSchema = z__namespace.object({
|
|
|
4390
4409
|
]
|
|
4391
4410
|
}),
|
|
4392
4411
|
lastEditedByDisplayName: z__namespace.string().optional().describe("The last editor full name or username."),
|
|
4412
|
+
lastEditedByPrincipal: z__namespace.discriminatedUnion("type", [
|
|
4413
|
+
z__namespace.object({
|
|
4414
|
+
avatar: z__namespace.string().optional(),
|
|
4415
|
+
id: z__namespace.string(),
|
|
4416
|
+
name: z__namespace.string().nullish(),
|
|
4417
|
+
type: z__namespace.enum([
|
|
4418
|
+
"user"
|
|
4419
|
+
]),
|
|
4420
|
+
username: z__namespace.string()
|
|
4421
|
+
}).strict(),
|
|
4422
|
+
z__namespace.object({
|
|
4423
|
+
avatar: z__namespace.string().optional(),
|
|
4424
|
+
id: z__namespace.string(),
|
|
4425
|
+
name: z__namespace.string(),
|
|
4426
|
+
type: z__namespace.enum([
|
|
4427
|
+
"app"
|
|
4428
|
+
])
|
|
4429
|
+
}).strict()
|
|
4430
|
+
]).optional(),
|
|
4393
4431
|
ownerId: z__namespace.string().nullish().describe("The unique identifier of the owner (team) the Shared Env Var was created for.").meta({
|
|
4394
4432
|
examples: [
|
|
4395
4433
|
"team_LLHUOMOoDlqOp8wPE4kFo9pE"
|
|
@@ -4481,6 +4519,25 @@ const userEventSchema = z__namespace.object({
|
|
|
4481
4519
|
]
|
|
4482
4520
|
}),
|
|
4483
4521
|
lastEditedByDisplayName: z__namespace.string().optional().describe("The last editor full name or username."),
|
|
4522
|
+
lastEditedByPrincipal: z__namespace.discriminatedUnion("type", [
|
|
4523
|
+
z__namespace.object({
|
|
4524
|
+
avatar: z__namespace.string().optional(),
|
|
4525
|
+
id: z__namespace.string(),
|
|
4526
|
+
name: z__namespace.string().nullish(),
|
|
4527
|
+
type: z__namespace.enum([
|
|
4528
|
+
"user"
|
|
4529
|
+
]),
|
|
4530
|
+
username: z__namespace.string()
|
|
4531
|
+
}).strict(),
|
|
4532
|
+
z__namespace.object({
|
|
4533
|
+
avatar: z__namespace.string().optional(),
|
|
4534
|
+
id: z__namespace.string(),
|
|
4535
|
+
name: z__namespace.string(),
|
|
4536
|
+
type: z__namespace.enum([
|
|
4537
|
+
"app"
|
|
4538
|
+
])
|
|
4539
|
+
}).strict()
|
|
4540
|
+
]).optional(),
|
|
4484
4541
|
ownerId: z__namespace.string().nullish().describe("The unique identifier of the owner (team) the Shared Env Var was created for.").meta({
|
|
4485
4542
|
examples: [
|
|
4486
4543
|
"team_LLHUOMOoDlqOp8wPE4kFo9pE"
|