@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.
Files changed (68) hide show
  1. package/lib/index.d.ts +176 -72
  2. package/lib/index.d.ts.map +1 -1
  3. package/lib/index.js.map +1 -1
  4. package/lib/interface/announcement.d.ts +6 -1
  5. package/lib/interface/announcement.d.ts.map +1 -1
  6. package/lib/interface/calendar.d.ts +6 -1
  7. package/lib/interface/calendar.d.ts.map +1 -1
  8. package/lib/interface/compassconnect.d.ts +1 -0
  9. package/lib/interface/compassconnect.d.ts.map +1 -1
  10. package/lib/interface/config.d.ts +13 -4
  11. package/lib/interface/config.d.ts.map +1 -1
  12. package/lib/interface/datalake.d.ts +5 -2
  13. package/lib/interface/datalake.d.ts.map +1 -1
  14. package/lib/interface/kds.d.ts +5 -1
  15. package/lib/interface/kds.d.ts.map +1 -1
  16. package/lib/interface/location.d.ts +40 -6
  17. package/lib/interface/location.d.ts.map +1 -1
  18. package/lib/interface/loyalty.d.ts +31 -6
  19. package/lib/interface/loyalty.d.ts.map +1 -1
  20. package/lib/interface/mealplan.d.ts +8 -2
  21. package/lib/interface/mealplan.d.ts.map +1 -1
  22. package/lib/interface/menu.d.ts +39 -8
  23. package/lib/interface/menu.d.ts.map +1 -1
  24. package/lib/interface/notification.d.ts +5 -1
  25. package/lib/interface/notification.d.ts.map +1 -1
  26. package/lib/interface/order.d.ts +13 -2
  27. package/lib/interface/order.d.ts.map +1 -1
  28. package/lib/interface/partner.d.ts +21 -6
  29. package/lib/interface/partner.d.ts.map +1 -1
  30. package/lib/interface/payment.d.ts +13 -2
  31. package/lib/interface/payment.d.ts.map +1 -1
  32. package/lib/interface/permission.d.ts +6 -1
  33. package/lib/interface/permission.d.ts.map +1 -1
  34. package/lib/interface/promo.d.ts +7 -1
  35. package/lib/interface/promo.d.ts.map +1 -1
  36. package/lib/interface/report.d.ts +7 -1
  37. package/lib/interface/report.d.ts.map +1 -1
  38. package/lib/interface/shoppingcart.d.ts +5 -2
  39. package/lib/interface/shoppingcart.d.ts.map +1 -1
  40. package/lib/interface/task.d.ts +15 -3
  41. package/lib/interface/task.d.ts.map +1 -1
  42. package/lib/interface/user.d.ts +14 -2
  43. package/lib/interface/user.d.ts.map +1 -1
  44. package/lib/interface/vendor.d.ts +18 -4
  45. package/lib/interface/vendor.d.ts.map +1 -1
  46. package/package.json +2 -2
  47. package/src/index.ts +258 -52
  48. package/src/interface/announcement.ts +13 -1
  49. package/src/interface/calendar.ts +12 -1
  50. package/src/interface/compassconnect.ts +2 -0
  51. package/src/interface/config.ts +26 -3
  52. package/src/interface/datalake.ts +6 -1
  53. package/src/interface/kds.ts +8 -1
  54. package/src/interface/location.ts +73 -3
  55. package/src/interface/loyalty.ts +65 -5
  56. package/src/interface/mealplan.ts +18 -2
  57. package/src/interface/menu.ts +81 -7
  58. package/src/interface/notification.ts +10 -1
  59. package/src/interface/order.ts +22 -1
  60. package/src/interface/partner.ts +41 -5
  61. package/src/interface/payment.ts +28 -2
  62. package/src/interface/permission.ts +13 -1
  63. package/src/interface/promo.ts +14 -1
  64. package/src/interface/report.ts +12 -0
  65. package/src/interface/shoppingcart.ts +9 -1
  66. package/src/interface/task.ts +30 -3
  67. package/src/interface/user.ts +27 -2
  68. package/src/interface/vendor.ts +34 -4
