@uniformdev/webhooks 20.72.3-alpha.23 → 20.72.3-alpha.25
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.d.mts +210 -1
- package/dist/index.d.ts +210 -1
- package/dist/index.esm.js +204 -105
- package/dist/index.js +209 -105
- package/dist/index.mjs +204 -105
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -508,6 +508,61 @@ declare const webhookEventCatalog: {
|
|
|
508
508
|
name: z.ZodString;
|
|
509
509
|
}, z.core.$strip>;
|
|
510
510
|
}, z.core.$strip>, "manifest.published">;
|
|
511
|
+
readonly 'notification.created': Definition<z.ZodObject<{
|
|
512
|
+
id: z.ZodString;
|
|
513
|
+
type: z.ZodLiteral<"text">;
|
|
514
|
+
summary: z.ZodObject<{
|
|
515
|
+
format: z.ZodLiteral<"markdown">;
|
|
516
|
+
value: z.ZodString;
|
|
517
|
+
}, z.core.$strict>;
|
|
518
|
+
entity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
519
|
+
type: z.ZodEnum<{
|
|
520
|
+
entry: "entry";
|
|
521
|
+
composition: "composition";
|
|
522
|
+
}>;
|
|
523
|
+
entityId: z.ZodString;
|
|
524
|
+
releaseId: z.ZodOptional<z.ZodString>;
|
|
525
|
+
editionId: z.ZodOptional<z.ZodString>;
|
|
526
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
527
|
+
type: z.ZodEnum<{
|
|
528
|
+
entryPattern: "entryPattern";
|
|
529
|
+
componentPattern: "componentPattern";
|
|
530
|
+
compositionPattern: "compositionPattern";
|
|
531
|
+
}>;
|
|
532
|
+
entityId: z.ZodString;
|
|
533
|
+
releaseId: z.ZodOptional<z.ZodString>;
|
|
534
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
535
|
+
type: z.ZodEnum<{
|
|
536
|
+
component: "component";
|
|
537
|
+
contentType: "contentType";
|
|
538
|
+
blockType: "blockType";
|
|
539
|
+
asset: "asset";
|
|
540
|
+
audience: "audience";
|
|
541
|
+
intent: "intent";
|
|
542
|
+
enrichment: "enrichment";
|
|
543
|
+
signal: "signal";
|
|
544
|
+
quirk: "quirk";
|
|
545
|
+
test: "test";
|
|
546
|
+
projectMapNode: "projectMapNode";
|
|
547
|
+
}>;
|
|
548
|
+
entityId: z.ZodString;
|
|
549
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
550
|
+
type: z.ZodLiteral<"external">;
|
|
551
|
+
url: z.ZodString;
|
|
552
|
+
}, z.core.$strict>], "type">>;
|
|
553
|
+
recipients: z.ZodArray<z.ZodString>;
|
|
554
|
+
timestamp: z.ZodString;
|
|
555
|
+
project: z.ZodObject<{
|
|
556
|
+
id: z.ZodString;
|
|
557
|
+
url: z.ZodString;
|
|
558
|
+
}, z.core.$strict>;
|
|
559
|
+
initiator: z.ZodObject<{
|
|
560
|
+
id: z.ZodString;
|
|
561
|
+
name: z.ZodOptional<z.ZodString>;
|
|
562
|
+
email: z.ZodOptional<z.ZodString>;
|
|
563
|
+
is_api_key: z.ZodBoolean;
|
|
564
|
+
}, z.core.$strict>;
|
|
565
|
+
}, z.core.$strict>, "notification.created">;
|
|
511
566
|
readonly 'projectmap.delete': Definition<z.ZodObject<{
|
|
512
567
|
id: z.ZodString;
|
|
513
568
|
base_url: z.ZodOptional<z.ZodString>;
|
|
@@ -1308,6 +1363,160 @@ declare const ManifestPublishedDefinition: Definition<z.ZodObject<{
|
|
|
1308
1363
|
type ManifestPublishedPayload = z.infer<(typeof ManifestPublishedDefinition)['schema']>;
|
|
1309
1364
|
declare const ManifestPublishedEventName: "manifest.published";
|
|
1310
1365
|
|
|
1366
|
+
declare const NotificationEntitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1367
|
+
type: z.ZodEnum<{
|
|
1368
|
+
entry: "entry";
|
|
1369
|
+
composition: "composition";
|
|
1370
|
+
}>;
|
|
1371
|
+
entityId: z.ZodString;
|
|
1372
|
+
releaseId: z.ZodOptional<z.ZodString>;
|
|
1373
|
+
editionId: z.ZodOptional<z.ZodString>;
|
|
1374
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1375
|
+
type: z.ZodEnum<{
|
|
1376
|
+
entryPattern: "entryPattern";
|
|
1377
|
+
componentPattern: "componentPattern";
|
|
1378
|
+
compositionPattern: "compositionPattern";
|
|
1379
|
+
}>;
|
|
1380
|
+
entityId: z.ZodString;
|
|
1381
|
+
releaseId: z.ZodOptional<z.ZodString>;
|
|
1382
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1383
|
+
type: z.ZodEnum<{
|
|
1384
|
+
component: "component";
|
|
1385
|
+
contentType: "contentType";
|
|
1386
|
+
blockType: "blockType";
|
|
1387
|
+
asset: "asset";
|
|
1388
|
+
audience: "audience";
|
|
1389
|
+
intent: "intent";
|
|
1390
|
+
enrichment: "enrichment";
|
|
1391
|
+
signal: "signal";
|
|
1392
|
+
quirk: "quirk";
|
|
1393
|
+
test: "test";
|
|
1394
|
+
projectMapNode: "projectMapNode";
|
|
1395
|
+
}>;
|
|
1396
|
+
entityId: z.ZodString;
|
|
1397
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1398
|
+
type: z.ZodLiteral<"external">;
|
|
1399
|
+
url: z.ZodString;
|
|
1400
|
+
}, z.core.$strict>], "type">;
|
|
1401
|
+
declare const NotificationSummarySchema: z.ZodObject<{
|
|
1402
|
+
format: z.ZodLiteral<"markdown">;
|
|
1403
|
+
value: z.ZodString;
|
|
1404
|
+
}, z.core.$strict>;
|
|
1405
|
+
declare const NotificationPayloadSchema: z.ZodObject<{
|
|
1406
|
+
id: z.ZodString;
|
|
1407
|
+
type: z.ZodLiteral<"text">;
|
|
1408
|
+
summary: z.ZodObject<{
|
|
1409
|
+
format: z.ZodLiteral<"markdown">;
|
|
1410
|
+
value: z.ZodString;
|
|
1411
|
+
}, z.core.$strict>;
|
|
1412
|
+
entity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1413
|
+
type: z.ZodEnum<{
|
|
1414
|
+
entry: "entry";
|
|
1415
|
+
composition: "composition";
|
|
1416
|
+
}>;
|
|
1417
|
+
entityId: z.ZodString;
|
|
1418
|
+
releaseId: z.ZodOptional<z.ZodString>;
|
|
1419
|
+
editionId: z.ZodOptional<z.ZodString>;
|
|
1420
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1421
|
+
type: z.ZodEnum<{
|
|
1422
|
+
entryPattern: "entryPattern";
|
|
1423
|
+
componentPattern: "componentPattern";
|
|
1424
|
+
compositionPattern: "compositionPattern";
|
|
1425
|
+
}>;
|
|
1426
|
+
entityId: z.ZodString;
|
|
1427
|
+
releaseId: z.ZodOptional<z.ZodString>;
|
|
1428
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1429
|
+
type: z.ZodEnum<{
|
|
1430
|
+
component: "component";
|
|
1431
|
+
contentType: "contentType";
|
|
1432
|
+
blockType: "blockType";
|
|
1433
|
+
asset: "asset";
|
|
1434
|
+
audience: "audience";
|
|
1435
|
+
intent: "intent";
|
|
1436
|
+
enrichment: "enrichment";
|
|
1437
|
+
signal: "signal";
|
|
1438
|
+
quirk: "quirk";
|
|
1439
|
+
test: "test";
|
|
1440
|
+
projectMapNode: "projectMapNode";
|
|
1441
|
+
}>;
|
|
1442
|
+
entityId: z.ZodString;
|
|
1443
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1444
|
+
type: z.ZodLiteral<"external">;
|
|
1445
|
+
url: z.ZodString;
|
|
1446
|
+
}, z.core.$strict>], "type">>;
|
|
1447
|
+
recipients: z.ZodArray<z.ZodString>;
|
|
1448
|
+
timestamp: z.ZodString;
|
|
1449
|
+
project: z.ZodObject<{
|
|
1450
|
+
id: z.ZodString;
|
|
1451
|
+
url: z.ZodString;
|
|
1452
|
+
}, z.core.$strict>;
|
|
1453
|
+
initiator: z.ZodObject<{
|
|
1454
|
+
id: z.ZodString;
|
|
1455
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1456
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1457
|
+
is_api_key: z.ZodBoolean;
|
|
1458
|
+
}, z.core.$strict>;
|
|
1459
|
+
}, z.core.$strict>;
|
|
1460
|
+
type NotificationPayload = z.infer<typeof NotificationPayloadSchema>;
|
|
1461
|
+
|
|
1462
|
+
declare const NotificationCreatedDefinition: Definition<z.ZodObject<{
|
|
1463
|
+
id: z.ZodString;
|
|
1464
|
+
type: z.ZodLiteral<"text">;
|
|
1465
|
+
summary: z.ZodObject<{
|
|
1466
|
+
format: z.ZodLiteral<"markdown">;
|
|
1467
|
+
value: z.ZodString;
|
|
1468
|
+
}, z.core.$strict>;
|
|
1469
|
+
entity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1470
|
+
type: z.ZodEnum<{
|
|
1471
|
+
entry: "entry";
|
|
1472
|
+
composition: "composition";
|
|
1473
|
+
}>;
|
|
1474
|
+
entityId: z.ZodString;
|
|
1475
|
+
releaseId: z.ZodOptional<z.ZodString>;
|
|
1476
|
+
editionId: z.ZodOptional<z.ZodString>;
|
|
1477
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1478
|
+
type: z.ZodEnum<{
|
|
1479
|
+
entryPattern: "entryPattern";
|
|
1480
|
+
componentPattern: "componentPattern";
|
|
1481
|
+
compositionPattern: "compositionPattern";
|
|
1482
|
+
}>;
|
|
1483
|
+
entityId: z.ZodString;
|
|
1484
|
+
releaseId: z.ZodOptional<z.ZodString>;
|
|
1485
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1486
|
+
type: z.ZodEnum<{
|
|
1487
|
+
component: "component";
|
|
1488
|
+
contentType: "contentType";
|
|
1489
|
+
blockType: "blockType";
|
|
1490
|
+
asset: "asset";
|
|
1491
|
+
audience: "audience";
|
|
1492
|
+
intent: "intent";
|
|
1493
|
+
enrichment: "enrichment";
|
|
1494
|
+
signal: "signal";
|
|
1495
|
+
quirk: "quirk";
|
|
1496
|
+
test: "test";
|
|
1497
|
+
projectMapNode: "projectMapNode";
|
|
1498
|
+
}>;
|
|
1499
|
+
entityId: z.ZodString;
|
|
1500
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1501
|
+
type: z.ZodLiteral<"external">;
|
|
1502
|
+
url: z.ZodString;
|
|
1503
|
+
}, z.core.$strict>], "type">>;
|
|
1504
|
+
recipients: z.ZodArray<z.ZodString>;
|
|
1505
|
+
timestamp: z.ZodString;
|
|
1506
|
+
project: z.ZodObject<{
|
|
1507
|
+
id: z.ZodString;
|
|
1508
|
+
url: z.ZodString;
|
|
1509
|
+
}, z.core.$strict>;
|
|
1510
|
+
initiator: z.ZodObject<{
|
|
1511
|
+
id: z.ZodString;
|
|
1512
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1513
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1514
|
+
is_api_key: z.ZodBoolean;
|
|
1515
|
+
}, z.core.$strict>;
|
|
1516
|
+
}, z.core.$strict>, "notification.created">;
|
|
1517
|
+
type NotificationCreatedPayload = z.infer<(typeof NotificationCreatedDefinition)['schema']>;
|
|
1518
|
+
declare const NotificationCreatedEventName: "notification.created";
|
|
1519
|
+
|
|
1311
1520
|
declare const ProjectMapDeleteDefinition: Definition<z.ZodObject<{
|
|
1312
1521
|
id: z.ZodString;
|
|
1313
1522
|
base_url: z.ZodOptional<z.ZodString>;
|
|
@@ -1672,4 +1881,4 @@ declare const WorkflowTransitionDefinition: Definition<z.ZodObject<{
|
|
|
1672
1881
|
type WorkflowTransitionPayload = z.infer<(typeof WorkflowTransitionDefinition)['schema']>;
|
|
1673
1882
|
declare const WorkflowTransitionEventName: "workflow.transition";
|
|
1674
1883
|
|
|
1675
|
-
export { ArchivedReleaseLaunchStartedDefinition, AssetDeletePayloadSchema, AssetDeletedDefinition, AssetDeletedEventName, type AssetDeletedPayload, type AssetPayload, AssetPayloadSchema, AssetPublishedDefinition, AssetPublishedEventName, type AssetPublishedPayload, CompositionChangedDefinition, CompositionChangedEventName, type CompositionChangedPayload, CompositionDeletePayloadSchema, CompositionDeletedDefinition, CompositionDeletedEventName, type CompositionDeletedPayload, type CompositionPayload, CompositionPayloadSchema, CompositionPublishedDefinition, CompositionPublishedEventName, type CompositionPublishedPayload, CompositionReleaseChangedDefinition, CompositionReleaseChangedEventName, type CompositionReleaseChangedPayload, CompositionReleaseDeletedDefinition, CompositionReleaseDeletedEventName, type CompositionReleaseDeletedPayload, CompositionReleasePublishedDefinition, CompositionReleasePublishedEventName, type CompositionReleasePublishedPayload, CompositionReleaseRestoredDefinition, CompositionReleaseRestoredEventName, type CompositionReleaseRestoredPayload, CompositionRestorePayloadSchema, CompositionTriggerPayloadSchema, type Definition, EntryChangedDefinition, EntryChangedEventName, type EntryChangedPayload, EntryDeletePayloadSchema, EntryDeletedDefinition, EntryDeletedEventName, type EntryDeletedPayload, type EntryPayload, EntryPayloadSchema, EntryPublishedDefinition, EntryPublishedEventName, type EntryPublishedPayload, EntryReleaseChangedDefinition, EntryReleaseChangedEventName, type EntryReleaseChangedPayload, EntryReleaseDeletedDefinition, EntryReleaseDeletedEventName, type EntryReleaseDeletedPayload, EntryReleasePublishedDefinition, EntryReleasePublishedEventName, type EntryReleasePublishedPayload, EntryReleaseRestoredDefinition, EntryReleaseRestoredEventName, type EntryReleaseRestoredPayload, EntryRestorePayloadSchema, EntryTriggerPayloadSchema, ManifestPublishedDefinition, ManifestPublishedEventName, type ManifestPublishedPayload, ProjectMapDeleteDefinition, ProjectMapDeletedEventName, type ProjectMapDeletedPayload, ProjectMapNodeDeleteDefinition, ProjectMapNodeDeletedEventName, type ProjectMapNodeDeletedPayload, ProjectMapNodeInsertDefinition, ProjectMapNodeInsertedEventName, type ProjectMapNodeInsertedPayload, ProjectMapNodeUpdateDefinition, ProjectMapNodeUpdatedEventName, type ProjectMapNodeUpdatedPayload, ProjectMapUpdateDefinition, ProjectMapUpdatedEventName, type ProjectMapUpdatedPayload, RedirectDeleteDefinition, RedirectDeletedEventName, type RedirectDeletedPayload, RedirectInsertDefinition, RedirectInsertedEventName, type RedirectInsertedPayload, RedirectUpdateDefinition, RedirectUpdatedEventName, type RedirectUpdatedPayload, ReleaseChangedDefinition, ReleaseChangedEventName, type ReleaseChangedPayload, type ReleaseCompositionPayload, ReleaseCompositionPayloadSchema, ReleaseDeletedDefinition, ReleaseDeletedEventName, type ReleaseDeletedPayload, type ReleaseEntryPayload, ReleaseEntryPayloadSchema, ReleaseLaunchStartedDefinition, ReleaseLaunchStartedEventName, type ReleaseLaunchStartedPayload, ReleaseLaunchedDefinition, ReleaseLaunchedEventName, type ReleaseLaunchedPayload, type ReleasePayload, ReleasePayloadSchema, type WebhookEventName, type WebhookInitiator, type WebhookPayloadFor, WorkflowEntitySchema, WorkflowReferenceSchema, WorkflowTransitionDefinition, WorkflowTransitionEventName, type WorkflowTransitionPayload, WorkflowTransitionPayloadSchema, definition, isDefinition, webhookEventCatalog, webhookEventNames, webhookInitiatorSchema };
|
|
1884
|
+
export { ArchivedReleaseLaunchStartedDefinition, AssetDeletePayloadSchema, AssetDeletedDefinition, AssetDeletedEventName, type AssetDeletedPayload, type AssetPayload, AssetPayloadSchema, AssetPublishedDefinition, AssetPublishedEventName, type AssetPublishedPayload, CompositionChangedDefinition, CompositionChangedEventName, type CompositionChangedPayload, CompositionDeletePayloadSchema, CompositionDeletedDefinition, CompositionDeletedEventName, type CompositionDeletedPayload, type CompositionPayload, CompositionPayloadSchema, CompositionPublishedDefinition, CompositionPublishedEventName, type CompositionPublishedPayload, CompositionReleaseChangedDefinition, CompositionReleaseChangedEventName, type CompositionReleaseChangedPayload, CompositionReleaseDeletedDefinition, CompositionReleaseDeletedEventName, type CompositionReleaseDeletedPayload, CompositionReleasePublishedDefinition, CompositionReleasePublishedEventName, type CompositionReleasePublishedPayload, CompositionReleaseRestoredDefinition, CompositionReleaseRestoredEventName, type CompositionReleaseRestoredPayload, CompositionRestorePayloadSchema, CompositionTriggerPayloadSchema, type Definition, EntryChangedDefinition, EntryChangedEventName, type EntryChangedPayload, EntryDeletePayloadSchema, EntryDeletedDefinition, EntryDeletedEventName, type EntryDeletedPayload, type EntryPayload, EntryPayloadSchema, EntryPublishedDefinition, EntryPublishedEventName, type EntryPublishedPayload, EntryReleaseChangedDefinition, EntryReleaseChangedEventName, type EntryReleaseChangedPayload, EntryReleaseDeletedDefinition, EntryReleaseDeletedEventName, type EntryReleaseDeletedPayload, EntryReleasePublishedDefinition, EntryReleasePublishedEventName, type EntryReleasePublishedPayload, EntryReleaseRestoredDefinition, EntryReleaseRestoredEventName, type EntryReleaseRestoredPayload, EntryRestorePayloadSchema, EntryTriggerPayloadSchema, ManifestPublishedDefinition, ManifestPublishedEventName, type ManifestPublishedPayload, NotificationCreatedDefinition, NotificationCreatedEventName, type NotificationCreatedPayload, NotificationEntitySchema, type NotificationPayload, NotificationPayloadSchema, NotificationSummarySchema, ProjectMapDeleteDefinition, ProjectMapDeletedEventName, type ProjectMapDeletedPayload, ProjectMapNodeDeleteDefinition, ProjectMapNodeDeletedEventName, type ProjectMapNodeDeletedPayload, ProjectMapNodeInsertDefinition, ProjectMapNodeInsertedEventName, type ProjectMapNodeInsertedPayload, ProjectMapNodeUpdateDefinition, ProjectMapNodeUpdatedEventName, type ProjectMapNodeUpdatedPayload, ProjectMapUpdateDefinition, ProjectMapUpdatedEventName, type ProjectMapUpdatedPayload, RedirectDeleteDefinition, RedirectDeletedEventName, type RedirectDeletedPayload, RedirectInsertDefinition, RedirectInsertedEventName, type RedirectInsertedPayload, RedirectUpdateDefinition, RedirectUpdatedEventName, type RedirectUpdatedPayload, ReleaseChangedDefinition, ReleaseChangedEventName, type ReleaseChangedPayload, type ReleaseCompositionPayload, ReleaseCompositionPayloadSchema, ReleaseDeletedDefinition, ReleaseDeletedEventName, type ReleaseDeletedPayload, type ReleaseEntryPayload, ReleaseEntryPayloadSchema, ReleaseLaunchStartedDefinition, ReleaseLaunchStartedEventName, type ReleaseLaunchStartedPayload, ReleaseLaunchedDefinition, ReleaseLaunchedEventName, type ReleaseLaunchedPayload, type ReleasePayload, ReleasePayloadSchema, type WebhookEventName, type WebhookInitiator, type WebhookPayloadFor, WorkflowEntitySchema, WorkflowReferenceSchema, WorkflowTransitionDefinition, WorkflowTransitionEventName, type WorkflowTransitionPayload, WorkflowTransitionPayloadSchema, definition, isDefinition, webhookEventCatalog, webhookEventNames, webhookInitiatorSchema };
|
package/dist/index.d.ts
CHANGED
|
@@ -508,6 +508,61 @@ declare const webhookEventCatalog: {
|
|
|
508
508
|
name: z.ZodString;
|
|
509
509
|
}, z.core.$strip>;
|
|
510
510
|
}, z.core.$strip>, "manifest.published">;
|
|
511
|
+
readonly 'notification.created': Definition<z.ZodObject<{
|
|
512
|
+
id: z.ZodString;
|
|
513
|
+
type: z.ZodLiteral<"text">;
|
|
514
|
+
summary: z.ZodObject<{
|
|
515
|
+
format: z.ZodLiteral<"markdown">;
|
|
516
|
+
value: z.ZodString;
|
|
517
|
+
}, z.core.$strict>;
|
|
518
|
+
entity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
519
|
+
type: z.ZodEnum<{
|
|
520
|
+
entry: "entry";
|
|
521
|
+
composition: "composition";
|
|
522
|
+
}>;
|
|
523
|
+
entityId: z.ZodString;
|
|
524
|
+
releaseId: z.ZodOptional<z.ZodString>;
|
|
525
|
+
editionId: z.ZodOptional<z.ZodString>;
|
|
526
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
527
|
+
type: z.ZodEnum<{
|
|
528
|
+
entryPattern: "entryPattern";
|
|
529
|
+
componentPattern: "componentPattern";
|
|
530
|
+
compositionPattern: "compositionPattern";
|
|
531
|
+
}>;
|
|
532
|
+
entityId: z.ZodString;
|
|
533
|
+
releaseId: z.ZodOptional<z.ZodString>;
|
|
534
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
535
|
+
type: z.ZodEnum<{
|
|
536
|
+
component: "component";
|
|
537
|
+
contentType: "contentType";
|
|
538
|
+
blockType: "blockType";
|
|
539
|
+
asset: "asset";
|
|
540
|
+
audience: "audience";
|
|
541
|
+
intent: "intent";
|
|
542
|
+
enrichment: "enrichment";
|
|
543
|
+
signal: "signal";
|
|
544
|
+
quirk: "quirk";
|
|
545
|
+
test: "test";
|
|
546
|
+
projectMapNode: "projectMapNode";
|
|
547
|
+
}>;
|
|
548
|
+
entityId: z.ZodString;
|
|
549
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
550
|
+
type: z.ZodLiteral<"external">;
|
|
551
|
+
url: z.ZodString;
|
|
552
|
+
}, z.core.$strict>], "type">>;
|
|
553
|
+
recipients: z.ZodArray<z.ZodString>;
|
|
554
|
+
timestamp: z.ZodString;
|
|
555
|
+
project: z.ZodObject<{
|
|
556
|
+
id: z.ZodString;
|
|
557
|
+
url: z.ZodString;
|
|
558
|
+
}, z.core.$strict>;
|
|
559
|
+
initiator: z.ZodObject<{
|
|
560
|
+
id: z.ZodString;
|
|
561
|
+
name: z.ZodOptional<z.ZodString>;
|
|
562
|
+
email: z.ZodOptional<z.ZodString>;
|
|
563
|
+
is_api_key: z.ZodBoolean;
|
|
564
|
+
}, z.core.$strict>;
|
|
565
|
+
}, z.core.$strict>, "notification.created">;
|
|
511
566
|
readonly 'projectmap.delete': Definition<z.ZodObject<{
|
|
512
567
|
id: z.ZodString;
|
|
513
568
|
base_url: z.ZodOptional<z.ZodString>;
|
|
@@ -1308,6 +1363,160 @@ declare const ManifestPublishedDefinition: Definition<z.ZodObject<{
|
|
|
1308
1363
|
type ManifestPublishedPayload = z.infer<(typeof ManifestPublishedDefinition)['schema']>;
|
|
1309
1364
|
declare const ManifestPublishedEventName: "manifest.published";
|
|
1310
1365
|
|
|
1366
|
+
declare const NotificationEntitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1367
|
+
type: z.ZodEnum<{
|
|
1368
|
+
entry: "entry";
|
|
1369
|
+
composition: "composition";
|
|
1370
|
+
}>;
|
|
1371
|
+
entityId: z.ZodString;
|
|
1372
|
+
releaseId: z.ZodOptional<z.ZodString>;
|
|
1373
|
+
editionId: z.ZodOptional<z.ZodString>;
|
|
1374
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1375
|
+
type: z.ZodEnum<{
|
|
1376
|
+
entryPattern: "entryPattern";
|
|
1377
|
+
componentPattern: "componentPattern";
|
|
1378
|
+
compositionPattern: "compositionPattern";
|
|
1379
|
+
}>;
|
|
1380
|
+
entityId: z.ZodString;
|
|
1381
|
+
releaseId: z.ZodOptional<z.ZodString>;
|
|
1382
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1383
|
+
type: z.ZodEnum<{
|
|
1384
|
+
component: "component";
|
|
1385
|
+
contentType: "contentType";
|
|
1386
|
+
blockType: "blockType";
|
|
1387
|
+
asset: "asset";
|
|
1388
|
+
audience: "audience";
|
|
1389
|
+
intent: "intent";
|
|
1390
|
+
enrichment: "enrichment";
|
|
1391
|
+
signal: "signal";
|
|
1392
|
+
quirk: "quirk";
|
|
1393
|
+
test: "test";
|
|
1394
|
+
projectMapNode: "projectMapNode";
|
|
1395
|
+
}>;
|
|
1396
|
+
entityId: z.ZodString;
|
|
1397
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1398
|
+
type: z.ZodLiteral<"external">;
|
|
1399
|
+
url: z.ZodString;
|
|
1400
|
+
}, z.core.$strict>], "type">;
|
|
1401
|
+
declare const NotificationSummarySchema: z.ZodObject<{
|
|
1402
|
+
format: z.ZodLiteral<"markdown">;
|
|
1403
|
+
value: z.ZodString;
|
|
1404
|
+
}, z.core.$strict>;
|
|
1405
|
+
declare const NotificationPayloadSchema: z.ZodObject<{
|
|
1406
|
+
id: z.ZodString;
|
|
1407
|
+
type: z.ZodLiteral<"text">;
|
|
1408
|
+
summary: z.ZodObject<{
|
|
1409
|
+
format: z.ZodLiteral<"markdown">;
|
|
1410
|
+
value: z.ZodString;
|
|
1411
|
+
}, z.core.$strict>;
|
|
1412
|
+
entity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1413
|
+
type: z.ZodEnum<{
|
|
1414
|
+
entry: "entry";
|
|
1415
|
+
composition: "composition";
|
|
1416
|
+
}>;
|
|
1417
|
+
entityId: z.ZodString;
|
|
1418
|
+
releaseId: z.ZodOptional<z.ZodString>;
|
|
1419
|
+
editionId: z.ZodOptional<z.ZodString>;
|
|
1420
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1421
|
+
type: z.ZodEnum<{
|
|
1422
|
+
entryPattern: "entryPattern";
|
|
1423
|
+
componentPattern: "componentPattern";
|
|
1424
|
+
compositionPattern: "compositionPattern";
|
|
1425
|
+
}>;
|
|
1426
|
+
entityId: z.ZodString;
|
|
1427
|
+
releaseId: z.ZodOptional<z.ZodString>;
|
|
1428
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1429
|
+
type: z.ZodEnum<{
|
|
1430
|
+
component: "component";
|
|
1431
|
+
contentType: "contentType";
|
|
1432
|
+
blockType: "blockType";
|
|
1433
|
+
asset: "asset";
|
|
1434
|
+
audience: "audience";
|
|
1435
|
+
intent: "intent";
|
|
1436
|
+
enrichment: "enrichment";
|
|
1437
|
+
signal: "signal";
|
|
1438
|
+
quirk: "quirk";
|
|
1439
|
+
test: "test";
|
|
1440
|
+
projectMapNode: "projectMapNode";
|
|
1441
|
+
}>;
|
|
1442
|
+
entityId: z.ZodString;
|
|
1443
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1444
|
+
type: z.ZodLiteral<"external">;
|
|
1445
|
+
url: z.ZodString;
|
|
1446
|
+
}, z.core.$strict>], "type">>;
|
|
1447
|
+
recipients: z.ZodArray<z.ZodString>;
|
|
1448
|
+
timestamp: z.ZodString;
|
|
1449
|
+
project: z.ZodObject<{
|
|
1450
|
+
id: z.ZodString;
|
|
1451
|
+
url: z.ZodString;
|
|
1452
|
+
}, z.core.$strict>;
|
|
1453
|
+
initiator: z.ZodObject<{
|
|
1454
|
+
id: z.ZodString;
|
|
1455
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1456
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1457
|
+
is_api_key: z.ZodBoolean;
|
|
1458
|
+
}, z.core.$strict>;
|
|
1459
|
+
}, z.core.$strict>;
|
|
1460
|
+
type NotificationPayload = z.infer<typeof NotificationPayloadSchema>;
|
|
1461
|
+
|
|
1462
|
+
declare const NotificationCreatedDefinition: Definition<z.ZodObject<{
|
|
1463
|
+
id: z.ZodString;
|
|
1464
|
+
type: z.ZodLiteral<"text">;
|
|
1465
|
+
summary: z.ZodObject<{
|
|
1466
|
+
format: z.ZodLiteral<"markdown">;
|
|
1467
|
+
value: z.ZodString;
|
|
1468
|
+
}, z.core.$strict>;
|
|
1469
|
+
entity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1470
|
+
type: z.ZodEnum<{
|
|
1471
|
+
entry: "entry";
|
|
1472
|
+
composition: "composition";
|
|
1473
|
+
}>;
|
|
1474
|
+
entityId: z.ZodString;
|
|
1475
|
+
releaseId: z.ZodOptional<z.ZodString>;
|
|
1476
|
+
editionId: z.ZodOptional<z.ZodString>;
|
|
1477
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1478
|
+
type: z.ZodEnum<{
|
|
1479
|
+
entryPattern: "entryPattern";
|
|
1480
|
+
componentPattern: "componentPattern";
|
|
1481
|
+
compositionPattern: "compositionPattern";
|
|
1482
|
+
}>;
|
|
1483
|
+
entityId: z.ZodString;
|
|
1484
|
+
releaseId: z.ZodOptional<z.ZodString>;
|
|
1485
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1486
|
+
type: z.ZodEnum<{
|
|
1487
|
+
component: "component";
|
|
1488
|
+
contentType: "contentType";
|
|
1489
|
+
blockType: "blockType";
|
|
1490
|
+
asset: "asset";
|
|
1491
|
+
audience: "audience";
|
|
1492
|
+
intent: "intent";
|
|
1493
|
+
enrichment: "enrichment";
|
|
1494
|
+
signal: "signal";
|
|
1495
|
+
quirk: "quirk";
|
|
1496
|
+
test: "test";
|
|
1497
|
+
projectMapNode: "projectMapNode";
|
|
1498
|
+
}>;
|
|
1499
|
+
entityId: z.ZodString;
|
|
1500
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1501
|
+
type: z.ZodLiteral<"external">;
|
|
1502
|
+
url: z.ZodString;
|
|
1503
|
+
}, z.core.$strict>], "type">>;
|
|
1504
|
+
recipients: z.ZodArray<z.ZodString>;
|
|
1505
|
+
timestamp: z.ZodString;
|
|
1506
|
+
project: z.ZodObject<{
|
|
1507
|
+
id: z.ZodString;
|
|
1508
|
+
url: z.ZodString;
|
|
1509
|
+
}, z.core.$strict>;
|
|
1510
|
+
initiator: z.ZodObject<{
|
|
1511
|
+
id: z.ZodString;
|
|
1512
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1513
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1514
|
+
is_api_key: z.ZodBoolean;
|
|
1515
|
+
}, z.core.$strict>;
|
|
1516
|
+
}, z.core.$strict>, "notification.created">;
|
|
1517
|
+
type NotificationCreatedPayload = z.infer<(typeof NotificationCreatedDefinition)['schema']>;
|
|
1518
|
+
declare const NotificationCreatedEventName: "notification.created";
|
|
1519
|
+
|
|
1311
1520
|
declare const ProjectMapDeleteDefinition: Definition<z.ZodObject<{
|
|
1312
1521
|
id: z.ZodString;
|
|
1313
1522
|
base_url: z.ZodOptional<z.ZodString>;
|
|
@@ -1672,4 +1881,4 @@ declare const WorkflowTransitionDefinition: Definition<z.ZodObject<{
|
|
|
1672
1881
|
type WorkflowTransitionPayload = z.infer<(typeof WorkflowTransitionDefinition)['schema']>;
|
|
1673
1882
|
declare const WorkflowTransitionEventName: "workflow.transition";
|
|
1674
1883
|
|
|
1675
|
-
export { ArchivedReleaseLaunchStartedDefinition, AssetDeletePayloadSchema, AssetDeletedDefinition, AssetDeletedEventName, type AssetDeletedPayload, type AssetPayload, AssetPayloadSchema, AssetPublishedDefinition, AssetPublishedEventName, type AssetPublishedPayload, CompositionChangedDefinition, CompositionChangedEventName, type CompositionChangedPayload, CompositionDeletePayloadSchema, CompositionDeletedDefinition, CompositionDeletedEventName, type CompositionDeletedPayload, type CompositionPayload, CompositionPayloadSchema, CompositionPublishedDefinition, CompositionPublishedEventName, type CompositionPublishedPayload, CompositionReleaseChangedDefinition, CompositionReleaseChangedEventName, type CompositionReleaseChangedPayload, CompositionReleaseDeletedDefinition, CompositionReleaseDeletedEventName, type CompositionReleaseDeletedPayload, CompositionReleasePublishedDefinition, CompositionReleasePublishedEventName, type CompositionReleasePublishedPayload, CompositionReleaseRestoredDefinition, CompositionReleaseRestoredEventName, type CompositionReleaseRestoredPayload, CompositionRestorePayloadSchema, CompositionTriggerPayloadSchema, type Definition, EntryChangedDefinition, EntryChangedEventName, type EntryChangedPayload, EntryDeletePayloadSchema, EntryDeletedDefinition, EntryDeletedEventName, type EntryDeletedPayload, type EntryPayload, EntryPayloadSchema, EntryPublishedDefinition, EntryPublishedEventName, type EntryPublishedPayload, EntryReleaseChangedDefinition, EntryReleaseChangedEventName, type EntryReleaseChangedPayload, EntryReleaseDeletedDefinition, EntryReleaseDeletedEventName, type EntryReleaseDeletedPayload, EntryReleasePublishedDefinition, EntryReleasePublishedEventName, type EntryReleasePublishedPayload, EntryReleaseRestoredDefinition, EntryReleaseRestoredEventName, type EntryReleaseRestoredPayload, EntryRestorePayloadSchema, EntryTriggerPayloadSchema, ManifestPublishedDefinition, ManifestPublishedEventName, type ManifestPublishedPayload, ProjectMapDeleteDefinition, ProjectMapDeletedEventName, type ProjectMapDeletedPayload, ProjectMapNodeDeleteDefinition, ProjectMapNodeDeletedEventName, type ProjectMapNodeDeletedPayload, ProjectMapNodeInsertDefinition, ProjectMapNodeInsertedEventName, type ProjectMapNodeInsertedPayload, ProjectMapNodeUpdateDefinition, ProjectMapNodeUpdatedEventName, type ProjectMapNodeUpdatedPayload, ProjectMapUpdateDefinition, ProjectMapUpdatedEventName, type ProjectMapUpdatedPayload, RedirectDeleteDefinition, RedirectDeletedEventName, type RedirectDeletedPayload, RedirectInsertDefinition, RedirectInsertedEventName, type RedirectInsertedPayload, RedirectUpdateDefinition, RedirectUpdatedEventName, type RedirectUpdatedPayload, ReleaseChangedDefinition, ReleaseChangedEventName, type ReleaseChangedPayload, type ReleaseCompositionPayload, ReleaseCompositionPayloadSchema, ReleaseDeletedDefinition, ReleaseDeletedEventName, type ReleaseDeletedPayload, type ReleaseEntryPayload, ReleaseEntryPayloadSchema, ReleaseLaunchStartedDefinition, ReleaseLaunchStartedEventName, type ReleaseLaunchStartedPayload, ReleaseLaunchedDefinition, ReleaseLaunchedEventName, type ReleaseLaunchedPayload, type ReleasePayload, ReleasePayloadSchema, type WebhookEventName, type WebhookInitiator, type WebhookPayloadFor, WorkflowEntitySchema, WorkflowReferenceSchema, WorkflowTransitionDefinition, WorkflowTransitionEventName, type WorkflowTransitionPayload, WorkflowTransitionPayloadSchema, definition, isDefinition, webhookEventCatalog, webhookEventNames, webhookInitiatorSchema };
|
|
1884
|
+
export { ArchivedReleaseLaunchStartedDefinition, AssetDeletePayloadSchema, AssetDeletedDefinition, AssetDeletedEventName, type AssetDeletedPayload, type AssetPayload, AssetPayloadSchema, AssetPublishedDefinition, AssetPublishedEventName, type AssetPublishedPayload, CompositionChangedDefinition, CompositionChangedEventName, type CompositionChangedPayload, CompositionDeletePayloadSchema, CompositionDeletedDefinition, CompositionDeletedEventName, type CompositionDeletedPayload, type CompositionPayload, CompositionPayloadSchema, CompositionPublishedDefinition, CompositionPublishedEventName, type CompositionPublishedPayload, CompositionReleaseChangedDefinition, CompositionReleaseChangedEventName, type CompositionReleaseChangedPayload, CompositionReleaseDeletedDefinition, CompositionReleaseDeletedEventName, type CompositionReleaseDeletedPayload, CompositionReleasePublishedDefinition, CompositionReleasePublishedEventName, type CompositionReleasePublishedPayload, CompositionReleaseRestoredDefinition, CompositionReleaseRestoredEventName, type CompositionReleaseRestoredPayload, CompositionRestorePayloadSchema, CompositionTriggerPayloadSchema, type Definition, EntryChangedDefinition, EntryChangedEventName, type EntryChangedPayload, EntryDeletePayloadSchema, EntryDeletedDefinition, EntryDeletedEventName, type EntryDeletedPayload, type EntryPayload, EntryPayloadSchema, EntryPublishedDefinition, EntryPublishedEventName, type EntryPublishedPayload, EntryReleaseChangedDefinition, EntryReleaseChangedEventName, type EntryReleaseChangedPayload, EntryReleaseDeletedDefinition, EntryReleaseDeletedEventName, type EntryReleaseDeletedPayload, EntryReleasePublishedDefinition, EntryReleasePublishedEventName, type EntryReleasePublishedPayload, EntryReleaseRestoredDefinition, EntryReleaseRestoredEventName, type EntryReleaseRestoredPayload, EntryRestorePayloadSchema, EntryTriggerPayloadSchema, ManifestPublishedDefinition, ManifestPublishedEventName, type ManifestPublishedPayload, NotificationCreatedDefinition, NotificationCreatedEventName, type NotificationCreatedPayload, NotificationEntitySchema, type NotificationPayload, NotificationPayloadSchema, NotificationSummarySchema, ProjectMapDeleteDefinition, ProjectMapDeletedEventName, type ProjectMapDeletedPayload, ProjectMapNodeDeleteDefinition, ProjectMapNodeDeletedEventName, type ProjectMapNodeDeletedPayload, ProjectMapNodeInsertDefinition, ProjectMapNodeInsertedEventName, type ProjectMapNodeInsertedPayload, ProjectMapNodeUpdateDefinition, ProjectMapNodeUpdatedEventName, type ProjectMapNodeUpdatedPayload, ProjectMapUpdateDefinition, ProjectMapUpdatedEventName, type ProjectMapUpdatedPayload, RedirectDeleteDefinition, RedirectDeletedEventName, type RedirectDeletedPayload, RedirectInsertDefinition, RedirectInsertedEventName, type RedirectInsertedPayload, RedirectUpdateDefinition, RedirectUpdatedEventName, type RedirectUpdatedPayload, ReleaseChangedDefinition, ReleaseChangedEventName, type ReleaseChangedPayload, type ReleaseCompositionPayload, ReleaseCompositionPayloadSchema, ReleaseDeletedDefinition, ReleaseDeletedEventName, type ReleaseDeletedPayload, type ReleaseEntryPayload, ReleaseEntryPayloadSchema, ReleaseLaunchStartedDefinition, ReleaseLaunchStartedEventName, type ReleaseLaunchStartedPayload, ReleaseLaunchedDefinition, ReleaseLaunchedEventName, type ReleaseLaunchedPayload, type ReleasePayload, ReleasePayloadSchema, type WebhookEventName, type WebhookInitiator, type WebhookPayloadFor, WorkflowEntitySchema, WorkflowReferenceSchema, WorkflowTransitionDefinition, WorkflowTransitionEventName, type WorkflowTransitionPayload, WorkflowTransitionPayloadSchema, definition, isDefinition, webhookEventCatalog, webhookEventNames, webhookInitiatorSchema };
|