@compassdigital/sdk.typescript 4.416.0 → 4.418.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +121 -307
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/interface/announcement.d.ts +1 -5
- package/lib/interface/announcement.d.ts.map +1 -1
- package/lib/interface/auth.d.ts +0 -8
- package/lib/interface/auth.d.ts.map +1 -1
- package/lib/interface/calendar.d.ts +3 -14
- package/lib/interface/calendar.d.ts.map +1 -1
- package/lib/interface/catalog.d.ts +6 -26
- package/lib/interface/catalog.d.ts.map +1 -1
- package/lib/interface/centricos.d.ts +0 -35
- package/lib/interface/centricos.d.ts.map +1 -1
- package/lib/interface/compassconnect.d.ts +0 -1
- package/lib/interface/compassconnect.d.ts.map +1 -1
- package/lib/interface/config.d.ts +5 -17
- package/lib/interface/config.d.ts.map +1 -1
- package/lib/interface/consumer.d.ts +2 -40
- package/lib/interface/consumer.d.ts.map +1 -1
- package/lib/interface/datalake.d.ts +2 -5
- package/lib/interface/datalake.d.ts.map +1 -1
- package/lib/interface/discount.d.ts +0 -7
- package/lib/interface/discount.d.ts.map +1 -1
- package/lib/interface/forecasting.d.ts +0 -5
- package/lib/interface/forecasting.d.ts.map +1 -1
- package/lib/interface/frictionless.d.ts +0 -15
- package/lib/interface/frictionless.d.ts.map +1 -1
- package/lib/interface/kds.d.ts +1 -5
- package/lib/interface/kds.d.ts.map +1 -1
- package/lib/interface/location.d.ts +2 -25
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/mealplan.d.ts +2 -9
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +42 -189
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/notification.d.ts +1 -5
- package/lib/interface/notification.d.ts.map +1 -1
- package/lib/interface/order.d.ts +2 -6
- package/lib/interface/order.d.ts.map +1 -1
- package/lib/interface/partner.d.ts +1 -6
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/payment.d.ts +1 -8
- package/lib/interface/payment.d.ts.map +1 -1
- package/lib/interface/promo.d.ts +1 -7
- package/lib/interface/promo.d.ts.map +1 -1
- package/lib/interface/report.d.ts +3 -16
- package/lib/interface/report.d.ts.map +1 -1
- package/lib/interface/review.d.ts +0 -4
- package/lib/interface/review.d.ts.map +1 -1
- package/lib/interface/search.d.ts +0 -7
- package/lib/interface/search.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +4 -16
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/lib/interface/task.d.ts +2 -10
- package/lib/interface/task.d.ts.map +1 -1
- package/lib/interface/tax.d.ts +0 -3
- package/lib/interface/tax.d.ts.map +1 -1
- package/lib/interface/timeslots.d.ts +0 -1
- package/lib/interface/timeslots.d.ts.map +1 -1
- package/lib/interface/user.d.ts +3 -18
- package/lib/interface/user.d.ts.map +1 -1
- package/lib/interface/vendor.d.ts +5 -22
- package/lib/interface/vendor.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +94 -440
- package/src/interface/announcement.ts +1 -11
- package/src/interface/auth.ts +0 -14
- package/src/interface/calendar.ts +3 -26
- package/src/interface/catalog.ts +6 -47
- package/src/interface/centricos.ts +0 -60
- package/src/interface/compassconnect.ts +0 -2
- package/src/interface/config.ts +4 -32
- package/src/interface/consumer.ts +10 -73
- package/src/interface/datalake.ts +1 -8
- package/src/interface/discount.ts +0 -12
- package/src/interface/forecasting.ts +0 -9
- package/src/interface/frictionless.ts +0 -25
- package/src/interface/kds.ts +1 -8
- package/src/interface/location.ts +0 -46
- package/src/interface/mealplan.ts +2 -19
- package/src/interface/menu.ts +38 -355
- package/src/interface/notification.ts +1 -10
- package/src/interface/order.ts +2 -10
- package/src/interface/partner.ts +1 -12
- package/src/interface/payment.ts +1 -17
- package/src/interface/promo.ts +1 -14
- package/src/interface/report.ts +1 -29
- package/src/interface/review.ts +0 -7
- package/src/interface/search.ts +0 -13
- package/src/interface/shoppingcart.ts +3 -31
- package/src/interface/task.ts +2 -19
- package/src/interface/tax.ts +0 -5
- package/src/interface/timeslots.ts +0 -2
- package/src/interface/user.ts +3 -36
- package/src/interface/vendor.ts +5 -43
|
@@ -1176,11 +1176,17 @@ export interface ConsumerLocationMarketPlace {
|
|
|
1176
1176
|
}
|
|
1177
1177
|
|
|
1178
1178
|
export interface ConsumerAddress {
|
|
1179
|
+
// Suite number of the address, if applicable
|
|
1179
1180
|
suite?: string;
|
|
1181
|
+
// First line of the address, should include street number
|
|
1180
1182
|
address?: string;
|
|
1183
|
+
// City of the address
|
|
1181
1184
|
city?: string;
|
|
1185
|
+
// State of the address, also province in Canada
|
|
1182
1186
|
state?: string;
|
|
1187
|
+
// Country of the address
|
|
1183
1188
|
country?: string;
|
|
1189
|
+
// Zip code or postal code of the address
|
|
1184
1190
|
zip?: string;
|
|
1185
1191
|
coordinates?: {
|
|
1186
1192
|
latitude?: number;
|
|
@@ -1485,10 +1491,6 @@ export interface GetConsumerLocationGroupResponse {
|
|
|
1485
1491
|
};
|
|
1486
1492
|
// distance in meters from the group
|
|
1487
1493
|
distance?: number;
|
|
1488
|
-
// list of locations
|
|
1489
|
-
locations?: Record<string, any>[];
|
|
1490
|
-
// location address
|
|
1491
|
-
address?: Record<string, any>;
|
|
1492
1494
|
// meta data
|
|
1493
1495
|
meta?: Record<string, any>;
|
|
1494
1496
|
style?: {
|
|
@@ -1498,6 +1500,8 @@ export interface GetConsumerLocationGroupResponse {
|
|
|
1498
1500
|
};
|
|
1499
1501
|
// timezone
|
|
1500
1502
|
timezone?: string;
|
|
1503
|
+
locations?: ConsumerLocation[];
|
|
1504
|
+
address?: ConsumerAddress;
|
|
1501
1505
|
}
|
|
1502
1506
|
|
|
1503
1507
|
export interface GetConsumerLocationMultiGroupResponse {
|
|
@@ -3299,11 +3303,6 @@ export interface OpenAiChatResponse {
|
|
|
3299
3303
|
|
|
3300
3304
|
// GET /consumer/v1/health-check
|
|
3301
3305
|
|
|
3302
|
-
export interface HealthCheckControllerExecuteQuery {
|
|
3303
|
-
// Graphql query string
|
|
3304
|
-
_query?: string;
|
|
3305
|
-
}
|
|
3306
|
-
|
|
3307
3306
|
export type HealthCheckControllerExecuteResponse = {};
|
|
3308
3307
|
|
|
3309
3308
|
// GET /consumer/v1/payment-methods - List payment methods available in a given brand
|
|
@@ -3313,8 +3312,6 @@ export interface GetPaymentListByBrandQuery {
|
|
|
3313
3312
|
brandID?: string;
|
|
3314
3313
|
// Site ID as Encoded CDL ID
|
|
3315
3314
|
siteID?: string;
|
|
3316
|
-
// Graphql query string
|
|
3317
|
-
_query?: string;
|
|
3318
3315
|
}
|
|
3319
3316
|
|
|
3320
3317
|
export type GetPaymentListByBrandResponse = ListAvailablePaymentsResponseDTO;
|
|
@@ -3331,8 +3328,6 @@ export interface GetCustomerOrdersQuery {
|
|
|
3331
3328
|
start?: number;
|
|
3332
3329
|
// Filter orders by their requested date. Only return orders that have a date less than or equal to the date. Default is 24 hours from the current time in milliseconds. Please ensure to use a millisecond timestamp, not just an epoch timestamp
|
|
3333
3330
|
end?: number;
|
|
3334
|
-
// Graphql query string
|
|
3335
|
-
_query?: string;
|
|
3336
3331
|
}
|
|
3337
3332
|
|
|
3338
3333
|
export type GetCustomerOrdersResponse = GetCustomerOrdersResponseDTO;
|
|
@@ -3378,8 +3373,6 @@ export interface GetConsumerHomePageQuery {
|
|
|
3378
3373
|
timezoneOffset: string;
|
|
3379
3374
|
// reorder eligible
|
|
3380
3375
|
reorderEligible: boolean;
|
|
3381
|
-
// Graphql query string
|
|
3382
|
-
_query?: string;
|
|
3383
3376
|
}
|
|
3384
3377
|
|
|
3385
3378
|
export type GetConsumerHomePageResponse = HomePageResponse;
|
|
@@ -3390,11 +3383,6 @@ export interface GetConsumerFrictionlessCheckinPath {
|
|
|
3390
3383
|
id: string;
|
|
3391
3384
|
}
|
|
3392
3385
|
|
|
3393
|
-
export interface GetConsumerFrictionlessCheckinQuery {
|
|
3394
|
-
// Graphql query string
|
|
3395
|
-
_query?: string;
|
|
3396
|
-
}
|
|
3397
|
-
|
|
3398
3386
|
export type GetConsumerFrictionlessCheckinResponse = FrictionlessCheckinResponse;
|
|
3399
3387
|
|
|
3400
3388
|
// POST /consumer/frictionless/qrCode - Create a QR code for a frictionless checkin
|
|
@@ -3450,7 +3438,7 @@ export interface GetConsumerLocationGroupQuery {
|
|
|
3450
3438
|
non_scan_go?: boolean;
|
|
3451
3439
|
// Include estimated wait time
|
|
3452
3440
|
include_estimated_wait_time?: boolean;
|
|
3453
|
-
// Graphql query
|
|
3441
|
+
// Graphql query
|
|
3454
3442
|
_query?: string;
|
|
3455
3443
|
// Latitude of the user
|
|
3456
3444
|
nocache?: boolean;
|
|
@@ -3484,7 +3472,6 @@ export interface GetConsumerLocationMultigroupQuery {
|
|
|
3484
3472
|
non_market_places?: boolean;
|
|
3485
3473
|
// Non scan go
|
|
3486
3474
|
non_scan_go?: boolean;
|
|
3487
|
-
// Graphql query string
|
|
3488
3475
|
_query?: string;
|
|
3489
3476
|
nocache?: boolean;
|
|
3490
3477
|
}
|
|
@@ -3507,8 +3494,6 @@ export interface GetConsumerActiveMenusQuery {
|
|
|
3507
3494
|
isPickUp?: boolean;
|
|
3508
3495
|
// is drop off
|
|
3509
3496
|
isDropOff?: boolean;
|
|
3510
|
-
// Graphql query string
|
|
3511
|
-
_query?: string;
|
|
3512
3497
|
}
|
|
3513
3498
|
|
|
3514
3499
|
export type GetConsumerActiveMenusResponse = ConsumerGetActiveMenusResponse;
|
|
@@ -3523,8 +3508,6 @@ export interface GetConsumerMenuRecommendedItemsPath {
|
|
|
3523
3508
|
export interface GetConsumerMenuRecommendedItemsQuery {
|
|
3524
3509
|
// Comma-separated list of item IDs to exclude from recommendations
|
|
3525
3510
|
excludedItems?: string;
|
|
3526
|
-
// Graphql query string
|
|
3527
|
-
_query?: string;
|
|
3528
3511
|
}
|
|
3529
3512
|
|
|
3530
3513
|
export type GetConsumerMenuRecommendedItemsResponse$0 = GetConsumerMenuRecommendedItemsResponse;
|
|
@@ -3536,11 +3519,6 @@ export interface GetConsumerMenuPath {
|
|
|
3536
3519
|
id: string;
|
|
3537
3520
|
}
|
|
3538
3521
|
|
|
3539
|
-
export interface GetConsumerMenuQuery {
|
|
3540
|
-
// Graphql query string
|
|
3541
|
-
_query?: string;
|
|
3542
|
-
}
|
|
3543
|
-
|
|
3544
3522
|
export type GetConsumerMenuResponse = GetMenuResponseConsumer;
|
|
3545
3523
|
|
|
3546
3524
|
// GET /consumer/menu/{id}/items - Provide the front end with menu items
|
|
@@ -3557,8 +3535,6 @@ export interface GetConsumerMenuItemsQuery {
|
|
|
3557
3535
|
brand_id: string;
|
|
3558
3536
|
// GraphQL query
|
|
3559
3537
|
query: string;
|
|
3560
|
-
// Graphql query string
|
|
3561
|
-
_query?: string;
|
|
3562
3538
|
}
|
|
3563
3539
|
|
|
3564
3540
|
export type GetConsumerMenuItemsResponse$0 = GetConsumerMenuItemsResponse;
|
|
@@ -3626,11 +3602,6 @@ export interface GetConsumerUserPath {
|
|
|
3626
3602
|
id: string;
|
|
3627
3603
|
}
|
|
3628
3604
|
|
|
3629
|
-
export interface GetConsumerUserQuery {
|
|
3630
|
-
// Graphql query string
|
|
3631
|
-
_query?: string;
|
|
3632
|
-
}
|
|
3633
|
-
|
|
3634
3605
|
export type GetConsumerUserResponse$0 = GetConsumerUserResponse;
|
|
3635
3606
|
|
|
3636
3607
|
// DELETE /consumer/user/logout - Delete user
|
|
@@ -3684,11 +3655,6 @@ export interface GetConsumerShoppingcartPath {
|
|
|
3684
3655
|
id: string;
|
|
3685
3656
|
}
|
|
3686
3657
|
|
|
3687
|
-
export interface GetConsumerShoppingcartQuery {
|
|
3688
|
-
// Graphql query string
|
|
3689
|
-
_query?: string;
|
|
3690
|
-
}
|
|
3691
|
-
|
|
3692
3658
|
export type GetConsumerShoppingcartResponse = GetConsumerShoppingCartResponse;
|
|
3693
3659
|
|
|
3694
3660
|
// PUT /consumer/shoppingcart/{id} - Update a shopping cart by ID
|
|
@@ -3767,11 +3733,6 @@ export interface GetMealplanConsumerPath {
|
|
|
3767
3733
|
mealplanId: string;
|
|
3768
3734
|
}
|
|
3769
3735
|
|
|
3770
|
-
export interface GetMealplanConsumerQuery {
|
|
3771
|
-
// Graphql query string
|
|
3772
|
-
_query?: string;
|
|
3773
|
-
}
|
|
3774
|
-
|
|
3775
3736
|
export type GetMealplanConsumerResponse = ConsumerGetMealplanResponse;
|
|
3776
3737
|
|
|
3777
3738
|
// POST /consumer/mealplan/{mealplanId} - add mealplan
|
|
@@ -3814,11 +3775,6 @@ export interface GetConsumerConfigAppconfigPath {
|
|
|
3814
3775
|
app: string;
|
|
3815
3776
|
}
|
|
3816
3777
|
|
|
3817
|
-
export interface GetConsumerConfigAppconfigQuery {
|
|
3818
|
-
// Graphql query string
|
|
3819
|
-
_query?: string;
|
|
3820
|
-
}
|
|
3821
|
-
|
|
3822
3778
|
export type GetConsumerConfigAppconfigResponse = GetConsumerAppConfigResponse;
|
|
3823
3779
|
|
|
3824
3780
|
// PATCH /consumer/order/{orderId}/checkin - Patch checkin customer order
|
|
@@ -3836,11 +3792,6 @@ export interface GetConsumerAppThemePath {
|
|
|
3836
3792
|
siteId: string;
|
|
3837
3793
|
}
|
|
3838
3794
|
|
|
3839
|
-
export interface GetConsumerAppThemeQuery {
|
|
3840
|
-
// Graphql query string
|
|
3841
|
-
_query?: string;
|
|
3842
|
-
}
|
|
3843
|
-
|
|
3844
3795
|
export type GetConsumerAppThemeResponse = GetAppThemeResponse;
|
|
3845
3796
|
|
|
3846
3797
|
// GET /consumer/location/brand/{brandId}/timeslots/menu/{menuId} - Get location brand menu timeslots
|
|
@@ -3855,8 +3806,6 @@ export interface GetConsumerBrandMenuTimeslotsPath {
|
|
|
3855
3806
|
export interface GetConsumerBrandMenuTimeslotsQuery {
|
|
3856
3807
|
// Date in milliseconds
|
|
3857
3808
|
date: number;
|
|
3858
|
-
// Graphql query string
|
|
3859
|
-
_query?: string;
|
|
3860
3809
|
}
|
|
3861
3810
|
|
|
3862
3811
|
export type GetConsumerBrandMenuTimeslotsResponse = GetConsumerLocationBrandMenuTimeslotsResponse;
|
|
@@ -3873,8 +3822,6 @@ export interface GetConsumerBrandMenuDeliveryTimeslotsPath {
|
|
|
3873
3822
|
export interface GetConsumerBrandMenuDeliveryTimeslotsQuery {
|
|
3874
3823
|
// Date in milliseconds
|
|
3875
3824
|
date: number;
|
|
3876
|
-
// Graphql query string
|
|
3877
|
-
_query?: string;
|
|
3878
3825
|
}
|
|
3879
3826
|
|
|
3880
3827
|
export type GetConsumerBrandMenuDeliveryTimeslotsResponse =
|
|
@@ -3887,11 +3834,6 @@ export interface GetConsumerConfigPublicPath {
|
|
|
3887
3834
|
id: string;
|
|
3888
3835
|
}
|
|
3889
3836
|
|
|
3890
|
-
export interface GetConsumerConfigPublicQuery {
|
|
3891
|
-
// Graphql query string
|
|
3892
|
-
_query?: string;
|
|
3893
|
-
}
|
|
3894
|
-
|
|
3895
3837
|
export type GetConsumerConfigPublicResponse$0 = GetConsumerConfigPublicResponse;
|
|
3896
3838
|
|
|
3897
3839
|
// PUT /consumer/shoppingcart/{id}/paymentmethod - Update a shopping cart by ID
|
|
@@ -3941,11 +3883,6 @@ export interface GetConsumerStationDiscountsPath {
|
|
|
3941
3883
|
siteId: string;
|
|
3942
3884
|
}
|
|
3943
3885
|
|
|
3944
|
-
export interface GetConsumerStationDiscountsQuery {
|
|
3945
|
-
// Graphql query string
|
|
3946
|
-
_query?: string;
|
|
3947
|
-
}
|
|
3948
|
-
|
|
3949
3886
|
export type GetConsumerStationDiscountsResponse = ConsumerGroup;
|
|
3950
3887
|
|
|
3951
3888
|
// POST /consumer/shoppingcart/{id}/clone - clone a shopping cart
|
|
@@ -3972,7 +3909,7 @@ export interface GetConsumerLocationBrandQuery {
|
|
|
3972
3909
|
extended?: boolean;
|
|
3973
3910
|
// Include estimated wait time
|
|
3974
3911
|
include_estimated_wait_time?: boolean;
|
|
3975
|
-
// Graphql query
|
|
3912
|
+
// Graphql query
|
|
3976
3913
|
_query?: string;
|
|
3977
3914
|
// No cache
|
|
3978
3915
|
nocache?: boolean;
|
|
@@ -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
|
package/src/interface/kds.ts
CHANGED
|
@@ -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
|
|
127
|
+
export interface GetKdsSwaggerRequest extends BaseRequest {}
|
|
@@ -563,8 +563,6 @@ export interface GetLocationSearchQuery {
|
|
|
563
563
|
long?: number;
|
|
564
564
|
// Operation id to be used
|
|
565
565
|
operation_id?: number;
|
|
566
|
-
// Graphql query string
|
|
567
|
-
_query?: string;
|
|
568
566
|
}
|
|
569
567
|
|
|
570
568
|
export type GetLocationSearchResponse = Locations;
|
|
@@ -588,8 +586,6 @@ export interface GetLocationQuery {
|
|
|
588
586
|
active_cafes?: string[];
|
|
589
587
|
// show additional hidden properties/entities
|
|
590
588
|
extended?: boolean;
|
|
591
|
-
// Graphql query string
|
|
592
|
-
_query?: string;
|
|
593
589
|
nocache?: boolean;
|
|
594
590
|
}
|
|
595
591
|
|
|
@@ -648,8 +644,6 @@ export interface PostLocationBatchGetRequest extends BaseRequest {
|
|
|
648
644
|
// GET /location/multigroup - Get all the top level multigroups
|
|
649
645
|
|
|
650
646
|
export interface GetLocationMultigroupsQuery {
|
|
651
|
-
// Graphql query string
|
|
652
|
-
_query?: string;
|
|
653
647
|
nocache?: boolean;
|
|
654
648
|
}
|
|
655
649
|
|
|
@@ -701,8 +695,6 @@ export interface GetLocationMultigroupQuery {
|
|
|
701
695
|
paginate?: boolean;
|
|
702
696
|
// The last key from the previous response for pagination
|
|
703
697
|
last_key?: string;
|
|
704
|
-
// Graphql query string
|
|
705
|
-
_query?: string;
|
|
706
698
|
nocache?: boolean;
|
|
707
699
|
}
|
|
708
700
|
|
|
@@ -757,8 +749,6 @@ export interface GetLocationUserMultigroupPath {
|
|
|
757
749
|
|
|
758
750
|
export interface GetLocationUserMultigroupQuery {
|
|
759
751
|
expanded?: boolean;
|
|
760
|
-
// Graphql query string
|
|
761
|
-
_query?: string;
|
|
762
752
|
nocache?: boolean;
|
|
763
753
|
}
|
|
764
754
|
|
|
@@ -804,8 +794,6 @@ export interface GetLocationGroupQuery {
|
|
|
804
794
|
non_scan_go?: boolean;
|
|
805
795
|
// @deprecated
|
|
806
796
|
include_estimated_wait_time?: boolean;
|
|
807
|
-
// Graphql query string
|
|
808
|
-
_query?: string;
|
|
809
797
|
nocache?: boolean;
|
|
810
798
|
}
|
|
811
799
|
|
|
@@ -856,16 +844,10 @@ export interface GetLocationGroupAppThemePath {
|
|
|
856
844
|
id: string;
|
|
857
845
|
}
|
|
858
846
|
|
|
859
|
-
export interface GetLocationGroupAppThemeQuery {
|
|
860
|
-
// Graphql query string
|
|
861
|
-
_query?: string;
|
|
862
|
-
}
|
|
863
|
-
|
|
864
847
|
export type GetLocationGroupAppThemeResponse = AppTheme;
|
|
865
848
|
|
|
866
849
|
export interface GetLocationGroupAppThemeRequest
|
|
867
850
|
extends BaseRequest,
|
|
868
|
-
RequestQuery<GetLocationGroupAppThemeQuery>,
|
|
869
851
|
GetLocationGroupAppThemePath {}
|
|
870
852
|
|
|
871
853
|
// POST /location/group/batch-get - Get multiple location groups by their IDs
|
|
@@ -888,8 +870,6 @@ export interface GetLocationGroupWaittimesPath {
|
|
|
888
870
|
}
|
|
889
871
|
|
|
890
872
|
export interface GetLocationGroupWaittimesQuery {
|
|
891
|
-
// Graphql query string
|
|
892
|
-
_query?: string;
|
|
893
873
|
nocache?: boolean;
|
|
894
874
|
}
|
|
895
875
|
|
|
@@ -912,8 +892,6 @@ export interface GetLocationGroupDeliverydestinationsQuery {
|
|
|
912
892
|
name?: string;
|
|
913
893
|
// Only return in-use delivery destinations
|
|
914
894
|
active?: boolean;
|
|
915
|
-
// Graphql query string
|
|
916
|
-
_query?: string;
|
|
917
895
|
}
|
|
918
896
|
|
|
919
897
|
export interface GetLocationGroupDeliverydestinationsResponse {
|
|
@@ -996,8 +974,6 @@ export interface GetLocationGroupDeliverydestinationPath {
|
|
|
996
974
|
export interface GetLocationGroupDeliverydestinationQuery {
|
|
997
975
|
// Return only in-use destinations
|
|
998
976
|
active?: boolean;
|
|
999
|
-
// Graphql query string
|
|
1000
|
-
_query?: string;
|
|
1001
977
|
}
|
|
1002
978
|
|
|
1003
979
|
export type GetLocationGroupDeliverydestinationResponse = DeliveryDestination;
|
|
@@ -1019,8 +995,6 @@ export interface GetLocationBrandTimeslotsQuery {
|
|
|
1019
995
|
date?: number;
|
|
1020
996
|
// Limit the number of timeslots returned
|
|
1021
997
|
limit?: number;
|
|
1022
|
-
// Graphql query string
|
|
1023
|
-
_query?: string;
|
|
1024
998
|
}
|
|
1025
999
|
|
|
1026
1000
|
export type GetLocationBrandTimeslotsResponse = TimeSlots;
|
|
@@ -1082,8 +1056,6 @@ export interface GetLocationBrandMenuTimeslotsQuery {
|
|
|
1082
1056
|
date?: number;
|
|
1083
1057
|
// Limit the number of timeslots returned
|
|
1084
1058
|
limit?: number;
|
|
1085
|
-
// Graphql query string
|
|
1086
|
-
_query?: string;
|
|
1087
1059
|
}
|
|
1088
1060
|
|
|
1089
1061
|
export type GetLocationBrandMenuTimeslotsResponse = TimeSlots;
|
|
@@ -1105,8 +1077,6 @@ export interface GetLocationBrandDeliveryTimeslotsQuery {
|
|
|
1105
1077
|
date?: number;
|
|
1106
1078
|
// Limit the number of timeslots returned
|
|
1107
1079
|
limit?: number;
|
|
1108
|
-
// Graphql query string
|
|
1109
|
-
_query?: string;
|
|
1110
1080
|
}
|
|
1111
1081
|
|
|
1112
1082
|
export type GetLocationBrandDeliveryTimeslotsResponse = TimeSlots;
|
|
@@ -1130,8 +1100,6 @@ export interface GetLocationBrandMenuDeliveryTimeslostsQuery {
|
|
|
1130
1100
|
date?: number;
|
|
1131
1101
|
// Limit the number of timeslots returned
|
|
1132
1102
|
limit?: number;
|
|
1133
|
-
// Graphql query string
|
|
1134
|
-
_query?: string;
|
|
1135
1103
|
}
|
|
1136
1104
|
|
|
1137
1105
|
export type GetLocationBrandMenuDeliveryTimeslostsResponse = TimeSlots;
|
|
@@ -1264,8 +1232,6 @@ export interface PutLocationBrandRequest extends BaseRequest, PutLocationBrandPa
|
|
|
1264
1232
|
// GET /location/sector - Get list of all the sectors
|
|
1265
1233
|
|
|
1266
1234
|
export interface GetLocationSectorsQuery {
|
|
1267
|
-
// Graphql query string
|
|
1268
|
-
_query?: string;
|
|
1269
1235
|
nocache?: boolean;
|
|
1270
1236
|
}
|
|
1271
1237
|
|
|
@@ -1295,8 +1261,6 @@ export interface GetLocationSectorPath {
|
|
|
1295
1261
|
export interface GetLocationSectorQuery {
|
|
1296
1262
|
// Omits nested children of a sector if false
|
|
1297
1263
|
expanded?: boolean;
|
|
1298
|
-
// Graphql query string
|
|
1299
|
-
_query?: string;
|
|
1300
1264
|
nocache?: boolean;
|
|
1301
1265
|
}
|
|
1302
1266
|
|
|
@@ -1358,8 +1322,6 @@ export interface GetLocationCompanyPath {
|
|
|
1358
1322
|
|
|
1359
1323
|
export interface GetLocationCompanyQuery {
|
|
1360
1324
|
expanded?: boolean;
|
|
1361
|
-
// Graphql query string
|
|
1362
|
-
_query?: string;
|
|
1363
1325
|
}
|
|
1364
1326
|
|
|
1365
1327
|
export type GetLocationCompanyResponse = Company;
|
|
@@ -1424,8 +1386,6 @@ export interface GetLocationV2GroupsQuery {
|
|
|
1424
1386
|
include_hidden?: boolean;
|
|
1425
1387
|
// Include deleted brands in expanded query
|
|
1426
1388
|
include_deleted?: boolean;
|
|
1427
|
-
// Graphql query string
|
|
1428
|
-
_query?: string;
|
|
1429
1389
|
}
|
|
1430
1390
|
|
|
1431
1391
|
export interface GetLocationV2GroupsResponse {
|
|
@@ -1453,16 +1413,10 @@ export interface GetLocationMenuAssociationBrandPath {
|
|
|
1453
1413
|
id: string;
|
|
1454
1414
|
}
|
|
1455
1415
|
|
|
1456
|
-
export interface GetLocationMenuAssociationBrandQuery {
|
|
1457
|
-
// Graphql query string
|
|
1458
|
-
_query?: string;
|
|
1459
|
-
}
|
|
1460
|
-
|
|
1461
1416
|
export type GetLocationMenuAssociationBrandResponse = MenuAssociations;
|
|
1462
1417
|
|
|
1463
1418
|
export interface GetLocationMenuAssociationBrandRequest
|
|
1464
1419
|
extends BaseRequest,
|
|
1465
|
-
RequestQuery<GetLocationMenuAssociationBrandQuery>,
|
|
1466
1420
|
GetLocationMenuAssociationBrandPath {}
|
|
1467
1421
|
|
|
1468
1422
|
// 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
|
|