@compassdigital/sdk.typescript 3.77.0 → 4.0.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 +103 -81
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +90 -63
- package/lib/index.js.map +1 -1
- package/lib/interface/ai.d.ts +50 -0
- package/lib/interface/ai.d.ts.map +1 -0
- package/lib/interface/ai.js +5 -0
- package/lib/interface/ai.js.map +1 -0
- package/lib/interface/calendar.d.ts +1 -1
- package/lib/interface/datalake.d.ts +3 -3
- package/lib/interface/datalake.d.ts.map +1 -1
- package/lib/interface/delivery.d.ts +2 -2
- package/lib/interface/delivery.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 +24 -24
- package/lib/interface/frictionless.d.ts.map +1 -1
- package/lib/interface/location.d.ts +23 -14
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/location.js +12 -0
- package/lib/interface/location.js.map +1 -1
- package/lib/interface/mealplan.d.ts +6 -5
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +585 -492
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/menu.js +6 -0
- 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 +6 -6
- package/lib/interface/order.d.ts.map +1 -1
- package/lib/interface/partner.d.ts +11 -6
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/partner.js +6 -0
- package/lib/interface/partner.js.map +1 -1
- package/lib/interface/payment.d.ts +4 -4
- package/lib/interface/payment.d.ts.map +1 -1
- package/lib/interface/payment.js +1 -1
- package/lib/interface/payment.js.map +1 -1
- package/lib/interface/promo.d.ts +13 -6
- package/lib/interface/promo.d.ts.map +1 -1
- package/lib/interface/promo.js +8 -0
- package/lib/interface/promo.js.map +1 -1
- package/lib/interface/report.d.ts +8 -8
- package/lib/interface/report.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +14 -9
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/lib/interface/shoppingcart.js +5 -0
- package/lib/interface/shoppingcart.js.map +1 -1
- package/lib/interface/task.d.ts +14 -14
- package/lib/interface/task.d.ts.map +1 -1
- package/lib/interface/user.d.ts +16 -21
- package/lib/interface/user.d.ts.map +1 -1
- package/lib/interface/vendor.d.ts +5 -5
- package/lib/interface/vendor.d.ts.map +1 -1
- package/manifest.json +4 -0
- package/package.json +2 -2
- package/src/index.ts +248 -193
- package/src/interface/ai.ts +72 -0
- package/src/interface/announcement.ts +1 -1
- package/src/interface/calendar.ts +1 -1
- package/src/interface/datalake.ts +5 -3
- package/src/interface/delivery.ts +15 -2
- package/src/interface/file.ts +1 -1
- package/src/interface/frictionless.ts +30 -36
- package/src/interface/location.ts +28 -20
- package/src/interface/mealplan.ts +8 -6
- package/src/interface/menu.ts +671 -574
- package/src/interface/notification.ts +2 -2
- package/src/interface/order.ts +23 -12
- package/src/interface/partner.ts +10 -6
- package/src/interface/payment.ts +5 -5
- package/src/interface/promo.ts +12 -6
- package/src/interface/report.ts +8 -8
- package/src/interface/shoppingcart.ts +14 -9
- package/src/interface/task.ts +26 -14
- package/src/interface/user.ts +21 -27
- package/src/interface/vendor.ts +5 -5
package/lib/interface/menu.d.ts
CHANGED
|
@@ -247,7 +247,11 @@ export interface Error {
|
|
|
247
247
|
code?: number;
|
|
248
248
|
data?: any;
|
|
249
249
|
}
|
|
250
|
-
|
|
250
|
+
declare enum AmountOffExclusionTypes {
|
|
251
|
+
LOYALTY = "loyalty",
|
|
252
|
+
DISCOUNT = "discount",
|
|
253
|
+
PROMO = "promo"
|
|
254
|
+
}
|
|
251
255
|
export interface Menus {
|
|
252
256
|
menus?: Menu[];
|
|
253
257
|
}
|
|
@@ -268,6 +272,7 @@ export interface ZippedExcelExport {
|
|
|
268
272
|
export interface GlobalMenuGroupDTO {
|
|
269
273
|
name?: string;
|
|
270
274
|
is_active?: boolean;
|
|
275
|
+
posid_segment?: string;
|
|
271
276
|
id?: string;
|
|
272
277
|
permissions?: any;
|
|
273
278
|
[index: string]: any;
|
|
@@ -277,10 +282,11 @@ export interface DraftBrandDTO {
|
|
|
277
282
|
name?: string;
|
|
278
283
|
description?: string;
|
|
279
284
|
is_active?: boolean;
|
|
280
|
-
type?:
|
|
285
|
+
type?: "global" | "local";
|
|
281
286
|
parent_id?: string;
|
|
282
287
|
local_menu_group_id?: string;
|
|
283
288
|
global_menu_group_id?: string;
|
|
289
|
+
posid_segment?: string;
|
|
284
290
|
permissions?: any;
|
|
285
291
|
[index: string]: any;
|
|
286
292
|
}
|
|
@@ -289,10 +295,11 @@ export interface PublishedBrandDTO {
|
|
|
289
295
|
name?: string;
|
|
290
296
|
description?: string;
|
|
291
297
|
is_active?: boolean;
|
|
292
|
-
type?:
|
|
298
|
+
type?: "global" | "local";
|
|
293
299
|
parent_id?: string;
|
|
294
300
|
local_menu_group_id?: string;
|
|
295
301
|
global_menu_group_id?: string;
|
|
302
|
+
posid_segment?: string;
|
|
296
303
|
permissions?: any;
|
|
297
304
|
[index: string]: any;
|
|
298
305
|
}
|
|
@@ -361,8 +368,8 @@ export interface PaginationOptionsDTO {
|
|
|
361
368
|
limit?: number;
|
|
362
369
|
page?: number;
|
|
363
370
|
sort_by?: string;
|
|
364
|
-
sort_order?:
|
|
365
|
-
soft_deleted?:
|
|
371
|
+
sort_order?: "DESC" | "ASC";
|
|
372
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
366
373
|
[index: string]: any;
|
|
367
374
|
}
|
|
368
375
|
export interface ListResponseMetadataDTO {
|
|
@@ -372,8 +379,8 @@ export interface ListResponseMetadataDTO {
|
|
|
372
379
|
limit?: number;
|
|
373
380
|
page?: number;
|
|
374
381
|
sort_by?: string;
|
|
375
|
-
sort_order?:
|
|
376
|
-
soft_deleted?:
|
|
382
|
+
sort_order?: "DESC" | "ASC";
|
|
383
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
377
384
|
[index: string]: any;
|
|
378
385
|
}
|
|
379
386
|
export interface LocalMenuGroupDTO {
|
|
@@ -399,6 +406,7 @@ export interface DraftBrandDraftBrandDTO {
|
|
|
399
406
|
parent_id?: FilterFieldDTO;
|
|
400
407
|
local_menu_group_id?: FilterFieldDTO;
|
|
401
408
|
global_menu_group_id?: FilterFieldDTO;
|
|
409
|
+
posid_segment?: FilterFieldDTO;
|
|
402
410
|
id?: FilterFieldDTO;
|
|
403
411
|
version?: FilterFieldDTO;
|
|
404
412
|
created_at?: FilterFieldDTO;
|
|
@@ -409,8 +417,7 @@ export interface DraftBrandDraftBrandDTO {
|
|
|
409
417
|
changes?: BrandChangeDTO[];
|
|
410
418
|
local_menu_group?: LocalMenuGroupDTO;
|
|
411
419
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
412
|
-
|
|
413
|
-
menus?: any[];
|
|
420
|
+
menus?: DraftMenuDTO[];
|
|
414
421
|
categories?: any[];
|
|
415
422
|
category_to_item_relationships?: any[];
|
|
416
423
|
items?: any[];
|
|
@@ -433,103 +440,69 @@ export interface BrandChangeDTO {
|
|
|
433
440
|
permissions?: FilterFieldDTO;
|
|
434
441
|
[index: string]: any;
|
|
435
442
|
}
|
|
436
|
-
export interface
|
|
437
|
-
value?: FilterFieldDTO;
|
|
438
|
-
modifier_id?: string;
|
|
439
|
-
published_modifier?: PublishedModifierDTO;
|
|
440
|
-
draft_modifier?: DraftModifierDTO;
|
|
441
|
-
item_id?: string;
|
|
442
|
-
published_item?: any;
|
|
443
|
-
draft_item?: any;
|
|
444
|
-
brand_id?: string;
|
|
445
|
-
published_brand?: PublishedBrandDTO;
|
|
446
|
-
draft_brand?: any;
|
|
447
|
-
global_menu_group_id?: string;
|
|
448
|
-
global_menu_group?: GlobalMenuGroupDTO;
|
|
449
|
-
id?: string;
|
|
450
|
-
permissions?: FilterFieldDTO;
|
|
451
|
-
[index: string]: any;
|
|
452
|
-
}
|
|
453
|
-
export interface PublishedModifierDTO {
|
|
443
|
+
export interface DraftMenuDTO {
|
|
454
444
|
parent?: any;
|
|
455
445
|
children?: any[];
|
|
456
|
-
|
|
457
|
-
modifier_groups?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
446
|
+
categories?: DraftCategoryDTO[];
|
|
458
447
|
id?: string;
|
|
459
448
|
parent_id?: string;
|
|
460
449
|
name?: string;
|
|
461
|
-
label?: string;
|
|
462
|
-
description?: string;
|
|
463
|
-
price?: number;
|
|
464
|
-
calories?: number;
|
|
465
|
-
tax_tags?: FilterFieldDTO[];
|
|
466
|
-
is_active?: boolean;
|
|
467
|
-
posid?: FilterFieldDTO;
|
|
468
|
-
reporting?: any;
|
|
469
450
|
brand_id?: string;
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
[
|
|
474
|
-
}
|
|
475
|
-
export interface PublishedModifierGroupToModifierRelationshipDTO {
|
|
476
|
-
parent?: any;
|
|
477
|
-
children?: any[];
|
|
478
|
-
id?: string;
|
|
479
|
-
parent_id?: string;
|
|
480
|
-
modifier_id?: string;
|
|
481
|
-
modifier_group_id?: string;
|
|
482
|
-
brand_id?: FilterFieldDTO;
|
|
483
|
-
sequence?: number;
|
|
484
|
-
modifier_group?: PublishedModifierGroupDTO;
|
|
485
|
-
modifier?: any;
|
|
486
|
-
brand?: PublishedBrandDTO;
|
|
451
|
+
applied_diff_snapshot?: FilterFieldDTO;
|
|
452
|
+
brand?: any;
|
|
453
|
+
changes?: MenuChangeDTO[];
|
|
454
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
487
455
|
permissions?: FilterFieldDTO;
|
|
488
456
|
[index: string]: any;
|
|
489
457
|
}
|
|
490
|
-
export interface
|
|
458
|
+
export interface DraftCategoryDTO {
|
|
491
459
|
parent?: any;
|
|
492
460
|
children?: any[];
|
|
493
|
-
modifiers?: any[];
|
|
494
|
-
items?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
495
461
|
id?: string;
|
|
496
462
|
parent_id?: string;
|
|
497
463
|
name?: string;
|
|
498
464
|
label?: string;
|
|
499
|
-
|
|
500
|
-
max?: number;
|
|
465
|
+
sequence?: number;
|
|
501
466
|
is_active?: boolean;
|
|
502
467
|
brand_id?: string;
|
|
503
|
-
|
|
468
|
+
menu_id?: string;
|
|
469
|
+
applied_diff_snapshot?: FilterFieldDTO;
|
|
470
|
+
menu?: any;
|
|
471
|
+
items?: DraftCategoryToItemRelationshipDTO[];
|
|
472
|
+
brand?: any;
|
|
473
|
+
changes?: CategoryChangeDTO[];
|
|
474
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
504
475
|
permissions?: FilterFieldDTO;
|
|
505
476
|
[index: string]: any;
|
|
506
477
|
}
|
|
507
|
-
export interface
|
|
478
|
+
export interface DraftCategoryToItemRelationshipDTO {
|
|
508
479
|
parent?: any;
|
|
509
480
|
children?: any[];
|
|
510
481
|
id?: string;
|
|
511
482
|
parent_id?: string;
|
|
512
|
-
modifier_group_id?: string;
|
|
513
483
|
item_id?: string;
|
|
484
|
+
category_id?: string;
|
|
514
485
|
brand_id?: FilterFieldDTO;
|
|
515
486
|
sequence?: number;
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
487
|
+
applied_diff_snapshot?: FilterFieldDTO;
|
|
488
|
+
category?: any;
|
|
489
|
+
item?: DraftItemDTO;
|
|
490
|
+
brand?: any;
|
|
491
|
+
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
492
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
519
493
|
permissions?: FilterFieldDTO;
|
|
520
494
|
[index: string]: any;
|
|
521
495
|
}
|
|
522
|
-
export interface
|
|
496
|
+
export interface DraftItemDTO {
|
|
523
497
|
parent?: any;
|
|
524
498
|
children?: any[];
|
|
525
|
-
|
|
526
|
-
modifier_groups?: any[];
|
|
499
|
+
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
527
500
|
id?: string;
|
|
528
501
|
parent_id?: string;
|
|
529
502
|
name?: string;
|
|
530
503
|
label?: string;
|
|
531
504
|
description?: string;
|
|
532
|
-
reporting?:
|
|
505
|
+
reporting?: any;
|
|
533
506
|
price?: number;
|
|
534
507
|
barcode?: string;
|
|
535
508
|
calories?: number;
|
|
@@ -538,118 +511,31 @@ export interface PublishedItemDTO {
|
|
|
538
511
|
tax_tags?: FilterFieldDTO[];
|
|
539
512
|
brand_id?: string;
|
|
540
513
|
line_route?: FilterFieldDTO;
|
|
541
|
-
|
|
542
|
-
categories?: PublishedCategoryToItemRelationshipDTO[];
|
|
543
|
-
attachments?: FileAttachmentsDTO;
|
|
544
|
-
weight?: WeightDTO;
|
|
545
|
-
permissions?: FilterFieldDTO;
|
|
546
|
-
[index: string]: any;
|
|
547
|
-
}
|
|
548
|
-
export interface PublishedCategoryToItemRelationshipDTO {
|
|
549
|
-
parent?: any;
|
|
550
|
-
children?: any[];
|
|
551
|
-
id?: string;
|
|
552
|
-
parent_id?: string;
|
|
553
|
-
item_id?: string;
|
|
554
|
-
category_id?: string;
|
|
555
|
-
brand_id?: FilterFieldDTO;
|
|
556
|
-
sequence?: number;
|
|
557
|
-
category?: PublishedCategoryDTO;
|
|
558
|
-
item?: any;
|
|
559
|
-
brand?: PublishedBrandDTO;
|
|
560
|
-
permissions?: FilterFieldDTO;
|
|
561
|
-
[index: string]: any;
|
|
562
|
-
}
|
|
563
|
-
export interface PublishedCategoryDTO {
|
|
564
|
-
parent?: any;
|
|
565
|
-
children?: any[];
|
|
566
|
-
id?: string;
|
|
567
|
-
parent_id?: string;
|
|
568
|
-
name?: string;
|
|
569
|
-
label?: string;
|
|
570
|
-
sequence?: number;
|
|
571
|
-
is_active?: boolean;
|
|
572
|
-
brand_id?: string;
|
|
573
|
-
menu_id?: string;
|
|
574
|
-
menu?: PublishedMenuDTO;
|
|
575
|
-
items?: any[];
|
|
576
|
-
brand?: PublishedBrandDTO;
|
|
577
|
-
permissions?: FilterFieldDTO;
|
|
578
|
-
[index: string]: any;
|
|
579
|
-
}
|
|
580
|
-
export interface PublishedMenuDTO {
|
|
581
|
-
parent?: any;
|
|
582
|
-
children?: any[];
|
|
583
|
-
categories?: any[];
|
|
584
|
-
id?: string;
|
|
585
|
-
parent_id?: string;
|
|
586
|
-
name?: string;
|
|
587
|
-
brand_id?: string;
|
|
588
|
-
brand?: PublishedBrandDTO;
|
|
589
|
-
permissions?: FilterFieldDTO;
|
|
590
|
-
[index: string]: any;
|
|
591
|
-
}
|
|
592
|
-
export interface ReportingMetadataDTO {
|
|
593
|
-
category?: ReportingCategoryMetadataDTO;
|
|
594
|
-
id?: any;
|
|
595
|
-
[index: string]: any;
|
|
596
|
-
}
|
|
597
|
-
export interface ReportingCategoryMetadataDTO {
|
|
598
|
-
primary?: string;
|
|
599
|
-
secondary?: FilterFieldDTO;
|
|
600
|
-
id?: any;
|
|
601
|
-
[index: string]: any;
|
|
602
|
-
}
|
|
603
|
-
export interface FileAttachmentsDTO {
|
|
604
|
-
thumbnail?: FilterFieldDTO;
|
|
605
|
-
id?: any;
|
|
606
|
-
[index: string]: any;
|
|
607
|
-
}
|
|
608
|
-
export interface WeightDTO {
|
|
609
|
-
unit?: FilterFieldDTO;
|
|
610
|
-
amount?: FilterFieldDTO;
|
|
611
|
-
id?: any;
|
|
612
|
-
[index: string]: any;
|
|
613
|
-
}
|
|
614
|
-
export interface DraftModifierDTO {
|
|
615
|
-
parent?: any;
|
|
616
|
-
children?: any[];
|
|
617
|
-
posid_segment?: any;
|
|
618
|
-
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
619
|
-
id?: string;
|
|
620
|
-
parent_id?: string;
|
|
621
|
-
name?: string;
|
|
622
|
-
label?: string;
|
|
623
|
-
description?: string;
|
|
624
|
-
price?: number;
|
|
625
|
-
calories?: number;
|
|
626
|
-
tax_tags?: FilterFieldDTO[];
|
|
627
|
-
is_active?: boolean;
|
|
628
|
-
posid?: FilterFieldDTO;
|
|
629
|
-
reporting?: any;
|
|
630
|
-
brand_id?: string;
|
|
514
|
+
posid_segment?: FilterFieldDTO;
|
|
631
515
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
632
516
|
brand?: any;
|
|
633
|
-
|
|
517
|
+
categories?: any[];
|
|
518
|
+
changes?: ItemChangeDTO[];
|
|
634
519
|
vendor_metadata?: VendorMetadataDTO[];
|
|
520
|
+
attachments?: FileAttachmentsDTO;
|
|
635
521
|
weight?: any;
|
|
636
522
|
permissions?: FilterFieldDTO;
|
|
637
523
|
[index: string]: any;
|
|
638
524
|
}
|
|
639
|
-
export interface
|
|
525
|
+
export interface DraftItemToModifierGroupRelationshipDTO {
|
|
640
526
|
parent?: any;
|
|
641
527
|
children?: any[];
|
|
642
528
|
id?: string;
|
|
643
529
|
parent_id?: string;
|
|
644
|
-
modifier_id?: string;
|
|
645
530
|
modifier_group_id?: string;
|
|
531
|
+
item_id?: string;
|
|
646
532
|
brand_id?: FilterFieldDTO;
|
|
647
533
|
sequence?: number;
|
|
648
534
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
649
|
-
|
|
535
|
+
item?: any;
|
|
650
536
|
modifier_group?: DraftModifierGroupDTO;
|
|
651
537
|
brand?: any;
|
|
652
|
-
changes?:
|
|
538
|
+
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
653
539
|
vendor_metadata?: VendorMetadataDTO[];
|
|
654
540
|
permissions?: FilterFieldDTO;
|
|
655
541
|
[index: string]: any;
|
|
@@ -657,8 +543,8 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
|
|
|
657
543
|
export interface DraftModifierGroupDTO {
|
|
658
544
|
parent?: any;
|
|
659
545
|
children?: any[];
|
|
660
|
-
modifiers?:
|
|
661
|
-
items?:
|
|
546
|
+
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
547
|
+
items?: any[];
|
|
662
548
|
id?: string;
|
|
663
549
|
parent_id?: string;
|
|
664
550
|
name?: string;
|
|
@@ -674,116 +560,76 @@ export interface DraftModifierGroupDTO {
|
|
|
674
560
|
permissions?: FilterFieldDTO;
|
|
675
561
|
[index: string]: any;
|
|
676
562
|
}
|
|
677
|
-
export interface
|
|
563
|
+
export interface DraftModifierGroupToModifierRelationshipDTO {
|
|
678
564
|
parent?: any;
|
|
679
565
|
children?: any[];
|
|
680
566
|
id?: string;
|
|
681
567
|
parent_id?: string;
|
|
568
|
+
modifier_id?: string;
|
|
682
569
|
modifier_group_id?: string;
|
|
683
|
-
item_id?: string;
|
|
684
570
|
brand_id?: FilterFieldDTO;
|
|
685
571
|
sequence?: number;
|
|
686
572
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
687
|
-
|
|
573
|
+
modifier?: DraftModifierDTO;
|
|
688
574
|
modifier_group?: any;
|
|
689
575
|
brand?: any;
|
|
690
|
-
changes?:
|
|
576
|
+
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
691
577
|
vendor_metadata?: VendorMetadataDTO[];
|
|
692
578
|
permissions?: FilterFieldDTO;
|
|
693
579
|
[index: string]: any;
|
|
694
580
|
}
|
|
695
|
-
export interface
|
|
581
|
+
export interface DraftModifierDTO {
|
|
696
582
|
parent?: any;
|
|
697
583
|
children?: any[];
|
|
698
|
-
posid_segment?: any;
|
|
699
584
|
modifier_groups?: any[];
|
|
700
585
|
id?: string;
|
|
701
586
|
parent_id?: string;
|
|
702
587
|
name?: string;
|
|
703
588
|
label?: string;
|
|
704
589
|
description?: string;
|
|
705
|
-
reporting?: any;
|
|
706
590
|
price?: number;
|
|
707
|
-
barcode?: string;
|
|
708
591
|
calories?: number;
|
|
592
|
+
tax_tags?: FilterFieldDTO[];
|
|
709
593
|
is_active?: boolean;
|
|
710
594
|
posid?: FilterFieldDTO;
|
|
711
|
-
|
|
595
|
+
reporting?: ReportingMetadataDTO;
|
|
596
|
+
posid_segment?: FilterFieldDTO;
|
|
712
597
|
brand_id?: string;
|
|
713
|
-
line_route?: FilterFieldDTO;
|
|
714
598
|
applied_diff_snapshot?: FilterFieldDTO;
|
|
715
599
|
brand?: any;
|
|
716
|
-
|
|
717
|
-
changes?: ItemChangeDTO[];
|
|
600
|
+
changes?: ModifierChangeDTO[];
|
|
718
601
|
vendor_metadata?: VendorMetadataDTO[];
|
|
719
|
-
|
|
720
|
-
weight?: any;
|
|
602
|
+
weight?: WeightDTO;
|
|
721
603
|
permissions?: FilterFieldDTO;
|
|
722
604
|
[index: string]: any;
|
|
723
605
|
}
|
|
724
|
-
export interface
|
|
725
|
-
parent?: any;
|
|
726
|
-
children?: any[];
|
|
606
|
+
export interface ModifierChangeDTO {
|
|
727
607
|
id?: string;
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
sequence?: number;
|
|
733
|
-
applied_diff_snapshot?: FilterFieldDTO;
|
|
734
|
-
category?: DraftCategoryDTO;
|
|
735
|
-
item?: any;
|
|
736
|
-
brand?: any;
|
|
737
|
-
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
738
|
-
vendor_metadata?: VendorMetadataDTO[];
|
|
608
|
+
insert?: FilterFieldDTO;
|
|
609
|
+
delete?: FilterFieldDTO;
|
|
610
|
+
snapshot_entity_id?: FilterFieldDTO;
|
|
611
|
+
snapshot_entity?: any;
|
|
739
612
|
permissions?: FilterFieldDTO;
|
|
740
613
|
[index: string]: any;
|
|
741
614
|
}
|
|
742
|
-
export interface
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
id?: string;
|
|
746
|
-
parent_id?: string;
|
|
747
|
-
name?: string;
|
|
748
|
-
label?: string;
|
|
749
|
-
sequence?: number;
|
|
750
|
-
is_active?: boolean;
|
|
751
|
-
brand_id?: string;
|
|
752
|
-
menu_id?: string;
|
|
753
|
-
applied_diff_snapshot?: FilterFieldDTO;
|
|
754
|
-
menu?: DraftMenuDTO;
|
|
755
|
-
items?: any[];
|
|
756
|
-
brand?: any;
|
|
757
|
-
changes?: CategoryChangeDTO[];
|
|
758
|
-
vendor_metadata?: VendorMetadataDTO[];
|
|
759
|
-
permissions?: FilterFieldDTO;
|
|
615
|
+
export interface ReportingMetadataDTO {
|
|
616
|
+
category?: ReportingCategoryMetadataDTO;
|
|
617
|
+
id?: any;
|
|
760
618
|
[index: string]: any;
|
|
761
619
|
}
|
|
762
|
-
export interface
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
id?: string;
|
|
767
|
-
parent_id?: string;
|
|
768
|
-
name?: string;
|
|
769
|
-
brand_id?: string;
|
|
770
|
-
applied_diff_snapshot?: FilterFieldDTO;
|
|
771
|
-
brand?: any;
|
|
772
|
-
changes?: MenuChangeDTO[];
|
|
773
|
-
vendor_metadata?: VendorMetadataDTO[];
|
|
774
|
-
permissions?: FilterFieldDTO;
|
|
620
|
+
export interface ReportingCategoryMetadataDTO {
|
|
621
|
+
primary?: "Food" | "Beverage" | "Sundry" | "Alcohol" | "Snack";
|
|
622
|
+
secondary?: FilterFieldDTO;
|
|
623
|
+
id?: any;
|
|
775
624
|
[index: string]: any;
|
|
776
625
|
}
|
|
777
|
-
export interface
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
snapshot_entity_id?: FilterFieldDTO;
|
|
782
|
-
snapshot_entity?: any;
|
|
783
|
-
permissions?: FilterFieldDTO;
|
|
626
|
+
export interface WeightDTO {
|
|
627
|
+
unit?: FilterFieldDTO;
|
|
628
|
+
amount?: FilterFieldDTO;
|
|
629
|
+
id?: any;
|
|
784
630
|
[index: string]: any;
|
|
785
631
|
}
|
|
786
|
-
export interface
|
|
632
|
+
export interface ModifierGroupToModifierRelationshipChangeDTO {
|
|
787
633
|
id?: string;
|
|
788
634
|
insert?: FilterFieldDTO;
|
|
789
635
|
delete?: FilterFieldDTO;
|
|
@@ -792,7 +638,7 @@ export interface CategoryChangeDTO {
|
|
|
792
638
|
permissions?: FilterFieldDTO;
|
|
793
639
|
[index: string]: any;
|
|
794
640
|
}
|
|
795
|
-
export interface
|
|
641
|
+
export interface ModifierGroupChangeDTO {
|
|
796
642
|
id?: string;
|
|
797
643
|
insert?: FilterFieldDTO;
|
|
798
644
|
delete?: FilterFieldDTO;
|
|
@@ -801,7 +647,7 @@ export interface CategoryToItemRelationshipChangeDTO {
|
|
|
801
647
|
permissions?: FilterFieldDTO;
|
|
802
648
|
[index: string]: any;
|
|
803
649
|
}
|
|
804
|
-
export interface
|
|
650
|
+
export interface ItemToModifierGroupRelationshipChangeDTO {
|
|
805
651
|
id?: string;
|
|
806
652
|
insert?: FilterFieldDTO;
|
|
807
653
|
delete?: FilterFieldDTO;
|
|
@@ -810,7 +656,7 @@ export interface ItemChangeDTO {
|
|
|
810
656
|
permissions?: FilterFieldDTO;
|
|
811
657
|
[index: string]: any;
|
|
812
658
|
}
|
|
813
|
-
export interface
|
|
659
|
+
export interface ItemChangeDTO {
|
|
814
660
|
id?: string;
|
|
815
661
|
insert?: FilterFieldDTO;
|
|
816
662
|
delete?: FilterFieldDTO;
|
|
@@ -819,7 +665,12 @@ export interface ItemToModifierGroupRelationshipChangeDTO {
|
|
|
819
665
|
permissions?: FilterFieldDTO;
|
|
820
666
|
[index: string]: any;
|
|
821
667
|
}
|
|
822
|
-
export interface
|
|
668
|
+
export interface FileAttachmentsDTO {
|
|
669
|
+
thumbnail?: FilterFieldDTO;
|
|
670
|
+
id?: any;
|
|
671
|
+
[index: string]: any;
|
|
672
|
+
}
|
|
673
|
+
export interface CategoryToItemRelationshipChangeDTO {
|
|
823
674
|
id?: string;
|
|
824
675
|
insert?: FilterFieldDTO;
|
|
825
676
|
delete?: FilterFieldDTO;
|
|
@@ -828,7 +679,7 @@ export interface ModifierGroupChangeDTO {
|
|
|
828
679
|
permissions?: FilterFieldDTO;
|
|
829
680
|
[index: string]: any;
|
|
830
681
|
}
|
|
831
|
-
export interface
|
|
682
|
+
export interface CategoryChangeDTO {
|
|
832
683
|
id?: string;
|
|
833
684
|
insert?: FilterFieldDTO;
|
|
834
685
|
delete?: FilterFieldDTO;
|
|
@@ -837,7 +688,7 @@ export interface ModifierGroupToModifierRelationshipChangeDTO {
|
|
|
837
688
|
permissions?: FilterFieldDTO;
|
|
838
689
|
[index: string]: any;
|
|
839
690
|
}
|
|
840
|
-
export interface
|
|
691
|
+
export interface MenuChangeDTO {
|
|
841
692
|
id?: string;
|
|
842
693
|
insert?: FilterFieldDTO;
|
|
843
694
|
delete?: FilterFieldDTO;
|
|
@@ -885,6 +736,7 @@ export interface DraftModifierDraftModifierDTO {
|
|
|
885
736
|
tax_tags?: FilterFieldDTO[];
|
|
886
737
|
is_active?: FilterFieldDTO;
|
|
887
738
|
posid?: FilterFieldDTO;
|
|
739
|
+
posid_segment?: FilterFieldDTO;
|
|
888
740
|
brand_id?: FilterFieldDTO;
|
|
889
741
|
id?: FilterFieldDTO;
|
|
890
742
|
version?: FilterFieldDTO;
|
|
@@ -893,7 +745,6 @@ export interface DraftModifierDraftModifierDTO {
|
|
|
893
745
|
deleted_at?: FilterFieldDTO;
|
|
894
746
|
parent?: any;
|
|
895
747
|
children?: any[];
|
|
896
|
-
posid_segment?: POSIDSegmentDTO;
|
|
897
748
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
898
749
|
brand?: DraftBrandDTO;
|
|
899
750
|
changes?: ModifierChangeDTO[];
|
|
@@ -941,6 +792,7 @@ export interface DraftItemDraftItemDTO {
|
|
|
941
792
|
tax_tags?: FilterFieldDTO[];
|
|
942
793
|
brand_id?: FilterFieldDTO;
|
|
943
794
|
line_route?: FilterFieldDTO;
|
|
795
|
+
posid_segment?: FilterFieldDTO;
|
|
944
796
|
id?: FilterFieldDTO;
|
|
945
797
|
version?: FilterFieldDTO;
|
|
946
798
|
created_at?: FilterFieldDTO;
|
|
@@ -948,7 +800,6 @@ export interface DraftItemDraftItemDTO {
|
|
|
948
800
|
deleted_at?: FilterFieldDTO;
|
|
949
801
|
parent?: any;
|
|
950
802
|
children?: any[];
|
|
951
|
-
posid_segment?: POSIDSegmentDTO;
|
|
952
803
|
brand?: DraftBrandDTO;
|
|
953
804
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
954
805
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
@@ -995,7 +846,7 @@ export interface GlobalDiffGlobalDiffDTO {
|
|
|
995
846
|
[index: string]: any;
|
|
996
847
|
}
|
|
997
848
|
export interface DiffDTO {
|
|
998
|
-
action:
|
|
849
|
+
action: "create" | "update" | "delete";
|
|
999
850
|
id?: string;
|
|
1000
851
|
created_at?: string;
|
|
1001
852
|
updated_at?: string;
|
|
@@ -1022,6 +873,102 @@ export interface ApplyDiffDTO {
|
|
|
1022
873
|
id: string;
|
|
1023
874
|
[index: string]: any;
|
|
1024
875
|
}
|
|
876
|
+
export interface PublishedMenuDTO {
|
|
877
|
+
id?: string;
|
|
878
|
+
parent_id?: string;
|
|
879
|
+
name?: string;
|
|
880
|
+
brand_id?: string;
|
|
881
|
+
permissions?: any;
|
|
882
|
+
[index: string]: any;
|
|
883
|
+
}
|
|
884
|
+
export interface PublishedCategoryDTO {
|
|
885
|
+
id?: string;
|
|
886
|
+
parent_id?: string;
|
|
887
|
+
name?: string;
|
|
888
|
+
label?: string;
|
|
889
|
+
sequence?: number;
|
|
890
|
+
is_active?: boolean;
|
|
891
|
+
brand_id?: string;
|
|
892
|
+
menu_id?: string;
|
|
893
|
+
permissions?: any;
|
|
894
|
+
[index: string]: any;
|
|
895
|
+
}
|
|
896
|
+
export interface PublishedCategoryToItemRelationshipDTO {
|
|
897
|
+
id?: string;
|
|
898
|
+
parent_id?: string;
|
|
899
|
+
item_id?: string;
|
|
900
|
+
category_id?: string;
|
|
901
|
+
brand_id?: string;
|
|
902
|
+
sequence?: number;
|
|
903
|
+
permissions?: any;
|
|
904
|
+
[index: string]: any;
|
|
905
|
+
}
|
|
906
|
+
export interface PublishedItemDTO {
|
|
907
|
+
id?: string;
|
|
908
|
+
parent_id?: string;
|
|
909
|
+
name?: string;
|
|
910
|
+
label?: string;
|
|
911
|
+
description?: string;
|
|
912
|
+
price?: number;
|
|
913
|
+
barcode?: string;
|
|
914
|
+
calories?: number;
|
|
915
|
+
is_active?: boolean;
|
|
916
|
+
posid?: string;
|
|
917
|
+
tax_tags?: any[];
|
|
918
|
+
brand_id?: string;
|
|
919
|
+
line_route?: string;
|
|
920
|
+
posid_segment?: string;
|
|
921
|
+
permissions?: any;
|
|
922
|
+
[index: string]: any;
|
|
923
|
+
}
|
|
924
|
+
export interface PublishedItemToModifierGroupRelationshipDTO {
|
|
925
|
+
id?: string;
|
|
926
|
+
parent_id?: string;
|
|
927
|
+
modifier_group_id?: string;
|
|
928
|
+
item_id?: string;
|
|
929
|
+
brand_id?: string;
|
|
930
|
+
sequence?: number;
|
|
931
|
+
permissions?: any;
|
|
932
|
+
[index: string]: any;
|
|
933
|
+
}
|
|
934
|
+
export interface PublishedModifierGroupDTO {
|
|
935
|
+
id?: string;
|
|
936
|
+
parent_id?: string;
|
|
937
|
+
name?: string;
|
|
938
|
+
label?: string;
|
|
939
|
+
min?: number;
|
|
940
|
+
max?: number;
|
|
941
|
+
is_active?: boolean;
|
|
942
|
+
brand_id?: string;
|
|
943
|
+
permissions?: any;
|
|
944
|
+
[index: string]: any;
|
|
945
|
+
}
|
|
946
|
+
export interface PublishedModifierGroupToModifierRelationshipDTO {
|
|
947
|
+
id?: string;
|
|
948
|
+
parent_id?: string;
|
|
949
|
+
modifier_id?: string;
|
|
950
|
+
modifier_group_id?: string;
|
|
951
|
+
brand_id?: string;
|
|
952
|
+
sequence?: number;
|
|
953
|
+
permissions?: any;
|
|
954
|
+
[index: string]: any;
|
|
955
|
+
}
|
|
956
|
+
export interface PublishedModifierDTO {
|
|
957
|
+
id?: string;
|
|
958
|
+
parent_id?: string;
|
|
959
|
+
name?: string;
|
|
960
|
+
label?: string;
|
|
961
|
+
description?: string;
|
|
962
|
+
price?: number;
|
|
963
|
+
calories?: number;
|
|
964
|
+
tax_tags?: any[];
|
|
965
|
+
is_active?: boolean;
|
|
966
|
+
posid?: string;
|
|
967
|
+
posid_segment?: string;
|
|
968
|
+
brand_id?: string;
|
|
969
|
+
permissions?: any;
|
|
970
|
+
[index: string]: any;
|
|
971
|
+
}
|
|
1025
972
|
export interface PublishedBrandPublishedBrandDTO {
|
|
1026
973
|
name?: FilterFieldDTO;
|
|
1027
974
|
description?: FilterFieldDTO;
|
|
@@ -1030,6 +977,7 @@ export interface PublishedBrandPublishedBrandDTO {
|
|
|
1030
977
|
parent_id?: FilterFieldDTO;
|
|
1031
978
|
local_menu_group_id?: FilterFieldDTO;
|
|
1032
979
|
global_menu_group_id?: FilterFieldDTO;
|
|
980
|
+
posid_segment?: FilterFieldDTO;
|
|
1033
981
|
id?: FilterFieldDTO;
|
|
1034
982
|
version?: FilterFieldDTO;
|
|
1035
983
|
created_at?: FilterFieldDTO;
|
|
@@ -1039,7 +987,6 @@ export interface PublishedBrandPublishedBrandDTO {
|
|
|
1039
987
|
children?: any[];
|
|
1040
988
|
local_menu_group?: LocalMenuGroupDTO;
|
|
1041
989
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
1042
|
-
posid_segment?: POSIDSegmentDTO;
|
|
1043
990
|
menus?: PublishedMenuDTO[];
|
|
1044
991
|
categories?: PublishedCategoryDTO[];
|
|
1045
992
|
category_to_item_relationships?: PublishedCategoryToItemRelationshipDTO[];
|
|
@@ -1157,7 +1104,6 @@ export interface PublishedCategoryToItemRelationshipPublishedCategoryToItemRelat
|
|
|
1157
1104
|
export interface DraftItemEntityDTO {
|
|
1158
1105
|
parent?: DraftItemDTO;
|
|
1159
1106
|
children?: DraftItemDTO[];
|
|
1160
|
-
posid_segment?: POSIDSegmentDTO;
|
|
1161
1107
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
1162
1108
|
id?: string;
|
|
1163
1109
|
created_at?: string;
|
|
@@ -1176,6 +1122,7 @@ export interface DraftItemEntityDTO {
|
|
|
1176
1122
|
tax_tags?: any[];
|
|
1177
1123
|
brand_id: string;
|
|
1178
1124
|
line_route?: string;
|
|
1125
|
+
posid_segment?: string;
|
|
1179
1126
|
applied_diff_snapshot?: any;
|
|
1180
1127
|
version?: number;
|
|
1181
1128
|
brand?: DraftBrandDTO;
|
|
@@ -1200,6 +1147,7 @@ export interface PublishedItemPublishedItemDTO {
|
|
|
1200
1147
|
tax_tags?: FilterFieldDTO[];
|
|
1201
1148
|
brand_id?: FilterFieldDTO;
|
|
1202
1149
|
line_route?: FilterFieldDTO;
|
|
1150
|
+
posid_segment?: FilterFieldDTO;
|
|
1203
1151
|
id?: FilterFieldDTO;
|
|
1204
1152
|
version?: FilterFieldDTO;
|
|
1205
1153
|
created_at?: FilterFieldDTO;
|
|
@@ -1207,7 +1155,6 @@ export interface PublishedItemPublishedItemDTO {
|
|
|
1207
1155
|
deleted_at?: FilterFieldDTO;
|
|
1208
1156
|
parent?: any;
|
|
1209
1157
|
children?: any[];
|
|
1210
|
-
posid_segment?: POSIDSegmentDTO;
|
|
1211
1158
|
brand?: PublishedBrandDTO;
|
|
1212
1159
|
categories?: PublishedCategoryToItemRelationshipDTO[];
|
|
1213
1160
|
modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
@@ -1323,7 +1270,6 @@ export interface PublishedModifierGroupToModifierRelationshipPublishedModifierGr
|
|
|
1323
1270
|
export interface DraftModifierEntityDTO {
|
|
1324
1271
|
parent?: DraftModifierDTO;
|
|
1325
1272
|
children?: DraftModifierDTO[];
|
|
1326
|
-
posid_segment?: POSIDSegmentDTO;
|
|
1327
1273
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
1328
1274
|
id?: string;
|
|
1329
1275
|
created_at?: string;
|
|
@@ -1339,6 +1285,7 @@ export interface DraftModifierEntityDTO {
|
|
|
1339
1285
|
is_active?: boolean;
|
|
1340
1286
|
posid?: string;
|
|
1341
1287
|
reporting: ReportingMetadataDTO;
|
|
1288
|
+
posid_segment?: string;
|
|
1342
1289
|
brand_id: string;
|
|
1343
1290
|
applied_diff_snapshot?: any;
|
|
1344
1291
|
version?: number;
|
|
@@ -1359,6 +1306,7 @@ export interface PublishedModifierPublishedModifierDTO {
|
|
|
1359
1306
|
tax_tags?: FilterFieldDTO[];
|
|
1360
1307
|
is_active?: FilterFieldDTO;
|
|
1361
1308
|
posid?: FilterFieldDTO;
|
|
1309
|
+
posid_segment?: FilterFieldDTO;
|
|
1362
1310
|
brand_id?: FilterFieldDTO;
|
|
1363
1311
|
id?: FilterFieldDTO;
|
|
1364
1312
|
version?: FilterFieldDTO;
|
|
@@ -1367,7 +1315,6 @@ export interface PublishedModifierPublishedModifierDTO {
|
|
|
1367
1315
|
deleted_at?: FilterFieldDTO;
|
|
1368
1316
|
parent?: any;
|
|
1369
1317
|
children?: any[];
|
|
1370
|
-
posid_segment?: POSIDSegmentDTO;
|
|
1371
1318
|
modifier_groups?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1372
1319
|
brand?: PublishedBrandDTO;
|
|
1373
1320
|
reporting?: ReportingMetadataDTO;
|
|
@@ -1376,7 +1323,7 @@ export interface PublishedModifierPublishedModifierDTO {
|
|
|
1376
1323
|
[index: string]: any;
|
|
1377
1324
|
}
|
|
1378
1325
|
export interface GlobalDiffDTO {
|
|
1379
|
-
action:
|
|
1326
|
+
action: "create" | "update" | "delete";
|
|
1380
1327
|
id?: string;
|
|
1381
1328
|
created_at?: string;
|
|
1382
1329
|
updated_at?: string;
|
|
@@ -1412,19 +1359,19 @@ export interface GetMenusQuery {
|
|
|
1412
1359
|
export type GetMenusResponse = Menus;
|
|
1413
1360
|
export interface GetMenusRequest extends BaseRequest, RequestQuery<GetMenusQuery> {
|
|
1414
1361
|
}
|
|
1415
|
-
export type
|
|
1416
|
-
export type
|
|
1417
|
-
export interface
|
|
1418
|
-
body:
|
|
1362
|
+
export type CreateMenuBody = Menu;
|
|
1363
|
+
export type CreateMenuResponse = Menu;
|
|
1364
|
+
export interface CreateMenuRequest extends BaseRequest {
|
|
1365
|
+
body: CreateMenuBody;
|
|
1419
1366
|
}
|
|
1420
|
-
export interface
|
|
1367
|
+
export interface GetMenuHeadersPath {
|
|
1421
1368
|
id: string;
|
|
1422
1369
|
}
|
|
1423
|
-
export interface
|
|
1370
|
+
export interface GetMenuHeadersQuery {
|
|
1424
1371
|
_query?: string;
|
|
1425
1372
|
}
|
|
1426
|
-
export type
|
|
1427
|
-
export interface
|
|
1373
|
+
export type GetMenuHeadersResponse = any;
|
|
1374
|
+
export interface GetMenuHeadersRequest extends BaseRequest, RequestQuery<GetMenuHeadersQuery>, GetMenuHeadersPath {
|
|
1428
1375
|
}
|
|
1429
1376
|
export interface GetMenuPath {
|
|
1430
1377
|
id: string;
|
|
@@ -1439,16 +1386,16 @@ export interface GetMenuQuery {
|
|
|
1439
1386
|
export type GetMenuResponse = Menu;
|
|
1440
1387
|
export interface GetMenuRequest extends BaseRequest, RequestQuery<GetMenuQuery>, GetMenuPath {
|
|
1441
1388
|
}
|
|
1442
|
-
export interface
|
|
1389
|
+
export interface UpdateMenuPath {
|
|
1443
1390
|
id: string;
|
|
1444
1391
|
}
|
|
1445
|
-
export interface
|
|
1392
|
+
export interface UpdateMenuQuery {
|
|
1446
1393
|
_query?: string;
|
|
1447
1394
|
}
|
|
1448
|
-
export type
|
|
1449
|
-
export type
|
|
1450
|
-
export interface
|
|
1451
|
-
body:
|
|
1395
|
+
export type UpdateMenuBody = Menu;
|
|
1396
|
+
export type UpdateMenuResponse = Menu;
|
|
1397
|
+
export interface UpdateMenuRequest extends BaseRequest, RequestQuery<UpdateMenuQuery>, UpdateMenuPath {
|
|
1398
|
+
body: UpdateMenuBody;
|
|
1452
1399
|
}
|
|
1453
1400
|
export interface DeleteMenuPath {
|
|
1454
1401
|
id: string;
|
|
@@ -1470,33 +1417,33 @@ export type PatchMenuResponse = Menu;
|
|
|
1470
1417
|
export interface PatchMenuRequest extends BaseRequest, RequestQuery<PatchMenuQuery>, PatchMenuPath {
|
|
1471
1418
|
body: PatchMenuBody;
|
|
1472
1419
|
}
|
|
1473
|
-
export interface
|
|
1420
|
+
export interface ImportMenuBody {
|
|
1474
1421
|
menu?: string;
|
|
1475
1422
|
}
|
|
1476
|
-
export type
|
|
1477
|
-
export interface
|
|
1478
|
-
body:
|
|
1423
|
+
export type ImportMenuResponse = Menu;
|
|
1424
|
+
export interface ImportMenuRequest extends BaseRequest {
|
|
1425
|
+
body: ImportMenuBody;
|
|
1479
1426
|
}
|
|
1480
|
-
export interface
|
|
1427
|
+
export interface GetItemPath {
|
|
1481
1428
|
id: string;
|
|
1482
1429
|
}
|
|
1483
|
-
export interface
|
|
1430
|
+
export interface GetItemQuery {
|
|
1484
1431
|
_query?: string;
|
|
1485
1432
|
nocache?: boolean;
|
|
1486
1433
|
}
|
|
1487
|
-
export type
|
|
1488
|
-
export interface
|
|
1434
|
+
export type GetItemResponse = Item;
|
|
1435
|
+
export interface GetItemRequest extends BaseRequest, RequestQuery<GetItemQuery>, GetItemPath {
|
|
1489
1436
|
}
|
|
1490
|
-
export interface
|
|
1437
|
+
export interface DeleteItemPath {
|
|
1491
1438
|
id: string;
|
|
1492
1439
|
}
|
|
1493
|
-
export type
|
|
1494
|
-
export interface
|
|
1440
|
+
export type DeleteItemResponse = Success;
|
|
1441
|
+
export interface DeleteItemRequest extends BaseRequest, DeleteItemPath {
|
|
1495
1442
|
}
|
|
1496
|
-
export type
|
|
1497
|
-
export type
|
|
1498
|
-
export interface
|
|
1499
|
-
body:
|
|
1443
|
+
export type CreateItemBody = Item;
|
|
1444
|
+
export type CreateItemResponse = Item;
|
|
1445
|
+
export interface CreateItemRequest extends BaseRequest {
|
|
1446
|
+
body: CreateItemBody;
|
|
1500
1447
|
}
|
|
1501
1448
|
export interface GetMenuItemsQuery {
|
|
1502
1449
|
query: string;
|
|
@@ -1505,109 +1452,109 @@ export interface GetMenuItemsQuery {
|
|
|
1505
1452
|
export type GetMenuItemsResponse = Items;
|
|
1506
1453
|
export interface GetMenuItemsRequest extends BaseRequest, RequestQuery<GetMenuItemsQuery> {
|
|
1507
1454
|
}
|
|
1508
|
-
export interface
|
|
1455
|
+
export interface ImportItemsCanteenPath {
|
|
1509
1456
|
location: string;
|
|
1510
1457
|
}
|
|
1511
|
-
export type
|
|
1512
|
-
export interface
|
|
1458
|
+
export type ImportItemsCanteenResponse = Success;
|
|
1459
|
+
export interface ImportItemsCanteenRequest extends BaseRequest, ImportItemsCanteenPath {
|
|
1513
1460
|
}
|
|
1514
|
-
export interface
|
|
1461
|
+
export interface GetLocationItemsPath {
|
|
1515
1462
|
location: string;
|
|
1516
1463
|
}
|
|
1517
|
-
export interface
|
|
1464
|
+
export interface GetLocationItemsQuery {
|
|
1518
1465
|
_query?: string;
|
|
1519
1466
|
}
|
|
1520
|
-
export type
|
|
1521
|
-
export interface
|
|
1467
|
+
export type GetLocationItemsResponse = Items;
|
|
1468
|
+
export interface GetLocationItemsRequest extends BaseRequest, RequestQuery<GetLocationItemsQuery>, GetLocationItemsPath {
|
|
1522
1469
|
}
|
|
1523
|
-
export interface
|
|
1470
|
+
export interface GetLocationItemRandomPath {
|
|
1524
1471
|
location: string;
|
|
1525
1472
|
}
|
|
1526
|
-
export interface
|
|
1473
|
+
export interface GetLocationItemRandomQuery {
|
|
1527
1474
|
idfa?: string;
|
|
1528
1475
|
is_public?: boolean;
|
|
1529
1476
|
start_time?: number;
|
|
1530
1477
|
_query?: string;
|
|
1531
1478
|
}
|
|
1532
|
-
export type
|
|
1533
|
-
export interface
|
|
1479
|
+
export type GetLocationItemRandomResponse = Item;
|
|
1480
|
+
export interface GetLocationItemRandomRequest extends BaseRequest, RequestQuery<GetLocationItemRandomQuery>, GetLocationItemRandomPath {
|
|
1534
1481
|
}
|
|
1535
|
-
export interface
|
|
1482
|
+
export interface GetLocationItemsRandomPath {
|
|
1536
1483
|
location: string;
|
|
1537
1484
|
}
|
|
1538
|
-
export interface
|
|
1485
|
+
export interface GetLocationItemsRandomQuery {
|
|
1539
1486
|
idfa?: string;
|
|
1540
1487
|
is_public?: boolean;
|
|
1541
1488
|
count?: number;
|
|
1542
1489
|
start_time?: number;
|
|
1543
1490
|
_query?: string;
|
|
1544
1491
|
}
|
|
1545
|
-
export type
|
|
1546
|
-
export interface
|
|
1492
|
+
export type GetLocationItemsRandomResponse = Items;
|
|
1493
|
+
export interface GetLocationItemsRandomRequest extends BaseRequest, RequestQuery<GetLocationItemsRandomQuery>, GetLocationItemsRandomPath {
|
|
1547
1494
|
}
|
|
1548
|
-
export interface
|
|
1495
|
+
export interface GetSectorMenusPath {
|
|
1549
1496
|
sector: string;
|
|
1550
1497
|
}
|
|
1551
|
-
export interface
|
|
1498
|
+
export interface GetSectorMenusQuery {
|
|
1552
1499
|
_query?: string;
|
|
1553
1500
|
}
|
|
1554
|
-
export type
|
|
1555
|
-
export interface
|
|
1501
|
+
export type GetSectorMenusResponse = Menus;
|
|
1502
|
+
export interface GetSectorMenusRequest extends BaseRequest, RequestQuery<GetSectorMenusQuery>, GetSectorMenusPath {
|
|
1556
1503
|
}
|
|
1557
|
-
export interface
|
|
1504
|
+
export interface GetCompanyMenusPath {
|
|
1558
1505
|
company: string;
|
|
1559
1506
|
}
|
|
1560
|
-
export interface
|
|
1507
|
+
export interface GetCompanyMenusQuery {
|
|
1561
1508
|
_query?: string;
|
|
1562
1509
|
}
|
|
1563
|
-
export type
|
|
1564
|
-
export interface
|
|
1510
|
+
export type GetCompanyMenusResponse = Menus;
|
|
1511
|
+
export interface GetCompanyMenusRequest extends BaseRequest, RequestQuery<GetCompanyMenusQuery>, GetCompanyMenusPath {
|
|
1565
1512
|
}
|
|
1566
|
-
export type
|
|
1567
|
-
export type
|
|
1568
|
-
export interface
|
|
1569
|
-
body:
|
|
1513
|
+
export type CreateModifierGroupBody = CreateOptionsGroup;
|
|
1514
|
+
export type CreateModifierGroupResponse = OptionsGroup;
|
|
1515
|
+
export interface CreateModifierGroupRequest extends BaseRequest {
|
|
1516
|
+
body: CreateModifierGroupBody;
|
|
1570
1517
|
}
|
|
1571
|
-
export interface
|
|
1518
|
+
export interface GetModifierGroupPath {
|
|
1572
1519
|
id: string;
|
|
1573
1520
|
}
|
|
1574
|
-
export interface
|
|
1521
|
+
export interface GetModifierGroupQuery {
|
|
1575
1522
|
_query?: string;
|
|
1576
1523
|
}
|
|
1577
|
-
export type
|
|
1578
|
-
export interface
|
|
1524
|
+
export type GetModifierGroupResponse = OptionsGroup;
|
|
1525
|
+
export interface GetModifierGroupRequest extends BaseRequest, RequestQuery<GetModifierGroupQuery>, GetModifierGroupPath {
|
|
1579
1526
|
}
|
|
1580
|
-
export interface
|
|
1527
|
+
export interface UpdateModifierGroupPath {
|
|
1581
1528
|
id: string;
|
|
1582
1529
|
}
|
|
1583
|
-
export type
|
|
1584
|
-
export type
|
|
1585
|
-
export interface
|
|
1586
|
-
body:
|
|
1530
|
+
export type UpdateModifierGroupBody = OptionsGroup;
|
|
1531
|
+
export type UpdateModifierGroupResponse = OptionsGroup;
|
|
1532
|
+
export interface UpdateModifierGroupRequest extends BaseRequest, UpdateModifierGroupPath {
|
|
1533
|
+
body: UpdateModifierGroupBody;
|
|
1587
1534
|
}
|
|
1588
|
-
export interface
|
|
1535
|
+
export interface DeleteModifierGroupPath {
|
|
1589
1536
|
id: string;
|
|
1590
1537
|
}
|
|
1591
|
-
export type
|
|
1592
|
-
export interface
|
|
1538
|
+
export type DeleteModifierGroupResponse = Success;
|
|
1539
|
+
export interface DeleteModifierGroupRequest extends BaseRequest, DeleteModifierGroupPath {
|
|
1593
1540
|
}
|
|
1594
|
-
export interface
|
|
1541
|
+
export interface GetCompanyModifierGroupsPath {
|
|
1595
1542
|
company: string;
|
|
1596
1543
|
}
|
|
1597
|
-
export interface
|
|
1544
|
+
export interface GetCompanyModifierGroupsQuery {
|
|
1598
1545
|
_query?: string;
|
|
1599
1546
|
}
|
|
1600
|
-
export type
|
|
1601
|
-
export interface
|
|
1547
|
+
export type GetCompanyModifierGroupsResponse = OptionsGroupList;
|
|
1548
|
+
export interface GetCompanyModifierGroupsRequest extends BaseRequest, RequestQuery<GetCompanyModifierGroupsQuery>, GetCompanyModifierGroupsPath {
|
|
1602
1549
|
}
|
|
1603
|
-
export interface
|
|
1550
|
+
export interface GetCompanyModifierGroupsExportPath {
|
|
1604
1551
|
company: string;
|
|
1605
1552
|
}
|
|
1606
|
-
export interface
|
|
1553
|
+
export interface GetCompanyModifierGroupsExportQuery {
|
|
1607
1554
|
_query?: string;
|
|
1608
1555
|
}
|
|
1609
|
-
export type
|
|
1610
|
-
export interface
|
|
1556
|
+
export type GetCompanyModifierGroupsExportResponse = ZippedExcelExport;
|
|
1557
|
+
export interface GetCompanyModifierGroupsExportRequest extends BaseRequest, RequestQuery<GetCompanyModifierGroupsExportQuery>, GetCompanyModifierGroupsExportPath {
|
|
1611
1558
|
}
|
|
1612
1559
|
export interface GetMenuExportPath {
|
|
1613
1560
|
id: string;
|
|
@@ -1764,12 +1711,14 @@ export interface DeleteMenuV3LocalMenuGroupRequest extends BaseRequest, DeleteMe
|
|
|
1764
1711
|
export interface GetMenuV3LocalMenuGroupsQuery {
|
|
1765
1712
|
select?: string[];
|
|
1766
1713
|
relationships?: string[];
|
|
1767
|
-
filter?:
|
|
1714
|
+
filter?: {
|
|
1715
|
+
[index: string]: any;
|
|
1716
|
+
};
|
|
1768
1717
|
limit?: number;
|
|
1769
1718
|
page?: number;
|
|
1770
1719
|
sort_by?: string;
|
|
1771
|
-
sort_order?:
|
|
1772
|
-
soft_deleted?:
|
|
1720
|
+
sort_order?: "DESC" | "ASC";
|
|
1721
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
1773
1722
|
_query?: string;
|
|
1774
1723
|
}
|
|
1775
1724
|
export interface GetMenuV3LocalMenuGroupsResponse {
|
|
@@ -1799,7 +1748,9 @@ export interface PostMenuV3LocalMenuGroupsRequest extends BaseRequest {
|
|
|
1799
1748
|
body: PostMenuV3LocalMenuGroupsBody;
|
|
1800
1749
|
}
|
|
1801
1750
|
export interface GetMenuV3LocalMenuGroupsCountQuery {
|
|
1802
|
-
filter?:
|
|
1751
|
+
filter?: {
|
|
1752
|
+
[index: string]: any;
|
|
1753
|
+
};
|
|
1803
1754
|
_query?: string;
|
|
1804
1755
|
}
|
|
1805
1756
|
export interface GetMenuV3LocalMenuGroupsCountResponse {
|
|
@@ -1814,12 +1765,14 @@ export interface GetMenuV3DraftLocalMenuGroupBrandsPath {
|
|
|
1814
1765
|
export interface GetMenuV3DraftLocalMenuGroupBrandsQuery {
|
|
1815
1766
|
select?: string[];
|
|
1816
1767
|
relationships?: string[];
|
|
1817
|
-
filter?:
|
|
1768
|
+
filter?: {
|
|
1769
|
+
[index: string]: any;
|
|
1770
|
+
};
|
|
1818
1771
|
limit?: number;
|
|
1819
1772
|
page?: number;
|
|
1820
1773
|
sort_by?: string;
|
|
1821
|
-
sort_order?:
|
|
1822
|
-
soft_deleted?:
|
|
1774
|
+
sort_order?: "DESC" | "ASC";
|
|
1775
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
1823
1776
|
_query?: string;
|
|
1824
1777
|
}
|
|
1825
1778
|
export interface GetMenuV3DraftLocalMenuGroupBrandsResponse {
|
|
@@ -1835,12 +1788,14 @@ export interface GetMenuV3LocalMenuGroupBrandsPath {
|
|
|
1835
1788
|
export interface GetMenuV3LocalMenuGroupBrandsQuery {
|
|
1836
1789
|
select?: string[];
|
|
1837
1790
|
relationships?: string[];
|
|
1838
|
-
filter?:
|
|
1791
|
+
filter?: {
|
|
1792
|
+
[index: string]: any;
|
|
1793
|
+
};
|
|
1839
1794
|
limit?: number;
|
|
1840
1795
|
page?: number;
|
|
1841
1796
|
sort_by?: string;
|
|
1842
|
-
sort_order?:
|
|
1843
|
-
soft_deleted?:
|
|
1797
|
+
sort_order?: "DESC" | "ASC";
|
|
1798
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
1844
1799
|
_query?: string;
|
|
1845
1800
|
}
|
|
1846
1801
|
export interface GetMenuV3LocalMenuGroupBrandsResponse {
|
|
@@ -1856,12 +1811,14 @@ export interface GetMenuV3LocalMenuGroupAllowedGlobalBrandsPath {
|
|
|
1856
1811
|
export interface GetMenuV3LocalMenuGroupAllowedGlobalBrandsQuery {
|
|
1857
1812
|
select?: string[];
|
|
1858
1813
|
relationships?: string[];
|
|
1859
|
-
filter?:
|
|
1814
|
+
filter?: {
|
|
1815
|
+
[index: string]: any;
|
|
1816
|
+
};
|
|
1860
1817
|
limit?: number;
|
|
1861
1818
|
page?: number;
|
|
1862
1819
|
sort_by?: string;
|
|
1863
|
-
sort_order?:
|
|
1864
|
-
soft_deleted?:
|
|
1820
|
+
sort_order?: "DESC" | "ASC";
|
|
1821
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
1865
1822
|
_query?: string;
|
|
1866
1823
|
}
|
|
1867
1824
|
export interface GetMenuV3LocalMenuGroupAllowedGlobalBrandsResponse {
|
|
@@ -1878,12 +1835,14 @@ export interface PostMenuV3LocalMenuGroupImportBrandsQuery {
|
|
|
1878
1835
|
select?: string[];
|
|
1879
1836
|
relationships?: string[];
|
|
1880
1837
|
"body.brand_ids"?: string[];
|
|
1881
|
-
filter?:
|
|
1838
|
+
filter?: {
|
|
1839
|
+
[index: string]: any;
|
|
1840
|
+
};
|
|
1882
1841
|
limit?: number;
|
|
1883
1842
|
page?: number;
|
|
1884
1843
|
sort_by?: string;
|
|
1885
|
-
sort_order?:
|
|
1886
|
-
soft_deleted?:
|
|
1844
|
+
sort_order?: "DESC" | "ASC";
|
|
1845
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
1887
1846
|
}
|
|
1888
1847
|
export interface PostMenuV3LocalMenuGroupImportBrandsResponse {
|
|
1889
1848
|
results: DraftBrandDTO[];
|
|
@@ -1898,7 +1857,7 @@ export interface PostMenuV3GlobalMenuGroupBody {
|
|
|
1898
1857
|
allowed_local_menu_groups?: LocalMenuGroupDTO[];
|
|
1899
1858
|
draft_brands?: DraftBrandDTO[];
|
|
1900
1859
|
published_brands?: PublishedBrandDTO[];
|
|
1901
|
-
posid_segment?:
|
|
1860
|
+
posid_segment?: string;
|
|
1902
1861
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1903
1862
|
permissions?: any;
|
|
1904
1863
|
[index: string]: any;
|
|
@@ -1927,7 +1886,7 @@ export interface PatchMenuV3GlobalMenuGroupBody {
|
|
|
1927
1886
|
allowed_local_menu_groups?: LocalMenuGroupDTO[];
|
|
1928
1887
|
draft_brands?: DraftBrandDTO[];
|
|
1929
1888
|
published_brands?: PublishedBrandDTO[];
|
|
1930
|
-
posid_segment?:
|
|
1889
|
+
posid_segment?: string;
|
|
1931
1890
|
id?: string;
|
|
1932
1891
|
version?: number;
|
|
1933
1892
|
vendor_metadata?: VendorMetadataDTO[];
|
|
@@ -1950,7 +1909,7 @@ export interface DeleteMenuV3GlobalMenuGroupResponse {
|
|
|
1950
1909
|
allowed_local_menu_groups?: LocalMenuGroupDTO[];
|
|
1951
1910
|
draft_brands?: DraftBrandDTO[];
|
|
1952
1911
|
published_brands?: PublishedBrandDTO[];
|
|
1953
|
-
posid_segment?:
|
|
1912
|
+
posid_segment?: string;
|
|
1954
1913
|
id?: string;
|
|
1955
1914
|
created_at?: string;
|
|
1956
1915
|
updated_at?: string;
|
|
@@ -1965,12 +1924,14 @@ export interface DeleteMenuV3GlobalMenuGroupRequest extends BaseRequest, Request
|
|
|
1965
1924
|
export interface GetMenuV3GlobalMenuGroupsQuery {
|
|
1966
1925
|
select?: string[];
|
|
1967
1926
|
relationships?: string[];
|
|
1968
|
-
filter?:
|
|
1927
|
+
filter?: {
|
|
1928
|
+
[index: string]: any;
|
|
1929
|
+
};
|
|
1969
1930
|
limit?: number;
|
|
1970
1931
|
page?: number;
|
|
1971
1932
|
sort_by?: string;
|
|
1972
|
-
sort_order?:
|
|
1973
|
-
soft_deleted?:
|
|
1933
|
+
sort_order?: "DESC" | "ASC";
|
|
1934
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
1974
1935
|
_query?: string;
|
|
1975
1936
|
}
|
|
1976
1937
|
export interface GetMenuV3GlobalMenuGroupsResponse {
|
|
@@ -1986,7 +1947,7 @@ export type PostMenuV3GlobalMenuGroupsBody = {
|
|
|
1986
1947
|
allowed_local_menu_groups?: LocalMenuGroupDTO[];
|
|
1987
1948
|
draft_brands?: DraftBrandDTO[];
|
|
1988
1949
|
published_brands?: PublishedBrandDTO[];
|
|
1989
|
-
posid_segment?:
|
|
1950
|
+
posid_segment?: string;
|
|
1990
1951
|
id?: any;
|
|
1991
1952
|
vendor_metadata?: VendorMetadataDTO[];
|
|
1992
1953
|
permissions?: any;
|
|
@@ -2001,7 +1962,9 @@ export interface PostMenuV3GlobalMenuGroupsRequest extends BaseRequest {
|
|
|
2001
1962
|
body: PostMenuV3GlobalMenuGroupsBody;
|
|
2002
1963
|
}
|
|
2003
1964
|
export interface GetMenuV3GlobalMenuGroupsCountQuery {
|
|
2004
|
-
filter?:
|
|
1965
|
+
filter?: {
|
|
1966
|
+
[index: string]: any;
|
|
1967
|
+
};
|
|
2005
1968
|
_query?: string;
|
|
2006
1969
|
}
|
|
2007
1970
|
export interface GetMenuV3GlobalMenuGroupsCountResponse {
|
|
@@ -2016,12 +1979,14 @@ export interface GetMenuV3DraftGlobalMenuGroupBrandsPath {
|
|
|
2016
1979
|
export interface GetMenuV3DraftGlobalMenuGroupBrandsQuery {
|
|
2017
1980
|
select?: string[];
|
|
2018
1981
|
relationships?: string[];
|
|
2019
|
-
filter?:
|
|
1982
|
+
filter?: {
|
|
1983
|
+
[index: string]: any;
|
|
1984
|
+
};
|
|
2020
1985
|
limit?: number;
|
|
2021
1986
|
page?: number;
|
|
2022
1987
|
sort_by?: string;
|
|
2023
|
-
sort_order?:
|
|
2024
|
-
soft_deleted?:
|
|
1988
|
+
sort_order?: "DESC" | "ASC";
|
|
1989
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
2025
1990
|
_query?: string;
|
|
2026
1991
|
}
|
|
2027
1992
|
export interface GetMenuV3DraftGlobalMenuGroupBrandsResponse {
|
|
@@ -2037,12 +2002,14 @@ export interface GetMenuV3GlobalMenuGroupBrandsPath {
|
|
|
2037
2002
|
export interface GetMenuV3GlobalMenuGroupBrandsQuery {
|
|
2038
2003
|
select?: string[];
|
|
2039
2004
|
relationships?: string[];
|
|
2040
|
-
filter?:
|
|
2005
|
+
filter?: {
|
|
2006
|
+
[index: string]: any;
|
|
2007
|
+
};
|
|
2041
2008
|
limit?: number;
|
|
2042
2009
|
page?: number;
|
|
2043
2010
|
sort_by?: string;
|
|
2044
|
-
sort_order?:
|
|
2045
|
-
soft_deleted?:
|
|
2011
|
+
sort_order?: "DESC" | "ASC";
|
|
2012
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
2046
2013
|
_query?: string;
|
|
2047
2014
|
}
|
|
2048
2015
|
export interface GetMenuV3GlobalMenuGroupBrandsResponse {
|
|
@@ -2055,7 +2022,6 @@ export interface GetMenuV3GlobalMenuGroupBrandsRequest extends BaseRequest, Requ
|
|
|
2055
2022
|
export interface PostMenuV3DraftBrandBody {
|
|
2056
2023
|
parent?: DraftBrandDTO;
|
|
2057
2024
|
children?: DraftBrandDTO[];
|
|
2058
|
-
posid_segment?: POSIDSegmentDTO;
|
|
2059
2025
|
menus?: DraftMenuDTO[];
|
|
2060
2026
|
categories?: DraftCategoryDTO[];
|
|
2061
2027
|
category_to_item_relationships?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -2068,10 +2034,11 @@ export interface PostMenuV3DraftBrandBody {
|
|
|
2068
2034
|
name: string;
|
|
2069
2035
|
description?: string;
|
|
2070
2036
|
is_active?: boolean;
|
|
2071
|
-
type?:
|
|
2037
|
+
type?: "global" | "local";
|
|
2072
2038
|
parent_id?: string;
|
|
2073
2039
|
local_menu_group_id?: string;
|
|
2074
2040
|
global_menu_group_id?: string;
|
|
2041
|
+
posid_segment?: string;
|
|
2075
2042
|
id?: any;
|
|
2076
2043
|
changes?: BrandChangeDTO[];
|
|
2077
2044
|
local_menu_group?: LocalMenuGroupDTO;
|
|
@@ -2102,7 +2069,6 @@ export interface PatchMenuV3DraftBrandPath {
|
|
|
2102
2069
|
export interface PatchMenuV3DraftBrandBody {
|
|
2103
2070
|
parent?: DraftBrandDTO;
|
|
2104
2071
|
children?: DraftBrandDTO[];
|
|
2105
|
-
posid_segment?: POSIDSegmentDTO;
|
|
2106
2072
|
menus?: DraftMenuDTO[];
|
|
2107
2073
|
categories?: DraftCategoryDTO[];
|
|
2108
2074
|
category_to_item_relationships?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -2116,10 +2082,11 @@ export interface PatchMenuV3DraftBrandBody {
|
|
|
2116
2082
|
name?: string;
|
|
2117
2083
|
description?: string;
|
|
2118
2084
|
is_active?: boolean;
|
|
2119
|
-
type?:
|
|
2085
|
+
type?: "global" | "local";
|
|
2120
2086
|
parent_id?: string;
|
|
2121
2087
|
local_menu_group_id?: string;
|
|
2122
2088
|
global_menu_group_id?: string;
|
|
2089
|
+
posid_segment?: string;
|
|
2123
2090
|
version?: number;
|
|
2124
2091
|
changes?: BrandChangeDTO[];
|
|
2125
2092
|
local_menu_group?: LocalMenuGroupDTO;
|
|
@@ -2142,12 +2109,14 @@ export interface DeleteMenuV3DraftBrandRequest extends BaseRequest, DeleteMenuV3
|
|
|
2142
2109
|
export interface GetMenuV3DraftBrandsQuery {
|
|
2143
2110
|
select?: string[];
|
|
2144
2111
|
relationships?: string[];
|
|
2145
|
-
filter?:
|
|
2112
|
+
filter?: {
|
|
2113
|
+
[index: string]: any;
|
|
2114
|
+
};
|
|
2146
2115
|
limit?: number;
|
|
2147
2116
|
page?: number;
|
|
2148
2117
|
sort_by?: string;
|
|
2149
|
-
sort_order?:
|
|
2150
|
-
soft_deleted?:
|
|
2118
|
+
sort_order?: "DESC" | "ASC";
|
|
2119
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
2151
2120
|
_query?: string;
|
|
2152
2121
|
}
|
|
2153
2122
|
export interface GetMenuV3DraftBrandsResponse {
|
|
@@ -2160,7 +2129,6 @@ export interface GetMenuV3DraftBrandsRequest extends BaseRequest, RequestQuery<G
|
|
|
2160
2129
|
export type PostMenuV3DraftBrandsBody = {
|
|
2161
2130
|
parent?: DraftBrandDTO;
|
|
2162
2131
|
children?: DraftBrandDTO[];
|
|
2163
|
-
posid_segment?: POSIDSegmentDTO;
|
|
2164
2132
|
menus?: DraftMenuDTO[];
|
|
2165
2133
|
categories?: DraftCategoryDTO[];
|
|
2166
2134
|
category_to_item_relationships?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -2173,10 +2141,11 @@ export type PostMenuV3DraftBrandsBody = {
|
|
|
2173
2141
|
name: string;
|
|
2174
2142
|
description?: string;
|
|
2175
2143
|
is_active?: boolean;
|
|
2176
|
-
type?:
|
|
2144
|
+
type?: "global" | "local";
|
|
2177
2145
|
parent_id?: string;
|
|
2178
2146
|
local_menu_group_id?: string;
|
|
2179
2147
|
global_menu_group_id?: string;
|
|
2148
|
+
posid_segment?: string;
|
|
2180
2149
|
id?: any;
|
|
2181
2150
|
changes?: BrandChangeDTO[];
|
|
2182
2151
|
local_menu_group?: LocalMenuGroupDTO;
|
|
@@ -2195,7 +2164,9 @@ export interface PostMenuV3DraftBrandsRequest extends BaseRequest {
|
|
|
2195
2164
|
body: PostMenuV3DraftBrandsBody;
|
|
2196
2165
|
}
|
|
2197
2166
|
export interface GetMenuV3DraftBrandsCountQuery {
|
|
2198
|
-
filter?:
|
|
2167
|
+
filter?: {
|
|
2168
|
+
[index: string]: any;
|
|
2169
|
+
};
|
|
2199
2170
|
_query?: string;
|
|
2200
2171
|
}
|
|
2201
2172
|
export interface GetMenuV3DraftBrandsCountResponse {
|
|
@@ -2210,12 +2181,14 @@ export interface GetMenuV3DraftBrandMenusPath {
|
|
|
2210
2181
|
export interface GetMenuV3DraftBrandMenusQuery {
|
|
2211
2182
|
select?: string[];
|
|
2212
2183
|
relationships?: string[];
|
|
2213
|
-
filter?:
|
|
2184
|
+
filter?: {
|
|
2185
|
+
[index: string]: any;
|
|
2186
|
+
};
|
|
2214
2187
|
limit?: number;
|
|
2215
2188
|
page?: number;
|
|
2216
2189
|
sort_by?: string;
|
|
2217
|
-
sort_order?:
|
|
2218
|
-
soft_deleted?:
|
|
2190
|
+
sort_order?: "DESC" | "ASC";
|
|
2191
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
2219
2192
|
_query?: string;
|
|
2220
2193
|
}
|
|
2221
2194
|
export interface GetMenuV3DraftBrandMenusResponse {
|
|
@@ -2231,12 +2204,14 @@ export interface GetMenuV3DraftBrandModifiersPath {
|
|
|
2231
2204
|
export interface GetMenuV3DraftBrandModifiersQuery {
|
|
2232
2205
|
select?: string[];
|
|
2233
2206
|
relationships?: string[];
|
|
2234
|
-
filter?:
|
|
2207
|
+
filter?: {
|
|
2208
|
+
[index: string]: any;
|
|
2209
|
+
};
|
|
2235
2210
|
limit?: number;
|
|
2236
2211
|
page?: number;
|
|
2237
2212
|
sort_by?: string;
|
|
2238
|
-
sort_order?:
|
|
2239
|
-
soft_deleted?:
|
|
2213
|
+
sort_order?: "DESC" | "ASC";
|
|
2214
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
2240
2215
|
_query?: string;
|
|
2241
2216
|
}
|
|
2242
2217
|
export interface GetMenuV3DraftBrandModifiersResponse {
|
|
@@ -2252,12 +2227,14 @@ export interface GetMenuV3DraftBrandModifierGroupsPath {
|
|
|
2252
2227
|
export interface GetMenuV3DraftBrandModifierGroupsQuery {
|
|
2253
2228
|
select?: string[];
|
|
2254
2229
|
relationships?: string[];
|
|
2255
|
-
filter?:
|
|
2230
|
+
filter?: {
|
|
2231
|
+
[index: string]: any;
|
|
2232
|
+
};
|
|
2256
2233
|
limit?: number;
|
|
2257
2234
|
page?: number;
|
|
2258
2235
|
sort_by?: string;
|
|
2259
|
-
sort_order?:
|
|
2260
|
-
soft_deleted?:
|
|
2236
|
+
sort_order?: "DESC" | "ASC";
|
|
2237
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
2261
2238
|
_query?: string;
|
|
2262
2239
|
}
|
|
2263
2240
|
export interface GetMenuV3DraftBrandModifierGroupsResponse {
|
|
@@ -2273,12 +2250,14 @@ export interface GetMenuV3DraftBrandItemsPath {
|
|
|
2273
2250
|
export interface GetMenuV3DraftBrandItemsQuery {
|
|
2274
2251
|
select?: string[];
|
|
2275
2252
|
relationships?: string[];
|
|
2276
|
-
filter?:
|
|
2253
|
+
filter?: {
|
|
2254
|
+
[index: string]: any;
|
|
2255
|
+
};
|
|
2277
2256
|
limit?: number;
|
|
2278
2257
|
page?: number;
|
|
2279
2258
|
sort_by?: string;
|
|
2280
|
-
sort_order?:
|
|
2281
|
-
soft_deleted?:
|
|
2259
|
+
sort_order?: "DESC" | "ASC";
|
|
2260
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
2282
2261
|
_query?: string;
|
|
2283
2262
|
}
|
|
2284
2263
|
export interface GetMenuV3DraftBrandItemsResponse {
|
|
@@ -2334,13 +2313,16 @@ export interface GetMenuV3DraftBrandDiffsPath {
|
|
|
2334
2313
|
export interface GetMenuV3DraftBrandDiffsQuery {
|
|
2335
2314
|
select?: string[];
|
|
2336
2315
|
relationships?: string[];
|
|
2337
|
-
filter?:
|
|
2316
|
+
filter?: {
|
|
2317
|
+
[index: string]: any;
|
|
2318
|
+
};
|
|
2338
2319
|
limit?: number;
|
|
2339
2320
|
page?: number;
|
|
2340
2321
|
sort_by?: string;
|
|
2341
|
-
sort_order?:
|
|
2342
|
-
soft_deleted?:
|
|
2322
|
+
sort_order?: "DESC" | "ASC";
|
|
2323
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
2343
2324
|
_query?: string;
|
|
2325
|
+
nocache?: boolean;
|
|
2344
2326
|
}
|
|
2345
2327
|
export interface GetMenuV3DraftBrandDiffsResponse {
|
|
2346
2328
|
results?: DiffDTO[];
|
|
@@ -2360,7 +2342,7 @@ export interface PostMenuV3DraftBrandGlobalDiffsApplyRequest extends BaseRequest
|
|
|
2360
2342
|
}
|
|
2361
2343
|
export interface PostMenuV3BrandAttachmentPath {
|
|
2362
2344
|
id: string;
|
|
2363
|
-
name:
|
|
2345
|
+
name: "thumbnail";
|
|
2364
2346
|
}
|
|
2365
2347
|
export interface PostMenuV3BrandAttachmentQuery {
|
|
2366
2348
|
"body.data"?: string;
|
|
@@ -2376,7 +2358,6 @@ export interface PostMenuV3BrandQuery {
|
|
|
2376
2358
|
export interface PostMenuV3BrandBody {
|
|
2377
2359
|
parent?: PublishedBrandDTO;
|
|
2378
2360
|
children?: PublishedBrandDTO[];
|
|
2379
|
-
posid_segment?: POSIDSegmentDTO;
|
|
2380
2361
|
menus?: PublishedMenuDTO[];
|
|
2381
2362
|
categories?: PublishedCategoryDTO[];
|
|
2382
2363
|
category_to_item_relationships?: PublishedCategoryToItemRelationshipDTO[];
|
|
@@ -2388,10 +2369,11 @@ export interface PostMenuV3BrandBody {
|
|
|
2388
2369
|
name: string;
|
|
2389
2370
|
description?: string;
|
|
2390
2371
|
is_active?: boolean;
|
|
2391
|
-
type?:
|
|
2372
|
+
type?: "global" | "local";
|
|
2392
2373
|
parent_id?: string;
|
|
2393
2374
|
local_menu_group_id?: string;
|
|
2394
2375
|
global_menu_group_id?: string;
|
|
2376
|
+
posid_segment?: string;
|
|
2395
2377
|
id?: any;
|
|
2396
2378
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2397
2379
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
@@ -2424,7 +2406,6 @@ export interface PatchMenuV3BrandQuery {
|
|
|
2424
2406
|
export interface PatchMenuV3BrandBody {
|
|
2425
2407
|
parent?: PublishedBrandDTO;
|
|
2426
2408
|
children?: PublishedBrandDTO[];
|
|
2427
|
-
posid_segment?: POSIDSegmentDTO;
|
|
2428
2409
|
menus?: PublishedMenuDTO[];
|
|
2429
2410
|
categories?: PublishedCategoryDTO[];
|
|
2430
2411
|
category_to_item_relationships?: PublishedCategoryToItemRelationshipDTO[];
|
|
@@ -2437,10 +2418,11 @@ export interface PatchMenuV3BrandBody {
|
|
|
2437
2418
|
name?: string;
|
|
2438
2419
|
description?: string;
|
|
2439
2420
|
is_active?: boolean;
|
|
2440
|
-
type?:
|
|
2421
|
+
type?: "global" | "local";
|
|
2441
2422
|
parent_id?: string;
|
|
2442
2423
|
local_menu_group_id?: string;
|
|
2443
2424
|
global_menu_group_id?: string;
|
|
2425
|
+
posid_segment?: string;
|
|
2444
2426
|
version?: number;
|
|
2445
2427
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2446
2428
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
@@ -2464,12 +2446,14 @@ export interface DeleteMenuV3BrandRequest extends BaseRequest, RequestQuery<Dele
|
|
|
2464
2446
|
export interface GetMenuV3BrandsQuery {
|
|
2465
2447
|
select?: string[];
|
|
2466
2448
|
relationships?: string[];
|
|
2467
|
-
filter?:
|
|
2449
|
+
filter?: {
|
|
2450
|
+
[index: string]: any;
|
|
2451
|
+
};
|
|
2468
2452
|
limit?: number;
|
|
2469
2453
|
page?: number;
|
|
2470
2454
|
sort_by?: string;
|
|
2471
|
-
sort_order?:
|
|
2472
|
-
soft_deleted?:
|
|
2455
|
+
sort_order?: "DESC" | "ASC";
|
|
2456
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
2473
2457
|
_query?: string;
|
|
2474
2458
|
nocache?: boolean;
|
|
2475
2459
|
}
|
|
@@ -2486,7 +2470,6 @@ export interface PostMenuV3BrandsQuery {
|
|
|
2486
2470
|
export type PostMenuV3BrandsBody = {
|
|
2487
2471
|
parent?: PublishedBrandDTO;
|
|
2488
2472
|
children?: PublishedBrandDTO[];
|
|
2489
|
-
posid_segment?: POSIDSegmentDTO;
|
|
2490
2473
|
menus?: PublishedMenuDTO[];
|
|
2491
2474
|
categories?: PublishedCategoryDTO[];
|
|
2492
2475
|
category_to_item_relationships?: PublishedCategoryToItemRelationshipDTO[];
|
|
@@ -2498,10 +2481,11 @@ export type PostMenuV3BrandsBody = {
|
|
|
2498
2481
|
name: string;
|
|
2499
2482
|
description?: string;
|
|
2500
2483
|
is_active?: boolean;
|
|
2501
|
-
type?:
|
|
2484
|
+
type?: "global" | "local";
|
|
2502
2485
|
parent_id?: string;
|
|
2503
2486
|
local_menu_group_id?: string;
|
|
2504
2487
|
global_menu_group_id?: string;
|
|
2488
|
+
posid_segment?: string;
|
|
2505
2489
|
id?: any;
|
|
2506
2490
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2507
2491
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
@@ -2518,7 +2502,9 @@ export interface PostMenuV3BrandsRequest extends BaseRequest, RequestQuery<PostM
|
|
|
2518
2502
|
body: PostMenuV3BrandsBody;
|
|
2519
2503
|
}
|
|
2520
2504
|
export interface GetMenuV3BrandsCountQuery {
|
|
2521
|
-
filter?:
|
|
2505
|
+
filter?: {
|
|
2506
|
+
[index: string]: any;
|
|
2507
|
+
};
|
|
2522
2508
|
_query?: string;
|
|
2523
2509
|
nocache?: boolean;
|
|
2524
2510
|
}
|
|
@@ -2534,12 +2520,14 @@ export interface GetMenuV3BrandMenusPath {
|
|
|
2534
2520
|
export interface GetMenuV3BrandMenusQuery {
|
|
2535
2521
|
select?: string[];
|
|
2536
2522
|
relationships?: string[];
|
|
2537
|
-
filter?:
|
|
2523
|
+
filter?: {
|
|
2524
|
+
[index: string]: any;
|
|
2525
|
+
};
|
|
2538
2526
|
limit?: number;
|
|
2539
2527
|
page?: number;
|
|
2540
2528
|
sort_by?: string;
|
|
2541
|
-
sort_order?:
|
|
2542
|
-
soft_deleted?:
|
|
2529
|
+
sort_order?: "DESC" | "ASC";
|
|
2530
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
2543
2531
|
_query?: string;
|
|
2544
2532
|
nocache?: boolean;
|
|
2545
2533
|
}
|
|
@@ -2556,12 +2544,14 @@ export interface GetMenuV3BrandModifiersPath {
|
|
|
2556
2544
|
export interface GetMenuV3BrandModifiersQuery {
|
|
2557
2545
|
select?: string[];
|
|
2558
2546
|
relationships?: string[];
|
|
2559
|
-
filter?:
|
|
2547
|
+
filter?: {
|
|
2548
|
+
[index: string]: any;
|
|
2549
|
+
};
|
|
2560
2550
|
limit?: number;
|
|
2561
2551
|
page?: number;
|
|
2562
2552
|
sort_by?: string;
|
|
2563
|
-
sort_order?:
|
|
2564
|
-
soft_deleted?:
|
|
2553
|
+
sort_order?: "DESC" | "ASC";
|
|
2554
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
2565
2555
|
_query?: string;
|
|
2566
2556
|
nocache?: boolean;
|
|
2567
2557
|
}
|
|
@@ -2578,12 +2568,14 @@ export interface GetMenuV3BrandModifierGroupsPath {
|
|
|
2578
2568
|
export interface GetMenuV3BrandModifierGroupsQuery {
|
|
2579
2569
|
select?: string[];
|
|
2580
2570
|
relationships?: string[];
|
|
2581
|
-
filter?:
|
|
2571
|
+
filter?: {
|
|
2572
|
+
[index: string]: any;
|
|
2573
|
+
};
|
|
2582
2574
|
limit?: number;
|
|
2583
2575
|
page?: number;
|
|
2584
2576
|
sort_by?: string;
|
|
2585
|
-
sort_order?:
|
|
2586
|
-
soft_deleted?:
|
|
2577
|
+
sort_order?: "DESC" | "ASC";
|
|
2578
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
2587
2579
|
_query?: string;
|
|
2588
2580
|
nocache?: boolean;
|
|
2589
2581
|
}
|
|
@@ -2600,12 +2592,14 @@ export interface GetMenuV3BrandItemsPath {
|
|
|
2600
2592
|
export interface GetMenuV3BrandItemsQuery {
|
|
2601
2593
|
select?: string[];
|
|
2602
2594
|
relationships?: string[];
|
|
2603
|
-
filter?:
|
|
2595
|
+
filter?: {
|
|
2596
|
+
[index: string]: any;
|
|
2597
|
+
};
|
|
2604
2598
|
limit?: number;
|
|
2605
2599
|
page?: number;
|
|
2606
2600
|
sort_by?: string;
|
|
2607
|
-
sort_order?:
|
|
2608
|
-
soft_deleted?:
|
|
2601
|
+
sort_order?: "DESC" | "ASC";
|
|
2602
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
2609
2603
|
_query?: string;
|
|
2610
2604
|
nocache?: boolean;
|
|
2611
2605
|
}
|
|
@@ -2625,7 +2619,6 @@ export interface PostMenuV3BrandLocalQuery {
|
|
|
2625
2619
|
export interface PostMenuV3BrandLocalResponse {
|
|
2626
2620
|
parent?: DraftBrandDTO;
|
|
2627
2621
|
children?: DraftBrandDTO[];
|
|
2628
|
-
posid_segment?: POSIDSegmentDTO;
|
|
2629
2622
|
menus?: DraftMenuDTO[];
|
|
2630
2623
|
categories?: DraftCategoryDTO[];
|
|
2631
2624
|
category_to_item_relationships?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -2642,10 +2635,11 @@ export interface PostMenuV3BrandLocalResponse {
|
|
|
2642
2635
|
name: string;
|
|
2643
2636
|
description?: string;
|
|
2644
2637
|
is_active?: boolean;
|
|
2645
|
-
type?:
|
|
2638
|
+
type?: "global" | "local";
|
|
2646
2639
|
parent_id?: string;
|
|
2647
2640
|
local_menu_group_id?: string;
|
|
2648
2641
|
global_menu_group_id?: string;
|
|
2642
|
+
posid_segment?: string;
|
|
2649
2643
|
version?: number;
|
|
2650
2644
|
changes?: BrandChangeDTO[];
|
|
2651
2645
|
local_menu_group?: LocalMenuGroupDTO;
|
|
@@ -2719,12 +2713,14 @@ export interface DeleteMenuV3DraftMenuRequest extends BaseRequest, DeleteMenuV3D
|
|
|
2719
2713
|
export interface GetMenuV3DraftMenusQuery {
|
|
2720
2714
|
select?: string[];
|
|
2721
2715
|
relationships?: string[];
|
|
2722
|
-
filter?:
|
|
2716
|
+
filter?: {
|
|
2717
|
+
[index: string]: any;
|
|
2718
|
+
};
|
|
2723
2719
|
limit?: number;
|
|
2724
2720
|
page?: number;
|
|
2725
2721
|
sort_by?: string;
|
|
2726
|
-
sort_order?:
|
|
2727
|
-
soft_deleted?:
|
|
2722
|
+
sort_order?: "DESC" | "ASC";
|
|
2723
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
2728
2724
|
_query?: string;
|
|
2729
2725
|
}
|
|
2730
2726
|
export interface GetMenuV3DraftMenusResponse {
|
|
@@ -2758,7 +2754,9 @@ export interface PostMenuV3DraftMenusRequest extends BaseRequest {
|
|
|
2758
2754
|
body: PostMenuV3DraftMenusBody;
|
|
2759
2755
|
}
|
|
2760
2756
|
export interface GetMenuV3DraftMenusCountQuery {
|
|
2761
|
-
filter?:
|
|
2757
|
+
filter?: {
|
|
2758
|
+
[index: string]: any;
|
|
2759
|
+
};
|
|
2762
2760
|
_query?: string;
|
|
2763
2761
|
}
|
|
2764
2762
|
export interface GetMenuV3DraftMenusCountResponse {
|
|
@@ -2773,12 +2771,14 @@ export interface GetMenuV3DraftMenuCategoriesPath {
|
|
|
2773
2771
|
export interface GetMenuV3DraftMenuCategoriesQuery {
|
|
2774
2772
|
select?: string[];
|
|
2775
2773
|
relationships?: string[];
|
|
2776
|
-
filter?:
|
|
2774
|
+
filter?: {
|
|
2775
|
+
[index: string]: any;
|
|
2776
|
+
};
|
|
2777
2777
|
limit?: number;
|
|
2778
2778
|
page?: number;
|
|
2779
2779
|
sort_by?: string;
|
|
2780
|
-
sort_order?:
|
|
2781
|
-
soft_deleted?:
|
|
2780
|
+
sort_order?: "DESC" | "ASC";
|
|
2781
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
2782
2782
|
_query?: string;
|
|
2783
2783
|
}
|
|
2784
2784
|
export interface GetMenuV3DraftMenuCategoriesResponse {
|
|
@@ -2811,12 +2811,14 @@ export interface GetMenuV3MenuRequest extends BaseRequest, RequestQuery<GetMenuV
|
|
|
2811
2811
|
export interface GetMenuV3MenusQuery {
|
|
2812
2812
|
select?: string[];
|
|
2813
2813
|
relationships?: string[];
|
|
2814
|
-
filter?:
|
|
2814
|
+
filter?: {
|
|
2815
|
+
[index: string]: any;
|
|
2816
|
+
};
|
|
2815
2817
|
limit?: number;
|
|
2816
2818
|
page?: number;
|
|
2817
2819
|
sort_by?: string;
|
|
2818
|
-
sort_order?:
|
|
2819
|
-
soft_deleted?:
|
|
2820
|
+
sort_order?: "DESC" | "ASC";
|
|
2821
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
2820
2822
|
_query?: string;
|
|
2821
2823
|
nocache?: boolean;
|
|
2822
2824
|
}
|
|
@@ -2828,7 +2830,9 @@ export interface GetMenuV3MenusResponse {
|
|
|
2828
2830
|
export interface GetMenuV3MenusRequest extends BaseRequest, RequestQuery<GetMenuV3MenusQuery> {
|
|
2829
2831
|
}
|
|
2830
2832
|
export interface GetMenuV3MenusCountQuery {
|
|
2831
|
-
filter?:
|
|
2833
|
+
filter?: {
|
|
2834
|
+
[index: string]: any;
|
|
2835
|
+
};
|
|
2832
2836
|
_query?: string;
|
|
2833
2837
|
nocache?: boolean;
|
|
2834
2838
|
}
|
|
@@ -2844,12 +2848,14 @@ export interface GetMenuV3MenuCategoriesPath {
|
|
|
2844
2848
|
export interface GetMenuV3MenuCategoriesQuery {
|
|
2845
2849
|
select?: string[];
|
|
2846
2850
|
relationships?: string[];
|
|
2847
|
-
filter?:
|
|
2851
|
+
filter?: {
|
|
2852
|
+
[index: string]: any;
|
|
2853
|
+
};
|
|
2848
2854
|
limit?: number;
|
|
2849
2855
|
page?: number;
|
|
2850
2856
|
sort_by?: string;
|
|
2851
|
-
sort_order?:
|
|
2852
|
-
soft_deleted?:
|
|
2857
|
+
sort_order?: "DESC" | "ASC";
|
|
2858
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
2853
2859
|
_query?: string;
|
|
2854
2860
|
nocache?: boolean;
|
|
2855
2861
|
}
|
|
@@ -2930,7 +2936,9 @@ export type DeleteMenuV3DraftCategoryResponse = DraftCategoryDTO;
|
|
|
2930
2936
|
export interface DeleteMenuV3DraftCategoryRequest extends BaseRequest, DeleteMenuV3DraftCategoryPath {
|
|
2931
2937
|
}
|
|
2932
2938
|
export interface GetMenuV3DraftCategoriesCountQuery {
|
|
2933
|
-
filter?:
|
|
2939
|
+
filter?: {
|
|
2940
|
+
[index: string]: any;
|
|
2941
|
+
};
|
|
2934
2942
|
_query?: string;
|
|
2935
2943
|
}
|
|
2936
2944
|
export interface GetMenuV3DraftCategoriesCountResponse {
|
|
@@ -2980,7 +2988,9 @@ export type GetMenuV3CategoryResponse = PublishedCategoryDTO;
|
|
|
2980
2988
|
export interface GetMenuV3CategoryRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryQuery>, GetMenuV3CategoryPath {
|
|
2981
2989
|
}
|
|
2982
2990
|
export interface GetMenuV3CategorysCountQuery {
|
|
2983
|
-
filter?:
|
|
2991
|
+
filter?: {
|
|
2992
|
+
[index: string]: any;
|
|
2993
|
+
};
|
|
2984
2994
|
_query?: string;
|
|
2985
2995
|
nocache?: boolean;
|
|
2986
2996
|
}
|
|
@@ -3058,12 +3068,14 @@ export interface DeleteMenuV3DraftCategoryRelationshipsItemRequest extends BaseR
|
|
|
3058
3068
|
export interface GetMenuV3DraftCategoryRelationshipsItemsQuery {
|
|
3059
3069
|
select?: string[];
|
|
3060
3070
|
relationships?: string[];
|
|
3061
|
-
filter?:
|
|
3071
|
+
filter?: {
|
|
3072
|
+
[index: string]: any;
|
|
3073
|
+
};
|
|
3062
3074
|
limit?: number;
|
|
3063
3075
|
page?: number;
|
|
3064
3076
|
sort_by?: string;
|
|
3065
|
-
sort_order?:
|
|
3066
|
-
soft_deleted?:
|
|
3077
|
+
sort_order?: "DESC" | "ASC";
|
|
3078
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
3067
3079
|
_query?: string;
|
|
3068
3080
|
}
|
|
3069
3081
|
export interface GetMenuV3DraftCategoryRelationshipsItemsResponse {
|
|
@@ -3100,7 +3112,9 @@ export interface PostMenuV3DraftCategoryRelationshipsItemsRequest extends BaseRe
|
|
|
3100
3112
|
body: PostMenuV3DraftCategoryRelationshipsItemsBody;
|
|
3101
3113
|
}
|
|
3102
3114
|
export interface GetMenuV3DraftCategoryRelationshipsItemsCountQuery {
|
|
3103
|
-
filter?:
|
|
3115
|
+
filter?: {
|
|
3116
|
+
[index: string]: any;
|
|
3117
|
+
};
|
|
3104
3118
|
_query?: string;
|
|
3105
3119
|
}
|
|
3106
3120
|
export interface GetMenuV3DraftCategoryRelationshipsItemsCountResponse {
|
|
@@ -3109,52 +3123,55 @@ export interface GetMenuV3DraftCategoryRelationshipsItemsCountResponse {
|
|
|
3109
3123
|
}
|
|
3110
3124
|
export interface GetMenuV3DraftCategoryRelationshipsItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftCategoryRelationshipsItemsCountQuery> {
|
|
3111
3125
|
}
|
|
3112
|
-
export interface
|
|
3126
|
+
export interface GetMenuV3CategoryRelationshipsItemPath {
|
|
3113
3127
|
id: string;
|
|
3114
3128
|
}
|
|
3115
|
-
export interface
|
|
3129
|
+
export interface GetMenuV3CategoryRelationshipsItemQuery {
|
|
3116
3130
|
select?: string[];
|
|
3117
3131
|
relationships?: string[];
|
|
3118
3132
|
_query?: string;
|
|
3119
3133
|
nocache?: boolean;
|
|
3120
3134
|
}
|
|
3121
|
-
export type
|
|
3122
|
-
export interface
|
|
3135
|
+
export type GetMenuV3CategoryRelationshipsItemResponse = PublishedCategoryToItemRelationshipDTO;
|
|
3136
|
+
export interface GetMenuV3CategoryRelationshipsItemRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemQuery>, GetMenuV3CategoryRelationshipsItemPath {
|
|
3123
3137
|
}
|
|
3124
|
-
export interface
|
|
3138
|
+
export interface GetMenuV3CategoryRelationshipsItemsQuery {
|
|
3125
3139
|
select?: string[];
|
|
3126
3140
|
relationships?: string[];
|
|
3127
|
-
filter?:
|
|
3141
|
+
filter?: {
|
|
3142
|
+
[index: string]: any;
|
|
3143
|
+
};
|
|
3128
3144
|
limit?: number;
|
|
3129
3145
|
page?: number;
|
|
3130
3146
|
sort_by?: string;
|
|
3131
|
-
sort_order?:
|
|
3132
|
-
soft_deleted?:
|
|
3147
|
+
sort_order?: "DESC" | "ASC";
|
|
3148
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
3133
3149
|
_query?: string;
|
|
3134
3150
|
nocache?: boolean;
|
|
3135
3151
|
}
|
|
3136
|
-
export interface
|
|
3152
|
+
export interface GetMenuV3CategoryRelationshipsItemsResponse {
|
|
3137
3153
|
results: PublishedCategoryToItemRelationshipDTO[];
|
|
3138
3154
|
meta?: ListResponseMetadataDTO;
|
|
3139
3155
|
[index: string]: any;
|
|
3140
3156
|
}
|
|
3141
|
-
export interface
|
|
3157
|
+
export interface GetMenuV3CategoryRelationshipsItemsRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemsQuery> {
|
|
3142
3158
|
}
|
|
3143
|
-
export interface
|
|
3144
|
-
filter?:
|
|
3159
|
+
export interface GetMenuV3CategoryRelationshipsItemsCountQuery {
|
|
3160
|
+
filter?: {
|
|
3161
|
+
[index: string]: any;
|
|
3162
|
+
};
|
|
3145
3163
|
_query?: string;
|
|
3146
3164
|
nocache?: boolean;
|
|
3147
3165
|
}
|
|
3148
|
-
export interface
|
|
3166
|
+
export interface GetMenuV3CategoryRelationshipsItemsCountResponse {
|
|
3149
3167
|
count: number;
|
|
3150
3168
|
[index: string]: any;
|
|
3151
3169
|
}
|
|
3152
|
-
export interface
|
|
3170
|
+
export interface GetMenuV3CategoryRelationshipsItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemsCountQuery> {
|
|
3153
3171
|
}
|
|
3154
3172
|
export interface PostMenuV3DraftItemBody {
|
|
3155
3173
|
parent?: DraftItemDTO;
|
|
3156
3174
|
children?: DraftItemDTO[];
|
|
3157
|
-
posid_segment?: POSIDSegmentDTO;
|
|
3158
3175
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
3159
3176
|
parent_id?: string;
|
|
3160
3177
|
name: string;
|
|
@@ -3169,6 +3186,7 @@ export interface PostMenuV3DraftItemBody {
|
|
|
3169
3186
|
tax_tags?: any[];
|
|
3170
3187
|
brand_id: string;
|
|
3171
3188
|
line_route?: string;
|
|
3189
|
+
posid_segment?: string;
|
|
3172
3190
|
id?: any;
|
|
3173
3191
|
applied_diff_snapshot?: any;
|
|
3174
3192
|
brand?: DraftBrandDTO;
|
|
@@ -3201,7 +3219,6 @@ export interface PatchMenuV3DraftItemPath {
|
|
|
3201
3219
|
export interface PatchMenuV3DraftItemBody {
|
|
3202
3220
|
parent?: DraftItemDTO;
|
|
3203
3221
|
children?: DraftItemDTO[];
|
|
3204
|
-
posid_segment?: POSIDSegmentDTO;
|
|
3205
3222
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
3206
3223
|
id?: string;
|
|
3207
3224
|
parent_id?: string;
|
|
@@ -3217,6 +3234,7 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
3217
3234
|
tax_tags?: any[];
|
|
3218
3235
|
brand_id?: string;
|
|
3219
3236
|
line_route?: string;
|
|
3237
|
+
posid_segment?: string;
|
|
3220
3238
|
applied_diff_snapshot?: any;
|
|
3221
3239
|
version?: number;
|
|
3222
3240
|
brand?: DraftBrandDTO;
|
|
@@ -3241,12 +3259,14 @@ export interface DeleteMenuV3DraftItemRequest extends BaseRequest, DeleteMenuV3D
|
|
|
3241
3259
|
export interface GetMenuV3DraftItemsQuery {
|
|
3242
3260
|
select?: string[];
|
|
3243
3261
|
relationships?: string[];
|
|
3244
|
-
filter?:
|
|
3262
|
+
filter?: {
|
|
3263
|
+
[index: string]: any;
|
|
3264
|
+
};
|
|
3245
3265
|
limit?: number;
|
|
3246
3266
|
page?: number;
|
|
3247
3267
|
sort_by?: string;
|
|
3248
|
-
sort_order?:
|
|
3249
|
-
soft_deleted?:
|
|
3268
|
+
sort_order?: "DESC" | "ASC";
|
|
3269
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
3250
3270
|
_query?: string;
|
|
3251
3271
|
}
|
|
3252
3272
|
export interface GetMenuV3DraftItemsResponse {
|
|
@@ -3259,7 +3279,6 @@ export interface GetMenuV3DraftItemsRequest extends BaseRequest, RequestQuery<Ge
|
|
|
3259
3279
|
export type PostMenuV3DraftItemsBody = {
|
|
3260
3280
|
parent?: DraftItemDTO;
|
|
3261
3281
|
children?: DraftItemDTO[];
|
|
3262
|
-
posid_segment?: POSIDSegmentDTO;
|
|
3263
3282
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
3264
3283
|
parent_id?: string;
|
|
3265
3284
|
name: string;
|
|
@@ -3274,6 +3293,7 @@ export type PostMenuV3DraftItemsBody = {
|
|
|
3274
3293
|
tax_tags?: any[];
|
|
3275
3294
|
brand_id: string;
|
|
3276
3295
|
line_route?: string;
|
|
3296
|
+
posid_segment?: string;
|
|
3277
3297
|
id?: any;
|
|
3278
3298
|
applied_diff_snapshot?: any;
|
|
3279
3299
|
brand?: DraftBrandDTO;
|
|
@@ -3294,7 +3314,9 @@ export interface PostMenuV3DraftItemsRequest extends BaseRequest {
|
|
|
3294
3314
|
body: PostMenuV3DraftItemsBody;
|
|
3295
3315
|
}
|
|
3296
3316
|
export interface GetMenuV3DraftItemsCountQuery {
|
|
3297
|
-
filter?:
|
|
3317
|
+
filter?: {
|
|
3318
|
+
[index: string]: any;
|
|
3319
|
+
};
|
|
3298
3320
|
_query?: string;
|
|
3299
3321
|
}
|
|
3300
3322
|
export interface GetMenuV3DraftItemsCountResponse {
|
|
@@ -3307,7 +3329,6 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
|
3307
3329
|
id_list: any[];
|
|
3308
3330
|
parent?: DraftItemDTO;
|
|
3309
3331
|
children?: DraftItemDTO[];
|
|
3310
|
-
posid_segment?: POSIDSegmentDTO;
|
|
3311
3332
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
3312
3333
|
id?: string;
|
|
3313
3334
|
parent_id?: string;
|
|
@@ -3323,6 +3344,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
|
3323
3344
|
tax_tags?: any[];
|
|
3324
3345
|
brand_id?: string;
|
|
3325
3346
|
line_route?: string;
|
|
3347
|
+
posid_segment?: string;
|
|
3326
3348
|
applied_diff_snapshot?: any;
|
|
3327
3349
|
brand?: DraftBrandDTO;
|
|
3328
3350
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -3341,7 +3363,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateRequest extends BaseRequest {
|
|
|
3341
3363
|
}
|
|
3342
3364
|
export interface PostMenuV3ItemAttachmentPath {
|
|
3343
3365
|
id: string;
|
|
3344
|
-
name:
|
|
3366
|
+
name: "thumbnail";
|
|
3345
3367
|
}
|
|
3346
3368
|
export interface PostMenuV3ItemAttachmentQuery {
|
|
3347
3369
|
"body.data"?: string;
|
|
@@ -3353,6 +3375,7 @@ export interface PostMenuV3ItemAttachmentRequest extends BaseRequest, RequestQue
|
|
|
3353
3375
|
}
|
|
3354
3376
|
export interface PostMenuV3ItemsImportQuery {
|
|
3355
3377
|
"body.brand_id"?: string;
|
|
3378
|
+
"body.category_id"?: string;
|
|
3356
3379
|
"body.data"?: string;
|
|
3357
3380
|
}
|
|
3358
3381
|
export interface PostMenuV3ItemsImportResponse {
|
|
@@ -3375,12 +3398,14 @@ export interface GetMenuV3ItemRequest extends BaseRequest, RequestQuery<GetMenuV
|
|
|
3375
3398
|
export interface GetMenuV3ItemsQuery {
|
|
3376
3399
|
select?: string[];
|
|
3377
3400
|
relationships?: string[];
|
|
3378
|
-
filter?:
|
|
3401
|
+
filter?: {
|
|
3402
|
+
[index: string]: any;
|
|
3403
|
+
};
|
|
3379
3404
|
limit?: number;
|
|
3380
3405
|
page?: number;
|
|
3381
3406
|
sort_by?: string;
|
|
3382
|
-
sort_order?:
|
|
3383
|
-
soft_deleted?:
|
|
3407
|
+
sort_order?: "DESC" | "ASC";
|
|
3408
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
3384
3409
|
_query?: string;
|
|
3385
3410
|
nocache?: boolean;
|
|
3386
3411
|
}
|
|
@@ -3392,7 +3417,9 @@ export interface GetMenuV3ItemsResponse {
|
|
|
3392
3417
|
export interface GetMenuV3ItemsRequest extends BaseRequest, RequestQuery<GetMenuV3ItemsQuery> {
|
|
3393
3418
|
}
|
|
3394
3419
|
export interface GetMenuV3ItemsCountQuery {
|
|
3395
|
-
filter?:
|
|
3420
|
+
filter?: {
|
|
3421
|
+
[index: string]: any;
|
|
3422
|
+
};
|
|
3396
3423
|
_query?: string;
|
|
3397
3424
|
nocache?: boolean;
|
|
3398
3425
|
}
|
|
@@ -3470,12 +3497,14 @@ export interface DeleteMenuV3DraftItemRelationshipsModifierGroupRequest extends
|
|
|
3470
3497
|
export interface GetMenuV3DraftItemRelationshipsModifierGroupsQuery {
|
|
3471
3498
|
select?: string[];
|
|
3472
3499
|
relationships?: string[];
|
|
3473
|
-
filter?:
|
|
3500
|
+
filter?: {
|
|
3501
|
+
[index: string]: any;
|
|
3502
|
+
};
|
|
3474
3503
|
limit?: number;
|
|
3475
3504
|
page?: number;
|
|
3476
3505
|
sort_by?: string;
|
|
3477
|
-
sort_order?:
|
|
3478
|
-
soft_deleted?:
|
|
3506
|
+
sort_order?: "DESC" | "ASC";
|
|
3507
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
3479
3508
|
_query?: string;
|
|
3480
3509
|
}
|
|
3481
3510
|
export interface GetMenuV3DraftItemRelationshipsModifierGroupsResponse {
|
|
@@ -3512,7 +3541,9 @@ export interface PostMenuV3DraftItemRelationshipsModifierGroupsRequest extends B
|
|
|
3512
3541
|
body: PostMenuV3DraftItemRelationshipsModifierGroupsBody;
|
|
3513
3542
|
}
|
|
3514
3543
|
export interface GetMenuV3DraftItemRelationshipsModifierGroupsCountQuery {
|
|
3515
|
-
filter?:
|
|
3544
|
+
filter?: {
|
|
3545
|
+
[index: string]: any;
|
|
3546
|
+
};
|
|
3516
3547
|
_query?: string;
|
|
3517
3548
|
}
|
|
3518
3549
|
export interface GetMenuV3DraftItemRelationshipsModifierGroupsCountResponse {
|
|
@@ -3536,12 +3567,14 @@ export interface GetMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequ
|
|
|
3536
3567
|
export interface GetMenuV3ItemRelationshipsModifierGroupsQuery {
|
|
3537
3568
|
select?: string[];
|
|
3538
3569
|
relationships?: string[];
|
|
3539
|
-
filter?:
|
|
3570
|
+
filter?: {
|
|
3571
|
+
[index: string]: any;
|
|
3572
|
+
};
|
|
3540
3573
|
limit?: number;
|
|
3541
3574
|
page?: number;
|
|
3542
3575
|
sort_by?: string;
|
|
3543
|
-
sort_order?:
|
|
3544
|
-
soft_deleted?:
|
|
3576
|
+
sort_order?: "DESC" | "ASC";
|
|
3577
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
3545
3578
|
_query?: string;
|
|
3546
3579
|
nocache?: boolean;
|
|
3547
3580
|
}
|
|
@@ -3553,7 +3586,9 @@ export interface GetMenuV3ItemRelationshipsModifierGroupsResponse {
|
|
|
3553
3586
|
export interface GetMenuV3ItemRelationshipsModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3ItemRelationshipsModifierGroupsQuery> {
|
|
3554
3587
|
}
|
|
3555
3588
|
export interface GetMenuV3ItemRelationshipsModifierGroupsCountQuery {
|
|
3556
|
-
filter?:
|
|
3589
|
+
filter?: {
|
|
3590
|
+
[index: string]: any;
|
|
3591
|
+
};
|
|
3557
3592
|
_query?: string;
|
|
3558
3593
|
nocache?: boolean;
|
|
3559
3594
|
}
|
|
@@ -3635,12 +3670,14 @@ export interface DeleteMenuV3DraftModifierGroupRequest extends BaseRequest, Dele
|
|
|
3635
3670
|
export interface GetMenuV3DraftModifierGroupsQuery {
|
|
3636
3671
|
select?: string[];
|
|
3637
3672
|
relationships?: string[];
|
|
3638
|
-
filter?:
|
|
3673
|
+
filter?: {
|
|
3674
|
+
[index: string]: any;
|
|
3675
|
+
};
|
|
3639
3676
|
limit?: number;
|
|
3640
3677
|
page?: number;
|
|
3641
3678
|
sort_by?: string;
|
|
3642
|
-
sort_order?:
|
|
3643
|
-
soft_deleted?:
|
|
3679
|
+
sort_order?: "DESC" | "ASC";
|
|
3680
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
3644
3681
|
_query?: string;
|
|
3645
3682
|
}
|
|
3646
3683
|
export interface GetMenuV3DraftModifierGroupsResponse {
|
|
@@ -3679,7 +3716,9 @@ export interface PostMenuV3DraftModifierGroupsRequest extends BaseRequest {
|
|
|
3679
3716
|
body: PostMenuV3DraftModifierGroupsBody;
|
|
3680
3717
|
}
|
|
3681
3718
|
export interface GetMenuV3DraftModifierGroupsCountQuery {
|
|
3682
|
-
filter?:
|
|
3719
|
+
filter?: {
|
|
3720
|
+
[index: string]: any;
|
|
3721
|
+
};
|
|
3683
3722
|
_query?: string;
|
|
3684
3723
|
}
|
|
3685
3724
|
export interface GetMenuV3DraftModifierGroupsCountResponse {
|
|
@@ -3688,6 +3727,35 @@ export interface GetMenuV3DraftModifierGroupsCountResponse {
|
|
|
3688
3727
|
}
|
|
3689
3728
|
export interface GetMenuV3DraftModifierGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierGroupsCountQuery> {
|
|
3690
3729
|
}
|
|
3730
|
+
export interface PostMenuV3DraftModifierGroupDuplicatePath {
|
|
3731
|
+
id: string;
|
|
3732
|
+
}
|
|
3733
|
+
export interface PostMenuV3DraftModifierGroupDuplicateResponse {
|
|
3734
|
+
parent?: DraftModifierGroupDTO;
|
|
3735
|
+
children?: DraftModifierGroupDTO[];
|
|
3736
|
+
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
3737
|
+
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
3738
|
+
id?: string;
|
|
3739
|
+
created_at?: string;
|
|
3740
|
+
updated_at?: string;
|
|
3741
|
+
deleted_at?: string;
|
|
3742
|
+
parent_id?: string;
|
|
3743
|
+
name: string;
|
|
3744
|
+
label?: string;
|
|
3745
|
+
min?: number;
|
|
3746
|
+
max?: number;
|
|
3747
|
+
is_active?: boolean;
|
|
3748
|
+
brand_id: string;
|
|
3749
|
+
applied_diff_snapshot?: any;
|
|
3750
|
+
version?: number;
|
|
3751
|
+
brand?: DraftBrandDTO;
|
|
3752
|
+
changes?: ModifierGroupChangeDTO[];
|
|
3753
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
3754
|
+
permissions?: any;
|
|
3755
|
+
[index: string]: any;
|
|
3756
|
+
}
|
|
3757
|
+
export interface PostMenuV3DraftModifierGroupDuplicateRequest extends BaseRequest, PostMenuV3DraftModifierGroupDuplicatePath {
|
|
3758
|
+
}
|
|
3691
3759
|
export interface GetMenuV3ModifierGroupPath {
|
|
3692
3760
|
id: string;
|
|
3693
3761
|
}
|
|
@@ -3703,12 +3771,14 @@ export interface GetMenuV3ModifierGroupRequest extends BaseRequest, RequestQuery
|
|
|
3703
3771
|
export interface GetMenuV3ModifierGroupsQuery {
|
|
3704
3772
|
select?: string[];
|
|
3705
3773
|
relationships?: string[];
|
|
3706
|
-
filter?:
|
|
3774
|
+
filter?: {
|
|
3775
|
+
[index: string]: any;
|
|
3776
|
+
};
|
|
3707
3777
|
limit?: number;
|
|
3708
3778
|
page?: number;
|
|
3709
3779
|
sort_by?: string;
|
|
3710
|
-
sort_order?:
|
|
3711
|
-
soft_deleted?:
|
|
3780
|
+
sort_order?: "DESC" | "ASC";
|
|
3781
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
3712
3782
|
_query?: string;
|
|
3713
3783
|
nocache?: boolean;
|
|
3714
3784
|
}
|
|
@@ -3720,7 +3790,9 @@ export interface GetMenuV3ModifierGroupsResponse {
|
|
|
3720
3790
|
export interface GetMenuV3ModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupsQuery> {
|
|
3721
3791
|
}
|
|
3722
3792
|
export interface GetMenuV3ModifierGroupsCountQuery {
|
|
3723
|
-
filter?:
|
|
3793
|
+
filter?: {
|
|
3794
|
+
[index: string]: any;
|
|
3795
|
+
};
|
|
3724
3796
|
_query?: string;
|
|
3725
3797
|
nocache?: boolean;
|
|
3726
3798
|
}
|
|
@@ -3798,12 +3870,14 @@ export interface DeleteMenuV3DraftModifierGroupRelationshipsModifierRequest exte
|
|
|
3798
3870
|
export interface GetMenuV3DraftModifierGroupRelationshipsModifiersQuery {
|
|
3799
3871
|
select?: string[];
|
|
3800
3872
|
relationships?: string[];
|
|
3801
|
-
filter?:
|
|
3873
|
+
filter?: {
|
|
3874
|
+
[index: string]: any;
|
|
3875
|
+
};
|
|
3802
3876
|
limit?: number;
|
|
3803
3877
|
page?: number;
|
|
3804
3878
|
sort_by?: string;
|
|
3805
|
-
sort_order?:
|
|
3806
|
-
soft_deleted?:
|
|
3879
|
+
sort_order?: "DESC" | "ASC";
|
|
3880
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
3807
3881
|
_query?: string;
|
|
3808
3882
|
}
|
|
3809
3883
|
export interface GetMenuV3DraftModifierGroupRelationshipsModifiersResponse {
|
|
@@ -3840,7 +3914,9 @@ export interface PostMenuV3DraftModifierGroupRelationshipsModifiersRequest exten
|
|
|
3840
3914
|
body: PostMenuV3DraftModifierGroupRelationshipsModifiersBody;
|
|
3841
3915
|
}
|
|
3842
3916
|
export interface GetMenuV3DraftModifierGroupRelationshipsModifiersCountQuery {
|
|
3843
|
-
filter?:
|
|
3917
|
+
filter?: {
|
|
3918
|
+
[index: string]: any;
|
|
3919
|
+
};
|
|
3844
3920
|
_query?: string;
|
|
3845
3921
|
}
|
|
3846
3922
|
export interface GetMenuV3DraftModifierGroupRelationshipsModifiersCountResponse {
|
|
@@ -3864,12 +3940,14 @@ export interface GetMenuV3ModifierGroupRelationshipsModifierRequest extends Base
|
|
|
3864
3940
|
export interface GetMenuV3ModifierGroupRelationshipsModifiersQuery {
|
|
3865
3941
|
select?: string[];
|
|
3866
3942
|
relationships?: string[];
|
|
3867
|
-
filter?:
|
|
3943
|
+
filter?: {
|
|
3944
|
+
[index: string]: any;
|
|
3945
|
+
};
|
|
3868
3946
|
limit?: number;
|
|
3869
3947
|
page?: number;
|
|
3870
3948
|
sort_by?: string;
|
|
3871
|
-
sort_order?:
|
|
3872
|
-
soft_deleted?:
|
|
3949
|
+
sort_order?: "DESC" | "ASC";
|
|
3950
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
3873
3951
|
_query?: string;
|
|
3874
3952
|
nocache?: boolean;
|
|
3875
3953
|
}
|
|
@@ -3881,7 +3959,9 @@ export interface GetMenuV3ModifierGroupRelationshipsModifiersResponse {
|
|
|
3881
3959
|
export interface GetMenuV3ModifierGroupRelationshipsModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifiersQuery> {
|
|
3882
3960
|
}
|
|
3883
3961
|
export interface GetMenuV3ModifierGroupRelationshipsModifiersCountQuery {
|
|
3884
|
-
filter?:
|
|
3962
|
+
filter?: {
|
|
3963
|
+
[index: string]: any;
|
|
3964
|
+
};
|
|
3885
3965
|
_query?: string;
|
|
3886
3966
|
nocache?: boolean;
|
|
3887
3967
|
}
|
|
@@ -3894,7 +3974,6 @@ export interface GetMenuV3ModifierGroupRelationshipsModifiersCountRequest extend
|
|
|
3894
3974
|
export interface PostMenuV3DraftModifierBody {
|
|
3895
3975
|
parent?: DraftModifierDTO;
|
|
3896
3976
|
children?: DraftModifierDTO[];
|
|
3897
|
-
posid_segment?: POSIDSegmentDTO;
|
|
3898
3977
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
3899
3978
|
parent_id?: string;
|
|
3900
3979
|
name: string;
|
|
@@ -3906,6 +3985,7 @@ export interface PostMenuV3DraftModifierBody {
|
|
|
3906
3985
|
is_active?: boolean;
|
|
3907
3986
|
posid?: string;
|
|
3908
3987
|
reporting: ReportingMetadataDTO;
|
|
3988
|
+
posid_segment?: string;
|
|
3909
3989
|
brand_id: string;
|
|
3910
3990
|
id?: any;
|
|
3911
3991
|
applied_diff_snapshot?: any;
|
|
@@ -3937,7 +4017,6 @@ export interface PatchMenuV3DraftModifierPath {
|
|
|
3937
4017
|
export interface PatchMenuV3DraftModifierBody {
|
|
3938
4018
|
parent?: DraftModifierDTO;
|
|
3939
4019
|
children?: DraftModifierDTO[];
|
|
3940
|
-
posid_segment?: POSIDSegmentDTO;
|
|
3941
4020
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
3942
4021
|
id?: string;
|
|
3943
4022
|
parent_id?: string;
|
|
@@ -3950,6 +4029,7 @@ export interface PatchMenuV3DraftModifierBody {
|
|
|
3950
4029
|
is_active?: boolean;
|
|
3951
4030
|
posid?: string;
|
|
3952
4031
|
reporting?: ReportingMetadataDTO;
|
|
4032
|
+
posid_segment?: string;
|
|
3953
4033
|
brand_id?: string;
|
|
3954
4034
|
applied_diff_snapshot?: any;
|
|
3955
4035
|
version?: number;
|
|
@@ -3973,12 +4053,14 @@ export interface DeleteMenuV3DraftModifierRequest extends BaseRequest, DeleteMen
|
|
|
3973
4053
|
export interface GetMenuV3DraftModifiersQuery {
|
|
3974
4054
|
select?: string[];
|
|
3975
4055
|
relationships?: string[];
|
|
3976
|
-
filter?:
|
|
4056
|
+
filter?: {
|
|
4057
|
+
[index: string]: any;
|
|
4058
|
+
};
|
|
3977
4059
|
limit?: number;
|
|
3978
4060
|
page?: number;
|
|
3979
4061
|
sort_by?: string;
|
|
3980
|
-
sort_order?:
|
|
3981
|
-
soft_deleted?:
|
|
4062
|
+
sort_order?: "DESC" | "ASC";
|
|
4063
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
3982
4064
|
_query?: string;
|
|
3983
4065
|
}
|
|
3984
4066
|
export interface GetMenuV3DraftModifiersResponse {
|
|
@@ -3991,7 +4073,6 @@ export interface GetMenuV3DraftModifiersRequest extends BaseRequest, RequestQuer
|
|
|
3991
4073
|
export type PostMenuV3DraftModifiersBody = {
|
|
3992
4074
|
parent?: DraftModifierDTO;
|
|
3993
4075
|
children?: DraftModifierDTO[];
|
|
3994
|
-
posid_segment?: POSIDSegmentDTO;
|
|
3995
4076
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
3996
4077
|
parent_id?: string;
|
|
3997
4078
|
name: string;
|
|
@@ -4003,6 +4084,7 @@ export type PostMenuV3DraftModifiersBody = {
|
|
|
4003
4084
|
is_active?: boolean;
|
|
4004
4085
|
posid?: string;
|
|
4005
4086
|
reporting: ReportingMetadataDTO;
|
|
4087
|
+
posid_segment?: string;
|
|
4006
4088
|
brand_id: string;
|
|
4007
4089
|
id?: any;
|
|
4008
4090
|
applied_diff_snapshot?: any;
|
|
@@ -4022,7 +4104,9 @@ export interface PostMenuV3DraftModifiersRequest extends BaseRequest {
|
|
|
4022
4104
|
body: PostMenuV3DraftModifiersBody;
|
|
4023
4105
|
}
|
|
4024
4106
|
export interface GetMenuV3DraftModifiersCountQuery {
|
|
4025
|
-
filter?:
|
|
4107
|
+
filter?: {
|
|
4108
|
+
[index: string]: any;
|
|
4109
|
+
};
|
|
4026
4110
|
_query?: string;
|
|
4027
4111
|
}
|
|
4028
4112
|
export interface GetMenuV3DraftModifiersCountResponse {
|
|
@@ -4035,7 +4119,6 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
|
4035
4119
|
id_list: any[];
|
|
4036
4120
|
parent?: DraftModifierDTO;
|
|
4037
4121
|
children?: DraftModifierDTO[];
|
|
4038
|
-
posid_segment?: POSIDSegmentDTO;
|
|
4039
4122
|
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
4040
4123
|
id?: string;
|
|
4041
4124
|
parent_id?: string;
|
|
@@ -4048,6 +4131,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
|
|
|
4048
4131
|
is_active?: boolean;
|
|
4049
4132
|
posid?: string;
|
|
4050
4133
|
reporting?: ReportingMetadataDTO;
|
|
4134
|
+
posid_segment?: string;
|
|
4051
4135
|
brand_id?: string;
|
|
4052
4136
|
applied_diff_snapshot?: any;
|
|
4053
4137
|
brand?: DraftBrandDTO;
|
|
@@ -4078,12 +4162,14 @@ export interface GetMenuV3ModifierRequest extends BaseRequest, RequestQuery<GetM
|
|
|
4078
4162
|
export interface GetMenuV3ModifiersQuery {
|
|
4079
4163
|
select?: string[];
|
|
4080
4164
|
relationships?: string[];
|
|
4081
|
-
filter?:
|
|
4165
|
+
filter?: {
|
|
4166
|
+
[index: string]: any;
|
|
4167
|
+
};
|
|
4082
4168
|
limit?: number;
|
|
4083
4169
|
page?: number;
|
|
4084
4170
|
sort_by?: string;
|
|
4085
|
-
sort_order?:
|
|
4086
|
-
soft_deleted?:
|
|
4171
|
+
sort_order?: "DESC" | "ASC";
|
|
4172
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
4087
4173
|
_query?: string;
|
|
4088
4174
|
nocache?: boolean;
|
|
4089
4175
|
}
|
|
@@ -4095,7 +4181,9 @@ export interface GetMenuV3ModifiersResponse {
|
|
|
4095
4181
|
export interface GetMenuV3ModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3ModifiersQuery> {
|
|
4096
4182
|
}
|
|
4097
4183
|
export interface GetMenuV3ModifiersCountQuery {
|
|
4098
|
-
filter?:
|
|
4184
|
+
filter?: {
|
|
4185
|
+
[index: string]: any;
|
|
4186
|
+
};
|
|
4099
4187
|
_query?: string;
|
|
4100
4188
|
nocache?: boolean;
|
|
4101
4189
|
}
|
|
@@ -4123,7 +4211,7 @@ export interface GetMenuV3GlobalDiffQuery {
|
|
|
4123
4211
|
_query?: string;
|
|
4124
4212
|
}
|
|
4125
4213
|
export interface GetMenuV3GlobalDiffResponse {
|
|
4126
|
-
action:
|
|
4214
|
+
action: "create" | "update" | "delete";
|
|
4127
4215
|
id?: string;
|
|
4128
4216
|
created_at?: string;
|
|
4129
4217
|
updated_at?: string;
|
|
@@ -4148,12 +4236,14 @@ export interface GetMenuV3GlobalDiffRequest extends BaseRequest, RequestQuery<Ge
|
|
|
4148
4236
|
export interface GetMenuV3GlobalDiffsQuery {
|
|
4149
4237
|
select?: string[];
|
|
4150
4238
|
relationships?: string[];
|
|
4151
|
-
filter?:
|
|
4239
|
+
filter?: {
|
|
4240
|
+
[index: string]: any;
|
|
4241
|
+
};
|
|
4152
4242
|
limit?: number;
|
|
4153
4243
|
page?: number;
|
|
4154
4244
|
sort_by?: string;
|
|
4155
|
-
sort_order?:
|
|
4156
|
-
soft_deleted?:
|
|
4245
|
+
sort_order?: "DESC" | "ASC";
|
|
4246
|
+
soft_deleted?: "include" | "exclude" | "only";
|
|
4157
4247
|
_query?: string;
|
|
4158
4248
|
}
|
|
4159
4249
|
export interface GetMenuV3GlobalDiffsResponse {
|
|
@@ -4164,7 +4254,9 @@ export interface GetMenuV3GlobalDiffsResponse {
|
|
|
4164
4254
|
export interface GetMenuV3GlobalDiffsRequest extends BaseRequest, RequestQuery<GetMenuV3GlobalDiffsQuery> {
|
|
4165
4255
|
}
|
|
4166
4256
|
export interface GetMenuV3GlobalDiffsCountQuery {
|
|
4167
|
-
filter?:
|
|
4257
|
+
filter?: {
|
|
4258
|
+
[index: string]: any;
|
|
4259
|
+
};
|
|
4168
4260
|
_query?: string;
|
|
4169
4261
|
}
|
|
4170
4262
|
export interface GetMenuV3GlobalDiffsCountResponse {
|
|
@@ -4173,4 +4265,5 @@ export interface GetMenuV3GlobalDiffsCountResponse {
|
|
|
4173
4265
|
}
|
|
4174
4266
|
export interface GetMenuV3GlobalDiffsCountRequest extends BaseRequest, RequestQuery<GetMenuV3GlobalDiffsCountQuery> {
|
|
4175
4267
|
}
|
|
4268
|
+
export {};
|
|
4176
4269
|
//# sourceMappingURL=menu.d.ts.map
|