@compassdigital/sdk.typescript 4.5.0 → 4.7.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 +96 -29
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +103 -28
- package/lib/index.js.map +1 -1
- package/lib/interface/ai.d.ts +3 -3
- package/lib/interface/ai.d.ts.map +1 -1
- package/lib/interface/announcement.d.ts +2 -2
- package/lib/interface/announcement.d.ts.map +1 -1
- package/lib/interface/calendar.d.ts +1 -1
- package/lib/interface/calendar.d.ts.map +1 -1
- package/lib/interface/centricos.d.ts +3 -3
- package/lib/interface/centricos.d.ts.map +1 -1
- package/lib/interface/compassconnect.d.ts +1 -1
- package/lib/interface/compassconnect.d.ts.map +1 -1
- package/lib/interface/config.d.ts +77 -17
- package/lib/interface/config.d.ts.map +1 -1
- package/lib/interface/datalake.d.ts +2 -2
- package/lib/interface/datalake.d.ts.map +1 -1
- package/lib/interface/delivery.d.ts +3 -3
- package/lib/interface/delivery.d.ts.map +1 -1
- package/lib/interface/email.d.ts +2 -2
- package/lib/interface/email.d.ts.map +1 -1
- package/lib/interface/file.d.ts +1 -1
- package/lib/interface/file.d.ts.map +1 -1
- package/lib/interface/frictionless.d.ts +132 -33
- package/lib/interface/frictionless.d.ts.map +1 -1
- package/lib/interface/kds.d.ts +1 -1
- package/lib/interface/kds.d.ts.map +1 -1
- package/lib/interface/location.d.ts +10 -10
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/mealplan.d.ts +2 -1
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +324 -261
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/notification.d.ts +2 -2
- package/lib/interface/notification.d.ts.map +1 -1
- package/lib/interface/order.d.ts +3 -3
- package/lib/interface/order.d.ts.map +1 -1
- package/lib/interface/partner.d.ts +16 -16
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/payment.d.ts +12 -4
- package/lib/interface/payment.d.ts.map +1 -1
- package/lib/interface/promo.d.ts +4 -4
- package/lib/interface/promo.d.ts.map +1 -1
- package/lib/interface/report.d.ts +1 -1
- package/lib/interface/report.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +7 -7
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/lib/interface/task.d.ts +5 -5
- package/lib/interface/task.d.ts.map +1 -1
- package/lib/interface/user.d.ts +4 -4
- package/lib/interface/user.d.ts.map +1 -1
- package/lib/interface/vendor.d.ts +1 -1
- package/lib/interface/vendor.d.ts.map +1 -1
- package/manifest.json +2 -2
- package/package.json +2 -2
- package/src/index.ts +261 -71
- package/src/interface/ai.ts +3 -3
- package/src/interface/announcement.ts +2 -2
- package/src/interface/calendar.ts +1 -1
- package/src/interface/centricos.ts +3 -3
- package/src/interface/compassconnect.ts +1 -1
- package/src/interface/config.ts +83 -17
- package/src/interface/datalake.ts +2 -2
- package/src/interface/delivery.ts +3 -3
- package/src/interface/email.ts +2 -2
- package/src/interface/file.ts +1 -1
- package/src/interface/frictionless.ts +193 -43
- package/src/interface/kds.ts +1 -1
- package/src/interface/location.ts +10 -10
- package/src/interface/mealplan.ts +2 -1
- package/src/interface/menu.ts +357 -268
- package/src/interface/notification.ts +2 -2
- package/src/interface/order.ts +3 -3
- package/src/interface/partner.ts +16 -16
- package/src/interface/payment.ts +17 -4
- package/src/interface/promo.ts +4 -4
- package/src/interface/report.ts +1 -1
- package/src/interface/shoppingcart.ts +7 -7
- package/src/interface/task.ts +5 -5
- package/src/interface/user.ts +4 -4
- package/src/interface/vendor.ts +1 -1
package/lib/interface/menu.d.ts
CHANGED
|
@@ -54,7 +54,7 @@ export interface Item {
|
|
|
54
54
|
currency?: string;
|
|
55
55
|
};
|
|
56
56
|
unit?: number;
|
|
57
|
-
ingredients?: any[];
|
|
57
|
+
ingredients?: Record<string, any>[];
|
|
58
58
|
amount_off_exclusions?: AmountOffExclusionTypes[];
|
|
59
59
|
nutrition?: {
|
|
60
60
|
kcal?: number;
|
|
@@ -245,7 +245,7 @@ export interface Success {
|
|
|
245
245
|
export interface Error {
|
|
246
246
|
error?: string;
|
|
247
247
|
code?: number;
|
|
248
|
-
data?: any
|
|
248
|
+
data?: Record<string, any>;
|
|
249
249
|
}
|
|
250
250
|
export type AmountOffExclusionTypes = "loyalty" | "discount" | "promo";
|
|
251
251
|
export interface Menus {
|
|
@@ -270,7 +270,7 @@ export interface GlobalMenuGroupDTO {
|
|
|
270
270
|
is_active?: boolean;
|
|
271
271
|
posid_segment?: string;
|
|
272
272
|
id?: string;
|
|
273
|
-
permissions?: any
|
|
273
|
+
permissions?: Record<string, any>;
|
|
274
274
|
[index: string]: any;
|
|
275
275
|
}
|
|
276
276
|
export interface DraftBrandDTO {
|
|
@@ -283,7 +283,7 @@ export interface DraftBrandDTO {
|
|
|
283
283
|
local_menu_group_id?: string;
|
|
284
284
|
global_menu_group_id?: string;
|
|
285
285
|
posid_segment?: string;
|
|
286
|
-
permissions?: any
|
|
286
|
+
permissions?: Record<string, any>;
|
|
287
287
|
[index: string]: any;
|
|
288
288
|
}
|
|
289
289
|
export interface PublishedBrandDTO {
|
|
@@ -296,7 +296,7 @@ export interface PublishedBrandDTO {
|
|
|
296
296
|
local_menu_group_id?: string;
|
|
297
297
|
global_menu_group_id?: string;
|
|
298
298
|
posid_segment?: string;
|
|
299
|
-
permissions?: any
|
|
299
|
+
permissions?: Record<string, any>;
|
|
300
300
|
[index: string]: any;
|
|
301
301
|
}
|
|
302
302
|
export interface VendorMetadataDTO {
|
|
@@ -315,7 +315,7 @@ export interface VendorMetadataDTO {
|
|
|
315
315
|
modifier_group_id?: string;
|
|
316
316
|
modifier_group_to_modifier_relationship_id?: string;
|
|
317
317
|
modifier_id?: string;
|
|
318
|
-
permissions?: any
|
|
318
|
+
permissions?: Record<string, any>;
|
|
319
319
|
[index: string]: any;
|
|
320
320
|
}
|
|
321
321
|
export interface InvalidInputErrorDTO {
|
|
@@ -391,7 +391,7 @@ export interface LocalMenuGroupDTO {
|
|
|
391
391
|
deleted_at?: string;
|
|
392
392
|
version?: number;
|
|
393
393
|
vendor_metadata?: VendorMetadataDTO[];
|
|
394
|
-
permissions?: any
|
|
394
|
+
permissions?: Record<string, any>;
|
|
395
395
|
[index: string]: any;
|
|
396
396
|
}
|
|
397
397
|
export interface DraftBrandDraftBrandDTO {
|
|
@@ -408,22 +408,22 @@ export interface DraftBrandDraftBrandDTO {
|
|
|
408
408
|
created_at?: FilterFieldDTO;
|
|
409
409
|
updated_at?: FilterFieldDTO;
|
|
410
410
|
deleted_at?: FilterFieldDTO;
|
|
411
|
-
parent?: any
|
|
412
|
-
children?: any[];
|
|
411
|
+
parent?: Record<string, any>;
|
|
412
|
+
children?: Record<string, any>[];
|
|
413
413
|
changes?: BrandChangeDTO[];
|
|
414
414
|
local_menu_group?: LocalMenuGroupDTO;
|
|
415
415
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
416
416
|
menus?: DraftMenuDTO[];
|
|
417
|
-
categories?: any[];
|
|
418
|
-
category_to_item_relationships?: any[];
|
|
419
|
-
items?: any[];
|
|
420
|
-
item_to_modifier_group_relationships?: any[];
|
|
421
|
-
modifier_groups?: any[];
|
|
422
|
-
modifier_group_to_modifier_relationships?: any[];
|
|
423
|
-
modifiers?: any[];
|
|
417
|
+
categories?: Record<string, any>[];
|
|
418
|
+
category_to_item_relationships?: Record<string, any>[];
|
|
419
|
+
items?: Record<string, any>[];
|
|
420
|
+
item_to_modifier_group_relationships?: Record<string, any>[];
|
|
421
|
+
modifier_groups?: Record<string, any>[];
|
|
422
|
+
modifier_group_to_modifier_relationships?: Record<string, any>[];
|
|
423
|
+
modifiers?: Record<string, any>[];
|
|
424
424
|
statuses?: BrandStatusDTO[];
|
|
425
425
|
vendor_metadata?: VendorMetadataDTO[];
|
|
426
|
-
attachments?: any
|
|
426
|
+
attachments?: Record<string, any>;
|
|
427
427
|
permissions?: FilterFieldDTO;
|
|
428
428
|
[index: string]: any;
|
|
429
429
|
}
|
|
@@ -432,28 +432,28 @@ export interface BrandChangeDTO {
|
|
|
432
432
|
insert?: FilterFieldDTO;
|
|
433
433
|
delete?: FilterFieldDTO;
|
|
434
434
|
snapshot_entity_id?: FilterFieldDTO;
|
|
435
|
-
snapshot_entity?: any
|
|
435
|
+
snapshot_entity?: Record<string, any>;
|
|
436
436
|
permissions?: FilterFieldDTO;
|
|
437
437
|
[index: string]: any;
|
|
438
438
|
}
|
|
439
439
|
export interface DraftMenuDTO {
|
|
440
|
-
parent?: any
|
|
441
|
-
children?: any[];
|
|
440
|
+
parent?: Record<string, any>;
|
|
441
|
+
children?: Record<string, any>[];
|
|
442
442
|
categories?: DraftCategoryDTO[];
|
|
443
443
|
id?: string;
|
|
444
444
|
parent_id?: string;
|
|
445
445
|
name?: string;
|
|
446
446
|
brand_id?: string;
|
|
447
447
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
448
|
-
brand?: any
|
|
448
|
+
brand?: Record<string, any>;
|
|
449
449
|
changes?: MenuChangeDTO[];
|
|
450
450
|
vendor_metadata?: VendorMetadataDTO[];
|
|
451
451
|
permissions?: FilterFieldDTO;
|
|
452
452
|
[index: string]: any;
|
|
453
453
|
}
|
|
454
454
|
export interface DraftCategoryDTO {
|
|
455
|
-
parent?: any
|
|
456
|
-
children?: any[];
|
|
455
|
+
parent?: Record<string, any>;
|
|
456
|
+
children?: Record<string, any>[];
|
|
457
457
|
id?: string;
|
|
458
458
|
parent_id?: string;
|
|
459
459
|
name?: string;
|
|
@@ -463,17 +463,18 @@ export interface DraftCategoryDTO {
|
|
|
463
463
|
brand_id?: string;
|
|
464
464
|
menu_id?: string;
|
|
465
465
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
466
|
-
menu?: any
|
|
466
|
+
menu?: Record<string, any>;
|
|
467
467
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
468
|
-
brand?: any
|
|
468
|
+
brand?: Record<string, any>;
|
|
469
469
|
changes?: CategoryChangeDTO[];
|
|
470
470
|
vendor_metadata?: VendorMetadataDTO[];
|
|
471
|
+
attachments?: Record<string, any>;
|
|
471
472
|
permissions?: FilterFieldDTO;
|
|
472
473
|
[index: string]: any;
|
|
473
474
|
}
|
|
474
475
|
export interface DraftCategoryToItemRelationshipDTO {
|
|
475
|
-
parent?: any
|
|
476
|
-
children?: any[];
|
|
476
|
+
parent?: Record<string, any>;
|
|
477
|
+
children?: Record<string, any>[];
|
|
477
478
|
id?: string;
|
|
478
479
|
parent_id?: string;
|
|
479
480
|
item_id?: string;
|
|
@@ -481,24 +482,24 @@ export interface DraftCategoryToItemRelationshipDTO {
|
|
|
481
482
|
brand_id?: FilterFieldDTO;
|
|
482
483
|
sequence?: number;
|
|
483
484
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
484
|
-
category?: any
|
|
485
|
+
category?: Record<string, any>;
|
|
485
486
|
item?: DraftItemDTO;
|
|
486
|
-
brand?: any
|
|
487
|
+
brand?: Record<string, any>;
|
|
487
488
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
488
489
|
vendor_metadata?: VendorMetadataDTO[];
|
|
489
490
|
permissions?: FilterFieldDTO;
|
|
490
491
|
[index: string]: any;
|
|
491
492
|
}
|
|
492
493
|
export interface DraftItemDTO {
|
|
493
|
-
parent?: any
|
|
494
|
-
children?: any[];
|
|
494
|
+
parent?: Record<string, any>;
|
|
495
|
+
children?: Record<string, any>[];
|
|
495
496
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
496
497
|
id?: string;
|
|
497
498
|
parent_id?: string;
|
|
498
499
|
name?: string;
|
|
499
500
|
label?: string;
|
|
500
501
|
description?: string;
|
|
501
|
-
reporting?: any
|
|
502
|
+
reporting?: Record<string, any>;
|
|
502
503
|
price?: number;
|
|
503
504
|
barcode?: string;
|
|
504
505
|
calories?: number;
|
|
@@ -509,18 +510,18 @@ export interface DraftItemDTO {
|
|
|
509
510
|
line_route?: FilterFieldDTO;
|
|
510
511
|
posid_segment?: FilterFieldDTO;
|
|
511
512
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
512
|
-
brand?: any
|
|
513
|
-
categories?: any[];
|
|
513
|
+
brand?: Record<string, any>;
|
|
514
|
+
categories?: Record<string, any>[];
|
|
514
515
|
changes?: ItemChangeDTO[];
|
|
515
516
|
vendor_metadata?: VendorMetadataDTO[];
|
|
516
|
-
attachments?:
|
|
517
|
-
weight?: any
|
|
517
|
+
attachments?: Record<string, any>;
|
|
518
|
+
weight?: Record<string, any>;
|
|
518
519
|
permissions?: FilterFieldDTO;
|
|
519
520
|
[index: string]: any;
|
|
520
521
|
}
|
|
521
522
|
export interface DraftItemToModifierGroupRelationshipDTO {
|
|
522
|
-
parent?: any
|
|
523
|
-
children?: any[];
|
|
523
|
+
parent?: Record<string, any>;
|
|
524
|
+
children?: Record<string, any>[];
|
|
524
525
|
id?: string;
|
|
525
526
|
parent_id?: string;
|
|
526
527
|
modifier_group_id?: string;
|
|
@@ -528,19 +529,19 @@ export interface DraftItemToModifierGroupRelationshipDTO {
|
|
|
528
529
|
brand_id?: FilterFieldDTO;
|
|
529
530
|
sequence?: number;
|
|
530
531
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
531
|
-
item?: any
|
|
532
|
+
item?: Record<string, any>;
|
|
532
533
|
modifier_group?: DraftModifierGroupDTO;
|
|
533
|
-
brand?: any
|
|
534
|
+
brand?: Record<string, any>;
|
|
534
535
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
535
536
|
vendor_metadata?: VendorMetadataDTO[];
|
|
536
537
|
permissions?: FilterFieldDTO;
|
|
537
538
|
[index: string]: any;
|
|
538
539
|
}
|
|
539
540
|
export interface DraftModifierGroupDTO {
|
|
540
|
-
parent?: any
|
|
541
|
-
children?: any[];
|
|
541
|
+
parent?: Record<string, any>;
|
|
542
|
+
children?: Record<string, any>[];
|
|
542
543
|
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
543
|
-
items?: any[];
|
|
544
|
+
items?: Record<string, any>[];
|
|
544
545
|
id?: string;
|
|
545
546
|
parent_id?: string;
|
|
546
547
|
name?: string;
|
|
@@ -550,15 +551,15 @@ export interface DraftModifierGroupDTO {
|
|
|
550
551
|
is_active?: boolean;
|
|
551
552
|
brand_id?: string;
|
|
552
553
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
553
|
-
brand?: any
|
|
554
|
+
brand?: Record<string, any>;
|
|
554
555
|
changes?: ModifierGroupChangeDTO[];
|
|
555
556
|
vendor_metadata?: VendorMetadataDTO[];
|
|
556
557
|
permissions?: FilterFieldDTO;
|
|
557
558
|
[index: string]: any;
|
|
558
559
|
}
|
|
559
560
|
export interface DraftModifierGroupToModifierRelationshipDTO {
|
|
560
|
-
parent?: any
|
|
561
|
-
children?: any[];
|
|
561
|
+
parent?: Record<string, any>;
|
|
562
|
+
children?: Record<string, any>[];
|
|
562
563
|
id?: string;
|
|
563
564
|
parent_id?: string;
|
|
564
565
|
modifier_id?: string;
|
|
@@ -567,17 +568,17 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
|
|
|
567
568
|
sequence?: number;
|
|
568
569
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
569
570
|
modifier?: DraftModifierDTO;
|
|
570
|
-
modifier_group?: any
|
|
571
|
-
brand?: any
|
|
571
|
+
modifier_group?: Record<string, any>;
|
|
572
|
+
brand?: Record<string, any>;
|
|
572
573
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
573
574
|
vendor_metadata?: VendorMetadataDTO[];
|
|
574
575
|
permissions?: FilterFieldDTO;
|
|
575
576
|
[index: string]: any;
|
|
576
577
|
}
|
|
577
578
|
export interface DraftModifierDTO {
|
|
578
|
-
parent?: any
|
|
579
|
-
children?: any[];
|
|
580
|
-
modifier_groups?: any[];
|
|
579
|
+
parent?: Record<string, any>;
|
|
580
|
+
children?: Record<string, any>[];
|
|
581
|
+
modifier_groups?: Record<string, any>[];
|
|
581
582
|
id?: string;
|
|
582
583
|
parent_id?: string;
|
|
583
584
|
name?: string;
|
|
@@ -591,11 +592,13 @@ export interface DraftModifierDTO {
|
|
|
591
592
|
reporting?: ReportingMetadataDTO;
|
|
592
593
|
posid_segment?: FilterFieldDTO;
|
|
593
594
|
brand_id?: string;
|
|
595
|
+
sizing?: FilterFieldDTO[];
|
|
594
596
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
595
|
-
brand?: any
|
|
597
|
+
brand?: Record<string, any>;
|
|
596
598
|
changes?: ModifierChangeDTO[];
|
|
597
599
|
vendor_metadata?: VendorMetadataDTO[];
|
|
598
600
|
weight?: WeightDTO;
|
|
601
|
+
attachments?: FileAttachmentsDTO;
|
|
599
602
|
permissions?: FilterFieldDTO;
|
|
600
603
|
[index: string]: any;
|
|
601
604
|
}
|
|
@@ -604,25 +607,30 @@ export interface ModifierChangeDTO {
|
|
|
604
607
|
insert?: FilterFieldDTO;
|
|
605
608
|
delete?: FilterFieldDTO;
|
|
606
609
|
snapshot_entity_id?: FilterFieldDTO;
|
|
607
|
-
snapshot_entity?: any
|
|
610
|
+
snapshot_entity?: Record<string, any>;
|
|
608
611
|
permissions?: FilterFieldDTO;
|
|
609
612
|
[index: string]: any;
|
|
610
613
|
}
|
|
611
614
|
export interface ReportingMetadataDTO {
|
|
612
615
|
category?: ReportingCategoryMetadataDTO;
|
|
613
|
-
id?: any
|
|
616
|
+
id?: Record<string, any>;
|
|
614
617
|
[index: string]: any;
|
|
615
618
|
}
|
|
616
619
|
export interface ReportingCategoryMetadataDTO {
|
|
617
620
|
primary?: "Food" | "Beverage" | "Sundry" | "Alcohol" | "Snack";
|
|
618
621
|
secondary?: FilterFieldDTO;
|
|
619
|
-
id?: any
|
|
622
|
+
id?: Record<string, any>;
|
|
620
623
|
[index: string]: any;
|
|
621
624
|
}
|
|
622
625
|
export interface WeightDTO {
|
|
623
626
|
unit?: FilterFieldDTO;
|
|
624
627
|
amount?: FilterFieldDTO;
|
|
625
|
-
id?: any
|
|
628
|
+
id?: Record<string, any>;
|
|
629
|
+
[index: string]: any;
|
|
630
|
+
}
|
|
631
|
+
export interface FileAttachmentsDTO {
|
|
632
|
+
thumbnail?: FilterFieldDTO;
|
|
633
|
+
id?: Record<string, any>;
|
|
626
634
|
[index: string]: any;
|
|
627
635
|
}
|
|
628
636
|
export interface ModifierGroupToModifierRelationshipChangeDTO {
|
|
@@ -630,7 +638,7 @@ export interface ModifierGroupToModifierRelationshipChangeDTO {
|
|
|
630
638
|
insert?: FilterFieldDTO;
|
|
631
639
|
delete?: FilterFieldDTO;
|
|
632
640
|
snapshot_entity_id?: FilterFieldDTO;
|
|
633
|
-
snapshot_entity?: any
|
|
641
|
+
snapshot_entity?: Record<string, any>;
|
|
634
642
|
permissions?: FilterFieldDTO;
|
|
635
643
|
[index: string]: any;
|
|
636
644
|
}
|
|
@@ -639,7 +647,7 @@ export interface ModifierGroupChangeDTO {
|
|
|
639
647
|
insert?: FilterFieldDTO;
|
|
640
648
|
delete?: FilterFieldDTO;
|
|
641
649
|
snapshot_entity_id?: FilterFieldDTO;
|
|
642
|
-
snapshot_entity?: any
|
|
650
|
+
snapshot_entity?: Record<string, any>;
|
|
643
651
|
permissions?: FilterFieldDTO;
|
|
644
652
|
[index: string]: any;
|
|
645
653
|
}
|
|
@@ -648,7 +656,7 @@ export interface ItemToModifierGroupRelationshipChangeDTO {
|
|
|
648
656
|
insert?: FilterFieldDTO;
|
|
649
657
|
delete?: FilterFieldDTO;
|
|
650
658
|
snapshot_entity_id?: FilterFieldDTO;
|
|
651
|
-
snapshot_entity?: any
|
|
659
|
+
snapshot_entity?: Record<string, any>;
|
|
652
660
|
permissions?: FilterFieldDTO;
|
|
653
661
|
[index: string]: any;
|
|
654
662
|
}
|
|
@@ -657,21 +665,16 @@ export interface ItemChangeDTO {
|
|
|
657
665
|
insert?: FilterFieldDTO;
|
|
658
666
|
delete?: FilterFieldDTO;
|
|
659
667
|
snapshot_entity_id?: FilterFieldDTO;
|
|
660
|
-
snapshot_entity?: any
|
|
668
|
+
snapshot_entity?: Record<string, any>;
|
|
661
669
|
permissions?: FilterFieldDTO;
|
|
662
670
|
[index: string]: any;
|
|
663
671
|
}
|
|
664
|
-
export interface FileAttachmentsDTO {
|
|
665
|
-
thumbnail?: FilterFieldDTO;
|
|
666
|
-
id?: any;
|
|
667
|
-
[index: string]: any;
|
|
668
|
-
}
|
|
669
672
|
export interface CategoryToItemRelationshipChangeDTO {
|
|
670
673
|
id?: string;
|
|
671
674
|
insert?: FilterFieldDTO;
|
|
672
675
|
delete?: FilterFieldDTO;
|
|
673
676
|
snapshot_entity_id?: FilterFieldDTO;
|
|
674
|
-
snapshot_entity?: any
|
|
677
|
+
snapshot_entity?: Record<string, any>;
|
|
675
678
|
permissions?: FilterFieldDTO;
|
|
676
679
|
[index: string]: any;
|
|
677
680
|
}
|
|
@@ -680,7 +683,7 @@ export interface CategoryChangeDTO {
|
|
|
680
683
|
insert?: FilterFieldDTO;
|
|
681
684
|
delete?: FilterFieldDTO;
|
|
682
685
|
snapshot_entity_id?: FilterFieldDTO;
|
|
683
|
-
snapshot_entity?: any
|
|
686
|
+
snapshot_entity?: Record<string, any>;
|
|
684
687
|
permissions?: FilterFieldDTO;
|
|
685
688
|
[index: string]: any;
|
|
686
689
|
}
|
|
@@ -689,7 +692,7 @@ export interface MenuChangeDTO {
|
|
|
689
692
|
insert?: FilterFieldDTO;
|
|
690
693
|
delete?: FilterFieldDTO;
|
|
691
694
|
snapshot_entity_id?: FilterFieldDTO;
|
|
692
|
-
snapshot_entity?: any
|
|
695
|
+
snapshot_entity?: Record<string, any>;
|
|
693
696
|
permissions?: FilterFieldDTO;
|
|
694
697
|
[index: string]: any;
|
|
695
698
|
}
|
|
@@ -699,7 +702,7 @@ export interface BrandStatusDTO {
|
|
|
699
702
|
status?: string;
|
|
700
703
|
metadata?: FilterFieldDTO;
|
|
701
704
|
id?: string;
|
|
702
|
-
brand?: any
|
|
705
|
+
brand?: Record<string, any>;
|
|
703
706
|
permissions?: FilterFieldDTO;
|
|
704
707
|
[index: string]: any;
|
|
705
708
|
}
|
|
@@ -713,8 +716,8 @@ export interface DraftMenuDraftMenuDTO {
|
|
|
713
716
|
created_at?: FilterFieldDTO;
|
|
714
717
|
updated_at?: FilterFieldDTO;
|
|
715
718
|
deleted_at?: FilterFieldDTO;
|
|
716
|
-
parent?: any
|
|
717
|
-
children?: any[];
|
|
719
|
+
parent?: Record<string, any>;
|
|
720
|
+
children?: Record<string, any>[];
|
|
718
721
|
categories?: DraftCategoryDTO[];
|
|
719
722
|
brand?: DraftBrandDTO;
|
|
720
723
|
changes?: MenuChangeDTO[];
|
|
@@ -735,19 +738,21 @@ export interface DraftModifierDraftModifierDTO {
|
|
|
735
738
|
posid?: FilterFieldDTO;
|
|
736
739
|
posid_segment?: FilterFieldDTO;
|
|
737
740
|
brand_id?: FilterFieldDTO;
|
|
741
|
+
sizing?: FilterFieldDTO[];
|
|
738
742
|
id?: FilterFieldDTO;
|
|
739
743
|
version?: FilterFieldDTO;
|
|
740
744
|
created_at?: FilterFieldDTO;
|
|
741
745
|
updated_at?: FilterFieldDTO;
|
|
742
746
|
deleted_at?: FilterFieldDTO;
|
|
743
|
-
parent?: any
|
|
744
|
-
children?: any[];
|
|
747
|
+
parent?: Record<string, any>;
|
|
748
|
+
children?: Record<string, any>[];
|
|
745
749
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
746
750
|
brand?: DraftBrandDTO;
|
|
747
751
|
changes?: ModifierChangeDTO[];
|
|
748
752
|
vendor_metadata?: VendorMetadataDTO[];
|
|
749
753
|
reporting?: ReportingMetadataDTO;
|
|
750
754
|
weight?: WeightDTO;
|
|
755
|
+
attachments?: FileAttachmentsDTO;
|
|
751
756
|
permissions?: FilterFieldDTO;
|
|
752
757
|
[index: string]: any;
|
|
753
758
|
}
|
|
@@ -765,8 +770,8 @@ export interface DraftModifierGroupDraftModifierGroupDTO {
|
|
|
765
770
|
created_at?: FilterFieldDTO;
|
|
766
771
|
updated_at?: FilterFieldDTO;
|
|
767
772
|
deleted_at?: FilterFieldDTO;
|
|
768
|
-
parent?: any
|
|
769
|
-
children?: any[];
|
|
773
|
+
parent?: Record<string, any>;
|
|
774
|
+
children?: Record<string, any>[];
|
|
770
775
|
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
771
776
|
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
772
777
|
brand?: DraftBrandDTO;
|
|
@@ -795,8 +800,8 @@ export interface DraftItemDraftItemDTO {
|
|
|
795
800
|
created_at?: FilterFieldDTO;
|
|
796
801
|
updated_at?: FilterFieldDTO;
|
|
797
802
|
deleted_at?: FilterFieldDTO;
|
|
798
|
-
parent?: any
|
|
799
|
-
children?: any[];
|
|
803
|
+
parent?: Record<string, any>;
|
|
804
|
+
children?: Record<string, any>[];
|
|
800
805
|
brand?: DraftBrandDTO;
|
|
801
806
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
802
807
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
@@ -817,7 +822,7 @@ export interface GlobalDiffDependencyDTO {
|
|
|
817
822
|
is_depended_by_id?: string;
|
|
818
823
|
id?: string;
|
|
819
824
|
depends_on?: GlobalDiffGlobalDiffDTO;
|
|
820
|
-
is_depended_by?: any
|
|
825
|
+
is_depended_by?: Record<string, any>;
|
|
821
826
|
permissions?: FilterFieldDTO;
|
|
822
827
|
[index: string]: any;
|
|
823
828
|
}
|
|
@@ -836,8 +841,8 @@ export interface GlobalDiffGlobalDiffDTO {
|
|
|
836
841
|
created_at?: FilterFieldDTO;
|
|
837
842
|
updated_at?: FilterFieldDTO;
|
|
838
843
|
deleted_at?: FilterFieldDTO;
|
|
839
|
-
depends_on?: any[];
|
|
840
|
-
is_depended_by?: any[];
|
|
844
|
+
depends_on?: Record<string, any>[];
|
|
845
|
+
is_depended_by?: Record<string, any>[];
|
|
841
846
|
brand?: DraftBrandDTO;
|
|
842
847
|
permissions?: FilterFieldDTO;
|
|
843
848
|
[index: string]: any;
|
|
@@ -848,21 +853,21 @@ export interface DiffDTO {
|
|
|
848
853
|
created_at?: string;
|
|
849
854
|
updated_at?: string;
|
|
850
855
|
deleted_at?: string;
|
|
851
|
-
child_nodes?: any[];
|
|
856
|
+
child_nodes?: Record<string, any>[];
|
|
852
857
|
name?: string;
|
|
853
858
|
entity_type?: string;
|
|
854
859
|
local_id?: string;
|
|
855
|
-
changes?: any
|
|
856
|
-
local_changes?: any
|
|
857
|
-
local_snapshot?: any
|
|
860
|
+
changes?: Record<string, any>;
|
|
861
|
+
local_changes?: Record<string, any>;
|
|
862
|
+
local_snapshot?: Record<string, any>;
|
|
858
863
|
global_id?: string;
|
|
859
|
-
global_snapshot?: any
|
|
864
|
+
global_snapshot?: Record<string, any>;
|
|
860
865
|
brand_id?: string;
|
|
861
866
|
version?: number;
|
|
862
867
|
depends_on?: GlobalDiffDependencyDTO[];
|
|
863
868
|
is_depended_by?: GlobalDiffDependencyDTO[];
|
|
864
869
|
brand?: DraftBrandDTO;
|
|
865
|
-
permissions?: any
|
|
870
|
+
permissions?: Record<string, any>;
|
|
866
871
|
[index: string]: any;
|
|
867
872
|
}
|
|
868
873
|
export interface ApplyDiffDTO {
|
|
@@ -875,7 +880,7 @@ export interface PublishedMenuDTO {
|
|
|
875
880
|
parent_id?: string;
|
|
876
881
|
name?: string;
|
|
877
882
|
brand_id?: string;
|
|
878
|
-
permissions?: any
|
|
883
|
+
permissions?: Record<string, any>;
|
|
879
884
|
[index: string]: any;
|
|
880
885
|
}
|
|
881
886
|
export interface PublishedCategoryDTO {
|
|
@@ -887,7 +892,7 @@ export interface PublishedCategoryDTO {
|
|
|
887
892
|
is_active?: boolean;
|
|
888
893
|
brand_id?: string;
|
|
889
894
|
menu_id?: string;
|
|
890
|
-
permissions?: any
|
|
895
|
+
permissions?: Record<string, any>;
|
|
891
896
|
[index: string]: any;
|
|
892
897
|
}
|
|
893
898
|
export interface PublishedCategoryToItemRelationshipDTO {
|
|
@@ -897,7 +902,7 @@ export interface PublishedCategoryToItemRelationshipDTO {
|
|
|
897
902
|
category_id?: string;
|
|
898
903
|
brand_id?: string;
|
|
899
904
|
sequence?: number;
|
|
900
|
-
permissions?: any
|
|
905
|
+
permissions?: Record<string, any>;
|
|
901
906
|
[index: string]: any;
|
|
902
907
|
}
|
|
903
908
|
export interface PublishedItemDTO {
|
|
@@ -911,11 +916,11 @@ export interface PublishedItemDTO {
|
|
|
911
916
|
calories?: number;
|
|
912
917
|
is_active?: boolean;
|
|
913
918
|
posid?: string;
|
|
914
|
-
tax_tags?: any[];
|
|
919
|
+
tax_tags?: Record<string, any>[];
|
|
915
920
|
brand_id?: string;
|
|
916
921
|
line_route?: string;
|
|
917
922
|
posid_segment?: string;
|
|
918
|
-
permissions?: any
|
|
923
|
+
permissions?: Record<string, any>;
|
|
919
924
|
[index: string]: any;
|
|
920
925
|
}
|
|
921
926
|
export interface PublishedItemToModifierGroupRelationshipDTO {
|
|
@@ -925,7 +930,7 @@ export interface PublishedItemToModifierGroupRelationshipDTO {
|
|
|
925
930
|
item_id?: string;
|
|
926
931
|
brand_id?: string;
|
|
927
932
|
sequence?: number;
|
|
928
|
-
permissions?: any
|
|
933
|
+
permissions?: Record<string, any>;
|
|
929
934
|
[index: string]: any;
|
|
930
935
|
}
|
|
931
936
|
export interface PublishedModifierGroupDTO {
|
|
@@ -937,7 +942,7 @@ export interface PublishedModifierGroupDTO {
|
|
|
937
942
|
max?: number;
|
|
938
943
|
is_active?: boolean;
|
|
939
944
|
brand_id?: string;
|
|
940
|
-
permissions?: any
|
|
945
|
+
permissions?: Record<string, any>;
|
|
941
946
|
[index: string]: any;
|
|
942
947
|
}
|
|
943
948
|
export interface PublishedModifierGroupToModifierRelationshipDTO {
|
|
@@ -947,7 +952,7 @@ export interface PublishedModifierGroupToModifierRelationshipDTO {
|
|
|
947
952
|
modifier_group_id?: string;
|
|
948
953
|
brand_id?: string;
|
|
949
954
|
sequence?: number;
|
|
950
|
-
permissions?: any
|
|
955
|
+
permissions?: Record<string, any>;
|
|
951
956
|
[index: string]: any;
|
|
952
957
|
}
|
|
953
958
|
export interface PublishedModifierDTO {
|
|
@@ -958,12 +963,13 @@ export interface PublishedModifierDTO {
|
|
|
958
963
|
description?: string;
|
|
959
964
|
price?: number;
|
|
960
965
|
calories?: number;
|
|
961
|
-
tax_tags?: any[];
|
|
966
|
+
tax_tags?: Record<string, any>[];
|
|
962
967
|
is_active?: boolean;
|
|
963
968
|
posid?: string;
|
|
964
969
|
posid_segment?: string;
|
|
965
970
|
brand_id?: string;
|
|
966
|
-
|
|
971
|
+
sizing?: Record<string, any>[];
|
|
972
|
+
permissions?: Record<string, any>;
|
|
967
973
|
[index: string]: any;
|
|
968
974
|
}
|
|
969
975
|
export interface PublishedBrandPublishedBrandDTO {
|
|
@@ -980,8 +986,8 @@ export interface PublishedBrandPublishedBrandDTO {
|
|
|
980
986
|
created_at?: FilterFieldDTO;
|
|
981
987
|
updated_at?: FilterFieldDTO;
|
|
982
988
|
deleted_at?: FilterFieldDTO;
|
|
983
|
-
parent?: any
|
|
984
|
-
children?: any[];
|
|
989
|
+
parent?: Record<string, any>;
|
|
990
|
+
children?: Record<string, any>[];
|
|
985
991
|
local_menu_group?: LocalMenuGroupDTO;
|
|
986
992
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
987
993
|
menus?: PublishedMenuDTO[];
|
|
@@ -1010,13 +1016,14 @@ export interface DraftCategoryDraftCategoryDTO {
|
|
|
1010
1016
|
created_at?: FilterFieldDTO;
|
|
1011
1017
|
updated_at?: FilterFieldDTO;
|
|
1012
1018
|
deleted_at?: FilterFieldDTO;
|
|
1013
|
-
parent?: any
|
|
1014
|
-
children?: any[];
|
|
1019
|
+
parent?: Record<string, any>;
|
|
1020
|
+
children?: Record<string, any>[];
|
|
1015
1021
|
menu?: DraftMenuDTO;
|
|
1016
1022
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
1017
1023
|
brand?: DraftBrandDTO;
|
|
1018
1024
|
changes?: CategoryChangeDTO[];
|
|
1019
1025
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1026
|
+
attachments?: FileAttachmentsDTO;
|
|
1020
1027
|
permissions?: FilterFieldDTO;
|
|
1021
1028
|
[index: string]: any;
|
|
1022
1029
|
}
|
|
@@ -1029,8 +1036,8 @@ export interface PublishedMenuPublishedMenuDTO {
|
|
|
1029
1036
|
created_at?: FilterFieldDTO;
|
|
1030
1037
|
updated_at?: FilterFieldDTO;
|
|
1031
1038
|
deleted_at?: FilterFieldDTO;
|
|
1032
|
-
parent?: any
|
|
1033
|
-
children?: any[];
|
|
1039
|
+
parent?: Record<string, any>;
|
|
1040
|
+
children?: Record<string, any>[];
|
|
1034
1041
|
categories?: PublishedCategoryDTO[];
|
|
1035
1042
|
brand?: PublishedBrandDTO;
|
|
1036
1043
|
permissions?: FilterFieldDTO;
|
|
@@ -1049,11 +1056,12 @@ export interface PublishedCategoryPublishedCategoryDTO {
|
|
|
1049
1056
|
created_at?: FilterFieldDTO;
|
|
1050
1057
|
updated_at?: FilterFieldDTO;
|
|
1051
1058
|
deleted_at?: FilterFieldDTO;
|
|
1052
|
-
parent?: any
|
|
1053
|
-
children?: any[];
|
|
1059
|
+
parent?: Record<string, any>;
|
|
1060
|
+
children?: Record<string, any>[];
|
|
1054
1061
|
menu?: PublishedMenuDTO;
|
|
1055
1062
|
items?: PublishedCategoryToItemRelationshipDTO[];
|
|
1056
1063
|
brand?: PublishedBrandDTO;
|
|
1064
|
+
attachments?: FileAttachmentsDTO;
|
|
1057
1065
|
permissions?: FilterFieldDTO;
|
|
1058
1066
|
[index: string]: any;
|
|
1059
1067
|
}
|
|
@@ -1069,8 +1077,8 @@ export interface DraftCategoryToItemRelationshipDraftCategoryToItemRelationshipD
|
|
|
1069
1077
|
version?: FilterFieldDTO;
|
|
1070
1078
|
created_at?: FilterFieldDTO;
|
|
1071
1079
|
updated_at?: FilterFieldDTO;
|
|
1072
|
-
parent?: any
|
|
1073
|
-
children?: any[];
|
|
1080
|
+
parent?: Record<string, any>;
|
|
1081
|
+
children?: Record<string, any>[];
|
|
1074
1082
|
category?: DraftCategoryDTO;
|
|
1075
1083
|
item?: DraftItemDTO;
|
|
1076
1084
|
brand?: DraftBrandDTO;
|
|
@@ -1090,14 +1098,18 @@ export interface PublishedCategoryToItemRelationshipPublishedCategoryToItemRelat
|
|
|
1090
1098
|
version?: FilterFieldDTO;
|
|
1091
1099
|
created_at?: FilterFieldDTO;
|
|
1092
1100
|
updated_at?: FilterFieldDTO;
|
|
1093
|
-
parent?: any
|
|
1094
|
-
children?: any[];
|
|
1101
|
+
parent?: Record<string, any>;
|
|
1102
|
+
children?: Record<string, any>[];
|
|
1095
1103
|
category?: PublishedCategoryDTO;
|
|
1096
1104
|
item?: PublishedItemDTO;
|
|
1097
1105
|
brand?: PublishedBrandDTO;
|
|
1098
1106
|
permissions?: FilterFieldDTO;
|
|
1099
1107
|
[index: string]: any;
|
|
1100
1108
|
}
|
|
1109
|
+
export interface LineRouteSuggestion {
|
|
1110
|
+
line_route?: string;
|
|
1111
|
+
occurrences?: number;
|
|
1112
|
+
}
|
|
1101
1113
|
export interface DraftItemEntityDTO {
|
|
1102
1114
|
parent?: DraftItemDTO;
|
|
1103
1115
|
children?: DraftItemDTO[];
|
|
@@ -1116,11 +1128,11 @@ export interface DraftItemEntityDTO {
|
|
|
1116
1128
|
calories?: number;
|
|
1117
1129
|
is_active?: boolean;
|
|
1118
1130
|
posid?: string;
|
|
1119
|
-
tax_tags?: any[];
|
|
1131
|
+
tax_tags?: Record<string, any>[];
|
|
1120
1132
|
brand_id: string;
|
|
1121
1133
|
line_route?: string;
|
|
1122
1134
|
posid_segment?: string;
|
|
1123
|
-
applied_diff_snapshot?: any
|
|
1135
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
1124
1136
|
version?: number;
|
|
1125
1137
|
brand?: DraftBrandDTO;
|
|
1126
1138
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -1128,7 +1140,7 @@ export interface DraftItemEntityDTO {
|
|
|
1128
1140
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1129
1141
|
attachments?: FileAttachmentsDTO;
|
|
1130
1142
|
weight?: WeightDTO;
|
|
1131
|
-
permissions?: any
|
|
1143
|
+
permissions?: Record<string, any>;
|
|
1132
1144
|
[index: string]: any;
|
|
1133
1145
|
}
|
|
1134
1146
|
export interface PublishedItemPublishedItemDTO {
|
|
@@ -1150,8 +1162,8 @@ export interface PublishedItemPublishedItemDTO {
|
|
|
1150
1162
|
created_at?: FilterFieldDTO;
|
|
1151
1163
|
updated_at?: FilterFieldDTO;
|
|
1152
1164
|
deleted_at?: FilterFieldDTO;
|
|
1153
|
-
parent?: any
|
|
1154
|
-
children?: any[];
|
|
1165
|
+
parent?: Record<string, any>;
|
|
1166
|
+
children?: Record<string, any>[];
|
|
1155
1167
|
brand?: PublishedBrandDTO;
|
|
1156
1168
|
categories?: PublishedCategoryToItemRelationshipDTO[];
|
|
1157
1169
|
modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
@@ -1173,8 +1185,8 @@ export interface DraftItemToModifierGroupRelationshipDraftItemToModifierGroupRel
|
|
|
1173
1185
|
version?: FilterFieldDTO;
|
|
1174
1186
|
created_at?: FilterFieldDTO;
|
|
1175
1187
|
updated_at?: FilterFieldDTO;
|
|
1176
|
-
parent?: any
|
|
1177
|
-
children?: any[];
|
|
1188
|
+
parent?: Record<string, any>;
|
|
1189
|
+
children?: Record<string, any>[];
|
|
1178
1190
|
item?: DraftItemDTO;
|
|
1179
1191
|
modifier_group?: DraftModifierGroupDTO;
|
|
1180
1192
|
brand?: DraftBrandDTO;
|
|
@@ -1194,8 +1206,8 @@ export interface PublishedItemToModifierGroupRelationshipPublishedItemToModifier
|
|
|
1194
1206
|
version?: FilterFieldDTO;
|
|
1195
1207
|
created_at?: FilterFieldDTO;
|
|
1196
1208
|
updated_at?: FilterFieldDTO;
|
|
1197
|
-
parent?: any
|
|
1198
|
-
children?: any[];
|
|
1209
|
+
parent?: Record<string, any>;
|
|
1210
|
+
children?: Record<string, any>[];
|
|
1199
1211
|
item?: PublishedItemDTO;
|
|
1200
1212
|
modifier_group?: PublishedModifierGroupDTO;
|
|
1201
1213
|
brand?: PublishedBrandDTO;
|
|
@@ -1215,8 +1227,8 @@ export interface PublishedModifierGroupPublishedModifierGroupDTO {
|
|
|
1215
1227
|
created_at?: FilterFieldDTO;
|
|
1216
1228
|
updated_at?: FilterFieldDTO;
|
|
1217
1229
|
deleted_at?: FilterFieldDTO;
|
|
1218
|
-
parent?: any
|
|
1219
|
-
children?: any[];
|
|
1230
|
+
parent?: Record<string, any>;
|
|
1231
|
+
children?: Record<string, any>[];
|
|
1220
1232
|
modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1221
1233
|
items?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
1222
1234
|
brand?: PublishedBrandDTO;
|
|
@@ -1235,8 +1247,8 @@ export interface DraftModifierGroupToModifierRelationshipDraftModifierGroupToMod
|
|
|
1235
1247
|
version?: FilterFieldDTO;
|
|
1236
1248
|
created_at?: FilterFieldDTO;
|
|
1237
1249
|
updated_at?: FilterFieldDTO;
|
|
1238
|
-
parent?: any
|
|
1239
|
-
children?: any[];
|
|
1250
|
+
parent?: Record<string, any>;
|
|
1251
|
+
children?: Record<string, any>[];
|
|
1240
1252
|
modifier?: DraftModifierDTO;
|
|
1241
1253
|
modifier_group?: DraftModifierGroupDTO;
|
|
1242
1254
|
brand?: DraftBrandDTO;
|
|
@@ -1256,8 +1268,8 @@ export interface PublishedModifierGroupToModifierRelationshipPublishedModifierGr
|
|
|
1256
1268
|
version?: FilterFieldDTO;
|
|
1257
1269
|
created_at?: FilterFieldDTO;
|
|
1258
1270
|
updated_at?: FilterFieldDTO;
|
|
1259
|
-
parent?: any
|
|
1260
|
-
children?: any[];
|
|
1271
|
+
parent?: Record<string, any>;
|
|
1272
|
+
children?: Record<string, any>[];
|
|
1261
1273
|
modifier_group?: PublishedModifierGroupDTO;
|
|
1262
1274
|
modifier?: PublishedModifierDTO;
|
|
1263
1275
|
brand?: PublishedBrandDTO;
|
|
@@ -1278,19 +1290,21 @@ export interface DraftModifierEntityDTO {
|
|
|
1278
1290
|
description?: string;
|
|
1279
1291
|
price: number;
|
|
1280
1292
|
calories?: number;
|
|
1281
|
-
tax_tags?: any[];
|
|
1293
|
+
tax_tags?: Record<string, any>[];
|
|
1282
1294
|
is_active?: boolean;
|
|
1283
1295
|
posid?: string;
|
|
1284
1296
|
reporting: ReportingMetadataDTO;
|
|
1285
1297
|
posid_segment?: string;
|
|
1286
1298
|
brand_id: string;
|
|
1287
|
-
|
|
1299
|
+
sizing?: Record<string, any>[];
|
|
1300
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
1288
1301
|
version?: number;
|
|
1289
1302
|
brand?: DraftBrandDTO;
|
|
1290
1303
|
changes?: ModifierChangeDTO[];
|
|
1291
1304
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1292
1305
|
weight?: WeightDTO;
|
|
1293
|
-
|
|
1306
|
+
attachments?: FileAttachmentsDTO;
|
|
1307
|
+
permissions?: Record<string, any>;
|
|
1294
1308
|
[index: string]: any;
|
|
1295
1309
|
}
|
|
1296
1310
|
export interface PublishedModifierPublishedModifierDTO {
|
|
@@ -1305,17 +1319,19 @@ export interface PublishedModifierPublishedModifierDTO {
|
|
|
1305
1319
|
posid?: FilterFieldDTO;
|
|
1306
1320
|
posid_segment?: FilterFieldDTO;
|
|
1307
1321
|
brand_id?: FilterFieldDTO;
|
|
1322
|
+
sizing?: FilterFieldDTO[];
|
|
1308
1323
|
id?: FilterFieldDTO;
|
|
1309
1324
|
version?: FilterFieldDTO;
|
|
1310
1325
|
created_at?: FilterFieldDTO;
|
|
1311
1326
|
updated_at?: FilterFieldDTO;
|
|
1312
1327
|
deleted_at?: FilterFieldDTO;
|
|
1313
|
-
parent?: any
|
|
1314
|
-
children?: any[];
|
|
1328
|
+
parent?: Record<string, any>;
|
|
1329
|
+
children?: Record<string, any>[];
|
|
1315
1330
|
modifier_groups?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1316
1331
|
brand?: PublishedBrandDTO;
|
|
1317
1332
|
reporting?: ReportingMetadataDTO;
|
|
1318
1333
|
weight?: WeightDTO;
|
|
1334
|
+
attachments?: FileAttachmentsDTO;
|
|
1319
1335
|
permissions?: FilterFieldDTO;
|
|
1320
1336
|
[index: string]: any;
|
|
1321
1337
|
}
|
|
@@ -1327,17 +1343,17 @@ export interface GlobalDiffDTO {
|
|
|
1327
1343
|
deleted_at?: string;
|
|
1328
1344
|
entity_type?: string;
|
|
1329
1345
|
local_id?: string;
|
|
1330
|
-
changes?: any
|
|
1331
|
-
local_changes?: any
|
|
1332
|
-
local_snapshot?: any
|
|
1346
|
+
changes?: Record<string, any>;
|
|
1347
|
+
local_changes?: Record<string, any>;
|
|
1348
|
+
local_snapshot?: Record<string, any>;
|
|
1333
1349
|
global_id?: string;
|
|
1334
|
-
global_snapshot?: any
|
|
1350
|
+
global_snapshot?: Record<string, any>;
|
|
1335
1351
|
brand_id?: string;
|
|
1336
1352
|
version?: number;
|
|
1337
1353
|
depends_on?: GlobalDiffDependencyDTO[];
|
|
1338
1354
|
is_depended_by?: GlobalDiffDependencyDTO[];
|
|
1339
1355
|
brand?: DraftBrandDTO;
|
|
1340
|
-
permissions?: any
|
|
1356
|
+
permissions?: Record<string, any>;
|
|
1341
1357
|
[index: string]: any;
|
|
1342
1358
|
}
|
|
1343
1359
|
export interface GetMenuClientPath {
|
|
@@ -1367,7 +1383,7 @@ export interface GetMenuHeadersPath {
|
|
|
1367
1383
|
export interface GetMenuHeadersQuery {
|
|
1368
1384
|
_query?: string;
|
|
1369
1385
|
}
|
|
1370
|
-
export type GetMenuHeadersResponse = any
|
|
1386
|
+
export type GetMenuHeadersResponse = Record<string, any>;
|
|
1371
1387
|
export interface GetMenuHeadersRequest extends BaseRequest, RequestQuery<GetMenuHeadersQuery>, GetMenuHeadersPath {
|
|
1372
1388
|
}
|
|
1373
1389
|
export interface GetMenuPath {
|
|
@@ -1606,7 +1622,7 @@ export interface PostMenuV3LocalMenuGroupBody {
|
|
|
1606
1622
|
draft_brands?: DraftBrandDTO[];
|
|
1607
1623
|
published_brands?: PublishedBrandDTO[];
|
|
1608
1624
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1609
|
-
permissions?: any
|
|
1625
|
+
permissions?: Record<string, any>;
|
|
1610
1626
|
[index: string]: any;
|
|
1611
1627
|
}
|
|
1612
1628
|
export interface PostMenuV3LocalMenuGroupResponse {
|
|
@@ -1621,7 +1637,7 @@ export interface PostMenuV3LocalMenuGroupResponse {
|
|
|
1621
1637
|
deleted_at?: string;
|
|
1622
1638
|
version?: number;
|
|
1623
1639
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1624
|
-
permissions?: any
|
|
1640
|
+
permissions?: Record<string, any>;
|
|
1625
1641
|
[index: string]: any;
|
|
1626
1642
|
}
|
|
1627
1643
|
export interface PostMenuV3LocalMenuGroupRequest extends BaseRequest {
|
|
@@ -1647,7 +1663,7 @@ export interface GetMenuV3LocalMenuGroupResponse {
|
|
|
1647
1663
|
deleted_at?: string;
|
|
1648
1664
|
version?: number;
|
|
1649
1665
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1650
|
-
permissions?: any
|
|
1666
|
+
permissions?: Record<string, any>;
|
|
1651
1667
|
[index: string]: any;
|
|
1652
1668
|
}
|
|
1653
1669
|
export interface GetMenuV3LocalMenuGroupRequest extends BaseRequest, RequestQuery<GetMenuV3LocalMenuGroupQuery>, GetMenuV3LocalMenuGroupPath {
|
|
@@ -1664,7 +1680,7 @@ export interface PatchMenuV3LocalMenuGroupBody {
|
|
|
1664
1680
|
id?: string;
|
|
1665
1681
|
version?: number;
|
|
1666
1682
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1667
|
-
permissions?: any
|
|
1683
|
+
permissions?: Record<string, any>;
|
|
1668
1684
|
[index: string]: any;
|
|
1669
1685
|
}
|
|
1670
1686
|
export interface PatchMenuV3LocalMenuGroupResponse {
|
|
@@ -1679,7 +1695,7 @@ export interface PatchMenuV3LocalMenuGroupResponse {
|
|
|
1679
1695
|
deleted_at?: string;
|
|
1680
1696
|
version?: number;
|
|
1681
1697
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1682
|
-
permissions?: any
|
|
1698
|
+
permissions?: Record<string, any>;
|
|
1683
1699
|
[index: string]: any;
|
|
1684
1700
|
}
|
|
1685
1701
|
export interface PatchMenuV3LocalMenuGroupRequest extends BaseRequest, PatchMenuV3LocalMenuGroupPath {
|
|
@@ -1700,7 +1716,7 @@ export interface DeleteMenuV3LocalMenuGroupResponse {
|
|
|
1700
1716
|
deleted_at?: string;
|
|
1701
1717
|
version?: number;
|
|
1702
1718
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1703
|
-
permissions?: any
|
|
1719
|
+
permissions?: Record<string, any>;
|
|
1704
1720
|
[index: string]: any;
|
|
1705
1721
|
}
|
|
1706
1722
|
export interface DeleteMenuV3LocalMenuGroupRequest extends BaseRequest, DeleteMenuV3LocalMenuGroupPath {
|
|
@@ -1731,9 +1747,9 @@ export type PostMenuV3LocalMenuGroupsBody = {
|
|
|
1731
1747
|
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
1732
1748
|
draft_brands?: DraftBrandDTO[];
|
|
1733
1749
|
published_brands?: PublishedBrandDTO[];
|
|
1734
|
-
id?: any
|
|
1750
|
+
id?: Record<string, any>;
|
|
1735
1751
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1736
|
-
permissions?: any
|
|
1752
|
+
permissions?: Record<string, any>;
|
|
1737
1753
|
[index: string]: any;
|
|
1738
1754
|
}[];
|
|
1739
1755
|
export interface PostMenuV3LocalMenuGroupsResponse {
|
|
@@ -1856,7 +1872,7 @@ export interface PostMenuV3GlobalMenuGroupBody {
|
|
|
1856
1872
|
published_brands?: PublishedBrandDTO[];
|
|
1857
1873
|
posid_segment: string;
|
|
1858
1874
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1859
|
-
permissions?: any
|
|
1875
|
+
permissions?: Record<string, any>;
|
|
1860
1876
|
[index: string]: any;
|
|
1861
1877
|
}
|
|
1862
1878
|
export type PostMenuV3GlobalMenuGroupResponse = GlobalMenuGroupDTO;
|
|
@@ -1887,7 +1903,7 @@ export interface PatchMenuV3GlobalMenuGroupBody {
|
|
|
1887
1903
|
id?: string;
|
|
1888
1904
|
version?: number;
|
|
1889
1905
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1890
|
-
permissions?: any
|
|
1906
|
+
permissions?: Record<string, any>;
|
|
1891
1907
|
[index: string]: any;
|
|
1892
1908
|
}
|
|
1893
1909
|
export type PatchMenuV3GlobalMenuGroupResponse = GlobalMenuGroupDTO;
|
|
@@ -1913,7 +1929,7 @@ export interface DeleteMenuV3GlobalMenuGroupResponse {
|
|
|
1913
1929
|
deleted_at?: string;
|
|
1914
1930
|
version?: number;
|
|
1915
1931
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1916
|
-
permissions?: any
|
|
1932
|
+
permissions?: Record<string, any>;
|
|
1917
1933
|
[index: string]: any;
|
|
1918
1934
|
}
|
|
1919
1935
|
export interface DeleteMenuV3GlobalMenuGroupRequest extends BaseRequest, RequestQuery<DeleteMenuV3GlobalMenuGroupQuery>, DeleteMenuV3GlobalMenuGroupPath {
|
|
@@ -1945,9 +1961,9 @@ export type PostMenuV3GlobalMenuGroupsBody = {
|
|
|
1945
1961
|
draft_brands?: DraftBrandDTO[];
|
|
1946
1962
|
published_brands?: PublishedBrandDTO[];
|
|
1947
1963
|
posid_segment: string;
|
|
1948
|
-
id?: any
|
|
1964
|
+
id?: Record<string, any>;
|
|
1949
1965
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1950
|
-
permissions?: any
|
|
1966
|
+
permissions?: Record<string, any>;
|
|
1951
1967
|
[index: string]: any;
|
|
1952
1968
|
}[];
|
|
1953
1969
|
export interface PostMenuV3GlobalMenuGroupsResponse {
|
|
@@ -2036,13 +2052,13 @@ export interface PostMenuV3DraftBrandBody {
|
|
|
2036
2052
|
local_menu_group_id?: string;
|
|
2037
2053
|
global_menu_group_id?: string;
|
|
2038
2054
|
posid_segment?: string;
|
|
2039
|
-
id?: any
|
|
2055
|
+
id?: Record<string, any>;
|
|
2040
2056
|
changes?: BrandChangeDTO[];
|
|
2041
2057
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2042
2058
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2043
2059
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2044
2060
|
attachments?: FileAttachmentsDTO;
|
|
2045
|
-
permissions?: any
|
|
2061
|
+
permissions?: Record<string, any>;
|
|
2046
2062
|
[index: string]: any;
|
|
2047
2063
|
}
|
|
2048
2064
|
export type PostMenuV3DraftBrandResponse = DraftBrandDTO;
|
|
@@ -2090,7 +2106,7 @@ export interface PatchMenuV3DraftBrandBody {
|
|
|
2090
2106
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2091
2107
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2092
2108
|
attachments?: FileAttachmentsDTO;
|
|
2093
|
-
permissions?: any
|
|
2109
|
+
permissions?: Record<string, any>;
|
|
2094
2110
|
[index: string]: any;
|
|
2095
2111
|
}
|
|
2096
2112
|
export type PatchMenuV3DraftBrandResponse = DraftBrandDTO;
|
|
@@ -2143,13 +2159,13 @@ export type PostMenuV3DraftBrandsBody = {
|
|
|
2143
2159
|
local_menu_group_id?: string;
|
|
2144
2160
|
global_menu_group_id?: string;
|
|
2145
2161
|
posid_segment?: string;
|
|
2146
|
-
id?: any
|
|
2162
|
+
id?: Record<string, any>;
|
|
2147
2163
|
changes?: BrandChangeDTO[];
|
|
2148
2164
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2149
2165
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2150
2166
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2151
2167
|
attachments?: FileAttachmentsDTO;
|
|
2152
|
-
permissions?: any
|
|
2168
|
+
permissions?: Record<string, any>;
|
|
2153
2169
|
[index: string]: any;
|
|
2154
2170
|
}[];
|
|
2155
2171
|
export interface PostMenuV3DraftBrandsResponse {
|
|
@@ -2370,11 +2386,11 @@ export interface PostMenuV3BrandBody {
|
|
|
2370
2386
|
local_menu_group_id?: string;
|
|
2371
2387
|
global_menu_group_id?: string;
|
|
2372
2388
|
posid_segment?: string;
|
|
2373
|
-
id?: any
|
|
2389
|
+
id?: Record<string, any>;
|
|
2374
2390
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2375
2391
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2376
2392
|
attachments?: FileAttachmentsDTO;
|
|
2377
|
-
permissions?: any
|
|
2393
|
+
permissions?: Record<string, any>;
|
|
2378
2394
|
[index: string]: any;
|
|
2379
2395
|
}
|
|
2380
2396
|
export type PostMenuV3BrandResponse = PublishedBrandDTO;
|
|
@@ -2423,7 +2439,7 @@ export interface PatchMenuV3BrandBody {
|
|
|
2423
2439
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2424
2440
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2425
2441
|
attachments?: FileAttachmentsDTO;
|
|
2426
|
-
permissions?: any
|
|
2442
|
+
permissions?: Record<string, any>;
|
|
2427
2443
|
[index: string]: any;
|
|
2428
2444
|
}
|
|
2429
2445
|
export type PatchMenuV3BrandResponse = PublishedBrandDTO;
|
|
@@ -2482,11 +2498,11 @@ export type PostMenuV3BrandsBody = {
|
|
|
2482
2498
|
local_menu_group_id?: string;
|
|
2483
2499
|
global_menu_group_id?: string;
|
|
2484
2500
|
posid_segment?: string;
|
|
2485
|
-
id?: any
|
|
2501
|
+
id?: Record<string, any>;
|
|
2486
2502
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2487
2503
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2488
2504
|
attachments?: FileAttachmentsDTO;
|
|
2489
|
-
permissions?: any
|
|
2505
|
+
permissions?: Record<string, any>;
|
|
2490
2506
|
[index: string]: any;
|
|
2491
2507
|
}[];
|
|
2492
2508
|
export interface PostMenuV3BrandsResponse {
|
|
@@ -2642,7 +2658,7 @@ export interface PostMenuV3BrandLocalResponse {
|
|
|
2642
2658
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2643
2659
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2644
2660
|
attachments?: FileAttachmentsDTO;
|
|
2645
|
-
permissions?: any
|
|
2661
|
+
permissions?: Record<string, any>;
|
|
2646
2662
|
[index: string]: any;
|
|
2647
2663
|
}
|
|
2648
2664
|
export interface PostMenuV3BrandLocalRequest extends BaseRequest, RequestQuery<PostMenuV3BrandLocalQuery>, PostMenuV3BrandLocalPath {
|
|
@@ -2654,12 +2670,12 @@ export interface PostMenuV3DraftMenuBody {
|
|
|
2654
2670
|
parent_id?: string;
|
|
2655
2671
|
name: string;
|
|
2656
2672
|
brand_id: string;
|
|
2657
|
-
id?: any
|
|
2658
|
-
applied_diff_snapshot?: any
|
|
2673
|
+
id?: Record<string, any>;
|
|
2674
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
2659
2675
|
brand?: DraftBrandDTO;
|
|
2660
2676
|
changes?: MenuChangeDTO[];
|
|
2661
2677
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2662
|
-
permissions?: any
|
|
2678
|
+
permissions?: Record<string, any>;
|
|
2663
2679
|
[index: string]: any;
|
|
2664
2680
|
}
|
|
2665
2681
|
export type PostMenuV3DraftMenuResponse = DraftMenuDTO;
|
|
@@ -2688,12 +2704,12 @@ export interface PatchMenuV3DraftMenuBody {
|
|
|
2688
2704
|
parent_id?: string;
|
|
2689
2705
|
name?: string;
|
|
2690
2706
|
brand_id?: string;
|
|
2691
|
-
applied_diff_snapshot?: any
|
|
2707
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
2692
2708
|
version?: number;
|
|
2693
2709
|
brand?: DraftBrandDTO;
|
|
2694
2710
|
changes?: MenuChangeDTO[];
|
|
2695
2711
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2696
|
-
permissions?: any
|
|
2712
|
+
permissions?: Record<string, any>;
|
|
2697
2713
|
[index: string]: any;
|
|
2698
2714
|
}
|
|
2699
2715
|
export type PatchMenuV3DraftMenuResponse = DraftMenuDTO;
|
|
@@ -2733,12 +2749,12 @@ export type PostMenuV3DraftMenusBody = {
|
|
|
2733
2749
|
parent_id?: string;
|
|
2734
2750
|
name: string;
|
|
2735
2751
|
brand_id: string;
|
|
2736
|
-
id?: any
|
|
2737
|
-
applied_diff_snapshot?: any
|
|
2752
|
+
id?: Record<string, any>;
|
|
2753
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
2738
2754
|
brand?: DraftBrandDTO;
|
|
2739
2755
|
changes?: MenuChangeDTO[];
|
|
2740
2756
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2741
|
-
permissions?: any
|
|
2757
|
+
permissions?: Record<string, any>;
|
|
2742
2758
|
[index: string]: any;
|
|
2743
2759
|
}[];
|
|
2744
2760
|
export interface PostMenuV3DraftMenusResponse {
|
|
@@ -2872,14 +2888,15 @@ export interface PostMenuV3DraftCategoryBody {
|
|
|
2872
2888
|
is_active?: boolean;
|
|
2873
2889
|
brand_id: string;
|
|
2874
2890
|
menu_id: string;
|
|
2875
|
-
id?: any
|
|
2876
|
-
applied_diff_snapshot?: any
|
|
2891
|
+
id?: Record<string, any>;
|
|
2892
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
2877
2893
|
menu?: DraftMenuDTO;
|
|
2878
2894
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
2879
2895
|
brand?: DraftBrandDTO;
|
|
2880
2896
|
changes?: CategoryChangeDTO[];
|
|
2881
2897
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2882
|
-
|
|
2898
|
+
attachments?: FileAttachmentsDTO;
|
|
2899
|
+
permissions?: Record<string, any>;
|
|
2883
2900
|
[index: string]: any;
|
|
2884
2901
|
}
|
|
2885
2902
|
export type PostMenuV3DraftCategoryResponse = DraftCategoryDTO;
|
|
@@ -2911,14 +2928,15 @@ export interface PatchMenuV3DraftCategoryBody {
|
|
|
2911
2928
|
is_active?: boolean;
|
|
2912
2929
|
brand_id?: string;
|
|
2913
2930
|
menu_id?: string;
|
|
2914
|
-
applied_diff_snapshot?: any
|
|
2931
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
2915
2932
|
version?: number;
|
|
2916
2933
|
menu?: DraftMenuDTO;
|
|
2917
2934
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
2918
2935
|
brand?: DraftBrandDTO;
|
|
2919
2936
|
changes?: CategoryChangeDTO[];
|
|
2920
2937
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2921
|
-
|
|
2938
|
+
attachments?: FileAttachmentsDTO;
|
|
2939
|
+
permissions?: Record<string, any>;
|
|
2922
2940
|
[index: string]: any;
|
|
2923
2941
|
}
|
|
2924
2942
|
export type PatchMenuV3DraftCategoryResponse = DraftCategoryDTO;
|
|
@@ -2953,14 +2971,15 @@ export type PostMenuV3DraftCategoriesBody = {
|
|
|
2953
2971
|
is_active?: boolean;
|
|
2954
2972
|
brand_id: string;
|
|
2955
2973
|
menu_id: string;
|
|
2956
|
-
id?: any
|
|
2957
|
-
applied_diff_snapshot?: any
|
|
2974
|
+
id?: Record<string, any>;
|
|
2975
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
2958
2976
|
menu?: DraftMenuDTO;
|
|
2959
2977
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
2960
2978
|
brand?: DraftBrandDTO;
|
|
2961
2979
|
changes?: CategoryChangeDTO[];
|
|
2962
2980
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2963
|
-
|
|
2981
|
+
attachments?: FileAttachmentsDTO;
|
|
2982
|
+
permissions?: Record<string, any>;
|
|
2964
2983
|
[index: string]: any;
|
|
2965
2984
|
}[];
|
|
2966
2985
|
export interface PostMenuV3DraftCategoriesResponse {
|
|
@@ -2971,6 +2990,18 @@ export interface PostMenuV3DraftCategoriesResponse {
|
|
|
2971
2990
|
export interface PostMenuV3DraftCategoriesRequest extends BaseRequest {
|
|
2972
2991
|
body: PostMenuV3DraftCategoriesBody;
|
|
2973
2992
|
}
|
|
2993
|
+
export interface PostMenuV3DraftCategoryAttachmentPath {
|
|
2994
|
+
id: string;
|
|
2995
|
+
name: "thumbnail";
|
|
2996
|
+
}
|
|
2997
|
+
export interface PostMenuV3DraftCategoryAttachmentQuery {
|
|
2998
|
+
"body.data"?: string;
|
|
2999
|
+
}
|
|
3000
|
+
export interface PostMenuV3DraftCategoryAttachmentResponse {
|
|
3001
|
+
status?: string;
|
|
3002
|
+
}
|
|
3003
|
+
export interface PostMenuV3DraftCategoryAttachmentRequest extends BaseRequest, RequestQuery<PostMenuV3DraftCategoryAttachmentQuery>, PostMenuV3DraftCategoryAttachmentPath {
|
|
3004
|
+
}
|
|
2974
3005
|
export interface GetMenuV3CategoryPath {
|
|
2975
3006
|
id: string;
|
|
2976
3007
|
}
|
|
@@ -3004,14 +3035,14 @@ export interface PostMenuV3DraftCategoryRelationshipsItemBody {
|
|
|
3004
3035
|
category_id: string;
|
|
3005
3036
|
brand_id: string;
|
|
3006
3037
|
sequence?: number;
|
|
3007
|
-
id?: any
|
|
3008
|
-
applied_diff_snapshot?: any
|
|
3038
|
+
id?: Record<string, any>;
|
|
3039
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3009
3040
|
category?: DraftCategoryDTO;
|
|
3010
3041
|
item?: DraftItemDTO;
|
|
3011
3042
|
brand?: DraftBrandDTO;
|
|
3012
3043
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
3013
3044
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3014
|
-
permissions?: any
|
|
3045
|
+
permissions?: Record<string, any>;
|
|
3015
3046
|
[index: string]: any;
|
|
3016
3047
|
}
|
|
3017
3048
|
export type PostMenuV3DraftCategoryRelationshipsItemResponse = DraftCategoryToItemRelationshipDTO;
|
|
@@ -3041,14 +3072,14 @@ export interface PatchMenuV3DraftCategoryRelationshipsItemBody {
|
|
|
3041
3072
|
category_id?: string;
|
|
3042
3073
|
brand_id?: string;
|
|
3043
3074
|
sequence?: number;
|
|
3044
|
-
applied_diff_snapshot?: any
|
|
3075
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3045
3076
|
version?: number;
|
|
3046
3077
|
category?: DraftCategoryDTO;
|
|
3047
3078
|
item?: DraftItemDTO;
|
|
3048
3079
|
brand?: DraftBrandDTO;
|
|
3049
3080
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
3050
3081
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3051
|
-
permissions?: any
|
|
3082
|
+
permissions?: Record<string, any>;
|
|
3052
3083
|
[index: string]: any;
|
|
3053
3084
|
}
|
|
3054
3085
|
export type PatchMenuV3DraftCategoryRelationshipsItemResponse = DraftCategoryToItemRelationshipDTO;
|
|
@@ -3089,14 +3120,14 @@ export type PostMenuV3DraftCategoryRelationshipsItemsBody = {
|
|
|
3089
3120
|
category_id: string;
|
|
3090
3121
|
brand_id: string;
|
|
3091
3122
|
sequence?: number;
|
|
3092
|
-
id?: any
|
|
3093
|
-
applied_diff_snapshot?: any
|
|
3123
|
+
id?: Record<string, any>;
|
|
3124
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3094
3125
|
category?: DraftCategoryDTO;
|
|
3095
3126
|
item?: DraftItemDTO;
|
|
3096
3127
|
brand?: DraftBrandDTO;
|
|
3097
3128
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
3098
3129
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3099
|
-
permissions?: any
|
|
3130
|
+
permissions?: Record<string, any>;
|
|
3100
3131
|
[index: string]: any;
|
|
3101
3132
|
}[];
|
|
3102
3133
|
export interface PostMenuV3DraftCategoryRelationshipsItemsResponse {
|
|
@@ -3179,19 +3210,19 @@ export interface PostMenuV3DraftItemBody {
|
|
|
3179
3210
|
calories?: number;
|
|
3180
3211
|
is_active?: boolean;
|
|
3181
3212
|
posid?: string;
|
|
3182
|
-
tax_tags?: any[];
|
|
3213
|
+
tax_tags?: Record<string, any>[];
|
|
3183
3214
|
brand_id: string;
|
|
3184
3215
|
line_route?: string;
|
|
3185
3216
|
posid_segment?: string;
|
|
3186
|
-
id?: any
|
|
3187
|
-
applied_diff_snapshot?: any
|
|
3217
|
+
id?: Record<string, any>;
|
|
3218
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3188
3219
|
brand?: DraftBrandDTO;
|
|
3189
3220
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
3190
3221
|
changes?: ItemChangeDTO[];
|
|
3191
3222
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3192
3223
|
attachments?: FileAttachmentsDTO;
|
|
3193
3224
|
weight?: WeightDTO;
|
|
3194
|
-
permissions?: any
|
|
3225
|
+
permissions?: Record<string, any>;
|
|
3195
3226
|
[index: string]: any;
|
|
3196
3227
|
}
|
|
3197
3228
|
export type PostMenuV3DraftItemResponse = DraftItemDTO;
|
|
@@ -3227,11 +3258,11 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
3227
3258
|
calories?: number;
|
|
3228
3259
|
is_active?: boolean;
|
|
3229
3260
|
posid?: string;
|
|
3230
|
-
tax_tags?: any[];
|
|
3261
|
+
tax_tags?: Record<string, any>[];
|
|
3231
3262
|
brand_id?: string;
|
|
3232
3263
|
line_route?: string;
|
|
3233
3264
|
posid_segment?: string;
|
|
3234
|
-
applied_diff_snapshot?: any
|
|
3265
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3235
3266
|
version?: number;
|
|
3236
3267
|
brand?: DraftBrandDTO;
|
|
3237
3268
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -3239,7 +3270,7 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
3239
3270
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3240
3271
|
attachments?: FileAttachmentsDTO;
|
|
3241
3272
|
weight?: WeightDTO;
|
|
3242
|
-
permissions?: any
|
|
3273
|
+
permissions?: Record<string, any>;
|
|
3243
3274
|
[index: string]: any;
|
|
3244
3275
|
}
|
|
3245
3276
|
export type PatchMenuV3DraftItemResponse = DraftItemDTO;
|
|
@@ -3286,19 +3317,19 @@ export type PostMenuV3DraftItemsBody = {
|
|
|
3286
3317
|
calories?: number;
|
|
3287
3318
|
is_active?: boolean;
|
|
3288
3319
|
posid?: string;
|
|
3289
|
-
tax_tags?: any[];
|
|
3320
|
+
tax_tags?: Record<string, any>[];
|
|
3290
3321
|
brand_id: string;
|
|
3291
3322
|
line_route?: string;
|
|
3292
3323
|
posid_segment?: string;
|
|
3293
|
-
id?: any
|
|
3294
|
-
applied_diff_snapshot?: any
|
|
3324
|
+
id?: Record<string, any>;
|
|
3325
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3295
3326
|
brand?: DraftBrandDTO;
|
|
3296
3327
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
3297
3328
|
changes?: ItemChangeDTO[];
|
|
3298
3329
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3299
3330
|
attachments?: FileAttachmentsDTO;
|
|
3300
3331
|
weight?: WeightDTO;
|
|
3301
|
-
permissions?: any
|
|
3332
|
+
permissions?: Record<string, any>;
|
|
3302
3333
|
[index: string]: any;
|
|
3303
3334
|
}[];
|
|
3304
3335
|
export interface PostMenuV3DraftItemsResponse {
|
|
@@ -3321,8 +3352,20 @@ export interface GetMenuV3DraftItemsCountResponse {
|
|
|
3321
3352
|
}
|
|
3322
3353
|
export interface GetMenuV3DraftItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftItemsCountQuery> {
|
|
3323
3354
|
}
|
|
3355
|
+
export interface GetMenuV3DraftItemLineRoutesPath {
|
|
3356
|
+
id: string;
|
|
3357
|
+
}
|
|
3358
|
+
export interface GetMenuV3DraftItemLineRoutesQuery {
|
|
3359
|
+
search?: string;
|
|
3360
|
+
_query?: string;
|
|
3361
|
+
}
|
|
3362
|
+
export interface GetMenuV3DraftItemLineRoutesResponse {
|
|
3363
|
+
results?: LineRouteSuggestion[];
|
|
3364
|
+
}
|
|
3365
|
+
export interface GetMenuV3DraftItemLineRoutesRequest extends BaseRequest, RequestQuery<GetMenuV3DraftItemLineRoutesQuery>, GetMenuV3DraftItemLineRoutesPath {
|
|
3366
|
+
}
|
|
3324
3367
|
export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
3325
|
-
id_list: any[];
|
|
3368
|
+
id_list: Record<string, any>[];
|
|
3326
3369
|
parent?: DraftItemDTO;
|
|
3327
3370
|
children?: DraftItemDTO[];
|
|
3328
3371
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
@@ -3337,18 +3380,18 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
|
3337
3380
|
calories?: number;
|
|
3338
3381
|
is_active?: boolean;
|
|
3339
3382
|
posid?: string;
|
|
3340
|
-
tax_tags?: any[];
|
|
3383
|
+
tax_tags?: Record<string, any>[];
|
|
3341
3384
|
brand_id?: string;
|
|
3342
3385
|
line_route?: string;
|
|
3343
3386
|
posid_segment?: string;
|
|
3344
|
-
applied_diff_snapshot?: any
|
|
3387
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3345
3388
|
brand?: DraftBrandDTO;
|
|
3346
3389
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
3347
3390
|
changes?: ItemChangeDTO[];
|
|
3348
3391
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3349
3392
|
attachments?: FileAttachmentsDTO;
|
|
3350
3393
|
weight?: WeightDTO;
|
|
3351
|
-
permissions?: any
|
|
3394
|
+
permissions?: Record<string, any>;
|
|
3352
3395
|
[index: string]: any;
|
|
3353
3396
|
}
|
|
3354
3397
|
export interface PatchMenuV3DraftItemsBulkUpdateResponse {
|
|
@@ -3357,52 +3400,52 @@ export interface PatchMenuV3DraftItemsBulkUpdateResponse {
|
|
|
3357
3400
|
export interface PatchMenuV3DraftItemsBulkUpdateRequest extends BaseRequest {
|
|
3358
3401
|
body: PatchMenuV3DraftItemsBulkUpdateBody;
|
|
3359
3402
|
}
|
|
3360
|
-
export interface
|
|
3403
|
+
export interface PostMenuV3DraftItemAttachmentPath {
|
|
3361
3404
|
id: string;
|
|
3362
3405
|
name: "thumbnail";
|
|
3363
3406
|
}
|
|
3364
|
-
export interface
|
|
3407
|
+
export interface PostMenuV3DraftItemAttachmentQuery {
|
|
3365
3408
|
"body.data"?: string;
|
|
3366
3409
|
}
|
|
3367
|
-
export interface
|
|
3410
|
+
export interface PostMenuV3DraftItemAttachmentResponse {
|
|
3368
3411
|
status?: string;
|
|
3369
3412
|
}
|
|
3370
|
-
export interface
|
|
3413
|
+
export interface PostMenuV3DraftItemAttachmentRequest extends BaseRequest, RequestQuery<PostMenuV3DraftItemAttachmentQuery>, PostMenuV3DraftItemAttachmentPath {
|
|
3371
3414
|
}
|
|
3372
|
-
export interface
|
|
3415
|
+
export interface PostMenuV3DraftItemsValidateBody {
|
|
3373
3416
|
brand_id: string;
|
|
3374
3417
|
category_id?: string;
|
|
3375
3418
|
data: string;
|
|
3376
3419
|
[index: string]: any;
|
|
3377
3420
|
}
|
|
3378
|
-
export interface
|
|
3421
|
+
export interface PostMenuV3DraftItemsValidateResponse {
|
|
3379
3422
|
s3_link?: string;
|
|
3380
3423
|
}
|
|
3381
|
-
export interface
|
|
3382
|
-
body:
|
|
3424
|
+
export interface PostMenuV3DraftItemsValidateRequest extends BaseRequest {
|
|
3425
|
+
body: PostMenuV3DraftItemsValidateBody;
|
|
3383
3426
|
}
|
|
3384
|
-
export interface
|
|
3427
|
+
export interface PostMenuV3DraftItemsImportBody {
|
|
3385
3428
|
brand_id: string;
|
|
3386
3429
|
category_id?: string;
|
|
3387
3430
|
data: string;
|
|
3388
3431
|
[index: string]: any;
|
|
3389
3432
|
}
|
|
3390
|
-
export interface
|
|
3433
|
+
export interface PostMenuV3DraftItemsImportResponse {
|
|
3391
3434
|
status?: string;
|
|
3392
3435
|
}
|
|
3393
|
-
export interface
|
|
3394
|
-
body:
|
|
3436
|
+
export interface PostMenuV3DraftItemsImportRequest extends BaseRequest {
|
|
3437
|
+
body: PostMenuV3DraftItemsImportBody;
|
|
3395
3438
|
}
|
|
3396
|
-
export interface
|
|
3439
|
+
export interface PostMenuV3DraftItemsExportBody {
|
|
3397
3440
|
brand_id: string;
|
|
3398
3441
|
category_id?: string;
|
|
3399
3442
|
[index: string]: any;
|
|
3400
3443
|
}
|
|
3401
|
-
export interface
|
|
3444
|
+
export interface PostMenuV3DraftItemsExportResponse {
|
|
3402
3445
|
s3_link?: string;
|
|
3403
3446
|
}
|
|
3404
|
-
export interface
|
|
3405
|
-
body:
|
|
3447
|
+
export interface PostMenuV3DraftItemsExportRequest extends BaseRequest {
|
|
3448
|
+
body: PostMenuV3DraftItemsExportBody;
|
|
3406
3449
|
}
|
|
3407
3450
|
export interface GetMenuV3ItemPath {
|
|
3408
3451
|
id: string;
|
|
@@ -3458,14 +3501,14 @@ export interface PostMenuV3DraftItemRelationshipsModifierGroupBody {
|
|
|
3458
3501
|
item_id: string;
|
|
3459
3502
|
brand_id: string;
|
|
3460
3503
|
sequence?: number;
|
|
3461
|
-
id?: any
|
|
3462
|
-
applied_diff_snapshot?: any
|
|
3504
|
+
id?: Record<string, any>;
|
|
3505
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3463
3506
|
item?: DraftItemDTO;
|
|
3464
3507
|
modifier_group?: DraftModifierGroupDTO;
|
|
3465
3508
|
brand?: DraftBrandDTO;
|
|
3466
3509
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
3467
3510
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3468
|
-
permissions?: any
|
|
3511
|
+
permissions?: Record<string, any>;
|
|
3469
3512
|
[index: string]: any;
|
|
3470
3513
|
}
|
|
3471
3514
|
export type PostMenuV3DraftItemRelationshipsModifierGroupResponse = DraftItemToModifierGroupRelationshipDTO;
|
|
@@ -3495,14 +3538,14 @@ export interface PatchMenuV3DraftItemRelationshipsModifierGroupBody {
|
|
|
3495
3538
|
item_id?: string;
|
|
3496
3539
|
brand_id?: string;
|
|
3497
3540
|
sequence?: number;
|
|
3498
|
-
applied_diff_snapshot?: any
|
|
3541
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3499
3542
|
version?: number;
|
|
3500
3543
|
item?: DraftItemDTO;
|
|
3501
3544
|
modifier_group?: DraftModifierGroupDTO;
|
|
3502
3545
|
brand?: DraftBrandDTO;
|
|
3503
3546
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
3504
3547
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3505
|
-
permissions?: any
|
|
3548
|
+
permissions?: Record<string, any>;
|
|
3506
3549
|
[index: string]: any;
|
|
3507
3550
|
}
|
|
3508
3551
|
export type PatchMenuV3DraftItemRelationshipsModifierGroupResponse = DraftItemToModifierGroupRelationshipDTO;
|
|
@@ -3543,14 +3586,14 @@ export type PostMenuV3DraftItemRelationshipsModifierGroupsBody = {
|
|
|
3543
3586
|
item_id: string;
|
|
3544
3587
|
brand_id: string;
|
|
3545
3588
|
sequence?: number;
|
|
3546
|
-
id?: any
|
|
3547
|
-
applied_diff_snapshot?: any
|
|
3589
|
+
id?: Record<string, any>;
|
|
3590
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3548
3591
|
item?: DraftItemDTO;
|
|
3549
3592
|
modifier_group?: DraftModifierGroupDTO;
|
|
3550
3593
|
brand?: DraftBrandDTO;
|
|
3551
3594
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
3552
3595
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3553
|
-
permissions?: any
|
|
3596
|
+
permissions?: Record<string, any>;
|
|
3554
3597
|
[index: string]: any;
|
|
3555
3598
|
}[];
|
|
3556
3599
|
export interface PostMenuV3DraftItemRelationshipsModifierGroupsResponse {
|
|
@@ -3631,12 +3674,12 @@ export interface PostMenuV3DraftModifierGroupBody {
|
|
|
3631
3674
|
max?: number;
|
|
3632
3675
|
is_active?: boolean;
|
|
3633
3676
|
brand_id: string;
|
|
3634
|
-
id?: any
|
|
3635
|
-
applied_diff_snapshot?: any
|
|
3677
|
+
id?: Record<string, any>;
|
|
3678
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3636
3679
|
brand?: DraftBrandDTO;
|
|
3637
3680
|
changes?: ModifierGroupChangeDTO[];
|
|
3638
3681
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3639
|
-
permissions?: any
|
|
3682
|
+
permissions?: Record<string, any>;
|
|
3640
3683
|
[index: string]: any;
|
|
3641
3684
|
}
|
|
3642
3685
|
export type PostMenuV3DraftModifierGroupResponse = DraftModifierGroupDTO;
|
|
@@ -3670,12 +3713,12 @@ export interface PatchMenuV3DraftModifierGroupBody {
|
|
|
3670
3713
|
max?: number;
|
|
3671
3714
|
is_active?: boolean;
|
|
3672
3715
|
brand_id?: string;
|
|
3673
|
-
applied_diff_snapshot?: any
|
|
3716
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3674
3717
|
version?: number;
|
|
3675
3718
|
brand?: DraftBrandDTO;
|
|
3676
3719
|
changes?: ModifierGroupChangeDTO[];
|
|
3677
3720
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3678
|
-
permissions?: any
|
|
3721
|
+
permissions?: Record<string, any>;
|
|
3679
3722
|
[index: string]: any;
|
|
3680
3723
|
}
|
|
3681
3724
|
export type PatchMenuV3DraftModifierGroupResponse = DraftModifierGroupDTO;
|
|
@@ -3720,12 +3763,12 @@ export type PostMenuV3DraftModifierGroupsBody = {
|
|
|
3720
3763
|
max?: number;
|
|
3721
3764
|
is_active?: boolean;
|
|
3722
3765
|
brand_id: string;
|
|
3723
|
-
id?: any
|
|
3724
|
-
applied_diff_snapshot?: any
|
|
3766
|
+
id?: Record<string, any>;
|
|
3767
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3725
3768
|
brand?: DraftBrandDTO;
|
|
3726
3769
|
changes?: ModifierGroupChangeDTO[];
|
|
3727
3770
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3728
|
-
permissions?: any
|
|
3771
|
+
permissions?: Record<string, any>;
|
|
3729
3772
|
[index: string]: any;
|
|
3730
3773
|
}[];
|
|
3731
3774
|
export interface PostMenuV3DraftModifierGroupsResponse {
|
|
@@ -3767,12 +3810,12 @@ export interface PostMenuV3DraftModifierGroupDuplicateResponse {
|
|
|
3767
3810
|
max?: number;
|
|
3768
3811
|
is_active?: boolean;
|
|
3769
3812
|
brand_id: string;
|
|
3770
|
-
applied_diff_snapshot?: any
|
|
3813
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3771
3814
|
version?: number;
|
|
3772
3815
|
brand?: DraftBrandDTO;
|
|
3773
3816
|
changes?: ModifierGroupChangeDTO[];
|
|
3774
3817
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3775
|
-
permissions?: any
|
|
3818
|
+
permissions?: Record<string, any>;
|
|
3776
3819
|
[index: string]: any;
|
|
3777
3820
|
}
|
|
3778
3821
|
export interface PostMenuV3DraftModifierGroupDuplicateRequest extends BaseRequest, PostMenuV3DraftModifierGroupDuplicatePath {
|
|
@@ -3831,14 +3874,14 @@ export interface PostMenuV3DraftModifierGroupRelationshipsModifierBody {
|
|
|
3831
3874
|
modifier_group_id: string;
|
|
3832
3875
|
brand_id: string;
|
|
3833
3876
|
sequence?: number;
|
|
3834
|
-
id?: any
|
|
3835
|
-
applied_diff_snapshot?: any
|
|
3877
|
+
id?: Record<string, any>;
|
|
3878
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3836
3879
|
modifier?: DraftModifierDTO;
|
|
3837
3880
|
modifier_group?: DraftModifierGroupDTO;
|
|
3838
3881
|
brand?: DraftBrandDTO;
|
|
3839
3882
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
3840
3883
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3841
|
-
permissions?: any
|
|
3884
|
+
permissions?: Record<string, any>;
|
|
3842
3885
|
[index: string]: any;
|
|
3843
3886
|
}
|
|
3844
3887
|
export type PostMenuV3DraftModifierGroupRelationshipsModifierResponse = DraftModifierGroupToModifierRelationshipDTO;
|
|
@@ -3868,14 +3911,14 @@ export interface PatchMenuV3DraftModifierGroupRelationshipsModifierBody {
|
|
|
3868
3911
|
modifier_group_id?: string;
|
|
3869
3912
|
brand_id?: string;
|
|
3870
3913
|
sequence?: number;
|
|
3871
|
-
applied_diff_snapshot?: any
|
|
3914
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3872
3915
|
version?: number;
|
|
3873
3916
|
modifier?: DraftModifierDTO;
|
|
3874
3917
|
modifier_group?: DraftModifierGroupDTO;
|
|
3875
3918
|
brand?: DraftBrandDTO;
|
|
3876
3919
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
3877
3920
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3878
|
-
permissions?: any
|
|
3921
|
+
permissions?: Record<string, any>;
|
|
3879
3922
|
[index: string]: any;
|
|
3880
3923
|
}
|
|
3881
3924
|
export type PatchMenuV3DraftModifierGroupRelationshipsModifierResponse = DraftModifierGroupToModifierRelationshipDTO;
|
|
@@ -3916,14 +3959,14 @@ export type PostMenuV3DraftModifierGroupRelationshipsModifiersBody = {
|
|
|
3916
3959
|
modifier_group_id: string;
|
|
3917
3960
|
brand_id: string;
|
|
3918
3961
|
sequence?: number;
|
|
3919
|
-
id?: any
|
|
3920
|
-
applied_diff_snapshot?: any
|
|
3962
|
+
id?: Record<string, any>;
|
|
3963
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3921
3964
|
modifier?: DraftModifierDTO;
|
|
3922
3965
|
modifier_group?: DraftModifierGroupDTO;
|
|
3923
3966
|
brand?: DraftBrandDTO;
|
|
3924
3967
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
3925
3968
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3926
|
-
permissions?: any
|
|
3969
|
+
permissions?: Record<string, any>;
|
|
3927
3970
|
[index: string]: any;
|
|
3928
3971
|
}[];
|
|
3929
3972
|
export interface PostMenuV3DraftModifierGroupRelationshipsModifiersResponse {
|
|
@@ -4002,19 +4045,21 @@ export interface PostMenuV3DraftModifierBody {
|
|
|
4002
4045
|
description?: string;
|
|
4003
4046
|
price: number;
|
|
4004
4047
|
calories?: number;
|
|
4005
|
-
tax_tags?: any[];
|
|
4048
|
+
tax_tags?: Record<string, any>[];
|
|
4006
4049
|
is_active?: boolean;
|
|
4007
4050
|
posid?: string;
|
|
4008
4051
|
reporting: ReportingMetadataDTO;
|
|
4009
4052
|
posid_segment?: string;
|
|
4010
4053
|
brand_id: string;
|
|
4011
|
-
|
|
4012
|
-
|
|
4054
|
+
sizing?: Record<string, any>[];
|
|
4055
|
+
id?: Record<string, any>;
|
|
4056
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4013
4057
|
brand?: DraftBrandDTO;
|
|
4014
4058
|
changes?: ModifierChangeDTO[];
|
|
4015
4059
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4016
4060
|
weight?: WeightDTO;
|
|
4017
|
-
|
|
4061
|
+
attachments?: FileAttachmentsDTO;
|
|
4062
|
+
permissions?: Record<string, any>;
|
|
4018
4063
|
[index: string]: any;
|
|
4019
4064
|
}
|
|
4020
4065
|
export type PostMenuV3DraftModifierResponse = DraftModifierDTO;
|
|
@@ -4046,19 +4091,21 @@ export interface PatchMenuV3DraftModifierBody {
|
|
|
4046
4091
|
description?: string;
|
|
4047
4092
|
price?: number;
|
|
4048
4093
|
calories?: number;
|
|
4049
|
-
tax_tags?: any[];
|
|
4094
|
+
tax_tags?: Record<string, any>[];
|
|
4050
4095
|
is_active?: boolean;
|
|
4051
4096
|
posid?: string;
|
|
4052
4097
|
reporting?: ReportingMetadataDTO;
|
|
4053
4098
|
posid_segment?: string;
|
|
4054
4099
|
brand_id?: string;
|
|
4055
|
-
|
|
4100
|
+
sizing?: Record<string, any>[];
|
|
4101
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4056
4102
|
version?: number;
|
|
4057
4103
|
brand?: DraftBrandDTO;
|
|
4058
4104
|
changes?: ModifierChangeDTO[];
|
|
4059
4105
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4060
4106
|
weight?: WeightDTO;
|
|
4061
|
-
|
|
4107
|
+
attachments?: FileAttachmentsDTO;
|
|
4108
|
+
permissions?: Record<string, any>;
|
|
4062
4109
|
[index: string]: any;
|
|
4063
4110
|
}
|
|
4064
4111
|
export type PatchMenuV3DraftModifierResponse = DraftModifierDTO;
|
|
@@ -4101,19 +4148,21 @@ export type PostMenuV3DraftModifiersBody = {
|
|
|
4101
4148
|
description?: string;
|
|
4102
4149
|
price: number;
|
|
4103
4150
|
calories?: number;
|
|
4104
|
-
tax_tags?: any[];
|
|
4151
|
+
tax_tags?: Record<string, any>[];
|
|
4105
4152
|
is_active?: boolean;
|
|
4106
4153
|
posid?: string;
|
|
4107
4154
|
reporting: ReportingMetadataDTO;
|
|
4108
4155
|
posid_segment?: string;
|
|
4109
4156
|
brand_id: string;
|
|
4110
|
-
|
|
4111
|
-
|
|
4157
|
+
sizing?: Record<string, any>[];
|
|
4158
|
+
id?: Record<string, any>;
|
|
4159
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4112
4160
|
brand?: DraftBrandDTO;
|
|
4113
4161
|
changes?: ModifierChangeDTO[];
|
|
4114
4162
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4115
4163
|
weight?: WeightDTO;
|
|
4116
|
-
|
|
4164
|
+
attachments?: FileAttachmentsDTO;
|
|
4165
|
+
permissions?: Record<string, any>;
|
|
4117
4166
|
[index: string]: any;
|
|
4118
4167
|
}[];
|
|
4119
4168
|
export interface PostMenuV3DraftModifiersResponse {
|
|
@@ -4137,7 +4186,7 @@ export interface GetMenuV3DraftModifiersCountResponse {
|
|
|
4137
4186
|
export interface GetMenuV3DraftModifiersCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifiersCountQuery> {
|
|
4138
4187
|
}
|
|
4139
4188
|
export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
4140
|
-
id_list: any[];
|
|
4189
|
+
id_list: Record<string, any>[];
|
|
4141
4190
|
parent?: DraftModifierDTO;
|
|
4142
4191
|
children?: DraftModifierDTO[];
|
|
4143
4192
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
@@ -4148,18 +4197,20 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
|
4148
4197
|
description?: string;
|
|
4149
4198
|
price?: number;
|
|
4150
4199
|
calories?: number;
|
|
4151
|
-
tax_tags?: any[];
|
|
4200
|
+
tax_tags?: Record<string, any>[];
|
|
4152
4201
|
is_active?: boolean;
|
|
4153
4202
|
posid?: string;
|
|
4154
4203
|
reporting?: ReportingMetadataDTO;
|
|
4155
4204
|
posid_segment?: string;
|
|
4156
4205
|
brand_id?: string;
|
|
4157
|
-
|
|
4206
|
+
sizing?: Record<string, any>[];
|
|
4207
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4158
4208
|
brand?: DraftBrandDTO;
|
|
4159
4209
|
changes?: ModifierChangeDTO[];
|
|
4160
4210
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4161
4211
|
weight?: WeightDTO;
|
|
4162
|
-
|
|
4212
|
+
attachments?: FileAttachmentsDTO;
|
|
4213
|
+
permissions?: Record<string, any>;
|
|
4163
4214
|
[index: string]: any;
|
|
4164
4215
|
}
|
|
4165
4216
|
export interface PatchMenuV3DraftModifiersBulkUpdateResponse {
|
|
@@ -4168,6 +4219,18 @@ export interface PatchMenuV3DraftModifiersBulkUpdateResponse {
|
|
|
4168
4219
|
export interface PatchMenuV3DraftModifiersBulkUpdateRequest extends BaseRequest {
|
|
4169
4220
|
body: PatchMenuV3DraftModifiersBulkUpdateBody;
|
|
4170
4221
|
}
|
|
4222
|
+
export interface PostMenuV3DraftModifiersAttachmentPath {
|
|
4223
|
+
id: string;
|
|
4224
|
+
name: "thumbnail";
|
|
4225
|
+
}
|
|
4226
|
+
export interface PostMenuV3DraftModifiersAttachmentQuery {
|
|
4227
|
+
"body.data"?: string;
|
|
4228
|
+
}
|
|
4229
|
+
export interface PostMenuV3DraftModifiersAttachmentResponse {
|
|
4230
|
+
status?: string;
|
|
4231
|
+
}
|
|
4232
|
+
export interface PostMenuV3DraftModifiersAttachmentRequest extends BaseRequest, RequestQuery<PostMenuV3DraftModifiersAttachmentQuery>, PostMenuV3DraftModifiersAttachmentPath {
|
|
4233
|
+
}
|
|
4171
4234
|
export interface GetMenuV3ModifierPath {
|
|
4172
4235
|
id: string;
|
|
4173
4236
|
}
|
|
@@ -4218,8 +4281,8 @@ export interface PostMenuV3IntegrationsTransltrImportQuery {
|
|
|
4218
4281
|
"body.data"?: string;
|
|
4219
4282
|
}
|
|
4220
4283
|
export interface PostMenuV3IntegrationsTransltrImportResponse {
|
|
4221
|
-
errors?: any
|
|
4222
|
-
results?: any
|
|
4284
|
+
errors?: Record<string, any>;
|
|
4285
|
+
results?: Record<string, any>;
|
|
4223
4286
|
}
|
|
4224
4287
|
export interface PostMenuV3IntegrationsTransltrImportRequest extends BaseRequest, RequestQuery<PostMenuV3IntegrationsTransltrImportQuery> {
|
|
4225
4288
|
}
|
|
@@ -4239,17 +4302,17 @@ export interface GetMenuV3GlobalDiffResponse {
|
|
|
4239
4302
|
deleted_at?: string;
|
|
4240
4303
|
entity_type?: string;
|
|
4241
4304
|
local_id?: string;
|
|
4242
|
-
changes?: any
|
|
4243
|
-
local_changes?: any
|
|
4244
|
-
local_snapshot?: any
|
|
4305
|
+
changes?: Record<string, any>;
|
|
4306
|
+
local_changes?: Record<string, any>;
|
|
4307
|
+
local_snapshot?: Record<string, any>;
|
|
4245
4308
|
global_id?: string;
|
|
4246
|
-
global_snapshot?: any
|
|
4309
|
+
global_snapshot?: Record<string, any>;
|
|
4247
4310
|
brand_id?: string;
|
|
4248
4311
|
version?: number;
|
|
4249
4312
|
depends_on?: GlobalDiffDependencyDTO[];
|
|
4250
4313
|
is_depended_by?: GlobalDiffDependencyDTO[];
|
|
4251
4314
|
brand?: DraftBrandDTO;
|
|
4252
|
-
permissions?: any
|
|
4315
|
+
permissions?: Record<string, any>;
|
|
4253
4316
|
[index: string]: any;
|
|
4254
4317
|
}
|
|
4255
4318
|
export interface GetMenuV3GlobalDiffRequest extends BaseRequest, RequestQuery<GetMenuV3GlobalDiffQuery>, GetMenuV3GlobalDiffPath {
|