@compassdigital/sdk.typescript 4.795.0 → 4.797.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 +3 -32
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +3 -40
- package/lib/index.js.map +1 -1
- package/lib/interface/centricos.d.ts +8 -80
- package/lib/interface/centricos.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +6 -94
- package/src/interface/centricos.ts +13 -145
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,
|
|
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, 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';
|
|
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,20 +5930,6 @@ 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>;
|
|
5947
5933
|
/**
|
|
5948
5934
|
* PUT /centricos/discount/voucherify - Add or Update a voucherify discount and assign it to multiple sites
|
|
5949
5935
|
*
|
|
@@ -5959,12 +5945,12 @@ export declare class ServiceClient extends BaseServiceClient {
|
|
|
5959
5945
|
*/
|
|
5960
5946
|
put_centricos_discount_voucherify_publish(id: string, options?: RequestOptions): ResponsePromise<PutCentricosDiscountVoucherifyPublishResponse>;
|
|
5961
5947
|
/**
|
|
5962
|
-
* DELETE /centricos/discount/{id} - Delete a discount and all of its entity associations
|
|
5948
|
+
* DELETE /centricos/discount/{id}/voucherify - Delete a discount from voucherify and all of its entity associations
|
|
5963
5949
|
*
|
|
5964
5950
|
* @param id - Discount ID
|
|
5965
5951
|
* @param options - additional request options
|
|
5966
5952
|
*/
|
|
5967
|
-
|
|
5953
|
+
delete_centricos_discounts_voucherify(id: string, options?: RequestOptions): ResponsePromise<DeleteCentricosDiscountsVoucherifyResponse>;
|
|
5968
5954
|
/**
|
|
5969
5955
|
* GET /centricos/discount/{id} - Get discount information by ID
|
|
5970
5956
|
*
|
|
@@ -5972,13 +5958,6 @@ export declare class ServiceClient extends BaseServiceClient {
|
|
|
5972
5958
|
* @param options - additional request options
|
|
5973
5959
|
*/
|
|
5974
5960
|
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>;
|
|
5982
5961
|
/**
|
|
5983
5962
|
* GET /centricos/discounts - Get discounts with pagination and filtering
|
|
5984
5963
|
*
|
|
@@ -6032,14 +6011,6 @@ export declare class ServiceClient extends BaseServiceClient {
|
|
|
6032
6011
|
* @param options - additional request options
|
|
6033
6012
|
*/
|
|
6034
6013
|
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>;
|
|
6043
6014
|
/**
|
|
6044
6015
|
* GET /centricos/menu/global-menu-groups - Get a paginated list of global menu groups with filtering, sorting, and relationships
|
|
6045
6016
|
*
|