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