@compassdigital/sdk.typescript 4.274.0 → 4.276.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 +91 -81
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/interface/menu.ts +93 -81
package/package.json
CHANGED
package/src/interface/menu.ts
CHANGED
|
@@ -1899,6 +1899,95 @@ export interface CategoryItemRelationshipDTO {
|
|
|
1899
1899
|
[index: string]: any;
|
|
1900
1900
|
}
|
|
1901
1901
|
|
|
1902
|
+
export interface PartialItemDTO {
|
|
1903
|
+
base_item_id?: string;
|
|
1904
|
+
is_published?: boolean;
|
|
1905
|
+
parent?: DraftItemDTO;
|
|
1906
|
+
children?: DraftItemDTO[];
|
|
1907
|
+
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
1908
|
+
cpg_item?: UniversalItemDTO;
|
|
1909
|
+
stocks?: StockDTO[];
|
|
1910
|
+
parent_id?: string;
|
|
1911
|
+
name?: string;
|
|
1912
|
+
name_on_receipt?: string;
|
|
1913
|
+
name_on_kds?: string;
|
|
1914
|
+
name_on_pos?: string;
|
|
1915
|
+
label?: string;
|
|
1916
|
+
description?: string;
|
|
1917
|
+
reporting?: ReportingMetadataDTO;
|
|
1918
|
+
price?: number;
|
|
1919
|
+
barcode?: string;
|
|
1920
|
+
calories?: number;
|
|
1921
|
+
meal_value?: number;
|
|
1922
|
+
is_active?: boolean;
|
|
1923
|
+
posid?: string;
|
|
1924
|
+
tax_tags?: string[];
|
|
1925
|
+
brand_id?: string;
|
|
1926
|
+
line_route?: string;
|
|
1927
|
+
posid_segment?: number;
|
|
1928
|
+
menu_works?: MenuWorksDTO;
|
|
1929
|
+
is_out_of_stock?: boolean;
|
|
1930
|
+
tax_tag_code?: string;
|
|
1931
|
+
tags?: string[];
|
|
1932
|
+
is_featured?: boolean;
|
|
1933
|
+
tax_jwo_code?: string;
|
|
1934
|
+
unique_id?: number;
|
|
1935
|
+
cpg_item_id?: string;
|
|
1936
|
+
price_levels?: Record<string, any>;
|
|
1937
|
+
translation?: Record<string, any>;
|
|
1938
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
1939
|
+
brand?: DraftBrandDTO;
|
|
1940
|
+
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
1941
|
+
changes?: ItemChangeDTO[];
|
|
1942
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
1943
|
+
attachments?: FileAttachmentsDTO;
|
|
1944
|
+
weight?: WeightDTO;
|
|
1945
|
+
permissions?: Record<string, any>;
|
|
1946
|
+
[index: string]: any;
|
|
1947
|
+
}
|
|
1948
|
+
|
|
1949
|
+
export interface PartialModifierDTO {
|
|
1950
|
+
parent?: DraftModifierDTO;
|
|
1951
|
+
children?: DraftModifierDTO[];
|
|
1952
|
+
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
1953
|
+
parent_id?: string;
|
|
1954
|
+
name?: string;
|
|
1955
|
+
name_on_receipt?: string;
|
|
1956
|
+
name_on_kds?: string;
|
|
1957
|
+
name_on_pos?: string;
|
|
1958
|
+
label?: string;
|
|
1959
|
+
description?: string;
|
|
1960
|
+
price?: number;
|
|
1961
|
+
calories?: number;
|
|
1962
|
+
tax_tags?: string[];
|
|
1963
|
+
is_active?: boolean;
|
|
1964
|
+
posid?: string;
|
|
1965
|
+
reporting?: ReportingMetadataDTO;
|
|
1966
|
+
posid_segment?: number;
|
|
1967
|
+
brand_id?: string;
|
|
1968
|
+
line_route?: string;
|
|
1969
|
+
menu_works?: MenuWorksDTO;
|
|
1970
|
+
is_out_of_stock?: boolean;
|
|
1971
|
+
price_for_none?: number;
|
|
1972
|
+
price_for_less?: number;
|
|
1973
|
+
price_for_more?: number;
|
|
1974
|
+
pre_surcharge?: number;
|
|
1975
|
+
post_surcharge?: number;
|
|
1976
|
+
tax_tag_code?: string;
|
|
1977
|
+
tags?: string[];
|
|
1978
|
+
unique_id?: number;
|
|
1979
|
+
price_levels?: Record<string, any>;
|
|
1980
|
+
translation?: Record<string, any>;
|
|
1981
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
1982
|
+
brand?: DraftBrandDTO;
|
|
1983
|
+
changes?: ModifierChangeDTO[];
|
|
1984
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
1985
|
+
weight?: WeightDTO;
|
|
1986
|
+
attachments?: FileAttachmentsDTO;
|
|
1987
|
+
permissions?: Record<string, any>;
|
|
1988
|
+
[index: string]: any;
|
|
1989
|
+
}
|
|
1990
|
+
|
|
1902
1991
|
export interface HealthDependencyDTO {
|
|
1903
1992
|
name: string;
|
|
1904
1993
|
status: string;
|
|
@@ -9086,49 +9175,8 @@ export interface PostMenuV4ItemDuplicatePath {
|
|
|
9086
9175
|
}
|
|
9087
9176
|
|
|
9088
9177
|
export interface PostMenuV4ItemDuplicateBody {
|
|
9089
|
-
|
|
9090
|
-
|
|
9091
|
-
parent?: DraftItemDTO;
|
|
9092
|
-
children?: DraftItemDTO[];
|
|
9093
|
-
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
9094
|
-
cpg_item?: UniversalItemDTO;
|
|
9095
|
-
stocks?: StockDTO[];
|
|
9096
|
-
parent_id?: string;
|
|
9097
|
-
name?: string;
|
|
9098
|
-
name_on_receipt?: string;
|
|
9099
|
-
name_on_kds?: string;
|
|
9100
|
-
name_on_pos?: string;
|
|
9101
|
-
label?: string;
|
|
9102
|
-
description?: string;
|
|
9103
|
-
reporting?: ReportingMetadataDTO;
|
|
9104
|
-
price?: number;
|
|
9105
|
-
barcode?: string;
|
|
9106
|
-
calories?: number;
|
|
9107
|
-
meal_value?: number;
|
|
9108
|
-
is_active?: boolean;
|
|
9109
|
-
posid?: string;
|
|
9110
|
-
tax_tags?: string[];
|
|
9111
|
-
brand_id?: string;
|
|
9112
|
-
line_route?: string;
|
|
9113
|
-
posid_segment?: number;
|
|
9114
|
-
menu_works?: MenuWorksDTO;
|
|
9115
|
-
is_out_of_stock?: boolean;
|
|
9116
|
-
tax_tag_code?: string;
|
|
9117
|
-
tags?: string[];
|
|
9118
|
-
is_featured?: boolean;
|
|
9119
|
-
tax_jwo_code?: string;
|
|
9120
|
-
unique_id?: number;
|
|
9121
|
-
cpg_item_id?: string;
|
|
9122
|
-
price_levels?: Record<string, any>;
|
|
9123
|
-
translation?: Record<string, any>;
|
|
9124
|
-
applied_diff_snapshot?: Record<string, any>;
|
|
9125
|
-
brand?: DraftBrandDTO;
|
|
9126
|
-
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
9127
|
-
changes?: ItemChangeDTO[];
|
|
9128
|
-
vendor_metadata?: VendorMetadataDTO[];
|
|
9129
|
-
attachments?: FileAttachmentsDTO;
|
|
9130
|
-
weight?: WeightDTO;
|
|
9131
|
-
permissions?: Record<string, any>;
|
|
9178
|
+
category_ids?: string[];
|
|
9179
|
+
item?: PartialItemDTO;
|
|
9132
9180
|
[index: string]: any;
|
|
9133
9181
|
}
|
|
9134
9182
|
|
|
@@ -9597,44 +9645,8 @@ export interface PostMenuV4ModifierDuplicatePath {
|
|
|
9597
9645
|
}
|
|
9598
9646
|
|
|
9599
9647
|
export interface PostMenuV4ModifierDuplicateBody {
|
|
9600
|
-
|
|
9601
|
-
|
|
9602
|
-
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
9603
|
-
parent_id?: string;
|
|
9604
|
-
name?: string;
|
|
9605
|
-
name_on_receipt?: string;
|
|
9606
|
-
name_on_kds?: string;
|
|
9607
|
-
name_on_pos?: string;
|
|
9608
|
-
label?: string;
|
|
9609
|
-
description?: string;
|
|
9610
|
-
price?: number;
|
|
9611
|
-
calories?: number;
|
|
9612
|
-
tax_tags?: string[];
|
|
9613
|
-
is_active?: boolean;
|
|
9614
|
-
posid?: string;
|
|
9615
|
-
reporting?: ReportingMetadataDTO;
|
|
9616
|
-
posid_segment?: number;
|
|
9617
|
-
brand_id?: string;
|
|
9618
|
-
line_route?: string;
|
|
9619
|
-
menu_works?: MenuWorksDTO;
|
|
9620
|
-
is_out_of_stock?: boolean;
|
|
9621
|
-
price_for_none?: number;
|
|
9622
|
-
price_for_less?: number;
|
|
9623
|
-
price_for_more?: number;
|
|
9624
|
-
pre_surcharge?: number;
|
|
9625
|
-
post_surcharge?: number;
|
|
9626
|
-
tax_tag_code?: string;
|
|
9627
|
-
tags?: string[];
|
|
9628
|
-
unique_id?: number;
|
|
9629
|
-
price_levels?: Record<string, any>;
|
|
9630
|
-
translation?: Record<string, any>;
|
|
9631
|
-
applied_diff_snapshot?: Record<string, any>;
|
|
9632
|
-
brand?: DraftBrandDTO;
|
|
9633
|
-
changes?: ModifierChangeDTO[];
|
|
9634
|
-
vendor_metadata?: VendorMetadataDTO[];
|
|
9635
|
-
weight?: WeightDTO;
|
|
9636
|
-
attachments?: FileAttachmentsDTO;
|
|
9637
|
-
permissions?: Record<string, any>;
|
|
9648
|
+
modifier_group_ids?: string[];
|
|
9649
|
+
modifier?: PartialModifierDTO;
|
|
9638
9650
|
[index: string]: any;
|
|
9639
9651
|
}
|
|
9640
9652
|
|