@compassdigital/sdk.typescript 4.739.0 → 4.741.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 +20 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +20 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/consumer.d.ts +13 -42
- package/lib/interface/consumer.d.ts.map +1 -1
- package/lib/interface/location.d.ts +13 -3
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/location.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +50 -0
- package/src/interface/consumer.ts +24 -77
- package/src/interface/location.ts +26 -6
package/lib/index.js
CHANGED
|
@@ -651,6 +651,17 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
651
651
|
put_location_group_loading_area(id, loading_area, body, options) {
|
|
652
652
|
return this.request('location', '/location/group/{id}/loading_area/{loading_area}', 'PUT', `/location/group/${id}/loading_area/${loading_area}`, body, options);
|
|
653
653
|
}
|
|
654
|
+
/**
|
|
655
|
+
* PATCH /location/group/{id}/loading_area/{loading_area} - Replace the delivery time map of a loading area
|
|
656
|
+
*
|
|
657
|
+
* @param id - Group ID
|
|
658
|
+
* @param loading_area - Loading area ID
|
|
659
|
+
* @param body
|
|
660
|
+
* @param options - additional request options
|
|
661
|
+
*/
|
|
662
|
+
patch_location_group_loading_area(id, loading_area, body, options) {
|
|
663
|
+
return this.request('location', '/location/group/{id}/loading_area/{loading_area}', 'PATCH', `/location/group/${id}/loading_area/${loading_area}`, body, options);
|
|
664
|
+
}
|
|
654
665
|
/**
|
|
655
666
|
* DELETE /location/group/{id}/loading_area/{loading_area} - Delete (archive) a loading area
|
|
656
667
|
*
|
|
@@ -5790,6 +5801,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
5790
5801
|
get_consumer_home_page_v2(siteId, options) {
|
|
5791
5802
|
return this.request('consumer', '/consumer/v2/home/{siteId}', 'GET', `/consumer/v2/home/${siteId}`, null, options);
|
|
5792
5803
|
}
|
|
5804
|
+
/**
|
|
5805
|
+
* GET /consumer/v3/home/{siteId} - Provide the front end all the data required to render the home page
|
|
5806
|
+
*
|
|
5807
|
+
* @param siteId - Site ID as Encoded CDL ID
|
|
5808
|
+
* @param options - additional request options
|
|
5809
|
+
*/
|
|
5810
|
+
get_consumer_home_page_v3(siteId, options) {
|
|
5811
|
+
return this.request('consumer', '/consumer/v3/home/{siteId}', 'GET', `/consumer/v3/home/${siteId}`, null, options);
|
|
5812
|
+
}
|
|
5793
5813
|
/**
|
|
5794
5814
|
* GET /consumer/frictionless/checkin/{id} - Allow a user to check in to a location using frictionless technology
|
|
5795
5815
|
*
|