@compassdigital/sdk.typescript 4.275.0 → 4.277.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/interface/menu.d.ts +57 -38
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/interface/menu.ts +58 -38
package/lib/interface/menu.d.ts
CHANGED
|
@@ -418,6 +418,7 @@ export interface DraftBrandDTO {
|
|
|
418
418
|
frictionless_partner?: string;
|
|
419
419
|
meta?: BrandMeta;
|
|
420
420
|
supported_languages?: SupportedLanguages;
|
|
421
|
+
archived_at?: string;
|
|
421
422
|
applied_diff_snapshot?: Record<string, any>;
|
|
422
423
|
version?: number;
|
|
423
424
|
permissions?: Record<string, any>;
|
|
@@ -449,6 +450,7 @@ export interface PublishedBrandDTO {
|
|
|
449
450
|
frictionless_partner?: string;
|
|
450
451
|
meta?: Record<string, any>;
|
|
451
452
|
supported_languages?: Record<string, any>;
|
|
453
|
+
archived_at?: string;
|
|
452
454
|
version?: number;
|
|
453
455
|
permissions?: Record<string, any>;
|
|
454
456
|
[index: string]: any;
|
|
@@ -1749,6 +1751,47 @@ export interface PartialItemDTO {
|
|
|
1749
1751
|
permissions?: Record<string, any>;
|
|
1750
1752
|
[index: string]: any;
|
|
1751
1753
|
}
|
|
1754
|
+
export interface PartialModifierDTO {
|
|
1755
|
+
parent?: DraftModifierDTO;
|
|
1756
|
+
children?: DraftModifierDTO[];
|
|
1757
|
+
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
1758
|
+
parent_id?: string;
|
|
1759
|
+
name?: string;
|
|
1760
|
+
name_on_receipt?: string;
|
|
1761
|
+
name_on_kds?: string;
|
|
1762
|
+
name_on_pos?: string;
|
|
1763
|
+
label?: string;
|
|
1764
|
+
description?: string;
|
|
1765
|
+
price?: number;
|
|
1766
|
+
calories?: number;
|
|
1767
|
+
tax_tags?: string[];
|
|
1768
|
+
is_active?: boolean;
|
|
1769
|
+
posid?: string;
|
|
1770
|
+
reporting?: ReportingMetadataDTO;
|
|
1771
|
+
posid_segment?: number;
|
|
1772
|
+
brand_id?: string;
|
|
1773
|
+
line_route?: string;
|
|
1774
|
+
menu_works?: MenuWorksDTO;
|
|
1775
|
+
is_out_of_stock?: boolean;
|
|
1776
|
+
price_for_none?: number;
|
|
1777
|
+
price_for_less?: number;
|
|
1778
|
+
price_for_more?: number;
|
|
1779
|
+
pre_surcharge?: number;
|
|
1780
|
+
post_surcharge?: number;
|
|
1781
|
+
tax_tag_code?: string;
|
|
1782
|
+
tags?: string[];
|
|
1783
|
+
unique_id?: number;
|
|
1784
|
+
price_levels?: Record<string, any>;
|
|
1785
|
+
translation?: Record<string, any>;
|
|
1786
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
1787
|
+
brand?: DraftBrandDTO;
|
|
1788
|
+
changes?: ModifierChangeDTO[];
|
|
1789
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
1790
|
+
weight?: WeightDTO;
|
|
1791
|
+
attachments?: FileAttachmentsDTO;
|
|
1792
|
+
permissions?: Record<string, any>;
|
|
1793
|
+
[index: string]: any;
|
|
1794
|
+
}
|
|
1752
1795
|
export interface HealthDependencyDTO {
|
|
1753
1796
|
name: string;
|
|
1754
1797
|
status: string;
|
|
@@ -2573,6 +2616,7 @@ export interface PostMenuV3DraftBrandBody {
|
|
|
2573
2616
|
frictionless_partner?: string;
|
|
2574
2617
|
meta?: BrandMeta;
|
|
2575
2618
|
supported_languages?: SupportedLanguages;
|
|
2619
|
+
archived_at?: string;
|
|
2576
2620
|
applied_diff_snapshot?: Record<string, any>;
|
|
2577
2621
|
changes?: BrandChangeDTO[];
|
|
2578
2622
|
local_menu_group?: LocalMenuGroupDTO;
|
|
@@ -2629,6 +2673,7 @@ export interface PatchMenuV3DraftBrandBody {
|
|
|
2629
2673
|
frictionless_partner?: string;
|
|
2630
2674
|
meta?: BrandMeta;
|
|
2631
2675
|
supported_languages?: SupportedLanguages;
|
|
2676
|
+
archived_at?: string;
|
|
2632
2677
|
applied_diff_snapshot?: Record<string, any>;
|
|
2633
2678
|
version?: number;
|
|
2634
2679
|
changes?: BrandChangeDTO[];
|
|
@@ -2698,6 +2743,7 @@ export type PostMenuV3DraftBrandsBody = {
|
|
|
2698
2743
|
frictionless_partner?: string;
|
|
2699
2744
|
meta?: BrandMeta;
|
|
2700
2745
|
supported_languages?: SupportedLanguages;
|
|
2746
|
+
archived_at?: string;
|
|
2701
2747
|
applied_diff_snapshot?: Record<string, any>;
|
|
2702
2748
|
changes?: BrandChangeDTO[];
|
|
2703
2749
|
local_menu_group?: LocalMenuGroupDTO;
|
|
@@ -3031,6 +3077,7 @@ export interface PostMenuV3BrandBody {
|
|
|
3031
3077
|
frictionless_partner?: string;
|
|
3032
3078
|
meta?: BrandMeta;
|
|
3033
3079
|
supported_languages?: SupportedLanguages;
|
|
3080
|
+
archived_at?: string;
|
|
3034
3081
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3035
3082
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
3036
3083
|
attachments?: FileAttachmentsDTO;
|
|
@@ -3084,6 +3131,7 @@ export interface PatchMenuV3BrandBody {
|
|
|
3084
3131
|
frictionless_partner?: string;
|
|
3085
3132
|
meta?: BrandMeta;
|
|
3086
3133
|
supported_languages?: SupportedLanguages;
|
|
3134
|
+
archived_at?: string;
|
|
3087
3135
|
version?: number;
|
|
3088
3136
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3089
3137
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
@@ -3151,6 +3199,7 @@ export type PostMenuV3BrandsBody = {
|
|
|
3151
3199
|
frictionless_partner?: string;
|
|
3152
3200
|
meta?: BrandMeta;
|
|
3153
3201
|
supported_languages?: SupportedLanguages;
|
|
3202
|
+
archived_at?: string;
|
|
3154
3203
|
local_menu_group?: LocalMenuGroupDTO;
|
|
3155
3204
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
3156
3205
|
attachments?: FileAttachmentsDTO;
|
|
@@ -5487,6 +5536,7 @@ export interface PostMenuV4BrandBody {
|
|
|
5487
5536
|
frictionless_partner?: string;
|
|
5488
5537
|
meta?: BrandMeta;
|
|
5489
5538
|
supported_languages?: SupportedLanguages;
|
|
5539
|
+
archived_at?: string;
|
|
5490
5540
|
applied_diff_snapshot?: Record<string, any>;
|
|
5491
5541
|
changes?: BrandChangeDTO[];
|
|
5492
5542
|
local_menu_group?: LocalMenuGroupDTO;
|
|
@@ -5528,6 +5578,7 @@ export interface PostMenuV4BrandResponse {
|
|
|
5528
5578
|
frictionless_partner?: string;
|
|
5529
5579
|
meta?: BrandMeta;
|
|
5530
5580
|
supported_languages?: SupportedLanguages;
|
|
5581
|
+
archived_at?: string;
|
|
5531
5582
|
applied_diff_snapshot?: Record<string, any>;
|
|
5532
5583
|
version?: number;
|
|
5533
5584
|
changes?: BrandChangeDTO[];
|
|
@@ -5581,6 +5632,7 @@ export interface GetMenuV4BrandResponse {
|
|
|
5581
5632
|
frictionless_partner?: string;
|
|
5582
5633
|
meta?: BrandMeta;
|
|
5583
5634
|
supported_languages?: SupportedLanguages;
|
|
5635
|
+
archived_at?: string;
|
|
5584
5636
|
applied_diff_snapshot?: Record<string, any>;
|
|
5585
5637
|
version?: number;
|
|
5586
5638
|
changes?: BrandChangeDTO[];
|
|
@@ -5624,6 +5676,7 @@ export interface PatchMenuV4BrandBody {
|
|
|
5624
5676
|
frictionless_partner?: string;
|
|
5625
5677
|
meta?: BrandMeta;
|
|
5626
5678
|
supported_languages?: SupportedLanguages;
|
|
5679
|
+
archived_at?: string;
|
|
5627
5680
|
applied_diff_snapshot?: Record<string, any>;
|
|
5628
5681
|
changes?: BrandChangeDTO[];
|
|
5629
5682
|
local_menu_group?: LocalMenuGroupDTO;
|
|
@@ -5665,6 +5718,7 @@ export interface PatchMenuV4BrandResponse {
|
|
|
5665
5718
|
frictionless_partner?: string;
|
|
5666
5719
|
meta?: BrandMeta;
|
|
5667
5720
|
supported_languages?: SupportedLanguages;
|
|
5721
|
+
archived_at?: string;
|
|
5668
5722
|
applied_diff_snapshot?: Record<string, any>;
|
|
5669
5723
|
version?: number;
|
|
5670
5724
|
changes?: BrandChangeDTO[];
|
|
@@ -5713,6 +5767,7 @@ export interface DeleteMenuV4BrandResponse {
|
|
|
5713
5767
|
frictionless_partner?: string;
|
|
5714
5768
|
meta?: BrandMeta;
|
|
5715
5769
|
supported_languages?: SupportedLanguages;
|
|
5770
|
+
archived_at?: string;
|
|
5716
5771
|
applied_diff_snapshot?: Record<string, any>;
|
|
5717
5772
|
version?: number;
|
|
5718
5773
|
changes?: BrandChangeDTO[];
|
|
@@ -7164,44 +7219,8 @@ export interface PostMenuV4ModifierDuplicatePath {
|
|
|
7164
7219
|
id: string;
|
|
7165
7220
|
}
|
|
7166
7221
|
export interface PostMenuV4ModifierDuplicateBody {
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
7170
|
-
parent_id?: string;
|
|
7171
|
-
name?: string;
|
|
7172
|
-
name_on_receipt?: string;
|
|
7173
|
-
name_on_kds?: string;
|
|
7174
|
-
name_on_pos?: string;
|
|
7175
|
-
label?: string;
|
|
7176
|
-
description?: string;
|
|
7177
|
-
price?: number;
|
|
7178
|
-
calories?: number;
|
|
7179
|
-
tax_tags?: string[];
|
|
7180
|
-
is_active?: boolean;
|
|
7181
|
-
posid?: string;
|
|
7182
|
-
reporting?: ReportingMetadataDTO;
|
|
7183
|
-
posid_segment?: number;
|
|
7184
|
-
brand_id?: string;
|
|
7185
|
-
line_route?: string;
|
|
7186
|
-
menu_works?: MenuWorksDTO;
|
|
7187
|
-
is_out_of_stock?: boolean;
|
|
7188
|
-
price_for_none?: number;
|
|
7189
|
-
price_for_less?: number;
|
|
7190
|
-
price_for_more?: number;
|
|
7191
|
-
pre_surcharge?: number;
|
|
7192
|
-
post_surcharge?: number;
|
|
7193
|
-
tax_tag_code?: string;
|
|
7194
|
-
tags?: string[];
|
|
7195
|
-
unique_id?: number;
|
|
7196
|
-
price_levels?: Record<string, any>;
|
|
7197
|
-
translation?: Record<string, any>;
|
|
7198
|
-
applied_diff_snapshot?: Record<string, any>;
|
|
7199
|
-
brand?: DraftBrandDTO;
|
|
7200
|
-
changes?: ModifierChangeDTO[];
|
|
7201
|
-
vendor_metadata?: VendorMetadataDTO[];
|
|
7202
|
-
weight?: WeightDTO;
|
|
7203
|
-
attachments?: FileAttachmentsDTO;
|
|
7204
|
-
permissions?: Record<string, any>;
|
|
7222
|
+
modifier_group_ids?: string[];
|
|
7223
|
+
modifier?: PartialModifierDTO;
|
|
7205
7224
|
[index: string]: any;
|
|
7206
7225
|
}
|
|
7207
7226
|
export interface PostMenuV4ModifierDuplicateResponse {
|