@compassdigital/sdk.typescript 4.898.0 → 4.900.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 +52 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +64 -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 +40 -0
- package/lib/interface/centric-pos.d.ts.map +1 -1
- package/lib/interface/delivery.d.ts +2 -1
- package/lib/interface/delivery.d.ts.map +1 -1
- package/manifest.json +7 -0
- package/package.json +1 -1
- package/src/index.ts +145 -0
- package/src/interface/audit.ts +165 -0
- package/src/interface/centric-pos.ts +79 -0
- package/src/interface/delivery.ts +16 -1
package/lib/index.js
CHANGED
|
@@ -8367,6 +8367,43 @@ 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/site/{siteId}/devices - List a site's POS devices with their settings
|
|
8372
|
+
*
|
|
8373
|
+
* @param siteId - Site (location group) identifier
|
|
8374
|
+
* @param options - additional request options
|
|
8375
|
+
*/
|
|
8376
|
+
get_centric_pos_admin_site_devices(siteId, options) {
|
|
8377
|
+
return this.request('centric-pos', '/centric-pos/v1/admin/site/{siteId}/devices', 'GET', `/centric-pos/v1/admin/site/${siteId}/devices`, null, options);
|
|
8378
|
+
}
|
|
8379
|
+
/**
|
|
8380
|
+
* GET /centric-pos/v1/admin/device/{serialNumber} - Get a POS device with its settings
|
|
8381
|
+
*
|
|
8382
|
+
* @param serialNumber - Serial number of the device
|
|
8383
|
+
* @param options - additional request options
|
|
8384
|
+
*/
|
|
8385
|
+
get_centric_pos_admin_device(serialNumber, options) {
|
|
8386
|
+
return this.request('centric-pos', '/centric-pos/v1/admin/device/{serialNumber}', 'GET', `/centric-pos/v1/admin/device/${serialNumber}`, null, options);
|
|
8387
|
+
}
|
|
8388
|
+
/**
|
|
8389
|
+
* PUT /centric-pos/v1/admin/device/{serialNumber}/settings - Save a POS device's location and hidden stations
|
|
8390
|
+
*
|
|
8391
|
+
* @param serialNumber - Serial number of the device
|
|
8392
|
+
* @param body
|
|
8393
|
+
* @param options - additional request options
|
|
8394
|
+
*/
|
|
8395
|
+
put_centric_pos_admin_device_settings(serialNumber, body, options) {
|
|
8396
|
+
return this.request('centric-pos', '/centric-pos/v1/admin/device/{serialNumber}/settings', 'PUT', `/centric-pos/v1/admin/device/${serialNumber}/settings`, body, options);
|
|
8397
|
+
}
|
|
8398
|
+
/**
|
|
8399
|
+
* DELETE /centric-pos/v1/admin/device/{serialNumber}/settings - Clear a POS device's settings without unregistering it
|
|
8400
|
+
*
|
|
8401
|
+
* @param serialNumber - Serial number of the device
|
|
8402
|
+
* @param options - additional request options
|
|
8403
|
+
*/
|
|
8404
|
+
delete_centric_pos_admin_device_settings(serialNumber, options) {
|
|
8405
|
+
return this.request('centric-pos', '/centric-pos/v1/admin/device/{serialNumber}/settings', 'DELETE', `/centric-pos/v1/admin/device/${serialNumber}/settings`, null, options);
|
|
8406
|
+
}
|
|
8370
8407
|
/**
|
|
8371
8408
|
* GET /centric-pos/innovation/v1/digital-signage/orders/{stationId} - Get in-progress and ready orders for a station
|
|
8372
8409
|
*
|
|
@@ -8376,6 +8413,33 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
8376
8413
|
get_centric_pos_digital_signage_orders(stationId, options) {
|
|
8377
8414
|
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
8415
|
}
|
|
8416
|
+
/**
|
|
8417
|
+
* POST /audit/events/query - Query audit events
|
|
8418
|
+
*
|
|
8419
|
+
* @param body
|
|
8420
|
+
* @param options - additional request options
|
|
8421
|
+
*/
|
|
8422
|
+
query_audit_events(body, options) {
|
|
8423
|
+
return this.request('audit', '/audit/events/query', 'POST', `/audit/events/query`, body, options);
|
|
8424
|
+
}
|
|
8425
|
+
/**
|
|
8426
|
+
* GET /audit/events/{id} - Get a single audit event by ID
|
|
8427
|
+
*
|
|
8428
|
+
* @param id - Audit event ID
|
|
8429
|
+
* @param options - additional request options
|
|
8430
|
+
*/
|
|
8431
|
+
get_audit_event(id, options) {
|
|
8432
|
+
return this.request('audit', '/audit/events/{id}', 'GET', `/audit/events/${id}`, null, options);
|
|
8433
|
+
}
|
|
8434
|
+
/**
|
|
8435
|
+
* POST /audit/ingest - Ingest an audit event
|
|
8436
|
+
*
|
|
8437
|
+
* @param body
|
|
8438
|
+
* @param options - additional request options
|
|
8439
|
+
*/
|
|
8440
|
+
post_audit_event(body, options) {
|
|
8441
|
+
return this.request('audit', '/audit/ingest', 'POST', `/audit/ingest`, body, options);
|
|
8442
|
+
}
|
|
8379
8443
|
}
|
|
8380
8444
|
exports.ServiceClient = ServiceClient;
|
|
8381
8445
|
//# sourceMappingURL=index.js.map
|