Skip to content

Commit fa7bf50

Browse files
github-actions[bot]olivermrblshahednasser
authored
chore(docs): Generated DML JSON files (automated) (medusajs#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 4494c93. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> Co-authored-by: Oli Juhl <[email protected]> Co-authored-by: Shahed Nasser <[email protected]>
1 parent 725b399 commit fa7bf50

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
lines changed

www/utils/generated/dml-output/fulfillment.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
"label": "The label of the shipping option type",
122122
"description": "The description of the shipping option type",
123123
"code": "The code of the shipping option type",
124-
"shipping_option": "The associated shipping option.\n\n@expandable"
124+
"shipping_options": "The associated shipping options.\n\n@expandable"
125125
},
126126
"deprecated": {
127127
"is_deprecated": false

www/utils/generated/dml-output/notification.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929
"idempotency_key": "The idempotency key of the notification.",
3030
"external_id": "The id of the notification in the external system.",
3131
"provider": "The associated provider used to send the notification.\n\n@expandable",
32-
"status": "The status of the notification"
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"
3335
},
3436
"deprecated": {
3537
"is_deprecated": false

www/utils/generated/dml-output/order.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
"amount": "The amount of the adjustment",
4343
"provider_id": "The ID of the provider used to apply the adjustment.",
4444
"item": "The associated item that the adjustment is applied on.\n\n@expandable",
45-
"is_tax_inclusive": "Whether the order line item adjustment is tax inclusive."
45+
"is_tax_inclusive": "Whether the order line item adjustment is tax inclusive.",
46+
"version": "The version of the order line item adjustment"
4647
},
4748
"deprecated": {
4849
"is_deprecated": false
@@ -365,7 +366,8 @@
365366
"shipping_methods": "The associated shipping methods.\n\n@expandable",
366367
"transactions": "The associated transactions, which include amounts captured and refunded.\n\n@expandable",
367368
"credit_lines": "The associated credit lines, which include additional payment amounts for an order.\n\n@expandable",
368-
"returns": "The associated returns.\n\n@expandable"
369+
"returns": "The associated returns.\n\n@expandable",
370+
"custom_display_id": "The custom display ID of the order"
369371
},
370372
"deprecated": {
371373
"is_deprecated": false
@@ -441,7 +443,8 @@
441443
"canceled_by": "The ID of the user that canceled the order change",
442444
"canceled_at": "The date that the change was canceled",
443445
"order": "The associated order that the change applies to.\n\n@expandable",
444-
"actions": "The associated actions.\n\n@expandable"
446+
"actions": "The associated actions.\n\n@expandable",
447+
"carry_over_promotions": "Whether the order change carries over promotions from the parent order.\n\n@since v2.12.0"
445448
},
446449
"deprecated": {
447450
"is_deprecated": false

www/utils/generated/dml-output/promotion.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,10 @@
6969
"application_method": "The associated application method.\n\n@expandable",
7070
"rules": "The associated rules.\n\n@expandable",
7171
"status": "The status of the promotion",
72-
"is_tax_inclusive": "Whether the promotion is tax inclusive."
72+
"is_tax_inclusive": "Whether the promotion is tax inclusive.",
73+
"limit": "The limit of the promotion\n\n@since v2.12.0",
74+
"used": "How much of the limit has been used.\n\n@since v2.12.0",
75+
"metadata": "Holds custom data in key-value pairs.\n\n@since v2.12.0"
7376
},
7477
"deprecated": {
7578
"is_deprecated": false

0 commit comments

Comments
 (0)