@compassdigital/sdk.typescript 3.38.0 → 3.40.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.
Files changed (77) hide show
  1. package/lib/base.d.ts +3 -3
  2. package/lib/base.d.ts.map +1 -1
  3. package/lib/index.d.ts +185 -74
  4. package/lib/index.d.ts.map +1 -1
  5. package/lib/index.js +10 -3
  6. package/lib/index.js.map +1 -1
  7. package/lib/interface/announcement.d.ts +14 -9
  8. package/lib/interface/announcement.d.ts.map +1 -1
  9. package/lib/interface/calendar.d.ts +12 -7
  10. package/lib/interface/calendar.d.ts.map +1 -1
  11. package/lib/interface/compassconnect.d.ts +2 -1
  12. package/lib/interface/compassconnect.d.ts.map +1 -1
  13. package/lib/interface/config.d.ts +27 -18
  14. package/lib/interface/config.d.ts.map +1 -1
  15. package/lib/interface/datalake.d.ts +7 -4
  16. package/lib/interface/datalake.d.ts.map +1 -1
  17. package/lib/interface/email.d.ts +2 -2
  18. package/lib/interface/email.d.ts.map +1 -1
  19. package/lib/interface/file.d.ts +1 -1
  20. package/lib/interface/file.d.ts.map +1 -1
  21. package/lib/interface/kds.d.ts +12 -8
  22. package/lib/interface/kds.d.ts.map +1 -1
  23. package/lib/interface/location.d.ts +112 -76
  24. package/lib/interface/location.d.ts.map +1 -1
  25. package/lib/interface/loyalty.d.ts +42 -17
  26. package/lib/interface/loyalty.d.ts.map +1 -1
  27. package/lib/interface/mealplan.d.ts +16 -10
  28. package/lib/interface/mealplan.d.ts.map +1 -1
  29. package/lib/interface/menu.d.ts +83 -44
  30. package/lib/interface/menu.d.ts.map +1 -1
  31. package/lib/interface/notification.d.ts +12 -8
  32. package/lib/interface/notification.d.ts.map +1 -1
  33. package/lib/interface/order.d.ts +32 -18
  34. package/lib/interface/order.d.ts.map +1 -1
  35. package/lib/interface/partner.d.ts +473 -426
  36. package/lib/interface/partner.d.ts.map +1 -1
  37. package/lib/interface/payment.d.ts +25 -15
  38. package/lib/interface/payment.d.ts.map +1 -1
  39. package/lib/interface/permission.d.ts +20 -15
  40. package/lib/interface/permission.d.ts.map +1 -1
  41. package/lib/interface/promo.d.ts +32 -26
  42. package/lib/interface/promo.d.ts.map +1 -1
  43. package/lib/interface/report.d.ts +16 -10
  44. package/lib/interface/report.d.ts.map +1 -1
  45. package/lib/interface/shoppingcart.d.ts +25 -22
  46. package/lib/interface/shoppingcart.d.ts.map +1 -1
  47. package/lib/interface/task.d.ts +28 -16
  48. package/lib/interface/task.d.ts.map +1 -1
  49. package/lib/interface/user.d.ts +72 -46
  50. package/lib/interface/user.d.ts.map +1 -1
  51. package/lib/interface/util.d.ts +1 -1
  52. package/lib/interface/util.d.ts.map +1 -1
  53. package/lib/interface/vendor.d.ts +42 -28
  54. package/lib/interface/vendor.d.ts.map +1 -1
  55. package/package.json +2 -2
  56. package/src/index.ts +281 -56
  57. package/src/interface/announcement.ts +13 -1
  58. package/src/interface/calendar.ts +12 -1
  59. package/src/interface/compassconnect.ts +2 -0
  60. package/src/interface/config.ts +26 -3
  61. package/src/interface/datalake.ts +6 -1
  62. package/src/interface/kds.ts +8 -1
  63. package/src/interface/location.ts +81 -9
  64. package/src/interface/loyalty.ts +65 -5
  65. package/src/interface/mealplan.ts +18 -2
  66. package/src/interface/menu.ts +96 -7
  67. package/src/interface/notification.ts +10 -1
  68. package/src/interface/order.ts +26 -1
  69. package/src/interface/partner.ts +550 -474
  70. package/src/interface/payment.ts +30 -6
  71. package/src/interface/permission.ts +13 -1
  72. package/src/interface/promo.ts +14 -1
  73. package/src/interface/report.ts +12 -0
  74. package/src/interface/shoppingcart.ts +9 -1
  75. package/src/interface/task.ts +30 -3
  76. package/src/interface/user.ts +42 -2
  77. 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,
