@managesome/eposmatic-toolkit 0.2.455 → 0.2.457
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/constants/WORKER_ENDPOINTS.d.ts +2 -0
- package/lib/constants/WORKER_ENDPOINTS.js +3 -0
- package/lib/helpers/types/workers.d.ts +16 -1
- package/lib/schemas/models/index.d.ts +1 -0
- package/lib/schemas/models/index.js +1 -0
- package/lib/schemas/types/index.d.ts +2 -0
- package/lib/schemas/types/index.js +2 -0
- package/package.json +1 -1
- package/lib/constants/PURCHASE_ORDER.d.ts +0 -16
- package/lib/constants/PURCHASE_ORDER.js +0 -100
- package/lib/constants/RFQ.d.ts +0 -0
- package/lib/constants/RFQ.js +0 -1
- package/lib/helpers/order/generate-purchase-order-rfq.d.ts +0 -3
- package/lib/helpers/order/generate-purchase-order-rfq.js +0 -64
- package/lib/helpers/order/generate-purchase-order.d.ts +0 -11
- package/lib/helpers/order/generate-purchase-order.js +0 -196
- package/lib/helpers/store/all-purchase-orders-actions.d.ts +0 -13
- package/lib/helpers/store/all-purchase-orders-actions.js +0 -56
- package/lib/helpers/store/all-sale-orders-actions.d.ts +0 -2
- package/lib/helpers/store/all-sale-orders-actions.js +0 -8
- package/lib/helpers/store/all-warehouse-sale-orders-actions.d.ts +0 -2
- package/lib/helpers/store/all-warehouse-sale-orders-actions.js +0 -8
- package/lib/helpers/store/common-purchase-order-actions.d.ts +0 -31
- package/lib/helpers/store/common-purchase-order-actions.js +0 -543
- package/lib/helpers/store/common-sale-order-actions.d.ts +0 -5
- package/lib/helpers/store/common-sale-order-actions.js +0 -65
- package/lib/helpers/store/purchase-order-rfq-cart-actions.d.ts +0 -19
- package/lib/helpers/store/purchase-order-rfq-cart-actions.js +0 -373
- package/lib/helpers/store/purchase-orders-cart-actions.d.ts +0 -57
- package/lib/helpers/store/purchase-orders-cart-actions.js +0 -486
- package/lib/helpers/types/purchase-order-cart-actions.d.ts +0 -26
- package/lib/helpers/types/purchase-order-cart-actions.js +0 -2
- package/lib/helpers/utils/invoice-x-report-helpers.d.ts +0 -58
- package/lib/helpers/utils/invoice-x-report-helpers.js +0 -1432
- package/lib/helpers/utils/purchase-order-engine.d.ts +0 -9
- package/lib/helpers/utils/purchase-order-engine.js +0 -34
- package/lib/helpers/utils/purchase-order-receipt-engine.d.ts +0 -149
- package/lib/helpers/utils/purchase-order-receipt-engine.js +0 -214
- package/lib/helpers/utils/purchase-order-x-report-helpers.d.ts +0 -58
- package/lib/helpers/utils/purchase-order-x-report-helpers.js +0 -1440
- package/lib/helpers/utils/sale-order-x-report-helpers.d.ts +0 -44
- package/lib/helpers/utils/sale-order-x-report-helpers.js +0 -22
- package/lib/helpers/utils/sale-x-report-helpers.d.ts +0 -58
- package/lib/helpers/utils/sale-x-report-helpers.js +0 -1456
- package/lib/helpers/utils/terminal-devices-helpers.d.ts +0 -2
- package/lib/helpers/utils/terminal-devices-helpers.js +0 -13
- package/lib/helpers/utils/void-purchase-order-items-helpers.d.ts +0 -3
- package/lib/helpers/utils/void-purchase-order-items-helpers.js +0 -38
- package/lib/helpers/utils/void-purchase-order-items-report-helpers.d.ts +0 -13
- package/lib/helpers/utils/void-purchase-order-items-report-helpers.js +0 -22
- package/lib/schemas/models/applied-order-discounts.d.ts +0 -80
- package/lib/schemas/models/applied-order-discounts.js +0 -106
- package/lib/schemas/models/brand.d.ts +0 -45
- package/lib/schemas/models/brand.js +0 -45
- package/lib/schemas/models/category.d.ts +0 -60
- package/lib/schemas/models/category.js +0 -67
- package/lib/schemas/models/dinein_table_fingerprints.d.ts +0 -65
- package/lib/schemas/models/dinein_table_fingerprints.js +0 -85
- package/lib/schemas/models/expense_category.d.ts +0 -83
- package/lib/schemas/models/expense_category.js +0 -64
- package/lib/schemas/models/internal_movements.d.ts +0 -357
- package/lib/schemas/models/internal_movements.js +0 -323
- package/lib/schemas/models/inventory.d.ts +0 -99
- package/lib/schemas/models/inventory.js +0 -87
- package/lib/schemas/models/inventory_lot_serial_numbers.d.ts +0 -154
- package/lib/schemas/models/inventory_lot_serial_numbers.js +0 -193
- package/lib/schemas/models/item.d.ts +0 -11269
- package/lib/schemas/models/item.js +0 -333
- package/lib/schemas/models/menu.d.ts +0 -941
- package/lib/schemas/models/menu.js +0 -69
- package/lib/schemas/models/order.d.ts +0 -15437
- package/lib/schemas/models/order.js +0 -891
- package/lib/schemas/models/purchase_order_receipts.d.ts +0 -165
- package/lib/schemas/models/purchase_order_receipts.js +0 -151
- package/lib/schemas/models/purchase_order_rfq.d.ts +0 -1959
- package/lib/schemas/models/purchase_order_rfq.js +0 -328
- package/lib/schemas/models/purchase_order_rfqs.d.ts +0 -1959
- package/lib/schemas/models/purchase_order_rfqs.js +0 -328
- package/lib/schemas/models/purchase_order_vendor_returns.d.ts +0 -234
- package/lib/schemas/models/purchase_order_vendor_returns.js +0 -188
- package/lib/schemas/models/purchase_orders.d.ts +0 -2678
- package/lib/schemas/models/purchase_orders.js +0 -336
- package/lib/schemas/models/rider.d.ts +0 -65
- package/lib/schemas/models/rider.js +0 -74
- package/lib/schemas/models/sale_order_deliveries.d.ts +0 -167
- package/lib/schemas/models/sale_order_deliveries.js +0 -155
- package/lib/schemas/models/sale_order_invoices.d.ts +0 -227
- package/lib/schemas/models/sale_order_invoices.js +0 -206
- package/lib/schemas/models/sale_order_rfq.d.ts +0 -1938
- package/lib/schemas/models/sale_order_rfq.js +0 -309
- package/lib/schemas/models/sale_orders.d.ts +0 -1943
- package/lib/schemas/models/sale_orders.js +0 -324
- package/lib/schemas/models/tenant.d.ts +0 -528
- package/lib/schemas/models/tenant.js +0 -755
- package/lib/schemas/models/tenant_staff.d.ts +0 -932
- package/lib/schemas/models/tenant_staff.js +0 -96
- package/lib/schemas/models/track_order_number.d.ts +0 -413
- package/lib/schemas/models/track_order_number.js +0 -45
- package/lib/schemas/models/void_purchase_order_items.d.ts +0 -176
- package/lib/schemas/models/void_purchase_order_items.js +0 -177
- package/lib/schemas/models/void_warehouse_invoice_items.d.ts +0 -176
- package/lib/schemas/models/void_warehouse_invoice_items.js +0 -176
- package/lib/schemas/models/wallet.d.ts +0 -38
- package/lib/schemas/models/wallet.js +0 -37
- package/lib/schemas/models/warehouse-communications.d.ts +0 -228
- package/lib/schemas/models/warehouse-communications.js +0 -216
- package/lib/schemas/models/warehouse.d.ts +0 -162
- package/lib/schemas/models/warehouse.js +0 -222
- package/lib/schemas/models/warehouse_staff.d.ts +0 -65
- package/lib/schemas/models/warehouse_staff.js +0 -78
- package/lib/schemas/models/warehouse_track_order_number.d.ts +0 -50
- package/lib/schemas/models/warehouse_track_order_number.js +0 -52
- package/lib/schemas/types/applied-order-discounts.d.ts +0 -22
- package/lib/schemas/types/applied-order-discounts.js +0 -2
- package/lib/schemas/types/brand.d.ts +0 -32
- package/lib/schemas/types/brand.js +0 -2
- package/lib/schemas/types/category.d.ts +0 -15
- package/lib/schemas/types/category.js +0 -2
- package/lib/schemas/types/expense_category.d.ts +0 -20
- package/lib/schemas/types/expense_category.js +0 -2
- package/lib/schemas/types/internal_movements.d.ts +0 -73
- package/lib/schemas/types/internal_movements.js +0 -2
- package/lib/schemas/types/inventory.d.ts +0 -48
- package/lib/schemas/types/inventory.js +0 -2
- package/lib/schemas/types/inventory_lot_serial_numbers.d.ts +0 -85
- package/lib/schemas/types/inventory_lot_serial_numbers.js +0 -4
- package/lib/schemas/types/item.d.ts +0 -89
- package/lib/schemas/types/item.js +0 -2
- package/lib/schemas/types/menu.d.ts +0 -17
- package/lib/schemas/types/menu.js +0 -2
- package/lib/schemas/types/order.d.ts +0 -242
- package/lib/schemas/types/order.js +0 -2
- package/lib/schemas/types/purchase_order_common.d.ts +0 -39
- package/lib/schemas/types/purchase_order_common.js +0 -2
- package/lib/schemas/types/purchase_order_receipts.d.ts +0 -39
- package/lib/schemas/types/purchase_order_receipts.js +0 -21
- package/lib/schemas/types/purchase_order_rfq.d.ts +0 -33
- package/lib/schemas/types/purchase_order_rfq.js +0 -2
- package/lib/schemas/types/purchase_order_rfqs.d.ts +0 -33
- package/lib/schemas/types/purchase_order_rfqs.js +0 -2
- package/lib/schemas/types/purchase_order_vendor_returns.d.ts +0 -49
- package/lib/schemas/types/purchase_order_vendor_returns.js +0 -42
- package/lib/schemas/types/purchase_orders.d.ts +0 -33
- package/lib/schemas/types/purchase_orders.js +0 -2
- package/lib/schemas/types/rider.d.ts +0 -16
- package/lib/schemas/types/rider.js +0 -2
- package/lib/schemas/types/sale_order_common.d.ts +0 -39
- package/lib/schemas/types/sale_order_common.js +0 -2
- package/lib/schemas/types/sale_order_deliveries.d.ts +0 -67
- package/lib/schemas/types/sale_order_deliveries.js +0 -2
- package/lib/schemas/types/sale_order_invoices.d.ts +0 -49
- package/lib/schemas/types/sale_order_invoices.js +0 -2
- package/lib/schemas/types/sale_order_rfq.d.ts +0 -25
- package/lib/schemas/types/sale_order_rfq.js +0 -2
- package/lib/schemas/types/sale_orders.d.ts +0 -30
- package/lib/schemas/types/sale_orders.js +0 -2
- package/lib/schemas/types/tenant.d.ts +0 -205
- package/lib/schemas/types/tenant.js +0 -2
- package/lib/schemas/types/tenant_staff.d.ts +0 -22
- package/lib/schemas/types/tenant_staff.js +0 -2
- package/lib/schemas/types/track_order_number.d.ts +0 -10
- package/lib/schemas/types/track_order_number.js +0 -2
- package/lib/schemas/types/void_purchase_order_items.d.ts +0 -37
- package/lib/schemas/types/void_purchase_order_items.js +0 -2
- package/lib/schemas/types/void_warehouse_invoice_items.d.ts +0 -37
- package/lib/schemas/types/void_warehouse_invoice_items.js +0 -2
- package/lib/schemas/types/wallet.d.ts +0 -7
- package/lib/schemas/types/wallet.js +0 -2
- package/lib/schemas/types/warehouse-communications.d.ts +0 -54
- package/lib/schemas/types/warehouse-communications.js +0 -2
- package/lib/schemas/types/warehouse.d.ts +0 -49
- package/lib/schemas/types/warehouse.js +0 -2
- package/lib/schemas/types/warehouse_purchase_order_common.d.ts +0 -39
- package/lib/schemas/types/warehouse_purchase_order_common.js +0 -2
- package/lib/schemas/types/warehouse_sale_order_common.d.ts +0 -39
- package/lib/schemas/types/warehouse_sale_order_common.js +0 -2
- package/lib/schemas/types/warehouse_staff.d.ts +0 -17
- package/lib/schemas/types/warehouse_staff.js +0 -2
- package/lib/schemas/types/warehouse_track_order_number.d.ts +0 -11
- package/lib/schemas/types/warehouse_track_order_number.js +0 -2
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TENANT_STAFF_COLLECTION_NAME = exports.TenantStaffSchema = void 0;
|
|
4
|
-
const mongoose_1 = require("mongoose");
|
|
5
|
-
const constants_1 = require("../../constants");
|
|
6
|
-
const item_1 = require("./item");
|
|
7
|
-
const AllowedPlatformsSchema = { type: String, enum: constants_1.ALL_PLATFORM_TYPES };
|
|
8
|
-
exports.TenantStaffSchema = new mongoose_1.Schema({
|
|
9
|
-
_id: {
|
|
10
|
-
type: mongoose_1.Schema.Types.ObjectId,
|
|
11
|
-
required: true,
|
|
12
|
-
immutable: true,
|
|
13
|
-
},
|
|
14
|
-
uid: {
|
|
15
|
-
type: String,
|
|
16
|
-
required: true,
|
|
17
|
-
immutable: true,
|
|
18
|
-
},
|
|
19
|
-
tenant_id: {
|
|
20
|
-
type: String,
|
|
21
|
-
required: true,
|
|
22
|
-
immutable: true,
|
|
23
|
-
ref: 'tenants',
|
|
24
|
-
},
|
|
25
|
-
phone_number: {
|
|
26
|
-
type: String,
|
|
27
|
-
required: true,
|
|
28
|
-
minlength: 10,
|
|
29
|
-
immutable: true,
|
|
30
|
-
},
|
|
31
|
-
staff_auth_code: {
|
|
32
|
-
type: String,
|
|
33
|
-
default: null,
|
|
34
|
-
},
|
|
35
|
-
email: {
|
|
36
|
-
type: String,
|
|
37
|
-
default: null,
|
|
38
|
-
},
|
|
39
|
-
email_verified: {
|
|
40
|
-
type: Boolean,
|
|
41
|
-
default: false,
|
|
42
|
-
},
|
|
43
|
-
display_name: {
|
|
44
|
-
type: String,
|
|
45
|
-
default: null,
|
|
46
|
-
},
|
|
47
|
-
image_url: {
|
|
48
|
-
type: String,
|
|
49
|
-
default: null,
|
|
50
|
-
},
|
|
51
|
-
is_disabled: {
|
|
52
|
-
type: Boolean,
|
|
53
|
-
default: false,
|
|
54
|
-
},
|
|
55
|
-
phone_number_verified: {
|
|
56
|
-
type: Boolean,
|
|
57
|
-
default: false,
|
|
58
|
-
},
|
|
59
|
-
role: {
|
|
60
|
-
type: String,
|
|
61
|
-
required: true,
|
|
62
|
-
enum: constants_1.ALL_USER_ROLES,
|
|
63
|
-
},
|
|
64
|
-
allowed_platforms: {
|
|
65
|
-
type: [AllowedPlatformsSchema],
|
|
66
|
-
default: constants_1.ALL_PLATFORM_TYPES,
|
|
67
|
-
},
|
|
68
|
-
assigned_tables: {
|
|
69
|
-
type: [String],
|
|
70
|
-
default: () => null,
|
|
71
|
-
},
|
|
72
|
-
operational_hours: {
|
|
73
|
-
type: [item_1.SpecialHoursSchema],
|
|
74
|
-
required: false,
|
|
75
|
-
},
|
|
76
|
-
cash_in_hand: {
|
|
77
|
-
type: Number,
|
|
78
|
-
required: false,
|
|
79
|
-
},
|
|
80
|
-
createdAt: {
|
|
81
|
-
type: Date,
|
|
82
|
-
required: true,
|
|
83
|
-
immutable: true,
|
|
84
|
-
default: () => new Date(),
|
|
85
|
-
},
|
|
86
|
-
updatedAt: {
|
|
87
|
-
type: Date,
|
|
88
|
-
required: true,
|
|
89
|
-
default: () => new Date(),
|
|
90
|
-
},
|
|
91
|
-
}, {
|
|
92
|
-
timestamps: true,
|
|
93
|
-
versionKey: false,
|
|
94
|
-
minimize: false,
|
|
95
|
-
});
|
|
96
|
-
exports.TENANT_STAFF_COLLECTION_NAME = 'tenant_staffs';
|
|
@@ -1,413 +0,0 @@
|
|
|
1
|
-
import { Schema } from 'mongoose';
|
|
2
|
-
export declare const TrackOrderNumberSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
3
|
-
timestamps: true;
|
|
4
|
-
versionKey: false;
|
|
5
|
-
minimize: false;
|
|
6
|
-
}, {
|
|
7
|
-
createdAt: NativeDate;
|
|
8
|
-
updatedAt: NativeDate;
|
|
9
|
-
} & {
|
|
10
|
-
YEAR: {
|
|
11
|
-
"POS_WALK-IN": number;
|
|
12
|
-
"POS_TAKE-AWAY": number;
|
|
13
|
-
POS_DELIVERY: number;
|
|
14
|
-
"POS_DINE-IN": number;
|
|
15
|
-
"POS_DRIVE-THRU": number;
|
|
16
|
-
POS_KIOSK: number;
|
|
17
|
-
"WEB_TAKE-AWAY": number;
|
|
18
|
-
WEB_DELIVERY: number;
|
|
19
|
-
"WEB_DINE-IN": number;
|
|
20
|
-
"APP_TAKE-AWAY": number;
|
|
21
|
-
APP_DELIVERY: number;
|
|
22
|
-
"APP_DINE-IN": number;
|
|
23
|
-
"FOODPANDA_TAKE-AWAY": number;
|
|
24
|
-
FOODPANDA_DELIVERY: number;
|
|
25
|
-
"FOODPAPA_TAKE-AWAY": number;
|
|
26
|
-
FOODPAPA_DELIVERY: number;
|
|
27
|
-
"DOORDASH_TAKE-AWAY": number;
|
|
28
|
-
DOORDASH_DELIVERY: number;
|
|
29
|
-
"UBER-EATS_TAKE-AWAY": number;
|
|
30
|
-
"UBER-EATS_DELIVERY": number;
|
|
31
|
-
"MENU-LOG_TAKE-AWAY": number;
|
|
32
|
-
"MENU-LOG_DELIVERY": number;
|
|
33
|
-
"GFO_TAKE-AWAY": number;
|
|
34
|
-
GFO_DELIVERY: number;
|
|
35
|
-
"TALABAT_TAKE-AWAY": number;
|
|
36
|
-
TALABAT_DELIVERY: number;
|
|
37
|
-
"NOON_TAKE-AWAY": number;
|
|
38
|
-
NOON_DELIVERY: number;
|
|
39
|
-
"SMILES_TAKE-AWAY": number;
|
|
40
|
-
SMILES_DELIVERY: number;
|
|
41
|
-
"CAREEM_TAKE-AWAY": number;
|
|
42
|
-
CAREEM_DELIVERY: number;
|
|
43
|
-
"DELIVEROO_TAKE-AWAY": number;
|
|
44
|
-
DELIVEROO_DELIVERY: number;
|
|
45
|
-
"ZOMATO_TAKE-AWAY": number;
|
|
46
|
-
ZOMATO_DELIVERY: number;
|
|
47
|
-
"EATEASY_TAKE-AWAY": number;
|
|
48
|
-
EATEASY_DELIVERY: number;
|
|
49
|
-
"KEETA_TAKE-AWAY": number;
|
|
50
|
-
KEETA_DELIVERY: number;
|
|
51
|
-
};
|
|
52
|
-
MONTH: {
|
|
53
|
-
"POS_WALK-IN": number;
|
|
54
|
-
"POS_TAKE-AWAY": number;
|
|
55
|
-
POS_DELIVERY: number;
|
|
56
|
-
"POS_DINE-IN": number;
|
|
57
|
-
"POS_DRIVE-THRU": number;
|
|
58
|
-
POS_KIOSK: number;
|
|
59
|
-
"WEB_TAKE-AWAY": number;
|
|
60
|
-
WEB_DELIVERY: number;
|
|
61
|
-
"WEB_DINE-IN": number;
|
|
62
|
-
"APP_TAKE-AWAY": number;
|
|
63
|
-
APP_DELIVERY: number;
|
|
64
|
-
"APP_DINE-IN": number;
|
|
65
|
-
"FOODPANDA_TAKE-AWAY": number;
|
|
66
|
-
FOODPANDA_DELIVERY: number;
|
|
67
|
-
"FOODPAPA_TAKE-AWAY": number;
|
|
68
|
-
FOODPAPA_DELIVERY: number;
|
|
69
|
-
"DOORDASH_TAKE-AWAY": number;
|
|
70
|
-
DOORDASH_DELIVERY: number;
|
|
71
|
-
"UBER-EATS_TAKE-AWAY": number;
|
|
72
|
-
"UBER-EATS_DELIVERY": number;
|
|
73
|
-
"MENU-LOG_TAKE-AWAY": number;
|
|
74
|
-
"MENU-LOG_DELIVERY": number;
|
|
75
|
-
"GFO_TAKE-AWAY": number;
|
|
76
|
-
GFO_DELIVERY: number;
|
|
77
|
-
"TALABAT_TAKE-AWAY": number;
|
|
78
|
-
TALABAT_DELIVERY: number;
|
|
79
|
-
"NOON_TAKE-AWAY": number;
|
|
80
|
-
NOON_DELIVERY: number;
|
|
81
|
-
"SMILES_TAKE-AWAY": number;
|
|
82
|
-
SMILES_DELIVERY: number;
|
|
83
|
-
"CAREEM_TAKE-AWAY": number;
|
|
84
|
-
CAREEM_DELIVERY: number;
|
|
85
|
-
"DELIVEROO_TAKE-AWAY": number;
|
|
86
|
-
DELIVEROO_DELIVERY: number;
|
|
87
|
-
"ZOMATO_TAKE-AWAY": number;
|
|
88
|
-
ZOMATO_DELIVERY: number;
|
|
89
|
-
"EATEASY_TAKE-AWAY": number;
|
|
90
|
-
EATEASY_DELIVERY: number;
|
|
91
|
-
"KEETA_TAKE-AWAY": number;
|
|
92
|
-
KEETA_DELIVERY: number;
|
|
93
|
-
};
|
|
94
|
-
DAY: {
|
|
95
|
-
"POS_WALK-IN": number;
|
|
96
|
-
"POS_TAKE-AWAY": number;
|
|
97
|
-
POS_DELIVERY: number;
|
|
98
|
-
"POS_DINE-IN": number;
|
|
99
|
-
"POS_DRIVE-THRU": number;
|
|
100
|
-
POS_KIOSK: number;
|
|
101
|
-
"WEB_TAKE-AWAY": number;
|
|
102
|
-
WEB_DELIVERY: number;
|
|
103
|
-
"WEB_DINE-IN": number;
|
|
104
|
-
"APP_TAKE-AWAY": number;
|
|
105
|
-
APP_DELIVERY: number;
|
|
106
|
-
"APP_DINE-IN": number;
|
|
107
|
-
"FOODPANDA_TAKE-AWAY": number;
|
|
108
|
-
FOODPANDA_DELIVERY: number;
|
|
109
|
-
"FOODPAPA_TAKE-AWAY": number;
|
|
110
|
-
FOODPAPA_DELIVERY: number;
|
|
111
|
-
"DOORDASH_TAKE-AWAY": number;
|
|
112
|
-
DOORDASH_DELIVERY: number;
|
|
113
|
-
"UBER-EATS_TAKE-AWAY": number;
|
|
114
|
-
"UBER-EATS_DELIVERY": number;
|
|
115
|
-
"MENU-LOG_TAKE-AWAY": number;
|
|
116
|
-
"MENU-LOG_DELIVERY": number;
|
|
117
|
-
"GFO_TAKE-AWAY": number;
|
|
118
|
-
GFO_DELIVERY: number;
|
|
119
|
-
"TALABAT_TAKE-AWAY": number;
|
|
120
|
-
TALABAT_DELIVERY: number;
|
|
121
|
-
"NOON_TAKE-AWAY": number;
|
|
122
|
-
NOON_DELIVERY: number;
|
|
123
|
-
"SMILES_TAKE-AWAY": number;
|
|
124
|
-
SMILES_DELIVERY: number;
|
|
125
|
-
"CAREEM_TAKE-AWAY": number;
|
|
126
|
-
CAREEM_DELIVERY: number;
|
|
127
|
-
"DELIVEROO_TAKE-AWAY": number;
|
|
128
|
-
DELIVEROO_DELIVERY: number;
|
|
129
|
-
"ZOMATO_TAKE-AWAY": number;
|
|
130
|
-
ZOMATO_DELIVERY: number;
|
|
131
|
-
"EATEASY_TAKE-AWAY": number;
|
|
132
|
-
EATEASY_DELIVERY: number;
|
|
133
|
-
"KEETA_TAKE-AWAY": number;
|
|
134
|
-
KEETA_DELIVERY: number;
|
|
135
|
-
};
|
|
136
|
-
_id: string;
|
|
137
|
-
createdAt: NativeDate;
|
|
138
|
-
updatedAt: NativeDate;
|
|
139
|
-
runningLocalDate?: string | null | undefined;
|
|
140
|
-
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
141
|
-
createdAt: NativeDate;
|
|
142
|
-
updatedAt: NativeDate;
|
|
143
|
-
} & {
|
|
144
|
-
YEAR: {
|
|
145
|
-
"POS_WALK-IN": number;
|
|
146
|
-
"POS_TAKE-AWAY": number;
|
|
147
|
-
POS_DELIVERY: number;
|
|
148
|
-
"POS_DINE-IN": number;
|
|
149
|
-
"POS_DRIVE-THRU": number;
|
|
150
|
-
POS_KIOSK: number;
|
|
151
|
-
"WEB_TAKE-AWAY": number;
|
|
152
|
-
WEB_DELIVERY: number;
|
|
153
|
-
"WEB_DINE-IN": number;
|
|
154
|
-
"APP_TAKE-AWAY": number;
|
|
155
|
-
APP_DELIVERY: number;
|
|
156
|
-
"APP_DINE-IN": number;
|
|
157
|
-
"FOODPANDA_TAKE-AWAY": number;
|
|
158
|
-
FOODPANDA_DELIVERY: number;
|
|
159
|
-
"FOODPAPA_TAKE-AWAY": number;
|
|
160
|
-
FOODPAPA_DELIVERY: number;
|
|
161
|
-
"DOORDASH_TAKE-AWAY": number;
|
|
162
|
-
DOORDASH_DELIVERY: number;
|
|
163
|
-
"UBER-EATS_TAKE-AWAY": number;
|
|
164
|
-
"UBER-EATS_DELIVERY": number;
|
|
165
|
-
"MENU-LOG_TAKE-AWAY": number;
|
|
166
|
-
"MENU-LOG_DELIVERY": number;
|
|
167
|
-
"GFO_TAKE-AWAY": number;
|
|
168
|
-
GFO_DELIVERY: number;
|
|
169
|
-
"TALABAT_TAKE-AWAY": number;
|
|
170
|
-
TALABAT_DELIVERY: number;
|
|
171
|
-
"NOON_TAKE-AWAY": number;
|
|
172
|
-
NOON_DELIVERY: number;
|
|
173
|
-
"SMILES_TAKE-AWAY": number;
|
|
174
|
-
SMILES_DELIVERY: number;
|
|
175
|
-
"CAREEM_TAKE-AWAY": number;
|
|
176
|
-
CAREEM_DELIVERY: number;
|
|
177
|
-
"DELIVEROO_TAKE-AWAY": number;
|
|
178
|
-
DELIVEROO_DELIVERY: number;
|
|
179
|
-
"ZOMATO_TAKE-AWAY": number;
|
|
180
|
-
ZOMATO_DELIVERY: number;
|
|
181
|
-
"EATEASY_TAKE-AWAY": number;
|
|
182
|
-
EATEASY_DELIVERY: number;
|
|
183
|
-
"KEETA_TAKE-AWAY": number;
|
|
184
|
-
KEETA_DELIVERY: number;
|
|
185
|
-
};
|
|
186
|
-
MONTH: {
|
|
187
|
-
"POS_WALK-IN": number;
|
|
188
|
-
"POS_TAKE-AWAY": number;
|
|
189
|
-
POS_DELIVERY: number;
|
|
190
|
-
"POS_DINE-IN": number;
|
|
191
|
-
"POS_DRIVE-THRU": number;
|
|
192
|
-
POS_KIOSK: number;
|
|
193
|
-
"WEB_TAKE-AWAY": number;
|
|
194
|
-
WEB_DELIVERY: number;
|
|
195
|
-
"WEB_DINE-IN": number;
|
|
196
|
-
"APP_TAKE-AWAY": number;
|
|
197
|
-
APP_DELIVERY: number;
|
|
198
|
-
"APP_DINE-IN": number;
|
|
199
|
-
"FOODPANDA_TAKE-AWAY": number;
|
|
200
|
-
FOODPANDA_DELIVERY: number;
|
|
201
|
-
"FOODPAPA_TAKE-AWAY": number;
|
|
202
|
-
FOODPAPA_DELIVERY: number;
|
|
203
|
-
"DOORDASH_TAKE-AWAY": number;
|
|
204
|
-
DOORDASH_DELIVERY: number;
|
|
205
|
-
"UBER-EATS_TAKE-AWAY": number;
|
|
206
|
-
"UBER-EATS_DELIVERY": number;
|
|
207
|
-
"MENU-LOG_TAKE-AWAY": number;
|
|
208
|
-
"MENU-LOG_DELIVERY": number;
|
|
209
|
-
"GFO_TAKE-AWAY": number;
|
|
210
|
-
GFO_DELIVERY: number;
|
|
211
|
-
"TALABAT_TAKE-AWAY": number;
|
|
212
|
-
TALABAT_DELIVERY: number;
|
|
213
|
-
"NOON_TAKE-AWAY": number;
|
|
214
|
-
NOON_DELIVERY: number;
|
|
215
|
-
"SMILES_TAKE-AWAY": number;
|
|
216
|
-
SMILES_DELIVERY: number;
|
|
217
|
-
"CAREEM_TAKE-AWAY": number;
|
|
218
|
-
CAREEM_DELIVERY: number;
|
|
219
|
-
"DELIVEROO_TAKE-AWAY": number;
|
|
220
|
-
DELIVEROO_DELIVERY: number;
|
|
221
|
-
"ZOMATO_TAKE-AWAY": number;
|
|
222
|
-
ZOMATO_DELIVERY: number;
|
|
223
|
-
"EATEASY_TAKE-AWAY": number;
|
|
224
|
-
EATEASY_DELIVERY: number;
|
|
225
|
-
"KEETA_TAKE-AWAY": number;
|
|
226
|
-
KEETA_DELIVERY: number;
|
|
227
|
-
};
|
|
228
|
-
DAY: {
|
|
229
|
-
"POS_WALK-IN": number;
|
|
230
|
-
"POS_TAKE-AWAY": number;
|
|
231
|
-
POS_DELIVERY: number;
|
|
232
|
-
"POS_DINE-IN": number;
|
|
233
|
-
"POS_DRIVE-THRU": number;
|
|
234
|
-
POS_KIOSK: number;
|
|
235
|
-
"WEB_TAKE-AWAY": number;
|
|
236
|
-
WEB_DELIVERY: number;
|
|
237
|
-
"WEB_DINE-IN": number;
|
|
238
|
-
"APP_TAKE-AWAY": number;
|
|
239
|
-
APP_DELIVERY: number;
|
|
240
|
-
"APP_DINE-IN": number;
|
|
241
|
-
"FOODPANDA_TAKE-AWAY": number;
|
|
242
|
-
FOODPANDA_DELIVERY: number;
|
|
243
|
-
"FOODPAPA_TAKE-AWAY": number;
|
|
244
|
-
FOODPAPA_DELIVERY: number;
|
|
245
|
-
"DOORDASH_TAKE-AWAY": number;
|
|
246
|
-
DOORDASH_DELIVERY: number;
|
|
247
|
-
"UBER-EATS_TAKE-AWAY": number;
|
|
248
|
-
"UBER-EATS_DELIVERY": number;
|
|
249
|
-
"MENU-LOG_TAKE-AWAY": number;
|
|
250
|
-
"MENU-LOG_DELIVERY": number;
|
|
251
|
-
"GFO_TAKE-AWAY": number;
|
|
252
|
-
GFO_DELIVERY: number;
|
|
253
|
-
"TALABAT_TAKE-AWAY": number;
|
|
254
|
-
TALABAT_DELIVERY: number;
|
|
255
|
-
"NOON_TAKE-AWAY": number;
|
|
256
|
-
NOON_DELIVERY: number;
|
|
257
|
-
"SMILES_TAKE-AWAY": number;
|
|
258
|
-
SMILES_DELIVERY: number;
|
|
259
|
-
"CAREEM_TAKE-AWAY": number;
|
|
260
|
-
CAREEM_DELIVERY: number;
|
|
261
|
-
"DELIVEROO_TAKE-AWAY": number;
|
|
262
|
-
DELIVEROO_DELIVERY: number;
|
|
263
|
-
"ZOMATO_TAKE-AWAY": number;
|
|
264
|
-
ZOMATO_DELIVERY: number;
|
|
265
|
-
"EATEASY_TAKE-AWAY": number;
|
|
266
|
-
EATEASY_DELIVERY: number;
|
|
267
|
-
"KEETA_TAKE-AWAY": number;
|
|
268
|
-
KEETA_DELIVERY: number;
|
|
269
|
-
};
|
|
270
|
-
_id: string;
|
|
271
|
-
createdAt: NativeDate;
|
|
272
|
-
updatedAt: NativeDate;
|
|
273
|
-
runningLocalDate?: string | null | undefined;
|
|
274
|
-
}>> & import("mongoose").FlatRecord<{
|
|
275
|
-
createdAt: NativeDate;
|
|
276
|
-
updatedAt: NativeDate;
|
|
277
|
-
} & {
|
|
278
|
-
YEAR: {
|
|
279
|
-
"POS_WALK-IN": number;
|
|
280
|
-
"POS_TAKE-AWAY": number;
|
|
281
|
-
POS_DELIVERY: number;
|
|
282
|
-
"POS_DINE-IN": number;
|
|
283
|
-
"POS_DRIVE-THRU": number;
|
|
284
|
-
POS_KIOSK: number;
|
|
285
|
-
"WEB_TAKE-AWAY": number;
|
|
286
|
-
WEB_DELIVERY: number;
|
|
287
|
-
"WEB_DINE-IN": number;
|
|
288
|
-
"APP_TAKE-AWAY": number;
|
|
289
|
-
APP_DELIVERY: number;
|
|
290
|
-
"APP_DINE-IN": number;
|
|
291
|
-
"FOODPANDA_TAKE-AWAY": number;
|
|
292
|
-
FOODPANDA_DELIVERY: number;
|
|
293
|
-
"FOODPAPA_TAKE-AWAY": number;
|
|
294
|
-
FOODPAPA_DELIVERY: number;
|
|
295
|
-
"DOORDASH_TAKE-AWAY": number;
|
|
296
|
-
DOORDASH_DELIVERY: number;
|
|
297
|
-
"UBER-EATS_TAKE-AWAY": number;
|
|
298
|
-
"UBER-EATS_DELIVERY": number;
|
|
299
|
-
"MENU-LOG_TAKE-AWAY": number;
|
|
300
|
-
"MENU-LOG_DELIVERY": number;
|
|
301
|
-
"GFO_TAKE-AWAY": number;
|
|
302
|
-
GFO_DELIVERY: number;
|
|
303
|
-
"TALABAT_TAKE-AWAY": number;
|
|
304
|
-
TALABAT_DELIVERY: number;
|
|
305
|
-
"NOON_TAKE-AWAY": number;
|
|
306
|
-
NOON_DELIVERY: number;
|
|
307
|
-
"SMILES_TAKE-AWAY": number;
|
|
308
|
-
SMILES_DELIVERY: number;
|
|
309
|
-
"CAREEM_TAKE-AWAY": number;
|
|
310
|
-
CAREEM_DELIVERY: number;
|
|
311
|
-
"DELIVEROO_TAKE-AWAY": number;
|
|
312
|
-
DELIVEROO_DELIVERY: number;
|
|
313
|
-
"ZOMATO_TAKE-AWAY": number;
|
|
314
|
-
ZOMATO_DELIVERY: number;
|
|
315
|
-
"EATEASY_TAKE-AWAY": number;
|
|
316
|
-
EATEASY_DELIVERY: number;
|
|
317
|
-
"KEETA_TAKE-AWAY": number;
|
|
318
|
-
KEETA_DELIVERY: number;
|
|
319
|
-
};
|
|
320
|
-
MONTH: {
|
|
321
|
-
"POS_WALK-IN": number;
|
|
322
|
-
"POS_TAKE-AWAY": number;
|
|
323
|
-
POS_DELIVERY: number;
|
|
324
|
-
"POS_DINE-IN": number;
|
|
325
|
-
"POS_DRIVE-THRU": number;
|
|
326
|
-
POS_KIOSK: number;
|
|
327
|
-
"WEB_TAKE-AWAY": number;
|
|
328
|
-
WEB_DELIVERY: number;
|
|
329
|
-
"WEB_DINE-IN": number;
|
|
330
|
-
"APP_TAKE-AWAY": number;
|
|
331
|
-
APP_DELIVERY: number;
|
|
332
|
-
"APP_DINE-IN": number;
|
|
333
|
-
"FOODPANDA_TAKE-AWAY": number;
|
|
334
|
-
FOODPANDA_DELIVERY: number;
|
|
335
|
-
"FOODPAPA_TAKE-AWAY": number;
|
|
336
|
-
FOODPAPA_DELIVERY: number;
|
|
337
|
-
"DOORDASH_TAKE-AWAY": number;
|
|
338
|
-
DOORDASH_DELIVERY: number;
|
|
339
|
-
"UBER-EATS_TAKE-AWAY": number;
|
|
340
|
-
"UBER-EATS_DELIVERY": number;
|
|
341
|
-
"MENU-LOG_TAKE-AWAY": number;
|
|
342
|
-
"MENU-LOG_DELIVERY": number;
|
|
343
|
-
"GFO_TAKE-AWAY": number;
|
|
344
|
-
GFO_DELIVERY: number;
|
|
345
|
-
"TALABAT_TAKE-AWAY": number;
|
|
346
|
-
TALABAT_DELIVERY: number;
|
|
347
|
-
"NOON_TAKE-AWAY": number;
|
|
348
|
-
NOON_DELIVERY: number;
|
|
349
|
-
"SMILES_TAKE-AWAY": number;
|
|
350
|
-
SMILES_DELIVERY: number;
|
|
351
|
-
"CAREEM_TAKE-AWAY": number;
|
|
352
|
-
CAREEM_DELIVERY: number;
|
|
353
|
-
"DELIVEROO_TAKE-AWAY": number;
|
|
354
|
-
DELIVEROO_DELIVERY: number;
|
|
355
|
-
"ZOMATO_TAKE-AWAY": number;
|
|
356
|
-
ZOMATO_DELIVERY: number;
|
|
357
|
-
"EATEASY_TAKE-AWAY": number;
|
|
358
|
-
EATEASY_DELIVERY: number;
|
|
359
|
-
"KEETA_TAKE-AWAY": number;
|
|
360
|
-
KEETA_DELIVERY: number;
|
|
361
|
-
};
|
|
362
|
-
DAY: {
|
|
363
|
-
"POS_WALK-IN": number;
|
|
364
|
-
"POS_TAKE-AWAY": number;
|
|
365
|
-
POS_DELIVERY: number;
|
|
366
|
-
"POS_DINE-IN": number;
|
|
367
|
-
"POS_DRIVE-THRU": number;
|
|
368
|
-
POS_KIOSK: number;
|
|
369
|
-
"WEB_TAKE-AWAY": number;
|
|
370
|
-
WEB_DELIVERY: number;
|
|
371
|
-
"WEB_DINE-IN": number;
|
|
372
|
-
"APP_TAKE-AWAY": number;
|
|
373
|
-
APP_DELIVERY: number;
|
|
374
|
-
"APP_DINE-IN": number;
|
|
375
|
-
"FOODPANDA_TAKE-AWAY": number;
|
|
376
|
-
FOODPANDA_DELIVERY: number;
|
|
377
|
-
"FOODPAPA_TAKE-AWAY": number;
|
|
378
|
-
FOODPAPA_DELIVERY: number;
|
|
379
|
-
"DOORDASH_TAKE-AWAY": number;
|
|
380
|
-
DOORDASH_DELIVERY: number;
|
|
381
|
-
"UBER-EATS_TAKE-AWAY": number;
|
|
382
|
-
"UBER-EATS_DELIVERY": number;
|
|
383
|
-
"MENU-LOG_TAKE-AWAY": number;
|
|
384
|
-
"MENU-LOG_DELIVERY": number;
|
|
385
|
-
"GFO_TAKE-AWAY": number;
|
|
386
|
-
GFO_DELIVERY: number;
|
|
387
|
-
"TALABAT_TAKE-AWAY": number;
|
|
388
|
-
TALABAT_DELIVERY: number;
|
|
389
|
-
"NOON_TAKE-AWAY": number;
|
|
390
|
-
NOON_DELIVERY: number;
|
|
391
|
-
"SMILES_TAKE-AWAY": number;
|
|
392
|
-
SMILES_DELIVERY: number;
|
|
393
|
-
"CAREEM_TAKE-AWAY": number;
|
|
394
|
-
CAREEM_DELIVERY: number;
|
|
395
|
-
"DELIVEROO_TAKE-AWAY": number;
|
|
396
|
-
DELIVEROO_DELIVERY: number;
|
|
397
|
-
"ZOMATO_TAKE-AWAY": number;
|
|
398
|
-
ZOMATO_DELIVERY: number;
|
|
399
|
-
"EATEASY_TAKE-AWAY": number;
|
|
400
|
-
EATEASY_DELIVERY: number;
|
|
401
|
-
"KEETA_TAKE-AWAY": number;
|
|
402
|
-
KEETA_DELIVERY: number;
|
|
403
|
-
};
|
|
404
|
-
_id: string;
|
|
405
|
-
createdAt: NativeDate;
|
|
406
|
-
updatedAt: NativeDate;
|
|
407
|
-
runningLocalDate?: string | null | undefined;
|
|
408
|
-
}> & Required<{
|
|
409
|
-
_id: string;
|
|
410
|
-
}> & {
|
|
411
|
-
__v: number;
|
|
412
|
-
}>;
|
|
413
|
-
export declare const TRACK_ORDER_NUMBERS_COLLECTION_NAME = "track_order_numbers";
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TRACK_ORDER_NUMBERS_COLLECTION_NAME = exports.TrackOrderNumberSchema = void 0;
|
|
4
|
-
const mongoose_1 = require("mongoose");
|
|
5
|
-
const common_models_1 = require("./common-models");
|
|
6
|
-
exports.TrackOrderNumberSchema = new mongoose_1.Schema({
|
|
7
|
-
_id: {
|
|
8
|
-
type: String,
|
|
9
|
-
required: true,
|
|
10
|
-
immutable: true,
|
|
11
|
-
ref: 'tenants',
|
|
12
|
-
},
|
|
13
|
-
YEAR: {
|
|
14
|
-
type: common_models_1.PartialPlatformNumSchema,
|
|
15
|
-
default: {},
|
|
16
|
-
},
|
|
17
|
-
MONTH: {
|
|
18
|
-
type: common_models_1.PartialPlatformNumSchema,
|
|
19
|
-
default: {},
|
|
20
|
-
},
|
|
21
|
-
DAY: {
|
|
22
|
-
type: common_models_1.PartialPlatformNumSchema,
|
|
23
|
-
default: {},
|
|
24
|
-
},
|
|
25
|
-
runningLocalDate: {
|
|
26
|
-
type: String,
|
|
27
|
-
required: false,
|
|
28
|
-
},
|
|
29
|
-
createdAt: {
|
|
30
|
-
type: mongoose_1.Schema.Types.Date,
|
|
31
|
-
required: true,
|
|
32
|
-
default: () => new Date(),
|
|
33
|
-
immutable: true,
|
|
34
|
-
},
|
|
35
|
-
updatedAt: {
|
|
36
|
-
type: mongoose_1.Schema.Types.Date,
|
|
37
|
-
required: true,
|
|
38
|
-
default: () => new Date(),
|
|
39
|
-
},
|
|
40
|
-
}, {
|
|
41
|
-
timestamps: true,
|
|
42
|
-
versionKey: false,
|
|
43
|
-
minimize: false,
|
|
44
|
-
});
|
|
45
|
-
exports.TRACK_ORDER_NUMBERS_COLLECTION_NAME = 'track_order_numbers';
|