@redotech/redo-api-schema 2.2.83 → 2.2.88
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/lib/openapi.d.ts +11 -0
- package/lib/openapi.yaml +16 -0
- package/package.json +1 -1
package/lib/openapi.d.ts
CHANGED
|
@@ -693,11 +693,22 @@ export interface components {
|
|
|
693
693
|
* @description Line items.
|
|
694
694
|
*/
|
|
695
695
|
lineItems: {
|
|
696
|
+
coupons?: {
|
|
697
|
+
code?: string;
|
|
698
|
+
/** @description The amount this coupon discounts in dollars for this line item. */
|
|
699
|
+
discountAmount?: components["schemas"]["money.schema"];
|
|
700
|
+
id?: string;
|
|
701
|
+
}[];
|
|
696
702
|
/**
|
|
697
703
|
* ID
|
|
698
704
|
* @description Line item ID.
|
|
699
705
|
*/
|
|
700
706
|
id: string;
|
|
707
|
+
/**
|
|
708
|
+
* Original Price
|
|
709
|
+
* @description Original price.
|
|
710
|
+
*/
|
|
711
|
+
originalPrice?: components["schemas"]["money.schema"];
|
|
701
712
|
/**
|
|
702
713
|
* Price
|
|
703
714
|
* @description Total price.
|
package/lib/openapi.yaml
CHANGED
|
@@ -714,10 +714,26 @@ components:
|
|
|
714
714
|
description: Line items.
|
|
715
715
|
items:
|
|
716
716
|
properties:
|
|
717
|
+
coupons:
|
|
718
|
+
items:
|
|
719
|
+
properties:
|
|
720
|
+
code:
|
|
721
|
+
type: string
|
|
722
|
+
discountAmount:
|
|
723
|
+
$ref: '#/components/schemas/money.schema'
|
|
724
|
+
description: The amount this coupon discounts in dollars for this line item.
|
|
725
|
+
id:
|
|
726
|
+
type: string
|
|
727
|
+
type: object
|
|
728
|
+
type: array
|
|
717
729
|
id:
|
|
718
730
|
description: Line item ID.
|
|
719
731
|
title: ID
|
|
720
732
|
type: string
|
|
733
|
+
originalPrice:
|
|
734
|
+
$ref: '#/components/schemas/money.schema'
|
|
735
|
+
description: Original price.
|
|
736
|
+
title: Original Price
|
|
721
737
|
priceTotal:
|
|
722
738
|
$ref: '#/components/schemas/money.schema'
|
|
723
739
|
description: Total price.
|
package/package.json
CHANGED