@uniformdev/webhooks 20.72.3-alpha.14 → 20.72.3-alpha.23
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 +1 -152
- package/dist/index.d.ts +1 -152
- package/dist/index.esm.js +0 -97
- package/dist/index.js +0 -102
- package/dist/index.mjs +0 -97
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1308,157 +1308,6 @@ declare const ManifestPublishedDefinition: Definition<z.ZodObject<{
|
|
|
1308
1308
|
type ManifestPublishedPayload = z.infer<(typeof ManifestPublishedDefinition)['schema']>;
|
|
1309
1309
|
declare const ManifestPublishedEventName: "manifest.published";
|
|
1310
1310
|
|
|
1311
|
-
declare const NotificationEntitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1312
|
-
type: z.ZodEnum<{
|
|
1313
|
-
entry: "entry";
|
|
1314
|
-
composition: "composition";
|
|
1315
|
-
}>;
|
|
1316
|
-
entityId: z.ZodString;
|
|
1317
|
-
releaseId: z.ZodOptional<z.ZodString>;
|
|
1318
|
-
editionId: z.ZodOptional<z.ZodString>;
|
|
1319
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1320
|
-
type: z.ZodEnum<{
|
|
1321
|
-
entryPattern: "entryPattern";
|
|
1322
|
-
componentPattern: "componentPattern";
|
|
1323
|
-
compositionPattern: "compositionPattern";
|
|
1324
|
-
}>;
|
|
1325
|
-
entityId: z.ZodString;
|
|
1326
|
-
releaseId: z.ZodOptional<z.ZodString>;
|
|
1327
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1328
|
-
type: z.ZodEnum<{
|
|
1329
|
-
component: "component";
|
|
1330
|
-
contentType: "contentType";
|
|
1331
|
-
blockType: "blockType";
|
|
1332
|
-
asset: "asset";
|
|
1333
|
-
aggregate: "aggregate";
|
|
1334
|
-
enrichment: "enrichment";
|
|
1335
|
-
signal: "signal";
|
|
1336
|
-
quirk: "quirk";
|
|
1337
|
-
test: "test";
|
|
1338
|
-
projectMapNode: "projectMapNode";
|
|
1339
|
-
}>;
|
|
1340
|
-
entityId: z.ZodString;
|
|
1341
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1342
|
-
type: z.ZodLiteral<"external">;
|
|
1343
|
-
url: z.ZodString;
|
|
1344
|
-
}, z.core.$strict>], "type">;
|
|
1345
|
-
declare const NotificationSummarySchema: z.ZodObject<{
|
|
1346
|
-
format: z.ZodLiteral<"markdown">;
|
|
1347
|
-
value: z.ZodString;
|
|
1348
|
-
}, z.core.$strict>;
|
|
1349
|
-
declare const NotificationPayloadSchema: z.ZodObject<{
|
|
1350
|
-
id: z.ZodString;
|
|
1351
|
-
type: z.ZodLiteral<"text">;
|
|
1352
|
-
summary: z.ZodObject<{
|
|
1353
|
-
format: z.ZodLiteral<"markdown">;
|
|
1354
|
-
value: z.ZodString;
|
|
1355
|
-
}, z.core.$strict>;
|
|
1356
|
-
entity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1357
|
-
type: z.ZodEnum<{
|
|
1358
|
-
entry: "entry";
|
|
1359
|
-
composition: "composition";
|
|
1360
|
-
}>;
|
|
1361
|
-
entityId: z.ZodString;
|
|
1362
|
-
releaseId: z.ZodOptional<z.ZodString>;
|
|
1363
|
-
editionId: z.ZodOptional<z.ZodString>;
|
|
1364
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1365
|
-
type: z.ZodEnum<{
|
|
1366
|
-
entryPattern: "entryPattern";
|
|
1367
|
-
componentPattern: "componentPattern";
|
|
1368
|
-
compositionPattern: "compositionPattern";
|
|
1369
|
-
}>;
|
|
1370
|
-
entityId: z.ZodString;
|
|
1371
|
-
releaseId: z.ZodOptional<z.ZodString>;
|
|
1372
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1373
|
-
type: z.ZodEnum<{
|
|
1374
|
-
component: "component";
|
|
1375
|
-
contentType: "contentType";
|
|
1376
|
-
blockType: "blockType";
|
|
1377
|
-
asset: "asset";
|
|
1378
|
-
aggregate: "aggregate";
|
|
1379
|
-
enrichment: "enrichment";
|
|
1380
|
-
signal: "signal";
|
|
1381
|
-
quirk: "quirk";
|
|
1382
|
-
test: "test";
|
|
1383
|
-
projectMapNode: "projectMapNode";
|
|
1384
|
-
}>;
|
|
1385
|
-
entityId: z.ZodString;
|
|
1386
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1387
|
-
type: z.ZodLiteral<"external">;
|
|
1388
|
-
url: z.ZodString;
|
|
1389
|
-
}, z.core.$strict>], "type">>;
|
|
1390
|
-
recipients: z.ZodArray<z.ZodString>;
|
|
1391
|
-
timestamp: z.ZodString;
|
|
1392
|
-
project: z.ZodObject<{
|
|
1393
|
-
id: z.ZodString;
|
|
1394
|
-
url: z.ZodString;
|
|
1395
|
-
}, z.core.$strict>;
|
|
1396
|
-
initiator: z.ZodObject<{
|
|
1397
|
-
id: z.ZodString;
|
|
1398
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1399
|
-
email: z.ZodOptional<z.ZodString>;
|
|
1400
|
-
is_api_key: z.ZodBoolean;
|
|
1401
|
-
}, z.core.$strict>;
|
|
1402
|
-
}, z.core.$strict>;
|
|
1403
|
-
type NotificationPayload = z.infer<typeof NotificationPayloadSchema>;
|
|
1404
|
-
|
|
1405
|
-
declare const NotificationCreatedDefinition: Definition<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
|
-
aggregate: "aggregate";
|
|
1435
|
-
enrichment: "enrichment";
|
|
1436
|
-
signal: "signal";
|
|
1437
|
-
quirk: "quirk";
|
|
1438
|
-
test: "test";
|
|
1439
|
-
projectMapNode: "projectMapNode";
|
|
1440
|
-
}>;
|
|
1441
|
-
entityId: z.ZodString;
|
|
1442
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1443
|
-
type: z.ZodLiteral<"external">;
|
|
1444
|
-
url: z.ZodString;
|
|
1445
|
-
}, z.core.$strict>], "type">>;
|
|
1446
|
-
recipients: z.ZodArray<z.ZodString>;
|
|
1447
|
-
timestamp: z.ZodString;
|
|
1448
|
-
project: z.ZodObject<{
|
|
1449
|
-
id: z.ZodString;
|
|
1450
|
-
url: z.ZodString;
|
|
1451
|
-
}, z.core.$strict>;
|
|
1452
|
-
initiator: z.ZodObject<{
|
|
1453
|
-
id: z.ZodString;
|
|
1454
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1455
|
-
email: z.ZodOptional<z.ZodString>;
|
|
1456
|
-
is_api_key: z.ZodBoolean;
|
|
1457
|
-
}, z.core.$strict>;
|
|
1458
|
-
}, z.core.$strict>, "notification.created">;
|
|
1459
|
-
type NotificationCreatedPayload = z.infer<(typeof NotificationCreatedDefinition)['schema']>;
|
|
1460
|
-
declare const NotificationCreatedEventName: "notification.created";
|
|
1461
|
-
|
|
1462
1311
|
declare const ProjectMapDeleteDefinition: Definition<z.ZodObject<{
|
|
1463
1312
|
id: z.ZodString;
|
|
1464
1313
|
base_url: z.ZodOptional<z.ZodString>;
|
|
@@ -1823,4 +1672,4 @@ declare const WorkflowTransitionDefinition: Definition<z.ZodObject<{
|
|
|
1823
1672
|
type WorkflowTransitionPayload = z.infer<(typeof WorkflowTransitionDefinition)['schema']>;
|
|
1824
1673
|
declare const WorkflowTransitionEventName: "workflow.transition";
|
|
1825
1674
|
|
|
1826
|
-
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,
|
|
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -1308,157 +1308,6 @@ declare const ManifestPublishedDefinition: Definition<z.ZodObject<{
|
|
|
1308
1308
|
type ManifestPublishedPayload = z.infer<(typeof ManifestPublishedDefinition)['schema']>;
|
|
1309
1309
|
declare const ManifestPublishedEventName: "manifest.published";
|
|
1310
1310
|
|
|
1311
|
-
declare const NotificationEntitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1312
|
-
type: z.ZodEnum<{
|
|
1313
|
-
entry: "entry";
|
|
1314
|
-
composition: "composition";
|
|
1315
|
-
}>;
|
|
1316
|
-
entityId: z.ZodString;
|
|
1317
|
-
releaseId: z.ZodOptional<z.ZodString>;
|
|
1318
|
-
editionId: z.ZodOptional<z.ZodString>;
|
|
1319
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1320
|
-
type: z.ZodEnum<{
|
|
1321
|
-
entryPattern: "entryPattern";
|
|
1322
|
-
componentPattern: "componentPattern";
|
|
1323
|
-
compositionPattern: "compositionPattern";
|
|
1324
|
-
}>;
|
|
1325
|
-
entityId: z.ZodString;
|
|
1326
|
-
releaseId: z.ZodOptional<z.ZodString>;
|
|
1327
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1328
|
-
type: z.ZodEnum<{
|
|
1329
|
-
component: "component";
|
|
1330
|
-
contentType: "contentType";
|
|
1331
|
-
blockType: "blockType";
|
|
1332
|
-
asset: "asset";
|
|
1333
|
-
aggregate: "aggregate";
|
|
1334
|
-
enrichment: "enrichment";
|
|
1335
|
-
signal: "signal";
|
|
1336
|
-
quirk: "quirk";
|
|
1337
|
-
test: "test";
|
|
1338
|
-
projectMapNode: "projectMapNode";
|
|
1339
|
-
}>;
|
|
1340
|
-
entityId: z.ZodString;
|
|
1341
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1342
|
-
type: z.ZodLiteral<"external">;
|
|
1343
|
-
url: z.ZodString;
|
|
1344
|
-
}, z.core.$strict>], "type">;
|
|
1345
|
-
declare const NotificationSummarySchema: z.ZodObject<{
|
|
1346
|
-
format: z.ZodLiteral<"markdown">;
|
|
1347
|
-
value: z.ZodString;
|
|
1348
|
-
}, z.core.$strict>;
|
|
1349
|
-
declare const NotificationPayloadSchema: z.ZodObject<{
|
|
1350
|
-
id: z.ZodString;
|
|
1351
|
-
type: z.ZodLiteral<"text">;
|
|
1352
|
-
summary: z.ZodObject<{
|
|
1353
|
-
format: z.ZodLiteral<"markdown">;
|
|
1354
|
-
value: z.ZodString;
|
|
1355
|
-
}, z.core.$strict>;
|
|
1356
|
-
entity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1357
|
-
type: z.ZodEnum<{
|
|
1358
|
-
entry: "entry";
|
|
1359
|
-
composition: "composition";
|
|
1360
|
-
}>;
|
|
1361
|
-
entityId: z.ZodString;
|
|
1362
|
-
releaseId: z.ZodOptional<z.ZodString>;
|
|
1363
|
-
editionId: z.ZodOptional<z.ZodString>;
|
|
1364
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1365
|
-
type: z.ZodEnum<{
|
|
1366
|
-
entryPattern: "entryPattern";
|
|
1367
|
-
componentPattern: "componentPattern";
|
|
1368
|
-
compositionPattern: "compositionPattern";
|
|
1369
|
-
}>;
|
|
1370
|
-
entityId: z.ZodString;
|
|
1371
|
-
releaseId: z.ZodOptional<z.ZodString>;
|
|
1372
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1373
|
-
type: z.ZodEnum<{
|
|
1374
|
-
component: "component";
|
|
1375
|
-
contentType: "contentType";
|
|
1376
|
-
blockType: "blockType";
|
|
1377
|
-
asset: "asset";
|
|
1378
|
-
aggregate: "aggregate";
|
|
1379
|
-
enrichment: "enrichment";
|
|
1380
|
-
signal: "signal";
|
|
1381
|
-
quirk: "quirk";
|
|
1382
|
-
test: "test";
|
|
1383
|
-
projectMapNode: "projectMapNode";
|
|
1384
|
-
}>;
|
|
1385
|
-
entityId: z.ZodString;
|
|
1386
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1387
|
-
type: z.ZodLiteral<"external">;
|
|
1388
|
-
url: z.ZodString;
|
|
1389
|
-
}, z.core.$strict>], "type">>;
|
|
1390
|
-
recipients: z.ZodArray<z.ZodString>;
|
|
1391
|
-
timestamp: z.ZodString;
|
|
1392
|
-
project: z.ZodObject<{
|
|
1393
|
-
id: z.ZodString;
|
|
1394
|
-
url: z.ZodString;
|
|
1395
|
-
}, z.core.$strict>;
|
|
1396
|
-
initiator: z.ZodObject<{
|
|
1397
|
-
id: z.ZodString;
|
|
1398
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1399
|
-
email: z.ZodOptional<z.ZodString>;
|
|
1400
|
-
is_api_key: z.ZodBoolean;
|
|
1401
|
-
}, z.core.$strict>;
|
|
1402
|
-
}, z.core.$strict>;
|
|
1403
|
-
type NotificationPayload = z.infer<typeof NotificationPayloadSchema>;
|
|
1404
|
-
|
|
1405
|
-
declare const NotificationCreatedDefinition: Definition<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
|
-
aggregate: "aggregate";
|
|
1435
|
-
enrichment: "enrichment";
|
|
1436
|
-
signal: "signal";
|
|
1437
|
-
quirk: "quirk";
|
|
1438
|
-
test: "test";
|
|
1439
|
-
projectMapNode: "projectMapNode";
|
|
1440
|
-
}>;
|
|
1441
|
-
entityId: z.ZodString;
|
|
1442
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1443
|
-
type: z.ZodLiteral<"external">;
|
|
1444
|
-
url: z.ZodString;
|
|
1445
|
-
}, z.core.$strict>], "type">>;
|
|
1446
|
-
recipients: z.ZodArray<z.ZodString>;
|
|
1447
|
-
timestamp: z.ZodString;
|
|
1448
|
-
project: z.ZodObject<{
|
|
1449
|
-
id: z.ZodString;
|
|
1450
|
-
url: z.ZodString;
|
|
1451
|
-
}, z.core.$strict>;
|
|
1452
|
-
initiator: z.ZodObject<{
|
|
1453
|
-
id: z.ZodString;
|
|
1454
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1455
|
-
email: z.ZodOptional<z.ZodString>;
|
|
1456
|
-
is_api_key: z.ZodBoolean;
|
|
1457
|
-
}, z.core.$strict>;
|
|
1458
|
-
}, z.core.$strict>, "notification.created">;
|
|
1459
|
-
type NotificationCreatedPayload = z.infer<(typeof NotificationCreatedDefinition)['schema']>;
|
|
1460
|
-
declare const NotificationCreatedEventName: "notification.created";
|
|
1461
|
-
|
|
1462
1311
|
declare const ProjectMapDeleteDefinition: Definition<z.ZodObject<{
|
|
1463
1312
|
id: z.ZodString;
|
|
1464
1313
|
base_url: z.ZodOptional<z.ZodString>;
|
|
@@ -1823,4 +1672,4 @@ declare const WorkflowTransitionDefinition: Definition<z.ZodObject<{
|
|
|
1823
1672
|
type WorkflowTransitionPayload = z.infer<(typeof WorkflowTransitionDefinition)['schema']>;
|
|
1824
1673
|
declare const WorkflowTransitionEventName: "workflow.transition";
|
|
1825
1674
|
|
|
1826
|
-
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,
|
|
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 };
|
package/dist/index.esm.js
CHANGED
|
@@ -1230,98 +1230,6 @@ var webhookEventCatalog = {
|
|
|
1230
1230
|
"workflow.transition": WorkflowTransitionDefinition
|
|
1231
1231
|
};
|
|
1232
1232
|
var webhookEventNames = Object.keys(webhookEventCatalog);
|
|
1233
|
-
|
|
1234
|
-
// src/notification/common.ts
|
|
1235
|
-
import * as z16 from "zod";
|
|
1236
|
-
var editionEntitySchema = z16.strictObject({
|
|
1237
|
-
type: z16.enum(["entry", "composition"]),
|
|
1238
|
-
entityId: z16.string(),
|
|
1239
|
-
releaseId: z16.string().optional(),
|
|
1240
|
-
editionId: z16.string().optional()
|
|
1241
|
-
});
|
|
1242
|
-
var releaseEntitySchema = z16.strictObject({
|
|
1243
|
-
type: z16.enum(["entryPattern", "componentPattern", "compositionPattern"]),
|
|
1244
|
-
entityId: z16.string(),
|
|
1245
|
-
releaseId: z16.string().optional()
|
|
1246
|
-
});
|
|
1247
|
-
var platformEntitySchema = z16.strictObject({
|
|
1248
|
-
type: z16.enum([
|
|
1249
|
-
"component",
|
|
1250
|
-
"contentType",
|
|
1251
|
-
"blockType",
|
|
1252
|
-
"asset",
|
|
1253
|
-
"aggregate",
|
|
1254
|
-
"enrichment",
|
|
1255
|
-
"signal",
|
|
1256
|
-
"quirk",
|
|
1257
|
-
"test",
|
|
1258
|
-
"projectMapNode"
|
|
1259
|
-
]),
|
|
1260
|
-
entityId: z16.string()
|
|
1261
|
-
});
|
|
1262
|
-
var externalEntitySchema = z16.strictObject({
|
|
1263
|
-
type: z16.literal("external"),
|
|
1264
|
-
url: z16.string()
|
|
1265
|
-
});
|
|
1266
|
-
var NotificationEntitySchema = z16.discriminatedUnion("type", [
|
|
1267
|
-
editionEntitySchema,
|
|
1268
|
-
releaseEntitySchema,
|
|
1269
|
-
platformEntitySchema,
|
|
1270
|
-
externalEntitySchema
|
|
1271
|
-
]);
|
|
1272
|
-
var NotificationSummarySchema = z16.strictObject({
|
|
1273
|
-
format: z16.literal("markdown"),
|
|
1274
|
-
value: z16.string()
|
|
1275
|
-
});
|
|
1276
|
-
var NotificationPayloadSchema = z16.strictObject({
|
|
1277
|
-
id: z16.string(),
|
|
1278
|
-
type: z16.literal("text"),
|
|
1279
|
-
summary: NotificationSummarySchema,
|
|
1280
|
-
entity: NotificationEntitySchema.optional(),
|
|
1281
|
-
recipients: z16.array(z16.string()).min(1).max(100),
|
|
1282
|
-
timestamp: z16.string(),
|
|
1283
|
-
project: z16.strictObject({
|
|
1284
|
-
id: z16.string(),
|
|
1285
|
-
url: z16.string()
|
|
1286
|
-
}),
|
|
1287
|
-
initiator: webhookInitiatorSchema
|
|
1288
|
-
});
|
|
1289
|
-
|
|
1290
|
-
// src/notification/notification.created.ts
|
|
1291
|
-
var NotificationCreatedDefinition = definition(
|
|
1292
|
-
{
|
|
1293
|
-
event: "notification.created",
|
|
1294
|
-
name: "Notification Created",
|
|
1295
|
-
description: "Triggers when a notification has been created.",
|
|
1296
|
-
schema: NotificationPayloadSchema
|
|
1297
|
-
},
|
|
1298
|
-
{
|
|
1299
|
-
id: "346bc4cf-3087-42e1-aadb-2722f77f32b1",
|
|
1300
|
-
type: "text",
|
|
1301
|
-
summary: {
|
|
1302
|
-
format: "markdown",
|
|
1303
|
-
value: "The About Us composition is ready for review."
|
|
1304
|
-
},
|
|
1305
|
-
entity: {
|
|
1306
|
-
type: "composition",
|
|
1307
|
-
entityId: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
1308
|
-
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da"
|
|
1309
|
-
},
|
|
1310
|
-
recipients: ["auth0|recipient-one", "auth0|recipient-two"],
|
|
1311
|
-
timestamp: "2026-07-20T12:42:06Z",
|
|
1312
|
-
project: {
|
|
1313
|
-
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
1314
|
-
url: "https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66"
|
|
1315
|
-
},
|
|
1316
|
-
initiator: {
|
|
1317
|
-
id: "auth0|initiator",
|
|
1318
|
-
email: "initiator@example.com",
|
|
1319
|
-
name: "A User",
|
|
1320
|
-
is_api_key: false
|
|
1321
|
-
}
|
|
1322
|
-
}
|
|
1323
|
-
);
|
|
1324
|
-
var NotificationCreatedEventName = NotificationCreatedDefinition["event"];
|
|
1325
1233
|
export {
|
|
1326
1234
|
ArchivedReleaseLaunchStartedDefinition,
|
|
1327
1235
|
AssetDeletePayloadSchema,
|
|
@@ -1368,11 +1276,6 @@ export {
|
|
|
1368
1276
|
EntryTriggerPayloadSchema,
|
|
1369
1277
|
ManifestPublishedDefinition,
|
|
1370
1278
|
ManifestPublishedEventName,
|
|
1371
|
-
NotificationCreatedDefinition,
|
|
1372
|
-
NotificationCreatedEventName,
|
|
1373
|
-
NotificationEntitySchema,
|
|
1374
|
-
NotificationPayloadSchema,
|
|
1375
|
-
NotificationSummarySchema,
|
|
1376
1279
|
ProjectMapDeleteDefinition,
|
|
1377
1280
|
ProjectMapDeletedEventName,
|
|
1378
1281
|
ProjectMapNodeDeleteDefinition,
|
package/dist/index.js
CHANGED
|
@@ -75,11 +75,6 @@ __export(index_exports, {
|
|
|
75
75
|
EntryTriggerPayloadSchema: () => EntryTriggerPayloadSchema,
|
|
76
76
|
ManifestPublishedDefinition: () => ManifestPublishedDefinition,
|
|
77
77
|
ManifestPublishedEventName: () => ManifestPublishedEventName,
|
|
78
|
-
NotificationCreatedDefinition: () => NotificationCreatedDefinition,
|
|
79
|
-
NotificationCreatedEventName: () => NotificationCreatedEventName,
|
|
80
|
-
NotificationEntitySchema: () => NotificationEntitySchema,
|
|
81
|
-
NotificationPayloadSchema: () => NotificationPayloadSchema,
|
|
82
|
-
NotificationSummarySchema: () => NotificationSummarySchema,
|
|
83
78
|
ProjectMapDeleteDefinition: () => ProjectMapDeleteDefinition,
|
|
84
79
|
ProjectMapDeletedEventName: () => ProjectMapDeletedEventName,
|
|
85
80
|
ProjectMapNodeDeleteDefinition: () => ProjectMapNodeDeleteDefinition,
|
|
@@ -1352,98 +1347,6 @@ var webhookEventCatalog = {
|
|
|
1352
1347
|
"workflow.transition": WorkflowTransitionDefinition
|
|
1353
1348
|
};
|
|
1354
1349
|
var webhookEventNames = Object.keys(webhookEventCatalog);
|
|
1355
|
-
|
|
1356
|
-
// src/notification/common.ts
|
|
1357
|
-
var z16 = __toESM(require("zod"));
|
|
1358
|
-
var editionEntitySchema = z16.strictObject({
|
|
1359
|
-
type: z16.enum(["entry", "composition"]),
|
|
1360
|
-
entityId: z16.string(),
|
|
1361
|
-
releaseId: z16.string().optional(),
|
|
1362
|
-
editionId: z16.string().optional()
|
|
1363
|
-
});
|
|
1364
|
-
var releaseEntitySchema = z16.strictObject({
|
|
1365
|
-
type: z16.enum(["entryPattern", "componentPattern", "compositionPattern"]),
|
|
1366
|
-
entityId: z16.string(),
|
|
1367
|
-
releaseId: z16.string().optional()
|
|
1368
|
-
});
|
|
1369
|
-
var platformEntitySchema = z16.strictObject({
|
|
1370
|
-
type: z16.enum([
|
|
1371
|
-
"component",
|
|
1372
|
-
"contentType",
|
|
1373
|
-
"blockType",
|
|
1374
|
-
"asset",
|
|
1375
|
-
"aggregate",
|
|
1376
|
-
"enrichment",
|
|
1377
|
-
"signal",
|
|
1378
|
-
"quirk",
|
|
1379
|
-
"test",
|
|
1380
|
-
"projectMapNode"
|
|
1381
|
-
]),
|
|
1382
|
-
entityId: z16.string()
|
|
1383
|
-
});
|
|
1384
|
-
var externalEntitySchema = z16.strictObject({
|
|
1385
|
-
type: z16.literal("external"),
|
|
1386
|
-
url: z16.string()
|
|
1387
|
-
});
|
|
1388
|
-
var NotificationEntitySchema = z16.discriminatedUnion("type", [
|
|
1389
|
-
editionEntitySchema,
|
|
1390
|
-
releaseEntitySchema,
|
|
1391
|
-
platformEntitySchema,
|
|
1392
|
-
externalEntitySchema
|
|
1393
|
-
]);
|
|
1394
|
-
var NotificationSummarySchema = z16.strictObject({
|
|
1395
|
-
format: z16.literal("markdown"),
|
|
1396
|
-
value: z16.string()
|
|
1397
|
-
});
|
|
1398
|
-
var NotificationPayloadSchema = z16.strictObject({
|
|
1399
|
-
id: z16.string(),
|
|
1400
|
-
type: z16.literal("text"),
|
|
1401
|
-
summary: NotificationSummarySchema,
|
|
1402
|
-
entity: NotificationEntitySchema.optional(),
|
|
1403
|
-
recipients: z16.array(z16.string()).min(1).max(100),
|
|
1404
|
-
timestamp: z16.string(),
|
|
1405
|
-
project: z16.strictObject({
|
|
1406
|
-
id: z16.string(),
|
|
1407
|
-
url: z16.string()
|
|
1408
|
-
}),
|
|
1409
|
-
initiator: webhookInitiatorSchema
|
|
1410
|
-
});
|
|
1411
|
-
|
|
1412
|
-
// src/notification/notification.created.ts
|
|
1413
|
-
var NotificationCreatedDefinition = definition(
|
|
1414
|
-
{
|
|
1415
|
-
event: "notification.created",
|
|
1416
|
-
name: "Notification Created",
|
|
1417
|
-
description: "Triggers when a notification has been created.",
|
|
1418
|
-
schema: NotificationPayloadSchema
|
|
1419
|
-
},
|
|
1420
|
-
{
|
|
1421
|
-
id: "346bc4cf-3087-42e1-aadb-2722f77f32b1",
|
|
1422
|
-
type: "text",
|
|
1423
|
-
summary: {
|
|
1424
|
-
format: "markdown",
|
|
1425
|
-
value: "The About Us composition is ready for review."
|
|
1426
|
-
},
|
|
1427
|
-
entity: {
|
|
1428
|
-
type: "composition",
|
|
1429
|
-
entityId: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
1430
|
-
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da"
|
|
1431
|
-
},
|
|
1432
|
-
recipients: ["auth0|recipient-one", "auth0|recipient-two"],
|
|
1433
|
-
timestamp: "2026-07-20T12:42:06Z",
|
|
1434
|
-
project: {
|
|
1435
|
-
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
1436
|
-
url: "https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66"
|
|
1437
|
-
},
|
|
1438
|
-
initiator: {
|
|
1439
|
-
id: "auth0|initiator",
|
|
1440
|
-
email: "initiator@example.com",
|
|
1441
|
-
name: "A User",
|
|
1442
|
-
is_api_key: false
|
|
1443
|
-
}
|
|
1444
|
-
}
|
|
1445
|
-
);
|
|
1446
|
-
var NotificationCreatedEventName = NotificationCreatedDefinition["event"];
|
|
1447
1350
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1448
1351
|
0 && (module.exports = {
|
|
1449
1352
|
ArchivedReleaseLaunchStartedDefinition,
|
|
@@ -1491,11 +1394,6 @@ var NotificationCreatedEventName = NotificationCreatedDefinition["event"];
|
|
|
1491
1394
|
EntryTriggerPayloadSchema,
|
|
1492
1395
|
ManifestPublishedDefinition,
|
|
1493
1396
|
ManifestPublishedEventName,
|
|
1494
|
-
NotificationCreatedDefinition,
|
|
1495
|
-
NotificationCreatedEventName,
|
|
1496
|
-
NotificationEntitySchema,
|
|
1497
|
-
NotificationPayloadSchema,
|
|
1498
|
-
NotificationSummarySchema,
|
|
1499
1397
|
ProjectMapDeleteDefinition,
|
|
1500
1398
|
ProjectMapDeletedEventName,
|
|
1501
1399
|
ProjectMapNodeDeleteDefinition,
|
package/dist/index.mjs
CHANGED
|
@@ -1230,98 +1230,6 @@ var webhookEventCatalog = {
|
|
|
1230
1230
|
"workflow.transition": WorkflowTransitionDefinition
|
|
1231
1231
|
};
|
|
1232
1232
|
var webhookEventNames = Object.keys(webhookEventCatalog);
|
|
1233
|
-
|
|
1234
|
-
// src/notification/common.ts
|
|
1235
|
-
import * as z16 from "zod";
|
|
1236
|
-
var editionEntitySchema = z16.strictObject({
|
|
1237
|
-
type: z16.enum(["entry", "composition"]),
|
|
1238
|
-
entityId: z16.string(),
|
|
1239
|
-
releaseId: z16.string().optional(),
|
|
1240
|
-
editionId: z16.string().optional()
|
|
1241
|
-
});
|
|
1242
|
-
var releaseEntitySchema = z16.strictObject({
|
|
1243
|
-
type: z16.enum(["entryPattern", "componentPattern", "compositionPattern"]),
|
|
1244
|
-
entityId: z16.string(),
|
|
1245
|
-
releaseId: z16.string().optional()
|
|
1246
|
-
});
|
|
1247
|
-
var platformEntitySchema = z16.strictObject({
|
|
1248
|
-
type: z16.enum([
|
|
1249
|
-
"component",
|
|
1250
|
-
"contentType",
|
|
1251
|
-
"blockType",
|
|
1252
|
-
"asset",
|
|
1253
|
-
"aggregate",
|
|
1254
|
-
"enrichment",
|
|
1255
|
-
"signal",
|
|
1256
|
-
"quirk",
|
|
1257
|
-
"test",
|
|
1258
|
-
"projectMapNode"
|
|
1259
|
-
]),
|
|
1260
|
-
entityId: z16.string()
|
|
1261
|
-
});
|
|
1262
|
-
var externalEntitySchema = z16.strictObject({
|
|
1263
|
-
type: z16.literal("external"),
|
|
1264
|
-
url: z16.string()
|
|
1265
|
-
});
|
|
1266
|
-
var NotificationEntitySchema = z16.discriminatedUnion("type", [
|
|
1267
|
-
editionEntitySchema,
|
|
1268
|
-
releaseEntitySchema,
|
|
1269
|
-
platformEntitySchema,
|
|
1270
|
-
externalEntitySchema
|
|
1271
|
-
]);
|
|
1272
|
-
var NotificationSummarySchema = z16.strictObject({
|
|
1273
|
-
format: z16.literal("markdown"),
|
|
1274
|
-
value: z16.string()
|
|
1275
|
-
});
|
|
1276
|
-
var NotificationPayloadSchema = z16.strictObject({
|
|
1277
|
-
id: z16.string(),
|
|
1278
|
-
type: z16.literal("text"),
|
|
1279
|
-
summary: NotificationSummarySchema,
|
|
1280
|
-
entity: NotificationEntitySchema.optional(),
|
|
1281
|
-
recipients: z16.array(z16.string()).min(1).max(100),
|
|
1282
|
-
timestamp: z16.string(),
|
|
1283
|
-
project: z16.strictObject({
|
|
1284
|
-
id: z16.string(),
|
|
1285
|
-
url: z16.string()
|
|
1286
|
-
}),
|
|
1287
|
-
initiator: webhookInitiatorSchema
|
|
1288
|
-
});
|
|
1289
|
-
|
|
1290
|
-
// src/notification/notification.created.ts
|
|
1291
|
-
var NotificationCreatedDefinition = definition(
|
|
1292
|
-
{
|
|
1293
|
-
event: "notification.created",
|
|
1294
|
-
name: "Notification Created",
|
|
1295
|
-
description: "Triggers when a notification has been created.",
|
|
1296
|
-
schema: NotificationPayloadSchema
|
|
1297
|
-
},
|
|
1298
|
-
{
|
|
1299
|
-
id: "346bc4cf-3087-42e1-aadb-2722f77f32b1",
|
|
1300
|
-
type: "text",
|
|
1301
|
-
summary: {
|
|
1302
|
-
format: "markdown",
|
|
1303
|
-
value: "The About Us composition is ready for review."
|
|
1304
|
-
},
|
|
1305
|
-
entity: {
|
|
1306
|
-
type: "composition",
|
|
1307
|
-
entityId: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
1308
|
-
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da"
|
|
1309
|
-
},
|
|
1310
|
-
recipients: ["auth0|recipient-one", "auth0|recipient-two"],
|
|
1311
|
-
timestamp: "2026-07-20T12:42:06Z",
|
|
1312
|
-
project: {
|
|
1313
|
-
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
1314
|
-
url: "https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66"
|
|
1315
|
-
},
|
|
1316
|
-
initiator: {
|
|
1317
|
-
id: "auth0|initiator",
|
|
1318
|
-
email: "initiator@example.com",
|
|
1319
|
-
name: "A User",
|
|
1320
|
-
is_api_key: false
|
|
1321
|
-
}
|
|
1322
|
-
}
|
|
1323
|
-
);
|
|
1324
|
-
var NotificationCreatedEventName = NotificationCreatedDefinition["event"];
|
|
1325
1233
|
export {
|
|
1326
1234
|
ArchivedReleaseLaunchStartedDefinition,
|
|
1327
1235
|
AssetDeletePayloadSchema,
|
|
@@ -1368,11 +1276,6 @@ export {
|
|
|
1368
1276
|
EntryTriggerPayloadSchema,
|
|
1369
1277
|
ManifestPublishedDefinition,
|
|
1370
1278
|
ManifestPublishedEventName,
|
|
1371
|
-
NotificationCreatedDefinition,
|
|
1372
|
-
NotificationCreatedEventName,
|
|
1373
|
-
NotificationEntitySchema,
|
|
1374
|
-
NotificationPayloadSchema,
|
|
1375
|
-
NotificationSummarySchema,
|
|
1376
1279
|
ProjectMapDeleteDefinition,
|
|
1377
1280
|
ProjectMapDeletedEventName,
|
|
1378
1281
|
ProjectMapNodeDeleteDefinition,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/webhooks",
|
|
3
|
-
"version": "20.72.3-alpha.
|
|
3
|
+
"version": "20.72.3-alpha.23+cbe06f1e8a",
|
|
4
4
|
"description": "Uniform Webhooks",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "cbe06f1e8a5bb93b0e3cae6b1c8774f21c10506e"
|
|
43
43
|
}
|