@compassdigital/sdk.typescript 4.16.0 → 4.16.2
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/base.d.ts +11 -1
- package/lib/base.d.ts.map +1 -1
- package/lib/base.js +21 -3
- package/lib/base.js.map +1 -1
- package/lib/index.d.ts +20 -3
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +17 -0
- 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 +19 -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 +2 -2
- 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 +1 -1
- 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 +5 -5
- 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 +12 -21
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/location.js +0 -12
- package/lib/interface/location.js.map +1 -1
- package/lib/interface/mealplan.d.ts +1 -1
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +253 -255
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/menu.js +0 -6
- package/lib/interface/menu.js.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 +4 -4
- package/lib/interface/order.d.ts.map +1 -1
- package/lib/interface/partner.d.ts +18 -26
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/partner.js +0 -11
- package/lib/interface/partner.js.map +1 -1
- package/lib/interface/payment.d.ts +1 -1
- package/lib/interface/payment.d.ts.map +1 -1
- package/lib/interface/promo.d.ts +5 -12
- package/lib/interface/promo.d.ts.map +1 -1
- package/lib/interface/promo.js +0 -8
- package/lib/interface/promo.js.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 +8 -12
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/lib/interface/shoppingcart.js +0 -5
- package/lib/interface/shoppingcart.js.map +1 -1
- package/lib/interface/task.d.ts +6 -14
- package/lib/interface/task.d.ts.map +1 -1
- package/lib/interface/task.js +0 -9
- package/lib/interface/task.js.map +1 -1
- package/lib/interface/user.d.ts +4 -4
- package/lib/interface/user.d.ts.map +1 -1
- package/lib/interface/util.d.ts +0 -19
- package/lib/interface/util.d.ts.map +1 -1
- package/lib/interface/vendor.d.ts +1 -1
- package/lib/interface/vendor.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/base.ts +25 -6
- package/src/index.ts +47 -1
- 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 +34 -3
- package/src/interface/compassconnect.ts +1 -1
- package/src/interface/config.ts +2 -2
- package/src/interface/datalake.ts +2 -2
- package/src/interface/delivery.ts +1 -1
- package/src/interface/email.ts +2 -2
- package/src/interface/file.ts +1 -1
- package/src/interface/frictionless.ts +5 -5
- package/src/interface/kds.ts +1 -1
- package/src/interface/location.ts +12 -20
- package/src/interface/mealplan.ts +1 -1
- package/src/interface/menu.ts +254 -253
- package/src/interface/notification.ts +2 -2
- package/src/interface/order.ts +5 -4
- package/src/interface/partner.ts +18 -25
- package/src/interface/payment.ts +1 -1
- package/src/interface/promo.ts +5 -11
- package/src/interface/report.ts +1 -1
- package/src/interface/shoppingcart.ts +8 -11
- package/src/interface/task.ts +12 -13
- package/src/interface/user.ts +4 -4
- package/src/interface/util.ts +0 -21
- 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,13 +245,9 @@ export interface Success {
|
|
|
245
245
|
export interface Error {
|
|
246
246
|
error?: string;
|
|
247
247
|
code?: number;
|
|
248
|
-
data?: any
|
|
249
|
-
}
|
|
250
|
-
declare enum AmountOffExclusionTypes {
|
|
251
|
-
LOYALTY = "loyalty",
|
|
252
|
-
DISCOUNT = "discount",
|
|
253
|
-
PROMO = "promo"
|
|
248
|
+
data?: Record<string, any>;
|
|
254
249
|
}
|
|
250
|
+
export type AmountOffExclusionTypes = "loyalty" | "discount" | "promo";
|
|
255
251
|
export interface Menus {
|
|
256
252
|
menus?: Menu[];
|
|
257
253
|
}
|
|
@@ -274,7 +270,7 @@ export interface GlobalMenuGroupDTO {
|
|
|
274
270
|
is_active?: boolean;
|
|
275
271
|
posid_segment?: string;
|
|
276
272
|
id?: string;
|
|
277
|
-
permissions?: any
|
|
273
|
+
permissions?: Record<string, any>;
|
|
278
274
|
[index: string]: any;
|
|
279
275
|
}
|
|
280
276
|
export interface DraftBrandDTO {
|
|
@@ -287,7 +283,7 @@ export interface DraftBrandDTO {
|
|
|
287
283
|
local_menu_group_id?: string;
|
|
288
284
|
global_menu_group_id?: string;
|
|
289
285
|
posid_segment?: string;
|
|
290
|
-
permissions?: any
|
|
286
|
+
permissions?: Record<string, any>;
|
|
291
287
|
[index: string]: any;
|
|
292
288
|
}
|
|
293
289
|
export interface PublishedBrandDTO {
|
|
@@ -300,7 +296,7 @@ export interface PublishedBrandDTO {
|
|
|
300
296
|
local_menu_group_id?: string;
|
|
301
297
|
global_menu_group_id?: string;
|
|
302
298
|
posid_segment?: string;
|
|
303
|
-
permissions?: any
|
|
299
|
+
permissions?: Record<string, any>;
|
|
304
300
|
[index: string]: any;
|
|
305
301
|
}
|
|
306
302
|
export interface VendorMetadataDTO {
|
|
@@ -319,7 +315,7 @@ export interface VendorMetadataDTO {
|
|
|
319
315
|
modifier_group_id?: string;
|
|
320
316
|
modifier_group_to_modifier_relationship_id?: string;
|
|
321
317
|
modifier_id?: string;
|
|
322
|
-
permissions?: any
|
|
318
|
+
permissions?: Record<string, any>;
|
|
323
319
|
[index: string]: any;
|
|
324
320
|
}
|
|
325
321
|
export interface InvalidInputErrorDTO {
|
|
@@ -395,7 +391,7 @@ export interface LocalMenuGroupDTO {
|
|
|
395
391
|
deleted_at?: string;
|
|
396
392
|
version?: number;
|
|
397
393
|
vendor_metadata?: VendorMetadataDTO[];
|
|
398
|
-
permissions?: any
|
|
394
|
+
permissions?: Record<string, any>;
|
|
399
395
|
[index: string]: any;
|
|
400
396
|
}
|
|
401
397
|
export interface DraftBrandDraftBrandDTO {
|
|
@@ -412,22 +408,22 @@ export interface DraftBrandDraftBrandDTO {
|
|
|
412
408
|
created_at?: FilterFieldDTO;
|
|
413
409
|
updated_at?: FilterFieldDTO;
|
|
414
410
|
deleted_at?: FilterFieldDTO;
|
|
415
|
-
parent?: any
|
|
416
|
-
children?: any[];
|
|
411
|
+
parent?: Record<string, any>;
|
|
412
|
+
children?: Record<string, any>[];
|
|
417
413
|
changes?: BrandChangeDTO[];
|
|
418
414
|
local_menu_group?: LocalMenuGroupDTO;
|
|
419
415
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
420
416
|
menus?: DraftMenuDTO[];
|
|
421
|
-
categories?: any[];
|
|
422
|
-
category_to_item_relationships?: any[];
|
|
423
|
-
items?: any[];
|
|
424
|
-
item_to_modifier_group_relationships?: any[];
|
|
425
|
-
modifier_groups?: any[];
|
|
426
|
-
modifier_group_to_modifier_relationships?: any[];
|
|
427
|
-
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>[];
|
|
428
424
|
statuses?: BrandStatusDTO[];
|
|
429
425
|
vendor_metadata?: VendorMetadataDTO[];
|
|
430
|
-
attachments?: any
|
|
426
|
+
attachments?: Record<string, any>;
|
|
431
427
|
permissions?: FilterFieldDTO;
|
|
432
428
|
[index: string]: any;
|
|
433
429
|
}
|
|
@@ -436,13 +432,13 @@ export interface BrandChangeDTO {
|
|
|
436
432
|
insert?: FilterFieldDTO;
|
|
437
433
|
delete?: FilterFieldDTO;
|
|
438
434
|
snapshot_entity_id?: FilterFieldDTO;
|
|
439
|
-
snapshot_entity?: any
|
|
435
|
+
snapshot_entity?: Record<string, any>;
|
|
440
436
|
permissions?: FilterFieldDTO;
|
|
441
437
|
[index: string]: any;
|
|
442
438
|
}
|
|
443
439
|
export interface DraftMenuDTO {
|
|
444
|
-
parent?: any
|
|
445
|
-
children?: any[];
|
|
440
|
+
parent?: Record<string, any>;
|
|
441
|
+
children?: Record<string, any>[];
|
|
446
442
|
categories?: DraftCategoryDTO[];
|
|
447
443
|
id?: string;
|
|
448
444
|
parent_id?: string;
|
|
@@ -450,15 +446,15 @@ export interface DraftMenuDTO {
|
|
|
450
446
|
brand_id?: string;
|
|
451
447
|
category_images_enabled?: boolean;
|
|
452
448
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
453
|
-
brand?: any
|
|
449
|
+
brand?: Record<string, any>;
|
|
454
450
|
changes?: MenuChangeDTO[];
|
|
455
451
|
vendor_metadata?: VendorMetadataDTO[];
|
|
456
452
|
permissions?: FilterFieldDTO;
|
|
457
453
|
[index: string]: any;
|
|
458
454
|
}
|
|
459
455
|
export interface DraftCategoryDTO {
|
|
460
|
-
parent?: any
|
|
461
|
-
children?: any[];
|
|
456
|
+
parent?: Record<string, any>;
|
|
457
|
+
children?: Record<string, any>[];
|
|
462
458
|
id?: string;
|
|
463
459
|
parent_id?: string;
|
|
464
460
|
name?: string;
|
|
@@ -469,18 +465,18 @@ export interface DraftCategoryDTO {
|
|
|
469
465
|
menu_id?: string;
|
|
470
466
|
item_images_enabled?: boolean;
|
|
471
467
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
472
|
-
menu?: any
|
|
468
|
+
menu?: Record<string, any>;
|
|
473
469
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
474
|
-
brand?: any
|
|
470
|
+
brand?: Record<string, any>;
|
|
475
471
|
changes?: CategoryChangeDTO[];
|
|
476
472
|
vendor_metadata?: VendorMetadataDTO[];
|
|
477
|
-
attachments?: any
|
|
473
|
+
attachments?: Record<string, any>;
|
|
478
474
|
permissions?: FilterFieldDTO;
|
|
479
475
|
[index: string]: any;
|
|
480
476
|
}
|
|
481
477
|
export interface DraftCategoryToItemRelationshipDTO {
|
|
482
|
-
parent?: any
|
|
483
|
-
children?: any[];
|
|
478
|
+
parent?: Record<string, any>;
|
|
479
|
+
children?: Record<string, any>[];
|
|
484
480
|
id?: string;
|
|
485
481
|
parent_id?: string;
|
|
486
482
|
item_id?: string;
|
|
@@ -488,24 +484,24 @@ export interface DraftCategoryToItemRelationshipDTO {
|
|
|
488
484
|
brand_id?: FilterFieldDTO;
|
|
489
485
|
sequence?: number;
|
|
490
486
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
491
|
-
category?: any
|
|
487
|
+
category?: Record<string, any>;
|
|
492
488
|
item?: DraftItemDTO;
|
|
493
|
-
brand?: any
|
|
489
|
+
brand?: Record<string, any>;
|
|
494
490
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
495
491
|
vendor_metadata?: VendorMetadataDTO[];
|
|
496
492
|
permissions?: FilterFieldDTO;
|
|
497
493
|
[index: string]: any;
|
|
498
494
|
}
|
|
499
495
|
export interface DraftItemDTO {
|
|
500
|
-
parent?: any
|
|
501
|
-
children?: any[];
|
|
496
|
+
parent?: Record<string, any>;
|
|
497
|
+
children?: Record<string, any>[];
|
|
502
498
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
503
499
|
id?: string;
|
|
504
500
|
parent_id?: string;
|
|
505
501
|
name?: string;
|
|
506
502
|
label?: string;
|
|
507
503
|
description?: string;
|
|
508
|
-
reporting?: any
|
|
504
|
+
reporting?: Record<string, any>;
|
|
509
505
|
price?: number;
|
|
510
506
|
barcode?: string;
|
|
511
507
|
calories?: number;
|
|
@@ -517,18 +513,18 @@ export interface DraftItemDTO {
|
|
|
517
513
|
line_route?: FilterFieldDTO;
|
|
518
514
|
posid_segment?: FilterFieldDTO;
|
|
519
515
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
520
|
-
brand?: any
|
|
521
|
-
categories?: any[];
|
|
516
|
+
brand?: Record<string, any>;
|
|
517
|
+
categories?: Record<string, any>[];
|
|
522
518
|
changes?: ItemChangeDTO[];
|
|
523
519
|
vendor_metadata?: VendorMetadataDTO[];
|
|
524
|
-
attachments?: any
|
|
525
|
-
weight?: any
|
|
520
|
+
attachments?: Record<string, any>;
|
|
521
|
+
weight?: Record<string, any>;
|
|
526
522
|
permissions?: FilterFieldDTO;
|
|
527
523
|
[index: string]: any;
|
|
528
524
|
}
|
|
529
525
|
export interface DraftItemToModifierGroupRelationshipDTO {
|
|
530
|
-
parent?: any
|
|
531
|
-
children?: any[];
|
|
526
|
+
parent?: Record<string, any>;
|
|
527
|
+
children?: Record<string, any>[];
|
|
532
528
|
id?: string;
|
|
533
529
|
parent_id?: string;
|
|
534
530
|
modifier_group_id?: string;
|
|
@@ -536,19 +532,19 @@ export interface DraftItemToModifierGroupRelationshipDTO {
|
|
|
536
532
|
brand_id?: FilterFieldDTO;
|
|
537
533
|
sequence?: number;
|
|
538
534
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
539
|
-
item?: any
|
|
535
|
+
item?: Record<string, any>;
|
|
540
536
|
modifier_group?: DraftModifierGroupDTO;
|
|
541
|
-
brand?: any
|
|
537
|
+
brand?: Record<string, any>;
|
|
542
538
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
543
539
|
vendor_metadata?: VendorMetadataDTO[];
|
|
544
540
|
permissions?: FilterFieldDTO;
|
|
545
541
|
[index: string]: any;
|
|
546
542
|
}
|
|
547
543
|
export interface DraftModifierGroupDTO {
|
|
548
|
-
parent?: any
|
|
549
|
-
children?: any[];
|
|
544
|
+
parent?: Record<string, any>;
|
|
545
|
+
children?: Record<string, any>[];
|
|
550
546
|
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
551
|
-
items?: any[];
|
|
547
|
+
items?: Record<string, any>[];
|
|
552
548
|
id?: string;
|
|
553
549
|
parent_id?: string;
|
|
554
550
|
name?: string;
|
|
@@ -559,15 +555,15 @@ export interface DraftModifierGroupDTO {
|
|
|
559
555
|
limit?: number;
|
|
560
556
|
brand_id?: string;
|
|
561
557
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
562
|
-
brand?: any
|
|
558
|
+
brand?: Record<string, any>;
|
|
563
559
|
changes?: ModifierGroupChangeDTO[];
|
|
564
560
|
vendor_metadata?: VendorMetadataDTO[];
|
|
565
561
|
permissions?: FilterFieldDTO;
|
|
566
562
|
[index: string]: any;
|
|
567
563
|
}
|
|
568
564
|
export interface DraftModifierGroupToModifierRelationshipDTO {
|
|
569
|
-
parent?: any
|
|
570
|
-
children?: any[];
|
|
565
|
+
parent?: Record<string, any>;
|
|
566
|
+
children?: Record<string, any>[];
|
|
571
567
|
id?: string;
|
|
572
568
|
parent_id?: string;
|
|
573
569
|
modifier_id?: string;
|
|
@@ -576,17 +572,17 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
|
|
|
576
572
|
sequence?: number;
|
|
577
573
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
578
574
|
modifier?: DraftModifierDTO;
|
|
579
|
-
modifier_group?: any
|
|
580
|
-
brand?: any
|
|
575
|
+
modifier_group?: Record<string, any>;
|
|
576
|
+
brand?: Record<string, any>;
|
|
581
577
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
582
578
|
vendor_metadata?: VendorMetadataDTO[];
|
|
583
579
|
permissions?: FilterFieldDTO;
|
|
584
580
|
[index: string]: any;
|
|
585
581
|
}
|
|
586
582
|
export interface DraftModifierDTO {
|
|
587
|
-
parent?: any
|
|
588
|
-
children?: any[];
|
|
589
|
-
modifier_groups?: any[];
|
|
583
|
+
parent?: Record<string, any>;
|
|
584
|
+
children?: Record<string, any>[];
|
|
585
|
+
modifier_groups?: Record<string, any>[];
|
|
590
586
|
id?: string;
|
|
591
587
|
parent_id?: string;
|
|
592
588
|
name?: string;
|
|
@@ -602,7 +598,7 @@ export interface DraftModifierDTO {
|
|
|
602
598
|
brand_id?: string;
|
|
603
599
|
sizing?: FilterFieldDTO[];
|
|
604
600
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
605
|
-
brand?: any
|
|
601
|
+
brand?: Record<string, any>;
|
|
606
602
|
changes?: ModifierChangeDTO[];
|
|
607
603
|
vendor_metadata?: VendorMetadataDTO[];
|
|
608
604
|
weight?: WeightDTO;
|
|
@@ -615,30 +611,30 @@ export interface ModifierChangeDTO {
|
|
|
615
611
|
insert?: FilterFieldDTO;
|
|
616
612
|
delete?: FilterFieldDTO;
|
|
617
613
|
snapshot_entity_id?: FilterFieldDTO;
|
|
618
|
-
snapshot_entity?: any
|
|
614
|
+
snapshot_entity?: Record<string, any>;
|
|
619
615
|
permissions?: FilterFieldDTO;
|
|
620
616
|
[index: string]: any;
|
|
621
617
|
}
|
|
622
618
|
export interface ReportingMetadataDTO {
|
|
623
619
|
category?: ReportingCategoryMetadataDTO;
|
|
624
|
-
id?: any
|
|
620
|
+
id?: Record<string, any>;
|
|
625
621
|
[index: string]: any;
|
|
626
622
|
}
|
|
627
623
|
export interface ReportingCategoryMetadataDTO {
|
|
628
624
|
primary?: "Food" | "Beverage" | "Sundry" | "Alcohol" | "Snack";
|
|
629
625
|
secondary?: FilterFieldDTO;
|
|
630
|
-
id?: any
|
|
626
|
+
id?: Record<string, any>;
|
|
631
627
|
[index: string]: any;
|
|
632
628
|
}
|
|
633
629
|
export interface WeightDTO {
|
|
634
630
|
unit?: FilterFieldDTO;
|
|
635
631
|
amount?: FilterFieldDTO;
|
|
636
|
-
id?: any
|
|
632
|
+
id?: Record<string, any>;
|
|
637
633
|
[index: string]: any;
|
|
638
634
|
}
|
|
639
635
|
export interface FileAttachmentsDTO {
|
|
640
636
|
thumbnail?: FilterFieldDTO;
|
|
641
|
-
id?: any
|
|
637
|
+
id?: Record<string, any>;
|
|
642
638
|
[index: string]: any;
|
|
643
639
|
}
|
|
644
640
|
export interface ModifierGroupToModifierRelationshipChangeDTO {
|
|
@@ -646,7 +642,7 @@ export interface ModifierGroupToModifierRelationshipChangeDTO {
|
|
|
646
642
|
insert?: FilterFieldDTO;
|
|
647
643
|
delete?: FilterFieldDTO;
|
|
648
644
|
snapshot_entity_id?: FilterFieldDTO;
|
|
649
|
-
snapshot_entity?: any
|
|
645
|
+
snapshot_entity?: Record<string, any>;
|
|
650
646
|
permissions?: FilterFieldDTO;
|
|
651
647
|
[index: string]: any;
|
|
652
648
|
}
|
|
@@ -655,7 +651,7 @@ export interface ModifierGroupChangeDTO {
|
|
|
655
651
|
insert?: FilterFieldDTO;
|
|
656
652
|
delete?: FilterFieldDTO;
|
|
657
653
|
snapshot_entity_id?: FilterFieldDTO;
|
|
658
|
-
snapshot_entity?: any
|
|
654
|
+
snapshot_entity?: Record<string, any>;
|
|
659
655
|
permissions?: FilterFieldDTO;
|
|
660
656
|
[index: string]: any;
|
|
661
657
|
}
|
|
@@ -664,7 +660,7 @@ export interface ItemToModifierGroupRelationshipChangeDTO {
|
|
|
664
660
|
insert?: FilterFieldDTO;
|
|
665
661
|
delete?: FilterFieldDTO;
|
|
666
662
|
snapshot_entity_id?: FilterFieldDTO;
|
|
667
|
-
snapshot_entity?: any
|
|
663
|
+
snapshot_entity?: Record<string, any>;
|
|
668
664
|
permissions?: FilterFieldDTO;
|
|
669
665
|
[index: string]: any;
|
|
670
666
|
}
|
|
@@ -673,7 +669,7 @@ export interface ItemChangeDTO {
|
|
|
673
669
|
insert?: FilterFieldDTO;
|
|
674
670
|
delete?: FilterFieldDTO;
|
|
675
671
|
snapshot_entity_id?: FilterFieldDTO;
|
|
676
|
-
snapshot_entity?: any
|
|
672
|
+
snapshot_entity?: Record<string, any>;
|
|
677
673
|
permissions?: FilterFieldDTO;
|
|
678
674
|
[index: string]: any;
|
|
679
675
|
}
|
|
@@ -682,7 +678,7 @@ export interface CategoryToItemRelationshipChangeDTO {
|
|
|
682
678
|
insert?: FilterFieldDTO;
|
|
683
679
|
delete?: FilterFieldDTO;
|
|
684
680
|
snapshot_entity_id?: FilterFieldDTO;
|
|
685
|
-
snapshot_entity?: any
|
|
681
|
+
snapshot_entity?: Record<string, any>;
|
|
686
682
|
permissions?: FilterFieldDTO;
|
|
687
683
|
[index: string]: any;
|
|
688
684
|
}
|
|
@@ -691,7 +687,7 @@ export interface CategoryChangeDTO {
|
|
|
691
687
|
insert?: FilterFieldDTO;
|
|
692
688
|
delete?: FilterFieldDTO;
|
|
693
689
|
snapshot_entity_id?: FilterFieldDTO;
|
|
694
|
-
snapshot_entity?: any
|
|
690
|
+
snapshot_entity?: Record<string, any>;
|
|
695
691
|
permissions?: FilterFieldDTO;
|
|
696
692
|
[index: string]: any;
|
|
697
693
|
}
|
|
@@ -700,7 +696,7 @@ export interface MenuChangeDTO {
|
|
|
700
696
|
insert?: FilterFieldDTO;
|
|
701
697
|
delete?: FilterFieldDTO;
|
|
702
698
|
snapshot_entity_id?: FilterFieldDTO;
|
|
703
|
-
snapshot_entity?: any
|
|
699
|
+
snapshot_entity?: Record<string, any>;
|
|
704
700
|
permissions?: FilterFieldDTO;
|
|
705
701
|
[index: string]: any;
|
|
706
702
|
}
|
|
@@ -710,7 +706,7 @@ export interface BrandStatusDTO {
|
|
|
710
706
|
status?: string;
|
|
711
707
|
metadata?: FilterFieldDTO;
|
|
712
708
|
id?: string;
|
|
713
|
-
brand?: any
|
|
709
|
+
brand?: Record<string, any>;
|
|
714
710
|
permissions?: FilterFieldDTO;
|
|
715
711
|
[index: string]: any;
|
|
716
712
|
}
|
|
@@ -725,8 +721,8 @@ export interface DraftMenuDraftMenuDTO {
|
|
|
725
721
|
created_at?: FilterFieldDTO;
|
|
726
722
|
updated_at?: FilterFieldDTO;
|
|
727
723
|
deleted_at?: FilterFieldDTO;
|
|
728
|
-
parent?: any
|
|
729
|
-
children?: any[];
|
|
724
|
+
parent?: Record<string, any>;
|
|
725
|
+
children?: Record<string, any>[];
|
|
730
726
|
categories?: DraftCategoryDTO[];
|
|
731
727
|
brand?: DraftBrandDTO;
|
|
732
728
|
changes?: MenuChangeDTO[];
|
|
@@ -753,8 +749,8 @@ export interface DraftModifierDraftModifierDTO {
|
|
|
753
749
|
created_at?: FilterFieldDTO;
|
|
754
750
|
updated_at?: FilterFieldDTO;
|
|
755
751
|
deleted_at?: FilterFieldDTO;
|
|
756
|
-
parent?: any
|
|
757
|
-
children?: any[];
|
|
752
|
+
parent?: Record<string, any>;
|
|
753
|
+
children?: Record<string, any>[];
|
|
758
754
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
759
755
|
brand?: DraftBrandDTO;
|
|
760
756
|
changes?: ModifierChangeDTO[];
|
|
@@ -780,8 +776,8 @@ export interface DraftModifierGroupDraftModifierGroupDTO {
|
|
|
780
776
|
created_at?: FilterFieldDTO;
|
|
781
777
|
updated_at?: FilterFieldDTO;
|
|
782
778
|
deleted_at?: FilterFieldDTO;
|
|
783
|
-
parent?: any
|
|
784
|
-
children?: any[];
|
|
779
|
+
parent?: Record<string, any>;
|
|
780
|
+
children?: Record<string, any>[];
|
|
785
781
|
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
786
782
|
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
787
783
|
brand?: DraftBrandDTO;
|
|
@@ -811,8 +807,8 @@ export interface DraftItemDraftItemDTO {
|
|
|
811
807
|
created_at?: FilterFieldDTO;
|
|
812
808
|
updated_at?: FilterFieldDTO;
|
|
813
809
|
deleted_at?: FilterFieldDTO;
|
|
814
|
-
parent?: any
|
|
815
|
-
children?: any[];
|
|
810
|
+
parent?: Record<string, any>;
|
|
811
|
+
children?: Record<string, any>[];
|
|
816
812
|
brand?: DraftBrandDTO;
|
|
817
813
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
818
814
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
@@ -833,7 +829,7 @@ export interface GlobalDiffDependencyDTO {
|
|
|
833
829
|
is_depended_by_id?: string;
|
|
834
830
|
id?: string;
|
|
835
831
|
depends_on?: GlobalDiffGlobalDiffDTO;
|
|
836
|
-
is_depended_by?: any
|
|
832
|
+
is_depended_by?: Record<string, any>;
|
|
837
833
|
permissions?: FilterFieldDTO;
|
|
838
834
|
[index: string]: any;
|
|
839
835
|
}
|
|
@@ -852,8 +848,8 @@ export interface GlobalDiffGlobalDiffDTO {
|
|
|
852
848
|
created_at?: FilterFieldDTO;
|
|
853
849
|
updated_at?: FilterFieldDTO;
|
|
854
850
|
deleted_at?: FilterFieldDTO;
|
|
855
|
-
depends_on?: any[];
|
|
856
|
-
is_depended_by?: any[];
|
|
851
|
+
depends_on?: Record<string, any>[];
|
|
852
|
+
is_depended_by?: Record<string, any>[];
|
|
857
853
|
brand?: DraftBrandDTO;
|
|
858
854
|
permissions?: FilterFieldDTO;
|
|
859
855
|
[index: string]: any;
|
|
@@ -864,21 +860,21 @@ export interface DiffDTO {
|
|
|
864
860
|
created_at?: string;
|
|
865
861
|
updated_at?: string;
|
|
866
862
|
deleted_at?: string;
|
|
867
|
-
child_nodes?: any[];
|
|
863
|
+
child_nodes?: Record<string, any>[];
|
|
868
864
|
name?: string;
|
|
869
865
|
entity_type?: string;
|
|
870
866
|
local_id?: string;
|
|
871
|
-
changes?: any
|
|
872
|
-
local_changes?: any
|
|
873
|
-
local_snapshot?: any
|
|
867
|
+
changes?: Record<string, any>;
|
|
868
|
+
local_changes?: Record<string, any>;
|
|
869
|
+
local_snapshot?: Record<string, any>;
|
|
874
870
|
global_id?: string;
|
|
875
|
-
global_snapshot?: any
|
|
871
|
+
global_snapshot?: Record<string, any>;
|
|
876
872
|
brand_id?: string;
|
|
877
873
|
version?: number;
|
|
878
874
|
depends_on?: GlobalDiffDependencyDTO[];
|
|
879
875
|
is_depended_by?: GlobalDiffDependencyDTO[];
|
|
880
876
|
brand?: DraftBrandDTO;
|
|
881
|
-
permissions?: any
|
|
877
|
+
permissions?: Record<string, any>;
|
|
882
878
|
[index: string]: any;
|
|
883
879
|
}
|
|
884
880
|
export interface ApplyDiffDTO {
|
|
@@ -892,7 +888,7 @@ export interface PublishedMenuDTO {
|
|
|
892
888
|
name?: string;
|
|
893
889
|
brand_id?: string;
|
|
894
890
|
category_images_enabled?: boolean;
|
|
895
|
-
permissions?: any
|
|
891
|
+
permissions?: Record<string, any>;
|
|
896
892
|
[index: string]: any;
|
|
897
893
|
}
|
|
898
894
|
export interface PublishedCategoryDTO {
|
|
@@ -905,7 +901,7 @@ export interface PublishedCategoryDTO {
|
|
|
905
901
|
brand_id?: string;
|
|
906
902
|
menu_id?: string;
|
|
907
903
|
item_images_enabled?: boolean;
|
|
908
|
-
permissions?: any
|
|
904
|
+
permissions?: Record<string, any>;
|
|
909
905
|
[index: string]: any;
|
|
910
906
|
}
|
|
911
907
|
export interface PublishedCategoryToItemRelationshipDTO {
|
|
@@ -915,7 +911,7 @@ export interface PublishedCategoryToItemRelationshipDTO {
|
|
|
915
911
|
category_id?: string;
|
|
916
912
|
brand_id?: string;
|
|
917
913
|
sequence?: number;
|
|
918
|
-
permissions?: any
|
|
914
|
+
permissions?: Record<string, any>;
|
|
919
915
|
[index: string]: any;
|
|
920
916
|
}
|
|
921
917
|
export interface PublishedItemDTO {
|
|
@@ -930,11 +926,11 @@ export interface PublishedItemDTO {
|
|
|
930
926
|
meal_value?: number;
|
|
931
927
|
is_active?: boolean;
|
|
932
928
|
posid?: string;
|
|
933
|
-
tax_tags?: any[];
|
|
929
|
+
tax_tags?: Record<string, any>[];
|
|
934
930
|
brand_id?: string;
|
|
935
931
|
line_route?: string;
|
|
936
932
|
posid_segment?: string;
|
|
937
|
-
permissions?: any
|
|
933
|
+
permissions?: Record<string, any>;
|
|
938
934
|
[index: string]: any;
|
|
939
935
|
}
|
|
940
936
|
export interface PublishedItemToModifierGroupRelationshipDTO {
|
|
@@ -944,7 +940,7 @@ export interface PublishedItemToModifierGroupRelationshipDTO {
|
|
|
944
940
|
item_id?: string;
|
|
945
941
|
brand_id?: string;
|
|
946
942
|
sequence?: number;
|
|
947
|
-
permissions?: any
|
|
943
|
+
permissions?: Record<string, any>;
|
|
948
944
|
[index: string]: any;
|
|
949
945
|
}
|
|
950
946
|
export interface PublishedModifierGroupDTO {
|
|
@@ -957,7 +953,7 @@ export interface PublishedModifierGroupDTO {
|
|
|
957
953
|
is_active?: boolean;
|
|
958
954
|
limit?: number;
|
|
959
955
|
brand_id?: string;
|
|
960
|
-
permissions?: any
|
|
956
|
+
permissions?: Record<string, any>;
|
|
961
957
|
[index: string]: any;
|
|
962
958
|
}
|
|
963
959
|
export interface PublishedModifierGroupToModifierRelationshipDTO {
|
|
@@ -967,7 +963,7 @@ export interface PublishedModifierGroupToModifierRelationshipDTO {
|
|
|
967
963
|
modifier_group_id?: string;
|
|
968
964
|
brand_id?: string;
|
|
969
965
|
sequence?: number;
|
|
970
|
-
permissions?: any
|
|
966
|
+
permissions?: Record<string, any>;
|
|
971
967
|
[index: string]: any;
|
|
972
968
|
}
|
|
973
969
|
export interface PublishedModifierDTO {
|
|
@@ -978,13 +974,13 @@ export interface PublishedModifierDTO {
|
|
|
978
974
|
description?: string;
|
|
979
975
|
price?: number;
|
|
980
976
|
calories?: number;
|
|
981
|
-
tax_tags?: any[];
|
|
977
|
+
tax_tags?: Record<string, any>[];
|
|
982
978
|
is_active?: boolean;
|
|
983
979
|
posid?: string;
|
|
984
980
|
posid_segment?: string;
|
|
985
981
|
brand_id?: string;
|
|
986
|
-
sizing?: any[];
|
|
987
|
-
permissions?: any
|
|
982
|
+
sizing?: Record<string, any>[];
|
|
983
|
+
permissions?: Record<string, any>;
|
|
988
984
|
[index: string]: any;
|
|
989
985
|
}
|
|
990
986
|
export interface PublishedBrandPublishedBrandDTO {
|
|
@@ -1001,8 +997,8 @@ export interface PublishedBrandPublishedBrandDTO {
|
|
|
1001
997
|
created_at?: FilterFieldDTO;
|
|
1002
998
|
updated_at?: FilterFieldDTO;
|
|
1003
999
|
deleted_at?: FilterFieldDTO;
|
|
1004
|
-
parent?: any
|
|
1005
|
-
children?: any[];
|
|
1000
|
+
parent?: Record<string, any>;
|
|
1001
|
+
children?: Record<string, any>[];
|
|
1006
1002
|
local_menu_group?: LocalMenuGroupDTO;
|
|
1007
1003
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
1008
1004
|
menus?: PublishedMenuDTO[];
|
|
@@ -1032,8 +1028,8 @@ export interface DraftCategoryDraftCategoryDTO {
|
|
|
1032
1028
|
created_at?: FilterFieldDTO;
|
|
1033
1029
|
updated_at?: FilterFieldDTO;
|
|
1034
1030
|
deleted_at?: FilterFieldDTO;
|
|
1035
|
-
parent?: any
|
|
1036
|
-
children?: any[];
|
|
1031
|
+
parent?: Record<string, any>;
|
|
1032
|
+
children?: Record<string, any>[];
|
|
1037
1033
|
menu?: DraftMenuDTO;
|
|
1038
1034
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
1039
1035
|
brand?: DraftBrandDTO;
|
|
@@ -1053,8 +1049,8 @@ export interface PublishedMenuPublishedMenuDTO {
|
|
|
1053
1049
|
created_at?: FilterFieldDTO;
|
|
1054
1050
|
updated_at?: FilterFieldDTO;
|
|
1055
1051
|
deleted_at?: FilterFieldDTO;
|
|
1056
|
-
parent?: any
|
|
1057
|
-
children?: any[];
|
|
1052
|
+
parent?: Record<string, any>;
|
|
1053
|
+
children?: Record<string, any>[];
|
|
1058
1054
|
categories?: PublishedCategoryDTO[];
|
|
1059
1055
|
brand?: PublishedBrandDTO;
|
|
1060
1056
|
permissions?: FilterFieldDTO;
|
|
@@ -1074,8 +1070,8 @@ export interface PublishedCategoryPublishedCategoryDTO {
|
|
|
1074
1070
|
created_at?: FilterFieldDTO;
|
|
1075
1071
|
updated_at?: FilterFieldDTO;
|
|
1076
1072
|
deleted_at?: FilterFieldDTO;
|
|
1077
|
-
parent?: any
|
|
1078
|
-
children?: any[];
|
|
1073
|
+
parent?: Record<string, any>;
|
|
1074
|
+
children?: Record<string, any>[];
|
|
1079
1075
|
menu?: PublishedMenuDTO;
|
|
1080
1076
|
items?: PublishedCategoryToItemRelationshipDTO[];
|
|
1081
1077
|
brand?: PublishedBrandDTO;
|
|
@@ -1095,8 +1091,8 @@ export interface DraftCategoryToItemRelationshipDraftCategoryToItemRelationshipD
|
|
|
1095
1091
|
version?: FilterFieldDTO;
|
|
1096
1092
|
created_at?: FilterFieldDTO;
|
|
1097
1093
|
updated_at?: FilterFieldDTO;
|
|
1098
|
-
parent?: any
|
|
1099
|
-
children?: any[];
|
|
1094
|
+
parent?: Record<string, any>;
|
|
1095
|
+
children?: Record<string, any>[];
|
|
1100
1096
|
category?: DraftCategoryDTO;
|
|
1101
1097
|
item?: DraftItemDTO;
|
|
1102
1098
|
brand?: DraftBrandDTO;
|
|
@@ -1116,8 +1112,8 @@ export interface PublishedCategoryToItemRelationshipPublishedCategoryToItemRelat
|
|
|
1116
1112
|
version?: FilterFieldDTO;
|
|
1117
1113
|
created_at?: FilterFieldDTO;
|
|
1118
1114
|
updated_at?: FilterFieldDTO;
|
|
1119
|
-
parent?: any
|
|
1120
|
-
children?: any[];
|
|
1115
|
+
parent?: Record<string, any>;
|
|
1116
|
+
children?: Record<string, any>[];
|
|
1121
1117
|
category?: PublishedCategoryDTO;
|
|
1122
1118
|
item?: PublishedItemDTO;
|
|
1123
1119
|
brand?: PublishedBrandDTO;
|
|
@@ -1147,11 +1143,11 @@ export interface DraftItemEntityDTO {
|
|
|
1147
1143
|
meal_value?: number;
|
|
1148
1144
|
is_active?: boolean;
|
|
1149
1145
|
posid?: string;
|
|
1150
|
-
tax_tags?: any[];
|
|
1146
|
+
tax_tags?: Record<string, any>[];
|
|
1151
1147
|
brand_id: string;
|
|
1152
1148
|
line_route?: string;
|
|
1153
1149
|
posid_segment?: string;
|
|
1154
|
-
applied_diff_snapshot?: any
|
|
1150
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
1155
1151
|
version?: number;
|
|
1156
1152
|
brand?: DraftBrandDTO;
|
|
1157
1153
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -1159,7 +1155,7 @@ export interface DraftItemEntityDTO {
|
|
|
1159
1155
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1160
1156
|
attachments?: FileAttachmentsDTO;
|
|
1161
1157
|
weight?: WeightDTO;
|
|
1162
|
-
permissions?: any
|
|
1158
|
+
permissions?: Record<string, any>;
|
|
1163
1159
|
[index: string]: any;
|
|
1164
1160
|
}
|
|
1165
1161
|
export interface PublishedItemPublishedItemDTO {
|
|
@@ -1182,8 +1178,8 @@ export interface PublishedItemPublishedItemDTO {
|
|
|
1182
1178
|
created_at?: FilterFieldDTO;
|
|
1183
1179
|
updated_at?: FilterFieldDTO;
|
|
1184
1180
|
deleted_at?: FilterFieldDTO;
|
|
1185
|
-
parent?: any
|
|
1186
|
-
children?: any[];
|
|
1181
|
+
parent?: Record<string, any>;
|
|
1182
|
+
children?: Record<string, any>[];
|
|
1187
1183
|
brand?: PublishedBrandDTO;
|
|
1188
1184
|
categories?: PublishedCategoryToItemRelationshipDTO[];
|
|
1189
1185
|
modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
@@ -1205,8 +1201,8 @@ export interface DraftItemToModifierGroupRelationshipDraftItemToModifierGroupRel
|
|
|
1205
1201
|
version?: FilterFieldDTO;
|
|
1206
1202
|
created_at?: FilterFieldDTO;
|
|
1207
1203
|
updated_at?: FilterFieldDTO;
|
|
1208
|
-
parent?: any
|
|
1209
|
-
children?: any[];
|
|
1204
|
+
parent?: Record<string, any>;
|
|
1205
|
+
children?: Record<string, any>[];
|
|
1210
1206
|
item?: DraftItemDTO;
|
|
1211
1207
|
modifier_group?: DraftModifierGroupDTO;
|
|
1212
1208
|
brand?: DraftBrandDTO;
|
|
@@ -1226,8 +1222,8 @@ export interface PublishedItemToModifierGroupRelationshipPublishedItemToModifier
|
|
|
1226
1222
|
version?: FilterFieldDTO;
|
|
1227
1223
|
created_at?: FilterFieldDTO;
|
|
1228
1224
|
updated_at?: FilterFieldDTO;
|
|
1229
|
-
parent?: any
|
|
1230
|
-
children?: any[];
|
|
1225
|
+
parent?: Record<string, any>;
|
|
1226
|
+
children?: Record<string, any>[];
|
|
1231
1227
|
item?: PublishedItemDTO;
|
|
1232
1228
|
modifier_group?: PublishedModifierGroupDTO;
|
|
1233
1229
|
brand?: PublishedBrandDTO;
|
|
@@ -1248,8 +1244,8 @@ export interface PublishedModifierGroupPublishedModifierGroupDTO {
|
|
|
1248
1244
|
created_at?: FilterFieldDTO;
|
|
1249
1245
|
updated_at?: FilterFieldDTO;
|
|
1250
1246
|
deleted_at?: FilterFieldDTO;
|
|
1251
|
-
parent?: any
|
|
1252
|
-
children?: any[];
|
|
1247
|
+
parent?: Record<string, any>;
|
|
1248
|
+
children?: Record<string, any>[];
|
|
1253
1249
|
modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1254
1250
|
items?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
1255
1251
|
brand?: PublishedBrandDTO;
|
|
@@ -1268,8 +1264,8 @@ export interface DraftModifierGroupToModifierRelationshipDraftModifierGroupToMod
|
|
|
1268
1264
|
version?: FilterFieldDTO;
|
|
1269
1265
|
created_at?: FilterFieldDTO;
|
|
1270
1266
|
updated_at?: FilterFieldDTO;
|
|
1271
|
-
parent?: any
|
|
1272
|
-
children?: any[];
|
|
1267
|
+
parent?: Record<string, any>;
|
|
1268
|
+
children?: Record<string, any>[];
|
|
1273
1269
|
modifier?: DraftModifierDTO;
|
|
1274
1270
|
modifier_group?: DraftModifierGroupDTO;
|
|
1275
1271
|
brand?: DraftBrandDTO;
|
|
@@ -1289,8 +1285,8 @@ export interface PublishedModifierGroupToModifierRelationshipPublishedModifierGr
|
|
|
1289
1285
|
version?: FilterFieldDTO;
|
|
1290
1286
|
created_at?: FilterFieldDTO;
|
|
1291
1287
|
updated_at?: FilterFieldDTO;
|
|
1292
|
-
parent?: any
|
|
1293
|
-
children?: any[];
|
|
1288
|
+
parent?: Record<string, any>;
|
|
1289
|
+
children?: Record<string, any>[];
|
|
1294
1290
|
modifier_group?: PublishedModifierGroupDTO;
|
|
1295
1291
|
modifier?: PublishedModifierDTO;
|
|
1296
1292
|
brand?: PublishedBrandDTO;
|
|
@@ -1311,21 +1307,21 @@ export interface DraftModifierEntityDTO {
|
|
|
1311
1307
|
description?: string;
|
|
1312
1308
|
price: number;
|
|
1313
1309
|
calories?: number;
|
|
1314
|
-
tax_tags?: any[];
|
|
1310
|
+
tax_tags?: Record<string, any>[];
|
|
1315
1311
|
is_active?: boolean;
|
|
1316
1312
|
posid?: string;
|
|
1317
1313
|
reporting: ReportingMetadataDTO;
|
|
1318
1314
|
posid_segment?: string;
|
|
1319
1315
|
brand_id: string;
|
|
1320
|
-
sizing?: any[];
|
|
1321
|
-
applied_diff_snapshot?: any
|
|
1316
|
+
sizing?: Record<string, any>[];
|
|
1317
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
1322
1318
|
version?: number;
|
|
1323
1319
|
brand?: DraftBrandDTO;
|
|
1324
1320
|
changes?: ModifierChangeDTO[];
|
|
1325
1321
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1326
1322
|
weight?: WeightDTO;
|
|
1327
1323
|
attachments?: FileAttachmentsDTO;
|
|
1328
|
-
permissions?: any
|
|
1324
|
+
permissions?: Record<string, any>;
|
|
1329
1325
|
[index: string]: any;
|
|
1330
1326
|
}
|
|
1331
1327
|
export interface PublishedModifierPublishedModifierDTO {
|
|
@@ -1346,8 +1342,8 @@ export interface PublishedModifierPublishedModifierDTO {
|
|
|
1346
1342
|
created_at?: FilterFieldDTO;
|
|
1347
1343
|
updated_at?: FilterFieldDTO;
|
|
1348
1344
|
deleted_at?: FilterFieldDTO;
|
|
1349
|
-
parent?: any
|
|
1350
|
-
children?: any[];
|
|
1345
|
+
parent?: Record<string, any>;
|
|
1346
|
+
children?: Record<string, any>[];
|
|
1351
1347
|
modifier_groups?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1352
1348
|
brand?: PublishedBrandDTO;
|
|
1353
1349
|
reporting?: ReportingMetadataDTO;
|
|
@@ -1364,17 +1360,17 @@ export interface GlobalDiffDTO {
|
|
|
1364
1360
|
deleted_at?: string;
|
|
1365
1361
|
entity_type?: string;
|
|
1366
1362
|
local_id?: string;
|
|
1367
|
-
changes?: any
|
|
1368
|
-
local_changes?: any
|
|
1369
|
-
local_snapshot?: any
|
|
1363
|
+
changes?: Record<string, any>;
|
|
1364
|
+
local_changes?: Record<string, any>;
|
|
1365
|
+
local_snapshot?: Record<string, any>;
|
|
1370
1366
|
global_id?: string;
|
|
1371
|
-
global_snapshot?: any
|
|
1367
|
+
global_snapshot?: Record<string, any>;
|
|
1372
1368
|
brand_id?: string;
|
|
1373
1369
|
version?: number;
|
|
1374
1370
|
depends_on?: GlobalDiffDependencyDTO[];
|
|
1375
1371
|
is_depended_by?: GlobalDiffDependencyDTO[];
|
|
1376
1372
|
brand?: DraftBrandDTO;
|
|
1377
|
-
permissions?: any
|
|
1373
|
+
permissions?: Record<string, any>;
|
|
1378
1374
|
[index: string]: any;
|
|
1379
1375
|
}
|
|
1380
1376
|
export interface GetMenuClientPath {
|
|
@@ -1404,7 +1400,7 @@ export interface GetMenuHeadersPath {
|
|
|
1404
1400
|
export interface GetMenuHeadersQuery {
|
|
1405
1401
|
_query?: string;
|
|
1406
1402
|
}
|
|
1407
|
-
export type GetMenuHeadersResponse = any
|
|
1403
|
+
export type GetMenuHeadersResponse = Record<string, any>;
|
|
1408
1404
|
export interface GetMenuHeadersRequest extends BaseRequest, RequestQuery<GetMenuHeadersQuery>, GetMenuHeadersPath {
|
|
1409
1405
|
}
|
|
1410
1406
|
export interface GetMenuPath {
|
|
@@ -1643,7 +1639,7 @@ export interface PostMenuV3LocalMenuGroupBody {
|
|
|
1643
1639
|
draft_brands?: DraftBrandDTO[];
|
|
1644
1640
|
published_brands?: PublishedBrandDTO[];
|
|
1645
1641
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1646
|
-
permissions?: any
|
|
1642
|
+
permissions?: Record<string, any>;
|
|
1647
1643
|
[index: string]: any;
|
|
1648
1644
|
}
|
|
1649
1645
|
export interface PostMenuV3LocalMenuGroupResponse {
|
|
@@ -1658,7 +1654,7 @@ export interface PostMenuV3LocalMenuGroupResponse {
|
|
|
1658
1654
|
deleted_at?: string;
|
|
1659
1655
|
version?: number;
|
|
1660
1656
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1661
|
-
permissions?: any
|
|
1657
|
+
permissions?: Record<string, any>;
|
|
1662
1658
|
[index: string]: any;
|
|
1663
1659
|
}
|
|
1664
1660
|
export interface PostMenuV3LocalMenuGroupRequest extends BaseRequest {
|
|
@@ -1684,7 +1680,7 @@ export interface GetMenuV3LocalMenuGroupResponse {
|
|
|
1684
1680
|
deleted_at?: string;
|
|
1685
1681
|
version?: number;
|
|
1686
1682
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1687
|
-
permissions?: any
|
|
1683
|
+
permissions?: Record<string, any>;
|
|
1688
1684
|
[index: string]: any;
|
|
1689
1685
|
}
|
|
1690
1686
|
export interface GetMenuV3LocalMenuGroupRequest extends BaseRequest, RequestQuery<GetMenuV3LocalMenuGroupQuery>, GetMenuV3LocalMenuGroupPath {
|
|
@@ -1701,7 +1697,7 @@ export interface PatchMenuV3LocalMenuGroupBody {
|
|
|
1701
1697
|
id?: string;
|
|
1702
1698
|
version?: number;
|
|
1703
1699
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1704
|
-
permissions?: any
|
|
1700
|
+
permissions?: Record<string, any>;
|
|
1705
1701
|
[index: string]: any;
|
|
1706
1702
|
}
|
|
1707
1703
|
export interface PatchMenuV3LocalMenuGroupResponse {
|
|
@@ -1716,7 +1712,7 @@ export interface PatchMenuV3LocalMenuGroupResponse {
|
|
|
1716
1712
|
deleted_at?: string;
|
|
1717
1713
|
version?: number;
|
|
1718
1714
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1719
|
-
permissions?: any
|
|
1715
|
+
permissions?: Record<string, any>;
|
|
1720
1716
|
[index: string]: any;
|
|
1721
1717
|
}
|
|
1722
1718
|
export interface PatchMenuV3LocalMenuGroupRequest extends BaseRequest, PatchMenuV3LocalMenuGroupPath {
|
|
@@ -1725,6 +1721,9 @@ export interface PatchMenuV3LocalMenuGroupRequest extends BaseRequest, PatchMenu
|
|
|
1725
1721
|
export interface DeleteMenuV3LocalMenuGroupPath {
|
|
1726
1722
|
id: string;
|
|
1727
1723
|
}
|
|
1724
|
+
export interface DeleteMenuV3LocalMenuGroupQuery {
|
|
1725
|
+
delete_posid?: boolean;
|
|
1726
|
+
}
|
|
1728
1727
|
export interface DeleteMenuV3LocalMenuGroupResponse {
|
|
1729
1728
|
name: string;
|
|
1730
1729
|
is_active?: boolean;
|
|
@@ -1737,10 +1736,10 @@ export interface DeleteMenuV3LocalMenuGroupResponse {
|
|
|
1737
1736
|
deleted_at?: string;
|
|
1738
1737
|
version?: number;
|
|
1739
1738
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1740
|
-
permissions?: any
|
|
1739
|
+
permissions?: Record<string, any>;
|
|
1741
1740
|
[index: string]: any;
|
|
1742
1741
|
}
|
|
1743
|
-
export interface DeleteMenuV3LocalMenuGroupRequest extends BaseRequest, DeleteMenuV3LocalMenuGroupPath {
|
|
1742
|
+
export interface DeleteMenuV3LocalMenuGroupRequest extends BaseRequest, RequestQuery<DeleteMenuV3LocalMenuGroupQuery>, DeleteMenuV3LocalMenuGroupPath {
|
|
1744
1743
|
}
|
|
1745
1744
|
export interface GetMenuV3LocalMenuGroupsQuery {
|
|
1746
1745
|
select?: string[];
|
|
@@ -1768,9 +1767,9 @@ export type PostMenuV3LocalMenuGroupsBody = {
|
|
|
1768
1767
|
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
1769
1768
|
draft_brands?: DraftBrandDTO[];
|
|
1770
1769
|
published_brands?: PublishedBrandDTO[];
|
|
1771
|
-
id?: any
|
|
1770
|
+
id?: Record<string, any>;
|
|
1772
1771
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1773
|
-
permissions?: any
|
|
1772
|
+
permissions?: Record<string, any>;
|
|
1774
1773
|
[index: string]: any;
|
|
1775
1774
|
}[];
|
|
1776
1775
|
export interface PostMenuV3LocalMenuGroupsResponse {
|
|
@@ -1893,7 +1892,7 @@ export interface PostMenuV3GlobalMenuGroupBody {
|
|
|
1893
1892
|
published_brands?: PublishedBrandDTO[];
|
|
1894
1893
|
posid_segment: string;
|
|
1895
1894
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1896
|
-
permissions?: any
|
|
1895
|
+
permissions?: Record<string, any>;
|
|
1897
1896
|
[index: string]: any;
|
|
1898
1897
|
}
|
|
1899
1898
|
export type PostMenuV3GlobalMenuGroupResponse = GlobalMenuGroupDTO;
|
|
@@ -1924,7 +1923,7 @@ export interface PatchMenuV3GlobalMenuGroupBody {
|
|
|
1924
1923
|
id?: string;
|
|
1925
1924
|
version?: number;
|
|
1926
1925
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1927
|
-
permissions?: any
|
|
1926
|
+
permissions?: Record<string, any>;
|
|
1928
1927
|
[index: string]: any;
|
|
1929
1928
|
}
|
|
1930
1929
|
export type PatchMenuV3GlobalMenuGroupResponse = GlobalMenuGroupDTO;
|
|
@@ -1950,7 +1949,7 @@ export interface DeleteMenuV3GlobalMenuGroupResponse {
|
|
|
1950
1949
|
deleted_at?: string;
|
|
1951
1950
|
version?: number;
|
|
1952
1951
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1953
|
-
permissions?: any
|
|
1952
|
+
permissions?: Record<string, any>;
|
|
1954
1953
|
[index: string]: any;
|
|
1955
1954
|
}
|
|
1956
1955
|
export interface DeleteMenuV3GlobalMenuGroupRequest extends BaseRequest, RequestQuery<DeleteMenuV3GlobalMenuGroupQuery>, DeleteMenuV3GlobalMenuGroupPath {
|
|
@@ -1982,9 +1981,9 @@ export type PostMenuV3GlobalMenuGroupsBody = {
|
|
|
1982
1981
|
draft_brands?: DraftBrandDTO[];
|
|
1983
1982
|
published_brands?: PublishedBrandDTO[];
|
|
1984
1983
|
posid_segment: string;
|
|
1985
|
-
id?: any
|
|
1984
|
+
id?: Record<string, any>;
|
|
1986
1985
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1987
|
-
permissions?: any
|
|
1986
|
+
permissions?: Record<string, any>;
|
|
1988
1987
|
[index: string]: any;
|
|
1989
1988
|
}[];
|
|
1990
1989
|
export interface PostMenuV3GlobalMenuGroupsResponse {
|
|
@@ -2073,13 +2072,13 @@ export interface PostMenuV3DraftBrandBody {
|
|
|
2073
2072
|
local_menu_group_id?: string;
|
|
2074
2073
|
global_menu_group_id?: string;
|
|
2075
2074
|
posid_segment?: string;
|
|
2076
|
-
id?: any
|
|
2075
|
+
id?: Record<string, any>;
|
|
2077
2076
|
changes?: BrandChangeDTO[];
|
|
2078
2077
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2079
2078
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2080
2079
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2081
2080
|
attachments?: FileAttachmentsDTO;
|
|
2082
|
-
permissions?: any
|
|
2081
|
+
permissions?: Record<string, any>;
|
|
2083
2082
|
[index: string]: any;
|
|
2084
2083
|
}
|
|
2085
2084
|
export type PostMenuV3DraftBrandResponse = DraftBrandDTO;
|
|
@@ -2127,7 +2126,7 @@ export interface PatchMenuV3DraftBrandBody {
|
|
|
2127
2126
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2128
2127
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2129
2128
|
attachments?: FileAttachmentsDTO;
|
|
2130
|
-
permissions?: any
|
|
2129
|
+
permissions?: Record<string, any>;
|
|
2131
2130
|
[index: string]: any;
|
|
2132
2131
|
}
|
|
2133
2132
|
export type PatchMenuV3DraftBrandResponse = DraftBrandDTO;
|
|
@@ -2180,13 +2179,13 @@ export type PostMenuV3DraftBrandsBody = {
|
|
|
2180
2179
|
local_menu_group_id?: string;
|
|
2181
2180
|
global_menu_group_id?: string;
|
|
2182
2181
|
posid_segment?: string;
|
|
2183
|
-
id?: any
|
|
2182
|
+
id?: Record<string, any>;
|
|
2184
2183
|
changes?: BrandChangeDTO[];
|
|
2185
2184
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2186
2185
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2187
2186
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2188
2187
|
attachments?: FileAttachmentsDTO;
|
|
2189
|
-
permissions?: any
|
|
2188
|
+
permissions?: Record<string, any>;
|
|
2190
2189
|
[index: string]: any;
|
|
2191
2190
|
}[];
|
|
2192
2191
|
export interface PostMenuV3DraftBrandsResponse {
|
|
@@ -2407,11 +2406,11 @@ export interface PostMenuV3BrandBody {
|
|
|
2407
2406
|
local_menu_group_id?: string;
|
|
2408
2407
|
global_menu_group_id?: string;
|
|
2409
2408
|
posid_segment?: string;
|
|
2410
|
-
id?: any
|
|
2409
|
+
id?: Record<string, any>;
|
|
2411
2410
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2412
2411
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2413
2412
|
attachments?: FileAttachmentsDTO;
|
|
2414
|
-
permissions?: any
|
|
2413
|
+
permissions?: Record<string, any>;
|
|
2415
2414
|
[index: string]: any;
|
|
2416
2415
|
}
|
|
2417
2416
|
export type PostMenuV3BrandResponse = PublishedBrandDTO;
|
|
@@ -2460,7 +2459,7 @@ export interface PatchMenuV3BrandBody {
|
|
|
2460
2459
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2461
2460
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2462
2461
|
attachments?: FileAttachmentsDTO;
|
|
2463
|
-
permissions?: any
|
|
2462
|
+
permissions?: Record<string, any>;
|
|
2464
2463
|
[index: string]: any;
|
|
2465
2464
|
}
|
|
2466
2465
|
export type PatchMenuV3BrandResponse = PublishedBrandDTO;
|
|
@@ -2519,11 +2518,11 @@ export type PostMenuV3BrandsBody = {
|
|
|
2519
2518
|
local_menu_group_id?: string;
|
|
2520
2519
|
global_menu_group_id?: string;
|
|
2521
2520
|
posid_segment?: string;
|
|
2522
|
-
id?: any
|
|
2521
|
+
id?: Record<string, any>;
|
|
2523
2522
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2524
2523
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2525
2524
|
attachments?: FileAttachmentsDTO;
|
|
2526
|
-
permissions?: any
|
|
2525
|
+
permissions?: Record<string, any>;
|
|
2527
2526
|
[index: string]: any;
|
|
2528
2527
|
}[];
|
|
2529
2528
|
export interface PostMenuV3BrandsResponse {
|
|
@@ -2679,7 +2678,7 @@ export interface PostMenuV3BrandLocalResponse {
|
|
|
2679
2678
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2680
2679
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2681
2680
|
attachments?: FileAttachmentsDTO;
|
|
2682
|
-
permissions?: any
|
|
2681
|
+
permissions?: Record<string, any>;
|
|
2683
2682
|
[index: string]: any;
|
|
2684
2683
|
}
|
|
2685
2684
|
export interface PostMenuV3BrandLocalRequest extends BaseRequest, RequestQuery<PostMenuV3BrandLocalQuery>, PostMenuV3BrandLocalPath {
|
|
@@ -2692,12 +2691,12 @@ export interface PostMenuV3DraftMenuBody {
|
|
|
2692
2691
|
name: string;
|
|
2693
2692
|
brand_id: string;
|
|
2694
2693
|
category_images_enabled?: boolean;
|
|
2695
|
-
id?: any
|
|
2696
|
-
applied_diff_snapshot?: any
|
|
2694
|
+
id?: Record<string, any>;
|
|
2695
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
2697
2696
|
brand?: DraftBrandDTO;
|
|
2698
2697
|
changes?: MenuChangeDTO[];
|
|
2699
2698
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2700
|
-
permissions?: any
|
|
2699
|
+
permissions?: Record<string, any>;
|
|
2701
2700
|
[index: string]: any;
|
|
2702
2701
|
}
|
|
2703
2702
|
export type PostMenuV3DraftMenuResponse = DraftMenuDTO;
|
|
@@ -2727,12 +2726,12 @@ export interface PatchMenuV3DraftMenuBody {
|
|
|
2727
2726
|
name?: string;
|
|
2728
2727
|
brand_id?: string;
|
|
2729
2728
|
category_images_enabled?: boolean;
|
|
2730
|
-
applied_diff_snapshot?: any
|
|
2729
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
2731
2730
|
version?: number;
|
|
2732
2731
|
brand?: DraftBrandDTO;
|
|
2733
2732
|
changes?: MenuChangeDTO[];
|
|
2734
2733
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2735
|
-
permissions?: any
|
|
2734
|
+
permissions?: Record<string, any>;
|
|
2736
2735
|
[index: string]: any;
|
|
2737
2736
|
}
|
|
2738
2737
|
export type PatchMenuV3DraftMenuResponse = DraftMenuDTO;
|
|
@@ -2773,12 +2772,12 @@ export type PostMenuV3DraftMenusBody = {
|
|
|
2773
2772
|
name: string;
|
|
2774
2773
|
brand_id: string;
|
|
2775
2774
|
category_images_enabled?: boolean;
|
|
2776
|
-
id?: any
|
|
2777
|
-
applied_diff_snapshot?: any
|
|
2775
|
+
id?: Record<string, any>;
|
|
2776
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
2778
2777
|
brand?: DraftBrandDTO;
|
|
2779
2778
|
changes?: MenuChangeDTO[];
|
|
2780
2779
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2781
|
-
permissions?: any
|
|
2780
|
+
permissions?: Record<string, any>;
|
|
2782
2781
|
[index: string]: any;
|
|
2783
2782
|
}[];
|
|
2784
2783
|
export interface PostMenuV3DraftMenusResponse {
|
|
@@ -2913,15 +2912,15 @@ export interface PostMenuV3DraftCategoryBody {
|
|
|
2913
2912
|
brand_id: string;
|
|
2914
2913
|
menu_id: string;
|
|
2915
2914
|
item_images_enabled?: boolean;
|
|
2916
|
-
id?: any
|
|
2917
|
-
applied_diff_snapshot?: any
|
|
2915
|
+
id?: Record<string, any>;
|
|
2916
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
2918
2917
|
menu?: DraftMenuDTO;
|
|
2919
2918
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
2920
2919
|
brand?: DraftBrandDTO;
|
|
2921
2920
|
changes?: CategoryChangeDTO[];
|
|
2922
2921
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2923
2922
|
attachments?: FileAttachmentsDTO;
|
|
2924
|
-
permissions?: any
|
|
2923
|
+
permissions?: Record<string, any>;
|
|
2925
2924
|
[index: string]: any;
|
|
2926
2925
|
}
|
|
2927
2926
|
export type PostMenuV3DraftCategoryResponse = DraftCategoryDTO;
|
|
@@ -2954,7 +2953,7 @@ export interface PatchMenuV3DraftCategoryBody {
|
|
|
2954
2953
|
brand_id?: string;
|
|
2955
2954
|
menu_id?: string;
|
|
2956
2955
|
item_images_enabled?: boolean;
|
|
2957
|
-
applied_diff_snapshot?: any
|
|
2956
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
2958
2957
|
version?: number;
|
|
2959
2958
|
menu?: DraftMenuDTO;
|
|
2960
2959
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -2962,7 +2961,7 @@ export interface PatchMenuV3DraftCategoryBody {
|
|
|
2962
2961
|
changes?: CategoryChangeDTO[];
|
|
2963
2962
|
vendor_metadata?: VendorMetadataDTO[];
|
|
2964
2963
|
attachments?: FileAttachmentsDTO;
|
|
2965
|
-
permissions?: any
|
|
2964
|
+
permissions?: Record<string, any>;
|
|
2966
2965
|
[index: string]: any;
|
|
2967
2966
|
}
|
|
2968
2967
|
export type PatchMenuV3DraftCategoryResponse = DraftCategoryDTO;
|
|
@@ -2998,15 +2997,15 @@ export type PostMenuV3DraftCategoriesBody = {
|
|
|
2998
2997
|
brand_id: string;
|
|
2999
2998
|
menu_id: string;
|
|
3000
2999
|
item_images_enabled?: boolean;
|
|
3001
|
-
id?: any
|
|
3002
|
-
applied_diff_snapshot?: any
|
|
3000
|
+
id?: Record<string, any>;
|
|
3001
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3003
3002
|
menu?: DraftMenuDTO;
|
|
3004
3003
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
3005
3004
|
brand?: DraftBrandDTO;
|
|
3006
3005
|
changes?: CategoryChangeDTO[];
|
|
3007
3006
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3008
3007
|
attachments?: FileAttachmentsDTO;
|
|
3009
|
-
permissions?: any
|
|
3008
|
+
permissions?: Record<string, any>;
|
|
3010
3009
|
[index: string]: any;
|
|
3011
3010
|
}[];
|
|
3012
3011
|
export interface PostMenuV3DraftCategoriesResponse {
|
|
@@ -3062,14 +3061,14 @@ export interface PostMenuV3DraftCategoryRelationshipsItemBody {
|
|
|
3062
3061
|
category_id: string;
|
|
3063
3062
|
brand_id: string;
|
|
3064
3063
|
sequence?: number;
|
|
3065
|
-
id?: any
|
|
3066
|
-
applied_diff_snapshot?: any
|
|
3064
|
+
id?: Record<string, any>;
|
|
3065
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3067
3066
|
category?: DraftCategoryDTO;
|
|
3068
3067
|
item?: DraftItemDTO;
|
|
3069
3068
|
brand?: DraftBrandDTO;
|
|
3070
3069
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
3071
3070
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3072
|
-
permissions?: any
|
|
3071
|
+
permissions?: Record<string, any>;
|
|
3073
3072
|
[index: string]: any;
|
|
3074
3073
|
}
|
|
3075
3074
|
export type PostMenuV3DraftCategoryRelationshipsItemResponse = DraftCategoryToItemRelationshipDTO;
|
|
@@ -3099,14 +3098,14 @@ export interface PatchMenuV3DraftCategoryRelationshipsItemBody {
|
|
|
3099
3098
|
category_id?: string;
|
|
3100
3099
|
brand_id?: string;
|
|
3101
3100
|
sequence?: number;
|
|
3102
|
-
applied_diff_snapshot?: any
|
|
3101
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3103
3102
|
version?: number;
|
|
3104
3103
|
category?: DraftCategoryDTO;
|
|
3105
3104
|
item?: DraftItemDTO;
|
|
3106
3105
|
brand?: DraftBrandDTO;
|
|
3107
3106
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
3108
3107
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3109
|
-
permissions?: any
|
|
3108
|
+
permissions?: Record<string, any>;
|
|
3110
3109
|
[index: string]: any;
|
|
3111
3110
|
}
|
|
3112
3111
|
export type PatchMenuV3DraftCategoryRelationshipsItemResponse = DraftCategoryToItemRelationshipDTO;
|
|
@@ -3147,14 +3146,14 @@ export type PostMenuV3DraftCategoryRelationshipsItemsBody = {
|
|
|
3147
3146
|
category_id: string;
|
|
3148
3147
|
brand_id: string;
|
|
3149
3148
|
sequence?: number;
|
|
3150
|
-
id?: any
|
|
3151
|
-
applied_diff_snapshot?: any
|
|
3149
|
+
id?: Record<string, any>;
|
|
3150
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3152
3151
|
category?: DraftCategoryDTO;
|
|
3153
3152
|
item?: DraftItemDTO;
|
|
3154
3153
|
brand?: DraftBrandDTO;
|
|
3155
3154
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
3156
3155
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3157
|
-
permissions?: any
|
|
3156
|
+
permissions?: Record<string, any>;
|
|
3158
3157
|
[index: string]: any;
|
|
3159
3158
|
}[];
|
|
3160
3159
|
export interface PostMenuV3DraftCategoryRelationshipsItemsResponse {
|
|
@@ -3238,19 +3237,19 @@ export interface PostMenuV3DraftItemBody {
|
|
|
3238
3237
|
meal_value?: number;
|
|
3239
3238
|
is_active?: boolean;
|
|
3240
3239
|
posid?: string;
|
|
3241
|
-
tax_tags?: any[];
|
|
3240
|
+
tax_tags?: Record<string, any>[];
|
|
3242
3241
|
brand_id: string;
|
|
3243
3242
|
line_route?: string;
|
|
3244
3243
|
posid_segment?: string;
|
|
3245
|
-
id?: any
|
|
3246
|
-
applied_diff_snapshot?: any
|
|
3244
|
+
id?: Record<string, any>;
|
|
3245
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3247
3246
|
brand?: DraftBrandDTO;
|
|
3248
3247
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
3249
3248
|
changes?: ItemChangeDTO[];
|
|
3250
3249
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3251
3250
|
attachments?: FileAttachmentsDTO;
|
|
3252
3251
|
weight?: WeightDTO;
|
|
3253
|
-
permissions?: any
|
|
3252
|
+
permissions?: Record<string, any>;
|
|
3254
3253
|
[index: string]: any;
|
|
3255
3254
|
}
|
|
3256
3255
|
export type PostMenuV3DraftItemResponse = DraftItemDTO;
|
|
@@ -3287,11 +3286,11 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
3287
3286
|
meal_value?: number;
|
|
3288
3287
|
is_active?: boolean;
|
|
3289
3288
|
posid?: string;
|
|
3290
|
-
tax_tags?: any[];
|
|
3289
|
+
tax_tags?: Record<string, any>[];
|
|
3291
3290
|
brand_id?: string;
|
|
3292
3291
|
line_route?: string;
|
|
3293
3292
|
posid_segment?: string;
|
|
3294
|
-
applied_diff_snapshot?: any
|
|
3293
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3295
3294
|
version?: number;
|
|
3296
3295
|
brand?: DraftBrandDTO;
|
|
3297
3296
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -3299,7 +3298,7 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
3299
3298
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3300
3299
|
attachments?: FileAttachmentsDTO;
|
|
3301
3300
|
weight?: WeightDTO;
|
|
3302
|
-
permissions?: any
|
|
3301
|
+
permissions?: Record<string, any>;
|
|
3303
3302
|
[index: string]: any;
|
|
3304
3303
|
}
|
|
3305
3304
|
export type PatchMenuV3DraftItemResponse = DraftItemDTO;
|
|
@@ -3347,19 +3346,19 @@ export type PostMenuV3DraftItemsBody = {
|
|
|
3347
3346
|
meal_value?: number;
|
|
3348
3347
|
is_active?: boolean;
|
|
3349
3348
|
posid?: string;
|
|
3350
|
-
tax_tags?: any[];
|
|
3349
|
+
tax_tags?: Record<string, any>[];
|
|
3351
3350
|
brand_id: string;
|
|
3352
3351
|
line_route?: string;
|
|
3353
3352
|
posid_segment?: string;
|
|
3354
|
-
id?: any
|
|
3355
|
-
applied_diff_snapshot?: any
|
|
3353
|
+
id?: Record<string, any>;
|
|
3354
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3356
3355
|
brand?: DraftBrandDTO;
|
|
3357
3356
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
3358
3357
|
changes?: ItemChangeDTO[];
|
|
3359
3358
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3360
3359
|
attachments?: FileAttachmentsDTO;
|
|
3361
3360
|
weight?: WeightDTO;
|
|
3362
|
-
permissions?: any
|
|
3361
|
+
permissions?: Record<string, any>;
|
|
3363
3362
|
[index: string]: any;
|
|
3364
3363
|
}[];
|
|
3365
3364
|
export interface PostMenuV3DraftItemsResponse {
|
|
@@ -3395,7 +3394,7 @@ export interface GetMenuV3DraftItemLineRoutesResponse {
|
|
|
3395
3394
|
export interface GetMenuV3DraftItemLineRoutesRequest extends BaseRequest, RequestQuery<GetMenuV3DraftItemLineRoutesQuery>, GetMenuV3DraftItemLineRoutesPath {
|
|
3396
3395
|
}
|
|
3397
3396
|
export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
3398
|
-
id_list: any[];
|
|
3397
|
+
id_list: Record<string, any>[];
|
|
3399
3398
|
parent?: DraftItemDTO;
|
|
3400
3399
|
children?: DraftItemDTO[];
|
|
3401
3400
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
@@ -3411,18 +3410,18 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
|
3411
3410
|
meal_value?: number;
|
|
3412
3411
|
is_active?: boolean;
|
|
3413
3412
|
posid?: string;
|
|
3414
|
-
tax_tags?: any[];
|
|
3413
|
+
tax_tags?: Record<string, any>[];
|
|
3415
3414
|
brand_id?: string;
|
|
3416
3415
|
line_route?: string;
|
|
3417
3416
|
posid_segment?: string;
|
|
3418
|
-
applied_diff_snapshot?: any
|
|
3417
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3419
3418
|
brand?: DraftBrandDTO;
|
|
3420
3419
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
3421
3420
|
changes?: ItemChangeDTO[];
|
|
3422
3421
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3423
3422
|
attachments?: FileAttachmentsDTO;
|
|
3424
3423
|
weight?: WeightDTO;
|
|
3425
|
-
permissions?: any
|
|
3424
|
+
permissions?: Record<string, any>;
|
|
3426
3425
|
[index: string]: any;
|
|
3427
3426
|
}
|
|
3428
3427
|
export interface PatchMenuV3DraftItemsBulkUpdateResponse {
|
|
@@ -3533,14 +3532,14 @@ export interface PostMenuV3DraftItemRelationshipsModifierGroupBody {
|
|
|
3533
3532
|
item_id: string;
|
|
3534
3533
|
brand_id: string;
|
|
3535
3534
|
sequence?: number;
|
|
3536
|
-
id?: any
|
|
3537
|
-
applied_diff_snapshot?: any
|
|
3535
|
+
id?: Record<string, any>;
|
|
3536
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3538
3537
|
item?: DraftItemDTO;
|
|
3539
3538
|
modifier_group?: DraftModifierGroupDTO;
|
|
3540
3539
|
brand?: DraftBrandDTO;
|
|
3541
3540
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
3542
3541
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3543
|
-
permissions?: any
|
|
3542
|
+
permissions?: Record<string, any>;
|
|
3544
3543
|
[index: string]: any;
|
|
3545
3544
|
}
|
|
3546
3545
|
export type PostMenuV3DraftItemRelationshipsModifierGroupResponse = DraftItemToModifierGroupRelationshipDTO;
|
|
@@ -3570,14 +3569,14 @@ export interface PatchMenuV3DraftItemRelationshipsModifierGroupBody {
|
|
|
3570
3569
|
item_id?: string;
|
|
3571
3570
|
brand_id?: string;
|
|
3572
3571
|
sequence?: number;
|
|
3573
|
-
applied_diff_snapshot?: any
|
|
3572
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3574
3573
|
version?: number;
|
|
3575
3574
|
item?: DraftItemDTO;
|
|
3576
3575
|
modifier_group?: DraftModifierGroupDTO;
|
|
3577
3576
|
brand?: DraftBrandDTO;
|
|
3578
3577
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
3579
3578
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3580
|
-
permissions?: any
|
|
3579
|
+
permissions?: Record<string, any>;
|
|
3581
3580
|
[index: string]: any;
|
|
3582
3581
|
}
|
|
3583
3582
|
export type PatchMenuV3DraftItemRelationshipsModifierGroupResponse = DraftItemToModifierGroupRelationshipDTO;
|
|
@@ -3618,14 +3617,14 @@ export type PostMenuV3DraftItemRelationshipsModifierGroupsBody = {
|
|
|
3618
3617
|
item_id: string;
|
|
3619
3618
|
brand_id: string;
|
|
3620
3619
|
sequence?: number;
|
|
3621
|
-
id?: any
|
|
3622
|
-
applied_diff_snapshot?: any
|
|
3620
|
+
id?: Record<string, any>;
|
|
3621
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3623
3622
|
item?: DraftItemDTO;
|
|
3624
3623
|
modifier_group?: DraftModifierGroupDTO;
|
|
3625
3624
|
brand?: DraftBrandDTO;
|
|
3626
3625
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
3627
3626
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3628
|
-
permissions?: any
|
|
3627
|
+
permissions?: Record<string, any>;
|
|
3629
3628
|
[index: string]: any;
|
|
3630
3629
|
}[];
|
|
3631
3630
|
export interface PostMenuV3DraftItemRelationshipsModifierGroupsResponse {
|
|
@@ -3707,12 +3706,12 @@ export interface PostMenuV3DraftModifierGroupBody {
|
|
|
3707
3706
|
is_active?: boolean;
|
|
3708
3707
|
limit?: number;
|
|
3709
3708
|
brand_id: string;
|
|
3710
|
-
id?: any
|
|
3711
|
-
applied_diff_snapshot?: any
|
|
3709
|
+
id?: Record<string, any>;
|
|
3710
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3712
3711
|
brand?: DraftBrandDTO;
|
|
3713
3712
|
changes?: ModifierGroupChangeDTO[];
|
|
3714
3713
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3715
|
-
permissions?: any
|
|
3714
|
+
permissions?: Record<string, any>;
|
|
3716
3715
|
[index: string]: any;
|
|
3717
3716
|
}
|
|
3718
3717
|
export type PostMenuV3DraftModifierGroupResponse = DraftModifierGroupDTO;
|
|
@@ -3747,12 +3746,12 @@ export interface PatchMenuV3DraftModifierGroupBody {
|
|
|
3747
3746
|
is_active?: boolean;
|
|
3748
3747
|
limit?: number;
|
|
3749
3748
|
brand_id?: string;
|
|
3750
|
-
applied_diff_snapshot?: any
|
|
3749
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3751
3750
|
version?: number;
|
|
3752
3751
|
brand?: DraftBrandDTO;
|
|
3753
3752
|
changes?: ModifierGroupChangeDTO[];
|
|
3754
3753
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3755
|
-
permissions?: any
|
|
3754
|
+
permissions?: Record<string, any>;
|
|
3756
3755
|
[index: string]: any;
|
|
3757
3756
|
}
|
|
3758
3757
|
export type PatchMenuV3DraftModifierGroupResponse = DraftModifierGroupDTO;
|
|
@@ -3798,12 +3797,12 @@ export type PostMenuV3DraftModifierGroupsBody = {
|
|
|
3798
3797
|
is_active?: boolean;
|
|
3799
3798
|
limit?: number;
|
|
3800
3799
|
brand_id: string;
|
|
3801
|
-
id?: any
|
|
3802
|
-
applied_diff_snapshot?: any
|
|
3800
|
+
id?: Record<string, any>;
|
|
3801
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3803
3802
|
brand?: DraftBrandDTO;
|
|
3804
3803
|
changes?: ModifierGroupChangeDTO[];
|
|
3805
3804
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3806
|
-
permissions?: any
|
|
3805
|
+
permissions?: Record<string, any>;
|
|
3807
3806
|
[index: string]: any;
|
|
3808
3807
|
}[];
|
|
3809
3808
|
export interface PostMenuV3DraftModifierGroupsResponse {
|
|
@@ -3846,12 +3845,12 @@ export interface PostMenuV3DraftModifierGroupDuplicateResponse {
|
|
|
3846
3845
|
is_active?: boolean;
|
|
3847
3846
|
limit?: number;
|
|
3848
3847
|
brand_id: string;
|
|
3849
|
-
applied_diff_snapshot?: any
|
|
3848
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3850
3849
|
version?: number;
|
|
3851
3850
|
brand?: DraftBrandDTO;
|
|
3852
3851
|
changes?: ModifierGroupChangeDTO[];
|
|
3853
3852
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3854
|
-
permissions?: any
|
|
3853
|
+
permissions?: Record<string, any>;
|
|
3855
3854
|
[index: string]: any;
|
|
3856
3855
|
}
|
|
3857
3856
|
export interface PostMenuV3DraftModifierGroupDuplicateRequest extends BaseRequest, PostMenuV3DraftModifierGroupDuplicatePath {
|
|
@@ -3910,14 +3909,14 @@ export interface PostMenuV3DraftModifierGroupRelationshipsModifierBody {
|
|
|
3910
3909
|
modifier_group_id: string;
|
|
3911
3910
|
brand_id: string;
|
|
3912
3911
|
sequence?: number;
|
|
3913
|
-
id?: any
|
|
3914
|
-
applied_diff_snapshot?: any
|
|
3912
|
+
id?: Record<string, any>;
|
|
3913
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3915
3914
|
modifier?: DraftModifierDTO;
|
|
3916
3915
|
modifier_group?: DraftModifierGroupDTO;
|
|
3917
3916
|
brand?: DraftBrandDTO;
|
|
3918
3917
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
3919
3918
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3920
|
-
permissions?: any
|
|
3919
|
+
permissions?: Record<string, any>;
|
|
3921
3920
|
[index: string]: any;
|
|
3922
3921
|
}
|
|
3923
3922
|
export type PostMenuV3DraftModifierGroupRelationshipsModifierResponse = DraftModifierGroupToModifierRelationshipDTO;
|
|
@@ -3947,14 +3946,14 @@ export interface PatchMenuV3DraftModifierGroupRelationshipsModifierBody {
|
|
|
3947
3946
|
modifier_group_id?: string;
|
|
3948
3947
|
brand_id?: string;
|
|
3949
3948
|
sequence?: number;
|
|
3950
|
-
applied_diff_snapshot?: any
|
|
3949
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
3951
3950
|
version?: number;
|
|
3952
3951
|
modifier?: DraftModifierDTO;
|
|
3953
3952
|
modifier_group?: DraftModifierGroupDTO;
|
|
3954
3953
|
brand?: DraftBrandDTO;
|
|
3955
3954
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
3956
3955
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3957
|
-
permissions?: any
|
|
3956
|
+
permissions?: Record<string, any>;
|
|
3958
3957
|
[index: string]: any;
|
|
3959
3958
|
}
|
|
3960
3959
|
export type PatchMenuV3DraftModifierGroupRelationshipsModifierResponse = DraftModifierGroupToModifierRelationshipDTO;
|
|
@@ -3995,14 +3994,14 @@ export type PostMenuV3DraftModifierGroupRelationshipsModifiersBody = {
|
|
|
3995
3994
|
modifier_group_id: string;
|
|
3996
3995
|
brand_id: string;
|
|
3997
3996
|
sequence?: number;
|
|
3998
|
-
id?: any
|
|
3999
|
-
applied_diff_snapshot?: any
|
|
3997
|
+
id?: Record<string, any>;
|
|
3998
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4000
3999
|
modifier?: DraftModifierDTO;
|
|
4001
4000
|
modifier_group?: DraftModifierGroupDTO;
|
|
4002
4001
|
brand?: DraftBrandDTO;
|
|
4003
4002
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
4004
4003
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4005
|
-
permissions?: any
|
|
4004
|
+
permissions?: Record<string, any>;
|
|
4006
4005
|
[index: string]: any;
|
|
4007
4006
|
}[];
|
|
4008
4007
|
export interface PostMenuV3DraftModifierGroupRelationshipsModifiersResponse {
|
|
@@ -4081,21 +4080,21 @@ export interface PostMenuV3DraftModifierBody {
|
|
|
4081
4080
|
description?: string;
|
|
4082
4081
|
price: number;
|
|
4083
4082
|
calories?: number;
|
|
4084
|
-
tax_tags?: any[];
|
|
4083
|
+
tax_tags?: Record<string, any>[];
|
|
4085
4084
|
is_active?: boolean;
|
|
4086
4085
|
posid?: string;
|
|
4087
4086
|
reporting: ReportingMetadataDTO;
|
|
4088
4087
|
posid_segment?: string;
|
|
4089
4088
|
brand_id: string;
|
|
4090
|
-
sizing?: any[];
|
|
4091
|
-
id?: any
|
|
4092
|
-
applied_diff_snapshot?: any
|
|
4089
|
+
sizing?: Record<string, any>[];
|
|
4090
|
+
id?: Record<string, any>;
|
|
4091
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4093
4092
|
brand?: DraftBrandDTO;
|
|
4094
4093
|
changes?: ModifierChangeDTO[];
|
|
4095
4094
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4096
4095
|
weight?: WeightDTO;
|
|
4097
4096
|
attachments?: FileAttachmentsDTO;
|
|
4098
|
-
permissions?: any
|
|
4097
|
+
permissions?: Record<string, any>;
|
|
4099
4098
|
[index: string]: any;
|
|
4100
4099
|
}
|
|
4101
4100
|
export type PostMenuV3DraftModifierResponse = DraftModifierDTO;
|
|
@@ -4127,21 +4126,21 @@ export interface PatchMenuV3DraftModifierBody {
|
|
|
4127
4126
|
description?: string;
|
|
4128
4127
|
price?: number;
|
|
4129
4128
|
calories?: number;
|
|
4130
|
-
tax_tags?: any[];
|
|
4129
|
+
tax_tags?: Record<string, any>[];
|
|
4131
4130
|
is_active?: boolean;
|
|
4132
4131
|
posid?: string;
|
|
4133
4132
|
reporting?: ReportingMetadataDTO;
|
|
4134
4133
|
posid_segment?: string;
|
|
4135
4134
|
brand_id?: string;
|
|
4136
|
-
sizing?: any[];
|
|
4137
|
-
applied_diff_snapshot?: any
|
|
4135
|
+
sizing?: Record<string, any>[];
|
|
4136
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4138
4137
|
version?: number;
|
|
4139
4138
|
brand?: DraftBrandDTO;
|
|
4140
4139
|
changes?: ModifierChangeDTO[];
|
|
4141
4140
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4142
4141
|
weight?: WeightDTO;
|
|
4143
4142
|
attachments?: FileAttachmentsDTO;
|
|
4144
|
-
permissions?: any
|
|
4143
|
+
permissions?: Record<string, any>;
|
|
4145
4144
|
[index: string]: any;
|
|
4146
4145
|
}
|
|
4147
4146
|
export type PatchMenuV3DraftModifierResponse = DraftModifierDTO;
|
|
@@ -4184,21 +4183,21 @@ export type PostMenuV3DraftModifiersBody = {
|
|
|
4184
4183
|
description?: string;
|
|
4185
4184
|
price: number;
|
|
4186
4185
|
calories?: number;
|
|
4187
|
-
tax_tags?: any[];
|
|
4186
|
+
tax_tags?: Record<string, any>[];
|
|
4188
4187
|
is_active?: boolean;
|
|
4189
4188
|
posid?: string;
|
|
4190
4189
|
reporting: ReportingMetadataDTO;
|
|
4191
4190
|
posid_segment?: string;
|
|
4192
4191
|
brand_id: string;
|
|
4193
|
-
sizing?: any[];
|
|
4194
|
-
id?: any
|
|
4195
|
-
applied_diff_snapshot?: any
|
|
4192
|
+
sizing?: Record<string, any>[];
|
|
4193
|
+
id?: Record<string, any>;
|
|
4194
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4196
4195
|
brand?: DraftBrandDTO;
|
|
4197
4196
|
changes?: ModifierChangeDTO[];
|
|
4198
4197
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4199
4198
|
weight?: WeightDTO;
|
|
4200
4199
|
attachments?: FileAttachmentsDTO;
|
|
4201
|
-
permissions?: any
|
|
4200
|
+
permissions?: Record<string, any>;
|
|
4202
4201
|
[index: string]: any;
|
|
4203
4202
|
}[];
|
|
4204
4203
|
export interface PostMenuV3DraftModifiersResponse {
|
|
@@ -4222,7 +4221,7 @@ export interface GetMenuV3DraftModifiersCountResponse {
|
|
|
4222
4221
|
export interface GetMenuV3DraftModifiersCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifiersCountQuery> {
|
|
4223
4222
|
}
|
|
4224
4223
|
export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
4225
|
-
id_list: any[];
|
|
4224
|
+
id_list: Record<string, any>[];
|
|
4226
4225
|
parent?: DraftModifierDTO;
|
|
4227
4226
|
children?: DraftModifierDTO[];
|
|
4228
4227
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
@@ -4233,20 +4232,20 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
|
4233
4232
|
description?: string;
|
|
4234
4233
|
price?: number;
|
|
4235
4234
|
calories?: number;
|
|
4236
|
-
tax_tags?: any[];
|
|
4235
|
+
tax_tags?: Record<string, any>[];
|
|
4237
4236
|
is_active?: boolean;
|
|
4238
4237
|
posid?: string;
|
|
4239
4238
|
reporting?: ReportingMetadataDTO;
|
|
4240
4239
|
posid_segment?: string;
|
|
4241
4240
|
brand_id?: string;
|
|
4242
|
-
sizing?: any[];
|
|
4243
|
-
applied_diff_snapshot?: any
|
|
4241
|
+
sizing?: Record<string, any>[];
|
|
4242
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
4244
4243
|
brand?: DraftBrandDTO;
|
|
4245
4244
|
changes?: ModifierChangeDTO[];
|
|
4246
4245
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4247
4246
|
weight?: WeightDTO;
|
|
4248
4247
|
attachments?: FileAttachmentsDTO;
|
|
4249
|
-
permissions?: any
|
|
4248
|
+
permissions?: Record<string, any>;
|
|
4250
4249
|
[index: string]: any;
|
|
4251
4250
|
}
|
|
4252
4251
|
export interface PatchMenuV3DraftModifiersBulkUpdateResponse {
|
|
@@ -4317,8 +4316,8 @@ export interface PostMenuV3IntegrationsTransltrImportQuery {
|
|
|
4317
4316
|
"body.data"?: string;
|
|
4318
4317
|
}
|
|
4319
4318
|
export interface PostMenuV3IntegrationsTransltrImportResponse {
|
|
4320
|
-
errors?: any
|
|
4321
|
-
results?: any
|
|
4319
|
+
errors?: Record<string, any>;
|
|
4320
|
+
results?: Record<string, any>;
|
|
4322
4321
|
}
|
|
4323
4322
|
export interface PostMenuV3IntegrationsTransltrImportRequest extends BaseRequest, RequestQuery<PostMenuV3IntegrationsTransltrImportQuery> {
|
|
4324
4323
|
}
|
|
@@ -4338,17 +4337,17 @@ export interface GetMenuV3GlobalDiffResponse {
|
|
|
4338
4337
|
deleted_at?: string;
|
|
4339
4338
|
entity_type?: string;
|
|
4340
4339
|
local_id?: string;
|
|
4341
|
-
changes?: any
|
|
4342
|
-
local_changes?: any
|
|
4343
|
-
local_snapshot?: any
|
|
4340
|
+
changes?: Record<string, any>;
|
|
4341
|
+
local_changes?: Record<string, any>;
|
|
4342
|
+
local_snapshot?: Record<string, any>;
|
|
4344
4343
|
global_id?: string;
|
|
4345
|
-
global_snapshot?: any
|
|
4344
|
+
global_snapshot?: Record<string, any>;
|
|
4346
4345
|
brand_id?: string;
|
|
4347
4346
|
version?: number;
|
|
4348
4347
|
depends_on?: GlobalDiffDependencyDTO[];
|
|
4349
4348
|
is_depended_by?: GlobalDiffDependencyDTO[];
|
|
4350
4349
|
brand?: DraftBrandDTO;
|
|
4351
|
-
permissions?: any
|
|
4350
|
+
permissions?: Record<string, any>;
|
|
4352
4351
|
[index: string]: any;
|
|
4353
4352
|
}
|
|
4354
4353
|
export interface GetMenuV3GlobalDiffRequest extends BaseRequest, RequestQuery<GetMenuV3GlobalDiffQuery>, GetMenuV3GlobalDiffPath {
|
|
@@ -4385,5 +4384,4 @@ export interface GetMenuV3GlobalDiffsCountResponse {
|
|
|
4385
4384
|
}
|
|
4386
4385
|
export interface GetMenuV3GlobalDiffsCountRequest extends BaseRequest, RequestQuery<GetMenuV3GlobalDiffsCountQuery> {
|
|
4387
4386
|
}
|
|
4388
|
-
export {};
|
|
4389
4387
|
//# sourceMappingURL=menu.d.ts.map
|