@compassdigital/sdk.typescript 4.881.0 → 4.883.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/lib/index.d.ts +8 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +9 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/consumer.d.ts +4 -0
- package/lib/interface/consumer.d.ts.map +1 -1
- package/lib/interface/user.d.ts +15 -1
- package/lib/interface/user.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +21 -0
- package/src/interface/consumer.ts +9 -0
- package/src/interface/user.ts +15 -1
package/lib/index.js
CHANGED
|
@@ -6556,6 +6556,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
6556
6556
|
get_consumer_station_discounts(siteId, options) {
|
|
6557
6557
|
return this.request('consumer', '/consumer/discounts/{siteId}', 'GET', `/consumer/discounts/${siteId}`, null, options);
|
|
6558
6558
|
}
|
|
6559
|
+
/**
|
|
6560
|
+
* GET /consumer/v2/discounts/{siteId} - Provide the front end all the data required to render the station discounts (v2 with FIXED_PRICE support)
|
|
6561
|
+
*
|
|
6562
|
+
* @param siteId - Site ID as Encoded CDL ID
|
|
6563
|
+
* @param options - additional request options
|
|
6564
|
+
*/
|
|
6565
|
+
get_consumer_station_discounts_v2(siteId, options) {
|
|
6566
|
+
return this.request('consumer', '/consumer/v2/discounts/{siteId}', 'GET', `/consumer/v2/discounts/${siteId}`, null, options);
|
|
6567
|
+
}
|
|
6559
6568
|
/**
|
|
6560
6569
|
* POST /consumer/shoppingcart/{id}/clone - clone a shopping cart
|
|
6561
6570
|
*
|