@compassdigital/sdk.typescript 4.593.0 → 4.595.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 +15 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +17 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/consumer.d.ts +8 -0
- package/lib/interface/consumer.d.ts.map +1 -1
- package/lib/interface/promo.d.ts +9 -0
- package/lib/interface/promo.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +31 -0
- package/src/interface/consumer.ts +15 -0
- package/src/interface/promo.ts +13 -0
package/lib/index.js
CHANGED
|
@@ -1560,6 +1560,14 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1560
1560
|
get_promo_voucherify_activity_config(options) {
|
|
1561
1561
|
return this.request('promo', '/promo/voucherify/activity/config.json', 'GET', `/promo/voucherify/activity/config.json`, null, options);
|
|
1562
1562
|
}
|
|
1563
|
+
/**
|
|
1564
|
+
* GET /promo/ping - Service ping endpoint for basic connectivity check
|
|
1565
|
+
*
|
|
1566
|
+
* @param options - additional request options
|
|
1567
|
+
*/
|
|
1568
|
+
get_promo_ping(options) {
|
|
1569
|
+
return this.request('promo', '/promo/ping', 'GET', `/promo/ping`, null, options);
|
|
1570
|
+
}
|
|
1563
1571
|
/**
|
|
1564
1572
|
* GET /config/appconfig - get appconfig - an object with data for clients including minimum versions apps (boost, thrive, J&J) should be running and a link to the respective app store
|
|
1565
1573
|
*
|
|
@@ -6169,6 +6177,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
6169
6177
|
consumer_post_external_exchange_login_code(partner, body, options) {
|
|
6170
6178
|
return this.request('consumer', '/consumer/{partner}/user/exchange-login-code', 'POST', `/consumer/${partner}/user/exchange-login-code`, body, options);
|
|
6171
6179
|
}
|
|
6180
|
+
/**
|
|
6181
|
+
* GET /consumer/user/mealplan/{locationId}/barcode - Get user mealplan barcode
|
|
6182
|
+
*
|
|
6183
|
+
* @param locationId
|
|
6184
|
+
* @param options - additional request options
|
|
6185
|
+
*/
|
|
6186
|
+
get_consumer_user_mealplan_barcode(locationId, options) {
|
|
6187
|
+
return this.request('consumer', '/consumer/user/mealplan/{locationId}/barcode', 'GET', `/consumer/user/mealplan/${locationId}/barcode`, null, options);
|
|
6188
|
+
}
|
|
6172
6189
|
/**
|
|
6173
6190
|
* POST /ai/language/generate - Generate text from a given prompt
|
|
6174
6191
|
*
|