@managesome/eposmatic-toolkit 0.4.14 → 0.4.16
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/esm/helpers/materialized-reports/index.js +1 -0
- package/esm/helpers/materialized-reports/materialized-report-drilldown-rows.js +162 -0
- package/esm/helpers/reporting-contract/report-contract.js +1 -0
- package/esm/schemas/models/index.js +1 -1
- package/esm/schemas/models/materialized_report_drilldown_rows.js +155 -0
- package/esm/schemas/types/index.js +1 -1
- package/esm/schemas/types/materialized_report_drilldown_rows.js +10 -0
- package/lib/helpers/materialized-reports/index.d.ts +1 -0
- package/lib/helpers/materialized-reports/index.js +1 -0
- package/lib/helpers/materialized-reports/materialized-report-drilldown-rows.d.ts +40 -0
- package/lib/helpers/materialized-reports/materialized-report-drilldown-rows.js +169 -0
- package/lib/helpers/reporting-contract/report-contract.d.ts +3 -0
- package/lib/helpers/reporting-contract/report-contract.js +1 -0
- package/lib/schemas/models/brands.d.ts +6 -6
- package/lib/schemas/models/categories.d.ts +6 -6
- package/lib/schemas/models/close_dates.d.ts +3 -3
- package/lib/schemas/models/courses.d.ts +3 -3
- package/lib/schemas/models/customer_redemptions.d.ts +3 -3
- package/lib/schemas/models/customers.d.ts +6 -6
- package/lib/schemas/models/deliveries.d.ts +9 -9
- package/lib/schemas/models/delivery_areas.d.ts +3 -3
- package/lib/schemas/models/dinein_floors.d.ts +3 -3
- package/lib/schemas/models/dinein_tables.d.ts +6 -6
- package/lib/schemas/models/dinein_tables_fingerprints.d.ts +9 -9
- package/lib/schemas/models/discounts.d.ts +27 -27
- package/lib/schemas/models/expense_categories.d.ts +3 -3
- package/lib/schemas/models/expense_details.d.ts +12 -12
- package/lib/schemas/models/gift_cards.d.ts +3 -3
- package/lib/schemas/models/halfhalf_setup.d.ts +153 -153
- package/lib/schemas/models/index.d.ts +1 -1
- package/lib/schemas/models/index.js +1 -1
- package/lib/schemas/models/internal_invoices.d.ts +3 -3
- package/lib/schemas/models/internal_staffs.d.ts +3 -3
- package/lib/schemas/models/inventories.d.ts +6 -6
- package/lib/schemas/models/inventory_categories.d.ts +3 -3
- package/lib/schemas/models/inventory_transactions.d.ts +9 -9
- package/lib/schemas/models/item_transactions.d.ts +9 -9
- package/lib/schemas/models/items.d.ts +216 -216
- package/lib/schemas/models/marketing_fingerprints.d.ts +9 -9
- package/lib/schemas/models/materialized_credit_bills.d.ts +21 -21
- package/lib/schemas/models/materialized_report_drilldown_rows.d.ts +130 -0
- package/lib/schemas/models/materialized_report_drilldown_rows.js +158 -0
- package/lib/schemas/models/materialized_tenant_cash_entries.d.ts +9 -9
- package/lib/schemas/models/materialized_tenant_cash_reports.d.ts +3 -3
- package/lib/schemas/models/materialized_tenant_delivery_entries.d.ts +3 -3
- package/lib/schemas/models/materialized_tenant_delivery_reports.d.ts +3 -3
- package/lib/schemas/models/materialized_tenant_discount_entries.d.ts +24 -24
- package/lib/schemas/models/materialized_tenant_discount_reports.d.ts +3 -3
- package/lib/schemas/models/materialized_tenant_hourly_comparison_entries.d.ts +3 -3
- package/lib/schemas/models/materialized_tenant_hourly_comparison_reports.d.ts +3 -3
- package/lib/schemas/models/materialized_tenant_payments_comparison_entries.d.ts +3 -3
- package/lib/schemas/models/materialized_tenant_payments_comparison_reports.d.ts +3 -3
- package/lib/schemas/models/materialized_tenant_prep_time_entries.d.ts +12 -12
- package/lib/schemas/models/materialized_tenant_prep_time_reports.d.ts +3 -3
- package/lib/schemas/models/materialized_tenant_reports_iterations.d.ts +3 -3
- package/lib/schemas/models/materialized_tenant_sales_comparison_entries.d.ts +9 -9
- package/lib/schemas/models/materialized_tenant_sales_comparison_reports.d.ts +3 -3
- package/lib/schemas/models/materialized_tenant_sales_overview_reports.d.ts +3 -3
- package/lib/schemas/models/menus.d.ts +21 -21
- package/lib/schemas/models/modifier_extras.d.ts +3 -3
- package/lib/schemas/models/offers.d.ts +24 -24
- package/lib/schemas/models/offers_fingerprints.d.ts +9 -9
- package/lib/schemas/models/operational_roles.d.ts +3 -3
- package/lib/schemas/models/orders.d.ts +18 -18
- package/lib/schemas/models/printer_settings.d.ts +3 -3
- package/lib/schemas/models/public_holidays.d.ts +3 -3
- package/lib/schemas/models/reservations.d.ts +6 -6
- package/lib/schemas/models/reviews.d.ts +12 -12
- package/lib/schemas/models/riders.d.ts +3 -3
- package/lib/schemas/models/specials.d.ts +48 -48
- package/lib/schemas/models/staff_shifts.d.ts +9 -9
- package/lib/schemas/models/tenant-activity-logs.d.ts +3 -3
- package/lib/schemas/models/tenant_active_jobs.d.ts +3 -3
- package/lib/schemas/models/tenant_calendar.d.ts +3 -3
- package/lib/schemas/models/tenant_cash_drawer_sessions.d.ts +36 -36
- package/lib/schemas/models/tenant_cash_drawers.d.ts +3 -3
- package/lib/schemas/models/tenant_cash_in_hand_transactions.d.ts +9 -9
- package/lib/schemas/models/tenant_cash_in_out.d.ts +9 -9
- package/lib/schemas/models/tenant_clients.d.ts +3 -3
- package/lib/schemas/models/tenant_day_sessions.d.ts +36 -36
- package/lib/schemas/models/tenant_hr_attendance_records.d.ts +3 -3
- package/lib/schemas/models/tenant_hr_biometric_enrollments.d.ts +3 -3
- package/lib/schemas/models/tenant_hr_departments.d.ts +3 -3
- package/lib/schemas/models/tenant_hr_documents.d.ts +3 -3
- package/lib/schemas/models/tenant_hr_employees.d.ts +24 -24
- package/lib/schemas/models/tenant_hr_leave_requests.d.ts +6 -6
- package/lib/schemas/models/tenant_hr_payrolls.d.ts +3 -3
- package/lib/schemas/models/tenant_hr_performance_reviews.d.ts +3 -3
- package/lib/schemas/models/tenant_hr_policies.d.ts +3 -3
- package/lib/schemas/models/tenant_hr_positions.d.ts +3 -3
- package/lib/schemas/models/tenant_hr_shift_schedules.d.ts +3 -3
- package/lib/schemas/models/tenant_hr_shifts.d.ts +3 -3
- package/lib/schemas/models/tenant_instore_shift_sessions.d.ts +36 -36
- package/lib/schemas/models/tenant_instore_shifts.d.ts +3 -3
- package/lib/schemas/models/tenant_inventory_department_transactions.d.ts +9 -9
- package/lib/schemas/models/tenant_inventory_department_utilities.d.ts +6 -6
- package/lib/schemas/models/tenant_inventory_departments.d.ts +6 -6
- package/lib/schemas/models/tenant_inventory_entries.d.ts +3 -3
- package/lib/schemas/models/tenant_metadata.d.ts +3 -3
- package/lib/schemas/models/tenant_order_item_instructions.d.ts +3 -3
- package/lib/schemas/models/tenant_purchase_order_vendor_returns.d.ts +6 -6
- package/lib/schemas/models/tenant_purchase_orders.d.ts +6 -6
- package/lib/schemas/models/tenant_shifts.d.ts +3 -3
- package/lib/schemas/models/tenant_staffs.d.ts +24 -24
- package/lib/schemas/models/tenant_vendors.d.ts +3 -3
- package/lib/schemas/models/tenants.d.ts +3 -3
- package/lib/schemas/models/terminal_devices.d.ts +3 -3
- package/lib/schemas/models/tokens.d.ts +9 -9
- package/lib/schemas/models/void_order_items.d.ts +27 -27
- package/lib/schemas/models/vouchers.d.ts +3 -3
- package/lib/schemas/models/wallet_transactions.d.ts +9 -9
- package/lib/schemas/models/wallets.d.ts +3 -3
- package/lib/schemas/models/warehouse_categories.d.ts +3 -3
- package/lib/schemas/models/warehouse_communications.d.ts +3 -3
- package/lib/schemas/models/warehouse_inventory_transactions.d.ts +6 -6
- package/lib/schemas/models/warehouse_item_transactions.d.ts +6 -6
- package/lib/schemas/models/warehouse_items.d.ts +3 -3
- package/lib/schemas/models/warehouse_purchase_order_receipts.d.ts +3 -3
- package/lib/schemas/models/warehouse_purchase_order_rfqs.d.ts +3 -3
- package/lib/schemas/models/warehouse_purchase_order_vendor_returns.d.ts +3 -3
- package/lib/schemas/models/warehouse_purchase_orders.d.ts +3 -3
- package/lib/schemas/models/warehouse_sale_deliveries.d.ts +3 -3
- package/lib/schemas/models/warehouse_sale_invoices.d.ts +3 -3
- package/lib/schemas/models/warehouse_sale_order_rfqs.d.ts +3 -3
- package/lib/schemas/models/warehouse_sale_orders.d.ts +3 -3
- package/lib/schemas/models/warehouse_staffs.d.ts +3 -3
- package/lib/schemas/models/warehouse_void_purchase_order_items.d.ts +21 -21
- package/lib/schemas/models/warehouse_void_sale_order_items.d.ts +21 -21
- package/lib/schemas/models/warehouses.d.ts +3 -3
- package/lib/schemas/types/index.d.ts +1 -1
- package/lib/schemas/types/index.js +1 -1
- package/lib/schemas/types/materialized_report_drilldown_rows.d.ts +64 -0
- package/lib/schemas/types/materialized_report_drilldown_rows.js +13 -0
- package/lib/tests/materialized-reports/materialized-report-drilldown-rows.test.d.ts +1 -0
- package/lib/tests/materialized-reports/materialized-report-drilldown-rows.test.js +143 -0
- package/lib/tests/reporting-contract.test.js +7 -0
- package/package.json +1 -1
|
@@ -9,16 +9,16 @@ export declare const VoidOrderItemSchema: Schema<any, import("mongoose").Model<a
|
|
|
9
9
|
} & {
|
|
10
10
|
_id: import("mongoose").Types.ObjectId;
|
|
11
11
|
name: string;
|
|
12
|
-
tenant_id: string;
|
|
13
|
-
order_id: import("mongoose").Types.ObjectId;
|
|
14
|
-
platform: import("../../constants").PLATFORMS_ENUM;
|
|
15
|
-
staff_id: string;
|
|
16
|
-
staff_name: string;
|
|
17
|
-
createdAt_mins: number;
|
|
18
12
|
createdAt: NativeDate;
|
|
19
13
|
updatedAt: NativeDate;
|
|
20
14
|
description: string;
|
|
15
|
+
tenant_id: string;
|
|
16
|
+
createdAt_mins: number;
|
|
17
|
+
order_id: import("mongoose").Types.ObjectId;
|
|
21
18
|
order_number: number;
|
|
19
|
+
staff_id: string;
|
|
20
|
+
staff_name: string;
|
|
21
|
+
platform: import("../../constants").PLATFORMS_ENUM;
|
|
22
22
|
subtotal: number;
|
|
23
23
|
item_id: import("mongoose").Types.ObjectId;
|
|
24
24
|
void_reason: string;
|
|
@@ -32,27 +32,27 @@ export declare const VoidOrderItemSchema: Schema<any, import("mongoose").Model<a
|
|
|
32
32
|
adjustments?: import("mongoose").Types.DocumentArray<{
|
|
33
33
|
_id: import("mongoose").Types.ObjectId;
|
|
34
34
|
order_id: import("mongoose").Types.ObjectId;
|
|
35
|
+
order_number: number;
|
|
35
36
|
staff_id: string;
|
|
36
37
|
staff_name: string;
|
|
37
|
-
order_number: number;
|
|
38
38
|
subtotal: number;
|
|
39
39
|
quantity: number;
|
|
40
40
|
order_item_id: import("mongoose").Types.ObjectId;
|
|
41
41
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
42
42
|
_id: import("mongoose").Types.ObjectId;
|
|
43
43
|
order_id: import("mongoose").Types.ObjectId;
|
|
44
|
+
order_number: number;
|
|
44
45
|
staff_id: string;
|
|
45
46
|
staff_name: string;
|
|
46
|
-
order_number: number;
|
|
47
47
|
subtotal: number;
|
|
48
48
|
quantity: number;
|
|
49
49
|
order_item_id: import("mongoose").Types.ObjectId;
|
|
50
50
|
}> & {
|
|
51
51
|
_id: import("mongoose").Types.ObjectId;
|
|
52
52
|
order_id: import("mongoose").Types.ObjectId;
|
|
53
|
+
order_number: number;
|
|
53
54
|
staff_id: string;
|
|
54
55
|
staff_name: string;
|
|
55
|
-
order_number: number;
|
|
56
56
|
subtotal: number;
|
|
57
57
|
quantity: number;
|
|
58
58
|
order_item_id: import("mongoose").Types.ObjectId;
|
|
@@ -63,16 +63,16 @@ export declare const VoidOrderItemSchema: Schema<any, import("mongoose").Model<a
|
|
|
63
63
|
} & {
|
|
64
64
|
_id: import("mongoose").Types.ObjectId;
|
|
65
65
|
name: string;
|
|
66
|
-
tenant_id: string;
|
|
67
|
-
order_id: import("mongoose").Types.ObjectId;
|
|
68
|
-
platform: import("../../constants").PLATFORMS_ENUM;
|
|
69
|
-
staff_id: string;
|
|
70
|
-
staff_name: string;
|
|
71
|
-
createdAt_mins: number;
|
|
72
66
|
createdAt: NativeDate;
|
|
73
67
|
updatedAt: NativeDate;
|
|
74
68
|
description: string;
|
|
69
|
+
tenant_id: string;
|
|
70
|
+
createdAt_mins: number;
|
|
71
|
+
order_id: import("mongoose").Types.ObjectId;
|
|
75
72
|
order_number: number;
|
|
73
|
+
staff_id: string;
|
|
74
|
+
staff_name: string;
|
|
75
|
+
platform: import("../../constants").PLATFORMS_ENUM;
|
|
76
76
|
subtotal: number;
|
|
77
77
|
item_id: import("mongoose").Types.ObjectId;
|
|
78
78
|
void_reason: string;
|
|
@@ -86,27 +86,27 @@ export declare const VoidOrderItemSchema: Schema<any, import("mongoose").Model<a
|
|
|
86
86
|
adjustments?: import("mongoose").Types.DocumentArray<{
|
|
87
87
|
_id: import("mongoose").Types.ObjectId;
|
|
88
88
|
order_id: import("mongoose").Types.ObjectId;
|
|
89
|
+
order_number: number;
|
|
89
90
|
staff_id: string;
|
|
90
91
|
staff_name: string;
|
|
91
|
-
order_number: number;
|
|
92
92
|
subtotal: number;
|
|
93
93
|
quantity: number;
|
|
94
94
|
order_item_id: import("mongoose").Types.ObjectId;
|
|
95
95
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
96
96
|
_id: import("mongoose").Types.ObjectId;
|
|
97
97
|
order_id: import("mongoose").Types.ObjectId;
|
|
98
|
+
order_number: number;
|
|
98
99
|
staff_id: string;
|
|
99
100
|
staff_name: string;
|
|
100
|
-
order_number: number;
|
|
101
101
|
subtotal: number;
|
|
102
102
|
quantity: number;
|
|
103
103
|
order_item_id: import("mongoose").Types.ObjectId;
|
|
104
104
|
}> & {
|
|
105
105
|
_id: import("mongoose").Types.ObjectId;
|
|
106
106
|
order_id: import("mongoose").Types.ObjectId;
|
|
107
|
+
order_number: number;
|
|
107
108
|
staff_id: string;
|
|
108
109
|
staff_name: string;
|
|
109
|
-
order_number: number;
|
|
110
110
|
subtotal: number;
|
|
111
111
|
quantity: number;
|
|
112
112
|
order_item_id: import("mongoose").Types.ObjectId;
|
|
@@ -117,16 +117,16 @@ export declare const VoidOrderItemSchema: Schema<any, import("mongoose").Model<a
|
|
|
117
117
|
} & {
|
|
118
118
|
_id: import("mongoose").Types.ObjectId;
|
|
119
119
|
name: string;
|
|
120
|
-
tenant_id: string;
|
|
121
|
-
order_id: import("mongoose").Types.ObjectId;
|
|
122
|
-
platform: import("../../constants").PLATFORMS_ENUM;
|
|
123
|
-
staff_id: string;
|
|
124
|
-
staff_name: string;
|
|
125
|
-
createdAt_mins: number;
|
|
126
120
|
createdAt: NativeDate;
|
|
127
121
|
updatedAt: NativeDate;
|
|
128
122
|
description: string;
|
|
123
|
+
tenant_id: string;
|
|
124
|
+
createdAt_mins: number;
|
|
125
|
+
order_id: import("mongoose").Types.ObjectId;
|
|
129
126
|
order_number: number;
|
|
127
|
+
staff_id: string;
|
|
128
|
+
staff_name: string;
|
|
129
|
+
platform: import("../../constants").PLATFORMS_ENUM;
|
|
130
130
|
subtotal: number;
|
|
131
131
|
item_id: import("mongoose").Types.ObjectId;
|
|
132
132
|
void_reason: string;
|
|
@@ -140,27 +140,27 @@ export declare const VoidOrderItemSchema: Schema<any, import("mongoose").Model<a
|
|
|
140
140
|
adjustments?: import("mongoose").Types.DocumentArray<{
|
|
141
141
|
_id: import("mongoose").Types.ObjectId;
|
|
142
142
|
order_id: import("mongoose").Types.ObjectId;
|
|
143
|
+
order_number: number;
|
|
143
144
|
staff_id: string;
|
|
144
145
|
staff_name: string;
|
|
145
|
-
order_number: number;
|
|
146
146
|
subtotal: number;
|
|
147
147
|
quantity: number;
|
|
148
148
|
order_item_id: import("mongoose").Types.ObjectId;
|
|
149
149
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
150
150
|
_id: import("mongoose").Types.ObjectId;
|
|
151
151
|
order_id: import("mongoose").Types.ObjectId;
|
|
152
|
+
order_number: number;
|
|
152
153
|
staff_id: string;
|
|
153
154
|
staff_name: string;
|
|
154
|
-
order_number: number;
|
|
155
155
|
subtotal: number;
|
|
156
156
|
quantity: number;
|
|
157
157
|
order_item_id: import("mongoose").Types.ObjectId;
|
|
158
158
|
}> & {
|
|
159
159
|
_id: import("mongoose").Types.ObjectId;
|
|
160
160
|
order_id: import("mongoose").Types.ObjectId;
|
|
161
|
+
order_number: number;
|
|
161
162
|
staff_id: string;
|
|
162
163
|
staff_name: string;
|
|
163
|
-
order_number: number;
|
|
164
164
|
subtotal: number;
|
|
165
165
|
quantity: number;
|
|
166
166
|
order_item_id: import("mongoose").Types.ObjectId;
|
|
@@ -10,10 +10,10 @@ export declare const VouchersSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
10
10
|
code: string;
|
|
11
11
|
_id: import("mongoose").Types.ObjectId;
|
|
12
12
|
name: string;
|
|
13
|
-
tenants: string[];
|
|
14
13
|
createdAt: NativeDate;
|
|
15
14
|
updatedAt: NativeDate;
|
|
16
15
|
brand_id: string;
|
|
16
|
+
tenants: string[];
|
|
17
17
|
active: boolean;
|
|
18
18
|
description: string;
|
|
19
19
|
is_public: boolean;
|
|
@@ -33,10 +33,10 @@ export declare const VouchersSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
33
33
|
code: string;
|
|
34
34
|
_id: import("mongoose").Types.ObjectId;
|
|
35
35
|
name: string;
|
|
36
|
-
tenants: string[];
|
|
37
36
|
createdAt: NativeDate;
|
|
38
37
|
updatedAt: NativeDate;
|
|
39
38
|
brand_id: string;
|
|
39
|
+
tenants: string[];
|
|
40
40
|
active: boolean;
|
|
41
41
|
description: string;
|
|
42
42
|
is_public: boolean;
|
|
@@ -56,10 +56,10 @@ export declare const VouchersSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
56
56
|
code: string;
|
|
57
57
|
_id: import("mongoose").Types.ObjectId;
|
|
58
58
|
name: string;
|
|
59
|
-
tenants: string[];
|
|
60
59
|
createdAt: NativeDate;
|
|
61
60
|
updatedAt: NativeDate;
|
|
62
61
|
brand_id: string;
|
|
62
|
+
tenants: string[];
|
|
63
63
|
active: boolean;
|
|
64
64
|
description: string;
|
|
65
65
|
is_public: boolean;
|
|
@@ -8,12 +8,12 @@ export declare const WalletTransactionsSchema: Schema<any, import("mongoose").Mo
|
|
|
8
8
|
updatedAt: NativeDate;
|
|
9
9
|
} & {
|
|
10
10
|
_id: import("mongoose").Types.ObjectId;
|
|
11
|
-
tenant_id: string;
|
|
12
|
-
createdAt_mins: number;
|
|
13
11
|
createdAt: NativeDate;
|
|
14
12
|
updatedAt: NativeDate;
|
|
15
13
|
payment_provider: string;
|
|
16
14
|
payment_id: string;
|
|
15
|
+
tenant_id: string;
|
|
16
|
+
createdAt_mins: number;
|
|
17
17
|
payment_method: string;
|
|
18
18
|
transaction_category: import("../../constants").WALLET_TRANSACTION_CATEGORY_ENUM;
|
|
19
19
|
transaction_type: import("../../constants").WALLET_TRANSACTION_TYPE_ENUM;
|
|
@@ -21,8 +21,8 @@ export declare const WalletTransactionsSchema: Schema<any, import("mongoose").Mo
|
|
|
21
21
|
previous_balance: number;
|
|
22
22
|
transaction_amount: number;
|
|
23
23
|
transaction_status: import("../../constants").WALLET_TRANSACTION_STATUS_ENUM;
|
|
24
|
-
order_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
25
24
|
description?: string | null | undefined;
|
|
25
|
+
order_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
26
26
|
order_number?: number | null | undefined;
|
|
27
27
|
linked_transaction_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
28
28
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
@@ -30,12 +30,12 @@ export declare const WalletTransactionsSchema: Schema<any, import("mongoose").Mo
|
|
|
30
30
|
updatedAt: NativeDate;
|
|
31
31
|
} & {
|
|
32
32
|
_id: import("mongoose").Types.ObjectId;
|
|
33
|
-
tenant_id: string;
|
|
34
|
-
createdAt_mins: number;
|
|
35
33
|
createdAt: NativeDate;
|
|
36
34
|
updatedAt: NativeDate;
|
|
37
35
|
payment_provider: string;
|
|
38
36
|
payment_id: string;
|
|
37
|
+
tenant_id: string;
|
|
38
|
+
createdAt_mins: number;
|
|
39
39
|
payment_method: string;
|
|
40
40
|
transaction_category: import("../../constants").WALLET_TRANSACTION_CATEGORY_ENUM;
|
|
41
41
|
transaction_type: import("../../constants").WALLET_TRANSACTION_TYPE_ENUM;
|
|
@@ -43,8 +43,8 @@ export declare const WalletTransactionsSchema: Schema<any, import("mongoose").Mo
|
|
|
43
43
|
previous_balance: number;
|
|
44
44
|
transaction_amount: number;
|
|
45
45
|
transaction_status: import("../../constants").WALLET_TRANSACTION_STATUS_ENUM;
|
|
46
|
-
order_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
47
46
|
description?: string | null | undefined;
|
|
47
|
+
order_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
48
48
|
order_number?: number | null | undefined;
|
|
49
49
|
linked_transaction_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
50
50
|
}>> & import("mongoose").FlatRecord<{
|
|
@@ -52,12 +52,12 @@ export declare const WalletTransactionsSchema: Schema<any, import("mongoose").Mo
|
|
|
52
52
|
updatedAt: NativeDate;
|
|
53
53
|
} & {
|
|
54
54
|
_id: import("mongoose").Types.ObjectId;
|
|
55
|
-
tenant_id: string;
|
|
56
|
-
createdAt_mins: number;
|
|
57
55
|
createdAt: NativeDate;
|
|
58
56
|
updatedAt: NativeDate;
|
|
59
57
|
payment_provider: string;
|
|
60
58
|
payment_id: string;
|
|
59
|
+
tenant_id: string;
|
|
60
|
+
createdAt_mins: number;
|
|
61
61
|
payment_method: string;
|
|
62
62
|
transaction_category: import("../../constants").WALLET_TRANSACTION_CATEGORY_ENUM;
|
|
63
63
|
transaction_type: import("../../constants").WALLET_TRANSACTION_TYPE_ENUM;
|
|
@@ -65,8 +65,8 @@ export declare const WalletTransactionsSchema: Schema<any, import("mongoose").Mo
|
|
|
65
65
|
previous_balance: number;
|
|
66
66
|
transaction_amount: number;
|
|
67
67
|
transaction_status: import("../../constants").WALLET_TRANSACTION_STATUS_ENUM;
|
|
68
|
-
order_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
69
68
|
description?: string | null | undefined;
|
|
69
|
+
order_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
70
70
|
order_number?: number | null | undefined;
|
|
71
71
|
linked_transaction_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
72
72
|
}> & Required<{
|
|
@@ -8,27 +8,27 @@ export declare const WalletSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
8
8
|
updatedAt: NativeDate;
|
|
9
9
|
} & {
|
|
10
10
|
_id: import("mongoose").Types.ObjectId;
|
|
11
|
-
tenant_id: string;
|
|
12
11
|
createdAt: NativeDate;
|
|
13
12
|
updatedAt: NativeDate;
|
|
13
|
+
tenant_id: string;
|
|
14
14
|
balance: number;
|
|
15
15
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
16
16
|
createdAt: NativeDate;
|
|
17
17
|
updatedAt: NativeDate;
|
|
18
18
|
} & {
|
|
19
19
|
_id: import("mongoose").Types.ObjectId;
|
|
20
|
-
tenant_id: string;
|
|
21
20
|
createdAt: NativeDate;
|
|
22
21
|
updatedAt: NativeDate;
|
|
22
|
+
tenant_id: string;
|
|
23
23
|
balance: number;
|
|
24
24
|
}>> & import("mongoose").FlatRecord<{
|
|
25
25
|
createdAt: NativeDate;
|
|
26
26
|
updatedAt: NativeDate;
|
|
27
27
|
} & {
|
|
28
28
|
_id: import("mongoose").Types.ObjectId;
|
|
29
|
-
tenant_id: string;
|
|
30
29
|
createdAt: NativeDate;
|
|
31
30
|
updatedAt: NativeDate;
|
|
31
|
+
tenant_id: string;
|
|
32
32
|
balance: number;
|
|
33
33
|
}> & Required<{
|
|
34
34
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -10,9 +10,9 @@ export declare const WarehouseCategorySchema: Schema<any, import("mongoose").Mod
|
|
|
10
10
|
} & {
|
|
11
11
|
_id: Types.ObjectId;
|
|
12
12
|
name: string;
|
|
13
|
+
image_url: string;
|
|
13
14
|
createdAt: NativeDate;
|
|
14
15
|
updatedAt: NativeDate;
|
|
15
|
-
image_url: string;
|
|
16
16
|
brand_id: string;
|
|
17
17
|
subtitle: string;
|
|
18
18
|
active: boolean;
|
|
@@ -26,9 +26,9 @@ export declare const WarehouseCategorySchema: Schema<any, import("mongoose").Mod
|
|
|
26
26
|
} & {
|
|
27
27
|
_id: Types.ObjectId;
|
|
28
28
|
name: string;
|
|
29
|
+
image_url: string;
|
|
29
30
|
createdAt: NativeDate;
|
|
30
31
|
updatedAt: NativeDate;
|
|
31
|
-
image_url: string;
|
|
32
32
|
brand_id: string;
|
|
33
33
|
subtitle: string;
|
|
34
34
|
active: boolean;
|
|
@@ -42,9 +42,9 @@ export declare const WarehouseCategorySchema: Schema<any, import("mongoose").Mod
|
|
|
42
42
|
} & {
|
|
43
43
|
_id: Types.ObjectId;
|
|
44
44
|
name: string;
|
|
45
|
+
image_url: string;
|
|
45
46
|
createdAt: NativeDate;
|
|
46
47
|
updatedAt: NativeDate;
|
|
47
|
-
image_url: string;
|
|
48
48
|
brand_id: string;
|
|
49
49
|
subtitle: string;
|
|
50
50
|
active: boolean;
|
|
@@ -66,13 +66,13 @@ export declare const WarehouseCommunicationsSchema: Schema<any, import("mongoose
|
|
|
66
66
|
button_text_color: string;
|
|
67
67
|
icon?: string | null | undefined;
|
|
68
68
|
}>;
|
|
69
|
-
reference_number?: string | null | undefined;
|
|
70
69
|
order_number?: number | null | undefined;
|
|
71
70
|
is_gst_inclusive?: boolean | null | undefined;
|
|
72
71
|
gst?: number | null | undefined;
|
|
73
72
|
gst_amount?: number | null | undefined;
|
|
74
73
|
expected_deadline?: string | null | undefined;
|
|
75
74
|
notes?: string | null | undefined;
|
|
75
|
+
reference_number?: string | null | undefined;
|
|
76
76
|
payment_terms_days?: number | null | undefined;
|
|
77
77
|
theme_color?: string | null | undefined;
|
|
78
78
|
};
|
|
@@ -139,13 +139,13 @@ export declare const WarehouseCommunicationsSchema: Schema<any, import("mongoose
|
|
|
139
139
|
button_text_color: string;
|
|
140
140
|
icon?: string | null | undefined;
|
|
141
141
|
}>;
|
|
142
|
-
reference_number?: string | null | undefined;
|
|
143
142
|
order_number?: number | null | undefined;
|
|
144
143
|
is_gst_inclusive?: boolean | null | undefined;
|
|
145
144
|
gst?: number | null | undefined;
|
|
146
145
|
gst_amount?: number | null | undefined;
|
|
147
146
|
expected_deadline?: string | null | undefined;
|
|
148
147
|
notes?: string | null | undefined;
|
|
148
|
+
reference_number?: string | null | undefined;
|
|
149
149
|
payment_terms_days?: number | null | undefined;
|
|
150
150
|
theme_color?: string | null | undefined;
|
|
151
151
|
};
|
|
@@ -212,13 +212,13 @@ export declare const WarehouseCommunicationsSchema: Schema<any, import("mongoose
|
|
|
212
212
|
button_text_color: string;
|
|
213
213
|
icon?: string | null | undefined;
|
|
214
214
|
}>;
|
|
215
|
-
reference_number?: string | null | undefined;
|
|
216
215
|
order_number?: number | null | undefined;
|
|
217
216
|
is_gst_inclusive?: boolean | null | undefined;
|
|
218
217
|
gst?: number | null | undefined;
|
|
219
218
|
gst_amount?: number | null | undefined;
|
|
220
219
|
expected_deadline?: string | null | undefined;
|
|
221
220
|
notes?: string | null | undefined;
|
|
221
|
+
reference_number?: string | null | undefined;
|
|
222
222
|
payment_terms_days?: number | null | undefined;
|
|
223
223
|
theme_color?: string | null | undefined;
|
|
224
224
|
};
|
|
@@ -8,10 +8,10 @@ export declare const WarehouseInventoryTransactionsSchema: Schema<any, import("m
|
|
|
8
8
|
updatedAt: NativeDate;
|
|
9
9
|
} & {
|
|
10
10
|
_id: import("mongoose").Types.ObjectId;
|
|
11
|
-
createdAt_mins: number;
|
|
12
11
|
createdAt: NativeDate;
|
|
13
12
|
updatedAt: NativeDate;
|
|
14
13
|
inventory_code: string;
|
|
14
|
+
createdAt_mins: number;
|
|
15
15
|
warehouse_id: string;
|
|
16
16
|
quantity_left: number;
|
|
17
17
|
unit_price: number;
|
|
@@ -22,8 +22,8 @@ export declare const WarehouseInventoryTransactionsSchema: Schema<any, import("m
|
|
|
22
22
|
transaction_category: import("../../constants").INVENTORY_TRANSACTION_CATEGORY_ENUM;
|
|
23
23
|
transaction_quantity: number;
|
|
24
24
|
transaction_type: import("../../constants").INVENTORY_TRANSACTION_TYPE_ENUM;
|
|
25
|
-
order_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
26
25
|
description?: string | null | undefined;
|
|
26
|
+
order_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
27
27
|
order_number?: number | null | undefined;
|
|
28
28
|
preparation?: any;
|
|
29
29
|
stock_price?: number | null | undefined;
|
|
@@ -33,10 +33,10 @@ export declare const WarehouseInventoryTransactionsSchema: Schema<any, import("m
|
|
|
33
33
|
updatedAt: NativeDate;
|
|
34
34
|
} & {
|
|
35
35
|
_id: import("mongoose").Types.ObjectId;
|
|
36
|
-
createdAt_mins: number;
|
|
37
36
|
createdAt: NativeDate;
|
|
38
37
|
updatedAt: NativeDate;
|
|
39
38
|
inventory_code: string;
|
|
39
|
+
createdAt_mins: number;
|
|
40
40
|
warehouse_id: string;
|
|
41
41
|
quantity_left: number;
|
|
42
42
|
unit_price: number;
|
|
@@ -47,8 +47,8 @@ export declare const WarehouseInventoryTransactionsSchema: Schema<any, import("m
|
|
|
47
47
|
transaction_category: import("../../constants").INVENTORY_TRANSACTION_CATEGORY_ENUM;
|
|
48
48
|
transaction_quantity: number;
|
|
49
49
|
transaction_type: import("../../constants").INVENTORY_TRANSACTION_TYPE_ENUM;
|
|
50
|
-
order_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
51
50
|
description?: string | null | undefined;
|
|
51
|
+
order_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
52
52
|
order_number?: number | null | undefined;
|
|
53
53
|
preparation?: any;
|
|
54
54
|
stock_price?: number | null | undefined;
|
|
@@ -58,10 +58,10 @@ export declare const WarehouseInventoryTransactionsSchema: Schema<any, import("m
|
|
|
58
58
|
updatedAt: NativeDate;
|
|
59
59
|
} & {
|
|
60
60
|
_id: import("mongoose").Types.ObjectId;
|
|
61
|
-
createdAt_mins: number;
|
|
62
61
|
createdAt: NativeDate;
|
|
63
62
|
updatedAt: NativeDate;
|
|
64
63
|
inventory_code: string;
|
|
64
|
+
createdAt_mins: number;
|
|
65
65
|
warehouse_id: string;
|
|
66
66
|
quantity_left: number;
|
|
67
67
|
unit_price: number;
|
|
@@ -72,8 +72,8 @@ export declare const WarehouseInventoryTransactionsSchema: Schema<any, import("m
|
|
|
72
72
|
transaction_category: import("../../constants").INVENTORY_TRANSACTION_CATEGORY_ENUM;
|
|
73
73
|
transaction_quantity: number;
|
|
74
74
|
transaction_type: import("../../constants").INVENTORY_TRANSACTION_TYPE_ENUM;
|
|
75
|
-
order_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
76
75
|
description?: string | null | undefined;
|
|
76
|
+
order_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
77
77
|
order_number?: number | null | undefined;
|
|
78
78
|
preparation?: any;
|
|
79
79
|
stock_price?: number | null | undefined;
|
|
@@ -8,11 +8,11 @@ export declare const WarehouseItemTransactionsSchema: Schema<any, import("mongoo
|
|
|
8
8
|
updatedAt: NativeDate;
|
|
9
9
|
} & {
|
|
10
10
|
_id: import("mongoose").Types.ObjectId;
|
|
11
|
-
createdAt_mins: number;
|
|
12
11
|
createdAt: NativeDate;
|
|
13
12
|
updatedAt: NativeDate;
|
|
14
13
|
category_id: import("mongoose").Types.ObjectId;
|
|
15
14
|
inventory_code: string;
|
|
15
|
+
createdAt_mins: number;
|
|
16
16
|
order_number: number;
|
|
17
17
|
warehouse_id: string;
|
|
18
18
|
item_id: import("mongoose").Types.ObjectId;
|
|
@@ -22,18 +22,18 @@ export declare const WarehouseItemTransactionsSchema: Schema<any, import("mongoo
|
|
|
22
22
|
item_name: string;
|
|
23
23
|
category_name: string;
|
|
24
24
|
cost_price: number;
|
|
25
|
-
order_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
26
25
|
description?: string | null | undefined;
|
|
26
|
+
order_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
27
27
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
28
28
|
createdAt: NativeDate;
|
|
29
29
|
updatedAt: NativeDate;
|
|
30
30
|
} & {
|
|
31
31
|
_id: import("mongoose").Types.ObjectId;
|
|
32
|
-
createdAt_mins: number;
|
|
33
32
|
createdAt: NativeDate;
|
|
34
33
|
updatedAt: NativeDate;
|
|
35
34
|
category_id: import("mongoose").Types.ObjectId;
|
|
36
35
|
inventory_code: string;
|
|
36
|
+
createdAt_mins: number;
|
|
37
37
|
order_number: number;
|
|
38
38
|
warehouse_id: string;
|
|
39
39
|
item_id: import("mongoose").Types.ObjectId;
|
|
@@ -43,18 +43,18 @@ export declare const WarehouseItemTransactionsSchema: Schema<any, import("mongoo
|
|
|
43
43
|
item_name: string;
|
|
44
44
|
category_name: string;
|
|
45
45
|
cost_price: number;
|
|
46
|
-
order_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
47
46
|
description?: string | null | undefined;
|
|
47
|
+
order_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
48
48
|
}>> & import("mongoose").FlatRecord<{
|
|
49
49
|
createdAt: NativeDate;
|
|
50
50
|
updatedAt: NativeDate;
|
|
51
51
|
} & {
|
|
52
52
|
_id: import("mongoose").Types.ObjectId;
|
|
53
|
-
createdAt_mins: number;
|
|
54
53
|
createdAt: NativeDate;
|
|
55
54
|
updatedAt: NativeDate;
|
|
56
55
|
category_id: import("mongoose").Types.ObjectId;
|
|
57
56
|
inventory_code: string;
|
|
57
|
+
createdAt_mins: number;
|
|
58
58
|
order_number: number;
|
|
59
59
|
warehouse_id: string;
|
|
60
60
|
item_id: import("mongoose").Types.ObjectId;
|
|
@@ -64,8 +64,8 @@ export declare const WarehouseItemTransactionsSchema: Schema<any, import("mongoo
|
|
|
64
64
|
item_name: string;
|
|
65
65
|
category_name: string;
|
|
66
66
|
cost_price: number;
|
|
67
|
-
order_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
68
67
|
description?: string | null | undefined;
|
|
68
|
+
order_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
69
69
|
}> & Required<{
|
|
70
70
|
_id: import("mongoose").Types.ObjectId;
|
|
71
71
|
}> & {
|
|
@@ -11,9 +11,9 @@ export declare const WarehouseItemSchema: Schema<any, import("mongoose").Model<a
|
|
|
11
11
|
_id: import("mongoose").Types.ObjectId;
|
|
12
12
|
type: import("../../constants").INVENTORY_ITEM_TYPE_ENUM;
|
|
13
13
|
name: string;
|
|
14
|
+
image_url: string;
|
|
14
15
|
createdAt: NativeDate;
|
|
15
16
|
updatedAt: NativeDate;
|
|
16
|
-
image_url: string;
|
|
17
17
|
brand_id: string;
|
|
18
18
|
active: boolean;
|
|
19
19
|
sort_id: number;
|
|
@@ -60,9 +60,9 @@ export declare const WarehouseItemSchema: Schema<any, import("mongoose").Model<a
|
|
|
60
60
|
_id: import("mongoose").Types.ObjectId;
|
|
61
61
|
type: import("../../constants").INVENTORY_ITEM_TYPE_ENUM;
|
|
62
62
|
name: string;
|
|
63
|
+
image_url: string;
|
|
63
64
|
createdAt: NativeDate;
|
|
64
65
|
updatedAt: NativeDate;
|
|
65
|
-
image_url: string;
|
|
66
66
|
brand_id: string;
|
|
67
67
|
active: boolean;
|
|
68
68
|
sort_id: number;
|
|
@@ -109,9 +109,9 @@ export declare const WarehouseItemSchema: Schema<any, import("mongoose").Model<a
|
|
|
109
109
|
_id: import("mongoose").Types.ObjectId;
|
|
110
110
|
type: import("../../constants").INVENTORY_ITEM_TYPE_ENUM;
|
|
111
111
|
name: string;
|
|
112
|
+
image_url: string;
|
|
112
113
|
createdAt: NativeDate;
|
|
113
114
|
updatedAt: NativeDate;
|
|
114
|
-
image_url: string;
|
|
115
115
|
brand_id: string;
|
|
116
116
|
active: boolean;
|
|
117
117
|
sort_id: number;
|
|
@@ -9,7 +9,6 @@ export declare const PurchaseOrderReceiptsSchema: Schema<any, import("mongoose")
|
|
|
9
9
|
updatedAt: NativeDate;
|
|
10
10
|
} & {
|
|
11
11
|
_id: import("mongoose").Types.ObjectId;
|
|
12
|
-
createdAt_mins: number;
|
|
13
12
|
createdAt: NativeDate;
|
|
14
13
|
updatedAt: NativeDate;
|
|
15
14
|
items: import("mongoose").Types.DocumentArray<{
|
|
@@ -37,6 +36,7 @@ export declare const PurchaseOrderReceiptsSchema: Schema<any, import("mongoose")
|
|
|
37
36
|
received_quantity: number;
|
|
38
37
|
ordered_quantity: number;
|
|
39
38
|
}>;
|
|
39
|
+
createdAt_mins: number;
|
|
40
40
|
warehouse_id: string;
|
|
41
41
|
vendor_name: string;
|
|
42
42
|
vendor_id: import("mongoose").Types.ObjectId;
|
|
@@ -60,7 +60,6 @@ export declare const PurchaseOrderReceiptsSchema: Schema<any, import("mongoose")
|
|
|
60
60
|
updatedAt: NativeDate;
|
|
61
61
|
} & {
|
|
62
62
|
_id: import("mongoose").Types.ObjectId;
|
|
63
|
-
createdAt_mins: number;
|
|
64
63
|
createdAt: NativeDate;
|
|
65
64
|
updatedAt: NativeDate;
|
|
66
65
|
items: import("mongoose").Types.DocumentArray<{
|
|
@@ -88,6 +87,7 @@ export declare const PurchaseOrderReceiptsSchema: Schema<any, import("mongoose")
|
|
|
88
87
|
received_quantity: number;
|
|
89
88
|
ordered_quantity: number;
|
|
90
89
|
}>;
|
|
90
|
+
createdAt_mins: number;
|
|
91
91
|
warehouse_id: string;
|
|
92
92
|
vendor_name: string;
|
|
93
93
|
vendor_id: import("mongoose").Types.ObjectId;
|
|
@@ -111,7 +111,6 @@ export declare const PurchaseOrderReceiptsSchema: Schema<any, import("mongoose")
|
|
|
111
111
|
updatedAt: NativeDate;
|
|
112
112
|
} & {
|
|
113
113
|
_id: import("mongoose").Types.ObjectId;
|
|
114
|
-
createdAt_mins: number;
|
|
115
114
|
createdAt: NativeDate;
|
|
116
115
|
updatedAt: NativeDate;
|
|
117
116
|
items: import("mongoose").Types.DocumentArray<{
|
|
@@ -139,6 +138,7 @@ export declare const PurchaseOrderReceiptsSchema: Schema<any, import("mongoose")
|
|
|
139
138
|
received_quantity: number;
|
|
140
139
|
ordered_quantity: number;
|
|
141
140
|
}>;
|
|
141
|
+
createdAt_mins: number;
|
|
142
142
|
warehouse_id: string;
|
|
143
143
|
vendor_name: string;
|
|
144
144
|
vendor_id: import("mongoose").Types.ObjectId;
|
|
@@ -9,7 +9,6 @@ export declare const PurchaseOrderRFQSchema: Schema<any, import("mongoose").Mode
|
|
|
9
9
|
updatedAt: NativeDate;
|
|
10
10
|
} & {
|
|
11
11
|
_id: import("mongoose").Types.ObjectId;
|
|
12
|
-
createdAt_mins: number;
|
|
13
12
|
createdAt: NativeDate;
|
|
14
13
|
updatedAt: NativeDate;
|
|
15
14
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -152,6 +151,7 @@ export declare const PurchaseOrderRFQSchema: Schema<any, import("mongoose").Mode
|
|
|
152
151
|
category_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
153
152
|
}>;
|
|
154
153
|
price: number;
|
|
154
|
+
createdAt_mins: number;
|
|
155
155
|
order_number: number;
|
|
156
156
|
iterations: import("mongoose").Types.DocumentArray<{
|
|
157
157
|
updatedAt: NativeDate;
|
|
@@ -658,7 +658,6 @@ export declare const PurchaseOrderRFQSchema: Schema<any, import("mongoose").Mode
|
|
|
658
658
|
updatedAt: NativeDate;
|
|
659
659
|
} & {
|
|
660
660
|
_id: import("mongoose").Types.ObjectId;
|
|
661
|
-
createdAt_mins: number;
|
|
662
661
|
createdAt: NativeDate;
|
|
663
662
|
updatedAt: NativeDate;
|
|
664
663
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -801,6 +800,7 @@ export declare const PurchaseOrderRFQSchema: Schema<any, import("mongoose").Mode
|
|
|
801
800
|
category_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
802
801
|
}>;
|
|
803
802
|
price: number;
|
|
803
|
+
createdAt_mins: number;
|
|
804
804
|
order_number: number;
|
|
805
805
|
iterations: import("mongoose").Types.DocumentArray<{
|
|
806
806
|
updatedAt: NativeDate;
|
|
@@ -1307,7 +1307,6 @@ export declare const PurchaseOrderRFQSchema: Schema<any, import("mongoose").Mode
|
|
|
1307
1307
|
updatedAt: NativeDate;
|
|
1308
1308
|
} & {
|
|
1309
1309
|
_id: import("mongoose").Types.ObjectId;
|
|
1310
|
-
createdAt_mins: number;
|
|
1311
1310
|
createdAt: NativeDate;
|
|
1312
1311
|
updatedAt: NativeDate;
|
|
1313
1312
|
categories: import("mongoose").Types.DocumentArray<{
|
|
@@ -1450,6 +1449,7 @@ export declare const PurchaseOrderRFQSchema: Schema<any, import("mongoose").Mode
|
|
|
1450
1449
|
category_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
1451
1450
|
}>;
|
|
1452
1451
|
price: number;
|
|
1452
|
+
createdAt_mins: number;
|
|
1453
1453
|
order_number: number;
|
|
1454
1454
|
iterations: import("mongoose").Types.DocumentArray<{
|
|
1455
1455
|
updatedAt: NativeDate;
|
|
@@ -9,7 +9,6 @@ export declare const PurchaseOrderVendorReturnsSchema: Schema<any, import("mongo
|
|
|
9
9
|
updatedAt: NativeDate;
|
|
10
10
|
} & {
|
|
11
11
|
_id: import("mongoose").Types.ObjectId;
|
|
12
|
-
createdAt_mins: number;
|
|
13
12
|
createdAt: NativeDate;
|
|
14
13
|
updatedAt: NativeDate;
|
|
15
14
|
items: import("mongoose").Types.DocumentArray<{
|
|
@@ -40,6 +39,7 @@ export declare const PurchaseOrderVendorReturnsSchema: Schema<any, import("mongo
|
|
|
40
39
|
ordered_quantity: number;
|
|
41
40
|
reason?: string | null | undefined;
|
|
42
41
|
}>;
|
|
42
|
+
createdAt_mins: number;
|
|
43
43
|
warehouse_id: string;
|
|
44
44
|
vendor_name: string;
|
|
45
45
|
vendor_id: import("mongoose").Types.ObjectId;
|
|
@@ -83,7 +83,6 @@ export declare const PurchaseOrderVendorReturnsSchema: Schema<any, import("mongo
|
|
|
83
83
|
updatedAt: NativeDate;
|
|
84
84
|
} & {
|
|
85
85
|
_id: import("mongoose").Types.ObjectId;
|
|
86
|
-
createdAt_mins: number;
|
|
87
86
|
createdAt: NativeDate;
|
|
88
87
|
updatedAt: NativeDate;
|
|
89
88
|
items: import("mongoose").Types.DocumentArray<{
|
|
@@ -114,6 +113,7 @@ export declare const PurchaseOrderVendorReturnsSchema: Schema<any, import("mongo
|
|
|
114
113
|
ordered_quantity: number;
|
|
115
114
|
reason?: string | null | undefined;
|
|
116
115
|
}>;
|
|
116
|
+
createdAt_mins: number;
|
|
117
117
|
warehouse_id: string;
|
|
118
118
|
vendor_name: string;
|
|
119
119
|
vendor_id: import("mongoose").Types.ObjectId;
|
|
@@ -157,7 +157,6 @@ export declare const PurchaseOrderVendorReturnsSchema: Schema<any, import("mongo
|
|
|
157
157
|
updatedAt: NativeDate;
|
|
158
158
|
} & {
|
|
159
159
|
_id: import("mongoose").Types.ObjectId;
|
|
160
|
-
createdAt_mins: number;
|
|
161
160
|
createdAt: NativeDate;
|
|
162
161
|
updatedAt: NativeDate;
|
|
163
162
|
items: import("mongoose").Types.DocumentArray<{
|
|
@@ -188,6 +187,7 @@ export declare const PurchaseOrderVendorReturnsSchema: Schema<any, import("mongo
|
|
|
188
187
|
ordered_quantity: number;
|
|
189
188
|
reason?: string | null | undefined;
|
|
190
189
|
}>;
|
|
190
|
+
createdAt_mins: number;
|
|
191
191
|
warehouse_id: string;
|
|
192
192
|
vendor_name: string;
|
|
193
193
|
vendor_id: import("mongoose").Types.ObjectId;
|