Files
medusa-store/www/utils/generated/dml-output/notification.json
github-actions[bot] fa7bf50077 chore(docs): Generated DML JSON files (automated) (#14180)
This PR holds all generated DML JSON files for the upcoming release.


---

> [!NOTE]
> Updates generated DML JSONs with new fields and a renamed relation across fulfillment, notification, order, and promotion modules.
> 
> - **Fulfillment**:
>   - `ShippingOptionType`: rename `shipping_option` to `shipping_options` (expandable).
> - **Notification**:
>   - `Notification`: add `from` and `provider_data` fields.
> - **Order**:
>   - `OrderLineItemAdjustment`: add `version`.
>   - `Order`: add `custom_display_id`.
>   - `OrderChange`: add `carry_over_promotions` (since v2.12.0).
> - **Promotion**:
>   - `Promotion`: add `limit`, `used`, and `metadata` (since v2.12.0).
> 
> <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 4494c93c2d7bc05cfec47fb1b77f7c4c16383f2b. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup>


Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-12-02 06:50:03 +00:00

40 lines
2.0 KiB
JSON

{
"NotificationProvider": {
"filePath": "packages/modules/notification/src/models/notification-provider.ts",
"properties": {
"id": "The ID of the notification provider.",
"handle": "The handle of the notification provider",
"name": "The name of the notification provider",
"is_enabled": "Whether the notification provider is enabled.",
"channels": "The channels the notification provider can be used for. For example, `email`.",
"notifications": "The associated notifications.\n\n@expandable"
},
"deprecated": {
"is_deprecated": false
}
},
"Notification": {
"filePath": "packages/modules/notification/src/models/notification.ts",
"properties": {
"id": "The ID of the notification.",
"to": "The to of the notification",
"channel": "The channel of the notification. For example, `email`.",
"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.",
"data": "The data payload sent with the notification",
"trigger_type": "The event name, the workflow, or anything else that can help to identify what triggered the notification.",
"resource_id": "The ID of the resource this notification is for, if applicable.",
"resource_type": "The type of the resource this notification is for, if applicable. For example, `order`.",
"receiver_id": "The ID of the customer this notification is for, if applicable.",
"original_notification_id": "The ID of the original notification, in case this is a retried notification.",
"idempotency_key": "The idempotency key of the notification.",
"external_id": "The id of the notification in the external system.",
"provider": "The associated provider used to send the notification.\n\n@expandable",
"status": "The status of the notification",
"from": "The address, number, or general user identifier to send the notification from",
"provider_data": "Data relevant to the provider used to send the notification"
},
"deprecated": {
"is_deprecated": false
}
}
}