@compassdigital/sdk.typescript 3.19.0 → 3.21.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 (71) hide show
  1. package/lib/interface/announcement.d.ts +7 -7
  2. package/lib/interface/announcement.d.ts.map +1 -1
  3. package/lib/interface/calendar.d.ts +8 -7
  4. package/lib/interface/calendar.d.ts.map +1 -1
  5. package/lib/interface/compassconnect.d.ts +2 -2
  6. package/lib/interface/compassconnect.d.ts.map +1 -1
  7. package/lib/interface/config.d.ts +11 -9
  8. package/lib/interface/config.d.ts.map +1 -1
  9. package/lib/interface/datalake.d.ts +4 -2
  10. package/lib/interface/datalake.d.ts.map +1 -1
  11. package/lib/interface/email.d.ts +2 -1
  12. package/lib/interface/email.d.ts.map +1 -1
  13. package/lib/interface/file.d.ts +3 -2
  14. package/lib/interface/file.d.ts.map +1 -1
  15. package/lib/interface/kds.d.ts +8 -7
  16. package/lib/interface/kds.d.ts.map +1 -1
  17. package/lib/interface/location.d.ts +55 -53
  18. package/lib/interface/location.d.ts.map +1 -1
  19. package/lib/interface/mealplan.d.ts +12 -12
  20. package/lib/interface/mealplan.d.ts.map +1 -1
  21. package/lib/interface/menu.d.ts +27 -27
  22. package/lib/interface/menu.d.ts.map +1 -1
  23. package/lib/interface/notification.d.ts +8 -7
  24. package/lib/interface/notification.d.ts.map +1 -1
  25. package/lib/interface/order.d.ts +15 -15
  26. package/lib/interface/order.d.ts.map +1 -1
  27. package/lib/interface/partner.d.ts +12 -7
  28. package/lib/interface/partner.d.ts.map +1 -1
  29. package/lib/interface/payment.d.ts +15 -15
  30. package/lib/interface/payment.d.ts.map +1 -1
  31. package/lib/interface/permission.d.ts +10 -10
  32. package/lib/interface/permission.d.ts.map +1 -1
  33. package/lib/interface/promo.d.ts +18 -17
  34. package/lib/interface/promo.d.ts.map +1 -1
  35. package/lib/interface/report.d.ts +8 -8
  36. package/lib/interface/report.d.ts.map +1 -1
  37. package/lib/interface/shoppingcart.d.ts +15 -14
  38. package/lib/interface/shoppingcart.d.ts.map +1 -1
  39. package/lib/interface/task.d.ts +11 -11
  40. package/lib/interface/task.d.ts.map +1 -1
  41. package/lib/interface/user.d.ts +31 -29
  42. package/lib/interface/user.d.ts.map +1 -1
  43. package/lib/interface/util.d.ts +19 -0
  44. package/lib/interface/util.d.ts.map +1 -1
  45. package/lib/interface/vendor.d.ts +19 -17
  46. package/lib/interface/vendor.d.ts.map +1 -1
  47. package/package.json +2 -2
  48. package/src/interface/announcement.ts +9 -7
  49. package/src/interface/calendar.ts +11 -7
  50. package/src/interface/compassconnect.ts +3 -2
  51. package/src/interface/config.ts +10 -10
  52. package/src/interface/datalake.ts +3 -3
  53. package/src/interface/email.ts +2 -2
  54. package/src/interface/file.ts +3 -3
  55. package/src/interface/kds.ts +7 -7
  56. package/src/interface/location.ts +92 -53
  57. package/src/interface/mealplan.ts +13 -12
  58. package/src/interface/menu.ts +40 -27
  59. package/src/interface/notification.ts +7 -7
  60. package/src/interface/order.ts +22 -15
  61. package/src/interface/partner.ts +8 -8
  62. package/src/interface/payment.ts +20 -15
  63. package/src/interface/permission.ts +13 -10
  64. package/src/interface/promo.ts +19 -17
  65. package/src/interface/report.ts +18 -8
  66. package/src/interface/shoppingcart.ts +27 -15
  67. package/src/interface/sms.ts +1 -1
  68. package/src/interface/task.ts +14 -11
  69. package/src/interface/user.ts +43 -29
  70. package/src/interface/util.ts +22 -1
  71. package/src/interface/vendor.ts +23 -17
@@ -1,6 +1,6 @@
1
1
  // THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
2
2
 
3
- import { RequestQuery } from "./util";
3
+ import { RequestQuery, BaseRequest } from "./util";
4
4
 
