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