@compassdigital/sdk.typescript 4.797.0 → 4.799.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 +32 -3
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +40 -3
- package/lib/index.js.map +1 -1
- package/lib/interface/centricos.d.ts +80 -6
- package/lib/interface/centricos.d.ts.map +1 -1
- package/lib/interface/consumer.d.ts +8 -2
- package/lib/interface/consumer.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +94 -6
- package/src/interface/centricos.ts +145 -9
- package/src/interface/consumer.ts +13 -2
package/lib/index.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ import { PostVendorApplicationBody, PostVendorApplicationResponse, GetVendorAppl
|
|
|
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, 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, 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, GetConsumerDeliveryResponse, PostConsumerDeliveryOrderOpenLidResponse, PostConsumerDeliveryOrderCloseLidResponse } from './interface/consumer';
|
|
25
25
|
import { PostAiLanguageGenerateBody, PostAiLanguageGenerateResponse, PostAiImageGenerateBody, PostAiImageGenerateResponse, PostAiTranslateBody, PostAiTranslateResponse } from './interface/ai';
|
|
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, PutCentricosDiscountVoucherifyBody, PutCentricosDiscountVoucherifyResponse, PutCentricosDiscountVoucherifyPublishResponse,
|
|
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, ListSwapsBody, ListSwapsResponse, GetSwapDetailsResponse, GetCentricosGooglePlacesQuery, GetCentricosGooglePlacesResponse, GetCentricosRystEmbedConfigQuery, GetCentricosRystEmbedConfigResponse, GetCentricosTrendingCpgProductsResponse, GetCentricosUserLogsCsvResponse } from './interface/centricos';
|
|
27
27
|
import { TaxHealthCheckResponse, PostQuoteTaxBody, PostQuoteTaxResponse } from './interface/tax';
|
|
28
28
|
import { GetSearchOrderQuery, GetSearchOrderResponse, GetSearchLocationQuery, GetSearchLocationResponse, GetSearchUserQuery, GetSearchUserResponse, GetSearchDiscountsQuery, GetSearchDiscountsResponse } from './interface/search';
|
|
29
29
|
import { PostAuthFlowBody, PostAuthFlowResponse, GetAuthSsoConfigQuery, GetAuthSsoConfigResponse, GetAuthSsoConfigsResponse, PostAuthSsoConfigBody, PostAuthSsoConfigResponse, PutAuthSsoConfigBody, PutAuthSsoConfigResponse, DeleteAuthSsoConfigResponse, PostAuthSsoBody, PostAuthSsoResponse, PostAuthSsoExchangeBody, PostAuthSsoExchangeResponse, GetAuthSsoExchangeQuery, GetAuthSsoExchangeResponse, PostAuthJwtAssertionBody, PostAuthJwtAssertionResponse, GetAuthJwtAssertionJwkResponse, GetAuthConnectProviderAuthorizeQuery, GetAuthConnectProviderAuthorizeResponse, PostAuthConnectProviderConfigBody, PostAuthConnectProviderConfigResponse, PutAuthConnectProviderConfigBody, PutAuthConnectProviderConfigResponse, GetAuthConnectProviderConfigQuery, GetAuthConnectProviderConfigResponse, DeleteAuthConnectProviderConfigQuery, DeleteAuthConnectProviderConfigResponse, GetAuthConnectProvidersResponse, PostAuthTokenBody, PostAuthTokenResponse, PostAuthOauthClientsBody, PostAuthOauthClientsResponse, GetAuthOauthClientsResponse, PutAuthOauthClientBody, PutAuthOauthClientResponse, GetAuthOauthClientResponse, DeleteAuthOauthClientResponse, GetAuthOpenidConfigurationResponse, PostAuthOidcRegisterBody, PostAuthOidcRegisterResponse, GetAuthAuthorizeQuery, GetAuthAuthorizeResponse, GetAuthAuthorizeRequestResponse, PostAuthAuthorizeLoginBody, PostAuthAuthorizeLoginResponse, PostAuthAuthorizeSsoBody, PostAuthAuthorizeSsoResponse } from './interface/auth';
|
|
@@ -5930,6 +5930,20 @@ export declare class ServiceClient extends BaseServiceClient {
|
|
|
5930
5930
|
* @param options - additional request options
|
|
5931
5931
|
*/
|
|
5932
5932
|
delete_centricos_station_integration(station_id: string, integration_type: string, options?: RequestOptions): ResponsePromise<DeleteCentricosStationIntegrationResponse>;
|
|
5933
|
+
/**
|
|
5934
|
+
* PUT /centricos/discount - Add or Update a discount and assign it to multiple sites
|
|
5935
|
+
*
|
|
5936
|
+
* @param body
|
|
5937
|
+
* @param options - additional request options
|
|
5938
|
+
*/
|
|
5939
|
+
put_centricos_discount(body: PutCentricosDiscountBody, options?: RequestOptions): ResponsePromise<PutCentricosDiscountResponse>;
|
|
5940
|
+
/**
|
|
5941
|
+
* PUT /centricos/discount/{id}/publish - Update and publish a discount and assign it to multiple sites
|
|
5942
|
+
*
|
|
5943
|
+
* @param id - Discount ID
|
|
5944
|
+
* @param options - additional request options
|
|
5945
|
+
*/
|
|
5946
|
+
put_centricos_discount_publish(id: string, options?: RequestOptions): ResponsePromise<PutCentricosDiscountPublishResponse>;
|
|
5933
5947
|
/**
|
|
5934
5948
|
* PUT /centricos/discount/voucherify - Add or Update a voucherify discount and assign it to multiple sites
|
|
5935
5949
|
*
|
|
@@ -5945,12 +5959,12 @@ export declare class ServiceClient extends BaseServiceClient {
|
|
|
5945
5959
|
*/
|
|
5946
5960
|
put_centricos_discount_voucherify_publish(id: string, options?: RequestOptions): ResponsePromise<PutCentricosDiscountVoucherifyPublishResponse>;
|
|
5947
5961
|
/**
|
|
5948
|
-
* DELETE /centricos/discount/{id}
|
|
5962
|
+
* DELETE /centricos/discount/{id} - Delete a discount and all of its entity associations
|
|
5949
5963
|
*
|
|
5950
5964
|
* @param id - Discount ID
|
|
5951
5965
|
* @param options - additional request options
|
|
5952
5966
|
*/
|
|
5953
|
-
|
|
5967
|
+
delete_centricos_discount(id: string, options?: RequestOptions): ResponsePromise<DeleteCentricosDiscountResponse>;
|
|
5954
5968
|
/**
|
|
5955
5969
|
* GET /centricos/discount/{id} - Get discount information by ID
|
|
5956
5970
|
*
|
|
@@ -5958,6 +5972,13 @@ export declare class ServiceClient extends BaseServiceClient {
|
|
|
5958
5972
|
* @param options - additional request options
|
|
5959
5973
|
*/
|
|
5960
5974
|
get_centricos_discount(id: string, options?: RequestOptions): ResponsePromise<GetCentricosDiscountResponse>;
|
|
5975
|
+
/**
|
|
5976
|
+
* DELETE /centricos/discount/{id}/voucherify - Delete a discount from voucherify and all of its entity associations
|
|
5977
|
+
*
|
|
5978
|
+
* @param id - Discount ID
|
|
5979
|
+
* @param options - additional request options
|
|
5980
|
+
*/
|
|
5981
|
+
delete_centricos_discounts_voucherify(id: string, options?: RequestOptions): ResponsePromise<DeleteCentricosDiscountsVoucherifyResponse>;
|
|
5961
5982
|
/**
|
|
5962
5983
|
* GET /centricos/discounts - Get discounts with pagination and filtering
|
|
5963
5984
|
*
|
|
@@ -6011,6 +6032,14 @@ export declare class ServiceClient extends BaseServiceClient {
|
|
|
6011
6032
|
* @param options - additional request options
|
|
6012
6033
|
*/
|
|
6013
6034
|
delete_centricos_business_unit(bu_id: string, options?: RequestOptions): ResponsePromise<DeleteCentricosBusinessUnitResponse>;
|
|
6035
|
+
/**
|
|
6036
|
+
* PUT /centricos/business-unit/{bu_id}/drop-off - Update shared drop-off settings for a business unit
|
|
6037
|
+
*
|
|
6038
|
+
* @param bu_id - TODO: cannot use CompassLongID as path parameter
|
|
6039
|
+
* @param body
|
|
6040
|
+
* @param options - additional request options
|
|
6041
|
+
*/
|
|
6042
|
+
put_centricos_business_unit_drop_off(bu_id: string, body: PutCentricosBusinessUnitDropOffBody, options?: RequestOptions): ResponsePromise<PutCentricosBusinessUnitDropOffResponse>;
|
|
6014
6043
|
/**
|
|
6015
6044
|
* GET /centricos/menu/global-menu-groups - Get a paginated list of global menu groups with filtering, sorting, and relationships
|
|
6016
6045
|
*
|