@compassdigital/sdk.typescript 3.38.0 → 3.39.0
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/lib/index.d.ts +176 -72
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/interface/announcement.d.ts +6 -1
- package/lib/interface/announcement.d.ts.map +1 -1
- package/lib/interface/calendar.d.ts +6 -1
- package/lib/interface/calendar.d.ts.map +1 -1
- package/lib/interface/compassconnect.d.ts +1 -0
- package/lib/interface/compassconnect.d.ts.map +1 -1
- package/lib/interface/config.d.ts +13 -4
- package/lib/interface/config.d.ts.map +1 -1
- package/lib/interface/datalake.d.ts +5 -2
- package/lib/interface/datalake.d.ts.map +1 -1
- package/lib/interface/kds.d.ts +5 -1
- package/lib/interface/kds.d.ts.map +1 -1
- package/lib/interface/location.d.ts +40 -6
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/loyalty.d.ts +31 -6
- package/lib/interface/loyalty.d.ts.map +1 -1
- package/lib/interface/mealplan.d.ts +8 -2
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +39 -8
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/notification.d.ts +5 -1
- package/lib/interface/notification.d.ts.map +1 -1
- package/lib/interface/order.d.ts +13 -2
- package/lib/interface/order.d.ts.map +1 -1
- package/lib/interface/partner.d.ts +21 -6
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/payment.d.ts +13 -2
- package/lib/interface/payment.d.ts.map +1 -1
- package/lib/interface/permission.d.ts +6 -1
- package/lib/interface/permission.d.ts.map +1 -1
- package/lib/interface/promo.d.ts +7 -1
- package/lib/interface/promo.d.ts.map +1 -1
- package/lib/interface/report.d.ts +7 -1
- package/lib/interface/report.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +5 -2
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/lib/interface/task.d.ts +15 -3
- package/lib/interface/task.d.ts.map +1 -1
- package/lib/interface/user.d.ts +14 -2
- package/lib/interface/user.d.ts.map +1 -1
- package/lib/interface/vendor.d.ts +18 -4
- package/lib/interface/vendor.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +258 -52
- package/src/interface/announcement.ts +13 -1
- package/src/interface/calendar.ts +12 -1
- package/src/interface/compassconnect.ts +2 -0
- package/src/interface/config.ts +26 -3
- package/src/interface/datalake.ts +6 -1
- package/src/interface/kds.ts +8 -1
- package/src/interface/location.ts +73 -3
- package/src/interface/loyalty.ts +65 -5
- package/src/interface/mealplan.ts +18 -2
- package/src/interface/menu.ts +81 -7
- package/src/interface/notification.ts +10 -1
- package/src/interface/order.ts +22 -1
- package/src/interface/partner.ts +41 -5
- package/src/interface/payment.ts +28 -2
- package/src/interface/permission.ts +13 -1
- package/src/interface/promo.ts +14 -1
- package/src/interface/report.ts +12 -0
- package/src/interface/shoppingcart.ts +9 -1
- package/src/interface/task.ts +30 -3
- package/src/interface/user.ts +27 -2
- package/src/interface/vendor.ts +34 -4
package/src/index.ts
CHANGED
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
PostPaymentTransactionResponse,
|
|
6
6
|
PostPaymentTransactionRefundBody,
|
|
7
7
|
PostPaymentTransactionRefundResponse,
|
|
8
|
+
GetPaymentClienttokenQuery,
|
|
8
9
|
GetPaymentClienttokenResponse,
|
|
9
10
|
PostPaymentPaymenttokenBody,
|
|
10
11
|
PostPaymentPaymenttokenResponse,
|
|
@@ -30,6 +31,7 @@ import {
|
|
|
30
31
|
GetPaymentHpcResponse,
|
|
31
32
|
GetPaymentHcaptchaVerifyQuery,
|
|
32
33
|
GetPaymentHcaptchaVerifyResponse,
|
|
34
|
+
GetPaymentBadgepayQuery,
|
|
33
35
|
GetPaymentBadgepayResponse,
|
|
34
36
|
PostPaymentBadgepayBody,
|
|
35
37
|
PostPaymentBadgepayResponse,
|
|
@@ -41,6 +43,7 @@ import {
|
|
|
41
43
|
PostOrderQuery,
|
|
42
44
|
PostOrderBody,
|
|
43
45
|
PostOrderResponse,
|
|
46
|
+
GetOrderQuery,
|
|
44
47
|
GetOrderResponse,
|
|
45
48
|
PutOrderResponse,
|
|
46
49
|
PatchOrderBody,
|
|
@@ -51,6 +54,7 @@ import {
|
|
|
51
54
|
PatchOrderRefundResponse,
|
|
52
55
|
GetOrderCustomerOrdersQuery,
|
|
53
56
|
GetOrderCustomerOrdersResponse,
|
|
57
|
+
GetOrderCustomerOrdersBrandQuery,
|
|
54
58
|
GetOrderCustomerOrdersBrandResponse,
|
|
55
59
|
GetOrderLocationBrandQuery,
|
|
56
60
|
GetOrderLocationBrandResponse,
|
|
@@ -68,6 +72,7 @@ import {
|
|
|
68
72
|
import {
|
|
69
73
|
PostLocationBody,
|
|
70
74
|
PostLocationResponse,
|
|
75
|
+
GetLocationsQuery,
|
|
71
76
|
GetLocationsResponse,
|
|
72
77
|
GetLocationSearchQuery,
|
|
73
78
|
GetLocationSearchResponse,
|
|
@@ -79,6 +84,7 @@ import {
|
|
|
79
84
|
DeleteLocationResponse,
|
|
80
85
|
PatchLocationBody,
|
|
81
86
|
PatchLocationResponse,
|
|
87
|
+
GetLocationPosQuery,
|
|
82
88
|
GetLocationPosResponse,
|
|
83
89
|
PutLocationPosBody,
|
|
84
90
|
PutLocationPosResponse,
|
|
@@ -114,15 +120,19 @@ import {
|
|
|
114
120
|
PatchLocationGroupDeliverydestinationResponse,
|
|
115
121
|
DeleteLocationGroupDeliverydestinationBody,
|
|
116
122
|
DeleteLocationGroupDeliverydestinationResponse,
|
|
123
|
+
GetLocationGroupDeliverydestinationQuery,
|
|
117
124
|
GetLocationGroupDeliverydestinationResponse,
|
|
118
125
|
GetLocationUserGroupQuery,
|
|
119
126
|
GetLocationUserGroupResponse,
|
|
127
|
+
GetLocationBrandsQuery,
|
|
120
128
|
GetLocationBrandsResponse,
|
|
129
|
+
GetLocationBrandDestinationsQuery,
|
|
121
130
|
GetLocationBrandDestinationsResponse,
|
|
122
131
|
PostLocationBrandDocumentBody,
|
|
123
132
|
PostLocationBrandDocumentResponse,
|
|
124
133
|
PatchLocationBrandDocumentResponse,
|
|
125
134
|
DeleteLocationBrandDocumentResponse,
|
|
135
|
+
GetLocationBrandDocumentsQuery,
|
|
126
136
|
GetLocationBrandDocumentsResponse,
|
|
127
137
|
GetLocationBrandTimeslotsQuery,
|
|
128
138
|
GetLocationBrandTimeslotsResponse,
|
|
@@ -174,6 +184,7 @@ import {
|
|
|
174
184
|
PutShoppingcartCartItemsResponse,
|
|
175
185
|
DeleteShoppingcartCartItemsBody,
|
|
176
186
|
DeleteShoppingcartCartItemsResponse,
|
|
187
|
+
GetShoppingcartCartQuery,
|
|
177
188
|
GetShoppingcartCartResponse,
|
|
178
189
|
PatchShoppingcartCartBody,
|
|
179
190
|
PatchShoppingcartCartResponse,
|
|
@@ -194,12 +205,17 @@ import {
|
|
|
194
205
|
import {
|
|
195
206
|
PostPartnerStandardcognitionShoppingcartBody,
|
|
196
207
|
PostPartnerStandardcognitionShoppingcartResponse,
|
|
208
|
+
GetPartnerStandardcognitionLocationsQuery,
|
|
197
209
|
GetPartnerStandardcognitionLocationsResponse,
|
|
210
|
+
GetPartnerStandardcognitionStoresQuery,
|
|
198
211
|
GetPartnerStandardcognitionStoresResponse,
|
|
199
212
|
PostPartnerStandardcognitionMenuBody,
|
|
200
213
|
PostPartnerStandardcognitionMenuResponse,
|
|
214
|
+
GetPartnerCoolrLocationsQuery,
|
|
201
215
|
GetPartnerCoolrLocationsResponse,
|
|
216
|
+
GetPartnerCoolrImagesQuery,
|
|
202
217
|
GetPartnerCoolrImagesResponse,
|
|
218
|
+
GetPartnerSwaggerQuery,
|
|
203
219
|
GetPartnerSwaggerResponse,
|
|
204
220
|
} from "./interface/partner";
|
|
205
221
|
|
|
@@ -208,11 +224,14 @@ import { PostEmailBody, PostEmailResponse } from "./interface/email";
|
|
|
208
224
|
import {
|
|
209
225
|
PostTaskBody,
|
|
210
226
|
PostTaskResponse,
|
|
227
|
+
GetTaskQuery,
|
|
211
228
|
GetTaskResponse,
|
|
212
229
|
PatchTaskBody,
|
|
213
230
|
PatchTaskResponse,
|
|
214
231
|
DeleteTaskResponse,
|
|
232
|
+
GetTaskOrderQuery,
|
|
215
233
|
GetTaskOrderResponse,
|
|
234
|
+
GetTaskOrderKdsQuery,
|
|
216
235
|
GetTaskOrderKdsResponse,
|
|
217
236
|
PatchTaskOrderKdsBody,
|
|
218
237
|
PatchTaskOrderKdsResponse,
|
|
@@ -233,6 +252,7 @@ import {
|
|
|
233
252
|
PatchKdsDeviceInfoBody,
|
|
234
253
|
PatchKdsDeviceInfoResponse,
|
|
235
254
|
DeleteKdsDeviceInfoResponse,
|
|
255
|
+
GetKdsSwaggerQuery,
|
|
236
256
|
GetKdsSwaggerResponse,
|
|
237
257
|
} from "./interface/kds";
|
|
238
258
|
|
|
@@ -241,10 +261,12 @@ import {
|
|
|
241
261
|
PostMealplanResponse,
|
|
242
262
|
PutMealplanBody,
|
|
243
263
|
PutMealplanResponse,
|
|
264
|
+
GetMealplanQuery,
|
|
244
265
|
GetMealplanResponse,
|
|
245
266
|
DeleteMealplanBody,
|
|
246
267
|
DeleteMealplanResponse,
|
|
247
268
|
PostMealplanCallbackResponse,
|
|
269
|
+
GetMealplanTenderQuery,
|
|
248
270
|
GetMealplanTenderResponse,
|
|
249
271
|
DeleteMealplanTenderResponse,
|
|
250
272
|
PatchMealplanTenderBody,
|
|
@@ -261,6 +283,7 @@ import {
|
|
|
261
283
|
import {
|
|
262
284
|
PostDatalakeSqlBody,
|
|
263
285
|
PostDatalakeSqlResponse,
|
|
286
|
+
GetSwaggerQuery,
|
|
264
287
|
GetSwaggerResponse,
|
|
265
288
|
} from "./interface/datalake";
|
|
266
289
|
|
|
@@ -294,17 +317,21 @@ import {
|
|
|
294
317
|
PostPromoVoucherReverseResponse,
|
|
295
318
|
PostPromoVoucherifyActivityExecuteBody,
|
|
296
319
|
PostPromoVoucherifyActivityExecuteResponse,
|
|
320
|
+
GetPromoVoucherifyActivityConfigQuery,
|
|
297
321
|
GetPromoVoucherifyActivityConfigResponse,
|
|
298
322
|
} from "./interface/promo";
|
|
299
323
|
|
|
300
324
|
import {
|
|
325
|
+
GetConfigAppconfigQuery,
|
|
301
326
|
GetConfigAppconfigResponse,
|
|
327
|
+
GetConfigQuery,
|
|
302
328
|
GetConfigResponse,
|
|
303
329
|
PostConfigBody,
|
|
304
330
|
PostConfigResponse,
|
|
305
331
|
PutConfigBody,
|
|
306
332
|
PutConfigResponse,
|
|
307
333
|
DeleteConfigResponse,
|
|
334
|
+
GetConfigPublicQuery,
|
|
308
335
|
GetConfigPublicResponse,
|
|
309
336
|
PostConfigPublicBody,
|
|
310
337
|
PostConfigPublicResponse,
|
|
@@ -320,6 +347,7 @@ import {
|
|
|
320
347
|
GetAnnouncementResourceResponse,
|
|
321
348
|
GetAnnouncementResourcesQuery,
|
|
322
349
|
GetAnnouncementResourcesResponse,
|
|
350
|
+
GetAnnouncementQuery,
|
|
323
351
|
GetAnnouncementResponse,
|
|
324
352
|
PutAnnouncementBody,
|
|
325
353
|
PutAnnouncementResponse,
|
|
@@ -333,6 +361,7 @@ import {
|
|
|
333
361
|
GetReportAnalyticsCombinedGroupResponse,
|
|
334
362
|
GetReportEodGroupQuery,
|
|
335
363
|
GetReportEodGroupResponse,
|
|
364
|
+
GetReportEodGroupSubscribersQuery,
|
|
336
365
|
GetReportEodGroupSubscribersResponse,
|
|
337
366
|
PostReportEodGroupSubscribersBody,
|
|
338
367
|
PostReportEodGroupSubscribersResponse,
|
|
@@ -346,6 +375,7 @@ import {
|
|
|
346
375
|
GetUserAuthResponse,
|
|
347
376
|
PostUserAuthBody,
|
|
348
377
|
PostUserAuthResponse,
|
|
378
|
+
GetUserZendeskQuery,
|
|
349
379
|
GetUserZendeskResponse,
|
|
350
380
|
PostUserQuery,
|
|
351
381
|
PostUserBody,
|
|
@@ -371,6 +401,7 @@ import {
|
|
|
371
401
|
DeleteUserLogoutResponse,
|
|
372
402
|
PostUserAddSecretBody,
|
|
373
403
|
PostUserAddSecretResponse,
|
|
404
|
+
GetUserSecretQuery,
|
|
374
405
|
GetUserSecretResponse,
|
|
375
406
|
PostUserResetPasswordQuery,
|
|
376
407
|
PostUserResetPasswordBody,
|
|
@@ -413,6 +444,7 @@ import {
|
|
|
413
444
|
DeleteCalendarResponse,
|
|
414
445
|
GetCalendarCdlQuery,
|
|
415
446
|
GetCalendarCdlResponse,
|
|
447
|
+
GetCalendarSwaggerQuery,
|
|
416
448
|
GetCalendarSwaggerResponse,
|
|
417
449
|
PostCalendarSyncResponse,
|
|
418
450
|
} from "./interface/calendar";
|
|
@@ -425,6 +457,7 @@ import {
|
|
|
425
457
|
} from "./interface/file";
|
|
426
458
|
|
|
427
459
|
import {
|
|
460
|
+
GetMenuClientQuery,
|
|
428
461
|
GetMenuClientResponse,
|
|
429
462
|
GetMenusQuery,
|
|
430
463
|
GetMenusResponse,
|
|
@@ -452,21 +485,28 @@ import {
|
|
|
452
485
|
GetMenuItemsQuery,
|
|
453
486
|
GetMenuItemsResponse,
|
|
454
487
|
PostMenuImportItemsCanteenResponse,
|
|
488
|
+
GetMenuLocationItemsQuery,
|
|
455
489
|
GetMenuLocationItemsResponse,
|
|
456
490
|
GetMenuLocationItemRandomQuery,
|
|
457
491
|
GetMenuLocationItemRandomResponse,
|
|
458
492
|
GetMenuLocationItemsRandomQuery,
|
|
459
493
|
GetMenuLocationItemsRandomResponse,
|
|
494
|
+
GetMenuSectorMenusQuery,
|
|
460
495
|
GetMenuSectorMenusResponse,
|
|
496
|
+
GetMenuCompanyMenusQuery,
|
|
461
497
|
GetMenuCompanyMenusResponse,
|
|
462
498
|
PostMenuModifierGroupBody,
|
|
463
499
|
PostMenuModifierGroupResponse,
|
|
500
|
+
GetMenuModifierGroupQuery,
|
|
464
501
|
GetMenuModifierGroupResponse,
|
|
465
502
|
PutMenuModifierGroupBody,
|
|
466
503
|
PutMenuModifierGroupResponse,
|
|
467
504
|
DeleteMenuModifierGroupResponse,
|
|
505
|
+
GetMenuCompanyModifierGroupsQuery,
|
|
468
506
|
GetMenuCompanyModifierGroupsResponse,
|
|
507
|
+
GetMenuCompanyModifierGroupsExportQuery,
|
|
469
508
|
GetMenuCompanyModifierGroupsExportResponse,
|
|
509
|
+
GetMenuExportQuery,
|
|
470
510
|
GetMenuExportResponse,
|
|
471
511
|
GetMenuPartialGroupsQuery,
|
|
472
512
|
GetMenuPartialGroupsResponse,
|
|
@@ -487,6 +527,7 @@ import {
|
|
|
487
527
|
DeleteNotificationResponse,
|
|
488
528
|
PostNotificationStatusBody,
|
|
489
529
|
PostNotificationStatusResponse,
|
|
530
|
+
GetNotificationSwaggerQuery,
|
|
490
531
|
GetNotificationSwaggerResponse,
|
|
491
532
|
} from "./interface/notification";
|
|
492
533
|
|
|
@@ -504,13 +545,17 @@ import {
|
|
|
504
545
|
PatchVendorApplicationResponse,
|
|
505
546
|
PostVendorBody,
|
|
506
547
|
PostVendorResponse,
|
|
548
|
+
GetVendorsQuery,
|
|
507
549
|
GetVendorsResponse,
|
|
550
|
+
GetVendorQuery,
|
|
508
551
|
GetVendorResponse,
|
|
509
552
|
PatchVendorBody,
|
|
510
553
|
PatchVendorResponse,
|
|
554
|
+
GetVendorAuthQuery,
|
|
511
555
|
GetVendorAuthResponse,
|
|
512
556
|
PostVendorAuthBody,
|
|
513
557
|
PostVendorAuthResponse,
|
|
558
|
+
GetVendorKeysQuery,
|
|
514
559
|
GetVendorKeysResponse,
|
|
515
560
|
PostVendorKeyBody,
|
|
516
561
|
PostVendorKeyResponse,
|
|
@@ -537,6 +582,7 @@ import {
|
|
|
537
582
|
PatchPermissionRoleResponse,
|
|
538
583
|
GetPermissionRecipientQuery,
|
|
539
584
|
GetPermissionRecipientResponse,
|
|
585
|
+
GetPermissionRoleUserQuery,
|
|
540
586
|
GetPermissionRoleUserResponse,
|
|
541
587
|
PostPermissionRoleUserBody,
|
|
542
588
|
PostPermissionRoleUserResponse,
|
|
@@ -549,14 +595,19 @@ import {
|
|
|
549
595
|
PostLoyaltyEnrollResponse,
|
|
550
596
|
GetLoyaltyPointsQuery,
|
|
551
597
|
GetLoyaltyPointsResponse,
|
|
598
|
+
GetLoyaltyOffersQuery,
|
|
552
599
|
GetLoyaltyOffersResponse,
|
|
600
|
+
GetLoyaltyEnrollmentstatusQuery,
|
|
553
601
|
GetLoyaltyEnrollmentstatusResponse,
|
|
602
|
+
GetLoyaltyBalanceQuery,
|
|
554
603
|
GetLoyaltyBalanceResponse,
|
|
555
604
|
GetLoyaltyOpportunitiesQuery,
|
|
556
605
|
GetLoyaltyOpportunitiesResponse,
|
|
557
606
|
PostLoyaltyOpportunitiesQuery,
|
|
558
607
|
PostLoyaltyOpportunitiesResponse,
|
|
608
|
+
GetLoyaltyRewardsQuery,
|
|
559
609
|
GetLoyaltyRewardsResponse,
|
|
610
|
+
GetLoyaltyCouponsQuery,
|
|
560
611
|
GetLoyaltyCouponsResponse,
|
|
561
612
|
GetLoyaltyOrderpointsQuery,
|
|
562
613
|
GetLoyaltyOrderpointsResponse,
|
|
@@ -570,6 +621,7 @@ import {
|
|
|
570
621
|
PostLoyaltyBuyrewardResponse,
|
|
571
622
|
GetLoyaltyHistoryQuery,
|
|
572
623
|
GetLoyaltyHistoryResponse,
|
|
624
|
+
GetLoyaltyCouponQuery,
|
|
573
625
|
GetLoyaltyCouponResponse,
|
|
574
626
|
PatchLoyaltyCouponBody,
|
|
575
627
|
PatchLoyaltyCouponResponse,
|
|
@@ -639,7 +691,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
639
691
|
*/
|
|
640
692
|
get_payment_clienttoken(
|
|
641
693
|
id: string,
|
|
642
|
-
options?:
|
|
694
|
+
options?: {
|
|
695
|
+
query?: GetPaymentClienttokenQuery;
|
|
696
|
+
} & RequestOptions
|
|
643
697
|
): ResponsePromise<GetPaymentClienttokenResponse> {
|
|
644
698
|
return this.request(
|
|
645
699
|
"payment",
|
|
@@ -865,7 +919,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
865
919
|
*/
|
|
866
920
|
get_payment_badgepay(
|
|
867
921
|
id: string,
|
|
868
|
-
options?:
|
|
922
|
+
options?: {
|
|
923
|
+
query?: GetPaymentBadgepayQuery;
|
|
924
|
+
} & RequestOptions
|
|
869
925
|
): ResponsePromise<GetPaymentBadgepayResponse> {
|
|
870
926
|
return this.request(
|
|
871
927
|
"payment",
|
|
@@ -942,7 +998,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
942
998
|
* @param id - The order ID
|
|
943
999
|
* @param options - additional request options
|
|
944
1000
|
*/
|
|
945
|
-
get_order(
|
|
1001
|
+
get_order(
|
|
1002
|
+
id: string,
|
|
1003
|
+
options?: {
|
|
1004
|
+
query?: GetOrderQuery;
|
|
1005
|
+
} & RequestOptions
|
|
1006
|
+
): ResponsePromise<GetOrderResponse> {
|
|
946
1007
|
return this.request("order", "get_order", "get", `/order/${id}`, null, options);
|
|
947
1008
|
}
|
|
948
1009
|
|
|
@@ -1040,7 +1101,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1040
1101
|
get_order_customer_orders_brand(
|
|
1041
1102
|
id: string,
|
|
1042
1103
|
location_brand: string,
|
|
1043
|
-
options?:
|
|
1104
|
+
options?: {
|
|
1105
|
+
query?: GetOrderCustomerOrdersBrandQuery;
|
|
1106
|
+
} & RequestOptions
|
|
1044
1107
|
): ResponsePromise<GetOrderCustomerOrdersBrandResponse> {
|
|
1045
1108
|
return this.request(
|
|
1046
1109
|
"order",
|
|
@@ -1191,7 +1254,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1191
1254
|
*
|
|
1192
1255
|
* @param options - additional request options
|
|
1193
1256
|
*/
|
|
1194
|
-
get_locations(
|
|
1257
|
+
get_locations(
|
|
1258
|
+
options?: {
|
|
1259
|
+
query?: GetLocationsQuery;
|
|
1260
|
+
} & RequestOptions
|
|
1261
|
+
): ResponsePromise<GetLocationsResponse> {
|
|
1195
1262
|
return this.request("location", "get_locations", "get", `/location`, null, options);
|
|
1196
1263
|
}
|
|
1197
1264
|
|
|
@@ -1281,7 +1348,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1281
1348
|
* @param id - POS ID
|
|
1282
1349
|
* @param options - additional request options
|
|
1283
1350
|
*/
|
|
1284
|
-
get_location_pos(
|
|
1351
|
+
get_location_pos(
|
|
1352
|
+
id: string,
|
|
1353
|
+
options?: {
|
|
1354
|
+
query?: GetLocationPosQuery;
|
|
1355
|
+
} & RequestOptions
|
|
1356
|
+
): ResponsePromise<GetLocationPosResponse> {
|
|
1285
1357
|
return this.request(
|
|
1286
1358
|
"location",
|
|
1287
1359
|
"get_location_pos",
|
|
@@ -1672,7 +1744,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1672
1744
|
get_location_group_deliverydestination(
|
|
1673
1745
|
id: string,
|
|
1674
1746
|
delivery_destination: string,
|
|
1675
|
-
options?:
|
|
1747
|
+
options?: {
|
|
1748
|
+
query?: GetLocationGroupDeliverydestinationQuery;
|
|
1749
|
+
} & RequestOptions
|
|
1676
1750
|
): ResponsePromise<GetLocationGroupDeliverydestinationResponse> {
|
|
1677
1751
|
return this.request(
|
|
1678
1752
|
"location",
|
|
@@ -1713,7 +1787,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1713
1787
|
*
|
|
1714
1788
|
* @param options - additional request options
|
|
1715
1789
|
*/
|
|
1716
|
-
get_location_brands(
|
|
1790
|
+
get_location_brands(
|
|
1791
|
+
options?: {
|
|
1792
|
+
query?: GetLocationBrandsQuery;
|
|
1793
|
+
} & RequestOptions
|
|
1794
|
+
): ResponsePromise<GetLocationBrandsResponse> {
|
|
1717
1795
|
return this.request(
|
|
1718
1796
|
"location",
|
|
1719
1797
|
"get_location_brands",
|
|
@@ -1732,7 +1810,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1732
1810
|
*/
|
|
1733
1811
|
get_location_brand_destinations(
|
|
1734
1812
|
id: string,
|
|
1735
|
-
options?:
|
|
1813
|
+
options?: {
|
|
1814
|
+
query?: GetLocationBrandDestinationsQuery;
|
|
1815
|
+
} & RequestOptions
|
|
1736
1816
|
): ResponsePromise<GetLocationBrandDestinationsResponse> {
|
|
1737
1817
|
return this.request(
|
|
1738
1818
|
"location",
|
|
@@ -1814,7 +1894,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1814
1894
|
*/
|
|
1815
1895
|
get_location_brand_documents(
|
|
1816
1896
|
id: string,
|
|
1817
|
-
options?:
|
|
1897
|
+
options?: {
|
|
1898
|
+
query?: GetLocationBrandDocumentsQuery;
|
|
1899
|
+
} & RequestOptions
|
|
1818
1900
|
): ResponsePromise<GetLocationBrandDocumentsResponse> {
|
|
1819
1901
|
return this.request(
|
|
1820
1902
|
"location",
|
|
@@ -2314,7 +2396,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2314
2396
|
*/
|
|
2315
2397
|
get_shoppingcart_cart(
|
|
2316
2398
|
id: string,
|
|
2317
|
-
options?:
|
|
2399
|
+
options?: {
|
|
2400
|
+
query?: GetShoppingcartCartQuery;
|
|
2401
|
+
} & RequestOptions
|
|
2318
2402
|
): ResponsePromise<GetShoppingcartCartResponse> {
|
|
2319
2403
|
return this.request(
|
|
2320
2404
|
"shoppingcart",
|
|
@@ -2522,7 +2606,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2522
2606
|
* @param options - additional request options
|
|
2523
2607
|
*/
|
|
2524
2608
|
get_partner_standardcognition_locations(
|
|
2525
|
-
options?:
|
|
2609
|
+
options?: {
|
|
2610
|
+
query?: GetPartnerStandardcognitionLocationsQuery;
|
|
2611
|
+
} & RequestOptions
|
|
2526
2612
|
): ResponsePromise<GetPartnerStandardcognitionLocationsResponse> {
|
|
2527
2613
|
return this.request(
|
|
2528
2614
|
"partner",
|
|
@@ -2540,7 +2626,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2540
2626
|
* @param options - additional request options
|
|
2541
2627
|
*/
|
|
2542
2628
|
get_partner_standardcognition_stores(
|
|
2543
|
-
options?:
|
|
2629
|
+
options?: {
|
|
2630
|
+
query?: GetPartnerStandardcognitionStoresQuery;
|
|
2631
|
+
} & RequestOptions
|
|
2544
2632
|
): ResponsePromise<GetPartnerStandardcognitionStoresResponse> {
|
|
2545
2633
|
return this.request(
|
|
2546
2634
|
"partner",
|
|
@@ -2578,7 +2666,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2578
2666
|
* @param options - additional request options
|
|
2579
2667
|
*/
|
|
2580
2668
|
get_partner_coolr_locations(
|
|
2581
|
-
options?:
|
|
2669
|
+
options?: {
|
|
2670
|
+
query?: GetPartnerCoolrLocationsQuery;
|
|
2671
|
+
} & RequestOptions
|
|
2582
2672
|
): ResponsePromise<GetPartnerCoolrLocationsResponse> {
|
|
2583
2673
|
return this.request(
|
|
2584
2674
|
"partner",
|
|
@@ -2598,7 +2688,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2598
2688
|
*/
|
|
2599
2689
|
get_partner_coolr_images(
|
|
2600
2690
|
id: string,
|
|
2601
|
-
options?:
|
|
2691
|
+
options?: {
|
|
2692
|
+
query?: GetPartnerCoolrImagesQuery;
|
|
2693
|
+
} & RequestOptions
|
|
2602
2694
|
): ResponsePromise<GetPartnerCoolrImagesResponse> {
|
|
2603
2695
|
return this.request(
|
|
2604
2696
|
"partner",
|
|
@@ -2615,7 +2707,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2615
2707
|
*
|
|
2616
2708
|
* @param options - additional request options
|
|
2617
2709
|
*/
|
|
2618
|
-
get_partner_swagger(
|
|
2710
|
+
get_partner_swagger(
|
|
2711
|
+
options?: {
|
|
2712
|
+
query?: GetPartnerSwaggerQuery;
|
|
2713
|
+
} & RequestOptions
|
|
2714
|
+
): ResponsePromise<GetPartnerSwaggerResponse> {
|
|
2619
2715
|
return this.request(
|
|
2620
2716
|
"partner",
|
|
2621
2717
|
"get_partner_swagger",
|
|
@@ -2652,7 +2748,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2652
2748
|
* @param id - Task ID
|
|
2653
2749
|
* @param options - additional request options
|
|
2654
2750
|
*/
|
|
2655
|
-
get_task(
|
|
2751
|
+
get_task(
|
|
2752
|
+
id: string,
|
|
2753
|
+
options?: {
|
|
2754
|
+
query?: GetTaskQuery;
|
|
2755
|
+
} & RequestOptions
|
|
2756
|
+
): ResponsePromise<GetTaskResponse> {
|
|
2656
2757
|
return this.request("task", "get_task", "get", `/task/${id}`, null, options);
|
|
2657
2758
|
}
|
|
2658
2759
|
|
|
@@ -2687,7 +2788,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2687
2788
|
* @param id - Order ID
|
|
2688
2789
|
* @param options - additional request options
|
|
2689
2790
|
*/
|
|
2690
|
-
get_task_order(
|
|
2791
|
+
get_task_order(
|
|
2792
|
+
id: string,
|
|
2793
|
+
options?: {
|
|
2794
|
+
query?: GetTaskOrderQuery;
|
|
2795
|
+
} & RequestOptions
|
|
2796
|
+
): ResponsePromise<GetTaskOrderResponse> {
|
|
2691
2797
|
return this.request("task", "get_task_order", "get", `/task/order/${id}`, null, options);
|
|
2692
2798
|
}
|
|
2693
2799
|
|
|
@@ -2699,7 +2805,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2699
2805
|
*/
|
|
2700
2806
|
get_task_order_kds(
|
|
2701
2807
|
id: string,
|
|
2702
|
-
options?:
|
|
2808
|
+
options?: {
|
|
2809
|
+
query?: GetTaskOrderKdsQuery;
|
|
2810
|
+
} & RequestOptions
|
|
2703
2811
|
): ResponsePromise<GetTaskOrderKdsResponse> {
|
|
2704
2812
|
return this.request(
|
|
2705
2813
|
"task",
|
|
@@ -2885,7 +2993,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2885
2993
|
*
|
|
2886
2994
|
* @param options - additional request options
|
|
2887
2995
|
*/
|
|
2888
|
-
get_kds_swagger(
|
|
2996
|
+
get_kds_swagger(
|
|
2997
|
+
options?: {
|
|
2998
|
+
query?: GetKdsSwaggerQuery;
|
|
2999
|
+
} & RequestOptions
|
|
3000
|
+
): ResponsePromise<GetKdsSwaggerResponse> {
|
|
2889
3001
|
return this.request("kds", "get_kds_swagger", "get", `/kds/swagger.json`, null, options);
|
|
2890
3002
|
}
|
|
2891
3003
|
|
|
@@ -2925,7 +3037,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2925
3037
|
* @param id - Meal plan ID
|
|
2926
3038
|
* @param options - additional request options
|
|
2927
3039
|
*/
|
|
2928
|
-
get_mealplan(
|
|
3040
|
+
get_mealplan(
|
|
3041
|
+
id: string,
|
|
3042
|
+
options?: {
|
|
3043
|
+
query?: GetMealplanQuery;
|
|
3044
|
+
} & RequestOptions
|
|
3045
|
+
): ResponsePromise<GetMealplanResponse> {
|
|
2929
3046
|
return this.request("mealplan", "get_mealplan", "get", `/mealplan/${id}`, null, options);
|
|
2930
3047
|
}
|
|
2931
3048
|
|
|
@@ -2974,7 +3091,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2974
3091
|
get_mealplan_tender(
|
|
2975
3092
|
id: string,
|
|
2976
3093
|
tender: string,
|
|
2977
|
-
options?:
|
|
3094
|
+
options?: {
|
|
3095
|
+
query?: GetMealplanTenderQuery;
|
|
3096
|
+
} & RequestOptions
|
|
2978
3097
|
): ResponsePromise<GetMealplanTenderResponse> {
|
|
2979
3098
|
return this.request(
|
|
2980
3099
|
"mealplan",
|
|
@@ -3118,7 +3237,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3118
3237
|
*
|
|
3119
3238
|
* @param options - additional request options
|
|
3120
3239
|
*/
|
|
3121
|
-
get_swagger(
|
|
3240
|
+
get_swagger(
|
|
3241
|
+
options?: {
|
|
3242
|
+
query?: GetSwaggerQuery;
|
|
3243
|
+
} & RequestOptions
|
|
3244
|
+
): ResponsePromise<GetSwaggerResponse> {
|
|
3122
3245
|
return this.request("datalake", "get_swagger", "get", `/swagger.json`, null, options);
|
|
3123
3246
|
}
|
|
3124
3247
|
|
|
@@ -3380,7 +3503,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3380
3503
|
* @param options - additional request options
|
|
3381
3504
|
*/
|
|
3382
3505
|
get_promo_voucherify_activity_config(
|
|
3383
|
-
options?:
|
|
3506
|
+
options?: {
|
|
3507
|
+
query?: GetPromoVoucherifyActivityConfigQuery;
|
|
3508
|
+
} & RequestOptions
|
|
3384
3509
|
): ResponsePromise<GetPromoVoucherifyActivityConfigResponse> {
|
|
3385
3510
|
return this.request(
|
|
3386
3511
|
"promo",
|
|
@@ -3397,7 +3522,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3397
3522
|
*
|
|
3398
3523
|
* @param options - additional request options
|
|
3399
3524
|
*/
|
|
3400
|
-
get_config_appconfig(
|
|
3525
|
+
get_config_appconfig(
|
|
3526
|
+
options?: {
|
|
3527
|
+
query?: GetConfigAppconfigQuery;
|
|
3528
|
+
} & RequestOptions
|
|
3529
|
+
): ResponsePromise<GetConfigAppconfigResponse> {
|
|
3401
3530
|
return this.request(
|
|
3402
3531
|
"config",
|
|
3403
3532
|
"get_config_appconfig",
|
|
@@ -3414,7 +3543,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3414
3543
|
* @param key - configuration key
|
|
3415
3544
|
* @param options - additional request options
|
|
3416
3545
|
*/
|
|
3417
|
-
get_config(
|
|
3546
|
+
get_config(
|
|
3547
|
+
key: string,
|
|
3548
|
+
options?: {
|
|
3549
|
+
query?: GetConfigQuery;
|
|
3550
|
+
} & RequestOptions
|
|
3551
|
+
): ResponsePromise<GetConfigResponse> {
|
|
3418
3552
|
return this.request("config", "get_config", "get", `/config/${key}`, null, options);
|
|
3419
3553
|
}
|
|
3420
3554
|
|
|
@@ -3466,7 +3600,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3466
3600
|
*/
|
|
3467
3601
|
get_config_public(
|
|
3468
3602
|
key: string,
|
|
3469
|
-
options?:
|
|
3603
|
+
options?: {
|
|
3604
|
+
query?: GetConfigPublicQuery;
|
|
3605
|
+
} & RequestOptions
|
|
3470
3606
|
): ResponsePromise<GetConfigPublicResponse> {
|
|
3471
3607
|
return this.request(
|
|
3472
3608
|
"config",
|
|
@@ -3610,7 +3746,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3610
3746
|
* @param id - Id of the entity to which announcement is specifically related.
|
|
3611
3747
|
* @param options - additional request options
|
|
3612
3748
|
*/
|
|
3613
|
-
get_announcement(
|
|
3749
|
+
get_announcement(
|
|
3750
|
+
id: string,
|
|
3751
|
+
options?: {
|
|
3752
|
+
query?: GetAnnouncementQuery;
|
|
3753
|
+
} & RequestOptions
|
|
3754
|
+
): ResponsePromise<GetAnnouncementResponse> {
|
|
3614
3755
|
return this.request(
|
|
3615
3756
|
"announcement",
|
|
3616
3757
|
"get_announcement",
|
|
@@ -3739,7 +3880,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3739
3880
|
*/
|
|
3740
3881
|
get_report_eod_group_subscribers(
|
|
3741
3882
|
id: string,
|
|
3742
|
-
options?:
|
|
3883
|
+
options?: {
|
|
3884
|
+
query?: GetReportEodGroupSubscribersQuery;
|
|
3885
|
+
} & RequestOptions
|
|
3743
3886
|
): ResponsePromise<GetReportEodGroupSubscribersResponse> {
|
|
3744
3887
|
return this.request(
|
|
3745
3888
|
"report",
|
|
@@ -3846,7 +3989,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3846
3989
|
*
|
|
3847
3990
|
* @param options - additional request options
|
|
3848
3991
|
*/
|
|
3849
|
-
get_user_zendesk(
|
|
3992
|
+
get_user_zendesk(
|
|
3993
|
+
options?: {
|
|
3994
|
+
query?: GetUserZendeskQuery;
|
|
3995
|
+
} & RequestOptions
|
|
3996
|
+
): ResponsePromise<GetUserZendeskResponse> {
|
|
3850
3997
|
return this.request("user", "get_user_zendesk", "get", `/user/zendesk`, null, options);
|
|
3851
3998
|
}
|
|
3852
3999
|
|
|
@@ -4060,7 +4207,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4060
4207
|
get_user_secret(
|
|
4061
4208
|
id: string,
|
|
4062
4209
|
key: string,
|
|
4063
|
-
options?:
|
|
4210
|
+
options?: {
|
|
4211
|
+
query?: GetUserSecretQuery;
|
|
4212
|
+
} & RequestOptions
|
|
4064
4213
|
): ResponsePromise<GetUserSecretResponse> {
|
|
4065
4214
|
return this.request(
|
|
4066
4215
|
"user",
|
|
@@ -4433,7 +4582,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4433
4582
|
*
|
|
4434
4583
|
* @param options - additional request options
|
|
4435
4584
|
*/
|
|
4436
|
-
get_calendar_swagger(
|
|
4585
|
+
get_calendar_swagger(
|
|
4586
|
+
options?: {
|
|
4587
|
+
query?: GetCalendarSwaggerQuery;
|
|
4588
|
+
} & RequestOptions
|
|
4589
|
+
): ResponsePromise<GetCalendarSwaggerResponse> {
|
|
4437
4590
|
return this.request(
|
|
4438
4591
|
"calendar",
|
|
4439
4592
|
"get_calendar_swagger",
|
|
@@ -4492,7 +4645,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4492
4645
|
*/
|
|
4493
4646
|
get_menu_client(
|
|
4494
4647
|
client_id: string,
|
|
4495
|
-
options?:
|
|
4648
|
+
options?: {
|
|
4649
|
+
query?: GetMenuClientQuery;
|
|
4650
|
+
} & RequestOptions
|
|
4496
4651
|
): ResponsePromise<GetMenuClientResponse> {
|
|
4497
4652
|
return this.request(
|
|
4498
4653
|
"menu",
|
|
@@ -4698,7 +4853,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4698
4853
|
*/
|
|
4699
4854
|
get_menu_location_items(
|
|
4700
4855
|
location: string,
|
|
4701
|
-
options?:
|
|
4856
|
+
options?: {
|
|
4857
|
+
query?: GetMenuLocationItemsQuery;
|
|
4858
|
+
} & RequestOptions
|
|
4702
4859
|
): ResponsePromise<GetMenuLocationItemsResponse> {
|
|
4703
4860
|
return this.request(
|
|
4704
4861
|
"menu",
|
|
@@ -4762,7 +4919,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4762
4919
|
*/
|
|
4763
4920
|
get_menu_sector_menus(
|
|
4764
4921
|
sector: string,
|
|
4765
|
-
options?:
|
|
4922
|
+
options?: {
|
|
4923
|
+
query?: GetMenuSectorMenusQuery;
|
|
4924
|
+
} & RequestOptions
|
|
4766
4925
|
): ResponsePromise<GetMenuSectorMenusResponse> {
|
|
4767
4926
|
return this.request(
|
|
4768
4927
|
"menu",
|
|
@@ -4782,7 +4941,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4782
4941
|
*/
|
|
4783
4942
|
get_menu_company_menus(
|
|
4784
4943
|
company: string,
|
|
4785
|
-
options?:
|
|
4944
|
+
options?: {
|
|
4945
|
+
query?: GetMenuCompanyMenusQuery;
|
|
4946
|
+
} & RequestOptions
|
|
4786
4947
|
): ResponsePromise<GetMenuCompanyMenusResponse> {
|
|
4787
4948
|
return this.request(
|
|
4788
4949
|
"menu",
|
|
@@ -4822,7 +4983,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4822
4983
|
*/
|
|
4823
4984
|
get_menu_modifier_group(
|
|
4824
4985
|
id: string,
|
|
4825
|
-
options?:
|
|
4986
|
+
options?: {
|
|
4987
|
+
query?: GetMenuModifierGroupQuery;
|
|
4988
|
+
} & RequestOptions
|
|
4826
4989
|
): ResponsePromise<GetMenuModifierGroupResponse> {
|
|
4827
4990
|
return this.request(
|
|
4828
4991
|
"menu",
|
|
@@ -4884,7 +5047,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4884
5047
|
*/
|
|
4885
5048
|
get_menu_company_modifier_groups(
|
|
4886
5049
|
company: string,
|
|
4887
|
-
options?:
|
|
5050
|
+
options?: {
|
|
5051
|
+
query?: GetMenuCompanyModifierGroupsQuery;
|
|
5052
|
+
} & RequestOptions
|
|
4888
5053
|
): ResponsePromise<GetMenuCompanyModifierGroupsResponse> {
|
|
4889
5054
|
return this.request(
|
|
4890
5055
|
"menu",
|
|
@@ -4904,7 +5069,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4904
5069
|
*/
|
|
4905
5070
|
get_menu_company_modifier_groups_export(
|
|
4906
5071
|
company: string,
|
|
4907
|
-
options?:
|
|
5072
|
+
options?: {
|
|
5073
|
+
query?: GetMenuCompanyModifierGroupsExportQuery;
|
|
5074
|
+
} & RequestOptions
|
|
4908
5075
|
): ResponsePromise<GetMenuCompanyModifierGroupsExportResponse> {
|
|
4909
5076
|
return this.request(
|
|
4910
5077
|
"menu",
|
|
@@ -4922,7 +5089,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4922
5089
|
* @param id - menu; TODO: cannot use compassdigital.id as path parameter
|
|
4923
5090
|
* @param options - additional request options
|
|
4924
5091
|
*/
|
|
4925
|
-
get_menu_export(
|
|
5092
|
+
get_menu_export(
|
|
5093
|
+
id: string,
|
|
5094
|
+
options?: {
|
|
5095
|
+
query?: GetMenuExportQuery;
|
|
5096
|
+
} & RequestOptions
|
|
5097
|
+
): ResponsePromise<GetMenuExportResponse> {
|
|
4926
5098
|
return this.request("menu", "get_menu_export", "get", `/menu/${id}/export`, null, options);
|
|
4927
5099
|
}
|
|
4928
5100
|
|
|
@@ -5101,7 +5273,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5101
5273
|
* @param options - additional request options
|
|
5102
5274
|
*/
|
|
5103
5275
|
get_notification_swagger(
|
|
5104
|
-
options?:
|
|
5276
|
+
options?: {
|
|
5277
|
+
query?: GetNotificationSwaggerQuery;
|
|
5278
|
+
} & RequestOptions
|
|
5105
5279
|
): ResponsePromise<GetNotificationSwaggerResponse> {
|
|
5106
5280
|
return this.request(
|
|
5107
5281
|
"notification",
|
|
@@ -5210,7 +5384,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5210
5384
|
*
|
|
5211
5385
|
* @param options - additional request options
|
|
5212
5386
|
*/
|
|
5213
|
-
get_vendors(
|
|
5387
|
+
get_vendors(
|
|
5388
|
+
options?: {
|
|
5389
|
+
query?: GetVendorsQuery;
|
|
5390
|
+
} & RequestOptions
|
|
5391
|
+
): ResponsePromise<GetVendorsResponse> {
|
|
5214
5392
|
return this.request("vendor", "get_vendors", "get", `/vendor`, null, options);
|
|
5215
5393
|
}
|
|
5216
5394
|
|
|
@@ -5220,7 +5398,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5220
5398
|
* @param id - vendor
|
|
5221
5399
|
* @param options - additional request options
|
|
5222
5400
|
*/
|
|
5223
|
-
get_vendor(
|
|
5401
|
+
get_vendor(
|
|
5402
|
+
id: string,
|
|
5403
|
+
options?: {
|
|
5404
|
+
query?: GetVendorQuery;
|
|
5405
|
+
} & RequestOptions
|
|
5406
|
+
): ResponsePromise<GetVendorResponse> {
|
|
5224
5407
|
return this.request("vendor", "get_vendor", "get", `/vendor/${id}`, null, options);
|
|
5225
5408
|
}
|
|
5226
5409
|
|
|
@@ -5244,7 +5427,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5244
5427
|
*
|
|
5245
5428
|
* @param options - additional request options
|
|
5246
5429
|
*/
|
|
5247
|
-
get_vendor_auth(
|
|
5430
|
+
get_vendor_auth(
|
|
5431
|
+
options?: {
|
|
5432
|
+
query?: GetVendorAuthQuery;
|
|
5433
|
+
} & RequestOptions
|
|
5434
|
+
): ResponsePromise<GetVendorAuthResponse> {
|
|
5248
5435
|
return this.request("vendor", "get_vendor_auth", "get", `/vendor/auth`, null, options);
|
|
5249
5436
|
}
|
|
5250
5437
|
|
|
@@ -5267,7 +5454,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5267
5454
|
* @param id - vendor
|
|
5268
5455
|
* @param options - additional request options
|
|
5269
5456
|
*/
|
|
5270
|
-
get_vendor_keys(
|
|
5457
|
+
get_vendor_keys(
|
|
5458
|
+
id: string,
|
|
5459
|
+
options?: {
|
|
5460
|
+
query?: GetVendorKeysQuery;
|
|
5461
|
+
} & RequestOptions
|
|
5462
|
+
): ResponsePromise<GetVendorKeysResponse> {
|
|
5271
5463
|
return this.request("vendor", "get_vendor_keys", "get", `/vendor/${id}/key`, null, options);
|
|
5272
5464
|
}
|
|
5273
5465
|
|
|
@@ -5527,7 +5719,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5527
5719
|
*/
|
|
5528
5720
|
get_permission_role_user(
|
|
5529
5721
|
user_id: string,
|
|
5530
|
-
options?:
|
|
5722
|
+
options?: {
|
|
5723
|
+
query?: GetPermissionRoleUserQuery;
|
|
5724
|
+
} & RequestOptions
|
|
5531
5725
|
): ResponsePromise<GetPermissionRoleUserResponse> {
|
|
5532
5726
|
return this.request(
|
|
5533
5727
|
"permission",
|
|
@@ -5639,7 +5833,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5639
5833
|
get_loyalty_offers(
|
|
5640
5834
|
id: string,
|
|
5641
5835
|
user_id: string,
|
|
5642
|
-
options?:
|
|
5836
|
+
options?: {
|
|
5837
|
+
query?: GetLoyaltyOffersQuery;
|
|
5838
|
+
} & RequestOptions
|
|
5643
5839
|
): ResponsePromise<GetLoyaltyOffersResponse> {
|
|
5644
5840
|
return this.request(
|
|
5645
5841
|
"loyalty",
|
|
@@ -5661,7 +5857,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5661
5857
|
get_loyalty_enrollmentstatus(
|
|
5662
5858
|
id: string,
|
|
5663
5859
|
user_id: string,
|
|
5664
|
-
options?:
|
|
5860
|
+
options?: {
|
|
5861
|
+
query?: GetLoyaltyEnrollmentstatusQuery;
|
|
5862
|
+
} & RequestOptions
|
|
5665
5863
|
): ResponsePromise<GetLoyaltyEnrollmentstatusResponse> {
|
|
5666
5864
|
return this.request(
|
|
5667
5865
|
"loyalty",
|
|
@@ -5683,7 +5881,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5683
5881
|
get_loyalty_balance(
|
|
5684
5882
|
id: string,
|
|
5685
5883
|
user_id: string,
|
|
5686
|
-
options?:
|
|
5884
|
+
options?: {
|
|
5885
|
+
query?: GetLoyaltyBalanceQuery;
|
|
5886
|
+
} & RequestOptions
|
|
5687
5887
|
): ResponsePromise<GetLoyaltyBalanceResponse> {
|
|
5688
5888
|
return this.request(
|
|
5689
5889
|
"loyalty",
|
|
@@ -5753,7 +5953,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5753
5953
|
get_loyalty_rewards(
|
|
5754
5954
|
id: string,
|
|
5755
5955
|
user_id: string,
|
|
5756
|
-
options?:
|
|
5956
|
+
options?: {
|
|
5957
|
+
query?: GetLoyaltyRewardsQuery;
|
|
5958
|
+
} & RequestOptions
|
|
5757
5959
|
): ResponsePromise<GetLoyaltyRewardsResponse> {
|
|
5758
5960
|
return this.request(
|
|
5759
5961
|
"loyalty",
|
|
@@ -5775,7 +5977,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5775
5977
|
get_loyalty_coupons(
|
|
5776
5978
|
id: string,
|
|
5777
5979
|
user_id: string,
|
|
5778
|
-
options?:
|
|
5980
|
+
options?: {
|
|
5981
|
+
query?: GetLoyaltyCouponsQuery;
|
|
5982
|
+
} & RequestOptions
|
|
5779
5983
|
): ResponsePromise<GetLoyaltyCouponsResponse> {
|
|
5780
5984
|
return this.request(
|
|
5781
5985
|
"loyalty",
|
|
@@ -5923,7 +6127,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5923
6127
|
id: string,
|
|
5924
6128
|
user_id: string,
|
|
5925
6129
|
coupon_id: string,
|
|
5926
|
-
options?:
|
|
6130
|
+
options?: {
|
|
6131
|
+
query?: GetLoyaltyCouponQuery;
|
|
6132
|
+
} & RequestOptions
|
|
5927
6133
|
): ResponsePromise<GetLoyaltyCouponResponse> {
|
|
5928
6134
|
return this.request(
|
|
5929
6135
|
"loyalty",
|