@redotech/redo-api-schema 2.2.81 → 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 +38 -10
- package/lib/openapi.yaml +17 -1
- package/package.json +1 -1
package/lib/openapi.d.ts
CHANGED
|
@@ -82,7 +82,7 @@ export interface paths {
|
|
|
82
82
|
* Navigate to coverage info
|
|
83
83
|
* @description Navigate to the coverage info page.
|
|
84
84
|
*/
|
|
85
|
-
get: operations["
|
|
85
|
+
get: operations["Coverage info navigate"];
|
|
86
86
|
};
|
|
87
87
|
"/stores/{storeId}/coverage-products": {
|
|
88
88
|
/**
|
|
@@ -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.
|
|
@@ -1090,17 +1101,11 @@ export interface operations {
|
|
|
1090
1101
|
};
|
|
1091
1102
|
};
|
|
1092
1103
|
/**
|
|
1093
|
-
* Navigate to
|
|
1094
|
-
* @description Navigate to the
|
|
1104
|
+
* Navigate to coverage info
|
|
1105
|
+
* @description Navigate to the coverage info page.
|
|
1095
1106
|
*/
|
|
1096
|
-
"
|
|
1107
|
+
"Coverage info navigate": {
|
|
1097
1108
|
parameters: {
|
|
1098
|
-
query?: {
|
|
1099
|
-
/** @description HMAC-SHA256 JWT of {"iss":"<partnerId>","sub":"<storeId>/<customerId>"} */
|
|
1100
|
-
token?: string;
|
|
1101
|
-
/** @description Order ID */
|
|
1102
|
-
order_id?: string;
|
|
1103
|
-
};
|
|
1104
1109
|
path: {
|
|
1105
1110
|
storeId: components["parameters"]["store-id.param"];
|
|
1106
1111
|
};
|
|
@@ -1145,6 +1150,29 @@ export interface operations {
|
|
|
1145
1150
|
};
|
|
1146
1151
|
};
|
|
1147
1152
|
};
|
|
1153
|
+
/**
|
|
1154
|
+
* Navigate to customer portal
|
|
1155
|
+
* @description Navigate to the customer portal.
|
|
1156
|
+
*/
|
|
1157
|
+
"Customer portal navigate": {
|
|
1158
|
+
parameters: {
|
|
1159
|
+
query?: {
|
|
1160
|
+
/** @description HMAC-SHA256 JWT of {"iss":"<partnerId>","sub":"<storeId>/<customerId>"} */
|
|
1161
|
+
token?: string;
|
|
1162
|
+
/** @description Order ID */
|
|
1163
|
+
order_id?: string;
|
|
1164
|
+
};
|
|
1165
|
+
path: {
|
|
1166
|
+
storeId: components["parameters"]["store-id.param"];
|
|
1167
|
+
};
|
|
1168
|
+
};
|
|
1169
|
+
responses: {
|
|
1170
|
+
/** @description Redirect */
|
|
1171
|
+
302: {
|
|
1172
|
+
content: never;
|
|
1173
|
+
};
|
|
1174
|
+
};
|
|
1175
|
+
};
|
|
1148
1176
|
/**
|
|
1149
1177
|
* Get invoice
|
|
1150
1178
|
* @description Get a list of invoices.
|
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.
|
|
@@ -1143,7 +1159,7 @@ paths:
|
|
|
1143
1159
|
description: Navigate to the coverage info page.
|
|
1144
1160
|
get:
|
|
1145
1161
|
description: Navigate to the coverage info page.
|
|
1146
|
-
operationId:
|
|
1162
|
+
operationId: Coverage info navigate
|
|
1147
1163
|
parameters:
|
|
1148
1164
|
- $ref: '#/components/parameters/store-id.param'
|
|
1149
1165
|
responses:
|
package/package.json
CHANGED