@compassdigital/sdk.typescript 4.897.0 → 4.899.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 +45 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +55 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/audit.d.ts +110 -0
- package/lib/interface/audit.d.ts.map +1 -0
- package/lib/interface/audit.js +5 -0
- package/lib/interface/audit.js.map +1 -0
- package/lib/interface/centric-pos.d.ts +33 -0
- package/lib/interface/centric-pos.d.ts.map +1 -1
- package/lib/interface/consumer.d.ts +2 -2
- package/lib/interface/consumer.d.ts.map +1 -1
- package/manifest.json +7 -0
- package/package.json +1 -1
- package/src/index.ts +124 -0
- package/src/interface/audit.ts +165 -0
- package/src/interface/centric-pos.ts +66 -0
- package/src/interface/consumer.ts +2 -2
package/lib/index.js
CHANGED
|
@@ -8367,6 +8367,34 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
8367
8367
|
post_centric_pos_order_receipt(order_id, body, options) {
|
|
8368
8368
|
return this.request('centric-pos', '/centric-pos/v1/order/{order_id}/receipt', 'POST', `/centric-pos/v1/order/${order_id}/receipt`, body, options);
|
|
8369
8369
|
}
|
|
8370
|
+
/**
|
|
8371
|
+
* GET /centric-pos/v1/admin/device/{serialNumber} - Get a POS device with its settings
|
|
8372
|
+
*
|
|
8373
|
+
* @param serialNumber - Serial number of the device
|
|
8374
|
+
* @param options - additional request options
|
|
8375
|
+
*/
|
|
8376
|
+
get_centric_pos_admin_device(serialNumber, options) {
|
|
8377
|
+
return this.request('centric-pos', '/centric-pos/v1/admin/device/{serialNumber}', 'GET', `/centric-pos/v1/admin/device/${serialNumber}`, null, options);
|
|
8378
|
+
}
|
|
8379
|
+
/**
|
|
8380
|
+
* PUT /centric-pos/v1/admin/device/{serialNumber}/settings - Save a POS device's location and hidden stations
|
|
8381
|
+
*
|
|
8382
|
+
* @param serialNumber - Serial number of the device
|
|
8383
|
+
* @param body
|
|
8384
|
+
* @param options - additional request options
|
|
8385
|
+
*/
|
|
8386
|
+
put_centric_pos_admin_device_settings(serialNumber, body, options) {
|
|
8387
|
+
return this.request('centric-pos', '/centric-pos/v1/admin/device/{serialNumber}/settings', 'PUT', `/centric-pos/v1/admin/device/${serialNumber}/settings`, body, options);
|
|
8388
|
+
}
|
|
8389
|
+
/**
|
|
8390
|
+
* DELETE /centric-pos/v1/admin/device/{serialNumber}/settings - Clear a POS device's settings without unregistering it
|
|
8391
|
+
*
|
|
8392
|
+
* @param serialNumber - Serial number of the device
|
|
8393
|
+
* @param options - additional request options
|
|
8394
|
+
*/
|
|
8395
|
+
delete_centric_pos_admin_device_settings(serialNumber, options) {
|
|
8396
|
+
return this.request('centric-pos', '/centric-pos/v1/admin/device/{serialNumber}/settings', 'DELETE', `/centric-pos/v1/admin/device/${serialNumber}/settings`, null, options);
|
|
8397
|
+
}
|
|
8370
8398
|
/**
|
|
8371
8399
|
* GET /centric-pos/innovation/v1/digital-signage/orders/{stationId} - Get in-progress and ready orders for a station
|
|
8372
8400
|
*
|
|
@@ -8376,6 +8404,33 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
8376
8404
|
get_centric_pos_digital_signage_orders(stationId, options) {
|
|
8377
8405
|
return this.request('centric-pos', '/centric-pos/innovation/v1/digital-signage/orders/{stationId}', 'GET', `/centric-pos/innovation/v1/digital-signage/orders/${stationId}`, null, options);
|
|
8378
8406
|
}
|
|
8407
|
+
/**
|
|
8408
|
+
* POST /audit/events/query - Query audit events
|
|
8409
|
+
*
|
|
8410
|
+
* @param body
|
|
8411
|
+
* @param options - additional request options
|
|
8412
|
+
*/
|
|
8413
|
+
query_audit_events(body, options) {
|
|
8414
|
+
return this.request('audit', '/audit/events/query', 'POST', `/audit/events/query`, body, options);
|
|
8415
|
+
}
|
|
8416
|
+
/**
|
|
8417
|
+
* GET /audit/events/{id} - Get a single audit event by ID
|
|
8418
|
+
*
|
|
8419
|
+
* @param id - Audit event ID
|
|
8420
|
+
* @param options - additional request options
|
|
8421
|
+
*/
|
|
8422
|
+
get_audit_event(id, options) {
|
|
8423
|
+
return this.request('audit', '/audit/events/{id}', 'GET', `/audit/events/${id}`, null, options);
|
|
8424
|
+
}
|
|
8425
|
+
/**
|
|
8426
|
+
* POST /audit/ingest - Ingest an audit event
|
|
8427
|
+
*
|
|
8428
|
+
* @param body
|
|
8429
|
+
* @param options - additional request options
|
|
8430
|
+
*/
|
|
8431
|
+
post_audit_event(body, options) {
|
|
8432
|
+
return this.request('audit', '/audit/ingest', 'POST', `/audit/ingest`, body, options);
|
|
8433
|
+
}
|
|
8379
8434
|
}
|
|
8380
8435
|
exports.ServiceClient = ServiceClient;
|
|
8381
8436
|
//# sourceMappingURL=index.js.map
|