@redotech/redo-api-schema 2.2.83 → 2.2.90

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 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.
@@ -1128,7 +1139,13 @@ export interface operations {
1128
1139
  /** @description Success */
1129
1140
  200: {
1130
1141
  content: {
1131
- "application/json": unknown[];
1142
+ "application/json": {
1143
+ /**
1144
+ * Coverage Products
1145
+ * @description Coverage products.
1146
+ */
1147
+ coverageProducts: components["schemas"]["coverage-product.schema"][];
1148
+ };
1132
1149
  };
1133
1150
  };
1134
1151
  /** @description Error */
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.
@@ -1187,7 +1203,7 @@ paths:
1187
1203
  type: array
1188
1204
  required:
1189
1205
  - coverageProducts
1190
- type: array
1206
+ type: object
1191
1207
  description: Success
1192
1208
  default:
1193
1209
  content:
package/package.json CHANGED
@@ -31,5 +31,5 @@
31
31
  ]
32
32
  }
33
33
  },
34
- "version": "2.2.83"
34
+ "version": "2.2.90"
35
35
  }