@@ -305,14 +305,24 @@ export interface GetMenuClientPath {
305
305
  client_id: string;
306
306
  }
307
307
 
308
+ export interface GetMenuClientQuery {
309
+ // Graphql query string
310
+ _query?: string;
311
+ }
312
+
308
313
  export type GetMenuClientResponse = Menus;
309
314
 
310
- export interface GetMenuClientRequest extends BaseRequest, GetMenuClientPath {}
315
+ export interface GetMenuClientRequest
316
+ extends BaseRequest,
317
+ RequestQuery<GetMenuClientQuery>,
318
+ GetMenuClientPath {}
311
319
 
312
320
  // GET /menu - Get Menus or search for Menus
313
321
 
314
322
  export interface GetMenusQuery {
315
323
  query: string;
324
+ // Graphql query string
325
+ _query?: string;
316
326
  }
317
327
 
318
328
  export type GetMenusResponse = Menus;
@@ -357,7 +367,7 @@ export interface GetMenuQuery {
357
367
  extended?: boolean;
358
368
  // Show unlinked groups
359
369
  show_unlinked?: boolean;
360
- // fields to return
370
+ // Graphql query string
361
371
  _query?: string;
362
372
  nocache?: boolean;
363
373
  }
@@ -446,6 +456,8 @@ export interface GetMenuItemPath {
446
456
  }
447
457
 
448
458
  export interface GetMenuItemQuery {
459
+ // Graphql query string
460
+ _query?: string;
449
461
  nocache?: boolean;
450
462
  }
451
463
 
