@compassdigital/sdk.typescript 4.764.0 → 4.765.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.js CHANGED
@@ -7904,6 +7904,78 @@ class ServiceClient extends base_1.BaseServiceClient {
7904
7904
  get_delivery_orders(siteId, options) {
7905
7905
  return this.request('delivery', '/delivery/orders/{siteId}', 'GET', `/delivery/orders/${siteId}`, null, options);
7906
7906
  }
7907
+ /**
7908
+ * GET /centric-pos/v1/config/{stationId} - Get Centric POS config
7909
+ *
7910
+ * @param stationId - Station identifier
7911
+ * @param options - additional request options
7912
+ */
7913
+ get_centric_pos_config(stationId, options) {
7914
+ return this.request('centric-pos', '/centric-pos/v1/config/{stationId}', 'GET', `/centric-pos/v1/config/${stationId}`, null, options);
7915
+ }
7916
+ /**
7917
+ * DELETE /centric-pos/v1/unregister - Unregister a POS device by serial number
7918
+ *
7919
+ * @param options - additional request options
7920
+ */
7921
+ unregister(options) {
7922
+ return this.request('centric-pos', '/centric-pos/v1/unregister', 'DELETE', `/centric-pos/v1/unregister`, null, options);
7923
+ }
7924
+ /**
7925
+ * POST /centric-pos/v1/register - Register a POS device by serial number
7926
+ *
7927
+ * @param body - Serial number of the device to register
7928
+ * @param options - additional request options
7929
+ */
7930
+ register(body, options) {
7931
+ return this.request('centric-pos', '/centric-pos/v1/register', 'POST', `/centric-pos/v1/register`, body, options);
7932
+ }
7933
+ /**
7934
+ * GET /centric-pos/v1/site/{siteId} - Get stations with Centric POS integration and FreedomPay configured for a site
7935
+ *
7936
+ * @param siteId - Site (location group) identifier
7937
+ * @param options - additional request options
7938
+ */
7939
+ get_site(siteId, options) {
7940
+ return this.request('centric-pos', '/centric-pos/v1/site/{siteId}', 'GET', `/centric-pos/v1/site/${siteId}`, null, options);
7941
+ }
7942
+ /**
7943
+ * POST /centric-pos/v1/auth - Authenticate with serial number and long-term token to get short-term token
7944
+ *
7945
+ * @param body - Serial number and long-term token for authentication
7946
+ * @param options - additional request options
7947
+ */
7948
+ auth(body, options) {
7949
+ return this.request('centric-pos', '/centric-pos/v1/auth', 'POST', `/centric-pos/v1/auth`, body, options);
7950
+ }
7951
+ /**
7952
+ * POST /centric-pos/v1/order - Create a POS order
7953
+ *
7954
+ * @param body - Order data to create
7955
+ * @param options - additional request options
7956
+ */
7957
+ post_centric_pos_order(body, options) {
7958
+ return this.request('centric-pos', '/centric-pos/v1/order', 'POST', `/centric-pos/v1/order`, body, options);
7959
+ }
7960
+ /**
7961
+ * PATCH /centric-pos/v1/order/{order_id}/receipt-email - Update order receipt email
7962
+ *
7963
+ * @param order_id - The order ID
7964
+ * @param body - Receipt email address
7965
+ * @param options - additional request options
7966
+ */
7967
+ patch_centric_pos_order_receipt_email(order_id, body, options) {
7968
+ return this.request('centric-pos', '/centric-pos/v1/order/{order_id}/receipt-email', 'PATCH', `/centric-pos/v1/order/${order_id}/receipt-email`, body, options);
7969
+ }
7970
+ /**
7971
+ * GET /centric-pos/innovation/v1/digital-signage/orders/{stationId} - Get in-progress and ready orders for a station
7972
+ *
7973
+ * @param stationId - Station identifier
7974
+ * @param options - additional request options
7975
+ */
7976
+ get_digital_signage_orders(stationId, options) {
7977
+ return this.request('centric-pos', '/centric-pos/innovation/v1/digital-signage/orders/{stationId}', 'GET', `/centric-pos/innovation/v1/digital-signage/orders/${stationId}`, null, options);
7978
+ }
7907
7979
  }
7908
7980
  exports.ServiceClient = ServiceClient;
7909
7981
  //# sourceMappingURL=index.js.map