@managesome/eposmatic-toolkit 0.2.734 → 0.2.735
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/helpers/utils/halfhalf-setup-helpers.js +0 -1
- package/lib/helpers/utils/minified-catalog.js +1 -2
- package/lib/helpers/utils/specials-helpers.js +0 -1
- package/lib/schemas/models/items.d.ts +0 -3
- package/lib/schemas/models/items.js +0 -4
- package/lib/schemas/types/items.d.ts +0 -1
- package/lib/tests/choose-expensive-edge-cases.test.js +0 -1
- package/lib/tests/choose-expensive-flow-verification.test.js +0 -1
- package/lib/tests/specials-halfhalf-options.test.js +0 -1
- package/lib/tests/specials-halfhalf-pricing.test.js +0 -1
- package/package.json +1 -1
|
@@ -428,7 +428,6 @@ function convertHalfHalfToItem(halfhalfSetup, itemsMap, options) {
|
|
|
428
428
|
featured_sort_id: 0,
|
|
429
429
|
display_price: null,
|
|
430
430
|
show_starting_from: false,
|
|
431
|
-
use_source_ingredients: false,
|
|
432
431
|
createdAt: halfhalfSetup.createdAt,
|
|
433
432
|
updatedAt: halfhalfSetup.updatedAt,
|
|
434
433
|
};
|
|
@@ -160,7 +160,7 @@ function convertMinifiedCategoryToOriginalCategory(category) {
|
|
|
160
160
|
function convertMinifiedItemToOriginalItem(item, tenantId) {
|
|
161
161
|
const {
|
|
162
162
|
// Optional properties
|
|
163
|
-
brand_id = 'xxx', tenants = [], ingredients = null, createdAt = new Date(), updatedAt = new Date(), hide_name = false, caveats = [], dietary_preferences = [], is_featured = false, featured_sort_id = 0, display_price = null, show_starting_from = false,
|
|
163
|
+
brand_id = 'xxx', tenants = [], ingredients = null, createdAt = new Date(), updatedAt = new Date(), hide_name = false, caveats = [], dietary_preferences = [], is_featured = false, featured_sort_id = 0, display_price = null, show_starting_from = false, keywords = [], is_discount_percentage = false,
|
|
164
164
|
// Changed properties
|
|
165
165
|
// sold_out,
|
|
166
166
|
// price,
|
|
@@ -187,7 +187,6 @@ function convertMinifiedItemToOriginalItem(item, tenantId) {
|
|
|
187
187
|
featured_sort_id,
|
|
188
188
|
display_price,
|
|
189
189
|
show_starting_from,
|
|
190
|
-
use_source_ingredients,
|
|
191
190
|
is_discount_percentage,
|
|
192
191
|
// changed properties
|
|
193
192
|
price,
|
|
@@ -594,7 +594,6 @@ function convertSpecialToItem(special, itemsMap, halfhalfSetups) {
|
|
|
594
594
|
featured_sort_id: 0,
|
|
595
595
|
display_price: special.display_price,
|
|
596
596
|
show_starting_from: special.show_starting_from,
|
|
597
|
-
use_source_ingredients: false,
|
|
598
597
|
createdAt: special.createdAt,
|
|
599
598
|
updatedAt: special.updatedAt,
|
|
600
599
|
};
|
|
@@ -4015,7 +4015,6 @@ export declare const ItemSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
4015
4015
|
featured_sort_id: number;
|
|
4016
4016
|
display_price: number;
|
|
4017
4017
|
show_starting_from?: boolean | null | undefined;
|
|
4018
|
-
use_source_ingredients?: boolean | null | undefined;
|
|
4019
4018
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
4020
4019
|
createdAt: NativeDate;
|
|
4021
4020
|
updatedAt: NativeDate;
|
|
@@ -7711,7 +7710,6 @@ export declare const ItemSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
7711
7710
|
featured_sort_id: number;
|
|
7712
7711
|
display_price: number;
|
|
7713
7712
|
show_starting_from?: boolean | null | undefined;
|
|
7714
|
-
use_source_ingredients?: boolean | null | undefined;
|
|
7715
7713
|
}>> & import("mongoose").FlatRecord<{
|
|
7716
7714
|
createdAt: NativeDate;
|
|
7717
7715
|
updatedAt: NativeDate;
|
|
@@ -11407,7 +11405,6 @@ export declare const ItemSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
11407
11405
|
featured_sort_id: number;
|
|
11408
11406
|
display_price: number;
|
|
11409
11407
|
show_starting_from?: boolean | null | undefined;
|
|
11410
|
-
use_source_ingredients?: boolean | null | undefined;
|
|
11411
11408
|
}> & Required<{
|
|
11412
11409
|
_id: import("mongoose").Types.ObjectId;
|
|
11413
11410
|
}> & {
|
|
@@ -742,7 +742,6 @@ function makeCatalogItem(id, overrides = {}) {
|
|
|
742
742
|
item_special_hours: null,
|
|
743
743
|
display_price: null,
|
|
744
744
|
show_starting_from: false,
|
|
745
|
-
use_source_ingredients: false,
|
|
746
745
|
is_featured: false,
|
|
747
746
|
featured_sort_id: 0,
|
|
748
747
|
createdAt: new Date('2024-01-01'),
|