@compassdigital/sdk.typescript 4.608.0 → 4.609.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 +18 -9
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +19 -10
- package/lib/index.js.map +1 -1
- package/lib/interface/consumer.d.ts +128 -95
- package/lib/interface/consumer.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +48 -24
- package/src/interface/consumer.ts +192 -142
- package/src/interface/discount.ts +2 -2
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, PostConsumerOrderBody, PostConsumerOrderResponse, PatchConsumerOrderCancelBody, PatchConsumerOrderCancelResponse, PostReviewOrderItemsBody, PostReviewOrderItemsResponse, GetConsumerHomePageQuery, GetConsumerHomePageResponse, GetConsumerFrictionlessCheckinResponse, PostFrictionlessQrcodeBody, PostFrictionlessQrcodeResponse, PostConsumerForgotPasswordBody, PostConsumerForgotPasswordResponse, PostConsumerAddSecretBody, PostConsumerAddSecretResponse, GetConsumerLocationGroupQuery, GetConsumerLocationGroupResponse$0, GetConsumerLocationMultigroupQuery, GetConsumerLocationMultigroupResponse, GetConsumerActiveMenusQuery, GetConsumerActiveMenusResponse, GetConsumerMenuRecommendedItemsQuery, GetConsumerMenuRecommendedItemsResponse$0, GetConsumerMenuResponse, 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, 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,
|
|
24
|
+
import { HealthCheckControllerExecuteResponse, GetPaymentListByBrandQuery, GetPaymentListByBrandResponse, GetCustomerOrdersQuery, GetCustomerOrdersResponse, PostConsumerOrderBody, PostConsumerOrderResponse, PatchConsumerOrderCancelBody, PatchConsumerOrderCancelResponse, PostReviewOrderItemsBody, PostReviewOrderItemsResponse, GetConsumerHomePageQuery, GetConsumerHomePageResponse, GetConsumerFrictionlessCheckinResponse, PostFrictionlessQrcodeBody, PostFrictionlessQrcodeResponse, PostConsumerForgotPasswordBody, PostConsumerForgotPasswordResponse, PostConsumerAddSecretBody, PostConsumerAddSecretResponse, GetConsumerLocationGroupQuery, GetConsumerLocationGroupResponse$0, GetConsumerLocationMultigroupQuery, GetConsumerLocationMultigroupResponse, GetConsumerActiveMenusQuery, GetConsumerActiveMenusResponse, GetConsumerMenuRecommendedItemsQuery, GetConsumerMenuRecommendedItemsResponse$0, GetConsumerMenuResponse, 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 } 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, GetReviewOrderItemsResponse, GetYesterdaysSnapshotResponse, GetCentricosStationResponse, DeleteCentricosStationResponse, PutCentricosStationIntegrationResponse, DeleteCentricosStationIntegrationResponse, PutCentricosDiscountVoucherifyBody, PutCentricosDiscountVoucherifyResponse, PutCentricosDiscountVoucherifyPublishResponse, DeleteCentricosDiscountsVoucherifyResponse, GetCentricosDiscountResponse, GetCentricosDiscountsQuery, GetCentricosDiscountsResponse, GetRecommendationsBySiteResponse, PostCentricosBusinessUnitValidateVertexResponse, DeleteCentricosBusinessUnitResponse, GetCentricosMenuGlobalMenuGroupsQuery, GetCentricosMenuGlobalMenuGroupsResponse, PostCentricosMenuBrandItemsSearchBody, PostCentricosMenuBrandItemsSearchResponse, PostCentricosMenuStationItemsSearchBody, PostCentricosMenuStationItemsSearchResponse, PostCentricosMenuBrandsFetchBody, PostCentricosMenuBrandsFetchResponse, PostCentricosStationsMenusFetchBody, PostCentricosStationsMenusFetchResponse, ListSwapsBody, ListSwapsResponse, GetSwapDetailsResponse, GetCentricosGooglePlacesQuery, GetCentricosGooglePlacesResponse, GetCentricosRystEmbedConfigQuery, GetCentricosRystEmbedConfigResponse, GetCentricosTrendingCpgProductsResponse } from './interface/centricos';
|
|
27
27
|
import { TaxHealthCheckResponse, PostQuoteTaxBody, PostQuoteTaxResponse } from './interface/tax';
|
|
@@ -5120,6 +5120,14 @@ export declare class ServiceClient extends BaseServiceClient {
|
|
|
5120
5120
|
* @param options - additional request options
|
|
5121
5121
|
*/
|
|
5122
5122
|
patch_consumer_shoppingcart(id: string, body: PatchConsumerShoppingcartBody, options?: RequestOptions): ResponsePromise<PatchConsumerShoppingcartResponse>;
|
|
5123
|
+
/**
|
|
5124
|
+
* PUT /consumer/shoppingcart/{id}/paymentmethod - Update a shopping cart by ID
|
|
5125
|
+
*
|
|
5126
|
+
* @param id - Shopping Cart ID as Encaded CDL ID; TODO: mark parameter as required in swagger
|
|
5127
|
+
* @param body - Put Shopping Cart Payment Request Body
|
|
5128
|
+
* @param options - additional request options
|
|
5129
|
+
*/
|
|
5130
|
+
put_consumer_shoppingcart_payment(id: string, body: PutConsumerShoppingcartPaymentBody, options?: RequestOptions): ResponsePromise<PutConsumerShoppingcartPaymentResponse>;
|
|
5123
5131
|
/**
|
|
5124
5132
|
* POST /consumer/shoppingcart/{id}/recommended - Get recommended items for a station or marketplace cart
|
|
5125
5133
|
*
|
|
@@ -5251,14 +5259,6 @@ export declare class ServiceClient extends BaseServiceClient {
|
|
|
5251
5259
|
* @param options - additional request options
|
|
5252
5260
|
*/
|
|
5253
5261
|
get_consumer_config_public(id: string, options?: RequestOptions): ResponsePromise<GetConsumerConfigPublicResponse$0>;
|
|
5254
|
-
/**
|
|
5255
|
-
* PUT /consumer/shoppingcart/{id}/paymentmethod - Update a shopping cart by ID
|
|
5256
|
-
*
|
|
5257
|
-
* @param id - Shopping Cart ID as Encaded CDL ID; TODO: mark parameter as required in swagger
|
|
5258
|
-
* @param body - Put Shopping Cart Payment Request Body
|
|
5259
|
-
* @param options - additional request options
|
|
5260
|
-
*/
|
|
5261
|
-
put_consumer_shoppingcart_payment(id: string, body: PutConsumerShoppingcartPaymentBody, options?: RequestOptions): ResponsePromise<PutConsumerShoppingcartPaymentResponse>;
|
|
5262
5262
|
/**
|
|
5263
5263
|
* PUT /consumer/shoppingcart/{id}/promo - Add a promo code to a shopping cart
|
|
5264
5264
|
*
|
|
@@ -5390,6 +5390,15 @@ export declare class ServiceClient extends BaseServiceClient {
|
|
|
5390
5390
|
* @param options - additional request options
|
|
5391
5391
|
*/
|
|
5392
5392
|
get_consumer_user_mealplan_barcode(locationId: string, options?: RequestOptions): ResponsePromise<GetConsumerUserMealplanBarcodeResponse>;
|
|
5393
|
+
/**
|
|
5394
|
+
* GET /consumer/location/{id} - Get location
|
|
5395
|
+
*
|
|
5396
|
+
* @param id - Location ID as Encoded CDL ID; TODO: mark parameter as required in swagger
|
|
5397
|
+
* @param options - additional request options
|
|
5398
|
+
*/
|
|
5399
|
+
get_consumer_location(id: string, options?: {
|
|
5400
|
+
query?: GetConsumerLocationQuery;
|
|
5401
|
+
} & RequestOptions): ResponsePromise<GetConsumerLocationResponse$0>;
|
|
5393
5402
|
/**
|
|
5394
5403
|
* POST /ai/language/generate - Generate text from a given prompt
|
|
5395
5404
|
*
|