@compassdigital/sdk.typescript 3.0.0-beta.13 → 3.0.0-beta.14
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/README.md +10 -5
- package/gen.ts +13 -5
- package/lib/announcement.d.ts.map +1 -1
- package/lib/announcement.js +1 -0
- package/lib/announcement.js.map +1 -1
- package/lib/base.d.ts.map +1 -1
- package/lib/base.js.map +1 -1
- package/lib/brand.d.ts.map +1 -1
- package/lib/brand.js +1 -0
- package/lib/brand.js.map +1 -1
- package/lib/calendar.d.ts.map +1 -1
- package/lib/calendar.js +1 -0
- package/lib/calendar.js.map +1 -1
- package/lib/client/base.d.ts +157 -0
- package/lib/client/base.d.ts.map +1 -0
- package/lib/client/base.js +392 -0
- package/lib/client/base.js.map +1 -0
- package/lib/client/index.d.ts +1877 -0
- package/lib/client/index.d.ts.map +1 -0
- package/lib/client/index.js +2208 -0
- package/lib/client/index.js.map +1 -0
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +1 -0
- package/lib/config.js.map +1 -1
- package/lib/datalake.d.ts.map +1 -1
- package/lib/datalake.js +1 -0
- package/lib/datalake.js.map +1 -1
- package/lib/delivery.d.ts.map +1 -1
- package/lib/delivery.js +1 -0
- package/lib/delivery.js.map +1 -1
- package/lib/dh.d.ts.map +1 -1
- package/lib/dh.js +1 -0
- package/lib/dh.js.map +1 -1
- package/lib/email.d.ts.map +1 -1
- package/lib/email.js +1 -0
- package/lib/email.js.map +1 -1
- package/lib/file.d.ts.map +1 -1
- package/lib/file.js +1 -0
- package/lib/file.js.map +1 -1
- package/lib/index.d.ts +8 -19
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +11 -2
- package/lib/index.js.map +1 -1
- package/lib/interface/announcement.d.ts +76 -0
- package/lib/interface/announcement.d.ts.map +1 -0
- package/lib/interface/announcement.js +4 -0
- package/lib/interface/announcement.js.map +1 -0
- package/lib/interface/brand.d.ts +16 -0
- package/lib/interface/brand.d.ts.map +1 -0
- package/lib/interface/brand.js +4 -0
- package/lib/interface/brand.js.map +1 -0
- package/lib/interface/calendar.d.ts +85 -0
- package/lib/interface/calendar.d.ts.map +1 -0
- package/lib/interface/calendar.js +4 -0
- package/lib/interface/calendar.js.map +1 -0
- package/lib/interface/config.d.ts +68 -0
- package/lib/interface/config.d.ts.map +1 -0
- package/lib/interface/config.js +4 -0
- package/lib/interface/config.js.map +1 -0
- package/lib/interface/datalake.d.ts +19 -0
- package/lib/interface/datalake.d.ts.map +1 -0
- package/lib/interface/datalake.js +4 -0
- package/lib/interface/datalake.js.map +1 -0
- package/lib/interface/delivery.d.ts +34 -0
- package/lib/interface/delivery.d.ts.map +1 -0
- package/lib/interface/delivery.js +4 -0
- package/lib/interface/delivery.js.map +1 -0
- package/lib/interface/dh.d.ts +9 -0
- package/lib/interface/dh.d.ts.map +1 -0
- package/lib/interface/dh.js +4 -0
- package/lib/interface/dh.js.map +1 -0
- package/lib/interface/email.d.ts +5 -0
- package/lib/interface/email.d.ts.map +1 -0
- package/lib/interface/email.js +4 -0
- package/lib/interface/email.js.map +1 -0
- package/lib/interface/file.d.ts +17 -0
- package/lib/interface/file.d.ts.map +1 -0
- package/lib/interface/file.js +4 -0
- package/lib/interface/file.js.map +1 -0
- package/lib/interface/kds.d.ts +58 -0
- package/lib/interface/kds.d.ts.map +1 -0
- package/lib/interface/kds.js +4 -0
- package/lib/interface/kds.js.map +1 -0
- package/lib/interface/location.d.ts +747 -0
- package/lib/interface/location.d.ts.map +1 -0
- package/lib/interface/location.js +4 -0
- package/lib/interface/location.js.map +1 -0
- package/lib/interface/logger.d.ts +29 -0
- package/lib/interface/logger.d.ts.map +1 -0
- package/lib/interface/logger.js +4 -0
- package/lib/interface/logger.js.map +1 -0
- package/lib/interface/loyalty.d.ts +350 -0
- package/lib/interface/loyalty.d.ts.map +1 -0
- package/lib/interface/loyalty.js +4 -0
- package/lib/interface/loyalty.js.map +1 -0
- package/lib/interface/mealplan.d.ts +177 -0
- package/lib/interface/mealplan.d.ts.map +1 -0
- package/lib/interface/mealplan.js +4 -0
- package/lib/interface/mealplan.js.map +1 -0
- package/lib/interface/message.d.ts +38 -0
- package/lib/interface/message.d.ts.map +1 -0
- package/lib/interface/message.js +4 -0
- package/lib/interface/message.js.map +1 -0
- package/lib/interface/order.d.ts +303 -0
- package/lib/interface/order.d.ts.map +1 -0
- package/lib/interface/order.js +4 -0
- package/lib/interface/order.js.map +1 -0
- package/lib/interface/partner.d.ts +402 -0
- package/lib/interface/partner.d.ts.map +1 -0
- package/lib/interface/partner.js +4 -0
- package/lib/interface/partner.js.map +1 -0
- package/lib/interface/payment.d.ts +250 -0
- package/lib/interface/payment.d.ts.map +1 -0
- package/lib/interface/payment.js +4 -0
- package/lib/interface/payment.js.map +1 -0
- package/lib/interface/promo.d.ts +312 -0
- package/lib/interface/promo.d.ts.map +1 -0
- package/lib/interface/promo.js +4 -0
- package/lib/interface/promo.js.map +1 -0
- package/lib/interface/report.d.ts +376 -0
- package/lib/interface/report.d.ts.map +1 -0
- package/lib/interface/report.js +4 -0
- package/lib/interface/report.js.map +1 -0
- package/lib/interface/schedule.d.ts +95 -0
- package/lib/interface/schedule.d.ts.map +1 -0
- package/lib/interface/schedule.js +4 -0
- package/lib/interface/schedule.js.map +1 -0
- package/lib/interface/shoppingcart.d.ts +279 -0
- package/lib/interface/shoppingcart.d.ts.map +1 -0
- package/lib/interface/shoppingcart.js +4 -0
- package/lib/interface/shoppingcart.js.map +1 -0
- package/lib/interface/task.d.ts +171 -0
- package/lib/interface/task.d.ts.map +1 -0
- package/lib/interface/task.js +4 -0
- package/lib/interface/task.js.map +1 -0
- package/lib/interface/user.d.ts +359 -0
- package/lib/interface/user.d.ts.map +1 -0
- package/lib/interface/user.js +4 -0
- package/lib/interface/user.js.map +1 -0
- package/lib/interface/vote.d.ts +52 -0
- package/lib/interface/vote.d.ts.map +1 -0
- package/lib/interface/vote.js +4 -0
- package/lib/interface/vote.js.map +1 -0
- package/lib/kds.d.ts.map +1 -1
- package/lib/kds.js +1 -0
- package/lib/kds.js.map +1 -1
- package/lib/location.d.ts +4 -4
- package/lib/location.d.ts.map +1 -1
- package/lib/location.js +1 -0
- package/lib/location.js.map +1 -1
- package/lib/logger.d.ts.map +1 -1
- package/lib/logger.js +1 -0
- package/lib/logger.js.map +1 -1
- package/lib/loyalty.d.ts.map +1 -1
- package/lib/loyalty.js +1 -0
- package/lib/loyalty.js.map +1 -1
- package/lib/mealplan.d.ts.map +1 -1
- package/lib/mealplan.js +1 -0
- package/lib/mealplan.js.map +1 -1
- package/lib/message.d.ts.map +1 -1
- package/lib/message.js +1 -0
- package/lib/message.js.map +1 -1
- package/lib/order.d.ts.map +1 -1
- package/lib/order.js +1 -0
- package/lib/order.js.map +1 -1
- package/lib/partner.d.ts +13 -0
- package/lib/partner.d.ts.map +1 -1
- package/lib/partner.js +1 -0
- package/lib/partner.js.map +1 -1
- package/lib/payment.d.ts.map +1 -1
- package/lib/payment.js +1 -0
- package/lib/payment.js.map +1 -1
- package/lib/promo.d.ts.map +1 -1
- package/lib/promo.js +1 -0
- package/lib/promo.js.map +1 -1
- package/lib/report.d.ts.map +1 -1
- package/lib/report.js +1 -0
- package/lib/report.js.map +1 -1
- package/lib/schedule.d.ts.map +1 -1
- package/lib/schedule.js +1 -0
- package/lib/schedule.js.map +1 -1
- package/lib/shoppingcart.d.ts.map +1 -1
- package/lib/shoppingcart.js +1 -0
- package/lib/shoppingcart.js.map +1 -1
- package/lib/task.d.ts.map +1 -1
- package/lib/task.js +1 -0
- package/lib/task.js.map +1 -1
- package/lib/user.d.ts.map +1 -1
- package/lib/user.js +1 -0
- package/lib/user.js.map +1 -1
- package/lib/vote.d.ts.map +1 -1
- package/lib/vote.js +1 -0
- package/lib/vote.js.map +1 -1
- package/package.json +1 -1
- package/src/{index.ts → client/index.ts} +54 -24
- package/src/{announcement.ts → interface/announcement.ts} +2 -0
- package/src/{brand.ts → interface/brand.ts} +2 -0
- package/src/{calendar.ts → interface/calendar.ts} +2 -0
- package/src/{config.ts → interface/config.ts} +2 -0
- package/src/{datalake.ts → interface/datalake.ts} +2 -0
- package/src/{delivery.ts → interface/delivery.ts} +2 -0
- package/src/{dh.ts → interface/dh.ts} +2 -0
- package/src/{email.ts → interface/email.ts} +2 -0
- package/src/{file.ts → interface/file.ts} +2 -0
- package/src/{kds.ts → interface/kds.ts} +2 -0
- package/src/{location.ts → interface/location.ts} +2 -0
- package/src/{logger.ts → interface/logger.ts} +2 -0
- package/src/{loyalty.ts → interface/loyalty.ts} +2 -0
- package/src/{mealplan.ts → interface/mealplan.ts} +2 -0
- package/src/{message.ts → interface/message.ts} +2 -0
- package/src/{order.ts → interface/order.ts} +2 -0
- package/src/{partner.ts → interface/partner.ts} +25 -0
- package/src/{payment.ts → interface/payment.ts} +2 -0
- package/src/{promo.ts → interface/promo.ts} +2 -0
- package/src/{report.ts → interface/report.ts} +2 -0
- package/src/{schedule.ts → interface/schedule.ts} +2 -0
- package/src/{shoppingcart.ts → interface/shoppingcart.ts} +2 -0
- package/src/{task.ts → interface/task.ts} +2 -0
- package/src/{user.ts → interface/user.ts} +2 -0
- package/src/{vote.ts → interface/vote.ts} +2 -0
- package/test/client.test.ts +57 -73
- /package/src/{base.ts → client/base.ts} +0 -0
|
@@ -0,0 +1,1877 @@
|
|
|
1
|
+
import { PostPaymentTransactionBody, PostPaymentTransactionResponse, PostPaymentTransactionRefundBody, PostPaymentTransactionRefundResponse, GetPaymentClienttokenResponse, PostPaymentPaymenttokenBody, PostPaymentPaymenttokenResponse, PostPaymentConsumerBody, PostPaymentConsumerResponse, PostPaymentMethodBody, PostPaymentMethodResponse, GetPaymentMethodQuery, GetPaymentMethodResponse, DeletePaymentMethodBody, DeletePaymentMethodResponse, GetPaymentTokenQuery, GetPaymentTokenResponse, PostPaymentTokenBody, PostPaymentTokenResponse, PutPaymentTokenBody, PutPaymentTokenResponse, DeletePaymentTokenBody, DeletePaymentTokenResponse, GetPaymentMethodsQuery, GetPaymentMethodsResponse, GetPaymentHpcQuery, GetPaymentHpcResponse } from "../interface/payment";
|
|
2
|
+
import { PostOrderQuery, PostOrderBody, PostOrderResponse, GetOrderResponse, PutOrderResponse, PatchOrderBody, PatchOrderResponse, PostOrderIssueBody, PostOrderIssueResponse, PatchOrderRefundBody, PatchOrderRefundResponse, GetOrderCustomerOrdersQuery, GetOrderCustomerOrdersResponse, GetOrderCustomerOrdersBrandResponse, GetOrderLocationBrandQuery, GetOrderLocationBrandResponse, GetOrderLocationOrdersQuery, GetOrderLocationOrdersResponse, GetOrderGroupOrdersQuery, GetOrderGroupOrdersResponse } from "../interface/order";
|
|
3
|
+
import { PostLocationBody, PostLocationResponse, GetLocationsResponse, GetLocationSearchQuery, GetLocationSearchResponse, GetLocationQuery, GetLocationResponse, PutLocationBody, PutLocationResponse, DeleteLocationBody, DeleteLocationResponse, PatchLocationBody, PatchLocationResponse, GetLocationPosResponse, PutLocationPosBody, PutLocationPosResponse, GetLocationMultigroupsResponse, PostLocationMultigroupBody, PostLocationMultigroupResponse, GetLocationMultigroupQuery, GetLocationMultigroupResponse, PutLocationMultigroupBody, PutLocationMultigroupResponse, DeleteLocationMultigroupBody, DeleteLocationMultigroupResponse, PatchLocationMultigroupBody, PatchLocationMultigroupResponse, GetLocationUserMultigroupQuery, GetLocationUserMultigroupResponse, PostLocationGroupBody, PostLocationGroupResponse, GetLocationGroupQuery, GetLocationGroupResponse, PutLocationGroupBody, PutLocationGroupResponse, DeleteLocationGroupBody, DeleteLocationGroupResponse, PatchLocationGroupBody, PatchLocationGroupResponse, GetLocationGroupDeliverydestinationsQuery, GetLocationGroupDeliverydestinationsResponse, PostLocationGroupDeliverydestinationBody, PostLocationGroupDeliverydestinationResponse, GetLocationGroupDeliverydestinationResponse, PatchLocationGroupDeliverydestinationBody, PatchLocationGroupDeliverydestinationResponse, DeleteLocationGroupDeliverydestinationResponse, GetLocationUserGroupQuery, GetLocationUserGroupResponse, GetLocationBrandsResponse, GetLocationBrandDestinationsResponse, PostLocationBrandDocumentBody, PostLocationBrandDocumentResponse, PatchLocationBrandDocumentResponse, DeleteLocationBrandDocumentResponse, GetLocationBrandDocumentsResponse, GetLocationBrandTimeslotsQuery, GetLocationBrandTimeslotsResponse, PostLocationMarketplaceTimeslotsQuery, PostLocationMarketplaceTimeslotsBody, PostLocationMarketplaceTimeslotsResponse, PostLocationMarketplaceTimeslotsDeliveryQuery, PostLocationMarketplaceTimeslotsDeliveryBody, PostLocationMarketplaceTimeslotsDeliveryResponse, GetLocationBrandMenuTimeslotsQuery, GetLocationBrandMenuTimeslotsResponse, GetLocationBrandDeliveryTimeslotsQuery, GetLocationBrandDeliveryTimeslotsResponse, GetLocationBrandMenuDeliveryTimeslostsQuery, GetLocationBrandMenuDeliveryTimeslostsResponse, PostLocationBrandBody, PostLocationBrandResponse, GetLocationBrandQuery, GetLocationBrandResponse, PatchLocationBrandBody, PatchLocationBrandResponse, DeleteLocationBrandBody, DeleteLocationBrandResponse, PutLocationBrandBody, PutLocationBrandResponse, GetLocationSectorsResponse, PostLocationSectorBody, PostLocationSectorResponse, GetLocationSectorQuery, GetLocationSectorResponse, PatchLocationSectorQuery, PatchLocationSectorBody, PatchLocationSectorResponse, PostLocationCompanyBody, PostLocationCompanyResponse, GetLocationCompanyQuery, GetLocationCompanyResponse, PatchLocationCompanyBody, PatchLocationCompanyResponse } from "../interface/location";
|
|
4
|
+
import { PostShoppingcartCartBody, PostShoppingcartCartResponse, PutShoppingcartCartItemsBody, PutShoppingcartCartItemsResponse, DeleteShoppingcartCartItemsBody, DeleteShoppingcartCartItemsResponse, GetShoppingcartCartResponse, PatchShoppingcartCartResponse, PutShoppingcartCartPromoBody, PutShoppingcartCartPromoResponse, DeleteShoppingcartCartPromoResponse, PutShoppingcartCartPaymentBody, PutShoppingcartCartPaymentResponse, PutShoppingcartCartOrderBody, PutShoppingcartCartOrderResponse, PutShoppingcartCartLoyaltyBody, PutShoppingcartCartLoyaltyResponse, DeleteShoppingcartCartLoyaltyResponse, PostShoppingcartCloneCartBody, PostShoppingcartCloneCartResponse, PostShoppingcartBulkBody, PostShoppingcartBulkResponse } from "../interface/shoppingcart";
|
|
5
|
+
import { PostPartnerStandardcognitionShoppingcartBody, PostPartnerStandardcognitionShoppingcartResponse, GetPartnerStandardcognitionLocationsResponse, GetPartnerStandardcognitionStoresResponse, GetPartnerCoolrLocationsResponse, GetPartnerCoolrImagesResponse, GetPartnerSwaggerResponse } from "../interface/partner";
|
|
6
|
+
import { PostTaskBody, PostTaskResponse, GetTaskResponse, PatchTaskBody, PatchTaskResponse, DeleteTaskResponse, GetTaskOrderResponse, GetTaskOrderKdsResponse, PatchTaskOrderKdsBody, PatchTaskOrderKdsResponse, GetTaskAssigneeQuery, GetTaskAssigneeResponse, GetTaskLocationBrandQuery, GetTaskLocationBrandResponse, GetTaskLocationGroupQuery, GetTaskLocationGroupResponse } from "../interface/task";
|
|
7
|
+
import { GetKdsDevicesQuery, GetKdsDevicesResponse, PostKdsDeviceAuthBody, PostKdsDeviceAuthResponse, DeleteKdsDeviceAuthResponse, GetKdsSwaggerResponse } from "../interface/kds";
|
|
8
|
+
import { PostMealplanBody, PostMealplanResponse, PutMealplanBody, PutMealplanResponse, GetMealplanResponse, DeleteMealplanBody, DeleteMealplanResponse, PostMealplanCallbackResponse, GetMealplanTenderResponse, DeleteMealplanTenderResponse, PatchMealplanTenderBody, PatchMealplanTenderResponse, PostMealplanVerifyQuery, PostMealplanVerifyBody, PostMealplanVerifyResponse, PutMealplanVerifyBody, PutMealplanVerifyResponse, PostMealplanAuthorizeBody, PostMealplanAuthorizeResponse } from "../interface/mealplan";
|
|
9
|
+
import { PostDatalakeSqlBody, PostDatalakeSqlResponse, GetSwaggerResponse } from "../interface/datalake";
|
|
10
|
+
import { PostPromoBody, PostPromoResponse, GetPromosQuery, GetPromosResponse, GetPromoQuery, GetPromoResponse, PutPromoBody, PutPromoResponse, DeletePromoResponse, GetPromoCompanyLocationGroupQuery, GetPromoCompanyLocationGroupResponse, PostPromoValidateVoucherBody, PostPromoValidateVoucherResponse, PostPromoRedeemVoucherBody, PostPromoRedeemVoucherResponse, PostPromoVoucherBody, PostPromoVoucherResponse, PutPromoVoucherBody, PutPromoVoucherResponse, DeletePromoVoucherQuery, DeletePromoVoucherResponse, PostPromoCustomerBody, PostPromoCustomerResponse, DeletePromoCustomerBody, DeletePromoCustomerResponse, PostPromoVoucherReverseBody, PostPromoVoucherReverseResponse, PostPromoVoucherifyActivityExecuteBody, PostPromoVoucherifyActivityExecuteResponse, GetPromoVoucherifyActivityConfigResponse } from "../interface/promo";
|
|
11
|
+
import { PostDhSqlResponse } from "../interface/dh";
|
|
12
|
+
import { GetConfigResponse, PostConfigBody, PostConfigResponse, PutConfigBody, PutConfigResponse, DeleteConfigResponse, GetConfigPublicResponse, PostConfigPublicBody, PostConfigPublicResponse, PutConfigPublicBody, PutConfigPublicResponse, DeleteConfigPublicResponse } from "../interface/config";
|
|
13
|
+
import { PostAnnouncementBody, PostAnnouncementResponse, GetAnnouncementResourceQuery, GetAnnouncementResourceResponse, GetAnnouncementResourcesQuery, GetAnnouncementResourcesResponse, GetAnnouncementResponse, PutAnnouncementBody, PutAnnouncementResponse, DeleteAnnouncementResponse } from "../interface/announcement";
|
|
14
|
+
import { GetReportAnalyticsGroupQuery, GetReportAnalyticsGroupResponse, GetReportAnalyticsCombinedGroupQuery, GetReportAnalyticsCombinedGroupResponse, GetReportAnalyticsExactmobileTotalsQuery, GetReportAnalyticsExactmobileTotalsResponse, GetReportAnalyticsExactmobileTransactionsQuery, GetReportAnalyticsExactmobileTransactionsResponse, GetReportAnalyticsExactmobileDiscrepanciesQuery, GetReportAnalyticsExactmobileDiscrepanciesResponse, GetReportAnalyticsTrackerReportResponse, GetReportEodGroupQuery, GetReportEodGroupResponse, GetReportEodGroupSubscribersResponse, PostReportEodGroupSubscribersBody, PostReportEodGroupSubscribersResponse, DeleteReportEodGroupSubscribersResponse, PutReportEodGroupSubscribersBody, PutReportEodGroupSubscribersResponse, GetReportDiscrepancySubscribersQuery, GetReportDiscrepancySubscribersResponse, DeleteReportDiscrepancySubscribersQuery, DeleteReportDiscrepancySubscribersResponse, PostReportDiscrepancySubscribersBody, PostReportDiscrepancySubscribersResponse } from "../interface/report";
|
|
15
|
+
import { GetUserAuthQuery, GetUserAuthResponse, PostUserAuthBody, PostUserAuthResponse, GetUserZendeskResponse, PostUserQuery, PostUserBody, PostUserResponse, GetUserQuery, GetUserResponse, PutUserQuery, PutUserBody, PutUserResponse, PatchUserQuery, PatchUserBody, PatchUserResponse, DeleteUserQuery, DeleteUserResponse, PostUserKdsTokenBody, PostUserKdsTokenResponse, GetUserKdsTokenQuery, GetUserKdsTokenResponse, DeleteUserDeviceAuthResponse, PatchUserAuthKdsResponse, PostUserChangePasswordBody, PostUserChangePasswordResponse, DeleteUserLogoutResponse, PostUserAddSecretBody, PostUserAddSecretResponse, GetUserSecretResponse, PostUserResetPasswordQuery, PostUserResetPasswordBody, PostUserResetPasswordResponse, PostUserResetPasswordTokenQuery, PostUserResetPasswordTokenBody, PostUserResetPasswordTokenResponse, GetUserRealmUsersQuery, GetUserRealmUsersResponse, GetUserPermissionsQuery, GetUserPermissionsResponse, PutUserPermissionsQuery, PutUserPermissionsBody, PutUserPermissionsResponse, PostUserCheckInBody, PostUserCheckInResponse, PatchUserCheckinBody, PatchUserCheckinResponse, GetUserSearchCheckInQuery, GetUserSearchCheckInResponse, PostUserSendEmailVerificationResponse, PutUserVerifyUserEmailBody, PutUserVerifyUserEmailResponse } from "../interface/user";
|
|
16
|
+
import { PostLoyaltyEnrollQuery, PostLoyaltyEnrollResponse, GetLoyaltyPointsQuery, GetLoyaltyPointsResponse, GetLoyaltyOffersResponse, GetLoyaltyEnrollmentstatusResponse, GetLoyaltyBalanceResponse, GetLoyaltyOpportunitiesQuery, GetLoyaltyOpportunitiesResponse, PostLoyaltyOpportunitiesQuery, PostLoyaltyOpportunitiesResponse, GetLoyaltyRewardsResponse, GetLoyaltyCouponsResponse, GetLoyaltyOrderpointsQuery, GetLoyaltyOrderpointsResponse, PostLoyaltyOrderpointsBody, PostLoyaltyOrderpointsResponse, PostLoyaltyPurchaseQuery, PostLoyaltyPurchaseBody, PostLoyaltyPurchaseResponse, PostLoyaltyBuyrewardQuery, PostLoyaltyBuyrewardBody, PostLoyaltyBuyrewardResponse, GetLoyaltyHistoryQuery, GetLoyaltyHistoryResponse, GetLoyaltyCouponResponse, PatchLoyaltyCouponBody, PatchLoyaltyCouponResponse, GetLoyaltySearchQuery, GetLoyaltySearchResponse, GetLoyaltyUsersQuery, GetLoyaltyUsersResponse, GetLoyaltyEventsQuery, GetLoyaltyEventsResponse } from "../interface/loyalty";
|
|
17
|
+
import { GetBrandResponse, GetBrandsResponse } from "../interface/brand";
|
|
18
|
+
import { GetCalendarResponse, PutCalendarBody, PutCalendarResponse, GetCalendarCdlQuery, GetCalendarCdlResponse, GetCalendarSwaggerResponse, PostCalendarSyncResponse } from "../interface/calendar";
|
|
19
|
+
import { PostDeliveryOrderBody, PostDeliveryOrderResponse, PatchDeliveryOrderResponse, GetDeliveryOrderResponse } from "../interface/delivery";
|
|
20
|
+
import { PostScheduleBody, PostScheduleResponse, GetSchedulesQuery, GetSchedulesResponse, GetScheduleResponse, PutScheduleBody, PutScheduleResponse, DeleteScheduleResponse } from "../interface/schedule";
|
|
21
|
+
import { PostVoteBody, PostVoteResponse, GetVoteIdfaQuery, GetVoteIdfaResponse } from "../interface/vote";
|
|
22
|
+
import { PostFileBody, PostFileResponse } from "../interface/file";
|
|
23
|
+
import { PostMessageBody, PostMessageResponse, GetMessageResponse } from "../interface/message";
|
|
24
|
+
import { GetLoggerBrandStatusQuery, GetLoggerBrandStatusResponse } from "../interface/logger";
|
|
25
|
+
import { BaseServiceClient, RequestOptions, ResponsePromise } from "./base";
|
|
26
|
+
export * from "./base";
|
|
27
|
+
export declare class ServiceClient extends BaseServiceClient {
|
|
28
|
+
/**
|
|
29
|
+
* POST /payment/{id}/transaction
|
|
30
|
+
*
|
|
31
|
+
* @param id - TODO: add parameter to swagger.json
|
|
32
|
+
* @param body
|
|
33
|
+
* @param options - additional request options
|
|
34
|
+
*/
|
|
35
|
+
post_payment_transaction(id: string, body: PostPaymentTransactionBody, options?: RequestOptions): ResponsePromise<PostPaymentTransactionResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* POST /payment/{id}/transaction/{transaction_id}/refund
|
|
38
|
+
*
|
|
39
|
+
* @param id - TODO: add parameter to swagger.json
|
|
40
|
+
* @param transaction_id - TODO: add parameter to swagger.json
|
|
41
|
+
* @param body
|
|
42
|
+
* @param options - additional request options
|
|
43
|
+
*/
|
|
44
|
+
post_payment_transaction_refund(id: string, transaction_id: string, body: PostPaymentTransactionRefundBody, options?: RequestOptions): ResponsePromise<PostPaymentTransactionRefundResponse>;
|
|
45
|
+
/**
|
|
46
|
+
* GET /payment/{id}/clienttoken
|
|
47
|
+
*
|
|
48
|
+
* @param id - TODO: add parameter to swagger.json
|
|
49
|
+
* @param options - additional request options
|
|
50
|
+
*/
|
|
51
|
+
get_payment_clienttoken(id: string, options?: RequestOptions): ResponsePromise<GetPaymentClienttokenResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* POST /payment/{id}/paymenttoken
|
|
54
|
+
*
|
|
55
|
+
* @param id - TODO: add parameter to swagger.json
|
|
56
|
+
* @param body
|
|
57
|
+
* @param options - additional request options
|
|
58
|
+
*/
|
|
59
|
+
post_payment_paymenttoken(id: string, body: PostPaymentPaymenttokenBody, options?: RequestOptions): ResponsePromise<PostPaymentPaymenttokenResponse>;
|
|
60
|
+
/**
|
|
61
|
+
* POST /payment/consumer
|
|
62
|
+
*
|
|
63
|
+
* @param body
|
|
64
|
+
* @param options - additional request options
|
|
65
|
+
*/
|
|
66
|
+
post_payment_consumer(body: PostPaymentConsumerBody, options?: RequestOptions): ResponsePromise<PostPaymentConsumerResponse>;
|
|
67
|
+
/**
|
|
68
|
+
* POST /payment/method
|
|
69
|
+
*
|
|
70
|
+
* @param body
|
|
71
|
+
* @param options - additional request options
|
|
72
|
+
*/
|
|
73
|
+
post_payment_method(body: PostPaymentMethodBody, options?: RequestOptions): ResponsePromise<PostPaymentMethodResponse>;
|
|
74
|
+
/**
|
|
75
|
+
* GET /payment/{id}/method - Get a users available payment methods
|
|
76
|
+
*
|
|
77
|
+
* @param id - TODO: add parameter to swagger.json
|
|
78
|
+
* @param options - additional request options
|
|
79
|
+
*/
|
|
80
|
+
get_payment_method(id: string, options: {
|
|
81
|
+
query: GetPaymentMethodQuery;
|
|
82
|
+
} & RequestOptions): ResponsePromise<GetPaymentMethodResponse>;
|
|
83
|
+
/**
|
|
84
|
+
* DELETE /payment/{id}/method/{method_id}
|
|
85
|
+
*
|
|
86
|
+
* @param id - TODO: add parameter to swagger.json
|
|
87
|
+
* @param method_id - TODO: add parameter to swagger.json
|
|
88
|
+
* @param body
|
|
89
|
+
* @param options - additional request options
|
|
90
|
+
*/
|
|
91
|
+
delete_payment_method(id: string, method_id: string, body: DeletePaymentMethodBody, options?: RequestOptions): ResponsePromise<DeletePaymentMethodResponse>;
|
|
92
|
+
/**
|
|
93
|
+
* GET /payment/token
|
|
94
|
+
*
|
|
95
|
+
* @param options - additional request options
|
|
96
|
+
*/
|
|
97
|
+
get_payment_token(options: {
|
|
98
|
+
query: GetPaymentTokenQuery;
|
|
99
|
+
} & RequestOptions): ResponsePromise<GetPaymentTokenResponse>;
|
|
100
|
+
/**
|
|
101
|
+
* POST /payment/token
|
|
102
|
+
*
|
|
103
|
+
* @param body
|
|
104
|
+
* @param options - additional request options
|
|
105
|
+
*/
|
|
106
|
+
post_payment_token(body: PostPaymentTokenBody, options?: RequestOptions): ResponsePromise<PostPaymentTokenResponse>;
|
|
107
|
+
/**
|
|
108
|
+
* PUT /payment/token
|
|
109
|
+
*
|
|
110
|
+
* @param body
|
|
111
|
+
* @param options - additional request options
|
|
112
|
+
*/
|
|
113
|
+
put_payment_token(body: PutPaymentTokenBody, options?: RequestOptions): ResponsePromise<PutPaymentTokenResponse>;
|
|
114
|
+
/**
|
|
115
|
+
* DELETE /payment/token
|
|
116
|
+
*
|
|
117
|
+
* @param body
|
|
118
|
+
* @param options - additional request options
|
|
119
|
+
*/
|
|
120
|
+
delete_payment_token(body: DeletePaymentTokenBody, options?: RequestOptions): ResponsePromise<DeletePaymentTokenResponse>;
|
|
121
|
+
/**
|
|
122
|
+
* GET /payment/methods
|
|
123
|
+
*
|
|
124
|
+
* @param options - additional request options
|
|
125
|
+
*/
|
|
126
|
+
get_payment_methods(options: {
|
|
127
|
+
query: GetPaymentMethodsQuery;
|
|
128
|
+
} & RequestOptions): ResponsePromise<GetPaymentMethodsResponse>;
|
|
129
|
+
/**
|
|
130
|
+
* GET /payment/hpc
|
|
131
|
+
*
|
|
132
|
+
* @param options - additional request options
|
|
133
|
+
*/
|
|
134
|
+
get_payment_hpc(options: {
|
|
135
|
+
query: GetPaymentHpcQuery;
|
|
136
|
+
} & RequestOptions): ResponsePromise<GetPaymentHpcResponse>;
|
|
137
|
+
/**
|
|
138
|
+
* POST /order - Create an Order
|
|
139
|
+
*
|
|
140
|
+
* @param body - Order object that needs to be created
|
|
141
|
+
* @param options - additional request options
|
|
142
|
+
*/
|
|
143
|
+
post_order(body: PostOrderBody, options?: {
|
|
144
|
+
query?: PostOrderQuery;
|
|
145
|
+
} & RequestOptions): ResponsePromise<PostOrderResponse>;
|
|
146
|
+
/**
|
|
147
|
+
* GET /order/{id} - Get an individual order
|
|
148
|
+
*
|
|
149
|
+
* @param id - The order ID
|
|
150
|
+
* @param options - additional request options
|
|
151
|
+
*/
|
|
152
|
+
get_order(id: string, options?: RequestOptions): ResponsePromise<GetOrderResponse>;
|
|
153
|
+
/**
|
|
154
|
+
* PUT /order/{id} - Update an individual order
|
|
155
|
+
*
|
|
156
|
+
* @param id - The order ID
|
|
157
|
+
* @param options - additional request options
|
|
158
|
+
*/
|
|
159
|
+
put_order(id: string, options?: RequestOptions): ResponsePromise<PutOrderResponse>;
|
|
160
|
+
/**
|
|
161
|
+
* PATCH /order/{id} - Update an existing order
|
|
162
|
+
*
|
|
163
|
+
* @param id - The order ID
|
|
164
|
+
* @param body - Order properties to be updated
|
|
165
|
+
* @param options - additional request options
|
|
166
|
+
*/
|
|
167
|
+
patch_order(id: string, body: PatchOrderBody, options?: RequestOptions): ResponsePromise<PatchOrderResponse>;
|
|
168
|
+
/**
|
|
169
|
+
* POST /order/{id}/issue - Create an issue with an order
|
|
170
|
+
*
|
|
171
|
+
* @param id - The order ID
|
|
172
|
+
* @param body - Order issue payload. If reporting dispute please use type as 'DISPUTE'. In case of dispute 'item id' and 'reason' are mandatory params in body.
|
|
173
|
+
* @param options - additional request options
|
|
174
|
+
*/
|
|
175
|
+
post_order_issue(id: string, body: PostOrderIssueBody, options?: RequestOptions): ResponsePromise<PostOrderIssueResponse>;
|
|
176
|
+
/**
|
|
177
|
+
* PATCH /order/{id}/refund - Issue a refund on an existing order
|
|
178
|
+
*
|
|
179
|
+
* @param id - The order ID
|
|
180
|
+
* @param body - Items with pricing and quanitity to be refunded
|
|
181
|
+
* @param options - additional request options
|
|
182
|
+
*/
|
|
183
|
+
patch_order_refund(id: string, body: PatchOrderRefundBody, options?: RequestOptions): ResponsePromise<PatchOrderRefundResponse>;
|
|
184
|
+
/**
|
|
185
|
+
* GET /order/customer/{id} - Get all orders for a Customer
|
|
186
|
+
*
|
|
187
|
+
* @param id - The user ID
|
|
188
|
+
* @param options - additional request options
|
|
189
|
+
*/
|
|
190
|
+
get_order_customer_orders(id: string, options?: {
|
|
191
|
+
query?: GetOrderCustomerOrdersQuery;
|
|
192
|
+
} & RequestOptions): ResponsePromise<GetOrderCustomerOrdersResponse>;
|
|
193
|
+
/**
|
|
194
|
+
* GET /order/customer/{id}/location/brand/{location_brand} - Get all orders for a Customer for a specific Location Brand
|
|
195
|
+
*
|
|
196
|
+
* @param id - The user ID
|
|
197
|
+
* @param location_brand - Brand id
|
|
198
|
+
* @param options - additional request options
|
|
199
|
+
*/
|
|
200
|
+
get_order_customer_orders_brand(id: string, location_brand: string, options?: RequestOptions): ResponsePromise<GetOrderCustomerOrdersBrandResponse>;
|
|
201
|
+
/**
|
|
202
|
+
* GET /order/location/brand/{id} - Get all orders for a location Brand
|
|
203
|
+
*
|
|
204
|
+
* @param id - The location brand ID
|
|
205
|
+
* @param options - additional request options
|
|
206
|
+
*/
|
|
207
|
+
get_order_location_brand(id: string, options?: {
|
|
208
|
+
query?: GetOrderLocationBrandQuery;
|
|
209
|
+
} & RequestOptions): ResponsePromise<GetOrderLocationBrandResponse>;
|
|
210
|
+
/**
|
|
211
|
+
* GET /order/location/{id} - Get all orders for a location
|
|
212
|
+
*
|
|
213
|
+
* @param id - The location ID
|
|
214
|
+
* @param options - additional request options
|
|
215
|
+
*/
|
|
216
|
+
get_order_location_orders(id: string, options?: {
|
|
217
|
+
query?: GetOrderLocationOrdersQuery;
|
|
218
|
+
} & RequestOptions): ResponsePromise<GetOrderLocationOrdersResponse>;
|
|
219
|
+
/**
|
|
220
|
+
* GET /order/location/group/{id} - Get all orders for a location group
|
|
221
|
+
*
|
|
222
|
+
* @param id - Get orders by their associated group
|
|
223
|
+
* @param options - additional request options
|
|
224
|
+
*/
|
|
225
|
+
get_order_group_orders(id: string, options?: {
|
|
226
|
+
query?: GetOrderGroupOrdersQuery;
|
|
227
|
+
} & RequestOptions): ResponsePromise<GetOrderGroupOrdersResponse>;
|
|
228
|
+
/**
|
|
229
|
+
* POST /location - Create a new location
|
|
230
|
+
*
|
|
231
|
+
* @param body
|
|
232
|
+
* @param options - additional request options
|
|
233
|
+
*/
|
|
234
|
+
post_location(body: PostLocationBody, options?: RequestOptions): ResponsePromise<PostLocationResponse>;
|
|
235
|
+
/**
|
|
236
|
+
* GET /location - Get all location
|
|
237
|
+
*
|
|
238
|
+
* @param options - additional request options
|
|
239
|
+
*/
|
|
240
|
+
get_locations(options?: RequestOptions): ResponsePromise<GetLocationsResponse>;
|
|
241
|
+
/**
|
|
242
|
+
* GET /location/search - Gets Location within a radius of the provided point
|
|
243
|
+
*
|
|
244
|
+
* @param options - additional request options
|
|
245
|
+
*/
|
|
246
|
+
get_location_search(options?: {
|
|
247
|
+
query?: GetLocationSearchQuery;
|
|
248
|
+
} & RequestOptions): ResponsePromise<GetLocationSearchResponse>;
|
|
249
|
+
/**
|
|
250
|
+
* GET /location/{id} - Get an individual Location
|
|
251
|
+
*
|
|
252
|
+
* @param id - location id
|
|
253
|
+
* @param options - additional request options
|
|
254
|
+
*/
|
|
255
|
+
get_location(id: string, options?: {
|
|
256
|
+
query?: GetLocationQuery;
|
|
257
|
+
} & RequestOptions): ResponsePromise<GetLocationResponse>;
|
|
258
|
+
/**
|
|
259
|
+
* PUT /location/{id} - Override a complete Location
|
|
260
|
+
*
|
|
261
|
+
* @param id - location id
|
|
262
|
+
* @param body
|
|
263
|
+
* @param options - additional request options
|
|
264
|
+
*/
|
|
265
|
+
put_location(id: string, body: PutLocationBody, options?: RequestOptions): ResponsePromise<PutLocationResponse>;
|
|
266
|
+
/**
|
|
267
|
+
* DELETE /location/{id} - Delete brands from a Location
|
|
268
|
+
*
|
|
269
|
+
* @param id - location id
|
|
270
|
+
* @param body
|
|
271
|
+
* @param options - additional request options
|
|
272
|
+
*/
|
|
273
|
+
delete_location(id: string, body: DeleteLocationBody, options?: RequestOptions): ResponsePromise<DeleteLocationResponse>;
|
|
274
|
+
/**
|
|
275
|
+
* PATCH /location/{id} - Update a Location
|
|
276
|
+
*
|
|
277
|
+
* @param id - location id
|
|
278
|
+
* @param body
|
|
279
|
+
* @param options - additional request options
|
|
280
|
+
*/
|
|
281
|
+
patch_location(id: string, body: PatchLocationBody, options?: RequestOptions): ResponsePromise<PatchLocationResponse>;
|
|
282
|
+
/**
|
|
283
|
+
* GET /location/pos/{id} - Get information about a POS
|
|
284
|
+
*
|
|
285
|
+
* @param id - POS ID
|
|
286
|
+
* @param options - additional request options
|
|
287
|
+
*/
|
|
288
|
+
get_location_pos(id: string, options?: RequestOptions): ResponsePromise<GetLocationPosResponse>;
|
|
289
|
+
/**
|
|
290
|
+
* PUT /location/pos/{id} - Set information about a POS
|
|
291
|
+
*
|
|
292
|
+
* @param id - POS ID
|
|
293
|
+
* @param body
|
|
294
|
+
* @param options - additional request options
|
|
295
|
+
*/
|
|
296
|
+
put_location_pos(id: string, body: PutLocationPosBody, options?: RequestOptions): ResponsePromise<PutLocationPosResponse>;
|
|
297
|
+
/**
|
|
298
|
+
* GET /location/multigroup - Get all the top level multigroups
|
|
299
|
+
*
|
|
300
|
+
* @param options - additional request options
|
|
301
|
+
*/
|
|
302
|
+
get_location_multigroups(options?: RequestOptions): ResponsePromise<GetLocationMultigroupsResponse>;
|
|
303
|
+
/**
|
|
304
|
+
* POST /location/multigroup - Create a new multigroup
|
|
305
|
+
*
|
|
306
|
+
* @param body
|
|
307
|
+
* @param options - additional request options
|
|
308
|
+
*/
|
|
309
|
+
post_location_multigroup(body: PostLocationMultigroupBody, options?: RequestOptions): ResponsePromise<PostLocationMultigroupResponse>;
|
|
310
|
+
/**
|
|
311
|
+
* GET /location/multigroup/{id} - Get a multigroup
|
|
312
|
+
*
|
|
313
|
+
* @param id - multigroup id
|
|
314
|
+
* @param options - additional request options
|
|
315
|
+
*/
|
|
316
|
+
get_location_multigroup(id: string, options?: {
|
|
317
|
+
query?: GetLocationMultigroupQuery;
|
|
318
|
+
} & RequestOptions): ResponsePromise<GetLocationMultigroupResponse>;
|
|
319
|
+
/**
|
|
320
|
+
* PUT /location/multigroup/{id} - Override a complete multigroup
|
|
321
|
+
*
|
|
322
|
+
* @param id - multigroup id
|
|
323
|
+
* @param body
|
|
324
|
+
* @param options - additional request options
|
|
325
|
+
*/
|
|
326
|
+
put_location_multigroup(id: string, body: PutLocationMultigroupBody, options?: RequestOptions): ResponsePromise<PutLocationMultigroupResponse>;
|
|
327
|
+
/**
|
|
328
|
+
* DELETE /location/multigroup/{id} - Delete groups from a multigroup
|
|
329
|
+
*
|
|
330
|
+
* @param id - multigroup id
|
|
331
|
+
* @param body
|
|
332
|
+
* @param options - additional request options
|
|
333
|
+
*/
|
|
334
|
+
delete_location_multigroup(id: string, body: DeleteLocationMultigroupBody, options?: RequestOptions): ResponsePromise<DeleteLocationMultigroupResponse>;
|
|
335
|
+
/**
|
|
336
|
+
* PATCH /location/multigroup/{id} - Update a multigroup
|
|
337
|
+
*
|
|
338
|
+
* @param id - multigroup id
|
|
339
|
+
* @param body
|
|
340
|
+
* @param options - additional request options
|
|
341
|
+
*/
|
|
342
|
+
patch_location_multigroup(id: string, body: PatchLocationMultigroupBody, options?: RequestOptions): ResponsePromise<PatchLocationMultigroupResponse>;
|
|
343
|
+
/**
|
|
344
|
+
* GET /location/multigroup/{id}/user/{user_id} - Get all the groups in a multigroup specific to user permissions
|
|
345
|
+
*
|
|
346
|
+
* @param id - multigroup
|
|
347
|
+
* @param user_id - user
|
|
348
|
+
* @param options - additional request options
|
|
349
|
+
*/
|
|
350
|
+
get_location_user_multigroup(id: string, user_id: string, options?: {
|
|
351
|
+
query?: GetLocationUserMultigroupQuery;
|
|
352
|
+
} & RequestOptions): ResponsePromise<GetLocationUserMultigroupResponse>;
|
|
353
|
+
/**
|
|
354
|
+
* POST /location/group - Create a new group
|
|
355
|
+
*
|
|
356
|
+
* @param body
|
|
357
|
+
* @param options - additional request options
|
|
358
|
+
*/
|
|
359
|
+
post_location_group(body: PostLocationGroupBody, options?: RequestOptions): ResponsePromise<PostLocationGroupResponse>;
|
|
360
|
+
/**
|
|
361
|
+
* GET /location/group/{id} - Get an individual Group based on id or latitude/longitude
|
|
362
|
+
*
|
|
363
|
+
* @param id - group id
|
|
364
|
+
* @param options - additional request options
|
|
365
|
+
*/
|
|
366
|
+
get_location_group(id: string, options?: {
|
|
367
|
+
query?: GetLocationGroupQuery;
|
|
368
|
+
} & RequestOptions): ResponsePromise<GetLocationGroupResponse>;
|
|
369
|
+
/**
|
|
370
|
+
* PUT /location/group/{id} - Override a complete Group
|
|
371
|
+
*
|
|
372
|
+
* @param id - group id
|
|
373
|
+
* @param body
|
|
374
|
+
* @param options - additional request options
|
|
375
|
+
*/
|
|
376
|
+
put_location_group(id: string, body: PutLocationGroupBody, options?: RequestOptions): ResponsePromise<PutLocationGroupResponse>;
|
|
377
|
+
/**
|
|
378
|
+
* DELETE /location/group/{id} - Delete locations from a Group
|
|
379
|
+
*
|
|
380
|
+
* @param id - group id
|
|
381
|
+
* @param body
|
|
382
|
+
* @param options - additional request options
|
|
383
|
+
*/
|
|
384
|
+
delete_location_group(id: string, body: DeleteLocationGroupBody, options?: RequestOptions): ResponsePromise<DeleteLocationGroupResponse>;
|
|
385
|
+
/**
|
|
386
|
+
* PATCH /location/group/{id} - Update a Group
|
|
387
|
+
*
|
|
388
|
+
* @param id - group id
|
|
389
|
+
* @param body
|
|
390
|
+
* @param options - additional request options
|
|
391
|
+
*/
|
|
392
|
+
patch_location_group(id: string, body: PatchLocationGroupBody, options?: RequestOptions): ResponsePromise<PatchLocationGroupResponse>;
|
|
393
|
+
/**
|
|
394
|
+
* GET /location/group/{id}/deliverydestination - Get all delivery destinations for group
|
|
395
|
+
*
|
|
396
|
+
* @param id - Group ID
|
|
397
|
+
* @param options - additional request options
|
|
398
|
+
*/
|
|
399
|
+
get_location_group_deliverydestinations(id: string, options?: {
|
|
400
|
+
query?: GetLocationGroupDeliverydestinationsQuery;
|
|
401
|
+
} & RequestOptions): ResponsePromise<GetLocationGroupDeliverydestinationsResponse>;
|
|
402
|
+
/**
|
|
403
|
+
* POST /location/group/{id}/deliverydestination - Create a new location group delivery destination
|
|
404
|
+
*
|
|
405
|
+
* @param id - Group ID
|
|
406
|
+
* @param body
|
|
407
|
+
* @param options - additional request options
|
|
408
|
+
*/
|
|
409
|
+
post_location_group_deliverydestination(id: string, body: PostLocationGroupDeliverydestinationBody, options?: RequestOptions): ResponsePromise<PostLocationGroupDeliverydestinationResponse>;
|
|
410
|
+
/**
|
|
411
|
+
* GET /location/group/{id}/deliverydestination/{delivery_destination} - Get a delivery destination
|
|
412
|
+
*
|
|
413
|
+
* @param id - Group ID
|
|
414
|
+
* @param delivery_destination - Delivery Destination ID
|
|
415
|
+
* @param options - additional request options
|
|
416
|
+
*/
|
|
417
|
+
get_location_group_deliverydestination(id: string, delivery_destination: string, options?: RequestOptions): ResponsePromise<GetLocationGroupDeliverydestinationResponse>;
|
|
418
|
+
/**
|
|
419
|
+
* PATCH /location/group/{id}/deliverydestination/{delivery_destination} - Patch a delivery destination
|
|
420
|
+
*
|
|
421
|
+
* @param id - Group ID
|
|
422
|
+
* @param delivery_destination - Delivery Destination ID
|
|
423
|
+
* @param body
|
|
424
|
+
* @param options - additional request options
|
|
425
|
+
*/
|
|
426
|
+
patch_location_group_deliverydestination(id: string, delivery_destination: string, body: PatchLocationGroupDeliverydestinationBody, options?: RequestOptions): ResponsePromise<PatchLocationGroupDeliverydestinationResponse>;
|
|
427
|
+
/**
|
|
428
|
+
* DELETE /location/group/{id}/deliverydestination/{delivery_destination} - Delete a delivery destination
|
|
429
|
+
*
|
|
430
|
+
* @param id - Group ID
|
|
431
|
+
* @param delivery_destination - Delivery Destination ID
|
|
432
|
+
* @param options - additional request options
|
|
433
|
+
*/
|
|
434
|
+
delete_location_group_deliverydestination(id: string, delivery_destination: string, options?: RequestOptions): ResponsePromise<DeleteLocationGroupDeliverydestinationResponse>;
|
|
435
|
+
/**
|
|
436
|
+
* GET /location/group/{id}/user/{user_id} - Get a location group info specific to user read permissions
|
|
437
|
+
*
|
|
438
|
+
* @param id - group
|
|
439
|
+
* @param user_id - user
|
|
440
|
+
* @param options - additional request options
|
|
441
|
+
*/
|
|
442
|
+
get_location_user_group(id: string, user_id: string, options?: {
|
|
443
|
+
query?: GetLocationUserGroupQuery;
|
|
444
|
+
} & RequestOptions): ResponsePromise<GetLocationUserGroupResponse>;
|
|
445
|
+
/**
|
|
446
|
+
* GET /location/brands - Get all location brands
|
|
447
|
+
*
|
|
448
|
+
* @param options - additional request options
|
|
449
|
+
*/
|
|
450
|
+
get_location_brands(options?: RequestOptions): ResponsePromise<GetLocationBrandsResponse>;
|
|
451
|
+
/**
|
|
452
|
+
* GET /location/brand/{id}/deliverydestinations - Get delivery destinations for a brand
|
|
453
|
+
*
|
|
454
|
+
* @param id - Brand ID
|
|
455
|
+
* @param options - additional request options
|
|
456
|
+
*/
|
|
457
|
+
get_location_brand_destinations(id: string, options?: RequestOptions): ResponsePromise<GetLocationBrandDestinationsResponse>;
|
|
458
|
+
/**
|
|
459
|
+
* POST /location/brand/{id}/document - Attach document to a brand
|
|
460
|
+
*
|
|
461
|
+
* @param id - Brand ID
|
|
462
|
+
* @param body
|
|
463
|
+
* @param options - additional request options
|
|
464
|
+
*/
|
|
465
|
+
post_location_brand_document(id: string, body: PostLocationBrandDocumentBody, options?: RequestOptions): ResponsePromise<PostLocationBrandDocumentResponse>;
|
|
466
|
+
/**
|
|
467
|
+
* PATCH /location/brand/{id}/document - Edit location document
|
|
468
|
+
*
|
|
469
|
+
* @param id - Brand ID
|
|
470
|
+
* @param options - additional request options
|
|
471
|
+
*/
|
|
472
|
+
patch_location_brand_document(id: string, options?: RequestOptions): ResponsePromise<PatchLocationBrandDocumentResponse>;
|
|
473
|
+
/**
|
|
474
|
+
* DELETE /location/brand/{id}/document - Deleted brand document
|
|
475
|
+
*
|
|
476
|
+
* @param id - Brand ID
|
|
477
|
+
* @param options - additional request options
|
|
478
|
+
*/
|
|
479
|
+
delete_location_brand_document(id: string, options?: RequestOptions): ResponsePromise<DeleteLocationBrandDocumentResponse>;
|
|
480
|
+
/**
|
|
481
|
+
* GET /location/brand/{id}/documents - Get location brand attached documents
|
|
482
|
+
*
|
|
483
|
+
* @param id - Brand ID
|
|
484
|
+
* @param options - additional request options
|
|
485
|
+
*/
|
|
486
|
+
get_location_brand_documents(id: string, options?: RequestOptions): ResponsePromise<GetLocationBrandDocumentsResponse>;
|
|
487
|
+
/**
|
|
488
|
+
* GET /location/brand/{id}/timeslots - Get location brand timeslots
|
|
489
|
+
*
|
|
490
|
+
* @param id - Brand ID
|
|
491
|
+
* @param options - additional request options
|
|
492
|
+
*/
|
|
493
|
+
get_location_brand_timeslots(id: string, options?: {
|
|
494
|
+
query?: GetLocationBrandTimeslotsQuery;
|
|
495
|
+
} & RequestOptions): ResponsePromise<GetLocationBrandTimeslotsResponse>;
|
|
496
|
+
/**
|
|
497
|
+
* POST /location/marketplace/timeslots - Get Market Place timeslots
|
|
498
|
+
*
|
|
499
|
+
* @param body
|
|
500
|
+
* @param options - additional request options
|
|
501
|
+
*/
|
|
502
|
+
post_location_marketplace_timeslots(body: PostLocationMarketplaceTimeslotsBody, options?: {
|
|
503
|
+
query?: PostLocationMarketplaceTimeslotsQuery;
|
|
504
|
+
} & RequestOptions): ResponsePromise<PostLocationMarketplaceTimeslotsResponse>;
|
|
505
|
+
/**
|
|
506
|
+
* POST /location/marketplace/timeslots/delivery - Get Marketplace delivery timeslots
|
|
507
|
+
*
|
|
508
|
+
* @param body
|
|
509
|
+
* @param options - additional request options
|
|
510
|
+
*/
|
|
511
|
+
post_location_marketplace_timeslots_delivery(body: PostLocationMarketplaceTimeslotsDeliveryBody, options?: {
|
|
512
|
+
query?: PostLocationMarketplaceTimeslotsDeliveryQuery;
|
|
513
|
+
} & RequestOptions): ResponsePromise<PostLocationMarketplaceTimeslotsDeliveryResponse>;
|
|
514
|
+
/**
|
|
515
|
+
* GET /location/brand/{id}/timeslots/menu/{menu} - Get location brand timeslots for menu
|
|
516
|
+
*
|
|
517
|
+
* @param id - Brand ID
|
|
518
|
+
* @param menu - Menu ID
|
|
519
|
+
* @param options - additional request options
|
|
520
|
+
*/
|
|
521
|
+
get_location_brand_menu_timeslots(id: string, menu: string, options?: {
|
|
522
|
+
query?: GetLocationBrandMenuTimeslotsQuery;
|
|
523
|
+
} & RequestOptions): ResponsePromise<GetLocationBrandMenuTimeslotsResponse>;
|
|
524
|
+
/**
|
|
525
|
+
* GET /location/brand/{id}/timeslots/delivery - Get location brand delivery timeslots
|
|
526
|
+
*
|
|
527
|
+
* @param id - Brand ID
|
|
528
|
+
* @param options - additional request options
|
|
529
|
+
*/
|
|
530
|
+
get_location_brand_delivery_timeslots(id: string, options?: {
|
|
531
|
+
query?: GetLocationBrandDeliveryTimeslotsQuery;
|
|
532
|
+
} & RequestOptions): ResponsePromise<GetLocationBrandDeliveryTimeslotsResponse>;
|
|
533
|
+
/**
|
|
534
|
+
* GET /location/brand/{id}/timeslots/delivery/menu/{menu} - Get location brand delivery timeslots for menu
|
|
535
|
+
*
|
|
536
|
+
* @param id - Brand ID
|
|
537
|
+
* @param menu - Menu ID
|
|
538
|
+
* @param options - additional request options
|
|
539
|
+
*/
|
|
540
|
+
get_location_brand_menu_delivery_timeslosts(id: string, menu: string, options?: {
|
|
541
|
+
query?: GetLocationBrandMenuDeliveryTimeslostsQuery;
|
|
542
|
+
} & RequestOptions): ResponsePromise<GetLocationBrandMenuDeliveryTimeslostsResponse>;
|
|
543
|
+
/**
|
|
544
|
+
* POST /location/brand - Create a new Brand
|
|
545
|
+
*
|
|
546
|
+
* @param body
|
|
547
|
+
* @param options - additional request options
|
|
548
|
+
*/
|
|
549
|
+
post_location_brand(body: PostLocationBrandBody, options?: RequestOptions): ResponsePromise<PostLocationBrandResponse>;
|
|
550
|
+
/**
|
|
551
|
+
* GET /location/brand/{id} - Get location brand
|
|
552
|
+
*
|
|
553
|
+
* @param id - Brand ID
|
|
554
|
+
* @param options - additional request options
|
|
555
|
+
*/
|
|
556
|
+
get_location_brand(id: string, options?: {
|
|
557
|
+
query?: GetLocationBrandQuery;
|
|
558
|
+
} & RequestOptions): ResponsePromise<GetLocationBrandResponse>;
|
|
559
|
+
/**
|
|
560
|
+
* PATCH /location/brand/{id} - Update location brand
|
|
561
|
+
*
|
|
562
|
+
* @param id - Brand ID
|
|
563
|
+
* @param body
|
|
564
|
+
* @param options - additional request options
|
|
565
|
+
*/
|
|
566
|
+
patch_location_brand(id: string, body: PatchLocationBrandBody, options?: RequestOptions): ResponsePromise<PatchLocationBrandResponse>;
|
|
567
|
+
/**
|
|
568
|
+
* DELETE /location/brand/{id} - Delete data from a Brand
|
|
569
|
+
*
|
|
570
|
+
* @param id - Brand ID
|
|
571
|
+
* @param body
|
|
572
|
+
* @param options - additional request options
|
|
573
|
+
*/
|
|
574
|
+
delete_location_brand(id: string, body: DeleteLocationBrandBody, options?: RequestOptions): ResponsePromise<DeleteLocationBrandResponse>;
|
|
575
|
+
/**
|
|
576
|
+
* PUT /location/brand/{id} - Update location brand
|
|
577
|
+
*
|
|
578
|
+
* @param id - Brand ID
|
|
579
|
+
* @param body
|
|
580
|
+
* @param options - additional request options
|
|
581
|
+
*/
|
|
582
|
+
put_location_brand(id: string, body: PutLocationBrandBody, options?: RequestOptions): ResponsePromise<PutLocationBrandResponse>;
|
|
583
|
+
/**
|
|
584
|
+
* GET /location/sector - Get list of all the sectors
|
|
585
|
+
*
|
|
586
|
+
* @param options - additional request options
|
|
587
|
+
*/
|
|
588
|
+
get_location_sectors(options?: RequestOptions): ResponsePromise<GetLocationSectorsResponse>;
|
|
589
|
+
/**
|
|
590
|
+
* POST /location/sector - Create a new sector
|
|
591
|
+
*
|
|
592
|
+
* @param body
|
|
593
|
+
* @param options - additional request options
|
|
594
|
+
*/
|
|
595
|
+
post_location_sector(body: PostLocationSectorBody, options?: RequestOptions): ResponsePromise<PostLocationSectorResponse>;
|
|
596
|
+
/**
|
|
597
|
+
* GET /location/sector/{id} - Get a sector
|
|
598
|
+
*
|
|
599
|
+
* @param id - sector
|
|
600
|
+
* @param options - additional request options
|
|
601
|
+
*/
|
|
602
|
+
get_location_sector(id: string, options?: {
|
|
603
|
+
query?: GetLocationSectorQuery;
|
|
604
|
+
} & RequestOptions): ResponsePromise<GetLocationSectorResponse>;
|
|
605
|
+
/**
|
|
606
|
+
* PATCH /location/sector/{id} - Update a sector
|
|
607
|
+
*
|
|
608
|
+
* @param id - sector
|
|
609
|
+
* @param body
|
|
610
|
+
* @param options - additional request options
|
|
611
|
+
*/
|
|
612
|
+
patch_location_sector(id: string, body: PatchLocationSectorBody, options?: {
|
|
613
|
+
query?: PatchLocationSectorQuery;
|
|
614
|
+
} & RequestOptions): ResponsePromise<PatchLocationSectorResponse>;
|
|
615
|
+
/**
|
|
616
|
+
* POST /location/company - Create a new company
|
|
617
|
+
*
|
|
618
|
+
* @param body
|
|
619
|
+
* @param options - additional request options
|
|
620
|
+
*/
|
|
621
|
+
post_location_company(body: PostLocationCompanyBody, options?: RequestOptions): ResponsePromise<PostLocationCompanyResponse>;
|
|
622
|
+
/**
|
|
623
|
+
* GET /location/company/{id} - Get a company within sector
|
|
624
|
+
*
|
|
625
|
+
* @param id - Company ID
|
|
626
|
+
* @param options - additional request options
|
|
627
|
+
*/
|
|
628
|
+
get_location_company(id: string, options?: {
|
|
629
|
+
query?: GetLocationCompanyQuery;
|
|
630
|
+
} & RequestOptions): ResponsePromise<GetLocationCompanyResponse>;
|
|
631
|
+
/**
|
|
632
|
+
* PATCH /location/company/{id} - Update a company
|
|
633
|
+
*
|
|
634
|
+
* @param id - Company ID
|
|
635
|
+
* @param body
|
|
636
|
+
* @param options - additional request options
|
|
637
|
+
*/
|
|
638
|
+
patch_location_company(id: string, body: PatchLocationCompanyBody, options?: RequestOptions): ResponsePromise<PatchLocationCompanyResponse>;
|
|
639
|
+
/**
|
|
640
|
+
* POST /shoppingcart/ - Create a new ShoppingCart
|
|
641
|
+
*
|
|
642
|
+
* @param body
|
|
643
|
+
* @param options - additional request options
|
|
644
|
+
*/
|
|
645
|
+
post_shoppingcart_cart(body: PostShoppingcartCartBody, options?: RequestOptions): ResponsePromise<PostShoppingcartCartResponse>;
|
|
646
|
+
/**
|
|
647
|
+
* PUT /shoppingcart/{id} - Put a menu item into a ShoppingCart
|
|
648
|
+
*
|
|
649
|
+
* @param id - Shopping cart ID
|
|
650
|
+
* @param body
|
|
651
|
+
* @param options - additional request options
|
|
652
|
+
*/
|
|
653
|
+
put_shoppingcart_cart_items(id: string, body: PutShoppingcartCartItemsBody, options?: RequestOptions): ResponsePromise<PutShoppingcartCartItemsResponse>;
|
|
654
|
+
/**
|
|
655
|
+
* DELETE /shoppingcart/{id} - Delete a menu item from a ShoppingCart
|
|
656
|
+
*
|
|
657
|
+
* @param id - Shopping cart ID
|
|
658
|
+
* @param body
|
|
659
|
+
* @param options - additional request options
|
|
660
|
+
*/
|
|
661
|
+
delete_shoppingcart_cart_items(id: string, body: DeleteShoppingcartCartItemsBody, options?: RequestOptions): ResponsePromise<DeleteShoppingcartCartItemsResponse>;
|
|
662
|
+
/**
|
|
663
|
+
* GET /shoppingcart/{id} - Get an individual ShoppingCart
|
|
664
|
+
*
|
|
665
|
+
* @param id - Shopping cart ID
|
|
666
|
+
* @param options - additional request options
|
|
667
|
+
*/
|
|
668
|
+
get_shoppingcart_cart(id: string, options?: RequestOptions): ResponsePromise<GetShoppingcartCartResponse>;
|
|
669
|
+
/**
|
|
670
|
+
* PATCH /shoppingcart/{id} - Update a ShoppingCart
|
|
671
|
+
*
|
|
672
|
+
* @param id - Shopping cart ID
|
|
673
|
+
* @param options - additional request options
|
|
674
|
+
*/
|
|
675
|
+
patch_shoppingcart_cart(id: string, options?: RequestOptions): ResponsePromise<PatchShoppingcartCartResponse>;
|
|
676
|
+
/**
|
|
677
|
+
* PUT /shoppingcart/{id}/promo - Put a promo in a ShoppingCart
|
|
678
|
+
*
|
|
679
|
+
* @param id - Shopping cart ID
|
|
680
|
+
* @param body
|
|
681
|
+
* @param options - additional request options
|
|
682
|
+
*/
|
|
683
|
+
put_shoppingcart_cart_promo(id: string, body: PutShoppingcartCartPromoBody, options?: RequestOptions): ResponsePromise<PutShoppingcartCartPromoResponse>;
|
|
684
|
+
/**
|
|
685
|
+
* DELETE /shoppingcart/{id}/promo - Delete the promo in a ShoppingCart
|
|
686
|
+
*
|
|
687
|
+
* @param id - Shopping cart ID
|
|
688
|
+
* @param options - additional request options
|
|
689
|
+
*/
|
|
690
|
+
delete_shoppingcart_cart_promo(id: string, options?: RequestOptions): ResponsePromise<DeleteShoppingcartCartPromoResponse>;
|
|
691
|
+
/**
|
|
692
|
+
* PUT /shoppingcart/{id}/paymentmethod/ - Change payment method used in shopping cart
|
|
693
|
+
*
|
|
694
|
+
* @param id - Shopping cart ID
|
|
695
|
+
* @param body
|
|
696
|
+
* @param options - additional request options
|
|
697
|
+
*/
|
|
698
|
+
put_shoppingcart_cart_payment(id: string, body: PutShoppingcartCartPaymentBody, options?: RequestOptions): ResponsePromise<PutShoppingcartCartPaymentResponse>;
|
|
699
|
+
/**
|
|
700
|
+
* PUT /shoppingcart/{id}/order/ - Store information about the order created with this shopping cart
|
|
701
|
+
*
|
|
702
|
+
* @param id - Shopping cart ID
|
|
703
|
+
* @param body
|
|
704
|
+
* @param options - additional request options
|
|
705
|
+
*/
|
|
706
|
+
put_shoppingcart_cart_order(id: string, body: PutShoppingcartCartOrderBody, options?: RequestOptions): ResponsePromise<PutShoppingcartCartOrderResponse>;
|
|
707
|
+
/**
|
|
708
|
+
* PUT /shoppingcart/{id}/loyalty/{user_id} - Apply a loyalty coupon in a ShoppingCart
|
|
709
|
+
*
|
|
710
|
+
* @param id - Shopping cart ID
|
|
711
|
+
* @param user_id - User ID
|
|
712
|
+
* @param body
|
|
713
|
+
* @param options - additional request options
|
|
714
|
+
*/
|
|
715
|
+
put_shoppingcart_cart_loyalty(id: string, user_id: string, body: PutShoppingcartCartLoyaltyBody, options?: RequestOptions): ResponsePromise<PutShoppingcartCartLoyaltyResponse>;
|
|
716
|
+
/**
|
|
717
|
+
* DELETE /shoppingcart/{id}/loyalty/{user_id} - Delete loyalty coupon in shoppingCart
|
|
718
|
+
*
|
|
719
|
+
* @param id - Shopping cart ID
|
|
720
|
+
* @param user_id - User ID
|
|
721
|
+
* @param options - additional request options
|
|
722
|
+
*/
|
|
723
|
+
delete_shoppingcart_cart_loyalty(id: string, user_id: string, options?: RequestOptions): ResponsePromise<DeleteShoppingcartCartLoyaltyResponse>;
|
|
724
|
+
/**
|
|
725
|
+
* POST /shoppingcart/{id}/clone - Create a shopping cart from existing shopping cart
|
|
726
|
+
*
|
|
727
|
+
* @param id - Shopping cart ID
|
|
728
|
+
* @param body
|
|
729
|
+
* @param options - additional request options
|
|
730
|
+
*/
|
|
731
|
+
post_shoppingcart_clone_cart(id: string, body: PostShoppingcartCloneCartBody, options?: RequestOptions): ResponsePromise<PostShoppingcartCloneCartResponse>;
|
|
732
|
+
/**
|
|
733
|
+
* POST /shoppingcart/bulk - Get multiple ShoppingCarts
|
|
734
|
+
*
|
|
735
|
+
* @param body
|
|
736
|
+
* @param options - additional request options
|
|
737
|
+
*/
|
|
738
|
+
post_shoppingcart_bulk(body: PostShoppingcartBulkBody, options?: RequestOptions): ResponsePromise<PostShoppingcartBulkResponse>;
|
|
739
|
+
/**
|
|
740
|
+
* POST /partner/standardcognition/shoppingcart - Calculates a shoppingcart
|
|
741
|
+
*
|
|
742
|
+
* @param body
|
|
743
|
+
* @param options - additional request options
|
|
744
|
+
*/
|
|
745
|
+
post_partner_standardcognition_shoppingcart(body: PostPartnerStandardcognitionShoppingcartBody, options?: RequestOptions): ResponsePromise<PostPartnerStandardcognitionShoppingcartResponse>;
|
|
746
|
+
/**
|
|
747
|
+
* GET /partner/standardcognition/locations - Gets the locations where Standard Cognition is available
|
|
748
|
+
*
|
|
749
|
+
* @param options - additional request options
|
|
750
|
+
*/
|
|
751
|
+
get_partner_standardcognition_locations(options?: RequestOptions): ResponsePromise<GetPartnerStandardcognitionLocationsResponse>;
|
|
752
|
+
/**
|
|
753
|
+
* GET /partner/standardcognition/stores - Gets the UUID for all the Standard Cognition external locations
|
|
754
|
+
*
|
|
755
|
+
* @param options - additional request options
|
|
756
|
+
*/
|
|
757
|
+
get_partner_standardcognition_stores(options?: RequestOptions): ResponsePromise<GetPartnerStandardcognitionStoresResponse>;
|
|
758
|
+
/**
|
|
759
|
+
* GET /partner/coolr/locations - Gets the locations where Coolr is available
|
|
760
|
+
*
|
|
761
|
+
* @param options - additional request options
|
|
762
|
+
*/
|
|
763
|
+
get_partner_coolr_locations(options?: RequestOptions): ResponsePromise<GetPartnerCoolrLocationsResponse>;
|
|
764
|
+
/**
|
|
765
|
+
* GET /partner/coolr/{id}/images - Gets the latest images for Coolr Location AssetID
|
|
766
|
+
*
|
|
767
|
+
* @param id - location
|
|
768
|
+
* @param options - additional request options
|
|
769
|
+
*/
|
|
770
|
+
get_partner_coolr_images(id: string, options?: RequestOptions): ResponsePromise<GetPartnerCoolrImagesResponse>;
|
|
771
|
+
/**
|
|
772
|
+
* GET /partner/swagger.json
|
|
773
|
+
*
|
|
774
|
+
* @param options - additional request options
|
|
775
|
+
*/
|
|
776
|
+
get_partner_swagger(options?: RequestOptions): ResponsePromise<GetPartnerSwaggerResponse>;
|
|
777
|
+
/**
|
|
778
|
+
* POST /task/ - Create new Task
|
|
779
|
+
*
|
|
780
|
+
* @param body - Task Information
|
|
781
|
+
* @param options - additional request options
|
|
782
|
+
*/
|
|
783
|
+
post_task(body: PostTaskBody, options?: RequestOptions): ResponsePromise<PostTaskResponse>;
|
|
784
|
+
/**
|
|
785
|
+
* GET /task/{id} - Get task based on passed ID
|
|
786
|
+
*
|
|
787
|
+
* @param id - Task ID
|
|
788
|
+
* @param options - additional request options
|
|
789
|
+
*/
|
|
790
|
+
get_task(id: string, options?: RequestOptions): ResponsePromise<GetTaskResponse>;
|
|
791
|
+
/**
|
|
792
|
+
* PATCH /task/{id} - Update Task
|
|
793
|
+
*
|
|
794
|
+
* @param id - Task ID
|
|
795
|
+
* @param body - Task Information
|
|
796
|
+
* @param options - additional request options
|
|
797
|
+
*/
|
|
798
|
+
patch_task(id: string, body: PatchTaskBody, options?: RequestOptions): ResponsePromise<PatchTaskResponse>;
|
|
799
|
+
/**
|
|
800
|
+
* DELETE /task/{id} - Delete Task
|
|
801
|
+
*
|
|
802
|
+
* @param id - Task ID
|
|
803
|
+
* @param options - additional request options
|
|
804
|
+
*/
|
|
805
|
+
delete_task(id: string, options?: RequestOptions): ResponsePromise<DeleteTaskResponse>;
|
|
806
|
+
/**
|
|
807
|
+
* GET /task/order/{id} - Get task based on passed order ID
|
|
808
|
+
*
|
|
809
|
+
* @param id - Order ID
|
|
810
|
+
* @param options - additional request options
|
|
811
|
+
*/
|
|
812
|
+
get_task_order(id: string, options?: RequestOptions): ResponsePromise<GetTaskOrderResponse>;
|
|
813
|
+
/**
|
|
814
|
+
* GET /task/order/{id}/kds - Get KDS tasks based on passed order ID
|
|
815
|
+
*
|
|
816
|
+
* @param id - Order ID
|
|
817
|
+
* @param options - additional request options
|
|
818
|
+
*/
|
|
819
|
+
get_task_order_kds(id: string, options?: RequestOptions): ResponsePromise<GetTaskOrderKdsResponse>;
|
|
820
|
+
/**
|
|
821
|
+
* PATCH /task/order/{id}/kds - Update an order and its associated tasks
|
|
822
|
+
*
|
|
823
|
+
* @param id - Order ID
|
|
824
|
+
* @param body - Order information that you wish to update
|
|
825
|
+
* @param options - additional request options
|
|
826
|
+
*/
|
|
827
|
+
patch_task_order_kds(id: string, body: PatchTaskOrderKdsBody, options?: RequestOptions): ResponsePromise<PatchTaskOrderKdsResponse>;
|
|
828
|
+
/**
|
|
829
|
+
* GET /task/assignee/{id} - Get Assignee tasks
|
|
830
|
+
*
|
|
831
|
+
* @param id - Assignee ID
|
|
832
|
+
* @param options - additional request options
|
|
833
|
+
*/
|
|
834
|
+
get_task_assignee(id: string, options?: {
|
|
835
|
+
query?: GetTaskAssigneeQuery;
|
|
836
|
+
} & RequestOptions): ResponsePromise<GetTaskAssigneeResponse>;
|
|
837
|
+
/**
|
|
838
|
+
* GET /task/location/brand/{id} - Get location brand tasks
|
|
839
|
+
*
|
|
840
|
+
* @param id - location brand ID
|
|
841
|
+
* @param options - additional request options
|
|
842
|
+
*/
|
|
843
|
+
get_task_location_brand(id: string, options?: {
|
|
844
|
+
query?: GetTaskLocationBrandQuery;
|
|
845
|
+
} & RequestOptions): ResponsePromise<GetTaskLocationBrandResponse>;
|
|
846
|
+
/**
|
|
847
|
+
* GET /task/location/group/{id} - Get location group tasks
|
|
848
|
+
*
|
|
849
|
+
* @param id - Location group ID
|
|
850
|
+
* @param options - additional request options
|
|
851
|
+
*/
|
|
852
|
+
get_task_location_group(id: string, options?: {
|
|
853
|
+
query?: GetTaskLocationGroupQuery;
|
|
854
|
+
} & RequestOptions): ResponsePromise<GetTaskLocationGroupResponse>;
|
|
855
|
+
/**
|
|
856
|
+
* GET /kds/devices - Get kds devices for a specified unit number
|
|
857
|
+
*
|
|
858
|
+
* @param options - additional request options
|
|
859
|
+
*/
|
|
860
|
+
get_kds_devices(options: {
|
|
861
|
+
query: GetKdsDevicesQuery;
|
|
862
|
+
} & RequestOptions): ResponsePromise<GetKdsDevicesResponse>;
|
|
863
|
+
/**
|
|
864
|
+
* POST /kds/device/auth - Get auth token for a device
|
|
865
|
+
*
|
|
866
|
+
* @param body - AuthPostBody object
|
|
867
|
+
* @param options - additional request options
|
|
868
|
+
*/
|
|
869
|
+
post_kds_device_auth(body: PostKdsDeviceAuthBody, options?: RequestOptions): ResponsePromise<PostKdsDeviceAuthResponse>;
|
|
870
|
+
/**
|
|
871
|
+
* DELETE /kds/device/auth/{device_id} - Delete authorization for specified serial_number
|
|
872
|
+
*
|
|
873
|
+
* @param device_id - serial number encoded as cdl id
|
|
874
|
+
* @param options - additional request options
|
|
875
|
+
*/
|
|
876
|
+
delete_kds_device_auth(device_id: string, options?: RequestOptions): ResponsePromise<DeleteKdsDeviceAuthResponse>;
|
|
877
|
+
/**
|
|
878
|
+
* GET /kds/swagger.json - Get a swagger for kds service
|
|
879
|
+
*
|
|
880
|
+
* @param options - additional request options
|
|
881
|
+
*/
|
|
882
|
+
get_kds_swagger(options?: RequestOptions): ResponsePromise<GetKdsSwaggerResponse>;
|
|
883
|
+
/**
|
|
884
|
+
* POST /mealplan/{id} - Authenticate against the meal plan provider
|
|
885
|
+
*
|
|
886
|
+
* @param id - Meal plan ID
|
|
887
|
+
* @param body - User credentials
|
|
888
|
+
* @param options - additional request options
|
|
889
|
+
*/
|
|
890
|
+
post_mealplan(id: string, body: PostMealplanBody, options?: RequestOptions): ResponsePromise<PostMealplanResponse>;
|
|
891
|
+
/**
|
|
892
|
+
* PUT /mealplan/{id} - Save a token for access to the meal plan
|
|
893
|
+
*
|
|
894
|
+
* @param id - Meal plan ID
|
|
895
|
+
* @param body
|
|
896
|
+
* @param options - additional request options
|
|
897
|
+
*/
|
|
898
|
+
put_mealplan(id: string, body: PutMealplanBody, options?: RequestOptions): ResponsePromise<PutMealplanResponse>;
|
|
899
|
+
/**
|
|
900
|
+
* GET /mealplan/{id} - Check the user's meal plan tenders and get the authentication configuration
|
|
901
|
+
*
|
|
902
|
+
* @param id - Meal plan ID
|
|
903
|
+
* @param options - additional request options
|
|
904
|
+
*/
|
|
905
|
+
get_mealplan(id: string, options?: RequestOptions): ResponsePromise<GetMealplanResponse>;
|
|
906
|
+
/**
|
|
907
|
+
* DELETE /mealplan/{id} - Delete a mealplan or a tender from the user's account
|
|
908
|
+
*
|
|
909
|
+
* @param id - Meal plan ID
|
|
910
|
+
* @param body - Tenders to be deleted. If not passed, it will delete all the tenders for this user
|
|
911
|
+
* @param options - additional request options
|
|
912
|
+
*/
|
|
913
|
+
delete_mealplan(id: string, body: DeleteMealplanBody, options?: RequestOptions): ResponsePromise<DeleteMealplanResponse>;
|
|
914
|
+
/**
|
|
915
|
+
* POST /mealplan/{id}/callback - Callback endpoint for meal plans that make a call back from a webview workflow
|
|
916
|
+
*
|
|
917
|
+
* @param id - Meal plan ID
|
|
918
|
+
* @param options - additional request options
|
|
919
|
+
*/
|
|
920
|
+
post_mealplan_callback(id: string, options?: RequestOptions): ResponsePromise<PostMealplanCallbackResponse>;
|
|
921
|
+
/**
|
|
922
|
+
* GET /mealplan/{id}/tender/{tender} - Check the user's tender balance
|
|
923
|
+
*
|
|
924
|
+
* @param id - Meal plan ID
|
|
925
|
+
* @param tender - Tender ID
|
|
926
|
+
* @param options - additional request options
|
|
927
|
+
*/
|
|
928
|
+
get_mealplan_tender(id: string, tender: string, options?: RequestOptions): ResponsePromise<GetMealplanTenderResponse>;
|
|
929
|
+
/**
|
|
930
|
+
* DELETE /mealplan/{id}/tender/{tender} - Debit an amount from the tender balance
|
|
931
|
+
*
|
|
932
|
+
* @param id - Meal plan ID
|
|
933
|
+
* @param tender - Tender ID
|
|
934
|
+
* @param options - additional request options
|
|
935
|
+
*/
|
|
936
|
+
delete_mealplan_tender(id: string, tender: string, options?: RequestOptions): ResponsePromise<DeleteMealplanTenderResponse>;
|
|
937
|
+
/**
|
|
938
|
+
* PATCH /mealplan/{id}/tender/{tender} - Refund an amount to the tender balance
|
|
939
|
+
*
|
|
940
|
+
* @param id - Meal plan ID
|
|
941
|
+
* @param tender - Tender ID
|
|
942
|
+
* @param body
|
|
943
|
+
* @param options - additional request options
|
|
944
|
+
*/
|
|
945
|
+
patch_mealplan_tender(id: string, tender: string, body: PatchMealplanTenderBody, options?: RequestOptions): ResponsePromise<PatchMealplanTenderResponse>;
|
|
946
|
+
/**
|
|
947
|
+
* POST /mealplan/{id}/verify - Send verification email to user linking a mealplan
|
|
948
|
+
*
|
|
949
|
+
* @param id - Meal plan ID
|
|
950
|
+
* @param body - Verification Email Parameters
|
|
951
|
+
* @param options - additional request options
|
|
952
|
+
*/
|
|
953
|
+
post_mealplan_verify(id: string, body: PostMealplanVerifyBody, options?: {
|
|
954
|
+
query?: PostMealplanVerifyQuery;
|
|
955
|
+
} & RequestOptions): ResponsePromise<PostMealplanVerifyResponse>;
|
|
956
|
+
/**
|
|
957
|
+
* PUT /mealplan/{id}/verify - Verify email address using provided payload
|
|
958
|
+
*
|
|
959
|
+
* @param id - Meal plan ID
|
|
960
|
+
* @param body - Verify Email Parameters
|
|
961
|
+
* @param options - additional request options
|
|
962
|
+
*/
|
|
963
|
+
put_mealplan_verify(id: string, body: PutMealplanVerifyBody, options?: RequestOptions): ResponsePromise<PutMealplanVerifyResponse>;
|
|
964
|
+
/**
|
|
965
|
+
* POST /mealplan/{id}/authorize - Authorize Transaction
|
|
966
|
+
*
|
|
967
|
+
* @param id - TODO: add parameter to swagger.json
|
|
968
|
+
* @param body
|
|
969
|
+
* @param options - additional request options
|
|
970
|
+
*/
|
|
971
|
+
post_mealplan_authorize(id: string, body: PostMealplanAuthorizeBody, options?: RequestOptions): ResponsePromise<PostMealplanAuthorizeResponse>;
|
|
972
|
+
/**
|
|
973
|
+
* POST /datalake/sql - Query datalake for data
|
|
974
|
+
*
|
|
975
|
+
* @param body
|
|
976
|
+
* @param options - additional request options
|
|
977
|
+
*/
|
|
978
|
+
post_datalake_sql(body: PostDatalakeSqlBody, options?: RequestOptions): ResponsePromise<PostDatalakeSqlResponse>;
|
|
979
|
+
/**
|
|
980
|
+
* GET /swagger.json
|
|
981
|
+
*
|
|
982
|
+
* @param options - additional request options
|
|
983
|
+
*/
|
|
984
|
+
get_swagger(options?: RequestOptions): ResponsePromise<GetSwaggerResponse>;
|
|
985
|
+
/**
|
|
986
|
+
* POST /promo - Create a new promotion
|
|
987
|
+
*
|
|
988
|
+
* @param body
|
|
989
|
+
* @param options - additional request options
|
|
990
|
+
*/
|
|
991
|
+
post_promo(body: PostPromoBody, options?: RequestOptions): ResponsePromise<PostPromoResponse>;
|
|
992
|
+
/**
|
|
993
|
+
* GET /promo - Get all promotions
|
|
994
|
+
*
|
|
995
|
+
* @param options - additional request options
|
|
996
|
+
*/
|
|
997
|
+
get_promos(options?: {
|
|
998
|
+
query?: GetPromosQuery;
|
|
999
|
+
} & RequestOptions): ResponsePromise<GetPromosResponse>;
|
|
1000
|
+
/**
|
|
1001
|
+
* GET /promo/{id} - Get an individual promotion
|
|
1002
|
+
*
|
|
1003
|
+
* @param id - promo
|
|
1004
|
+
* @param options - additional request options
|
|
1005
|
+
*/
|
|
1006
|
+
get_promo(id: string, options?: {
|
|
1007
|
+
query?: GetPromoQuery;
|
|
1008
|
+
} & RequestOptions): ResponsePromise<GetPromoResponse>;
|
|
1009
|
+
/**
|
|
1010
|
+
* PUT /promo/{id} - Update a promotion
|
|
1011
|
+
*
|
|
1012
|
+
* @param id - Id of a promotion
|
|
1013
|
+
* @param body
|
|
1014
|
+
* @param options - additional request options
|
|
1015
|
+
*/
|
|
1016
|
+
put_promo(id: string, body: PutPromoBody, options?: RequestOptions): ResponsePromise<PutPromoResponse>;
|
|
1017
|
+
/**
|
|
1018
|
+
* DELETE /promo/{id} - Delete promotion
|
|
1019
|
+
*
|
|
1020
|
+
* @param id - Id of a promotion
|
|
1021
|
+
* @param options - additional request options
|
|
1022
|
+
*/
|
|
1023
|
+
delete_promo(id: string, options?: RequestOptions): ResponsePromise<DeletePromoResponse>;
|
|
1024
|
+
/**
|
|
1025
|
+
* GET /promo/company/{company}/location/group/{location_group} - Get all promotions within company for a location group
|
|
1026
|
+
*
|
|
1027
|
+
* @param company - Show promotions for selected company
|
|
1028
|
+
* @param location_group - Show promotions for selected location group
|
|
1029
|
+
* @param options - additional request options
|
|
1030
|
+
*/
|
|
1031
|
+
get_promo_company_location_group(company: string, location_group: string, options?: {
|
|
1032
|
+
query?: GetPromoCompanyLocationGroupQuery;
|
|
1033
|
+
} & RequestOptions): ResponsePromise<GetPromoCompanyLocationGroupResponse>;
|
|
1034
|
+
/**
|
|
1035
|
+
* POST /promo/validate/voucher - Validate a promo voucher
|
|
1036
|
+
*
|
|
1037
|
+
* @param body
|
|
1038
|
+
* @param options - additional request options
|
|
1039
|
+
*/
|
|
1040
|
+
post_promo_validate_voucher(body: PostPromoValidateVoucherBody, options?: RequestOptions): ResponsePromise<PostPromoValidateVoucherResponse>;
|
|
1041
|
+
/**
|
|
1042
|
+
* POST /promo/redeem/voucher - Redeem a promo voucher
|
|
1043
|
+
*
|
|
1044
|
+
* @param body
|
|
1045
|
+
* @param options - additional request options
|
|
1046
|
+
*/
|
|
1047
|
+
post_promo_redeem_voucher(body: PostPromoRedeemVoucherBody, options?: RequestOptions): ResponsePromise<PostPromoRedeemVoucherResponse>;
|
|
1048
|
+
/**
|
|
1049
|
+
* POST /promo/voucher - Create new voucher
|
|
1050
|
+
*
|
|
1051
|
+
* @param body
|
|
1052
|
+
* @param options - additional request options
|
|
1053
|
+
*/
|
|
1054
|
+
post_promo_voucher(body: PostPromoVoucherBody, options?: RequestOptions): ResponsePromise<PostPromoVoucherResponse>;
|
|
1055
|
+
/**
|
|
1056
|
+
* PUT /promo/voucher/{id} - Update voucher
|
|
1057
|
+
*
|
|
1058
|
+
* @param id - TODO: add parameter to swagger.json
|
|
1059
|
+
* @param body
|
|
1060
|
+
* @param options - additional request options
|
|
1061
|
+
*/
|
|
1062
|
+
put_promo_voucher(id: string, body: PutPromoVoucherBody, options?: RequestOptions): ResponsePromise<PutPromoVoucherResponse>;
|
|
1063
|
+
/**
|
|
1064
|
+
* DELETE /promo/voucher/{id} - Delete voucher
|
|
1065
|
+
*
|
|
1066
|
+
* @param id - TODO: add parameter to swagger.json
|
|
1067
|
+
* @param options - additional request options
|
|
1068
|
+
*/
|
|
1069
|
+
delete_promo_voucher(id: string, options?: {
|
|
1070
|
+
query?: DeletePromoVoucherQuery;
|
|
1071
|
+
} & RequestOptions): ResponsePromise<DeletePromoVoucherResponse>;
|
|
1072
|
+
/**
|
|
1073
|
+
* POST /promo/customer/ - Add user to voucherify
|
|
1074
|
+
*
|
|
1075
|
+
* @param body
|
|
1076
|
+
* @param options - additional request options
|
|
1077
|
+
*/
|
|
1078
|
+
post_promo_customer(body: PostPromoCustomerBody, options?: RequestOptions): ResponsePromise<PostPromoCustomerResponse>;
|
|
1079
|
+
/**
|
|
1080
|
+
* DELETE /promo/customer/ - Delete user from voucherify
|
|
1081
|
+
*
|
|
1082
|
+
* @param body
|
|
1083
|
+
* @param options - additional request options
|
|
1084
|
+
*/
|
|
1085
|
+
delete_promo_customer(body: DeletePromoCustomerBody, options?: RequestOptions): ResponsePromise<DeletePromoCustomerResponse>;
|
|
1086
|
+
/**
|
|
1087
|
+
* POST /promo/voucher/{id}/reverse - Reverse a redemption from a promo voucher
|
|
1088
|
+
*
|
|
1089
|
+
* @param id - TODO: add parameter to swagger.json
|
|
1090
|
+
* @param body
|
|
1091
|
+
* @param options - additional request options
|
|
1092
|
+
*/
|
|
1093
|
+
post_promo_voucher_reverse(id: string, body: PostPromoVoucherReverseBody, options?: RequestOptions): ResponsePromise<PostPromoVoucherReverseResponse>;
|
|
1094
|
+
/**
|
|
1095
|
+
* POST /promo/voucherify/activity/execute - Execute a Journey custom Activity request
|
|
1096
|
+
*
|
|
1097
|
+
* @param body
|
|
1098
|
+
* @param options - additional request options
|
|
1099
|
+
*/
|
|
1100
|
+
post_promo_voucherify_activity_execute(body: PostPromoVoucherifyActivityExecuteBody, options?: RequestOptions): ResponsePromise<PostPromoVoucherifyActivityExecuteResponse>;
|
|
1101
|
+
/**
|
|
1102
|
+
* GET /promo/voucherify/activity/config.json - Get SFMC Journey Custom Activity configuration
|
|
1103
|
+
*
|
|
1104
|
+
* @param options - additional request options
|
|
1105
|
+
*/
|
|
1106
|
+
get_promo_voucherify_activity_config(options?: RequestOptions): ResponsePromise<GetPromoVoucherifyActivityConfigResponse>;
|
|
1107
|
+
/**
|
|
1108
|
+
* POST /dh/sql
|
|
1109
|
+
*
|
|
1110
|
+
* @param options - additional request options
|
|
1111
|
+
*/
|
|
1112
|
+
post_dh_sql(options?: RequestOptions): ResponsePromise<PostDhSqlResponse>;
|
|
1113
|
+
/**
|
|
1114
|
+
* GET /config/{key} - get a configuration
|
|
1115
|
+
*
|
|
1116
|
+
* @param key - configuration key
|
|
1117
|
+
* @param options - additional request options
|
|
1118
|
+
*/
|
|
1119
|
+
get_config(key: string, options?: RequestOptions): ResponsePromise<GetConfigResponse>;
|
|
1120
|
+
/**
|
|
1121
|
+
* POST /config/{key} - Create a configuration
|
|
1122
|
+
*
|
|
1123
|
+
* @param key - configuration key
|
|
1124
|
+
* @param body
|
|
1125
|
+
* @param options - additional request options
|
|
1126
|
+
*/
|
|
1127
|
+
post_config(key: string, body: PostConfigBody, options?: RequestOptions): ResponsePromise<PostConfigResponse>;
|
|
1128
|
+
/**
|
|
1129
|
+
* PUT /config/{key} - Update a configuration
|
|
1130
|
+
*
|
|
1131
|
+
* @param key - configuration key
|
|
1132
|
+
* @param body
|
|
1133
|
+
* @param options - additional request options
|
|
1134
|
+
*/
|
|
1135
|
+
put_config(key: string, body: PutConfigBody, options?: RequestOptions): ResponsePromise<PutConfigResponse>;
|
|
1136
|
+
/**
|
|
1137
|
+
* DELETE /config/{key} - Delete a configuration
|
|
1138
|
+
*
|
|
1139
|
+
* @param key - configuration key
|
|
1140
|
+
* @param options - additional request options
|
|
1141
|
+
*/
|
|
1142
|
+
delete_config(key: string, options?: RequestOptions): ResponsePromise<DeleteConfigResponse>;
|
|
1143
|
+
/**
|
|
1144
|
+
* GET /config/public/{key} - get a public configuration
|
|
1145
|
+
*
|
|
1146
|
+
* @param key - configuration key
|
|
1147
|
+
* @param options - additional request options
|
|
1148
|
+
*/
|
|
1149
|
+
get_config_public(key: string, options?: RequestOptions): ResponsePromise<GetConfigPublicResponse>;
|
|
1150
|
+
/**
|
|
1151
|
+
* POST /config/public/{key} - Create a public configuration
|
|
1152
|
+
*
|
|
1153
|
+
* @param key - configuration key
|
|
1154
|
+
* @param body
|
|
1155
|
+
* @param options - additional request options
|
|
1156
|
+
*/
|
|
1157
|
+
post_config_public(key: string, body: PostConfigPublicBody, options?: RequestOptions): ResponsePromise<PostConfigPublicResponse>;
|
|
1158
|
+
/**
|
|
1159
|
+
* PUT /config/public/{key} - Update a public configuration
|
|
1160
|
+
*
|
|
1161
|
+
* @param key - configuration key
|
|
1162
|
+
* @param body
|
|
1163
|
+
* @param options - additional request options
|
|
1164
|
+
*/
|
|
1165
|
+
put_config_public(key: string, body: PutConfigPublicBody, options?: RequestOptions): ResponsePromise<PutConfigPublicResponse>;
|
|
1166
|
+
/**
|
|
1167
|
+
* DELETE /config/public/{key} - Delete a public configuration
|
|
1168
|
+
*
|
|
1169
|
+
* @param key - configuration key
|
|
1170
|
+
* @param options - additional request options
|
|
1171
|
+
*/
|
|
1172
|
+
delete_config_public(key: string, options?: RequestOptions): ResponsePromise<DeleteConfigPublicResponse>;
|
|
1173
|
+
/**
|
|
1174
|
+
* POST /announcement - Create Announcement
|
|
1175
|
+
*
|
|
1176
|
+
* @param body - Announcement
|
|
1177
|
+
* @param options - additional request options
|
|
1178
|
+
*/
|
|
1179
|
+
post_announcement(body: PostAnnouncementBody, options?: RequestOptions): ResponsePromise<PostAnnouncementResponse>;
|
|
1180
|
+
/**
|
|
1181
|
+
* GET /announcement/resource/{id} - Get Announcements for a specific entity
|
|
1182
|
+
*
|
|
1183
|
+
* @param id - Id of the entity to which announcement is specifically related.; TODO: mark parameter as required in swagger
|
|
1184
|
+
* @param options - additional request options
|
|
1185
|
+
*/
|
|
1186
|
+
get_announcement_resource(id: string, options?: {
|
|
1187
|
+
query?: GetAnnouncementResourceQuery;
|
|
1188
|
+
} & RequestOptions): ResponsePromise<GetAnnouncementResourceResponse>;
|
|
1189
|
+
/**
|
|
1190
|
+
* GET /announcement/resource - Get Announcements
|
|
1191
|
+
*
|
|
1192
|
+
* @param options - additional request options
|
|
1193
|
+
*/
|
|
1194
|
+
get_announcement_resources(options?: {
|
|
1195
|
+
query?: GetAnnouncementResourcesQuery;
|
|
1196
|
+
} & RequestOptions): ResponsePromise<GetAnnouncementResourcesResponse>;
|
|
1197
|
+
/**
|
|
1198
|
+
* GET /announcement/{id} - Get Announcement
|
|
1199
|
+
*
|
|
1200
|
+
* @param id - Id of the entity to which announcement is specifically related.
|
|
1201
|
+
* @param options - additional request options
|
|
1202
|
+
*/
|
|
1203
|
+
get_announcement(id: string, options?: RequestOptions): ResponsePromise<GetAnnouncementResponse>;
|
|
1204
|
+
/**
|
|
1205
|
+
* PUT /announcement/{id} - Update Announcement
|
|
1206
|
+
*
|
|
1207
|
+
* @param id - Id of the announcement
|
|
1208
|
+
* @param body - Announcement
|
|
1209
|
+
* @param options - additional request options
|
|
1210
|
+
*/
|
|
1211
|
+
put_announcement(id: string, body: PutAnnouncementBody, options?: RequestOptions): ResponsePromise<PutAnnouncementResponse>;
|
|
1212
|
+
/**
|
|
1213
|
+
* DELETE /announcement/{id} - Delete announcement item
|
|
1214
|
+
*
|
|
1215
|
+
* @param id - Id of the announcement
|
|
1216
|
+
* @param options - additional request options
|
|
1217
|
+
*/
|
|
1218
|
+
delete_announcement(id: string, options?: RequestOptions): ResponsePromise<DeleteAnnouncementResponse>;
|
|
1219
|
+
/**
|
|
1220
|
+
* GET /report/analytics/group/{location_group}/{report_type}
|
|
1221
|
+
*
|
|
1222
|
+
* @param location_group
|
|
1223
|
+
* @param report_type
|
|
1224
|
+
* @param options - additional request options
|
|
1225
|
+
*/
|
|
1226
|
+
get_report_analytics_group(location_group: string, report_type: string, options: {
|
|
1227
|
+
query: GetReportAnalyticsGroupQuery;
|
|
1228
|
+
} & RequestOptions): ResponsePromise<GetReportAnalyticsGroupResponse>;
|
|
1229
|
+
/**
|
|
1230
|
+
* GET /report/analytics/combined/group/{location_group}
|
|
1231
|
+
*
|
|
1232
|
+
* @param location_group
|
|
1233
|
+
* @param options - additional request options
|
|
1234
|
+
*/
|
|
1235
|
+
get_report_analytics_combined_group(location_group: string, options: {
|
|
1236
|
+
query: GetReportAnalyticsCombinedGroupQuery;
|
|
1237
|
+
} & RequestOptions): ResponsePromise<GetReportAnalyticsCombinedGroupResponse>;
|
|
1238
|
+
/**
|
|
1239
|
+
* GET /report/analytics/exactmobile/totals
|
|
1240
|
+
*
|
|
1241
|
+
* @param options - additional request options
|
|
1242
|
+
*/
|
|
1243
|
+
get_report_analytics_exactmobile_totals(options: {
|
|
1244
|
+
query: GetReportAnalyticsExactmobileTotalsQuery;
|
|
1245
|
+
} & RequestOptions): ResponsePromise<GetReportAnalyticsExactmobileTotalsResponse>;
|
|
1246
|
+
/**
|
|
1247
|
+
* GET /report/analytics/exactmobile/transactions
|
|
1248
|
+
*
|
|
1249
|
+
* @param options - additional request options
|
|
1250
|
+
*/
|
|
1251
|
+
get_report_analytics_exactmobile_transactions(options: {
|
|
1252
|
+
query: GetReportAnalyticsExactmobileTransactionsQuery;
|
|
1253
|
+
} & RequestOptions): ResponsePromise<GetReportAnalyticsExactmobileTransactionsResponse>;
|
|
1254
|
+
/**
|
|
1255
|
+
* GET /report/analytics/exactmobile/discrepancies
|
|
1256
|
+
*
|
|
1257
|
+
* @param options - additional request options
|
|
1258
|
+
*/
|
|
1259
|
+
get_report_analytics_exactmobile_discrepancies(options: {
|
|
1260
|
+
query: GetReportAnalyticsExactmobileDiscrepanciesQuery;
|
|
1261
|
+
} & RequestOptions): ResponsePromise<GetReportAnalyticsExactmobileDiscrepanciesResponse>;
|
|
1262
|
+
/**
|
|
1263
|
+
* GET /report/analytics/tracker/report/{id}
|
|
1264
|
+
*
|
|
1265
|
+
* @param id
|
|
1266
|
+
* @param options - additional request options
|
|
1267
|
+
*/
|
|
1268
|
+
get_report_analytics_tracker_report(id: string, options?: RequestOptions): ResponsePromise<GetReportAnalyticsTrackerReportResponse>;
|
|
1269
|
+
/**
|
|
1270
|
+
* GET /report/eod/group/{id} - Get reports for selected location group
|
|
1271
|
+
*
|
|
1272
|
+
* @param id
|
|
1273
|
+
* @param options - additional request options
|
|
1274
|
+
*/
|
|
1275
|
+
get_report_eod_group(id: string, options?: {
|
|
1276
|
+
query?: GetReportEodGroupQuery;
|
|
1277
|
+
} & RequestOptions): ResponsePromise<GetReportEodGroupResponse>;
|
|
1278
|
+
/**
|
|
1279
|
+
* GET /report/eod/group/{id}/subscribers - Get reports for selected location group
|
|
1280
|
+
*
|
|
1281
|
+
* @param id
|
|
1282
|
+
* @param options - additional request options
|
|
1283
|
+
*/
|
|
1284
|
+
get_report_eod_group_subscribers(id: string, options?: RequestOptions): ResponsePromise<GetReportEodGroupSubscribersResponse>;
|
|
1285
|
+
/**
|
|
1286
|
+
* POST /report/eod/group/{id}/subscribers - Add emails to selected location group
|
|
1287
|
+
*
|
|
1288
|
+
* @param id
|
|
1289
|
+
* @param body
|
|
1290
|
+
* @param options - additional request options
|
|
1291
|
+
*/
|
|
1292
|
+
post_report_eod_group_subscribers(id: string, body: PostReportEodGroupSubscribersBody, options?: RequestOptions): ResponsePromise<PostReportEodGroupSubscribersResponse>;
|
|
1293
|
+
/**
|
|
1294
|
+
* DELETE /report/eod/group/{id}/subscribers - deletes subscribers from selected group
|
|
1295
|
+
*
|
|
1296
|
+
* @param id
|
|
1297
|
+
* @param options - additional request options
|
|
1298
|
+
*/
|
|
1299
|
+
delete_report_eod_group_subscribers(id: string, options?: RequestOptions): ResponsePromise<DeleteReportEodGroupSubscribersResponse>;
|
|
1300
|
+
/**
|
|
1301
|
+
* PUT /report/eod/group/{id}/subscribers - replace all subscribers from selected location group with payload
|
|
1302
|
+
*
|
|
1303
|
+
* @param id
|
|
1304
|
+
* @param body
|
|
1305
|
+
* @param options - additional request options
|
|
1306
|
+
*/
|
|
1307
|
+
put_report_eod_group_subscribers(id: string, body: PutReportEodGroupSubscribersBody, options?: RequestOptions): ResponsePromise<PutReportEodGroupSubscribersResponse>;
|
|
1308
|
+
/**
|
|
1309
|
+
* GET /report/discrepancy/subscribers - Get subscribers for discrepency widget
|
|
1310
|
+
*
|
|
1311
|
+
* @param options - additional request options
|
|
1312
|
+
*/
|
|
1313
|
+
get_report_discrepancy_subscribers(options?: {
|
|
1314
|
+
query?: GetReportDiscrepancySubscribersQuery;
|
|
1315
|
+
} & RequestOptions): ResponsePromise<GetReportDiscrepancySubscribersResponse>;
|
|
1316
|
+
/**
|
|
1317
|
+
* DELETE /report/discrepancy/subscribers - deletes subscriber from discrepency
|
|
1318
|
+
*
|
|
1319
|
+
* @param options - additional request options
|
|
1320
|
+
*/
|
|
1321
|
+
delete_report_discrepancy_subscribers(options: {
|
|
1322
|
+
query: DeleteReportDiscrepancySubscribersQuery;
|
|
1323
|
+
} & RequestOptions): ResponsePromise<DeleteReportDiscrepancySubscribersResponse>;
|
|
1324
|
+
/**
|
|
1325
|
+
* POST /report/discrepancy/subscribers - Create new discrepancy subscriber
|
|
1326
|
+
*
|
|
1327
|
+
* @param body
|
|
1328
|
+
* @param options - additional request options
|
|
1329
|
+
*/
|
|
1330
|
+
post_report_discrepancy_subscribers(body: PostReportDiscrepancySubscribersBody, options?: RequestOptions): ResponsePromise<PostReportDiscrepancySubscribersResponse>;
|
|
1331
|
+
/**
|
|
1332
|
+
* GET /user/auth - Gets the JWT token for a user
|
|
1333
|
+
*
|
|
1334
|
+
* @param options - additional request options
|
|
1335
|
+
*/
|
|
1336
|
+
get_user_auth(options?: {
|
|
1337
|
+
query?: GetUserAuthQuery;
|
|
1338
|
+
} & RequestOptions): ResponsePromise<GetUserAuthResponse>;
|
|
1339
|
+
/**
|
|
1340
|
+
* POST /user/auth - Use refresh token to generate a new access token and refresh token
|
|
1341
|
+
*
|
|
1342
|
+
* @param body
|
|
1343
|
+
* @param options - additional request options
|
|
1344
|
+
*/
|
|
1345
|
+
post_user_auth(body: PostUserAuthBody, options?: RequestOptions): ResponsePromise<PostUserAuthResponse>;
|
|
1346
|
+
/**
|
|
1347
|
+
* GET /user/zendesk - Get zendesk JWT token to allow web widget to search restricted articles
|
|
1348
|
+
*
|
|
1349
|
+
* @param options - additional request options
|
|
1350
|
+
*/
|
|
1351
|
+
get_user_zendesk(options?: RequestOptions): ResponsePromise<GetUserZendeskResponse>;
|
|
1352
|
+
/**
|
|
1353
|
+
* POST /user - Create an User
|
|
1354
|
+
*
|
|
1355
|
+
* @param body - User object that needs to be created
|
|
1356
|
+
* @param options - additional request options
|
|
1357
|
+
*/
|
|
1358
|
+
post_user(body: PostUserBody, options?: {
|
|
1359
|
+
query?: PostUserQuery;
|
|
1360
|
+
} & RequestOptions): ResponsePromise<PostUserResponse>;
|
|
1361
|
+
/**
|
|
1362
|
+
* GET /user/{id} - Get an individual user
|
|
1363
|
+
*
|
|
1364
|
+
* @param id - User ID
|
|
1365
|
+
* @param options - additional request options
|
|
1366
|
+
*/
|
|
1367
|
+
get_user(id: string, options?: {
|
|
1368
|
+
query?: GetUserQuery;
|
|
1369
|
+
} & RequestOptions): ResponsePromise<GetUserResponse>;
|
|
1370
|
+
/**
|
|
1371
|
+
* PUT /user/{id} - Update an individual user
|
|
1372
|
+
*
|
|
1373
|
+
* @param id - User ID
|
|
1374
|
+
* @param body - User object that needs to be updated
|
|
1375
|
+
* @param options - additional request options
|
|
1376
|
+
*/
|
|
1377
|
+
put_user(id: string, body: PutUserBody, options?: {
|
|
1378
|
+
query?: PutUserQuery;
|
|
1379
|
+
} & RequestOptions): ResponsePromise<PutUserResponse>;
|
|
1380
|
+
/**
|
|
1381
|
+
* PATCH /user/{id} - Update an individual user
|
|
1382
|
+
*
|
|
1383
|
+
* @param id - User ID
|
|
1384
|
+
* @param body - User properties which should be updated
|
|
1385
|
+
* @param options - additional request options
|
|
1386
|
+
*/
|
|
1387
|
+
patch_user(id: string, body: PatchUserBody, options?: {
|
|
1388
|
+
query?: PatchUserQuery;
|
|
1389
|
+
} & RequestOptions): ResponsePromise<PatchUserResponse>;
|
|
1390
|
+
/**
|
|
1391
|
+
* DELETE /user/{id} - delete an individual user
|
|
1392
|
+
*
|
|
1393
|
+
* @param id - User ID
|
|
1394
|
+
* @param options - additional request options
|
|
1395
|
+
*/
|
|
1396
|
+
delete_user(id: string, options?: {
|
|
1397
|
+
query?: DeleteUserQuery;
|
|
1398
|
+
} & RequestOptions): ResponsePromise<DeleteUserResponse>;
|
|
1399
|
+
/**
|
|
1400
|
+
* POST /user/device/auth - Endpoint for generating/retrieving KDS device token
|
|
1401
|
+
*
|
|
1402
|
+
* @param body
|
|
1403
|
+
* @param options - additional request options
|
|
1404
|
+
*/
|
|
1405
|
+
post_user_kds_token(body: PostUserKdsTokenBody, options?: RequestOptions): ResponsePromise<PostUserKdsTokenResponse>;
|
|
1406
|
+
/**
|
|
1407
|
+
* GET /user/device/auth - Endpoint retrieving KDS device token
|
|
1408
|
+
*
|
|
1409
|
+
* @param options - additional request options
|
|
1410
|
+
*/
|
|
1411
|
+
get_user_kds_token(options?: {
|
|
1412
|
+
query?: GetUserKdsTokenQuery;
|
|
1413
|
+
} & RequestOptions): ResponsePromise<GetUserKdsTokenResponse>;
|
|
1414
|
+
/**
|
|
1415
|
+
* DELETE /user/device/auth/{device_id} - Endpoint for deleting a device by specified device_id
|
|
1416
|
+
*
|
|
1417
|
+
* @param device_id - KDS device ID
|
|
1418
|
+
* @param options - additional request options
|
|
1419
|
+
*/
|
|
1420
|
+
delete_user_device_auth(device_id: string, options?: RequestOptions): ResponsePromise<DeleteUserDeviceAuthResponse>;
|
|
1421
|
+
/**
|
|
1422
|
+
* PATCH /user/device/auth/{device_id} - Endpoint for authorizing device to retrieve valid kds token
|
|
1423
|
+
*
|
|
1424
|
+
* @param device_id - KDS device ID
|
|
1425
|
+
* @param options - additional request options
|
|
1426
|
+
*/
|
|
1427
|
+
patch_user_auth_kds(device_id: string, options?: RequestOptions): ResponsePromise<PatchUserAuthKdsResponse>;
|
|
1428
|
+
/**
|
|
1429
|
+
* POST /user/{id}/changepassword - Change the users password
|
|
1430
|
+
*
|
|
1431
|
+
* @param id - User ID
|
|
1432
|
+
* @param body
|
|
1433
|
+
* @param options - additional request options
|
|
1434
|
+
*/
|
|
1435
|
+
post_user_change_password(id: string, body: PostUserChangePasswordBody, options?: RequestOptions): ResponsePromise<PostUserChangePasswordResponse>;
|
|
1436
|
+
/**
|
|
1437
|
+
* DELETE /user/logout - Logs out current user
|
|
1438
|
+
*
|
|
1439
|
+
* @param options - additional request options
|
|
1440
|
+
*/
|
|
1441
|
+
delete_user_logout(options?: RequestOptions): ResponsePromise<DeleteUserLogoutResponse>;
|
|
1442
|
+
/**
|
|
1443
|
+
* POST /user/{id}/secret/{key} - Add a secret key
|
|
1444
|
+
*
|
|
1445
|
+
* @param id - User ID
|
|
1446
|
+
* @param key
|
|
1447
|
+
* @param body - Secret to be stored
|
|
1448
|
+
* @param options - additional request options
|
|
1449
|
+
*/
|
|
1450
|
+
post_user_add_secret(id: string, key: string, body: PostUserAddSecretBody, options?: RequestOptions): ResponsePromise<PostUserAddSecretResponse>;
|
|
1451
|
+
/**
|
|
1452
|
+
* GET /user/{id}/secret/{key} - Get back a secret key
|
|
1453
|
+
*
|
|
1454
|
+
* @param id - User ID
|
|
1455
|
+
* @param key
|
|
1456
|
+
* @param options - additional request options
|
|
1457
|
+
*/
|
|
1458
|
+
get_user_secret(id: string, key: string, options?: RequestOptions): ResponsePromise<GetUserSecretResponse>;
|
|
1459
|
+
/**
|
|
1460
|
+
* POST /user/forgotpassword - Reset the users password
|
|
1461
|
+
*
|
|
1462
|
+
* @param body
|
|
1463
|
+
* @param options - additional request options
|
|
1464
|
+
*/
|
|
1465
|
+
post_user_reset_password(body: PostUserResetPasswordBody, options?: {
|
|
1466
|
+
query?: PostUserResetPasswordQuery;
|
|
1467
|
+
} & RequestOptions): ResponsePromise<PostUserResetPasswordResponse>;
|
|
1468
|
+
/**
|
|
1469
|
+
* POST /user/{id}/resetpassword - Reset the users password using a reset token
|
|
1470
|
+
*
|
|
1471
|
+
* @param id - realm
|
|
1472
|
+
* @param body
|
|
1473
|
+
* @param options - additional request options
|
|
1474
|
+
*/
|
|
1475
|
+
post_user_reset_password_token(id: string, body: PostUserResetPasswordTokenBody, options: {
|
|
1476
|
+
query: PostUserResetPasswordTokenQuery;
|
|
1477
|
+
} & RequestOptions): ResponsePromise<PostUserResetPasswordTokenResponse>;
|
|
1478
|
+
/**
|
|
1479
|
+
* GET /user/realm/{realm} - Get all the users in a realm
|
|
1480
|
+
*
|
|
1481
|
+
* @param realm - realm
|
|
1482
|
+
* @param options - additional request options
|
|
1483
|
+
*/
|
|
1484
|
+
get_user_realm_users(realm: string, options?: {
|
|
1485
|
+
query?: GetUserRealmUsersQuery;
|
|
1486
|
+
} & RequestOptions): ResponsePromise<GetUserRealmUsersResponse>;
|
|
1487
|
+
/**
|
|
1488
|
+
* GET /user/{id}/permissions - Get user permissions
|
|
1489
|
+
*
|
|
1490
|
+
* @param id - user
|
|
1491
|
+
* @param options - additional request options
|
|
1492
|
+
*/
|
|
1493
|
+
get_user_permissions(id: string, options?: {
|
|
1494
|
+
query?: GetUserPermissionsQuery;
|
|
1495
|
+
} & RequestOptions): ResponsePromise<GetUserPermissionsResponse>;
|
|
1496
|
+
/**
|
|
1497
|
+
* PUT /user/{id}/permissions - Update user permissions
|
|
1498
|
+
*
|
|
1499
|
+
* @param id - user
|
|
1500
|
+
* @param body
|
|
1501
|
+
* @param options - additional request options
|
|
1502
|
+
*/
|
|
1503
|
+
put_user_permissions(id: string, body: PutUserPermissionsBody, options?: {
|
|
1504
|
+
query?: PutUserPermissionsQuery;
|
|
1505
|
+
} & RequestOptions): ResponsePromise<PutUserPermissionsResponse>;
|
|
1506
|
+
/**
|
|
1507
|
+
* POST /user/{id}/checkin - Create check-in for user
|
|
1508
|
+
*
|
|
1509
|
+
* @param id - UserId of user who wants to checkin
|
|
1510
|
+
* @param body
|
|
1511
|
+
* @param options - additional request options
|
|
1512
|
+
*/
|
|
1513
|
+
post_user_check_in(id: string, body: PostUserCheckInBody, options?: RequestOptions): ResponsePromise<PostUserCheckInResponse>;
|
|
1514
|
+
/**
|
|
1515
|
+
* PATCH /user/{id}/checkin/{checkin_id} - Update check-in
|
|
1516
|
+
*
|
|
1517
|
+
* @param id - UserId of user who wants to checkin
|
|
1518
|
+
* @param checkin_id - Checkin id
|
|
1519
|
+
* @param body - The updated state/date_queued of the check-in
|
|
1520
|
+
* @param options - additional request options
|
|
1521
|
+
*/
|
|
1522
|
+
patch_user_checkin(id: string, checkin_id: string, body: PatchUserCheckinBody, options?: RequestOptions): ResponsePromise<PatchUserCheckinResponse>;
|
|
1523
|
+
/**
|
|
1524
|
+
* GET /user/checkin/search - Search check-in
|
|
1525
|
+
*
|
|
1526
|
+
* @param options - additional request options
|
|
1527
|
+
*/
|
|
1528
|
+
get_user_search_check_in(options?: {
|
|
1529
|
+
query?: GetUserSearchCheckInQuery;
|
|
1530
|
+
} & RequestOptions): ResponsePromise<GetUserSearchCheckInResponse>;
|
|
1531
|
+
/**
|
|
1532
|
+
* POST /user/{id}/verification - Send email verification to user
|
|
1533
|
+
*
|
|
1534
|
+
* @param id - realm
|
|
1535
|
+
* @param options - additional request options
|
|
1536
|
+
*/
|
|
1537
|
+
post_user_send_email_verification(id: string, options?: RequestOptions): ResponsePromise<PostUserSendEmailVerificationResponse>;
|
|
1538
|
+
/**
|
|
1539
|
+
* PUT /user/{id}/verification/confirm - Verify a users email
|
|
1540
|
+
*
|
|
1541
|
+
* @param id - realm
|
|
1542
|
+
* @param body
|
|
1543
|
+
* @param options - additional request options
|
|
1544
|
+
*/
|
|
1545
|
+
put_user_verify_user_email(id: string, body: PutUserVerifyUserEmailBody, options?: RequestOptions): ResponsePromise<PutUserVerifyUserEmailResponse>;
|
|
1546
|
+
/**
|
|
1547
|
+
* POST /loyalty/{id}/enroll/{user_id} - Enroll logged in user in Loyalty program
|
|
1548
|
+
*
|
|
1549
|
+
* @param id - Loyalty Provider id
|
|
1550
|
+
* @param user_id - CompassDigital User id
|
|
1551
|
+
* @param options - additional request options
|
|
1552
|
+
*/
|
|
1553
|
+
post_loyalty_enroll(id: string, user_id: string, options?: {
|
|
1554
|
+
query?: PostLoyaltyEnrollQuery;
|
|
1555
|
+
} & RequestOptions): ResponsePromise<PostLoyaltyEnrollResponse>;
|
|
1556
|
+
/**
|
|
1557
|
+
* GET /loyalty/{id}/points - Get potential points user could earn from certain event in Loyalty program
|
|
1558
|
+
*
|
|
1559
|
+
* @param id - Loyalty Provider id
|
|
1560
|
+
* @param options - additional request options
|
|
1561
|
+
*/
|
|
1562
|
+
get_loyalty_points(id: string, options: {
|
|
1563
|
+
query: GetLoyaltyPointsQuery;
|
|
1564
|
+
} & RequestOptions): ResponsePromise<GetLoyaltyPointsResponse>;
|
|
1565
|
+
/**
|
|
1566
|
+
* GET /loyalty/{id}/offers/{user_id} - Get offers for the logged in user
|
|
1567
|
+
*
|
|
1568
|
+
* @param id - Loyalty Provider id
|
|
1569
|
+
* @param user_id - CompassDigital User id
|
|
1570
|
+
* @param options - additional request options
|
|
1571
|
+
*/
|
|
1572
|
+
get_loyalty_offers(id: string, user_id: string, options?: RequestOptions): ResponsePromise<GetLoyaltyOffersResponse>;
|
|
1573
|
+
/**
|
|
1574
|
+
* GET /loyalty/{id}/enrollmentstatus/{user_id} - Get enrollment status for logged in user
|
|
1575
|
+
*
|
|
1576
|
+
* @param id - Loyalty Provider id
|
|
1577
|
+
* @param user_id - CompassDigital User id
|
|
1578
|
+
* @param options - additional request options
|
|
1579
|
+
*/
|
|
1580
|
+
get_loyalty_enrollmentstatus(id: string, user_id: string, options?: RequestOptions): ResponsePromise<GetLoyaltyEnrollmentstatusResponse>;
|
|
1581
|
+
/**
|
|
1582
|
+
* GET /loyalty/{id}/balance/{user_id} - Get loyalty point balance for logged in user
|
|
1583
|
+
*
|
|
1584
|
+
* @param id - Loyalty Provider id
|
|
1585
|
+
* @param user_id - CompassDigital User id
|
|
1586
|
+
* @param options - additional request options
|
|
1587
|
+
*/
|
|
1588
|
+
get_loyalty_balance(id: string, user_id: string, options?: RequestOptions): ResponsePromise<GetLoyaltyBalanceResponse>;
|
|
1589
|
+
/**
|
|
1590
|
+
* GET /loyalty/{id}/opportunities/{user_id} - Get earning opportunities for the logged in user
|
|
1591
|
+
*
|
|
1592
|
+
* @param id - Loyalty Provider id
|
|
1593
|
+
* @param user_id - CompassDigital User id
|
|
1594
|
+
* @param options - additional request options
|
|
1595
|
+
*/
|
|
1596
|
+
get_loyalty_opportunities(id: string, user_id: string, options?: {
|
|
1597
|
+
query?: GetLoyaltyOpportunitiesQuery;
|
|
1598
|
+
} & RequestOptions): ResponsePromise<GetLoyaltyOpportunitiesResponse>;
|
|
1599
|
+
/**
|
|
1600
|
+
* POST /loyalty/{id}/opportunities/{user_id} - Record an event for the logged in user
|
|
1601
|
+
*
|
|
1602
|
+
* @param id - Loyalty Provider id
|
|
1603
|
+
* @param user_id - CompassDigital User id
|
|
1604
|
+
* @param options - additional request options
|
|
1605
|
+
*/
|
|
1606
|
+
post_loyalty_opportunities(id: string, user_id: string, options: {
|
|
1607
|
+
query: PostLoyaltyOpportunitiesQuery;
|
|
1608
|
+
} & RequestOptions): ResponsePromise<PostLoyaltyOpportunitiesResponse>;
|
|
1609
|
+
/**
|
|
1610
|
+
* GET /loyalty/{id}/rewards/{user_id} - Get rewards available for the logged in user
|
|
1611
|
+
*
|
|
1612
|
+
* @param id - Loyalty Provider id
|
|
1613
|
+
* @param user_id - CompassDigital User id
|
|
1614
|
+
* @param options - additional request options
|
|
1615
|
+
*/
|
|
1616
|
+
get_loyalty_rewards(id: string, user_id: string, options?: RequestOptions): ResponsePromise<GetLoyaltyRewardsResponse>;
|
|
1617
|
+
/**
|
|
1618
|
+
* GET /loyalty/{id}/coupons/{user_id} - Get coupons available for the logged in user
|
|
1619
|
+
*
|
|
1620
|
+
* @param id - Loyalty Provider id
|
|
1621
|
+
* @param user_id - CompassDigital User id
|
|
1622
|
+
* @param options - additional request options
|
|
1623
|
+
*/
|
|
1624
|
+
get_loyalty_coupons(id: string, user_id: string, options?: RequestOptions): ResponsePromise<GetLoyaltyCouponsResponse>;
|
|
1625
|
+
/**
|
|
1626
|
+
* GET /loyalty/{id}/orderpoints/{user_id} - Get potential loyalty point points for an order based on amount.
|
|
1627
|
+
*
|
|
1628
|
+
* @param id - Loyalty Provider id
|
|
1629
|
+
* @param user_id - CompassDigital User id
|
|
1630
|
+
* @param options - additional request options
|
|
1631
|
+
*/
|
|
1632
|
+
get_loyalty_orderpoints(id: string, user_id: string, options: {
|
|
1633
|
+
query: GetLoyaltyOrderpointsQuery;
|
|
1634
|
+
} & RequestOptions): ResponsePromise<GetLoyaltyOrderpointsResponse>;
|
|
1635
|
+
/**
|
|
1636
|
+
* POST /loyalty/{id}/orderpoints/{user_id} - Get potential loyalty point points for a order based on amount and items
|
|
1637
|
+
*
|
|
1638
|
+
* @param id - Loyalty Provider id
|
|
1639
|
+
* @param user_id - CompassDigital User id
|
|
1640
|
+
* @param body
|
|
1641
|
+
* @param options - additional request options
|
|
1642
|
+
*/
|
|
1643
|
+
post_loyalty_orderpoints(id: string, user_id: string, body: PostLoyaltyOrderpointsBody, options?: RequestOptions): ResponsePromise<PostLoyaltyOrderpointsResponse>;
|
|
1644
|
+
/**
|
|
1645
|
+
* POST /loyalty/{id}/purchase/{user_id} - Record purchase event
|
|
1646
|
+
*
|
|
1647
|
+
* @param id - Loyalty Provider id
|
|
1648
|
+
* @param user_id - CompassDigital User id
|
|
1649
|
+
* @param body
|
|
1650
|
+
* @param options - additional request options
|
|
1651
|
+
*/
|
|
1652
|
+
post_loyalty_purchase(id: string, user_id: string, body: PostLoyaltyPurchaseBody, options?: {
|
|
1653
|
+
query?: PostLoyaltyPurchaseQuery;
|
|
1654
|
+
} & RequestOptions): ResponsePromise<PostLoyaltyPurchaseResponse>;
|
|
1655
|
+
/**
|
|
1656
|
+
* POST /loyalty/{id}/buyreward/{user_id} - Redeem rewards to coupons
|
|
1657
|
+
*
|
|
1658
|
+
* @param id - Loyalty Provider id
|
|
1659
|
+
* @param user_id - CompassDigital User id
|
|
1660
|
+
* @param body
|
|
1661
|
+
* @param options - additional request options
|
|
1662
|
+
*/
|
|
1663
|
+
post_loyalty_buyreward(id: string, user_id: string, body: PostLoyaltyBuyrewardBody, options?: {
|
|
1664
|
+
query?: PostLoyaltyBuyrewardQuery;
|
|
1665
|
+
} & RequestOptions): ResponsePromise<PostLoyaltyBuyrewardResponse>;
|
|
1666
|
+
/**
|
|
1667
|
+
* GET /loyalty/{id}/history/{user_id} - Get history of loyalty transactions for user
|
|
1668
|
+
*
|
|
1669
|
+
* @param id - Loyalty Provider id
|
|
1670
|
+
* @param user_id - CompassDigital User id
|
|
1671
|
+
* @param options - additional request options
|
|
1672
|
+
*/
|
|
1673
|
+
get_loyalty_history(id: string, user_id: string, options?: {
|
|
1674
|
+
query?: GetLoyaltyHistoryQuery;
|
|
1675
|
+
} & RequestOptions): ResponsePromise<GetLoyaltyHistoryResponse>;
|
|
1676
|
+
/**
|
|
1677
|
+
* GET /loyalty/{id}/coupon/{user_id}/{coupon_id} - get coupon's information
|
|
1678
|
+
*
|
|
1679
|
+
* @param id - Loyalty Provider id
|
|
1680
|
+
* @param user_id - CompassDigital User id
|
|
1681
|
+
* @param coupon_id - Coupon code to get coupon information
|
|
1682
|
+
* @param options - additional request options
|
|
1683
|
+
*/
|
|
1684
|
+
get_loyalty_coupon(id: string, user_id: string, coupon_id: string, options?: RequestOptions): ResponsePromise<GetLoyaltyCouponResponse>;
|
|
1685
|
+
/**
|
|
1686
|
+
* PATCH /loyalty/{id}/coupon/{user_id}/{coupon_id} - Update coupon's status
|
|
1687
|
+
*
|
|
1688
|
+
* @param id - Loyalty Provider id
|
|
1689
|
+
* @param user_id - CompassDigital User id
|
|
1690
|
+
* @param coupon_id - Coupon code to update
|
|
1691
|
+
* @param body
|
|
1692
|
+
* @param options - additional request options
|
|
1693
|
+
*/
|
|
1694
|
+
patch_loyalty_coupon(id: string, user_id: string, coupon_id: string, body: PatchLoyaltyCouponBody, options?: RequestOptions): ResponsePromise<PatchLoyaltyCouponResponse>;
|
|
1695
|
+
/**
|
|
1696
|
+
* GET /loyalty/{id}/search - Search CDL user id by internal 500friends id
|
|
1697
|
+
*
|
|
1698
|
+
* @param id - Loyalty Provider id
|
|
1699
|
+
* @param options - additional request options
|
|
1700
|
+
*/
|
|
1701
|
+
get_loyalty_search(id: string, options: {
|
|
1702
|
+
query: GetLoyaltySearchQuery;
|
|
1703
|
+
} & RequestOptions): ResponsePromise<GetLoyaltySearchResponse>;
|
|
1704
|
+
/**
|
|
1705
|
+
* GET /loyalty/{id}/users - Get all loyalty users updated after specific date
|
|
1706
|
+
*
|
|
1707
|
+
* @param id - Loyalty Provider id
|
|
1708
|
+
* @param options - additional request options
|
|
1709
|
+
*/
|
|
1710
|
+
get_loyalty_users(id: string, options: {
|
|
1711
|
+
query: GetLoyaltyUsersQuery;
|
|
1712
|
+
} & RequestOptions): ResponsePromise<GetLoyaltyUsersResponse>;
|
|
1713
|
+
/**
|
|
1714
|
+
* GET /loyalty/{id}/events - Get all loyalty events updated after specific date
|
|
1715
|
+
*
|
|
1716
|
+
* @param id - Loyalty Provider id
|
|
1717
|
+
* @param options - additional request options
|
|
1718
|
+
*/
|
|
1719
|
+
get_loyalty_events(id: string, options: {
|
|
1720
|
+
query: GetLoyaltyEventsQuery;
|
|
1721
|
+
} & RequestOptions): ResponsePromise<GetLoyaltyEventsResponse>;
|
|
1722
|
+
/**
|
|
1723
|
+
* GET /brand/{id}
|
|
1724
|
+
*
|
|
1725
|
+
* @param id - TODO: add parameter to swagger.json
|
|
1726
|
+
* @param options - additional request options
|
|
1727
|
+
*/
|
|
1728
|
+
get_brand(id: string, options?: RequestOptions): ResponsePromise<GetBrandResponse>;
|
|
1729
|
+
/**
|
|
1730
|
+
* GET /brand
|
|
1731
|
+
*
|
|
1732
|
+
* @param options - additional request options
|
|
1733
|
+
*/
|
|
1734
|
+
get_brands(options?: RequestOptions): ResponsePromise<GetBrandsResponse>;
|
|
1735
|
+
/**
|
|
1736
|
+
* GET /calendar/{id}
|
|
1737
|
+
*
|
|
1738
|
+
* @param id - brand
|
|
1739
|
+
* @param options - additional request options
|
|
1740
|
+
*/
|
|
1741
|
+
get_calendar(id: string, options?: RequestOptions): ResponsePromise<GetCalendarResponse>;
|
|
1742
|
+
/**
|
|
1743
|
+
* PUT /calendar/{id} - Set the calendar for an id. Overrides previous record
|
|
1744
|
+
*
|
|
1745
|
+
* @param id - brand
|
|
1746
|
+
* @param body
|
|
1747
|
+
* @param options - additional request options
|
|
1748
|
+
*/
|
|
1749
|
+
put_calendar(id: string, body: PutCalendarBody, options?: RequestOptions): ResponsePromise<PutCalendarResponse>;
|
|
1750
|
+
/**
|
|
1751
|
+
* GET /calendar/{id}/cdl - Get the calendar events in a CDL compatible format for next 7 days
|
|
1752
|
+
*
|
|
1753
|
+
* @param id - brand
|
|
1754
|
+
* @param options - additional request options
|
|
1755
|
+
*/
|
|
1756
|
+
get_calendar_cdl(id: string, options?: {
|
|
1757
|
+
query?: GetCalendarCdlQuery;
|
|
1758
|
+
} & RequestOptions): ResponsePromise<GetCalendarCdlResponse>;
|
|
1759
|
+
/**
|
|
1760
|
+
* GET /calendar/swagger.json
|
|
1761
|
+
*
|
|
1762
|
+
* @param options - additional request options
|
|
1763
|
+
*/
|
|
1764
|
+
get_calendar_swagger(options?: RequestOptions): ResponsePromise<GetCalendarSwaggerResponse>;
|
|
1765
|
+
/**
|
|
1766
|
+
* POST /calendar/{id}/sync - Trigger synchronization of calendar to location API
|
|
1767
|
+
*
|
|
1768
|
+
* @param id - brand
|
|
1769
|
+
* @param options - additional request options
|
|
1770
|
+
*/
|
|
1771
|
+
post_calendar_sync(id: string, options?: RequestOptions): ResponsePromise<PostCalendarSyncResponse>;
|
|
1772
|
+
/**
|
|
1773
|
+
* POST /delivery/order - make reservation
|
|
1774
|
+
*
|
|
1775
|
+
* @param body - reservation
|
|
1776
|
+
* @param options - additional request options
|
|
1777
|
+
*/
|
|
1778
|
+
post_delivery_order(body: PostDeliveryOrderBody, options?: RequestOptions): ResponsePromise<PostDeliveryOrderResponse>;
|
|
1779
|
+
/**
|
|
1780
|
+
* PATCH /delivery/order/{order_id} - confirm order
|
|
1781
|
+
*
|
|
1782
|
+
* @param order_id - TODO: add parameter to swagger.json
|
|
1783
|
+
* @param options - additional request options
|
|
1784
|
+
*/
|
|
1785
|
+
patch_delivery_order(order_id: string, options?: RequestOptions): ResponsePromise<PatchDeliveryOrderResponse>;
|
|
1786
|
+
/**
|
|
1787
|
+
* GET /delivery/order/{order_id} - get order
|
|
1788
|
+
*
|
|
1789
|
+
* @param order_id - TODO: add parameter to swagger.json
|
|
1790
|
+
* @param options - additional request options
|
|
1791
|
+
*/
|
|
1792
|
+
get_delivery_order(order_id: string, options?: RequestOptions): ResponsePromise<GetDeliveryOrderResponse>;
|
|
1793
|
+
/**
|
|
1794
|
+
* POST /schedule - Create a new schedule
|
|
1795
|
+
*
|
|
1796
|
+
* @param body
|
|
1797
|
+
* @param options - additional request options
|
|
1798
|
+
*/
|
|
1799
|
+
post_schedule(body: PostScheduleBody, options?: RequestOptions): ResponsePromise<PostScheduleResponse>;
|
|
1800
|
+
/**
|
|
1801
|
+
* GET /schedule - Get schedule
|
|
1802
|
+
*
|
|
1803
|
+
* @param options - additional request options
|
|
1804
|
+
*/
|
|
1805
|
+
get_schedules(options: {
|
|
1806
|
+
query: GetSchedulesQuery;
|
|
1807
|
+
} & RequestOptions): ResponsePromise<GetSchedulesResponse>;
|
|
1808
|
+
/**
|
|
1809
|
+
* GET /schedule/{id} - Get an individual schedule
|
|
1810
|
+
*
|
|
1811
|
+
* @param id - schedule id
|
|
1812
|
+
* @param options - additional request options
|
|
1813
|
+
*/
|
|
1814
|
+
get_schedule(id: string, options?: RequestOptions): ResponsePromise<GetScheduleResponse>;
|
|
1815
|
+
/**
|
|
1816
|
+
* PUT /schedule/{id} - Update a schedule
|
|
1817
|
+
*
|
|
1818
|
+
* @param id - Id of a schedule
|
|
1819
|
+
* @param body
|
|
1820
|
+
* @param options - additional request options
|
|
1821
|
+
*/
|
|
1822
|
+
put_schedule(id: string, body: PutScheduleBody, options?: RequestOptions): ResponsePromise<PutScheduleResponse>;
|
|
1823
|
+
/**
|
|
1824
|
+
* DELETE /schedule/{id} - Delete schedule
|
|
1825
|
+
*
|
|
1826
|
+
* @param id - Id of a schedule
|
|
1827
|
+
* @param options - additional request options
|
|
1828
|
+
*/
|
|
1829
|
+
delete_schedule(id: string, options?: RequestOptions): ResponsePromise<DeleteScheduleResponse>;
|
|
1830
|
+
/**
|
|
1831
|
+
* POST /vote - Submit a vote for an item
|
|
1832
|
+
*
|
|
1833
|
+
* @param body
|
|
1834
|
+
* @param options - additional request options
|
|
1835
|
+
*/
|
|
1836
|
+
post_vote(body: PostVoteBody, options?: RequestOptions): ResponsePromise<PostVoteResponse>;
|
|
1837
|
+
/**
|
|
1838
|
+
* GET /vote/idfa/{idfa} - Get votes for an idfa
|
|
1839
|
+
*
|
|
1840
|
+
* @param idfa - TODO: add parameter to swagger.json
|
|
1841
|
+
* @param options - additional request options
|
|
1842
|
+
*/
|
|
1843
|
+
get_vote_idfa(idfa: string, options?: {
|
|
1844
|
+
query?: GetVoteIdfaQuery;
|
|
1845
|
+
} & RequestOptions): ResponsePromise<GetVoteIdfaResponse>;
|
|
1846
|
+
/**
|
|
1847
|
+
* POST /file - Upload a file to CDL S3
|
|
1848
|
+
*
|
|
1849
|
+
* @param body
|
|
1850
|
+
* @param options - additional request options
|
|
1851
|
+
*/
|
|
1852
|
+
post_file(body: PostFileBody, options?: RequestOptions): ResponsePromise<PostFileResponse>;
|
|
1853
|
+
/**
|
|
1854
|
+
* POST /message - Create a Message
|
|
1855
|
+
*
|
|
1856
|
+
* @param body - Message object that needs to be created
|
|
1857
|
+
* @param options - additional request options
|
|
1858
|
+
*/
|
|
1859
|
+
post_message(body: PostMessageBody, options?: RequestOptions): ResponsePromise<PostMessageResponse>;
|
|
1860
|
+
/**
|
|
1861
|
+
* GET /message/{id} - Get a Message
|
|
1862
|
+
*
|
|
1863
|
+
* @param id - Message CDL encoded id
|
|
1864
|
+
* @param options - additional request options
|
|
1865
|
+
*/
|
|
1866
|
+
get_message(id: string, options?: RequestOptions): ResponsePromise<GetMessageResponse>;
|
|
1867
|
+
/**
|
|
1868
|
+
* GET /logger/{id}/brand/status - Get status changes of all brands
|
|
1869
|
+
*
|
|
1870
|
+
* @param id - action
|
|
1871
|
+
* @param options - additional request options
|
|
1872
|
+
*/
|
|
1873
|
+
get_logger_brand_status(id: string, options?: {
|
|
1874
|
+
query?: GetLoggerBrandStatusQuery;
|
|
1875
|
+
} & RequestOptions): ResponsePromise<GetLoggerBrandStatusResponse>;
|
|
1876
|
+
}
|
|
1877
|
+
//# sourceMappingURL=index.d.ts.map
|