@@ -481,6 +493,8 @@ export interface PostMenuItemRequest extends BaseRequest {
481
493
 
482
494
  export interface GetMenuItemsQuery {
483
495
  query: string;
496
+ // Graphql query string
497
+ _query?: string;
484
498
  }
485
499
 
486
500
  export type GetMenuItemsResponse = Items;
@@ -507,9 +521,17 @@ export interface GetMenuLocationItemsPath {
507
521
  location: string;
508
522
  }
509
523
 
524
+ export interface GetMenuLocationItemsQuery {
525
+ // Graphql query string
526
+ _query?: string;
527
+ }
528
+
510
529
  export type GetMenuLocationItemsResponse = Items;
511
530
 
512
- export interface GetMenuLocationItemsRequest extends BaseRequest, GetMenuLocationItemsPath {}
531
+ export interface GetMenuLocationItemsRequest
532
+ extends BaseRequest,
533
+ RequestQuery<GetMenuLocationItemsQuery>,
534
+ GetMenuLocationItemsPath {}
513
535
 
514
536
  // GET /menu/item/random/location/{location} - Get a random item
515
537
 
@@ -525,6 +547,8 @@ export interface GetMenuLocationItemRandomQuery {
525
547
  is_public?: boolean;
526
548
  // The start of the session, prevents duplicates for any items voted on from the start time.
527
549
  start_time?: number;
550
+ // Graphql query string
551
+ _query?: string;
528
552
  }
529
553
 
530
554
  export type GetMenuLocationItemRandomResponse = Item;
@@ -550,6 +574,8 @@ export interface GetMenuLocationItemsRandomQuery {
550
574
  count?: number;
551
575
  // The start of the session, prevents duplicates for any items voted on from the start time.
552
576
  start_time?: number;
577
+ // Graphql query string
578
+ _query?: string;
553
579
  }
554
580
 
555
581
  export type GetMenuLocationItemsRandomResponse = Items;
@@ -566,9 +592,17 @@ export interface GetMenuSectorMenusPath {
566
592
  sector: string;
567
593
  }
568
594
 
595
+ export interface GetMenuSectorMenusQuery {
596
+ // Graphql query string
597
+ _query?: string;
598
+ }
599
+
569
600
  export type GetMenuSectorMenusResponse = Menus;
570
601
 
571
- export interface GetMenuSectorMenusRequest extends BaseRequest, GetMenuSectorMenusPath {}
602
+ export interface GetMenuSectorMenusRequest
603
+ extends BaseRequest,
604
+ RequestQuery<GetMenuSectorMenusQuery>,
605
+ GetMenuSectorMenusPath {}
572
606
 
573
607
  // GET /menu/company/{company} - Get menus that belong to company
574
608
 
@@ -577,9 +611,17 @@ export interface GetMenuCompanyMenusPath {
577
611
  company: string;
578
612
  }
579
613
 
614
+ export interface GetMenuCompanyMenusQuery {
615
+ // Graphql query string
616
+ _query?: string;
617
+ }
618
+
580
619
  export type GetMenuCompanyMenusResponse = Menus;
581
620
 
582
- export interface GetMenuCompanyMenusRequest extends BaseRequest, GetMenuCompanyMenusPath {}
621
+ export interface GetMenuCompanyMenusRequest
622
+ extends BaseRequest,
623
+ RequestQuery<GetMenuCompanyMenusQuery>,
624
+ GetMenuCompanyMenusPath {}
583
625
 
584
626
  // POST /menu/modifier/group - Create a new Menu Modifier Group
585
627
 
@@ -598,9 +640,17 @@ export interface GetMenuModifierGroupPath {
598
640
  id: string;
599
641
  }
600
642
 
643
+ export interface GetMenuModifierGroupQuery {
644
+ // Graphql query string
645
+ _query?: string;
646
+ }
647
+
601
648
  export type GetMenuModifierGroupResponse = OptionsGroup;
602
649
 
603
- export interface GetMenuModifierGroupRequest extends BaseRequest, GetMenuModifierGroupPath {}
650
+ export interface GetMenuModifierGroupRequest
651
+ extends BaseRequest,
652
+ RequestQuery<GetMenuModifierGroupQuery>,
653
+ GetMenuModifierGroupPath {}
604
654
 
605
655
  // PUT /menu/modifier/group/{id} - Update a Menu Modifier Group
606
656
 
@@ -635,10 +685,16 @@ export interface GetMenuCompanyModifierGroupsPath {
635
685
  company: string;
636
686
  }
637
687
 
688
+ export interface GetMenuCompanyModifierGroupsQuery {
689
+ // Graphql query string
690
+ _query?: string;
691
+ }
692
+
638
693
  export type GetMenuCompanyModifierGroupsResponse = OptionsGroupList;
639
694
 
640
695
  export interface GetMenuCompanyModifierGroupsRequest
641
696
  extends BaseRequest,
697
+ RequestQuery<GetMenuCompanyModifierGroupsQuery>,
642
698
  GetMenuCompanyModifierGroupsPath {}
643
699
 
644
700
  // GET /menu/modifier/group/company/{company}/export - Export company modifier groups to zipped excel file.
@@ -648,10 +704,16 @@ export interface GetMenuCompanyModifierGroupsExportPath {
648
704
  company: string;
649
705
  }
650
706
 
707
+ export interface GetMenuCompanyModifierGroupsExportQuery {
708
+ // Graphql query string
709
+ _query?: string;
710
+ }
711
+
651
712
  export type GetMenuCompanyModifierGroupsExportResponse = ZippedExcelExport;
652
713
 
653
714
  export interface GetMenuCompanyModifierGroupsExportRequest
654
715
  extends BaseRequest,
716
+ RequestQuery<GetMenuCompanyModifierGroupsExportQuery>,
655
717
  GetMenuCompanyModifierGroupsExportPath {}
656
718
 
657
719
  // GET /menu/{id}/export - Export menu set to zipped excel file.
@@ -661,9 +723,17 @@ export interface GetMenuExportPath {
661
723
  id: string;
662
724
  }
663
725
 
726
+ export interface GetMenuExportQuery {
727
+ // Graphql query string
728
+ _query?: string;
729
+ }
730
+
664
731
  export type GetMenuExportResponse = ZippedExcelExport;
665
732
 
666
- export interface GetMenuExportRequest extends BaseRequest, GetMenuExportPath {}
733
+ export interface GetMenuExportRequest
734
+ extends BaseRequest,
735
+ RequestQuery<GetMenuExportQuery>,
736
+ GetMenuExportPath {}
667
737
 
668
738
  // GET /menu/partial/{id}/groups - Get an individual menu with its categories only partially loaded. (No items)
669
739
 
@@ -677,6 +747,8 @@ export interface GetMenuPartialGroupsQuery {
677
747
  extended?: boolean;
678
748
  // Show unlinked groups
679
749
  show_unlinked?: boolean;
750
+ // Graphql query string
751
+ _query?: string;
680
752
  }
681
753
 
682
754
  export type GetMenuPartialGroupsResponse = Menu;
@@ -698,6 +770,8 @@ export interface GetMenuPartialGroupItemsPath {
698
770
  export interface GetMenuPartialGroupItemsQuery {
699
771
  // Show additional fields like hidden menu items, parent_id. Defaults to false
700
772
  extended?: boolean;
773
+ // Graphql query string
774
+ _query?: string;
701
775
  }
702
776
 
703
777
  export type GetMenuPartialGroupItemsResponse = Items;
@@ -46,6 +46,8 @@ export interface GetNotificationsQuery {
46
46
  start?: string;
47
47
  // End date of the notifications. If not provided will default to current date.
48
48
  end?: string;
49
+ // Graphql query string
50
+ _query?: string;
49
51
  }
50
52
 
51
53
  export interface GetNotificationsResponse {
@@ -107,8 +109,15 @@ export interface PostNotificationStatusRequest extends BaseRequest, PostNotifica
107
109
 
108
110
  // GET /notification/swagger.json - Get a swagger for notification service
109
111
 
112
+ export interface GetNotificationSwaggerQuery {
113
+ // Graphql query string
114
+ _query?: string;
115
+ }
116
+
110
117
  export interface GetNotificationSwaggerResponse {
111
118
  [index: string]: any;
112
119
  }
113
120
 
114
- export interface GetNotificationSwaggerRequest extends BaseRequest {}
121
+ export interface GetNotificationSwaggerRequest
122
+ extends BaseRequest,
123
+ RequestQuery<GetNotificationSwaggerQuery> {}
@@ -324,9 +324,14 @@ export interface GetOrderPath {
324
324
  id: string;
325
325
  }
326
326
 
327
+ export interface GetOrderQuery {
328
+ // Graphql query string
329
+ _query?: string;
330
+ }
331
+
327
332
  export type GetOrderResponse = Order;
328
333
 
329
- export interface GetOrderRequest extends BaseRequest, GetOrderPath {}
334
+ export interface GetOrderRequest extends BaseRequest, RequestQuery<GetOrderQuery>, GetOrderPath {}
330
335
 
331
336
  // PUT /order/{id} - Update an individual order
332
337
 
@@ -404,6 +409,8 @@ export interface GetOrderCustomerOrdersQuery {
404
409
  start?: number;
405
410
  // This is the key for which the query will be made. E.g if order_type equals 'delivery', the response will include the results based on delivery
406
411
  order_type?: string;
412
+ // Graphql query string
413
+ _query?: string;
407
414
  }
408
415
 
409
416
  export interface GetOrderCustomerOrdersResponse {
@@ -424,10 +431,16 @@ export interface GetOrderCustomerOrdersBrandPath {
424
431
  location_brand: string;
425
432
  }
426
433
 
434
+ export interface GetOrderCustomerOrdersBrandQuery {
435
+ // Graphql query string
436
+ _query?: string;
437
+ }
438
+
427
439
  export type GetOrderCustomerOrdersBrandResponse = Orders;
428
440
 
429
441
  export interface GetOrderCustomerOrdersBrandRequest
430
442
  extends BaseRequest,
443
+ RequestQuery<GetOrderCustomerOrdersBrandQuery>,
431
444
  GetOrderCustomerOrdersBrandPath {}
432
445
 
433
446
  // GET /order/location/brand/{id} - Get all orders for a location Brand
@@ -454,6 +467,8 @@ export interface GetOrderLocationBrandQuery {
454
467
  limit?: number;
455
468
  // return orders with all status types
456
469
  all_statuses?: boolean;
470
+ // Graphql query string
471
+ _query?: string;
457
472
  }
458
473
 
459
474
  export type GetOrderLocationBrandResponse = Orders;
@@ -485,6 +500,8 @@ export interface GetOrderLocationOrdersQuery {
485
500
  order_type?: string;
486
501
  // List of brands you want orders for inside this location. Example: 616kLp3ADNUE2RO8qqzdto8avzyRrOhXRDW5,or2ayBJePqUP4ORXeeGgTw96vKle47IgemPk
487
502
  brands?: string;
503
+ // Graphql query string
504
+ _query?: string;
488
505
  }
489
506
 
490
507
  export type GetOrderLocationOrdersResponse = Orders;
@@ -514,6 +531,8 @@ export interface GetOrderGroupOrdersQuery {
514
531
  brand?: string;
515
532
  // show additional hidden properties/entities
516
533
  extended?: boolean;
534
+ // Graphql query string
535
+ _query?: string;
517
536
  }
518
537
 
519
538
  export interface GetOrderGroupOrdersResponse {
@@ -541,6 +560,8 @@ export interface GetOrderUserOrdersQuery {
541
560
  end?: number;
542
561
  // show additional hidden properties/entities
543
562
  extended?: boolean;
563
+ // Graphql query string
564
+ _query?: string;
544
565
  }
545
566
 
546
567
  export interface GetOrderUserOrdersResponse {
@@ -703,17 +703,31 @@ export interface PostPartnerStandardcognitionShoppingcartRequest extends BaseReq
703
703
 
704
704
  // GET /partner/standardcognition/locations - Gets the locations where Standard Cognition is available
705
705
 
706
+ export interface GetPartnerStandardcognitionLocationsQuery {
707
+ // Graphql query string
708
+ _query?: string;
709
+ }
710
+
706
711
  export interface GetPartnerStandardcognitionLocationsResponse {
707
712
  groups?: LocationGroup;
708
713
  }
709
714
 
710
- export interface GetPartnerStandardcognitionLocationsRequest extends BaseRequest {}
715
+ export interface GetPartnerStandardcognitionLocationsRequest
716
+ extends BaseRequest,
717
+ RequestQuery<GetPartnerStandardcognitionLocationsQuery> {}
711
718
 
712
719
  // GET /partner/standardcognition/stores - Gets the UUID for all the Standard Cognition external locations
713
720
 
721
+ export interface GetPartnerStandardcognitionStoresQuery {
722
+ // Graphql query string
723
+ _query?: string;
724
+ }
725
+
714
726
  export type GetPartnerStandardcognitionStoresResponse = CognitionStore;
715
727
 
716
- export interface GetPartnerStandardcognitionStoresRequest extends BaseRequest {}
728
+ export interface GetPartnerStandardcognitionStoresRequest
729
+ extends BaseRequest,
730
+ RequestQuery<GetPartnerStandardcognitionStoresQuery> {}
717
731
 
718
732
  // POST /partner/standardcognition/menu - Create new Standard Cognition menu from JSON files
719
733
 
@@ -738,11 +752,18 @@ export interface PostPartnerStandardcognitionMenuRequest extends BaseRequest {
738
752
 
739
753
  // GET /partner/coolr/locations - Gets the locations where Coolr is available
740
754
 
755
+ export interface GetPartnerCoolrLocationsQuery {
756
+ // Graphql query string
757
+ _query?: string;
758
+ }
759
+
741
760
  export interface GetPartnerCoolrLocationsResponse {
742
761
  locations?: CoolrLocations[];
743
762
  }
744
763
 
745
- export interface GetPartnerCoolrLocationsRequest extends BaseRequest {}
764
+ export interface GetPartnerCoolrLocationsRequest
765
+ extends BaseRequest,
766
+ RequestQuery<GetPartnerCoolrLocationsQuery> {}
746
767
 
747
768
  // GET /partner/coolr/{id}/images - Gets the latest images for Coolr Location AssetID
748
769
 
@@ -751,16 +772,31 @@ export interface GetPartnerCoolrImagesPath {
751
772
  id: string;
752
773
  }
753
774
 
775
+ export interface GetPartnerCoolrImagesQuery {
776
+ // Graphql query string
777
+ _query?: string;
778
+ }
779
+
754
780
  export interface GetPartnerCoolrImagesResponse {
755
781
  images?: CoolrImages;
756
782
  }
757
783
 
758
- export interface GetPartnerCoolrImagesRequest extends BaseRequest, GetPartnerCoolrImagesPath {}
784
+ export interface GetPartnerCoolrImagesRequest
785
+ extends BaseRequest,
786
+ RequestQuery<GetPartnerCoolrImagesQuery>,
787
+ GetPartnerCoolrImagesPath {}
759
788
 
760
789
  // GET /partner/swagger.json
761
790
 
791
+ export interface GetPartnerSwaggerQuery {
792
+ // Graphql query string
793
+ _query?: string;
794
+ }
795
+
762
796
  export interface GetPartnerSwaggerResponse {
763
797
  [index: string]: any;
764
798
  }
765
799
 
766
- export interface GetPartnerSwaggerRequest extends BaseRequest {}
800
+ export interface GetPartnerSwaggerRequest
801
+ extends BaseRequest,
802
+ RequestQuery<GetPartnerSwaggerQuery> {}
@@ -192,9 +192,17 @@ export interface GetPaymentClienttokenPath {
192
192
  id: string;
193
193
  }
194
194
 
195
+ export interface GetPaymentClienttokenQuery {
196
+ // Graphql query string
197
+ _query?: string;
198
+ }
199
+
195
200
  export type GetPaymentClienttokenResponse = ClientToken;
196
201
 
197
- export interface GetPaymentClienttokenRequest extends BaseRequest, GetPaymentClienttokenPath {}
202
+ export interface GetPaymentClienttokenRequest
203
+ extends BaseRequest,
204
+ RequestQuery<GetPaymentClienttokenQuery>,
205
+ GetPaymentClienttokenPath {}
198
206
 
199
207
  // POST /payment/{id}/paymenttoken
200
208
 
@@ -267,6 +275,8 @@ export interface GetPaymentMethodPath {
267
275
  export interface GetPaymentMethodQuery {
268
276
  // The user id
269
277
  user_id: string;
278
+ // Graphql query string
279
+ _query?: string;
270
280
  }
271
281
 
272
282
  export interface GetPaymentMethodResponse {
@@ -311,6 +321,8 @@ export interface GetPaymentTokenQuery {
311
321
  terminalId: string;
312
322
  // name on card
313
323
  nameOnCard: string;
324
+ // Graphql query string
325
+ _query?: string;
314
326
  }
315
327
 
316
328
  export type GetPaymentTokenResponse = TokenInformation;
@@ -375,6 +387,8 @@ export interface GetPaymentMethodsQuery {
375
387
  storeId: any[];
376
388
  // FP TerminalId
377
389
  terminalId: string;
390
+ // Graphql query string
391
+ _query?: string;
378
392
  }
379
393
 
380
394
  export interface GetPaymentMethodsResponse {
@@ -393,6 +407,8 @@ export interface GetPaymentHpcQuery {
393
407
  storeId: string;
394
408
  // FP TerminalId
395
409
  terminalId: string;
410
+ // Graphql query string
411
+ _query?: string;
396
412
  }
397
413
 
398
414
  export interface GetPaymentHpcResponse {
@@ -407,6 +423,8 @@ export interface GetPaymentHpcRequest extends BaseRequest, RequestQuery<GetPayme
407
423
  export interface GetPaymentHcaptchaVerifyQuery {
408
424
  // hCaptcha response key
409
425
  responseKey?: string;
426
+ // Graphql query string
427
+ _query?: string;
410
428
  }
411
429
 
412
430
  export interface GetPaymentHcaptchaVerifyResponse {
@@ -424,11 +442,19 @@ export interface GetPaymentBadgepayPath {
424
442
  id: string;
425
443
  }
426
444
 
445
+ export interface GetPaymentBadgepayQuery {
446
+ // Graphql query string
447
+ _query?: string;
448
+ }
449
+
427
450
  export interface GetPaymentBadgepayResponse {
428
451
  tenders?: BadgePayTender[];
429
452
  }
430
453
 
431
- export interface GetPaymentBadgepayRequest extends BaseRequest, GetPaymentBadgepayPath {}
454
+ export interface GetPaymentBadgepayRequest
455
+ extends BaseRequest,
456
+ RequestQuery<GetPaymentBadgepayQuery>,
457
+ GetPaymentBadgepayPath {}
432
458
 
433
459
  // POST /payment/{id}/badgepay
434
460
 
@@ -146,6 +146,8 @@ export interface GetPermissionRoleQuery {
146
146
  status?: string;
147
147
  // Key for pagination, retrieves the next page of items
148
148
  start_at?: string;
149
+ // Graphql query string
150
+ _query?: string;
149
151
  }
150
152
 
151
153
  export type GetPermissionRoleResponse = Roles;
@@ -191,6 +193,8 @@ export interface GetPermissionRecipientPath {
191
193
  export interface GetPermissionRecipientQuery {
192
194
  // Show additional meta fields
193
195
  extended?: boolean;
196
+ // Graphql query string
197
+ _query?: string;
194
198
  }
195
199
 
196
200
  export type GetPermissionRecipientResponse = Permissions;
@@ -207,9 +211,17 @@ export interface GetPermissionRoleUserPath {
207
211
  user_id: string;
208
212
  }
209
213
 
214
+ export interface GetPermissionRoleUserQuery {
215
+ // Graphql query string
216
+ _query?: string;
217
+ }
218
+
210
219
  export type GetPermissionRoleUserResponse = RoleAssignments;
211
220
 
212
- export interface GetPermissionRoleUserRequest extends BaseRequest, GetPermissionRoleUserPath {}
221
+ export interface GetPermissionRoleUserRequest
222
+ extends BaseRequest,
223
+ RequestQuery<GetPermissionRoleUserQuery>,
224
+ GetPermissionRoleUserPath {}
213
225
 
214
226
  // POST /permission/role/user/{user_id} - Assign a role to a user
215
227
 
@@ -257,6 +257,8 @@ export interface PostPromoRequest extends BaseRequest {
257
257
  export interface GetPromosQuery {
258
258
  // Limit to promotions in selected multigroup
259
259
  multigroup?: string;
260
+ // Graphql query string
261
+ _query?: string;
260
262
  }
261
263
 
262
264
  export type GetPromosResponse = Promotions;
@@ -273,6 +275,8 @@ export interface GetPromoPath {
273
275
  export interface GetPromoQuery {
274
276
  // Show all props of the promotion(ex., location_group_ids)
275
277
  extended?: boolean;
278
+ // Graphql query string
279
+ _query?: string;
276
280
  }
277
281
 
278
282
  export type GetPromoResponse = Promotion;
@@ -317,6 +321,8 @@ export interface GetPromoCompanyLocationGroupPath {
317
321
  export interface GetPromoCompanyLocationGroupQuery {
318
322
  // Return only promos of certain status.
319
323
  status?: string;
324
+ // Graphql query string
325
+ _query?: string;
320
326
  nocache?: boolean;
321
327
  }
322
328
 
@@ -446,6 +452,13 @@ export interface PostPromoVoucherifyActivityExecuteRequest extends BaseRequest {
446
452
 
447
453
  // GET /promo/voucherify/activity/config.json - Get SFMC Journey Custom Activity configuration
448
454
 
455
+ export interface GetPromoVoucherifyActivityConfigQuery {
456
+ // Graphql query string
457
+ _query?: string;
458
+ }
459
+
449
460
  export type GetPromoVoucherifyActivityConfigResponse = SFMCConfig;
450
461
 
451
- export interface GetPromoVoucherifyActivityConfigRequest extends BaseRequest {}
462
+ export interface GetPromoVoucherifyActivityConfigRequest
463
+ extends BaseRequest,
464
+ RequestQuery<GetPromoVoucherifyActivityConfigQuery> {}
@@ -319,6 +319,8 @@ export interface GetReportAnalyticsGroupQuery {
319
319
  end_date: string;
320
320
  time_frame: string;
321
321
  order_type?: string;
322
+ // Graphql query string
323
+ _query?: string;
322
324
  }
323
325
 
324
326
  export type GetReportAnalyticsGroupResponse = P2AnalyticsReport;
@@ -341,6 +343,8 @@ export interface GetReportAnalyticsCombinedGroupQuery {
341
343
  end_date: string;
342
344
  time_frame: string;
343
345
  order_type?: string;
346
+ // Graphql query string
347
+ _query?: string;
344
348
  }
345
349
 
346
350
  export type GetReportAnalyticsCombinedGroupResponse = SAReport;
@@ -365,6 +369,8 @@ export interface GetReportEodGroupQuery {
365
369
  format?: string;
366
370
  // Location IDs, comma-separated
367
371
  locations?: string;
372
+ // Graphql query string
373
+ _query?: string;
368
374
  nocache?: boolean;
369
375
  }
370
376
 
@@ -381,10 +387,16 @@ export interface GetReportEodGroupSubscribersPath {
381
387
  id: string;
382
388
  }
383
389
 
390
+ export interface GetReportEodGroupSubscribersQuery {
391
+ // Graphql query string
392
+ _query?: string;
393
+ }
394
+
384
395
  export type GetReportEodGroupSubscribersResponse = EODSubscribers;
385
396
 
386
397
  export interface GetReportEodGroupSubscribersRequest
387
398
  extends BaseRequest,
399
+ RequestQuery<GetReportEodGroupSubscribersQuery>,
388
400
  GetReportEodGroupSubscribersPath {}
389
401
 
390
402
  // POST /report/eod/group/{id}/subscribers - Add emails to selected location group
@@ -319,9 +319,17 @@ export interface GetShoppingcartCartPath {
319
319
  id: string;
320
320
  }
321
321
 
322
+ export interface GetShoppingcartCartQuery {
323
+ // Graphql query string
324
+ _query?: string;
325
+ }
326
+
322
327
  export type GetShoppingcartCartResponse = ShoppingCartResponse;
323
328
 
324
- export interface GetShoppingcartCartRequest extends BaseRequest, GetShoppingcartCartPath {}
329
+ export interface GetShoppingcartCartRequest
330
+ extends BaseRequest,
331
+ RequestQuery<GetShoppingcartCartQuery>,
332
+ GetShoppingcartCartPath {}
325
333
 
326
334
  // PATCH /shoppingcart/{id} - Update a ShoppingCart
327
335