@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.d.ts +61 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +72 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/centric-pos.d.ts +192 -0
- package/lib/interface/centric-pos.d.ts.map +1 -0
- package/lib/interface/centric-pos.js +5 -0
- package/lib/interface/centric-pos.js.map +1 -0
- package/lib/interface/centricos.d.ts +28 -0
- package/lib/interface/centricos.d.ts.map +1 -1
- package/manifest.json +7 -0
- package/package.json +1 -1
- package/src/index.ts +172 -0
- package/src/interface/centric-pos.ts +342 -0
- package/src/interface/centricos.ts +51 -0
package/lib/index.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ import { GetLoyaltyBundlesQuery, GetLoyaltyBundlesResponse, PostLoyaltyBundleBod
|
|
|
33
33
|
import { GetTimeslotsBrandQuery, GetTimeslotsBrandResponse, PostTimeslotsBrandsBody, PostTimeslotsBrandsResponse, PostTimeslotsBrandIncrementBody, PostTimeslotsBrandIncrementResponse } from './interface/timeslots';
|
|
34
34
|
import { ProductionSheetControllerCreateSheetBody, ProductionSheetControllerCreateSheetResponse, ProductionSheetControllerGetProductionSheetPaginatedQuery, ProductionSheetControllerGetProductionSheetPaginatedResponse, ProductionSheetControllerGetScheduledMenuDataQuery, ProductionSheetControllerGetScheduledMenuDataResponse, ProductionSheetControllerSaveItemForecastDifferentialBody, ProductionSheetControllerSaveItemForecastDifferentialResponse, ProductionSheetControllerSendChatMessageBody, ProductionSheetControllerSendChatMessageResponse, ProductionSheetControllerSendChatFeedbackBody, ProductionSheetControllerSendChatFeedbackResponse, ProductionSheetControllerGetForecastMetaDataQuery, ProductionSheetControllerGetForecastMetaDataResponse, ProductionSheetControllerPingResponse, ProductionSheetControllerChatStreamBody, ProductionSheetControllerChatStreamResponse, GetForecastingHealthResponse } from './interface/forecasting';
|
|
35
35
|
import { GetDeliveryHealthResponse, GetDeliveryOrderResponse, PostDeliveryOrderReadyResponse, PostDeliveryOrderOpenLidResponse, PostDeliveryOrderCloseLidResponse, PostDeliveryOrderStatusBody, PostDeliveryOrderStatusResponse, PostDeliveryOrderCreateBody, PostDeliveryOrderCreateResponse, PostDeliveryOrderCancelResponse, GetDeliveryOrdersResponse } from './interface/delivery';
|
|
36
|
+
import { GetCentricPosConfigResponse, UnregisterQuery, UnregisterResponse, RegisterBody, RegisterResponse, GetSiteResponse$0, AuthBody, AuthResponse, PostCentricPosOrderBody, PostCentricPosOrderResponse, PatchCentricPosOrderReceiptEmailBody, PatchCentricPosOrderReceiptEmailResponse, GetDigitalSignageOrdersQuery, GetDigitalSignageOrdersResponse } from './interface/centric-pos';
|
|
36
37
|
import { BaseServiceClient, RequestOptions, ResponsePromise } from './base';
|
|
37
38
|
export * from './base';
|
|
38
39
|
export declare class ServiceClient extends BaseServiceClient {
|
|
@@ -6809,5 +6810,65 @@ export declare class ServiceClient extends BaseServiceClient {
|
|
|
6809
6810
|
* @param options - additional request options
|
|
6810
6811
|
*/
|
|
6811
6812
|
get_delivery_orders(siteId: string, options?: RequestOptions): ResponsePromise<GetDeliveryOrdersResponse>;
|
|
6813
|
+
/**
|
|
6814
|
+
* GET /centric-pos/v1/config/{stationId} - Get Centric POS config
|
|
6815
|
+
*
|
|
6816
|
+
* @param stationId - Station identifier
|
|
6817
|
+
* @param options - additional request options
|
|
6818
|
+
*/
|
|
6819
|
+
get_centric_pos_config(stationId: string, options?: RequestOptions): ResponsePromise<GetCentricPosConfigResponse>;
|
|
6820
|
+
/**
|
|
6821
|
+
* DELETE /centric-pos/v1/unregister - Unregister a POS device by serial number
|
|
6822
|
+
*
|
|
6823
|
+
* @param options - additional request options
|
|
6824
|
+
*/
|
|
6825
|
+
unregister(options: {
|
|
6826
|
+
query: UnregisterQuery;
|
|
6827
|
+
} & RequestOptions): ResponsePromise<UnregisterResponse>;
|
|
6828
|
+
/**
|
|
6829
|
+
* POST /centric-pos/v1/register - Register a POS device by serial number
|
|
6830
|
+
*
|
|
6831
|
+
* @param body - Serial number of the device to register
|
|
6832
|
+
* @param options - additional request options
|
|
6833
|
+
*/
|
|
6834
|
+
register(body: RegisterBody, options?: RequestOptions): ResponsePromise<RegisterResponse>;
|
|
6835
|
+
/**
|
|
6836
|
+
* GET /centric-pos/v1/site/{siteId} - Get stations with Centric POS integration and FreedomPay configured for a site
|
|
6837
|
+
*
|
|
6838
|
+
* @param siteId - Site (location group) identifier
|
|
6839
|
+
* @param options - additional request options
|
|
6840
|
+
*/
|
|
6841
|
+
get_site(siteId: string, options?: RequestOptions): ResponsePromise<GetSiteResponse$0>;
|
|
6842
|
+
/**
|
|
6843
|
+
* POST /centric-pos/v1/auth - Authenticate with serial number and long-term token to get short-term token
|
|
6844
|
+
*
|
|
6845
|
+
* @param body - Serial number and long-term token for authentication
|
|
6846
|
+
* @param options - additional request options
|
|
6847
|
+
*/
|
|
6848
|
+
auth(body: AuthBody, options?: RequestOptions): ResponsePromise<AuthResponse>;
|
|
6849
|
+
/**
|
|
6850
|
+
* POST /centric-pos/v1/order - Create a POS order
|
|
6851
|
+
*
|
|
6852
|
+
* @param body - Order data to create
|
|
6853
|
+
* @param options - additional request options
|
|
6854
|
+
*/
|
|
6855
|
+
post_centric_pos_order(body: PostCentricPosOrderBody, options?: RequestOptions): ResponsePromise<PostCentricPosOrderResponse>;
|
|
6856
|
+
/**
|
|
6857
|
+
* PATCH /centric-pos/v1/order/{order_id}/receipt-email - Update order receipt email
|
|
6858
|
+
*
|
|
6859
|
+
* @param order_id - The order ID
|
|
6860
|
+
* @param body - Receipt email address
|
|
6861
|
+
* @param options - additional request options
|
|
6862
|
+
*/
|
|
6863
|
+
patch_centric_pos_order_receipt_email(order_id: string, body: PatchCentricPosOrderReceiptEmailBody, options?: RequestOptions): ResponsePromise<PatchCentricPosOrderReceiptEmailResponse>;
|
|
6864
|
+
/**
|
|
6865
|
+
* GET /centric-pos/innovation/v1/digital-signage/orders/{stationId} - Get in-progress and ready orders for a station
|
|
6866
|
+
*
|
|
6867
|
+
* @param stationId - Station identifier
|
|
6868
|
+
* @param options - additional request options
|
|
6869
|
+
*/
|
|
6870
|
+
get_digital_signage_orders(stationId: string, options?: {
|
|
6871
|
+
query?: GetDigitalSignageOrdersQuery;
|
|
6872
|
+
} & RequestOptions): ResponsePromise<GetDigitalSignageOrdersResponse>;
|
|
6812
6873
|
}
|
|
6813
6874
|
//# sourceMappingURL=index.d.ts.map
|