@compassdigital/sdk.typescript 4.214.0 → 4.216.0
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/package.json
CHANGED
|
@@ -2102,6 +2102,23 @@ export interface GetConsumerUserResponse {
|
|
|
2102
2102
|
ssoId?: string;
|
|
2103
2103
|
}
|
|
2104
2104
|
|
|
2105
|
+
export interface PromoDetails {
|
|
2106
|
+
code?: string;
|
|
2107
|
+
provider?: Record<string, any>;
|
|
2108
|
+
amount_off?: number;
|
|
2109
|
+
percent_off?: number;
|
|
2110
|
+
amount?: number;
|
|
2111
|
+
app?: string;
|
|
2112
|
+
provider_data?: Record<string, any>;
|
|
2113
|
+
order?: Record<string, any>;
|
|
2114
|
+
}
|
|
2115
|
+
|
|
2116
|
+
export interface ConsumerIncentives {
|
|
2117
|
+
discounts?: Discounts;
|
|
2118
|
+
promo?: PromoDetails;
|
|
2119
|
+
stacked_total?: number;
|
|
2120
|
+
}
|
|
2121
|
+
|
|
2105
2122
|
export interface GetConsumerShoppingCartResponse {
|
|
2106
2123
|
id?: string;
|
|
2107
2124
|
location?: string;
|
|
@@ -2153,6 +2170,7 @@ export interface GetConsumerShoppingCartResponse {
|
|
|
2153
2170
|
tax_calculation_required?: boolean;
|
|
2154
2171
|
system365?: boolean;
|
|
2155
2172
|
};
|
|
2173
|
+
incentives?: ConsumerIncentives;
|
|
2156
2174
|
}
|
|
2157
2175
|
|
|
2158
2176
|
export interface ConsumerLabel {
|
|
@@ -2243,6 +2261,7 @@ export interface PutConsumerShoppingCartResponse {
|
|
|
2243
2261
|
tax_calculation_required?: boolean;
|
|
2244
2262
|
system365?: boolean;
|
|
2245
2263
|
};
|
|
2264
|
+
incentives?: ConsumerIncentives;
|
|
2246
2265
|
}
|
|
2247
2266
|
|
|
2248
2267
|
export interface PostConsumerRecommendedRequest {
|
|
@@ -2340,6 +2359,7 @@ export interface PostConsumerShoppingCartResponse {
|
|
|
2340
2359
|
tax_calculation_required?: boolean;
|
|
2341
2360
|
system365?: boolean;
|
|
2342
2361
|
};
|
|
2362
|
+
incentives?: ConsumerIncentives;
|
|
2343
2363
|
}
|
|
2344
2364
|
|
|
2345
2365
|
export interface PostConsumerPromoValidateRequest {
|