1 {
2 "NotificationProvider": {
3 "filePath": "packages/modules/notification/src/models/notification-provider.ts",
4 "properties": {
5 "id": "The ID of the notification provider.",
6 "handle": "The handle of the notification provider",
7 "name": "The name of the notification provider",
8 "is_enabled": "Whether the notification provider is enabled.",
9 "channels": "The channels the notification provider can be used for. For example, `email`.",
10 "notifications": "The associated notifications.\n\n@expandable"
11 },
12 "deprecated": {
13 "is_deprecated": false
14 }
15 },
16 "Notification": {
17 "filePath": "packages/modules/notification/src/models/notification.ts",
18 "properties": {
19 "id": "The ID of the notification.",
20 "to": "The to of the notification",
21 "channel": "The channel of the notification. For example, `email`.",
22 "template": "The template of the notification. For example, if you're using a service like SendGrid, this would be the template ID of the notification.",
23 "data": "The data payload sent with the notification",
24 "trigger_type": "The event name, the workflow, or anything else that can help to identify what triggered the notification.",
25 "resource_id": "The ID of the resource this notification is for, if applicable.",
26 "resource_type": "The type of the resource this notification is for, if applicable. For example, `order`.",
27 "receiver_id": "The ID of the customer this notification is for, if applicable.",
28 "original_notification_id": "The ID of the original notification, in case this is a retried notification.",
29 "idempotency_key": "The idempotency key of the notification.",
30 "external_id": "The id of the notification in the external system.",
31 "provider": "The associated provider used to send the notification.\n\n@expandable",
32 "status": "The status of the notification",
33 "from": "The address, number, or general user identifier to send the notification from",
34 "provider_data": "Data relevant to the provider used to send the notification"
35 },
36 "deprecated": {
37 "is_deprecated": false
38 }
39 }
40 }