@compassdigital/sdk.typescript 4.858.0 → 4.860.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 +21 -14
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +23 -14
- package/lib/index.js.map +1 -1
- package/lib/interface/forecasting.d.ts +4 -4
- package/lib/interface/forecasting.d.ts.map +1 -1
- package/lib/interface/vendor.d.ts +17 -0
- package/lib/interface/vendor.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +54 -39
- package/src/interface/forecasting.ts +12 -12
- package/src/interface/vendor.ts +30 -0
package/lib/index.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ import { GetMenusQuery, GetMenusResponse, CreateMenuBody, CreateMenuResponse, Ge
|
|
|
19
19
|
import { GetCatalogPingResponse, GetCatalogHealthResponse, GetCatalogStatusResponse, GetCatalogConnectionsStatusResponse, PostCatalogBody, PostCatalogResponse, PatchCatalogBody, PatchCatalogResponse, GetCatalogQuery, GetCatalogResponse, DeleteCatalogResponse, PostCatalogItemBody, PostCatalogItemResponse, PostCatalogItemsBulkBody, PostCatalogItemsBulkResponse, PatchCatalogItemsBulkQuery, PatchCatalogItemsBulkBody, PatchCatalogItemsBulkResponse, PatchCatalogItemBody, PatchCatalogItemResponse, DeleteCatalogItemResponse, PostListCatalogItemsBody, PostListCatalogItemsResponse, GetListCatalogItemsQuery, GetListCatalogItemsResponse, PostCloneCatalogResponse, PostListCatalogItemsMergedBody, PostListCatalogItemsMergedResponse, PostCatalogBaseItemBody, PostCatalogBaseItemResponse, GetCatalogBaseItemsBody, GetCatalogBaseItemsResponse, GetCatalogBaseItemResponse } from './interface/catalog';
|
|
20
20
|
import { GetNotificationsQuery, GetNotificationsResponse, PostNotificationBody, PostNotificationResponse, PatchNotificationBody, PatchNotificationResponse, DeleteNotificationResponse, PostNotificationStatusBody, PostNotificationStatusResponse, PostNotificationDevicePushBody, PostNotificationDevicePushResponse, PostNotificationBatchDevicePushBody, PostNotificationBatchDevicePushResponse, GetNotificationSwaggerResponse } from './interface/notification';
|
|
21
21
|
import { GetCompassconnectOmsTokenQuery, GetCompassconnectOmsTokenResponse } from './interface/compassconnect';
|
|
22
|
-
import { PostVendorApplicationBody, PostVendorApplicationResponse, GetVendorApplicationsQuery, GetVendorApplicationsResponse, GetVendorApplicationResponse, PatchVendorApplicationBody, PatchVendorApplicationResponse, DeleteVendorApplicationResponse, PostVendorQuery, PostVendorBody, PostVendorResponse, GetVendorsResponse, GetVendorResponse, PatchVendorBody, PatchVendorResponse, DeleteVendorResponse, GetVendorAuthResponse, GetVendorKeysQuery, GetVendorKeysResponse, PostVendorKeyBody, PostVendorKeyResponse, GetVendorKeyResponse, PatchVendorKeyBody, PatchVendorKeyResponse, DeleteVendorKeyResponse, PostVendorKeyRotateQuery, PostVendorKeyRotateResponse, PostVendorResetPasswordBody, PostVendorResetPasswordResponse } from './interface/vendor';
|
|
22
|
+
import { PostVendorApplicationBody, PostVendorApplicationResponse, GetVendorApplicationsQuery, GetVendorApplicationsResponse, GetVendorApplicationResponse, PatchVendorApplicationBody, PatchVendorApplicationResponse, DeleteVendorApplicationResponse, PostVendorQuery, PostVendorBody, PostVendorResponse, GetVendorsResponse, GetVendorResponse, PatchVendorBody, PatchVendorResponse, DeleteVendorResponse, GetVendorAuthResponse, PostVendorTokenBody, PostVendorTokenResponse, GetVendorKeysQuery, GetVendorKeysResponse, PostVendorKeyBody, PostVendorKeyResponse, GetVendorKeyResponse, PatchVendorKeyBody, PatchVendorKeyResponse, DeleteVendorKeyResponse, PostVendorKeyRotateQuery, PostVendorKeyRotateResponse, PostVendorResetPasswordBody, PostVendorResetPasswordResponse } from './interface/vendor';
|
|
23
23
|
import { GetFrictionlessBrandFrictionlessStatusResponse, PostFrictionlessQrCodeBody, PostFrictionlessQrCodeResponse, GetFrictionlessCheckinStatusResponse, GetFrictionlessCheckinResponse, GetFrictionlessUsersPaymentIssuesResponse, GetFrictionlessFailedCheckinsResponse, PostFrictionlessCheckinsReprocessResponse, PostFrictionlessCheckinReprocessPaymentBody, PostFrictionlessCheckinReprocessPaymentResponse, PostFrictionlessAmazonJwoConnectorV1IdentityIdentityKeysBody, PostFrictionlessAmazonJwoConnectorV1IdentityIdentityKeysResponse, PostFrictionlessAmazonJwoConnectorV1OrderPurchasesBody, PostFrictionlessAmazonJwoConnectorV1OrderPurchasesResponse } from './interface/frictionless';
|
|
24
24
|
import { HealthCheckControllerExecuteResponse, GetPaymentListByBrandQuery, GetPaymentListByBrandResponse, GetCustomerOrdersQuery, GetCustomerOrdersResponse, GetCustomerOrdersV2Query, GetCustomerOrdersV2Response, PostConsumerOrderBody, PostConsumerOrderResponse, PatchConsumerOrderCancelBody, PatchConsumerOrderCancelResponse, PostConsumerOrderIssueBody, PostConsumerOrderIssueResponse, PostReviewOrderItemsBody, PostReviewOrderItemsResponse, GetConsumerHomePageQuery, GetConsumerHomePageResponse, GetConsumerHomePageV2Query, GetConsumerHomePageV2Response, GetConsumerHomePageV3Query, GetConsumerHomePageV3Response, GetConsumerFrictionlessCheckinResponse, PostFrictionlessQrcodeBody, PostFrictionlessQrcodeResponse, PostConsumerV2FrictionlessQrcodeBody, PostConsumerV2FrictionlessQrcodeResponse, PostConsumerForgotPasswordBody, PostConsumerForgotPasswordResponse, PostConsumerV2ForgotPasswordQuery, PostConsumerV2ForgotPasswordBody, PostConsumerV2ForgotPasswordResponse, PostConsumerAddSecretBody, PostConsumerAddSecretResponse, GetConsumerLocationGroupQuery, GetConsumerLocationGroupResponse$0, GetConsumerLocationMultigroupQuery, GetConsumerLocationMultigroupResponse, GetConsumerClientGroupsQuery, GetConsumerClientGroupsResponse$0, GetConsumerActiveMenusQuery, GetConsumerActiveMenusResponse, GetConsumerMenuRecommendedItemsQuery, GetConsumerMenuRecommendedItemsResponse$0, GetConsumerAllergensListResponse, GetConsumerMenuResponse, GetConsumerMenuV2Response, GetConsumerMenuV3Response, GetConsumerMenuItemsQuery, GetConsumerMenuItemsResponse$0, DeleteConsumerUserQuery, DeleteConsumerUserResponse, PutConsumerUserBody, PutConsumerUserResponse$0, PatchConsumerUserBody, PatchConsumerUserResponse$0, GetConsumerUserResponse$0, DeleteConsumerLogoutResponse, PostConsumerChangePasswordBody, PostConsumerChangePasswordResponse, GetPaymentCashlessConsumerResponse, PostPaymentCashlessConsumerBody, PostPaymentCashlessConsumerResponse, GetPaymentClienttokenConsumerQuery, GetPaymentClienttokenConsumerResponse, GetPaymentHpcConsumerQuery, GetPaymentHpcConsumerResponse, GetPaymentTokenConsumerQuery, GetPaymentTokenConsumerResponse, PostConsumerPaymentTokenBody$0, PostConsumerPaymentTokenResponse$0, GetConsumerShoppingcartResponse, PutConsumerShoppingcartBody, PutConsumerShoppingcartResponse, DeleteConsumerShoppingcartBody, DeleteConsumerShoppingcartResponse, PatchConsumerShoppingcartBody, PatchConsumerShoppingcartResponse, PutConsumerShoppingcartPaymentBody, PutConsumerShoppingcartPaymentResponse, PostConsumerShoppingcartRecommendedItemsBody, PostConsumerShoppingcartRecommendedItemsResponse, PostConsumerShoppingcartBody, PostConsumerShoppingcartResponse, PostConsumerPromoValidateBody, PostConsumerPromoValidateResponse, PostConsumerPromoRedeemBody, PostConsumerPromoRedeemResponse, PutConsumerUserMealplanResponse, GetMealplanConsumerResponse, PostMealplanConsumerBody, PostMealplanConsumerResponse, PutConsumerMealplanBody, PutConsumerMealplanResponse, DeleteMealplanConsumerBody, DeleteMealplanConsumerResponse, GetMealplanBarcodeConsumerResponse, PostMealplanVerifyConsumerBody, PostMealplanVerifyConsumerResponse, GetConsumerConfigAppconfigResponse, PatchCheckinConsumerOrderResponse, GetConsumerAppThemeResponse, PostConsumerTimeslotsBody$0, PostConsumerTimeslotsResponse$0, GetConsumerConfigPublicResponse$0, PutConsumerShoppingcartPromoBody, PutConsumerShoppingcartPromoResponse, DeleteConsumerShoppingcartPromoResponse, PutConsumerShoppingcartCheckoutResponse, GetConsumerStationDiscountsResponse, PostConsumerShoppingcartCloneBody, PostConsumerShoppingcartCloneResponse, GetConsumerLocationBrandQuery, GetConsumerLocationBrandResponse, PostConsumerCustomerRewardsQuery, PostConsumerCustomerRewardsBody, PostConsumerCustomerRewardsResponse, PostConsumerSendEmailVerificationResponse, PostConsumerUserCreateQuery, PostConsumerUserCreateBody, PostConsumerUserCreateResponse, PostConsumerUserGuestTokenBody, PostConsumerUserGuestTokenResponse$0, PostConsumerUserGuestBody, PostConsumerUserGuestResponse$0, PostConsumerOpenaiChatBody, PostConsumerOpenaiChatResponse, PostPaymentValidateMerchantBody$0, PostPaymentValidateMerchantResponse$0, GetConsumerReviewOrderItemsQuery, GetConsumerReviewOrderItemsResponse, PostConsumerShoppingcartBulkBody, PostConsumerShoppingcartBulkResponse, ConsumerPostExternalExchangeLoginCodeBody, ConsumerPostExternalExchangeLoginCodeResponse, GetConsumerUserMealplanBarcodeResponse, GetConsumerLocationQuery, GetConsumerLocationResponse$0, GetConsumerDeliveryResponse, PostConsumerDeliveryOrderOpenLidResponse, PostConsumerDeliveryOrderCloseLidResponse, PostConsumerUserAccessCodeValidateBody, PostConsumerUserAccessCodeValidateResponse$0, PostConsumerUserAccessCodeRedeemBody, PostConsumerUserAccessCodeRedeemResponse$0 } from './interface/consumer';
|
|
25
25
|
import { PostAiLanguageGenerateBody, PostAiLanguageGenerateResponse, PostAiImageGenerateBody, PostAiImageGenerateResponse, PostAiTranslateBody, PostAiTranslateResponse } from './interface/ai';
|
|
@@ -31,7 +31,7 @@ import { GetReviewsQuery, GetReviewsResponse, PostReviewBody, PostReviewResponse
|
|
|
31
31
|
import { DeleteDiscountResponse, GetDiscountResponse, PutDiscountBody, PutDiscountResponse, GetDiscountsQuery, GetDiscountsResponse, PostDiscountBody, PostDiscountResponse, GetDiscountHealthResponse, GetDiscountPingResponse, PostDiscountEventBody, PostDiscountEventResponse, PostRewardsQuery, PostRewardsBody, PostRewardsResponse, PostDiscountValidateDiscountsBody, PostDiscountValidateDiscountsResponse, PutDiscountPublishBody, PutDiscountPublishResponse } from './interface/discount';
|
|
32
32
|
import { GetLoyaltyBundlesQuery, GetLoyaltyBundlesResponse, PostLoyaltyBundleBody, PostLoyaltyBundleResponse, GetLoyaltyBundleResponse, PatchLoyaltyBundleBody, PatchLoyaltyBundleResponse, DeleteLoyaltyBundleResponse, GetLoyaltyCampaignsQuery, GetLoyaltyCampaignsResponse, PostLoyaltyCampaignBody, PostLoyaltyCampaignResponse, GetLoyaltyCampaignStatsQuery, GetLoyaltyCampaignStatsResponse, GetLoyaltyCampaignResponse, PutLoyaltyCampaignBody, PutLoyaltyCampaignResponse, DeleteLoyaltyCampaignResponse, PatchLoyaltyCampaignStatusBody, PatchLoyaltyCampaignStatusResponse, PostLoyaltyCampaignCloneResponse, GetLoyaltyVouchersQuery, GetLoyaltyVouchersResponse, PostLoyaltyVoucherBody, PostLoyaltyVoucherResponse, GetLoyaltyVoucherResponse, PutLoyaltyVoucherBody, PutLoyaltyVoucherResponse, DeleteLoyaltyVoucherResponse, PostLoyaltyVoucherRevokeBody, PostLoyaltyVoucherRevokeResponse, PostLoyaltyVouchersBatchBody, PostLoyaltyVouchersBatchResponse, GetLoyaltyVoucherRedemptionsQuery, GetLoyaltyVoucherRedemptionsResponse, PostLoyaltyVouchersValidateBody, PostLoyaltyVouchersValidateResponse, PostLoyaltyVouchersRedeemBody, PostLoyaltyVouchersRedeemResponse, GetLoyaltySegmentsQuery, GetLoyaltySegmentsResponse, PostLoyaltySegmentBody, PostLoyaltySegmentResponse, GetLoyaltySegmentAttributesResponse, PostLoyaltySegmentPreviewCountBody, PostLoyaltySegmentPreviewCountResponse, GetLoyaltySegmentResponse, PatchLoyaltySegmentBody, PatchLoyaltySegmentResponse, DeleteLoyaltySegmentResponse, GetLoyaltySegmentMembersQuery, GetLoyaltySegmentMembersResponse, PostLoyaltySegmentMembersBody, PostLoyaltySegmentMembersResponse, DeleteLoyaltySegmentMembersBody, DeleteLoyaltySegmentMembersResponse, PostLoyaltyRedemptionRollbackBody, PostLoyaltyRedemptionRollbackResponse, GetLoyaltyRewardsQuery, GetLoyaltyRewardsResponse, PostLoyaltyRewardBody, PostLoyaltyRewardResponse, GetLoyaltyRewardResponse, PutLoyaltyRewardBody, PutLoyaltyRewardResponse, PatchLoyaltyRewardStatusBody, PatchLoyaltyRewardStatusResponse, GetLoyaltyRewardCardsQuery, GetLoyaltyRewardCardsResponse, GetLoyaltyRewardCardResponse, PostLoyaltyRewardCardAdjustBody, PostLoyaltyRewardCardAdjustResponse, PostLoyaltyRewardOrderEarnBody, PostLoyaltyRewardOrderEarnResponse } from './interface/loyalty';
|
|
33
33
|
import { GetTimeslotsBrandQuery, GetTimeslotsBrandResponse, PostTimeslotsBrandsBody, PostTimeslotsBrandsResponse, PostTimeslotsBrandIncrementBody, PostTimeslotsBrandIncrementResponse } from './interface/timeslots';
|
|
34
|
-
import { ProductionSheetControllerCreateSheetBody, ProductionSheetControllerCreateSheetResponse, ProductionSheetControllerGetProductionSheetPaginatedQuery, ProductionSheetControllerGetProductionSheetPaginatedResponse, ProductionSheetControllerGetScheduledMenuDataQuery, ProductionSheetControllerGetScheduledMenuDataResponse, ProductionSheetControllerSaveItemForecastDifferentialBody, ProductionSheetControllerSaveItemForecastDifferentialResponse,
|
|
34
|
+
import { ProductionSheetControllerCreateSheetBody, ProductionSheetControllerCreateSheetResponse, ProductionSheetControllerGetProductionSheetPaginatedQuery, ProductionSheetControllerGetProductionSheetPaginatedResponse, ProductionSheetControllerGetScheduledMenuDataQuery, ProductionSheetControllerGetScheduledMenuDataResponse, ProductionSheetControllerSaveItemForecastDifferentialBody, ProductionSheetControllerSaveItemForecastDifferentialResponse, ProductionSheetControllerGetForecastMetaDataQuery, ProductionSheetControllerGetForecastMetaDataResponse, ProductionSheetControllerPingResponse, ProductionSheetControllerSendChatMessageBody, ProductionSheetControllerSendChatMessageResponse, ProductionSheetControllerSendChatFeedbackBody, ProductionSheetControllerSendChatFeedbackResponse, ProductionSheetControllerChatStreamBody, ProductionSheetControllerChatStreamResponse, GetForecastingHealthResponse } from './interface/forecasting';
|
|
35
35
|
import { GetDeliveryHealthResponse, GetDeliveryOrderResponse, PostDeliveryOrderReadyResponse, PostDeliveryOrderOpenLidResponse, PostDeliveryOrderCloseLidResponse, PostDeliveryOrderStatusBody, PostDeliveryOrderStatusResponse, PostDeliveryOrderCreateBody, PostDeliveryOrderCreateResponse, PostDeliveryOrderCancelResponse, GetDeliveryOrdersResponse } from './interface/delivery';
|
|
36
36
|
import { GetCentricPosConfigResponse, DeleteCentricPosUnregisterQuery, DeleteCentricPosUnregisterResponse, PostCentricPosRegisterBody, PostCentricPosRegisterResponse, GetCentricPosSiteResponse, PostCentricPosAuthBody, PostCentricPosAuthResponse, PostCentricPosOrderBody, PostCentricPosOrderResponse, PatchCentricPosOrderReceiptEmailBody, PatchCentricPosOrderReceiptEmailResponse, PostCentricPosOrderReceiptBody, PostCentricPosOrderReceiptResponse, GetCentricPosDigitalSignageOrdersQuery, GetCentricPosDigitalSignageOrdersResponse } from './interface/centric-pos';
|
|
37
37
|
import { BaseServiceClient, RequestOptions, ResponsePromise } from './base';
|
|
@@ -5047,6 +5047,13 @@ export declare class ServiceClient extends BaseServiceClient {
|
|
|
5047
5047
|
* @param options - additional request options
|
|
5048
5048
|
*/
|
|
5049
5049
|
get_vendor_auth(options?: RequestOptions): ResponsePromise<GetVendorAuthResponse>;
|
|
5050
|
+
/**
|
|
5051
|
+
* POST /vendor/token - Get access token using the OAuth 2.0 client credentials grant
|
|
5052
|
+
*
|
|
5053
|
+
* @param body
|
|
5054
|
+
* @param options - additional request options
|
|
5055
|
+
*/
|
|
5056
|
+
post_vendor_token(body: PostVendorTokenBody, options?: RequestOptions): ResponsePromise<PostVendorTokenResponse>;
|
|
5050
5057
|
/**
|
|
5051
5058
|
* GET /vendor/{id}/key - Get list of Vendor keys
|
|
5052
5059
|
*
|
|
@@ -6986,33 +6993,33 @@ export declare class ServiceClient extends BaseServiceClient {
|
|
|
6986
6993
|
*/
|
|
6987
6994
|
ProductionSheetController_saveItemForecastDifferential(body: ProductionSheetControllerSaveItemForecastDifferentialBody, options?: RequestOptions): ResponsePromise<ProductionSheetControllerSaveItemForecastDifferentialResponse>;
|
|
6988
6995
|
/**
|
|
6989
|
-
*
|
|
6996
|
+
* GET /forecasting/forecast-metadata - Get forecast meta data from Luna
|
|
6990
6997
|
*
|
|
6991
|
-
* @param body
|
|
6992
6998
|
* @param options - additional request options
|
|
6993
6999
|
*/
|
|
6994
|
-
|
|
7000
|
+
ProductionSheetController_getForecastMetaData(options: {
|
|
7001
|
+
query: ProductionSheetControllerGetForecastMetaDataQuery;
|
|
7002
|
+
} & RequestOptions): ResponsePromise<ProductionSheetControllerGetForecastMetaDataResponse>;
|
|
6995
7003
|
/**
|
|
6996
|
-
*
|
|
7004
|
+
* GET /forecasting/ping - Forecasting Service liveness check
|
|
6997
7005
|
*
|
|
6998
|
-
* @param body
|
|
6999
7006
|
* @param options - additional request options
|
|
7000
7007
|
*/
|
|
7001
|
-
|
|
7008
|
+
ProductionSheetController_ping(options?: RequestOptions): ResponsePromise<ProductionSheetControllerPingResponse>;
|
|
7002
7009
|
/**
|
|
7003
|
-
*
|
|
7010
|
+
* POST /forecasting/chat - Relay a user chat message to Luna
|
|
7004
7011
|
*
|
|
7012
|
+
* @param body
|
|
7005
7013
|
* @param options - additional request options
|
|
7006
7014
|
*/
|
|
7007
|
-
|
|
7008
|
-
query: ProductionSheetControllerGetForecastMetaDataQuery;
|
|
7009
|
-
} & RequestOptions): ResponsePromise<ProductionSheetControllerGetForecastMetaDataResponse>;
|
|
7015
|
+
ProductionSheetController_sendChatMessage(body: ProductionSheetControllerSendChatMessageBody, options?: RequestOptions): ResponsePromise<ProductionSheetControllerSendChatMessageResponse>;
|
|
7010
7016
|
/**
|
|
7011
|
-
*
|
|
7017
|
+
* POST /forecasting/chat-feedback - Send user feedback for Luna chat messages
|
|
7012
7018
|
*
|
|
7019
|
+
* @param body
|
|
7013
7020
|
* @param options - additional request options
|
|
7014
7021
|
*/
|
|
7015
|
-
|
|
7022
|
+
ProductionSheetController_sendChatFeedback(body: ProductionSheetControllerSendChatFeedbackBody, options?: RequestOptions): ResponsePromise<ProductionSheetControllerSendChatFeedbackResponse>;
|
|
7016
7023
|
/**
|
|
7017
7024
|
* POST /forecasting/chat-stream - Stream chat responses from Luna for forecasting chat
|
|
7018
7025
|
*
|