vercel-api-js 1.24.0 → 1.24.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 +1 -1
- package/dist/index.d.ts +270 -138
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{schemas-jo04pn92.cjs → schemas-dyw450pm.cjs} +72 -4
- package/dist/{schemas-kfouxllz.js → schemas-jdqje2tv.js} +72 -4
- package/dist/schemas.cjs +1 -1
- package/dist/schemas.d.mts +60 -1
- package/dist/schemas.d.mts.map +1 -1
- package/dist/schemas.mjs +1 -1
- package/dist/types.d.mts +75 -2
- package/dist/types.d.mts.map +1 -1
- package/package.json +1 -1
|
@@ -810,7 +810,7 @@ const connectCreateConnectorRequestSchema = z__namespace.union([
|
|
|
810
810
|
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
811
|
triggers: z__namespace.boolean().optional().describe("Whether the triggers are enabled for this connector."),
|
|
812
812
|
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."),
|
|
813
|
-
triggerData: z__namespace.object({}).catchall(z__namespace.unknown()).optional().describe("Trigger
|
|
813
|
+
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."),
|
|
814
814
|
triggerDestination: z__namespace.union([
|
|
815
815
|
z__namespace.object({
|
|
816
816
|
projectId: z__namespace.string().min(1).optional().describe("Project that receives triggers. During connector creation, omit it to use the top-level projectId."),
|
|
@@ -1087,6 +1087,7 @@ const connectConnectorUpdateDataSchema = z__namespace.union([
|
|
|
1087
1087
|
]).describe("Provider configuration fields for the connector type.");
|
|
1088
1088
|
const connectUpdateConnectorRequestSchema = z__namespace.object({
|
|
1089
1089
|
triggers: z__namespace.boolean().optional().describe("Whether the triggers are enabled for this connector."),
|
|
1090
|
+
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."),
|
|
1090
1091
|
events: z__namespace.array(z__namespace.string()).optional().describe("Default trigger events for this connector."),
|
|
1091
1092
|
data: z__namespace.unknown().optional().describe("Provider configuration fields to update."),
|
|
1092
1093
|
icon: z__namespace.string().regex(/^[0-9a-fA-F]{40}$/).optional().describe("SHA-1 digest of a PNG or JPEG icon that is at least 640 by 640 pixels. This field does not accept a URL or image bytes.\n\nFirst compute the digest and upload the raw image with [POST /v2/files](https://vercel.com/docs/rest-api/deployments/upload-deployment-files). Send `Content-Length` and the same 40-character digest in `x-vercel-digest`. Then set `icon` to that digest.\n\n```js\nimport { createHash } from 'node:crypto';\nimport { readFile } from 'node:fs/promises';\n\nconst VERCEL_TOKEN = process.env.VERCEL_TOKEN;\nconst connectorId = 'scl_...';\nconst bytes = await readFile('icon.png');\nconst digest = createHash('sha1').update(bytes).digest('hex');\n\nawait fetch('https://api.vercel.com/v2/files', {\n method: 'POST',\n headers: {\n Authorization: `Bearer ${VERCEL_TOKEN}`,\n 'Content-Type': 'application/octet-stream',\n 'Content-Length': String(bytes.length),\n 'x-vercel-digest': digest,\n },\n body: bytes,\n});\n\nawait fetch(`https://api.vercel.com/v2/connect/connectors/${connectorId}`, {\n method: 'PATCH',\n headers: {\n Authorization: `Bearer ${VERCEL_TOKEN}`,\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({ icon: digest }),\n});\n```\n"),
|
|
@@ -4284,6 +4285,25 @@ const userEventSchema = z__namespace.object({
|
|
|
4284
4285
|
]
|
|
4285
4286
|
}),
|
|
4286
4287
|
lastEditedByDisplayName: z__namespace.string().optional().describe("The last editor full name or username."),
|
|
4288
|
+
lastEditedByPrincipal: z__namespace.discriminatedUnion("type", [
|
|
4289
|
+
z__namespace.object({
|
|
4290
|
+
avatar: z__namespace.string().optional(),
|
|
4291
|
+
id: z__namespace.string(),
|
|
4292
|
+
name: z__namespace.string().nullish(),
|
|
4293
|
+
type: z__namespace.enum([
|
|
4294
|
+
"user"
|
|
4295
|
+
]),
|
|
4296
|
+
username: z__namespace.string()
|
|
4297
|
+
}).strict(),
|
|
4298
|
+
z__namespace.object({
|
|
4299
|
+
avatar: z__namespace.string().optional(),
|
|
4300
|
+
id: z__namespace.string(),
|
|
4301
|
+
name: z__namespace.string(),
|
|
4302
|
+
type: z__namespace.enum([
|
|
4303
|
+
"app"
|
|
4304
|
+
])
|
|
4305
|
+
}).strict()
|
|
4306
|
+
]).optional(),
|
|
4287
4307
|
ownerId: z__namespace.string().nullish().describe("The unique identifier of the owner (team) the Shared Env Var was created for.").meta({
|
|
4288
4308
|
examples: [
|
|
4289
4309
|
"team_LLHUOMOoDlqOp8wPE4kFo9pE"
|
|
@@ -4390,6 +4410,25 @@ const userEventSchema = z__namespace.object({
|
|
|
4390
4410
|
]
|
|
4391
4411
|
}),
|
|
4392
4412
|
lastEditedByDisplayName: z__namespace.string().optional().describe("The last editor full name or username."),
|
|
4413
|
+
lastEditedByPrincipal: z__namespace.discriminatedUnion("type", [
|
|
4414
|
+
z__namespace.object({
|
|
4415
|
+
avatar: z__namespace.string().optional(),
|
|
4416
|
+
id: z__namespace.string(),
|
|
4417
|
+
name: z__namespace.string().nullish(),
|
|
4418
|
+
type: z__namespace.enum([
|
|
4419
|
+
"user"
|
|
4420
|
+
]),
|
|
4421
|
+
username: z__namespace.string()
|
|
4422
|
+
}).strict(),
|
|
4423
|
+
z__namespace.object({
|
|
4424
|
+
avatar: z__namespace.string().optional(),
|
|
4425
|
+
id: z__namespace.string(),
|
|
4426
|
+
name: z__namespace.string(),
|
|
4427
|
+
type: z__namespace.enum([
|
|
4428
|
+
"app"
|
|
4429
|
+
])
|
|
4430
|
+
}).strict()
|
|
4431
|
+
]).optional(),
|
|
4393
4432
|
ownerId: z__namespace.string().nullish().describe("The unique identifier of the owner (team) the Shared Env Var was created for.").meta({
|
|
4394
4433
|
examples: [
|
|
4395
4434
|
"team_LLHUOMOoDlqOp8wPE4kFo9pE"
|
|
@@ -4481,6 +4520,25 @@ const userEventSchema = z__namespace.object({
|
|
|
4481
4520
|
]
|
|
4482
4521
|
}),
|
|
4483
4522
|
lastEditedByDisplayName: z__namespace.string().optional().describe("The last editor full name or username."),
|
|
4523
|
+
lastEditedByPrincipal: z__namespace.discriminatedUnion("type", [
|
|
4524
|
+
z__namespace.object({
|
|
4525
|
+
avatar: z__namespace.string().optional(),
|
|
4526
|
+
id: z__namespace.string(),
|
|
4527
|
+
name: z__namespace.string().nullish(),
|
|
4528
|
+
type: z__namespace.enum([
|
|
4529
|
+
"user"
|
|
4530
|
+
]),
|
|
4531
|
+
username: z__namespace.string()
|
|
4532
|
+
}).strict(),
|
|
4533
|
+
z__namespace.object({
|
|
4534
|
+
avatar: z__namespace.string().optional(),
|
|
4535
|
+
id: z__namespace.string(),
|
|
4536
|
+
name: z__namespace.string(),
|
|
4537
|
+
type: z__namespace.enum([
|
|
4538
|
+
"app"
|
|
4539
|
+
])
|
|
4540
|
+
}).strict()
|
|
4541
|
+
]).optional(),
|
|
4484
4542
|
ownerId: z__namespace.string().nullish().describe("The unique identifier of the owner (team) the Shared Env Var was created for.").meta({
|
|
4485
4543
|
examples: [
|
|
4486
4544
|
"team_LLHUOMOoDlqOp8wPE4kFo9pE"
|
|
@@ -8231,7 +8289,9 @@ const userEventSchema = z__namespace.object({
|
|
|
8231
8289
|
z__namespace.literal(true)
|
|
8232
8290
|
]).optional().describe("Keep track if the webhook has been called for the month")
|
|
8233
8291
|
}).describe("Represents a budget for tracking and notifying teams on their spending.")
|
|
8234
|
-
})
|
|
8292
|
+
}),
|
|
8293
|
+
projectId: z__namespace.string().optional().describe("Stored for project budgets. Same value as `budget.scopeId`."),
|
|
8294
|
+
projectName: z__namespace.string().optional()
|
|
8235
8295
|
}).strict(),
|
|
8236
8296
|
z__namespace.object({
|
|
8237
8297
|
budget: z__namespace.object({
|
|
@@ -8271,7 +8331,10 @@ const userEventSchema = z__namespace.object({
|
|
|
8271
8331
|
z__namespace.literal(false),
|
|
8272
8332
|
z__namespace.literal(true)
|
|
8273
8333
|
]).optional().describe("Keep track if the webhook has been called for the month")
|
|
8274
|
-
}).describe("Represents a budget for tracking and notifying teams on their spending.")
|
|
8334
|
+
}).describe("Represents a budget for tracking and notifying teams on their spending."),
|
|
8335
|
+
projectId: z__namespace.string().optional().describe("Stored for project budgets. Same value as `budget.scopeId`."),
|
|
8336
|
+
projectName: z__namespace.string().optional(),
|
|
8337
|
+
webhookUrl: z__namespace.string().optional()
|
|
8275
8338
|
}).strict(),
|
|
8276
8339
|
z__namespace.object({
|
|
8277
8340
|
budget: z__namespace.object({
|
|
@@ -8312,7 +8375,8 @@ const userEventSchema = z__namespace.object({
|
|
|
8312
8375
|
z__namespace.literal(true)
|
|
8313
8376
|
]).optional().describe("Keep track if the webhook has been called for the month")
|
|
8314
8377
|
}).describe("Represents a budget for tracking and notifying teams on their spending."),
|
|
8315
|
-
|
|
8378
|
+
projectId: z__namespace.string().optional().describe("Stored for project budgets. Same value as `budget.scopeId`."),
|
|
8379
|
+
projectName: z__namespace.string().optional()
|
|
8316
8380
|
}).strict(),
|
|
8317
8381
|
z__namespace.object({
|
|
8318
8382
|
budget: z__namespace.object({
|
|
@@ -8392,9 +8456,13 @@ const userEventSchema = z__namespace.object({
|
|
|
8392
8456
|
]).optional().describe("Keep track if the webhook has been called for the month")
|
|
8393
8457
|
}).optional().describe("Represents a budget for tracking and notifying teams on their spending."),
|
|
8394
8458
|
prevWebhookUrl: z__namespace.string().optional(),
|
|
8459
|
+
projectId: z__namespace.string().optional().describe("Stored for project budgets. Same value as `budget.scopeId`."),
|
|
8460
|
+
projectName: z__namespace.string().optional().describe("Injected at read time from `payload.projectId`."),
|
|
8395
8461
|
webhookUrl: z__namespace.string().optional()
|
|
8396
8462
|
}).strict(),
|
|
8397
8463
|
z__namespace.object({
|
|
8464
|
+
projectId: z__namespace.string().optional(),
|
|
8465
|
+
projectName: z__namespace.string().optional(),
|
|
8398
8466
|
webhookUrl: z__namespace.string().optional()
|
|
8399
8467
|
}).strict(),
|
|
8400
8468
|
z__namespace.object({
|
|
@@ -790,7 +790,7 @@ const connectCreateConnectorRequestSchema = z.union([
|
|
|
790
790
|
environments: z.array(z.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."),
|
|
791
791
|
triggers: z.boolean().optional().describe("Whether the triggers are enabled for this connector."),
|
|
792
792
|
triggerType: z.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."),
|
|
793
|
-
triggerData: z.object({}).catchall(z.unknown()).optional().describe("Trigger
|
|
793
|
+
triggerData: z.object({}).catchall(z.unknown()).optional().describe("Trigger configuration, validated and encrypted by the trigger driver. An empty object applies driver defaults."),
|
|
794
794
|
triggerDestination: z.union([
|
|
795
795
|
z.object({
|
|
796
796
|
projectId: z.string().min(1).optional().describe("Project that receives triggers. During connector creation, omit it to use the top-level projectId."),
|
|
@@ -1067,6 +1067,7 @@ const connectConnectorUpdateDataSchema = z.union([
|
|
|
1067
1067
|
]).describe("Provider configuration fields for the connector type.");
|
|
1068
1068
|
const connectUpdateConnectorRequestSchema = z.object({
|
|
1069
1069
|
triggers: z.boolean().optional().describe("Whether the triggers are enabled for this connector."),
|
|
1070
|
+
triggerData: z.object({}).catchall(z.unknown()).optional().describe("Trigger configuration, validated and encrypted by the trigger driver. An empty object applies driver defaults."),
|
|
1070
1071
|
events: z.array(z.string()).optional().describe("Default trigger events for this connector."),
|
|
1071
1072
|
data: z.unknown().optional().describe("Provider configuration fields to update."),
|
|
1072
1073
|
icon: z.string().regex(/^[0-9a-fA-F]{40}$/).optional().describe("SHA-1 digest of a PNG or JPEG icon that is at least 640 by 640 pixels. This field does not accept a URL or image bytes.\n\nFirst compute the digest and upload the raw image with [POST /v2/files](https://vercel.com/docs/rest-api/deployments/upload-deployment-files). Send `Content-Length` and the same 40-character digest in `x-vercel-digest`. Then set `icon` to that digest.\n\n```js\nimport { createHash } from 'node:crypto';\nimport { readFile } from 'node:fs/promises';\n\nconst VERCEL_TOKEN = process.env.VERCEL_TOKEN;\nconst connectorId = 'scl_...';\nconst bytes = await readFile('icon.png');\nconst digest = createHash('sha1').update(bytes).digest('hex');\n\nawait fetch('https://api.vercel.com/v2/files', {\n method: 'POST',\n headers: {\n Authorization: `Bearer ${VERCEL_TOKEN}`,\n 'Content-Type': 'application/octet-stream',\n 'Content-Length': String(bytes.length),\n 'x-vercel-digest': digest,\n },\n body: bytes,\n});\n\nawait fetch(`https://api.vercel.com/v2/connect/connectors/${connectorId}`, {\n method: 'PATCH',\n headers: {\n Authorization: `Bearer ${VERCEL_TOKEN}`,\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({ icon: digest }),\n});\n```\n"),
|
|
@@ -4264,6 +4265,25 @@ const userEventSchema = z.object({
|
|
|
4264
4265
|
]
|
|
4265
4266
|
}),
|
|
4266
4267
|
lastEditedByDisplayName: z.string().optional().describe("The last editor full name or username."),
|
|
4268
|
+
lastEditedByPrincipal: z.discriminatedUnion("type", [
|
|
4269
|
+
z.object({
|
|
4270
|
+
avatar: z.string().optional(),
|
|
4271
|
+
id: z.string(),
|
|
4272
|
+
name: z.string().nullish(),
|
|
4273
|
+
type: z.enum([
|
|
4274
|
+
"user"
|
|
4275
|
+
]),
|
|
4276
|
+
username: z.string()
|
|
4277
|
+
}).strict(),
|
|
4278
|
+
z.object({
|
|
4279
|
+
avatar: z.string().optional(),
|
|
4280
|
+
id: z.string(),
|
|
4281
|
+
name: z.string(),
|
|
4282
|
+
type: z.enum([
|
|
4283
|
+
"app"
|
|
4284
|
+
])
|
|
4285
|
+
}).strict()
|
|
4286
|
+
]).optional(),
|
|
4267
4287
|
ownerId: z.string().nullish().describe("The unique identifier of the owner (team) the Shared Env Var was created for.").meta({
|
|
4268
4288
|
examples: [
|
|
4269
4289
|
"team_LLHUOMOoDlqOp8wPE4kFo9pE"
|
|
@@ -4370,6 +4390,25 @@ const userEventSchema = z.object({
|
|
|
4370
4390
|
]
|
|
4371
4391
|
}),
|
|
4372
4392
|
lastEditedByDisplayName: z.string().optional().describe("The last editor full name or username."),
|
|
4393
|
+
lastEditedByPrincipal: z.discriminatedUnion("type", [
|
|
4394
|
+
z.object({
|
|
4395
|
+
avatar: z.string().optional(),
|
|
4396
|
+
id: z.string(),
|
|
4397
|
+
name: z.string().nullish(),
|
|
4398
|
+
type: z.enum([
|
|
4399
|
+
"user"
|
|
4400
|
+
]),
|
|
4401
|
+
username: z.string()
|
|
4402
|
+
}).strict(),
|
|
4403
|
+
z.object({
|
|
4404
|
+
avatar: z.string().optional(),
|
|
4405
|
+
id: z.string(),
|
|
4406
|
+
name: z.string(),
|
|
4407
|
+
type: z.enum([
|
|
4408
|
+
"app"
|
|
4409
|
+
])
|
|
4410
|
+
}).strict()
|
|
4411
|
+
]).optional(),
|
|
4373
4412
|
ownerId: z.string().nullish().describe("The unique identifier of the owner (team) the Shared Env Var was created for.").meta({
|
|
4374
4413
|
examples: [
|
|
4375
4414
|
"team_LLHUOMOoDlqOp8wPE4kFo9pE"
|
|
@@ -4461,6 +4500,25 @@ const userEventSchema = z.object({
|
|
|
4461
4500
|
]
|
|
4462
4501
|
}),
|
|
4463
4502
|
lastEditedByDisplayName: z.string().optional().describe("The last editor full name or username."),
|
|
4503
|
+
lastEditedByPrincipal: z.discriminatedUnion("type", [
|
|
4504
|
+
z.object({
|
|
4505
|
+
avatar: z.string().optional(),
|
|
4506
|
+
id: z.string(),
|
|
4507
|
+
name: z.string().nullish(),
|
|
4508
|
+
type: z.enum([
|
|
4509
|
+
"user"
|
|
4510
|
+
]),
|
|
4511
|
+
username: z.string()
|
|
4512
|
+
}).strict(),
|
|
4513
|
+
z.object({
|
|
4514
|
+
avatar: z.string().optional(),
|
|
4515
|
+
id: z.string(),
|
|
4516
|
+
name: z.string(),
|
|
4517
|
+
type: z.enum([
|
|
4518
|
+
"app"
|
|
4519
|
+
])
|
|
4520
|
+
}).strict()
|
|
4521
|
+
]).optional(),
|
|
4464
4522
|
ownerId: z.string().nullish().describe("The unique identifier of the owner (team) the Shared Env Var was created for.").meta({
|
|
4465
4523
|
examples: [
|
|
4466
4524
|
"team_LLHUOMOoDlqOp8wPE4kFo9pE"
|
|
@@ -8211,7 +8269,9 @@ const userEventSchema = z.object({
|
|
|
8211
8269
|
z.literal(true)
|
|
8212
8270
|
]).optional().describe("Keep track if the webhook has been called for the month")
|
|
8213
8271
|
}).describe("Represents a budget for tracking and notifying teams on their spending.")
|
|
8214
|
-
})
|
|
8272
|
+
}),
|
|
8273
|
+
projectId: z.string().optional().describe("Stored for project budgets. Same value as `budget.scopeId`."),
|
|
8274
|
+
projectName: z.string().optional()
|
|
8215
8275
|
}).strict(),
|
|
8216
8276
|
z.object({
|
|
8217
8277
|
budget: z.object({
|
|
@@ -8251,7 +8311,10 @@ const userEventSchema = z.object({
|
|
|
8251
8311
|
z.literal(false),
|
|
8252
8312
|
z.literal(true)
|
|
8253
8313
|
]).optional().describe("Keep track if the webhook has been called for the month")
|
|
8254
|
-
}).describe("Represents a budget for tracking and notifying teams on their spending.")
|
|
8314
|
+
}).describe("Represents a budget for tracking and notifying teams on their spending."),
|
|
8315
|
+
projectId: z.string().optional().describe("Stored for project budgets. Same value as `budget.scopeId`."),
|
|
8316
|
+
projectName: z.string().optional(),
|
|
8317
|
+
webhookUrl: z.string().optional()
|
|
8255
8318
|
}).strict(),
|
|
8256
8319
|
z.object({
|
|
8257
8320
|
budget: z.object({
|
|
@@ -8292,7 +8355,8 @@ const userEventSchema = z.object({
|
|
|
8292
8355
|
z.literal(true)
|
|
8293
8356
|
]).optional().describe("Keep track if the webhook has been called for the month")
|
|
8294
8357
|
}).describe("Represents a budget for tracking and notifying teams on their spending."),
|
|
8295
|
-
|
|
8358
|
+
projectId: z.string().optional().describe("Stored for project budgets. Same value as `budget.scopeId`."),
|
|
8359
|
+
projectName: z.string().optional()
|
|
8296
8360
|
}).strict(),
|
|
8297
8361
|
z.object({
|
|
8298
8362
|
budget: z.object({
|
|
@@ -8372,9 +8436,13 @@ const userEventSchema = z.object({
|
|
|
8372
8436
|
]).optional().describe("Keep track if the webhook has been called for the month")
|
|
8373
8437
|
}).optional().describe("Represents a budget for tracking and notifying teams on their spending."),
|
|
8374
8438
|
prevWebhookUrl: z.string().optional(),
|
|
8439
|
+
projectId: z.string().optional().describe("Stored for project budgets. Same value as `budget.scopeId`."),
|
|
8440
|
+
projectName: z.string().optional().describe("Injected at read time from `payload.projectId`."),
|
|
8375
8441
|
webhookUrl: z.string().optional()
|
|
8376
8442
|
}).strict(),
|
|
8377
8443
|
z.object({
|
|
8444
|
+
projectId: z.string().optional(),
|
|
8445
|
+
projectName: z.string().optional(),
|
|
8378
8446
|
webhookUrl: z.string().optional()
|
|
8379
8447
|
}).strict(),
|
|
8380
8448
|
z.object({
|
package/dist/schemas.cjs
CHANGED
package/dist/schemas.d.mts
CHANGED
|
@@ -840,6 +840,7 @@ declare const connectConnectorUpdateDataSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
840
840
|
}, z.core.$strict>, z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>]>;
|
|
841
841
|
declare const connectUpdateConnectorRequestSchema: z.ZodObject<{
|
|
842
842
|
triggers: z.ZodOptional<z.ZodBoolean>;
|
|
843
|
+
triggerData: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>>;
|
|
843
844
|
events: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
844
845
|
data: z.ZodOptional<z.ZodUnknown>;
|
|
845
846
|
icon: z.ZodOptional<z.ZodString>;
|
|
@@ -3458,6 +3459,22 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
3458
3459
|
id: z.ZodOptional<z.ZodString>;
|
|
3459
3460
|
key: z.ZodOptional<z.ZodString>;
|
|
3460
3461
|
lastEditedByDisplayName: z.ZodOptional<z.ZodString>;
|
|
3462
|
+
lastEditedByPrincipal: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3463
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
3464
|
+
id: z.ZodString;
|
|
3465
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3466
|
+
type: z.ZodEnum<{
|
|
3467
|
+
user: "user";
|
|
3468
|
+
}>;
|
|
3469
|
+
username: z.ZodString;
|
|
3470
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3471
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
3472
|
+
id: z.ZodString;
|
|
3473
|
+
name: z.ZodString;
|
|
3474
|
+
type: z.ZodEnum<{
|
|
3475
|
+
app: "app";
|
|
3476
|
+
}>;
|
|
3477
|
+
}, z.core.$strict>], "type">>;
|
|
3461
3478
|
ownerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3462
3479
|
projectId: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3463
3480
|
target: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -3501,6 +3518,22 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
3501
3518
|
id: z.ZodOptional<z.ZodString>;
|
|
3502
3519
|
key: z.ZodOptional<z.ZodString>;
|
|
3503
3520
|
lastEditedByDisplayName: z.ZodOptional<z.ZodString>;
|
|
3521
|
+
lastEditedByPrincipal: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3522
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
3523
|
+
id: z.ZodString;
|
|
3524
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3525
|
+
type: z.ZodEnum<{
|
|
3526
|
+
user: "user";
|
|
3527
|
+
}>;
|
|
3528
|
+
username: z.ZodString;
|
|
3529
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3530
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
3531
|
+
id: z.ZodString;
|
|
3532
|
+
name: z.ZodString;
|
|
3533
|
+
type: z.ZodEnum<{
|
|
3534
|
+
app: "app";
|
|
3535
|
+
}>;
|
|
3536
|
+
}, z.core.$strict>], "type">>;
|
|
3504
3537
|
ownerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3505
3538
|
projectId: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3506
3539
|
target: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -3531,6 +3564,22 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
3531
3564
|
id: z.ZodOptional<z.ZodString>;
|
|
3532
3565
|
key: z.ZodOptional<z.ZodString>;
|
|
3533
3566
|
lastEditedByDisplayName: z.ZodOptional<z.ZodString>;
|
|
3567
|
+
lastEditedByPrincipal: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3568
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
3569
|
+
id: z.ZodString;
|
|
3570
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3571
|
+
type: z.ZodEnum<{
|
|
3572
|
+
user: "user";
|
|
3573
|
+
}>;
|
|
3574
|
+
username: z.ZodString;
|
|
3575
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3576
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
3577
|
+
id: z.ZodString;
|
|
3578
|
+
name: z.ZodString;
|
|
3579
|
+
type: z.ZodEnum<{
|
|
3580
|
+
app: "app";
|
|
3581
|
+
}>;
|
|
3582
|
+
}, z.core.$strict>], "type">>;
|
|
3534
3583
|
ownerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3535
3584
|
projectId: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3536
3585
|
target: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -6591,6 +6640,8 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
6591
6640
|
webhookNotified: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
6592
6641
|
}, z.core.$strip>;
|
|
6593
6642
|
}, z.core.$strip>;
|
|
6643
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
6644
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
6594
6645
|
}, z.core.$strict>, z.ZodObject<{
|
|
6595
6646
|
budget: z.ZodObject<{
|
|
6596
6647
|
createdAt: z.ZodNumber;
|
|
@@ -6621,6 +6672,9 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
6621
6672
|
webhookId: z.ZodOptional<z.ZodString>;
|
|
6622
6673
|
webhookNotified: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
6623
6674
|
}, z.core.$strip>;
|
|
6675
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
6676
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
6677
|
+
webhookUrl: z.ZodOptional<z.ZodString>;
|
|
6624
6678
|
}, z.core.$strict>, z.ZodObject<{
|
|
6625
6679
|
budget: z.ZodObject<{
|
|
6626
6680
|
createdAt: z.ZodNumber;
|
|
@@ -6651,7 +6705,8 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
6651
6705
|
webhookId: z.ZodOptional<z.ZodString>;
|
|
6652
6706
|
webhookNotified: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
6653
6707
|
}, z.core.$strip>;
|
|
6654
|
-
|
|
6708
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
6709
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
6655
6710
|
}, z.core.$strict>, z.ZodObject<{
|
|
6656
6711
|
budget: z.ZodObject<{
|
|
6657
6712
|
createdAt: z.ZodNumber;
|
|
@@ -6712,8 +6767,12 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
6712
6767
|
webhookNotified: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
6713
6768
|
}, z.core.$strip>>;
|
|
6714
6769
|
prevWebhookUrl: z.ZodOptional<z.ZodString>;
|
|
6770
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
6771
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
6715
6772
|
webhookUrl: z.ZodOptional<z.ZodString>;
|
|
6716
6773
|
}, z.core.$strict>, z.ZodObject<{
|
|
6774
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
6775
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
6717
6776
|
webhookUrl: z.ZodOptional<z.ZodString>;
|
|
6718
6777
|
}, z.core.$strict>, z.ZodObject<{
|
|
6719
6778
|
storeType: z.ZodEnum<{
|