From b35b1b41a421151d1a7fcb2ee33e06770535ed76 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Mon, 15 Sep 2025 12:30:09 +0300 Subject: [PATCH] chore: update API reference for 2.10.2 (#13499) --- .../components/schemas/AdminDraftOrder.yaml | 10 + .../schemas/AdminDraftOrderPreview.yaml | 10 + .../admin/components/schemas/AdminOrder.yaml | 10 + .../schemas/AdminOrderChangeAction.yaml | 5 + .../components/schemas/AdminOrderPreview.yaml | 10 + .../AdminWorkflowExecutionExecution.yaml | 10 + .../admin/components/schemas/BaseOrder.yaml | 10 + .../specs/admin/components/schemas/Order.yaml | 10 + .../admin/components/schemas/StoreOrder.yaml | 10 + .../specs/admin/openapi.full.yaml | 212 ++++++++++++++++++ .../specs/admin/paths/admin_promotions.yaml | 161 +++++++++++++ .../components/schemas/AdminDraftOrder.yaml | 10 + .../schemas/AdminDraftOrderPreview.yaml | 10 + .../store/components/schemas/AdminOrder.yaml | 10 + .../schemas/AdminOrderChangeAction.yaml | 5 + .../components/schemas/AdminOrderPreview.yaml | 10 + .../AdminWorkflowExecutionExecution.yaml | 10 + .../store/components/schemas/BaseOrder.yaml | 10 + .../specs/store/components/schemas/Order.yaml | 10 + .../store/components/schemas/StoreOrder.yaml | 10 + .../specs/store/openapi.full.yaml | 83 +++++++ .../operations/admin/get_admin_promotions.ts | 129 +++++++++++ .../oas-output/schemas/AdminDraftOrder.ts | 10 + .../schemas/AdminDraftOrderPreview.ts | 10 + .../oas-output/schemas/AdminOrder.ts | 10 + .../schemas/AdminOrderChangeAction.ts | 5 + .../oas-output/schemas/AdminOrderPreview.ts | 10 + .../AdminWorkflowExecutionExecution.ts | 8 + .../generated/oas-output/schemas/BaseOrder.ts | 10 + .../generated/oas-output/schemas/Order.ts | 10 + .../oas-output/schemas/StoreOrder.ts | 10 + 31 files changed, 838 insertions(+) diff --git a/www/apps/api-reference/specs/admin/components/schemas/AdminDraftOrder.yaml b/www/apps/api-reference/specs/admin/components/schemas/AdminDraftOrder.yaml index 7a40e1caf0..808b078423 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/AdminDraftOrder.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/AdminDraftOrder.yaml @@ -24,6 +24,7 @@ required: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -37,6 +38,7 @@ required: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -262,3 +264,11 @@ properties: type: number title: credit_line_total description: The draft order's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the draft order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the draft order's shipping. diff --git a/www/apps/api-reference/specs/admin/components/schemas/AdminDraftOrderPreview.yaml b/www/apps/api-reference/specs/admin/components/schemas/AdminDraftOrderPreview.yaml index 8f3a96628c..af04f3b1ab 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/AdminDraftOrderPreview.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/AdminDraftOrderPreview.yaml @@ -24,6 +24,7 @@ required: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -37,6 +38,7 @@ required: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -667,3 +669,11 @@ properties: type: number title: credit_line_total description: The draft order preview's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the draft order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the draft order's shipping. diff --git a/www/apps/api-reference/specs/admin/components/schemas/AdminOrder.yaml b/www/apps/api-reference/specs/admin/components/schemas/AdminOrder.yaml index f0d0784c76..dc257c3f04 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/AdminOrder.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/AdminOrder.yaml @@ -24,6 +24,7 @@ required: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -37,6 +38,7 @@ required: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -255,3 +257,11 @@ properties: type: number title: credit_line_total description: The order's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the order's shipping. diff --git a/www/apps/api-reference/specs/admin/components/schemas/AdminOrderChangeAction.yaml b/www/apps/api-reference/specs/admin/components/schemas/AdminOrderChangeAction.yaml index ebcaf79e3f..34812304a4 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/AdminOrderChangeAction.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/AdminOrderChangeAction.yaml @@ -12,6 +12,7 @@ required: - return_id - exchange_id - claim_id + - ordering - order_change_id - reference - reference_id @@ -98,3 +99,7 @@ properties: format: date-time title: updated_at description: The date the action was updated. + ordering: + type: number + title: ordering + description: The action's order in the sequence of actions. diff --git a/www/apps/api-reference/specs/admin/components/schemas/AdminOrderPreview.yaml b/www/apps/api-reference/specs/admin/components/schemas/AdminOrderPreview.yaml index 98cf4090b7..a75e92bad2 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/AdminOrderPreview.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/AdminOrderPreview.yaml @@ -26,6 +26,7 @@ required: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -39,6 +40,7 @@ required: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -669,3 +671,11 @@ properties: type: number title: credit_line_total description: The order preview's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the order's shipping. diff --git a/www/apps/api-reference/specs/admin/components/schemas/AdminWorkflowExecutionExecution.yaml b/www/apps/api-reference/specs/admin/components/schemas/AdminWorkflowExecutionExecution.yaml index 412778efd4..4eb075ec0d 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/AdminWorkflowExecutionExecution.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/AdminWorkflowExecutionExecution.yaml @@ -123,6 +123,16 @@ properties: The maximum time in seconds to wait for this step to complete. If the step exceeds this time, the step's state is changed to `timeout`, but the step continues executing. + autoRetry: + type: boolean + title: autoRetry + description: Whether the step should be automatically retried if it fails. + maxAwaitingRetries: + type: number + title: maxAwaitingRetries + description: >- + The maximum number of times to retry the step while it's in the + `waiting_response` state. compensate: type: object description: The state of the step's compensation function. diff --git a/www/apps/api-reference/specs/admin/components/schemas/BaseOrder.yaml b/www/apps/api-reference/specs/admin/components/schemas/BaseOrder.yaml index 4322ff6393..0fc1642862 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/BaseOrder.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/BaseOrder.yaml @@ -23,6 +23,7 @@ required: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -36,6 +37,7 @@ required: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -243,3 +245,11 @@ properties: type: number title: credit_line_total description: The order's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the order's shipping. diff --git a/www/apps/api-reference/specs/admin/components/schemas/Order.yaml b/www/apps/api-reference/specs/admin/components/schemas/Order.yaml index 6c331fd686..10009c77de 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/Order.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/Order.yaml @@ -15,6 +15,7 @@ required: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -30,6 +31,7 @@ required: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -311,3 +313,11 @@ properties: type: number title: credit_line_total description: The order's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the order's shipping. diff --git a/www/apps/api-reference/specs/admin/components/schemas/StoreOrder.yaml b/www/apps/api-reference/specs/admin/components/schemas/StoreOrder.yaml index c4013d4431..2cedb499ba 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/StoreOrder.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/StoreOrder.yaml @@ -22,6 +22,7 @@ required: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -35,6 +36,7 @@ required: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -241,3 +243,11 @@ properties: type: number title: credit_line_total description: The order's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the order's shipping. diff --git a/www/apps/api-reference/specs/admin/openapi.full.yaml b/www/apps/api-reference/specs/admin/openapi.full.yaml index fd5d44fa2e..03f8329181 100644 --- a/www/apps/api-reference/specs/admin/openapi.full.yaml +++ b/www/apps/api-reference/specs/admin/openapi.full.yaml @@ -36259,6 +36259,135 @@ paths: type: boolean title: with_deleted description: Whether to include deleted records in the result. + - name: id + in: query + required: false + description: Filter by a promotion's ID. + schema: + oneOf: + - type: string + title: id + description: Filter by a promotion's ID. + - type: array + description: Filter by promotion IDs. + items: + type: string + title: id + description: The promotion's ID. + - type: object + description: Filter by a promotion's ID. + properties: + $and: + type: array + description: Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters. + items: + type: object + title: $and + $or: + type: array + description: Join query parameters with an OR condition. Each object's content is the same type as the expected query parameters. + items: + type: object + title: $or + $eq: + oneOf: + - type: string + title: $eq + description: Filter by an exact match. + - type: array + description: Filter by an exact match. + items: + type: string + title: $eq + description: Filter by an exact match. + $ne: + type: string + title: $ne + description: Filter by values not equal to this parameter. + $in: + type: array + description: Filter by values in this array. + items: + type: string + title: $in + description: Filter by values in this array. + $nin: + type: array + description: Filter by values not in this array. + items: + type: string + title: $nin + description: Filter by values not in this array. + $not: + oneOf: + - type: string + title: $not + description: Filter by values not matching the conditions in this parameter. + - type: object + description: Filter by values not matching the conditions in this parameter. + - type: array + description: Filter by values not matching the conditions in this parameter. + items: + type: string + title: $not + description: Filter by values not matching the conditions in this parameter. + $gt: + type: string + title: $gt + description: Filter by values greater than this parameter. Useful for numbers and dates only. + $gte: + type: string + title: $gte + description: Filter by values greater than or equal to this parameter. Useful for numbers and dates only. + $lt: + type: string + title: $lt + description: Filter by values less than this parameter. Useful for numbers and dates only. + $lte: + type: string + title: $lte + description: Filter by values less than or equal to this parameter. Useful for numbers and dates only. + $like: + type: string + title: $like + description: Apply a `like` filter. Useful for strings only. + $re: + type: string + title: $re + description: Apply a regex filter. Useful for strings only. + $ilike: + type: string + title: $ilike + description: Apply a case-insensitive `like` filter. Useful for strings only. + $fulltext: + type: string + title: $fulltext + description: Filter to apply on full-text properties. + $overlap: + type: array + description: Filter arrays that have overlapping values with this parameter. + items: + type: string + title: $overlap + description: Filter arrays that have overlapping values with this parameter. + $contains: + type: array + description: Filter arrays that contain some of the values of this parameter. + items: + type: string + title: $contains + description: Filter arrays that contain some of the values of this parameter. + $contained: + type: array + description: Filter arrays that contain all values of this parameter. + items: + type: string + title: $contained + description: Filter arrays that contain all values of this parameter. + $exists: + type: boolean + title: $exists + description: Filter by whether a value for this parameter exists (not `null`). security: - api_token: [] - cookie_auth: [] @@ -59055,6 +59184,7 @@ components: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -59068,6 +59198,7 @@ components: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -59287,6 +59418,14 @@ components: type: number title: credit_line_total description: The draft order's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the draft order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the draft order's shipping. AdminDraftOrderListResponse: type: object description: The list of draft orders with pagination fields. @@ -59346,6 +59485,7 @@ components: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -59359,6 +59499,7 @@ components: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -59963,6 +60104,14 @@ components: type: number title: credit_line_total description: The draft order preview's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the draft order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the draft order's shipping. AdminDraftOrderPreviewResponse: type: object description: The details of the preview on the draft order. @@ -61338,6 +61487,7 @@ components: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -61351,6 +61501,7 @@ components: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -61569,6 +61720,14 @@ components: type: number title: credit_line_total description: The order's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the order's shipping. AdminOrderAddress: type: object description: An order address. @@ -61805,6 +61964,7 @@ components: - return_id - exchange_id - claim_id + - ordering - order_change_id - reference - reference_id @@ -61891,6 +62051,10 @@ components: format: date-time title: updated_at description: The date the action was updated. + ordering: + type: number + title: ordering + description: The action's order in the sequence of actions. AdminOrderChangesResponse: type: object description: The details of an order's changes. @@ -62296,6 +62460,7 @@ components: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -62309,6 +62474,7 @@ components: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -62913,6 +63079,14 @@ components: type: number title: credit_line_total description: The order preview's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the order's shipping. AdminOrderPreviewResponse: type: object description: The preview of an order. @@ -69781,6 +69955,14 @@ components: type: number title: timeout description: The maximum time in seconds to wait for this step to complete. If the step exceeds this time, the step's state is changed to `timeout`, but the step continues executing. + autoRetry: + type: boolean + title: autoRetry + description: Whether the step should be automatically retried if it fails. + maxAwaitingRetries: + type: number + title: maxAwaitingRetries + description: The maximum number of times to retry the step while it's in the `waiting_response` state. compensate: type: object description: The state of the step's compensation function. @@ -70854,6 +71036,7 @@ components: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -70867,6 +71050,7 @@ components: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -71074,6 +71258,14 @@ components: type: number title: credit_line_total description: The order's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the order's shipping. BaseOrderAddress: type: object description: An order address. @@ -73746,6 +73938,7 @@ components: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -73761,6 +73954,7 @@ components: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -74038,6 +74232,14 @@ components: type: number title: credit_line_total description: The order's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the order's shipping. OrderAddress: type: object description: The address's details. @@ -77552,6 +77754,7 @@ components: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -77565,6 +77768,7 @@ components: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -77771,6 +77975,14 @@ components: type: number title: credit_line_total description: The order's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the order's shipping. StoreOrderAddress: type: object description: An order address diff --git a/www/apps/api-reference/specs/admin/paths/admin_promotions.yaml b/www/apps/api-reference/specs/admin/paths/admin_promotions.yaml index 46827b636e..467a086162 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_promotions.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_promotions.yaml @@ -599,6 +599,167 @@ get: type: boolean title: with_deleted description: Whether to include deleted records in the result. + - name: id + in: query + required: false + description: Filter by a promotion's ID. + schema: + oneOf: + - type: string + title: id + description: Filter by a promotion's ID. + - type: array + description: Filter by promotion IDs. + items: + type: string + title: id + description: The promotion's ID. + - type: object + description: Filter by a promotion's ID. + properties: + $and: + type: array + description: >- + Join query parameters with an AND condition. Each object's + content is the same type as the expected query parameters. + items: + type: object + title: $and + $or: + type: array + description: >- + Join query parameters with an OR condition. Each object's + content is the same type as the expected query parameters. + items: + type: object + title: $or + $eq: + oneOf: + - type: string + title: $eq + description: Filter by an exact match. + - type: array + description: Filter by an exact match. + items: + type: string + title: $eq + description: Filter by an exact match. + $ne: + type: string + title: $ne + description: Filter by values not equal to this parameter. + $in: + type: array + description: Filter by values in this array. + items: + type: string + title: $in + description: Filter by values in this array. + $nin: + type: array + description: Filter by values not in this array. + items: + type: string + title: $nin + description: Filter by values not in this array. + $not: + oneOf: + - type: string + title: $not + description: >- + Filter by values not matching the conditions in this + parameter. + - type: object + description: >- + Filter by values not matching the conditions in this + parameter. + - type: array + description: >- + Filter by values not matching the conditions in this + parameter. + items: + type: string + title: $not + description: >- + Filter by values not matching the conditions in this + parameter. + $gt: + type: string + title: $gt + description: >- + Filter by values greater than this parameter. Useful for + numbers and dates only. + $gte: + type: string + title: $gte + description: >- + Filter by values greater than or equal to this parameter. + Useful for numbers and dates only. + $lt: + type: string + title: $lt + description: >- + Filter by values less than this parameter. Useful for numbers + and dates only. + $lte: + type: string + title: $lte + description: >- + Filter by values less than or equal to this parameter. Useful + for numbers and dates only. + $like: + type: string + title: $like + description: Apply a `like` filter. Useful for strings only. + $re: + type: string + title: $re + description: Apply a regex filter. Useful for strings only. + $ilike: + type: string + title: $ilike + description: >- + Apply a case-insensitive `like` filter. Useful for strings + only. + $fulltext: + type: string + title: $fulltext + description: Filter to apply on full-text properties. + $overlap: + type: array + description: >- + Filter arrays that have overlapping values with this + parameter. + items: + type: string + title: $overlap + description: >- + Filter arrays that have overlapping values with this + parameter. + $contains: + type: array + description: >- + Filter arrays that contain some of the values of this + parameter. + items: + type: string + title: $contains + description: >- + Filter arrays that contain some of the values of this + parameter. + $contained: + type: array + description: Filter arrays that contain all values of this parameter. + items: + type: string + title: $contained + description: Filter arrays that contain all values of this parameter. + $exists: + type: boolean + title: $exists + description: >- + Filter by whether a value for this parameter exists (not + `null`). security: - api_token: [] - cookie_auth: [] diff --git a/www/apps/api-reference/specs/store/components/schemas/AdminDraftOrder.yaml b/www/apps/api-reference/specs/store/components/schemas/AdminDraftOrder.yaml index 7a40e1caf0..808b078423 100644 --- a/www/apps/api-reference/specs/store/components/schemas/AdminDraftOrder.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/AdminDraftOrder.yaml @@ -24,6 +24,7 @@ required: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -37,6 +38,7 @@ required: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -262,3 +264,11 @@ properties: type: number title: credit_line_total description: The draft order's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the draft order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the draft order's shipping. diff --git a/www/apps/api-reference/specs/store/components/schemas/AdminDraftOrderPreview.yaml b/www/apps/api-reference/specs/store/components/schemas/AdminDraftOrderPreview.yaml index 8f3a96628c..af04f3b1ab 100644 --- a/www/apps/api-reference/specs/store/components/schemas/AdminDraftOrderPreview.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/AdminDraftOrderPreview.yaml @@ -24,6 +24,7 @@ required: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -37,6 +38,7 @@ required: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -667,3 +669,11 @@ properties: type: number title: credit_line_total description: The draft order preview's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the draft order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the draft order's shipping. diff --git a/www/apps/api-reference/specs/store/components/schemas/AdminOrder.yaml b/www/apps/api-reference/specs/store/components/schemas/AdminOrder.yaml index f0d0784c76..dc257c3f04 100644 --- a/www/apps/api-reference/specs/store/components/schemas/AdminOrder.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/AdminOrder.yaml @@ -24,6 +24,7 @@ required: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -37,6 +38,7 @@ required: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -255,3 +257,11 @@ properties: type: number title: credit_line_total description: The order's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the order's shipping. diff --git a/www/apps/api-reference/specs/store/components/schemas/AdminOrderChangeAction.yaml b/www/apps/api-reference/specs/store/components/schemas/AdminOrderChangeAction.yaml index ebcaf79e3f..34812304a4 100644 --- a/www/apps/api-reference/specs/store/components/schemas/AdminOrderChangeAction.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/AdminOrderChangeAction.yaml @@ -12,6 +12,7 @@ required: - return_id - exchange_id - claim_id + - ordering - order_change_id - reference - reference_id @@ -98,3 +99,7 @@ properties: format: date-time title: updated_at description: The date the action was updated. + ordering: + type: number + title: ordering + description: The action's order in the sequence of actions. diff --git a/www/apps/api-reference/specs/store/components/schemas/AdminOrderPreview.yaml b/www/apps/api-reference/specs/store/components/schemas/AdminOrderPreview.yaml index 98cf4090b7..a75e92bad2 100644 --- a/www/apps/api-reference/specs/store/components/schemas/AdminOrderPreview.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/AdminOrderPreview.yaml @@ -26,6 +26,7 @@ required: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -39,6 +40,7 @@ required: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -669,3 +671,11 @@ properties: type: number title: credit_line_total description: The order preview's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the order's shipping. diff --git a/www/apps/api-reference/specs/store/components/schemas/AdminWorkflowExecutionExecution.yaml b/www/apps/api-reference/specs/store/components/schemas/AdminWorkflowExecutionExecution.yaml index 412778efd4..4eb075ec0d 100644 --- a/www/apps/api-reference/specs/store/components/schemas/AdminWorkflowExecutionExecution.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/AdminWorkflowExecutionExecution.yaml @@ -123,6 +123,16 @@ properties: The maximum time in seconds to wait for this step to complete. If the step exceeds this time, the step's state is changed to `timeout`, but the step continues executing. + autoRetry: + type: boolean + title: autoRetry + description: Whether the step should be automatically retried if it fails. + maxAwaitingRetries: + type: number + title: maxAwaitingRetries + description: >- + The maximum number of times to retry the step while it's in the + `waiting_response` state. compensate: type: object description: The state of the step's compensation function. diff --git a/www/apps/api-reference/specs/store/components/schemas/BaseOrder.yaml b/www/apps/api-reference/specs/store/components/schemas/BaseOrder.yaml index 4322ff6393..0fc1642862 100644 --- a/www/apps/api-reference/specs/store/components/schemas/BaseOrder.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/BaseOrder.yaml @@ -23,6 +23,7 @@ required: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -36,6 +37,7 @@ required: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -243,3 +245,11 @@ properties: type: number title: credit_line_total description: The order's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the order's shipping. diff --git a/www/apps/api-reference/specs/store/components/schemas/Order.yaml b/www/apps/api-reference/specs/store/components/schemas/Order.yaml index 6c331fd686..10009c77de 100644 --- a/www/apps/api-reference/specs/store/components/schemas/Order.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/Order.yaml @@ -15,6 +15,7 @@ required: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -30,6 +31,7 @@ required: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -311,3 +313,11 @@ properties: type: number title: credit_line_total description: The order's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the order's shipping. diff --git a/www/apps/api-reference/specs/store/components/schemas/StoreOrder.yaml b/www/apps/api-reference/specs/store/components/schemas/StoreOrder.yaml index c4013d4431..2cedb499ba 100644 --- a/www/apps/api-reference/specs/store/components/schemas/StoreOrder.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/StoreOrder.yaml @@ -22,6 +22,7 @@ required: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -35,6 +36,7 @@ required: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -241,3 +243,11 @@ properties: type: number title: credit_line_total description: The order's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the order's shipping. diff --git a/www/apps/api-reference/specs/store/openapi.full.yaml b/www/apps/api-reference/specs/store/openapi.full.yaml index 44aa62e70f..8eb62cbead 100644 --- a/www/apps/api-reference/specs/store/openapi.full.yaml +++ b/www/apps/api-reference/specs/store/openapi.full.yaml @@ -13427,6 +13427,7 @@ components: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -13440,6 +13441,7 @@ components: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -13659,6 +13661,14 @@ components: type: number title: credit_line_total description: The draft order's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the draft order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the draft order's shipping. AdminDraftOrderListResponse: type: object description: The list of draft orders with pagination fields. @@ -13718,6 +13728,7 @@ components: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -13731,6 +13742,7 @@ components: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -14335,6 +14347,14 @@ components: type: number title: credit_line_total description: The draft order preview's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the draft order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the draft order's shipping. AdminDraftOrderPreviewResponse: type: object description: The details of the preview on the draft order. @@ -15710,6 +15730,7 @@ components: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -15723,6 +15744,7 @@ components: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -15941,6 +15963,14 @@ components: type: number title: credit_line_total description: The order's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the order's shipping. AdminOrderAddress: type: object description: An order address. @@ -16177,6 +16207,7 @@ components: - return_id - exchange_id - claim_id + - ordering - order_change_id - reference - reference_id @@ -16263,6 +16294,10 @@ components: format: date-time title: updated_at description: The date the action was updated. + ordering: + type: number + title: ordering + description: The action's order in the sequence of actions. AdminOrderChangesResponse: type: object description: The details of an order's changes. @@ -16668,6 +16703,7 @@ components: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -16681,6 +16717,7 @@ components: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -17285,6 +17322,14 @@ components: type: number title: credit_line_total description: The order preview's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the order's shipping. AdminOrderPreviewResponse: type: object description: The preview of an order. @@ -24153,6 +24198,14 @@ components: type: number title: timeout description: The maximum time in seconds to wait for this step to complete. If the step exceeds this time, the step's state is changed to `timeout`, but the step continues executing. + autoRetry: + type: boolean + title: autoRetry + description: Whether the step should be automatically retried if it fails. + maxAwaitingRetries: + type: number + title: maxAwaitingRetries + description: The maximum number of times to retry the step while it's in the `waiting_response` state. compensate: type: object description: The state of the step's compensation function. @@ -25226,6 +25279,7 @@ components: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -25239,6 +25293,7 @@ components: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -25446,6 +25501,14 @@ components: type: number title: credit_line_total description: The order's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the order's shipping. BaseOrderAddress: type: object description: An order address. @@ -28118,6 +28181,7 @@ components: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -28133,6 +28197,7 @@ components: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -28410,6 +28475,14 @@ components: type: number title: credit_line_total description: The order's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the order's shipping. OrderAddress: type: object description: The address's details. @@ -31924,6 +31997,7 @@ components: - item_total - item_subtotal - item_tax_total + - item_discount_total - original_total - original_subtotal - original_tax_total @@ -31937,6 +32011,7 @@ components: - shipping_total - shipping_subtotal - shipping_tax_total + - shipping_discount_total - original_shipping_total - original_shipping_subtotal - original_shipping_tax_total @@ -32143,6 +32218,14 @@ components: type: number title: credit_line_total description: The order's credit line total. + item_discount_total: + type: number + title: item_discount_total + description: The total discount amount applied on the order's items. + shipping_discount_total: + type: number + title: shipping_discount_total + description: The total discount amount applied on the order's shipping. StoreOrderAddress: type: object description: An order address diff --git a/www/utils/generated/oas-output/operations/admin/get_admin_promotions.ts b/www/utils/generated/oas-output/operations/admin/get_admin_promotions.ts index c719f9811c..96093f8447 100644 --- a/www/utils/generated/oas-output/operations/admin/get_admin_promotions.ts +++ b/www/utils/generated/oas-output/operations/admin/get_admin_promotions.ts @@ -511,6 +511,135 @@ * type: boolean * title: with_deleted * description: Whether to include deleted records in the result. + * - name: id + * in: query + * required: false + * description: Filter by a promotion's ID. + * schema: + * oneOf: + * - type: string + * title: id + * description: Filter by a promotion's ID. + * - type: array + * description: Filter by promotion IDs. + * items: + * type: string + * title: id + * description: The promotion's ID. + * - type: object + * description: Filter by a promotion's ID. + * properties: + * $and: + * type: array + * description: Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters. + * items: + * type: object + * title: $and + * $or: + * type: array + * description: Join query parameters with an OR condition. Each object's content is the same type as the expected query parameters. + * items: + * type: object + * title: $or + * $eq: + * oneOf: + * - type: string + * title: $eq + * description: Filter by an exact match. + * - type: array + * description: Filter by an exact match. + * items: + * type: string + * title: $eq + * description: Filter by an exact match. + * $ne: + * type: string + * title: $ne + * description: Filter by values not equal to this parameter. + * $in: + * type: array + * description: Filter by values in this array. + * items: + * type: string + * title: $in + * description: Filter by values in this array. + * $nin: + * type: array + * description: Filter by values not in this array. + * items: + * type: string + * title: $nin + * description: Filter by values not in this array. + * $not: + * oneOf: + * - type: string + * title: $not + * description: Filter by values not matching the conditions in this parameter. + * - type: object + * description: Filter by values not matching the conditions in this parameter. + * - type: array + * description: Filter by values not matching the conditions in this parameter. + * items: + * type: string + * title: $not + * description: Filter by values not matching the conditions in this parameter. + * $gt: + * type: string + * title: $gt + * description: Filter by values greater than this parameter. Useful for numbers and dates only. + * $gte: + * type: string + * title: $gte + * description: Filter by values greater than or equal to this parameter. Useful for numbers and dates only. + * $lt: + * type: string + * title: $lt + * description: Filter by values less than this parameter. Useful for numbers and dates only. + * $lte: + * type: string + * title: $lte + * description: Filter by values less than or equal to this parameter. Useful for numbers and dates only. + * $like: + * type: string + * title: $like + * description: Apply a `like` filter. Useful for strings only. + * $re: + * type: string + * title: $re + * description: Apply a regex filter. Useful for strings only. + * $ilike: + * type: string + * title: $ilike + * description: Apply a case-insensitive `like` filter. Useful for strings only. + * $fulltext: + * type: string + * title: $fulltext + * description: Filter to apply on full-text properties. + * $overlap: + * type: array + * description: Filter arrays that have overlapping values with this parameter. + * items: + * type: string + * title: $overlap + * description: Filter arrays that have overlapping values with this parameter. + * $contains: + * type: array + * description: Filter arrays that contain some of the values of this parameter. + * items: + * type: string + * title: $contains + * description: Filter arrays that contain some of the values of this parameter. + * $contained: + * type: array + * description: Filter arrays that contain all values of this parameter. + * items: + * type: string + * title: $contained + * description: Filter arrays that contain all values of this parameter. + * $exists: + * type: boolean + * title: $exists + * description: Filter by whether a value for this parameter exists (not `null`). * security: * - api_token: [] * - cookie_auth: [] diff --git a/www/utils/generated/oas-output/schemas/AdminDraftOrder.ts b/www/utils/generated/oas-output/schemas/AdminDraftOrder.ts index eb7d3d5aff..903db86a0d 100644 --- a/www/utils/generated/oas-output/schemas/AdminDraftOrder.ts +++ b/www/utils/generated/oas-output/schemas/AdminDraftOrder.ts @@ -26,6 +26,7 @@ * - item_total * - item_subtotal * - item_tax_total + * - item_discount_total * - original_total * - original_subtotal * - original_tax_total @@ -39,6 +40,7 @@ * - shipping_total * - shipping_subtotal * - shipping_tax_total + * - shipping_discount_total * - original_shipping_total * - original_shipping_subtotal * - original_shipping_tax_total @@ -258,6 +260,14 @@ * type: number * title: credit_line_total * description: The draft order's credit line total. + * item_discount_total: + * type: number + * title: item_discount_total + * description: The total discount amount applied on the draft order's items. + * shipping_discount_total: + * type: number + * title: shipping_discount_total + * description: The total discount amount applied on the draft order's shipping. * */ diff --git a/www/utils/generated/oas-output/schemas/AdminDraftOrderPreview.ts b/www/utils/generated/oas-output/schemas/AdminDraftOrderPreview.ts index 949f8b5fe4..f65aa07ae5 100644 --- a/www/utils/generated/oas-output/schemas/AdminDraftOrderPreview.ts +++ b/www/utils/generated/oas-output/schemas/AdminDraftOrderPreview.ts @@ -26,6 +26,7 @@ * - item_total * - item_subtotal * - item_tax_total + * - item_discount_total * - original_total * - original_subtotal * - original_tax_total @@ -39,6 +40,7 @@ * - shipping_total * - shipping_subtotal * - shipping_tax_total + * - shipping_discount_total * - original_shipping_total * - original_shipping_subtotal * - original_shipping_tax_total @@ -643,6 +645,14 @@ * type: number * title: credit_line_total * description: The draft order preview's credit line total. + * item_discount_total: + * type: number + * title: item_discount_total + * description: The total discount amount applied on the draft order's items. + * shipping_discount_total: + * type: number + * title: shipping_discount_total + * description: The total discount amount applied on the draft order's shipping. * */ diff --git a/www/utils/generated/oas-output/schemas/AdminOrder.ts b/www/utils/generated/oas-output/schemas/AdminOrder.ts index ba49aaf0fa..f5c609d584 100644 --- a/www/utils/generated/oas-output/schemas/AdminOrder.ts +++ b/www/utils/generated/oas-output/schemas/AdminOrder.ts @@ -26,6 +26,7 @@ * - item_total * - item_subtotal * - item_tax_total + * - item_discount_total * - original_total * - original_subtotal * - original_tax_total @@ -39,6 +40,7 @@ * - shipping_total * - shipping_subtotal * - shipping_tax_total + * - shipping_discount_total * - original_shipping_total * - original_shipping_subtotal * - original_shipping_tax_total @@ -257,6 +259,14 @@ * type: number * title: credit_line_total * description: The order's credit line total. + * item_discount_total: + * type: number + * title: item_discount_total + * description: The total discount amount applied on the order's items. + * shipping_discount_total: + * type: number + * title: shipping_discount_total + * description: The total discount amount applied on the order's shipping. * */ diff --git a/www/utils/generated/oas-output/schemas/AdminOrderChangeAction.ts b/www/utils/generated/oas-output/schemas/AdminOrderChangeAction.ts index 35dc9818b0..ce2e8e4992 100644 --- a/www/utils/generated/oas-output/schemas/AdminOrderChangeAction.ts +++ b/www/utils/generated/oas-output/schemas/AdminOrderChangeAction.ts @@ -14,6 +14,7 @@ * - return_id * - exchange_id * - claim_id + * - ordering * - order_change_id * - reference * - reference_id @@ -100,6 +101,10 @@ * format: date-time * title: updated_at * description: The date the action was updated. + * ordering: + * type: number + * title: ordering + * description: The action's order in the sequence of actions. * */ diff --git a/www/utils/generated/oas-output/schemas/AdminOrderPreview.ts b/www/utils/generated/oas-output/schemas/AdminOrderPreview.ts index bcb8f1ea3a..739be5d91f 100644 --- a/www/utils/generated/oas-output/schemas/AdminOrderPreview.ts +++ b/www/utils/generated/oas-output/schemas/AdminOrderPreview.ts @@ -26,6 +26,7 @@ * - item_total * - item_subtotal * - item_tax_total + * - item_discount_total * - original_total * - original_subtotal * - original_tax_total @@ -39,6 +40,7 @@ * - shipping_total * - shipping_subtotal * - shipping_tax_total + * - shipping_discount_total * - original_shipping_total * - original_shipping_subtotal * - original_shipping_tax_total @@ -643,6 +645,14 @@ * type: number * title: credit_line_total * description: The order preview's credit line total. + * item_discount_total: + * type: number + * title: item_discount_total + * description: The total discount amount applied on the order's items. + * shipping_discount_total: + * type: number + * title: shipping_discount_total + * description: The total discount amount applied on the order's shipping. * */ diff --git a/www/utils/generated/oas-output/schemas/AdminWorkflowExecutionExecution.ts b/www/utils/generated/oas-output/schemas/AdminWorkflowExecutionExecution.ts index e74dd11737..b1f8f79e7a 100644 --- a/www/utils/generated/oas-output/schemas/AdminWorkflowExecutionExecution.ts +++ b/www/utils/generated/oas-output/schemas/AdminWorkflowExecutionExecution.ts @@ -108,6 +108,14 @@ * type: number * title: timeout * description: The maximum time in seconds to wait for this step to complete. If the step exceeds this time, the step's state is changed to `timeout`, but the step continues executing. + * autoRetry: + * type: boolean + * title: autoRetry + * description: Whether the step should be automatically retried if it fails. + * maxAwaitingRetries: + * type: number + * title: maxAwaitingRetries + * description: The maximum number of times to retry the step while it's in the `waiting_response` state. * compensate: * type: object * description: The state of the step's compensation function. diff --git a/www/utils/generated/oas-output/schemas/BaseOrder.ts b/www/utils/generated/oas-output/schemas/BaseOrder.ts index 9603d335ca..3addf668e3 100644 --- a/www/utils/generated/oas-output/schemas/BaseOrder.ts +++ b/www/utils/generated/oas-output/schemas/BaseOrder.ts @@ -25,6 +25,7 @@ * - item_total * - item_subtotal * - item_tax_total + * - item_discount_total * - original_total * - original_subtotal * - original_tax_total @@ -38,6 +39,7 @@ * - shipping_total * - shipping_subtotal * - shipping_tax_total + * - shipping_discount_total * - original_shipping_total * - original_shipping_subtotal * - original_shipping_tax_total @@ -245,6 +247,14 @@ * type: number * title: credit_line_total * description: The order's credit line total. + * item_discount_total: + * type: number + * title: item_discount_total + * description: The total discount amount applied on the order's items. + * shipping_discount_total: + * type: number + * title: shipping_discount_total + * description: The total discount amount applied on the order's shipping. * */ diff --git a/www/utils/generated/oas-output/schemas/Order.ts b/www/utils/generated/oas-output/schemas/Order.ts index 17ce9a860a..d701398427 100644 --- a/www/utils/generated/oas-output/schemas/Order.ts +++ b/www/utils/generated/oas-output/schemas/Order.ts @@ -17,6 +17,7 @@ * - item_total * - item_subtotal * - item_tax_total + * - item_discount_total * - original_total * - original_subtotal * - original_tax_total @@ -32,6 +33,7 @@ * - shipping_total * - shipping_subtotal * - shipping_tax_total + * - shipping_discount_total * - original_shipping_total * - original_shipping_subtotal * - original_shipping_tax_total @@ -309,6 +311,14 @@ * type: number * title: credit_line_total * description: The order's credit line total. + * item_discount_total: + * type: number + * title: item_discount_total + * description: The total discount amount applied on the order's items. + * shipping_discount_total: + * type: number + * title: shipping_discount_total + * description: The total discount amount applied on the order's shipping. * */ diff --git a/www/utils/generated/oas-output/schemas/StoreOrder.ts b/www/utils/generated/oas-output/schemas/StoreOrder.ts index 54e01f9d26..7d492b23f8 100644 --- a/www/utils/generated/oas-output/schemas/StoreOrder.ts +++ b/www/utils/generated/oas-output/schemas/StoreOrder.ts @@ -24,6 +24,7 @@ * - item_total * - item_subtotal * - item_tax_total + * - item_discount_total * - original_total * - original_subtotal * - original_tax_total @@ -37,6 +38,7 @@ * - shipping_total * - shipping_subtotal * - shipping_tax_total + * - shipping_discount_total * - original_shipping_total * - original_shipping_subtotal * - original_shipping_tax_total @@ -243,6 +245,14 @@ * type: number * title: credit_line_total * description: The order's credit line total. + * item_discount_total: + * type: number + * title: item_discount_total + * description: The total discount amount applied on the order's items. + * shipping_discount_total: + * type: number + * title: shipping_discount_total + * description: The total discount amount applied on the order's shipping. * */