@compassdigital/sdk.typescript 4.417.0 → 4.419.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 (102) hide show
  1. package/lib/base.d.ts +1 -0
  2. package/lib/base.d.ts.map +1 -1
  3. package/lib/base.js +3 -4
  4. package/lib/base.js.map +1 -1
  5. package/lib/index.d.ts +122 -308
  6. package/lib/index.d.ts.map +1 -1
  7. package/lib/index.js +2 -2
  8. package/lib/index.js.map +1 -1
  9. package/lib/interface/announcement.d.ts +1 -5
  10. package/lib/interface/announcement.d.ts.map +1 -1
  11. package/lib/interface/auth.d.ts +0 -8
  12. package/lib/interface/auth.d.ts.map +1 -1
  13. package/lib/interface/calendar.d.ts +3 -14
  14. package/lib/interface/calendar.d.ts.map +1 -1
  15. package/lib/interface/catalog.d.ts +6 -26
  16. package/lib/interface/catalog.d.ts.map +1 -1
  17. package/lib/interface/centricos.d.ts +0 -35
  18. package/lib/interface/centricos.d.ts.map +1 -1
  19. package/lib/interface/compassconnect.d.ts +0 -1
  20. package/lib/interface/compassconnect.d.ts.map +1 -1
  21. package/lib/interface/config.d.ts +5 -17
  22. package/lib/interface/config.d.ts.map +1 -1
  23. package/lib/interface/consumer.d.ts +0 -38
  24. package/lib/interface/consumer.d.ts.map +1 -1
  25. package/lib/interface/datalake.d.ts +2 -5
  26. package/lib/interface/datalake.d.ts.map +1 -1
  27. package/lib/interface/discount.d.ts +0 -7
  28. package/lib/interface/discount.d.ts.map +1 -1
  29. package/lib/interface/forecasting.d.ts +0 -5
  30. package/lib/interface/forecasting.d.ts.map +1 -1
  31. package/lib/interface/frictionless.d.ts +0 -15
  32. package/lib/interface/frictionless.d.ts.map +1 -1
  33. package/lib/interface/kds.d.ts +1 -5
  34. package/lib/interface/kds.d.ts.map +1 -1
  35. package/lib/interface/location.d.ts +5 -25
  36. package/lib/interface/location.d.ts.map +1 -1
  37. package/lib/interface/mealplan.d.ts +2 -9
  38. package/lib/interface/mealplan.d.ts.map +1 -1
  39. package/lib/interface/menu.d.ts +57 -189
  40. package/lib/interface/menu.d.ts.map +1 -1
  41. package/lib/interface/notification.d.ts +1 -5
  42. package/lib/interface/notification.d.ts.map +1 -1
  43. package/lib/interface/order.d.ts +2 -6
  44. package/lib/interface/order.d.ts.map +1 -1
  45. package/lib/interface/partner.d.ts +1 -6
  46. package/lib/interface/partner.d.ts.map +1 -1
  47. package/lib/interface/payment.d.ts +1 -8
  48. package/lib/interface/payment.d.ts.map +1 -1
  49. package/lib/interface/promo.d.ts +1 -7
  50. package/lib/interface/promo.d.ts.map +1 -1
  51. package/lib/interface/report.d.ts +3 -16
  52. package/lib/interface/report.d.ts.map +1 -1
  53. package/lib/interface/review.d.ts +0 -4
  54. package/lib/interface/review.d.ts.map +1 -1
  55. package/lib/interface/search.d.ts +0 -7
  56. package/lib/interface/search.d.ts.map +1 -1
  57. package/lib/interface/shoppingcart.d.ts +4 -16
  58. package/lib/interface/shoppingcart.d.ts.map +1 -1
  59. package/lib/interface/task.d.ts +2 -10
  60. package/lib/interface/task.d.ts.map +1 -1
  61. package/lib/interface/tax.d.ts +0 -3
  62. package/lib/interface/tax.d.ts.map +1 -1
  63. package/lib/interface/timeslots.d.ts +0 -1
  64. package/lib/interface/timeslots.d.ts.map +1 -1
  65. package/lib/interface/user.d.ts +3 -18
  66. package/lib/interface/user.d.ts.map +1 -1
  67. package/lib/interface/vendor.d.ts +5 -22
  68. package/lib/interface/vendor.d.ts.map +1 -1
  69. package/package.json +2 -2
  70. package/pipeline.yml +1 -0
  71. package/src/base.ts +5 -4
  72. package/src/index.ts +96 -442
  73. package/src/interface/announcement.ts +1 -11
  74. package/src/interface/auth.ts +0 -14
  75. package/src/interface/calendar.ts +3 -26
  76. package/src/interface/catalog.ts +6 -47
  77. package/src/interface/centricos.ts +0 -60
  78. package/src/interface/compassconnect.ts +0 -2
  79. package/src/interface/config.ts +5 -33
  80. package/src/interface/consumer.ts +2 -69
  81. package/src/interface/datalake.ts +1 -8
  82. package/src/interface/discount.ts +0 -12
  83. package/src/interface/forecasting.ts +0 -9
  84. package/src/interface/frictionless.ts +0 -25
  85. package/src/interface/kds.ts +1 -8
  86. package/src/interface/location.ts +3 -46
  87. package/src/interface/mealplan.ts +2 -19
  88. package/src/interface/menu.ts +59 -355
  89. package/src/interface/notification.ts +1 -10
  90. package/src/interface/order.ts +2 -10
  91. package/src/interface/partner.ts +1 -12
  92. package/src/interface/payment.ts +1 -17
  93. package/src/interface/promo.ts +1 -14
  94. package/src/interface/report.ts +1 -29
  95. package/src/interface/review.ts +0 -7
  96. package/src/interface/search.ts +0 -13
  97. package/src/interface/shoppingcart.ts +3 -31
  98. package/src/interface/task.ts +2 -19
  99. package/src/interface/tax.ts +0 -5
  100. package/src/interface/timeslots.ts +0 -2
  101. package/src/interface/user.ts +3 -36
  102. package/src/interface/vendor.ts +5 -43
