@compassdigital/sdk.typescript 4.616.0 → 4.618.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 +24 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +27 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/consumer.d.ts +407 -59
- package/lib/interface/consumer.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +68 -0
- package/src/interface/consumer.ts +556 -119
|
@@ -1094,8 +1094,8 @@ export interface HomePageResponse {
|
|
|
1094
1094
|
}
|
|
1095
1095
|
export interface FrictionlessCheckinResponse {
|
|
1096
1096
|
id: string;
|
|
1097
|
-
provider:
|
|
1098
|
-
status:
|
|
1097
|
+
provider: 'AWS' | 'SC';
|
|
1098
|
+
status: 'CREATING' | 'ACTIVE' | 'ERROR' | 'CANCELED' | 'PROCESSING' | 'UPDATE_PAYMENT_REQUIRED' | 'COMPLETED';
|
|
1099
1099
|
reasonOfFail?: string;
|
|
1100
1100
|
thirdPartyCorrelatedID?: string;
|
|
1101
1101
|
shoppingCartID?: string;
|
|
@@ -1111,7 +1111,24 @@ export interface FrictionlessQrCodeResponse {
|
|
|
1111
1111
|
expiration: number;
|
|
1112
1112
|
id: string;
|
|
1113
1113
|
}
|
|
1114
|
-
export interface
|
|
1114
|
+
export interface FrictionlessMealplanPaymentDto {
|
|
1115
|
+
tenderID: string;
|
|
1116
|
+
name: string;
|
|
1117
|
+
}
|
|
1118
|
+
export interface FrictionlessCreditCardPaymentDto {
|
|
1119
|
+
cardType: string;
|
|
1120
|
+
last4: string;
|
|
1121
|
+
}
|
|
1122
|
+
export interface FrictionlessPaymentMethodDto {
|
|
1123
|
+
mealplan?: FrictionlessMealplanPaymentDto;
|
|
1124
|
+
creditCard?: FrictionlessCreditCardPaymentDto;
|
|
1125
|
+
token?: string;
|
|
1126
|
+
}
|
|
1127
|
+
export interface FrictionlessQrCodeV2Request {
|
|
1128
|
+
brandId: string;
|
|
1129
|
+
paymentMethod: FrictionlessPaymentMethodDto;
|
|
1130
|
+
}
|
|
1131
|
+
export interface ForgotPasswordV1Request {
|
|
1115
1132
|
email: string;
|
|
1116
1133
|
captchaResponseKey: string;
|
|
1117
1134
|
realm?: string;
|
|
@@ -1121,9 +1138,11 @@ export interface ForgotPasswordResponse {
|
|
|
1121
1138
|
code?: number;
|
|
1122
1139
|
success?: boolean;
|
|
1123
1140
|
}
|
|
1124
|
-
export interface
|
|
1125
|
-
|
|
1141
|
+
export interface ForgotPasswordRequest {
|
|
1142
|
+
email: string;
|
|
1143
|
+
type?: 'forgot_password' | 'new_user';
|
|
1126
1144
|
}
|
|
1145
|
+
export type PostConsumerUserAddSecretBody = Record<string, any>;
|
|
1127
1146
|
export interface PostUserAddSecret {
|
|
1128
1147
|
key?: string;
|
|
1129
1148
|
}
|
|
@@ -1302,7 +1321,14 @@ export interface ConsumerItem {
|
|
|
1302
1321
|
primary?: string;
|
|
1303
1322
|
secondary?: string;
|
|
1304
1323
|
};
|
|
1324
|
+
jde_category?: string;
|
|
1305
1325
|
};
|
|
1326
|
+
parent_id?: string;
|
|
1327
|
+
menu_labels?: {
|
|
1328
|
+
id?: string;
|
|
1329
|
+
text?: string;
|
|
1330
|
+
s3_link?: string;
|
|
1331
|
+
}[];
|
|
1306
1332
|
is_deleted?: boolean;
|
|
1307
1333
|
is?: {
|
|
1308
1334
|
disabled?: boolean;
|
|
@@ -1338,33 +1364,6 @@ export interface GetMenuItemNutritionValueConsumer {
|
|
|
1338
1364
|
export interface GetMenuItemNutritionConsumer {
|
|
1339
1365
|
calories?: GetMenuItemNutritionValueConsumer;
|
|
1340
1366
|
}
|
|
1341
|
-
export interface Certified {
|
|
1342
|
-
vegan?: boolean;
|
|
1343
|
-
vegetarian?: boolean;
|
|
1344
|
-
seafood_watch?: boolean;
|
|
1345
|
-
wellbeing?: boolean;
|
|
1346
|
-
farm_to_fork?: boolean;
|
|
1347
|
-
in_balance?: boolean;
|
|
1348
|
-
organic?: boolean;
|
|
1349
|
-
no_gluten_ingredients?: boolean;
|
|
1350
|
-
halal?: boolean;
|
|
1351
|
-
kosher?: boolean;
|
|
1352
|
-
humane?: boolean;
|
|
1353
|
-
locally_crafted?: boolean;
|
|
1354
|
-
nuts?: boolean;
|
|
1355
|
-
oracle_garden_grown?: boolean;
|
|
1356
|
-
oracle_oyes?: boolean;
|
|
1357
|
-
peanut_free?: boolean;
|
|
1358
|
-
tree_nut_free?: boolean;
|
|
1359
|
-
wheat_free?: boolean;
|
|
1360
|
-
non_gmo?: boolean;
|
|
1361
|
-
milk_free?: boolean;
|
|
1362
|
-
egg_free?: boolean;
|
|
1363
|
-
soy_free?: boolean;
|
|
1364
|
-
fair_trade?: boolean;
|
|
1365
|
-
rainforest_alliance?: boolean;
|
|
1366
|
-
salt_free?: boolean;
|
|
1367
|
-
}
|
|
1368
1367
|
export interface GetMenuOptionNutritionConsumer {
|
|
1369
1368
|
calories?: GetMenuItemNutritionValueConsumer;
|
|
1370
1369
|
total_fat?: GetMenuItemNutritionValueConsumer;
|
|
@@ -1386,6 +1385,14 @@ export interface GetMenuItemOptionSizingConsumer {
|
|
|
1386
1385
|
export interface GetMenuItemOptionMetaConsumer {
|
|
1387
1386
|
sizing?: GetMenuItemOptionSizingConsumer[];
|
|
1388
1387
|
}
|
|
1388
|
+
export interface GetMenuItemImageSizesConsumer {
|
|
1389
|
+
original?: string;
|
|
1390
|
+
thumbnail_80_80?: string;
|
|
1391
|
+
}
|
|
1392
|
+
export interface GetMenuItemImageConsumer {
|
|
1393
|
+
src?: string;
|
|
1394
|
+
sizes?: GetMenuItemImageSizesConsumer;
|
|
1395
|
+
}
|
|
1389
1396
|
export interface GetMenuItemOptionConsumer {
|
|
1390
1397
|
id?: string;
|
|
1391
1398
|
label?: GetMenuItemLabelConsumer;
|
|
@@ -1416,14 +1423,6 @@ export interface GetMenuItemMetaConsumer {
|
|
|
1416
1423
|
barcodes?: string[];
|
|
1417
1424
|
recipe?: GetMenuItemRecipeConsumer;
|
|
1418
1425
|
}
|
|
1419
|
-
export interface GetMenuItemImageSizesConsumer {
|
|
1420
|
-
original?: string;
|
|
1421
|
-
thumbnail_80_80?: string;
|
|
1422
|
-
}
|
|
1423
|
-
export interface GetMenuItemImageConsumer {
|
|
1424
|
-
src?: string;
|
|
1425
|
-
sizes?: GetMenuItemImageSizesConsumer;
|
|
1426
|
-
}
|
|
1427
1426
|
export interface GetMenuItemIsConsumer {
|
|
1428
1427
|
out_of_stock?: boolean;
|
|
1429
1428
|
}
|
|
@@ -1501,10 +1500,9 @@ export interface ConsumerCashlessLog {
|
|
|
1501
1500
|
deleted?: string;
|
|
1502
1501
|
}
|
|
1503
1502
|
export interface ConsumerUserMeta {
|
|
1504
|
-
is_guest?: boolean;
|
|
1505
1503
|
marketing_opt_in?: boolean;
|
|
1506
1504
|
marketing_opt_in_date?: string;
|
|
1507
|
-
marketing_opt_in_source?:
|
|
1505
|
+
marketing_opt_in_source?: 'App' | 'Web';
|
|
1508
1506
|
order_status_notification?: {
|
|
1509
1507
|
send_emails?: boolean;
|
|
1510
1508
|
send_emails_date_updated?: string;
|
|
@@ -1540,19 +1538,34 @@ export interface ConsumerUserIs {
|
|
|
1540
1538
|
deleted?: boolean;
|
|
1541
1539
|
placeholder?: boolean;
|
|
1542
1540
|
}
|
|
1541
|
+
export interface ConsumerScopes {
|
|
1542
|
+
scopes?: string[];
|
|
1543
|
+
}
|
|
1544
|
+
export interface ConsumerTemporaryPermissions {
|
|
1545
|
+
expiry: string;
|
|
1546
|
+
scopes: string[];
|
|
1547
|
+
}
|
|
1543
1548
|
export interface PostConsumerUserChangePasswordResponse {
|
|
1544
1549
|
id: string;
|
|
1545
1550
|
email: string;
|
|
1546
1551
|
name?: ConsumerUserName;
|
|
1547
1552
|
date?: ConsumerUserDate;
|
|
1548
|
-
|
|
1553
|
+
birthday?: string;
|
|
1554
|
+
password?: string;
|
|
1555
|
+
phone?: number;
|
|
1556
|
+
phone_country_code?: string;
|
|
1557
|
+
realm?: string;
|
|
1558
|
+
location_group?: string;
|
|
1559
|
+
ssoId?: string;
|
|
1560
|
+
last_accessed?: string;
|
|
1561
|
+
gender?: 'male' | 'female' | 'non-binary';
|
|
1549
1562
|
meta?: ConsumerUserMeta;
|
|
1550
1563
|
is?: ConsumerUserIs;
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
scopes?: string[];
|
|
1564
|
+
permissions?: ConsumerScopes;
|
|
1565
|
+
temporary_permissions?: ConsumerTemporaryPermissions;
|
|
1554
1566
|
}
|
|
1555
1567
|
export interface PutConsumerUserRequest {
|
|
1568
|
+
id?: string;
|
|
1556
1569
|
email?: string;
|
|
1557
1570
|
name?: ConsumerUserName;
|
|
1558
1571
|
date?: ConsumerUserDate;
|
|
@@ -1561,7 +1574,7 @@ export interface PutConsumerUserRequest {
|
|
|
1561
1574
|
phone?: number;
|
|
1562
1575
|
phone_country_code?: string;
|
|
1563
1576
|
realm?: string;
|
|
1564
|
-
gender?:
|
|
1577
|
+
gender?: 'male' | 'female' | 'non-binary';
|
|
1565
1578
|
meta?: ConsumerUserMeta;
|
|
1566
1579
|
is?: ConsumerUserIs;
|
|
1567
1580
|
permissions?: ConsumerScopes;
|
|
@@ -1586,6 +1599,7 @@ export interface PutConsumerUserResponse {
|
|
|
1586
1599
|
ssoId?: string;
|
|
1587
1600
|
}
|
|
1588
1601
|
export interface PatchConsumerUserRequest {
|
|
1602
|
+
id?: string;
|
|
1589
1603
|
email?: string;
|
|
1590
1604
|
name?: ConsumerUserName;
|
|
1591
1605
|
date?: ConsumerUserDate;
|
|
@@ -1594,7 +1608,7 @@ export interface PatchConsumerUserRequest {
|
|
|
1594
1608
|
phone?: number;
|
|
1595
1609
|
phone_country_code?: string;
|
|
1596
1610
|
realm?: string;
|
|
1597
|
-
gender?:
|
|
1611
|
+
gender?: 'male' | 'female' | 'non-binary';
|
|
1598
1612
|
meta?: ConsumerUserMeta;
|
|
1599
1613
|
is?: ConsumerUserIs;
|
|
1600
1614
|
permissions?: ConsumerScopes;
|
|
@@ -1628,12 +1642,13 @@ export interface GetConsumerUserResponse {
|
|
|
1628
1642
|
phone?: number;
|
|
1629
1643
|
phone_country_code?: string;
|
|
1630
1644
|
realm?: string;
|
|
1631
|
-
gender?:
|
|
1645
|
+
gender?: 'male' | 'female' | 'non-binary';
|
|
1632
1646
|
meta?: ConsumerUserMeta;
|
|
1633
1647
|
is?: ConsumerUserIs;
|
|
1634
1648
|
permissions?: ConsumerScopes;
|
|
1635
1649
|
location_group?: string;
|
|
1636
1650
|
ssoId?: string;
|
|
1651
|
+
last_accessed?: string;
|
|
1637
1652
|
}
|
|
1638
1653
|
export interface ConsumerCashlessTender {
|
|
1639
1654
|
balance?: number;
|
|
@@ -2427,18 +2442,33 @@ export interface PostConsumerUserGuestRequest {
|
|
|
2427
2442
|
email: string;
|
|
2428
2443
|
name: ConsumerUserName;
|
|
2429
2444
|
}
|
|
2445
|
+
export interface GuestUserAccess {
|
|
2446
|
+
token?: string;
|
|
2447
|
+
expires?: string;
|
|
2448
|
+
}
|
|
2449
|
+
export interface GuestUserProfile {
|
|
2450
|
+
id?: string;
|
|
2451
|
+
email?: string;
|
|
2452
|
+
name?: ConsumerUserName;
|
|
2453
|
+
date?: ConsumerUserDate;
|
|
2454
|
+
birthday?: string;
|
|
2455
|
+
password?: string;
|
|
2456
|
+
phone?: number;
|
|
2457
|
+
phone_country_code?: string;
|
|
2458
|
+
realm?: string;
|
|
2459
|
+
gender?: 'male' | 'female' | 'non-binary';
|
|
2460
|
+
meta?: ConsumerUserMeta;
|
|
2461
|
+
is?: ConsumerUserIs;
|
|
2462
|
+
permissions?: ConsumerScopes;
|
|
2463
|
+
location_group?: string;
|
|
2464
|
+
ssoId?: string;
|
|
2465
|
+
last_accessed?: string;
|
|
2466
|
+
}
|
|
2430
2467
|
export interface PostConsumerUserGuestResponse {
|
|
2431
2468
|
token?: string;
|
|
2432
|
-
access?:
|
|
2433
|
-
token?: string;
|
|
2434
|
-
expires?: string;
|
|
2435
|
-
};
|
|
2469
|
+
access?: GuestUserAccess;
|
|
2436
2470
|
user?: string;
|
|
2437
|
-
profile?:
|
|
2438
|
-
id?: string;
|
|
2439
|
-
email?: string;
|
|
2440
|
-
realm?: string;
|
|
2441
|
-
};
|
|
2471
|
+
profile?: GuestUserProfile;
|
|
2442
2472
|
}
|
|
2443
2473
|
export interface OpenAiToolCallFunction {
|
|
2444
2474
|
name: string;
|
|
@@ -2574,6 +2604,311 @@ export interface GetConsumerLocationResponse {
|
|
|
2574
2604
|
locations?: ConsumerLocation[];
|
|
2575
2605
|
address?: ConsumerAddress;
|
|
2576
2606
|
}
|
|
2607
|
+
export interface GetMenuItemNutritionValueConsumerV2 {
|
|
2608
|
+
amount?: number;
|
|
2609
|
+
unit?: string;
|
|
2610
|
+
display?: string;
|
|
2611
|
+
}
|
|
2612
|
+
export interface GetMenuItemNutritionConsumerV2 {
|
|
2613
|
+
kcal?: number;
|
|
2614
|
+
calories?: GetMenuItemNutritionValueConsumerV2;
|
|
2615
|
+
serving_size?: GetMenuItemNutritionValueConsumerV2;
|
|
2616
|
+
total_fat?: GetMenuItemNutritionValueConsumerV2;
|
|
2617
|
+
saturated_fat?: GetMenuItemNutritionValueConsumerV2;
|
|
2618
|
+
trans_fat?: GetMenuItemNutritionValueConsumerV2;
|
|
2619
|
+
cholesterol?: GetMenuItemNutritionValueConsumerV2;
|
|
2620
|
+
sodium?: GetMenuItemNutritionValueConsumerV2;
|
|
2621
|
+
total_carbohydrate?: GetMenuItemNutritionValueConsumerV2;
|
|
2622
|
+
dietary_fiber?: GetMenuItemNutritionValueConsumerV2;
|
|
2623
|
+
sugars?: GetMenuItemNutritionValueConsumerV2;
|
|
2624
|
+
total_sugars?: GetMenuItemNutritionValueConsumerV2;
|
|
2625
|
+
protein?: GetMenuItemNutritionValueConsumerV2;
|
|
2626
|
+
well_being?: GetMenuItemNutritionValueConsumerV2;
|
|
2627
|
+
}
|
|
2628
|
+
export interface GetMenuOptionNutritionConsumerV2 {
|
|
2629
|
+
calories?: GetMenuItemNutritionValueConsumerV2;
|
|
2630
|
+
total_fat?: GetMenuItemNutritionValueConsumerV2;
|
|
2631
|
+
saturated_fat?: GetMenuItemNutritionValueConsumerV2;
|
|
2632
|
+
total_carbohydrate?: GetMenuItemNutritionValueConsumerV2;
|
|
2633
|
+
total_sugars?: GetMenuItemNutritionValueConsumerV2;
|
|
2634
|
+
protein?: GetMenuItemNutritionValueConsumerV2;
|
|
2635
|
+
dietary_fiber?: GetMenuItemNutritionValueConsumerV2;
|
|
2636
|
+
sodium?: GetMenuItemNutritionValueConsumerV2;
|
|
2637
|
+
trans_fat?: GetMenuItemNutritionValueConsumerV2;
|
|
2638
|
+
cholesterol?: GetMenuItemNutritionValueConsumerV2;
|
|
2639
|
+
added_sugars?: GetMenuItemNutritionValueConsumerV2;
|
|
2640
|
+
}
|
|
2641
|
+
export interface GetMenuItemPriceConsumerV2 {
|
|
2642
|
+
amount?: number;
|
|
2643
|
+
currency?: string;
|
|
2644
|
+
total_price?: number;
|
|
2645
|
+
discount?: number;
|
|
2646
|
+
}
|
|
2647
|
+
export interface GetMenuItemImageSizesConsumerV2 {
|
|
2648
|
+
original?: string;
|
|
2649
|
+
thumbnail_80_80?: string;
|
|
2650
|
+
}
|
|
2651
|
+
export interface GetMenuItemImageConsumerV2 {
|
|
2652
|
+
src?: string;
|
|
2653
|
+
sizes?: GetMenuItemImageSizesConsumerV2;
|
|
2654
|
+
}
|
|
2655
|
+
export interface GetMenuItemCertifiedConsumerV2 {
|
|
2656
|
+
vegan?: boolean;
|
|
2657
|
+
vegetarian?: boolean;
|
|
2658
|
+
seafood_watch?: boolean;
|
|
2659
|
+
wellbeing?: boolean;
|
|
2660
|
+
farm_to_fork?: boolean;
|
|
2661
|
+
in_balance?: boolean;
|
|
2662
|
+
organic?: boolean;
|
|
2663
|
+
no_gluten_ingredients?: boolean;
|
|
2664
|
+
halal?: boolean;
|
|
2665
|
+
kosher?: boolean;
|
|
2666
|
+
humane?: boolean;
|
|
2667
|
+
locally_crafted?: boolean;
|
|
2668
|
+
nuts?: boolean;
|
|
2669
|
+
oracle_garden_grown?: boolean;
|
|
2670
|
+
oracle_oyes?: boolean;
|
|
2671
|
+
peanut_free?: boolean;
|
|
2672
|
+
tree_nut_free?: boolean;
|
|
2673
|
+
wheat_free?: boolean;
|
|
2674
|
+
non_gmo?: boolean;
|
|
2675
|
+
milk_free?: boolean;
|
|
2676
|
+
egg_free?: boolean;
|
|
2677
|
+
soy_free?: boolean;
|
|
2678
|
+
fair_trade?: boolean;
|
|
2679
|
+
rainforest_alliance?: boolean;
|
|
2680
|
+
salt_free?: boolean;
|
|
2681
|
+
}
|
|
2682
|
+
export interface GetMenuItemReportingConsumerV2 {
|
|
2683
|
+
category?: {
|
|
2684
|
+
primary?: string;
|
|
2685
|
+
secondary?: string;
|
|
2686
|
+
};
|
|
2687
|
+
jde_category?: string;
|
|
2688
|
+
}
|
|
2689
|
+
export interface GetMenuItemIsConsumerV2 {
|
|
2690
|
+
disabled?: boolean;
|
|
2691
|
+
hidden?: boolean;
|
|
2692
|
+
meq_eligible?: boolean;
|
|
2693
|
+
out_of_stock?: boolean;
|
|
2694
|
+
deleted?: boolean;
|
|
2695
|
+
featured?: boolean;
|
|
2696
|
+
}
|
|
2697
|
+
export interface GetMenuItemMenuLabelConsumerV2 {
|
|
2698
|
+
id?: string;
|
|
2699
|
+
text?: string;
|
|
2700
|
+
s3_link?: string;
|
|
2701
|
+
}
|
|
2702
|
+
export interface GetMenuItemOptionMetaConsumerV2 {
|
|
2703
|
+
sizing?: {
|
|
2704
|
+
name?: string;
|
|
2705
|
+
posid?: string;
|
|
2706
|
+
price?: number;
|
|
2707
|
+
}[];
|
|
2708
|
+
sort_number?: number;
|
|
2709
|
+
menu_sort_number?: number;
|
|
2710
|
+
unique_id?: number;
|
|
2711
|
+
tax?: {
|
|
2712
|
+
tax_tag_code?: string;
|
|
2713
|
+
};
|
|
2714
|
+
}
|
|
2715
|
+
export interface GetMenuItemOptionIsConsumerV2 {
|
|
2716
|
+
disabled?: boolean;
|
|
2717
|
+
hidden?: boolean;
|
|
2718
|
+
out_of_stock?: boolean;
|
|
2719
|
+
}
|
|
2720
|
+
export interface GetMenuItemOptionConsumerV2 {
|
|
2721
|
+
id?: string;
|
|
2722
|
+
label?: {
|
|
2723
|
+
en?: string;
|
|
2724
|
+
};
|
|
2725
|
+
name?: string;
|
|
2726
|
+
description?: {
|
|
2727
|
+
en?: string;
|
|
2728
|
+
};
|
|
2729
|
+
price?: GetMenuItemPriceConsumerV2;
|
|
2730
|
+
nutrition?: GetMenuOptionNutritionConsumerV2;
|
|
2731
|
+
meta?: GetMenuItemOptionMetaConsumerV2;
|
|
2732
|
+
image?: GetMenuItemImageConsumerV2;
|
|
2733
|
+
certified?: GetMenuItemCertifiedConsumerV2;
|
|
2734
|
+
is?: GetMenuItemOptionIsConsumerV2;
|
|
2735
|
+
reporting?: GetMenuItemReportingConsumerV2;
|
|
2736
|
+
sku?: number;
|
|
2737
|
+
weight?: {
|
|
2738
|
+
unit?: string;
|
|
2739
|
+
amount?: number;
|
|
2740
|
+
};
|
|
2741
|
+
line_route?: string;
|
|
2742
|
+
amount_off_exclusions?: string[];
|
|
2743
|
+
}
|
|
2744
|
+
export interface GetMenuItemGroupIsConsumerV2 {
|
|
2745
|
+
incremental?: boolean;
|
|
2746
|
+
}
|
|
2747
|
+
export interface GetMenuItemGroupMetaConsumerV2 {
|
|
2748
|
+
order_type?: 'selection' | 'option' | 'quantity';
|
|
2749
|
+
sort_number?: number;
|
|
2750
|
+
menu_sort_number?: number;
|
|
2751
|
+
surcharge_limit_value?: number;
|
|
2752
|
+
}
|
|
2753
|
+
export interface GetMenuItemOptionsGroupConsumerV2 {
|
|
2754
|
+
id?: string;
|
|
2755
|
+
label?: {
|
|
2756
|
+
en?: string;
|
|
2757
|
+
};
|
|
2758
|
+
items?: GetMenuItemOptionConsumerV2[];
|
|
2759
|
+
min?: number;
|
|
2760
|
+
max?: number;
|
|
2761
|
+
is?: GetMenuItemGroupIsConsumerV2;
|
|
2762
|
+
meta?: GetMenuItemGroupMetaConsumerV2;
|
|
2763
|
+
}
|
|
2764
|
+
export interface GetMenuItemRecipeConsumerV2 {
|
|
2765
|
+
smart_tags?: string[];
|
|
2766
|
+
allergen_tags?: string[];
|
|
2767
|
+
mrn?: string;
|
|
2768
|
+
unit_id?: string;
|
|
2769
|
+
portion_quantity?: number;
|
|
2770
|
+
portion_unit_name?: string;
|
|
2771
|
+
grams?: number;
|
|
2772
|
+
cost?: number;
|
|
2773
|
+
ingredients?: string[];
|
|
2774
|
+
}
|
|
2775
|
+
export interface GetMenuItemMetaConsumerV2 {
|
|
2776
|
+
barcodes?: string[];
|
|
2777
|
+
recipe?: GetMenuItemRecipeConsumerV2;
|
|
2778
|
+
superplate?: {
|
|
2779
|
+
type_id?: number;
|
|
2780
|
+
type?: string;
|
|
2781
|
+
};
|
|
2782
|
+
sort_number?: number;
|
|
2783
|
+
menu_sort_number?: number;
|
|
2784
|
+
unique_id?: number;
|
|
2785
|
+
tax?: {
|
|
2786
|
+
tax_tag_code?: string;
|
|
2787
|
+
tax_jwo_code?: string;
|
|
2788
|
+
tax_rate?: number;
|
|
2789
|
+
tax_amount?: number;
|
|
2790
|
+
};
|
|
2791
|
+
}
|
|
2792
|
+
export interface GetMenuItemConsumerV2 {
|
|
2793
|
+
id?: string;
|
|
2794
|
+
label?: {
|
|
2795
|
+
en?: string;
|
|
2796
|
+
};
|
|
2797
|
+
name?: string;
|
|
2798
|
+
description?: {
|
|
2799
|
+
en?: string;
|
|
2800
|
+
};
|
|
2801
|
+
price?: GetMenuItemPriceConsumerV2;
|
|
2802
|
+
meal_value?: number;
|
|
2803
|
+
sale_price?: GetMenuItemPriceConsumerV2;
|
|
2804
|
+
unit?: number;
|
|
2805
|
+
sku?: number;
|
|
2806
|
+
item_number?: number;
|
|
2807
|
+
parent_id?: string;
|
|
2808
|
+
location?: string;
|
|
2809
|
+
line_route?: string;
|
|
2810
|
+
weight?: {
|
|
2811
|
+
unit?: string;
|
|
2812
|
+
amount?: number;
|
|
2813
|
+
};
|
|
2814
|
+
category?: {
|
|
2815
|
+
en?: string;
|
|
2816
|
+
};
|
|
2817
|
+
ingredients?: Record<string, any>[];
|
|
2818
|
+
amount_off_exclusions?: string[];
|
|
2819
|
+
nutrition?: GetMenuItemNutritionConsumerV2;
|
|
2820
|
+
certified?: GetMenuItemCertifiedConsumerV2;
|
|
2821
|
+
options?: GetMenuItemOptionsGroupConsumerV2[];
|
|
2822
|
+
meta?: GetMenuItemMetaConsumerV2;
|
|
2823
|
+
image?: GetMenuItemImageConsumerV2;
|
|
2824
|
+
is?: GetMenuItemIsConsumerV2;
|
|
2825
|
+
menu_labels?: GetMenuItemMenuLabelConsumerV2[];
|
|
2826
|
+
reporting?: GetMenuItemReportingConsumerV2;
|
|
2827
|
+
}
|
|
2828
|
+
export interface GetMenuGroupConsumerV2 {
|
|
2829
|
+
id: string;
|
|
2830
|
+
label?: {
|
|
2831
|
+
en?: string;
|
|
2832
|
+
fr?: string;
|
|
2833
|
+
};
|
|
2834
|
+
items?: GetMenuItemConsumerV2[];
|
|
2835
|
+
}
|
|
2836
|
+
export interface GetMenuIsConsumerV2 {
|
|
2837
|
+
disabled?: boolean;
|
|
2838
|
+
hidden?: boolean;
|
|
2839
|
+
linked?: boolean;
|
|
2840
|
+
promo_exemptions_enabled?: boolean;
|
|
2841
|
+
plu_enabled?: boolean;
|
|
2842
|
+
item_images_enabled?: boolean;
|
|
2843
|
+
item_showcase_enabled?: boolean;
|
|
2844
|
+
item_desc_edit_enabled?: boolean;
|
|
2845
|
+
calories_edit_enabled?: boolean;
|
|
2846
|
+
item_label_edit_enabled?: boolean;
|
|
2847
|
+
frictionless?: boolean;
|
|
2848
|
+
category_images_enabled?: boolean;
|
|
2849
|
+
}
|
|
2850
|
+
export interface GetMenuMetaConsumerV2 {
|
|
2851
|
+
locked_by_user?: string;
|
|
2852
|
+
last_modified_user?: string;
|
|
2853
|
+
centricos?: boolean;
|
|
2854
|
+
version?: number;
|
|
2855
|
+
revision?: string;
|
|
2856
|
+
}
|
|
2857
|
+
export interface GetMenuDateConsumerV2 {
|
|
2858
|
+
created?: string;
|
|
2859
|
+
modified?: string;
|
|
2860
|
+
published?: string;
|
|
2861
|
+
}
|
|
2862
|
+
export interface GetMenuImageSizesConsumerV2 {
|
|
2863
|
+
original?: string;
|
|
2864
|
+
thumbnail_80_80?: string;
|
|
2865
|
+
}
|
|
2866
|
+
export interface GetMenuImageConsumerV2 {
|
|
2867
|
+
src?: string;
|
|
2868
|
+
sizes?: GetMenuImageSizesConsumerV2;
|
|
2869
|
+
}
|
|
2870
|
+
export interface GetMenuResponseConsumerV2 {
|
|
2871
|
+
id: string;
|
|
2872
|
+
label?: {
|
|
2873
|
+
en?: string;
|
|
2874
|
+
};
|
|
2875
|
+
groups?: GetMenuGroupConsumerV2[];
|
|
2876
|
+
parent_id?: string;
|
|
2877
|
+
location_brand?: string;
|
|
2878
|
+
company?: string;
|
|
2879
|
+
sector?: string;
|
|
2880
|
+
date?: GetMenuDateConsumerV2;
|
|
2881
|
+
is?: GetMenuIsConsumerV2;
|
|
2882
|
+
meta?: GetMenuMetaConsumerV2;
|
|
2883
|
+
image?: GetMenuImageConsumerV2;
|
|
2884
|
+
}
|
|
2885
|
+
export interface Certified {
|
|
2886
|
+
vegan?: boolean;
|
|
2887
|
+
vegetarian?: boolean;
|
|
2888
|
+
seafood_watch?: boolean;
|
|
2889
|
+
wellbeing?: boolean;
|
|
2890
|
+
farm_to_fork?: boolean;
|
|
2891
|
+
in_balance?: boolean;
|
|
2892
|
+
organic?: boolean;
|
|
2893
|
+
no_gluten_ingredients?: boolean;
|
|
2894
|
+
halal?: boolean;
|
|
2895
|
+
kosher?: boolean;
|
|
2896
|
+
humane?: boolean;
|
|
2897
|
+
locally_crafted?: boolean;
|
|
2898
|
+
nuts?: boolean;
|
|
2899
|
+
oracle_garden_grown?: boolean;
|
|
2900
|
+
oracle_oyes?: boolean;
|
|
2901
|
+
peanut_free?: boolean;
|
|
2902
|
+
tree_nut_free?: boolean;
|
|
2903
|
+
wheat_free?: boolean;
|
|
2904
|
+
non_gmo?: boolean;
|
|
2905
|
+
milk_free?: boolean;
|
|
2906
|
+
egg_free?: boolean;
|
|
2907
|
+
soy_free?: boolean;
|
|
2908
|
+
fair_trade?: boolean;
|
|
2909
|
+
rainforest_alliance?: boolean;
|
|
2910
|
+
salt_free?: boolean;
|
|
2911
|
+
}
|
|
2577
2912
|
export type HealthCheckControllerExecuteResponse = {};
|
|
2578
2913
|
export interface GetPaymentListByBrandQuery {
|
|
2579
2914
|
brandID?: string;
|
|
@@ -2617,8 +2952,17 @@ export interface GetConsumerFrictionlessCheckinPath {
|
|
|
2617
2952
|
export type GetConsumerFrictionlessCheckinResponse = FrictionlessCheckinResponse;
|
|
2618
2953
|
export type PostFrictionlessQrcodeBody = FrictionlessQrCodeRequest;
|
|
2619
2954
|
export type PostFrictionlessQrcodeResponse = FrictionlessQrCodeResponse;
|
|
2620
|
-
export type
|
|
2955
|
+
export type PostConsumerV2FrictionlessQrcodeBody = FrictionlessQrCodeV2Request;
|
|
2956
|
+
export type PostConsumerV2FrictionlessQrcodeResponse = FrictionlessQrCodeResponse;
|
|
2957
|
+
export type PostConsumerForgotPasswordBody = ForgotPasswordV1Request;
|
|
2621
2958
|
export type PostConsumerForgotPasswordResponse = ForgotPasswordResponse;
|
|
2959
|
+
export interface PostConsumerV2ForgotPasswordQuery {
|
|
2960
|
+
captchaResponseKey: string;
|
|
2961
|
+
realm?: string;
|
|
2962
|
+
lang?: string;
|
|
2963
|
+
}
|
|
2964
|
+
export type PostConsumerV2ForgotPasswordBody = ForgotPasswordRequest;
|
|
2965
|
+
export type PostConsumerV2ForgotPasswordResponse = ForgotPasswordResponse;
|
|
2622
2966
|
export interface PostConsumerAddSecretPath {
|
|
2623
2967
|
id: string;
|
|
2624
2968
|
key: string;
|
|
@@ -2946,4 +3290,8 @@ export interface GetConsumerLocationQuery {
|
|
|
2946
3290
|
active_cafes?: string[];
|
|
2947
3291
|
}
|
|
2948
3292
|
export type GetConsumerLocationResponse$0 = GetConsumerLocationResponse;
|
|
3293
|
+
export interface GetConsumerMenuV2Path {
|
|
3294
|
+
id: string;
|
|
3295
|
+
}
|
|
3296
|
+
export type GetConsumerMenuV2Response = GetMenuResponseConsumerV2;
|
|
2949
3297
|
//# sourceMappingURL=consumer.d.ts.map
|