5
5
  export interface Menu {
6
6
  // menu
@@ -307,7 +307,7 @@ export interface GetMenuClientPath {
307
307
 
308
308
  export type GetMenuClientResponse = Menus;
309
309
 
310
- export interface GetMenuClientRequest extends GetMenuClientPath {}
310
+ export interface GetMenuClientRequest extends BaseRequest, GetMenuClientPath {}
311
311
 
312
312
  // GET /menu - Get Menus or search for Menus
313
313
 
@@ -317,7 +317,7 @@ export interface GetMenusQuery {
317
317
 
318
318
  export type GetMenusResponse = Menus;
319
319
 
320
- export interface GetMenusRequest extends RequestQuery<GetMenusQuery> {}
320
+ export interface GetMenusRequest extends BaseRequest, RequestQuery<GetMenusQuery> {}
321
321
 
322
322
  // POST /menu - Create a new Menu
323
323
 
@@ -325,7 +325,7 @@ export type PostMenuBody = Menu;
325
325
 
326
326
  export type PostMenuResponse = Menu;
327
327
 
328
- export interface PostMenuRequest {
328
+ export interface PostMenuRequest extends BaseRequest {
329
329
  body: PostMenuBody;
330
330
  }
331
331
 
@@ -343,7 +343,7 @@ export interface HeadMenuQuery {
343
343
 
344
344
  export type HeadMenuResponse = any;
345
345
 
346
- export interface HeadMenuRequest extends RequestQuery<HeadMenuQuery>, HeadMenuPath {}
346
+ export interface HeadMenuRequest extends BaseRequest, RequestQuery<HeadMenuQuery>, HeadMenuPath {}
347
347
 
348
348
  // GET /menu/{id} - Get an individual Menu
349
349
 
@@ -364,7 +364,7 @@ export interface GetMenuQuery {
364
364
 
365
365
  export type GetMenuResponse = Menu;
366
366
 
367
- export interface GetMenuRequest extends RequestQuery<GetMenuQuery>, GetMenuPath {}
367
+ export interface GetMenuRequest extends BaseRequest, RequestQuery<GetMenuQuery>, GetMenuPath {}
368
368
 
369
369
  // PUT /menu/{id} - Override a complete Menu
370
370
 
@@ -382,7 +382,7 @@ export type PutMenuBody = Menu;
382
382
 
383
383
  export type PutMenuResponse = Menu;
384
384
 
385
- export interface PutMenuRequest extends RequestQuery<PutMenuQuery>, PutMenuPath {
385
+ export interface PutMenuRequest extends BaseRequest, RequestQuery<PutMenuQuery>, PutMenuPath {
386
386
  body: PutMenuBody;
387
387
  }
388
388
 
@@ -400,7 +400,10 @@ export interface DeleteMenuQuery {
400
400
 
401
401
  export type DeleteMenuResponse = Success;
402
402
 
403
- export interface DeleteMenuRequest extends RequestQuery<DeleteMenuQuery>, DeleteMenuPath {}
403
+ export interface DeleteMenuRequest
404
+ extends BaseRequest,
405
+ RequestQuery<DeleteMenuQuery>,
406
+ DeleteMenuPath {}
404
407
 
405
408
  // PATCH /menu/{id} - Update a menu
406
409
 
@@ -418,7 +421,7 @@ export type PatchMenuBody = PatchMenu;
418
421
 
419
422
  export type PatchMenuResponse = Menu;
420
423
 
421
- export interface PatchMenuRequest extends RequestQuery<PatchMenuQuery>, PatchMenuPath {
424
+ export interface PatchMenuRequest extends BaseRequest, RequestQuery<PatchMenuQuery>, PatchMenuPath {
422
425
  body: PatchMenuBody;
423
426
  }
424
427
 
@@ -433,7 +436,7 @@ export interface PostMenuImportMenuBody {
433
436
 
434
437
  export type PostMenuImportMenuResponse = Menu;
435
438
 
436
- export interface PostMenuImportMenuRequest {
439
+ export interface PostMenuImportMenuRequest extends BaseRequest {
437
440
  body: PostMenuImportMenuBody;
438
441
  }
439
442
 
@@ -450,7 +453,10 @@ export interface GetMenuItemQuery {
450
453
 
451
454
  export type GetMenuItemResponse = Item;
452
455
 
453
- export interface GetMenuItemRequest extends RequestQuery<GetMenuItemQuery>, GetMenuItemPath {}
456
+ export interface GetMenuItemRequest
457
+ extends BaseRequest,
458
+ RequestQuery<GetMenuItemQuery>,
459
+ GetMenuItemPath {}
454
460
 
455
461
  // DELETE /menu/item/{id} - Delete a menu item
456
462
 
@@ -461,7 +467,7 @@ export interface DeleteMenuItemPath {
461
467
 
462
468
  export type DeleteMenuItemResponse = Success;
463
469
 
464
- export interface DeleteMenuItemRequest extends DeleteMenuItemPath {}
470
+ export interface DeleteMenuItemRequest extends BaseRequest, DeleteMenuItemPath {}
465
471
 
466
472
  // POST /menu/item - Create a menu item
467
473
 
@@ -469,7 +475,7 @@ export type PostMenuItemBody = Item;
469
475
 
470
476
  export type PostMenuItemResponse = Item;
471
477
 
472
- export interface PostMenuItemRequest {
478
+ export interface PostMenuItemRequest extends BaseRequest {
473
479
  body: PostMenuItemBody;
474
480
  }
475
481
 
@@ -481,7 +487,7 @@ export interface GetMenuItemsQuery {
481
487
 
482
488
  export type GetMenuItemsResponse = Items;
483
489
 
484
- export interface GetMenuItemsRequest extends RequestQuery<GetMenuItemsQuery> {}
490
+ export interface GetMenuItemsRequest extends BaseRequest, RequestQuery<GetMenuItemsQuery> {}
485
491
 
486
492
  // POST /menu/items/import/{location} - trigger import items
487
493
 
@@ -492,7 +498,9 @@ export interface PostMenuImportItemsCanteenPath {
492
498
 
493
499
  export type PostMenuImportItemsCanteenResponse = Success;
494
500
 
495
- export interface PostMenuImportItemsCanteenRequest extends PostMenuImportItemsCanteenPath {}
501
+ export interface PostMenuImportItemsCanteenRequest
502
+ extends BaseRequest,
503
+ PostMenuImportItemsCanteenPath {}
496
504
 
497
505
  // GET /menu/items/location/{location} - Get all menu items for a location
498
506
 
@@ -503,7 +511,7 @@ export interface GetMenuLocationItemsPath {
503
511
 
504
512
  export type GetMenuLocationItemsResponse = Items;
505
513
 
506
- export interface GetMenuLocationItemsRequest extends GetMenuLocationItemsPath {}
514
+ export interface GetMenuLocationItemsRequest extends BaseRequest, GetMenuLocationItemsPath {}
507
515
 
508
516
  // GET /menu/item/random/location/{location} - Get a random item
509
517
 
@@ -524,7 +532,8 @@ export interface GetMenuLocationItemRandomQuery {
524
532
  export type GetMenuLocationItemRandomResponse = Item;
525
533
 
526
534
  export interface GetMenuLocationItemRandomRequest
527
- extends RequestQuery<GetMenuLocationItemRandomQuery>,
535
+ extends BaseRequest,
536
+ RequestQuery<GetMenuLocationItemRandomQuery>,
528
537
  GetMenuLocationItemRandomPath {}
529
538
 
530
539
  // GET /menu/items/random/location/{location} - Get a set of random items
@@ -548,7 +557,8 @@ export interface GetMenuLocationItemsRandomQuery {
548
557
  export type GetMenuLocationItemsRandomResponse = Items;
549
558
 
550
559
  export interface GetMenuLocationItemsRandomRequest
551
- extends RequestQuery<GetMenuLocationItemsRandomQuery>,
560
+ extends BaseRequest,
561
+ RequestQuery<GetMenuLocationItemsRandomQuery>,
552
562
  GetMenuLocationItemsRandomPath {}
553
563
 
554
564
  // GET /menu/sector/{sector} - Get menus that belong to sector
@@ -560,7 +570,7 @@ export interface GetMenuSectorMenusPath {
560
570
 
561
571
  export type GetMenuSectorMenusResponse = Menus;
562
572
 
563
- export interface GetMenuSectorMenusRequest extends GetMenuSectorMenusPath {}
573
+ export interface GetMenuSectorMenusRequest extends BaseRequest, GetMenuSectorMenusPath {}
564
574
 
565
575
  // GET /menu/company/{company} - Get menus that belong to company
566
576
 
@@ -571,7 +581,7 @@ export interface GetMenuCompanyMenusPath {
571
581
 
572
582
  export type GetMenuCompanyMenusResponse = Menus;
573
583
 
574
- export interface GetMenuCompanyMenusRequest extends GetMenuCompanyMenusPath {}
584
+ export interface GetMenuCompanyMenusRequest extends BaseRequest, GetMenuCompanyMenusPath {}
575
585
 
576
586
  // POST /menu/modifier/group - Create a new Menu Modifier Group
577
587
 
@@ -579,7 +589,7 @@ export type PostMenuModifierGroupBody = CreateOptionsGroup;
579
589
 
580
590
  export type PostMenuModifierGroupResponse = OptionsGroup;
581
591
 
582
- export interface PostMenuModifierGroupRequest {
592
+ export interface PostMenuModifierGroupRequest extends BaseRequest {
583
593
  body: PostMenuModifierGroupBody;
584
594
  }
585
595
 
@@ -592,7 +602,7 @@ export interface GetMenuModifierGroupPath {
592
602
 
593
603
  export type GetMenuModifierGroupResponse = OptionsGroup;
594
604
 
595
- export interface GetMenuModifierGroupRequest extends GetMenuModifierGroupPath {}
605
+ export interface GetMenuModifierGroupRequest extends BaseRequest, GetMenuModifierGroupPath {}
596
606
 
597
607
  // PUT /menu/modifier/group/{id} - Update a Menu Modifier Group
598
608
 
@@ -605,7 +615,7 @@ export type PutMenuModifierGroupBody = OptionsGroup;
605
615
 
606
616
  export type PutMenuModifierGroupResponse = OptionsGroup;
607
617
 
608
- export interface PutMenuModifierGroupRequest extends PutMenuModifierGroupPath {
618
+ export interface PutMenuModifierGroupRequest extends BaseRequest, PutMenuModifierGroupPath {
609
619
  body: PutMenuModifierGroupBody;
610
620
  }
611
621
 
@@ -618,7 +628,7 @@ export interface DeleteMenuModifierGroupPath {
618
628
 
619
629
  export type DeleteMenuModifierGroupResponse = Success;
620
630
 
621
- export interface DeleteMenuModifierGroupRequest extends DeleteMenuModifierGroupPath {}
631
+ export interface DeleteMenuModifierGroupRequest extends BaseRequest, DeleteMenuModifierGroupPath {}
622
632
 
623
633
  // GET /menu/modifier/group/company/{company} - Get the modifier groups that belong to company
624
634
 
@@ -629,7 +639,9 @@ export interface GetMenuCompanyModifierGroupsPath {
629
639
 
630
640
  export type GetMenuCompanyModifierGroupsResponse = OptionsGroupList;
631
641
 
632
- export interface GetMenuCompanyModifierGroupsRequest extends GetMenuCompanyModifierGroupsPath {}
642
+ export interface GetMenuCompanyModifierGroupsRequest
643
+ extends BaseRequest,
644
+ GetMenuCompanyModifierGroupsPath {}
633
645
 
634
646
  // GET /menu/modifier/group/company/{company}/export - Export company modifier groups to zipped excel file.
635
647
 
@@ -641,7 +653,8 @@ export interface GetMenuCompanyModifierGroupsExportPath {
641
653
  export type GetMenuCompanyModifierGroupsExportResponse = ZippedExcelExport;
642
654
 
643
655
  export interface GetMenuCompanyModifierGroupsExportRequest
644
- extends GetMenuCompanyModifierGroupsExportPath {}
656
+ extends BaseRequest,
657
+ GetMenuCompanyModifierGroupsExportPath {}
645
658
 
646
659
  // GET /menu/{id}/export - Export menu set to zipped excel file.
647
660
 
@@ -652,4 +665,4 @@ export interface GetMenuExportPath {
652
665
 
653
666
  export type GetMenuExportResponse = ZippedExcelExport;
654
667
 
655
- export interface GetMenuExportRequest extends GetMenuExportPath {}
668
+ export interface GetMenuExportRequest extends BaseRequest, GetMenuExportPath {}
@@ -1,6 +1,6 @@
1
1
  // THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
2
2
 
3
- import { RequestQuery } from "./util";
3
+ import { RequestQuery, BaseRequest } from "./util";
4
4
 
5
5
  export interface Error {
6
6
  error?: string;
@@ -52,7 +52,7 @@ export interface GetNotificationsResponse {
52
52
  notifications?: Notification[];
53
53
  }
54
54
 
55
- export interface GetNotificationsRequest extends RequestQuery<GetNotificationsQuery> {}
55
+ export interface GetNotificationsRequest extends BaseRequest, RequestQuery<GetNotificationsQuery> {}
56
56
 
57
57
  // POST /notification - Create a notification
58
58
 
@@ -60,7 +60,7 @@ export type PostNotificationBody = NotificationBody;
60
60
 
61
61
  export type PostNotificationResponse = Notification;
62
62
 
63
- export interface PostNotificationRequest {
63
+ export interface PostNotificationRequest extends BaseRequest {
64
64
  body: PostNotificationBody;
65
65
  }
66
66
 
@@ -75,7 +75,7 @@ export type PatchNotificationBody = NotificationBody;
75
75
 
76
76
  export type PatchNotificationResponse = Notification;
77
77
 
78
- export interface PatchNotificationRequest extends PatchNotificationPath {
78
+ export interface PatchNotificationRequest extends BaseRequest, PatchNotificationPath {
79
79
  body: PatchNotificationBody;
80
80
  }
81
81
 
@@ -88,7 +88,7 @@ export interface DeleteNotificationPath {
88
88
 
89
89
  export type DeleteNotificationResponse = Success;
90
90
 
91
- export interface DeleteNotificationRequest extends DeleteNotificationPath {}
91
+ export interface DeleteNotificationRequest extends BaseRequest, DeleteNotificationPath {}
92
92
 
93
93
  // POST /notification/{id}/status - Set a notification status for request user
94
94
 
@@ -104,7 +104,7 @@ export interface PostNotificationStatusBody {
104
104
 
105
105
  export type PostNotificationStatusResponse = NotificationStatus;
106
106
 
107
- export interface PostNotificationStatusRequest extends PostNotificationStatusPath {
107
+ export interface PostNotificationStatusRequest extends BaseRequest, PostNotificationStatusPath {
108
108
  body: PostNotificationStatusBody;
109
109
  }
110
110
 
@@ -114,4 +114,4 @@ export interface GetNotificationSwaggerResponse {
114
114
  [index: string]: any;
115
115
  }
116
116
 
117
- export type GetNotificationSwaggerRequest = {};
117
+ export interface GetNotificationSwaggerRequest extends BaseRequest {}
@@ -1,6 +1,6 @@
1
1
  // THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
2
2
 
3
- import { RequestQuery } from "./util";
3
+ import { RequestQuery, BaseRequest } from "./util";
4
4
 
5
5
  export interface CreateOrder {
6
6
  // brand
@@ -291,7 +291,7 @@ export type PostOrderBody = CreateOrder;
291
291
 
292
292
  export type PostOrderResponse = Order;
293
293
 
294
- export interface PostOrderRequest extends RequestQuery<PostOrderQuery> {
294
+ export interface PostOrderRequest extends BaseRequest, RequestQuery<PostOrderQuery> {
295
295
  body: PostOrderBody;
296
296
  }
297
297
 
@@ -304,7 +304,7 @@ export interface GetOrderPath {
304
304
 
305
305
  export type GetOrderResponse = Order;
306
306
 
307
- export interface GetOrderRequest extends GetOrderPath {}
307
+ export interface GetOrderRequest extends BaseRequest, GetOrderPath {}
308
308
 
309
309
  // PUT /order/{id} - Update an individual order
310
310
 
@@ -315,7 +315,7 @@ export interface PutOrderPath {
315
315
 
316
316
  export type PutOrderResponse = Order;
317
317
 
318
- export interface PutOrderRequest extends PutOrderPath {}
318
+ export interface PutOrderRequest extends BaseRequest, PutOrderPath {}
319
319
 
320
320
  // PATCH /order/{id} - Update an existing order
321
321
 
@@ -328,7 +328,7 @@ export type PatchOrderBody = Order;
328
328
 
329
329
  export type PatchOrderResponse = Order;
330
330
 
331
- export interface PatchOrderRequest extends PatchOrderPath {
331
+ export interface PatchOrderRequest extends BaseRequest, PatchOrderPath {
332
332
  body: PatchOrderBody;
333
333
  }
334
334
 
@@ -343,7 +343,7 @@ export type PostOrderIssueBody = OrderIssue;
343
343
 
344
344
  export type PostOrderIssueResponse = Issue;
345
345
 
346
- export interface PostOrderIssueRequest extends PostOrderIssuePath {
346
+ export interface PostOrderIssueRequest extends BaseRequest, PostOrderIssuePath {
347
347
  body: PostOrderIssueBody;
348
348
  }
349
349
 
@@ -358,7 +358,7 @@ export type PatchOrderRefundBody = Refund;
358
358
 
359
359
  export type PatchOrderRefundResponse = Order;
360
360
 
361
- export interface PatchOrderRefundRequest extends PatchOrderRefundPath {
361
+ export interface PatchOrderRefundRequest extends BaseRequest, PatchOrderRefundPath {
362
362
  body: PatchOrderRefundBody;
363
363
  }
364
364
 
@@ -389,7 +389,8 @@ export interface GetOrderCustomerOrdersResponse {
389
389
  }
390
390
 
391
391
  export interface GetOrderCustomerOrdersRequest
392
- extends RequestQuery<GetOrderCustomerOrdersQuery>,
392
+ extends BaseRequest,
393
+ RequestQuery<GetOrderCustomerOrdersQuery>,
393
394
  GetOrderCustomerOrdersPath {}
394
395
 
395
396
  // GET /order/customer/{id}/location/brand/{location_brand} - Get all orders for a Customer for a specific Location Brand
@@ -403,7 +404,9 @@ export interface GetOrderCustomerOrdersBrandPath {
403
404
 
404
405
  export type GetOrderCustomerOrdersBrandResponse = Orders;
405
406
 
406
- export interface GetOrderCustomerOrdersBrandRequest extends GetOrderCustomerOrdersBrandPath {}
407
+ export interface GetOrderCustomerOrdersBrandRequest
408
+ extends BaseRequest,
409
+ GetOrderCustomerOrdersBrandPath {}
407
410
 
408
411
  // GET /order/location/brand/{id} - Get all orders for a location Brand
409
412
 
@@ -432,7 +435,8 @@ export interface GetOrderLocationBrandQuery {
432
435
  export type GetOrderLocationBrandResponse = Orders;
433
436
 
434
437
  export interface GetOrderLocationBrandRequest
435
- extends RequestQuery<GetOrderLocationBrandQuery>,
438
+ extends BaseRequest,
439
+ RequestQuery<GetOrderLocationBrandQuery>,
436
440
  GetOrderLocationBrandPath {}
437
441
 
438
442
  // GET /order/location/{id} - Get all orders for a location
@@ -462,7 +466,8 @@ export interface GetOrderLocationOrdersQuery {
462
466
  export type GetOrderLocationOrdersResponse = Orders;
463
467
 
464
468
  export interface GetOrderLocationOrdersRequest
465
- extends RequestQuery<GetOrderLocationOrdersQuery>,
469
+ extends BaseRequest,
470
+ RequestQuery<GetOrderLocationOrdersQuery>,
466
471
  GetOrderLocationOrdersPath {}
467
472
 
468
473
  // GET /order/location/group/{id} - Get all orders for a location group
@@ -490,7 +495,8 @@ export interface GetOrderGroupOrdersResponse {
490
495
  }
491
496
 
492
497
  export interface GetOrderGroupOrdersRequest
493
- extends RequestQuery<GetOrderGroupOrdersQuery>,
498
+ extends BaseRequest,
499
+ RequestQuery<GetOrderGroupOrdersQuery>,
494
500
  GetOrderGroupOrdersPath {}
495
501
 
496
502
  // GET /order/user/{id} - Get all delivery orders for a User related to the order in the details (Runner)
@@ -514,7 +520,8 @@ export interface GetOrderUserOrdersResponse {
514
520
  }
515
521
 
516
522
  export interface GetOrderUserOrdersRequest
517
- extends RequestQuery<GetOrderUserOrdersQuery>,
523
+ extends BaseRequest,
524
+ RequestQuery<GetOrderUserOrdersQuery>,
518
525
  GetOrderUserOrdersPath {}
519
526
 
520
527
  // PATCH /order/{id}/checkin - Accept an order by checking in
@@ -526,7 +533,7 @@ export interface PatchOrderCheckinPath {
526
533
 
527
534
  export type PatchOrderCheckinResponse = Order;
528
535
 
529
- export interface PatchOrderCheckinRequest extends PatchOrderCheckinPath {}
536
+ export interface PatchOrderCheckinRequest extends BaseRequest, PatchOrderCheckinPath {}
530
537
 
531
538
  // POST /order/apex/sns - Update apex integrated order
532
539
 
@@ -534,6 +541,6 @@ export type PostOrderApexSnsBody = SNSMessage;
534
541
 
535
542
  export type PostOrderApexSnsResponse = ActionResponse;
536
543
 
537
- export interface PostOrderApexSnsRequest {
544
+ export interface PostOrderApexSnsRequest extends BaseRequest {
538
545
  body: PostOrderApexSnsBody;
539
546
  }
@@ -1,6 +1,6 @@
1
1
  // THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
2
2
 
3
- import { RequestQuery } from "./util";
3
+ import { RequestQuery, BaseRequest } from "./util";
4
4
 
5
5
  export interface Error {
6
6
  message?: string;
@@ -707,7 +707,7 @@ export interface PostPartnerStandardcognitionShoppingcartBody {
707
707
 
708
708
  export type PostPartnerStandardcognitionShoppingcartResponse = ShoppingCart;
709
709
 
710
- export interface PostPartnerStandardcognitionShoppingcartRequest {
710
+ export interface PostPartnerStandardcognitionShoppingcartRequest extends BaseRequest {
711
711
  body: PostPartnerStandardcognitionShoppingcartBody;
712
712
  }
713
713
 
@@ -717,13 +717,13 @@ export interface GetPartnerStandardcognitionLocationsResponse {
717
717
  groups?: LocationGroup;
718
718
  }
719
719
 
720
- export type GetPartnerStandardcognitionLocationsRequest = {};
720
+ export interface GetPartnerStandardcognitionLocationsRequest extends BaseRequest {}
721
721
 
722
722
  // GET /partner/standardcognition/stores - Gets the UUID for all the Standard Cognition external locations
723
723
 
724
724
  export type GetPartnerStandardcognitionStoresResponse = CognitionStore;
725
725
 
726
- export type GetPartnerStandardcognitionStoresRequest = {};
726
+ export interface GetPartnerStandardcognitionStoresRequest extends BaseRequest {}
727
727
 
728
728
  // POST /partner/standardcognition/menu - Create new Standard Cognition menu from JSON files
729
729
 
@@ -742,7 +742,7 @@ export interface PostPartnerStandardcognitionMenuBody {
742
742
 
743
743
  export type PostPartnerStandardcognitionMenuResponse = Menu;
744
744
 
745
- export interface PostPartnerStandardcognitionMenuRequest {
745
+ export interface PostPartnerStandardcognitionMenuRequest extends BaseRequest {
746
746
  body: PostPartnerStandardcognitionMenuBody;
747
747
  }
748
748
 
@@ -752,7 +752,7 @@ export interface GetPartnerCoolrLocationsResponse {
752
752
  locations?: CoolrLocations[];
753
753
  }
754
754
 
755
- export type GetPartnerCoolrLocationsRequest = {};
755
+ export interface GetPartnerCoolrLocationsRequest extends BaseRequest {}
756
756
 
757
757
  // GET /partner/coolr/{id}/images - Gets the latest images for Coolr Location AssetID
758
758
 
@@ -765,7 +765,7 @@ export interface GetPartnerCoolrImagesResponse {
765
765
  images?: CoolrImages;
766
766
  }
767
767
 
768
- export interface GetPartnerCoolrImagesRequest extends GetPartnerCoolrImagesPath {}
768
+ export interface GetPartnerCoolrImagesRequest extends BaseRequest, GetPartnerCoolrImagesPath {}
769
769
 
770
770
  // GET /partner/swagger.json
771
771
 
@@ -773,4 +773,4 @@ export interface GetPartnerSwaggerResponse {
773
773
  [index: string]: any;
774
774
  }
775
775
 
776
- export type GetPartnerSwaggerRequest = {};
776
+ export interface GetPartnerSwaggerRequest extends BaseRequest {}
@@ -1,6 +1,6 @@
1
1
  // THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
2
2
 
3
- import { RequestQuery } from "./util";
3
+ import { RequestQuery, BaseRequest } from "./util";
4
4
 
5
5
  export interface Transaction {
6
6
  success?: boolean;
@@ -145,7 +145,7 @@ export interface PostPaymentTransactionBody {
145
145
 
146
146
  export type PostPaymentTransactionResponse = Transaction;
147
147
 
148
- export interface PostPaymentTransactionRequest extends PostPaymentTransactionPath {
148
+ export interface PostPaymentTransactionRequest extends BaseRequest, PostPaymentTransactionPath {
149
149
  body: PostPaymentTransactionBody;
150
150
  }
151
151
 
@@ -171,7 +171,9 @@ export interface PostPaymentTransactionRefundBody {
171
171
 
172
172
  export type PostPaymentTransactionRefundResponse = Refund;
173
173
 
174
- export interface PostPaymentTransactionRefundRequest extends PostPaymentTransactionRefundPath {
174
+ export interface PostPaymentTransactionRefundRequest
175
+ extends BaseRequest,
176
+ PostPaymentTransactionRefundPath {
175
177
  body: PostPaymentTransactionRefundBody;
176
178
  }
177
179
 
@@ -184,7 +186,7 @@ export interface GetPaymentClienttokenPath {
184
186
 
185
187
  export type GetPaymentClienttokenResponse = ClientToken;
186
188
 
187
- export interface GetPaymentClienttokenRequest extends GetPaymentClienttokenPath {}
189
+ export interface GetPaymentClienttokenRequest extends BaseRequest, GetPaymentClienttokenPath {}
188
190
 
189
191
  // POST /payment/{id}/paymenttoken
190
192
 
@@ -214,7 +216,7 @@ export interface PostPaymentPaymenttokenBody {
214
216
 
215
217
  export type PostPaymentPaymenttokenResponse = PaymentMethod;
216
218
 
217
- export interface PostPaymentPaymenttokenRequest extends PostPaymentPaymenttokenPath {
219
+ export interface PostPaymentPaymenttokenRequest extends BaseRequest, PostPaymentPaymenttokenPath {
218
220
  body: PostPaymentPaymenttokenBody;
219
221
  }
220
222
 
@@ -227,7 +229,7 @@ export interface PostPaymentConsumerBody {
227
229
 
228
230
  export type PostPaymentConsumerResponse = ConsumerId;
229
231
 
230
- export interface PostPaymentConsumerRequest {
232
+ export interface PostPaymentConsumerRequest extends BaseRequest {
231
233
  body: PostPaymentConsumerBody;
232
234
  }
233
235
 
@@ -244,7 +246,7 @@ export interface PostPaymentMethodResponse {
244
246
  payment_method?: PaymentMethod;
245
247
  }
246
248
 
247
- export interface PostPaymentMethodRequest {
249
+ export interface PostPaymentMethodRequest extends BaseRequest {
248
250
  body: PostPaymentMethodBody;
249
251
  }
250
252
 
@@ -265,7 +267,8 @@ export interface GetPaymentMethodResponse {
265
267
  }
266
268
 
267
269
  export interface GetPaymentMethodRequest
268
- extends RequestQuery<GetPaymentMethodQuery>,
270
+ extends BaseRequest,
271
+ RequestQuery<GetPaymentMethodQuery>,
269
272
  GetPaymentMethodPath {}
270
273
 
271
274
  // DELETE /payment/{id}/method/{method_id}
@@ -284,7 +287,7 @@ export interface DeletePaymentMethodBody {
284
287
 
285
288
  export type DeletePaymentMethodResponse = Success;
286
289
 
287
- export interface DeletePaymentMethodRequest extends DeletePaymentMethodPath {
290
+ export interface DeletePaymentMethodRequest extends BaseRequest, DeletePaymentMethodPath {
288
291
  body: DeletePaymentMethodBody;
289
292
  }
290
293
 
@@ -305,7 +308,7 @@ export interface GetPaymentTokenQuery {
305
308
 
306
309
  export type GetPaymentTokenResponse = TokenInformation;
307
310
 
308
- export interface GetPaymentTokenRequest extends RequestQuery<GetPaymentTokenQuery> {}
311
+ export interface GetPaymentTokenRequest extends BaseRequest, RequestQuery<GetPaymentTokenQuery> {}
309
312
 
310
313
  // POST /payment/token
311
314
 
@@ -322,7 +325,7 @@ export interface PostPaymentTokenBody {
322
325
 
323
326
  export type PostPaymentTokenResponse = PaymentCard;
324
327
 
325
- export interface PostPaymentTokenRequest {
328
+ export interface PostPaymentTokenRequest extends BaseRequest {
326
329
  body: PostPaymentTokenBody;
327
330
  }
328
331
 
@@ -339,7 +342,7 @@ export interface PutPaymentTokenBody {
339
342
 
340
343
  export type PutPaymentTokenResponse = PaymentCard;
341
344
 
342
- export interface PutPaymentTokenRequest {
345
+ export interface PutPaymentTokenRequest extends BaseRequest {
343
346
  body: PutPaymentTokenBody;
344
347
  }
345
348
 
@@ -356,7 +359,7 @@ export interface DeletePaymentTokenBody {
356
359
 
357
360
  export type DeletePaymentTokenResponse = Success;
358
361
 
359
- export interface DeletePaymentTokenRequest {
362
+ export interface DeletePaymentTokenRequest extends BaseRequest {
360
363
  body: DeletePaymentTokenBody;
361
364
  }
362
365
 
@@ -374,7 +377,9 @@ export interface GetPaymentMethodsResponse {
374
377
  recordsTotal?: number;
375
378
  }
376
379
 
377
- export interface GetPaymentMethodsRequest extends RequestQuery<GetPaymentMethodsQuery> {}
380
+ export interface GetPaymentMethodsRequest
381
+ extends BaseRequest,
382
+ RequestQuery<GetPaymentMethodsQuery> {}
378
383
 
379
384
  // GET /payment/hpc
380
385
 
@@ -390,4 +395,4 @@ export interface GetPaymentHpcResponse {
390
395
  sessionKey?: string;
391
396
  }
392
397
 
393
- export interface GetPaymentHpcRequest extends RequestQuery<GetPaymentHpcQuery> {}
398
+ export interface GetPaymentHpcRequest extends BaseRequest, RequestQuery<GetPaymentHpcQuery> {}