@managesome/eposmatic-toolkit 0.4.13 → 0.4.15
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/schemas/models/index.js +0 -1
- package/esm/schemas/types/index.js +0 -1
- 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 +0 -1
- package/lib/schemas/models/index.js +0 -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_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 +0 -1
- package/lib/schemas/types/index.js +0 -1
- package/package.json +1 -1
|
@@ -16,9 +16,9 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
16
16
|
localSemester: number;
|
|
17
17
|
localYear: number;
|
|
18
18
|
_id: import("mongoose").Types.ObjectId;
|
|
19
|
-
tenant_id: string;
|
|
20
19
|
createdAt: NativeDate;
|
|
21
20
|
updatedAt: NativeDate;
|
|
21
|
+
tenant_id: string;
|
|
22
22
|
status: import("../../constants").POS_DAY_STATUS_ENUM;
|
|
23
23
|
localDay: number;
|
|
24
24
|
day_index: import("../../constants").DAY_INDEX_ENUM;
|
|
@@ -27,36 +27,36 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
27
27
|
localTime: string;
|
|
28
28
|
localDayOfYear: number;
|
|
29
29
|
opening: {
|
|
30
|
+
note: string;
|
|
30
31
|
staff_id: string;
|
|
31
32
|
staff_name: string;
|
|
32
|
-
note: string;
|
|
33
33
|
cash_amount: number;
|
|
34
34
|
opened_at: NativeDate;
|
|
35
35
|
};
|
|
36
36
|
closing: {
|
|
37
|
+
note: string;
|
|
37
38
|
staff_id: string;
|
|
38
39
|
staff_name: string;
|
|
39
|
-
note: string;
|
|
40
40
|
cash_amount: number;
|
|
41
41
|
expected_cash_amount: number;
|
|
42
42
|
difference: number;
|
|
43
43
|
closed_at: NativeDate;
|
|
44
44
|
};
|
|
45
45
|
reopened_iterations: import("mongoose").Types.DocumentArray<{
|
|
46
|
+
updatedAt: NativeDate;
|
|
46
47
|
staff_id: string;
|
|
47
48
|
staff_name: string;
|
|
48
|
-
updatedAt: NativeDate;
|
|
49
49
|
opening: {
|
|
50
|
+
note: string;
|
|
50
51
|
staff_id: string;
|
|
51
52
|
staff_name: string;
|
|
52
|
-
note: string;
|
|
53
53
|
cash_amount: number;
|
|
54
54
|
opened_at: NativeDate;
|
|
55
55
|
};
|
|
56
56
|
closing: {
|
|
57
|
+
note: string;
|
|
57
58
|
staff_id: string;
|
|
58
59
|
staff_name: string;
|
|
59
|
-
note: string;
|
|
60
60
|
cash_amount: number;
|
|
61
61
|
expected_cash_amount: number;
|
|
62
62
|
difference: number;
|
|
@@ -66,20 +66,20 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
66
66
|
reopened_at: NativeDate;
|
|
67
67
|
total_shifts: number;
|
|
68
68
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
69
|
+
updatedAt: NativeDate;
|
|
69
70
|
staff_id: string;
|
|
70
71
|
staff_name: string;
|
|
71
|
-
updatedAt: NativeDate;
|
|
72
72
|
opening: {
|
|
73
|
+
note: string;
|
|
73
74
|
staff_id: string;
|
|
74
75
|
staff_name: string;
|
|
75
|
-
note: string;
|
|
76
76
|
cash_amount: number;
|
|
77
77
|
opened_at: NativeDate;
|
|
78
78
|
};
|
|
79
79
|
closing: {
|
|
80
|
+
note: string;
|
|
80
81
|
staff_id: string;
|
|
81
82
|
staff_name: string;
|
|
82
|
-
note: string;
|
|
83
83
|
cash_amount: number;
|
|
84
84
|
expected_cash_amount: number;
|
|
85
85
|
difference: number;
|
|
@@ -89,20 +89,20 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
89
89
|
reopened_at: NativeDate;
|
|
90
90
|
total_shifts: number;
|
|
91
91
|
}> & {
|
|
92
|
+
updatedAt: NativeDate;
|
|
92
93
|
staff_id: string;
|
|
93
94
|
staff_name: string;
|
|
94
|
-
updatedAt: NativeDate;
|
|
95
95
|
opening: {
|
|
96
|
+
note: string;
|
|
96
97
|
staff_id: string;
|
|
97
98
|
staff_name: string;
|
|
98
|
-
note: string;
|
|
99
99
|
cash_amount: number;
|
|
100
100
|
opened_at: NativeDate;
|
|
101
101
|
};
|
|
102
102
|
closing: {
|
|
103
|
+
note: string;
|
|
103
104
|
staff_id: string;
|
|
104
105
|
staff_name: string;
|
|
105
|
-
note: string;
|
|
106
106
|
cash_amount: number;
|
|
107
107
|
expected_cash_amount: number;
|
|
108
108
|
difference: number;
|
|
@@ -128,9 +128,9 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
128
128
|
localSemester: number;
|
|
129
129
|
localYear: number;
|
|
130
130
|
_id: import("mongoose").Types.ObjectId;
|
|
131
|
-
tenant_id: string;
|
|
132
131
|
createdAt: NativeDate;
|
|
133
132
|
updatedAt: NativeDate;
|
|
133
|
+
tenant_id: string;
|
|
134
134
|
status: import("../../constants").POS_DAY_STATUS_ENUM;
|
|
135
135
|
localDay: number;
|
|
136
136
|
day_index: import("../../constants").DAY_INDEX_ENUM;
|
|
@@ -139,36 +139,36 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
139
139
|
localTime: string;
|
|
140
140
|
localDayOfYear: number;
|
|
141
141
|
opening: {
|
|
142
|
+
note: string;
|
|
142
143
|
staff_id: string;
|
|
143
144
|
staff_name: string;
|
|
144
|
-
note: string;
|
|
145
145
|
cash_amount: number;
|
|
146
146
|
opened_at: NativeDate;
|
|
147
147
|
};
|
|
148
148
|
closing: {
|
|
149
|
+
note: string;
|
|
149
150
|
staff_id: string;
|
|
150
151
|
staff_name: string;
|
|
151
|
-
note: string;
|
|
152
152
|
cash_amount: number;
|
|
153
153
|
expected_cash_amount: number;
|
|
154
154
|
difference: number;
|
|
155
155
|
closed_at: NativeDate;
|
|
156
156
|
};
|
|
157
157
|
reopened_iterations: import("mongoose").Types.DocumentArray<{
|
|
158
|
+
updatedAt: NativeDate;
|
|
158
159
|
staff_id: string;
|
|
159
160
|
staff_name: string;
|
|
160
|
-
updatedAt: NativeDate;
|
|
161
161
|
opening: {
|
|
162
|
+
note: string;
|
|
162
163
|
staff_id: string;
|
|
163
164
|
staff_name: string;
|
|
164
|
-
note: string;
|
|
165
165
|
cash_amount: number;
|
|
166
166
|
opened_at: NativeDate;
|
|
167
167
|
};
|
|
168
168
|
closing: {
|
|
169
|
+
note: string;
|
|
169
170
|
staff_id: string;
|
|
170
171
|
staff_name: string;
|
|
171
|
-
note: string;
|
|
172
172
|
cash_amount: number;
|
|
173
173
|
expected_cash_amount: number;
|
|
174
174
|
difference: number;
|
|
@@ -178,20 +178,20 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
178
178
|
reopened_at: NativeDate;
|
|
179
179
|
total_shifts: number;
|
|
180
180
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
181
|
+
updatedAt: NativeDate;
|
|
181
182
|
staff_id: string;
|
|
182
183
|
staff_name: string;
|
|
183
|
-
updatedAt: NativeDate;
|
|
184
184
|
opening: {
|
|
185
|
+
note: string;
|
|
185
186
|
staff_id: string;
|
|
186
187
|
staff_name: string;
|
|
187
|
-
note: string;
|
|
188
188
|
cash_amount: number;
|
|
189
189
|
opened_at: NativeDate;
|
|
190
190
|
};
|
|
191
191
|
closing: {
|
|
192
|
+
note: string;
|
|
192
193
|
staff_id: string;
|
|
193
194
|
staff_name: string;
|
|
194
|
-
note: string;
|
|
195
195
|
cash_amount: number;
|
|
196
196
|
expected_cash_amount: number;
|
|
197
197
|
difference: number;
|
|
@@ -201,20 +201,20 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
201
201
|
reopened_at: NativeDate;
|
|
202
202
|
total_shifts: number;
|
|
203
203
|
}> & {
|
|
204
|
+
updatedAt: NativeDate;
|
|
204
205
|
staff_id: string;
|
|
205
206
|
staff_name: string;
|
|
206
|
-
updatedAt: NativeDate;
|
|
207
207
|
opening: {
|
|
208
|
+
note: string;
|
|
208
209
|
staff_id: string;
|
|
209
210
|
staff_name: string;
|
|
210
|
-
note: string;
|
|
211
211
|
cash_amount: number;
|
|
212
212
|
opened_at: NativeDate;
|
|
213
213
|
};
|
|
214
214
|
closing: {
|
|
215
|
+
note: string;
|
|
215
216
|
staff_id: string;
|
|
216
217
|
staff_name: string;
|
|
217
|
-
note: string;
|
|
218
218
|
cash_amount: number;
|
|
219
219
|
expected_cash_amount: number;
|
|
220
220
|
difference: number;
|
|
@@ -240,9 +240,9 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
240
240
|
localSemester: number;
|
|
241
241
|
localYear: number;
|
|
242
242
|
_id: import("mongoose").Types.ObjectId;
|
|
243
|
-
tenant_id: string;
|
|
244
243
|
createdAt: NativeDate;
|
|
245
244
|
updatedAt: NativeDate;
|
|
245
|
+
tenant_id: string;
|
|
246
246
|
status: import("../../constants").POS_DAY_STATUS_ENUM;
|
|
247
247
|
localDay: number;
|
|
248
248
|
day_index: import("../../constants").DAY_INDEX_ENUM;
|
|
@@ -251,36 +251,36 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
251
251
|
localTime: string;
|
|
252
252
|
localDayOfYear: number;
|
|
253
253
|
opening: {
|
|
254
|
+
note: string;
|
|
254
255
|
staff_id: string;
|
|
255
256
|
staff_name: string;
|
|
256
|
-
note: string;
|
|
257
257
|
cash_amount: number;
|
|
258
258
|
opened_at: NativeDate;
|
|
259
259
|
};
|
|
260
260
|
closing: {
|
|
261
|
+
note: string;
|
|
261
262
|
staff_id: string;
|
|
262
263
|
staff_name: string;
|
|
263
|
-
note: string;
|
|
264
264
|
cash_amount: number;
|
|
265
265
|
expected_cash_amount: number;
|
|
266
266
|
difference: number;
|
|
267
267
|
closed_at: NativeDate;
|
|
268
268
|
};
|
|
269
269
|
reopened_iterations: import("mongoose").Types.DocumentArray<{
|
|
270
|
+
updatedAt: NativeDate;
|
|
270
271
|
staff_id: string;
|
|
271
272
|
staff_name: string;
|
|
272
|
-
updatedAt: NativeDate;
|
|
273
273
|
opening: {
|
|
274
|
+
note: string;
|
|
274
275
|
staff_id: string;
|
|
275
276
|
staff_name: string;
|
|
276
|
-
note: string;
|
|
277
277
|
cash_amount: number;
|
|
278
278
|
opened_at: NativeDate;
|
|
279
279
|
};
|
|
280
280
|
closing: {
|
|
281
|
+
note: string;
|
|
281
282
|
staff_id: string;
|
|
282
283
|
staff_name: string;
|
|
283
|
-
note: string;
|
|
284
284
|
cash_amount: number;
|
|
285
285
|
expected_cash_amount: number;
|
|
286
286
|
difference: number;
|
|
@@ -290,20 +290,20 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
290
290
|
reopened_at: NativeDate;
|
|
291
291
|
total_shifts: number;
|
|
292
292
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
293
|
+
updatedAt: NativeDate;
|
|
293
294
|
staff_id: string;
|
|
294
295
|
staff_name: string;
|
|
295
|
-
updatedAt: NativeDate;
|
|
296
296
|
opening: {
|
|
297
|
+
note: string;
|
|
297
298
|
staff_id: string;
|
|
298
299
|
staff_name: string;
|
|
299
|
-
note: string;
|
|
300
300
|
cash_amount: number;
|
|
301
301
|
opened_at: NativeDate;
|
|
302
302
|
};
|
|
303
303
|
closing: {
|
|
304
|
+
note: string;
|
|
304
305
|
staff_id: string;
|
|
305
306
|
staff_name: string;
|
|
306
|
-
note: string;
|
|
307
307
|
cash_amount: number;
|
|
308
308
|
expected_cash_amount: number;
|
|
309
309
|
difference: number;
|
|
@@ -313,20 +313,20 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
313
313
|
reopened_at: NativeDate;
|
|
314
314
|
total_shifts: number;
|
|
315
315
|
}> & {
|
|
316
|
+
updatedAt: NativeDate;
|
|
316
317
|
staff_id: string;
|
|
317
318
|
staff_name: string;
|
|
318
|
-
updatedAt: NativeDate;
|
|
319
319
|
opening: {
|
|
320
|
+
note: string;
|
|
320
321
|
staff_id: string;
|
|
321
322
|
staff_name: string;
|
|
322
|
-
note: string;
|
|
323
323
|
cash_amount: number;
|
|
324
324
|
opened_at: NativeDate;
|
|
325
325
|
};
|
|
326
326
|
closing: {
|
|
327
|
+
note: string;
|
|
327
328
|
staff_id: string;
|
|
328
329
|
staff_name: string;
|
|
329
|
-
note: string;
|
|
330
330
|
cash_amount: number;
|
|
331
331
|
expected_cash_amount: number;
|
|
332
332
|
difference: number;
|
|
@@ -9,9 +9,9 @@ export declare const TenantHrAttendanceRecordSchema: Schema<any, import("mongoos
|
|
|
9
9
|
updatedAt: NativeDate;
|
|
10
10
|
} & {
|
|
11
11
|
_id: import("mongoose").Types.ObjectId;
|
|
12
|
-
tenant_id: string;
|
|
13
12
|
createdAt: NativeDate;
|
|
14
13
|
updatedAt: NativeDate;
|
|
14
|
+
tenant_id: string;
|
|
15
15
|
status: HR_ATTENDANCE_STATUS_ENUM;
|
|
16
16
|
notes: string;
|
|
17
17
|
employee_id: string;
|
|
@@ -36,9 +36,9 @@ export declare const TenantHrAttendanceRecordSchema: Schema<any, import("mongoos
|
|
|
36
36
|
updatedAt: NativeDate;
|
|
37
37
|
} & {
|
|
38
38
|
_id: import("mongoose").Types.ObjectId;
|
|
39
|
-
tenant_id: string;
|
|
40
39
|
createdAt: NativeDate;
|
|
41
40
|
updatedAt: NativeDate;
|
|
41
|
+
tenant_id: string;
|
|
42
42
|
status: HR_ATTENDANCE_STATUS_ENUM;
|
|
43
43
|
notes: string;
|
|
44
44
|
employee_id: string;
|
|
@@ -63,9 +63,9 @@ export declare const TenantHrAttendanceRecordSchema: Schema<any, import("mongoos
|
|
|
63
63
|
updatedAt: NativeDate;
|
|
64
64
|
} & {
|
|
65
65
|
_id: import("mongoose").Types.ObjectId;
|
|
66
|
-
tenant_id: string;
|
|
67
66
|
createdAt: NativeDate;
|
|
68
67
|
updatedAt: NativeDate;
|
|
68
|
+
tenant_id: string;
|
|
69
69
|
status: HR_ATTENDANCE_STATUS_ENUM;
|
|
70
70
|
notes: string;
|
|
71
71
|
employee_id: string;
|
|
@@ -9,9 +9,9 @@ export declare const TenantHrBiometricEnrollmentSchema: Schema<any, import("mong
|
|
|
9
9
|
} & {
|
|
10
10
|
_id: import("mongoose").Types.ObjectId;
|
|
11
11
|
type: import("../../constants").HR_BIOMETRIC_ENROLLMENT_TYPE_ENUM;
|
|
12
|
-
tenant_id: string;
|
|
13
12
|
createdAt: NativeDate;
|
|
14
13
|
updatedAt: NativeDate;
|
|
14
|
+
tenant_id: string;
|
|
15
15
|
label: string;
|
|
16
16
|
employee_id: string;
|
|
17
17
|
credential_id: string;
|
|
@@ -25,9 +25,9 @@ export declare const TenantHrBiometricEnrollmentSchema: Schema<any, import("mong
|
|
|
25
25
|
} & {
|
|
26
26
|
_id: import("mongoose").Types.ObjectId;
|
|
27
27
|
type: import("../../constants").HR_BIOMETRIC_ENROLLMENT_TYPE_ENUM;
|
|
28
|
-
tenant_id: string;
|
|
29
28
|
createdAt: NativeDate;
|
|
30
29
|
updatedAt: NativeDate;
|
|
30
|
+
tenant_id: string;
|
|
31
31
|
label: string;
|
|
32
32
|
employee_id: string;
|
|
33
33
|
credential_id: string;
|
|
@@ -41,9 +41,9 @@ export declare const TenantHrBiometricEnrollmentSchema: Schema<any, import("mong
|
|
|
41
41
|
} & {
|
|
42
42
|
_id: import("mongoose").Types.ObjectId;
|
|
43
43
|
type: import("../../constants").HR_BIOMETRIC_ENROLLMENT_TYPE_ENUM;
|
|
44
|
-
tenant_id: string;
|
|
45
44
|
createdAt: NativeDate;
|
|
46
45
|
updatedAt: NativeDate;
|
|
46
|
+
tenant_id: string;
|
|
47
47
|
label: string;
|
|
48
48
|
employee_id: string;
|
|
49
49
|
credential_id: string;
|
|
@@ -9,10 +9,10 @@ export declare const TenantHrDepartmentSchema: Schema<any, import("mongoose").Mo
|
|
|
9
9
|
} & {
|
|
10
10
|
_id: import("mongoose").Types.ObjectId;
|
|
11
11
|
name: string;
|
|
12
|
-
tenant_id: string;
|
|
13
12
|
createdAt: NativeDate;
|
|
14
13
|
updatedAt: NativeDate;
|
|
15
14
|
description: string;
|
|
15
|
+
tenant_id: string;
|
|
16
16
|
is_active: boolean;
|
|
17
17
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
18
18
|
createdAt: NativeDate;
|
|
@@ -20,10 +20,10 @@ export declare const TenantHrDepartmentSchema: Schema<any, import("mongoose").Mo
|
|
|
20
20
|
} & {
|
|
21
21
|
_id: import("mongoose").Types.ObjectId;
|
|
22
22
|
name: string;
|
|
23
|
-
tenant_id: string;
|
|
24
23
|
createdAt: NativeDate;
|
|
25
24
|
updatedAt: NativeDate;
|
|
26
25
|
description: string;
|
|
26
|
+
tenant_id: string;
|
|
27
27
|
is_active: boolean;
|
|
28
28
|
}>> & import("mongoose").FlatRecord<{
|
|
29
29
|
createdAt: NativeDate;
|
|
@@ -31,10 +31,10 @@ export declare const TenantHrDepartmentSchema: Schema<any, import("mongoose").Mo
|
|
|
31
31
|
} & {
|
|
32
32
|
_id: import("mongoose").Types.ObjectId;
|
|
33
33
|
name: string;
|
|
34
|
-
tenant_id: string;
|
|
35
34
|
createdAt: NativeDate;
|
|
36
35
|
updatedAt: NativeDate;
|
|
37
36
|
description: string;
|
|
37
|
+
tenant_id: string;
|
|
38
38
|
is_active: boolean;
|
|
39
39
|
}> & Required<{
|
|
40
40
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -9,10 +9,10 @@ export declare const TenantHrDocumentSchema: Schema<any, import("mongoose").Mode
|
|
|
9
9
|
updatedAt: NativeDate;
|
|
10
10
|
} & {
|
|
11
11
|
_id: import("mongoose").Types.ObjectId;
|
|
12
|
-
tenant_id: string;
|
|
13
12
|
createdAt: NativeDate;
|
|
14
13
|
updatedAt: NativeDate;
|
|
15
14
|
description: string;
|
|
15
|
+
tenant_id: string;
|
|
16
16
|
employee_id: string;
|
|
17
17
|
document_type: HR_DOCUMENT_TYPE_ENUM;
|
|
18
18
|
document_name: string;
|
|
@@ -26,10 +26,10 @@ export declare const TenantHrDocumentSchema: Schema<any, import("mongoose").Mode
|
|
|
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;
|
|
32
31
|
description: string;
|
|
32
|
+
tenant_id: string;
|
|
33
33
|
employee_id: string;
|
|
34
34
|
document_type: HR_DOCUMENT_TYPE_ENUM;
|
|
35
35
|
document_name: string;
|
|
@@ -43,10 +43,10 @@ export declare const TenantHrDocumentSchema: Schema<any, import("mongoose").Mode
|
|
|
43
43
|
updatedAt: NativeDate;
|
|
44
44
|
} & {
|
|
45
45
|
_id: import("mongoose").Types.ObjectId;
|
|
46
|
-
tenant_id: string;
|
|
47
46
|
createdAt: NativeDate;
|
|
48
47
|
updatedAt: NativeDate;
|
|
49
48
|
description: string;
|
|
49
|
+
tenant_id: string;
|
|
50
50
|
employee_id: string;
|
|
51
51
|
document_type: HR_DOCUMENT_TYPE_ENUM;
|
|
52
52
|
document_name: string;
|
|
@@ -9,10 +9,10 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
9
9
|
updatedAt: NativeDate;
|
|
10
10
|
} & {
|
|
11
11
|
_id: import("mongoose").Types.ObjectId;
|
|
12
|
-
|
|
12
|
+
image_url: string;
|
|
13
13
|
createdAt: NativeDate;
|
|
14
14
|
updatedAt: NativeDate;
|
|
15
|
-
|
|
15
|
+
tenant_id: string;
|
|
16
16
|
phone_number: string;
|
|
17
17
|
uid: string;
|
|
18
18
|
display_name: string;
|
|
@@ -53,7 +53,7 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
53
53
|
end_date: NativeDate;
|
|
54
54
|
is_discount_percentage: boolean;
|
|
55
55
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
56
|
-
|
|
56
|
+
price?: {
|
|
57
57
|
"POS_WALK-IN": number;
|
|
58
58
|
"POS_TAKE-AWAY": number;
|
|
59
59
|
POS_DELIVERY: number;
|
|
@@ -96,7 +96,7 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
96
96
|
KEETA_DELIVERY: number;
|
|
97
97
|
BASE_PRICE: number;
|
|
98
98
|
} | null | undefined;
|
|
99
|
-
|
|
99
|
+
discount_amount?: {
|
|
100
100
|
"POS_WALK-IN": number;
|
|
101
101
|
"POS_TAKE-AWAY": number;
|
|
102
102
|
POS_DELIVERY: number;
|
|
@@ -148,7 +148,7 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
148
148
|
end_date: NativeDate;
|
|
149
149
|
is_discount_percentage: boolean;
|
|
150
150
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
151
|
-
|
|
151
|
+
price?: {
|
|
152
152
|
"POS_WALK-IN": number;
|
|
153
153
|
"POS_TAKE-AWAY": number;
|
|
154
154
|
POS_DELIVERY: number;
|
|
@@ -191,7 +191,7 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
191
191
|
KEETA_DELIVERY: number;
|
|
192
192
|
BASE_PRICE: number;
|
|
193
193
|
} | null | undefined;
|
|
194
|
-
|
|
194
|
+
discount_amount?: {
|
|
195
195
|
"POS_WALK-IN": number;
|
|
196
196
|
"POS_TAKE-AWAY": number;
|
|
197
197
|
POS_DELIVERY: number;
|
|
@@ -243,7 +243,7 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
243
243
|
end_date: NativeDate;
|
|
244
244
|
is_discount_percentage: boolean;
|
|
245
245
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
246
|
-
|
|
246
|
+
price?: {
|
|
247
247
|
"POS_WALK-IN": number;
|
|
248
248
|
"POS_TAKE-AWAY": number;
|
|
249
249
|
POS_DELIVERY: number;
|
|
@@ -286,7 +286,7 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
286
286
|
KEETA_DELIVERY: number;
|
|
287
287
|
BASE_PRICE: number;
|
|
288
288
|
} | null | undefined;
|
|
289
|
-
|
|
289
|
+
discount_amount?: {
|
|
290
290
|
"POS_WALK-IN": number;
|
|
291
291
|
"POS_TAKE-AWAY": number;
|
|
292
292
|
POS_DELIVERY: number;
|
|
@@ -335,10 +335,10 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
335
335
|
updatedAt: NativeDate;
|
|
336
336
|
} & {
|
|
337
337
|
_id: import("mongoose").Types.ObjectId;
|
|
338
|
-
|
|
338
|
+
image_url: string;
|
|
339
339
|
createdAt: NativeDate;
|
|
340
340
|
updatedAt: NativeDate;
|
|
341
|
-
|
|
341
|
+
tenant_id: string;
|
|
342
342
|
phone_number: string;
|
|
343
343
|
uid: string;
|
|
344
344
|
display_name: string;
|
|
@@ -379,7 +379,7 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
379
379
|
end_date: NativeDate;
|
|
380
380
|
is_discount_percentage: boolean;
|
|
381
381
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
382
|
-
|
|
382
|
+
price?: {
|
|
383
383
|
"POS_WALK-IN": number;
|
|
384
384
|
"POS_TAKE-AWAY": number;
|
|
385
385
|
POS_DELIVERY: number;
|
|
@@ -422,7 +422,7 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
422
422
|
KEETA_DELIVERY: number;
|
|
423
423
|
BASE_PRICE: number;
|
|
424
424
|
} | null | undefined;
|
|
425
|
-
|
|
425
|
+
discount_amount?: {
|
|
426
426
|
"POS_WALK-IN": number;
|
|
427
427
|
"POS_TAKE-AWAY": number;
|
|
428
428
|
POS_DELIVERY: number;
|
|
@@ -474,7 +474,7 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
474
474
|
end_date: NativeDate;
|
|
475
475
|
is_discount_percentage: boolean;
|
|
476
476
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
477
|
-
|
|
477
|
+
price?: {
|
|
478
478
|
"POS_WALK-IN": number;
|
|
479
479
|
"POS_TAKE-AWAY": number;
|
|
480
480
|
POS_DELIVERY: number;
|
|
@@ -517,7 +517,7 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
517
517
|
KEETA_DELIVERY: number;
|
|
518
518
|
BASE_PRICE: number;
|
|
519
519
|
} | null | undefined;
|
|
520
|
-
|
|
520
|
+
discount_amount?: {
|
|
521
521
|
"POS_WALK-IN": number;
|
|
522
522
|
"POS_TAKE-AWAY": number;
|
|
523
523
|
POS_DELIVERY: number;
|
|
@@ -569,7 +569,7 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
569
569
|
end_date: NativeDate;
|
|
570
570
|
is_discount_percentage: boolean;
|
|
571
571
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
572
|
-
|
|
572
|
+
price?: {
|
|
573
573
|
"POS_WALK-IN": number;
|
|
574
574
|
"POS_TAKE-AWAY": number;
|
|
575
575
|
POS_DELIVERY: number;
|
|
@@ -612,7 +612,7 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
612
612
|
KEETA_DELIVERY: number;
|
|
613
613
|
BASE_PRICE: number;
|
|
614
614
|
} | null | undefined;
|
|
615
|
-
|
|
615
|
+
discount_amount?: {
|
|
616
616
|
"POS_WALK-IN": number;
|
|
617
617
|
"POS_TAKE-AWAY": number;
|
|
618
618
|
POS_DELIVERY: number;
|
|
@@ -661,10 +661,10 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
661
661
|
updatedAt: NativeDate;
|
|
662
662
|
} & {
|
|
663
663
|
_id: import("mongoose").Types.ObjectId;
|
|
664
|
-
|
|
664
|
+
image_url: string;
|
|
665
665
|
createdAt: NativeDate;
|
|
666
666
|
updatedAt: NativeDate;
|
|
667
|
-
|
|
667
|
+
tenant_id: string;
|
|
668
668
|
phone_number: string;
|
|
669
669
|
uid: string;
|
|
670
670
|
display_name: string;
|
|
@@ -705,7 +705,7 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
705
705
|
end_date: NativeDate;
|
|
706
706
|
is_discount_percentage: boolean;
|
|
707
707
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
708
|
-
|
|
708
|
+
price?: {
|
|
709
709
|
"POS_WALK-IN": number;
|
|
710
710
|
"POS_TAKE-AWAY": number;
|
|
711
711
|
POS_DELIVERY: number;
|
|
@@ -748,7 +748,7 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
748
748
|
KEETA_DELIVERY: number;
|
|
749
749
|
BASE_PRICE: number;
|
|
750
750
|
} | null | undefined;
|
|
751
|
-
|
|
751
|
+
discount_amount?: {
|
|
752
752
|
"POS_WALK-IN": number;
|
|
753
753
|
"POS_TAKE-AWAY": number;
|
|
754
754
|
POS_DELIVERY: number;
|
|
@@ -800,7 +800,7 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
800
800
|
end_date: NativeDate;
|
|
801
801
|
is_discount_percentage: boolean;
|
|
802
802
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
803
|
-
|
|
803
|
+
price?: {
|
|
804
804
|
"POS_WALK-IN": number;
|
|
805
805
|
"POS_TAKE-AWAY": number;
|
|
806
806
|
POS_DELIVERY: number;
|
|
@@ -843,7 +843,7 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
843
843
|
KEETA_DELIVERY: number;
|
|
844
844
|
BASE_PRICE: number;
|
|
845
845
|
} | null | undefined;
|
|
846
|
-
|
|
846
|
+
discount_amount?: {
|
|
847
847
|
"POS_WALK-IN": number;
|
|
848
848
|
"POS_TAKE-AWAY": number;
|
|
849
849
|
POS_DELIVERY: number;
|
|
@@ -895,7 +895,7 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
895
895
|
end_date: NativeDate;
|
|
896
896
|
is_discount_percentage: boolean;
|
|
897
897
|
excluded_platforms: import("../../constants").PLATFORMS_ENUM[];
|
|
898
|
-
|
|
898
|
+
price?: {
|
|
899
899
|
"POS_WALK-IN": number;
|
|
900
900
|
"POS_TAKE-AWAY": number;
|
|
901
901
|
POS_DELIVERY: number;
|
|
@@ -938,7 +938,7 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
|
|
|
938
938
|
KEETA_DELIVERY: number;
|
|
939
939
|
BASE_PRICE: number;
|
|
940
940
|
} | null | undefined;
|
|
941
|
-
|
|
941
|
+
discount_amount?: {
|
|
942
942
|
"POS_WALK-IN": number;
|
|
943
943
|
"POS_TAKE-AWAY": number;
|
|
944
944
|
POS_DELIVERY: number;
|
|
@@ -9,13 +9,13 @@ export declare const TenantHrLeaveRequestSchema: Schema<any, import("mongoose").
|
|
|
9
9
|
updatedAt: NativeDate;
|
|
10
10
|
} & {
|
|
11
11
|
_id: import("mongoose").Types.ObjectId;
|
|
12
|
-
tenant_id: string;
|
|
13
|
-
reason: string;
|
|
14
12
|
createdAt: NativeDate;
|
|
15
13
|
updatedAt: NativeDate;
|
|
16
14
|
start_date: NativeDate;
|
|
17
15
|
end_date: NativeDate;
|
|
16
|
+
tenant_id: string;
|
|
18
17
|
status: HR_LEAVE_STATUS_ENUM;
|
|
18
|
+
reason: string;
|
|
19
19
|
employee_id: string;
|
|
20
20
|
leave_type: import("../../constants").HR_LEAVE_TYPE_ENUM;
|
|
21
21
|
is_half_day: boolean;
|
|
@@ -28,13 +28,13 @@ export declare const TenantHrLeaveRequestSchema: Schema<any, import("mongoose").
|
|
|
28
28
|
updatedAt: NativeDate;
|
|
29
29
|
} & {
|
|
30
30
|
_id: import("mongoose").Types.ObjectId;
|
|
31
|
-
tenant_id: string;
|
|
32
|
-
reason: string;
|
|
33
31
|
createdAt: NativeDate;
|
|
34
32
|
updatedAt: NativeDate;
|
|
35
33
|
start_date: NativeDate;
|
|
36
34
|
end_date: NativeDate;
|
|
35
|
+
tenant_id: string;
|
|
37
36
|
status: HR_LEAVE_STATUS_ENUM;
|
|
37
|
+
reason: string;
|
|
38
38
|
employee_id: string;
|
|
39
39
|
leave_type: import("../../constants").HR_LEAVE_TYPE_ENUM;
|
|
40
40
|
is_half_day: boolean;
|
|
@@ -47,13 +47,13 @@ export declare const TenantHrLeaveRequestSchema: Schema<any, import("mongoose").
|
|
|
47
47
|
updatedAt: NativeDate;
|
|
48
48
|
} & {
|
|
49
49
|
_id: import("mongoose").Types.ObjectId;
|
|
50
|
-
tenant_id: string;
|
|
51
|
-
reason: string;
|
|
52
50
|
createdAt: NativeDate;
|
|
53
51
|
updatedAt: NativeDate;
|
|
54
52
|
start_date: NativeDate;
|
|
55
53
|
end_date: NativeDate;
|
|
54
|
+
tenant_id: string;
|
|
56
55
|
status: HR_LEAVE_STATUS_ENUM;
|
|
56
|
+
reason: string;
|
|
57
57
|
employee_id: string;
|
|
58
58
|
leave_type: import("../../constants").HR_LEAVE_TYPE_ENUM;
|
|
59
59
|
is_half_day: boolean;
|