@compassdigital/sdk.typescript 4.761.0 → 4.763.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 +10 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +11 -1
- package/lib/index.js.map +1 -1
- package/lib/interface/partner.d.ts +12 -0
- package/lib/interface/partner.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +25 -1
- package/src/interface/location.ts +1 -1
- package/src/interface/partner.ts +24 -0
package/lib/index.js
CHANGED
|
@@ -652,7 +652,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
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
654
|
/**
|
|
655
|
-
* PATCH /location/group/{id}/loading_area/{loading_area} -
|
|
655
|
+
* PATCH /location/group/{id}/loading_area/{loading_area} - Update the delivery time map of a loading area
|
|
656
656
|
*
|
|
657
657
|
* @param id - Group ID
|
|
658
658
|
* @param loading_area - Loading area ID
|
|
@@ -1124,6 +1124,16 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1124
1124
|
get_partner_external_stations(group_id, options) {
|
|
1125
1125
|
return this.request('partner', '/partner/external/stations/{group_id}', 'GET', `/partner/external/stations/${group_id}`, null, options);
|
|
1126
1126
|
}
|
|
1127
|
+
/**
|
|
1128
|
+
* POST /partner/{integration}/integration-id/verify - Verify a partner integration id
|
|
1129
|
+
*
|
|
1130
|
+
* @param integration - Partner integration key
|
|
1131
|
+
* @param body
|
|
1132
|
+
* @param options - additional request options
|
|
1133
|
+
*/
|
|
1134
|
+
post_partner_integration_id_verify(integration, body, options) {
|
|
1135
|
+
return this.request('partner', '/partner/{integration}/integration-id/verify', 'POST', `/partner/${integration}/integration-id/verify`, body, options);
|
|
1136
|
+
}
|
|
1127
1137
|
/**
|
|
1128
1138
|
* GET /partner/external/menu/{menu_id}/items - Get the items for a specific menu
|
|
1129
1139
|
*
|