@compassdigital/sdk.typescript 3.0.0-beta.9 → 3.0.0-rc.2
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 +98 -40
- package/lib/base.d.ts +129 -9
- package/lib/base.d.ts.map +1 -1
- package/lib/base.js +276 -53
- 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 +317 -18
- 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} +53 -23
- 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 +274 -43
- package/src/index.ts +1319 -764
- 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} +79 -38
- 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/src/index.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
2
|
+
|
|
1
3
|
import {
|
|
2
4
|
PostPaymentTransactionBody,
|
|
3
5
|
PostPaymentTransactionResponse,
|
|
@@ -26,7 +28,7 @@ import {
|
|
|
26
28
|
GetPaymentMethodsResponse,
|
|
27
29
|
GetPaymentHpcQuery,
|
|
28
30
|
GetPaymentHpcResponse,
|
|
29
|
-
} from "./payment";
|
|
31
|
+
} from "./interface/payment";
|
|
30
32
|
|
|
31
33
|
import {
|
|
32
34
|
PostOrderQuery,
|
|
@@ -43,13 +45,14 @@ import {
|
|
|
43
45
|
GetOrderCustomerOrdersQuery,
|
|
44
46
|
GetOrderCustomerOrdersResponse,
|
|
45
47
|
GetOrderCustomerOrdersBrandResponse,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
+
GetOrderLocationBrandQuery,
|
|
49
|
+
GetOrderLocationBrandResponse,
|
|
48
50
|
GetOrderLocationOrdersQuery,
|
|
49
51
|
GetOrderLocationOrdersResponse,
|
|
50
52
|
GetOrderGroupOrdersQuery,
|
|
51
53
|
GetOrderGroupOrdersResponse,
|
|
52
|
-
|
|
54
|
+
PatchOrderCheckinResponse,
|
|
55
|
+
} from "./interface/order";
|
|
53
56
|
|
|
54
57
|
import {
|
|
55
58
|
PostLocationBody,
|
|
@@ -68,6 +71,7 @@ import {
|
|
|
68
71
|
GetLocationPosResponse,
|
|
69
72
|
PutLocationPosBody,
|
|
70
73
|
PutLocationPosResponse,
|
|
74
|
+
GetLocationMultigroupsQuery,
|
|
71
75
|
GetLocationMultigroupsResponse,
|
|
72
76
|
PostLocationMultigroupBody,
|
|
73
77
|
PostLocationMultigroupResponse,
|
|
@@ -95,10 +99,11 @@ import {
|
|
|
95
99
|
GetLocationGroupDeliverydestinationsResponse,
|
|
96
100
|
PostLocationGroupDeliverydestinationBody,
|
|
97
101
|
PostLocationGroupDeliverydestinationResponse,
|
|
98
|
-
GetLocationGroupDeliverydestinationResponse,
|
|
99
102
|
PatchLocationGroupDeliverydestinationBody,
|
|
100
103
|
PatchLocationGroupDeliverydestinationResponse,
|
|
104
|
+
DeleteLocationGroupDeliverydestinationBody,
|
|
101
105
|
DeleteLocationGroupDeliverydestinationResponse,
|
|
106
|
+
GetLocationGroupDeliverydestinationResponse,
|
|
102
107
|
GetLocationUserGroupQuery,
|
|
103
108
|
GetLocationUserGroupResponse,
|
|
104
109
|
GetLocationBrandsResponse,
|
|
@@ -132,6 +137,7 @@ import {
|
|
|
132
137
|
DeleteLocationBrandResponse,
|
|
133
138
|
PutLocationBrandBody,
|
|
134
139
|
PutLocationBrandResponse,
|
|
140
|
+
GetLocationSectorsQuery,
|
|
135
141
|
GetLocationSectorsResponse,
|
|
136
142
|
PostLocationSectorBody,
|
|
137
143
|
PostLocationSectorResponse,
|
|
@@ -146,7 +152,9 @@ import {
|
|
|
146
152
|
GetLocationCompanyResponse,
|
|
147
153
|
PatchLocationCompanyBody,
|
|
148
154
|
PatchLocationCompanyResponse,
|
|
149
|
-
|
|
155
|
+
GetLocationBrandExternalQuery,
|
|
156
|
+
GetLocationBrandExternalResponse,
|
|
157
|
+
} from "./interface/location";
|
|
150
158
|
|
|
151
159
|
import {
|
|
152
160
|
PostShoppingcartCartBody,
|
|
@@ -171,16 +179,21 @@ import {
|
|
|
171
179
|
PostShoppingcartCloneCartResponse,
|
|
172
180
|
PostShoppingcartBulkBody,
|
|
173
181
|
PostShoppingcartBulkResponse,
|
|
174
|
-
} from "./shoppingcart";
|
|
182
|
+
} from "./interface/shoppingcart";
|
|
175
183
|
|
|
176
184
|
import {
|
|
177
185
|
PostPartnerStandardcognitionShoppingcartBody,
|
|
178
186
|
PostPartnerStandardcognitionShoppingcartResponse,
|
|
179
187
|
GetPartnerStandardcognitionLocationsResponse,
|
|
188
|
+
GetPartnerStandardcognitionStoresResponse,
|
|
189
|
+
PostPartnerStandardcognitionMenuBody,
|
|
190
|
+
PostPartnerStandardcognitionMenuResponse,
|
|
180
191
|
GetPartnerCoolrLocationsResponse,
|
|
181
192
|
GetPartnerCoolrImagesResponse,
|
|
182
193
|
GetPartnerSwaggerResponse,
|
|
183
|
-
} from "./partner";
|
|
194
|
+
} from "./interface/partner";
|
|
195
|
+
|
|
196
|
+
import { PostEmailBody, PostEmailResponse } from "./interface/email";
|
|
184
197
|
|
|
185
198
|
import {
|
|
186
199
|
PostTaskBody,
|
|
@@ -199,7 +212,7 @@ import {
|
|
|
199
212
|
GetTaskLocationBrandResponse,
|
|
200
213
|
GetTaskLocationGroupQuery,
|
|
201
214
|
GetTaskLocationGroupResponse,
|
|
202
|
-
} from "./task";
|
|
215
|
+
} from "./interface/task";
|
|
203
216
|
|
|
204
217
|
import {
|
|
205
218
|
GetKdsDevicesQuery,
|
|
@@ -208,7 +221,7 @@ import {
|
|
|
208
221
|
PostKdsDeviceAuthResponse,
|
|
209
222
|
DeleteKdsDeviceAuthResponse,
|
|
210
223
|
GetKdsSwaggerResponse,
|
|
211
|
-
} from "./kds";
|
|
224
|
+
} from "./interface/kds";
|
|
212
225
|
|
|
213
226
|
import {
|
|
214
227
|
PostMealplanBody,
|
|
@@ -230,9 +243,13 @@ import {
|
|
|
230
243
|
PutMealplanVerifyResponse,
|
|
231
244
|
PostMealplanAuthorizeBody,
|
|
232
245
|
PostMealplanAuthorizeResponse,
|
|
233
|
-
} from "./mealplan";
|
|
246
|
+
} from "./interface/mealplan";
|
|
234
247
|
|
|
235
|
-
import {
|
|
248
|
+
import {
|
|
249
|
+
PostDatalakeSqlBody,
|
|
250
|
+
PostDatalakeSqlResponse,
|
|
251
|
+
GetSwaggerResponse,
|
|
252
|
+
} from "./interface/datalake";
|
|
236
253
|
|
|
237
254
|
import {
|
|
238
255
|
PostPromoBody,
|
|
@@ -265,9 +282,9 @@ import {
|
|
|
265
282
|
PostPromoVoucherifyActivityExecuteBody,
|
|
266
283
|
PostPromoVoucherifyActivityExecuteResponse,
|
|
267
284
|
GetPromoVoucherifyActivityConfigResponse,
|
|
268
|
-
} from "./promo";
|
|
285
|
+
} from "./interface/promo";
|
|
269
286
|
|
|
270
|
-
import { PostDhSqlResponse } from "./dh";
|
|
287
|
+
import { PostDhSqlResponse } from "./interface/dh";
|
|
271
288
|
|
|
272
289
|
import {
|
|
273
290
|
GetConfigResponse,
|
|
@@ -282,7 +299,7 @@ import {
|
|
|
282
299
|
PutConfigPublicBody,
|
|
283
300
|
PutConfigPublicResponse,
|
|
284
301
|
DeleteConfigPublicResponse,
|
|
285
|
-
} from "./config";
|
|
302
|
+
} from "./interface/config";
|
|
286
303
|
|
|
287
304
|
import {
|
|
288
305
|
PostAnnouncementBody,
|
|
@@ -295,7 +312,7 @@ import {
|
|
|
295
312
|
PutAnnouncementBody,
|
|
296
313
|
PutAnnouncementResponse,
|
|
297
314
|
DeleteAnnouncementResponse,
|
|
298
|
-
} from "./announcement";
|
|
315
|
+
} from "./interface/announcement";
|
|
299
316
|
|
|
300
317
|
import {
|
|
301
318
|
GetReportAnalyticsGroupQuery,
|
|
@@ -323,7 +340,7 @@ import {
|
|
|
323
340
|
DeleteReportDiscrepancySubscribersResponse,
|
|
324
341
|
PostReportDiscrepancySubscribersBody,
|
|
325
342
|
PostReportDiscrepancySubscribersResponse,
|
|
326
|
-
} from "./report";
|
|
343
|
+
} from "./interface/report";
|
|
327
344
|
|
|
328
345
|
import {
|
|
329
346
|
GetUserAuthQuery,
|
|
@@ -349,6 +366,7 @@ import {
|
|
|
349
366
|
GetUserKdsTokenQuery,
|
|
350
367
|
GetUserKdsTokenResponse,
|
|
351
368
|
DeleteUserDeviceAuthResponse,
|
|
369
|
+
PatchUserAuthKdsBody,
|
|
352
370
|
PatchUserAuthKdsResponse,
|
|
353
371
|
PostUserChangePasswordBody,
|
|
354
372
|
PostUserChangePasswordResponse,
|
|
@@ -378,7 +396,9 @@ import {
|
|
|
378
396
|
PostUserSendEmailVerificationResponse,
|
|
379
397
|
PutUserVerifyUserEmailBody,
|
|
380
398
|
PutUserVerifyUserEmailResponse,
|
|
381
|
-
|
|
399
|
+
PutUserVerificationPhoneBody,
|
|
400
|
+
PutUserVerificationPhoneResponse,
|
|
401
|
+
} from "./interface/user";
|
|
382
402
|
|
|
383
403
|
import {
|
|
384
404
|
PostLoyaltyEnrollQuery,
|
|
@@ -415,11 +435,12 @@ import {
|
|
|
415
435
|
GetLoyaltyUsersResponse,
|
|
416
436
|
GetLoyaltyEventsQuery,
|
|
417
437
|
GetLoyaltyEventsResponse,
|
|
418
|
-
} from "./loyalty";
|
|
438
|
+
} from "./interface/loyalty";
|
|
419
439
|
|
|
420
|
-
import { GetBrandResponse, GetBrandsResponse } from "./brand";
|
|
440
|
+
import { GetBrandResponse, GetBrandsResponse } from "./interface/brand";
|
|
421
441
|
|
|
422
442
|
import {
|
|
443
|
+
GetCalendarQuery,
|
|
423
444
|
GetCalendarResponse,
|
|
424
445
|
PutCalendarBody,
|
|
425
446
|
PutCalendarResponse,
|
|
@@ -427,14 +448,14 @@ import {
|
|
|
427
448
|
GetCalendarCdlResponse,
|
|
428
449
|
GetCalendarSwaggerResponse,
|
|
429
450
|
PostCalendarSyncResponse,
|
|
430
|
-
} from "./calendar";
|
|
451
|
+
} from "./interface/calendar";
|
|
431
452
|
|
|
432
453
|
import {
|
|
433
454
|
PostDeliveryOrderBody,
|
|
434
455
|
PostDeliveryOrderResponse,
|
|
435
456
|
PatchDeliveryOrderResponse,
|
|
436
457
|
GetDeliveryOrderResponse,
|
|
437
|
-
} from "./delivery";
|
|
458
|
+
} from "./interface/delivery";
|
|
438
459
|
|
|
439
460
|
import {
|
|
440
461
|
PostScheduleBody,
|
|
@@ -445,18 +466,69 @@ import {
|
|
|
445
466
|
PutScheduleBody,
|
|
446
467
|
PutScheduleResponse,
|
|
447
468
|
DeleteScheduleResponse,
|
|
448
|
-
} from "./schedule";
|
|
469
|
+
} from "./interface/schedule";
|
|
449
470
|
|
|
450
|
-
import {
|
|
471
|
+
import {
|
|
472
|
+
PostVoteBody,
|
|
473
|
+
PostVoteResponse,
|
|
474
|
+
GetVoteIdfaQuery,
|
|
475
|
+
GetVoteIdfaResponse,
|
|
476
|
+
} from "./interface/vote";
|
|
451
477
|
|
|
452
|
-
import { PostFileBody, PostFileResponse } from "./file";
|
|
478
|
+
import { PostFileBody, PostFileResponse } from "./interface/file";
|
|
453
479
|
|
|
454
|
-
import { PostMessageBody, PostMessageResponse, GetMessageResponse } from "./message";
|
|
480
|
+
import { PostMessageBody, PostMessageResponse, GetMessageResponse } from "./interface/message";
|
|
455
481
|
|
|
456
|
-
import { GetLoggerBrandStatusQuery, GetLoggerBrandStatusResponse } from "./logger";
|
|
482
|
+
import { GetLoggerBrandStatusQuery, GetLoggerBrandStatusResponse } from "./interface/logger";
|
|
457
483
|
|
|
458
|
-
import {
|
|
459
|
-
|
|
484
|
+
import {
|
|
485
|
+
GetMenuClientResponse,
|
|
486
|
+
GetMenusQuery,
|
|
487
|
+
GetMenusResponse,
|
|
488
|
+
PostMenuBody,
|
|
489
|
+
PostMenuResponse,
|
|
490
|
+
HeadMenuQuery,
|
|
491
|
+
HeadMenuResponse,
|
|
492
|
+
GetMenuQuery,
|
|
493
|
+
GetMenuResponse,
|
|
494
|
+
PutMenuQuery,
|
|
495
|
+
PutMenuBody,
|
|
496
|
+
PutMenuResponse,
|
|
497
|
+
DeleteMenuQuery,
|
|
498
|
+
DeleteMenuResponse,
|
|
499
|
+
PatchMenuQuery,
|
|
500
|
+
PatchMenuBody,
|
|
501
|
+
PatchMenuResponse,
|
|
502
|
+
PostMenuImportMenuBody,
|
|
503
|
+
PostMenuImportMenuResponse,
|
|
504
|
+
GetMenuItemQuery,
|
|
505
|
+
GetMenuItemResponse,
|
|
506
|
+
DeleteMenuItemResponse,
|
|
507
|
+
PostMenuItemBody,
|
|
508
|
+
PostMenuItemResponse,
|
|
509
|
+
GetMenuItemsQuery,
|
|
510
|
+
GetMenuItemsResponse,
|
|
511
|
+
PostMenuImportItemsCanteenResponse,
|
|
512
|
+
GetMenuLocationItemsResponse,
|
|
513
|
+
GetMenuLocationItemRandomQuery,
|
|
514
|
+
GetMenuLocationItemRandomResponse,
|
|
515
|
+
GetMenuLocationItemsRandomQuery,
|
|
516
|
+
GetMenuLocationItemsRandomResponse,
|
|
517
|
+
GetMenuSectorMenusResponse,
|
|
518
|
+
GetMenuCompanyMenusResponse,
|
|
519
|
+
PostMenuModifierGroupBody,
|
|
520
|
+
PostMenuModifierGroupResponse,
|
|
521
|
+
GetMenuModifierGroupResponse,
|
|
522
|
+
PutMenuModifierGroupBody,
|
|
523
|
+
PutMenuModifierGroupResponse,
|
|
524
|
+
DeleteMenuModifierGroupResponse,
|
|
525
|
+
GetMenuCompanyModifierGroupsResponse,
|
|
526
|
+
GetMenuCompanyModifierGroupsExportResponse,
|
|
527
|
+
GetMenuExportResponse,
|
|
528
|
+
} from "./interface/menu";
|
|
529
|
+
|
|
530
|
+
import { BaseServiceClient, RequestOptions, ResponsePromise } from "./base";
|
|
531
|
+
export * from "./base";
|
|
460
532
|
|
|
461
533
|
export class ServiceClient extends BaseServiceClient {
|
|
462
534
|
/**
|
|
@@ -466,11 +538,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
466
538
|
* @param body
|
|
467
539
|
* @param options - additional request options
|
|
468
540
|
*/
|
|
469
|
-
post_payment_transaction
|
|
541
|
+
post_payment_transaction(
|
|
470
542
|
id: string,
|
|
471
543
|
body: PostPaymentTransactionBody,
|
|
472
|
-
options?:
|
|
473
|
-
):
|
|
544
|
+
options?: RequestOptions
|
|
545
|
+
): ResponsePromise<PostPaymentTransactionResponse> {
|
|
474
546
|
return this.request(
|
|
475
547
|
"payment",
|
|
476
548
|
"post_payment_transaction",
|
|
@@ -489,12 +561,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
489
561
|
* @param body
|
|
490
562
|
* @param options - additional request options
|
|
491
563
|
*/
|
|
492
|
-
post_payment_transaction_refund
|
|
564
|
+
post_payment_transaction_refund(
|
|
493
565
|
id: string,
|
|
494
566
|
transaction_id: string,
|
|
495
567
|
body: PostPaymentTransactionRefundBody,
|
|
496
|
-
options?:
|
|
497
|
-
):
|
|
568
|
+
options?: RequestOptions
|
|
569
|
+
): ResponsePromise<PostPaymentTransactionRefundResponse> {
|
|
498
570
|
return this.request(
|
|
499
571
|
"payment",
|
|
500
572
|
"post_payment_transaction_refund",
|
|
@@ -511,10 +583,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
511
583
|
* @param id - TODO: add parameter to swagger.json
|
|
512
584
|
* @param options - additional request options
|
|
513
585
|
*/
|
|
514
|
-
get_payment_clienttoken
|
|
586
|
+
get_payment_clienttoken(
|
|
515
587
|
id: string,
|
|
516
|
-
options?:
|
|
517
|
-
):
|
|
588
|
+
options?: RequestOptions
|
|
589
|
+
): ResponsePromise<GetPaymentClienttokenResponse> {
|
|
518
590
|
return this.request(
|
|
519
591
|
"payment",
|
|
520
592
|
"get_payment_clienttoken",
|
|
@@ -532,11 +604,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
532
604
|
* @param body
|
|
533
605
|
* @param options - additional request options
|
|
534
606
|
*/
|
|
535
|
-
post_payment_paymenttoken
|
|
607
|
+
post_payment_paymenttoken(
|
|
536
608
|
id: string,
|
|
537
609
|
body: PostPaymentPaymenttokenBody,
|
|
538
|
-
options?:
|
|
539
|
-
):
|
|
610
|
+
options?: RequestOptions
|
|
611
|
+
): ResponsePromise<PostPaymentPaymenttokenResponse> {
|
|
540
612
|
return this.request(
|
|
541
613
|
"payment",
|
|
542
614
|
"post_payment_paymenttoken",
|
|
@@ -553,10 +625,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
553
625
|
* @param body
|
|
554
626
|
* @param options - additional request options
|
|
555
627
|
*/
|
|
556
|
-
post_payment_consumer
|
|
628
|
+
post_payment_consumer(
|
|
557
629
|
body: PostPaymentConsumerBody,
|
|
558
|
-
options?:
|
|
559
|
-
):
|
|
630
|
+
options?: RequestOptions
|
|
631
|
+
): ResponsePromise<PostPaymentConsumerResponse> {
|
|
560
632
|
return this.request(
|
|
561
633
|
"payment",
|
|
562
634
|
"post_payment_consumer",
|
|
@@ -573,10 +645,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
573
645
|
* @param body
|
|
574
646
|
* @param options - additional request options
|
|
575
647
|
*/
|
|
576
|
-
post_payment_method
|
|
648
|
+
post_payment_method(
|
|
577
649
|
body: PostPaymentMethodBody,
|
|
578
|
-
options?:
|
|
579
|
-
):
|
|
650
|
+
options?: RequestOptions
|
|
651
|
+
): ResponsePromise<PostPaymentMethodResponse> {
|
|
580
652
|
return this.request("payment", "post_payment_method", "post", `/payment/method`, body, options);
|
|
581
653
|
}
|
|
582
654
|
|
|
@@ -586,12 +658,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
586
658
|
* @param id - TODO: add parameter to swagger.json
|
|
587
659
|
* @param options - additional request options
|
|
588
660
|
*/
|
|
589
|
-
get_payment_method
|
|
661
|
+
get_payment_method(
|
|
590
662
|
id: string,
|
|
591
663
|
options: {
|
|
592
664
|
query: GetPaymentMethodQuery;
|
|
593
|
-
} &
|
|
594
|
-
):
|
|
665
|
+
} & RequestOptions
|
|
666
|
+
): ResponsePromise<GetPaymentMethodResponse> {
|
|
595
667
|
return this.request(
|
|
596
668
|
"payment",
|
|
597
669
|
"get_payment_method",
|
|
@@ -610,12 +682,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
610
682
|
* @param body
|
|
611
683
|
* @param options - additional request options
|
|
612
684
|
*/
|
|
613
|
-
delete_payment_method
|
|
685
|
+
delete_payment_method(
|
|
614
686
|
id: string,
|
|
615
687
|
method_id: string,
|
|
616
688
|
body: DeletePaymentMethodBody,
|
|
617
|
-
options?:
|
|
618
|
-
):
|
|
689
|
+
options?: RequestOptions
|
|
690
|
+
): ResponsePromise<DeletePaymentMethodResponse> {
|
|
619
691
|
return this.request(
|
|
620
692
|
"payment",
|
|
621
693
|
"delete_payment_method",
|
|
@@ -631,11 +703,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
631
703
|
*
|
|
632
704
|
* @param options - additional request options
|
|
633
705
|
*/
|
|
634
|
-
get_payment_token
|
|
706
|
+
get_payment_token(
|
|
635
707
|
options: {
|
|
636
708
|
query: GetPaymentTokenQuery;
|
|
637
|
-
} &
|
|
638
|
-
):
|
|
709
|
+
} & RequestOptions
|
|
710
|
+
): ResponsePromise<GetPaymentTokenResponse> {
|
|
639
711
|
return this.request("payment", "get_payment_token", "get", `/payment/token`, null, options);
|
|
640
712
|
}
|
|
641
713
|
|
|
@@ -645,10 +717,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
645
717
|
* @param body
|
|
646
718
|
* @param options - additional request options
|
|
647
719
|
*/
|
|
648
|
-
post_payment_token
|
|
720
|
+
post_payment_token(
|
|
649
721
|
body: PostPaymentTokenBody,
|
|
650
|
-
options?:
|
|
651
|
-
):
|
|
722
|
+
options?: RequestOptions
|
|
723
|
+
): ResponsePromise<PostPaymentTokenResponse> {
|
|
652
724
|
return this.request("payment", "post_payment_token", "post", `/payment/token`, body, options);
|
|
653
725
|
}
|
|
654
726
|
|
|
@@ -658,10 +730,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
658
730
|
* @param body
|
|
659
731
|
* @param options - additional request options
|
|
660
732
|
*/
|
|
661
|
-
put_payment_token
|
|
733
|
+
put_payment_token(
|
|
662
734
|
body: PutPaymentTokenBody,
|
|
663
|
-
options?:
|
|
664
|
-
):
|
|
735
|
+
options?: RequestOptions
|
|
736
|
+
): ResponsePromise<PutPaymentTokenResponse> {
|
|
665
737
|
return this.request("payment", "put_payment_token", "put", `/payment/token`, body, options);
|
|
666
738
|
}
|
|
667
739
|
|
|
@@ -671,10 +743,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
671
743
|
* @param body
|
|
672
744
|
* @param options - additional request options
|
|
673
745
|
*/
|
|
674
|
-
delete_payment_token
|
|
746
|
+
delete_payment_token(
|
|
675
747
|
body: DeletePaymentTokenBody,
|
|
676
|
-
options?:
|
|
677
|
-
):
|
|
748
|
+
options?: RequestOptions
|
|
749
|
+
): ResponsePromise<DeletePaymentTokenResponse> {
|
|
678
750
|
return this.request(
|
|
679
751
|
"payment",
|
|
680
752
|
"delete_payment_token",
|
|
@@ -690,11 +762,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
690
762
|
*
|
|
691
763
|
* @param options - additional request options
|
|
692
764
|
*/
|
|
693
|
-
get_payment_methods
|
|
765
|
+
get_payment_methods(
|
|
694
766
|
options: {
|
|
695
767
|
query: GetPaymentMethodsQuery;
|
|
696
|
-
} &
|
|
697
|
-
):
|
|
768
|
+
} & RequestOptions
|
|
769
|
+
): ResponsePromise<GetPaymentMethodsResponse> {
|
|
698
770
|
return this.request("payment", "get_payment_methods", "get", `/payment/methods`, null, options);
|
|
699
771
|
}
|
|
700
772
|
|
|
@@ -703,11 +775,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
703
775
|
*
|
|
704
776
|
* @param options - additional request options
|
|
705
777
|
*/
|
|
706
|
-
get_payment_hpc
|
|
778
|
+
get_payment_hpc(
|
|
707
779
|
options: {
|
|
708
780
|
query: GetPaymentHpcQuery;
|
|
709
|
-
} &
|
|
710
|
-
):
|
|
781
|
+
} & RequestOptions
|
|
782
|
+
): ResponsePromise<GetPaymentHpcResponse> {
|
|
711
783
|
return this.request("payment", "get_payment_hpc", "get", `/payment/hpc`, null, options);
|
|
712
784
|
}
|
|
713
785
|
|
|
@@ -717,12 +789,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
717
789
|
* @param body - Order object that needs to be created
|
|
718
790
|
* @param options - additional request options
|
|
719
791
|
*/
|
|
720
|
-
post_order
|
|
792
|
+
post_order(
|
|
721
793
|
body: PostOrderBody,
|
|
722
794
|
options?: {
|
|
723
795
|
query?: PostOrderQuery;
|
|
724
|
-
} &
|
|
725
|
-
):
|
|
796
|
+
} & RequestOptions
|
|
797
|
+
): ResponsePromise<PostOrderResponse> {
|
|
726
798
|
return this.request("order", "post_order", "post", `/order`, body, options);
|
|
727
799
|
}
|
|
728
800
|
|
|
@@ -732,10 +804,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
732
804
|
* @param id - The order ID
|
|
733
805
|
* @param options - additional request options
|
|
734
806
|
*/
|
|
735
|
-
get_order
|
|
736
|
-
id: string,
|
|
737
|
-
options?: Options
|
|
738
|
-
): ResponseType<GetOrderResponse, Options> {
|
|
807
|
+
get_order(id: string, options?: RequestOptions): ResponsePromise<GetOrderResponse> {
|
|
739
808
|
return this.request("order", "get_order", "get", `/order/${id}`, null, options);
|
|
740
809
|
}
|
|
741
810
|
|
|
@@ -745,10 +814,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
745
814
|
* @param id - The order ID
|
|
746
815
|
* @param options - additional request options
|
|
747
816
|
*/
|
|
748
|
-
put_order
|
|
749
|
-
id: string,
|
|
750
|
-
options?: Options
|
|
751
|
-
): ResponseType<PutOrderResponse, Options> {
|
|
817
|
+
put_order(id: string, options?: RequestOptions): ResponsePromise<PutOrderResponse> {
|
|
752
818
|
return this.request("order", "put_order", "put", `/order/${id}`, null, options);
|
|
753
819
|
}
|
|
754
820
|
|
|
@@ -759,11 +825,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
759
825
|
* @param body - Order properties to be updated
|
|
760
826
|
* @param options - additional request options
|
|
761
827
|
*/
|
|
762
|
-
patch_order
|
|
828
|
+
patch_order(
|
|
763
829
|
id: string,
|
|
764
830
|
body: PatchOrderBody,
|
|
765
|
-
options?:
|
|
766
|
-
):
|
|
831
|
+
options?: RequestOptions
|
|
832
|
+
): ResponsePromise<PatchOrderResponse> {
|
|
767
833
|
return this.request("order", "patch_order", "patch", `/order/${id}`, body, options);
|
|
768
834
|
}
|
|
769
835
|
|
|
@@ -774,11 +840,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
774
840
|
* @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.
|
|
775
841
|
* @param options - additional request options
|
|
776
842
|
*/
|
|
777
|
-
post_order_issue
|
|
843
|
+
post_order_issue(
|
|
778
844
|
id: string,
|
|
779
845
|
body: PostOrderIssueBody,
|
|
780
|
-
options?:
|
|
781
|
-
):
|
|
846
|
+
options?: RequestOptions
|
|
847
|
+
): ResponsePromise<PostOrderIssueResponse> {
|
|
782
848
|
return this.request("order", "post_order_issue", "post", `/order/${id}/issue`, body, options);
|
|
783
849
|
}
|
|
784
850
|
|
|
@@ -789,11 +855,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
789
855
|
* @param body - Items with pricing and quanitity to be refunded
|
|
790
856
|
* @param options - additional request options
|
|
791
857
|
*/
|
|
792
|
-
patch_order_refund
|
|
858
|
+
patch_order_refund(
|
|
793
859
|
id: string,
|
|
794
860
|
body: PatchOrderRefundBody,
|
|
795
|
-
options?:
|
|
796
|
-
):
|
|
861
|
+
options?: RequestOptions
|
|
862
|
+
): ResponsePromise<PatchOrderRefundResponse> {
|
|
797
863
|
return this.request(
|
|
798
864
|
"order",
|
|
799
865
|
"patch_order_refund",
|
|
@@ -810,12 +876,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
810
876
|
* @param id - The user ID
|
|
811
877
|
* @param options - additional request options
|
|
812
878
|
*/
|
|
813
|
-
get_order_customer_orders
|
|
879
|
+
get_order_customer_orders(
|
|
814
880
|
id: string,
|
|
815
881
|
options?: {
|
|
816
882
|
query?: GetOrderCustomerOrdersQuery;
|
|
817
|
-
} &
|
|
818
|
-
):
|
|
883
|
+
} & RequestOptions
|
|
884
|
+
): ResponsePromise<GetOrderCustomerOrdersResponse> {
|
|
819
885
|
return this.request(
|
|
820
886
|
"order",
|
|
821
887
|
"get_order_customer_orders",
|
|
@@ -833,11 +899,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
833
899
|
* @param location_brand - Brand id
|
|
834
900
|
* @param options - additional request options
|
|
835
901
|
*/
|
|
836
|
-
get_order_customer_orders_brand
|
|
902
|
+
get_order_customer_orders_brand(
|
|
837
903
|
id: string,
|
|
838
904
|
location_brand: string,
|
|
839
|
-
options?:
|
|
840
|
-
):
|
|
905
|
+
options?: RequestOptions
|
|
906
|
+
): ResponsePromise<GetOrderCustomerOrdersBrandResponse> {
|
|
841
907
|
return this.request(
|
|
842
908
|
"order",
|
|
843
909
|
"get_order_customer_orders_brand",
|
|
@@ -854,15 +920,15 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
854
920
|
* @param id - The location brand ID
|
|
855
921
|
* @param options - additional request options
|
|
856
922
|
*/
|
|
857
|
-
|
|
923
|
+
get_order_location_brand(
|
|
858
924
|
id: string,
|
|
859
925
|
options?: {
|
|
860
|
-
query?:
|
|
861
|
-
} &
|
|
862
|
-
):
|
|
926
|
+
query?: GetOrderLocationBrandQuery;
|
|
927
|
+
} & RequestOptions
|
|
928
|
+
): ResponsePromise<GetOrderLocationBrandResponse> {
|
|
863
929
|
return this.request(
|
|
864
930
|
"order",
|
|
865
|
-
"
|
|
931
|
+
"get_order_location_brand",
|
|
866
932
|
"get",
|
|
867
933
|
`/order/location/brand/${id}`,
|
|
868
934
|
null,
|
|
@@ -876,12 +942,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
876
942
|
* @param id - The location ID
|
|
877
943
|
* @param options - additional request options
|
|
878
944
|
*/
|
|
879
|
-
get_order_location_orders
|
|
945
|
+
get_order_location_orders(
|
|
880
946
|
id: string,
|
|
881
947
|
options?: {
|
|
882
948
|
query?: GetOrderLocationOrdersQuery;
|
|
883
|
-
} &
|
|
884
|
-
):
|
|
949
|
+
} & RequestOptions
|
|
950
|
+
): ResponsePromise<GetOrderLocationOrdersResponse> {
|
|
885
951
|
return this.request(
|
|
886
952
|
"order",
|
|
887
953
|
"get_order_location_orders",
|
|
@@ -898,12 +964,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
898
964
|
* @param id - Get orders by their associated group
|
|
899
965
|
* @param options - additional request options
|
|
900
966
|
*/
|
|
901
|
-
get_order_group_orders
|
|
967
|
+
get_order_group_orders(
|
|
902
968
|
id: string,
|
|
903
969
|
options?: {
|
|
904
970
|
query?: GetOrderGroupOrdersQuery;
|
|
905
|
-
} &
|
|
906
|
-
):
|
|
971
|
+
} & RequestOptions
|
|
972
|
+
): ResponsePromise<GetOrderGroupOrdersResponse> {
|
|
907
973
|
return this.request(
|
|
908
974
|
"order",
|
|
909
975
|
"get_order_group_orders",
|
|
@@ -914,16 +980,36 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
914
980
|
);
|
|
915
981
|
}
|
|
916
982
|
|
|
983
|
+
/**
|
|
984
|
+
* PATCH /order/{id}/checkin - Accept an order by checking in
|
|
985
|
+
*
|
|
986
|
+
* @param id - The order ID
|
|
987
|
+
* @param options - additional request options
|
|
988
|
+
*/
|
|
989
|
+
patch_order_checkin(
|
|
990
|
+
id: string,
|
|
991
|
+
options?: RequestOptions
|
|
992
|
+
): ResponsePromise<PatchOrderCheckinResponse> {
|
|
993
|
+
return this.request(
|
|
994
|
+
"order",
|
|
995
|
+
"patch_order_checkin",
|
|
996
|
+
"patch",
|
|
997
|
+
`/order/${id}/checkin`,
|
|
998
|
+
null,
|
|
999
|
+
options
|
|
1000
|
+
);
|
|
1001
|
+
}
|
|
1002
|
+
|
|
917
1003
|
/**
|
|
918
1004
|
* POST /location - Create a new location
|
|
919
1005
|
*
|
|
920
1006
|
* @param body
|
|
921
1007
|
* @param options - additional request options
|
|
922
1008
|
*/
|
|
923
|
-
post_location
|
|
1009
|
+
post_location(
|
|
924
1010
|
body: PostLocationBody,
|
|
925
|
-
options?:
|
|
926
|
-
):
|
|
1011
|
+
options?: RequestOptions
|
|
1012
|
+
): ResponsePromise<PostLocationResponse> {
|
|
927
1013
|
return this.request("location", "post_location", "post", `/location`, body, options);
|
|
928
1014
|
}
|
|
929
1015
|
|
|
@@ -932,9 +1018,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
932
1018
|
*
|
|
933
1019
|
* @param options - additional request options
|
|
934
1020
|
*/
|
|
935
|
-
get_locations
|
|
936
|
-
options?: Options
|
|
937
|
-
): ResponseType<GetLocationsResponse, Options> {
|
|
1021
|
+
get_locations(options?: RequestOptions): ResponsePromise<GetLocationsResponse> {
|
|
938
1022
|
return this.request("location", "get_locations", "get", `/location`, null, options);
|
|
939
1023
|
}
|
|
940
1024
|
|
|
@@ -943,11 +1027,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
943
1027
|
*
|
|
944
1028
|
* @param options - additional request options
|
|
945
1029
|
*/
|
|
946
|
-
get_location_search
|
|
1030
|
+
get_location_search(
|
|
947
1031
|
options?: {
|
|
948
1032
|
query?: GetLocationSearchQuery;
|
|
949
|
-
} &
|
|
950
|
-
):
|
|
1033
|
+
} & RequestOptions
|
|
1034
|
+
): ResponsePromise<GetLocationSearchResponse> {
|
|
951
1035
|
return this.request(
|
|
952
1036
|
"location",
|
|
953
1037
|
"get_location_search",
|
|
@@ -964,12 +1048,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
964
1048
|
* @param id - location id
|
|
965
1049
|
* @param options - additional request options
|
|
966
1050
|
*/
|
|
967
|
-
get_location
|
|
1051
|
+
get_location(
|
|
968
1052
|
id: string,
|
|
969
1053
|
options?: {
|
|
970
1054
|
query?: GetLocationQuery;
|
|
971
|
-
} &
|
|
972
|
-
):
|
|
1055
|
+
} & RequestOptions
|
|
1056
|
+
): ResponsePromise<GetLocationResponse> {
|
|
973
1057
|
return this.request("location", "get_location", "get", `/location/${id}`, null, options);
|
|
974
1058
|
}
|
|
975
1059
|
|
|
@@ -980,11 +1064,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
980
1064
|
* @param body
|
|
981
1065
|
* @param options - additional request options
|
|
982
1066
|
*/
|
|
983
|
-
put_location
|
|
1067
|
+
put_location(
|
|
984
1068
|
id: string,
|
|
985
1069
|
body: PutLocationBody,
|
|
986
|
-
options?:
|
|
987
|
-
):
|
|
1070
|
+
options?: RequestOptions
|
|
1071
|
+
): ResponsePromise<PutLocationResponse> {
|
|
988
1072
|
return this.request("location", "put_location", "put", `/location/${id}`, body, options);
|
|
989
1073
|
}
|
|
990
1074
|
|
|
@@ -995,11 +1079,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
995
1079
|
* @param body
|
|
996
1080
|
* @param options - additional request options
|
|
997
1081
|
*/
|
|
998
|
-
delete_location
|
|
1082
|
+
delete_location(
|
|
999
1083
|
id: string,
|
|
1000
1084
|
body: DeleteLocationBody,
|
|
1001
|
-
options?:
|
|
1002
|
-
):
|
|
1085
|
+
options?: RequestOptions
|
|
1086
|
+
): ResponsePromise<DeleteLocationResponse> {
|
|
1003
1087
|
return this.request("location", "delete_location", "delete", `/location/${id}`, body, options);
|
|
1004
1088
|
}
|
|
1005
1089
|
|
|
@@ -1010,11 +1094,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1010
1094
|
* @param body
|
|
1011
1095
|
* @param options - additional request options
|
|
1012
1096
|
*/
|
|
1013
|
-
patch_location
|
|
1097
|
+
patch_location(
|
|
1014
1098
|
id: string,
|
|
1015
1099
|
body: PatchLocationBody,
|
|
1016
|
-
options?:
|
|
1017
|
-
):
|
|
1100
|
+
options?: RequestOptions
|
|
1101
|
+
): ResponsePromise<PatchLocationResponse> {
|
|
1018
1102
|
return this.request("location", "patch_location", "patch", `/location/${id}`, body, options);
|
|
1019
1103
|
}
|
|
1020
1104
|
|
|
@@ -1024,10 +1108,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1024
1108
|
* @param id - POS ID
|
|
1025
1109
|
* @param options - additional request options
|
|
1026
1110
|
*/
|
|
1027
|
-
get_location_pos
|
|
1028
|
-
id: string,
|
|
1029
|
-
options?: Options
|
|
1030
|
-
): ResponseType<GetLocationPosResponse, Options> {
|
|
1111
|
+
get_location_pos(id: string, options?: RequestOptions): ResponsePromise<GetLocationPosResponse> {
|
|
1031
1112
|
return this.request(
|
|
1032
1113
|
"location",
|
|
1033
1114
|
"get_location_pos",
|
|
@@ -1045,11 +1126,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1045
1126
|
* @param body
|
|
1046
1127
|
* @param options - additional request options
|
|
1047
1128
|
*/
|
|
1048
|
-
put_location_pos
|
|
1129
|
+
put_location_pos(
|
|
1049
1130
|
id: string,
|
|
1050
1131
|
body: PutLocationPosBody,
|
|
1051
|
-
options?:
|
|
1052
|
-
):
|
|
1132
|
+
options?: RequestOptions
|
|
1133
|
+
): ResponsePromise<PutLocationPosResponse> {
|
|
1053
1134
|
return this.request(
|
|
1054
1135
|
"location",
|
|
1055
1136
|
"put_location_pos",
|
|
@@ -1065,9 +1146,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1065
1146
|
*
|
|
1066
1147
|
* @param options - additional request options
|
|
1067
1148
|
*/
|
|
1068
|
-
get_location_multigroups
|
|
1069
|
-
options?:
|
|
1070
|
-
|
|
1149
|
+
get_location_multigroups(
|
|
1150
|
+
options?: {
|
|
1151
|
+
query?: GetLocationMultigroupsQuery;
|
|
1152
|
+
} & RequestOptions
|
|
1153
|
+
): ResponsePromise<GetLocationMultigroupsResponse> {
|
|
1071
1154
|
return this.request(
|
|
1072
1155
|
"location",
|
|
1073
1156
|
"get_location_multigroups",
|
|
@@ -1084,10 +1167,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1084
1167
|
* @param body
|
|
1085
1168
|
* @param options - additional request options
|
|
1086
1169
|
*/
|
|
1087
|
-
post_location_multigroup
|
|
1170
|
+
post_location_multigroup(
|
|
1088
1171
|
body: PostLocationMultigroupBody,
|
|
1089
|
-
options?:
|
|
1090
|
-
):
|
|
1172
|
+
options?: RequestOptions
|
|
1173
|
+
): ResponsePromise<PostLocationMultigroupResponse> {
|
|
1091
1174
|
return this.request(
|
|
1092
1175
|
"location",
|
|
1093
1176
|
"post_location_multigroup",
|
|
@@ -1104,12 +1187,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1104
1187
|
* @param id - multigroup id
|
|
1105
1188
|
* @param options - additional request options
|
|
1106
1189
|
*/
|
|
1107
|
-
get_location_multigroup
|
|
1190
|
+
get_location_multigroup(
|
|
1108
1191
|
id: string,
|
|
1109
1192
|
options?: {
|
|
1110
1193
|
query?: GetLocationMultigroupQuery;
|
|
1111
|
-
} &
|
|
1112
|
-
):
|
|
1194
|
+
} & RequestOptions
|
|
1195
|
+
): ResponsePromise<GetLocationMultigroupResponse> {
|
|
1113
1196
|
return this.request(
|
|
1114
1197
|
"location",
|
|
1115
1198
|
"get_location_multigroup",
|
|
@@ -1127,11 +1210,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1127
1210
|
* @param body
|
|
1128
1211
|
* @param options - additional request options
|
|
1129
1212
|
*/
|
|
1130
|
-
put_location_multigroup
|
|
1213
|
+
put_location_multigroup(
|
|
1131
1214
|
id: string,
|
|
1132
1215
|
body: PutLocationMultigroupBody,
|
|
1133
|
-
options?:
|
|
1134
|
-
):
|
|
1216
|
+
options?: RequestOptions
|
|
1217
|
+
): ResponsePromise<PutLocationMultigroupResponse> {
|
|
1135
1218
|
return this.request(
|
|
1136
1219
|
"location",
|
|
1137
1220
|
"put_location_multigroup",
|
|
@@ -1149,11 +1232,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1149
1232
|
* @param body
|
|
1150
1233
|
* @param options - additional request options
|
|
1151
1234
|
*/
|
|
1152
|
-
delete_location_multigroup
|
|
1235
|
+
delete_location_multigroup(
|
|
1153
1236
|
id: string,
|
|
1154
1237
|
body: DeleteLocationMultigroupBody,
|
|
1155
|
-
options?:
|
|
1156
|
-
):
|
|
1238
|
+
options?: RequestOptions
|
|
1239
|
+
): ResponsePromise<DeleteLocationMultigroupResponse> {
|
|
1157
1240
|
return this.request(
|
|
1158
1241
|
"location",
|
|
1159
1242
|
"delete_location_multigroup",
|
|
@@ -1171,11 +1254,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1171
1254
|
* @param body
|
|
1172
1255
|
* @param options - additional request options
|
|
1173
1256
|
*/
|
|
1174
|
-
patch_location_multigroup
|
|
1257
|
+
patch_location_multigroup(
|
|
1175
1258
|
id: string,
|
|
1176
1259
|
body: PatchLocationMultigroupBody,
|
|
1177
|
-
options?:
|
|
1178
|
-
):
|
|
1260
|
+
options?: RequestOptions
|
|
1261
|
+
): ResponsePromise<PatchLocationMultigroupResponse> {
|
|
1179
1262
|
return this.request(
|
|
1180
1263
|
"location",
|
|
1181
1264
|
"patch_location_multigroup",
|
|
@@ -1193,13 +1276,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1193
1276
|
* @param user_id - user
|
|
1194
1277
|
* @param options - additional request options
|
|
1195
1278
|
*/
|
|
1196
|
-
get_location_user_multigroup
|
|
1279
|
+
get_location_user_multigroup(
|
|
1197
1280
|
id: string,
|
|
1198
1281
|
user_id: string,
|
|
1199
1282
|
options?: {
|
|
1200
1283
|
query?: GetLocationUserMultigroupQuery;
|
|
1201
|
-
} &
|
|
1202
|
-
):
|
|
1284
|
+
} & RequestOptions
|
|
1285
|
+
): ResponsePromise<GetLocationUserMultigroupResponse> {
|
|
1203
1286
|
return this.request(
|
|
1204
1287
|
"location",
|
|
1205
1288
|
"get_location_user_multigroup",
|
|
@@ -1216,10 +1299,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1216
1299
|
* @param body
|
|
1217
1300
|
* @param options - additional request options
|
|
1218
1301
|
*/
|
|
1219
|
-
post_location_group
|
|
1302
|
+
post_location_group(
|
|
1220
1303
|
body: PostLocationGroupBody,
|
|
1221
|
-
options?:
|
|
1222
|
-
):
|
|
1304
|
+
options?: RequestOptions
|
|
1305
|
+
): ResponsePromise<PostLocationGroupResponse> {
|
|
1223
1306
|
return this.request(
|
|
1224
1307
|
"location",
|
|
1225
1308
|
"post_location_group",
|
|
@@ -1236,12 +1319,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1236
1319
|
* @param id - group id
|
|
1237
1320
|
* @param options - additional request options
|
|
1238
1321
|
*/
|
|
1239
|
-
get_location_group
|
|
1322
|
+
get_location_group(
|
|
1240
1323
|
id: string,
|
|
1241
1324
|
options?: {
|
|
1242
1325
|
query?: GetLocationGroupQuery;
|
|
1243
|
-
} &
|
|
1244
|
-
):
|
|
1326
|
+
} & RequestOptions
|
|
1327
|
+
): ResponsePromise<GetLocationGroupResponse> {
|
|
1245
1328
|
return this.request(
|
|
1246
1329
|
"location",
|
|
1247
1330
|
"get_location_group",
|
|
@@ -1259,11 +1342,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1259
1342
|
* @param body
|
|
1260
1343
|
* @param options - additional request options
|
|
1261
1344
|
*/
|
|
1262
|
-
put_location_group
|
|
1345
|
+
put_location_group(
|
|
1263
1346
|
id: string,
|
|
1264
1347
|
body: PutLocationGroupBody,
|
|
1265
|
-
options?:
|
|
1266
|
-
):
|
|
1348
|
+
options?: RequestOptions
|
|
1349
|
+
): ResponsePromise<PutLocationGroupResponse> {
|
|
1267
1350
|
return this.request(
|
|
1268
1351
|
"location",
|
|
1269
1352
|
"put_location_group",
|
|
@@ -1281,11 +1364,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1281
1364
|
* @param body
|
|
1282
1365
|
* @param options - additional request options
|
|
1283
1366
|
*/
|
|
1284
|
-
delete_location_group
|
|
1367
|
+
delete_location_group(
|
|
1285
1368
|
id: string,
|
|
1286
1369
|
body: DeleteLocationGroupBody,
|
|
1287
|
-
options?:
|
|
1288
|
-
):
|
|
1370
|
+
options?: RequestOptions
|
|
1371
|
+
): ResponsePromise<DeleteLocationGroupResponse> {
|
|
1289
1372
|
return this.request(
|
|
1290
1373
|
"location",
|
|
1291
1374
|
"delete_location_group",
|
|
@@ -1303,11 +1386,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1303
1386
|
* @param body
|
|
1304
1387
|
* @param options - additional request options
|
|
1305
1388
|
*/
|
|
1306
|
-
patch_location_group
|
|
1389
|
+
patch_location_group(
|
|
1307
1390
|
id: string,
|
|
1308
1391
|
body: PatchLocationGroupBody,
|
|
1309
|
-
options?:
|
|
1310
|
-
):
|
|
1392
|
+
options?: RequestOptions
|
|
1393
|
+
): ResponsePromise<PatchLocationGroupResponse> {
|
|
1311
1394
|
return this.request(
|
|
1312
1395
|
"location",
|
|
1313
1396
|
"patch_location_group",
|
|
@@ -1324,12 +1407,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1324
1407
|
* @param id - Group ID
|
|
1325
1408
|
* @param options - additional request options
|
|
1326
1409
|
*/
|
|
1327
|
-
get_location_group_deliverydestinations
|
|
1410
|
+
get_location_group_deliverydestinations(
|
|
1328
1411
|
id: string,
|
|
1329
1412
|
options?: {
|
|
1330
1413
|
query?: GetLocationGroupDeliverydestinationsQuery;
|
|
1331
|
-
} &
|
|
1332
|
-
):
|
|
1414
|
+
} & RequestOptions
|
|
1415
|
+
): ResponsePromise<GetLocationGroupDeliverydestinationsResponse> {
|
|
1333
1416
|
return this.request(
|
|
1334
1417
|
"location",
|
|
1335
1418
|
"get_location_group_deliverydestinations",
|
|
@@ -1347,11 +1430,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1347
1430
|
* @param body
|
|
1348
1431
|
* @param options - additional request options
|
|
1349
1432
|
*/
|
|
1350
|
-
post_location_group_deliverydestination
|
|
1433
|
+
post_location_group_deliverydestination(
|
|
1351
1434
|
id: string,
|
|
1352
1435
|
body: PostLocationGroupDeliverydestinationBody,
|
|
1353
|
-
options?:
|
|
1354
|
-
):
|
|
1436
|
+
options?: RequestOptions
|
|
1437
|
+
): ResponsePromise<PostLocationGroupDeliverydestinationResponse> {
|
|
1355
1438
|
return this.request(
|
|
1356
1439
|
"location",
|
|
1357
1440
|
"post_location_group_deliverydestination",
|
|
@@ -1363,67 +1446,65 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1363
1446
|
}
|
|
1364
1447
|
|
|
1365
1448
|
/**
|
|
1366
|
-
*
|
|
1449
|
+
* PATCH /location/group/{id}/deliverydestination - Patch single or multiple delivery destinations
|
|
1367
1450
|
*
|
|
1368
1451
|
* @param id - Group ID
|
|
1369
|
-
* @param
|
|
1452
|
+
* @param body
|
|
1370
1453
|
* @param options - additional request options
|
|
1371
1454
|
*/
|
|
1372
|
-
|
|
1455
|
+
patch_location_group_deliverydestination(
|
|
1373
1456
|
id: string,
|
|
1374
|
-
|
|
1375
|
-
options?:
|
|
1376
|
-
):
|
|
1457
|
+
body: PatchLocationGroupDeliverydestinationBody,
|
|
1458
|
+
options?: RequestOptions
|
|
1459
|
+
): ResponsePromise<PatchLocationGroupDeliverydestinationResponse> {
|
|
1377
1460
|
return this.request(
|
|
1378
1461
|
"location",
|
|
1379
|
-
"
|
|
1380
|
-
"
|
|
1381
|
-
`/location/group/${id}/deliverydestination
|
|
1382
|
-
|
|
1462
|
+
"patch_location_group_deliverydestination",
|
|
1463
|
+
"patch",
|
|
1464
|
+
`/location/group/${id}/deliverydestination`,
|
|
1465
|
+
body,
|
|
1383
1466
|
options
|
|
1384
1467
|
);
|
|
1385
1468
|
}
|
|
1386
1469
|
|
|
1387
1470
|
/**
|
|
1388
|
-
*
|
|
1471
|
+
* DELETE /location/group/{id}/deliverydestination - Delete single or multiple delivery destinations
|
|
1389
1472
|
*
|
|
1390
1473
|
* @param id - Group ID
|
|
1391
|
-
* @param delivery_destination - Delivery Destination ID
|
|
1392
1474
|
* @param body
|
|
1393
1475
|
* @param options - additional request options
|
|
1394
1476
|
*/
|
|
1395
|
-
|
|
1477
|
+
delete_location_group_deliverydestination(
|
|
1396
1478
|
id: string,
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
): ResponseType<PatchLocationGroupDeliverydestinationResponse, Options> {
|
|
1479
|
+
body: DeleteLocationGroupDeliverydestinationBody,
|
|
1480
|
+
options?: RequestOptions
|
|
1481
|
+
): ResponsePromise<DeleteLocationGroupDeliverydestinationResponse> {
|
|
1401
1482
|
return this.request(
|
|
1402
1483
|
"location",
|
|
1403
|
-
"
|
|
1404
|
-
"
|
|
1405
|
-
`/location/group/${id}/deliverydestination
|
|
1484
|
+
"delete_location_group_deliverydestination",
|
|
1485
|
+
"delete",
|
|
1486
|
+
`/location/group/${id}/deliverydestination`,
|
|
1406
1487
|
body,
|
|
1407
1488
|
options
|
|
1408
1489
|
);
|
|
1409
1490
|
}
|
|
1410
1491
|
|
|
1411
1492
|
/**
|
|
1412
|
-
*
|
|
1493
|
+
* GET /location/group/{id}/deliverydestination/{delivery_destination} - Get a delivery destination
|
|
1413
1494
|
*
|
|
1414
1495
|
* @param id - Group ID
|
|
1415
1496
|
* @param delivery_destination - Delivery Destination ID
|
|
1416
1497
|
* @param options - additional request options
|
|
1417
1498
|
*/
|
|
1418
|
-
|
|
1499
|
+
get_location_group_deliverydestination(
|
|
1419
1500
|
id: string,
|
|
1420
1501
|
delivery_destination: string,
|
|
1421
|
-
options?:
|
|
1422
|
-
):
|
|
1502
|
+
options?: RequestOptions
|
|
1503
|
+
): ResponsePromise<GetLocationGroupDeliverydestinationResponse> {
|
|
1423
1504
|
return this.request(
|
|
1424
1505
|
"location",
|
|
1425
|
-
"
|
|
1426
|
-
"
|
|
1506
|
+
"get_location_group_deliverydestination",
|
|
1507
|
+
"get",
|
|
1427
1508
|
`/location/group/${id}/deliverydestination/${delivery_destination}`,
|
|
1428
1509
|
null,
|
|
1429
1510
|
options
|
|
@@ -1437,13 +1518,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1437
1518
|
* @param user_id - user
|
|
1438
1519
|
* @param options - additional request options
|
|
1439
1520
|
*/
|
|
1440
|
-
get_location_user_group
|
|
1521
|
+
get_location_user_group(
|
|
1441
1522
|
id: string,
|
|
1442
1523
|
user_id: string,
|
|
1443
1524
|
options?: {
|
|
1444
1525
|
query?: GetLocationUserGroupQuery;
|
|
1445
|
-
} &
|
|
1446
|
-
):
|
|
1526
|
+
} & RequestOptions
|
|
1527
|
+
): ResponsePromise<GetLocationUserGroupResponse> {
|
|
1447
1528
|
return this.request(
|
|
1448
1529
|
"location",
|
|
1449
1530
|
"get_location_user_group",
|
|
@@ -1459,9 +1540,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1459
1540
|
*
|
|
1460
1541
|
* @param options - additional request options
|
|
1461
1542
|
*/
|
|
1462
|
-
get_location_brands
|
|
1463
|
-
options?: Options
|
|
1464
|
-
): ResponseType<GetLocationBrandsResponse, Options> {
|
|
1543
|
+
get_location_brands(options?: RequestOptions): ResponsePromise<GetLocationBrandsResponse> {
|
|
1465
1544
|
return this.request(
|
|
1466
1545
|
"location",
|
|
1467
1546
|
"get_location_brands",
|
|
@@ -1478,10 +1557,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1478
1557
|
* @param id - Brand ID
|
|
1479
1558
|
* @param options - additional request options
|
|
1480
1559
|
*/
|
|
1481
|
-
get_location_brand_destinations
|
|
1560
|
+
get_location_brand_destinations(
|
|
1482
1561
|
id: string,
|
|
1483
|
-
options?:
|
|
1484
|
-
):
|
|
1562
|
+
options?: RequestOptions
|
|
1563
|
+
): ResponsePromise<GetLocationBrandDestinationsResponse> {
|
|
1485
1564
|
return this.request(
|
|
1486
1565
|
"location",
|
|
1487
1566
|
"get_location_brand_destinations",
|
|
@@ -1499,11 +1578,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1499
1578
|
* @param body
|
|
1500
1579
|
* @param options - additional request options
|
|
1501
1580
|
*/
|
|
1502
|
-
post_location_brand_document
|
|
1581
|
+
post_location_brand_document(
|
|
1503
1582
|
id: string,
|
|
1504
1583
|
body: PostLocationBrandDocumentBody,
|
|
1505
|
-
options?:
|
|
1506
|
-
):
|
|
1584
|
+
options?: RequestOptions
|
|
1585
|
+
): ResponsePromise<PostLocationBrandDocumentResponse> {
|
|
1507
1586
|
return this.request(
|
|
1508
1587
|
"location",
|
|
1509
1588
|
"post_location_brand_document",
|
|
@@ -1520,10 +1599,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1520
1599
|
* @param id - Brand ID
|
|
1521
1600
|
* @param options - additional request options
|
|
1522
1601
|
*/
|
|
1523
|
-
patch_location_brand_document
|
|
1602
|
+
patch_location_brand_document(
|
|
1524
1603
|
id: string,
|
|
1525
|
-
options?:
|
|
1526
|
-
):
|
|
1604
|
+
options?: RequestOptions
|
|
1605
|
+
): ResponsePromise<PatchLocationBrandDocumentResponse> {
|
|
1527
1606
|
return this.request(
|
|
1528
1607
|
"location",
|
|
1529
1608
|
"patch_location_brand_document",
|
|
@@ -1540,10 +1619,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1540
1619
|
* @param id - Brand ID
|
|
1541
1620
|
* @param options - additional request options
|
|
1542
1621
|
*/
|
|
1543
|
-
delete_location_brand_document
|
|
1622
|
+
delete_location_brand_document(
|
|
1544
1623
|
id: string,
|
|
1545
|
-
options?:
|
|
1546
|
-
):
|
|
1624
|
+
options?: RequestOptions
|
|
1625
|
+
): ResponsePromise<DeleteLocationBrandDocumentResponse> {
|
|
1547
1626
|
return this.request(
|
|
1548
1627
|
"location",
|
|
1549
1628
|
"delete_location_brand_document",
|
|
@@ -1560,10 +1639,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1560
1639
|
* @param id - Brand ID
|
|
1561
1640
|
* @param options - additional request options
|
|
1562
1641
|
*/
|
|
1563
|
-
get_location_brand_documents
|
|
1642
|
+
get_location_brand_documents(
|
|
1564
1643
|
id: string,
|
|
1565
|
-
options?:
|
|
1566
|
-
):
|
|
1644
|
+
options?: RequestOptions
|
|
1645
|
+
): ResponsePromise<GetLocationBrandDocumentsResponse> {
|
|
1567
1646
|
return this.request(
|
|
1568
1647
|
"location",
|
|
1569
1648
|
"get_location_brand_documents",
|
|
@@ -1580,12 +1659,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1580
1659
|
* @param id - Brand ID
|
|
1581
1660
|
* @param options - additional request options
|
|
1582
1661
|
*/
|
|
1583
|
-
get_location_brand_timeslots
|
|
1662
|
+
get_location_brand_timeslots(
|
|
1584
1663
|
id: string,
|
|
1585
1664
|
options?: {
|
|
1586
1665
|
query?: GetLocationBrandTimeslotsQuery;
|
|
1587
|
-
} &
|
|
1588
|
-
):
|
|
1666
|
+
} & RequestOptions
|
|
1667
|
+
): ResponsePromise<GetLocationBrandTimeslotsResponse> {
|
|
1589
1668
|
return this.request(
|
|
1590
1669
|
"location",
|
|
1591
1670
|
"get_location_brand_timeslots",
|
|
@@ -1602,12 +1681,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1602
1681
|
* @param body
|
|
1603
1682
|
* @param options - additional request options
|
|
1604
1683
|
*/
|
|
1605
|
-
post_location_marketplace_timeslots
|
|
1684
|
+
post_location_marketplace_timeslots(
|
|
1606
1685
|
body: PostLocationMarketplaceTimeslotsBody,
|
|
1607
1686
|
options?: {
|
|
1608
1687
|
query?: PostLocationMarketplaceTimeslotsQuery;
|
|
1609
|
-
} &
|
|
1610
|
-
):
|
|
1688
|
+
} & RequestOptions
|
|
1689
|
+
): ResponsePromise<PostLocationMarketplaceTimeslotsResponse> {
|
|
1611
1690
|
return this.request(
|
|
1612
1691
|
"location",
|
|
1613
1692
|
"post_location_marketplace_timeslots",
|
|
@@ -1624,12 +1703,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1624
1703
|
* @param body
|
|
1625
1704
|
* @param options - additional request options
|
|
1626
1705
|
*/
|
|
1627
|
-
post_location_marketplace_timeslots_delivery
|
|
1706
|
+
post_location_marketplace_timeslots_delivery(
|
|
1628
1707
|
body: PostLocationMarketplaceTimeslotsDeliveryBody,
|
|
1629
1708
|
options?: {
|
|
1630
1709
|
query?: PostLocationMarketplaceTimeslotsDeliveryQuery;
|
|
1631
|
-
} &
|
|
1632
|
-
):
|
|
1710
|
+
} & RequestOptions
|
|
1711
|
+
): ResponsePromise<PostLocationMarketplaceTimeslotsDeliveryResponse> {
|
|
1633
1712
|
return this.request(
|
|
1634
1713
|
"location",
|
|
1635
1714
|
"post_location_marketplace_timeslots_delivery",
|
|
@@ -1647,13 +1726,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1647
1726
|
* @param menu - Menu ID
|
|
1648
1727
|
* @param options - additional request options
|
|
1649
1728
|
*/
|
|
1650
|
-
get_location_brand_menu_timeslots
|
|
1729
|
+
get_location_brand_menu_timeslots(
|
|
1651
1730
|
id: string,
|
|
1652
1731
|
menu: string,
|
|
1653
1732
|
options?: {
|
|
1654
1733
|
query?: GetLocationBrandMenuTimeslotsQuery;
|
|
1655
|
-
} &
|
|
1656
|
-
):
|
|
1734
|
+
} & RequestOptions
|
|
1735
|
+
): ResponsePromise<GetLocationBrandMenuTimeslotsResponse> {
|
|
1657
1736
|
return this.request(
|
|
1658
1737
|
"location",
|
|
1659
1738
|
"get_location_brand_menu_timeslots",
|
|
@@ -1670,12 +1749,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1670
1749
|
* @param id - Brand ID
|
|
1671
1750
|
* @param options - additional request options
|
|
1672
1751
|
*/
|
|
1673
|
-
get_location_brand_delivery_timeslots
|
|
1752
|
+
get_location_brand_delivery_timeslots(
|
|
1674
1753
|
id: string,
|
|
1675
1754
|
options?: {
|
|
1676
1755
|
query?: GetLocationBrandDeliveryTimeslotsQuery;
|
|
1677
|
-
} &
|
|
1678
|
-
):
|
|
1756
|
+
} & RequestOptions
|
|
1757
|
+
): ResponsePromise<GetLocationBrandDeliveryTimeslotsResponse> {
|
|
1679
1758
|
return this.request(
|
|
1680
1759
|
"location",
|
|
1681
1760
|
"get_location_brand_delivery_timeslots",
|
|
@@ -1693,13 +1772,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1693
1772
|
* @param menu - Menu ID
|
|
1694
1773
|
* @param options - additional request options
|
|
1695
1774
|
*/
|
|
1696
|
-
get_location_brand_menu_delivery_timeslosts
|
|
1775
|
+
get_location_brand_menu_delivery_timeslosts(
|
|
1697
1776
|
id: string,
|
|
1698
1777
|
menu: string,
|
|
1699
1778
|
options?: {
|
|
1700
1779
|
query?: GetLocationBrandMenuDeliveryTimeslostsQuery;
|
|
1701
|
-
} &
|
|
1702
|
-
):
|
|
1780
|
+
} & RequestOptions
|
|
1781
|
+
): ResponsePromise<GetLocationBrandMenuDeliveryTimeslostsResponse> {
|
|
1703
1782
|
return this.request(
|
|
1704
1783
|
"location",
|
|
1705
1784
|
"get_location_brand_menu_delivery_timeslosts",
|
|
@@ -1716,10 +1795,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1716
1795
|
* @param body
|
|
1717
1796
|
* @param options - additional request options
|
|
1718
1797
|
*/
|
|
1719
|
-
post_location_brand
|
|
1798
|
+
post_location_brand(
|
|
1720
1799
|
body: PostLocationBrandBody,
|
|
1721
|
-
options?:
|
|
1722
|
-
):
|
|
1800
|
+
options?: RequestOptions
|
|
1801
|
+
): ResponsePromise<PostLocationBrandResponse> {
|
|
1723
1802
|
return this.request(
|
|
1724
1803
|
"location",
|
|
1725
1804
|
"post_location_brand",
|
|
@@ -1736,12 +1815,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1736
1815
|
* @param id - Brand ID
|
|
1737
1816
|
* @param options - additional request options
|
|
1738
1817
|
*/
|
|
1739
|
-
get_location_brand
|
|
1818
|
+
get_location_brand(
|
|
1740
1819
|
id: string,
|
|
1741
1820
|
options?: {
|
|
1742
1821
|
query?: GetLocationBrandQuery;
|
|
1743
|
-
} &
|
|
1744
|
-
):
|
|
1822
|
+
} & RequestOptions
|
|
1823
|
+
): ResponsePromise<GetLocationBrandResponse> {
|
|
1745
1824
|
return this.request(
|
|
1746
1825
|
"location",
|
|
1747
1826
|
"get_location_brand",
|
|
@@ -1759,11 +1838,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1759
1838
|
* @param body
|
|
1760
1839
|
* @param options - additional request options
|
|
1761
1840
|
*/
|
|
1762
|
-
patch_location_brand
|
|
1841
|
+
patch_location_brand(
|
|
1763
1842
|
id: string,
|
|
1764
1843
|
body: PatchLocationBrandBody,
|
|
1765
|
-
options?:
|
|
1766
|
-
):
|
|
1844
|
+
options?: RequestOptions
|
|
1845
|
+
): ResponsePromise<PatchLocationBrandResponse> {
|
|
1767
1846
|
return this.request(
|
|
1768
1847
|
"location",
|
|
1769
1848
|
"patch_location_brand",
|
|
@@ -1781,11 +1860,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1781
1860
|
* @param body
|
|
1782
1861
|
* @param options - additional request options
|
|
1783
1862
|
*/
|
|
1784
|
-
delete_location_brand
|
|
1863
|
+
delete_location_brand(
|
|
1785
1864
|
id: string,
|
|
1786
1865
|
body: DeleteLocationBrandBody,
|
|
1787
|
-
options?:
|
|
1788
|
-
):
|
|
1866
|
+
options?: RequestOptions
|
|
1867
|
+
): ResponsePromise<DeleteLocationBrandResponse> {
|
|
1789
1868
|
return this.request(
|
|
1790
1869
|
"location",
|
|
1791
1870
|
"delete_location_brand",
|
|
@@ -1803,11 +1882,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1803
1882
|
* @param body
|
|
1804
1883
|
* @param options - additional request options
|
|
1805
1884
|
*/
|
|
1806
|
-
put_location_brand
|
|
1885
|
+
put_location_brand(
|
|
1807
1886
|
id: string,
|
|
1808
1887
|
body: PutLocationBrandBody,
|
|
1809
|
-
options?:
|
|
1810
|
-
):
|
|
1888
|
+
options?: RequestOptions
|
|
1889
|
+
): ResponsePromise<PutLocationBrandResponse> {
|
|
1811
1890
|
return this.request(
|
|
1812
1891
|
"location",
|
|
1813
1892
|
"put_location_brand",
|
|
@@ -1823,9 +1902,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1823
1902
|
*
|
|
1824
1903
|
* @param options - additional request options
|
|
1825
1904
|
*/
|
|
1826
|
-
get_location_sectors
|
|
1827
|
-
options?:
|
|
1828
|
-
|
|
1905
|
+
get_location_sectors(
|
|
1906
|
+
options?: {
|
|
1907
|
+
query?: GetLocationSectorsQuery;
|
|
1908
|
+
} & RequestOptions
|
|
1909
|
+
): ResponsePromise<GetLocationSectorsResponse> {
|
|
1829
1910
|
return this.request(
|
|
1830
1911
|
"location",
|
|
1831
1912
|
"get_location_sectors",
|
|
@@ -1842,10 +1923,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1842
1923
|
* @param body
|
|
1843
1924
|
* @param options - additional request options
|
|
1844
1925
|
*/
|
|
1845
|
-
post_location_sector
|
|
1926
|
+
post_location_sector(
|
|
1846
1927
|
body: PostLocationSectorBody,
|
|
1847
|
-
options?:
|
|
1848
|
-
):
|
|
1928
|
+
options?: RequestOptions
|
|
1929
|
+
): ResponsePromise<PostLocationSectorResponse> {
|
|
1849
1930
|
return this.request(
|
|
1850
1931
|
"location",
|
|
1851
1932
|
"post_location_sector",
|
|
@@ -1862,12 +1943,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1862
1943
|
* @param id - sector
|
|
1863
1944
|
* @param options - additional request options
|
|
1864
1945
|
*/
|
|
1865
|
-
get_location_sector
|
|
1946
|
+
get_location_sector(
|
|
1866
1947
|
id: string,
|
|
1867
1948
|
options?: {
|
|
1868
1949
|
query?: GetLocationSectorQuery;
|
|
1869
|
-
} &
|
|
1870
|
-
):
|
|
1950
|
+
} & RequestOptions
|
|
1951
|
+
): ResponsePromise<GetLocationSectorResponse> {
|
|
1871
1952
|
return this.request(
|
|
1872
1953
|
"location",
|
|
1873
1954
|
"get_location_sector",
|
|
@@ -1885,13 +1966,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1885
1966
|
* @param body
|
|
1886
1967
|
* @param options - additional request options
|
|
1887
1968
|
*/
|
|
1888
|
-
patch_location_sector
|
|
1969
|
+
patch_location_sector(
|
|
1889
1970
|
id: string,
|
|
1890
1971
|
body: PatchLocationSectorBody,
|
|
1891
1972
|
options?: {
|
|
1892
1973
|
query?: PatchLocationSectorQuery;
|
|
1893
|
-
} &
|
|
1894
|
-
):
|
|
1974
|
+
} & RequestOptions
|
|
1975
|
+
): ResponsePromise<PatchLocationSectorResponse> {
|
|
1895
1976
|
return this.request(
|
|
1896
1977
|
"location",
|
|
1897
1978
|
"patch_location_sector",
|
|
@@ -1908,10 +1989,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1908
1989
|
* @param body
|
|
1909
1990
|
* @param options - additional request options
|
|
1910
1991
|
*/
|
|
1911
|
-
post_location_company
|
|
1992
|
+
post_location_company(
|
|
1912
1993
|
body: PostLocationCompanyBody,
|
|
1913
|
-
options?:
|
|
1914
|
-
):
|
|
1994
|
+
options?: RequestOptions
|
|
1995
|
+
): ResponsePromise<PostLocationCompanyResponse> {
|
|
1915
1996
|
return this.request(
|
|
1916
1997
|
"location",
|
|
1917
1998
|
"post_location_company",
|
|
@@ -1928,12 +2009,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1928
2009
|
* @param id - Company ID
|
|
1929
2010
|
* @param options - additional request options
|
|
1930
2011
|
*/
|
|
1931
|
-
get_location_company
|
|
2012
|
+
get_location_company(
|
|
1932
2013
|
id: string,
|
|
1933
2014
|
options?: {
|
|
1934
2015
|
query?: GetLocationCompanyQuery;
|
|
1935
|
-
} &
|
|
1936
|
-
):
|
|
2016
|
+
} & RequestOptions
|
|
2017
|
+
): ResponsePromise<GetLocationCompanyResponse> {
|
|
1937
2018
|
return this.request(
|
|
1938
2019
|
"location",
|
|
1939
2020
|
"get_location_company",
|
|
@@ -1951,11 +2032,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1951
2032
|
* @param body
|
|
1952
2033
|
* @param options - additional request options
|
|
1953
2034
|
*/
|
|
1954
|
-
patch_location_company
|
|
2035
|
+
patch_location_company(
|
|
1955
2036
|
id: string,
|
|
1956
2037
|
body: PatchLocationCompanyBody,
|
|
1957
|
-
options?:
|
|
1958
|
-
):
|
|
2038
|
+
options?: RequestOptions
|
|
2039
|
+
): ResponsePromise<PatchLocationCompanyResponse> {
|
|
1959
2040
|
return this.request(
|
|
1960
2041
|
"location",
|
|
1961
2042
|
"patch_location_company",
|
|
@@ -1966,16 +2047,38 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1966
2047
|
);
|
|
1967
2048
|
}
|
|
1968
2049
|
|
|
2050
|
+
/**
|
|
2051
|
+
* GET /location/brand/external/{external_id} - Get an individual Location filtered by external_id
|
|
2052
|
+
*
|
|
2053
|
+
* @param external_id - external location id
|
|
2054
|
+
* @param options - additional request options
|
|
2055
|
+
*/
|
|
2056
|
+
get_location_brand_external(
|
|
2057
|
+
external_id: string,
|
|
2058
|
+
options?: {
|
|
2059
|
+
query?: GetLocationBrandExternalQuery;
|
|
2060
|
+
} & RequestOptions
|
|
2061
|
+
): ResponsePromise<GetLocationBrandExternalResponse> {
|
|
2062
|
+
return this.request(
|
|
2063
|
+
"location",
|
|
2064
|
+
"get_location_brand_external",
|
|
2065
|
+
"get",
|
|
2066
|
+
`/location/brand/external/${external_id}`,
|
|
2067
|
+
null,
|
|
2068
|
+
options
|
|
2069
|
+
);
|
|
2070
|
+
}
|
|
2071
|
+
|
|
1969
2072
|
/**
|
|
1970
2073
|
* POST /shoppingcart/ - Create a new ShoppingCart
|
|
1971
2074
|
*
|
|
1972
2075
|
* @param body
|
|
1973
2076
|
* @param options - additional request options
|
|
1974
2077
|
*/
|
|
1975
|
-
post_shoppingcart_cart
|
|
2078
|
+
post_shoppingcart_cart(
|
|
1976
2079
|
body: PostShoppingcartCartBody,
|
|
1977
|
-
options?:
|
|
1978
|
-
):
|
|
2080
|
+
options?: RequestOptions
|
|
2081
|
+
): ResponsePromise<PostShoppingcartCartResponse> {
|
|
1979
2082
|
return this.request(
|
|
1980
2083
|
"shoppingcart",
|
|
1981
2084
|
"post_shoppingcart_cart",
|
|
@@ -1993,11 +2096,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1993
2096
|
* @param body
|
|
1994
2097
|
* @param options - additional request options
|
|
1995
2098
|
*/
|
|
1996
|
-
put_shoppingcart_cart_items
|
|
2099
|
+
put_shoppingcart_cart_items(
|
|
1997
2100
|
id: string,
|
|
1998
2101
|
body: PutShoppingcartCartItemsBody,
|
|
1999
|
-
options?:
|
|
2000
|
-
):
|
|
2102
|
+
options?: RequestOptions
|
|
2103
|
+
): ResponsePromise<PutShoppingcartCartItemsResponse> {
|
|
2001
2104
|
return this.request(
|
|
2002
2105
|
"shoppingcart",
|
|
2003
2106
|
"put_shoppingcart_cart_items",
|
|
@@ -2015,11 +2118,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2015
2118
|
* @param body
|
|
2016
2119
|
* @param options - additional request options
|
|
2017
2120
|
*/
|
|
2018
|
-
delete_shoppingcart_cart_items
|
|
2121
|
+
delete_shoppingcart_cart_items(
|
|
2019
2122
|
id: string,
|
|
2020
2123
|
body: DeleteShoppingcartCartItemsBody,
|
|
2021
|
-
options?:
|
|
2022
|
-
):
|
|
2124
|
+
options?: RequestOptions
|
|
2125
|
+
): ResponsePromise<DeleteShoppingcartCartItemsResponse> {
|
|
2023
2126
|
return this.request(
|
|
2024
2127
|
"shoppingcart",
|
|
2025
2128
|
"delete_shoppingcart_cart_items",
|
|
@@ -2036,10 +2139,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2036
2139
|
* @param id - Shopping cart ID
|
|
2037
2140
|
* @param options - additional request options
|
|
2038
2141
|
*/
|
|
2039
|
-
get_shoppingcart_cart
|
|
2142
|
+
get_shoppingcart_cart(
|
|
2040
2143
|
id: string,
|
|
2041
|
-
options?:
|
|
2042
|
-
):
|
|
2144
|
+
options?: RequestOptions
|
|
2145
|
+
): ResponsePromise<GetShoppingcartCartResponse> {
|
|
2043
2146
|
return this.request(
|
|
2044
2147
|
"shoppingcart",
|
|
2045
2148
|
"get_shoppingcart_cart",
|
|
@@ -2056,10 +2159,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2056
2159
|
* @param id - Shopping cart ID
|
|
2057
2160
|
* @param options - additional request options
|
|
2058
2161
|
*/
|
|
2059
|
-
patch_shoppingcart_cart
|
|
2162
|
+
patch_shoppingcart_cart(
|
|
2060
2163
|
id: string,
|
|
2061
|
-
options?:
|
|
2062
|
-
):
|
|
2164
|
+
options?: RequestOptions
|
|
2165
|
+
): ResponsePromise<PatchShoppingcartCartResponse> {
|
|
2063
2166
|
return this.request(
|
|
2064
2167
|
"shoppingcart",
|
|
2065
2168
|
"patch_shoppingcart_cart",
|
|
@@ -2077,11 +2180,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2077
2180
|
* @param body
|
|
2078
2181
|
* @param options - additional request options
|
|
2079
2182
|
*/
|
|
2080
|
-
put_shoppingcart_cart_promo
|
|
2183
|
+
put_shoppingcart_cart_promo(
|
|
2081
2184
|
id: string,
|
|
2082
2185
|
body: PutShoppingcartCartPromoBody,
|
|
2083
|
-
options?:
|
|
2084
|
-
):
|
|
2186
|
+
options?: RequestOptions
|
|
2187
|
+
): ResponsePromise<PutShoppingcartCartPromoResponse> {
|
|
2085
2188
|
return this.request(
|
|
2086
2189
|
"shoppingcart",
|
|
2087
2190
|
"put_shoppingcart_cart_promo",
|
|
@@ -2098,10 +2201,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2098
2201
|
* @param id - Shopping cart ID
|
|
2099
2202
|
* @param options - additional request options
|
|
2100
2203
|
*/
|
|
2101
|
-
delete_shoppingcart_cart_promo
|
|
2204
|
+
delete_shoppingcart_cart_promo(
|
|
2102
2205
|
id: string,
|
|
2103
|
-
options?:
|
|
2104
|
-
):
|
|
2206
|
+
options?: RequestOptions
|
|
2207
|
+
): ResponsePromise<DeleteShoppingcartCartPromoResponse> {
|
|
2105
2208
|
return this.request(
|
|
2106
2209
|
"shoppingcart",
|
|
2107
2210
|
"delete_shoppingcart_cart_promo",
|
|
@@ -2119,11 +2222,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2119
2222
|
* @param body
|
|
2120
2223
|
* @param options - additional request options
|
|
2121
2224
|
*/
|
|
2122
|
-
put_shoppingcart_cart_payment
|
|
2225
|
+
put_shoppingcart_cart_payment(
|
|
2123
2226
|
id: string,
|
|
2124
2227
|
body: PutShoppingcartCartPaymentBody,
|
|
2125
|
-
options?:
|
|
2126
|
-
):
|
|
2228
|
+
options?: RequestOptions
|
|
2229
|
+
): ResponsePromise<PutShoppingcartCartPaymentResponse> {
|
|
2127
2230
|
return this.request(
|
|
2128
2231
|
"shoppingcart",
|
|
2129
2232
|
"put_shoppingcart_cart_payment",
|
|
@@ -2141,11 +2244,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2141
2244
|
* @param body
|
|
2142
2245
|
* @param options - additional request options
|
|
2143
2246
|
*/
|
|
2144
|
-
put_shoppingcart_cart_order
|
|
2247
|
+
put_shoppingcart_cart_order(
|
|
2145
2248
|
id: string,
|
|
2146
2249
|
body: PutShoppingcartCartOrderBody,
|
|
2147
|
-
options?:
|
|
2148
|
-
):
|
|
2250
|
+
options?: RequestOptions
|
|
2251
|
+
): ResponsePromise<PutShoppingcartCartOrderResponse> {
|
|
2149
2252
|
return this.request(
|
|
2150
2253
|
"shoppingcart",
|
|
2151
2254
|
"put_shoppingcart_cart_order",
|
|
@@ -2164,12 +2267,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2164
2267
|
* @param body
|
|
2165
2268
|
* @param options - additional request options
|
|
2166
2269
|
*/
|
|
2167
|
-
put_shoppingcart_cart_loyalty
|
|
2270
|
+
put_shoppingcart_cart_loyalty(
|
|
2168
2271
|
id: string,
|
|
2169
2272
|
user_id: string,
|
|
2170
2273
|
body: PutShoppingcartCartLoyaltyBody,
|
|
2171
|
-
options?:
|
|
2172
|
-
):
|
|
2274
|
+
options?: RequestOptions
|
|
2275
|
+
): ResponsePromise<PutShoppingcartCartLoyaltyResponse> {
|
|
2173
2276
|
return this.request(
|
|
2174
2277
|
"shoppingcart",
|
|
2175
2278
|
"put_shoppingcart_cart_loyalty",
|
|
@@ -2187,11 +2290,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2187
2290
|
* @param user_id - User ID
|
|
2188
2291
|
* @param options - additional request options
|
|
2189
2292
|
*/
|
|
2190
|
-
delete_shoppingcart_cart_loyalty
|
|
2293
|
+
delete_shoppingcart_cart_loyalty(
|
|
2191
2294
|
id: string,
|
|
2192
2295
|
user_id: string,
|
|
2193
|
-
options?:
|
|
2194
|
-
):
|
|
2296
|
+
options?: RequestOptions
|
|
2297
|
+
): ResponsePromise<DeleteShoppingcartCartLoyaltyResponse> {
|
|
2195
2298
|
return this.request(
|
|
2196
2299
|
"shoppingcart",
|
|
2197
2300
|
"delete_shoppingcart_cart_loyalty",
|
|
@@ -2209,11 +2312,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2209
2312
|
* @param body
|
|
2210
2313
|
* @param options - additional request options
|
|
2211
2314
|
*/
|
|
2212
|
-
post_shoppingcart_clone_cart
|
|
2315
|
+
post_shoppingcart_clone_cart(
|
|
2213
2316
|
id: string,
|
|
2214
2317
|
body: PostShoppingcartCloneCartBody,
|
|
2215
|
-
options?:
|
|
2216
|
-
):
|
|
2318
|
+
options?: RequestOptions
|
|
2319
|
+
): ResponsePromise<PostShoppingcartCloneCartResponse> {
|
|
2217
2320
|
return this.request(
|
|
2218
2321
|
"shoppingcart",
|
|
2219
2322
|
"post_shoppingcart_clone_cart",
|
|
@@ -2230,10 +2333,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2230
2333
|
* @param body
|
|
2231
2334
|
* @param options - additional request options
|
|
2232
2335
|
*/
|
|
2233
|
-
post_shoppingcart_bulk
|
|
2336
|
+
post_shoppingcart_bulk(
|
|
2234
2337
|
body: PostShoppingcartBulkBody,
|
|
2235
|
-
options?:
|
|
2236
|
-
):
|
|
2338
|
+
options?: RequestOptions
|
|
2339
|
+
): ResponsePromise<PostShoppingcartBulkResponse> {
|
|
2237
2340
|
return this.request(
|
|
2238
2341
|
"shoppingcart",
|
|
2239
2342
|
"post_shoppingcart_bulk",
|
|
@@ -2250,10 +2353,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2250
2353
|
* @param body
|
|
2251
2354
|
* @param options - additional request options
|
|
2252
2355
|
*/
|
|
2253
|
-
post_partner_standardcognition_shoppingcart
|
|
2356
|
+
post_partner_standardcognition_shoppingcart(
|
|
2254
2357
|
body: PostPartnerStandardcognitionShoppingcartBody,
|
|
2255
|
-
options?:
|
|
2256
|
-
):
|
|
2358
|
+
options?: RequestOptions
|
|
2359
|
+
): ResponsePromise<PostPartnerStandardcognitionShoppingcartResponse> {
|
|
2257
2360
|
return this.request(
|
|
2258
2361
|
"partner",
|
|
2259
2362
|
"post_partner_standardcognition_shoppingcart",
|
|
@@ -2269,9 +2372,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2269
2372
|
*
|
|
2270
2373
|
* @param options - additional request options
|
|
2271
2374
|
*/
|
|
2272
|
-
get_partner_standardcognition_locations
|
|
2273
|
-
options?:
|
|
2274
|
-
):
|
|
2375
|
+
get_partner_standardcognition_locations(
|
|
2376
|
+
options?: RequestOptions
|
|
2377
|
+
): ResponsePromise<GetPartnerStandardcognitionLocationsResponse> {
|
|
2275
2378
|
return this.request(
|
|
2276
2379
|
"partner",
|
|
2277
2380
|
"get_partner_standardcognition_locations",
|
|
@@ -2282,14 +2385,52 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2282
2385
|
);
|
|
2283
2386
|
}
|
|
2284
2387
|
|
|
2388
|
+
/**
|
|
2389
|
+
* GET /partner/standardcognition/stores - Gets the UUID for all the Standard Cognition external locations
|
|
2390
|
+
*
|
|
2391
|
+
* @param options - additional request options
|
|
2392
|
+
*/
|
|
2393
|
+
get_partner_standardcognition_stores(
|
|
2394
|
+
options?: RequestOptions
|
|
2395
|
+
): ResponsePromise<GetPartnerStandardcognitionStoresResponse> {
|
|
2396
|
+
return this.request(
|
|
2397
|
+
"partner",
|
|
2398
|
+
"get_partner_standardcognition_stores",
|
|
2399
|
+
"get",
|
|
2400
|
+
`/partner/standardcognition/stores`,
|
|
2401
|
+
null,
|
|
2402
|
+
options
|
|
2403
|
+
);
|
|
2404
|
+
}
|
|
2405
|
+
|
|
2406
|
+
/**
|
|
2407
|
+
* POST /partner/standardcognition/menu - Create new Standard Cognition menu from JSON files
|
|
2408
|
+
*
|
|
2409
|
+
* @param body
|
|
2410
|
+
* @param options - additional request options
|
|
2411
|
+
*/
|
|
2412
|
+
post_partner_standardcognition_menu(
|
|
2413
|
+
body: PostPartnerStandardcognitionMenuBody,
|
|
2414
|
+
options?: RequestOptions
|
|
2415
|
+
): ResponsePromise<PostPartnerStandardcognitionMenuResponse> {
|
|
2416
|
+
return this.request(
|
|
2417
|
+
"partner",
|
|
2418
|
+
"post_partner_standardcognition_menu",
|
|
2419
|
+
"post",
|
|
2420
|
+
`/partner/standardcognition/menu`,
|
|
2421
|
+
body,
|
|
2422
|
+
options
|
|
2423
|
+
);
|
|
2424
|
+
}
|
|
2425
|
+
|
|
2285
2426
|
/**
|
|
2286
2427
|
* GET /partner/coolr/locations - Gets the locations where Coolr is available
|
|
2287
2428
|
*
|
|
2288
2429
|
* @param options - additional request options
|
|
2289
2430
|
*/
|
|
2290
|
-
get_partner_coolr_locations
|
|
2291
|
-
options?:
|
|
2292
|
-
):
|
|
2431
|
+
get_partner_coolr_locations(
|
|
2432
|
+
options?: RequestOptions
|
|
2433
|
+
): ResponsePromise<GetPartnerCoolrLocationsResponse> {
|
|
2293
2434
|
return this.request(
|
|
2294
2435
|
"partner",
|
|
2295
2436
|
"get_partner_coolr_locations",
|
|
@@ -2306,10 +2447,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2306
2447
|
* @param id - location
|
|
2307
2448
|
* @param options - additional request options
|
|
2308
2449
|
*/
|
|
2309
|
-
get_partner_coolr_images
|
|
2450
|
+
get_partner_coolr_images(
|
|
2310
2451
|
id: string,
|
|
2311
|
-
options?:
|
|
2312
|
-
):
|
|
2452
|
+
options?: RequestOptions
|
|
2453
|
+
): ResponsePromise<GetPartnerCoolrImagesResponse> {
|
|
2313
2454
|
return this.request(
|
|
2314
2455
|
"partner",
|
|
2315
2456
|
"get_partner_coolr_images",
|
|
@@ -2325,9 +2466,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2325
2466
|
*
|
|
2326
2467
|
* @param options - additional request options
|
|
2327
2468
|
*/
|
|
2328
|
-
get_partner_swagger
|
|
2329
|
-
options?: Options
|
|
2330
|
-
): ResponseType<GetPartnerSwaggerResponse, Options> {
|
|
2469
|
+
get_partner_swagger(options?: RequestOptions): ResponsePromise<GetPartnerSwaggerResponse> {
|
|
2331
2470
|
return this.request(
|
|
2332
2471
|
"partner",
|
|
2333
2472
|
"get_partner_swagger",
|
|
@@ -2338,16 +2477,23 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2338
2477
|
);
|
|
2339
2478
|
}
|
|
2340
2479
|
|
|
2480
|
+
/**
|
|
2481
|
+
* POST /email - Send an email
|
|
2482
|
+
*
|
|
2483
|
+
* @param body
|
|
2484
|
+
* @param options - additional request options
|
|
2485
|
+
*/
|
|
2486
|
+
post_email(body: PostEmailBody, options?: RequestOptions): ResponsePromise<PostEmailResponse> {
|
|
2487
|
+
return this.request("email", "post_email", "post", `/email`, body, options);
|
|
2488
|
+
}
|
|
2489
|
+
|
|
2341
2490
|
/**
|
|
2342
2491
|
* POST /task/ - Create new Task
|
|
2343
2492
|
*
|
|
2344
2493
|
* @param body - Task Information
|
|
2345
2494
|
* @param options - additional request options
|
|
2346
2495
|
*/
|
|
2347
|
-
post_task
|
|
2348
|
-
body: PostTaskBody,
|
|
2349
|
-
options?: Options
|
|
2350
|
-
): ResponseType<PostTaskResponse, Options> {
|
|
2496
|
+
post_task(body: PostTaskBody, options?: RequestOptions): ResponsePromise<PostTaskResponse> {
|
|
2351
2497
|
return this.request("task", "post_task", "post", `/task/`, body, options);
|
|
2352
2498
|
}
|
|
2353
2499
|
|
|
@@ -2357,10 +2503,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2357
2503
|
* @param id - Task ID
|
|
2358
2504
|
* @param options - additional request options
|
|
2359
2505
|
*/
|
|
2360
|
-
get_task
|
|
2361
|
-
id: string,
|
|
2362
|
-
options?: Options
|
|
2363
|
-
): ResponseType<GetTaskResponse, Options> {
|
|
2506
|
+
get_task(id: string, options?: RequestOptions): ResponsePromise<GetTaskResponse> {
|
|
2364
2507
|
return this.request("task", "get_task", "get", `/task/${id}`, null, options);
|
|
2365
2508
|
}
|
|
2366
2509
|
|
|
@@ -2371,11 +2514,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2371
2514
|
* @param body - Task Information
|
|
2372
2515
|
* @param options - additional request options
|
|
2373
2516
|
*/
|
|
2374
|
-
patch_task
|
|
2517
|
+
patch_task(
|
|
2375
2518
|
id: string,
|
|
2376
2519
|
body: PatchTaskBody,
|
|
2377
|
-
options?:
|
|
2378
|
-
):
|
|
2520
|
+
options?: RequestOptions
|
|
2521
|
+
): ResponsePromise<PatchTaskResponse> {
|
|
2379
2522
|
return this.request("task", "patch_task", "patch", `/task/${id}`, body, options);
|
|
2380
2523
|
}
|
|
2381
2524
|
|
|
@@ -2385,10 +2528,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2385
2528
|
* @param id - Task ID
|
|
2386
2529
|
* @param options - additional request options
|
|
2387
2530
|
*/
|
|
2388
|
-
delete_task
|
|
2389
|
-
id: string,
|
|
2390
|
-
options?: Options
|
|
2391
|
-
): ResponseType<DeleteTaskResponse, Options> {
|
|
2531
|
+
delete_task(id: string, options?: RequestOptions): ResponsePromise<DeleteTaskResponse> {
|
|
2392
2532
|
return this.request("task", "delete_task", "delete", `/task/${id}`, null, options);
|
|
2393
2533
|
}
|
|
2394
2534
|
|
|
@@ -2398,10 +2538,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2398
2538
|
* @param id - Order ID
|
|
2399
2539
|
* @param options - additional request options
|
|
2400
2540
|
*/
|
|
2401
|
-
get_task_order
|
|
2402
|
-
id: string,
|
|
2403
|
-
options?: Options
|
|
2404
|
-
): ResponseType<GetTaskOrderResponse, Options> {
|
|
2541
|
+
get_task_order(id: string, options?: RequestOptions): ResponsePromise<GetTaskOrderResponse> {
|
|
2405
2542
|
return this.request("task", "get_task_order", "get", `/task/order/${id}`, null, options);
|
|
2406
2543
|
}
|
|
2407
2544
|
|
|
@@ -2411,10 +2548,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2411
2548
|
* @param id - Order ID
|
|
2412
2549
|
* @param options - additional request options
|
|
2413
2550
|
*/
|
|
2414
|
-
get_task_order_kds
|
|
2551
|
+
get_task_order_kds(
|
|
2415
2552
|
id: string,
|
|
2416
|
-
options?:
|
|
2417
|
-
):
|
|
2553
|
+
options?: RequestOptions
|
|
2554
|
+
): ResponsePromise<GetTaskOrderKdsResponse> {
|
|
2418
2555
|
return this.request(
|
|
2419
2556
|
"task",
|
|
2420
2557
|
"get_task_order_kds",
|
|
@@ -2432,11 +2569,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2432
2569
|
* @param body - Order information that you wish to update
|
|
2433
2570
|
* @param options - additional request options
|
|
2434
2571
|
*/
|
|
2435
|
-
patch_task_order_kds
|
|
2572
|
+
patch_task_order_kds(
|
|
2436
2573
|
id: string,
|
|
2437
2574
|
body: PatchTaskOrderKdsBody,
|
|
2438
|
-
options?:
|
|
2439
|
-
):
|
|
2575
|
+
options?: RequestOptions
|
|
2576
|
+
): ResponsePromise<PatchTaskOrderKdsResponse> {
|
|
2440
2577
|
return this.request(
|
|
2441
2578
|
"task",
|
|
2442
2579
|
"patch_task_order_kds",
|
|
@@ -2453,12 +2590,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2453
2590
|
* @param id - Assignee ID
|
|
2454
2591
|
* @param options - additional request options
|
|
2455
2592
|
*/
|
|
2456
|
-
get_task_assignee
|
|
2593
|
+
get_task_assignee(
|
|
2457
2594
|
id: string,
|
|
2458
2595
|
options?: {
|
|
2459
2596
|
query?: GetTaskAssigneeQuery;
|
|
2460
|
-
} &
|
|
2461
|
-
):
|
|
2597
|
+
} & RequestOptions
|
|
2598
|
+
): ResponsePromise<GetTaskAssigneeResponse> {
|
|
2462
2599
|
return this.request("task", "get_task_assignee", "get", `/task/assignee/${id}`, null, options);
|
|
2463
2600
|
}
|
|
2464
2601
|
|
|
@@ -2468,12 +2605,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2468
2605
|
* @param id - location brand ID
|
|
2469
2606
|
* @param options - additional request options
|
|
2470
2607
|
*/
|
|
2471
|
-
get_task_location_brand
|
|
2608
|
+
get_task_location_brand(
|
|
2472
2609
|
id: string,
|
|
2473
2610
|
options?: {
|
|
2474
2611
|
query?: GetTaskLocationBrandQuery;
|
|
2475
|
-
} &
|
|
2476
|
-
):
|
|
2612
|
+
} & RequestOptions
|
|
2613
|
+
): ResponsePromise<GetTaskLocationBrandResponse> {
|
|
2477
2614
|
return this.request(
|
|
2478
2615
|
"task",
|
|
2479
2616
|
"get_task_location_brand",
|
|
@@ -2490,12 +2627,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2490
2627
|
* @param id - Location group ID
|
|
2491
2628
|
* @param options - additional request options
|
|
2492
2629
|
*/
|
|
2493
|
-
get_task_location_group
|
|
2630
|
+
get_task_location_group(
|
|
2494
2631
|
id: string,
|
|
2495
2632
|
options?: {
|
|
2496
2633
|
query?: GetTaskLocationGroupQuery;
|
|
2497
|
-
} &
|
|
2498
|
-
):
|
|
2634
|
+
} & RequestOptions
|
|
2635
|
+
): ResponsePromise<GetTaskLocationGroupResponse> {
|
|
2499
2636
|
return this.request(
|
|
2500
2637
|
"task",
|
|
2501
2638
|
"get_task_location_group",
|
|
@@ -2511,11 +2648,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2511
2648
|
*
|
|
2512
2649
|
* @param options - additional request options
|
|
2513
2650
|
*/
|
|
2514
|
-
get_kds_devices
|
|
2651
|
+
get_kds_devices(
|
|
2515
2652
|
options: {
|
|
2516
2653
|
query: GetKdsDevicesQuery;
|
|
2517
|
-
} &
|
|
2518
|
-
):
|
|
2654
|
+
} & RequestOptions
|
|
2655
|
+
): ResponsePromise<GetKdsDevicesResponse> {
|
|
2519
2656
|
return this.request("kds", "get_kds_devices", "get", `/kds/devices`, null, options);
|
|
2520
2657
|
}
|
|
2521
2658
|
|
|
@@ -2525,10 +2662,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2525
2662
|
* @param body - AuthPostBody object
|
|
2526
2663
|
* @param options - additional request options
|
|
2527
2664
|
*/
|
|
2528
|
-
post_kds_device_auth
|
|
2665
|
+
post_kds_device_auth(
|
|
2529
2666
|
body: PostKdsDeviceAuthBody,
|
|
2530
|
-
options?:
|
|
2531
|
-
):
|
|
2667
|
+
options?: RequestOptions
|
|
2668
|
+
): ResponsePromise<PostKdsDeviceAuthResponse> {
|
|
2532
2669
|
return this.request("kds", "post_kds_device_auth", "post", `/kds/device/auth`, body, options);
|
|
2533
2670
|
}
|
|
2534
2671
|
|
|
@@ -2538,10 +2675,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2538
2675
|
* @param device_id - serial number encoded as cdl id
|
|
2539
2676
|
* @param options - additional request options
|
|
2540
2677
|
*/
|
|
2541
|
-
delete_kds_device_auth
|
|
2678
|
+
delete_kds_device_auth(
|
|
2542
2679
|
device_id: string,
|
|
2543
|
-
options?:
|
|
2544
|
-
):
|
|
2680
|
+
options?: RequestOptions
|
|
2681
|
+
): ResponsePromise<DeleteKdsDeviceAuthResponse> {
|
|
2545
2682
|
return this.request(
|
|
2546
2683
|
"kds",
|
|
2547
2684
|
"delete_kds_device_auth",
|
|
@@ -2557,9 +2694,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2557
2694
|
*
|
|
2558
2695
|
* @param options - additional request options
|
|
2559
2696
|
*/
|
|
2560
|
-
get_kds_swagger
|
|
2561
|
-
options?: Options
|
|
2562
|
-
): ResponseType<GetKdsSwaggerResponse, Options> {
|
|
2697
|
+
get_kds_swagger(options?: RequestOptions): ResponsePromise<GetKdsSwaggerResponse> {
|
|
2563
2698
|
return this.request("kds", "get_kds_swagger", "get", `/kds/swagger.json`, null, options);
|
|
2564
2699
|
}
|
|
2565
2700
|
|
|
@@ -2570,11 +2705,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2570
2705
|
* @param body - User credentials
|
|
2571
2706
|
* @param options - additional request options
|
|
2572
2707
|
*/
|
|
2573
|
-
post_mealplan
|
|
2708
|
+
post_mealplan(
|
|
2574
2709
|
id: string,
|
|
2575
2710
|
body: PostMealplanBody,
|
|
2576
|
-
options?:
|
|
2577
|
-
):
|
|
2711
|
+
options?: RequestOptions
|
|
2712
|
+
): ResponsePromise<PostMealplanResponse> {
|
|
2578
2713
|
return this.request("mealplan", "post_mealplan", "post", `/mealplan/${id}`, body, options);
|
|
2579
2714
|
}
|
|
2580
2715
|
|
|
@@ -2585,11 +2720,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2585
2720
|
* @param body
|
|
2586
2721
|
* @param options - additional request options
|
|
2587
2722
|
*/
|
|
2588
|
-
put_mealplan
|
|
2723
|
+
put_mealplan(
|
|
2589
2724
|
id: string,
|
|
2590
2725
|
body: PutMealplanBody,
|
|
2591
|
-
options?:
|
|
2592
|
-
):
|
|
2726
|
+
options?: RequestOptions
|
|
2727
|
+
): ResponsePromise<PutMealplanResponse> {
|
|
2593
2728
|
return this.request("mealplan", "put_mealplan", "put", `/mealplan/${id}`, body, options);
|
|
2594
2729
|
}
|
|
2595
2730
|
|
|
@@ -2599,10 +2734,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2599
2734
|
* @param id - Meal plan ID
|
|
2600
2735
|
* @param options - additional request options
|
|
2601
2736
|
*/
|
|
2602
|
-
get_mealplan
|
|
2603
|
-
id: string,
|
|
2604
|
-
options?: Options
|
|
2605
|
-
): ResponseType<GetMealplanResponse, Options> {
|
|
2737
|
+
get_mealplan(id: string, options?: RequestOptions): ResponsePromise<GetMealplanResponse> {
|
|
2606
2738
|
return this.request("mealplan", "get_mealplan", "get", `/mealplan/${id}`, null, options);
|
|
2607
2739
|
}
|
|
2608
2740
|
|
|
@@ -2613,11 +2745,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2613
2745
|
* @param body - Tenders to be deleted. If not passed, it will delete all the tenders for this user
|
|
2614
2746
|
* @param options - additional request options
|
|
2615
2747
|
*/
|
|
2616
|
-
delete_mealplan
|
|
2748
|
+
delete_mealplan(
|
|
2617
2749
|
id: string,
|
|
2618
2750
|
body: DeleteMealplanBody,
|
|
2619
|
-
options?:
|
|
2620
|
-
):
|
|
2751
|
+
options?: RequestOptions
|
|
2752
|
+
): ResponsePromise<DeleteMealplanResponse> {
|
|
2621
2753
|
return this.request("mealplan", "delete_mealplan", "delete", `/mealplan/${id}`, body, options);
|
|
2622
2754
|
}
|
|
2623
2755
|
|
|
@@ -2627,10 +2759,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2627
2759
|
* @param id - Meal plan ID
|
|
2628
2760
|
* @param options - additional request options
|
|
2629
2761
|
*/
|
|
2630
|
-
post_mealplan_callback
|
|
2762
|
+
post_mealplan_callback(
|
|
2631
2763
|
id: string,
|
|
2632
|
-
options?:
|
|
2633
|
-
):
|
|
2764
|
+
options?: RequestOptions
|
|
2765
|
+
): ResponsePromise<PostMealplanCallbackResponse> {
|
|
2634
2766
|
return this.request(
|
|
2635
2767
|
"mealplan",
|
|
2636
2768
|
"post_mealplan_callback",
|
|
@@ -2648,11 +2780,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2648
2780
|
* @param tender - Tender ID
|
|
2649
2781
|
* @param options - additional request options
|
|
2650
2782
|
*/
|
|
2651
|
-
get_mealplan_tender
|
|
2783
|
+
get_mealplan_tender(
|
|
2652
2784
|
id: string,
|
|
2653
2785
|
tender: string,
|
|
2654
|
-
options?:
|
|
2655
|
-
):
|
|
2786
|
+
options?: RequestOptions
|
|
2787
|
+
): ResponsePromise<GetMealplanTenderResponse> {
|
|
2656
2788
|
return this.request(
|
|
2657
2789
|
"mealplan",
|
|
2658
2790
|
"get_mealplan_tender",
|
|
@@ -2670,11 +2802,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2670
2802
|
* @param tender - Tender ID
|
|
2671
2803
|
* @param options - additional request options
|
|
2672
2804
|
*/
|
|
2673
|
-
delete_mealplan_tender
|
|
2805
|
+
delete_mealplan_tender(
|
|
2674
2806
|
id: string,
|
|
2675
2807
|
tender: string,
|
|
2676
|
-
options?:
|
|
2677
|
-
):
|
|
2808
|
+
options?: RequestOptions
|
|
2809
|
+
): ResponsePromise<DeleteMealplanTenderResponse> {
|
|
2678
2810
|
return this.request(
|
|
2679
2811
|
"mealplan",
|
|
2680
2812
|
"delete_mealplan_tender",
|
|
@@ -2693,12 +2825,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2693
2825
|
* @param body
|
|
2694
2826
|
* @param options - additional request options
|
|
2695
2827
|
*/
|
|
2696
|
-
patch_mealplan_tender
|
|
2828
|
+
patch_mealplan_tender(
|
|
2697
2829
|
id: string,
|
|
2698
2830
|
tender: string,
|
|
2699
2831
|
body: PatchMealplanTenderBody,
|
|
2700
|
-
options?:
|
|
2701
|
-
):
|
|
2832
|
+
options?: RequestOptions
|
|
2833
|
+
): ResponsePromise<PatchMealplanTenderResponse> {
|
|
2702
2834
|
return this.request(
|
|
2703
2835
|
"mealplan",
|
|
2704
2836
|
"patch_mealplan_tender",
|
|
@@ -2716,13 +2848,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2716
2848
|
* @param body - Verification Email Parameters
|
|
2717
2849
|
* @param options - additional request options
|
|
2718
2850
|
*/
|
|
2719
|
-
post_mealplan_verify
|
|
2851
|
+
post_mealplan_verify(
|
|
2720
2852
|
id: string,
|
|
2721
2853
|
body: PostMealplanVerifyBody,
|
|
2722
2854
|
options?: {
|
|
2723
2855
|
query?: PostMealplanVerifyQuery;
|
|
2724
|
-
} &
|
|
2725
|
-
):
|
|
2856
|
+
} & RequestOptions
|
|
2857
|
+
): ResponsePromise<PostMealplanVerifyResponse> {
|
|
2726
2858
|
return this.request(
|
|
2727
2859
|
"mealplan",
|
|
2728
2860
|
"post_mealplan_verify",
|
|
@@ -2740,11 +2872,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2740
2872
|
* @param body - Verify Email Parameters
|
|
2741
2873
|
* @param options - additional request options
|
|
2742
2874
|
*/
|
|
2743
|
-
put_mealplan_verify
|
|
2875
|
+
put_mealplan_verify(
|
|
2744
2876
|
id: string,
|
|
2745
2877
|
body: PutMealplanVerifyBody,
|
|
2746
|
-
options?:
|
|
2747
|
-
):
|
|
2878
|
+
options?: RequestOptions
|
|
2879
|
+
): ResponsePromise<PutMealplanVerifyResponse> {
|
|
2748
2880
|
return this.request(
|
|
2749
2881
|
"mealplan",
|
|
2750
2882
|
"put_mealplan_verify",
|
|
@@ -2762,11 +2894,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2762
2894
|
* @param body
|
|
2763
2895
|
* @param options - additional request options
|
|
2764
2896
|
*/
|
|
2765
|
-
post_mealplan_authorize
|
|
2897
|
+
post_mealplan_authorize(
|
|
2766
2898
|
id: string,
|
|
2767
2899
|
body: PostMealplanAuthorizeBody,
|
|
2768
|
-
options?:
|
|
2769
|
-
):
|
|
2900
|
+
options?: RequestOptions
|
|
2901
|
+
): ResponsePromise<PostMealplanAuthorizeResponse> {
|
|
2770
2902
|
return this.request(
|
|
2771
2903
|
"mealplan",
|
|
2772
2904
|
"post_mealplan_authorize",
|
|
@@ -2783,10 +2915,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2783
2915
|
* @param body
|
|
2784
2916
|
* @param options - additional request options
|
|
2785
2917
|
*/
|
|
2786
|
-
post_datalake_sql
|
|
2918
|
+
post_datalake_sql(
|
|
2787
2919
|
body: PostDatalakeSqlBody,
|
|
2788
|
-
options?:
|
|
2789
|
-
):
|
|
2920
|
+
options?: RequestOptions
|
|
2921
|
+
): ResponsePromise<PostDatalakeSqlResponse> {
|
|
2790
2922
|
return this.request("datalake", "post_datalake_sql", "post", `/datalake/sql`, body, options);
|
|
2791
2923
|
}
|
|
2792
2924
|
|
|
@@ -2795,9 +2927,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2795
2927
|
*
|
|
2796
2928
|
* @param options - additional request options
|
|
2797
2929
|
*/
|
|
2798
|
-
get_swagger
|
|
2799
|
-
options?: Options
|
|
2800
|
-
): ResponseType<GetSwaggerResponse, Options> {
|
|
2930
|
+
get_swagger(options?: RequestOptions): ResponsePromise<GetSwaggerResponse> {
|
|
2801
2931
|
return this.request("datalake", "get_swagger", "get", `/swagger.json`, null, options);
|
|
2802
2932
|
}
|
|
2803
2933
|
|
|
@@ -2807,10 +2937,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2807
2937
|
* @param body
|
|
2808
2938
|
* @param options - additional request options
|
|
2809
2939
|
*/
|
|
2810
|
-
post_promo
|
|
2811
|
-
body: PostPromoBody,
|
|
2812
|
-
options?: Options
|
|
2813
|
-
): ResponseType<PostPromoResponse, Options> {
|
|
2940
|
+
post_promo(body: PostPromoBody, options?: RequestOptions): ResponsePromise<PostPromoResponse> {
|
|
2814
2941
|
return this.request("promo", "post_promo", "post", `/promo`, body, options);
|
|
2815
2942
|
}
|
|
2816
2943
|
|
|
@@ -2819,11 +2946,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2819
2946
|
*
|
|
2820
2947
|
* @param options - additional request options
|
|
2821
2948
|
*/
|
|
2822
|
-
get_promos
|
|
2949
|
+
get_promos(
|
|
2823
2950
|
options?: {
|
|
2824
2951
|
query?: GetPromosQuery;
|
|
2825
|
-
} &
|
|
2826
|
-
):
|
|
2952
|
+
} & RequestOptions
|
|
2953
|
+
): ResponsePromise<GetPromosResponse> {
|
|
2827
2954
|
return this.request("promo", "get_promos", "get", `/promo`, null, options);
|
|
2828
2955
|
}
|
|
2829
2956
|
|
|
@@ -2833,12 +2960,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2833
2960
|
* @param id - promo
|
|
2834
2961
|
* @param options - additional request options
|
|
2835
2962
|
*/
|
|
2836
|
-
get_promo
|
|
2963
|
+
get_promo(
|
|
2837
2964
|
id: string,
|
|
2838
2965
|
options?: {
|
|
2839
2966
|
query?: GetPromoQuery;
|
|
2840
|
-
} &
|
|
2841
|
-
):
|
|
2967
|
+
} & RequestOptions
|
|
2968
|
+
): ResponsePromise<GetPromoResponse> {
|
|
2842
2969
|
return this.request("promo", "get_promo", "get", `/promo/${id}`, null, options);
|
|
2843
2970
|
}
|
|
2844
2971
|
|
|
@@ -2849,11 +2976,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2849
2976
|
* @param body
|
|
2850
2977
|
* @param options - additional request options
|
|
2851
2978
|
*/
|
|
2852
|
-
put_promo
|
|
2979
|
+
put_promo(
|
|
2853
2980
|
id: string,
|
|
2854
2981
|
body: PutPromoBody,
|
|
2855
|
-
options?:
|
|
2856
|
-
):
|
|
2982
|
+
options?: RequestOptions
|
|
2983
|
+
): ResponsePromise<PutPromoResponse> {
|
|
2857
2984
|
return this.request("promo", "put_promo", "put", `/promo/${id}`, body, options);
|
|
2858
2985
|
}
|
|
2859
2986
|
|
|
@@ -2863,10 +2990,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2863
2990
|
* @param id - Id of a promotion
|
|
2864
2991
|
* @param options - additional request options
|
|
2865
2992
|
*/
|
|
2866
|
-
delete_promo
|
|
2867
|
-
id: string,
|
|
2868
|
-
options?: Options
|
|
2869
|
-
): ResponseType<DeletePromoResponse, Options> {
|
|
2993
|
+
delete_promo(id: string, options?: RequestOptions): ResponsePromise<DeletePromoResponse> {
|
|
2870
2994
|
return this.request("promo", "delete_promo", "delete", `/promo/${id}`, null, options);
|
|
2871
2995
|
}
|
|
2872
2996
|
|
|
@@ -2877,13 +3001,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2877
3001
|
* @param location_group - Show promotions for selected location group
|
|
2878
3002
|
* @param options - additional request options
|
|
2879
3003
|
*/
|
|
2880
|
-
get_promo_company_location_group
|
|
3004
|
+
get_promo_company_location_group(
|
|
2881
3005
|
company: string,
|
|
2882
3006
|
location_group: string,
|
|
2883
3007
|
options?: {
|
|
2884
3008
|
query?: GetPromoCompanyLocationGroupQuery;
|
|
2885
|
-
} &
|
|
2886
|
-
):
|
|
3009
|
+
} & RequestOptions
|
|
3010
|
+
): ResponsePromise<GetPromoCompanyLocationGroupResponse> {
|
|
2887
3011
|
return this.request(
|
|
2888
3012
|
"promo",
|
|
2889
3013
|
"get_promo_company_location_group",
|
|
@@ -2900,10 +3024,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2900
3024
|
* @param body
|
|
2901
3025
|
* @param options - additional request options
|
|
2902
3026
|
*/
|
|
2903
|
-
post_promo_validate_voucher
|
|
3027
|
+
post_promo_validate_voucher(
|
|
2904
3028
|
body: PostPromoValidateVoucherBody,
|
|
2905
|
-
options?:
|
|
2906
|
-
):
|
|
3029
|
+
options?: RequestOptions
|
|
3030
|
+
): ResponsePromise<PostPromoValidateVoucherResponse> {
|
|
2907
3031
|
return this.request(
|
|
2908
3032
|
"promo",
|
|
2909
3033
|
"post_promo_validate_voucher",
|
|
@@ -2920,10 +3044,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2920
3044
|
* @param body
|
|
2921
3045
|
* @param options - additional request options
|
|
2922
3046
|
*/
|
|
2923
|
-
post_promo_redeem_voucher
|
|
3047
|
+
post_promo_redeem_voucher(
|
|
2924
3048
|
body: PostPromoRedeemVoucherBody,
|
|
2925
|
-
options?:
|
|
2926
|
-
):
|
|
3049
|
+
options?: RequestOptions
|
|
3050
|
+
): ResponsePromise<PostPromoRedeemVoucherResponse> {
|
|
2927
3051
|
return this.request(
|
|
2928
3052
|
"promo",
|
|
2929
3053
|
"post_promo_redeem_voucher",
|
|
@@ -2940,10 +3064,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2940
3064
|
* @param body
|
|
2941
3065
|
* @param options - additional request options
|
|
2942
3066
|
*/
|
|
2943
|
-
post_promo_voucher
|
|
3067
|
+
post_promo_voucher(
|
|
2944
3068
|
body: PostPromoVoucherBody,
|
|
2945
|
-
options?:
|
|
2946
|
-
):
|
|
3069
|
+
options?: RequestOptions
|
|
3070
|
+
): ResponsePromise<PostPromoVoucherResponse> {
|
|
2947
3071
|
return this.request("promo", "post_promo_voucher", "post", `/promo/voucher`, body, options);
|
|
2948
3072
|
}
|
|
2949
3073
|
|
|
@@ -2954,11 +3078,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2954
3078
|
* @param body
|
|
2955
3079
|
* @param options - additional request options
|
|
2956
3080
|
*/
|
|
2957
|
-
put_promo_voucher
|
|
3081
|
+
put_promo_voucher(
|
|
2958
3082
|
id: string,
|
|
2959
3083
|
body: PutPromoVoucherBody,
|
|
2960
|
-
options?:
|
|
2961
|
-
):
|
|
3084
|
+
options?: RequestOptions
|
|
3085
|
+
): ResponsePromise<PutPromoVoucherResponse> {
|
|
2962
3086
|
return this.request("promo", "put_promo_voucher", "put", `/promo/voucher/${id}`, body, options);
|
|
2963
3087
|
}
|
|
2964
3088
|
|
|
@@ -2968,12 +3092,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2968
3092
|
* @param id - TODO: add parameter to swagger.json
|
|
2969
3093
|
* @param options - additional request options
|
|
2970
3094
|
*/
|
|
2971
|
-
delete_promo_voucher
|
|
3095
|
+
delete_promo_voucher(
|
|
2972
3096
|
id: string,
|
|
2973
3097
|
options?: {
|
|
2974
3098
|
query?: DeletePromoVoucherQuery;
|
|
2975
|
-
} &
|
|
2976
|
-
):
|
|
3099
|
+
} & RequestOptions
|
|
3100
|
+
): ResponsePromise<DeletePromoVoucherResponse> {
|
|
2977
3101
|
return this.request(
|
|
2978
3102
|
"promo",
|
|
2979
3103
|
"delete_promo_voucher",
|
|
@@ -2990,10 +3114,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2990
3114
|
* @param body
|
|
2991
3115
|
* @param options - additional request options
|
|
2992
3116
|
*/
|
|
2993
|
-
post_promo_customer
|
|
3117
|
+
post_promo_customer(
|
|
2994
3118
|
body: PostPromoCustomerBody,
|
|
2995
|
-
options?:
|
|
2996
|
-
):
|
|
3119
|
+
options?: RequestOptions
|
|
3120
|
+
): ResponsePromise<PostPromoCustomerResponse> {
|
|
2997
3121
|
return this.request("promo", "post_promo_customer", "post", `/promo/customer/`, body, options);
|
|
2998
3122
|
}
|
|
2999
3123
|
|
|
@@ -3003,10 +3127,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3003
3127
|
* @param body
|
|
3004
3128
|
* @param options - additional request options
|
|
3005
3129
|
*/
|
|
3006
|
-
delete_promo_customer
|
|
3130
|
+
delete_promo_customer(
|
|
3007
3131
|
body: DeletePromoCustomerBody,
|
|
3008
|
-
options?:
|
|
3009
|
-
):
|
|
3132
|
+
options?: RequestOptions
|
|
3133
|
+
): ResponsePromise<DeletePromoCustomerResponse> {
|
|
3010
3134
|
return this.request(
|
|
3011
3135
|
"promo",
|
|
3012
3136
|
"delete_promo_customer",
|
|
@@ -3024,11 +3148,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3024
3148
|
* @param body
|
|
3025
3149
|
* @param options - additional request options
|
|
3026
3150
|
*/
|
|
3027
|
-
post_promo_voucher_reverse
|
|
3151
|
+
post_promo_voucher_reverse(
|
|
3028
3152
|
id: string,
|
|
3029
3153
|
body: PostPromoVoucherReverseBody,
|
|
3030
|
-
options?:
|
|
3031
|
-
):
|
|
3154
|
+
options?: RequestOptions
|
|
3155
|
+
): ResponsePromise<PostPromoVoucherReverseResponse> {
|
|
3032
3156
|
return this.request(
|
|
3033
3157
|
"promo",
|
|
3034
3158
|
"post_promo_voucher_reverse",
|
|
@@ -3045,10 +3169,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3045
3169
|
* @param body
|
|
3046
3170
|
* @param options - additional request options
|
|
3047
3171
|
*/
|
|
3048
|
-
post_promo_voucherify_activity_execute
|
|
3172
|
+
post_promo_voucherify_activity_execute(
|
|
3049
3173
|
body: PostPromoVoucherifyActivityExecuteBody,
|
|
3050
|
-
options?:
|
|
3051
|
-
):
|
|
3174
|
+
options?: RequestOptions
|
|
3175
|
+
): ResponsePromise<PostPromoVoucherifyActivityExecuteResponse> {
|
|
3052
3176
|
return this.request(
|
|
3053
3177
|
"promo",
|
|
3054
3178
|
"post_promo_voucherify_activity_execute",
|
|
@@ -3064,9 +3188,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3064
3188
|
*
|
|
3065
3189
|
* @param options - additional request options
|
|
3066
3190
|
*/
|
|
3067
|
-
get_promo_voucherify_activity_config
|
|
3068
|
-
options?:
|
|
3069
|
-
):
|
|
3191
|
+
get_promo_voucherify_activity_config(
|
|
3192
|
+
options?: RequestOptions
|
|
3193
|
+
): ResponsePromise<GetPromoVoucherifyActivityConfigResponse> {
|
|
3070
3194
|
return this.request(
|
|
3071
3195
|
"promo",
|
|
3072
3196
|
"get_promo_voucherify_activity_config",
|
|
@@ -3082,9 +3206,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3082
3206
|
*
|
|
3083
3207
|
* @param options - additional request options
|
|
3084
3208
|
*/
|
|
3085
|
-
post_dh_sql
|
|
3086
|
-
options?: Options
|
|
3087
|
-
): ResponseType<PostDhSqlResponse, Options> {
|
|
3209
|
+
post_dh_sql(options?: RequestOptions): ResponsePromise<PostDhSqlResponse> {
|
|
3088
3210
|
return this.request("dh", "post_dh_sql", "post", `/dh/sql`, null, options);
|
|
3089
3211
|
}
|
|
3090
3212
|
|
|
@@ -3094,10 +3216,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3094
3216
|
* @param key - configuration key
|
|
3095
3217
|
* @param options - additional request options
|
|
3096
3218
|
*/
|
|
3097
|
-
get_config
|
|
3098
|
-
key: string,
|
|
3099
|
-
options?: Options
|
|
3100
|
-
): ResponseType<GetConfigResponse, Options> {
|
|
3219
|
+
get_config(key: string, options?: RequestOptions): ResponsePromise<GetConfigResponse> {
|
|
3101
3220
|
return this.request("config", "get_config", "get", `/config/${key}`, null, options);
|
|
3102
3221
|
}
|
|
3103
3222
|
|
|
@@ -3108,11 +3227,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3108
3227
|
* @param body
|
|
3109
3228
|
* @param options - additional request options
|
|
3110
3229
|
*/
|
|
3111
|
-
post_config
|
|
3230
|
+
post_config(
|
|
3112
3231
|
key: string,
|
|
3113
3232
|
body: PostConfigBody,
|
|
3114
|
-
options?:
|
|
3115
|
-
):
|
|
3233
|
+
options?: RequestOptions
|
|
3234
|
+
): ResponsePromise<PostConfigResponse> {
|
|
3116
3235
|
return this.request("config", "post_config", "post", `/config/${key}`, body, options);
|
|
3117
3236
|
}
|
|
3118
3237
|
|
|
@@ -3123,11 +3242,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3123
3242
|
* @param body
|
|
3124
3243
|
* @param options - additional request options
|
|
3125
3244
|
*/
|
|
3126
|
-
put_config
|
|
3245
|
+
put_config(
|
|
3127
3246
|
key: string,
|
|
3128
3247
|
body: PutConfigBody,
|
|
3129
|
-
options?:
|
|
3130
|
-
):
|
|
3248
|
+
options?: RequestOptions
|
|
3249
|
+
): ResponsePromise<PutConfigResponse> {
|
|
3131
3250
|
return this.request("config", "put_config", "put", `/config/${key}`, body, options);
|
|
3132
3251
|
}
|
|
3133
3252
|
|
|
@@ -3137,10 +3256,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3137
3256
|
* @param key - configuration key
|
|
3138
3257
|
* @param options - additional request options
|
|
3139
3258
|
*/
|
|
3140
|
-
delete_config
|
|
3141
|
-
key: string,
|
|
3142
|
-
options?: Options
|
|
3143
|
-
): ResponseType<DeleteConfigResponse, Options> {
|
|
3259
|
+
delete_config(key: string, options?: RequestOptions): ResponsePromise<DeleteConfigResponse> {
|
|
3144
3260
|
return this.request("config", "delete_config", "delete", `/config/${key}`, null, options);
|
|
3145
3261
|
}
|
|
3146
3262
|
|
|
@@ -3150,10 +3266,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3150
3266
|
* @param key - configuration key
|
|
3151
3267
|
* @param options - additional request options
|
|
3152
3268
|
*/
|
|
3153
|
-
get_config_public
|
|
3269
|
+
get_config_public(
|
|
3154
3270
|
key: string,
|
|
3155
|
-
options?:
|
|
3156
|
-
):
|
|
3271
|
+
options?: RequestOptions
|
|
3272
|
+
): ResponsePromise<GetConfigPublicResponse> {
|
|
3157
3273
|
return this.request(
|
|
3158
3274
|
"config",
|
|
3159
3275
|
"get_config_public",
|
|
@@ -3171,11 +3287,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3171
3287
|
* @param body
|
|
3172
3288
|
* @param options - additional request options
|
|
3173
3289
|
*/
|
|
3174
|
-
post_config_public
|
|
3290
|
+
post_config_public(
|
|
3175
3291
|
key: string,
|
|
3176
3292
|
body: PostConfigPublicBody,
|
|
3177
|
-
options?:
|
|
3178
|
-
):
|
|
3293
|
+
options?: RequestOptions
|
|
3294
|
+
): ResponsePromise<PostConfigPublicResponse> {
|
|
3179
3295
|
return this.request(
|
|
3180
3296
|
"config",
|
|
3181
3297
|
"post_config_public",
|
|
@@ -3193,11 +3309,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3193
3309
|
* @param body
|
|
3194
3310
|
* @param options - additional request options
|
|
3195
3311
|
*/
|
|
3196
|
-
put_config_public
|
|
3312
|
+
put_config_public(
|
|
3197
3313
|
key: string,
|
|
3198
3314
|
body: PutConfigPublicBody,
|
|
3199
|
-
options?:
|
|
3200
|
-
):
|
|
3315
|
+
options?: RequestOptions
|
|
3316
|
+
): ResponsePromise<PutConfigPublicResponse> {
|
|
3201
3317
|
return this.request(
|
|
3202
3318
|
"config",
|
|
3203
3319
|
"put_config_public",
|
|
@@ -3214,10 +3330,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3214
3330
|
* @param key - configuration key
|
|
3215
3331
|
* @param options - additional request options
|
|
3216
3332
|
*/
|
|
3217
|
-
delete_config_public
|
|
3333
|
+
delete_config_public(
|
|
3218
3334
|
key: string,
|
|
3219
|
-
options?:
|
|
3220
|
-
):
|
|
3335
|
+
options?: RequestOptions
|
|
3336
|
+
): ResponsePromise<DeleteConfigPublicResponse> {
|
|
3221
3337
|
return this.request(
|
|
3222
3338
|
"config",
|
|
3223
3339
|
"delete_config_public",
|
|
@@ -3234,10 +3350,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3234
3350
|
* @param body - Announcement
|
|
3235
3351
|
* @param options - additional request options
|
|
3236
3352
|
*/
|
|
3237
|
-
post_announcement
|
|
3353
|
+
post_announcement(
|
|
3238
3354
|
body: PostAnnouncementBody,
|
|
3239
|
-
options?:
|
|
3240
|
-
):
|
|
3355
|
+
options?: RequestOptions
|
|
3356
|
+
): ResponsePromise<PostAnnouncementResponse> {
|
|
3241
3357
|
return this.request(
|
|
3242
3358
|
"announcement",
|
|
3243
3359
|
"post_announcement",
|
|
@@ -3254,12 +3370,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3254
3370
|
* @param id - Id of the entity to which announcement is specifically related.; TODO: mark parameter as required in swagger
|
|
3255
3371
|
* @param options - additional request options
|
|
3256
3372
|
*/
|
|
3257
|
-
get_announcement_resource
|
|
3373
|
+
get_announcement_resource(
|
|
3258
3374
|
id: string,
|
|
3259
3375
|
options?: {
|
|
3260
3376
|
query?: GetAnnouncementResourceQuery;
|
|
3261
|
-
} &
|
|
3262
|
-
):
|
|
3377
|
+
} & RequestOptions
|
|
3378
|
+
): ResponsePromise<GetAnnouncementResourceResponse> {
|
|
3263
3379
|
return this.request(
|
|
3264
3380
|
"announcement",
|
|
3265
3381
|
"get_announcement_resource",
|
|
@@ -3275,11 +3391,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3275
3391
|
*
|
|
3276
3392
|
* @param options - additional request options
|
|
3277
3393
|
*/
|
|
3278
|
-
get_announcement_resources
|
|
3394
|
+
get_announcement_resources(
|
|
3279
3395
|
options?: {
|
|
3280
3396
|
query?: GetAnnouncementResourcesQuery;
|
|
3281
|
-
} &
|
|
3282
|
-
):
|
|
3397
|
+
} & RequestOptions
|
|
3398
|
+
): ResponsePromise<GetAnnouncementResourcesResponse> {
|
|
3283
3399
|
return this.request(
|
|
3284
3400
|
"announcement",
|
|
3285
3401
|
"get_announcement_resources",
|
|
@@ -3296,10 +3412,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3296
3412
|
* @param id - Id of the entity to which announcement is specifically related.
|
|
3297
3413
|
* @param options - additional request options
|
|
3298
3414
|
*/
|
|
3299
|
-
get_announcement
|
|
3300
|
-
id: string,
|
|
3301
|
-
options?: Options
|
|
3302
|
-
): ResponseType<GetAnnouncementResponse, Options> {
|
|
3415
|
+
get_announcement(id: string, options?: RequestOptions): ResponsePromise<GetAnnouncementResponse> {
|
|
3303
3416
|
return this.request(
|
|
3304
3417
|
"announcement",
|
|
3305
3418
|
"get_announcement",
|
|
@@ -3317,11 +3430,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3317
3430
|
* @param body - Announcement
|
|
3318
3431
|
* @param options - additional request options
|
|
3319
3432
|
*/
|
|
3320
|
-
put_announcement
|
|
3433
|
+
put_announcement(
|
|
3321
3434
|
id: string,
|
|
3322
3435
|
body: PutAnnouncementBody,
|
|
3323
|
-
options?:
|
|
3324
|
-
):
|
|
3436
|
+
options?: RequestOptions
|
|
3437
|
+
): ResponsePromise<PutAnnouncementResponse> {
|
|
3325
3438
|
return this.request(
|
|
3326
3439
|
"announcement",
|
|
3327
3440
|
"put_announcement",
|
|
@@ -3338,10 +3451,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3338
3451
|
* @param id - Id of the announcement
|
|
3339
3452
|
* @param options - additional request options
|
|
3340
3453
|
*/
|
|
3341
|
-
delete_announcement
|
|
3454
|
+
delete_announcement(
|
|
3342
3455
|
id: string,
|
|
3343
|
-
options?:
|
|
3344
|
-
):
|
|
3456
|
+
options?: RequestOptions
|
|
3457
|
+
): ResponsePromise<DeleteAnnouncementResponse> {
|
|
3345
3458
|
return this.request(
|
|
3346
3459
|
"announcement",
|
|
3347
3460
|
"delete_announcement",
|
|
@@ -3359,13 +3472,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3359
3472
|
* @param report_type
|
|
3360
3473
|
* @param options - additional request options
|
|
3361
3474
|
*/
|
|
3362
|
-
get_report_analytics_group
|
|
3475
|
+
get_report_analytics_group(
|
|
3363
3476
|
location_group: string,
|
|
3364
3477
|
report_type: string,
|
|
3365
3478
|
options: {
|
|
3366
3479
|
query: GetReportAnalyticsGroupQuery;
|
|
3367
|
-
} &
|
|
3368
|
-
):
|
|
3480
|
+
} & RequestOptions
|
|
3481
|
+
): ResponsePromise<GetReportAnalyticsGroupResponse> {
|
|
3369
3482
|
return this.request(
|
|
3370
3483
|
"report",
|
|
3371
3484
|
"get_report_analytics_group",
|
|
@@ -3382,12 +3495,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3382
3495
|
* @param location_group
|
|
3383
3496
|
* @param options - additional request options
|
|
3384
3497
|
*/
|
|
3385
|
-
get_report_analytics_combined_group
|
|
3498
|
+
get_report_analytics_combined_group(
|
|
3386
3499
|
location_group: string,
|
|
3387
3500
|
options: {
|
|
3388
3501
|
query: GetReportAnalyticsCombinedGroupQuery;
|
|
3389
|
-
} &
|
|
3390
|
-
):
|
|
3502
|
+
} & RequestOptions
|
|
3503
|
+
): ResponsePromise<GetReportAnalyticsCombinedGroupResponse> {
|
|
3391
3504
|
return this.request(
|
|
3392
3505
|
"report",
|
|
3393
3506
|
"get_report_analytics_combined_group",
|
|
@@ -3403,11 +3516,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3403
3516
|
*
|
|
3404
3517
|
* @param options - additional request options
|
|
3405
3518
|
*/
|
|
3406
|
-
get_report_analytics_exactmobile_totals
|
|
3519
|
+
get_report_analytics_exactmobile_totals(
|
|
3407
3520
|
options: {
|
|
3408
3521
|
query: GetReportAnalyticsExactmobileTotalsQuery;
|
|
3409
|
-
} &
|
|
3410
|
-
):
|
|
3522
|
+
} & RequestOptions
|
|
3523
|
+
): ResponsePromise<GetReportAnalyticsExactmobileTotalsResponse> {
|
|
3411
3524
|
return this.request(
|
|
3412
3525
|
"report",
|
|
3413
3526
|
"get_report_analytics_exactmobile_totals",
|
|
@@ -3423,11 +3536,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3423
3536
|
*
|
|
3424
3537
|
* @param options - additional request options
|
|
3425
3538
|
*/
|
|
3426
|
-
get_report_analytics_exactmobile_transactions
|
|
3539
|
+
get_report_analytics_exactmobile_transactions(
|
|
3427
3540
|
options: {
|
|
3428
3541
|
query: GetReportAnalyticsExactmobileTransactionsQuery;
|
|
3429
|
-
} &
|
|
3430
|
-
):
|
|
3542
|
+
} & RequestOptions
|
|
3543
|
+
): ResponsePromise<GetReportAnalyticsExactmobileTransactionsResponse> {
|
|
3431
3544
|
return this.request(
|
|
3432
3545
|
"report",
|
|
3433
3546
|
"get_report_analytics_exactmobile_transactions",
|
|
@@ -3443,11 +3556,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3443
3556
|
*
|
|
3444
3557
|
* @param options - additional request options
|
|
3445
3558
|
*/
|
|
3446
|
-
get_report_analytics_exactmobile_discrepancies
|
|
3559
|
+
get_report_analytics_exactmobile_discrepancies(
|
|
3447
3560
|
options: {
|
|
3448
3561
|
query: GetReportAnalyticsExactmobileDiscrepanciesQuery;
|
|
3449
|
-
} &
|
|
3450
|
-
):
|
|
3562
|
+
} & RequestOptions
|
|
3563
|
+
): ResponsePromise<GetReportAnalyticsExactmobileDiscrepanciesResponse> {
|
|
3451
3564
|
return this.request(
|
|
3452
3565
|
"report",
|
|
3453
3566
|
"get_report_analytics_exactmobile_discrepancies",
|
|
@@ -3464,10 +3577,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3464
3577
|
* @param id
|
|
3465
3578
|
* @param options - additional request options
|
|
3466
3579
|
*/
|
|
3467
|
-
get_report_analytics_tracker_report
|
|
3580
|
+
get_report_analytics_tracker_report(
|
|
3468
3581
|
id: string,
|
|
3469
|
-
options?:
|
|
3470
|
-
):
|
|
3582
|
+
options?: RequestOptions
|
|
3583
|
+
): ResponsePromise<GetReportAnalyticsTrackerReportResponse> {
|
|
3471
3584
|
return this.request(
|
|
3472
3585
|
"report",
|
|
3473
3586
|
"get_report_analytics_tracker_report",
|
|
@@ -3484,12 +3597,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3484
3597
|
* @param id
|
|
3485
3598
|
* @param options - additional request options
|
|
3486
3599
|
*/
|
|
3487
|
-
get_report_eod_group
|
|
3600
|
+
get_report_eod_group(
|
|
3488
3601
|
id: string,
|
|
3489
3602
|
options?: {
|
|
3490
3603
|
query?: GetReportEodGroupQuery;
|
|
3491
|
-
} &
|
|
3492
|
-
):
|
|
3604
|
+
} & RequestOptions
|
|
3605
|
+
): ResponsePromise<GetReportEodGroupResponse> {
|
|
3493
3606
|
return this.request(
|
|
3494
3607
|
"report",
|
|
3495
3608
|
"get_report_eod_group",
|
|
@@ -3506,10 +3619,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3506
3619
|
* @param id
|
|
3507
3620
|
* @param options - additional request options
|
|
3508
3621
|
*/
|
|
3509
|
-
get_report_eod_group_subscribers
|
|
3622
|
+
get_report_eod_group_subscribers(
|
|
3510
3623
|
id: string,
|
|
3511
|
-
options?:
|
|
3512
|
-
):
|
|
3624
|
+
options?: RequestOptions
|
|
3625
|
+
): ResponsePromise<GetReportEodGroupSubscribersResponse> {
|
|
3513
3626
|
return this.request(
|
|
3514
3627
|
"report",
|
|
3515
3628
|
"get_report_eod_group_subscribers",
|
|
@@ -3527,11 +3640,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3527
3640
|
* @param body
|
|
3528
3641
|
* @param options - additional request options
|
|
3529
3642
|
*/
|
|
3530
|
-
post_report_eod_group_subscribers
|
|
3643
|
+
post_report_eod_group_subscribers(
|
|
3531
3644
|
id: string,
|
|
3532
3645
|
body: PostReportEodGroupSubscribersBody,
|
|
3533
|
-
options?:
|
|
3534
|
-
):
|
|
3646
|
+
options?: RequestOptions
|
|
3647
|
+
): ResponsePromise<PostReportEodGroupSubscribersResponse> {
|
|
3535
3648
|
return this.request(
|
|
3536
3649
|
"report",
|
|
3537
3650
|
"post_report_eod_group_subscribers",
|
|
@@ -3548,10 +3661,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3548
3661
|
* @param id
|
|
3549
3662
|
* @param options - additional request options
|
|
3550
3663
|
*/
|
|
3551
|
-
delete_report_eod_group_subscribers
|
|
3664
|
+
delete_report_eod_group_subscribers(
|
|
3552
3665
|
id: string,
|
|
3553
|
-
options?:
|
|
3554
|
-
):
|
|
3666
|
+
options?: RequestOptions
|
|
3667
|
+
): ResponsePromise<DeleteReportEodGroupSubscribersResponse> {
|
|
3555
3668
|
return this.request(
|
|
3556
3669
|
"report",
|
|
3557
3670
|
"delete_report_eod_group_subscribers",
|
|
@@ -3569,11 +3682,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3569
3682
|
* @param body
|
|
3570
3683
|
* @param options - additional request options
|
|
3571
3684
|
*/
|
|
3572
|
-
put_report_eod_group_subscribers
|
|
3685
|
+
put_report_eod_group_subscribers(
|
|
3573
3686
|
id: string,
|
|
3574
3687
|
body: PutReportEodGroupSubscribersBody,
|
|
3575
|
-
options?:
|
|
3576
|
-
):
|
|
3688
|
+
options?: RequestOptions
|
|
3689
|
+
): ResponsePromise<PutReportEodGroupSubscribersResponse> {
|
|
3577
3690
|
return this.request(
|
|
3578
3691
|
"report",
|
|
3579
3692
|
"put_report_eod_group_subscribers",
|
|
@@ -3589,11 +3702,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3589
3702
|
*
|
|
3590
3703
|
* @param options - additional request options
|
|
3591
3704
|
*/
|
|
3592
|
-
get_report_discrepancy_subscribers
|
|
3705
|
+
get_report_discrepancy_subscribers(
|
|
3593
3706
|
options?: {
|
|
3594
3707
|
query?: GetReportDiscrepancySubscribersQuery;
|
|
3595
|
-
} &
|
|
3596
|
-
):
|
|
3708
|
+
} & RequestOptions
|
|
3709
|
+
): ResponsePromise<GetReportDiscrepancySubscribersResponse> {
|
|
3597
3710
|
return this.request(
|
|
3598
3711
|
"report",
|
|
3599
3712
|
"get_report_discrepancy_subscribers",
|
|
@@ -3609,11 +3722,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3609
3722
|
*
|
|
3610
3723
|
* @param options - additional request options
|
|
3611
3724
|
*/
|
|
3612
|
-
delete_report_discrepancy_subscribers
|
|
3725
|
+
delete_report_discrepancy_subscribers(
|
|
3613
3726
|
options: {
|
|
3614
3727
|
query: DeleteReportDiscrepancySubscribersQuery;
|
|
3615
|
-
} &
|
|
3616
|
-
):
|
|
3728
|
+
} & RequestOptions
|
|
3729
|
+
): ResponsePromise<DeleteReportDiscrepancySubscribersResponse> {
|
|
3617
3730
|
return this.request(
|
|
3618
3731
|
"report",
|
|
3619
3732
|
"delete_report_discrepancy_subscribers",
|
|
@@ -3630,10 +3743,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3630
3743
|
* @param body
|
|
3631
3744
|
* @param options - additional request options
|
|
3632
3745
|
*/
|
|
3633
|
-
post_report_discrepancy_subscribers
|
|
3746
|
+
post_report_discrepancy_subscribers(
|
|
3634
3747
|
body: PostReportDiscrepancySubscribersBody,
|
|
3635
|
-
options?:
|
|
3636
|
-
):
|
|
3748
|
+
options?: RequestOptions
|
|
3749
|
+
): ResponsePromise<PostReportDiscrepancySubscribersResponse> {
|
|
3637
3750
|
return this.request(
|
|
3638
3751
|
"report",
|
|
3639
3752
|
"post_report_discrepancy_subscribers",
|
|
@@ -3649,11 +3762,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3649
3762
|
*
|
|
3650
3763
|
* @param options - additional request options
|
|
3651
3764
|
*/
|
|
3652
|
-
get_user_auth
|
|
3765
|
+
get_user_auth(
|
|
3653
3766
|
options?: {
|
|
3654
3767
|
query?: GetUserAuthQuery;
|
|
3655
|
-
} &
|
|
3656
|
-
):
|
|
3768
|
+
} & RequestOptions
|
|
3769
|
+
): ResponsePromise<GetUserAuthResponse> {
|
|
3657
3770
|
return this.request("user", "get_user_auth", "get", `/user/auth`, null, options);
|
|
3658
3771
|
}
|
|
3659
3772
|
|
|
@@ -3663,10 +3776,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3663
3776
|
* @param body
|
|
3664
3777
|
* @param options - additional request options
|
|
3665
3778
|
*/
|
|
3666
|
-
post_user_auth
|
|
3779
|
+
post_user_auth(
|
|
3667
3780
|
body: PostUserAuthBody,
|
|
3668
|
-
options?:
|
|
3669
|
-
):
|
|
3781
|
+
options?: RequestOptions
|
|
3782
|
+
): ResponsePromise<PostUserAuthResponse> {
|
|
3670
3783
|
return this.request("user", "post_user_auth", "post", `/user/auth`, body, options);
|
|
3671
3784
|
}
|
|
3672
3785
|
|
|
@@ -3675,9 +3788,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3675
3788
|
*
|
|
3676
3789
|
* @param options - additional request options
|
|
3677
3790
|
*/
|
|
3678
|
-
get_user_zendesk
|
|
3679
|
-
options?: Options
|
|
3680
|
-
): ResponseType<GetUserZendeskResponse, Options> {
|
|
3791
|
+
get_user_zendesk(options?: RequestOptions): ResponsePromise<GetUserZendeskResponse> {
|
|
3681
3792
|
return this.request("user", "get_user_zendesk", "get", `/user/zendesk`, null, options);
|
|
3682
3793
|
}
|
|
3683
3794
|
|
|
@@ -3687,12 +3798,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3687
3798
|
* @param body - User object that needs to be created
|
|
3688
3799
|
* @param options - additional request options
|
|
3689
3800
|
*/
|
|
3690
|
-
post_user
|
|
3801
|
+
post_user(
|
|
3691
3802
|
body: PostUserBody,
|
|
3692
3803
|
options?: {
|
|
3693
3804
|
query?: PostUserQuery;
|
|
3694
|
-
} &
|
|
3695
|
-
):
|
|
3805
|
+
} & RequestOptions
|
|
3806
|
+
): ResponsePromise<PostUserResponse> {
|
|
3696
3807
|
return this.request("user", "post_user", "post", `/user`, body, options);
|
|
3697
3808
|
}
|
|
3698
3809
|
|
|
@@ -3702,12 +3813,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3702
3813
|
* @param id - User ID
|
|
3703
3814
|
* @param options - additional request options
|
|
3704
3815
|
*/
|
|
3705
|
-
get_user
|
|
3816
|
+
get_user(
|
|
3706
3817
|
id: string,
|
|
3707
3818
|
options?: {
|
|
3708
3819
|
query?: GetUserQuery;
|
|
3709
|
-
} &
|
|
3710
|
-
):
|
|
3820
|
+
} & RequestOptions
|
|
3821
|
+
): ResponsePromise<GetUserResponse> {
|
|
3711
3822
|
return this.request("user", "get_user", "get", `/user/${id}`, null, options);
|
|
3712
3823
|
}
|
|
3713
3824
|
|
|
@@ -3718,13 +3829,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3718
3829
|
* @param body - User object that needs to be updated
|
|
3719
3830
|
* @param options - additional request options
|
|
3720
3831
|
*/
|
|
3721
|
-
put_user
|
|
3832
|
+
put_user(
|
|
3722
3833
|
id: string,
|
|
3723
3834
|
body: PutUserBody,
|
|
3724
3835
|
options?: {
|
|
3725
3836
|
query?: PutUserQuery;
|
|
3726
|
-
} &
|
|
3727
|
-
):
|
|
3837
|
+
} & RequestOptions
|
|
3838
|
+
): ResponsePromise<PutUserResponse> {
|
|
3728
3839
|
return this.request("user", "put_user", "put", `/user/${id}`, body, options);
|
|
3729
3840
|
}
|
|
3730
3841
|
|
|
@@ -3735,13 +3846,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3735
3846
|
* @param body - User properties which should be updated
|
|
3736
3847
|
* @param options - additional request options
|
|
3737
3848
|
*/
|
|
3738
|
-
patch_user
|
|
3849
|
+
patch_user(
|
|
3739
3850
|
id: string,
|
|
3740
3851
|
body: PatchUserBody,
|
|
3741
3852
|
options?: {
|
|
3742
3853
|
query?: PatchUserQuery;
|
|
3743
|
-
} &
|
|
3744
|
-
):
|
|
3854
|
+
} & RequestOptions
|
|
3855
|
+
): ResponsePromise<PatchUserResponse> {
|
|
3745
3856
|
return this.request("user", "patch_user", "patch", `/user/${id}`, body, options);
|
|
3746
3857
|
}
|
|
3747
3858
|
|
|
@@ -3751,12 +3862,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3751
3862
|
* @param id - User ID
|
|
3752
3863
|
* @param options - additional request options
|
|
3753
3864
|
*/
|
|
3754
|
-
delete_user
|
|
3865
|
+
delete_user(
|
|
3755
3866
|
id: string,
|
|
3756
3867
|
options?: {
|
|
3757
3868
|
query?: DeleteUserQuery;
|
|
3758
|
-
} &
|
|
3759
|
-
):
|
|
3869
|
+
} & RequestOptions
|
|
3870
|
+
): ResponsePromise<DeleteUserResponse> {
|
|
3760
3871
|
return this.request("user", "delete_user", "delete", `/user/${id}`, null, options);
|
|
3761
3872
|
}
|
|
3762
3873
|
|
|
@@ -3766,10 +3877,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3766
3877
|
* @param body
|
|
3767
3878
|
* @param options - additional request options
|
|
3768
3879
|
*/
|
|
3769
|
-
post_user_kds_token
|
|
3880
|
+
post_user_kds_token(
|
|
3770
3881
|
body: PostUserKdsTokenBody,
|
|
3771
|
-
options?:
|
|
3772
|
-
):
|
|
3882
|
+
options?: RequestOptions
|
|
3883
|
+
): ResponsePromise<PostUserKdsTokenResponse> {
|
|
3773
3884
|
return this.request("user", "post_user_kds_token", "post", `/user/device/auth`, body, options);
|
|
3774
3885
|
}
|
|
3775
3886
|
|
|
@@ -3778,11 +3889,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3778
3889
|
*
|
|
3779
3890
|
* @param options - additional request options
|
|
3780
3891
|
*/
|
|
3781
|
-
get_user_kds_token
|
|
3892
|
+
get_user_kds_token(
|
|
3782
3893
|
options?: {
|
|
3783
3894
|
query?: GetUserKdsTokenQuery;
|
|
3784
|
-
} &
|
|
3785
|
-
):
|
|
3895
|
+
} & RequestOptions
|
|
3896
|
+
): ResponsePromise<GetUserKdsTokenResponse> {
|
|
3786
3897
|
return this.request("user", "get_user_kds_token", "get", `/user/device/auth`, null, options);
|
|
3787
3898
|
}
|
|
3788
3899
|
|
|
@@ -3792,10 +3903,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3792
3903
|
* @param device_id - KDS device ID
|
|
3793
3904
|
* @param options - additional request options
|
|
3794
3905
|
*/
|
|
3795
|
-
delete_user_device_auth
|
|
3906
|
+
delete_user_device_auth(
|
|
3796
3907
|
device_id: string,
|
|
3797
|
-
options?:
|
|
3798
|
-
):
|
|
3908
|
+
options?: RequestOptions
|
|
3909
|
+
): ResponsePromise<DeleteUserDeviceAuthResponse> {
|
|
3799
3910
|
return this.request(
|
|
3800
3911
|
"user",
|
|
3801
3912
|
"delete_user_device_auth",
|
|
@@ -3810,18 +3921,20 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3810
3921
|
* PATCH /user/device/auth/{device_id} - Endpoint for authorizing device to retrieve valid kds token
|
|
3811
3922
|
*
|
|
3812
3923
|
* @param device_id - KDS device ID
|
|
3924
|
+
* @param body
|
|
3813
3925
|
* @param options - additional request options
|
|
3814
3926
|
*/
|
|
3815
|
-
patch_user_auth_kds
|
|
3927
|
+
patch_user_auth_kds(
|
|
3816
3928
|
device_id: string,
|
|
3817
|
-
|
|
3818
|
-
|
|
3929
|
+
body: PatchUserAuthKdsBody,
|
|
3930
|
+
options?: RequestOptions
|
|
3931
|
+
): ResponsePromise<PatchUserAuthKdsResponse> {
|
|
3819
3932
|
return this.request(
|
|
3820
3933
|
"user",
|
|
3821
3934
|
"patch_user_auth_kds",
|
|
3822
3935
|
"patch",
|
|
3823
3936
|
`/user/device/auth/${device_id}`,
|
|
3824
|
-
|
|
3937
|
+
body,
|
|
3825
3938
|
options
|
|
3826
3939
|
);
|
|
3827
3940
|
}
|
|
@@ -3833,11 +3946,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3833
3946
|
* @param body
|
|
3834
3947
|
* @param options - additional request options
|
|
3835
3948
|
*/
|
|
3836
|
-
post_user_change_password
|
|
3949
|
+
post_user_change_password(
|
|
3837
3950
|
id: string,
|
|
3838
3951
|
body: PostUserChangePasswordBody,
|
|
3839
|
-
options?:
|
|
3840
|
-
):
|
|
3952
|
+
options?: RequestOptions
|
|
3953
|
+
): ResponsePromise<PostUserChangePasswordResponse> {
|
|
3841
3954
|
return this.request(
|
|
3842
3955
|
"user",
|
|
3843
3956
|
"post_user_change_password",
|
|
@@ -3853,9 +3966,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3853
3966
|
*
|
|
3854
3967
|
* @param options - additional request options
|
|
3855
3968
|
*/
|
|
3856
|
-
delete_user_logout
|
|
3857
|
-
options?: Options
|
|
3858
|
-
): ResponseType<DeleteUserLogoutResponse, Options> {
|
|
3969
|
+
delete_user_logout(options?: RequestOptions): ResponsePromise<DeleteUserLogoutResponse> {
|
|
3859
3970
|
return this.request("user", "delete_user_logout", "delete", `/user/logout`, null, options);
|
|
3860
3971
|
}
|
|
3861
3972
|
|
|
@@ -3867,12 +3978,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3867
3978
|
* @param body - Secret to be stored
|
|
3868
3979
|
* @param options - additional request options
|
|
3869
3980
|
*/
|
|
3870
|
-
post_user_add_secret
|
|
3981
|
+
post_user_add_secret(
|
|
3871
3982
|
id: string,
|
|
3872
3983
|
key: string,
|
|
3873
3984
|
body: PostUserAddSecretBody,
|
|
3874
|
-
options?:
|
|
3875
|
-
):
|
|
3985
|
+
options?: RequestOptions
|
|
3986
|
+
): ResponsePromise<PostUserAddSecretResponse> {
|
|
3876
3987
|
return this.request(
|
|
3877
3988
|
"user",
|
|
3878
3989
|
"post_user_add_secret",
|
|
@@ -3890,11 +4001,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3890
4001
|
* @param key
|
|
3891
4002
|
* @param options - additional request options
|
|
3892
4003
|
*/
|
|
3893
|
-
get_user_secret
|
|
4004
|
+
get_user_secret(
|
|
3894
4005
|
id: string,
|
|
3895
4006
|
key: string,
|
|
3896
|
-
options?:
|
|
3897
|
-
):
|
|
4007
|
+
options?: RequestOptions
|
|
4008
|
+
): ResponsePromise<GetUserSecretResponse> {
|
|
3898
4009
|
return this.request(
|
|
3899
4010
|
"user",
|
|
3900
4011
|
"get_user_secret",
|
|
@@ -3911,12 +4022,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3911
4022
|
* @param body
|
|
3912
4023
|
* @param options - additional request options
|
|
3913
4024
|
*/
|
|
3914
|
-
post_user_reset_password
|
|
4025
|
+
post_user_reset_password(
|
|
3915
4026
|
body: PostUserResetPasswordBody,
|
|
3916
4027
|
options?: {
|
|
3917
4028
|
query?: PostUserResetPasswordQuery;
|
|
3918
|
-
} &
|
|
3919
|
-
):
|
|
4029
|
+
} & RequestOptions
|
|
4030
|
+
): ResponsePromise<PostUserResetPasswordResponse> {
|
|
3920
4031
|
return this.request(
|
|
3921
4032
|
"user",
|
|
3922
4033
|
"post_user_reset_password",
|
|
@@ -3934,13 +4045,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3934
4045
|
* @param body
|
|
3935
4046
|
* @param options - additional request options
|
|
3936
4047
|
*/
|
|
3937
|
-
post_user_reset_password_token
|
|
4048
|
+
post_user_reset_password_token(
|
|
3938
4049
|
id: string,
|
|
3939
4050
|
body: PostUserResetPasswordTokenBody,
|
|
3940
4051
|
options: {
|
|
3941
4052
|
query: PostUserResetPasswordTokenQuery;
|
|
3942
|
-
} &
|
|
3943
|
-
):
|
|
4053
|
+
} & RequestOptions
|
|
4054
|
+
): ResponsePromise<PostUserResetPasswordTokenResponse> {
|
|
3944
4055
|
return this.request(
|
|
3945
4056
|
"user",
|
|
3946
4057
|
"post_user_reset_password_token",
|
|
@@ -3957,12 +4068,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3957
4068
|
* @param realm - realm
|
|
3958
4069
|
* @param options - additional request options
|
|
3959
4070
|
*/
|
|
3960
|
-
get_user_realm_users
|
|
4071
|
+
get_user_realm_users(
|
|
3961
4072
|
realm: string,
|
|
3962
4073
|
options?: {
|
|
3963
4074
|
query?: GetUserRealmUsersQuery;
|
|
3964
|
-
} &
|
|
3965
|
-
):
|
|
4075
|
+
} & RequestOptions
|
|
4076
|
+
): ResponsePromise<GetUserRealmUsersResponse> {
|
|
3966
4077
|
return this.request(
|
|
3967
4078
|
"user",
|
|
3968
4079
|
"get_user_realm_users",
|
|
@@ -3979,12 +4090,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3979
4090
|
* @param id - user
|
|
3980
4091
|
* @param options - additional request options
|
|
3981
4092
|
*/
|
|
3982
|
-
get_user_permissions
|
|
4093
|
+
get_user_permissions(
|
|
3983
4094
|
id: string,
|
|
3984
4095
|
options?: {
|
|
3985
4096
|
query?: GetUserPermissionsQuery;
|
|
3986
|
-
} &
|
|
3987
|
-
):
|
|
4097
|
+
} & RequestOptions
|
|
4098
|
+
): ResponsePromise<GetUserPermissionsResponse> {
|
|
3988
4099
|
return this.request(
|
|
3989
4100
|
"user",
|
|
3990
4101
|
"get_user_permissions",
|
|
@@ -4002,13 +4113,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4002
4113
|
* @param body
|
|
4003
4114
|
* @param options - additional request options
|
|
4004
4115
|
*/
|
|
4005
|
-
put_user_permissions
|
|
4116
|
+
put_user_permissions(
|
|
4006
4117
|
id: string,
|
|
4007
4118
|
body: PutUserPermissionsBody,
|
|
4008
4119
|
options?: {
|
|
4009
4120
|
query?: PutUserPermissionsQuery;
|
|
4010
|
-
} &
|
|
4011
|
-
):
|
|
4121
|
+
} & RequestOptions
|
|
4122
|
+
): ResponsePromise<PutUserPermissionsResponse> {
|
|
4012
4123
|
return this.request(
|
|
4013
4124
|
"user",
|
|
4014
4125
|
"put_user_permissions",
|
|
@@ -4026,11 +4137,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4026
4137
|
* @param body
|
|
4027
4138
|
* @param options - additional request options
|
|
4028
4139
|
*/
|
|
4029
|
-
post_user_check_in
|
|
4140
|
+
post_user_check_in(
|
|
4030
4141
|
id: string,
|
|
4031
4142
|
body: PostUserCheckInBody,
|
|
4032
|
-
options?:
|
|
4033
|
-
):
|
|
4143
|
+
options?: RequestOptions
|
|
4144
|
+
): ResponsePromise<PostUserCheckInResponse> {
|
|
4034
4145
|
return this.request("user", "post_user_check_in", "post", `/user/${id}/checkin`, body, options);
|
|
4035
4146
|
}
|
|
4036
4147
|
|
|
@@ -4042,12 +4153,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4042
4153
|
* @param body - The updated state/date_queued of the check-in
|
|
4043
4154
|
* @param options - additional request options
|
|
4044
4155
|
*/
|
|
4045
|
-
patch_user_checkin
|
|
4156
|
+
patch_user_checkin(
|
|
4046
4157
|
id: string,
|
|
4047
4158
|
checkin_id: string,
|
|
4048
4159
|
body: PatchUserCheckinBody,
|
|
4049
|
-
options?:
|
|
4050
|
-
):
|
|
4160
|
+
options?: RequestOptions
|
|
4161
|
+
): ResponsePromise<PatchUserCheckinResponse> {
|
|
4051
4162
|
return this.request(
|
|
4052
4163
|
"user",
|
|
4053
4164
|
"patch_user_checkin",
|
|
@@ -4063,11 +4174,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4063
4174
|
*
|
|
4064
4175
|
* @param options - additional request options
|
|
4065
4176
|
*/
|
|
4066
|
-
get_user_search_check_in
|
|
4177
|
+
get_user_search_check_in(
|
|
4067
4178
|
options?: {
|
|
4068
4179
|
query?: GetUserSearchCheckInQuery;
|
|
4069
|
-
} &
|
|
4070
|
-
):
|
|
4180
|
+
} & RequestOptions
|
|
4181
|
+
): ResponsePromise<GetUserSearchCheckInResponse> {
|
|
4071
4182
|
return this.request(
|
|
4072
4183
|
"user",
|
|
4073
4184
|
"get_user_search_check_in",
|
|
@@ -4084,10 +4195,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4084
4195
|
* @param id - realm
|
|
4085
4196
|
* @param options - additional request options
|
|
4086
4197
|
*/
|
|
4087
|
-
post_user_send_email_verification
|
|
4198
|
+
post_user_send_email_verification(
|
|
4088
4199
|
id: string,
|
|
4089
|
-
options?:
|
|
4090
|
-
):
|
|
4200
|
+
options?: RequestOptions
|
|
4201
|
+
): ResponsePromise<PostUserSendEmailVerificationResponse> {
|
|
4091
4202
|
return this.request(
|
|
4092
4203
|
"user",
|
|
4093
4204
|
"post_user_send_email_verification",
|
|
@@ -4105,11 +4216,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4105
4216
|
* @param body
|
|
4106
4217
|
* @param options - additional request options
|
|
4107
4218
|
*/
|
|
4108
|
-
put_user_verify_user_email
|
|
4219
|
+
put_user_verify_user_email(
|
|
4109
4220
|
id: string,
|
|
4110
4221
|
body: PutUserVerifyUserEmailBody,
|
|
4111
|
-
options?:
|
|
4112
|
-
):
|
|
4222
|
+
options?: RequestOptions
|
|
4223
|
+
): ResponsePromise<PutUserVerifyUserEmailResponse> {
|
|
4113
4224
|
return this.request(
|
|
4114
4225
|
"user",
|
|
4115
4226
|
"put_user_verify_user_email",
|
|
@@ -4120,6 +4231,28 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4120
4231
|
);
|
|
4121
4232
|
}
|
|
4122
4233
|
|
|
4234
|
+
/**
|
|
4235
|
+
* PUT /user/{id}/verification/phone - Send phone verification to user
|
|
4236
|
+
*
|
|
4237
|
+
* @param id - realm
|
|
4238
|
+
* @param body
|
|
4239
|
+
* @param options - additional request options
|
|
4240
|
+
*/
|
|
4241
|
+
put_user_verification_phone(
|
|
4242
|
+
id: string,
|
|
4243
|
+
body: PutUserVerificationPhoneBody,
|
|
4244
|
+
options?: RequestOptions
|
|
4245
|
+
): ResponsePromise<PutUserVerificationPhoneResponse> {
|
|
4246
|
+
return this.request(
|
|
4247
|
+
"user",
|
|
4248
|
+
"put_user_verification_phone",
|
|
4249
|
+
"put",
|
|
4250
|
+
`/user/${id}/verification/phone`,
|
|
4251
|
+
body,
|
|
4252
|
+
options
|
|
4253
|
+
);
|
|
4254
|
+
}
|
|
4255
|
+
|
|
4123
4256
|
/**
|
|
4124
4257
|
* POST /loyalty/{id}/enroll/{user_id} - Enroll logged in user in Loyalty program
|
|
4125
4258
|
*
|
|
@@ -4127,13 +4260,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4127
4260
|
* @param user_id - CompassDigital User id
|
|
4128
4261
|
* @param options - additional request options
|
|
4129
4262
|
*/
|
|
4130
|
-
post_loyalty_enroll
|
|
4263
|
+
post_loyalty_enroll(
|
|
4131
4264
|
id: string,
|
|
4132
4265
|
user_id: string,
|
|
4133
4266
|
options?: {
|
|
4134
4267
|
query?: PostLoyaltyEnrollQuery;
|
|
4135
|
-
} &
|
|
4136
|
-
):
|
|
4268
|
+
} & RequestOptions
|
|
4269
|
+
): ResponsePromise<PostLoyaltyEnrollResponse> {
|
|
4137
4270
|
return this.request(
|
|
4138
4271
|
"loyalty",
|
|
4139
4272
|
"post_loyalty_enroll",
|
|
@@ -4150,12 +4283,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4150
4283
|
* @param id - Loyalty Provider id
|
|
4151
4284
|
* @param options - additional request options
|
|
4152
4285
|
*/
|
|
4153
|
-
get_loyalty_points
|
|
4286
|
+
get_loyalty_points(
|
|
4154
4287
|
id: string,
|
|
4155
4288
|
options: {
|
|
4156
4289
|
query: GetLoyaltyPointsQuery;
|
|
4157
|
-
} &
|
|
4158
|
-
):
|
|
4290
|
+
} & RequestOptions
|
|
4291
|
+
): ResponsePromise<GetLoyaltyPointsResponse> {
|
|
4159
4292
|
return this.request(
|
|
4160
4293
|
"loyalty",
|
|
4161
4294
|
"get_loyalty_points",
|
|
@@ -4173,11 +4306,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4173
4306
|
* @param user_id - CompassDigital User id
|
|
4174
4307
|
* @param options - additional request options
|
|
4175
4308
|
*/
|
|
4176
|
-
get_loyalty_offers
|
|
4309
|
+
get_loyalty_offers(
|
|
4177
4310
|
id: string,
|
|
4178
4311
|
user_id: string,
|
|
4179
|
-
options?:
|
|
4180
|
-
):
|
|
4312
|
+
options?: RequestOptions
|
|
4313
|
+
): ResponsePromise<GetLoyaltyOffersResponse> {
|
|
4181
4314
|
return this.request(
|
|
4182
4315
|
"loyalty",
|
|
4183
4316
|
"get_loyalty_offers",
|
|
@@ -4195,11 +4328,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4195
4328
|
* @param user_id - CompassDigital User id
|
|
4196
4329
|
* @param options - additional request options
|
|
4197
4330
|
*/
|
|
4198
|
-
get_loyalty_enrollmentstatus
|
|
4331
|
+
get_loyalty_enrollmentstatus(
|
|
4199
4332
|
id: string,
|
|
4200
4333
|
user_id: string,
|
|
4201
|
-
options?:
|
|
4202
|
-
):
|
|
4334
|
+
options?: RequestOptions
|
|
4335
|
+
): ResponsePromise<GetLoyaltyEnrollmentstatusResponse> {
|
|
4203
4336
|
return this.request(
|
|
4204
4337
|
"loyalty",
|
|
4205
4338
|
"get_loyalty_enrollmentstatus",
|
|
@@ -4217,11 +4350,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4217
4350
|
* @param user_id - CompassDigital User id
|
|
4218
4351
|
* @param options - additional request options
|
|
4219
4352
|
*/
|
|
4220
|
-
get_loyalty_balance
|
|
4353
|
+
get_loyalty_balance(
|
|
4221
4354
|
id: string,
|
|
4222
4355
|
user_id: string,
|
|
4223
|
-
options?:
|
|
4224
|
-
):
|
|
4356
|
+
options?: RequestOptions
|
|
4357
|
+
): ResponsePromise<GetLoyaltyBalanceResponse> {
|
|
4225
4358
|
return this.request(
|
|
4226
4359
|
"loyalty",
|
|
4227
4360
|
"get_loyalty_balance",
|
|
@@ -4239,13 +4372,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4239
4372
|
* @param user_id - CompassDigital User id
|
|
4240
4373
|
* @param options - additional request options
|
|
4241
4374
|
*/
|
|
4242
|
-
get_loyalty_opportunities
|
|
4375
|
+
get_loyalty_opportunities(
|
|
4243
4376
|
id: string,
|
|
4244
4377
|
user_id: string,
|
|
4245
4378
|
options?: {
|
|
4246
4379
|
query?: GetLoyaltyOpportunitiesQuery;
|
|
4247
|
-
} &
|
|
4248
|
-
):
|
|
4380
|
+
} & RequestOptions
|
|
4381
|
+
): ResponsePromise<GetLoyaltyOpportunitiesResponse> {
|
|
4249
4382
|
return this.request(
|
|
4250
4383
|
"loyalty",
|
|
4251
4384
|
"get_loyalty_opportunities",
|
|
@@ -4263,13 +4396,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4263
4396
|
* @param user_id - CompassDigital User id
|
|
4264
4397
|
* @param options - additional request options
|
|
4265
4398
|
*/
|
|
4266
|
-
post_loyalty_opportunities
|
|
4399
|
+
post_loyalty_opportunities(
|
|
4267
4400
|
id: string,
|
|
4268
4401
|
user_id: string,
|
|
4269
4402
|
options: {
|
|
4270
4403
|
query: PostLoyaltyOpportunitiesQuery;
|
|
4271
|
-
} &
|
|
4272
|
-
):
|
|
4404
|
+
} & RequestOptions
|
|
4405
|
+
): ResponsePromise<PostLoyaltyOpportunitiesResponse> {
|
|
4273
4406
|
return this.request(
|
|
4274
4407
|
"loyalty",
|
|
4275
4408
|
"post_loyalty_opportunities",
|
|
@@ -4287,11 +4420,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4287
4420
|
* @param user_id - CompassDigital User id
|
|
4288
4421
|
* @param options - additional request options
|
|
4289
4422
|
*/
|
|
4290
|
-
get_loyalty_rewards
|
|
4423
|
+
get_loyalty_rewards(
|
|
4291
4424
|
id: string,
|
|
4292
4425
|
user_id: string,
|
|
4293
|
-
options?:
|
|
4294
|
-
):
|
|
4426
|
+
options?: RequestOptions
|
|
4427
|
+
): ResponsePromise<GetLoyaltyRewardsResponse> {
|
|
4295
4428
|
return this.request(
|
|
4296
4429
|
"loyalty",
|
|
4297
4430
|
"get_loyalty_rewards",
|
|
@@ -4309,11 +4442,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4309
4442
|
* @param user_id - CompassDigital User id
|
|
4310
4443
|
* @param options - additional request options
|
|
4311
4444
|
*/
|
|
4312
|
-
get_loyalty_coupons
|
|
4445
|
+
get_loyalty_coupons(
|
|
4313
4446
|
id: string,
|
|
4314
4447
|
user_id: string,
|
|
4315
|
-
options?:
|
|
4316
|
-
):
|
|
4448
|
+
options?: RequestOptions
|
|
4449
|
+
): ResponsePromise<GetLoyaltyCouponsResponse> {
|
|
4317
4450
|
return this.request(
|
|
4318
4451
|
"loyalty",
|
|
4319
4452
|
"get_loyalty_coupons",
|
|
@@ -4331,13 +4464,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4331
4464
|
* @param user_id - CompassDigital User id
|
|
4332
4465
|
* @param options - additional request options
|
|
4333
4466
|
*/
|
|
4334
|
-
get_loyalty_orderpoints
|
|
4467
|
+
get_loyalty_orderpoints(
|
|
4335
4468
|
id: string,
|
|
4336
4469
|
user_id: string,
|
|
4337
4470
|
options: {
|
|
4338
4471
|
query: GetLoyaltyOrderpointsQuery;
|
|
4339
|
-
} &
|
|
4340
|
-
):
|
|
4472
|
+
} & RequestOptions
|
|
4473
|
+
): ResponsePromise<GetLoyaltyOrderpointsResponse> {
|
|
4341
4474
|
return this.request(
|
|
4342
4475
|
"loyalty",
|
|
4343
4476
|
"get_loyalty_orderpoints",
|
|
@@ -4356,12 +4489,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4356
4489
|
* @param body
|
|
4357
4490
|
* @param options - additional request options
|
|
4358
4491
|
*/
|
|
4359
|
-
post_loyalty_orderpoints
|
|
4492
|
+
post_loyalty_orderpoints(
|
|
4360
4493
|
id: string,
|
|
4361
4494
|
user_id: string,
|
|
4362
4495
|
body: PostLoyaltyOrderpointsBody,
|
|
4363
|
-
options?:
|
|
4364
|
-
):
|
|
4496
|
+
options?: RequestOptions
|
|
4497
|
+
): ResponsePromise<PostLoyaltyOrderpointsResponse> {
|
|
4365
4498
|
return this.request(
|
|
4366
4499
|
"loyalty",
|
|
4367
4500
|
"post_loyalty_orderpoints",
|
|
@@ -4380,14 +4513,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4380
4513
|
* @param body
|
|
4381
4514
|
* @param options - additional request options
|
|
4382
4515
|
*/
|
|
4383
|
-
post_loyalty_purchase
|
|
4516
|
+
post_loyalty_purchase(
|
|
4384
4517
|
id: string,
|
|
4385
4518
|
user_id: string,
|
|
4386
4519
|
body: PostLoyaltyPurchaseBody,
|
|
4387
4520
|
options?: {
|
|
4388
4521
|
query?: PostLoyaltyPurchaseQuery;
|
|
4389
|
-
} &
|
|
4390
|
-
):
|
|
4522
|
+
} & RequestOptions
|
|
4523
|
+
): ResponsePromise<PostLoyaltyPurchaseResponse> {
|
|
4391
4524
|
return this.request(
|
|
4392
4525
|
"loyalty",
|
|
4393
4526
|
"post_loyalty_purchase",
|
|
@@ -4406,14 +4539,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4406
4539
|
* @param body
|
|
4407
4540
|
* @param options - additional request options
|
|
4408
4541
|
*/
|
|
4409
|
-
post_loyalty_buyreward
|
|
4542
|
+
post_loyalty_buyreward(
|
|
4410
4543
|
id: string,
|
|
4411
4544
|
user_id: string,
|
|
4412
4545
|
body: PostLoyaltyBuyrewardBody,
|
|
4413
4546
|
options?: {
|
|
4414
4547
|
query?: PostLoyaltyBuyrewardQuery;
|
|
4415
|
-
} &
|
|
4416
|
-
):
|
|
4548
|
+
} & RequestOptions
|
|
4549
|
+
): ResponsePromise<PostLoyaltyBuyrewardResponse> {
|
|
4417
4550
|
return this.request(
|
|
4418
4551
|
"loyalty",
|
|
4419
4552
|
"post_loyalty_buyreward",
|
|
@@ -4431,13 +4564,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4431
4564
|
* @param user_id - CompassDigital User id
|
|
4432
4565
|
* @param options - additional request options
|
|
4433
4566
|
*/
|
|
4434
|
-
get_loyalty_history
|
|
4567
|
+
get_loyalty_history(
|
|
4435
4568
|
id: string,
|
|
4436
4569
|
user_id: string,
|
|
4437
4570
|
options?: {
|
|
4438
4571
|
query?: GetLoyaltyHistoryQuery;
|
|
4439
|
-
} &
|
|
4440
|
-
):
|
|
4572
|
+
} & RequestOptions
|
|
4573
|
+
): ResponsePromise<GetLoyaltyHistoryResponse> {
|
|
4441
4574
|
return this.request(
|
|
4442
4575
|
"loyalty",
|
|
4443
4576
|
"get_loyalty_history",
|
|
@@ -4456,12 +4589,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4456
4589
|
* @param coupon_id - Coupon code to get coupon information
|
|
4457
4590
|
* @param options - additional request options
|
|
4458
4591
|
*/
|
|
4459
|
-
get_loyalty_coupon
|
|
4592
|
+
get_loyalty_coupon(
|
|
4460
4593
|
id: string,
|
|
4461
4594
|
user_id: string,
|
|
4462
4595
|
coupon_id: string,
|
|
4463
|
-
options?:
|
|
4464
|
-
):
|
|
4596
|
+
options?: RequestOptions
|
|
4597
|
+
): ResponsePromise<GetLoyaltyCouponResponse> {
|
|
4465
4598
|
return this.request(
|
|
4466
4599
|
"loyalty",
|
|
4467
4600
|
"get_loyalty_coupon",
|
|
@@ -4481,13 +4614,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4481
4614
|
* @param body
|
|
4482
4615
|
* @param options - additional request options
|
|
4483
4616
|
*/
|
|
4484
|
-
patch_loyalty_coupon
|
|
4617
|
+
patch_loyalty_coupon(
|
|
4485
4618
|
id: string,
|
|
4486
4619
|
user_id: string,
|
|
4487
4620
|
coupon_id: string,
|
|
4488
4621
|
body: PatchLoyaltyCouponBody,
|
|
4489
|
-
options?:
|
|
4490
|
-
):
|
|
4622
|
+
options?: RequestOptions
|
|
4623
|
+
): ResponsePromise<PatchLoyaltyCouponResponse> {
|
|
4491
4624
|
return this.request(
|
|
4492
4625
|
"loyalty",
|
|
4493
4626
|
"patch_loyalty_coupon",
|
|
@@ -4504,12 +4637,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4504
4637
|
* @param id - Loyalty Provider id
|
|
4505
4638
|
* @param options - additional request options
|
|
4506
4639
|
*/
|
|
4507
|
-
get_loyalty_search
|
|
4640
|
+
get_loyalty_search(
|
|
4508
4641
|
id: string,
|
|
4509
4642
|
options: {
|
|
4510
4643
|
query: GetLoyaltySearchQuery;
|
|
4511
|
-
} &
|
|
4512
|
-
):
|
|
4644
|
+
} & RequestOptions
|
|
4645
|
+
): ResponsePromise<GetLoyaltySearchResponse> {
|
|
4513
4646
|
return this.request(
|
|
4514
4647
|
"loyalty",
|
|
4515
4648
|
"get_loyalty_search",
|
|
@@ -4526,12 +4659,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4526
4659
|
* @param id - Loyalty Provider id
|
|
4527
4660
|
* @param options - additional request options
|
|
4528
4661
|
*/
|
|
4529
|
-
get_loyalty_users
|
|
4662
|
+
get_loyalty_users(
|
|
4530
4663
|
id: string,
|
|
4531
4664
|
options: {
|
|
4532
4665
|
query: GetLoyaltyUsersQuery;
|
|
4533
|
-
} &
|
|
4534
|
-
):
|
|
4666
|
+
} & RequestOptions
|
|
4667
|
+
): ResponsePromise<GetLoyaltyUsersResponse> {
|
|
4535
4668
|
return this.request(
|
|
4536
4669
|
"loyalty",
|
|
4537
4670
|
"get_loyalty_users",
|
|
@@ -4548,12 +4681,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4548
4681
|
* @param id - Loyalty Provider id
|
|
4549
4682
|
* @param options - additional request options
|
|
4550
4683
|
*/
|
|
4551
|
-
get_loyalty_events
|
|
4684
|
+
get_loyalty_events(
|
|
4552
4685
|
id: string,
|
|
4553
4686
|
options: {
|
|
4554
4687
|
query: GetLoyaltyEventsQuery;
|
|
4555
|
-
} &
|
|
4556
|
-
):
|
|
4688
|
+
} & RequestOptions
|
|
4689
|
+
): ResponsePromise<GetLoyaltyEventsResponse> {
|
|
4557
4690
|
return this.request(
|
|
4558
4691
|
"loyalty",
|
|
4559
4692
|
"get_loyalty_events",
|
|
@@ -4570,10 +4703,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4570
4703
|
* @param id - TODO: add parameter to swagger.json
|
|
4571
4704
|
* @param options - additional request options
|
|
4572
4705
|
*/
|
|
4573
|
-
get_brand
|
|
4574
|
-
id: string,
|
|
4575
|
-
options?: Options
|
|
4576
|
-
): ResponseType<GetBrandResponse, Options> {
|
|
4706
|
+
get_brand(id: string, options?: RequestOptions): ResponsePromise<GetBrandResponse> {
|
|
4577
4707
|
return this.request("brand", "get_brand", "get", `/brand/${id}`, null, options);
|
|
4578
4708
|
}
|
|
4579
4709
|
|
|
@@ -4582,9 +4712,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4582
4712
|
*
|
|
4583
4713
|
* @param options - additional request options
|
|
4584
4714
|
*/
|
|
4585
|
-
get_brands
|
|
4586
|
-
options?: Options
|
|
4587
|
-
): ResponseType<GetBrandsResponse, Options> {
|
|
4715
|
+
get_brands(options?: RequestOptions): ResponsePromise<GetBrandsResponse> {
|
|
4588
4716
|
return this.request("brand", "get_brands", "get", `/brand`, null, options);
|
|
4589
4717
|
}
|
|
4590
4718
|
|
|
@@ -4594,10 +4722,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4594
4722
|
* @param id - brand
|
|
4595
4723
|
* @param options - additional request options
|
|
4596
4724
|
*/
|
|
4597
|
-
get_calendar
|
|
4725
|
+
get_calendar(
|
|
4598
4726
|
id: string,
|
|
4599
|
-
options?:
|
|
4600
|
-
|
|
4727
|
+
options?: {
|
|
4728
|
+
query?: GetCalendarQuery;
|
|
4729
|
+
} & RequestOptions
|
|
4730
|
+
): ResponsePromise<GetCalendarResponse> {
|
|
4601
4731
|
return this.request("calendar", "get_calendar", "get", `/calendar/${id}`, null, options);
|
|
4602
4732
|
}
|
|
4603
4733
|
|
|
@@ -4608,11 +4738,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4608
4738
|
* @param body
|
|
4609
4739
|
* @param options - additional request options
|
|
4610
4740
|
*/
|
|
4611
|
-
put_calendar
|
|
4741
|
+
put_calendar(
|
|
4612
4742
|
id: string,
|
|
4613
4743
|
body: PutCalendarBody,
|
|
4614
|
-
options?:
|
|
4615
|
-
):
|
|
4744
|
+
options?: RequestOptions
|
|
4745
|
+
): ResponsePromise<PutCalendarResponse> {
|
|
4616
4746
|
return this.request("calendar", "put_calendar", "put", `/calendar/${id}`, body, options);
|
|
4617
4747
|
}
|
|
4618
4748
|
|
|
@@ -4622,12 +4752,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4622
4752
|
* @param id - brand
|
|
4623
4753
|
* @param options - additional request options
|
|
4624
4754
|
*/
|
|
4625
|
-
get_calendar_cdl
|
|
4755
|
+
get_calendar_cdl(
|
|
4626
4756
|
id: string,
|
|
4627
4757
|
options?: {
|
|
4628
4758
|
query?: GetCalendarCdlQuery;
|
|
4629
|
-
} &
|
|
4630
|
-
):
|
|
4759
|
+
} & RequestOptions
|
|
4760
|
+
): ResponsePromise<GetCalendarCdlResponse> {
|
|
4631
4761
|
return this.request(
|
|
4632
4762
|
"calendar",
|
|
4633
4763
|
"get_calendar_cdl",
|
|
@@ -4643,9 +4773,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4643
4773
|
*
|
|
4644
4774
|
* @param options - additional request options
|
|
4645
4775
|
*/
|
|
4646
|
-
get_calendar_swagger
|
|
4647
|
-
options?: Options
|
|
4648
|
-
): ResponseType<GetCalendarSwaggerResponse, Options> {
|
|
4776
|
+
get_calendar_swagger(options?: RequestOptions): ResponsePromise<GetCalendarSwaggerResponse> {
|
|
4649
4777
|
return this.request(
|
|
4650
4778
|
"calendar",
|
|
4651
4779
|
"get_calendar_swagger",
|
|
@@ -4662,10 +4790,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4662
4790
|
* @param id - brand
|
|
4663
4791
|
* @param options - additional request options
|
|
4664
4792
|
*/
|
|
4665
|
-
post_calendar_sync
|
|
4793
|
+
post_calendar_sync(
|
|
4666
4794
|
id: string,
|
|
4667
|
-
options?:
|
|
4668
|
-
):
|
|
4795
|
+
options?: RequestOptions
|
|
4796
|
+
): ResponsePromise<PostCalendarSyncResponse> {
|
|
4669
4797
|
return this.request(
|
|
4670
4798
|
"calendar",
|
|
4671
4799
|
"post_calendar_sync",
|
|
@@ -4682,10 +4810,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4682
4810
|
* @param body - reservation
|
|
4683
4811
|
* @param options - additional request options
|
|
4684
4812
|
*/
|
|
4685
|
-
post_delivery_order
|
|
4813
|
+
post_delivery_order(
|
|
4686
4814
|
body: PostDeliveryOrderBody,
|
|
4687
|
-
options?:
|
|
4688
|
-
):
|
|
4815
|
+
options?: RequestOptions
|
|
4816
|
+
): ResponsePromise<PostDeliveryOrderResponse> {
|
|
4689
4817
|
return this.request(
|
|
4690
4818
|
"delivery",
|
|
4691
4819
|
"post_delivery_order",
|
|
@@ -4702,10 +4830,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4702
4830
|
* @param order_id - TODO: add parameter to swagger.json
|
|
4703
4831
|
* @param options - additional request options
|
|
4704
4832
|
*/
|
|
4705
|
-
patch_delivery_order
|
|
4833
|
+
patch_delivery_order(
|
|
4706
4834
|
order_id: string,
|
|
4707
|
-
options?:
|
|
4708
|
-
):
|
|
4835
|
+
options?: RequestOptions
|
|
4836
|
+
): ResponsePromise<PatchDeliveryOrderResponse> {
|
|
4709
4837
|
return this.request(
|
|
4710
4838
|
"delivery",
|
|
4711
4839
|
"patch_delivery_order",
|
|
@@ -4722,10 +4850,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4722
4850
|
* @param order_id - TODO: add parameter to swagger.json
|
|
4723
4851
|
* @param options - additional request options
|
|
4724
4852
|
*/
|
|
4725
|
-
get_delivery_order
|
|
4853
|
+
get_delivery_order(
|
|
4726
4854
|
order_id: string,
|
|
4727
|
-
options?:
|
|
4728
|
-
):
|
|
4855
|
+
options?: RequestOptions
|
|
4856
|
+
): ResponsePromise<GetDeliveryOrderResponse> {
|
|
4729
4857
|
return this.request(
|
|
4730
4858
|
"delivery",
|
|
4731
4859
|
"get_delivery_order",
|
|
@@ -4742,10 +4870,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4742
4870
|
* @param body
|
|
4743
4871
|
* @param options - additional request options
|
|
4744
4872
|
*/
|
|
4745
|
-
post_schedule
|
|
4873
|
+
post_schedule(
|
|
4746
4874
|
body: PostScheduleBody,
|
|
4747
|
-
options?:
|
|
4748
|
-
):
|
|
4875
|
+
options?: RequestOptions
|
|
4876
|
+
): ResponsePromise<PostScheduleResponse> {
|
|
4749
4877
|
return this.request("schedule", "post_schedule", "post", `/schedule`, body, options);
|
|
4750
4878
|
}
|
|
4751
4879
|
|
|
@@ -4754,11 +4882,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4754
4882
|
*
|
|
4755
4883
|
* @param options - additional request options
|
|
4756
4884
|
*/
|
|
4757
|
-
get_schedules
|
|
4885
|
+
get_schedules(
|
|
4758
4886
|
options: {
|
|
4759
4887
|
query: GetSchedulesQuery;
|
|
4760
|
-
} &
|
|
4761
|
-
):
|
|
4888
|
+
} & RequestOptions
|
|
4889
|
+
): ResponsePromise<GetSchedulesResponse> {
|
|
4762
4890
|
return this.request("schedule", "get_schedules", "get", `/schedule`, null, options);
|
|
4763
4891
|
}
|
|
4764
4892
|
|
|
@@ -4768,10 +4896,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4768
4896
|
* @param id - schedule id
|
|
4769
4897
|
* @param options - additional request options
|
|
4770
4898
|
*/
|
|
4771
|
-
get_schedule
|
|
4772
|
-
id: string,
|
|
4773
|
-
options?: Options
|
|
4774
|
-
): ResponseType<GetScheduleResponse, Options> {
|
|
4899
|
+
get_schedule(id: string, options?: RequestOptions): ResponsePromise<GetScheduleResponse> {
|
|
4775
4900
|
return this.request("schedule", "get_schedule", "get", `/schedule/${id}`, null, options);
|
|
4776
4901
|
}
|
|
4777
4902
|
|
|
@@ -4782,11 +4907,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4782
4907
|
* @param body
|
|
4783
4908
|
* @param options - additional request options
|
|
4784
4909
|
*/
|
|
4785
|
-
put_schedule
|
|
4910
|
+
put_schedule(
|
|
4786
4911
|
id: string,
|
|
4787
4912
|
body: PutScheduleBody,
|
|
4788
|
-
options?:
|
|
4789
|
-
):
|
|
4913
|
+
options?: RequestOptions
|
|
4914
|
+
): ResponsePromise<PutScheduleResponse> {
|
|
4790
4915
|
return this.request("schedule", "put_schedule", "put", `/schedule/${id}`, body, options);
|
|
4791
4916
|
}
|
|
4792
4917
|
|
|
@@ -4796,10 +4921,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4796
4921
|
* @param id - Id of a schedule
|
|
4797
4922
|
* @param options - additional request options
|
|
4798
4923
|
*/
|
|
4799
|
-
delete_schedule
|
|
4800
|
-
id: string,
|
|
4801
|
-
options?: Options
|
|
4802
|
-
): ResponseType<DeleteScheduleResponse, Options> {
|
|
4924
|
+
delete_schedule(id: string, options?: RequestOptions): ResponsePromise<DeleteScheduleResponse> {
|
|
4803
4925
|
return this.request("schedule", "delete_schedule", "delete", `/schedule/${id}`, null, options);
|
|
4804
4926
|
}
|
|
4805
4927
|
|
|
@@ -4809,10 +4931,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4809
4931
|
* @param body
|
|
4810
4932
|
* @param options - additional request options
|
|
4811
4933
|
*/
|
|
4812
|
-
post_vote
|
|
4813
|
-
body: PostVoteBody,
|
|
4814
|
-
options?: Options
|
|
4815
|
-
): ResponseType<PostVoteResponse, Options> {
|
|
4934
|
+
post_vote(body: PostVoteBody, options?: RequestOptions): ResponsePromise<PostVoteResponse> {
|
|
4816
4935
|
return this.request("vote", "post_vote", "post", `/vote`, body, options);
|
|
4817
4936
|
}
|
|
4818
4937
|
|
|
@@ -4822,12 +4941,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4822
4941
|
* @param idfa - TODO: add parameter to swagger.json
|
|
4823
4942
|
* @param options - additional request options
|
|
4824
4943
|
*/
|
|
4825
|
-
get_vote_idfa
|
|
4944
|
+
get_vote_idfa(
|
|
4826
4945
|
idfa: string,
|
|
4827
4946
|
options?: {
|
|
4828
4947
|
query?: GetVoteIdfaQuery;
|
|
4829
|
-
} &
|
|
4830
|
-
):
|
|
4948
|
+
} & RequestOptions
|
|
4949
|
+
): ResponsePromise<GetVoteIdfaResponse> {
|
|
4831
4950
|
return this.request("vote", "get_vote_idfa", "get", `/vote/idfa/${idfa}`, null, options);
|
|
4832
4951
|
}
|
|
4833
4952
|
|
|
@@ -4837,10 +4956,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4837
4956
|
* @param body
|
|
4838
4957
|
* @param options - additional request options
|
|
4839
4958
|
*/
|
|
4840
|
-
post_file
|
|
4841
|
-
body: PostFileBody,
|
|
4842
|
-
options?: Options
|
|
4843
|
-
): ResponseType<PostFileResponse, Options> {
|
|
4959
|
+
post_file(body: PostFileBody, options?: RequestOptions): ResponsePromise<PostFileResponse> {
|
|
4844
4960
|
return this.request("file", "post_file", "post", `/file`, body, options);
|
|
4845
4961
|
}
|
|
4846
4962
|
|
|
@@ -4850,10 +4966,10 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4850
4966
|
* @param body - Message object that needs to be created
|
|
4851
4967
|
* @param options - additional request options
|
|
4852
4968
|
*/
|
|
4853
|
-
post_message
|
|
4969
|
+
post_message(
|
|
4854
4970
|
body: PostMessageBody,
|
|
4855
|
-
options?:
|
|
4856
|
-
):
|
|
4971
|
+
options?: RequestOptions
|
|
4972
|
+
): ResponsePromise<PostMessageResponse> {
|
|
4857
4973
|
return this.request("message", "post_message", "post", `/message`, body, options);
|
|
4858
4974
|
}
|
|
4859
4975
|
|
|
@@ -4863,10 +4979,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4863
4979
|
* @param id - Message CDL encoded id
|
|
4864
4980
|
* @param options - additional request options
|
|
4865
4981
|
*/
|
|
4866
|
-
get_message
|
|
4867
|
-
id: string,
|
|
4868
|
-
options?: Options
|
|
4869
|
-
): ResponseType<GetMessageResponse, Options> {
|
|
4982
|
+
get_message(id: string, options?: RequestOptions): ResponsePromise<GetMessageResponse> {
|
|
4870
4983
|
return this.request("message", "get_message", "get", `/message/${id}`, null, options);
|
|
4871
4984
|
}
|
|
4872
4985
|
|
|
@@ -4876,12 +4989,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4876
4989
|
* @param id - action
|
|
4877
4990
|
* @param options - additional request options
|
|
4878
4991
|
*/
|
|
4879
|
-
get_logger_brand_status
|
|
4992
|
+
get_logger_brand_status(
|
|
4880
4993
|
id: string,
|
|
4881
4994
|
options?: {
|
|
4882
4995
|
query?: GetLoggerBrandStatusQuery;
|
|
4883
|
-
} &
|
|
4884
|
-
):
|
|
4996
|
+
} & RequestOptions
|
|
4997
|
+
): ResponsePromise<GetLoggerBrandStatusResponse> {
|
|
4885
4998
|
return this.request(
|
|
4886
4999
|
"logger",
|
|
4887
5000
|
"get_logger_brand_status",
|
|
@@ -4891,4 +5004,446 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4891
5004
|
options
|
|
4892
5005
|
);
|
|
4893
5006
|
}
|
|
5007
|
+
|
|
5008
|
+
/**
|
|
5009
|
+
* GET /menu/client/{client_id} - Get menu client
|
|
5010
|
+
*
|
|
5011
|
+
* @param client_id
|
|
5012
|
+
* @param options - additional request options
|
|
5013
|
+
*/
|
|
5014
|
+
get_menu_client(
|
|
5015
|
+
client_id: string,
|
|
5016
|
+
options?: RequestOptions
|
|
5017
|
+
): ResponsePromise<GetMenuClientResponse> {
|
|
5018
|
+
return this.request(
|
|
5019
|
+
"menu",
|
|
5020
|
+
"get_menu_client",
|
|
5021
|
+
"get",
|
|
5022
|
+
`/menu/client/${client_id}`,
|
|
5023
|
+
null,
|
|
5024
|
+
options
|
|
5025
|
+
);
|
|
5026
|
+
}
|
|
5027
|
+
|
|
5028
|
+
/**
|
|
5029
|
+
* GET /menu - Get Menus or search for Menus
|
|
5030
|
+
*
|
|
5031
|
+
* @param options - additional request options
|
|
5032
|
+
*/
|
|
5033
|
+
get_menus(
|
|
5034
|
+
options: {
|
|
5035
|
+
query: GetMenusQuery;
|
|
5036
|
+
} & RequestOptions
|
|
5037
|
+
): ResponsePromise<GetMenusResponse> {
|
|
5038
|
+
return this.request("menu", "get_menus", "get", `/menu`, null, options);
|
|
5039
|
+
}
|
|
5040
|
+
|
|
5041
|
+
/**
|
|
5042
|
+
* POST /menu - Create a new Menu
|
|
5043
|
+
*
|
|
5044
|
+
* @param body
|
|
5045
|
+
* @param options - additional request options
|
|
5046
|
+
*/
|
|
5047
|
+
post_menu(body: PostMenuBody, options?: RequestOptions): ResponsePromise<PostMenuResponse> {
|
|
5048
|
+
return this.request("menu", "post_menu", "post", `/menu`, body, options);
|
|
5049
|
+
}
|
|
5050
|
+
|
|
5051
|
+
/**
|
|
5052
|
+
* HEAD /menu/{id} - Get an individual Menu
|
|
5053
|
+
*
|
|
5054
|
+
* @param id - menu
|
|
5055
|
+
* @param options - additional request options
|
|
5056
|
+
*/
|
|
5057
|
+
head_menu(
|
|
5058
|
+
id: string,
|
|
5059
|
+
options?: {
|
|
5060
|
+
query?: HeadMenuQuery;
|
|
5061
|
+
} & RequestOptions
|
|
5062
|
+
): ResponsePromise<HeadMenuResponse> {
|
|
5063
|
+
return this.request("menu", "head_menu", "head", `/menu/${id}`, null, options);
|
|
5064
|
+
}
|
|
5065
|
+
|
|
5066
|
+
/**
|
|
5067
|
+
* GET /menu/{id} - Get an individual Menu
|
|
5068
|
+
*
|
|
5069
|
+
* @param id - menu
|
|
5070
|
+
* @param options - additional request options
|
|
5071
|
+
*/
|
|
5072
|
+
get_menu(
|
|
5073
|
+
id: string,
|
|
5074
|
+
options?: {
|
|
5075
|
+
query?: GetMenuQuery;
|
|
5076
|
+
} & RequestOptions
|
|
5077
|
+
): ResponsePromise<GetMenuResponse> {
|
|
5078
|
+
return this.request("menu", "get_menu", "get", `/menu/${id}`, null, options);
|
|
5079
|
+
}
|
|
5080
|
+
|
|
5081
|
+
/**
|
|
5082
|
+
* PUT /menu/{id} - Override a complete Menu
|
|
5083
|
+
*
|
|
5084
|
+
* @param id - menu
|
|
5085
|
+
* @param body
|
|
5086
|
+
* @param options - additional request options
|
|
5087
|
+
*/
|
|
5088
|
+
put_menu(
|
|
5089
|
+
id: string,
|
|
5090
|
+
body: PutMenuBody,
|
|
5091
|
+
options?: {
|
|
5092
|
+
query?: PutMenuQuery;
|
|
5093
|
+
} & RequestOptions
|
|
5094
|
+
): ResponsePromise<PutMenuResponse> {
|
|
5095
|
+
return this.request("menu", "put_menu", "put", `/menu/${id}`, body, options);
|
|
5096
|
+
}
|
|
5097
|
+
|
|
5098
|
+
/**
|
|
5099
|
+
* DELETE /menu/{id} - Delete a Menu
|
|
5100
|
+
*
|
|
5101
|
+
* @param id - menu
|
|
5102
|
+
* @param options - additional request options
|
|
5103
|
+
*/
|
|
5104
|
+
delete_menu(
|
|
5105
|
+
id: string,
|
|
5106
|
+
options?: {
|
|
5107
|
+
query?: DeleteMenuQuery;
|
|
5108
|
+
} & RequestOptions
|
|
5109
|
+
): ResponsePromise<DeleteMenuResponse> {
|
|
5110
|
+
return this.request("menu", "delete_menu", "delete", `/menu/${id}`, null, options);
|
|
5111
|
+
}
|
|
5112
|
+
|
|
5113
|
+
/**
|
|
5114
|
+
* PATCH /menu/{id} - Update a menu
|
|
5115
|
+
*
|
|
5116
|
+
* @param id - menu
|
|
5117
|
+
* @param body
|
|
5118
|
+
* @param options - additional request options
|
|
5119
|
+
*/
|
|
5120
|
+
patch_menu(
|
|
5121
|
+
id: string,
|
|
5122
|
+
body: PatchMenuBody,
|
|
5123
|
+
options?: {
|
|
5124
|
+
query?: PatchMenuQuery;
|
|
5125
|
+
} & RequestOptions
|
|
5126
|
+
): ResponsePromise<PatchMenuResponse> {
|
|
5127
|
+
return this.request("menu", "patch_menu", "patch", `/menu/${id}`, body, options);
|
|
5128
|
+
}
|
|
5129
|
+
|
|
5130
|
+
/**
|
|
5131
|
+
* POST /menu/import - Import an existing Menu
|
|
5132
|
+
*
|
|
5133
|
+
* @param body
|
|
5134
|
+
* @param options - additional request options
|
|
5135
|
+
*/
|
|
5136
|
+
post_menu_import_menu(
|
|
5137
|
+
body: PostMenuImportMenuBody,
|
|
5138
|
+
options?: RequestOptions
|
|
5139
|
+
): ResponsePromise<PostMenuImportMenuResponse> {
|
|
5140
|
+
return this.request("menu", "post_menu_import_menu", "post", `/menu/import`, body, options);
|
|
5141
|
+
}
|
|
5142
|
+
|
|
5143
|
+
/**
|
|
5144
|
+
* GET /menu/item/{id} - Get menu item
|
|
5145
|
+
*
|
|
5146
|
+
* @param id - Item ID
|
|
5147
|
+
* @param options - additional request options
|
|
5148
|
+
*/
|
|
5149
|
+
get_menu_item(
|
|
5150
|
+
id: string,
|
|
5151
|
+
options?: {
|
|
5152
|
+
query?: GetMenuItemQuery;
|
|
5153
|
+
} & RequestOptions
|
|
5154
|
+
): ResponsePromise<GetMenuItemResponse> {
|
|
5155
|
+
return this.request("menu", "get_menu_item", "get", `/menu/item/${id}`, null, options);
|
|
5156
|
+
}
|
|
5157
|
+
|
|
5158
|
+
/**
|
|
5159
|
+
* DELETE /menu/item/{id} - Delete a menu item
|
|
5160
|
+
*
|
|
5161
|
+
* @param id - Item ID
|
|
5162
|
+
* @param options - additional request options
|
|
5163
|
+
*/
|
|
5164
|
+
delete_menu_item(id: string, options?: RequestOptions): ResponsePromise<DeleteMenuItemResponse> {
|
|
5165
|
+
return this.request("menu", "delete_menu_item", "delete", `/menu/item/${id}`, null, options);
|
|
5166
|
+
}
|
|
5167
|
+
|
|
5168
|
+
/**
|
|
5169
|
+
* POST /menu/item - Create a menu item
|
|
5170
|
+
*
|
|
5171
|
+
* @param body
|
|
5172
|
+
* @param options - additional request options
|
|
5173
|
+
*/
|
|
5174
|
+
post_menu_item(
|
|
5175
|
+
body: PostMenuItemBody,
|
|
5176
|
+
options?: RequestOptions
|
|
5177
|
+
): ResponsePromise<PostMenuItemResponse> {
|
|
5178
|
+
return this.request("menu", "post_menu_item", "post", `/menu/item`, body, options);
|
|
5179
|
+
}
|
|
5180
|
+
|
|
5181
|
+
/**
|
|
5182
|
+
* GET /menu/items - Search for menu items
|
|
5183
|
+
*
|
|
5184
|
+
* @param options - additional request options
|
|
5185
|
+
*/
|
|
5186
|
+
get_menu_items(
|
|
5187
|
+
options: {
|
|
5188
|
+
query: GetMenuItemsQuery;
|
|
5189
|
+
} & RequestOptions
|
|
5190
|
+
): ResponsePromise<GetMenuItemsResponse> {
|
|
5191
|
+
return this.request("menu", "get_menu_items", "get", `/menu/items`, null, options);
|
|
5192
|
+
}
|
|
5193
|
+
|
|
5194
|
+
/**
|
|
5195
|
+
* POST /menu/items/import/{location} - trigger import items
|
|
5196
|
+
*
|
|
5197
|
+
* @param location - Location ID
|
|
5198
|
+
* @param options - additional request options
|
|
5199
|
+
*/
|
|
5200
|
+
post_menu_import_items_canteen(
|
|
5201
|
+
location: string,
|
|
5202
|
+
options?: RequestOptions
|
|
5203
|
+
): ResponsePromise<PostMenuImportItemsCanteenResponse> {
|
|
5204
|
+
return this.request(
|
|
5205
|
+
"menu",
|
|
5206
|
+
"post_menu_import_items_canteen",
|
|
5207
|
+
"post",
|
|
5208
|
+
`/menu/items/import/${location}`,
|
|
5209
|
+
null,
|
|
5210
|
+
options
|
|
5211
|
+
);
|
|
5212
|
+
}
|
|
5213
|
+
|
|
5214
|
+
/**
|
|
5215
|
+
* GET /menu/items/location/{location} - Get all menu items for a location
|
|
5216
|
+
*
|
|
5217
|
+
* @param location - Location ID
|
|
5218
|
+
* @param options - additional request options
|
|
5219
|
+
*/
|
|
5220
|
+
get_menu_location_items(
|
|
5221
|
+
location: string,
|
|
5222
|
+
options?: RequestOptions
|
|
5223
|
+
): ResponsePromise<GetMenuLocationItemsResponse> {
|
|
5224
|
+
return this.request(
|
|
5225
|
+
"menu",
|
|
5226
|
+
"get_menu_location_items",
|
|
5227
|
+
"get",
|
|
5228
|
+
`/menu/items/location/${location}`,
|
|
5229
|
+
null,
|
|
5230
|
+
options
|
|
5231
|
+
);
|
|
5232
|
+
}
|
|
5233
|
+
|
|
5234
|
+
/**
|
|
5235
|
+
* GET /menu/item/random/location/{location} - Get a random item
|
|
5236
|
+
*
|
|
5237
|
+
* @param location - Location ID
|
|
5238
|
+
* @param options - additional request options
|
|
5239
|
+
*/
|
|
5240
|
+
get_menu_location_item_random(
|
|
5241
|
+
location: string,
|
|
5242
|
+
options?: {
|
|
5243
|
+
query?: GetMenuLocationItemRandomQuery;
|
|
5244
|
+
} & RequestOptions
|
|
5245
|
+
): ResponsePromise<GetMenuLocationItemRandomResponse> {
|
|
5246
|
+
return this.request(
|
|
5247
|
+
"menu",
|
|
5248
|
+
"get_menu_location_item_random",
|
|
5249
|
+
"get",
|
|
5250
|
+
`/menu/item/random/location/${location}`,
|
|
5251
|
+
null,
|
|
5252
|
+
options
|
|
5253
|
+
);
|
|
5254
|
+
}
|
|
5255
|
+
|
|
5256
|
+
/**
|
|
5257
|
+
* GET /menu/items/random/location/{location} - Get a set of random items
|
|
5258
|
+
*
|
|
5259
|
+
* @param location - Location ID
|
|
5260
|
+
* @param options - additional request options
|
|
5261
|
+
*/
|
|
5262
|
+
get_menu_location_items_random(
|
|
5263
|
+
location: string,
|
|
5264
|
+
options?: {
|
|
5265
|
+
query?: GetMenuLocationItemsRandomQuery;
|
|
5266
|
+
} & RequestOptions
|
|
5267
|
+
): ResponsePromise<GetMenuLocationItemsRandomResponse> {
|
|
5268
|
+
return this.request(
|
|
5269
|
+
"menu",
|
|
5270
|
+
"get_menu_location_items_random",
|
|
5271
|
+
"get",
|
|
5272
|
+
`/menu/items/random/location/${location}`,
|
|
5273
|
+
null,
|
|
5274
|
+
options
|
|
5275
|
+
);
|
|
5276
|
+
}
|
|
5277
|
+
|
|
5278
|
+
/**
|
|
5279
|
+
* GET /menu/sector/{sector} - Get menus that belong to sector
|
|
5280
|
+
*
|
|
5281
|
+
* @param sector - Sector ID
|
|
5282
|
+
* @param options - additional request options
|
|
5283
|
+
*/
|
|
5284
|
+
get_menu_sector_menus(
|
|
5285
|
+
sector: string,
|
|
5286
|
+
options?: RequestOptions
|
|
5287
|
+
): ResponsePromise<GetMenuSectorMenusResponse> {
|
|
5288
|
+
return this.request(
|
|
5289
|
+
"menu",
|
|
5290
|
+
"get_menu_sector_menus",
|
|
5291
|
+
"get",
|
|
5292
|
+
`/menu/sector/${sector}`,
|
|
5293
|
+
null,
|
|
5294
|
+
options
|
|
5295
|
+
);
|
|
5296
|
+
}
|
|
5297
|
+
|
|
5298
|
+
/**
|
|
5299
|
+
* GET /menu/company/{company} - Get menus that belong to company
|
|
5300
|
+
*
|
|
5301
|
+
* @param company - Company ID
|
|
5302
|
+
* @param options - additional request options
|
|
5303
|
+
*/
|
|
5304
|
+
get_menu_company_menus(
|
|
5305
|
+
company: string,
|
|
5306
|
+
options?: RequestOptions
|
|
5307
|
+
): ResponsePromise<GetMenuCompanyMenusResponse> {
|
|
5308
|
+
return this.request(
|
|
5309
|
+
"menu",
|
|
5310
|
+
"get_menu_company_menus",
|
|
5311
|
+
"get",
|
|
5312
|
+
`/menu/company/${company}`,
|
|
5313
|
+
null,
|
|
5314
|
+
options
|
|
5315
|
+
);
|
|
5316
|
+
}
|
|
5317
|
+
|
|
5318
|
+
/**
|
|
5319
|
+
* POST /menu/modifier/group - Create a new Menu Modifier Group
|
|
5320
|
+
*
|
|
5321
|
+
* @param body
|
|
5322
|
+
* @param options - additional request options
|
|
5323
|
+
*/
|
|
5324
|
+
post_menu_modifier_group(
|
|
5325
|
+
body: PostMenuModifierGroupBody,
|
|
5326
|
+
options?: RequestOptions
|
|
5327
|
+
): ResponsePromise<PostMenuModifierGroupResponse> {
|
|
5328
|
+
return this.request(
|
|
5329
|
+
"menu",
|
|
5330
|
+
"post_menu_modifier_group",
|
|
5331
|
+
"post",
|
|
5332
|
+
`/menu/modifier/group`,
|
|
5333
|
+
body,
|
|
5334
|
+
options
|
|
5335
|
+
);
|
|
5336
|
+
}
|
|
5337
|
+
|
|
5338
|
+
/**
|
|
5339
|
+
* GET /menu/modifier/group/{id} - Get a Menu Modifier Group
|
|
5340
|
+
*
|
|
5341
|
+
* @param id - modifier_group
|
|
5342
|
+
* @param options - additional request options
|
|
5343
|
+
*/
|
|
5344
|
+
get_menu_modifier_group(
|
|
5345
|
+
id: string,
|
|
5346
|
+
options?: RequestOptions
|
|
5347
|
+
): ResponsePromise<GetMenuModifierGroupResponse> {
|
|
5348
|
+
return this.request(
|
|
5349
|
+
"menu",
|
|
5350
|
+
"get_menu_modifier_group",
|
|
5351
|
+
"get",
|
|
5352
|
+
`/menu/modifier/group/${id}`,
|
|
5353
|
+
null,
|
|
5354
|
+
options
|
|
5355
|
+
);
|
|
5356
|
+
}
|
|
5357
|
+
|
|
5358
|
+
/**
|
|
5359
|
+
* PUT /menu/modifier/group/{id} - Update a Menu Modifier Group
|
|
5360
|
+
*
|
|
5361
|
+
* @param id - modifier_group
|
|
5362
|
+
* @param body
|
|
5363
|
+
* @param options - additional request options
|
|
5364
|
+
*/
|
|
5365
|
+
put_menu_modifier_group(
|
|
5366
|
+
id: string,
|
|
5367
|
+
body: PutMenuModifierGroupBody,
|
|
5368
|
+
options?: RequestOptions
|
|
5369
|
+
): ResponsePromise<PutMenuModifierGroupResponse> {
|
|
5370
|
+
return this.request(
|
|
5371
|
+
"menu",
|
|
5372
|
+
"put_menu_modifier_group",
|
|
5373
|
+
"put",
|
|
5374
|
+
`/menu/modifier/group/${id}`,
|
|
5375
|
+
body,
|
|
5376
|
+
options
|
|
5377
|
+
);
|
|
5378
|
+
}
|
|
5379
|
+
|
|
5380
|
+
/**
|
|
5381
|
+
* DELETE /menu/modifier/group/{id} - Delete a Menu Modifier Group
|
|
5382
|
+
*
|
|
5383
|
+
* @param id - modifier_group
|
|
5384
|
+
* @param options - additional request options
|
|
5385
|
+
*/
|
|
5386
|
+
delete_menu_modifier_group(
|
|
5387
|
+
id: string,
|
|
5388
|
+
options?: RequestOptions
|
|
5389
|
+
): ResponsePromise<DeleteMenuModifierGroupResponse> {
|
|
5390
|
+
return this.request(
|
|
5391
|
+
"menu",
|
|
5392
|
+
"delete_menu_modifier_group",
|
|
5393
|
+
"delete",
|
|
5394
|
+
`/menu/modifier/group/${id}`,
|
|
5395
|
+
null,
|
|
5396
|
+
options
|
|
5397
|
+
);
|
|
5398
|
+
}
|
|
5399
|
+
|
|
5400
|
+
/**
|
|
5401
|
+
* GET /menu/modifier/group/company/{company} - Get the modifier groups that belong to company
|
|
5402
|
+
*
|
|
5403
|
+
* @param company - Company ID
|
|
5404
|
+
* @param options - additional request options
|
|
5405
|
+
*/
|
|
5406
|
+
get_menu_company_modifier_groups(
|
|
5407
|
+
company: string,
|
|
5408
|
+
options?: RequestOptions
|
|
5409
|
+
): ResponsePromise<GetMenuCompanyModifierGroupsResponse> {
|
|
5410
|
+
return this.request(
|
|
5411
|
+
"menu",
|
|
5412
|
+
"get_menu_company_modifier_groups",
|
|
5413
|
+
"get",
|
|
5414
|
+
`/menu/modifier/group/company/${company}`,
|
|
5415
|
+
null,
|
|
5416
|
+
options
|
|
5417
|
+
);
|
|
5418
|
+
}
|
|
5419
|
+
|
|
5420
|
+
/**
|
|
5421
|
+
* GET /menu/modifier/group/company/{company}/export - Export company modifier groups to zipped excel file.
|
|
5422
|
+
*
|
|
5423
|
+
* @param company - Company ID
|
|
5424
|
+
* @param options - additional request options
|
|
5425
|
+
*/
|
|
5426
|
+
get_menu_company_modifier_groups_export(
|
|
5427
|
+
company: string,
|
|
5428
|
+
options?: RequestOptions
|
|
5429
|
+
): ResponsePromise<GetMenuCompanyModifierGroupsExportResponse> {
|
|
5430
|
+
return this.request(
|
|
5431
|
+
"menu",
|
|
5432
|
+
"get_menu_company_modifier_groups_export",
|
|
5433
|
+
"get",
|
|
5434
|
+
`/menu/modifier/group/company/${company}/export`,
|
|
5435
|
+
null,
|
|
5436
|
+
options
|
|
5437
|
+
);
|
|
5438
|
+
}
|
|
5439
|
+
|
|
5440
|
+
/**
|
|
5441
|
+
* GET /menu/{id}/export - Export menu set to zipped excel file.
|
|
5442
|
+
*
|
|
5443
|
+
* @param id - menu; TODO: cannot use compassdigital.id as path parameter
|
|
5444
|
+
* @param options - additional request options
|
|
5445
|
+
*/
|
|
5446
|
+
get_menu_export(id: string, options?: RequestOptions): ResponsePromise<GetMenuExportResponse> {
|
|
5447
|
+
return this.request("menu", "get_menu_export", "get", `/menu/${id}/export`, null, options);
|
|
5448
|
+
}
|
|
4894
5449
|
}
|