@@ -27,13 +27,6 @@ export interface PostDatalakeSqlRequest extends BaseRequest {
27
27
 
28
28
  // GET /swagger.json
29
29
 
30
- export interface GetDatalakeSwaggerQuery {
31
- // Graphql query string
32
- _query?: string;
33
- }
34
-
35
30
  export type GetDatalakeSwaggerResponse = Record<string, any>;
36
31
 
37
- export interface GetDatalakeSwaggerRequest
38
- extends BaseRequest,
39
- RequestQuery<GetDatalakeSwaggerQuery> {}
32
+ export interface GetDatalakeSwaggerRequest extends BaseRequest {}
@@ -411,11 +411,6 @@ export interface GetDiscountPath {
411
411
  id: string;
412
412
  }
413
413
 
414
- export interface GetDiscountQuery {
415
- // Graphql query string
416
- _query?: string;
417
- }
418
-
419
414
  export type GetDiscountResponse = GetDiscountResponseDTO;
420
415
 
421
416
  // PATCH /discount/{id} - Patch a discount
@@ -442,11 +437,6 @@ export type PutDiscountResponse = PutDiscountResponseDTO;
442
437
 
443
438
  // GET /discount/all - Get all discounts
444
439
 
445
- export interface GetDiscountsAllQuery {
446
- // Graphql query string
447
- _query?: string;
448
- }
449
-
450
440
  export type GetDiscountsAllResponse = GetAllDiscountsResponseDTO;
451
441
 
452
442
  // GET /discount - Get discounts by taxonomy
@@ -455,8 +445,6 @@ export interface GetDiscountsQuery {
455
445
  taxonomyFilter: string;
456
446
  statusFilter?: string;
457
447
  validateSchedule?: boolean;
458
- // Graphql query string
459
- _query?: string;
460
448
  }
461
449
 
462
450
  export type GetDiscountsResponse = GetDiscountsResponseDTO;
@@ -127,8 +127,6 @@ export type ProductionSheetControllerCreateSheetResponse = ProductionSheetRespon
127
127
  export interface ProductionSheetControllerGetScheduledMenuDataQuery {
128
128
  siteId: string;
129
129
  date: string;
130
- // Graphql query string
131
- _query?: string;
132
130
  }
133
131
 
134
132
  export type ProductionSheetControllerGetScheduledMenuDataResponse = {};
@@ -156,19 +154,12 @@ export type ProductionSheetControllerSendChatFeedbackResponse = {};
156
154
 
157
155
  export interface ProductionSheetControllerGetForecastMetaDataQuery {
158
156
  site_id: string;
159
- // Graphql query string
160
- _query?: string;
161
157
  }
162
158
 
163
159
  export type ProductionSheetControllerGetForecastMetaDataResponse = {};
164
160
 
165
161
  // GET /forecasting/status
166
162
 
167
- export interface ProductionSheetControllerServiceStatusQuery {
168
- // Graphql query string
169
- _query?: string;
170
- }
171
-
172
163
  export type ProductionSheetControllerServiceStatusResponse = {};
173
164
 
174
165
  // POST /forecasting/chat-stream - Stream chat responses from Luna for forecasting chat
@@ -200,11 +200,6 @@ export interface GetFrictionlessBrandFrictionlessStatusPath {
200
200
  id_brand: string;
201
201
  }
202
202
 
203
- export interface GetFrictionlessBrandFrictionlessStatusQuery {
204
- // Graphql query string
205
- _query?: string;
206
- }
207
-
208
203
  export type GetFrictionlessBrandFrictionlessStatusResponse = FrictionlessSupportResponseDTO;
209
204
 
210
205
  // POST /frictionless/qrcode - Create Frictionless QR Code to make user able to check in
@@ -219,11 +214,6 @@ export interface GetFrictionlessCheckinStatusPath {
219
214
  id_checkin: string;
220
215
  }
221
216
 
222
- export interface GetFrictionlessCheckinStatusQuery {
223
- // Graphql query string
224
- _query?: string;
225
- }
226
-
227
217
  export type GetFrictionlessCheckinStatusResponse = GetCheckInStatusResponseDTO;
228
218
 
229
219
  // GET /frictionless/checkin/{id_checkin} - Fetch CheckIn
@@ -232,11 +222,6 @@ export interface GetFrictionlessCheckinPath {
232
222
  id_checkin: string;
233
223
  }
234
224
 
235
- export interface GetFrictionlessCheckinQuery {
236
- // Graphql query string
237
- _query?: string;
238
- }
239
-
240
225
  export type GetFrictionlessCheckinResponse = GetCheckinResponseDTO;
241
226
 
242
227
  // GET /frictionless/users/{user_id}/checkins/payment-issues - List check-ins with update payment required per user
@@ -245,20 +230,10 @@ export interface GetFrictionlessUsersPaymentIssuesPath {
245
230
  user_id: string;
246
231
  }
247
232
 
248
- export interface GetFrictionlessUsersPaymentIssuesQuery {
249
- // Graphql query string
250
- _query?: string;
251
- }
252
-
253
233
  export type GetFrictionlessUsersPaymentIssuesResponse = CheckInPaymentRequiredDTO[];
254
234
 
255
235
  // GET /frictionless/failed-checkins - List check-ins on error
256
236
 
257
- export interface GetFrictionlessFailedCheckinsQuery {
258
- // Graphql query string
259
- _query?: string;
260
- }
261
-
262
237
  export type GetFrictionlessFailedCheckinsResponse = FailedCheckInDTO[];
263
238
 
264
239
  // POST /frictionless/checkins/{id_checkin}/reprocess - Reprocess checkin on error
@@ -65,8 +65,6 @@ export interface GetKdsDevicesQuery {
65
65
  unitNumber: string;
66
66
  // Do not return cached device information
67
67
  nocache?: boolean;
68
- // Graphql query string
69
- _query?: string;
70
68
  }
71
69
 
72
70
  export type GetKdsDevicesResponse = Units;
@@ -122,13 +120,8 @@ export interface DeleteKdsDeviceInfoRequest extends BaseRequest, DeleteKdsDevice
122
120
 
123
121
  // GET /kds/swagger.json - Get a swagger for kds service
124
122
 
125
- export interface GetKdsSwaggerQuery {
126
- // Graphql query string
127
- _query?: string;
128
- }
129
-
130
123
  export interface GetKdsSwaggerResponse {
131
124
  [index: string]: any;
132
125
  }
133
126
 
134
- export interface GetKdsSwaggerRequest extends BaseRequest, RequestQuery<GetKdsSwaggerQuery> {}
127
+ export interface GetKdsSwaggerRequest extends BaseRequest {}
@@ -221,6 +221,9 @@ export interface Brand {
221
221
  agilysys_dod?: {
222
222
  enabled?: boolean;
223
223
  };
224
+ transact?: {
225
+ enabled?: boolean;
226
+ };
224
227
  };
225
228
  type_of_kds?: {
226
229
  cdl?: boolean;
@@ -563,8 +566,6 @@ export interface GetLocationSearchQuery {
563
566
  long?: number;
564
567
  // Operation id to be used
565
568
  operation_id?: number;
566
- // Graphql query string
567
- _query?: string;
568
569
  }
569
570
 
570
571
  export type GetLocationSearchResponse = Locations;
@@ -588,8 +589,6 @@ export interface GetLocationQuery {
588
589
  active_cafes?: string[];
589
590
  // show additional hidden properties/entities
590
591
  extended?: boolean;
591
- // Graphql query string
592
- _query?: string;
593
592
  nocache?: boolean;
594
593
  }
595
594
 
@@ -648,8 +647,6 @@ export interface PostLocationBatchGetRequest extends BaseRequest {
648
647
  // GET /location/multigroup - Get all the top level multigroups
649
648
 
650
649
  export interface GetLocationMultigroupsQuery {
651
- // Graphql query string
652
- _query?: string;
653
650
  nocache?: boolean;
654
651
  }
655
652
 
@@ -701,8 +698,6 @@ export interface GetLocationMultigroupQuery {
701
698
  paginate?: boolean;
702
699
  // The last key from the previous response for pagination
703
700
  last_key?: string;
704
- // Graphql query string
705
- _query?: string;
706
701
  nocache?: boolean;
707
702
  }
708
703
 
@@ -757,8 +752,6 @@ export interface GetLocationUserMultigroupPath {
757
752
 
758
753
  export interface GetLocationUserMultigroupQuery {
759
754
  expanded?: boolean;
760
- // Graphql query string
761
- _query?: string;
762
755
  nocache?: boolean;
763
756
  }
764
757
 
@@ -804,8 +797,6 @@ export interface GetLocationGroupQuery {
804
797
  non_scan_go?: boolean;
805
798
  // @deprecated
806
799
  include_estimated_wait_time?: boolean;
807
- // Graphql query string
808
- _query?: string;
809
800
  nocache?: boolean;
810
801
  }
811
802
 
@@ -856,16 +847,10 @@ export interface GetLocationGroupAppThemePath {
856
847
  id: string;
857
848
  }
858
849
 
859
- export interface GetLocationGroupAppThemeQuery {
860
- // Graphql query string
861
- _query?: string;
862
- }
863
-
864
850
  export type GetLocationGroupAppThemeResponse = AppTheme;
865
851
 
866
852
  export interface GetLocationGroupAppThemeRequest
867
853
  extends BaseRequest,
868
- RequestQuery<GetLocationGroupAppThemeQuery>,
869
854
  GetLocationGroupAppThemePath {}
870
855
 
871
856
  // POST /location/group/batch-get - Get multiple location groups by their IDs
@@ -888,8 +873,6 @@ export interface GetLocationGroupWaittimesPath {
888
873
  }
889
874
 
890
875
  export interface GetLocationGroupWaittimesQuery {
891
- // Graphql query string
892
- _query?: string;
893
876
  nocache?: boolean;
894
877
  }
895
878
 
@@ -912,8 +895,6 @@ export interface GetLocationGroupDeliverydestinationsQuery {
912
895
  name?: string;
913
896
  // Only return in-use delivery destinations
914
897
  active?: boolean;
915
- // Graphql query string
916
- _query?: string;
917
898
  }
918
899
 
919
900
  export interface GetLocationGroupDeliverydestinationsResponse {
@@ -996,8 +977,6 @@ export interface GetLocationGroupDeliverydestinationPath {
996
977
  export interface GetLocationGroupDeliverydestinationQuery {
997
978
  // Return only in-use destinations
998
979
  active?: boolean;
999
- // Graphql query string
1000
- _query?: string;
1001
980
  }
1002
981
 
1003
982
  export type GetLocationGroupDeliverydestinationResponse = DeliveryDestination;
@@ -1019,8 +998,6 @@ export interface GetLocationBrandTimeslotsQuery {
1019
998
  date?: number;
1020
999
  // Limit the number of timeslots returned
1021
1000
  limit?: number;
1022
- // Graphql query string
1023
- _query?: string;
1024
1001
  }
1025
1002
 
1026
1003
  export type GetLocationBrandTimeslotsResponse = TimeSlots;
@@ -1082,8 +1059,6 @@ export interface GetLocationBrandMenuTimeslotsQuery {
1082
1059
  date?: number;
1083
1060
  // Limit the number of timeslots returned
1084
1061
  limit?: number;
1085
- // Graphql query string
1086
- _query?: string;
1087
1062
  }
1088
1063
 
1089
1064
  export type GetLocationBrandMenuTimeslotsResponse = TimeSlots;
@@ -1105,8 +1080,6 @@ export interface GetLocationBrandDeliveryTimeslotsQuery {
1105
1080
  date?: number;
1106
1081
  // Limit the number of timeslots returned
1107
1082
  limit?: number;
1108
- // Graphql query string
1109
- _query?: string;
1110
1083
  }
1111
1084
 
1112
1085
  export type GetLocationBrandDeliveryTimeslotsResponse = TimeSlots;
@@ -1130,8 +1103,6 @@ export interface GetLocationBrandMenuDeliveryTimeslostsQuery {
1130
1103
  date?: number;
1131
1104
  // Limit the number of timeslots returned
1132
1105
  limit?: number;
1133
- // Graphql query string
1134
- _query?: string;
1135
1106
  }
1136
1107
 
1137
1108
  export type GetLocationBrandMenuDeliveryTimeslostsResponse = TimeSlots;
@@ -1264,8 +1235,6 @@ export interface PutLocationBrandRequest extends BaseRequest, PutLocationBrandPa
1264
1235
  // GET /location/sector - Get list of all the sectors
1265
1236
 
1266
1237
  export interface GetLocationSectorsQuery {
1267
- // Graphql query string
1268
- _query?: string;
1269
1238
  nocache?: boolean;
1270
1239
  }
1271
1240
 
@@ -1295,8 +1264,6 @@ export interface GetLocationSectorPath {
1295
1264
  export interface GetLocationSectorQuery {
1296
1265
  // Omits nested children of a sector if false
1297
1266
  expanded?: boolean;
1298
- // Graphql query string
1299
- _query?: string;
1300
1267
  nocache?: boolean;
1301
1268
  }
1302
1269
 
@@ -1358,8 +1325,6 @@ export interface GetLocationCompanyPath {
1358
1325
 
1359
1326
  export interface GetLocationCompanyQuery {
1360
1327
  expanded?: boolean;
1361
- // Graphql query string
1362
- _query?: string;
1363
1328
  }
1364
1329
 
1365
1330
  export type GetLocationCompanyResponse = Company;
@@ -1424,8 +1389,6 @@ export interface GetLocationV2GroupsQuery {
1424
1389
  include_hidden?: boolean;
1425
1390
  // Include deleted brands in expanded query
1426
1391
  include_deleted?: boolean;
1427
- // Graphql query string
1428
- _query?: string;
1429
1392
  }
1430
1393
 
1431
1394
  export interface GetLocationV2GroupsResponse {
@@ -1453,16 +1416,10 @@ export interface GetLocationMenuAssociationBrandPath {
1453
1416
  id: string;
1454
1417
  }
1455
1418
 
1456
- export interface GetLocationMenuAssociationBrandQuery {
1457
- // Graphql query string
1458
- _query?: string;
1459
- }
1460
-
1461
1419
  export type GetLocationMenuAssociationBrandResponse = MenuAssociations;
1462
1420
 
1463
1421
  export interface GetLocationMenuAssociationBrandRequest
1464
1422
  extends BaseRequest,
1465
- RequestQuery<GetLocationMenuAssociationBrandQuery>,
1466
1423
  GetLocationMenuAssociationBrandPath {}
1467
1424
 
1468
1425
  // GET /location/menu_association/{id}/menu - Get menu association for a brand
@@ -135,8 +135,6 @@ export interface GetMealplanPath {
135
135
  export interface GetMealplanQuery {
136
136
  // Retrieve all tenders from the get_mealplan call. Defaults to false
137
137
  all_tenders?: boolean;
138
- // Graphql query string
139
- _query?: string;
140
138
  }
141
139
 
142
140
  export type GetMealplanResponse = TendersAndAuth;
@@ -204,17 +202,9 @@ export interface GetMealplanTenderPath {
204
202
  tender: string;
205
203
  }
206
204
 
207
- export interface GetMealplanTenderQuery {
208
- // Graphql query string
209
- _query?: string;
210
- }
211
-
212
205
  export type GetMealplanTenderResponse = Tender;
213
206
 
214
- export interface GetMealplanTenderRequest
215
- extends BaseRequest,
216
- RequestQuery<GetMealplanTenderQuery>,
217
- GetMealplanTenderPath {}
207
+ export interface GetMealplanTenderRequest extends BaseRequest, GetMealplanTenderPath {}
218
208
 
219
209
  // DELETE /mealplan/{id}/tender/{tender} - Debit an amount from the tender balance
220
210
 
@@ -391,18 +381,11 @@ export interface PostMealplanInternalDebitRequest
391
381
 
392
382
  // GET /mealplan/institutions - Get list of institutions
393
383
 
394
- export interface GetMealplanInstitutionsQuery {
395
- // Graphql query string
396
- _query?: string;
397
- }
398
-
399
384
  export interface GetMealplanInstitutionsResponse {
400
385
  institutions?: EAccountInstitutionListResponse;
401
386
  }
402
387
 
403
- export interface GetMealplanInstitutionsRequest
404
- extends BaseRequest,
405
- RequestQuery<GetMealplanInstitutionsQuery> {}
388
+ export interface GetMealplanInstitutionsRequest extends BaseRequest {}
406
389
 
407
390
  // POST /mealplan/{id}/internal/refund - Refund an amount to the tender balance
408
391