@@ -144,7 +154,6 @@ import {
144
154
  GetLocationBrandResponse,
145
155
  PatchLocationBrandBody,
146
156
  PatchLocationBrandResponse,
147
- DeleteLocationBrandBody,
148
157
  DeleteLocationBrandResponse,
149
158
  PutLocationBrandBody,
150
159
  PutLocationBrandResponse,
@@ -174,6 +183,7 @@ import {
174
183
  PutShoppingcartCartItemsResponse,
175
184
  DeleteShoppingcartCartItemsBody,
176
185
  DeleteShoppingcartCartItemsResponse,
186
+ GetShoppingcartCartQuery,
177
187
  GetShoppingcartCartResponse,
178
188
  PatchShoppingcartCartBody,
179
189
  PatchShoppingcartCartResponse,
@@ -194,12 +204,17 @@ import {
194
204
  import {
195
205
  PostPartnerStandardcognitionShoppingcartBody,
196
206
  PostPartnerStandardcognitionShoppingcartResponse,
207
+ GetPartnerStandardcognitionLocationsQuery,
197
208
  GetPartnerStandardcognitionLocationsResponse,
209
+ GetPartnerStandardcognitionStoresQuery,
198
210
  GetPartnerStandardcognitionStoresResponse,
199
211
  PostPartnerStandardcognitionMenuBody,
200
212
  PostPartnerStandardcognitionMenuResponse,
213
+ GetPartnerCoolrLocationsQuery,
201
214
  GetPartnerCoolrLocationsResponse,
215
+ GetPartnerCoolrImagesQuery,
202
216
  GetPartnerCoolrImagesResponse,
217
+ GetPartnerSwaggerQuery,
203
218
  GetPartnerSwaggerResponse,
204
219
  } from "./interface/partner";
205
220
 
@@ -208,11 +223,14 @@ import { PostEmailBody, PostEmailResponse } from "./interface/email";
208
223
  import {
209
224
  PostTaskBody,
210
225
  PostTaskResponse,
226
+ GetTaskQuery,
211
227
  GetTaskResponse,
212
228
  PatchTaskBody,
213
229
  PatchTaskResponse,
214
230
  DeleteTaskResponse,
231
+ GetTaskOrderQuery,
215
232
  GetTaskOrderResponse,
233
+ GetTaskOrderKdsQuery,
216
234
  GetTaskOrderKdsResponse,
217
235
  PatchTaskOrderKdsBody,
218
236
  PatchTaskOrderKdsResponse,
@@ -233,6 +251,7 @@ import {
233
251
  PatchKdsDeviceInfoBody,
234
252
  PatchKdsDeviceInfoResponse,
235
253
  DeleteKdsDeviceInfoResponse,
254
+ GetKdsSwaggerQuery,
236
255
  GetKdsSwaggerResponse,
237
256
  } from "./interface/kds";
238
257
 
@@ -241,10 +260,12 @@ import {
241
260
  PostMealplanResponse,
242
261
  PutMealplanBody,
243
262
  PutMealplanResponse,
263
+ GetMealplanQuery,
244
264
  GetMealplanResponse,
245
265
  DeleteMealplanBody,
246
266
  DeleteMealplanResponse,
247
267
  PostMealplanCallbackResponse,
268
+ GetMealplanTenderQuery,
248
269
  GetMealplanTenderResponse,
249
270
  DeleteMealplanTenderResponse,
250
271
  PatchMealplanTenderBody,
@@ -261,6 +282,7 @@ import {
261
282
  import {
262
283
  PostDatalakeSqlBody,
263
284
  PostDatalakeSqlResponse,
285
+ GetSwaggerQuery,
264
286
  GetSwaggerResponse,
265
287
  } from "./interface/datalake";
266
288
 
@@ -294,17 +316,21 @@ import {
294
316
  PostPromoVoucherReverseResponse,
295
317
  PostPromoVoucherifyActivityExecuteBody,
296
318
  PostPromoVoucherifyActivityExecuteResponse,
319
+ GetPromoVoucherifyActivityConfigQuery,
297
320
  GetPromoVoucherifyActivityConfigResponse,
298
321
  } from "./interface/promo";
299
322
 
300
323
  import {
324
+ GetConfigAppconfigQuery,
301
325
  GetConfigAppconfigResponse,
326
+ GetConfigQuery,
302
327
  GetConfigResponse,
303
328
  PostConfigBody,
304
329
  PostConfigResponse,
305
330
  PutConfigBody,
306
331
  PutConfigResponse,
307
332
  DeleteConfigResponse,
333
+ GetConfigPublicQuery,
308
334
  GetConfigPublicResponse,
309
335
  PostConfigPublicBody,
310
336
  PostConfigPublicResponse,
@@ -320,6 +346,7 @@ import {
320
346
  GetAnnouncementResourceResponse,
321
347
  GetAnnouncementResourcesQuery,
322
348
  GetAnnouncementResourcesResponse,
349
+ GetAnnouncementQuery,
323
350
  GetAnnouncementResponse,
324
351
  PutAnnouncementBody,
325
352
  PutAnnouncementResponse,
@@ -333,6 +360,7 @@ import {
333
360
  GetReportAnalyticsCombinedGroupResponse,
334
361
  GetReportEodGroupQuery,
335
362
  GetReportEodGroupResponse,
363
+ GetReportEodGroupSubscribersQuery,
336
364
  GetReportEodGroupSubscribersResponse,
337
365
  PostReportEodGroupSubscribersBody,
338
366
  PostReportEodGroupSubscribersResponse,
@@ -346,6 +374,7 @@ import {
346
374
  GetUserAuthResponse,
347
375
  PostUserAuthBody,
348
376
  PostUserAuthResponse,
377
+ GetUserZendeskQuery,
349
378
  GetUserZendeskResponse,
350
379
  PostUserQuery,
351
380
  PostUserBody,
@@ -371,6 +400,7 @@ import {
371
400
  DeleteUserLogoutResponse,
372
401
  PostUserAddSecretBody,
373
402
  PostUserAddSecretResponse,
403
+ GetUserSecretQuery,
374
404
  GetUserSecretResponse,
375
405
  PostUserResetPasswordQuery,
376
406
  PostUserResetPasswordBody,
@@ -413,6 +443,7 @@ import {
413
443
  DeleteCalendarResponse,
414
444
  GetCalendarCdlQuery,
415
445
  GetCalendarCdlResponse,
446
+ GetCalendarSwaggerQuery,
416
447
  GetCalendarSwaggerResponse,
417
448
  PostCalendarSyncResponse,
418
449
  } from "./interface/calendar";
@@ -425,6 +456,9 @@ import {
425
456
  } from "./interface/file";
426
457
 
427
458
  import {
459
+ GetMenuModifierCountQuery,
460
+ GetMenuModifierCountResponse,
461
+ GetMenuClientQuery,
428
462
  GetMenuClientResponse,
429
463
  GetMenusQuery,
430
464
  GetMenusResponse,
@@ -452,21 +486,28 @@ import {
452
486
  GetMenuItemsQuery,
453
487
  GetMenuItemsResponse,
454
488
  PostMenuImportItemsCanteenResponse,
489
+ GetMenuLocationItemsQuery,
455
490
  GetMenuLocationItemsResponse,
456
491
  GetMenuLocationItemRandomQuery,
457
492
  GetMenuLocationItemRandomResponse,
458
493
  GetMenuLocationItemsRandomQuery,
459
494
  GetMenuLocationItemsRandomResponse,
495
+ GetMenuSectorMenusQuery,
460
496
  GetMenuSectorMenusResponse,
497
+ GetMenuCompanyMenusQuery,
461
498
  GetMenuCompanyMenusResponse,
462
499
  PostMenuModifierGroupBody,
463
500
  PostMenuModifierGroupResponse,
501
+ GetMenuModifierGroupQuery,
464
502
  GetMenuModifierGroupResponse,
465
503
  PutMenuModifierGroupBody,
466
504
  PutMenuModifierGroupResponse,
467
505
  DeleteMenuModifierGroupResponse,
506
+ GetMenuCompanyModifierGroupsQuery,
468
507
  GetMenuCompanyModifierGroupsResponse,
508
+ GetMenuCompanyModifierGroupsExportQuery,
469
509
  GetMenuCompanyModifierGroupsExportResponse,
510
+ GetMenuExportQuery,
470
511
  GetMenuExportResponse,
471
512
  GetMenuPartialGroupsQuery,
472
513
  GetMenuPartialGroupsResponse,
@@ -487,6 +528,7 @@ import {
487
528
  DeleteNotificationResponse,
488
529
  PostNotificationStatusBody,
489
530
  PostNotificationStatusResponse,
531
+ GetNotificationSwaggerQuery,
490
532
  GetNotificationSwaggerResponse,
491
533
  } from "./interface/notification";
492
534
 
@@ -504,13 +546,17 @@ import {
504
546
  PatchVendorApplicationResponse,
505
547
  PostVendorBody,
506
548
  PostVendorResponse,
549
+ GetVendorsQuery,
507
550
  GetVendorsResponse,
551
+ GetVendorQuery,
508
552
  GetVendorResponse,
509
553
  PatchVendorBody,
510
554
  PatchVendorResponse,
555
+ GetVendorAuthQuery,
511
556
  GetVendorAuthResponse,
512
557
  PostVendorAuthBody,
513
558
  PostVendorAuthResponse,
559
+ GetVendorKeysQuery,
514
560
  GetVendorKeysResponse,
515
561
  PostVendorKeyBody,
516
562
  PostVendorKeyResponse,
@@ -537,6 +583,7 @@ import {
537
583
  PatchPermissionRoleResponse,
538
584
  GetPermissionRecipientQuery,
539
585
  GetPermissionRecipientResponse,
586
+ GetPermissionRoleUserQuery,
540
587
  GetPermissionRoleUserResponse,
541
588
  PostPermissionRoleUserBody,
542
589
  PostPermissionRoleUserResponse,
@@ -549,14 +596,19 @@ import {
549
596
  PostLoyaltyEnrollResponse,
550
597
  GetLoyaltyPointsQuery,
551
598
  GetLoyaltyPointsResponse,
599
+ GetLoyaltyOffersQuery,
552
600
  GetLoyaltyOffersResponse,
601
+ GetLoyaltyEnrollmentstatusQuery,
553
602
  GetLoyaltyEnrollmentstatusResponse,
603
+ GetLoyaltyBalanceQuery,
554
604
  GetLoyaltyBalanceResponse,
555
605
  GetLoyaltyOpportunitiesQuery,
556
606
  GetLoyaltyOpportunitiesResponse,
557
607
  PostLoyaltyOpportunitiesQuery,
558
608
  PostLoyaltyOpportunitiesResponse,
609
+ GetLoyaltyRewardsQuery,
559
610
  GetLoyaltyRewardsResponse,
611
+ GetLoyaltyCouponsQuery,
560
612
  GetLoyaltyCouponsResponse,
561
613
  GetLoyaltyOrderpointsQuery,
562
614
  GetLoyaltyOrderpointsResponse,
@@ -570,6 +622,7 @@ import {
570
622
  PostLoyaltyBuyrewardResponse,
571
623
  GetLoyaltyHistoryQuery,
572
624
  GetLoyaltyHistoryResponse,
625
+ GetLoyaltyCouponQuery,
573
626
  GetLoyaltyCouponResponse,
574
627
  PatchLoyaltyCouponBody,
575
628
  PatchLoyaltyCouponResponse,
@@ -639,7 +692,9 @@ export class ServiceClient extends BaseServiceClient {
639
692
  */
640
693
  get_payment_clienttoken(
641
694
  id: string,
642
- options?: RequestOptions
695
+ options?: {
696
+ query?: GetPaymentClienttokenQuery;
697
+ } & RequestOptions
643
698
  ): ResponsePromise<GetPaymentClienttokenResponse> {
644
699
  return this.request(
645
700
  "payment",
@@ -865,7 +920,9 @@ export class ServiceClient extends BaseServiceClient {
865
920
  */
866
921
  get_payment_badgepay(
867
922
  id: string,
868
- options?: RequestOptions
923
+ options?: {
924
+ query?: GetPaymentBadgepayQuery;
925
+ } & RequestOptions
869
926
  ): ResponsePromise<GetPaymentBadgepayResponse> {
870
927
  return this.request(
871
928
  "payment",
@@ -942,7 +999,12 @@ export class ServiceClient extends BaseServiceClient {
942
999
  * @param id - The order ID
943
1000
  * @param options - additional request options
944
1001
  */
945
- get_order(id: string, options?: RequestOptions): ResponsePromise<GetOrderResponse> {
1002
+ get_order(
1003
+ id: string,
1004
+ options?: {
1005
+ query?: GetOrderQuery;
1006
+ } & RequestOptions
1007
+ ): ResponsePromise<GetOrderResponse> {
946
1008
  return this.request("order", "get_order", "get", `/order/${id}`, null, options);
947
1009
  }
948
1010
 
@@ -1040,7 +1102,9 @@ export class ServiceClient extends BaseServiceClient {
1040
1102
  get_order_customer_orders_brand(
1041
1103
  id: string,
1042
1104
  location_brand: string,
1043
- options?: RequestOptions
1105
+ options?: {
1106
+ query?: GetOrderCustomerOrdersBrandQuery;
1107
+ } & RequestOptions
1044
1108
  ): ResponsePromise<GetOrderCustomerOrdersBrandResponse> {
1045
1109
  return this.request(
1046
1110
  "order",
@@ -1191,7 +1255,11 @@ export class ServiceClient extends BaseServiceClient {
1191
1255
  *
1192
1256
  * @param options - additional request options
1193
1257
  */
1194
- get_locations(options?: RequestOptions): ResponsePromise<GetLocationsResponse> {
1258
+ get_locations(
1259
+ options?: {
1260
+ query?: GetLocationsQuery;
1261
+ } & RequestOptions
1262
+ ): ResponsePromise<GetLocationsResponse> {
1195
1263
  return this.request("location", "get_locations", "get", `/location`, null, options);
1196
1264
  }
1197
1265
 
@@ -1281,7 +1349,12 @@ export class ServiceClient extends BaseServiceClient {
1281
1349
  * @param id - POS ID
1282
1350
  * @param options - additional request options
1283
1351
  */
1284
- get_location_pos(id: string, options?: RequestOptions): ResponsePromise<GetLocationPosResponse> {
1352
+ get_location_pos(
1353
+ id: string,
1354
+ options?: {
1355
+ query?: GetLocationPosQuery;
1356
+ } & RequestOptions
1357
+ ): ResponsePromise<GetLocationPosResponse> {
1285
1358
  return this.request(
1286
1359
  "location",
1287
1360
  "get_location_pos",
@@ -1672,7 +1745,9 @@ export class ServiceClient extends BaseServiceClient {
1672
1745
  get_location_group_deliverydestination(
1673
1746
  id: string,
1674
1747
  delivery_destination: string,
1675
- options?: RequestOptions
1748
+ options?: {
1749
+ query?: GetLocationGroupDeliverydestinationQuery;
1750
+ } & RequestOptions
1676
1751
  ): ResponsePromise<GetLocationGroupDeliverydestinationResponse> {
1677
1752
  return this.request(
1678
1753
  "location",
@@ -1713,7 +1788,11 @@ export class ServiceClient extends BaseServiceClient {
1713
1788
  *
1714
1789
  * @param options - additional request options
1715
1790
  */
1716
- get_location_brands(options?: RequestOptions): ResponsePromise<GetLocationBrandsResponse> {
1791
+ get_location_brands(
1792
+ options?: {
1793
+ query?: GetLocationBrandsQuery;
1794
+ } & RequestOptions
1795
+ ): ResponsePromise<GetLocationBrandsResponse> {
1717
1796
  return this.request(
1718
1797
  "location",
1719
1798
  "get_location_brands",
@@ -1732,7 +1811,9 @@ export class ServiceClient extends BaseServiceClient {
1732
1811
  */
1733
1812
  get_location_brand_destinations(
1734
1813
  id: string,
1735
- options?: RequestOptions
1814
+ options?: {
1815
+ query?: GetLocationBrandDestinationsQuery;
1816
+ } & RequestOptions
1736
1817
  ): ResponsePromise<GetLocationBrandDestinationsResponse> {
1737
1818
  return this.request(
1738
1819
  "location",
@@ -1814,7 +1895,9 @@ export class ServiceClient extends BaseServiceClient {
1814
1895
  */
1815
1896
  get_location_brand_documents(
1816
1897
  id: string,
1817
- options?: RequestOptions
1898
+ options?: {
1899
+ query?: GetLocationBrandDocumentsQuery;
1900
+ } & RequestOptions
1818
1901
  ): ResponsePromise<GetLocationBrandDocumentsResponse> {
1819
1902
  return this.request(
1820
1903
  "location",
@@ -2030,12 +2113,10 @@ export class ServiceClient extends BaseServiceClient {
2030
2113
  * DELETE /location/brand/{id} - Delete data from a Brand
2031
2114
  *
2032
2115
  * @param id - Brand ID
2033
- * @param body
2034
2116
  * @param options - additional request options
2035
2117
  */
2036
2118
  delete_location_brand(
2037
2119
  id: string,
2038
- body: DeleteLocationBrandBody,
2039
2120
  options?: RequestOptions
2040
2121
  ): ResponsePromise<DeleteLocationBrandResponse> {
2041
2122
  return this.request(
@@ -2043,7 +2124,7 @@ export class ServiceClient extends BaseServiceClient {
2043
2124
  "delete_location_brand",
2044
2125
  "delete",
2045
2126
  `/location/brand/${id}`,
2046
- body,
2127
+ null,
2047
2128
  options
2048
2129
  );
2049
2130
  }
@@ -2314,7 +2395,9 @@ export class ServiceClient extends BaseServiceClient {
2314
2395
  */
2315
2396
  get_shoppingcart_cart(
2316
2397
  id: string,
2317
- options?: RequestOptions
2398
+ options?: {
2399
+ query?: GetShoppingcartCartQuery;
2400
+ } & RequestOptions
2318
2401
  ): ResponsePromise<GetShoppingcartCartResponse> {
2319
2402
  return this.request(
2320
2403
  "shoppingcart",
@@ -2522,7 +2605,9 @@ export class ServiceClient extends BaseServiceClient {
2522
2605
  * @param options - additional request options
2523
2606
  */
2524
2607
  get_partner_standardcognition_locations(
2525
- options?: RequestOptions
2608
+ options?: {
2609
+ query?: GetPartnerStandardcognitionLocationsQuery;
2610
+ } & RequestOptions
2526
2611
  ): ResponsePromise<GetPartnerStandardcognitionLocationsResponse> {
2527
2612
  return this.request(
2528
2613
  "partner",
@@ -2540,7 +2625,9 @@ export class ServiceClient extends BaseServiceClient {
2540
2625
  * @param options - additional request options
2541
2626
  */
2542
2627
  get_partner_standardcognition_stores(
2543
- options?: RequestOptions
2628
+ options?: {
2629
+ query?: GetPartnerStandardcognitionStoresQuery;
2630
+ } & RequestOptions
2544
2631
  ): ResponsePromise<GetPartnerStandardcognitionStoresResponse> {
2545
2632
  return this.request(
2546
2633
  "partner",
@@ -2578,7 +2665,9 @@ export class ServiceClient extends BaseServiceClient {
2578
2665
  * @param options - additional request options
2579
2666
  */
2580
2667
  get_partner_coolr_locations(
2581
- options?: RequestOptions
2668
+ options?: {
2669
+ query?: GetPartnerCoolrLocationsQuery;
2670
+ } & RequestOptions
2582
2671
  ): ResponsePromise<GetPartnerCoolrLocationsResponse> {
2583
2672
  return this.request(
2584
2673
  "partner",
@@ -2598,7 +2687,9 @@ export class ServiceClient extends BaseServiceClient {
2598
2687
  */
2599
2688
  get_partner_coolr_images(
2600
2689
  id: string,
2601
- options?: RequestOptions
2690
+ options?: {
2691
+ query?: GetPartnerCoolrImagesQuery;
2692
+ } & RequestOptions
2602
2693
  ): ResponsePromise<GetPartnerCoolrImagesResponse> {
2603
2694
  return this.request(
2604
2695
  "partner",
@@ -2615,7 +2706,11 @@ export class ServiceClient extends BaseServiceClient {
2615
2706
  *
2616
2707
  * @param options - additional request options
2617
2708
  */
2618
- get_partner_swagger(options?: RequestOptions): ResponsePromise<GetPartnerSwaggerResponse> {
2709
+ get_partner_swagger(
2710
+ options?: {
2711
+ query?: GetPartnerSwaggerQuery;
2712
+ } & RequestOptions
2713
+ ): ResponsePromise<GetPartnerSwaggerResponse> {
2619
2714
  return this.request(
2620
2715
  "partner",
2621
2716
  "get_partner_swagger",
@@ -2652,7 +2747,12 @@ export class ServiceClient extends BaseServiceClient {
2652
2747
  * @param id - Task ID
2653
2748
  * @param options - additional request options
2654
2749
  */
2655
- get_task(id: string, options?: RequestOptions): ResponsePromise<GetTaskResponse> {
2750
+ get_task(
2751
+ id: string,
2752
+ options?: {
2753
+ query?: GetTaskQuery;
2754
+ } & RequestOptions
2755
+ ): ResponsePromise<GetTaskResponse> {
2656
2756
  return this.request("task", "get_task", "get", `/task/${id}`, null, options);
2657
2757
  }
2658
2758
 
@@ -2687,7 +2787,12 @@ export class ServiceClient extends BaseServiceClient {
2687
2787
  * @param id - Order ID
2688
2788
  * @param options - additional request options
2689
2789
  */
2690
- get_task_order(id: string, options?: RequestOptions): ResponsePromise<GetTaskOrderResponse> {
2790
+ get_task_order(
2791
+ id: string,
2792
+ options?: {
2793
+ query?: GetTaskOrderQuery;
2794
+ } & RequestOptions
2795
+ ): ResponsePromise<GetTaskOrderResponse> {
2691
2796
  return this.request("task", "get_task_order", "get", `/task/order/${id}`, null, options);
2692
2797
  }
2693
2798
 
@@ -2699,7 +2804,9 @@ export class ServiceClient extends BaseServiceClient {
2699
2804
  */
2700
2805
  get_task_order_kds(
2701
2806
  id: string,
2702
- options?: RequestOptions
2807
+ options?: {
2808
+ query?: GetTaskOrderKdsQuery;
2809
+ } & RequestOptions
2703
2810
  ): ResponsePromise<GetTaskOrderKdsResponse> {
2704
2811
  return this.request(
2705
2812
  "task",
@@ -2885,7 +2992,11 @@ export class ServiceClient extends BaseServiceClient {
2885
2992
  *
2886
2993
  * @param options - additional request options
2887
2994
  */
2888
- get_kds_swagger(options?: RequestOptions): ResponsePromise<GetKdsSwaggerResponse> {
2995
+ get_kds_swagger(
2996
+ options?: {
2997
+ query?: GetKdsSwaggerQuery;
2998
+ } & RequestOptions
2999
+ ): ResponsePromise<GetKdsSwaggerResponse> {
2889
3000
  return this.request("kds", "get_kds_swagger", "get", `/kds/swagger.json`, null, options);
2890
3001
  }
2891
3002
 
@@ -2925,7 +3036,12 @@ export class ServiceClient extends BaseServiceClient {
2925
3036
  * @param id - Meal plan ID
2926
3037
  * @param options - additional request options
2927
3038
  */
2928
- get_mealplan(id: string, options?: RequestOptions): ResponsePromise<GetMealplanResponse> {
3039
+ get_mealplan(
3040
+ id: string,
3041
+ options?: {
3042
+ query?: GetMealplanQuery;
3043
+ } & RequestOptions
3044
+ ): ResponsePromise<GetMealplanResponse> {
2929
3045
  return this.request("mealplan", "get_mealplan", "get", `/mealplan/${id}`, null, options);
2930
3046
  }
2931
3047
 
@@ -2974,7 +3090,9 @@ export class ServiceClient extends BaseServiceClient {
2974
3090
  get_mealplan_tender(
2975
3091
  id: string,
2976
3092
  tender: string,
2977
- options?: RequestOptions
3093
+ options?: {
3094
+ query?: GetMealplanTenderQuery;
3095
+ } & RequestOptions
2978
3096
  ): ResponsePromise<GetMealplanTenderResponse> {
2979
3097
  return this.request(
2980
3098
  "mealplan",
@@ -3118,7 +3236,11 @@ export class ServiceClient extends BaseServiceClient {
3118
3236
  *
3119
3237
  * @param options - additional request options
3120
3238
  */
3121
- get_swagger(options?: RequestOptions): ResponsePromise<GetSwaggerResponse> {
3239
+ get_swagger(
3240
+ options?: {
3241
+ query?: GetSwaggerQuery;
3242
+ } & RequestOptions
3243
+ ): ResponsePromise<GetSwaggerResponse> {
3122
3244
  return this.request("datalake", "get_swagger", "get", `/swagger.json`, null, options);
3123
3245
  }
3124
3246
 
@@ -3380,7 +3502,9 @@ export class ServiceClient extends BaseServiceClient {
3380
3502
  * @param options - additional request options
3381
3503
  */
3382
3504
  get_promo_voucherify_activity_config(
3383
- options?: RequestOptions
3505
+ options?: {
3506
+ query?: GetPromoVoucherifyActivityConfigQuery;
3507
+ } & RequestOptions
3384
3508
  ): ResponsePromise<GetPromoVoucherifyActivityConfigResponse> {
3385
3509
  return this.request(
3386
3510
  "promo",
@@ -3397,7 +3521,11 @@ export class ServiceClient extends BaseServiceClient {
3397
3521
  *
3398
3522
  * @param options - additional request options
3399
3523
  */
3400
- get_config_appconfig(options?: RequestOptions): ResponsePromise<GetConfigAppconfigResponse> {
3524
+ get_config_appconfig(
3525
+ options?: {
3526
+ query?: GetConfigAppconfigQuery;
3527
+ } & RequestOptions
3528
+ ): ResponsePromise<GetConfigAppconfigResponse> {
3401
3529
  return this.request(
3402
3530
  "config",
3403
3531
  "get_config_appconfig",
@@ -3414,7 +3542,12 @@ export class ServiceClient extends BaseServiceClient {
3414
3542
  * @param key - configuration key
3415
3543
  * @param options - additional request options
3416
3544
  */
3417
- get_config(key: string, options?: RequestOptions): ResponsePromise<GetConfigResponse> {
3545
+ get_config(
3546
+ key: string,
3547
+ options?: {
3548
+ query?: GetConfigQuery;
3549
+ } & RequestOptions
3550
+ ): ResponsePromise<GetConfigResponse> {
3418
3551
  return this.request("config", "get_config", "get", `/config/${key}`, null, options);
3419
3552
  }
3420
3553
 
@@ -3466,7 +3599,9 @@ export class ServiceClient extends BaseServiceClient {
3466
3599
  */
3467
3600
  get_config_public(
3468
3601
  key: string,
3469
- options?: RequestOptions
3602
+ options?: {
3603
+ query?: GetConfigPublicQuery;
3604
+ } & RequestOptions
3470
3605
  ): ResponsePromise<GetConfigPublicResponse> {
3471
3606
  return this.request(
3472
3607
  "config",
@@ -3610,7 +3745,12 @@ export class ServiceClient extends BaseServiceClient {
3610
3745
  * @param id - Id of the entity to which announcement is specifically related.
3611
3746
  * @param options - additional request options
3612
3747
  */
3613
- get_announcement(id: string, options?: RequestOptions): ResponsePromise<GetAnnouncementResponse> {
3748
+ get_announcement(
3749
+ id: string,
3750
+ options?: {
3751
+ query?: GetAnnouncementQuery;
3752
+ } & RequestOptions
3753
+ ): ResponsePromise<GetAnnouncementResponse> {
3614
3754
  return this.request(
3615
3755
  "announcement",
3616
3756
  "get_announcement",
@@ -3739,7 +3879,9 @@ export class ServiceClient extends BaseServiceClient {
3739
3879
  */
3740
3880
  get_report_eod_group_subscribers(
3741
3881
  id: string,
3742
- options?: RequestOptions
3882
+ options?: {
3883
+ query?: GetReportEodGroupSubscribersQuery;
3884
+ } & RequestOptions
3743
3885
  ): ResponsePromise<GetReportEodGroupSubscribersResponse> {
3744
3886
  return this.request(
3745
3887
  "report",
@@ -3846,7 +3988,11 @@ export class ServiceClient extends BaseServiceClient {
3846
3988
  *
3847
3989
  * @param options - additional request options
3848
3990
  */
3849
- get_user_zendesk(options?: RequestOptions): ResponsePromise<GetUserZendeskResponse> {
3991
+ get_user_zendesk(
3992
+ options?: {
3993
+ query?: GetUserZendeskQuery;
3994
+ } & RequestOptions
3995
+ ): ResponsePromise<GetUserZendeskResponse> {
3850
3996
  return this.request("user", "get_user_zendesk", "get", `/user/zendesk`, null, options);
3851
3997
  }
3852
3998
 
@@ -4060,7 +4206,9 @@ export class ServiceClient extends BaseServiceClient {
4060
4206
  get_user_secret(
4061
4207
  id: string,
4062
4208
  key: string,
4063
- options?: RequestOptions
4209
+ options?: {
4210
+ query?: GetUserSecretQuery;
4211
+ } & RequestOptions
4064
4212
  ): ResponsePromise<GetUserSecretResponse> {
4065
4213
  return this.request(
4066
4214
  "user",
@@ -4433,7 +4581,11 @@ export class ServiceClient extends BaseServiceClient {
4433
4581
  *
4434
4582
  * @param options - additional request options
4435
4583
  */
4436
- get_calendar_swagger(options?: RequestOptions): ResponsePromise<GetCalendarSwaggerResponse> {
4584
+ get_calendar_swagger(
4585
+ options?: {
4586
+ query?: GetCalendarSwaggerQuery;
4587
+ } & RequestOptions
4588
+ ): ResponsePromise<GetCalendarSwaggerResponse> {
4437
4589
  return this.request(
4438
4590
  "calendar",
4439
4591
  "get_calendar_swagger",
@@ -4484,6 +4636,26 @@ export class ServiceClient extends BaseServiceClient {
4484
4636
  return this.request("file", "delete_file", "delete", `/file`, body, options);
4485
4637
  }
4486
4638
 
4639
+ /**
4640
+ * GET /menu/modifier/count
4641
+ *
4642
+ * @param options - additional request options
4643
+ */
4644
+ get_menu_modifier_count(
4645
+ options?: {
4646
+ query?: GetMenuModifierCountQuery;
4647
+ } & RequestOptions
4648
+ ): ResponsePromise<GetMenuModifierCountResponse> {
4649
+ return this.request(
4650
+ "menu",
4651
+ "get_menu_modifier_count",
4652
+ "get",
4653
+ `/menu/modifier/count`,
4654
+ null,
4655
+ options
4656
+ );
4657
+ }
4658
+
4487
4659
  /**
4488
4660
  * GET /menu/client/{client_id} - Get menu client
4489
4661
  *
@@ -4492,7 +4664,9 @@ export class ServiceClient extends BaseServiceClient {
4492
4664
  */
4493
4665
  get_menu_client(
4494
4666
  client_id: string,
4495
- options?: RequestOptions
4667
+ options?: {
4668
+ query?: GetMenuClientQuery;
4669
+ } & RequestOptions
4496
4670
  ): ResponsePromise<GetMenuClientResponse> {
4497
4671
  return this.request(
4498
4672
  "menu",
@@ -4698,7 +4872,9 @@ export class ServiceClient extends BaseServiceClient {
4698
4872
  */
4699
4873
  get_menu_location_items(
4700
4874
  location: string,
4701
- options?: RequestOptions
4875
+ options?: {
4876
+ query?: GetMenuLocationItemsQuery;
4877
+ } & RequestOptions
4702
4878
  ): ResponsePromise<GetMenuLocationItemsResponse> {
4703
4879
  return this.request(
4704
4880
  "menu",
@@ -4762,7 +4938,9 @@ export class ServiceClient extends BaseServiceClient {
4762
4938
  */
4763
4939
  get_menu_sector_menus(
4764
4940
  sector: string,
4765
- options?: RequestOptions
4941
+ options?: {
4942
+ query?: GetMenuSectorMenusQuery;
4943
+ } & RequestOptions
4766
4944
  ): ResponsePromise<GetMenuSectorMenusResponse> {
4767
4945
  return this.request(
4768
4946
  "menu",
@@ -4782,7 +4960,9 @@ export class ServiceClient extends BaseServiceClient {
4782
4960
  */
4783
4961
  get_menu_company_menus(
4784
4962
  company: string,
4785
- options?: RequestOptions
4963
+ options?: {
4964
+ query?: GetMenuCompanyMenusQuery;
4965
+ } & RequestOptions
4786
4966
  ): ResponsePromise<GetMenuCompanyMenusResponse> {
4787
4967
  return this.request(
4788
4968
  "menu",
@@ -4822,7 +5002,9 @@ export class ServiceClient extends BaseServiceClient {
4822
5002
  */
4823
5003
  get_menu_modifier_group(
4824
5004
  id: string,
4825
- options?: RequestOptions
5005
+ options?: {
5006
+ query?: GetMenuModifierGroupQuery;
5007
+ } & RequestOptions
4826
5008
  ): ResponsePromise<GetMenuModifierGroupResponse> {
4827
5009
  return this.request(
4828
5010
  "menu",
@@ -4884,7 +5066,9 @@ export class ServiceClient extends BaseServiceClient {
4884
5066
  */
4885
5067
  get_menu_company_modifier_groups(
4886
5068
  company: string,
4887
- options?: RequestOptions
5069
+ options?: {
5070
+ query?: GetMenuCompanyModifierGroupsQuery;
5071
+ } & RequestOptions
4888
5072
  ): ResponsePromise<GetMenuCompanyModifierGroupsResponse> {
4889
5073
  return this.request(
4890
5074
  "menu",
@@ -4904,7 +5088,9 @@ export class ServiceClient extends BaseServiceClient {
4904
5088
  */
4905
5089
  get_menu_company_modifier_groups_export(
4906
5090
  company: string,
4907
- options?: RequestOptions
5091
+ options?: {
5092
+ query?: GetMenuCompanyModifierGroupsExportQuery;
5093
+ } & RequestOptions
4908
5094
  ): ResponsePromise<GetMenuCompanyModifierGroupsExportResponse> {
4909
5095
  return this.request(
4910
5096
  "menu",
@@ -4922,7 +5108,12 @@ export class ServiceClient extends BaseServiceClient {
4922
5108
  * @param id - menu; TODO: cannot use compassdigital.id as path parameter
4923
5109
  * @param options - additional request options
4924
5110
  */
4925
- get_menu_export(id: string, options?: RequestOptions): ResponsePromise<GetMenuExportResponse> {
5111
+ get_menu_export(
5112
+ id: string,
5113
+ options?: {
5114
+ query?: GetMenuExportQuery;
5115
+ } & RequestOptions
5116
+ ): ResponsePromise<GetMenuExportResponse> {
4926
5117
  return this.request("menu", "get_menu_export", "get", `/menu/${id}/export`, null, options);
4927
5118
  }
4928
5119
 
@@ -5101,7 +5292,9 @@ export class ServiceClient extends BaseServiceClient {
5101
5292
  * @param options - additional request options
5102
5293
  */
5103
5294
  get_notification_swagger(
5104
- options?: RequestOptions
5295
+ options?: {
5296
+ query?: GetNotificationSwaggerQuery;
5297
+ } & RequestOptions
5105
5298
  ): ResponsePromise<GetNotificationSwaggerResponse> {
5106
5299
  return this.request(
5107
5300
  "notification",
@@ -5210,7 +5403,11 @@ export class ServiceClient extends BaseServiceClient {
5210
5403
  *
5211
5404
  * @param options - additional request options
5212
5405
  */
5213
- get_vendors(options?: RequestOptions): ResponsePromise<GetVendorsResponse> {
5406
+ get_vendors(
5407
+ options?: {
5408
+ query?: GetVendorsQuery;
5409
+ } & RequestOptions
5410
+ ): ResponsePromise<GetVendorsResponse> {
5214
5411
  return this.request("vendor", "get_vendors", "get", `/vendor`, null, options);
5215
5412
  }
5216
5413
 
@@ -5220,7 +5417,12 @@ export class ServiceClient extends BaseServiceClient {
5220
5417
  * @param id - vendor
5221
5418
  * @param options - additional request options
5222
5419
  */
5223
- get_vendor(id: string, options?: RequestOptions): ResponsePromise<GetVendorResponse> {
5420
+ get_vendor(
5421
+ id: string,
5422
+ options?: {
5423
+ query?: GetVendorQuery;
5424
+ } & RequestOptions
5425
+ ): ResponsePromise<GetVendorResponse> {
5224
5426
  return this.request("vendor", "get_vendor", "get", `/vendor/${id}`, null, options);
5225
5427
  }
5226
5428
 
@@ -5244,7 +5446,11 @@ export class ServiceClient extends BaseServiceClient {
5244
5446
  *
5245
5447
  * @param options - additional request options
5246
5448
  */
5247
- get_vendor_auth(options?: RequestOptions): ResponsePromise<GetVendorAuthResponse> {
5449
+ get_vendor_auth(
5450
+ options?: {
5451
+ query?: GetVendorAuthQuery;
5452
+ } & RequestOptions
5453
+ ): ResponsePromise<GetVendorAuthResponse> {
5248
5454
  return this.request("vendor", "get_vendor_auth", "get", `/vendor/auth`, null, options);
5249
5455
  }
5250
5456
 
@@ -5267,7 +5473,12 @@ export class ServiceClient extends BaseServiceClient {
5267
5473
  * @param id - vendor
5268
5474
  * @param options - additional request options
5269
5475
  */
5270
- get_vendor_keys(id: string, options?: RequestOptions): ResponsePromise<GetVendorKeysResponse> {
5476
+ get_vendor_keys(
5477
+ id: string,
5478
+ options?: {
5479
+ query?: GetVendorKeysQuery;
5480
+ } & RequestOptions
5481
+ ): ResponsePromise<GetVendorKeysResponse> {
5271
5482
  return this.request("vendor", "get_vendor_keys", "get", `/vendor/${id}/key`, null, options);
5272
5483
  }
5273
5484
 
@@ -5527,7 +5738,9 @@ export class ServiceClient extends BaseServiceClient {
5527
5738
  */
5528
5739
  get_permission_role_user(
5529
5740
  user_id: string,
5530
- options?: RequestOptions
5741
+ options?: {
5742
+ query?: GetPermissionRoleUserQuery;
5743
+ } & RequestOptions
5531
5744
  ): ResponsePromise<GetPermissionRoleUserResponse> {
5532
5745
  return this.request(
5533
5746
  "permission",
@@ -5639,7 +5852,9 @@ export class ServiceClient extends BaseServiceClient {
5639
5852
  get_loyalty_offers(
5640
5853
  id: string,
5641
5854
  user_id: string,
5642
- options?: RequestOptions
5855
+ options?: {
5856
+ query?: GetLoyaltyOffersQuery;
5857
+ } & RequestOptions
5643
5858
  ): ResponsePromise<GetLoyaltyOffersResponse> {
5644
5859
  return this.request(
5645
5860
  "loyalty",
@@ -5661,7 +5876,9 @@ export class ServiceClient extends BaseServiceClient {
5661
5876
  get_loyalty_enrollmentstatus(
5662
5877
  id: string,
5663
5878
  user_id: string,
5664
- options?: RequestOptions
5879
+ options?: {
5880
+ query?: GetLoyaltyEnrollmentstatusQuery;
5881
+ } & RequestOptions
5665
5882
  ): ResponsePromise<GetLoyaltyEnrollmentstatusResponse> {
5666
5883
  return this.request(
5667
5884
  "loyalty",
@@ -5683,7 +5900,9 @@ export class ServiceClient extends BaseServiceClient {
5683
5900
  get_loyalty_balance(
5684
5901
  id: string,
5685
5902
  user_id: string,
5686
- options?: RequestOptions
5903
+ options?: {
5904
+ query?: GetLoyaltyBalanceQuery;
5905
+ } & RequestOptions
5687
5906
  ): ResponsePromise<GetLoyaltyBalanceResponse> {
5688
5907
  return this.request(
5689
5908
  "loyalty",
@@ -5753,7 +5972,9 @@ export class ServiceClient extends BaseServiceClient {
5753
5972
  get_loyalty_rewards(
5754
5973
  id: string,
5755
5974
  user_id: string,
5756
- options?: RequestOptions
5975
+ options?: {
5976
+ query?: GetLoyaltyRewardsQuery;
5977
+ } & RequestOptions
5757
5978
  ): ResponsePromise<GetLoyaltyRewardsResponse> {
5758
5979
  return this.request(
5759
5980
  "loyalty",
@@ -5775,7 +5996,9 @@ export class ServiceClient extends BaseServiceClient {
5775
5996
  get_loyalty_coupons(
5776
5997
  id: string,
5777
5998
  user_id: string,
5778
- options?: RequestOptions
5999
+ options?: {
6000
+ query?: GetLoyaltyCouponsQuery;
6001
+ } & RequestOptions
5779
6002
  ): ResponsePromise<GetLoyaltyCouponsResponse> {
5780
6003
  return this.request(
5781
6004
  "loyalty",
@@ -5923,7 +6146,9 @@ export class ServiceClient extends BaseServiceClient {
5923
6146
  id: string,
5924
6147
  user_id: string,
5925
6148
  coupon_id: string,
5926
- options?: RequestOptions
6149
+ options?: {
6150
+ query?: GetLoyaltyCouponQuery;
6151
+ } & RequestOptions
5927
6152
  ): ResponsePromise<GetLoyaltyCouponResponse> {
5928
6153
  return this.request(
5929
6154
  "loyalty",