@compassdigital/sdk.typescript 4.838.0 → 4.839.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 +4 -35
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +4 -33
- package/lib/index.js.map +1 -1
- package/lib/interface/consumer.d.ts +13 -28
- package/lib/interface/consumer.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +12 -92
- package/src/interface/consumer.ts +30 -60
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 { 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';
|
|
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,
|
|
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 } from './interface/consumer';
|
|
25
25
|
import { PostAiLanguageGenerateBody, PostAiLanguageGenerateResponse, PostAiImageGenerateBody, PostAiImageGenerateResponse, PostAiTranslateBody, PostAiTranslateResponse } from './interface/ai';
|
|
26
26
|
import { PostCentricosAiItemDescriptionBody, PostCentricosAiItemDescriptionResponse, PostCentricosAiItemImageBody, PostCentricosAiItemImageResponse, PostCentricosAiLanguageGenerateOrderSearchParamsBody, PostCentricosAiLanguageGenerateOrderSearchParamsResponse, PostCentricosOrdersExportQuery, PostCentricosOrdersExportResponse, GetCentricosReportGroupConfigResponse, PutCentricosReportGroupConfigBody, PutCentricosReportGroupConfigResponse, DeleteCentricosReportGroupConfigResponse, GetCentricosReportConfigDefaultResponse, GetCentricosLookerEmbedurlQuery, GetCentricosLookerEmbedurlResponse, GetSiteDevicesResponse, GetCentricosSitesQuery, GetCentricosSitesResponse, GetSitesFromPriceLevelQuery, GetSitesFromPriceLevelResponse, PostCentricosSiteBody, PostCentricosSiteResponse, PostCentricosSitesBatchBody, PostCentricosSitesBatchResponse, GetCentricosSiteResponse, GetCentricosSiteMenuHoursDetailsResponse, GetReviewOrderItemsResponse, GetYesterdaysSnapshotResponse, GetCentricosStationResponse, DeleteCentricosStationResponse, PutCentricosStationIntegrationBody, PutCentricosStationIntegrationResponse, DeleteCentricosStationIntegrationResponse, PutCentricosDiscountBody, PutCentricosDiscountResponse, PutCentricosDiscountPublishResponse, PutCentricosDiscountVoucherifyBody, PutCentricosDiscountVoucherifyResponse, PutCentricosDiscountVoucherifyPublishResponse, DeleteCentricosDiscountResponse, GetCentricosDiscountResponse, DeleteCentricosDiscountsVoucherifyResponse, GetCentricosDiscountsQuery, GetCentricosDiscountsResponse, GetCentricosDiscountsSitesQuery, GetCentricosDiscountsSitesResponse, GetRecommendationsBySiteResponse, GetDescriptionRecommendationsQuery, GetDescriptionRecommendationsResponse, UpsertDescriptionRecommendationBody, UpsertDescriptionRecommendationResponse, PostCentricosBusinessUnitValidateVertexResponse, DeleteCentricosBusinessUnitResponse, PutCentricosBusinessUnitDropOffBody, PutCentricosBusinessUnitDropOffResponse, GetCentricosMenuGlobalMenuGroupsQuery, GetCentricosMenuGlobalMenuGroupsResponse, PostCentricosMenuBrandItemsSearchBody, PostCentricosMenuBrandItemsSearchResponse, PostCentricosMenuStationItemsSearchBody, PostCentricosMenuStationItemsSearchResponse, PostCentricosMenuBrandsFetchBody, PostCentricosMenuBrandsFetchResponse, PostCentricosStationsMenusFetchBody, PostCentricosStationsMenusFetchResponse, GetCentricosMenuOptimizerBrandRecommendationsResponse, GetCentricosGooglePlacesQuery, GetCentricosGooglePlacesResponse, GetCentricosRystEmbedConfigQuery, GetCentricosRystEmbedConfigResponse, GetCentricosTrendingCpgProductsResponse, GetCentricosUserLogsCsvResponse } from './interface/centricos';
|
|
27
27
|
import { TaxHealthCheckResponse, PostQuoteTaxBody, PostQuoteTaxResponse } from './interface/tax';
|
|
@@ -5385,24 +5385,6 @@ export declare class ServiceClient extends BaseServiceClient {
|
|
|
5385
5385
|
get_consumer_menu_items(id: string, options: {
|
|
5386
5386
|
query: GetConsumerMenuItemsQuery;
|
|
5387
5387
|
} & RequestOptions): ResponsePromise<GetConsumerMenuItemsResponse$0>;
|
|
5388
|
-
/**
|
|
5389
|
-
* POST /consumer/location/marketplace/timeslots - Get Marketplace timeslots
|
|
5390
|
-
*
|
|
5391
|
-
* @param body - Request body for marketplace timeslots
|
|
5392
|
-
* @param options - additional request options
|
|
5393
|
-
*/
|
|
5394
|
-
post_consumer_locations_marketplace_timeslots(body: PostConsumerLocationsMarketplaceTimeslotsBody, options?: {
|
|
5395
|
-
query?: PostConsumerLocationsMarketplaceTimeslotsQuery;
|
|
5396
|
-
} & RequestOptions): ResponsePromise<PostConsumerLocationsMarketplaceTimeslotsResponse>;
|
|
5397
|
-
/**
|
|
5398
|
-
* POST /consumer/location/marketplace/timeslots/delivery - Get Marketplace timeslots
|
|
5399
|
-
*
|
|
5400
|
-
* @param body - Request body for marketplace timeslots delivery
|
|
5401
|
-
* @param options - additional request options
|
|
5402
|
-
*/
|
|
5403
|
-
post_consumer_locations_marketplace_timeslots_delivery(body: PostConsumerLocationsMarketplaceTimeslotsDeliveryBody, options?: {
|
|
5404
|
-
query?: PostConsumerLocationsMarketplaceTimeslotsDeliveryQuery;
|
|
5405
|
-
} & RequestOptions): ResponsePromise<PostConsumerLocationsMarketplaceTimeslotsDeliveryResponse>;
|
|
5406
5388
|
/**
|
|
5407
5389
|
* DELETE /consumer/user/{id} - Delete user
|
|
5408
5390
|
*
|
|
@@ -5640,25 +5622,12 @@ export declare class ServiceClient extends BaseServiceClient {
|
|
|
5640
5622
|
*/
|
|
5641
5623
|
get_consumer_app_theme(siteId: string, options?: RequestOptions): ResponsePromise<GetConsumerAppThemeResponse>;
|
|
5642
5624
|
/**
|
|
5643
|
-
*
|
|
5644
|
-
*
|
|
5645
|
-
* @param brandId - Brand ID as Encoded CDL ID
|
|
5646
|
-
* @param menuId - Menu ID as Encoded CDL ID
|
|
5647
|
-
* @param options - additional request options
|
|
5648
|
-
*/
|
|
5649
|
-
get_consumer_brand_menu_timeslots(brandId: string, menuId: string, options: {
|
|
5650
|
-
query: GetConsumerBrandMenuTimeslotsQuery;
|
|
5651
|
-
} & RequestOptions): ResponsePromise<GetConsumerBrandMenuTimeslotsResponse>;
|
|
5652
|
-
/**
|
|
5653
|
-
* GET /consumer/location/brand/{brandId}/timeslots/delivery/menu/{menuId} - Get location brand menu delivery timeslots
|
|
5625
|
+
* POST /consumer/location/timeslots - Get timeslots
|
|
5654
5626
|
*
|
|
5655
|
-
* @param
|
|
5656
|
-
* @param menuId - Menu ID as Encoded CDL ID
|
|
5627
|
+
* @param body - Which timeslots to fetch
|
|
5657
5628
|
* @param options - additional request options
|
|
5658
5629
|
*/
|
|
5659
|
-
|
|
5660
|
-
query: GetConsumerBrandMenuDeliveryTimeslotsQuery;
|
|
5661
|
-
} & RequestOptions): ResponsePromise<GetConsumerBrandMenuDeliveryTimeslotsResponse>;
|
|
5630
|
+
post_consumer_timeslots(body: PostConsumerTimeslotsBody$0, options?: RequestOptions): ResponsePromise<PostConsumerTimeslotsResponse$0>;
|
|
5662
5631
|
/**
|
|
5663
5632
|
* GET /consumer/config/public/{id} - Get consumer public config
|
|
5664
5633
|
*
|