@compassdigital/sdk.typescript 4.859.0 → 4.861.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 +22 -22
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +19 -19
- package/lib/index.js.map +1 -1
- package/lib/interface/forecasting.d.ts +17 -17
- package/lib/interface/forecasting.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +67 -69
- package/src/interface/forecasting.ts +23 -25
package/lib/index.d.ts
CHANGED
|
@@ -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 {
|
|
34
|
+
import { PostForecastingProductionSheetBody, PostForecastingProductionSheetResponse, GetForecastingProductionSheetQuery, GetForecastingProductionSheetResponse, GetForecastingScheduledMenuDataQuery, GetForecastingScheduledMenuDataResponse, PostForecastingItemForecastDiffBody, PostForecastingItemForecastDiffResponse, GetForecastingForecastMetadataQuery, GetForecastingForecastMetadataResponse, GetForecastingPingResponse, PostForecastingChatBody, PostForecastingChatResponse, PostForecastingChatFeedbackBody, PostForecastingChatFeedbackResponse, PostForecastingChatStreamBody, PostForecastingChatStreamResponse, 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';
|
|
@@ -6968,65 +6968,65 @@ export declare class ServiceClient extends BaseServiceClient {
|
|
|
6968
6968
|
* @param body
|
|
6969
6969
|
* @param options - additional request options
|
|
6970
6970
|
*/
|
|
6971
|
-
|
|
6971
|
+
post_forecasting_production_sheet(body: PostForecastingProductionSheetBody, options?: RequestOptions): ResponsePromise<PostForecastingProductionSheetResponse>;
|
|
6972
6972
|
/**
|
|
6973
6973
|
* GET /forecasting/production-sheet - Get production sheet page
|
|
6974
6974
|
*
|
|
6975
6975
|
* @param options - additional request options
|
|
6976
6976
|
*/
|
|
6977
|
-
|
|
6978
|
-
query:
|
|
6979
|
-
} & RequestOptions): ResponsePromise<
|
|
6977
|
+
get_forecasting_production_sheet(options: {
|
|
6978
|
+
query: GetForecastingProductionSheetQuery;
|
|
6979
|
+
} & RequestOptions): ResponsePromise<GetForecastingProductionSheetResponse>;
|
|
6980
6980
|
/**
|
|
6981
6981
|
* GET /forecasting/scheduled-menu-data - Get scheduled menu data for a site for a given date
|
|
6982
6982
|
*
|
|
6983
6983
|
* @param options - additional request options
|
|
6984
6984
|
*/
|
|
6985
|
-
|
|
6986
|
-
query:
|
|
6987
|
-
} & RequestOptions): ResponsePromise<
|
|
6985
|
+
get_forecasting_scheduled_menu_data(options: {
|
|
6986
|
+
query: GetForecastingScheduledMenuDataQuery;
|
|
6987
|
+
} & RequestOptions): ResponsePromise<GetForecastingScheduledMenuDataResponse>;
|
|
6988
6988
|
/**
|
|
6989
6989
|
* POST /forecasting/item-forecast-diff - Send initial and updated forecast values for any items that had their forecast values manually updated in the centric UI prior to hitting 'Print and Save'
|
|
6990
6990
|
*
|
|
6991
6991
|
* @param body
|
|
6992
6992
|
* @param options - additional request options
|
|
6993
6993
|
*/
|
|
6994
|
-
|
|
6994
|
+
post_forecasting_item_forecast_diff(body: PostForecastingItemForecastDiffBody, options?: RequestOptions): ResponsePromise<PostForecastingItemForecastDiffResponse>;
|
|
6995
6995
|
/**
|
|
6996
|
-
*
|
|
6996
|
+
* GET /forecasting/forecast-metadata - Get forecast meta data from Luna
|
|
6997
6997
|
*
|
|
6998
|
-
* @param body
|
|
6999
6998
|
* @param options - additional request options
|
|
7000
6999
|
*/
|
|
7001
|
-
|
|
7000
|
+
get_forecasting_forecast_metadata(options: {
|
|
7001
|
+
query: GetForecastingForecastMetadataQuery;
|
|
7002
|
+
} & RequestOptions): ResponsePromise<GetForecastingForecastMetadataResponse>;
|
|
7002
7003
|
/**
|
|
7003
|
-
*
|
|
7004
|
+
* GET /forecasting/ping - Forecasting Service liveness check
|
|
7004
7005
|
*
|
|
7005
|
-
* @param body
|
|
7006
7006
|
* @param options - additional request options
|
|
7007
7007
|
*/
|
|
7008
|
-
|
|
7008
|
+
get_forecasting_ping(options?: RequestOptions): ResponsePromise<GetForecastingPingResponse>;
|
|
7009
7009
|
/**
|
|
7010
|
-
*
|
|
7010
|
+
* POST /forecasting/chat - Relay a user chat message to Luna
|
|
7011
7011
|
*
|
|
7012
|
+
* @param body
|
|
7012
7013
|
* @param options - additional request options
|
|
7013
7014
|
*/
|
|
7014
|
-
|
|
7015
|
-
query: ProductionSheetControllerGetForecastMetaDataQuery;
|
|
7016
|
-
} & RequestOptions): ResponsePromise<ProductionSheetControllerGetForecastMetaDataResponse>;
|
|
7015
|
+
post_forecasting_chat(body: PostForecastingChatBody, options?: RequestOptions): ResponsePromise<PostForecastingChatResponse>;
|
|
7017
7016
|
/**
|
|
7018
|
-
*
|
|
7017
|
+
* POST /forecasting/chat-feedback - Send user feedback for Luna chat messages
|
|
7019
7018
|
*
|
|
7019
|
+
* @param body
|
|
7020
7020
|
* @param options - additional request options
|
|
7021
7021
|
*/
|
|
7022
|
-
|
|
7022
|
+
post_forecasting_chat_feedback(body: PostForecastingChatFeedbackBody, options?: RequestOptions): ResponsePromise<PostForecastingChatFeedbackResponse>;
|
|
7023
7023
|
/**
|
|
7024
7024
|
* POST /forecasting/chat-stream - Stream chat responses from Luna for forecasting chat
|
|
7025
7025
|
*
|
|
7026
7026
|
* @param body
|
|
7027
7027
|
* @param options - additional request options
|
|
7028
7028
|
*/
|
|
7029
|
-
|
|
7029
|
+
post_forecasting_chat_stream(body: PostForecastingChatStreamBody, options?: RequestOptions): ResponsePromise<PostForecastingChatStreamResponse>;
|
|
7030
7030
|
/**
|
|
7031
7031
|
* GET /forecasting/health - Forecasting Service health check
|
|
7032
7032
|
*
|