@managesome/eposmatic-toolkit 0.2.538 → 0.2.539
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/index.d.ts +1 -1
- package/lib/helpers/utils/index.js +1 -1
- package/lib/helpers/utils/tenant_cash_in_hand_transactions.d.ts +3 -0
- package/lib/helpers/utils/{cash_in_hand_transactions.js → tenant_cash_in_hand_transactions.js} +4 -4
- package/lib/schemas/models/customer_redemptions.d.ts +3 -3
- package/lib/schemas/models/deliveries.d.ts +3 -3
- package/lib/schemas/models/discounts.d.ts +6 -6
- package/lib/schemas/models/expense_categories.d.ts +3 -3
- package/lib/schemas/models/expense_details.d.ts +3 -3
- package/lib/schemas/models/gift_cards.d.ts +3 -3
- package/lib/schemas/models/halfhalf_setup.d.ts +6 -6
- package/lib/schemas/models/index.d.ts +6 -6
- package/lib/schemas/models/index.js +6 -6
- package/lib/schemas/models/internal_invoices.d.ts +3 -3
- package/lib/schemas/models/internal_leads.d.ts +3 -3
- package/lib/schemas/models/inventory_transactions.d.ts +6 -6
- package/lib/schemas/models/item_transactions.d.ts +3 -3
- package/lib/schemas/models/items.d.ts +15 -15
- package/lib/schemas/models/modifier_extras.d.ts +3 -3
- package/lib/schemas/models/offers.d.ts +3 -3
- package/lib/schemas/models/specials.d.ts +12 -12
- package/lib/schemas/models/{cash_drawer_sessions.d.ts → tenant_cash_drawer_sessions.d.ts} +5 -5
- package/lib/schemas/models/{cash_drawer_sessions.js → tenant_cash_drawer_sessions.js} +3 -3
- package/lib/schemas/models/{cash_drawers.d.ts → tenant_cash_drawers.d.ts} +2 -2
- package/lib/schemas/models/{cash_drawers.js → tenant_cash_drawers.js} +3 -3
- package/lib/schemas/models/{cash_in_hand_transactions.d.ts → tenant_cash_in_hand_transactions.d.ts} +8 -8
- package/lib/schemas/models/{cash_in_hand_transactions.js → tenant_cash_in_hand_transactions.js} +3 -3
- package/lib/schemas/models/{cash_in_out.d.ts → tenant_cash_in_out.d.ts} +5 -5
- package/lib/schemas/models/{cash_in_out.js → tenant_cash_in_out.js} +3 -3
- package/lib/schemas/models/tenant_days.d.ts +3 -3
- package/lib/schemas/models/{instore_shift_sessions.d.ts → tenant_instore_shift_sessions.d.ts} +11 -11
- package/lib/schemas/models/{instore_shift_sessions.js → tenant_instore_shift_sessions.js} +7 -7
- package/lib/schemas/models/{instore_shifts.d.ts → tenant_instore_shifts.d.ts} +2 -2
- package/lib/schemas/models/{instore_shifts.js → tenant_instore_shifts.js} +3 -3
- package/lib/schemas/models/tenant_inventory_department_transactions.d.ts +6 -6
- package/lib/schemas/models/tenant_shifts.d.ts +3 -3
- package/lib/schemas/models/tenants.d.ts +60 -60
- package/lib/schemas/models/terminal_devices.d.ts +3 -3
- package/lib/schemas/models/vouchers.d.ts +6 -6
- package/lib/schemas/models/wallet_transactions.d.ts +3 -3
- package/lib/schemas/models/warehouse_internal_movements.d.ts +3 -3
- package/lib/schemas/models/warehouse_inventory_transactions.d.ts +6 -6
- package/lib/schemas/models/warehouse_item_transactions.d.ts +3 -3
- package/lib/schemas/models/warehouse_items.d.ts +6 -6
- package/lib/schemas/models/warehouse_operational_roles.d.ts +3 -3
- package/lib/schemas/models/warehouses.d.ts +12 -12
- package/lib/schemas/types/index.d.ts +6 -6
- package/lib/schemas/types/index.js +6 -6
- package/lib/schemas/types/{cash_drawer_sessions.d.ts → tenant_cash_drawer_sessions.d.ts} +1 -1
- package/lib/schemas/types/{cash_drawers.d.ts → tenant_cash_drawers.d.ts} +1 -1
- package/lib/schemas/types/{cash_in_hand_transactions.d.ts → tenant_cash_in_hand_transactions.d.ts} +3 -3
- package/lib/schemas/types/{cash_in_out.d.ts → tenant_cash_in_out.d.ts} +1 -1
- package/lib/schemas/types/{instore_shift_sessions.d.ts → tenant_instore_shift_sessions.d.ts} +5 -5
- package/lib/schemas/types/{instore_shifts.d.ts → tenant_instore_shifts.d.ts} +1 -1
- package/package.json +1 -1
- package/lib/helpers/utils/cash_in_hand_transactions.d.ts +0 -3
- /package/lib/schemas/types/{cash_drawer_sessions.js → tenant_cash_drawer_sessions.js} +0 -0
- /package/lib/schemas/types/{cash_drawers.js → tenant_cash_drawers.js} +0 -0
- /package/lib/schemas/types/{cash_in_hand_transactions.js → tenant_cash_in_hand_transactions.js} +0 -0
- /package/lib/schemas/types/{cash_in_out.js → tenant_cash_in_out.js} +0 -0
- /package/lib/schemas/types/{instore_shift_sessions.js → tenant_instore_shift_sessions.js} +0 -0
- /package/lib/schemas/types/{instore_shifts.js → tenant_instore_shifts.js} +0 -0
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export * from './cart-helpers';
|
|
2
|
-
export * from './cash_in_hand_transactions';
|
|
3
2
|
export * from './catalog-conversion';
|
|
4
3
|
export * from './code-redemption-helpers';
|
|
5
4
|
export * from './color-helpers';
|
|
@@ -56,6 +55,7 @@ export * from './sales-summary-report-helpers';
|
|
|
56
55
|
export * from './simplified-catalog';
|
|
57
56
|
export * from './simplified-tenant';
|
|
58
57
|
export * from './specials-helpers';
|
|
58
|
+
export * from './tenant_cash_in_hand_transactions';
|
|
59
59
|
export * from './tenant-staff-helpers';
|
|
60
60
|
export * from './time-helpers';
|
|
61
61
|
export * from './void-items-report-helpers';
|
|
@@ -15,7 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./cart-helpers"), exports);
|
|
18
|
-
__exportStar(require("./cash_in_hand_transactions"), exports);
|
|
19
18
|
__exportStar(require("./catalog-conversion"), exports);
|
|
20
19
|
__exportStar(require("./code-redemption-helpers"), exports);
|
|
21
20
|
__exportStar(require("./color-helpers"), exports);
|
|
@@ -72,6 +71,7 @@ __exportStar(require("./sales-summary-report-helpers"), exports);
|
|
|
72
71
|
__exportStar(require("./simplified-catalog"), exports);
|
|
73
72
|
__exportStar(require("./simplified-tenant"), exports);
|
|
74
73
|
__exportStar(require("./specials-helpers"), exports);
|
|
74
|
+
__exportStar(require("./tenant_cash_in_hand_transactions"), exports);
|
|
75
75
|
__exportStar(require("./tenant-staff-helpers"), exports);
|
|
76
76
|
__exportStar(require("./time-helpers"), exports);
|
|
77
77
|
__exportStar(require("./void-items-report-helpers"), exports);
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ITenantCashInHandTransaction } from '../../schemas';
|
|
2
|
+
export declare function getTenantCashInHandTransactionWithInt<T extends Partial<ITenantCashInHandTransaction> | ITenantCashInHandTransaction>(transaction: T): T;
|
|
3
|
+
export declare function getTenantCashInHandTransactionWithDecimal<T extends Partial<ITenantCashInHandTransaction> | ITenantCashInHandTransaction>(transaction: T): T;
|
package/lib/helpers/utils/{cash_in_hand_transactions.js → tenant_cash_in_hand_transactions.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.getTenantCashInHandTransactionWithInt = getTenantCashInHandTransactionWithInt;
|
|
4
|
+
exports.getTenantCashInHandTransactionWithDecimal = getTenantCashInHandTransactionWithDecimal;
|
|
5
5
|
const price_conversion_1 = require("./price-conversion");
|
|
6
|
-
function
|
|
6
|
+
function getTenantCashInHandTransactionWithInt(transaction) {
|
|
7
7
|
return {
|
|
8
8
|
...transaction,
|
|
9
9
|
...(typeof transaction.prev_cash_in_hand === 'number'
|
|
@@ -18,7 +18,7 @@ function getCashInHandTransactionWithInt(transaction) {
|
|
|
18
18
|
: {}),
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function getTenantCashInHandTransactionWithDecimal(transaction) {
|
|
22
22
|
return {
|
|
23
23
|
...transaction,
|
|
24
24
|
...(typeof transaction.prev_cash_in_hand === 'number'
|
|
@@ -12,8 +12,8 @@ export declare const CustomerRedemptionSchema: Schema<any, import("mongoose").Mo
|
|
|
12
12
|
createdAt_mins: number;
|
|
13
13
|
createdAt: NativeDate;
|
|
14
14
|
updatedAt: NativeDate;
|
|
15
|
-
source: import("../../constants").CUSTOMER_REDEMPTION_SOURCE_ENUM;
|
|
16
15
|
brand_id: string;
|
|
16
|
+
source: import("../../constants").CUSTOMER_REDEMPTION_SOURCE_ENUM;
|
|
17
17
|
ref_id: import("mongoose").Types.ObjectId;
|
|
18
18
|
customer_phone: string;
|
|
19
19
|
customer_name: string;
|
|
@@ -27,8 +27,8 @@ export declare const CustomerRedemptionSchema: Schema<any, import("mongoose").Mo
|
|
|
27
27
|
createdAt_mins: number;
|
|
28
28
|
createdAt: NativeDate;
|
|
29
29
|
updatedAt: NativeDate;
|
|
30
|
-
source: import("../../constants").CUSTOMER_REDEMPTION_SOURCE_ENUM;
|
|
31
30
|
brand_id: string;
|
|
31
|
+
source: import("../../constants").CUSTOMER_REDEMPTION_SOURCE_ENUM;
|
|
32
32
|
ref_id: import("mongoose").Types.ObjectId;
|
|
33
33
|
customer_phone: string;
|
|
34
34
|
customer_name: string;
|
|
@@ -42,8 +42,8 @@ export declare const CustomerRedemptionSchema: Schema<any, import("mongoose").Mo
|
|
|
42
42
|
createdAt_mins: number;
|
|
43
43
|
createdAt: NativeDate;
|
|
44
44
|
updatedAt: NativeDate;
|
|
45
|
-
source: import("../../constants").CUSTOMER_REDEMPTION_SOURCE_ENUM;
|
|
46
45
|
brand_id: string;
|
|
46
|
+
source: import("../../constants").CUSTOMER_REDEMPTION_SOURCE_ENUM;
|
|
47
47
|
ref_id: import("mongoose").Types.ObjectId;
|
|
48
48
|
customer_phone: string;
|
|
49
49
|
customer_name: string;
|
|
@@ -14,7 +14,6 @@ export declare const DeliveriesSchema: Schema<any, import("mongoose").Model<any,
|
|
|
14
14
|
createdAt_mins: number;
|
|
15
15
|
createdAt: NativeDate;
|
|
16
16
|
updatedAt: NativeDate;
|
|
17
|
-
status: DELIVERY_STATUS_ENUM;
|
|
18
17
|
distance_in_meters_from_store: number;
|
|
19
18
|
order_number: number;
|
|
20
19
|
rider_id: string;
|
|
@@ -25,6 +24,7 @@ export declare const DeliveriesSchema: Schema<any, import("mongoose").Model<any,
|
|
|
25
24
|
tenant_currency_symbol: CURRENCY_SYMBOL_ENUM;
|
|
26
25
|
tenant_address: string;
|
|
27
26
|
tenant_phone_numbers: string[];
|
|
27
|
+
status: DELIVERY_STATUS_ENUM;
|
|
28
28
|
polyline: import("mongoose").Types.DocumentArray<{
|
|
29
29
|
2: unknown;
|
|
30
30
|
0?: number | null | undefined;
|
|
@@ -53,7 +53,6 @@ export declare const DeliveriesSchema: Schema<any, import("mongoose").Model<any,
|
|
|
53
53
|
createdAt_mins: number;
|
|
54
54
|
createdAt: NativeDate;
|
|
55
55
|
updatedAt: NativeDate;
|
|
56
|
-
status: DELIVERY_STATUS_ENUM;
|
|
57
56
|
distance_in_meters_from_store: number;
|
|
58
57
|
order_number: number;
|
|
59
58
|
rider_id: string;
|
|
@@ -64,6 +63,7 @@ export declare const DeliveriesSchema: Schema<any, import("mongoose").Model<any,
|
|
|
64
63
|
tenant_currency_symbol: CURRENCY_SYMBOL_ENUM;
|
|
65
64
|
tenant_address: string;
|
|
66
65
|
tenant_phone_numbers: string[];
|
|
66
|
+
status: DELIVERY_STATUS_ENUM;
|
|
67
67
|
polyline: import("mongoose").Types.DocumentArray<{
|
|
68
68
|
2: unknown;
|
|
69
69
|
0?: number | null | undefined;
|
|
@@ -92,7 +92,6 @@ export declare const DeliveriesSchema: Schema<any, import("mongoose").Model<any,
|
|
|
92
92
|
createdAt_mins: number;
|
|
93
93
|
createdAt: NativeDate;
|
|
94
94
|
updatedAt: NativeDate;
|
|
95
|
-
status: DELIVERY_STATUS_ENUM;
|
|
96
95
|
distance_in_meters_from_store: number;
|
|
97
96
|
order_number: number;
|
|
98
97
|
rider_id: string;
|
|
@@ -103,6 +102,7 @@ export declare const DeliveriesSchema: Schema<any, import("mongoose").Model<any,
|
|
|
103
102
|
tenant_currency_symbol: CURRENCY_SYMBOL_ENUM;
|
|
104
103
|
tenant_address: string;
|
|
105
104
|
tenant_phone_numbers: string[];
|
|
105
|
+
status: DELIVERY_STATUS_ENUM;
|
|
106
106
|
polyline: import("mongoose").Types.DocumentArray<{
|
|
107
107
|
2: unknown;
|
|
108
108
|
0?: number | null | undefined;
|
|
@@ -15,6 +15,8 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
15
15
|
reason: string;
|
|
16
16
|
createdAt: NativeDate;
|
|
17
17
|
updatedAt: NativeDate;
|
|
18
|
+
active: boolean;
|
|
19
|
+
sort_id: number;
|
|
18
20
|
value: {
|
|
19
21
|
"POS_WALK-IN": number;
|
|
20
22
|
"POS_TAKE-AWAY": number;
|
|
@@ -58,8 +60,6 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
58
60
|
KEETA_DELIVERY: number;
|
|
59
61
|
BASE_PRICE: number;
|
|
60
62
|
};
|
|
61
|
-
active: boolean;
|
|
62
|
-
sort_id: number;
|
|
63
63
|
included_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
64
64
|
is_percentage: boolean;
|
|
65
65
|
ask_reference_number: boolean;
|
|
@@ -447,6 +447,8 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
447
447
|
reason: string;
|
|
448
448
|
createdAt: NativeDate;
|
|
449
449
|
updatedAt: NativeDate;
|
|
450
|
+
active: boolean;
|
|
451
|
+
sort_id: number;
|
|
450
452
|
value: {
|
|
451
453
|
"POS_WALK-IN": number;
|
|
452
454
|
"POS_TAKE-AWAY": number;
|
|
@@ -490,8 +492,6 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
490
492
|
KEETA_DELIVERY: number;
|
|
491
493
|
BASE_PRICE: number;
|
|
492
494
|
};
|
|
493
|
-
active: boolean;
|
|
494
|
-
sort_id: number;
|
|
495
495
|
included_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
496
496
|
is_percentage: boolean;
|
|
497
497
|
ask_reference_number: boolean;
|
|
@@ -879,6 +879,8 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
879
879
|
reason: string;
|
|
880
880
|
createdAt: NativeDate;
|
|
881
881
|
updatedAt: NativeDate;
|
|
882
|
+
active: boolean;
|
|
883
|
+
sort_id: number;
|
|
882
884
|
value: {
|
|
883
885
|
"POS_WALK-IN": number;
|
|
884
886
|
"POS_TAKE-AWAY": number;
|
|
@@ -922,8 +924,6 @@ export declare const DiscountSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
922
924
|
KEETA_DELIVERY: number;
|
|
923
925
|
BASE_PRICE: number;
|
|
924
926
|
};
|
|
925
|
-
active: boolean;
|
|
926
|
-
sort_id: number;
|
|
927
927
|
included_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
928
928
|
is_percentage: boolean;
|
|
929
929
|
ask_reference_number: boolean;
|
|
@@ -12,8 +12,8 @@ export declare const ExpenseCategorySchema: Schema<any, import("mongoose").Model
|
|
|
12
12
|
tenant_id: string;
|
|
13
13
|
createdAt: NativeDate;
|
|
14
14
|
updatedAt: NativeDate;
|
|
15
|
-
description: string;
|
|
16
15
|
sort_id: number;
|
|
16
|
+
description: string;
|
|
17
17
|
sub_categories: import("mongoose").Types.DocumentArray<{
|
|
18
18
|
_id: import("mongoose").Types.ObjectId;
|
|
19
19
|
name: string;
|
|
@@ -36,8 +36,8 @@ export declare const ExpenseCategorySchema: Schema<any, import("mongoose").Model
|
|
|
36
36
|
tenant_id: string;
|
|
37
37
|
createdAt: NativeDate;
|
|
38
38
|
updatedAt: NativeDate;
|
|
39
|
-
description: string;
|
|
40
39
|
sort_id: number;
|
|
40
|
+
description: string;
|
|
41
41
|
sub_categories: import("mongoose").Types.DocumentArray<{
|
|
42
42
|
_id: import("mongoose").Types.ObjectId;
|
|
43
43
|
name: string;
|
|
@@ -60,8 +60,8 @@ export declare const ExpenseCategorySchema: Schema<any, import("mongoose").Model
|
|
|
60
60
|
tenant_id: string;
|
|
61
61
|
createdAt: NativeDate;
|
|
62
62
|
updatedAt: NativeDate;
|
|
63
|
-
description: string;
|
|
64
63
|
sort_id: number;
|
|
64
|
+
description: string;
|
|
65
65
|
sub_categories: import("mongoose").Types.DocumentArray<{
|
|
66
66
|
_id: import("mongoose").Types.ObjectId;
|
|
67
67
|
name: string;
|
|
@@ -15,9 +15,9 @@ export declare const ExpenseDetailsSchema: Schema<any, import("mongoose").Model<
|
|
|
15
15
|
createdAt: NativeDate;
|
|
16
16
|
updatedAt: NativeDate;
|
|
17
17
|
description: string;
|
|
18
|
-
amount: number;
|
|
19
18
|
expense_category_id: import("mongoose").Types.ObjectId;
|
|
20
19
|
expense_sub_category_id: import("mongoose").Types.ObjectId;
|
|
20
|
+
amount: number;
|
|
21
21
|
payment_method: string;
|
|
22
22
|
payments: import("mongoose").Types.DocumentArray<{
|
|
23
23
|
payment_type: string;
|
|
@@ -100,9 +100,9 @@ export declare const ExpenseDetailsSchema: Schema<any, import("mongoose").Model<
|
|
|
100
100
|
createdAt: NativeDate;
|
|
101
101
|
updatedAt: NativeDate;
|
|
102
102
|
description: string;
|
|
103
|
-
amount: number;
|
|
104
103
|
expense_category_id: import("mongoose").Types.ObjectId;
|
|
105
104
|
expense_sub_category_id: import("mongoose").Types.ObjectId;
|
|
105
|
+
amount: number;
|
|
106
106
|
payment_method: string;
|
|
107
107
|
payments: import("mongoose").Types.DocumentArray<{
|
|
108
108
|
payment_type: string;
|
|
@@ -185,9 +185,9 @@ export declare const ExpenseDetailsSchema: Schema<any, import("mongoose").Model<
|
|
|
185
185
|
createdAt: NativeDate;
|
|
186
186
|
updatedAt: NativeDate;
|
|
187
187
|
description: string;
|
|
188
|
-
amount: number;
|
|
189
188
|
expense_category_id: import("mongoose").Types.ObjectId;
|
|
190
189
|
expense_sub_category_id: import("mongoose").Types.ObjectId;
|
|
190
|
+
amount: number;
|
|
191
191
|
payment_method: string;
|
|
192
192
|
payments: import("mongoose").Types.DocumentArray<{
|
|
193
193
|
payment_type: string;
|
|
@@ -14,9 +14,9 @@ export declare const GiftCardsSchema: Schema<any, import("mongoose").Model<any,
|
|
|
14
14
|
tenants: string[];
|
|
15
15
|
createdAt: NativeDate;
|
|
16
16
|
updatedAt: NativeDate;
|
|
17
|
-
description: string;
|
|
18
17
|
brand_id: string;
|
|
19
18
|
active: boolean;
|
|
19
|
+
description: string;
|
|
20
20
|
reward_type: GIFT_CARD_REWARD_TYPE_ENUM;
|
|
21
21
|
used_count: number;
|
|
22
22
|
assigned_count: number;
|
|
@@ -148,9 +148,9 @@ export declare const GiftCardsSchema: Schema<any, import("mongoose").Model<any,
|
|
|
148
148
|
tenants: string[];
|
|
149
149
|
createdAt: NativeDate;
|
|
150
150
|
updatedAt: NativeDate;
|
|
151
|
-
description: string;
|
|
152
151
|
brand_id: string;
|
|
153
152
|
active: boolean;
|
|
153
|
+
description: string;
|
|
154
154
|
reward_type: GIFT_CARD_REWARD_TYPE_ENUM;
|
|
155
155
|
used_count: number;
|
|
156
156
|
assigned_count: number;
|
|
@@ -282,9 +282,9 @@ export declare const GiftCardsSchema: Schema<any, import("mongoose").Model<any,
|
|
|
282
282
|
tenants: string[];
|
|
283
283
|
createdAt: NativeDate;
|
|
284
284
|
updatedAt: NativeDate;
|
|
285
|
-
description: string;
|
|
286
285
|
brand_id: string;
|
|
287
286
|
active: boolean;
|
|
287
|
+
description: string;
|
|
288
288
|
reward_type: GIFT_CARD_REWARD_TYPE_ENUM;
|
|
289
289
|
used_count: number;
|
|
290
290
|
assigned_count: number;
|
|
@@ -56,6 +56,8 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
56
56
|
createdAt: NativeDate;
|
|
57
57
|
updatedAt: NativeDate;
|
|
58
58
|
image_url: string;
|
|
59
|
+
brand_id: string;
|
|
60
|
+
active: boolean;
|
|
59
61
|
category_id: import("mongoose").Types.ObjectId;
|
|
60
62
|
items: import("mongoose").Types.DocumentArray<{
|
|
61
63
|
sort_id: number;
|
|
@@ -197,8 +199,6 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
197
199
|
};
|
|
198
200
|
}>;
|
|
199
201
|
description: string;
|
|
200
|
-
brand_id: string;
|
|
201
|
-
active: boolean;
|
|
202
202
|
is_discount_percentage: boolean;
|
|
203
203
|
sold_out: string[];
|
|
204
204
|
included_platforms: import("../..").PLATFORMS_ENUM[];
|
|
@@ -588,6 +588,8 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
588
588
|
createdAt: NativeDate;
|
|
589
589
|
updatedAt: NativeDate;
|
|
590
590
|
image_url: string;
|
|
591
|
+
brand_id: string;
|
|
592
|
+
active: boolean;
|
|
591
593
|
category_id: import("mongoose").Types.ObjectId;
|
|
592
594
|
items: import("mongoose").Types.DocumentArray<{
|
|
593
595
|
sort_id: number;
|
|
@@ -729,8 +731,6 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
729
731
|
};
|
|
730
732
|
}>;
|
|
731
733
|
description: string;
|
|
732
|
-
brand_id: string;
|
|
733
|
-
active: boolean;
|
|
734
734
|
is_discount_percentage: boolean;
|
|
735
735
|
sold_out: string[];
|
|
736
736
|
included_platforms: import("../..").PLATFORMS_ENUM[];
|
|
@@ -1120,6 +1120,8 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
1120
1120
|
createdAt: NativeDate;
|
|
1121
1121
|
updatedAt: NativeDate;
|
|
1122
1122
|
image_url: string;
|
|
1123
|
+
brand_id: string;
|
|
1124
|
+
active: boolean;
|
|
1123
1125
|
category_id: import("mongoose").Types.ObjectId;
|
|
1124
1126
|
items: import("mongoose").Types.DocumentArray<{
|
|
1125
1127
|
sort_id: number;
|
|
@@ -1261,8 +1263,6 @@ export declare const HalfHalfSetupSchema: Schema<any, import("mongoose").Model<a
|
|
|
1261
1263
|
};
|
|
1262
1264
|
}>;
|
|
1263
1265
|
description: string;
|
|
1264
|
-
brand_id: string;
|
|
1265
|
-
active: boolean;
|
|
1266
1266
|
is_discount_percentage: boolean;
|
|
1267
1267
|
sold_out: string[];
|
|
1268
1268
|
included_platforms: import("../..").PLATFORMS_ENUM[];
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
export * from './app_configs';
|
|
2
2
|
export * from './applied_order_discounts';
|
|
3
3
|
export * from './brands';
|
|
4
|
-
export * from './cash_drawer_sessions';
|
|
5
|
-
export * from './cash_drawers';
|
|
6
|
-
export * from './cash_in_hand_transactions';
|
|
7
|
-
export * from './cash_in_out';
|
|
8
4
|
export * from './categories';
|
|
9
5
|
export * from './close_dates';
|
|
10
6
|
export * from './courses';
|
|
@@ -20,8 +16,6 @@ export * from './expense_categories';
|
|
|
20
16
|
export * from './expense_details';
|
|
21
17
|
export * from './gift_cards';
|
|
22
18
|
export * from './halfhalf_setup';
|
|
23
|
-
export * from './instore_shift_sessions';
|
|
24
|
-
export * from './instore_shifts';
|
|
25
19
|
export * from './internal_customers';
|
|
26
20
|
export * from './internal_invoices';
|
|
27
21
|
export * from './internal_leads';
|
|
@@ -49,7 +43,13 @@ export * from './riders';
|
|
|
49
43
|
export * from './specials';
|
|
50
44
|
export * from './staff_shifts';
|
|
51
45
|
export * from './tenant-activity-logs';
|
|
46
|
+
export * from './tenant_cash_drawer_sessions';
|
|
47
|
+
export * from './tenant_cash_drawers';
|
|
48
|
+
export * from './tenant_cash_in_hand_transactions';
|
|
49
|
+
export * from './tenant_cash_in_out';
|
|
52
50
|
export * from './tenant_days';
|
|
51
|
+
export * from './tenant_instore_shift_sessions';
|
|
52
|
+
export * from './tenant_instore_shifts';
|
|
53
53
|
export * from './tenant_inventory_department_transactions';
|
|
54
54
|
export * from './tenant_inventory_department_utilities';
|
|
55
55
|
export * from './tenant_inventory_departments';
|
|
@@ -17,10 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./app_configs"), exports);
|
|
18
18
|
__exportStar(require("./applied_order_discounts"), exports);
|
|
19
19
|
__exportStar(require("./brands"), exports);
|
|
20
|
-
__exportStar(require("./cash_drawer_sessions"), exports);
|
|
21
|
-
__exportStar(require("./cash_drawers"), exports);
|
|
22
|
-
__exportStar(require("./cash_in_hand_transactions"), exports);
|
|
23
|
-
__exportStar(require("./cash_in_out"), exports);
|
|
24
20
|
__exportStar(require("./categories"), exports);
|
|
25
21
|
__exportStar(require("./close_dates"), exports);
|
|
26
22
|
__exportStar(require("./courses"), exports);
|
|
@@ -36,8 +32,6 @@ __exportStar(require("./expense_categories"), exports);
|
|
|
36
32
|
__exportStar(require("./expense_details"), exports);
|
|
37
33
|
__exportStar(require("./gift_cards"), exports);
|
|
38
34
|
__exportStar(require("./halfhalf_setup"), exports);
|
|
39
|
-
__exportStar(require("./instore_shift_sessions"), exports);
|
|
40
|
-
__exportStar(require("./instore_shifts"), exports);
|
|
41
35
|
__exportStar(require("./internal_customers"), exports);
|
|
42
36
|
__exportStar(require("./internal_invoices"), exports);
|
|
43
37
|
__exportStar(require("./internal_leads"), exports);
|
|
@@ -65,7 +59,13 @@ __exportStar(require("./riders"), exports);
|
|
|
65
59
|
__exportStar(require("./specials"), exports);
|
|
66
60
|
__exportStar(require("./staff_shifts"), exports);
|
|
67
61
|
__exportStar(require("./tenant-activity-logs"), exports);
|
|
62
|
+
__exportStar(require("./tenant_cash_drawer_sessions"), exports);
|
|
63
|
+
__exportStar(require("./tenant_cash_drawers"), exports);
|
|
64
|
+
__exportStar(require("./tenant_cash_in_hand_transactions"), exports);
|
|
65
|
+
__exportStar(require("./tenant_cash_in_out"), exports);
|
|
68
66
|
__exportStar(require("./tenant_days"), exports);
|
|
67
|
+
__exportStar(require("./tenant_instore_shift_sessions"), exports);
|
|
68
|
+
__exportStar(require("./tenant_instore_shifts"), exports);
|
|
69
69
|
__exportStar(require("./tenant_inventory_department_transactions"), exports);
|
|
70
70
|
__exportStar(require("./tenant_inventory_department_utilities"), exports);
|
|
71
71
|
__exportStar(require("./tenant_inventory_departments"), exports);
|
|
@@ -12,9 +12,9 @@ export declare const InternalInvoiceSchema: Schema<any, import("mongoose").Model
|
|
|
12
12
|
createdAt: NativeDate;
|
|
13
13
|
updatedAt: NativeDate;
|
|
14
14
|
description: string;
|
|
15
|
-
status: import("../../constants").INTERNAL_INVOICE_STATUS_ENUM;
|
|
16
15
|
ref_id: string;
|
|
17
16
|
customer_name: string;
|
|
17
|
+
status: import("../../constants").INTERNAL_INVOICE_STATUS_ENUM;
|
|
18
18
|
payment_method: string;
|
|
19
19
|
tax_number: string;
|
|
20
20
|
tax_amount: number;
|
|
@@ -40,9 +40,9 @@ export declare const InternalInvoiceSchema: Schema<any, import("mongoose").Model
|
|
|
40
40
|
createdAt: NativeDate;
|
|
41
41
|
updatedAt: NativeDate;
|
|
42
42
|
description: string;
|
|
43
|
-
status: import("../../constants").INTERNAL_INVOICE_STATUS_ENUM;
|
|
44
43
|
ref_id: string;
|
|
45
44
|
customer_name: string;
|
|
45
|
+
status: import("../../constants").INTERNAL_INVOICE_STATUS_ENUM;
|
|
46
46
|
payment_method: string;
|
|
47
47
|
tax_number: string;
|
|
48
48
|
tax_amount: number;
|
|
@@ -68,9 +68,9 @@ export declare const InternalInvoiceSchema: Schema<any, import("mongoose").Model
|
|
|
68
68
|
createdAt: NativeDate;
|
|
69
69
|
updatedAt: NativeDate;
|
|
70
70
|
description: string;
|
|
71
|
-
status: import("../../constants").INTERNAL_INVOICE_STATUS_ENUM;
|
|
72
71
|
ref_id: string;
|
|
73
72
|
customer_name: string;
|
|
73
|
+
status: import("../../constants").INTERNAL_INVOICE_STATUS_ENUM;
|
|
74
74
|
payment_method: string;
|
|
75
75
|
tax_number: string;
|
|
76
76
|
tax_amount: number;
|
|
@@ -12,9 +12,9 @@ export declare const InternalLeadSchema: Schema<any, import("mongoose").Model<an
|
|
|
12
12
|
createdAt: NativeDate;
|
|
13
13
|
updatedAt: NativeDate;
|
|
14
14
|
source: INTERNAL_LEAD_SOURCE_ENUM;
|
|
15
|
-
status: INTERNAL_LEAD_STATUS_ENUM;
|
|
16
15
|
phone_number: string;
|
|
17
16
|
email: string;
|
|
17
|
+
status: INTERNAL_LEAD_STATUS_ENUM;
|
|
18
18
|
full_name: string;
|
|
19
19
|
submission_id: string;
|
|
20
20
|
form_type: string;
|
|
@@ -31,9 +31,9 @@ export declare const InternalLeadSchema: Schema<any, import("mongoose").Model<an
|
|
|
31
31
|
createdAt: NativeDate;
|
|
32
32
|
updatedAt: NativeDate;
|
|
33
33
|
source: INTERNAL_LEAD_SOURCE_ENUM;
|
|
34
|
-
status: INTERNAL_LEAD_STATUS_ENUM;
|
|
35
34
|
phone_number: string;
|
|
36
35
|
email: string;
|
|
36
|
+
status: INTERNAL_LEAD_STATUS_ENUM;
|
|
37
37
|
full_name: string;
|
|
38
38
|
submission_id: string;
|
|
39
39
|
form_type: string;
|
|
@@ -50,9 +50,9 @@ export declare const InternalLeadSchema: Schema<any, import("mongoose").Model<an
|
|
|
50
50
|
createdAt: NativeDate;
|
|
51
51
|
updatedAt: NativeDate;
|
|
52
52
|
source: INTERNAL_LEAD_SOURCE_ENUM;
|
|
53
|
-
status: INTERNAL_LEAD_STATUS_ENUM;
|
|
54
53
|
phone_number: string;
|
|
55
54
|
email: string;
|
|
55
|
+
status: INTERNAL_LEAD_STATUS_ENUM;
|
|
56
56
|
full_name: string;
|
|
57
57
|
submission_id: string;
|
|
58
58
|
form_type: string;
|
|
@@ -12,8 +12,6 @@ export declare const InventoryTransactionsSchema: Schema<any, import("mongoose")
|
|
|
12
12
|
createdAt_mins: number;
|
|
13
13
|
createdAt: NativeDate;
|
|
14
14
|
updatedAt: NativeDate;
|
|
15
|
-
transaction_type: import("../../constants").INVENTORY_TRANSACTION_TYPE_ENUM;
|
|
16
|
-
transaction_category: import("../../constants").INVENTORY_TRANSACTION_CATEGORY_ENUM;
|
|
17
15
|
inventory_code: string;
|
|
18
16
|
quantity_left: number;
|
|
19
17
|
unit_price: number;
|
|
@@ -22,6 +20,8 @@ export declare const InventoryTransactionsSchema: Schema<any, import("mongoose")
|
|
|
22
20
|
previous_unit_price: number;
|
|
23
21
|
previous_remaining_stock_price: number;
|
|
24
22
|
transaction_quantity: number;
|
|
23
|
+
transaction_type: import("../../constants").INVENTORY_TRANSACTION_TYPE_ENUM;
|
|
24
|
+
transaction_category: import("../../constants").INVENTORY_TRANSACTION_CATEGORY_ENUM;
|
|
25
25
|
order_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
26
26
|
description?: string | null | undefined;
|
|
27
27
|
department_code?: string | null | undefined;
|
|
@@ -38,8 +38,6 @@ export declare const InventoryTransactionsSchema: Schema<any, import("mongoose")
|
|
|
38
38
|
createdAt_mins: number;
|
|
39
39
|
createdAt: NativeDate;
|
|
40
40
|
updatedAt: NativeDate;
|
|
41
|
-
transaction_type: import("../../constants").INVENTORY_TRANSACTION_TYPE_ENUM;
|
|
42
|
-
transaction_category: import("../../constants").INVENTORY_TRANSACTION_CATEGORY_ENUM;
|
|
43
41
|
inventory_code: string;
|
|
44
42
|
quantity_left: number;
|
|
45
43
|
unit_price: number;
|
|
@@ -48,6 +46,8 @@ export declare const InventoryTransactionsSchema: Schema<any, import("mongoose")
|
|
|
48
46
|
previous_unit_price: number;
|
|
49
47
|
previous_remaining_stock_price: number;
|
|
50
48
|
transaction_quantity: number;
|
|
49
|
+
transaction_type: import("../../constants").INVENTORY_TRANSACTION_TYPE_ENUM;
|
|
50
|
+
transaction_category: import("../../constants").INVENTORY_TRANSACTION_CATEGORY_ENUM;
|
|
51
51
|
order_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
52
52
|
description?: string | null | undefined;
|
|
53
53
|
department_code?: string | null | undefined;
|
|
@@ -64,8 +64,6 @@ export declare const InventoryTransactionsSchema: Schema<any, import("mongoose")
|
|
|
64
64
|
createdAt_mins: number;
|
|
65
65
|
createdAt: NativeDate;
|
|
66
66
|
updatedAt: NativeDate;
|
|
67
|
-
transaction_type: import("../../constants").INVENTORY_TRANSACTION_TYPE_ENUM;
|
|
68
|
-
transaction_category: import("../../constants").INVENTORY_TRANSACTION_CATEGORY_ENUM;
|
|
69
67
|
inventory_code: string;
|
|
70
68
|
quantity_left: number;
|
|
71
69
|
unit_price: number;
|
|
@@ -74,6 +72,8 @@ export declare const InventoryTransactionsSchema: Schema<any, import("mongoose")
|
|
|
74
72
|
previous_unit_price: number;
|
|
75
73
|
previous_remaining_stock_price: number;
|
|
76
74
|
transaction_quantity: number;
|
|
75
|
+
transaction_type: import("../../constants").INVENTORY_TRANSACTION_TYPE_ENUM;
|
|
76
|
+
transaction_category: import("../../constants").INVENTORY_TRANSACTION_CATEGORY_ENUM;
|
|
77
77
|
order_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
78
78
|
description?: string | null | undefined;
|
|
79
79
|
department_code?: string | null | undefined;
|
|
@@ -13,10 +13,10 @@ export declare const ItemTransactionsSchema: Schema<any, import("mongoose").Mode
|
|
|
13
13
|
createdAt: NativeDate;
|
|
14
14
|
updatedAt: NativeDate;
|
|
15
15
|
category_id: import("mongoose").Types.ObjectId;
|
|
16
|
-
transaction_type: import("../../constants").ITEM_TRANSACTION_TYPE_ENUM;
|
|
17
16
|
order_number: number;
|
|
18
17
|
item_id: import("mongoose").Types.ObjectId;
|
|
19
18
|
quantity: number;
|
|
19
|
+
transaction_type: import("../../constants").ITEM_TRANSACTION_TYPE_ENUM;
|
|
20
20
|
selling_price: number;
|
|
21
21
|
item_name: string;
|
|
22
22
|
category_name: string;
|
|
@@ -33,10 +33,10 @@ export declare const ItemTransactionsSchema: Schema<any, import("mongoose").Mode
|
|
|
33
33
|
createdAt: NativeDate;
|
|
34
34
|
updatedAt: NativeDate;
|
|
35
35
|
category_id: import("mongoose").Types.ObjectId;
|
|
36
|
-
transaction_type: import("../../constants").ITEM_TRANSACTION_TYPE_ENUM;
|
|
37
36
|
order_number: number;
|
|
38
37
|
item_id: import("mongoose").Types.ObjectId;
|
|
39
38
|
quantity: number;
|
|
39
|
+
transaction_type: import("../../constants").ITEM_TRANSACTION_TYPE_ENUM;
|
|
40
40
|
selling_price: number;
|
|
41
41
|
item_name: string;
|
|
42
42
|
category_name: string;
|
|
@@ -53,10 +53,10 @@ export declare const ItemTransactionsSchema: Schema<any, import("mongoose").Mode
|
|
|
53
53
|
createdAt: NativeDate;
|
|
54
54
|
updatedAt: NativeDate;
|
|
55
55
|
category_id: import("mongoose").Types.ObjectId;
|
|
56
|
-
transaction_type: import("../../constants").ITEM_TRANSACTION_TYPE_ENUM;
|
|
57
56
|
order_number: number;
|
|
58
57
|
item_id: import("mongoose").Types.ObjectId;
|
|
59
58
|
quantity: number;
|
|
59
|
+
transaction_type: import("../../constants").ITEM_TRANSACTION_TYPE_ENUM;
|
|
60
60
|
selling_price: number;
|
|
61
61
|
item_name: string;
|
|
62
62
|
category_name: string;
|