@compassdigital/sdk.typescript 3.59.0 → 3.61.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 +169 -453
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +164 -470
- package/lib/index.js.map +1 -1
- package/lib/interface/location.d.ts +4 -1
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +1214 -593
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/order.d.ts +0 -3
- package/lib/interface/order.d.ts.map +1 -1
- package/lib/interface/user.d.ts +9 -24
- package/lib/interface/user.d.ts.map +1 -1
- package/manifest.json +2 -10
- package/package.json +1 -1
- package/src/index.ts +484 -1265
- package/src/interface/location.ts +4 -1
- package/src/interface/menu.ts +1438 -816
- package/src/interface/order.ts +0 -4
- package/src/interface/user.ts +15 -44
- package/lib/interface/loyalty.d.ts +0 -372
- package/lib/interface/loyalty.d.ts.map +0 -1
- package/lib/interface/loyalty.js +0 -5
- package/lib/interface/loyalty.js.map +0 -1
- package/lib/interface/permission.d.ts +0 -148
- package/lib/interface/permission.d.ts.map +0 -1
- package/lib/interface/permission.js +0 -5
- package/lib/interface/permission.js.map +0 -1
- package/lib/interface/sms.d.ts +0 -2
- package/lib/interface/sms.d.ts.map +0 -1
- package/lib/interface/sms.js +0 -5
- package/lib/interface/sms.js.map +0 -1
- package/src/interface/loyalty.ts +0 -615
- package/src/interface/permission.ts +0 -256
- package/src/interface/sms.ts +0 -4
package/src/interface/menu.ts
CHANGED
|
@@ -301,48 +301,11 @@ export interface ZippedExcelExport {
|
|
|
301
301
|
format?: string;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export interface
|
|
305
|
-
id?: string;
|
|
306
|
-
parent_id?: string;
|
|
304
|
+
export interface GlobalMenuGroupDTO {
|
|
307
305
|
name?: string;
|
|
308
|
-
brand_id?: string;
|
|
309
|
-
station_id?: string;
|
|
310
|
-
[index: string]: any;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
export interface DraftItemDTO {
|
|
314
|
-
parent?: any;
|
|
315
|
-
children?: any[];
|
|
316
|
-
posid_segment?: POSIDSegmentDTO;
|
|
317
|
-
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
318
|
-
parent_id?: string;
|
|
319
|
-
name: string;
|
|
320
|
-
label?: string;
|
|
321
|
-
description?: string;
|
|
322
|
-
price: number;
|
|
323
|
-
barcode?: string;
|
|
324
|
-
calories?: number;
|
|
325
306
|
is_active?: boolean;
|
|
326
|
-
posid: string;
|
|
327
|
-
tax_tags?: any[];
|
|
328
|
-
brand_id: string;
|
|
329
|
-
station_id?: string;
|
|
330
|
-
id?: any;
|
|
331
|
-
brand?: DraftBrandDTO;
|
|
332
|
-
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
333
|
-
changes?: ItemChangeDTO[];
|
|
334
|
-
station?: StationDTO;
|
|
335
|
-
attachments?: FileAttachmentsDTO;
|
|
336
|
-
[index: string]: any;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
export interface POSIDSegmentDTO {
|
|
340
|
-
value?: string;
|
|
341
|
-
modifier_id?: string;
|
|
342
|
-
item_id?: string;
|
|
343
|
-
brand_id?: string;
|
|
344
|
-
brand_group_id?: string;
|
|
345
307
|
id?: string;
|
|
308
|
+
permissions?: any;
|
|
346
309
|
[index: string]: any;
|
|
347
310
|
}
|
|
348
311
|
|
|
@@ -354,122 +317,41 @@ export interface DraftBrandDTO {
|
|
|
354
317
|
type?: string;
|
|
355
318
|
parent_id?: string;
|
|
356
319
|
local_menu_group_id?: string;
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
export interface DraftCategoryToItemRelationshipDTO {
|
|
362
|
-
id?: string;
|
|
363
|
-
parent_id?: string;
|
|
364
|
-
item_id?: string;
|
|
365
|
-
category_id?: string;
|
|
366
|
-
brand_id?: string;
|
|
367
|
-
sequence?: number;
|
|
368
|
-
[index: string]: any;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
export interface DraftItemToModifierGroupRelationshipDTO {
|
|
372
|
-
id?: string;
|
|
373
|
-
parent_id?: string;
|
|
374
|
-
modifier_group_id?: string;
|
|
375
|
-
item_id?: string;
|
|
376
|
-
brand_id?: string;
|
|
377
|
-
sequence?: number;
|
|
378
|
-
[index: string]: any;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
export interface ItemChangeDTO {
|
|
382
|
-
id?: string;
|
|
383
|
-
insert?: any;
|
|
384
|
-
delete?: any;
|
|
385
|
-
snapshot_entity_id?: string;
|
|
320
|
+
global_menu_group_id?: string;
|
|
321
|
+
permissions?: any;
|
|
386
322
|
[index: string]: any;
|
|
387
323
|
}
|
|
388
324
|
|
|
389
|
-
export interface
|
|
325
|
+
export interface PublishedBrandDTO {
|
|
390
326
|
id?: string;
|
|
391
327
|
name?: string;
|
|
392
|
-
[index: string]: any;
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
export interface FileAttachmentsDTO {
|
|
396
|
-
thumbnail?: string;
|
|
397
|
-
id?: any;
|
|
398
|
-
[index: string]: any;
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
export interface DraftModifierGroupDTO {
|
|
402
|
-
parent?: any;
|
|
403
|
-
children?: any[];
|
|
404
|
-
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
405
|
-
items?: any[];
|
|
406
|
-
parent_id?: string;
|
|
407
|
-
name: string;
|
|
408
|
-
label?: string;
|
|
409
|
-
min?: number;
|
|
410
|
-
max?: number;
|
|
411
|
-
is_active?: boolean;
|
|
412
|
-
brand_id: string;
|
|
413
|
-
station_id?: string;
|
|
414
|
-
id?: any;
|
|
415
|
-
brand?: any;
|
|
416
|
-
changes?: ModifierGroupChangeDTO[];
|
|
417
|
-
station?: any;
|
|
418
|
-
[index: string]: any;
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
export interface DraftModifierGroupToModifierRelationshipDTO {
|
|
422
|
-
id?: string;
|
|
423
|
-
parent_id?: string;
|
|
424
|
-
modifier_id?: string;
|
|
425
|
-
modifier_group_id?: string;
|
|
426
|
-
brand_id?: string;
|
|
427
|
-
sequence?: number;
|
|
428
|
-
[index: string]: any;
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
export interface ModifierGroupChangeDTO {
|
|
432
|
-
id?: string;
|
|
433
|
-
insert?: any;
|
|
434
|
-
delete?: any;
|
|
435
|
-
snapshot_entity_id?: string;
|
|
436
|
-
[index: string]: any;
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
export interface DraftModifierDTO {
|
|
440
|
-
parent?: any;
|
|
441
|
-
children?: any[];
|
|
442
|
-
posid_segment?: any;
|
|
443
|
-
modifier_groups?: any[];
|
|
444
|
-
parent_id?: string;
|
|
445
|
-
name: string;
|
|
446
|
-
label?: string;
|
|
447
328
|
description?: string;
|
|
448
|
-
price: number;
|
|
449
|
-
calories?: number;
|
|
450
|
-
tax_tags?: any[];
|
|
451
329
|
is_active?: boolean;
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
changes?: ModifierChangeDTO[];
|
|
458
|
-
station?: any;
|
|
459
|
-
[index: string]: any;
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
export interface ModifierChangeDTO {
|
|
463
|
-
id?: string;
|
|
464
|
-
insert?: any;
|
|
465
|
-
delete?: any;
|
|
466
|
-
snapshot_entity_id?: string;
|
|
330
|
+
type?: string;
|
|
331
|
+
parent_id?: string;
|
|
332
|
+
local_menu_group_id?: string;
|
|
333
|
+
global_menu_group_id?: string;
|
|
334
|
+
permissions?: any;
|
|
467
335
|
[index: string]: any;
|
|
468
336
|
}
|
|
469
337
|
|
|
470
|
-
export interface
|
|
338
|
+
export interface VendorMetadataDTO {
|
|
471
339
|
id?: string;
|
|
340
|
+
vendor_name?: string;
|
|
472
341
|
name?: string;
|
|
342
|
+
value?: string;
|
|
343
|
+
global_menu_group_id?: string;
|
|
344
|
+
local_menu_group_id?: string;
|
|
345
|
+
brand_id?: string;
|
|
346
|
+
menu_id?: string;
|
|
347
|
+
category_id?: string;
|
|
348
|
+
category_to_item_relationship_id?: string;
|
|
349
|
+
item_id?: string;
|
|
350
|
+
item_to_modifier_group_relationship_id?: string;
|
|
351
|
+
modifier_group_id?: string;
|
|
352
|
+
modifier_group_to_modifier_relationship_id?: string;
|
|
353
|
+
modifier_id?: string;
|
|
354
|
+
permissions?: any;
|
|
473
355
|
[index: string]: any;
|
|
474
356
|
}
|
|
475
357
|
|
|
@@ -507,18 +389,18 @@ export interface NotFoundErrorDTO {
|
|
|
507
389
|
|
|
508
390
|
export interface FilterFieldDTO {
|
|
509
391
|
// Alternatively you can pass in the value directly (like '{ key: value }' instead of '{ key : { $equal : value } }
|
|
510
|
-
$equals?:
|
|
511
|
-
$more_than?:
|
|
512
|
-
$more_than_or_equal?:
|
|
513
|
-
$less_than?:
|
|
514
|
-
$less_than_or_equal?:
|
|
392
|
+
$equals?: string;
|
|
393
|
+
$more_than?: string;
|
|
394
|
+
$more_than_or_equal?: string;
|
|
395
|
+
$less_than?: string;
|
|
396
|
+
$less_than_or_equal?: string;
|
|
515
397
|
// Accepts two 'range' values passed in an array (like '{ key : { $between : [ '2020-01-01', '2021-01-01' ] } }')
|
|
516
|
-
$between?:
|
|
398
|
+
$between?: string[];
|
|
517
399
|
// Can be combined with other operators (such as '{ key : { $not : { $more_than: 2 } } }')
|
|
518
|
-
$not?:
|
|
519
|
-
$in?:
|
|
520
|
-
$array_contains?:
|
|
521
|
-
$contains?:
|
|
400
|
+
$not?: string;
|
|
401
|
+
$in?: string[];
|
|
402
|
+
$array_contains?: string[];
|
|
403
|
+
$contains?: string;
|
|
522
404
|
}
|
|
523
405
|
|
|
524
406
|
export interface PaginationOptionsDTO {
|
|
@@ -550,76 +432,53 @@ export interface ListResponseMetadataDTO {
|
|
|
550
432
|
[index: string]: any;
|
|
551
433
|
}
|
|
552
434
|
|
|
553
|
-
export interface DraftCategoryDTO {
|
|
554
|
-
parent?: any;
|
|
555
|
-
children?: any[];
|
|
556
|
-
id?: string;
|
|
557
|
-
created_at?: FilterFieldDTO;
|
|
558
|
-
updated_at?: FilterFieldDTO;
|
|
559
|
-
deleted_at?: FilterFieldDTO;
|
|
560
|
-
parent_id?: string;
|
|
561
|
-
name: string;
|
|
562
|
-
label?: string;
|
|
563
|
-
sequence?: number;
|
|
564
|
-
is_active?: boolean;
|
|
565
|
-
brand_id: string;
|
|
566
|
-
layout_id: string;
|
|
567
|
-
version?: FilterFieldDTO;
|
|
568
|
-
layout?: DraftLayoutDTO;
|
|
569
|
-
items?: DraftCategoryToItemRelationshipDTO[];
|
|
570
|
-
brand?: DraftBrandDTO;
|
|
571
|
-
changes?: CategoryChangeDTO[];
|
|
572
|
-
[index: string]: any;
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
export interface CategoryChangeDTO {
|
|
576
|
-
id?: string;
|
|
577
|
-
insert?: FilterFieldDTO;
|
|
578
|
-
delete?: FilterFieldDTO;
|
|
579
|
-
snapshot_entity_id?: FilterFieldDTO;
|
|
580
|
-
snapshot_entity?: any;
|
|
581
|
-
[index: string]: any;
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
export interface LayoutChangeDTO {
|
|
585
|
-
id?: string;
|
|
586
|
-
insert?: FilterFieldDTO;
|
|
587
|
-
delete?: FilterFieldDTO;
|
|
588
|
-
snapshot_entity_id?: FilterFieldDTO;
|
|
589
|
-
snapshot_entity?: DraftLayoutDTO;
|
|
590
|
-
[index: string]: any;
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
export interface BrandGroupDTO {
|
|
594
|
-
name?: string;
|
|
595
|
-
is_active?: boolean;
|
|
596
|
-
id?: string;
|
|
597
|
-
[index: string]: any;
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
export interface PublishedBrandDTO {
|
|
601
|
-
id?: string;
|
|
602
|
-
name?: string;
|
|
603
|
-
description?: string;
|
|
604
|
-
is_active?: boolean;
|
|
605
|
-
type?: string;
|
|
606
|
-
parent_id?: string;
|
|
607
|
-
local_menu_group_id?: string;
|
|
608
|
-
brand_group_id?: string;
|
|
609
|
-
[index: string]: any;
|
|
610
|
-
}
|
|
611
|
-
|
|
612
435
|
export interface LocalMenuGroupDTO {
|
|
613
436
|
name: string;
|
|
614
437
|
is_active?: boolean;
|
|
615
|
-
|
|
438
|
+
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
616
439
|
draft_brands?: DraftBrandDTO[];
|
|
617
440
|
published_brands?: PublishedBrandDTO[];
|
|
618
|
-
id
|
|
441
|
+
id?: string;
|
|
619
442
|
created_at?: string;
|
|
620
443
|
updated_at?: string;
|
|
621
444
|
deleted_at?: string;
|
|
622
445
|
version?: number;
|
|
446
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
447
|
+
permissions?: any;
|
|
448
|
+
[index: string]: any;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
export interface DraftBrandDraftBrandDTO {
|
|
452
|
+
name?: FilterFieldDTO;
|
|
453
|
+
description?: FilterFieldDTO;
|
|
454
|
+
is_active?: FilterFieldDTO;
|
|
455
|
+
type?: FilterFieldDTO;
|
|
456
|
+
parent_id?: FilterFieldDTO;
|
|
457
|
+
local_menu_group_id?: FilterFieldDTO;
|
|
458
|
+
global_menu_group_id?: FilterFieldDTO;
|
|
459
|
+
id?: FilterFieldDTO;
|
|
460
|
+
version?: FilterFieldDTO;
|
|
461
|
+
created_at?: FilterFieldDTO;
|
|
462
|
+
updated_at?: FilterFieldDTO;
|
|
463
|
+
deleted_at?: FilterFieldDTO;
|
|
464
|
+
parent?: any;
|
|
465
|
+
children?: any[];
|
|
466
|
+
changes?: BrandChangeDTO[];
|
|
467
|
+
local_menu_group?: LocalMenuGroupDTO;
|
|
468
|
+
global_menu_group?: GlobalMenuGroupDTO;
|
|
469
|
+
posid_segment?: POSIDSegmentDTO;
|
|
470
|
+
menus?: any[];
|
|
471
|
+
categories?: any[];
|
|
472
|
+
category_to_item_relationships?: any[];
|
|
473
|
+
items?: any[];
|
|
474
|
+
item_to_modifier_group_relationships?: any[];
|
|
475
|
+
modifier_groups?: any[];
|
|
476
|
+
modifier_group_to_modifier_relationships?: any[];
|
|
477
|
+
modifiers?: any[];
|
|
478
|
+
statuses?: BrandStatusDTO[];
|
|
479
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
480
|
+
attachments?: any;
|
|
481
|
+
permissions?: FilterFieldDTO;
|
|
623
482
|
[index: string]: any;
|
|
624
483
|
}
|
|
625
484
|
|
|
@@ -628,51 +487,106 @@ export interface BrandChangeDTO {
|
|
|
628
487
|
insert?: FilterFieldDTO;
|
|
629
488
|
delete?: FilterFieldDTO;
|
|
630
489
|
snapshot_entity_id?: FilterFieldDTO;
|
|
631
|
-
snapshot_entity?:
|
|
490
|
+
snapshot_entity?: any;
|
|
491
|
+
permissions?: FilterFieldDTO;
|
|
632
492
|
[index: string]: any;
|
|
633
493
|
}
|
|
634
494
|
|
|
635
|
-
export interface
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
495
|
+
export interface POSIDSegmentDTO {
|
|
496
|
+
value?: string;
|
|
497
|
+
modifier_id?: string;
|
|
498
|
+
published_modifier?: PublishedModifierDTO;
|
|
499
|
+
draft_modifier?: DraftModifierDTO;
|
|
500
|
+
item_id?: string;
|
|
501
|
+
published_item?: any;
|
|
502
|
+
draft_item?: any;
|
|
503
|
+
brand_id?: string;
|
|
504
|
+
published_brand?: PublishedBrandDTO;
|
|
505
|
+
draft_brand?: any;
|
|
506
|
+
global_menu_group_id?: string;
|
|
507
|
+
global_menu_group?: GlobalMenuGroupDTO;
|
|
639
508
|
id?: string;
|
|
640
|
-
|
|
509
|
+
permissions?: FilterFieldDTO;
|
|
641
510
|
[index: string]: any;
|
|
642
511
|
}
|
|
643
512
|
|
|
644
|
-
export interface
|
|
513
|
+
export interface PublishedModifierDTO {
|
|
514
|
+
parent?: any;
|
|
515
|
+
children?: any[];
|
|
516
|
+
posid_segment?: any;
|
|
517
|
+
modifier_groups?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
645
518
|
id?: string;
|
|
646
519
|
parent_id?: string;
|
|
647
520
|
name?: string;
|
|
521
|
+
label?: string;
|
|
522
|
+
description?: string;
|
|
523
|
+
price?: number;
|
|
524
|
+
calories?: number;
|
|
525
|
+
tax_tags?: FilterFieldDTO[];
|
|
526
|
+
is_active?: boolean;
|
|
527
|
+
posid?: FilterFieldDTO;
|
|
648
528
|
brand_id?: string;
|
|
649
|
-
|
|
529
|
+
brand?: PublishedBrandDTO;
|
|
530
|
+
reporting?: any;
|
|
531
|
+
permissions?: FilterFieldDTO;
|
|
650
532
|
[index: string]: any;
|
|
651
533
|
}
|
|
652
534
|
|
|
653
|
-
export interface
|
|
535
|
+
export interface PublishedModifierGroupToModifierRelationshipDTO {
|
|
536
|
+
parent?: any;
|
|
537
|
+
children?: any[];
|
|
538
|
+
id?: string;
|
|
539
|
+
parent_id?: string;
|
|
540
|
+
modifier_id?: string;
|
|
541
|
+
modifier_group_id?: string;
|
|
542
|
+
brand_id?: FilterFieldDTO;
|
|
543
|
+
sequence?: number;
|
|
544
|
+
modifier_group?: PublishedModifierGroupDTO;
|
|
545
|
+
modifier?: any;
|
|
546
|
+
brand?: PublishedBrandDTO;
|
|
547
|
+
permissions?: FilterFieldDTO;
|
|
548
|
+
[index: string]: any;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
export interface PublishedModifierGroupDTO {
|
|
552
|
+
parent?: any;
|
|
553
|
+
children?: any[];
|
|
554
|
+
modifiers?: any[];
|
|
555
|
+
items?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
654
556
|
id?: string;
|
|
655
557
|
parent_id?: string;
|
|
656
558
|
name?: string;
|
|
657
559
|
label?: string;
|
|
658
|
-
|
|
560
|
+
min?: number;
|
|
561
|
+
max?: number;
|
|
659
562
|
is_active?: boolean;
|
|
660
563
|
brand_id?: string;
|
|
661
|
-
|
|
564
|
+
brand?: PublishedBrandDTO;
|
|
565
|
+
permissions?: FilterFieldDTO;
|
|
662
566
|
[index: string]: any;
|
|
663
567
|
}
|
|
664
568
|
|
|
665
|
-
export interface
|
|
569
|
+
export interface PublishedItemToModifierGroupRelationshipDTO {
|
|
570
|
+
parent?: any;
|
|
571
|
+
children?: any[];
|
|
666
572
|
id?: string;
|
|
667
573
|
parent_id?: string;
|
|
574
|
+
modifier_group_id?: string;
|
|
668
575
|
item_id?: string;
|
|
669
|
-
|
|
670
|
-
brand_id?: string;
|
|
576
|
+
brand_id?: FilterFieldDTO;
|
|
671
577
|
sequence?: number;
|
|
578
|
+
item?: PublishedItemDTO;
|
|
579
|
+
modifier_group?: any;
|
|
580
|
+
brand?: PublishedBrandDTO;
|
|
581
|
+
permissions?: FilterFieldDTO;
|
|
672
582
|
[index: string]: any;
|
|
673
583
|
}
|
|
674
584
|
|
|
675
585
|
export interface PublishedItemDTO {
|
|
586
|
+
parent?: any;
|
|
587
|
+
children?: any[];
|
|
588
|
+
posid_segment?: any;
|
|
589
|
+
modifier_groups?: any[];
|
|
676
590
|
id?: string;
|
|
677
591
|
parent_id?: string;
|
|
678
592
|
name?: string;
|
|
@@ -682,24 +596,130 @@ export interface PublishedItemDTO {
|
|
|
682
596
|
barcode?: string;
|
|
683
597
|
calories?: number;
|
|
684
598
|
is_active?: boolean;
|
|
685
|
-
posid?:
|
|
686
|
-
tax_tags?:
|
|
599
|
+
posid?: FilterFieldDTO;
|
|
600
|
+
tax_tags?: FilterFieldDTO[];
|
|
687
601
|
brand_id?: string;
|
|
688
|
-
|
|
602
|
+
brand?: PublishedBrandDTO;
|
|
603
|
+
categories?: PublishedCategoryToItemRelationshipDTO[];
|
|
604
|
+
reporting?: ReportingMetadataDTO;
|
|
605
|
+
attachments?: FileAttachmentsDTO;
|
|
606
|
+
permissions?: FilterFieldDTO;
|
|
689
607
|
[index: string]: any;
|
|
690
608
|
}
|
|
691
609
|
|
|
692
|
-
export interface
|
|
693
|
-
|
|
610
|
+
export interface PublishedCategoryToItemRelationshipDTO {
|
|
611
|
+
parent?: any;
|
|
612
|
+
children?: any[];
|
|
613
|
+
id?: string;
|
|
694
614
|
parent_id?: string;
|
|
695
|
-
modifier_group_id?: string;
|
|
696
615
|
item_id?: string;
|
|
616
|
+
category_id?: string;
|
|
617
|
+
brand_id?: FilterFieldDTO;
|
|
618
|
+
sequence?: number;
|
|
619
|
+
category?: PublishedCategoryDTO;
|
|
620
|
+
item?: any;
|
|
621
|
+
brand?: PublishedBrandDTO;
|
|
622
|
+
permissions?: FilterFieldDTO;
|
|
623
|
+
[index: string]: any;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
export interface PublishedCategoryDTO {
|
|
627
|
+
parent?: any;
|
|
628
|
+
children?: any[];
|
|
629
|
+
id?: string;
|
|
630
|
+
parent_id?: string;
|
|
631
|
+
name?: string;
|
|
632
|
+
label?: string;
|
|
633
|
+
sequence?: number;
|
|
634
|
+
is_active?: boolean;
|
|
635
|
+
brand_id?: string;
|
|
636
|
+
menu_id?: string;
|
|
637
|
+
menu?: PublishedMenuDTO;
|
|
638
|
+
items?: any[];
|
|
639
|
+
brand?: PublishedBrandDTO;
|
|
640
|
+
permissions?: FilterFieldDTO;
|
|
641
|
+
[index: string]: any;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
export interface PublishedMenuDTO {
|
|
645
|
+
parent?: any;
|
|
646
|
+
children?: any[];
|
|
647
|
+
categories?: any[];
|
|
648
|
+
id?: string;
|
|
649
|
+
parent_id?: string;
|
|
650
|
+
name?: string;
|
|
697
651
|
brand_id?: string;
|
|
652
|
+
brand?: PublishedBrandDTO;
|
|
653
|
+
permissions?: FilterFieldDTO;
|
|
654
|
+
[index: string]: any;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
export interface ReportingMetadataDTO {
|
|
658
|
+
category?: ReportingCategoryMetadataDTO;
|
|
659
|
+
id?: any;
|
|
660
|
+
[index: string]: any;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
export interface ReportingCategoryMetadataDTO {
|
|
664
|
+
primary?: string;
|
|
665
|
+
secondary?: FilterFieldDTO;
|
|
666
|
+
id?: any;
|
|
667
|
+
[index: string]: any;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
export interface FileAttachmentsDTO {
|
|
671
|
+
thumbnail?: FilterFieldDTO;
|
|
672
|
+
id?: any;
|
|
673
|
+
[index: string]: any;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
export interface DraftModifierDTO {
|
|
677
|
+
parent?: any;
|
|
678
|
+
children?: any[];
|
|
679
|
+
posid_segment?: any;
|
|
680
|
+
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
681
|
+
id?: string;
|
|
682
|
+
parent_id?: string;
|
|
683
|
+
name?: string;
|
|
684
|
+
label?: string;
|
|
685
|
+
description?: string;
|
|
686
|
+
price?: number;
|
|
687
|
+
calories?: number;
|
|
688
|
+
tax_tags?: FilterFieldDTO[];
|
|
689
|
+
is_active?: boolean;
|
|
690
|
+
posid?: FilterFieldDTO;
|
|
691
|
+
brand_id?: string;
|
|
692
|
+
brand?: any;
|
|
693
|
+
changes?: ModifierChangeDTO[];
|
|
694
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
695
|
+
reporting?: any;
|
|
696
|
+
permissions?: FilterFieldDTO;
|
|
697
|
+
[index: string]: any;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
export interface DraftModifierGroupToModifierRelationshipDTO {
|
|
701
|
+
parent?: any;
|
|
702
|
+
children?: any[];
|
|
703
|
+
id?: string;
|
|
704
|
+
parent_id?: string;
|
|
705
|
+
modifier_id?: string;
|
|
706
|
+
modifier_group_id?: string;
|
|
707
|
+
brand_id?: FilterFieldDTO;
|
|
698
708
|
sequence?: number;
|
|
709
|
+
modifier?: any;
|
|
710
|
+
modifier_group?: DraftModifierGroupDTO;
|
|
711
|
+
brand?: any;
|
|
712
|
+
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
713
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
714
|
+
permissions?: FilterFieldDTO;
|
|
699
715
|
[index: string]: any;
|
|
700
716
|
}
|
|
701
717
|
|
|
702
|
-
export interface
|
|
718
|
+
export interface DraftModifierGroupDTO {
|
|
719
|
+
parent?: any;
|
|
720
|
+
children?: any[];
|
|
721
|
+
modifiers?: any[];
|
|
722
|
+
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
703
723
|
id?: string;
|
|
704
724
|
parent_id?: string;
|
|
705
725
|
name?: string;
|
|
@@ -708,57 +728,656 @@ export interface PublishedModifierGroupDTO {
|
|
|
708
728
|
max?: number;
|
|
709
729
|
is_active?: boolean;
|
|
710
730
|
brand_id?: string;
|
|
711
|
-
|
|
731
|
+
brand?: any;
|
|
732
|
+
changes?: ModifierGroupChangeDTO[];
|
|
733
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
734
|
+
permissions?: FilterFieldDTO;
|
|
712
735
|
[index: string]: any;
|
|
713
736
|
}
|
|
714
737
|
|
|
715
|
-
export interface
|
|
738
|
+
export interface DraftItemToModifierGroupRelationshipDTO {
|
|
739
|
+
parent?: any;
|
|
740
|
+
children?: any[];
|
|
716
741
|
id?: string;
|
|
717
742
|
parent_id?: string;
|
|
718
|
-
modifier_id?: string;
|
|
719
743
|
modifier_group_id?: string;
|
|
720
|
-
|
|
744
|
+
item_id?: string;
|
|
745
|
+
brand_id?: FilterFieldDTO;
|
|
721
746
|
sequence?: number;
|
|
747
|
+
item?: DraftItemDTO;
|
|
748
|
+
modifier_group?: any;
|
|
749
|
+
brand?: any;
|
|
750
|
+
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
751
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
752
|
+
permissions?: FilterFieldDTO;
|
|
722
753
|
[index: string]: any;
|
|
723
754
|
}
|
|
724
755
|
|
|
725
|
-
export interface
|
|
756
|
+
export interface DraftItemDTO {
|
|
757
|
+
parent?: any;
|
|
758
|
+
children?: any[];
|
|
759
|
+
posid_segment?: any;
|
|
760
|
+
modifier_groups?: any[];
|
|
726
761
|
id?: string;
|
|
727
762
|
parent_id?: string;
|
|
728
763
|
name?: string;
|
|
729
764
|
label?: string;
|
|
730
765
|
description?: string;
|
|
731
766
|
price?: number;
|
|
767
|
+
barcode?: string;
|
|
732
768
|
calories?: number;
|
|
733
|
-
tax_tags?: any[];
|
|
734
769
|
is_active?: boolean;
|
|
735
|
-
posid?:
|
|
770
|
+
posid?: FilterFieldDTO;
|
|
771
|
+
tax_tags?: FilterFieldDTO[];
|
|
736
772
|
brand_id?: string;
|
|
737
|
-
|
|
773
|
+
brand?: any;
|
|
774
|
+
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
775
|
+
changes?: ItemChangeDTO[];
|
|
776
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
777
|
+
reporting?: any;
|
|
778
|
+
attachments?: any;
|
|
779
|
+
permissions?: FilterFieldDTO;
|
|
780
|
+
[index: string]: any;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
export interface DraftCategoryToItemRelationshipDTO {
|
|
784
|
+
parent?: any;
|
|
785
|
+
children?: any[];
|
|
786
|
+
id?: string;
|
|
787
|
+
parent_id?: string;
|
|
788
|
+
item_id?: string;
|
|
789
|
+
category_id?: string;
|
|
790
|
+
brand_id?: FilterFieldDTO;
|
|
791
|
+
sequence?: number;
|
|
792
|
+
category?: DraftCategoryDTO;
|
|
793
|
+
item?: any;
|
|
794
|
+
brand?: any;
|
|
795
|
+
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
796
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
797
|
+
permissions?: FilterFieldDTO;
|
|
798
|
+
[index: string]: any;
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
export interface DraftCategoryDTO {
|
|
802
|
+
parent?: any;
|
|
803
|
+
children?: any[];
|
|
804
|
+
id?: string;
|
|
805
|
+
parent_id?: string;
|
|
806
|
+
name?: string;
|
|
807
|
+
label?: string;
|
|
808
|
+
sequence?: number;
|
|
809
|
+
is_active?: boolean;
|
|
810
|
+
brand_id?: string;
|
|
811
|
+
menu_id?: string;
|
|
812
|
+
menu?: DraftMenuDTO;
|
|
813
|
+
items?: any[];
|
|
814
|
+
brand?: any;
|
|
815
|
+
changes?: CategoryChangeDTO[];
|
|
816
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
817
|
+
permissions?: FilterFieldDTO;
|
|
818
|
+
[index: string]: any;
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
export interface DraftMenuDTO {
|
|
822
|
+
parent?: any;
|
|
823
|
+
children?: any[];
|
|
824
|
+
categories?: any[];
|
|
825
|
+
id?: string;
|
|
826
|
+
parent_id?: string;
|
|
827
|
+
name?: string;
|
|
828
|
+
brand_id?: string;
|
|
829
|
+
brand?: any;
|
|
830
|
+
changes?: MenuChangeDTO[];
|
|
831
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
832
|
+
permissions?: FilterFieldDTO;
|
|
833
|
+
[index: string]: any;
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
export interface MenuChangeDTO {
|
|
837
|
+
id?: string;
|
|
838
|
+
insert?: FilterFieldDTO;
|
|
839
|
+
delete?: FilterFieldDTO;
|
|
840
|
+
snapshot_entity_id?: FilterFieldDTO;
|
|
841
|
+
snapshot_entity?: any;
|
|
842
|
+
permissions?: FilterFieldDTO;
|
|
843
|
+
[index: string]: any;
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
export interface CategoryChangeDTO {
|
|
847
|
+
id?: string;
|
|
848
|
+
insert?: FilterFieldDTO;
|
|
849
|
+
delete?: FilterFieldDTO;
|
|
850
|
+
snapshot_entity_id?: FilterFieldDTO;
|
|
851
|
+
snapshot_entity?: any;
|
|
852
|
+
permissions?: FilterFieldDTO;
|
|
738
853
|
[index: string]: any;
|
|
739
854
|
}
|
|
740
855
|
|
|
741
856
|
export interface CategoryToItemRelationshipChangeDTO {
|
|
742
857
|
id?: string;
|
|
743
|
-
insert?:
|
|
744
|
-
delete?:
|
|
745
|
-
snapshot_entity_id?:
|
|
858
|
+
insert?: FilterFieldDTO;
|
|
859
|
+
delete?: FilterFieldDTO;
|
|
860
|
+
snapshot_entity_id?: FilterFieldDTO;
|
|
861
|
+
snapshot_entity?: any;
|
|
862
|
+
permissions?: FilterFieldDTO;
|
|
863
|
+
[index: string]: any;
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
export interface ItemChangeDTO {
|
|
867
|
+
id?: string;
|
|
868
|
+
insert?: FilterFieldDTO;
|
|
869
|
+
delete?: FilterFieldDTO;
|
|
870
|
+
snapshot_entity_id?: FilterFieldDTO;
|
|
871
|
+
snapshot_entity?: any;
|
|
872
|
+
permissions?: FilterFieldDTO;
|
|
873
|
+
[index: string]: any;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
export interface ItemToModifierGroupRelationshipChangeDTO {
|
|
877
|
+
id?: string;
|
|
878
|
+
insert?: FilterFieldDTO;
|
|
879
|
+
delete?: FilterFieldDTO;
|
|
880
|
+
snapshot_entity_id?: FilterFieldDTO;
|
|
881
|
+
snapshot_entity?: any;
|
|
882
|
+
permissions?: FilterFieldDTO;
|
|
883
|
+
[index: string]: any;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
export interface ModifierGroupChangeDTO {
|
|
887
|
+
id?: string;
|
|
888
|
+
insert?: FilterFieldDTO;
|
|
889
|
+
delete?: FilterFieldDTO;
|
|
890
|
+
snapshot_entity_id?: FilterFieldDTO;
|
|
891
|
+
snapshot_entity?: any;
|
|
892
|
+
permissions?: FilterFieldDTO;
|
|
893
|
+
[index: string]: any;
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
export interface ModifierGroupToModifierRelationshipChangeDTO {
|
|
897
|
+
id?: string;
|
|
898
|
+
insert?: FilterFieldDTO;
|
|
899
|
+
delete?: FilterFieldDTO;
|
|
900
|
+
snapshot_entity_id?: FilterFieldDTO;
|
|
901
|
+
snapshot_entity?: any;
|
|
902
|
+
permissions?: FilterFieldDTO;
|
|
903
|
+
[index: string]: any;
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
export interface ModifierChangeDTO {
|
|
907
|
+
id?: string;
|
|
908
|
+
insert?: FilterFieldDTO;
|
|
909
|
+
delete?: FilterFieldDTO;
|
|
910
|
+
snapshot_entity_id?: FilterFieldDTO;
|
|
911
|
+
snapshot_entity?: any;
|
|
912
|
+
permissions?: FilterFieldDTO;
|
|
913
|
+
[index: string]: any;
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
export interface BrandStatusDTO {
|
|
917
|
+
brand_id?: FilterFieldDTO;
|
|
918
|
+
type?: string;
|
|
919
|
+
status?: string;
|
|
920
|
+
id?: string;
|
|
921
|
+
brand?: any;
|
|
922
|
+
permissions?: FilterFieldDTO;
|
|
923
|
+
[index: string]: any;
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
export interface DraftMenuDraftMenuDTO {
|
|
927
|
+
parent_id?: FilterFieldDTO;
|
|
928
|
+
name?: FilterFieldDTO;
|
|
929
|
+
brand_id?: FilterFieldDTO;
|
|
930
|
+
id?: FilterFieldDTO;
|
|
931
|
+
version?: FilterFieldDTO;
|
|
932
|
+
created_at?: FilterFieldDTO;
|
|
933
|
+
updated_at?: FilterFieldDTO;
|
|
934
|
+
deleted_at?: FilterFieldDTO;
|
|
935
|
+
parent?: any;
|
|
936
|
+
children?: any[];
|
|
937
|
+
categories?: DraftCategoryDTO[];
|
|
938
|
+
brand?: DraftBrandDTO;
|
|
939
|
+
changes?: MenuChangeDTO[];
|
|
940
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
941
|
+
permissions?: FilterFieldDTO;
|
|
942
|
+
[index: string]: any;
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
export interface DraftModifierDraftModifierDTO {
|
|
946
|
+
parent_id?: FilterFieldDTO;
|
|
947
|
+
name?: FilterFieldDTO;
|
|
948
|
+
label?: FilterFieldDTO;
|
|
949
|
+
description?: FilterFieldDTO;
|
|
950
|
+
price?: FilterFieldDTO;
|
|
951
|
+
calories?: FilterFieldDTO;
|
|
952
|
+
tax_tags?: FilterFieldDTO[];
|
|
953
|
+
is_active?: FilterFieldDTO;
|
|
954
|
+
posid?: FilterFieldDTO;
|
|
955
|
+
brand_id?: FilterFieldDTO;
|
|
956
|
+
id?: FilterFieldDTO;
|
|
957
|
+
version?: FilterFieldDTO;
|
|
958
|
+
created_at?: FilterFieldDTO;
|
|
959
|
+
updated_at?: FilterFieldDTO;
|
|
960
|
+
deleted_at?: FilterFieldDTO;
|
|
961
|
+
parent?: any;
|
|
962
|
+
children?: any[];
|
|
963
|
+
posid_segment?: POSIDSegmentDTO;
|
|
964
|
+
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
965
|
+
brand?: DraftBrandDTO;
|
|
966
|
+
changes?: ModifierChangeDTO[];
|
|
967
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
968
|
+
reporting?: ReportingMetadataDTO;
|
|
969
|
+
permissions?: FilterFieldDTO;
|
|
970
|
+
[index: string]: any;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
export interface DraftModifierGroupDraftModifierGroupDTO {
|
|
974
|
+
parent_id?: FilterFieldDTO;
|
|
975
|
+
name?: FilterFieldDTO;
|
|
976
|
+
label?: FilterFieldDTO;
|
|
977
|
+
min?: FilterFieldDTO;
|
|
978
|
+
max?: FilterFieldDTO;
|
|
979
|
+
is_active?: FilterFieldDTO;
|
|
980
|
+
brand_id?: FilterFieldDTO;
|
|
981
|
+
id?: FilterFieldDTO;
|
|
982
|
+
version?: FilterFieldDTO;
|
|
983
|
+
created_at?: FilterFieldDTO;
|
|
984
|
+
updated_at?: FilterFieldDTO;
|
|
985
|
+
deleted_at?: FilterFieldDTO;
|
|
986
|
+
parent?: any;
|
|
987
|
+
children?: any[];
|
|
988
|
+
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
989
|
+
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
990
|
+
brand?: DraftBrandDTO;
|
|
991
|
+
changes?: ModifierGroupChangeDTO[];
|
|
992
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
993
|
+
permissions?: FilterFieldDTO;
|
|
994
|
+
[index: string]: any;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
export interface DraftItemDraftItemDTO {
|
|
998
|
+
parent_id?: FilterFieldDTO;
|
|
999
|
+
name?: FilterFieldDTO;
|
|
1000
|
+
label?: FilterFieldDTO;
|
|
1001
|
+
description?: FilterFieldDTO;
|
|
1002
|
+
price?: FilterFieldDTO;
|
|
1003
|
+
barcode?: FilterFieldDTO;
|
|
1004
|
+
calories?: FilterFieldDTO;
|
|
1005
|
+
is_active?: FilterFieldDTO;
|
|
1006
|
+
posid?: FilterFieldDTO;
|
|
1007
|
+
tax_tags?: FilterFieldDTO[];
|
|
1008
|
+
brand_id?: FilterFieldDTO;
|
|
1009
|
+
id?: FilterFieldDTO;
|
|
1010
|
+
version?: FilterFieldDTO;
|
|
1011
|
+
created_at?: FilterFieldDTO;
|
|
1012
|
+
updated_at?: FilterFieldDTO;
|
|
1013
|
+
deleted_at?: FilterFieldDTO;
|
|
1014
|
+
parent?: any;
|
|
1015
|
+
children?: any[];
|
|
1016
|
+
posid_segment?: POSIDSegmentDTO;
|
|
1017
|
+
brand?: DraftBrandDTO;
|
|
1018
|
+
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
1019
|
+
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
1020
|
+
changes?: ItemChangeDTO[];
|
|
1021
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
1022
|
+
reporting?: ReportingMetadataDTO;
|
|
1023
|
+
attachments?: FileAttachmentsDTO;
|
|
1024
|
+
permissions?: FilterFieldDTO;
|
|
1025
|
+
[index: string]: any;
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
export interface ReportingCategorySuggestion {
|
|
1029
|
+
category?: string;
|
|
1030
|
+
occurrences?: number;
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
export interface DiffDTO {
|
|
1034
|
+
action: string;
|
|
1035
|
+
id?: string;
|
|
1036
|
+
created_at?: string;
|
|
1037
|
+
updated_at?: string;
|
|
1038
|
+
deleted_at?: string;
|
|
1039
|
+
child_nodes?: any[];
|
|
1040
|
+
name?: string;
|
|
1041
|
+
entity_type?: string;
|
|
1042
|
+
local_id?: string;
|
|
1043
|
+
changes?: any;
|
|
1044
|
+
local_snapshot?: any;
|
|
1045
|
+
global_id?: string;
|
|
1046
|
+
global_snapshot?: any;
|
|
1047
|
+
brand_id?: string;
|
|
1048
|
+
version?: number;
|
|
1049
|
+
depends_on?: GlobalDiffDependencyDTO[];
|
|
1050
|
+
is_depended_by?: any[];
|
|
1051
|
+
brand?: DraftBrandDTO;
|
|
1052
|
+
permissions?: any;
|
|
1053
|
+
[index: string]: any;
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
export interface GlobalDiffDependencyDTO {
|
|
1057
|
+
depends_on_id?: string;
|
|
1058
|
+
is_depended_by_id?: string;
|
|
1059
|
+
id?: string;
|
|
1060
|
+
depends_on?: GlobalDiffDTO;
|
|
1061
|
+
is_depended_by?: any;
|
|
1062
|
+
permissions?: any;
|
|
1063
|
+
[index: string]: any;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
export interface GlobalDiffDTO {
|
|
1067
|
+
action: string;
|
|
1068
|
+
id?: string;
|
|
1069
|
+
created_at?: string;
|
|
1070
|
+
updated_at?: string;
|
|
1071
|
+
deleted_at?: string;
|
|
1072
|
+
entity_type?: string;
|
|
1073
|
+
local_id?: string;
|
|
1074
|
+
changes?: any;
|
|
1075
|
+
local_snapshot?: any;
|
|
1076
|
+
global_id?: string;
|
|
1077
|
+
global_snapshot?: any;
|
|
1078
|
+
brand_id?: string;
|
|
1079
|
+
version?: number;
|
|
1080
|
+
depends_on?: any[];
|
|
1081
|
+
is_depended_by?: any[];
|
|
1082
|
+
brand?: DraftBrandDTO;
|
|
1083
|
+
permissions?: any;
|
|
1084
|
+
[index: string]: any;
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
export interface PublishedBrandPublishedBrandDTO {
|
|
1088
|
+
name?: FilterFieldDTO;
|
|
1089
|
+
description?: FilterFieldDTO;
|
|
1090
|
+
is_active?: FilterFieldDTO;
|
|
1091
|
+
type?: FilterFieldDTO;
|
|
1092
|
+
parent_id?: FilterFieldDTO;
|
|
1093
|
+
local_menu_group_id?: FilterFieldDTO;
|
|
1094
|
+
global_menu_group_id?: FilterFieldDTO;
|
|
1095
|
+
id?: FilterFieldDTO;
|
|
1096
|
+
version?: FilterFieldDTO;
|
|
1097
|
+
created_at?: FilterFieldDTO;
|
|
1098
|
+
updated_at?: FilterFieldDTO;
|
|
1099
|
+
deleted_at?: FilterFieldDTO;
|
|
1100
|
+
parent?: any;
|
|
1101
|
+
children?: any[];
|
|
1102
|
+
local_menu_group?: LocalMenuGroupDTO;
|
|
1103
|
+
global_menu_group?: GlobalMenuGroupDTO;
|
|
1104
|
+
posid_segment?: POSIDSegmentDTO;
|
|
1105
|
+
menus?: PublishedMenuDTO[];
|
|
1106
|
+
categories?: PublishedCategoryDTO[];
|
|
1107
|
+
category_to_item_relationships?: PublishedCategoryToItemRelationshipDTO[];
|
|
1108
|
+
items?: PublishedItemDTO[];
|
|
1109
|
+
item_to_modifier_group_relationships?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
1110
|
+
modifier_groups?: PublishedModifierGroupDTO[];
|
|
1111
|
+
modifier_group_to_modifier_relationships?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1112
|
+
modifiers?: PublishedModifierDTO[];
|
|
1113
|
+
attachments?: FileAttachmentsDTO;
|
|
1114
|
+
permissions?: FilterFieldDTO;
|
|
1115
|
+
[index: string]: any;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
export interface DraftCategoryDraftCategoryDTO {
|
|
1119
|
+
parent_id?: FilterFieldDTO;
|
|
1120
|
+
name?: FilterFieldDTO;
|
|
1121
|
+
label?: FilterFieldDTO;
|
|
1122
|
+
sequence?: FilterFieldDTO;
|
|
1123
|
+
is_active?: FilterFieldDTO;
|
|
1124
|
+
brand_id?: FilterFieldDTO;
|
|
1125
|
+
menu_id?: FilterFieldDTO;
|
|
1126
|
+
id?: FilterFieldDTO;
|
|
1127
|
+
version?: FilterFieldDTO;
|
|
1128
|
+
created_at?: FilterFieldDTO;
|
|
1129
|
+
updated_at?: FilterFieldDTO;
|
|
1130
|
+
deleted_at?: FilterFieldDTO;
|
|
1131
|
+
parent?: any;
|
|
1132
|
+
children?: any[];
|
|
1133
|
+
menu?: DraftMenuDTO;
|
|
1134
|
+
items?: DraftCategoryToItemRelationshipDTO[];
|
|
1135
|
+
brand?: DraftBrandDTO;
|
|
1136
|
+
changes?: CategoryChangeDTO[];
|
|
1137
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
1138
|
+
permissions?: FilterFieldDTO;
|
|
1139
|
+
[index: string]: any;
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
export interface PublishedMenuPublishedMenuDTO {
|
|
1143
|
+
parent_id?: FilterFieldDTO;
|
|
1144
|
+
name?: FilterFieldDTO;
|
|
1145
|
+
brand_id?: FilterFieldDTO;
|
|
1146
|
+
id?: FilterFieldDTO;
|
|
1147
|
+
version?: FilterFieldDTO;
|
|
1148
|
+
created_at?: FilterFieldDTO;
|
|
1149
|
+
updated_at?: FilterFieldDTO;
|
|
1150
|
+
deleted_at?: FilterFieldDTO;
|
|
1151
|
+
parent?: any;
|
|
1152
|
+
children?: any[];
|
|
1153
|
+
categories?: PublishedCategoryDTO[];
|
|
1154
|
+
brand?: PublishedBrandDTO;
|
|
1155
|
+
permissions?: FilterFieldDTO;
|
|
1156
|
+
[index: string]: any;
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
export interface PublishedCategoryPublishedCategoryDTO {
|
|
1160
|
+
parent_id?: FilterFieldDTO;
|
|
1161
|
+
name?: FilterFieldDTO;
|
|
1162
|
+
label?: FilterFieldDTO;
|
|
1163
|
+
sequence?: FilterFieldDTO;
|
|
1164
|
+
is_active?: FilterFieldDTO;
|
|
1165
|
+
brand_id?: FilterFieldDTO;
|
|
1166
|
+
menu_id?: FilterFieldDTO;
|
|
1167
|
+
id?: FilterFieldDTO;
|
|
1168
|
+
version?: FilterFieldDTO;
|
|
1169
|
+
created_at?: FilterFieldDTO;
|
|
1170
|
+
updated_at?: FilterFieldDTO;
|
|
1171
|
+
deleted_at?: FilterFieldDTO;
|
|
1172
|
+
parent?: any;
|
|
1173
|
+
children?: any[];
|
|
1174
|
+
menu?: PublishedMenuDTO;
|
|
1175
|
+
items?: PublishedCategoryToItemRelationshipDTO[];
|
|
1176
|
+
brand?: PublishedBrandDTO;
|
|
1177
|
+
permissions?: FilterFieldDTO;
|
|
1178
|
+
[index: string]: any;
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
export interface DraftCategoryToItemRelationshipDraftCategoryToItemRelationshipDTO {
|
|
1182
|
+
parent_id?: FilterFieldDTO;
|
|
1183
|
+
deleted_at?: FilterFieldDTO;
|
|
1184
|
+
item_id?: FilterFieldDTO;
|
|
1185
|
+
category_id?: FilterFieldDTO;
|
|
1186
|
+
brand_id?: FilterFieldDTO;
|
|
1187
|
+
sequence?: FilterFieldDTO;
|
|
1188
|
+
id?: FilterFieldDTO;
|
|
1189
|
+
version?: FilterFieldDTO;
|
|
1190
|
+
created_at?: FilterFieldDTO;
|
|
1191
|
+
updated_at?: FilterFieldDTO;
|
|
1192
|
+
parent?: any;
|
|
1193
|
+
children?: any[];
|
|
1194
|
+
category?: DraftCategoryDTO;
|
|
1195
|
+
item?: DraftItemDTO;
|
|
1196
|
+
brand?: DraftBrandDTO;
|
|
1197
|
+
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
1198
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
1199
|
+
permissions?: FilterFieldDTO;
|
|
1200
|
+
[index: string]: any;
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
export interface PublishedCategoryToItemRelationshipPublishedCategoryToItemRelationshipDTO {
|
|
1204
|
+
parent_id?: FilterFieldDTO;
|
|
1205
|
+
deleted_at?: FilterFieldDTO;
|
|
1206
|
+
item_id?: FilterFieldDTO;
|
|
1207
|
+
category_id?: FilterFieldDTO;
|
|
1208
|
+
brand_id?: FilterFieldDTO;
|
|
1209
|
+
sequence?: FilterFieldDTO;
|
|
1210
|
+
id?: FilterFieldDTO;
|
|
1211
|
+
version?: FilterFieldDTO;
|
|
1212
|
+
created_at?: FilterFieldDTO;
|
|
1213
|
+
updated_at?: FilterFieldDTO;
|
|
1214
|
+
parent?: any;
|
|
1215
|
+
children?: any[];
|
|
1216
|
+
category?: PublishedCategoryDTO;
|
|
1217
|
+
item?: PublishedItemDTO;
|
|
1218
|
+
brand?: PublishedBrandDTO;
|
|
1219
|
+
permissions?: FilterFieldDTO;
|
|
1220
|
+
[index: string]: any;
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
export interface PublishedItemPublishedItemDTO {
|
|
1224
|
+
parent_id?: FilterFieldDTO;
|
|
1225
|
+
name?: FilterFieldDTO;
|
|
1226
|
+
label?: FilterFieldDTO;
|
|
1227
|
+
description?: FilterFieldDTO;
|
|
1228
|
+
price?: FilterFieldDTO;
|
|
1229
|
+
barcode?: FilterFieldDTO;
|
|
1230
|
+
calories?: FilterFieldDTO;
|
|
1231
|
+
is_active?: FilterFieldDTO;
|
|
1232
|
+
posid?: FilterFieldDTO;
|
|
1233
|
+
tax_tags?: FilterFieldDTO[];
|
|
1234
|
+
brand_id?: FilterFieldDTO;
|
|
1235
|
+
id?: FilterFieldDTO;
|
|
1236
|
+
version?: FilterFieldDTO;
|
|
1237
|
+
created_at?: FilterFieldDTO;
|
|
1238
|
+
updated_at?: FilterFieldDTO;
|
|
1239
|
+
deleted_at?: FilterFieldDTO;
|
|
1240
|
+
parent?: any;
|
|
1241
|
+
children?: any[];
|
|
1242
|
+
posid_segment?: POSIDSegmentDTO;
|
|
1243
|
+
brand?: PublishedBrandDTO;
|
|
1244
|
+
categories?: PublishedCategoryToItemRelationshipDTO[];
|
|
1245
|
+
modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
1246
|
+
reporting?: ReportingMetadataDTO;
|
|
1247
|
+
attachments?: FileAttachmentsDTO;
|
|
1248
|
+
permissions?: FilterFieldDTO;
|
|
1249
|
+
[index: string]: any;
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
export interface DraftItemToModifierGroupRelationshipDraftItemToModifierGroupRelationshipDTO {
|
|
1253
|
+
parent_id?: FilterFieldDTO;
|
|
1254
|
+
deleted_at?: FilterFieldDTO;
|
|
1255
|
+
modifier_group_id?: FilterFieldDTO;
|
|
1256
|
+
item_id?: FilterFieldDTO;
|
|
1257
|
+
brand_id?: FilterFieldDTO;
|
|
1258
|
+
sequence?: FilterFieldDTO;
|
|
1259
|
+
id?: FilterFieldDTO;
|
|
1260
|
+
version?: FilterFieldDTO;
|
|
1261
|
+
created_at?: FilterFieldDTO;
|
|
1262
|
+
updated_at?: FilterFieldDTO;
|
|
1263
|
+
parent?: any;
|
|
1264
|
+
children?: any[];
|
|
1265
|
+
item?: DraftItemDTO;
|
|
1266
|
+
modifier_group?: DraftModifierGroupDTO;
|
|
1267
|
+
brand?: DraftBrandDTO;
|
|
1268
|
+
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
1269
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
1270
|
+
permissions?: FilterFieldDTO;
|
|
1271
|
+
[index: string]: any;
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
export interface PublishedItemToModifierGroupRelationshipPublishedItemToModifierGroupRelationshipDTO {
|
|
1275
|
+
parent_id?: FilterFieldDTO;
|
|
1276
|
+
deleted_at?: FilterFieldDTO;
|
|
1277
|
+
modifier_group_id?: FilterFieldDTO;
|
|
1278
|
+
item_id?: FilterFieldDTO;
|
|
1279
|
+
brand_id?: FilterFieldDTO;
|
|
1280
|
+
sequence?: FilterFieldDTO;
|
|
1281
|
+
id?: FilterFieldDTO;
|
|
1282
|
+
version?: FilterFieldDTO;
|
|
1283
|
+
created_at?: FilterFieldDTO;
|
|
1284
|
+
updated_at?: FilterFieldDTO;
|
|
1285
|
+
parent?: any;
|
|
1286
|
+
children?: any[];
|
|
1287
|
+
item?: PublishedItemDTO;
|
|
1288
|
+
modifier_group?: PublishedModifierGroupDTO;
|
|
1289
|
+
brand?: PublishedBrandDTO;
|
|
1290
|
+
permissions?: FilterFieldDTO;
|
|
1291
|
+
[index: string]: any;
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
export interface PublishedModifierGroupPublishedModifierGroupDTO {
|
|
1295
|
+
parent_id?: FilterFieldDTO;
|
|
1296
|
+
name?: FilterFieldDTO;
|
|
1297
|
+
label?: FilterFieldDTO;
|
|
1298
|
+
min?: FilterFieldDTO;
|
|
1299
|
+
max?: FilterFieldDTO;
|
|
1300
|
+
is_active?: FilterFieldDTO;
|
|
1301
|
+
brand_id?: FilterFieldDTO;
|
|
1302
|
+
id?: FilterFieldDTO;
|
|
1303
|
+
version?: FilterFieldDTO;
|
|
1304
|
+
created_at?: FilterFieldDTO;
|
|
1305
|
+
updated_at?: FilterFieldDTO;
|
|
1306
|
+
deleted_at?: FilterFieldDTO;
|
|
1307
|
+
parent?: any;
|
|
1308
|
+
children?: any[];
|
|
1309
|
+
modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1310
|
+
items?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
1311
|
+
brand?: PublishedBrandDTO;
|
|
1312
|
+
permissions?: FilterFieldDTO;
|
|
746
1313
|
[index: string]: any;
|
|
747
1314
|
}
|
|
748
1315
|
|
|
749
|
-
export interface
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
1316
|
+
export interface DraftModifierGroupToModifierRelationshipDraftModifierGroupToModifierRelationshipDTO {
|
|
1317
|
+
parent_id?: FilterFieldDTO;
|
|
1318
|
+
deleted_at?: FilterFieldDTO;
|
|
1319
|
+
modifier_id?: FilterFieldDTO;
|
|
1320
|
+
modifier_group_id?: FilterFieldDTO;
|
|
1321
|
+
brand_id?: FilterFieldDTO;
|
|
1322
|
+
sequence?: FilterFieldDTO;
|
|
1323
|
+
id?: FilterFieldDTO;
|
|
1324
|
+
version?: FilterFieldDTO;
|
|
1325
|
+
created_at?: FilterFieldDTO;
|
|
1326
|
+
updated_at?: FilterFieldDTO;
|
|
1327
|
+
parent?: any;
|
|
1328
|
+
children?: any[];
|
|
1329
|
+
modifier?: DraftModifierDTO;
|
|
1330
|
+
modifier_group?: DraftModifierGroupDTO;
|
|
1331
|
+
brand?: DraftBrandDTO;
|
|
1332
|
+
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
1333
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
1334
|
+
permissions?: FilterFieldDTO;
|
|
754
1335
|
[index: string]: any;
|
|
755
1336
|
}
|
|
756
1337
|
|
|
757
|
-
export interface
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
1338
|
+
export interface PublishedModifierGroupToModifierRelationshipPublishedModifierGroupToModifierRelationshipDTO {
|
|
1339
|
+
parent_id?: FilterFieldDTO;
|
|
1340
|
+
deleted_at?: FilterFieldDTO;
|
|
1341
|
+
modifier_id?: FilterFieldDTO;
|
|
1342
|
+
modifier_group_id?: FilterFieldDTO;
|
|
1343
|
+
brand_id?: FilterFieldDTO;
|
|
1344
|
+
sequence?: FilterFieldDTO;
|
|
1345
|
+
id?: FilterFieldDTO;
|
|
1346
|
+
version?: FilterFieldDTO;
|
|
1347
|
+
created_at?: FilterFieldDTO;
|
|
1348
|
+
updated_at?: FilterFieldDTO;
|
|
1349
|
+
parent?: any;
|
|
1350
|
+
children?: any[];
|
|
1351
|
+
modifier_group?: PublishedModifierGroupDTO;
|
|
1352
|
+
modifier?: PublishedModifierDTO;
|
|
1353
|
+
brand?: PublishedBrandDTO;
|
|
1354
|
+
permissions?: FilterFieldDTO;
|
|
1355
|
+
[index: string]: any;
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
export interface PublishedModifierPublishedModifierDTO {
|
|
1359
|
+
parent_id?: FilterFieldDTO;
|
|
1360
|
+
name?: FilterFieldDTO;
|
|
1361
|
+
label?: FilterFieldDTO;
|
|
1362
|
+
description?: FilterFieldDTO;
|
|
1363
|
+
price?: FilterFieldDTO;
|
|
1364
|
+
calories?: FilterFieldDTO;
|
|
1365
|
+
tax_tags?: FilterFieldDTO[];
|
|
1366
|
+
is_active?: FilterFieldDTO;
|
|
1367
|
+
posid?: FilterFieldDTO;
|
|
1368
|
+
brand_id?: FilterFieldDTO;
|
|
1369
|
+
id?: FilterFieldDTO;
|
|
1370
|
+
version?: FilterFieldDTO;
|
|
1371
|
+
created_at?: FilterFieldDTO;
|
|
1372
|
+
updated_at?: FilterFieldDTO;
|
|
1373
|
+
deleted_at?: FilterFieldDTO;
|
|
1374
|
+
parent?: any;
|
|
1375
|
+
children?: any[];
|
|
1376
|
+
posid_segment?: POSIDSegmentDTO;
|
|
1377
|
+
modifier_groups?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1378
|
+
brand?: PublishedBrandDTO;
|
|
1379
|
+
reporting?: ReportingMetadataDTO;
|
|
1380
|
+
permissions?: FilterFieldDTO;
|
|
762
1381
|
[index: string]: any;
|
|
763
1382
|
}
|
|
764
1383
|
|
|
@@ -1198,388 +1817,105 @@ export interface GetMenuExportRequest
|
|
|
1198
1817
|
RequestQuery<GetMenuExportQuery>,
|
|
1199
1818
|
GetMenuExportPath {}
|
|
1200
1819
|
|
|
1201
|
-
// GET /menu/partial/{id}/groups - Get an individual menu with its categories only partially loaded. (No items)
|
|
1202
|
-
|
|
1203
|
-
export interface GetMenuPartialGroupsPath {
|
|
1204
|
-
// menu; TODO: cannot use compassdigital.id as path parameter
|
|
1205
|
-
id: string;
|
|
1206
|
-
}
|
|
1207
|
-
|
|
1208
|
-
export interface GetMenuPartialGroupsQuery {
|
|
1209
|
-
// Show additional fields like company, sector, location_brand, overrides. Defaults to false
|
|
1210
|
-
extended?: boolean;
|
|
1211
|
-
// Show unlinked groups
|
|
1212
|
-
show_unlinked?: boolean;
|
|
1213
|
-
// Graphql query string
|
|
1214
|
-
_query?: string;
|
|
1215
|
-
}
|
|
1216
|
-
|
|
1217
|
-
export type GetMenuPartialGroupsResponse = Menu;
|
|
1218
|
-
|
|
1219
|
-
export interface GetMenuPartialGroupsRequest
|
|
1220
|
-
extends BaseRequest,
|
|
1221
|
-
RequestQuery<GetMenuPartialGroupsQuery>,
|
|
1222
|
-
GetMenuPartialGroupsPath {}
|
|
1223
|
-
|
|
1224
|
-
// GET /menu/partial/{id}/group/{group_id}/items - Get an individual menu with its categories only partially loaded. (No items)
|
|
1225
|
-
|
|
1226
|
-
export interface GetMenuPartialGroupItemsPath {
|
|
1227
|
-
// menu; TODO: cannot use compassdigital.id as path parameter
|
|
1228
|
-
id: string;
|
|
1229
|
-
// group; TODO: cannot use compassdigital.id as path parameter
|
|
1230
|
-
group_id: string;
|
|
1231
|
-
}
|
|
1232
|
-
|
|
1233
|
-
export interface GetMenuPartialGroupItemsQuery {
|
|
1234
|
-
// Show additional fields like hidden menu items, parent_id. Defaults to false
|
|
1235
|
-
extended?: boolean;
|
|
1236
|
-
// Graphql query string
|
|
1237
|
-
_query?: string;
|
|
1238
|
-
}
|
|
1239
|
-
|
|
1240
|
-
export type GetMenuPartialGroupItemsResponse = Items;
|
|
1241
|
-
|
|
1242
|
-
export interface GetMenuPartialGroupItemsRequest
|
|
1243
|
-
extends BaseRequest,
|
|
1244
|
-
RequestQuery<GetMenuPartialGroupItemsQuery>,
|
|
1245
|
-
GetMenuPartialGroupItemsPath {}
|
|
1246
|
-
|
|
1247
|
-
// POST /menu/partial/{id}/group/{group_id}/item/options - Get menu items's options
|
|
1248
|
-
|
|
1249
|
-
export interface PostMenuPartialGroupItemOptionsPath {
|
|
1250
|
-
// menu; TODO: cannot use compassdigital.id as path parameter
|
|
1251
|
-
id: string;
|
|
1252
|
-
// group; TODO: cannot use compassdigital.id as path parameter
|
|
1253
|
-
group_id: string;
|
|
1254
|
-
}
|
|
1255
|
-
|
|
1256
|
-
export interface PostMenuPartialGroupItemOptionsQuery {
|
|
1257
|
-
// Show additional fields like hidden menu items, parent_id. Defaults to false
|
|
1258
|
-
extended?: boolean;
|
|
1259
|
-
}
|
|
1260
|
-
|
|
1261
|
-
export interface PostMenuPartialGroupItemOptionsBody {
|
|
1262
|
-
item_id?: string[];
|
|
1263
|
-
}
|
|
1264
|
-
|
|
1265
|
-
export type PostMenuPartialGroupItemOptionsResponse = Items;
|
|
1266
|
-
|
|
1267
|
-
export interface PostMenuPartialGroupItemOptionsRequest
|
|
1268
|
-
extends BaseRequest,
|
|
1269
|
-
RequestQuery<PostMenuPartialGroupItemOptionsQuery>,
|
|
1270
|
-
PostMenuPartialGroupItemOptionsPath {
|
|
1271
|
-
body: PostMenuPartialGroupItemOptionsBody;
|
|
1272
|
-
}
|
|
1273
|
-
|
|
1274
|
-
// POST /menu/v3/draft/station
|
|
1275
|
-
|
|
1276
|
-
export interface PostMenuV3DraftStationBody {
|
|
1277
|
-
layouts?: DraftLayoutDTO[];
|
|
1278
|
-
items?: DraftItemDTO[];
|
|
1279
|
-
modifier_groups?: DraftModifierGroupDTO[];
|
|
1280
|
-
modifiers?: DraftModifierDTO[];
|
|
1281
|
-
name?: string;
|
|
1282
|
-
site?: SiteDTO;
|
|
1283
|
-
[index: string]: any;
|
|
1284
|
-
}
|
|
1285
|
-
|
|
1286
|
-
export type PostMenuV3DraftStationResponse = StationDTO;
|
|
1287
|
-
|
|
1288
|
-
export interface PostMenuV3DraftStationRequest extends BaseRequest {
|
|
1289
|
-
body: PostMenuV3DraftStationBody;
|
|
1290
|
-
}
|
|
1291
|
-
|
|
1292
|
-
// GET /menu/v3/draft/station/{id}
|
|
1293
|
-
|
|
1294
|
-
export interface GetMenuV3DraftStationPath {
|
|
1295
|
-
id: string;
|
|
1296
|
-
}
|
|
1297
|
-
|
|
1298
|
-
export interface GetMenuV3DraftStationQuery {
|
|
1299
|
-
// If specified, only the selected fields will be returned
|
|
1300
|
-
select?: string[];
|
|
1301
|
-
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
1302
|
-
relationships?: string[];
|
|
1303
|
-
// Graphql query string
|
|
1304
|
-
_query?: string;
|
|
1305
|
-
}
|
|
1306
|
-
|
|
1307
|
-
export type GetMenuV3DraftStationResponse = StationDTO;
|
|
1308
|
-
|
|
1309
|
-
export interface GetMenuV3DraftStationRequest
|
|
1310
|
-
extends BaseRequest,
|
|
1311
|
-
RequestQuery<GetMenuV3DraftStationQuery>,
|
|
1312
|
-
GetMenuV3DraftStationPath {}
|
|
1313
|
-
|
|
1314
|
-
// PATCH /menu/v3/draft/station/{id}
|
|
1315
|
-
|
|
1316
|
-
export interface PatchMenuV3DraftStationPath {
|
|
1317
|
-
id: string;
|
|
1318
|
-
}
|
|
1319
|
-
|
|
1320
|
-
export interface PatchMenuV3DraftStationBody {
|
|
1321
|
-
layouts?: DraftLayoutDTO[];
|
|
1322
|
-
items?: DraftItemDTO[];
|
|
1323
|
-
modifier_groups?: DraftModifierGroupDTO[];
|
|
1324
|
-
modifiers?: DraftModifierDTO[];
|
|
1325
|
-
id?: string;
|
|
1326
|
-
name?: string;
|
|
1327
|
-
site?: SiteDTO;
|
|
1328
|
-
[index: string]: any;
|
|
1329
|
-
}
|
|
1330
|
-
|
|
1331
|
-
export type PatchMenuV3DraftStationResponse = StationDTO;
|
|
1332
|
-
|
|
1333
|
-
export interface PatchMenuV3DraftStationRequest extends BaseRequest, PatchMenuV3DraftStationPath {
|
|
1334
|
-
body: PatchMenuV3DraftStationBody;
|
|
1335
|
-
}
|
|
1336
|
-
|
|
1337
|
-
// DELETE /menu/v3/draft/station/{id}
|
|
1338
|
-
|
|
1339
|
-
export interface DeleteMenuV3DraftStationPath {
|
|
1340
|
-
id: string;
|
|
1341
|
-
}
|
|
1342
|
-
|
|
1343
|
-
export type DeleteMenuV3DraftStationResponse = StationDTO;
|
|
1344
|
-
|
|
1345
|
-
export interface DeleteMenuV3DraftStationRequest
|
|
1346
|
-
extends BaseRequest,
|
|
1347
|
-
DeleteMenuV3DraftStationPath {}
|
|
1348
|
-
|
|
1349
|
-
// GET /menu/v3/draft/stations
|
|
1350
|
-
|
|
1351
|
-
export interface GetMenuV3DraftStationsQuery {
|
|
1352
|
-
// If specified, only the selected fields will be returned
|
|
1353
|
-
select?: string[];
|
|
1354
|
-
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
1355
|
-
relationships?: string[];
|
|
1356
|
-
// The fields that filtering is allowed on
|
|
1357
|
-
filter?: any;
|
|
1358
|
-
// Number of records to load per page
|
|
1359
|
-
limit?: number;
|
|
1360
|
-
page?: number;
|
|
1361
|
-
// A field to sort the results based on
|
|
1362
|
-
sort_by?: string;
|
|
1363
|
-
sort_order?: string;
|
|
1364
|
-
// How soft deleted records should be shown in the list
|
|
1365
|
-
soft_deleted?: string;
|
|
1366
|
-
// Graphql query string
|
|
1367
|
-
_query?: string;
|
|
1368
|
-
}
|
|
1369
|
-
|
|
1370
|
-
export interface GetMenuV3DraftStationsResponse {
|
|
1371
|
-
results: StationDTO[];
|
|
1372
|
-
meta?: ListResponseMetadataDTO;
|
|
1373
|
-
[index: string]: any;
|
|
1374
|
-
}
|
|
1375
|
-
|
|
1376
|
-
export interface GetMenuV3DraftStationsRequest
|
|
1377
|
-
extends BaseRequest,
|
|
1378
|
-
RequestQuery<GetMenuV3DraftStationsQuery> {}
|
|
1379
|
-
|
|
1380
|
-
// POST /menu/v3/draft/stations
|
|
1381
|
-
|
|
1382
|
-
export type PostMenuV3DraftStationsBody = {
|
|
1383
|
-
layouts?: DraftLayoutDTO[];
|
|
1384
|
-
items?: DraftItemDTO[];
|
|
1385
|
-
modifier_groups?: DraftModifierGroupDTO[];
|
|
1386
|
-
modifiers?: DraftModifierDTO[];
|
|
1387
|
-
name?: string;
|
|
1388
|
-
site?: SiteDTO;
|
|
1389
|
-
[index: string]: any;
|
|
1390
|
-
}[];
|
|
1391
|
-
|
|
1392
|
-
export interface PostMenuV3DraftStationsResponse {
|
|
1393
|
-
results: StationDTO[];
|
|
1394
|
-
meta?: ListResponseMetadataDTO;
|
|
1395
|
-
[index: string]: any;
|
|
1396
|
-
}
|
|
1397
|
-
|
|
1398
|
-
export interface PostMenuV3DraftStationsRequest extends BaseRequest {
|
|
1399
|
-
body: PostMenuV3DraftStationsBody;
|
|
1400
|
-
}
|
|
1401
|
-
|
|
1402
|
-
// GET /menu/v3/draft/stations/count
|
|
1403
|
-
|
|
1404
|
-
export interface GetMenuV3DraftStationsCountQuery {
|
|
1405
|
-
// The fields that filtering is allowed on
|
|
1406
|
-
filter?: any;
|
|
1407
|
-
// Graphql query string
|
|
1408
|
-
_query?: string;
|
|
1409
|
-
}
|
|
1410
|
-
|
|
1411
|
-
export interface GetMenuV3DraftStationsCountResponse {
|
|
1412
|
-
count: number;
|
|
1413
|
-
[index: string]: any;
|
|
1414
|
-
}
|
|
1415
|
-
|
|
1416
|
-
export interface GetMenuV3DraftStationsCountRequest
|
|
1417
|
-
extends BaseRequest,
|
|
1418
|
-
RequestQuery<GetMenuV3DraftStationsCountQuery> {}
|
|
1419
|
-
|
|
1420
|
-
// GET /menu/v3/draft/station/{id}/modifiers
|
|
1421
|
-
|
|
1422
|
-
export interface GetMenuV3DraftStationModifiersPath {
|
|
1423
|
-
id: string;
|
|
1424
|
-
}
|
|
1425
|
-
|
|
1426
|
-
export interface GetMenuV3DraftStationModifiersQuery {
|
|
1427
|
-
// If specified, only the selected fields will be returned
|
|
1428
|
-
select?: string[];
|
|
1429
|
-
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
1430
|
-
relationships?: string[];
|
|
1431
|
-
filter?: any;
|
|
1432
|
-
// Number of records to load per page
|
|
1433
|
-
limit?: number;
|
|
1434
|
-
page?: number;
|
|
1435
|
-
// A field to sort the results based on
|
|
1436
|
-
sort_by?: string;
|
|
1437
|
-
sort_order?: string;
|
|
1438
|
-
// How soft deleted records should be shown in the list
|
|
1439
|
-
soft_deleted?: string;
|
|
1440
|
-
// Graphql query string
|
|
1441
|
-
_query?: string;
|
|
1442
|
-
}
|
|
1443
|
-
|
|
1444
|
-
export interface GetMenuV3DraftStationModifiersResponse {
|
|
1445
|
-
results: DraftModifierDTO[];
|
|
1446
|
-
meta?: ListResponseMetadataDTO;
|
|
1447
|
-
[index: string]: any;
|
|
1448
|
-
}
|
|
1449
|
-
|
|
1450
|
-
export interface GetMenuV3DraftStationModifiersRequest
|
|
1451
|
-
extends BaseRequest,
|
|
1452
|
-
RequestQuery<GetMenuV3DraftStationModifiersQuery>,
|
|
1453
|
-
GetMenuV3DraftStationModifiersPath {}
|
|
1454
|
-
|
|
1455
|
-
// GET /menu/v3/draft/station/{id}/modifier_groups
|
|
1456
|
-
|
|
1457
|
-
export interface GetMenuV3DraftStationModifierGroupsPath {
|
|
1458
|
-
id: string;
|
|
1459
|
-
}
|
|
1460
|
-
|
|
1461
|
-
export interface GetMenuV3DraftStationModifierGroupsQuery {
|
|
1462
|
-
// If specified, only the selected fields will be returned
|
|
1463
|
-
select?: string[];
|
|
1464
|
-
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
1465
|
-
relationships?: string[];
|
|
1466
|
-
filter?: any;
|
|
1467
|
-
// Number of records to load per page
|
|
1468
|
-
limit?: number;
|
|
1469
|
-
page?: number;
|
|
1470
|
-
// A field to sort the results based on
|
|
1471
|
-
sort_by?: string;
|
|
1472
|
-
sort_order?: string;
|
|
1473
|
-
// How soft deleted records should be shown in the list
|
|
1474
|
-
soft_deleted?: string;
|
|
1820
|
+
// GET /menu/partial/{id}/groups - Get an individual menu with its categories only partially loaded. (No items)
|
|
1821
|
+
|
|
1822
|
+
export interface GetMenuPartialGroupsPath {
|
|
1823
|
+
// menu; TODO: cannot use compassdigital.id as path parameter
|
|
1824
|
+
id: string;
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
export interface GetMenuPartialGroupsQuery {
|
|
1828
|
+
// Show additional fields like company, sector, location_brand, overrides. Defaults to false
|
|
1829
|
+
extended?: boolean;
|
|
1830
|
+
// Show unlinked groups
|
|
1831
|
+
show_unlinked?: boolean;
|
|
1475
1832
|
// Graphql query string
|
|
1476
1833
|
_query?: string;
|
|
1477
1834
|
}
|
|
1478
1835
|
|
|
1479
|
-
export
|
|
1480
|
-
results: DraftModifierGroupDTO[];
|
|
1481
|
-
meta?: ListResponseMetadataDTO;
|
|
1482
|
-
[index: string]: any;
|
|
1483
|
-
}
|
|
1836
|
+
export type GetMenuPartialGroupsResponse = Menu;
|
|
1484
1837
|
|
|
1485
|
-
export interface
|
|
1838
|
+
export interface GetMenuPartialGroupsRequest
|
|
1486
1839
|
extends BaseRequest,
|
|
1487
|
-
RequestQuery<
|
|
1488
|
-
|
|
1840
|
+
RequestQuery<GetMenuPartialGroupsQuery>,
|
|
1841
|
+
GetMenuPartialGroupsPath {}
|
|
1489
1842
|
|
|
1490
|
-
// GET /menu/
|
|
1843
|
+
// GET /menu/partial/{id}/group/{group_id}/items - Get an individual menu with its categories only partially loaded. (No items)
|
|
1491
1844
|
|
|
1492
|
-
export interface
|
|
1845
|
+
export interface GetMenuPartialGroupItemsPath {
|
|
1846
|
+
// menu; TODO: cannot use compassdigital.id as path parameter
|
|
1493
1847
|
id: string;
|
|
1848
|
+
// group; TODO: cannot use compassdigital.id as path parameter
|
|
1849
|
+
group_id: string;
|
|
1494
1850
|
}
|
|
1495
1851
|
|
|
1496
|
-
export interface
|
|
1497
|
-
//
|
|
1498
|
-
|
|
1499
|
-
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
1500
|
-
relationships?: string[];
|
|
1501
|
-
filter?: any;
|
|
1502
|
-
// Number of records to load per page
|
|
1503
|
-
limit?: number;
|
|
1504
|
-
page?: number;
|
|
1505
|
-
// A field to sort the results based on
|
|
1506
|
-
sort_by?: string;
|
|
1507
|
-
sort_order?: string;
|
|
1508
|
-
// How soft deleted records should be shown in the list
|
|
1509
|
-
soft_deleted?: string;
|
|
1852
|
+
export interface GetMenuPartialGroupItemsQuery {
|
|
1853
|
+
// Show additional fields like hidden menu items, parent_id. Defaults to false
|
|
1854
|
+
extended?: boolean;
|
|
1510
1855
|
// Graphql query string
|
|
1511
1856
|
_query?: string;
|
|
1512
1857
|
}
|
|
1513
1858
|
|
|
1514
|
-
export
|
|
1515
|
-
results: DraftItemDTO[];
|
|
1516
|
-
meta?: ListResponseMetadataDTO;
|
|
1517
|
-
[index: string]: any;
|
|
1518
|
-
}
|
|
1859
|
+
export type GetMenuPartialGroupItemsResponse = Items;
|
|
1519
1860
|
|
|
1520
|
-
export interface
|
|
1861
|
+
export interface GetMenuPartialGroupItemsRequest
|
|
1521
1862
|
extends BaseRequest,
|
|
1522
|
-
RequestQuery<
|
|
1523
|
-
|
|
1863
|
+
RequestQuery<GetMenuPartialGroupItemsQuery>,
|
|
1864
|
+
GetMenuPartialGroupItemsPath {}
|
|
1524
1865
|
|
|
1525
|
-
//
|
|
1866
|
+
// POST /menu/partial/{id}/group/{group_id}/item/options - Get menu items's options
|
|
1526
1867
|
|
|
1527
|
-
export interface
|
|
1868
|
+
export interface PostMenuPartialGroupItemOptionsPath {
|
|
1869
|
+
// menu; TODO: cannot use compassdigital.id as path parameter
|
|
1528
1870
|
id: string;
|
|
1871
|
+
// group; TODO: cannot use compassdigital.id as path parameter
|
|
1872
|
+
group_id: string;
|
|
1529
1873
|
}
|
|
1530
1874
|
|
|
1531
|
-
export interface
|
|
1532
|
-
//
|
|
1533
|
-
|
|
1534
|
-
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
1535
|
-
relationships?: string[];
|
|
1536
|
-
// The fields that filtering is allowed on
|
|
1537
|
-
filter?: any;
|
|
1538
|
-
// Number of records to load per page
|
|
1539
|
-
limit?: number;
|
|
1540
|
-
page?: number;
|
|
1541
|
-
// A field to sort the results based on
|
|
1542
|
-
sort_by?: string;
|
|
1543
|
-
sort_order?: string;
|
|
1544
|
-
// How soft deleted records should be shown in the list
|
|
1545
|
-
soft_deleted?: string;
|
|
1546
|
-
// Graphql query string
|
|
1547
|
-
_query?: string;
|
|
1875
|
+
export interface PostMenuPartialGroupItemOptionsQuery {
|
|
1876
|
+
// Show additional fields like hidden menu items, parent_id. Defaults to false
|
|
1877
|
+
extended?: boolean;
|
|
1548
1878
|
}
|
|
1549
1879
|
|
|
1550
|
-
export interface
|
|
1551
|
-
|
|
1552
|
-
meta?: ListResponseMetadataDTO;
|
|
1553
|
-
[index: string]: any;
|
|
1880
|
+
export interface PostMenuPartialGroupItemOptionsBody {
|
|
1881
|
+
item_id?: string[];
|
|
1554
1882
|
}
|
|
1555
1883
|
|
|
1556
|
-
export
|
|
1884
|
+
export type PostMenuPartialGroupItemOptionsResponse = Items;
|
|
1885
|
+
|
|
1886
|
+
export interface PostMenuPartialGroupItemOptionsRequest
|
|
1557
1887
|
extends BaseRequest,
|
|
1558
|
-
RequestQuery<
|
|
1559
|
-
|
|
1888
|
+
RequestQuery<PostMenuPartialGroupItemOptionsQuery>,
|
|
1889
|
+
PostMenuPartialGroupItemOptionsPath {
|
|
1890
|
+
body: PostMenuPartialGroupItemOptionsBody;
|
|
1891
|
+
}
|
|
1560
1892
|
|
|
1561
1893
|
// POST /menu/v3/local-menu-group
|
|
1562
1894
|
|
|
1563
1895
|
export interface PostMenuV3LocalMenuGroupBody {
|
|
1564
1896
|
name: string;
|
|
1565
1897
|
is_active?: boolean;
|
|
1566
|
-
|
|
1898
|
+
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
1567
1899
|
draft_brands?: DraftBrandDTO[];
|
|
1568
1900
|
published_brands?: PublishedBrandDTO[];
|
|
1901
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
1902
|
+
permissions?: any;
|
|
1569
1903
|
[index: string]: any;
|
|
1570
1904
|
}
|
|
1571
1905
|
|
|
1572
1906
|
export interface PostMenuV3LocalMenuGroupResponse {
|
|
1573
1907
|
name: string;
|
|
1574
1908
|
is_active?: boolean;
|
|
1575
|
-
|
|
1909
|
+
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
1576
1910
|
draft_brands?: DraftBrandDTO[];
|
|
1577
1911
|
published_brands?: PublishedBrandDTO[];
|
|
1578
|
-
id
|
|
1912
|
+
id?: string;
|
|
1579
1913
|
created_at?: string;
|
|
1580
1914
|
updated_at?: string;
|
|
1581
1915
|
deleted_at?: string;
|
|
1582
1916
|
version?: number;
|
|
1917
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
1918
|
+
permissions?: any;
|
|
1583
1919
|
[index: string]: any;
|
|
1584
1920
|
}
|
|
1585
1921
|
|
|
@@ -1605,14 +1941,16 @@ export interface GetMenuV3LocalMenuGroupQuery {
|
|
|
1605
1941
|
export interface GetMenuV3LocalMenuGroupResponse {
|
|
1606
1942
|
name: string;
|
|
1607
1943
|
is_active?: boolean;
|
|
1608
|
-
|
|
1944
|
+
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
1609
1945
|
draft_brands?: DraftBrandDTO[];
|
|
1610
1946
|
published_brands?: PublishedBrandDTO[];
|
|
1611
|
-
id
|
|
1947
|
+
id?: string;
|
|
1612
1948
|
created_at?: string;
|
|
1613
1949
|
updated_at?: string;
|
|
1614
1950
|
deleted_at?: string;
|
|
1615
1951
|
version?: number;
|
|
1952
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
1953
|
+
permissions?: any;
|
|
1616
1954
|
[index: string]: any;
|
|
1617
1955
|
}
|
|
1618
1956
|
|
|
@@ -1630,28 +1968,34 @@ export interface PatchMenuV3LocalMenuGroupPath {
|
|
|
1630
1968
|
export interface PatchMenuV3LocalMenuGroupBody {
|
|
1631
1969
|
name?: string;
|
|
1632
1970
|
is_active?: boolean;
|
|
1633
|
-
|
|
1971
|
+
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
1634
1972
|
draft_brands?: DraftBrandDTO[];
|
|
1635
1973
|
published_brands?: PublishedBrandDTO[];
|
|
1636
1974
|
id?: string;
|
|
1975
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
1976
|
+
permissions?: any;
|
|
1637
1977
|
[index: string]: any;
|
|
1638
1978
|
}
|
|
1639
1979
|
|
|
1640
1980
|
export interface PatchMenuV3LocalMenuGroupResponse {
|
|
1641
1981
|
name: string;
|
|
1642
1982
|
is_active?: boolean;
|
|
1643
|
-
|
|
1983
|
+
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
1644
1984
|
draft_brands?: DraftBrandDTO[];
|
|
1645
1985
|
published_brands?: PublishedBrandDTO[];
|
|
1646
|
-
id
|
|
1986
|
+
id?: string;
|
|
1647
1987
|
created_at?: string;
|
|
1648
1988
|
updated_at?: string;
|
|
1649
1989
|
deleted_at?: string;
|
|
1650
1990
|
version?: number;
|
|
1991
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
1992
|
+
permissions?: any;
|
|
1651
1993
|
[index: string]: any;
|
|
1652
1994
|
}
|
|
1653
1995
|
|
|
1654
|
-
export interface PatchMenuV3LocalMenuGroupRequest
|
|
1996
|
+
export interface PatchMenuV3LocalMenuGroupRequest
|
|
1997
|
+
extends BaseRequest,
|
|
1998
|
+
PatchMenuV3LocalMenuGroupPath {
|
|
1655
1999
|
body: PatchMenuV3LocalMenuGroupBody;
|
|
1656
2000
|
}
|
|
1657
2001
|
|
|
@@ -1664,18 +2008,22 @@ export interface DeleteMenuV3LocalMenuGroupPath {
|
|
|
1664
2008
|
export interface DeleteMenuV3LocalMenuGroupResponse {
|
|
1665
2009
|
name: string;
|
|
1666
2010
|
is_active?: boolean;
|
|
1667
|
-
|
|
2011
|
+
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
1668
2012
|
draft_brands?: DraftBrandDTO[];
|
|
1669
2013
|
published_brands?: PublishedBrandDTO[];
|
|
1670
|
-
id
|
|
2014
|
+
id?: string;
|
|
1671
2015
|
created_at?: string;
|
|
1672
2016
|
updated_at?: string;
|
|
1673
2017
|
deleted_at?: string;
|
|
1674
2018
|
version?: number;
|
|
2019
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
2020
|
+
permissions?: any;
|
|
1675
2021
|
[index: string]: any;
|
|
1676
2022
|
}
|
|
1677
2023
|
|
|
1678
|
-
export interface DeleteMenuV3LocalMenuGroupRequest
|
|
2024
|
+
export interface DeleteMenuV3LocalMenuGroupRequest
|
|
2025
|
+
extends BaseRequest,
|
|
2026
|
+
DeleteMenuV3LocalMenuGroupPath {}
|
|
1679
2027
|
|
|
1680
2028
|
// GET /menu/v3/local-menu-groups
|
|
1681
2029
|
|
|
@@ -1713,9 +2061,12 @@ export interface GetMenuV3LocalMenuGroupsRequest
|
|
|
1713
2061
|
export type PostMenuV3LocalMenuGroupsBody = {
|
|
1714
2062
|
name: string;
|
|
1715
2063
|
is_active?: boolean;
|
|
1716
|
-
|
|
2064
|
+
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|
|
1717
2065
|
draft_brands?: DraftBrandDTO[];
|
|
1718
2066
|
published_brands?: PublishedBrandDTO[];
|
|
2067
|
+
id?: any;
|
|
2068
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
2069
|
+
permissions?: any;
|
|
1719
2070
|
[index: string]: any;
|
|
1720
2071
|
}[];
|
|
1721
2072
|
|
|
@@ -1880,7 +2231,9 @@ export interface PostMenuV3LocalMenuGroupImportBrandsQuery {
|
|
|
1880
2231
|
}
|
|
1881
2232
|
|
|
1882
2233
|
export interface PostMenuV3LocalMenuGroupImportBrandsResponse {
|
|
1883
|
-
|
|
2234
|
+
results: DraftBrandDTO[];
|
|
2235
|
+
meta?: ListResponseMetadataDTO;
|
|
2236
|
+
[index: string]: any;
|
|
1884
2237
|
}
|
|
1885
2238
|
|
|
1886
2239
|
export interface PostMenuV3LocalMenuGroupImportBrandsRequest
|
|
@@ -1888,31 +2241,33 @@ export interface PostMenuV3LocalMenuGroupImportBrandsRequest
|
|
|
1888
2241
|
RequestQuery<PostMenuV3LocalMenuGroupImportBrandsQuery>,
|
|
1889
2242
|
PostMenuV3LocalMenuGroupImportBrandsPath {}
|
|
1890
2243
|
|
|
1891
|
-
// POST /menu/v3/
|
|
2244
|
+
// POST /menu/v3/global-menu-group
|
|
1892
2245
|
|
|
1893
|
-
export interface
|
|
2246
|
+
export interface PostMenuV3GlobalMenuGroupBody {
|
|
1894
2247
|
name: string;
|
|
1895
2248
|
is_active?: boolean;
|
|
1896
2249
|
allowed_local_menu_groups?: LocalMenuGroupDTO[];
|
|
1897
2250
|
draft_brands?: DraftBrandDTO[];
|
|
1898
2251
|
published_brands?: PublishedBrandDTO[];
|
|
1899
2252
|
posid_segment?: POSIDSegmentDTO;
|
|
2253
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
2254
|
+
permissions?: any;
|
|
1900
2255
|
[index: string]: any;
|
|
1901
2256
|
}
|
|
1902
2257
|
|
|
1903
|
-
export type
|
|
2258
|
+
export type PostMenuV3GlobalMenuGroupResponse = GlobalMenuGroupDTO;
|
|
1904
2259
|
|
|
1905
|
-
export interface
|
|
1906
|
-
body:
|
|
2260
|
+
export interface PostMenuV3GlobalMenuGroupRequest extends BaseRequest {
|
|
2261
|
+
body: PostMenuV3GlobalMenuGroupBody;
|
|
1907
2262
|
}
|
|
1908
2263
|
|
|
1909
|
-
// GET /menu/v3/
|
|
2264
|
+
// GET /menu/v3/global-menu-group/{id}
|
|
1910
2265
|
|
|
1911
|
-
export interface
|
|
2266
|
+
export interface GetMenuV3GlobalMenuGroupPath {
|
|
1912
2267
|
id: string;
|
|
1913
2268
|
}
|
|
1914
2269
|
|
|
1915
|
-
export interface
|
|
2270
|
+
export interface GetMenuV3GlobalMenuGroupQuery {
|
|
1916
2271
|
// If specified, only the selected fields will be returned
|
|
1917
2272
|
select?: string[];
|
|
1918
2273
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
@@ -1921,20 +2276,20 @@ export interface GetMenuV3BrandGroupQuery {
|
|
|
1921
2276
|
_query?: string;
|
|
1922
2277
|
}
|
|
1923
2278
|
|
|
1924
|
-
export type
|
|
2279
|
+
export type GetMenuV3GlobalMenuGroupResponse = GlobalMenuGroupDTO;
|
|
1925
2280
|
|
|
1926
|
-
export interface
|
|
2281
|
+
export interface GetMenuV3GlobalMenuGroupRequest
|
|
1927
2282
|
extends BaseRequest,
|
|
1928
|
-
RequestQuery<
|
|
1929
|
-
|
|
2283
|
+
RequestQuery<GetMenuV3GlobalMenuGroupQuery>,
|
|
2284
|
+
GetMenuV3GlobalMenuGroupPath {}
|
|
1930
2285
|
|
|
1931
|
-
// PATCH /menu/v3/
|
|
2286
|
+
// PATCH /menu/v3/global-menu-group/{id}
|
|
1932
2287
|
|
|
1933
|
-
export interface
|
|
2288
|
+
export interface PatchMenuV3GlobalMenuGroupPath {
|
|
1934
2289
|
id: string;
|
|
1935
2290
|
}
|
|
1936
2291
|
|
|
1937
|
-
export interface
|
|
2292
|
+
export interface PatchMenuV3GlobalMenuGroupBody {
|
|
1938
2293
|
name?: string;
|
|
1939
2294
|
is_active?: boolean;
|
|
1940
2295
|
allowed_local_menu_groups?: LocalMenuGroupDTO[];
|
|
@@ -1942,28 +2297,54 @@ export interface PatchMenuV3BrandGroupBody {
|
|
|
1942
2297
|
published_brands?: PublishedBrandDTO[];
|
|
1943
2298
|
posid_segment?: POSIDSegmentDTO;
|
|
1944
2299
|
id?: string;
|
|
2300
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
2301
|
+
permissions?: any;
|
|
1945
2302
|
[index: string]: any;
|
|
1946
2303
|
}
|
|
1947
2304
|
|
|
1948
|
-
export type
|
|
2305
|
+
export type PatchMenuV3GlobalMenuGroupResponse = GlobalMenuGroupDTO;
|
|
1949
2306
|
|
|
1950
|
-
export interface
|
|
1951
|
-
|
|
2307
|
+
export interface PatchMenuV3GlobalMenuGroupRequest
|
|
2308
|
+
extends BaseRequest,
|
|
2309
|
+
PatchMenuV3GlobalMenuGroupPath {
|
|
2310
|
+
body: PatchMenuV3GlobalMenuGroupBody;
|
|
1952
2311
|
}
|
|
1953
2312
|
|
|
1954
|
-
// DELETE /menu/v3/
|
|
2313
|
+
// DELETE /menu/v3/global-menu-group/{id}
|
|
1955
2314
|
|
|
1956
|
-
export interface
|
|
2315
|
+
export interface DeleteMenuV3GlobalMenuGroupPath {
|
|
1957
2316
|
id: string;
|
|
1958
2317
|
}
|
|
1959
2318
|
|
|
1960
|
-
export
|
|
2319
|
+
export interface DeleteMenuV3GlobalMenuGroupQuery {
|
|
2320
|
+
delete_posid?: boolean;
|
|
2321
|
+
}
|
|
2322
|
+
|
|
2323
|
+
export interface DeleteMenuV3GlobalMenuGroupResponse {
|
|
2324
|
+
name: string;
|
|
2325
|
+
is_active?: boolean;
|
|
2326
|
+
allowed_local_menu_groups?: LocalMenuGroupDTO[];
|
|
2327
|
+
draft_brands?: DraftBrandDTO[];
|
|
2328
|
+
published_brands?: PublishedBrandDTO[];
|
|
2329
|
+
posid_segment?: POSIDSegmentDTO;
|
|
2330
|
+
id?: string;
|
|
2331
|
+
created_at?: string;
|
|
2332
|
+
updated_at?: string;
|
|
2333
|
+
deleted_at?: string;
|
|
2334
|
+
version?: number;
|
|
2335
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
2336
|
+
permissions?: any;
|
|
2337
|
+
[index: string]: any;
|
|
2338
|
+
}
|
|
1961
2339
|
|
|
1962
|
-
export interface
|
|
2340
|
+
export interface DeleteMenuV3GlobalMenuGroupRequest
|
|
2341
|
+
extends BaseRequest,
|
|
2342
|
+
RequestQuery<DeleteMenuV3GlobalMenuGroupQuery>,
|
|
2343
|
+
DeleteMenuV3GlobalMenuGroupPath {}
|
|
1963
2344
|
|
|
1964
|
-
// GET /menu/v3/
|
|
2345
|
+
// GET /menu/v3/global-menu-groups
|
|
1965
2346
|
|
|
1966
|
-
export interface
|
|
2347
|
+
export interface GetMenuV3GlobalMenuGroupsQuery {
|
|
1967
2348
|
// If specified, only the selected fields will be returned
|
|
1968
2349
|
select?: string[];
|
|
1969
2350
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
@@ -1982,63 +2363,66 @@ export interface GetMenuV3BrandGroupsQuery {
|
|
|
1982
2363
|
_query?: string;
|
|
1983
2364
|
}
|
|
1984
2365
|
|
|
1985
|
-
export interface
|
|
1986
|
-
results:
|
|
2366
|
+
export interface GetMenuV3GlobalMenuGroupsResponse {
|
|
2367
|
+
results: GlobalMenuGroupDTO[];
|
|
1987
2368
|
meta?: ListResponseMetadataDTO;
|
|
1988
2369
|
[index: string]: any;
|
|
1989
2370
|
}
|
|
1990
2371
|
|
|
1991
|
-
export interface
|
|
2372
|
+
export interface GetMenuV3GlobalMenuGroupsRequest
|
|
1992
2373
|
extends BaseRequest,
|
|
1993
|
-
RequestQuery<
|
|
2374
|
+
RequestQuery<GetMenuV3GlobalMenuGroupsQuery> {}
|
|
1994
2375
|
|
|
1995
|
-
// POST /menu/v3/
|
|
2376
|
+
// POST /menu/v3/global-menu-groups
|
|
1996
2377
|
|
|
1997
|
-
export type
|
|
2378
|
+
export type PostMenuV3GlobalMenuGroupsBody = {
|
|
1998
2379
|
name: string;
|
|
1999
2380
|
is_active?: boolean;
|
|
2000
2381
|
allowed_local_menu_groups?: LocalMenuGroupDTO[];
|
|
2001
2382
|
draft_brands?: DraftBrandDTO[];
|
|
2002
2383
|
published_brands?: PublishedBrandDTO[];
|
|
2003
2384
|
posid_segment?: POSIDSegmentDTO;
|
|
2385
|
+
id?: any;
|
|
2386
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
2387
|
+
permissions?: any;
|
|
2004
2388
|
[index: string]: any;
|
|
2005
2389
|
}[];
|
|
2006
2390
|
|
|
2007
|
-
export interface
|
|
2008
|
-
results:
|
|
2391
|
+
export interface PostMenuV3GlobalMenuGroupsResponse {
|
|
2392
|
+
results: GlobalMenuGroupDTO[];
|
|
2009
2393
|
meta?: ListResponseMetadataDTO;
|
|
2010
2394
|
[index: string]: any;
|
|
2011
2395
|
}
|
|
2012
2396
|
|
|
2013
|
-
export interface
|
|
2014
|
-
body:
|
|
2397
|
+
export interface PostMenuV3GlobalMenuGroupsRequest extends BaseRequest {
|
|
2398
|
+
body: PostMenuV3GlobalMenuGroupsBody;
|
|
2015
2399
|
}
|
|
2016
2400
|
|
|
2017
|
-
// GET /menu/v3/
|
|
2401
|
+
// GET /menu/v3/global-menu-groups/count
|
|
2018
2402
|
|
|
2019
|
-
export interface
|
|
2403
|
+
export interface GetMenuV3GlobalMenuGroupsCountQuery {
|
|
2020
2404
|
// The fields that filtering is allowed on
|
|
2021
2405
|
filter?: any;
|
|
2022
2406
|
// Graphql query string
|
|
2023
2407
|
_query?: string;
|
|
2024
2408
|
}
|
|
2025
2409
|
|
|
2026
|
-
export interface
|
|
2410
|
+
export interface GetMenuV3GlobalMenuGroupsCountResponse {
|
|
2027
2411
|
count: number;
|
|
2028
2412
|
[index: string]: any;
|
|
2029
2413
|
}
|
|
2030
2414
|
|
|
2031
|
-
export interface
|
|
2415
|
+
export interface GetMenuV3GlobalMenuGroupsCountRequest
|
|
2032
2416
|
extends BaseRequest,
|
|
2033
|
-
RequestQuery<
|
|
2417
|
+
RequestQuery<GetMenuV3GlobalMenuGroupsCountQuery> {}
|
|
2034
2418
|
|
|
2035
|
-
// GET /menu/v3/draft/
|
|
2419
|
+
// GET /menu/v3/draft/global-menu-group/{id}/brands
|
|
2036
2420
|
|
|
2037
|
-
export interface
|
|
2421
|
+
export interface GetMenuV3DraftGlobalMenuGroupBrandsPath {
|
|
2038
2422
|
id: string;
|
|
2039
2423
|
}
|
|
2040
2424
|
|
|
2041
|
-
export interface
|
|
2425
|
+
export interface GetMenuV3DraftGlobalMenuGroupBrandsQuery {
|
|
2042
2426
|
// If specified, only the selected fields will be returned
|
|
2043
2427
|
select?: string[];
|
|
2044
2428
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
@@ -2057,24 +2441,24 @@ export interface GetMenuV3DraftBrandGroupBrandsQuery {
|
|
|
2057
2441
|
_query?: string;
|
|
2058
2442
|
}
|
|
2059
2443
|
|
|
2060
|
-
export interface
|
|
2444
|
+
export interface GetMenuV3DraftGlobalMenuGroupBrandsResponse {
|
|
2061
2445
|
results: DraftBrandDTO[];
|
|
2062
2446
|
meta?: ListResponseMetadataDTO;
|
|
2063
2447
|
[index: string]: any;
|
|
2064
2448
|
}
|
|
2065
2449
|
|
|
2066
|
-
export interface
|
|
2450
|
+
export interface GetMenuV3DraftGlobalMenuGroupBrandsRequest
|
|
2067
2451
|
extends BaseRequest,
|
|
2068
|
-
RequestQuery<
|
|
2069
|
-
|
|
2452
|
+
RequestQuery<GetMenuV3DraftGlobalMenuGroupBrandsQuery>,
|
|
2453
|
+
GetMenuV3DraftGlobalMenuGroupBrandsPath {}
|
|
2070
2454
|
|
|
2071
|
-
// GET /menu/v3/
|
|
2455
|
+
// GET /menu/v3/global-menu-group/{id}/brands
|
|
2072
2456
|
|
|
2073
|
-
export interface
|
|
2457
|
+
export interface GetMenuV3GlobalMenuGroupBrandsPath {
|
|
2074
2458
|
id: string;
|
|
2075
2459
|
}
|
|
2076
2460
|
|
|
2077
|
-
export interface
|
|
2461
|
+
export interface GetMenuV3GlobalMenuGroupBrandsQuery {
|
|
2078
2462
|
// If specified, only the selected fields will be returned
|
|
2079
2463
|
select?: string[];
|
|
2080
2464
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
@@ -2093,16 +2477,16 @@ export interface GetMenuV3BrandGroupBrandsQuery {
|
|
|
2093
2477
|
_query?: string;
|
|
2094
2478
|
}
|
|
2095
2479
|
|
|
2096
|
-
export interface
|
|
2480
|
+
export interface GetMenuV3GlobalMenuGroupBrandsResponse {
|
|
2097
2481
|
results: DraftBrandDTO[];
|
|
2098
2482
|
meta?: ListResponseMetadataDTO;
|
|
2099
2483
|
[index: string]: any;
|
|
2100
2484
|
}
|
|
2101
2485
|
|
|
2102
|
-
export interface
|
|
2486
|
+
export interface GetMenuV3GlobalMenuGroupBrandsRequest
|
|
2103
2487
|
extends BaseRequest,
|
|
2104
|
-
RequestQuery<
|
|
2105
|
-
|
|
2488
|
+
RequestQuery<GetMenuV3GlobalMenuGroupBrandsQuery>,
|
|
2489
|
+
GetMenuV3GlobalMenuGroupBrandsPath {}
|
|
2106
2490
|
|
|
2107
2491
|
// POST /menu/v3/draft/brand
|
|
2108
2492
|
|
|
@@ -2110,7 +2494,7 @@ export interface PostMenuV3DraftBrandBody {
|
|
|
2110
2494
|
parent?: DraftBrandDTO;
|
|
2111
2495
|
children?: DraftBrandDTO[];
|
|
2112
2496
|
posid_segment?: POSIDSegmentDTO;
|
|
2113
|
-
|
|
2497
|
+
menus?: DraftMenuDTO[];
|
|
2114
2498
|
categories?: DraftCategoryDTO[];
|
|
2115
2499
|
category_to_item_relationships?: DraftCategoryToItemRelationshipDTO[];
|
|
2116
2500
|
items?: DraftItemDTO[];
|
|
@@ -2125,11 +2509,14 @@ export interface PostMenuV3DraftBrandBody {
|
|
|
2125
2509
|
type?: string;
|
|
2126
2510
|
parent_id?: string;
|
|
2127
2511
|
local_menu_group_id?: string;
|
|
2128
|
-
|
|
2512
|
+
global_menu_group_id?: string;
|
|
2513
|
+
id?: any;
|
|
2129
2514
|
changes?: BrandChangeDTO[];
|
|
2130
2515
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2131
|
-
|
|
2516
|
+
global_menu_group?: GlobalMenuGroupDTO;
|
|
2517
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
2132
2518
|
attachments?: FileAttachmentsDTO;
|
|
2519
|
+
permissions?: any;
|
|
2133
2520
|
[index: string]: any;
|
|
2134
2521
|
}
|
|
2135
2522
|
|
|
@@ -2171,7 +2558,7 @@ export interface PatchMenuV3DraftBrandBody {
|
|
|
2171
2558
|
parent?: DraftBrandDTO;
|
|
2172
2559
|
children?: DraftBrandDTO[];
|
|
2173
2560
|
posid_segment?: POSIDSegmentDTO;
|
|
2174
|
-
|
|
2561
|
+
menus?: DraftMenuDTO[];
|
|
2175
2562
|
categories?: DraftCategoryDTO[];
|
|
2176
2563
|
category_to_item_relationships?: DraftCategoryToItemRelationshipDTO[];
|
|
2177
2564
|
items?: DraftItemDTO[];
|
|
@@ -2187,11 +2574,13 @@ export interface PatchMenuV3DraftBrandBody {
|
|
|
2187
2574
|
type?: string;
|
|
2188
2575
|
parent_id?: string;
|
|
2189
2576
|
local_menu_group_id?: string;
|
|
2190
|
-
|
|
2577
|
+
global_menu_group_id?: string;
|
|
2191
2578
|
changes?: BrandChangeDTO[];
|
|
2192
2579
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2193
|
-
|
|
2580
|
+
global_menu_group?: GlobalMenuGroupDTO;
|
|
2581
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
2194
2582
|
attachments?: FileAttachmentsDTO;
|
|
2583
|
+
permissions?: any;
|
|
2195
2584
|
[index: string]: any;
|
|
2196
2585
|
}
|
|
2197
2586
|
|
|
@@ -2248,7 +2637,7 @@ export type PostMenuV3DraftBrandsBody = {
|
|
|
2248
2637
|
parent?: DraftBrandDTO;
|
|
2249
2638
|
children?: DraftBrandDTO[];
|
|
2250
2639
|
posid_segment?: POSIDSegmentDTO;
|
|
2251
|
-
|
|
2640
|
+
menus?: DraftMenuDTO[];
|
|
2252
2641
|
categories?: DraftCategoryDTO[];
|
|
2253
2642
|
category_to_item_relationships?: DraftCategoryToItemRelationshipDTO[];
|
|
2254
2643
|
items?: DraftItemDTO[];
|
|
@@ -2263,11 +2652,14 @@ export type PostMenuV3DraftBrandsBody = {
|
|
|
2263
2652
|
type?: string;
|
|
2264
2653
|
parent_id?: string;
|
|
2265
2654
|
local_menu_group_id?: string;
|
|
2266
|
-
|
|
2655
|
+
global_menu_group_id?: string;
|
|
2656
|
+
id?: any;
|
|
2267
2657
|
changes?: BrandChangeDTO[];
|
|
2268
2658
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2269
|
-
|
|
2659
|
+
global_menu_group?: GlobalMenuGroupDTO;
|
|
2660
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
2270
2661
|
attachments?: FileAttachmentsDTO;
|
|
2662
|
+
permissions?: any;
|
|
2271
2663
|
[index: string]: any;
|
|
2272
2664
|
}[];
|
|
2273
2665
|
|
|
@@ -2299,13 +2691,13 @@ export interface GetMenuV3DraftBrandsCountRequest
|
|
|
2299
2691
|
extends BaseRequest,
|
|
2300
2692
|
RequestQuery<GetMenuV3DraftBrandsCountQuery> {}
|
|
2301
2693
|
|
|
2302
|
-
// GET /menu/v3/draft/brand/{id}/
|
|
2694
|
+
// GET /menu/v3/draft/brand/{id}/menus
|
|
2303
2695
|
|
|
2304
|
-
export interface
|
|
2696
|
+
export interface GetMenuV3DraftBrandMenusPath {
|
|
2305
2697
|
id: string;
|
|
2306
2698
|
}
|
|
2307
2699
|
|
|
2308
|
-
export interface
|
|
2700
|
+
export interface GetMenuV3DraftBrandMenusQuery {
|
|
2309
2701
|
// If specified, only the selected fields will be returned
|
|
2310
2702
|
select?: string[];
|
|
2311
2703
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
@@ -2324,16 +2716,16 @@ export interface GetMenuV3DraftBrandLayoutsQuery {
|
|
|
2324
2716
|
_query?: string;
|
|
2325
2717
|
}
|
|
2326
2718
|
|
|
2327
|
-
export interface
|
|
2328
|
-
results:
|
|
2719
|
+
export interface GetMenuV3DraftBrandMenusResponse {
|
|
2720
|
+
results: DraftMenuDTO[];
|
|
2329
2721
|
meta?: ListResponseMetadataDTO;
|
|
2330
2722
|
[index: string]: any;
|
|
2331
2723
|
}
|
|
2332
2724
|
|
|
2333
|
-
export interface
|
|
2725
|
+
export interface GetMenuV3DraftBrandMenusRequest
|
|
2334
2726
|
extends BaseRequest,
|
|
2335
|
-
RequestQuery<
|
|
2336
|
-
|
|
2727
|
+
RequestQuery<GetMenuV3DraftBrandMenusQuery>,
|
|
2728
|
+
GetMenuV3DraftBrandMenusPath {}
|
|
2337
2729
|
|
|
2338
2730
|
// GET /menu/v3/draft/brand/{id}/modifiers
|
|
2339
2731
|
|
|
@@ -2443,6 +2835,48 @@ export interface GetMenuV3DraftBrandItemsRequest
|
|
|
2443
2835
|
RequestQuery<GetMenuV3DraftBrandItemsQuery>,
|
|
2444
2836
|
GetMenuV3DraftBrandItemsPath {}
|
|
2445
2837
|
|
|
2838
|
+
// GET /menu/v3/draft/brand/{id}/items/reporting/categories
|
|
2839
|
+
|
|
2840
|
+
export interface GetMenuV3DraftBrandItemsReportingCategoriesPath {
|
|
2841
|
+
id: string;
|
|
2842
|
+
}
|
|
2843
|
+
|
|
2844
|
+
export interface GetMenuV3DraftBrandItemsReportingCategoriesQuery {
|
|
2845
|
+
search?: string;
|
|
2846
|
+
// Graphql query string
|
|
2847
|
+
_query?: string;
|
|
2848
|
+
}
|
|
2849
|
+
|
|
2850
|
+
export interface GetMenuV3DraftBrandItemsReportingCategoriesResponse {
|
|
2851
|
+
results?: ReportingCategorySuggestion[];
|
|
2852
|
+
}
|
|
2853
|
+
|
|
2854
|
+
export interface GetMenuV3DraftBrandItemsReportingCategoriesRequest
|
|
2855
|
+
extends BaseRequest,
|
|
2856
|
+
RequestQuery<GetMenuV3DraftBrandItemsReportingCategoriesQuery>,
|
|
2857
|
+
GetMenuV3DraftBrandItemsReportingCategoriesPath {}
|
|
2858
|
+
|
|
2859
|
+
// GET /menu/v3/draft/brand/{id}/modifiers/reporting/categories
|
|
2860
|
+
|
|
2861
|
+
export interface GetMenuV3DraftBrandModifiersReportingCategoriesPath {
|
|
2862
|
+
id: string;
|
|
2863
|
+
}
|
|
2864
|
+
|
|
2865
|
+
export interface GetMenuV3DraftBrandModifiersReportingCategoriesQuery {
|
|
2866
|
+
search?: string;
|
|
2867
|
+
// Graphql query string
|
|
2868
|
+
_query?: string;
|
|
2869
|
+
}
|
|
2870
|
+
|
|
2871
|
+
export interface GetMenuV3DraftBrandModifiersReportingCategoriesResponse {
|
|
2872
|
+
results?: ReportingCategorySuggestion[];
|
|
2873
|
+
}
|
|
2874
|
+
|
|
2875
|
+
export interface GetMenuV3DraftBrandModifiersReportingCategoriesRequest
|
|
2876
|
+
extends BaseRequest,
|
|
2877
|
+
RequestQuery<GetMenuV3DraftBrandModifiersReportingCategoriesQuery>,
|
|
2878
|
+
GetMenuV3DraftBrandModifiersReportingCategoriesPath {}
|
|
2879
|
+
|
|
2446
2880
|
// POST /menu/v3/draft/brand/{id}/publish
|
|
2447
2881
|
|
|
2448
2882
|
export interface PostMenuV3DraftBrandPublishPath {
|
|
@@ -2457,6 +2891,59 @@ export interface PostMenuV3DraftBrandPublishRequest
|
|
|
2457
2891
|
extends BaseRequest,
|
|
2458
2892
|
PostMenuV3DraftBrandPublishPath {}
|
|
2459
2893
|
|
|
2894
|
+
// POST /menu/v3/draft/brand/{id}/diff/generate
|
|
2895
|
+
|
|
2896
|
+
export interface PostMenuV3DraftBrandDiffGeneratePath {
|
|
2897
|
+
id: string;
|
|
2898
|
+
}
|
|
2899
|
+
|
|
2900
|
+
export interface PostMenuV3DraftBrandDiffGenerateResponse {
|
|
2901
|
+
status?: string;
|
|
2902
|
+
}
|
|
2903
|
+
|
|
2904
|
+
export interface PostMenuV3DraftBrandDiffGenerateRequest
|
|
2905
|
+
extends BaseRequest,
|
|
2906
|
+
PostMenuV3DraftBrandDiffGeneratePath {}
|
|
2907
|
+
|
|
2908
|
+
// GET /menu/v3/draft/brand/{id}/diffs
|
|
2909
|
+
|
|
2910
|
+
export interface GetMenuV3DraftBrandDiffsPath {
|
|
2911
|
+
id: string;
|
|
2912
|
+
}
|
|
2913
|
+
|
|
2914
|
+
export interface GetMenuV3DraftBrandDiffsQuery {
|
|
2915
|
+
// Graphql query string
|
|
2916
|
+
_query?: string;
|
|
2917
|
+
}
|
|
2918
|
+
|
|
2919
|
+
export interface GetMenuV3DraftBrandDiffsResponse {
|
|
2920
|
+
results?: DiffDTO[];
|
|
2921
|
+
}
|
|
2922
|
+
|
|
2923
|
+
export interface GetMenuV3DraftBrandDiffsRequest
|
|
2924
|
+
extends BaseRequest,
|
|
2925
|
+
RequestQuery<GetMenuV3DraftBrandDiffsQuery>,
|
|
2926
|
+
GetMenuV3DraftBrandDiffsPath {}
|
|
2927
|
+
|
|
2928
|
+
// POST /menu/v3/draft/brand/{id}/global-diffs/apply
|
|
2929
|
+
|
|
2930
|
+
export interface PostMenuV3DraftBrandGlobalDiffsApplyPath {
|
|
2931
|
+
id: string;
|
|
2932
|
+
}
|
|
2933
|
+
|
|
2934
|
+
export interface PostMenuV3DraftBrandGlobalDiffsApplyQuery {
|
|
2935
|
+
"body.diff_ids"?: any[];
|
|
2936
|
+
}
|
|
2937
|
+
|
|
2938
|
+
export interface PostMenuV3DraftBrandGlobalDiffsApplyResponse {
|
|
2939
|
+
status?: string;
|
|
2940
|
+
}
|
|
2941
|
+
|
|
2942
|
+
export interface PostMenuV3DraftBrandGlobalDiffsApplyRequest
|
|
2943
|
+
extends BaseRequest,
|
|
2944
|
+
RequestQuery<PostMenuV3DraftBrandGlobalDiffsApplyQuery>,
|
|
2945
|
+
PostMenuV3DraftBrandGlobalDiffsApplyPath {}
|
|
2946
|
+
|
|
2460
2947
|
// POST /menu/v3/brand/{id}/attachment/{name}
|
|
2461
2948
|
|
|
2462
2949
|
export interface PostMenuV3BrandAttachmentPath {
|
|
@@ -2487,7 +2974,7 @@ export interface PostMenuV3BrandBody {
|
|
|
2487
2974
|
parent?: PublishedBrandDTO;
|
|
2488
2975
|
children?: PublishedBrandDTO[];
|
|
2489
2976
|
posid_segment?: POSIDSegmentDTO;
|
|
2490
|
-
|
|
2977
|
+
menus?: PublishedMenuDTO[];
|
|
2491
2978
|
categories?: PublishedCategoryDTO[];
|
|
2492
2979
|
category_to_item_relationships?: PublishedCategoryToItemRelationshipDTO[];
|
|
2493
2980
|
items?: PublishedItemDTO[];
|
|
@@ -2501,10 +2988,12 @@ export interface PostMenuV3BrandBody {
|
|
|
2501
2988
|
type?: string;
|
|
2502
2989
|
parent_id?: string;
|
|
2503
2990
|
local_menu_group_id?: string;
|
|
2504
|
-
|
|
2991
|
+
global_menu_group_id?: string;
|
|
2992
|
+
id?: any;
|
|
2505
2993
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2506
|
-
|
|
2994
|
+
global_menu_group?: GlobalMenuGroupDTO;
|
|
2507
2995
|
attachments?: FileAttachmentsDTO;
|
|
2996
|
+
permissions?: any;
|
|
2508
2997
|
[index: string]: any;
|
|
2509
2998
|
}
|
|
2510
2999
|
|
|
@@ -2551,7 +3040,7 @@ export interface PatchMenuV3BrandBody {
|
|
|
2551
3040
|
parent?: PublishedBrandDTO;
|
|
2552
3041
|
children?: PublishedBrandDTO[];
|
|
2553
3042
|
posid_segment?: POSIDSegmentDTO;
|
|
2554
|
-
|
|
3043
|
+
menus?: PublishedMenuDTO[];
|
|
2555
3044
|
categories?: PublishedCategoryDTO[];
|
|
2556
3045
|
category_to_item_relationships?: PublishedCategoryToItemRelationshipDTO[];
|
|
2557
3046
|
items?: PublishedItemDTO[];
|
|
@@ -2566,10 +3055,11 @@ export interface PatchMenuV3BrandBody {
|
|
|
2566
3055
|
type?: string;
|
|
2567
3056
|
parent_id?: string;
|
|
2568
3057
|
local_menu_group_id?: string;
|
|
2569
|
-
|
|
3058
|
+
global_menu_group_id?: string;
|
|
2570
3059
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2571
|
-
|
|
3060
|
+
global_menu_group?: GlobalMenuGroupDTO;
|
|
2572
3061
|
attachments?: FileAttachmentsDTO;
|
|
3062
|
+
permissions?: any;
|
|
2573
3063
|
[index: string]: any;
|
|
2574
3064
|
}
|
|
2575
3065
|
|
|
@@ -2639,7 +3129,7 @@ export type PostMenuV3BrandsBody = {
|
|
|
2639
3129
|
parent?: PublishedBrandDTO;
|
|
2640
3130
|
children?: PublishedBrandDTO[];
|
|
2641
3131
|
posid_segment?: POSIDSegmentDTO;
|
|
2642
|
-
|
|
3132
|
+
menus?: PublishedMenuDTO[];
|
|
2643
3133
|
categories?: PublishedCategoryDTO[];
|
|
2644
3134
|
category_to_item_relationships?: PublishedCategoryToItemRelationshipDTO[];
|
|
2645
3135
|
items?: PublishedItemDTO[];
|
|
@@ -2653,10 +3143,12 @@ export type PostMenuV3BrandsBody = {
|
|
|
2653
3143
|
type?: string;
|
|
2654
3144
|
parent_id?: string;
|
|
2655
3145
|
local_menu_group_id?: string;
|
|
2656
|
-
|
|
3146
|
+
global_menu_group_id?: string;
|
|
3147
|
+
id?: any;
|
|
2657
3148
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2658
|
-
|
|
3149
|
+
global_menu_group?: GlobalMenuGroupDTO;
|
|
2659
3150
|
attachments?: FileAttachmentsDTO;
|
|
3151
|
+
permissions?: any;
|
|
2660
3152
|
[index: string]: any;
|
|
2661
3153
|
}[];
|
|
2662
3154
|
|
|
@@ -2689,13 +3181,13 @@ export interface GetMenuV3BrandsCountRequest
|
|
|
2689
3181
|
extends BaseRequest,
|
|
2690
3182
|
RequestQuery<GetMenuV3BrandsCountQuery> {}
|
|
2691
3183
|
|
|
2692
|
-
// GET /menu/v3/brand/{id}/
|
|
3184
|
+
// GET /menu/v3/brand/{id}/menus
|
|
2693
3185
|
|
|
2694
|
-
export interface
|
|
3186
|
+
export interface GetMenuV3BrandMenusPath {
|
|
2695
3187
|
id: string;
|
|
2696
3188
|
}
|
|
2697
3189
|
|
|
2698
|
-
export interface
|
|
3190
|
+
export interface GetMenuV3BrandMenusQuery {
|
|
2699
3191
|
// If specified, only the selected fields will be returned
|
|
2700
3192
|
select?: string[];
|
|
2701
3193
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
@@ -2715,16 +3207,16 @@ export interface GetMenuV3BrandLayoutsQuery {
|
|
|
2715
3207
|
nocache?: boolean;
|
|
2716
3208
|
}
|
|
2717
3209
|
|
|
2718
|
-
export interface
|
|
2719
|
-
results:
|
|
3210
|
+
export interface GetMenuV3BrandMenusResponse {
|
|
3211
|
+
results: DraftMenuDTO[];
|
|
2720
3212
|
meta?: ListResponseMetadataDTO;
|
|
2721
3213
|
[index: string]: any;
|
|
2722
3214
|
}
|
|
2723
3215
|
|
|
2724
|
-
export interface
|
|
3216
|
+
export interface GetMenuV3BrandMenusRequest
|
|
2725
3217
|
extends BaseRequest,
|
|
2726
|
-
RequestQuery<
|
|
2727
|
-
|
|
3218
|
+
RequestQuery<GetMenuV3BrandMenusQuery>,
|
|
3219
|
+
GetMenuV3BrandMenusPath {}
|
|
2728
3220
|
|
|
2729
3221
|
// GET /menu/v3/brand/{id}/modifiers
|
|
2730
3222
|
|
|
@@ -2851,7 +3343,7 @@ export interface PostMenuV3BrandLocalResponse {
|
|
|
2851
3343
|
parent?: DraftBrandDTO;
|
|
2852
3344
|
children?: DraftBrandDTO[];
|
|
2853
3345
|
posid_segment?: POSIDSegmentDTO;
|
|
2854
|
-
|
|
3346
|
+
menus?: DraftMenuDTO[];
|
|
2855
3347
|
categories?: DraftCategoryDTO[];
|
|
2856
3348
|
category_to_item_relationships?: DraftCategoryToItemRelationshipDTO[];
|
|
2857
3349
|
items?: DraftItemDTO[];
|
|
@@ -2860,7 +3352,7 @@ export interface PostMenuV3BrandLocalResponse {
|
|
|
2860
3352
|
modifier_group_to_modifier_relationships?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
2861
3353
|
modifiers?: DraftModifierDTO[];
|
|
2862
3354
|
statuses?: BrandStatusDTO[];
|
|
2863
|
-
id
|
|
3355
|
+
id?: string;
|
|
2864
3356
|
created_at?: string;
|
|
2865
3357
|
updated_at?: string;
|
|
2866
3358
|
deleted_at?: string;
|
|
@@ -2870,12 +3362,14 @@ export interface PostMenuV3BrandLocalResponse {
|
|
|
2870
3362
|
type?: string;
|
|
2871
3363
|
parent_id?: string;
|
|
2872
3364
|
local_menu_group_id?: string;
|
|
2873
|
-
|
|
3365
|
+
global_menu_group_id?: string;
|
|
2874
3366
|
version?: number;
|
|
2875
3367
|
changes?: BrandChangeDTO[];
|
|
2876
3368
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2877
|
-
|
|
3369
|
+
global_menu_group?: GlobalMenuGroupDTO;
|
|
3370
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
2878
3371
|
attachments?: FileAttachmentsDTO;
|
|
3372
|
+
permissions?: any;
|
|
2879
3373
|
[index: string]: any;
|
|
2880
3374
|
}
|
|
2881
3375
|
|
|
@@ -2884,35 +3378,36 @@ export interface PostMenuV3BrandLocalRequest
|
|
|
2884
3378
|
RequestQuery<PostMenuV3BrandLocalQuery>,
|
|
2885
3379
|
PostMenuV3BrandLocalPath {}
|
|
2886
3380
|
|
|
2887
|
-
// POST /menu/v3/draft/
|
|
3381
|
+
// POST /menu/v3/draft/menu
|
|
2888
3382
|
|
|
2889
|
-
export interface
|
|
2890
|
-
parent?:
|
|
2891
|
-
children?:
|
|
3383
|
+
export interface PostMenuV3DraftMenuBody {
|
|
3384
|
+
parent?: DraftMenuDTO;
|
|
3385
|
+
children?: DraftMenuDTO[];
|
|
2892
3386
|
categories?: DraftCategoryDTO[];
|
|
2893
3387
|
parent_id?: string;
|
|
2894
3388
|
name: string;
|
|
2895
3389
|
brand_id: string;
|
|
2896
|
-
|
|
3390
|
+
id?: any;
|
|
2897
3391
|
brand?: DraftBrandDTO;
|
|
2898
|
-
changes?:
|
|
2899
|
-
|
|
3392
|
+
changes?: MenuChangeDTO[];
|
|
3393
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
3394
|
+
permissions?: any;
|
|
2900
3395
|
[index: string]: any;
|
|
2901
3396
|
}
|
|
2902
3397
|
|
|
2903
|
-
export type
|
|
3398
|
+
export type PostMenuV3DraftMenuResponse = DraftMenuDTO;
|
|
2904
3399
|
|
|
2905
|
-
export interface
|
|
2906
|
-
body:
|
|
3400
|
+
export interface PostMenuV3DraftMenuRequest extends BaseRequest {
|
|
3401
|
+
body: PostMenuV3DraftMenuBody;
|
|
2907
3402
|
}
|
|
2908
3403
|
|
|
2909
|
-
// GET /menu/v3/draft/
|
|
3404
|
+
// GET /menu/v3/draft/menu/{id}
|
|
2910
3405
|
|
|
2911
|
-
export interface
|
|
3406
|
+
export interface GetMenuV3DraftMenuPath {
|
|
2912
3407
|
id: string;
|
|
2913
3408
|
}
|
|
2914
3409
|
|
|
2915
|
-
export interface
|
|
3410
|
+
export interface GetMenuV3DraftMenuQuery {
|
|
2916
3411
|
// If specified, only the selected fields will be returned
|
|
2917
3412
|
select?: string[];
|
|
2918
3413
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
@@ -2921,53 +3416,53 @@ export interface GetMenuV3DraftLayoutQuery {
|
|
|
2921
3416
|
_query?: string;
|
|
2922
3417
|
}
|
|
2923
3418
|
|
|
2924
|
-
export type
|
|
3419
|
+
export type GetMenuV3DraftMenuResponse = DraftMenuDTO;
|
|
2925
3420
|
|
|
2926
|
-
export interface
|
|
3421
|
+
export interface GetMenuV3DraftMenuRequest
|
|
2927
3422
|
extends BaseRequest,
|
|
2928
|
-
RequestQuery<
|
|
2929
|
-
|
|
3423
|
+
RequestQuery<GetMenuV3DraftMenuQuery>,
|
|
3424
|
+
GetMenuV3DraftMenuPath {}
|
|
2930
3425
|
|
|
2931
|
-
// PATCH /menu/v3/draft/
|
|
3426
|
+
// PATCH /menu/v3/draft/menu/{id}
|
|
2932
3427
|
|
|
2933
|
-
export interface
|
|
3428
|
+
export interface PatchMenuV3DraftMenuPath {
|
|
2934
3429
|
id: string;
|
|
2935
3430
|
}
|
|
2936
3431
|
|
|
2937
|
-
export interface
|
|
2938
|
-
parent?:
|
|
2939
|
-
children?:
|
|
3432
|
+
export interface PatchMenuV3DraftMenuBody {
|
|
3433
|
+
parent?: DraftMenuDTO;
|
|
3434
|
+
children?: DraftMenuDTO[];
|
|
2940
3435
|
categories?: DraftCategoryDTO[];
|
|
2941
3436
|
id?: string;
|
|
2942
3437
|
parent_id?: string;
|
|
2943
3438
|
name?: string;
|
|
2944
3439
|
brand_id?: string;
|
|
2945
|
-
station_id?: string;
|
|
2946
3440
|
brand?: DraftBrandDTO;
|
|
2947
|
-
changes?:
|
|
2948
|
-
|
|
3441
|
+
changes?: MenuChangeDTO[];
|
|
3442
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
3443
|
+
permissions?: any;
|
|
2949
3444
|
[index: string]: any;
|
|
2950
3445
|
}
|
|
2951
3446
|
|
|
2952
|
-
export type
|
|
3447
|
+
export type PatchMenuV3DraftMenuResponse = DraftMenuDTO;
|
|
2953
3448
|
|
|
2954
|
-
export interface
|
|
2955
|
-
body:
|
|
3449
|
+
export interface PatchMenuV3DraftMenuRequest extends BaseRequest, PatchMenuV3DraftMenuPath {
|
|
3450
|
+
body: PatchMenuV3DraftMenuBody;
|
|
2956
3451
|
}
|
|
2957
3452
|
|
|
2958
|
-
// DELETE /menu/v3/draft/
|
|
3453
|
+
// DELETE /menu/v3/draft/menu/{id}
|
|
2959
3454
|
|
|
2960
|
-
export interface
|
|
3455
|
+
export interface DeleteMenuV3DraftMenuPath {
|
|
2961
3456
|
id: string;
|
|
2962
3457
|
}
|
|
2963
3458
|
|
|
2964
|
-
export type
|
|
3459
|
+
export type DeleteMenuV3DraftMenuResponse = DraftMenuDTO;
|
|
2965
3460
|
|
|
2966
|
-
export interface
|
|
3461
|
+
export interface DeleteMenuV3DraftMenuRequest extends BaseRequest, DeleteMenuV3DraftMenuPath {}
|
|
2967
3462
|
|
|
2968
|
-
// GET /menu/v3/draft/
|
|
3463
|
+
// GET /menu/v3/draft/menus
|
|
2969
3464
|
|
|
2970
|
-
export interface
|
|
3465
|
+
export interface GetMenuV3DraftMenusQuery {
|
|
2971
3466
|
// If specified, only the selected fields will be returned
|
|
2972
3467
|
select?: string[];
|
|
2973
3468
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
@@ -2986,67 +3481,68 @@ export interface GetMenuV3DraftLayoutsQuery {
|
|
|
2986
3481
|
_query?: string;
|
|
2987
3482
|
}
|
|
2988
3483
|
|
|
2989
|
-
export interface
|
|
2990
|
-
results:
|
|
3484
|
+
export interface GetMenuV3DraftMenusResponse {
|
|
3485
|
+
results: DraftMenuDTO[];
|
|
2991
3486
|
meta?: ListResponseMetadataDTO;
|
|
2992
3487
|
[index: string]: any;
|
|
2993
3488
|
}
|
|
2994
3489
|
|
|
2995
|
-
export interface
|
|
3490
|
+
export interface GetMenuV3DraftMenusRequest
|
|
2996
3491
|
extends BaseRequest,
|
|
2997
|
-
RequestQuery<
|
|
3492
|
+
RequestQuery<GetMenuV3DraftMenusQuery> {}
|
|
2998
3493
|
|
|
2999
|
-
// POST /menu/v3/draft/
|
|
3494
|
+
// POST /menu/v3/draft/menus
|
|
3000
3495
|
|
|
3001
|
-
export type
|
|
3002
|
-
parent?:
|
|
3003
|
-
children?:
|
|
3496
|
+
export type PostMenuV3DraftMenusBody = {
|
|
3497
|
+
parent?: DraftMenuDTO;
|
|
3498
|
+
children?: DraftMenuDTO[];
|
|
3004
3499
|
categories?: DraftCategoryDTO[];
|
|
3005
3500
|
parent_id?: string;
|
|
3006
3501
|
name: string;
|
|
3007
3502
|
brand_id: string;
|
|
3008
|
-
|
|
3503
|
+
id?: any;
|
|
3009
3504
|
brand?: DraftBrandDTO;
|
|
3010
|
-
changes?:
|
|
3011
|
-
|
|
3505
|
+
changes?: MenuChangeDTO[];
|
|
3506
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
3507
|
+
permissions?: any;
|
|
3012
3508
|
[index: string]: any;
|
|
3013
3509
|
}[];
|
|
3014
3510
|
|
|
3015
|
-
export interface
|
|
3016
|
-
results:
|
|
3511
|
+
export interface PostMenuV3DraftMenusResponse {
|
|
3512
|
+
results: DraftMenuDTO[];
|
|
3017
3513
|
meta?: ListResponseMetadataDTO;
|
|
3018
3514
|
[index: string]: any;
|
|
3019
3515
|
}
|
|
3020
3516
|
|
|
3021
|
-
export interface
|
|
3022
|
-
body:
|
|
3517
|
+
export interface PostMenuV3DraftMenusRequest extends BaseRequest {
|
|
3518
|
+
body: PostMenuV3DraftMenusBody;
|
|
3023
3519
|
}
|
|
3024
3520
|
|
|
3025
|
-
// GET /menu/v3/draft/
|
|
3521
|
+
// GET /menu/v3/draft/menus/count
|
|
3026
3522
|
|
|
3027
|
-
export interface
|
|
3523
|
+
export interface GetMenuV3DraftMenusCountQuery {
|
|
3028
3524
|
// The fields that filtering is allowed on
|
|
3029
3525
|
filter?: any;
|
|
3030
3526
|
// Graphql query string
|
|
3031
3527
|
_query?: string;
|
|
3032
3528
|
}
|
|
3033
3529
|
|
|
3034
|
-
export interface
|
|
3530
|
+
export interface GetMenuV3DraftMenusCountResponse {
|
|
3035
3531
|
count: number;
|
|
3036
3532
|
[index: string]: any;
|
|
3037
3533
|
}
|
|
3038
3534
|
|
|
3039
|
-
export interface
|
|
3535
|
+
export interface GetMenuV3DraftMenusCountRequest
|
|
3040
3536
|
extends BaseRequest,
|
|
3041
|
-
RequestQuery<
|
|
3537
|
+
RequestQuery<GetMenuV3DraftMenusCountQuery> {}
|
|
3042
3538
|
|
|
3043
|
-
// GET /menu/v3/draft/
|
|
3539
|
+
// GET /menu/v3/draft/menu/{id}/categories
|
|
3044
3540
|
|
|
3045
|
-
export interface
|
|
3541
|
+
export interface GetMenuV3DraftMenuCategoriesPath {
|
|
3046
3542
|
id: string;
|
|
3047
3543
|
}
|
|
3048
3544
|
|
|
3049
|
-
export interface
|
|
3545
|
+
export interface GetMenuV3DraftMenuCategoriesQuery {
|
|
3050
3546
|
// If specified, only the selected fields will be returned
|
|
3051
3547
|
select?: string[];
|
|
3052
3548
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
@@ -3065,38 +3561,38 @@ export interface GetMenuV3DraftLayoutCategoriesQuery {
|
|
|
3065
3561
|
_query?: string;
|
|
3066
3562
|
}
|
|
3067
3563
|
|
|
3068
|
-
export interface
|
|
3564
|
+
export interface GetMenuV3DraftMenuCategoriesResponse {
|
|
3069
3565
|
results: DraftCategoryDTO[];
|
|
3070
3566
|
meta?: ListResponseMetadataDTO;
|
|
3071
3567
|
[index: string]: any;
|
|
3072
3568
|
}
|
|
3073
3569
|
|
|
3074
|
-
export interface
|
|
3570
|
+
export interface GetMenuV3DraftMenuCategoriesRequest
|
|
3075
3571
|
extends BaseRequest,
|
|
3076
|
-
RequestQuery<
|
|
3077
|
-
|
|
3572
|
+
RequestQuery<GetMenuV3DraftMenuCategoriesQuery>,
|
|
3573
|
+
GetMenuV3DraftMenuCategoriesPath {}
|
|
3078
3574
|
|
|
3079
|
-
// POST /menu/v3/draft/
|
|
3575
|
+
// POST /menu/v3/draft/menu/{id}/publish
|
|
3080
3576
|
|
|
3081
|
-
export interface
|
|
3577
|
+
export interface PostMenuV3DraftMenuPublishPath {
|
|
3082
3578
|
id: string;
|
|
3083
3579
|
}
|
|
3084
3580
|
|
|
3085
|
-
export interface
|
|
3581
|
+
export interface PostMenuV3DraftMenuPublishResponse {
|
|
3086
3582
|
status?: string;
|
|
3087
3583
|
}
|
|
3088
3584
|
|
|
3089
|
-
export interface
|
|
3585
|
+
export interface PostMenuV3DraftMenuPublishRequest
|
|
3090
3586
|
extends BaseRequest,
|
|
3091
|
-
|
|
3587
|
+
PostMenuV3DraftMenuPublishPath {}
|
|
3092
3588
|
|
|
3093
|
-
// GET /menu/v3/
|
|
3589
|
+
// GET /menu/v3/menu/{id}
|
|
3094
3590
|
|
|
3095
|
-
export interface
|
|
3591
|
+
export interface GetMenuV3MenuPath {
|
|
3096
3592
|
id: string;
|
|
3097
3593
|
}
|
|
3098
3594
|
|
|
3099
|
-
export interface
|
|
3595
|
+
export interface GetMenuV3MenuQuery {
|
|
3100
3596
|
// If specified, only the selected fields will be returned
|
|
3101
3597
|
select?: string[];
|
|
3102
3598
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
@@ -3106,16 +3602,16 @@ export interface GetMenuV3LayoutQuery {
|
|
|
3106
3602
|
nocache?: boolean;
|
|
3107
3603
|
}
|
|
3108
3604
|
|
|
3109
|
-
export type
|
|
3605
|
+
export type GetMenuV3MenuResponse = PublishedMenuDTO;
|
|
3110
3606
|
|
|
3111
|
-
export interface
|
|
3607
|
+
export interface GetMenuV3MenuRequest
|
|
3112
3608
|
extends BaseRequest,
|
|
3113
|
-
RequestQuery<
|
|
3114
|
-
|
|
3609
|
+
RequestQuery<GetMenuV3MenuQuery>,
|
|
3610
|
+
GetMenuV3MenuPath {}
|
|
3115
3611
|
|
|
3116
|
-
// GET /menu/v3/
|
|
3612
|
+
// GET /menu/v3/menus
|
|
3117
3613
|
|
|
3118
|
-
export interface
|
|
3614
|
+
export interface GetMenuV3MenusQuery {
|
|
3119
3615
|
// If specified, only the selected fields will be returned
|
|
3120
3616
|
select?: string[];
|
|
3121
3617
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
@@ -3135,17 +3631,17 @@ export interface GetMenuV3LayoutsQuery {
|
|
|
3135
3631
|
nocache?: boolean;
|
|
3136
3632
|
}
|
|
3137
3633
|
|
|
3138
|
-
export interface
|
|
3139
|
-
results:
|
|
3634
|
+
export interface GetMenuV3MenusResponse {
|
|
3635
|
+
results: PublishedMenuDTO[];
|
|
3140
3636
|
meta?: ListResponseMetadataDTO;
|
|
3141
3637
|
[index: string]: any;
|
|
3142
3638
|
}
|
|
3143
3639
|
|
|
3144
|
-
export interface
|
|
3640
|
+
export interface GetMenuV3MenusRequest extends BaseRequest, RequestQuery<GetMenuV3MenusQuery> {}
|
|
3145
3641
|
|
|
3146
|
-
// GET /menu/v3/
|
|
3642
|
+
// GET /menu/v3/menus/count
|
|
3147
3643
|
|
|
3148
|
-
export interface
|
|
3644
|
+
export interface GetMenuV3MenusCountQuery {
|
|
3149
3645
|
// The fields that filtering is allowed on
|
|
3150
3646
|
filter?: any;
|
|
3151
3647
|
// Graphql query string
|
|
@@ -3153,22 +3649,22 @@ export interface GetMenuV3LayoutsCountQuery {
|
|
|
3153
3649
|
nocache?: boolean;
|
|
3154
3650
|
}
|
|
3155
3651
|
|
|
3156
|
-
export interface
|
|
3652
|
+
export interface GetMenuV3MenusCountResponse {
|
|
3157
3653
|
count: number;
|
|
3158
3654
|
[index: string]: any;
|
|
3159
3655
|
}
|
|
3160
3656
|
|
|
3161
|
-
export interface
|
|
3657
|
+
export interface GetMenuV3MenusCountRequest
|
|
3162
3658
|
extends BaseRequest,
|
|
3163
|
-
RequestQuery<
|
|
3659
|
+
RequestQuery<GetMenuV3MenusCountQuery> {}
|
|
3164
3660
|
|
|
3165
|
-
// GET /menu/v3/
|
|
3661
|
+
// GET /menu/v3/menu/{id}/categories
|
|
3166
3662
|
|
|
3167
|
-
export interface
|
|
3663
|
+
export interface GetMenuV3MenuCategoriesPath {
|
|
3168
3664
|
id: string;
|
|
3169
3665
|
}
|
|
3170
3666
|
|
|
3171
|
-
export interface
|
|
3667
|
+
export interface GetMenuV3MenuCategoriesQuery {
|
|
3172
3668
|
// If specified, only the selected fields will be returned
|
|
3173
3669
|
select?: string[];
|
|
3174
3670
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
@@ -3188,16 +3684,16 @@ export interface GetMenuV3LayoutCategoriesQuery {
|
|
|
3188
3684
|
nocache?: boolean;
|
|
3189
3685
|
}
|
|
3190
3686
|
|
|
3191
|
-
export interface
|
|
3687
|
+
export interface GetMenuV3MenuCategoriesResponse {
|
|
3192
3688
|
results: DraftCategoryDTO[];
|
|
3193
3689
|
meta?: ListResponseMetadataDTO;
|
|
3194
3690
|
[index: string]: any;
|
|
3195
3691
|
}
|
|
3196
3692
|
|
|
3197
|
-
export interface
|
|
3693
|
+
export interface GetMenuV3MenuCategoriesRequest
|
|
3198
3694
|
extends BaseRequest,
|
|
3199
|
-
RequestQuery<
|
|
3200
|
-
|
|
3695
|
+
RequestQuery<GetMenuV3MenuCategoriesQuery>,
|
|
3696
|
+
GetMenuV3MenuCategoriesPath {}
|
|
3201
3697
|
|
|
3202
3698
|
// POST /menu/v3/draft/category
|
|
3203
3699
|
|
|
@@ -3210,12 +3706,14 @@ export interface PostMenuV3DraftCategoryBody {
|
|
|
3210
3706
|
sequence?: number;
|
|
3211
3707
|
is_active?: boolean;
|
|
3212
3708
|
brand_id: string;
|
|
3213
|
-
|
|
3709
|
+
menu_id: string;
|
|
3214
3710
|
id?: any;
|
|
3215
|
-
|
|
3711
|
+
menu?: DraftMenuDTO;
|
|
3216
3712
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
3217
3713
|
brand?: DraftBrandDTO;
|
|
3218
3714
|
changes?: CategoryChangeDTO[];
|
|
3715
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
3716
|
+
permissions?: any;
|
|
3219
3717
|
[index: string]: any;
|
|
3220
3718
|
}
|
|
3221
3719
|
|
|
@@ -3263,11 +3761,13 @@ export interface PatchMenuV3DraftCategoryBody {
|
|
|
3263
3761
|
sequence?: number;
|
|
3264
3762
|
is_active?: boolean;
|
|
3265
3763
|
brand_id?: string;
|
|
3266
|
-
|
|
3267
|
-
|
|
3764
|
+
menu_id?: string;
|
|
3765
|
+
menu?: DraftMenuDTO;
|
|
3268
3766
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
3269
3767
|
brand?: DraftBrandDTO;
|
|
3270
3768
|
changes?: CategoryChangeDTO[];
|
|
3769
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
3770
|
+
permissions?: any;
|
|
3271
3771
|
[index: string]: any;
|
|
3272
3772
|
}
|
|
3273
3773
|
|
|
@@ -3307,9 +3807,9 @@ export interface GetMenuV3DraftCategoriesCountRequest
|
|
|
3307
3807
|
extends BaseRequest,
|
|
3308
3808
|
RequestQuery<GetMenuV3DraftCategoriesCountQuery> {}
|
|
3309
3809
|
|
|
3310
|
-
// POST /menu/v3/draft/
|
|
3810
|
+
// POST /menu/v3/draft/categories
|
|
3311
3811
|
|
|
3312
|
-
export type
|
|
3812
|
+
export type PostMenuV3DraftCategoriesBody = {
|
|
3313
3813
|
parent?: DraftCategoryDTO;
|
|
3314
3814
|
children?: DraftCategoryDTO[];
|
|
3315
3815
|
parent_id?: string;
|
|
@@ -3318,22 +3818,25 @@ export type PostMenuV3DraftCategorysBody = {
|
|
|
3318
3818
|
sequence?: number;
|
|
3319
3819
|
is_active?: boolean;
|
|
3320
3820
|
brand_id: string;
|
|
3321
|
-
|
|
3322
|
-
|
|
3821
|
+
menu_id: string;
|
|
3822
|
+
id?: any;
|
|
3823
|
+
menu?: DraftMenuDTO;
|
|
3323
3824
|
items?: DraftCategoryToItemRelationshipDTO[];
|
|
3324
3825
|
brand?: DraftBrandDTO;
|
|
3325
3826
|
changes?: CategoryChangeDTO[];
|
|
3827
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
3828
|
+
permissions?: any;
|
|
3326
3829
|
[index: string]: any;
|
|
3327
3830
|
}[];
|
|
3328
3831
|
|
|
3329
|
-
export interface
|
|
3832
|
+
export interface PostMenuV3DraftCategoriesResponse {
|
|
3330
3833
|
results: DraftCategoryDTO[];
|
|
3331
3834
|
meta?: ListResponseMetadataDTO;
|
|
3332
3835
|
[index: string]: any;
|
|
3333
3836
|
}
|
|
3334
3837
|
|
|
3335
|
-
export interface
|
|
3336
|
-
body:
|
|
3838
|
+
export interface PostMenuV3DraftCategoriesRequest extends BaseRequest {
|
|
3839
|
+
body: PostMenuV3DraftCategoriesBody;
|
|
3337
3840
|
}
|
|
3338
3841
|
|
|
3339
3842
|
// GET /menu/v3/category/{id}
|
|
@@ -3388,10 +3891,13 @@ export interface PostMenuV3DraftCategoryRelationshipsItemBody {
|
|
|
3388
3891
|
category_id: string;
|
|
3389
3892
|
brand_id?: string;
|
|
3390
3893
|
sequence?: number;
|
|
3894
|
+
id?: any;
|
|
3391
3895
|
category?: DraftCategoryDTO;
|
|
3392
3896
|
item?: DraftItemDTO;
|
|
3393
3897
|
brand?: DraftBrandDTO;
|
|
3394
3898
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
3899
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
3900
|
+
permissions?: any;
|
|
3395
3901
|
[index: string]: any;
|
|
3396
3902
|
}
|
|
3397
3903
|
|
|
@@ -3442,6 +3948,8 @@ export interface PatchMenuV3DraftCategoryRelationshipsItemBody {
|
|
|
3442
3948
|
item?: DraftItemDTO;
|
|
3443
3949
|
brand?: DraftBrandDTO;
|
|
3444
3950
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
3951
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
3952
|
+
permissions?: any;
|
|
3445
3953
|
[index: string]: any;
|
|
3446
3954
|
}
|
|
3447
3955
|
|
|
@@ -3506,10 +4014,13 @@ export type PostMenuV3DraftCategoryRelationshipsItemsBody = {
|
|
|
3506
4014
|
category_id: string;
|
|
3507
4015
|
brand_id?: string;
|
|
3508
4016
|
sequence?: number;
|
|
4017
|
+
id?: any;
|
|
3509
4018
|
category?: DraftCategoryDTO;
|
|
3510
4019
|
item?: DraftItemDTO;
|
|
3511
4020
|
brand?: DraftBrandDTO;
|
|
3512
4021
|
changes?: CategoryToItemRelationshipChangeDTO[];
|
|
4022
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
4023
|
+
permissions?: any;
|
|
3513
4024
|
[index: string]: any;
|
|
3514
4025
|
}[];
|
|
3515
4026
|
|
|
@@ -3631,16 +4142,17 @@ export interface PostMenuV3DraftItemBody {
|
|
|
3631
4142
|
barcode?: string;
|
|
3632
4143
|
calories?: number;
|
|
3633
4144
|
is_active?: boolean;
|
|
3634
|
-
posid
|
|
4145
|
+
posid?: string;
|
|
3635
4146
|
tax_tags?: any[];
|
|
3636
4147
|
brand_id: string;
|
|
3637
|
-
station_id?: string;
|
|
3638
4148
|
id?: any;
|
|
3639
4149
|
brand?: DraftBrandDTO;
|
|
3640
4150
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
3641
4151
|
changes?: ItemChangeDTO[];
|
|
3642
|
-
|
|
4152
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
4153
|
+
reporting?: ReportingMetadataDTO;
|
|
3643
4154
|
attachments?: FileAttachmentsDTO;
|
|
4155
|
+
permissions?: any;
|
|
3644
4156
|
[index: string]: any;
|
|
3645
4157
|
}
|
|
3646
4158
|
|
|
@@ -3695,12 +4207,13 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
3695
4207
|
posid?: string;
|
|
3696
4208
|
tax_tags?: any[];
|
|
3697
4209
|
brand_id?: string;
|
|
3698
|
-
station_id?: string;
|
|
3699
4210
|
brand?: DraftBrandDTO;
|
|
3700
4211
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
3701
4212
|
changes?: ItemChangeDTO[];
|
|
3702
|
-
|
|
4213
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
4214
|
+
reporting?: ReportingMetadataDTO;
|
|
3703
4215
|
attachments?: FileAttachmentsDTO;
|
|
4216
|
+
permissions?: any;
|
|
3704
4217
|
[index: string]: any;
|
|
3705
4218
|
}
|
|
3706
4219
|
|
|
@@ -3766,15 +4279,17 @@ export type PostMenuV3DraftItemsBody = {
|
|
|
3766
4279
|
barcode?: string;
|
|
3767
4280
|
calories?: number;
|
|
3768
4281
|
is_active?: boolean;
|
|
3769
|
-
posid
|
|
4282
|
+
posid?: string;
|
|
3770
4283
|
tax_tags?: any[];
|
|
3771
4284
|
brand_id: string;
|
|
3772
|
-
|
|
4285
|
+
id?: any;
|
|
3773
4286
|
brand?: DraftBrandDTO;
|
|
3774
4287
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
3775
4288
|
changes?: ItemChangeDTO[];
|
|
3776
|
-
|
|
4289
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
4290
|
+
reporting?: ReportingMetadataDTO;
|
|
3777
4291
|
attachments?: FileAttachmentsDTO;
|
|
4292
|
+
permissions?: any;
|
|
3778
4293
|
[index: string]: any;
|
|
3779
4294
|
}[];
|
|
3780
4295
|
|
|
@@ -3908,10 +4423,13 @@ export interface PostMenuV3DraftItemRelationshipsModifierGroupBody {
|
|
|
3908
4423
|
item_id: string;
|
|
3909
4424
|
brand_id?: string;
|
|
3910
4425
|
sequence?: number;
|
|
4426
|
+
id?: any;
|
|
3911
4427
|
item?: DraftItemDTO;
|
|
3912
4428
|
modifier_group?: DraftModifierGroupDTO;
|
|
3913
4429
|
brand?: DraftBrandDTO;
|
|
3914
4430
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
4431
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
4432
|
+
permissions?: any;
|
|
3915
4433
|
[index: string]: any;
|
|
3916
4434
|
}
|
|
3917
4435
|
|
|
@@ -3964,6 +4482,8 @@ export interface PatchMenuV3DraftItemRelationshipsModifierGroupBody {
|
|
|
3964
4482
|
modifier_group?: DraftModifierGroupDTO;
|
|
3965
4483
|
brand?: DraftBrandDTO;
|
|
3966
4484
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
4485
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
4486
|
+
permissions?: any;
|
|
3967
4487
|
[index: string]: any;
|
|
3968
4488
|
}
|
|
3969
4489
|
|
|
@@ -4030,10 +4550,13 @@ export type PostMenuV3DraftItemRelationshipsModifierGroupsBody = {
|
|
|
4030
4550
|
item_id: string;
|
|
4031
4551
|
brand_id?: string;
|
|
4032
4552
|
sequence?: number;
|
|
4553
|
+
id?: any;
|
|
4033
4554
|
item?: DraftItemDTO;
|
|
4034
4555
|
modifier_group?: DraftModifierGroupDTO;
|
|
4035
4556
|
brand?: DraftBrandDTO;
|
|
4036
4557
|
changes?: ItemToModifierGroupRelationshipChangeDTO[];
|
|
4558
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
4559
|
+
permissions?: any;
|
|
4037
4560
|
[index: string]: any;
|
|
4038
4561
|
}[];
|
|
4039
4562
|
|
|
@@ -4154,11 +4677,11 @@ export interface PostMenuV3DraftModifierGroupBody {
|
|
|
4154
4677
|
max?: number;
|
|
4155
4678
|
is_active?: boolean;
|
|
4156
4679
|
brand_id: string;
|
|
4157
|
-
station_id?: string;
|
|
4158
4680
|
id?: any;
|
|
4159
4681
|
brand?: DraftBrandDTO;
|
|
4160
4682
|
changes?: ModifierGroupChangeDTO[];
|
|
4161
|
-
|
|
4683
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
4684
|
+
permissions?: any;
|
|
4162
4685
|
[index: string]: any;
|
|
4163
4686
|
}
|
|
4164
4687
|
|
|
@@ -4209,10 +4732,10 @@ export interface PatchMenuV3DraftModifierGroupBody {
|
|
|
4209
4732
|
max?: number;
|
|
4210
4733
|
is_active?: boolean;
|
|
4211
4734
|
brand_id?: string;
|
|
4212
|
-
station_id?: string;
|
|
4213
4735
|
brand?: DraftBrandDTO;
|
|
4214
4736
|
changes?: ModifierGroupChangeDTO[];
|
|
4215
|
-
|
|
4737
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
4738
|
+
permissions?: any;
|
|
4216
4739
|
[index: string]: any;
|
|
4217
4740
|
}
|
|
4218
4741
|
|
|
@@ -4281,10 +4804,11 @@ export type PostMenuV3DraftModifierGroupsBody = {
|
|
|
4281
4804
|
max?: number;
|
|
4282
4805
|
is_active?: boolean;
|
|
4283
4806
|
brand_id: string;
|
|
4284
|
-
|
|
4807
|
+
id?: any;
|
|
4285
4808
|
brand?: DraftBrandDTO;
|
|
4286
4809
|
changes?: ModifierGroupChangeDTO[];
|
|
4287
|
-
|
|
4810
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
4811
|
+
permissions?: any;
|
|
4288
4812
|
[index: string]: any;
|
|
4289
4813
|
}[];
|
|
4290
4814
|
|
|
@@ -4400,10 +4924,13 @@ export interface PostMenuV3DraftModifierGroupRelationshipsModifierBody {
|
|
|
4400
4924
|
modifier_group_id: string;
|
|
4401
4925
|
brand_id?: string;
|
|
4402
4926
|
sequence?: number;
|
|
4927
|
+
id?: any;
|
|
4403
4928
|
modifier?: DraftModifierDTO;
|
|
4404
4929
|
modifier_group?: DraftModifierGroupDTO;
|
|
4405
4930
|
brand?: DraftBrandDTO;
|
|
4406
4931
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
4932
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
4933
|
+
permissions?: any;
|
|
4407
4934
|
[index: string]: any;
|
|
4408
4935
|
}
|
|
4409
4936
|
|
|
@@ -4456,6 +4983,8 @@ export interface PatchMenuV3DraftModifierGroupRelationshipsModifierBody {
|
|
|
4456
4983
|
modifier_group?: DraftModifierGroupDTO;
|
|
4457
4984
|
brand?: DraftBrandDTO;
|
|
4458
4985
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
4986
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
4987
|
+
permissions?: any;
|
|
4459
4988
|
[index: string]: any;
|
|
4460
4989
|
}
|
|
4461
4990
|
|
|
@@ -4522,10 +5051,13 @@ export type PostMenuV3DraftModifierGroupRelationshipsModifiersBody = {
|
|
|
4522
5051
|
modifier_group_id: string;
|
|
4523
5052
|
brand_id?: string;
|
|
4524
5053
|
sequence?: number;
|
|
5054
|
+
id?: any;
|
|
4525
5055
|
modifier?: DraftModifierDTO;
|
|
4526
5056
|
modifier_group?: DraftModifierGroupDTO;
|
|
4527
5057
|
brand?: DraftBrandDTO;
|
|
4528
5058
|
changes?: ModifierGroupToModifierRelationshipChangeDTO[];
|
|
5059
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
5060
|
+
permissions?: any;
|
|
4529
5061
|
[index: string]: any;
|
|
4530
5062
|
}[];
|
|
4531
5063
|
|
|
@@ -4647,13 +5179,14 @@ export interface PostMenuV3DraftModifierBody {
|
|
|
4647
5179
|
calories?: number;
|
|
4648
5180
|
tax_tags?: any[];
|
|
4649
5181
|
is_active?: boolean;
|
|
4650
|
-
posid
|
|
5182
|
+
posid?: string;
|
|
4651
5183
|
brand_id: string;
|
|
4652
|
-
station_id?: string;
|
|
4653
5184
|
id?: any;
|
|
4654
5185
|
brand?: DraftBrandDTO;
|
|
4655
5186
|
changes?: ModifierChangeDTO[];
|
|
4656
|
-
|
|
5187
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
5188
|
+
reporting?: ReportingMetadataDTO;
|
|
5189
|
+
permissions?: any;
|
|
4657
5190
|
[index: string]: any;
|
|
4658
5191
|
}
|
|
4659
5192
|
|
|
@@ -4707,10 +5240,11 @@ export interface PatchMenuV3DraftModifierBody {
|
|
|
4707
5240
|
is_active?: boolean;
|
|
4708
5241
|
posid?: string;
|
|
4709
5242
|
brand_id?: string;
|
|
4710
|
-
station_id?: string;
|
|
4711
5243
|
brand?: DraftBrandDTO;
|
|
4712
5244
|
changes?: ModifierChangeDTO[];
|
|
4713
|
-
|
|
5245
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
5246
|
+
reporting?: ReportingMetadataDTO;
|
|
5247
|
+
permissions?: any;
|
|
4714
5248
|
[index: string]: any;
|
|
4715
5249
|
}
|
|
4716
5250
|
|
|
@@ -4778,12 +5312,14 @@ export type PostMenuV3DraftModifiersBody = {
|
|
|
4778
5312
|
calories?: number;
|
|
4779
5313
|
tax_tags?: any[];
|
|
4780
5314
|
is_active?: boolean;
|
|
4781
|
-
posid
|
|
5315
|
+
posid?: string;
|
|
4782
5316
|
brand_id: string;
|
|
4783
|
-
|
|
5317
|
+
id?: any;
|
|
4784
5318
|
brand?: DraftBrandDTO;
|
|
4785
5319
|
changes?: ModifierChangeDTO[];
|
|
4786
|
-
|
|
5320
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
5321
|
+
reporting?: ReportingMetadataDTO;
|
|
5322
|
+
permissions?: any;
|
|
4787
5323
|
[index: string]: any;
|
|
4788
5324
|
}[];
|
|
4789
5325
|
|
|
@@ -4888,3 +5424,89 @@ export interface GetMenuV3ModifiersCountResponse {
|
|
|
4888
5424
|
export interface GetMenuV3ModifiersCountRequest
|
|
4889
5425
|
extends BaseRequest,
|
|
4890
5426
|
RequestQuery<GetMenuV3ModifiersCountQuery> {}
|
|
5427
|
+
|
|
5428
|
+
// POST /menu/v3/integrations/transltr/import
|
|
5429
|
+
|
|
5430
|
+
export interface PostMenuV3IntegrationsTransltrImportQuery {
|
|
5431
|
+
"body.data"?: string;
|
|
5432
|
+
}
|
|
5433
|
+
|
|
5434
|
+
export interface PostMenuV3IntegrationsTransltrImportResponse {
|
|
5435
|
+
errors?: any;
|
|
5436
|
+
results?: any;
|
|
5437
|
+
}
|
|
5438
|
+
|
|
5439
|
+
export interface PostMenuV3IntegrationsTransltrImportRequest
|
|
5440
|
+
extends BaseRequest,
|
|
5441
|
+
RequestQuery<PostMenuV3IntegrationsTransltrImportQuery> {}
|
|
5442
|
+
|
|
5443
|
+
// GET /menu/v3/global-diff/{id}
|
|
5444
|
+
|
|
5445
|
+
export interface GetMenuV3GlobalDiffPath {
|
|
5446
|
+
id: string;
|
|
5447
|
+
}
|
|
5448
|
+
|
|
5449
|
+
export interface GetMenuV3GlobalDiffQuery {
|
|
5450
|
+
// If specified, only the selected fields will be returned
|
|
5451
|
+
select?: string[];
|
|
5452
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
5453
|
+
relationships?: string[];
|
|
5454
|
+
// Graphql query string
|
|
5455
|
+
_query?: string;
|
|
5456
|
+
}
|
|
5457
|
+
|
|
5458
|
+
export type GetMenuV3GlobalDiffResponse = GlobalDiffDTO;
|
|
5459
|
+
|
|
5460
|
+
export interface GetMenuV3GlobalDiffRequest
|
|
5461
|
+
extends BaseRequest,
|
|
5462
|
+
RequestQuery<GetMenuV3GlobalDiffQuery>,
|
|
5463
|
+
GetMenuV3GlobalDiffPath {}
|
|
5464
|
+
|
|
5465
|
+
// GET /menu/v3/global-diffs
|
|
5466
|
+
|
|
5467
|
+
export interface GetMenuV3GlobalDiffsQuery {
|
|
5468
|
+
// If specified, only the selected fields will be returned
|
|
5469
|
+
select?: string[];
|
|
5470
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
5471
|
+
relationships?: string[];
|
|
5472
|
+
// The fields that filtering is allowed on
|
|
5473
|
+
filter?: any;
|
|
5474
|
+
// Number of records to load per page
|
|
5475
|
+
limit?: number;
|
|
5476
|
+
page?: number;
|
|
5477
|
+
// A field to sort the results based on
|
|
5478
|
+
sort_by?: string;
|
|
5479
|
+
sort_order?: string;
|
|
5480
|
+
// How soft deleted records should be shown in the list
|
|
5481
|
+
soft_deleted?: string;
|
|
5482
|
+
// Graphql query string
|
|
5483
|
+
_query?: string;
|
|
5484
|
+
}
|
|
5485
|
+
|
|
5486
|
+
export interface GetMenuV3GlobalDiffsResponse {
|
|
5487
|
+
results: GlobalDiffDTO[];
|
|
5488
|
+
meta?: ListResponseMetadataDTO;
|
|
5489
|
+
[index: string]: any;
|
|
5490
|
+
}
|
|
5491
|
+
|
|
5492
|
+
export interface GetMenuV3GlobalDiffsRequest
|
|
5493
|
+
extends BaseRequest,
|
|
5494
|
+
RequestQuery<GetMenuV3GlobalDiffsQuery> {}
|
|
5495
|
+
|
|
5496
|
+
// GET /menu/v3/global-diffs/count
|
|
5497
|
+
|
|
5498
|
+
export interface GetMenuV3GlobalDiffsCountQuery {
|
|
5499
|
+
// The fields that filtering is allowed on
|
|
5500
|
+
filter?: any;
|
|
5501
|
+
// Graphql query string
|
|
5502
|
+
_query?: string;
|
|
5503
|
+
}
|
|
5504
|
+
|
|
5505
|
+
export interface GetMenuV3GlobalDiffsCountResponse {
|
|
5506
|
+
count: number;
|
|
5507
|
+
[index: string]: any;
|
|
5508
|
+
}
|
|
5509
|
+
|
|
5510
|
+
export interface GetMenuV3GlobalDiffsCountRequest
|
|
5511
|
+
extends BaseRequest,
|
|
5512
|
+
RequestQuery<GetMenuV3GlobalDiffsCountQuery> {}
|