@compassdigital/sdk.typescript 4.971.0 → 4.973.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 +17 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +19 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/consumer.d.ts +20 -0
- package/lib/interface/consumer.d.ts.map +1 -1
- package/lib/interface/mealplan.d.ts +1 -1
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +47 -1
- package/src/interface/consumer.ts +39 -0
- package/src/interface/mealplan.ts +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ import { GetNotificationsQuery, GetNotificationsResponse, PostNotificationBody,
|
|
|
21
21
|
import { GetCompassconnectOmsTokenQuery, GetCompassconnectOmsTokenResponse } from './interface/compassconnect';
|
|
22
22
|
import { PostVendorBody, PostVendorResponse, GetVendorsResponse, GetVendorResponse, PatchVendorBody, PatchVendorResponse, DeleteVendorResponse, PostVendorTokenBody, PostVendorTokenResponse, GetVendorKeysQuery, GetVendorKeysResponse, PostVendorKeyBody, PostVendorKeyResponse, GetVendorKeyResponse, PatchVendorKeyBody, PatchVendorKeyResponse, DeleteVendorKeyResponse, PostVendorKeyRotateQuery, PostVendorKeyRotateResponse } from './interface/vendor';
|
|
23
23
|
import { GetFrictionlessBrandFrictionlessStatusResponse, PostFrictionlessQrCodeBody, PostFrictionlessQrCodeResponse, GetFrictionlessCheckinStatusResponse, GetFrictionlessCheckinResponse, GetFrictionlessUsersPaymentIssuesResponse, GetFrictionlessFailedCheckinsResponse, PostFrictionlessCheckinsReprocessResponse, PostFrictionlessCheckinReprocessPaymentBody, PostFrictionlessCheckinReprocessPaymentResponse, PostFrictionlessAmazonJwoConnectorV1IdentityIdentityKeysBody, PostFrictionlessAmazonJwoConnectorV1IdentityIdentityKeysResponse, PostFrictionlessAmazonJwoConnectorV1OrderPurchasesBody, PostFrictionlessAmazonJwoConnectorV1OrderPurchasesResponse } from './interface/frictionless';
|
|
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, GetConsumerConfigSitePublicResponse$0, GetConsumerConfigStationPublicResponse$0, PatchCheckinConsumerOrderResponse, GetConsumerAppThemeResponse, PostConsumerTimeslotsBody$0, PostConsumerTimeslotsResponse$0, GetConsumerConfigPublicResponse$0, PutConsumerShoppingcartPromoBody, PutConsumerShoppingcartPromoResponse, DeleteConsumerShoppingcartPromoResponse, PutConsumerShoppingcartCheckoutResponse, GetConsumerStationDiscountsResponse, GetConsumerStationDiscountsV2Response, 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, GetConsumerUserAuthQuery, GetConsumerUserAuthResponse, PostConsumerUserAuthQuery, PostConsumerUserAuthBody, PostConsumerUserAuthResponse } from './interface/consumer';
|
|
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, DeleteConsumerPaymentCashlessBody$0, DeleteConsumerPaymentCashlessResponse$0, GetPaymentClienttokenConsumerQuery, GetPaymentClienttokenConsumerResponse, GetPaymentHpcConsumerQuery, GetPaymentHpcConsumerResponse, GetPaymentTokenConsumerQuery, GetPaymentTokenConsumerResponse, PostConsumerPaymentTokenBody$0, PostConsumerPaymentTokenResponse$0, DeleteConsumerPaymentTokenBody$0, DeleteConsumerPaymentTokenResponse$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, GetConsumerConfigSitePublicResponse$0, GetConsumerConfigStationPublicResponse$0, PatchCheckinConsumerOrderResponse, GetConsumerAppThemeResponse, PostConsumerTimeslotsBody$0, PostConsumerTimeslotsResponse$0, GetConsumerConfigPublicResponse$0, PutConsumerShoppingcartPromoBody, PutConsumerShoppingcartPromoResponse, DeleteConsumerShoppingcartPromoResponse, PutConsumerShoppingcartCheckoutResponse, GetConsumerStationDiscountsResponse, GetConsumerStationDiscountsV2Response, 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, GetConsumerUserAuthQuery, GetConsumerUserAuthResponse, PostConsumerUserAuthQuery, PostConsumerUserAuthBody, PostConsumerUserAuthResponse } from './interface/consumer';
|
|
25
25
|
import { PostAiLanguageGenerateBody, PostAiLanguageGenerateResponse, PostAiImageGenerateBody, PostAiImageGenerateResponse, PostAiTranslateBody, PostAiTranslateResponse } from './interface/ai';
|
|
26
26
|
import { PostCentricosAiItemDescriptionBody, PostCentricosAiItemDescriptionResponse, PostCentricosAiItemImageBody, PostCentricosAiItemImageResponse, PostCentricosAiLanguageGenerateOrderSearchParamsBody, PostCentricosAiLanguageGenerateOrderSearchParamsResponse, GetCentricosAnnouncementsSitesQuery, GetCentricosAnnouncementsSitesResponse, PostCentricosOrdersExportQuery, PostCentricosOrdersExportResponse, GetCentricosReportGroupConfigResponse, PutCentricosReportGroupConfigBody, PutCentricosReportGroupConfigResponse, DeleteCentricosReportGroupConfigResponse, GetCentricosReportConfigDefaultResponse, GetCentricosLookerEmbedurlQuery, GetCentricosLookerEmbedurlResponse, GetSiteDevicesResponse, GetCentricosSitesQuery, GetCentricosSitesResponse, GetSitesFromPriceLevelQuery, GetSitesFromPriceLevelResponse, PostCentricosSiteBody, PostCentricosSiteResponse, PostCentricosSitesBatchBody, PostCentricosSitesBatchResponse, GetCentricosSiteResponse, GetCentricosSiteMenuHoursDetailsResponse, GetCentricosSiteClientSettingsResponse, GetCentricosSiteFoodWasteResponse, GetCentricosSiteIntegrationsResponse, PutCentricosSiteThriveIntegrationBody, PutCentricosSiteThriveIntegrationResponse, PutCentricosSiteBoostIntegrationBody, PutCentricosSiteBoostIntegrationResponse, PutCentricosSiteAgilysysIntegrationBody, PutCentricosSiteAgilysysIntegrationResponse, PutCentricosSiteIntegrationResponse, DeleteCentricosSiteIntegrationResponse, GetReviewOrderItemsResponse, GetYesterdaysSnapshotResponse, GetCentricosStationResponse, DeleteCentricosStationResponse, PutCentricosStationIntegrationBody, PutCentricosStationIntegrationResponse, DeleteCentricosStationIntegrationResponse, PutCentricosDiscountBody, PutCentricosDiscountResponse, PutCentricosDiscountPublishResponse, PutCentricosDiscountVoucherifyBody, PutCentricosDiscountVoucherifyResponse, PutCentricosDiscountVoucherifyPublishResponse, DeleteCentricosDiscountResponse, GetCentricosDiscountResponse, DeleteCentricosDiscountsVoucherifyResponse, GetCentricosDiscountsQuery, GetCentricosDiscountsResponse, GetCentricosDiscountsSitesQuery, GetCentricosDiscountsSitesResponse, GetDescriptionRecommendationsQuery, GetDescriptionRecommendationsResponse, UpsertDescriptionRecommendationBody, UpsertDescriptionRecommendationResponse, GetCentricosBusinessUnitsQuery, GetCentricosBusinessUnitsResponse, PostCentricosBusinessUnitValidateVertexResponse, DeleteCentricosBusinessUnitResponse, PutCentricosBusinessUnitDropOffBody, PutCentricosBusinessUnitDropOffResponse, GetCentricosMenuGlobalMenuGroupsQuery, GetCentricosMenuGlobalMenuGroupsResponse, PostCentricosMenuBrandItemsSearchBody, PostCentricosMenuBrandItemsSearchResponse, PostCentricosMenuStationItemsSearchBody, PostCentricosMenuStationItemsSearchResponse, PostCentricosMenuBrandsFetchBody, PostCentricosMenuBrandsFetchResponse, PostCentricosStationsMenusFetchBody, PostCentricosStationsMenusFetchResponse, GetCentricosMenuOptimizerBrandRecommendationsResponse, GetCentricosGooglePlacesQuery, GetCentricosGooglePlacesResponse, GetCentricosRystEmbedConfigQuery, GetCentricosRystEmbedConfigResponse, GetCentricosTrendingCpgProductsResponse, GetCentricosUserLogsCsvResponse, GetCentricosLoyaltyCampaignsQuery, GetCentricosLoyaltyCampaignsResponse, GetCentricosLoyaltyRewardsQuery, GetCentricosLoyaltyRewardsResponse, PostCentricosLoyaltyRewardBody, PostCentricosLoyaltyRewardResponse, GetCentricosLoyaltyRewardResponse, PutCentricosLoyaltyRewardBody, PutCentricosLoyaltyRewardResponse, PatchCentricosLoyaltyRewardStatusBody, PatchCentricosLoyaltyRewardStatusResponse, GetCentricosLoyaltyRewardCardsQuery, GetCentricosLoyaltyRewardCardsResponse, GetCentricosLoyaltyRewardCardResponse, PostCentricosLoyaltyRewardCardAdjustBody, PostCentricosLoyaltyRewardCardAdjustResponse } from './interface/centricos';
|
|
27
27
|
import { TaxHealthCheckResponse, PostQuoteTaxBody, PostQuoteTaxResponse } from './interface/tax';
|
|
@@ -1286,7 +1286,7 @@ export declare class ServiceClient extends BaseServiceClient {
|
|
|
1286
1286
|
* @param body
|
|
1287
1287
|
* @param options - additional request options
|
|
1288
1288
|
*/
|
|
1289
|
-
post_mealplan_authorize(id: string, body
|
|
1289
|
+
post_mealplan_authorize(id: string, body: PostMealplanAuthorizeBody, options?: RequestOptions): ResponsePromise<PostMealplanAuthorizeResponse>;
|
|
1290
1290
|
/**
|
|
1291
1291
|
* POST /mealplan/{id}/internal/tenders - Check the user's tender balance
|
|
1292
1292
|
*
|
|
@@ -5437,6 +5437,14 @@ export declare class ServiceClient extends BaseServiceClient {
|
|
|
5437
5437
|
* @param options - additional request options
|
|
5438
5438
|
*/
|
|
5439
5439
|
post_payment_cashless_consumer(id: string, body: PostPaymentCashlessConsumerBody, options?: RequestOptions): ResponsePromise<PostPaymentCashlessConsumerResponse>;
|
|
5440
|
+
/**
|
|
5441
|
+
* DELETE /consumer/payment/{id}/cashless - Delete payment cashless tenders
|
|
5442
|
+
*
|
|
5443
|
+
* @param id - Payment ID
|
|
5444
|
+
* @param body - Delete Payment Cashless Body
|
|
5445
|
+
* @param options - additional request options
|
|
5446
|
+
*/
|
|
5447
|
+
delete_consumer_payment_cashless(id: string, body?: DeleteConsumerPaymentCashlessBody$0, options?: RequestOptions): ResponsePromise<DeleteConsumerPaymentCashlessResponse$0>;
|
|
5440
5448
|
/**
|
|
5441
5449
|
* GET /consumer/payment/{id}/clienttoken - get payment client token
|
|
5442
5450
|
*
|
|
@@ -5469,6 +5477,13 @@ export declare class ServiceClient extends BaseServiceClient {
|
|
|
5469
5477
|
* @param options - additional request options
|
|
5470
5478
|
*/
|
|
5471
5479
|
post_consumer_payment_token(body: PostConsumerPaymentTokenBody$0, options?: RequestOptions): ResponsePromise<PostConsumerPaymentTokenResponse$0>;
|
|
5480
|
+
/**
|
|
5481
|
+
* DELETE /consumer/payment/token - Delete a saved payment token from the user profile
|
|
5482
|
+
*
|
|
5483
|
+
* @param body
|
|
5484
|
+
* @param options - additional request options
|
|
5485
|
+
*/
|
|
5486
|
+
delete_consumer_payment_token(body: DeleteConsumerPaymentTokenBody$0, options?: RequestOptions): ResponsePromise<DeleteConsumerPaymentTokenResponse$0>;
|
|
5472
5487
|
/**
|
|
5473
5488
|
* GET /consumer/shoppingcart/{id} - Get a shopping cart by ID
|
|
5474
5489
|
*
|