@compassdigital/sdk.typescript 4.731.0 → 4.732.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 +10 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +9 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/consumer.d.ts +21 -0
- package/lib/interface/consumer.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +24 -0
- package/src/interface/consumer.ts +41 -0
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, PostReviewOrderItemsBody, PostReviewOrderItemsResponse, GetConsumerHomePageQuery, GetConsumerHomePageResponse, GetConsumerHomePageV2Query, GetConsumerHomePageV2Response, GetConsumerFrictionlessCheckinResponse, PostFrictionlessQrcodeBody, PostFrictionlessQrcodeResponse, PostConsumerV2FrictionlessQrcodeBody, PostConsumerV2FrictionlessQrcodeResponse, PostConsumerForgotPasswordBody, PostConsumerForgotPasswordResponse, PostConsumerV2ForgotPasswordQuery, PostConsumerV2ForgotPasswordBody, PostConsumerV2ForgotPasswordResponse, PostConsumerAddSecretBody, PostConsumerAddSecretResponse, GetConsumerLocationGroupQuery, GetConsumerLocationGroupResponse$0, GetConsumerLocationMultigroupQuery, GetConsumerLocationMultigroupResponse, GetConsumerActiveMenusQuery, GetConsumerActiveMenusResponse, GetConsumerMenuRecommendedItemsQuery, GetConsumerMenuRecommendedItemsResponse$0, GetConsumerAllergensListResponse, GetConsumerMenuResponse, GetConsumerMenuV2Response, GetConsumerMenuItemsQuery, GetConsumerMenuItemsResponse$0, PostConsumerLocationsMarketplaceTimeslotsQuery, PostConsumerLocationsMarketplaceTimeslotsResponse, PostConsumerLocationsMarketplaceTimeslotsDeliveryQuery, PostConsumerLocationsMarketplaceTimeslotsDeliveryResponse, 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, GetConsumerBrandMenuTimeslotsQuery, GetConsumerBrandMenuTimeslotsResponse, GetConsumerBrandMenuDeliveryTimeslotsQuery, GetConsumerBrandMenuDeliveryTimeslotsResponse, 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, PostConsumerDeliveryOrderOpenLidResponse, PostConsumerDeliveryOrderCloseLidResponse } from './interface/consumer';
|
|
24
|
+
import { HealthCheckControllerExecuteResponse, GetPaymentListByBrandQuery, GetPaymentListByBrandResponse, GetCustomerOrdersQuery, GetCustomerOrdersResponse, GetCustomerOrdersV2Query, GetCustomerOrdersV2Response, PostConsumerOrderBody, PostConsumerOrderResponse, PatchConsumerOrderCancelBody, PatchConsumerOrderCancelResponse, PostReviewOrderItemsBody, PostReviewOrderItemsResponse, GetConsumerHomePageQuery, GetConsumerHomePageResponse, GetConsumerHomePageV2Query, GetConsumerHomePageV2Response, 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, GetConsumerMenuItemsQuery, GetConsumerMenuItemsResponse$0, PostConsumerLocationsMarketplaceTimeslotsQuery, PostConsumerLocationsMarketplaceTimeslotsResponse, PostConsumerLocationsMarketplaceTimeslotsDeliveryQuery, PostConsumerLocationsMarketplaceTimeslotsDeliveryResponse, 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, GetConsumerBrandMenuTimeslotsQuery, GetConsumerBrandMenuTimeslotsResponse, GetConsumerBrandMenuDeliveryTimeslotsQuery, GetConsumerBrandMenuDeliveryTimeslotsResponse, 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, 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, PutCentricosStationIntegrationResponse, DeleteCentricosStationIntegrationResponse, PutCentricosDiscountVoucherifyBody, PutCentricosDiscountVoucherifyResponse, PutCentricosDiscountVoucherifyPublishResponse, DeleteCentricosDiscountsVoucherifyResponse, GetCentricosDiscountResponse, GetCentricosDiscountsQuery, GetCentricosDiscountsResponse, GetCentricosDiscountsSitesQuery, GetCentricosDiscountsSitesResponse, GetRecommendationsBySiteResponse, GetDescriptionRecommendationsQuery, GetDescriptionRecommendationsResponse, UpsertDescriptionRecommendationBody, UpsertDescriptionRecommendationResponse, PostCentricosBusinessUnitValidateVertexResponse, DeleteCentricosBusinessUnitResponse, GetCentricosMenuGlobalMenuGroupsQuery, GetCentricosMenuGlobalMenuGroupsResponse, PostCentricosMenuBrandItemsSearchBody, PostCentricosMenuBrandItemsSearchResponse, PostCentricosMenuStationItemsSearchBody, PostCentricosMenuStationItemsSearchResponse, PostCentricosMenuBrandsFetchBody, PostCentricosMenuBrandsFetchResponse, PostCentricosStationsMenusFetchBody, PostCentricosStationsMenusFetchResponse, ListSwapsBody, ListSwapsResponse, GetSwapDetailsResponse, GetCentricosGooglePlacesQuery, GetCentricosGooglePlacesResponse, GetCentricosRystEmbedConfigQuery, GetCentricosRystEmbedConfigResponse, GetCentricosTrendingCpgProductsResponse, GetCentricosUserLogsCsvResponse } from './interface/centricos';
|
|
27
27
|
import { TaxHealthCheckResponse, PostQuoteTaxBody, PostQuoteTaxResponse } from './interface/tax';
|
|
@@ -5117,6 +5117,15 @@ export declare class ServiceClient extends BaseServiceClient {
|
|
|
5117
5117
|
get_consumer_location_multigroup(id: string, options?: {
|
|
5118
5118
|
query?: GetConsumerLocationMultigroupQuery;
|
|
5119
5119
|
} & RequestOptions): ResponsePromise<GetConsumerLocationMultigroupResponse>;
|
|
5120
|
+
/**
|
|
5121
|
+
* GET /consumer/client-groups/{client} - Get a client's nearest sites with their business units and stations
|
|
5122
|
+
*
|
|
5123
|
+
* @param client - Client slug whose sites are returned
|
|
5124
|
+
* @param options - additional request options
|
|
5125
|
+
*/
|
|
5126
|
+
get_consumer_client_groups(client: string, options: {
|
|
5127
|
+
query: GetConsumerClientGroupsQuery;
|
|
5128
|
+
} & RequestOptions): ResponsePromise<GetConsumerClientGroupsResponse$0>;
|
|
5120
5129
|
/**
|
|
5121
5130
|
* GET /consumer/active-menus/{stationId} - Get current menu
|
|
5122
5131
|
*
|