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