@managesome/eposmatic-toolkit 0.2.770 → 0.2.772

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.
Files changed (59) hide show
  1. package/lib/helpers/utils/receipt-engine.d.ts +7 -1
  2. package/lib/helpers/utils/receipt-engine.js +38 -33
  3. package/lib/tests/receipt-engine.test.js +86 -21
  4. package/package.json +1 -1
  5. package/lib/constants/MATERIALIZED_REPORTS.d.ts +0 -44
  6. package/lib/constants/MATERIALIZED_REPORTS.js +0 -58
  7. package/lib/constants/WAREHOUSE_INVOICE.d.ts +0 -14
  8. package/lib/constants/WAREHOUSE_INVOICE.js +0 -35
  9. package/lib/helpers/offer/generate-offer.d.ts +0 -11
  10. package/lib/helpers/offer/generate-offer.js +0 -143
  11. package/lib/helpers/offer/index.d.ts +0 -1
  12. package/lib/helpers/offer/index.js +0 -17
  13. package/lib/helpers/order/generate-warehouse-invoice.d.ts +0 -11
  14. package/lib/helpers/order/generate-warehouse-invoice.js +0 -196
  15. package/lib/helpers/store/all-warehouse-invoice-actions.d.ts +0 -13
  16. package/lib/helpers/store/all-warehouse-invoice-actions.js +0 -58
  17. package/lib/helpers/store/common-warehouse-invoice-actions.d.ts +0 -31
  18. package/lib/helpers/store/common-warehouse-invoice-actions.js +0 -545
  19. package/lib/helpers/store/warehouse-invoice-cart-actions.d.ts +0 -24
  20. package/lib/helpers/store/warehouse-invoice-cart-actions.js +0 -486
  21. package/lib/helpers/types/sockets.d.ts +0 -6
  22. package/lib/helpers/types/sockets.js +0 -2
  23. package/lib/helpers/types/warehouse-invoice-cart-actions.d.ts +0 -26
  24. package/lib/helpers/types/warehouse-invoice-cart-actions.js +0 -2
  25. package/lib/helpers/utils/materialized-report-helpers.d.ts +0 -35
  26. package/lib/helpers/utils/materialized-report-helpers.js +0 -73
  27. package/lib/helpers/utils/void-warehouse-invoice-items-helpers.d.ts +0 -3
  28. package/lib/helpers/utils/void-warehouse-invoice-items-helpers.js +0 -38
  29. package/lib/helpers/utils/void-warehouse-invoice-items-report-helpers.d.ts +0 -13
  30. package/lib/helpers/utils/void-warehouse-invoice-items-report-helpers.js +0 -22
  31. package/lib/helpers/utils/warehouse-invoice-order-engine.d.ts +0 -11
  32. package/lib/helpers/utils/warehouse-invoice-order-engine.js +0 -39
  33. package/lib/helpers/utils/warehouse-invoice-x-report-helpers.d.ts +0 -58
  34. package/lib/helpers/utils/warehouse-invoice-x-report-helpers.js +0 -1432
  35. package/lib/schemas/models/inventory_department_transactions.d.ts +0 -86
  36. package/lib/schemas/models/inventory_department_transactions.js +0 -116
  37. package/lib/schemas/models/inventory_department_utilities.d.ts +0 -108
  38. package/lib/schemas/models/inventory_department_utilities.js +0 -88
  39. package/lib/schemas/models/inventory_departments.d.ts +0 -53
  40. package/lib/schemas/models/inventory_departments.js +0 -58
  41. package/lib/schemas/models/inventory_entries.d.ts +0 -152
  42. package/lib/schemas/models/inventory_entries.js +0 -142
  43. package/lib/schemas/models/materialized_reports.d.ts +0 -277
  44. package/lib/schemas/models/materialized_reports.js +0 -60
  45. package/lib/schemas/models/warehouse_invoices.d.ts +0 -2675
  46. package/lib/schemas/models/warehouse_invoices.js +0 -327
  47. package/lib/schemas/models/warehouse_void_invoice_items.d.ts +0 -176
  48. package/lib/schemas/models/warehouse_void_invoice_items.js +0 -176
  49. package/lib/schemas/types/inventory_entries.d.ts +0 -41
  50. package/lib/schemas/types/inventory_entries.js +0 -2
  51. package/lib/schemas/types/materialized_reports.d.ts +0 -82
  52. package/lib/schemas/types/materialized_reports.js +0 -2
  53. package/lib/schemas/types/warehouse_invoices.d.ts +0 -69
  54. package/lib/schemas/types/warehouse_invoices.js +0 -2
  55. package/lib/schemas/types/warehouse_void_invoice_items.d.ts +0 -37
  56. package/lib/schemas/types/warehouse_void_invoice_items.js +0 -2
  57. package/lib/tests/materialized-report-helpers.test.d.ts +0 -1
  58. package/lib/tests/no-choice-modifier-selection.test.d.ts +0 -1
  59. package/lib/tests/no-choice-modifier-selection.test.js +0 -142
@@ -1,2675 +0,0 @@
1
- import { Schema } from 'mongoose';
2
- export declare const WarehouseClientInvoicesSchema: 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
- _id: import("mongoose").Types.ObjectId;
11
- createdAt_mins: number;
12
- createdAt: NativeDate;
13
- updatedAt: NativeDate;
14
- categories: import("mongoose").Types.DocumentArray<{
15
- name: string;
16
- category_id: import("mongoose").Types.ObjectId;
17
- items: import("mongoose").Types.DocumentArray<{
18
- _id: import("mongoose").Types.ObjectId;
19
- name: string;
20
- price: number;
21
- special_instructions: string;
22
- subtotal: number;
23
- item_id: import("mongoose").Types.ObjectId;
24
- quantity: number;
25
- _net_amount: number;
26
- _gross_amount: number;
27
- _gst_amount: number;
28
- _discount_amount: number;
29
- is_ready?: boolean | null | undefined;
30
- void_reason?: string | null | undefined;
31
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
32
- _id: import("mongoose").Types.ObjectId;
33
- name: string;
34
- price: number;
35
- special_instructions: string;
36
- subtotal: number;
37
- item_id: import("mongoose").Types.ObjectId;
38
- quantity: number;
39
- _net_amount: number;
40
- _gross_amount: number;
41
- _gst_amount: number;
42
- _discount_amount: number;
43
- is_ready?: boolean | null | undefined;
44
- void_reason?: string | null | undefined;
45
- }> & {
46
- _id: import("mongoose").Types.ObjectId;
47
- name: string;
48
- price: number;
49
- special_instructions: string;
50
- subtotal: number;
51
- item_id: import("mongoose").Types.ObjectId;
52
- quantity: number;
53
- _net_amount: number;
54
- _gross_amount: number;
55
- _gst_amount: number;
56
- _discount_amount: number;
57
- is_ready?: boolean | null | undefined;
58
- void_reason?: string | null | undefined;
59
- }>;
60
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
61
- name: string;
62
- category_id: import("mongoose").Types.ObjectId;
63
- items: import("mongoose").Types.DocumentArray<{
64
- _id: import("mongoose").Types.ObjectId;
65
- name: string;
66
- price: number;
67
- special_instructions: string;
68
- subtotal: number;
69
- item_id: import("mongoose").Types.ObjectId;
70
- quantity: number;
71
- _net_amount: number;
72
- _gross_amount: number;
73
- _gst_amount: number;
74
- _discount_amount: number;
75
- is_ready?: boolean | null | undefined;
76
- void_reason?: string | null | undefined;
77
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
78
- _id: import("mongoose").Types.ObjectId;
79
- name: string;
80
- price: number;
81
- special_instructions: string;
82
- subtotal: number;
83
- item_id: import("mongoose").Types.ObjectId;
84
- quantity: number;
85
- _net_amount: number;
86
- _gross_amount: number;
87
- _gst_amount: number;
88
- _discount_amount: number;
89
- is_ready?: boolean | null | undefined;
90
- void_reason?: string | null | undefined;
91
- }> & {
92
- _id: import("mongoose").Types.ObjectId;
93
- name: string;
94
- price: number;
95
- special_instructions: string;
96
- subtotal: number;
97
- item_id: import("mongoose").Types.ObjectId;
98
- quantity: number;
99
- _net_amount: number;
100
- _gross_amount: number;
101
- _gst_amount: number;
102
- _discount_amount: number;
103
- is_ready?: boolean | null | undefined;
104
- void_reason?: string | null | undefined;
105
- }>;
106
- }> & {
107
- name: string;
108
- category_id: import("mongoose").Types.ObjectId;
109
- items: import("mongoose").Types.DocumentArray<{
110
- _id: import("mongoose").Types.ObjectId;
111
- name: string;
112
- price: number;
113
- special_instructions: string;
114
- subtotal: number;
115
- item_id: import("mongoose").Types.ObjectId;
116
- quantity: number;
117
- _net_amount: number;
118
- _gross_amount: number;
119
- _gst_amount: number;
120
- _discount_amount: number;
121
- is_ready?: boolean | null | undefined;
122
- void_reason?: string | null | undefined;
123
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
124
- _id: import("mongoose").Types.ObjectId;
125
- name: string;
126
- price: number;
127
- special_instructions: string;
128
- subtotal: number;
129
- item_id: import("mongoose").Types.ObjectId;
130
- quantity: number;
131
- _net_amount: number;
132
- _gross_amount: number;
133
- _gst_amount: number;
134
- _discount_amount: number;
135
- is_ready?: boolean | null | undefined;
136
- void_reason?: string | null | undefined;
137
- }> & {
138
- _id: import("mongoose").Types.ObjectId;
139
- name: string;
140
- price: number;
141
- special_instructions: string;
142
- subtotal: number;
143
- item_id: import("mongoose").Types.ObjectId;
144
- quantity: number;
145
- _net_amount: number;
146
- _gross_amount: number;
147
- _gst_amount: number;
148
- _discount_amount: number;
149
- is_ready?: boolean | null | undefined;
150
- void_reason?: string | null | undefined;
151
- }>;
152
- }>;
153
- price: number;
154
- order_number: number;
155
- payments: import("mongoose").Types.DocumentArray<{
156
- payment_type: string;
157
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
158
- card_details: {
159
- transaction_id: string;
160
- payment_provider_linked_customer_id: string;
161
- card_number: string;
162
- card_type: string;
163
- card_holder_name: string;
164
- card_charges: number;
165
- card_country_code: string;
166
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
167
- };
168
- amount_paid: number;
169
- amount_due: number;
170
- amount_refunded: number;
171
- payment_id: string;
172
- _id?: import("mongoose").Types.ObjectId | null | undefined;
173
- refund_reason?: string | null | undefined;
174
- note?: string | null | undefined;
175
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
176
- payment_type: string;
177
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
178
- card_details: {
179
- transaction_id: string;
180
- payment_provider_linked_customer_id: string;
181
- card_number: string;
182
- card_type: string;
183
- card_holder_name: string;
184
- card_charges: number;
185
- card_country_code: string;
186
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
187
- };
188
- amount_paid: number;
189
- amount_due: number;
190
- amount_refunded: number;
191
- payment_id: string;
192
- _id?: import("mongoose").Types.ObjectId | null | undefined;
193
- refund_reason?: string | null | undefined;
194
- note?: string | null | undefined;
195
- }> & {
196
- payment_type: string;
197
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
198
- card_details: {
199
- transaction_id: string;
200
- payment_provider_linked_customer_id: string;
201
- card_number: string;
202
- card_type: string;
203
- card_holder_name: string;
204
- card_charges: number;
205
- card_country_code: string;
206
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
207
- };
208
- amount_paid: number;
209
- amount_due: number;
210
- amount_refunded: number;
211
- payment_id: string;
212
- _id?: import("mongoose").Types.ObjectId | null | undefined;
213
- refund_reason?: string | null | undefined;
214
- note?: string | null | undefined;
215
- }>;
216
- special_instructions: string;
217
- order_status: import("../../constants").WAREHOUSE_INVOICE_STATUS_ENUM;
218
- tax_number: string;
219
- amount_earned: number;
220
- grand_total: number;
221
- iterations: import("mongoose").Types.DocumentArray<{
222
- updatedAt: NativeDate;
223
- categories: import("mongoose").Types.DocumentArray<{
224
- name: string;
225
- category_id: import("mongoose").Types.ObjectId;
226
- items: import("mongoose").Types.DocumentArray<{
227
- _id: import("mongoose").Types.ObjectId;
228
- name: string;
229
- price: number;
230
- special_instructions: string;
231
- subtotal: number;
232
- item_id: import("mongoose").Types.ObjectId;
233
- quantity: number;
234
- _net_amount: number;
235
- _gross_amount: number;
236
- _gst_amount: number;
237
- _discount_amount: number;
238
- is_ready?: boolean | null | undefined;
239
- void_reason?: string | null | undefined;
240
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
241
- _id: import("mongoose").Types.ObjectId;
242
- name: string;
243
- price: number;
244
- special_instructions: string;
245
- subtotal: number;
246
- item_id: import("mongoose").Types.ObjectId;
247
- quantity: number;
248
- _net_amount: number;
249
- _gross_amount: number;
250
- _gst_amount: number;
251
- _discount_amount: number;
252
- is_ready?: boolean | null | undefined;
253
- void_reason?: string | null | undefined;
254
- }> & {
255
- _id: import("mongoose").Types.ObjectId;
256
- name: string;
257
- price: number;
258
- special_instructions: string;
259
- subtotal: number;
260
- item_id: import("mongoose").Types.ObjectId;
261
- quantity: number;
262
- _net_amount: number;
263
- _gross_amount: number;
264
- _gst_amount: number;
265
- _discount_amount: number;
266
- is_ready?: boolean | null | undefined;
267
- void_reason?: string | null | undefined;
268
- }>;
269
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
270
- name: string;
271
- category_id: import("mongoose").Types.ObjectId;
272
- items: import("mongoose").Types.DocumentArray<{
273
- _id: import("mongoose").Types.ObjectId;
274
- name: string;
275
- price: number;
276
- special_instructions: string;
277
- subtotal: number;
278
- item_id: import("mongoose").Types.ObjectId;
279
- quantity: number;
280
- _net_amount: number;
281
- _gross_amount: number;
282
- _gst_amount: number;
283
- _discount_amount: number;
284
- is_ready?: boolean | null | undefined;
285
- void_reason?: string | null | undefined;
286
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
287
- _id: import("mongoose").Types.ObjectId;
288
- name: string;
289
- price: number;
290
- special_instructions: string;
291
- subtotal: number;
292
- item_id: import("mongoose").Types.ObjectId;
293
- quantity: number;
294
- _net_amount: number;
295
- _gross_amount: number;
296
- _gst_amount: number;
297
- _discount_amount: number;
298
- is_ready?: boolean | null | undefined;
299
- void_reason?: string | null | undefined;
300
- }> & {
301
- _id: import("mongoose").Types.ObjectId;
302
- name: string;
303
- price: number;
304
- special_instructions: string;
305
- subtotal: number;
306
- item_id: import("mongoose").Types.ObjectId;
307
- quantity: number;
308
- _net_amount: number;
309
- _gross_amount: number;
310
- _gst_amount: number;
311
- _discount_amount: number;
312
- is_ready?: boolean | null | undefined;
313
- void_reason?: string | null | undefined;
314
- }>;
315
- }> & {
316
- name: string;
317
- category_id: import("mongoose").Types.ObjectId;
318
- items: import("mongoose").Types.DocumentArray<{
319
- _id: import("mongoose").Types.ObjectId;
320
- name: string;
321
- price: number;
322
- special_instructions: string;
323
- subtotal: number;
324
- item_id: import("mongoose").Types.ObjectId;
325
- quantity: number;
326
- _net_amount: number;
327
- _gross_amount: number;
328
- _gst_amount: number;
329
- _discount_amount: number;
330
- is_ready?: boolean | null | undefined;
331
- void_reason?: string | null | undefined;
332
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
333
- _id: import("mongoose").Types.ObjectId;
334
- name: string;
335
- price: number;
336
- special_instructions: string;
337
- subtotal: number;
338
- item_id: import("mongoose").Types.ObjectId;
339
- quantity: number;
340
- _net_amount: number;
341
- _gross_amount: number;
342
- _gst_amount: number;
343
- _discount_amount: number;
344
- is_ready?: boolean | null | undefined;
345
- void_reason?: string | null | undefined;
346
- }> & {
347
- _id: import("mongoose").Types.ObjectId;
348
- name: string;
349
- price: number;
350
- special_instructions: string;
351
- subtotal: number;
352
- item_id: import("mongoose").Types.ObjectId;
353
- quantity: number;
354
- _net_amount: number;
355
- _gross_amount: number;
356
- _gst_amount: number;
357
- _discount_amount: number;
358
- is_ready?: boolean | null | undefined;
359
- void_reason?: string | null | undefined;
360
- }>;
361
- }>;
362
- price: number;
363
- payments: import("mongoose").Types.DocumentArray<{
364
- payment_type: string;
365
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
366
- card_details: {
367
- transaction_id: string;
368
- payment_provider_linked_customer_id: string;
369
- card_number: string;
370
- card_type: string;
371
- card_holder_name: string;
372
- card_charges: number;
373
- card_country_code: string;
374
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
375
- };
376
- amount_paid: number;
377
- amount_due: number;
378
- amount_refunded: number;
379
- payment_id: string;
380
- _id?: import("mongoose").Types.ObjectId | null | undefined;
381
- refund_reason?: string | null | undefined;
382
- note?: string | null | undefined;
383
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
384
- payment_type: string;
385
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
386
- card_details: {
387
- transaction_id: string;
388
- payment_provider_linked_customer_id: string;
389
- card_number: string;
390
- card_type: string;
391
- card_holder_name: string;
392
- card_charges: number;
393
- card_country_code: string;
394
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
395
- };
396
- amount_paid: number;
397
- amount_due: number;
398
- amount_refunded: number;
399
- payment_id: string;
400
- _id?: import("mongoose").Types.ObjectId | null | undefined;
401
- refund_reason?: string | null | undefined;
402
- note?: string | null | undefined;
403
- }> & {
404
- payment_type: string;
405
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
406
- card_details: {
407
- transaction_id: string;
408
- payment_provider_linked_customer_id: string;
409
- card_number: string;
410
- card_type: string;
411
- card_holder_name: string;
412
- card_charges: number;
413
- card_country_code: string;
414
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
415
- };
416
- amount_paid: number;
417
- amount_due: number;
418
- amount_refunded: number;
419
- payment_id: string;
420
- _id?: import("mongoose").Types.ObjectId | null | undefined;
421
- refund_reason?: string | null | undefined;
422
- note?: string | null | undefined;
423
- }>;
424
- special_instructions: string;
425
- order_status: import("../../constants").WAREHOUSE_INVOICE_STATUS_ENUM;
426
- tax_number: string;
427
- amount_earned: number;
428
- grand_total: number;
429
- staff_details?: {
430
- staff_id: string;
431
- staff_name: string;
432
- staff_mobile: string;
433
- staff_email: string;
434
- } | null | undefined;
435
- is_gst_inclusive?: boolean | null | undefined;
436
- gst?: number | null | undefined;
437
- gst_amount?: number | null | undefined;
438
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
439
- updatedAt: NativeDate;
440
- categories: import("mongoose").Types.DocumentArray<{
441
- name: string;
442
- category_id: import("mongoose").Types.ObjectId;
443
- items: import("mongoose").Types.DocumentArray<{
444
- _id: import("mongoose").Types.ObjectId;
445
- name: string;
446
- price: number;
447
- special_instructions: string;
448
- subtotal: number;
449
- item_id: import("mongoose").Types.ObjectId;
450
- quantity: number;
451
- _net_amount: number;
452
- _gross_amount: number;
453
- _gst_amount: number;
454
- _discount_amount: number;
455
- is_ready?: boolean | null | undefined;
456
- void_reason?: string | null | undefined;
457
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
458
- _id: import("mongoose").Types.ObjectId;
459
- name: string;
460
- price: number;
461
- special_instructions: string;
462
- subtotal: number;
463
- item_id: import("mongoose").Types.ObjectId;
464
- quantity: number;
465
- _net_amount: number;
466
- _gross_amount: number;
467
- _gst_amount: number;
468
- _discount_amount: number;
469
- is_ready?: boolean | null | undefined;
470
- void_reason?: string | null | undefined;
471
- }> & {
472
- _id: import("mongoose").Types.ObjectId;
473
- name: string;
474
- price: number;
475
- special_instructions: string;
476
- subtotal: number;
477
- item_id: import("mongoose").Types.ObjectId;
478
- quantity: number;
479
- _net_amount: number;
480
- _gross_amount: number;
481
- _gst_amount: number;
482
- _discount_amount: number;
483
- is_ready?: boolean | null | undefined;
484
- void_reason?: string | null | undefined;
485
- }>;
486
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
487
- name: string;
488
- category_id: import("mongoose").Types.ObjectId;
489
- items: import("mongoose").Types.DocumentArray<{
490
- _id: import("mongoose").Types.ObjectId;
491
- name: string;
492
- price: number;
493
- special_instructions: string;
494
- subtotal: number;
495
- item_id: import("mongoose").Types.ObjectId;
496
- quantity: number;
497
- _net_amount: number;
498
- _gross_amount: number;
499
- _gst_amount: number;
500
- _discount_amount: number;
501
- is_ready?: boolean | null | undefined;
502
- void_reason?: string | null | undefined;
503
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
504
- _id: import("mongoose").Types.ObjectId;
505
- name: string;
506
- price: number;
507
- special_instructions: string;
508
- subtotal: number;
509
- item_id: import("mongoose").Types.ObjectId;
510
- quantity: number;
511
- _net_amount: number;
512
- _gross_amount: number;
513
- _gst_amount: number;
514
- _discount_amount: number;
515
- is_ready?: boolean | null | undefined;
516
- void_reason?: string | null | undefined;
517
- }> & {
518
- _id: import("mongoose").Types.ObjectId;
519
- name: string;
520
- price: number;
521
- special_instructions: string;
522
- subtotal: number;
523
- item_id: import("mongoose").Types.ObjectId;
524
- quantity: number;
525
- _net_amount: number;
526
- _gross_amount: number;
527
- _gst_amount: number;
528
- _discount_amount: number;
529
- is_ready?: boolean | null | undefined;
530
- void_reason?: string | null | undefined;
531
- }>;
532
- }> & {
533
- name: string;
534
- category_id: import("mongoose").Types.ObjectId;
535
- items: import("mongoose").Types.DocumentArray<{
536
- _id: import("mongoose").Types.ObjectId;
537
- name: string;
538
- price: number;
539
- special_instructions: string;
540
- subtotal: number;
541
- item_id: import("mongoose").Types.ObjectId;
542
- quantity: number;
543
- _net_amount: number;
544
- _gross_amount: number;
545
- _gst_amount: number;
546
- _discount_amount: number;
547
- is_ready?: boolean | null | undefined;
548
- void_reason?: string | null | undefined;
549
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
550
- _id: import("mongoose").Types.ObjectId;
551
- name: string;
552
- price: number;
553
- special_instructions: string;
554
- subtotal: number;
555
- item_id: import("mongoose").Types.ObjectId;
556
- quantity: number;
557
- _net_amount: number;
558
- _gross_amount: number;
559
- _gst_amount: number;
560
- _discount_amount: number;
561
- is_ready?: boolean | null | undefined;
562
- void_reason?: string | null | undefined;
563
- }> & {
564
- _id: import("mongoose").Types.ObjectId;
565
- name: string;
566
- price: number;
567
- special_instructions: string;
568
- subtotal: number;
569
- item_id: import("mongoose").Types.ObjectId;
570
- quantity: number;
571
- _net_amount: number;
572
- _gross_amount: number;
573
- _gst_amount: number;
574
- _discount_amount: number;
575
- is_ready?: boolean | null | undefined;
576
- void_reason?: string | null | undefined;
577
- }>;
578
- }>;
579
- price: number;
580
- payments: import("mongoose").Types.DocumentArray<{
581
- payment_type: string;
582
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
583
- card_details: {
584
- transaction_id: string;
585
- payment_provider_linked_customer_id: string;
586
- card_number: string;
587
- card_type: string;
588
- card_holder_name: string;
589
- card_charges: number;
590
- card_country_code: string;
591
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
592
- };
593
- amount_paid: number;
594
- amount_due: number;
595
- amount_refunded: number;
596
- payment_id: string;
597
- _id?: import("mongoose").Types.ObjectId | null | undefined;
598
- refund_reason?: string | null | undefined;
599
- note?: string | null | undefined;
600
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
601
- payment_type: string;
602
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
603
- card_details: {
604
- transaction_id: string;
605
- payment_provider_linked_customer_id: string;
606
- card_number: string;
607
- card_type: string;
608
- card_holder_name: string;
609
- card_charges: number;
610
- card_country_code: string;
611
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
612
- };
613
- amount_paid: number;
614
- amount_due: number;
615
- amount_refunded: number;
616
- payment_id: string;
617
- _id?: import("mongoose").Types.ObjectId | null | undefined;
618
- refund_reason?: string | null | undefined;
619
- note?: string | null | undefined;
620
- }> & {
621
- payment_type: string;
622
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
623
- card_details: {
624
- transaction_id: string;
625
- payment_provider_linked_customer_id: string;
626
- card_number: string;
627
- card_type: string;
628
- card_holder_name: string;
629
- card_charges: number;
630
- card_country_code: string;
631
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
632
- };
633
- amount_paid: number;
634
- amount_due: number;
635
- amount_refunded: number;
636
- payment_id: string;
637
- _id?: import("mongoose").Types.ObjectId | null | undefined;
638
- refund_reason?: string | null | undefined;
639
- note?: string | null | undefined;
640
- }>;
641
- special_instructions: string;
642
- order_status: import("../../constants").WAREHOUSE_INVOICE_STATUS_ENUM;
643
- tax_number: string;
644
- amount_earned: number;
645
- grand_total: number;
646
- staff_details?: {
647
- staff_id: string;
648
- staff_name: string;
649
- staff_mobile: string;
650
- staff_email: string;
651
- } | null | undefined;
652
- is_gst_inclusive?: boolean | null | undefined;
653
- gst?: number | null | undefined;
654
- gst_amount?: number | null | undefined;
655
- }> & {
656
- updatedAt: NativeDate;
657
- categories: import("mongoose").Types.DocumentArray<{
658
- name: string;
659
- category_id: import("mongoose").Types.ObjectId;
660
- items: import("mongoose").Types.DocumentArray<{
661
- _id: import("mongoose").Types.ObjectId;
662
- name: string;
663
- price: number;
664
- special_instructions: string;
665
- subtotal: number;
666
- item_id: import("mongoose").Types.ObjectId;
667
- quantity: number;
668
- _net_amount: number;
669
- _gross_amount: number;
670
- _gst_amount: number;
671
- _discount_amount: number;
672
- is_ready?: boolean | null | undefined;
673
- void_reason?: string | null | undefined;
674
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
675
- _id: import("mongoose").Types.ObjectId;
676
- name: string;
677
- price: number;
678
- special_instructions: string;
679
- subtotal: number;
680
- item_id: import("mongoose").Types.ObjectId;
681
- quantity: number;
682
- _net_amount: number;
683
- _gross_amount: number;
684
- _gst_amount: number;
685
- _discount_amount: number;
686
- is_ready?: boolean | null | undefined;
687
- void_reason?: string | null | undefined;
688
- }> & {
689
- _id: import("mongoose").Types.ObjectId;
690
- name: string;
691
- price: number;
692
- special_instructions: string;
693
- subtotal: number;
694
- item_id: import("mongoose").Types.ObjectId;
695
- quantity: number;
696
- _net_amount: number;
697
- _gross_amount: number;
698
- _gst_amount: number;
699
- _discount_amount: number;
700
- is_ready?: boolean | null | undefined;
701
- void_reason?: string | null | undefined;
702
- }>;
703
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
704
- name: string;
705
- category_id: import("mongoose").Types.ObjectId;
706
- items: import("mongoose").Types.DocumentArray<{
707
- _id: import("mongoose").Types.ObjectId;
708
- name: string;
709
- price: number;
710
- special_instructions: string;
711
- subtotal: number;
712
- item_id: import("mongoose").Types.ObjectId;
713
- quantity: number;
714
- _net_amount: number;
715
- _gross_amount: number;
716
- _gst_amount: number;
717
- _discount_amount: number;
718
- is_ready?: boolean | null | undefined;
719
- void_reason?: string | null | undefined;
720
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
721
- _id: import("mongoose").Types.ObjectId;
722
- name: string;
723
- price: number;
724
- special_instructions: string;
725
- subtotal: number;
726
- item_id: import("mongoose").Types.ObjectId;
727
- quantity: number;
728
- _net_amount: number;
729
- _gross_amount: number;
730
- _gst_amount: number;
731
- _discount_amount: number;
732
- is_ready?: boolean | null | undefined;
733
- void_reason?: string | null | undefined;
734
- }> & {
735
- _id: import("mongoose").Types.ObjectId;
736
- name: string;
737
- price: number;
738
- special_instructions: string;
739
- subtotal: number;
740
- item_id: import("mongoose").Types.ObjectId;
741
- quantity: number;
742
- _net_amount: number;
743
- _gross_amount: number;
744
- _gst_amount: number;
745
- _discount_amount: number;
746
- is_ready?: boolean | null | undefined;
747
- void_reason?: string | null | undefined;
748
- }>;
749
- }> & {
750
- name: string;
751
- category_id: import("mongoose").Types.ObjectId;
752
- items: import("mongoose").Types.DocumentArray<{
753
- _id: import("mongoose").Types.ObjectId;
754
- name: string;
755
- price: number;
756
- special_instructions: string;
757
- subtotal: number;
758
- item_id: import("mongoose").Types.ObjectId;
759
- quantity: number;
760
- _net_amount: number;
761
- _gross_amount: number;
762
- _gst_amount: number;
763
- _discount_amount: number;
764
- is_ready?: boolean | null | undefined;
765
- void_reason?: string | null | undefined;
766
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
767
- _id: import("mongoose").Types.ObjectId;
768
- name: string;
769
- price: number;
770
- special_instructions: string;
771
- subtotal: number;
772
- item_id: import("mongoose").Types.ObjectId;
773
- quantity: number;
774
- _net_amount: number;
775
- _gross_amount: number;
776
- _gst_amount: number;
777
- _discount_amount: number;
778
- is_ready?: boolean | null | undefined;
779
- void_reason?: string | null | undefined;
780
- }> & {
781
- _id: import("mongoose").Types.ObjectId;
782
- name: string;
783
- price: number;
784
- special_instructions: string;
785
- subtotal: number;
786
- item_id: import("mongoose").Types.ObjectId;
787
- quantity: number;
788
- _net_amount: number;
789
- _gross_amount: number;
790
- _gst_amount: number;
791
- _discount_amount: number;
792
- is_ready?: boolean | null | undefined;
793
- void_reason?: string | null | undefined;
794
- }>;
795
- }>;
796
- price: number;
797
- payments: import("mongoose").Types.DocumentArray<{
798
- payment_type: string;
799
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
800
- card_details: {
801
- transaction_id: string;
802
- payment_provider_linked_customer_id: string;
803
- card_number: string;
804
- card_type: string;
805
- card_holder_name: string;
806
- card_charges: number;
807
- card_country_code: string;
808
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
809
- };
810
- amount_paid: number;
811
- amount_due: number;
812
- amount_refunded: number;
813
- payment_id: string;
814
- _id?: import("mongoose").Types.ObjectId | null | undefined;
815
- refund_reason?: string | null | undefined;
816
- note?: string | null | undefined;
817
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
818
- payment_type: string;
819
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
820
- card_details: {
821
- transaction_id: string;
822
- payment_provider_linked_customer_id: string;
823
- card_number: string;
824
- card_type: string;
825
- card_holder_name: string;
826
- card_charges: number;
827
- card_country_code: string;
828
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
829
- };
830
- amount_paid: number;
831
- amount_due: number;
832
- amount_refunded: number;
833
- payment_id: string;
834
- _id?: import("mongoose").Types.ObjectId | null | undefined;
835
- refund_reason?: string | null | undefined;
836
- note?: string | null | undefined;
837
- }> & {
838
- payment_type: string;
839
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
840
- card_details: {
841
- transaction_id: string;
842
- payment_provider_linked_customer_id: string;
843
- card_number: string;
844
- card_type: string;
845
- card_holder_name: string;
846
- card_charges: number;
847
- card_country_code: string;
848
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
849
- };
850
- amount_paid: number;
851
- amount_due: number;
852
- amount_refunded: number;
853
- payment_id: string;
854
- _id?: import("mongoose").Types.ObjectId | null | undefined;
855
- refund_reason?: string | null | undefined;
856
- note?: string | null | undefined;
857
- }>;
858
- special_instructions: string;
859
- order_status: import("../../constants").WAREHOUSE_INVOICE_STATUS_ENUM;
860
- tax_number: string;
861
- amount_earned: number;
862
- grand_total: number;
863
- staff_details?: {
864
- staff_id: string;
865
- staff_name: string;
866
- staff_mobile: string;
867
- staff_email: string;
868
- } | null | undefined;
869
- is_gst_inclusive?: boolean | null | undefined;
870
- gst?: number | null | undefined;
871
- gst_amount?: number | null | undefined;
872
- }>;
873
- amount_collected: number;
874
- is_deleted: boolean;
875
- order_status_updated_at: NativeDate;
876
- warehouse_id: string;
877
- client_name: string;
878
- client_id: import("mongoose").Types.ObjectId;
879
- order_settled_at: NativeDate;
880
- order_settled_at_mins: number;
881
- staff_details: {
882
- staff_id: string;
883
- staff_name: string;
884
- staff_mobile: string;
885
- staff_email: string;
886
- };
887
- cancel_reason?: string | null | undefined;
888
- delete_reason?: string | null | undefined;
889
- is_reopened?: boolean | null | undefined;
890
- deferred_settlement?: boolean | null | undefined;
891
- is_gst_inclusive?: boolean | null | undefined;
892
- gst?: number | null | undefined;
893
- gst_amount?: number | null | undefined;
894
- }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
895
- createdAt: NativeDate;
896
- updatedAt: NativeDate;
897
- } & {
898
- _id: import("mongoose").Types.ObjectId;
899
- createdAt_mins: number;
900
- createdAt: NativeDate;
901
- updatedAt: NativeDate;
902
- categories: import("mongoose").Types.DocumentArray<{
903
- name: string;
904
- category_id: import("mongoose").Types.ObjectId;
905
- items: import("mongoose").Types.DocumentArray<{
906
- _id: import("mongoose").Types.ObjectId;
907
- name: string;
908
- price: number;
909
- special_instructions: string;
910
- subtotal: number;
911
- item_id: import("mongoose").Types.ObjectId;
912
- quantity: number;
913
- _net_amount: number;
914
- _gross_amount: number;
915
- _gst_amount: number;
916
- _discount_amount: number;
917
- is_ready?: boolean | null | undefined;
918
- void_reason?: string | null | undefined;
919
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
920
- _id: import("mongoose").Types.ObjectId;
921
- name: string;
922
- price: number;
923
- special_instructions: string;
924
- subtotal: number;
925
- item_id: import("mongoose").Types.ObjectId;
926
- quantity: number;
927
- _net_amount: number;
928
- _gross_amount: number;
929
- _gst_amount: number;
930
- _discount_amount: number;
931
- is_ready?: boolean | null | undefined;
932
- void_reason?: string | null | undefined;
933
- }> & {
934
- _id: import("mongoose").Types.ObjectId;
935
- name: string;
936
- price: number;
937
- special_instructions: string;
938
- subtotal: number;
939
- item_id: import("mongoose").Types.ObjectId;
940
- quantity: number;
941
- _net_amount: number;
942
- _gross_amount: number;
943
- _gst_amount: number;
944
- _discount_amount: number;
945
- is_ready?: boolean | null | undefined;
946
- void_reason?: string | null | undefined;
947
- }>;
948
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
949
- name: string;
950
- category_id: import("mongoose").Types.ObjectId;
951
- items: import("mongoose").Types.DocumentArray<{
952
- _id: import("mongoose").Types.ObjectId;
953
- name: string;
954
- price: number;
955
- special_instructions: string;
956
- subtotal: number;
957
- item_id: import("mongoose").Types.ObjectId;
958
- quantity: number;
959
- _net_amount: number;
960
- _gross_amount: number;
961
- _gst_amount: number;
962
- _discount_amount: number;
963
- is_ready?: boolean | null | undefined;
964
- void_reason?: string | null | undefined;
965
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
966
- _id: import("mongoose").Types.ObjectId;
967
- name: string;
968
- price: number;
969
- special_instructions: string;
970
- subtotal: number;
971
- item_id: import("mongoose").Types.ObjectId;
972
- quantity: number;
973
- _net_amount: number;
974
- _gross_amount: number;
975
- _gst_amount: number;
976
- _discount_amount: number;
977
- is_ready?: boolean | null | undefined;
978
- void_reason?: string | null | undefined;
979
- }> & {
980
- _id: import("mongoose").Types.ObjectId;
981
- name: string;
982
- price: number;
983
- special_instructions: string;
984
- subtotal: number;
985
- item_id: import("mongoose").Types.ObjectId;
986
- quantity: number;
987
- _net_amount: number;
988
- _gross_amount: number;
989
- _gst_amount: number;
990
- _discount_amount: number;
991
- is_ready?: boolean | null | undefined;
992
- void_reason?: string | null | undefined;
993
- }>;
994
- }> & {
995
- name: string;
996
- category_id: import("mongoose").Types.ObjectId;
997
- items: import("mongoose").Types.DocumentArray<{
998
- _id: import("mongoose").Types.ObjectId;
999
- name: string;
1000
- price: number;
1001
- special_instructions: string;
1002
- subtotal: number;
1003
- item_id: import("mongoose").Types.ObjectId;
1004
- quantity: number;
1005
- _net_amount: number;
1006
- _gross_amount: number;
1007
- _gst_amount: number;
1008
- _discount_amount: number;
1009
- is_ready?: boolean | null | undefined;
1010
- void_reason?: string | null | undefined;
1011
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1012
- _id: import("mongoose").Types.ObjectId;
1013
- name: string;
1014
- price: number;
1015
- special_instructions: string;
1016
- subtotal: number;
1017
- item_id: import("mongoose").Types.ObjectId;
1018
- quantity: number;
1019
- _net_amount: number;
1020
- _gross_amount: number;
1021
- _gst_amount: number;
1022
- _discount_amount: number;
1023
- is_ready?: boolean | null | undefined;
1024
- void_reason?: string | null | undefined;
1025
- }> & {
1026
- _id: import("mongoose").Types.ObjectId;
1027
- name: string;
1028
- price: number;
1029
- special_instructions: string;
1030
- subtotal: number;
1031
- item_id: import("mongoose").Types.ObjectId;
1032
- quantity: number;
1033
- _net_amount: number;
1034
- _gross_amount: number;
1035
- _gst_amount: number;
1036
- _discount_amount: number;
1037
- is_ready?: boolean | null | undefined;
1038
- void_reason?: string | null | undefined;
1039
- }>;
1040
- }>;
1041
- price: number;
1042
- order_number: number;
1043
- payments: import("mongoose").Types.DocumentArray<{
1044
- payment_type: string;
1045
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1046
- card_details: {
1047
- transaction_id: string;
1048
- payment_provider_linked_customer_id: string;
1049
- card_number: string;
1050
- card_type: string;
1051
- card_holder_name: string;
1052
- card_charges: number;
1053
- card_country_code: string;
1054
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1055
- };
1056
- amount_paid: number;
1057
- amount_due: number;
1058
- amount_refunded: number;
1059
- payment_id: string;
1060
- _id?: import("mongoose").Types.ObjectId | null | undefined;
1061
- refund_reason?: string | null | undefined;
1062
- note?: string | null | undefined;
1063
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
1064
- payment_type: string;
1065
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1066
- card_details: {
1067
- transaction_id: string;
1068
- payment_provider_linked_customer_id: string;
1069
- card_number: string;
1070
- card_type: string;
1071
- card_holder_name: string;
1072
- card_charges: number;
1073
- card_country_code: string;
1074
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1075
- };
1076
- amount_paid: number;
1077
- amount_due: number;
1078
- amount_refunded: number;
1079
- payment_id: string;
1080
- _id?: import("mongoose").Types.ObjectId | null | undefined;
1081
- refund_reason?: string | null | undefined;
1082
- note?: string | null | undefined;
1083
- }> & {
1084
- payment_type: string;
1085
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1086
- card_details: {
1087
- transaction_id: string;
1088
- payment_provider_linked_customer_id: string;
1089
- card_number: string;
1090
- card_type: string;
1091
- card_holder_name: string;
1092
- card_charges: number;
1093
- card_country_code: string;
1094
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1095
- };
1096
- amount_paid: number;
1097
- amount_due: number;
1098
- amount_refunded: number;
1099
- payment_id: string;
1100
- _id?: import("mongoose").Types.ObjectId | null | undefined;
1101
- refund_reason?: string | null | undefined;
1102
- note?: string | null | undefined;
1103
- }>;
1104
- special_instructions: string;
1105
- order_status: import("../../constants").WAREHOUSE_INVOICE_STATUS_ENUM;
1106
- tax_number: string;
1107
- amount_earned: number;
1108
- grand_total: number;
1109
- iterations: import("mongoose").Types.DocumentArray<{
1110
- updatedAt: NativeDate;
1111
- categories: import("mongoose").Types.DocumentArray<{
1112
- name: string;
1113
- category_id: import("mongoose").Types.ObjectId;
1114
- items: import("mongoose").Types.DocumentArray<{
1115
- _id: import("mongoose").Types.ObjectId;
1116
- name: string;
1117
- price: number;
1118
- special_instructions: string;
1119
- subtotal: number;
1120
- item_id: import("mongoose").Types.ObjectId;
1121
- quantity: number;
1122
- _net_amount: number;
1123
- _gross_amount: number;
1124
- _gst_amount: number;
1125
- _discount_amount: number;
1126
- is_ready?: boolean | null | undefined;
1127
- void_reason?: string | null | undefined;
1128
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1129
- _id: import("mongoose").Types.ObjectId;
1130
- name: string;
1131
- price: number;
1132
- special_instructions: string;
1133
- subtotal: number;
1134
- item_id: import("mongoose").Types.ObjectId;
1135
- quantity: number;
1136
- _net_amount: number;
1137
- _gross_amount: number;
1138
- _gst_amount: number;
1139
- _discount_amount: number;
1140
- is_ready?: boolean | null | undefined;
1141
- void_reason?: string | null | undefined;
1142
- }> & {
1143
- _id: import("mongoose").Types.ObjectId;
1144
- name: string;
1145
- price: number;
1146
- special_instructions: string;
1147
- subtotal: number;
1148
- item_id: import("mongoose").Types.ObjectId;
1149
- quantity: number;
1150
- _net_amount: number;
1151
- _gross_amount: number;
1152
- _gst_amount: number;
1153
- _discount_amount: number;
1154
- is_ready?: boolean | null | undefined;
1155
- void_reason?: string | null | undefined;
1156
- }>;
1157
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1158
- name: string;
1159
- category_id: import("mongoose").Types.ObjectId;
1160
- items: import("mongoose").Types.DocumentArray<{
1161
- _id: import("mongoose").Types.ObjectId;
1162
- name: string;
1163
- price: number;
1164
- special_instructions: string;
1165
- subtotal: number;
1166
- item_id: import("mongoose").Types.ObjectId;
1167
- quantity: number;
1168
- _net_amount: number;
1169
- _gross_amount: number;
1170
- _gst_amount: number;
1171
- _discount_amount: number;
1172
- is_ready?: boolean | null | undefined;
1173
- void_reason?: string | null | undefined;
1174
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1175
- _id: import("mongoose").Types.ObjectId;
1176
- name: string;
1177
- price: number;
1178
- special_instructions: string;
1179
- subtotal: number;
1180
- item_id: import("mongoose").Types.ObjectId;
1181
- quantity: number;
1182
- _net_amount: number;
1183
- _gross_amount: number;
1184
- _gst_amount: number;
1185
- _discount_amount: number;
1186
- is_ready?: boolean | null | undefined;
1187
- void_reason?: string | null | undefined;
1188
- }> & {
1189
- _id: import("mongoose").Types.ObjectId;
1190
- name: string;
1191
- price: number;
1192
- special_instructions: string;
1193
- subtotal: number;
1194
- item_id: import("mongoose").Types.ObjectId;
1195
- quantity: number;
1196
- _net_amount: number;
1197
- _gross_amount: number;
1198
- _gst_amount: number;
1199
- _discount_amount: number;
1200
- is_ready?: boolean | null | undefined;
1201
- void_reason?: string | null | undefined;
1202
- }>;
1203
- }> & {
1204
- name: string;
1205
- category_id: import("mongoose").Types.ObjectId;
1206
- items: import("mongoose").Types.DocumentArray<{
1207
- _id: import("mongoose").Types.ObjectId;
1208
- name: string;
1209
- price: number;
1210
- special_instructions: string;
1211
- subtotal: number;
1212
- item_id: import("mongoose").Types.ObjectId;
1213
- quantity: number;
1214
- _net_amount: number;
1215
- _gross_amount: number;
1216
- _gst_amount: number;
1217
- _discount_amount: number;
1218
- is_ready?: boolean | null | undefined;
1219
- void_reason?: string | null | undefined;
1220
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1221
- _id: import("mongoose").Types.ObjectId;
1222
- name: string;
1223
- price: number;
1224
- special_instructions: string;
1225
- subtotal: number;
1226
- item_id: import("mongoose").Types.ObjectId;
1227
- quantity: number;
1228
- _net_amount: number;
1229
- _gross_amount: number;
1230
- _gst_amount: number;
1231
- _discount_amount: number;
1232
- is_ready?: boolean | null | undefined;
1233
- void_reason?: string | null | undefined;
1234
- }> & {
1235
- _id: import("mongoose").Types.ObjectId;
1236
- name: string;
1237
- price: number;
1238
- special_instructions: string;
1239
- subtotal: number;
1240
- item_id: import("mongoose").Types.ObjectId;
1241
- quantity: number;
1242
- _net_amount: number;
1243
- _gross_amount: number;
1244
- _gst_amount: number;
1245
- _discount_amount: number;
1246
- is_ready?: boolean | null | undefined;
1247
- void_reason?: string | null | undefined;
1248
- }>;
1249
- }>;
1250
- price: number;
1251
- payments: import("mongoose").Types.DocumentArray<{
1252
- payment_type: string;
1253
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1254
- card_details: {
1255
- transaction_id: string;
1256
- payment_provider_linked_customer_id: string;
1257
- card_number: string;
1258
- card_type: string;
1259
- card_holder_name: string;
1260
- card_charges: number;
1261
- card_country_code: string;
1262
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1263
- };
1264
- amount_paid: number;
1265
- amount_due: number;
1266
- amount_refunded: number;
1267
- payment_id: string;
1268
- _id?: import("mongoose").Types.ObjectId | null | undefined;
1269
- refund_reason?: string | null | undefined;
1270
- note?: string | null | undefined;
1271
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
1272
- payment_type: string;
1273
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1274
- card_details: {
1275
- transaction_id: string;
1276
- payment_provider_linked_customer_id: string;
1277
- card_number: string;
1278
- card_type: string;
1279
- card_holder_name: string;
1280
- card_charges: number;
1281
- card_country_code: string;
1282
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1283
- };
1284
- amount_paid: number;
1285
- amount_due: number;
1286
- amount_refunded: number;
1287
- payment_id: string;
1288
- _id?: import("mongoose").Types.ObjectId | null | undefined;
1289
- refund_reason?: string | null | undefined;
1290
- note?: string | null | undefined;
1291
- }> & {
1292
- payment_type: string;
1293
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1294
- card_details: {
1295
- transaction_id: string;
1296
- payment_provider_linked_customer_id: string;
1297
- card_number: string;
1298
- card_type: string;
1299
- card_holder_name: string;
1300
- card_charges: number;
1301
- card_country_code: string;
1302
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1303
- };
1304
- amount_paid: number;
1305
- amount_due: number;
1306
- amount_refunded: number;
1307
- payment_id: string;
1308
- _id?: import("mongoose").Types.ObjectId | null | undefined;
1309
- refund_reason?: string | null | undefined;
1310
- note?: string | null | undefined;
1311
- }>;
1312
- special_instructions: string;
1313
- order_status: import("../../constants").WAREHOUSE_INVOICE_STATUS_ENUM;
1314
- tax_number: string;
1315
- amount_earned: number;
1316
- grand_total: number;
1317
- staff_details?: {
1318
- staff_id: string;
1319
- staff_name: string;
1320
- staff_mobile: string;
1321
- staff_email: string;
1322
- } | null | undefined;
1323
- is_gst_inclusive?: boolean | null | undefined;
1324
- gst?: number | null | undefined;
1325
- gst_amount?: number | null | undefined;
1326
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1327
- updatedAt: NativeDate;
1328
- categories: import("mongoose").Types.DocumentArray<{
1329
- name: string;
1330
- category_id: import("mongoose").Types.ObjectId;
1331
- items: import("mongoose").Types.DocumentArray<{
1332
- _id: import("mongoose").Types.ObjectId;
1333
- name: string;
1334
- price: number;
1335
- special_instructions: string;
1336
- subtotal: number;
1337
- item_id: import("mongoose").Types.ObjectId;
1338
- quantity: number;
1339
- _net_amount: number;
1340
- _gross_amount: number;
1341
- _gst_amount: number;
1342
- _discount_amount: number;
1343
- is_ready?: boolean | null | undefined;
1344
- void_reason?: string | null | undefined;
1345
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1346
- _id: import("mongoose").Types.ObjectId;
1347
- name: string;
1348
- price: number;
1349
- special_instructions: string;
1350
- subtotal: number;
1351
- item_id: import("mongoose").Types.ObjectId;
1352
- quantity: number;
1353
- _net_amount: number;
1354
- _gross_amount: number;
1355
- _gst_amount: number;
1356
- _discount_amount: number;
1357
- is_ready?: boolean | null | undefined;
1358
- void_reason?: string | null | undefined;
1359
- }> & {
1360
- _id: import("mongoose").Types.ObjectId;
1361
- name: string;
1362
- price: number;
1363
- special_instructions: string;
1364
- subtotal: number;
1365
- item_id: import("mongoose").Types.ObjectId;
1366
- quantity: number;
1367
- _net_amount: number;
1368
- _gross_amount: number;
1369
- _gst_amount: number;
1370
- _discount_amount: number;
1371
- is_ready?: boolean | null | undefined;
1372
- void_reason?: string | null | undefined;
1373
- }>;
1374
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1375
- name: string;
1376
- category_id: import("mongoose").Types.ObjectId;
1377
- items: import("mongoose").Types.DocumentArray<{
1378
- _id: import("mongoose").Types.ObjectId;
1379
- name: string;
1380
- price: number;
1381
- special_instructions: string;
1382
- subtotal: number;
1383
- item_id: import("mongoose").Types.ObjectId;
1384
- quantity: number;
1385
- _net_amount: number;
1386
- _gross_amount: number;
1387
- _gst_amount: number;
1388
- _discount_amount: number;
1389
- is_ready?: boolean | null | undefined;
1390
- void_reason?: string | null | undefined;
1391
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1392
- _id: import("mongoose").Types.ObjectId;
1393
- name: string;
1394
- price: number;
1395
- special_instructions: string;
1396
- subtotal: number;
1397
- item_id: import("mongoose").Types.ObjectId;
1398
- quantity: number;
1399
- _net_amount: number;
1400
- _gross_amount: number;
1401
- _gst_amount: number;
1402
- _discount_amount: number;
1403
- is_ready?: boolean | null | undefined;
1404
- void_reason?: string | null | undefined;
1405
- }> & {
1406
- _id: import("mongoose").Types.ObjectId;
1407
- name: string;
1408
- price: number;
1409
- special_instructions: string;
1410
- subtotal: number;
1411
- item_id: import("mongoose").Types.ObjectId;
1412
- quantity: number;
1413
- _net_amount: number;
1414
- _gross_amount: number;
1415
- _gst_amount: number;
1416
- _discount_amount: number;
1417
- is_ready?: boolean | null | undefined;
1418
- void_reason?: string | null | undefined;
1419
- }>;
1420
- }> & {
1421
- name: string;
1422
- category_id: import("mongoose").Types.ObjectId;
1423
- items: import("mongoose").Types.DocumentArray<{
1424
- _id: import("mongoose").Types.ObjectId;
1425
- name: string;
1426
- price: number;
1427
- special_instructions: string;
1428
- subtotal: number;
1429
- item_id: import("mongoose").Types.ObjectId;
1430
- quantity: number;
1431
- _net_amount: number;
1432
- _gross_amount: number;
1433
- _gst_amount: number;
1434
- _discount_amount: number;
1435
- is_ready?: boolean | null | undefined;
1436
- void_reason?: string | null | undefined;
1437
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1438
- _id: import("mongoose").Types.ObjectId;
1439
- name: string;
1440
- price: number;
1441
- special_instructions: string;
1442
- subtotal: number;
1443
- item_id: import("mongoose").Types.ObjectId;
1444
- quantity: number;
1445
- _net_amount: number;
1446
- _gross_amount: number;
1447
- _gst_amount: number;
1448
- _discount_amount: number;
1449
- is_ready?: boolean | null | undefined;
1450
- void_reason?: string | null | undefined;
1451
- }> & {
1452
- _id: import("mongoose").Types.ObjectId;
1453
- name: string;
1454
- price: number;
1455
- special_instructions: string;
1456
- subtotal: number;
1457
- item_id: import("mongoose").Types.ObjectId;
1458
- quantity: number;
1459
- _net_amount: number;
1460
- _gross_amount: number;
1461
- _gst_amount: number;
1462
- _discount_amount: number;
1463
- is_ready?: boolean | null | undefined;
1464
- void_reason?: string | null | undefined;
1465
- }>;
1466
- }>;
1467
- price: number;
1468
- payments: import("mongoose").Types.DocumentArray<{
1469
- payment_type: string;
1470
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1471
- card_details: {
1472
- transaction_id: string;
1473
- payment_provider_linked_customer_id: string;
1474
- card_number: string;
1475
- card_type: string;
1476
- card_holder_name: string;
1477
- card_charges: number;
1478
- card_country_code: string;
1479
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1480
- };
1481
- amount_paid: number;
1482
- amount_due: number;
1483
- amount_refunded: number;
1484
- payment_id: string;
1485
- _id?: import("mongoose").Types.ObjectId | null | undefined;
1486
- refund_reason?: string | null | undefined;
1487
- note?: string | null | undefined;
1488
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
1489
- payment_type: string;
1490
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1491
- card_details: {
1492
- transaction_id: string;
1493
- payment_provider_linked_customer_id: string;
1494
- card_number: string;
1495
- card_type: string;
1496
- card_holder_name: string;
1497
- card_charges: number;
1498
- card_country_code: string;
1499
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1500
- };
1501
- amount_paid: number;
1502
- amount_due: number;
1503
- amount_refunded: number;
1504
- payment_id: string;
1505
- _id?: import("mongoose").Types.ObjectId | null | undefined;
1506
- refund_reason?: string | null | undefined;
1507
- note?: string | null | undefined;
1508
- }> & {
1509
- payment_type: string;
1510
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1511
- card_details: {
1512
- transaction_id: string;
1513
- payment_provider_linked_customer_id: string;
1514
- card_number: string;
1515
- card_type: string;
1516
- card_holder_name: string;
1517
- card_charges: number;
1518
- card_country_code: string;
1519
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1520
- };
1521
- amount_paid: number;
1522
- amount_due: number;
1523
- amount_refunded: number;
1524
- payment_id: string;
1525
- _id?: import("mongoose").Types.ObjectId | null | undefined;
1526
- refund_reason?: string | null | undefined;
1527
- note?: string | null | undefined;
1528
- }>;
1529
- special_instructions: string;
1530
- order_status: import("../../constants").WAREHOUSE_INVOICE_STATUS_ENUM;
1531
- tax_number: string;
1532
- amount_earned: number;
1533
- grand_total: number;
1534
- staff_details?: {
1535
- staff_id: string;
1536
- staff_name: string;
1537
- staff_mobile: string;
1538
- staff_email: string;
1539
- } | null | undefined;
1540
- is_gst_inclusive?: boolean | null | undefined;
1541
- gst?: number | null | undefined;
1542
- gst_amount?: number | null | undefined;
1543
- }> & {
1544
- updatedAt: NativeDate;
1545
- categories: import("mongoose").Types.DocumentArray<{
1546
- name: string;
1547
- category_id: import("mongoose").Types.ObjectId;
1548
- items: import("mongoose").Types.DocumentArray<{
1549
- _id: import("mongoose").Types.ObjectId;
1550
- name: string;
1551
- price: number;
1552
- special_instructions: string;
1553
- subtotal: number;
1554
- item_id: import("mongoose").Types.ObjectId;
1555
- quantity: number;
1556
- _net_amount: number;
1557
- _gross_amount: number;
1558
- _gst_amount: number;
1559
- _discount_amount: number;
1560
- is_ready?: boolean | null | undefined;
1561
- void_reason?: string | null | undefined;
1562
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1563
- _id: import("mongoose").Types.ObjectId;
1564
- name: string;
1565
- price: number;
1566
- special_instructions: string;
1567
- subtotal: number;
1568
- item_id: import("mongoose").Types.ObjectId;
1569
- quantity: number;
1570
- _net_amount: number;
1571
- _gross_amount: number;
1572
- _gst_amount: number;
1573
- _discount_amount: number;
1574
- is_ready?: boolean | null | undefined;
1575
- void_reason?: string | null | undefined;
1576
- }> & {
1577
- _id: import("mongoose").Types.ObjectId;
1578
- name: string;
1579
- price: number;
1580
- special_instructions: string;
1581
- subtotal: number;
1582
- item_id: import("mongoose").Types.ObjectId;
1583
- quantity: number;
1584
- _net_amount: number;
1585
- _gross_amount: number;
1586
- _gst_amount: number;
1587
- _discount_amount: number;
1588
- is_ready?: boolean | null | undefined;
1589
- void_reason?: string | null | undefined;
1590
- }>;
1591
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1592
- name: string;
1593
- category_id: import("mongoose").Types.ObjectId;
1594
- items: import("mongoose").Types.DocumentArray<{
1595
- _id: import("mongoose").Types.ObjectId;
1596
- name: string;
1597
- price: number;
1598
- special_instructions: string;
1599
- subtotal: number;
1600
- item_id: import("mongoose").Types.ObjectId;
1601
- quantity: number;
1602
- _net_amount: number;
1603
- _gross_amount: number;
1604
- _gst_amount: number;
1605
- _discount_amount: number;
1606
- is_ready?: boolean | null | undefined;
1607
- void_reason?: string | null | undefined;
1608
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1609
- _id: import("mongoose").Types.ObjectId;
1610
- name: string;
1611
- price: number;
1612
- special_instructions: string;
1613
- subtotal: number;
1614
- item_id: import("mongoose").Types.ObjectId;
1615
- quantity: number;
1616
- _net_amount: number;
1617
- _gross_amount: number;
1618
- _gst_amount: number;
1619
- _discount_amount: number;
1620
- is_ready?: boolean | null | undefined;
1621
- void_reason?: string | null | undefined;
1622
- }> & {
1623
- _id: import("mongoose").Types.ObjectId;
1624
- name: string;
1625
- price: number;
1626
- special_instructions: string;
1627
- subtotal: number;
1628
- item_id: import("mongoose").Types.ObjectId;
1629
- quantity: number;
1630
- _net_amount: number;
1631
- _gross_amount: number;
1632
- _gst_amount: number;
1633
- _discount_amount: number;
1634
- is_ready?: boolean | null | undefined;
1635
- void_reason?: string | null | undefined;
1636
- }>;
1637
- }> & {
1638
- name: string;
1639
- category_id: import("mongoose").Types.ObjectId;
1640
- items: import("mongoose").Types.DocumentArray<{
1641
- _id: import("mongoose").Types.ObjectId;
1642
- name: string;
1643
- price: number;
1644
- special_instructions: string;
1645
- subtotal: number;
1646
- item_id: import("mongoose").Types.ObjectId;
1647
- quantity: number;
1648
- _net_amount: number;
1649
- _gross_amount: number;
1650
- _gst_amount: number;
1651
- _discount_amount: number;
1652
- is_ready?: boolean | null | undefined;
1653
- void_reason?: string | null | undefined;
1654
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1655
- _id: import("mongoose").Types.ObjectId;
1656
- name: string;
1657
- price: number;
1658
- special_instructions: string;
1659
- subtotal: number;
1660
- item_id: import("mongoose").Types.ObjectId;
1661
- quantity: number;
1662
- _net_amount: number;
1663
- _gross_amount: number;
1664
- _gst_amount: number;
1665
- _discount_amount: number;
1666
- is_ready?: boolean | null | undefined;
1667
- void_reason?: string | null | undefined;
1668
- }> & {
1669
- _id: import("mongoose").Types.ObjectId;
1670
- name: string;
1671
- price: number;
1672
- special_instructions: string;
1673
- subtotal: number;
1674
- item_id: import("mongoose").Types.ObjectId;
1675
- quantity: number;
1676
- _net_amount: number;
1677
- _gross_amount: number;
1678
- _gst_amount: number;
1679
- _discount_amount: number;
1680
- is_ready?: boolean | null | undefined;
1681
- void_reason?: string | null | undefined;
1682
- }>;
1683
- }>;
1684
- price: number;
1685
- payments: import("mongoose").Types.DocumentArray<{
1686
- payment_type: string;
1687
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1688
- card_details: {
1689
- transaction_id: string;
1690
- payment_provider_linked_customer_id: string;
1691
- card_number: string;
1692
- card_type: string;
1693
- card_holder_name: string;
1694
- card_charges: number;
1695
- card_country_code: string;
1696
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1697
- };
1698
- amount_paid: number;
1699
- amount_due: number;
1700
- amount_refunded: number;
1701
- payment_id: string;
1702
- _id?: import("mongoose").Types.ObjectId | null | undefined;
1703
- refund_reason?: string | null | undefined;
1704
- note?: string | null | undefined;
1705
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
1706
- payment_type: string;
1707
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1708
- card_details: {
1709
- transaction_id: string;
1710
- payment_provider_linked_customer_id: string;
1711
- card_number: string;
1712
- card_type: string;
1713
- card_holder_name: string;
1714
- card_charges: number;
1715
- card_country_code: string;
1716
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1717
- };
1718
- amount_paid: number;
1719
- amount_due: number;
1720
- amount_refunded: number;
1721
- payment_id: string;
1722
- _id?: import("mongoose").Types.ObjectId | null | undefined;
1723
- refund_reason?: string | null | undefined;
1724
- note?: string | null | undefined;
1725
- }> & {
1726
- payment_type: string;
1727
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1728
- card_details: {
1729
- transaction_id: string;
1730
- payment_provider_linked_customer_id: string;
1731
- card_number: string;
1732
- card_type: string;
1733
- card_holder_name: string;
1734
- card_charges: number;
1735
- card_country_code: string;
1736
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1737
- };
1738
- amount_paid: number;
1739
- amount_due: number;
1740
- amount_refunded: number;
1741
- payment_id: string;
1742
- _id?: import("mongoose").Types.ObjectId | null | undefined;
1743
- refund_reason?: string | null | undefined;
1744
- note?: string | null | undefined;
1745
- }>;
1746
- special_instructions: string;
1747
- order_status: import("../../constants").WAREHOUSE_INVOICE_STATUS_ENUM;
1748
- tax_number: string;
1749
- amount_earned: number;
1750
- grand_total: number;
1751
- staff_details?: {
1752
- staff_id: string;
1753
- staff_name: string;
1754
- staff_mobile: string;
1755
- staff_email: string;
1756
- } | null | undefined;
1757
- is_gst_inclusive?: boolean | null | undefined;
1758
- gst?: number | null | undefined;
1759
- gst_amount?: number | null | undefined;
1760
- }>;
1761
- amount_collected: number;
1762
- is_deleted: boolean;
1763
- order_status_updated_at: NativeDate;
1764
- warehouse_id: string;
1765
- client_name: string;
1766
- client_id: import("mongoose").Types.ObjectId;
1767
- order_settled_at: NativeDate;
1768
- order_settled_at_mins: number;
1769
- staff_details: {
1770
- staff_id: string;
1771
- staff_name: string;
1772
- staff_mobile: string;
1773
- staff_email: string;
1774
- };
1775
- cancel_reason?: string | null | undefined;
1776
- delete_reason?: string | null | undefined;
1777
- is_reopened?: boolean | null | undefined;
1778
- deferred_settlement?: boolean | null | undefined;
1779
- is_gst_inclusive?: boolean | null | undefined;
1780
- gst?: number | null | undefined;
1781
- gst_amount?: number | null | undefined;
1782
- }>> & import("mongoose").FlatRecord<{
1783
- createdAt: NativeDate;
1784
- updatedAt: NativeDate;
1785
- } & {
1786
- _id: import("mongoose").Types.ObjectId;
1787
- createdAt_mins: number;
1788
- createdAt: NativeDate;
1789
- updatedAt: NativeDate;
1790
- categories: import("mongoose").Types.DocumentArray<{
1791
- name: string;
1792
- category_id: import("mongoose").Types.ObjectId;
1793
- items: import("mongoose").Types.DocumentArray<{
1794
- _id: import("mongoose").Types.ObjectId;
1795
- name: string;
1796
- price: number;
1797
- special_instructions: string;
1798
- subtotal: number;
1799
- item_id: import("mongoose").Types.ObjectId;
1800
- quantity: number;
1801
- _net_amount: number;
1802
- _gross_amount: number;
1803
- _gst_amount: number;
1804
- _discount_amount: number;
1805
- is_ready?: boolean | null | undefined;
1806
- void_reason?: string | null | undefined;
1807
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1808
- _id: import("mongoose").Types.ObjectId;
1809
- name: string;
1810
- price: number;
1811
- special_instructions: string;
1812
- subtotal: number;
1813
- item_id: import("mongoose").Types.ObjectId;
1814
- quantity: number;
1815
- _net_amount: number;
1816
- _gross_amount: number;
1817
- _gst_amount: number;
1818
- _discount_amount: number;
1819
- is_ready?: boolean | null | undefined;
1820
- void_reason?: string | null | undefined;
1821
- }> & {
1822
- _id: import("mongoose").Types.ObjectId;
1823
- name: string;
1824
- price: number;
1825
- special_instructions: string;
1826
- subtotal: number;
1827
- item_id: import("mongoose").Types.ObjectId;
1828
- quantity: number;
1829
- _net_amount: number;
1830
- _gross_amount: number;
1831
- _gst_amount: number;
1832
- _discount_amount: number;
1833
- is_ready?: boolean | null | undefined;
1834
- void_reason?: string | null | undefined;
1835
- }>;
1836
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1837
- name: string;
1838
- category_id: import("mongoose").Types.ObjectId;
1839
- items: import("mongoose").Types.DocumentArray<{
1840
- _id: import("mongoose").Types.ObjectId;
1841
- name: string;
1842
- price: number;
1843
- special_instructions: string;
1844
- subtotal: number;
1845
- item_id: import("mongoose").Types.ObjectId;
1846
- quantity: number;
1847
- _net_amount: number;
1848
- _gross_amount: number;
1849
- _gst_amount: number;
1850
- _discount_amount: number;
1851
- is_ready?: boolean | null | undefined;
1852
- void_reason?: string | null | undefined;
1853
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1854
- _id: import("mongoose").Types.ObjectId;
1855
- name: string;
1856
- price: number;
1857
- special_instructions: string;
1858
- subtotal: number;
1859
- item_id: import("mongoose").Types.ObjectId;
1860
- quantity: number;
1861
- _net_amount: number;
1862
- _gross_amount: number;
1863
- _gst_amount: number;
1864
- _discount_amount: number;
1865
- is_ready?: boolean | null | undefined;
1866
- void_reason?: string | null | undefined;
1867
- }> & {
1868
- _id: import("mongoose").Types.ObjectId;
1869
- name: string;
1870
- price: number;
1871
- special_instructions: string;
1872
- subtotal: number;
1873
- item_id: import("mongoose").Types.ObjectId;
1874
- quantity: number;
1875
- _net_amount: number;
1876
- _gross_amount: number;
1877
- _gst_amount: number;
1878
- _discount_amount: number;
1879
- is_ready?: boolean | null | undefined;
1880
- void_reason?: string | null | undefined;
1881
- }>;
1882
- }> & {
1883
- name: string;
1884
- category_id: import("mongoose").Types.ObjectId;
1885
- items: import("mongoose").Types.DocumentArray<{
1886
- _id: import("mongoose").Types.ObjectId;
1887
- name: string;
1888
- price: number;
1889
- special_instructions: string;
1890
- subtotal: number;
1891
- item_id: import("mongoose").Types.ObjectId;
1892
- quantity: number;
1893
- _net_amount: number;
1894
- _gross_amount: number;
1895
- _gst_amount: number;
1896
- _discount_amount: number;
1897
- is_ready?: boolean | null | undefined;
1898
- void_reason?: string | null | undefined;
1899
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1900
- _id: import("mongoose").Types.ObjectId;
1901
- name: string;
1902
- price: number;
1903
- special_instructions: string;
1904
- subtotal: number;
1905
- item_id: import("mongoose").Types.ObjectId;
1906
- quantity: number;
1907
- _net_amount: number;
1908
- _gross_amount: number;
1909
- _gst_amount: number;
1910
- _discount_amount: number;
1911
- is_ready?: boolean | null | undefined;
1912
- void_reason?: string | null | undefined;
1913
- }> & {
1914
- _id: import("mongoose").Types.ObjectId;
1915
- name: string;
1916
- price: number;
1917
- special_instructions: string;
1918
- subtotal: number;
1919
- item_id: import("mongoose").Types.ObjectId;
1920
- quantity: number;
1921
- _net_amount: number;
1922
- _gross_amount: number;
1923
- _gst_amount: number;
1924
- _discount_amount: number;
1925
- is_ready?: boolean | null | undefined;
1926
- void_reason?: string | null | undefined;
1927
- }>;
1928
- }>;
1929
- price: number;
1930
- order_number: number;
1931
- payments: import("mongoose").Types.DocumentArray<{
1932
- payment_type: string;
1933
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1934
- card_details: {
1935
- transaction_id: string;
1936
- payment_provider_linked_customer_id: string;
1937
- card_number: string;
1938
- card_type: string;
1939
- card_holder_name: string;
1940
- card_charges: number;
1941
- card_country_code: string;
1942
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1943
- };
1944
- amount_paid: number;
1945
- amount_due: number;
1946
- amount_refunded: number;
1947
- payment_id: string;
1948
- _id?: import("mongoose").Types.ObjectId | null | undefined;
1949
- refund_reason?: string | null | undefined;
1950
- note?: string | null | undefined;
1951
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
1952
- payment_type: string;
1953
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1954
- card_details: {
1955
- transaction_id: string;
1956
- payment_provider_linked_customer_id: string;
1957
- card_number: string;
1958
- card_type: string;
1959
- card_holder_name: string;
1960
- card_charges: number;
1961
- card_country_code: string;
1962
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1963
- };
1964
- amount_paid: number;
1965
- amount_due: number;
1966
- amount_refunded: number;
1967
- payment_id: string;
1968
- _id?: import("mongoose").Types.ObjectId | null | undefined;
1969
- refund_reason?: string | null | undefined;
1970
- note?: string | null | undefined;
1971
- }> & {
1972
- payment_type: string;
1973
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1974
- card_details: {
1975
- transaction_id: string;
1976
- payment_provider_linked_customer_id: string;
1977
- card_number: string;
1978
- card_type: string;
1979
- card_holder_name: string;
1980
- card_charges: number;
1981
- card_country_code: string;
1982
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1983
- };
1984
- amount_paid: number;
1985
- amount_due: number;
1986
- amount_refunded: number;
1987
- payment_id: string;
1988
- _id?: import("mongoose").Types.ObjectId | null | undefined;
1989
- refund_reason?: string | null | undefined;
1990
- note?: string | null | undefined;
1991
- }>;
1992
- special_instructions: string;
1993
- order_status: import("../../constants").WAREHOUSE_INVOICE_STATUS_ENUM;
1994
- tax_number: string;
1995
- amount_earned: number;
1996
- grand_total: number;
1997
- iterations: import("mongoose").Types.DocumentArray<{
1998
- updatedAt: NativeDate;
1999
- categories: import("mongoose").Types.DocumentArray<{
2000
- name: string;
2001
- category_id: import("mongoose").Types.ObjectId;
2002
- items: import("mongoose").Types.DocumentArray<{
2003
- _id: import("mongoose").Types.ObjectId;
2004
- name: string;
2005
- price: number;
2006
- special_instructions: string;
2007
- subtotal: number;
2008
- item_id: import("mongoose").Types.ObjectId;
2009
- quantity: number;
2010
- _net_amount: number;
2011
- _gross_amount: number;
2012
- _gst_amount: number;
2013
- _discount_amount: number;
2014
- is_ready?: boolean | null | undefined;
2015
- void_reason?: string | null | undefined;
2016
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
2017
- _id: import("mongoose").Types.ObjectId;
2018
- name: string;
2019
- price: number;
2020
- special_instructions: string;
2021
- subtotal: number;
2022
- item_id: import("mongoose").Types.ObjectId;
2023
- quantity: number;
2024
- _net_amount: number;
2025
- _gross_amount: number;
2026
- _gst_amount: number;
2027
- _discount_amount: number;
2028
- is_ready?: boolean | null | undefined;
2029
- void_reason?: string | null | undefined;
2030
- }> & {
2031
- _id: import("mongoose").Types.ObjectId;
2032
- name: string;
2033
- price: number;
2034
- special_instructions: string;
2035
- subtotal: number;
2036
- item_id: import("mongoose").Types.ObjectId;
2037
- quantity: number;
2038
- _net_amount: number;
2039
- _gross_amount: number;
2040
- _gst_amount: number;
2041
- _discount_amount: number;
2042
- is_ready?: boolean | null | undefined;
2043
- void_reason?: string | null | undefined;
2044
- }>;
2045
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
2046
- name: string;
2047
- category_id: import("mongoose").Types.ObjectId;
2048
- items: import("mongoose").Types.DocumentArray<{
2049
- _id: import("mongoose").Types.ObjectId;
2050
- name: string;
2051
- price: number;
2052
- special_instructions: string;
2053
- subtotal: number;
2054
- item_id: import("mongoose").Types.ObjectId;
2055
- quantity: number;
2056
- _net_amount: number;
2057
- _gross_amount: number;
2058
- _gst_amount: number;
2059
- _discount_amount: number;
2060
- is_ready?: boolean | null | undefined;
2061
- void_reason?: string | null | undefined;
2062
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
2063
- _id: import("mongoose").Types.ObjectId;
2064
- name: string;
2065
- price: number;
2066
- special_instructions: string;
2067
- subtotal: number;
2068
- item_id: import("mongoose").Types.ObjectId;
2069
- quantity: number;
2070
- _net_amount: number;
2071
- _gross_amount: number;
2072
- _gst_amount: number;
2073
- _discount_amount: number;
2074
- is_ready?: boolean | null | undefined;
2075
- void_reason?: string | null | undefined;
2076
- }> & {
2077
- _id: import("mongoose").Types.ObjectId;
2078
- name: string;
2079
- price: number;
2080
- special_instructions: string;
2081
- subtotal: number;
2082
- item_id: import("mongoose").Types.ObjectId;
2083
- quantity: number;
2084
- _net_amount: number;
2085
- _gross_amount: number;
2086
- _gst_amount: number;
2087
- _discount_amount: number;
2088
- is_ready?: boolean | null | undefined;
2089
- void_reason?: string | null | undefined;
2090
- }>;
2091
- }> & {
2092
- name: string;
2093
- category_id: import("mongoose").Types.ObjectId;
2094
- items: import("mongoose").Types.DocumentArray<{
2095
- _id: import("mongoose").Types.ObjectId;
2096
- name: string;
2097
- price: number;
2098
- special_instructions: string;
2099
- subtotal: number;
2100
- item_id: import("mongoose").Types.ObjectId;
2101
- quantity: number;
2102
- _net_amount: number;
2103
- _gross_amount: number;
2104
- _gst_amount: number;
2105
- _discount_amount: number;
2106
- is_ready?: boolean | null | undefined;
2107
- void_reason?: string | null | undefined;
2108
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
2109
- _id: import("mongoose").Types.ObjectId;
2110
- name: string;
2111
- price: number;
2112
- special_instructions: string;
2113
- subtotal: number;
2114
- item_id: import("mongoose").Types.ObjectId;
2115
- quantity: number;
2116
- _net_amount: number;
2117
- _gross_amount: number;
2118
- _gst_amount: number;
2119
- _discount_amount: number;
2120
- is_ready?: boolean | null | undefined;
2121
- void_reason?: string | null | undefined;
2122
- }> & {
2123
- _id: import("mongoose").Types.ObjectId;
2124
- name: string;
2125
- price: number;
2126
- special_instructions: string;
2127
- subtotal: number;
2128
- item_id: import("mongoose").Types.ObjectId;
2129
- quantity: number;
2130
- _net_amount: number;
2131
- _gross_amount: number;
2132
- _gst_amount: number;
2133
- _discount_amount: number;
2134
- is_ready?: boolean | null | undefined;
2135
- void_reason?: string | null | undefined;
2136
- }>;
2137
- }>;
2138
- price: number;
2139
- payments: import("mongoose").Types.DocumentArray<{
2140
- payment_type: string;
2141
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
2142
- card_details: {
2143
- transaction_id: string;
2144
- payment_provider_linked_customer_id: string;
2145
- card_number: string;
2146
- card_type: string;
2147
- card_holder_name: string;
2148
- card_charges: number;
2149
- card_country_code: string;
2150
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
2151
- };
2152
- amount_paid: number;
2153
- amount_due: number;
2154
- amount_refunded: number;
2155
- payment_id: string;
2156
- _id?: import("mongoose").Types.ObjectId | null | undefined;
2157
- refund_reason?: string | null | undefined;
2158
- note?: string | null | undefined;
2159
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
2160
- payment_type: string;
2161
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
2162
- card_details: {
2163
- transaction_id: string;
2164
- payment_provider_linked_customer_id: string;
2165
- card_number: string;
2166
- card_type: string;
2167
- card_holder_name: string;
2168
- card_charges: number;
2169
- card_country_code: string;
2170
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
2171
- };
2172
- amount_paid: number;
2173
- amount_due: number;
2174
- amount_refunded: number;
2175
- payment_id: string;
2176
- _id?: import("mongoose").Types.ObjectId | null | undefined;
2177
- refund_reason?: string | null | undefined;
2178
- note?: string | null | undefined;
2179
- }> & {
2180
- payment_type: string;
2181
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
2182
- card_details: {
2183
- transaction_id: string;
2184
- payment_provider_linked_customer_id: string;
2185
- card_number: string;
2186
- card_type: string;
2187
- card_holder_name: string;
2188
- card_charges: number;
2189
- card_country_code: string;
2190
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
2191
- };
2192
- amount_paid: number;
2193
- amount_due: number;
2194
- amount_refunded: number;
2195
- payment_id: string;
2196
- _id?: import("mongoose").Types.ObjectId | null | undefined;
2197
- refund_reason?: string | null | undefined;
2198
- note?: string | null | undefined;
2199
- }>;
2200
- special_instructions: string;
2201
- order_status: import("../../constants").WAREHOUSE_INVOICE_STATUS_ENUM;
2202
- tax_number: string;
2203
- amount_earned: number;
2204
- grand_total: number;
2205
- staff_details?: {
2206
- staff_id: string;
2207
- staff_name: string;
2208
- staff_mobile: string;
2209
- staff_email: string;
2210
- } | null | undefined;
2211
- is_gst_inclusive?: boolean | null | undefined;
2212
- gst?: number | null | undefined;
2213
- gst_amount?: number | null | undefined;
2214
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
2215
- updatedAt: NativeDate;
2216
- categories: import("mongoose").Types.DocumentArray<{
2217
- name: string;
2218
- category_id: import("mongoose").Types.ObjectId;
2219
- items: import("mongoose").Types.DocumentArray<{
2220
- _id: import("mongoose").Types.ObjectId;
2221
- name: string;
2222
- price: number;
2223
- special_instructions: string;
2224
- subtotal: number;
2225
- item_id: import("mongoose").Types.ObjectId;
2226
- quantity: number;
2227
- _net_amount: number;
2228
- _gross_amount: number;
2229
- _gst_amount: number;
2230
- _discount_amount: number;
2231
- is_ready?: boolean | null | undefined;
2232
- void_reason?: string | null | undefined;
2233
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
2234
- _id: import("mongoose").Types.ObjectId;
2235
- name: string;
2236
- price: number;
2237
- special_instructions: string;
2238
- subtotal: number;
2239
- item_id: import("mongoose").Types.ObjectId;
2240
- quantity: number;
2241
- _net_amount: number;
2242
- _gross_amount: number;
2243
- _gst_amount: number;
2244
- _discount_amount: number;
2245
- is_ready?: boolean | null | undefined;
2246
- void_reason?: string | null | undefined;
2247
- }> & {
2248
- _id: import("mongoose").Types.ObjectId;
2249
- name: string;
2250
- price: number;
2251
- special_instructions: string;
2252
- subtotal: number;
2253
- item_id: import("mongoose").Types.ObjectId;
2254
- quantity: number;
2255
- _net_amount: number;
2256
- _gross_amount: number;
2257
- _gst_amount: number;
2258
- _discount_amount: number;
2259
- is_ready?: boolean | null | undefined;
2260
- void_reason?: string | null | undefined;
2261
- }>;
2262
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
2263
- name: string;
2264
- category_id: import("mongoose").Types.ObjectId;
2265
- items: import("mongoose").Types.DocumentArray<{
2266
- _id: import("mongoose").Types.ObjectId;
2267
- name: string;
2268
- price: number;
2269
- special_instructions: string;
2270
- subtotal: number;
2271
- item_id: import("mongoose").Types.ObjectId;
2272
- quantity: number;
2273
- _net_amount: number;
2274
- _gross_amount: number;
2275
- _gst_amount: number;
2276
- _discount_amount: number;
2277
- is_ready?: boolean | null | undefined;
2278
- void_reason?: string | null | undefined;
2279
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
2280
- _id: import("mongoose").Types.ObjectId;
2281
- name: string;
2282
- price: number;
2283
- special_instructions: string;
2284
- subtotal: number;
2285
- item_id: import("mongoose").Types.ObjectId;
2286
- quantity: number;
2287
- _net_amount: number;
2288
- _gross_amount: number;
2289
- _gst_amount: number;
2290
- _discount_amount: number;
2291
- is_ready?: boolean | null | undefined;
2292
- void_reason?: string | null | undefined;
2293
- }> & {
2294
- _id: import("mongoose").Types.ObjectId;
2295
- name: string;
2296
- price: number;
2297
- special_instructions: string;
2298
- subtotal: number;
2299
- item_id: import("mongoose").Types.ObjectId;
2300
- quantity: number;
2301
- _net_amount: number;
2302
- _gross_amount: number;
2303
- _gst_amount: number;
2304
- _discount_amount: number;
2305
- is_ready?: boolean | null | undefined;
2306
- void_reason?: string | null | undefined;
2307
- }>;
2308
- }> & {
2309
- name: string;
2310
- category_id: import("mongoose").Types.ObjectId;
2311
- items: import("mongoose").Types.DocumentArray<{
2312
- _id: import("mongoose").Types.ObjectId;
2313
- name: string;
2314
- price: number;
2315
- special_instructions: string;
2316
- subtotal: number;
2317
- item_id: import("mongoose").Types.ObjectId;
2318
- quantity: number;
2319
- _net_amount: number;
2320
- _gross_amount: number;
2321
- _gst_amount: number;
2322
- _discount_amount: number;
2323
- is_ready?: boolean | null | undefined;
2324
- void_reason?: string | null | undefined;
2325
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
2326
- _id: import("mongoose").Types.ObjectId;
2327
- name: string;
2328
- price: number;
2329
- special_instructions: string;
2330
- subtotal: number;
2331
- item_id: import("mongoose").Types.ObjectId;
2332
- quantity: number;
2333
- _net_amount: number;
2334
- _gross_amount: number;
2335
- _gst_amount: number;
2336
- _discount_amount: number;
2337
- is_ready?: boolean | null | undefined;
2338
- void_reason?: string | null | undefined;
2339
- }> & {
2340
- _id: import("mongoose").Types.ObjectId;
2341
- name: string;
2342
- price: number;
2343
- special_instructions: string;
2344
- subtotal: number;
2345
- item_id: import("mongoose").Types.ObjectId;
2346
- quantity: number;
2347
- _net_amount: number;
2348
- _gross_amount: number;
2349
- _gst_amount: number;
2350
- _discount_amount: number;
2351
- is_ready?: boolean | null | undefined;
2352
- void_reason?: string | null | undefined;
2353
- }>;
2354
- }>;
2355
- price: number;
2356
- payments: import("mongoose").Types.DocumentArray<{
2357
- payment_type: string;
2358
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
2359
- card_details: {
2360
- transaction_id: string;
2361
- payment_provider_linked_customer_id: string;
2362
- card_number: string;
2363
- card_type: string;
2364
- card_holder_name: string;
2365
- card_charges: number;
2366
- card_country_code: string;
2367
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
2368
- };
2369
- amount_paid: number;
2370
- amount_due: number;
2371
- amount_refunded: number;
2372
- payment_id: string;
2373
- _id?: import("mongoose").Types.ObjectId | null | undefined;
2374
- refund_reason?: string | null | undefined;
2375
- note?: string | null | undefined;
2376
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
2377
- payment_type: string;
2378
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
2379
- card_details: {
2380
- transaction_id: string;
2381
- payment_provider_linked_customer_id: string;
2382
- card_number: string;
2383
- card_type: string;
2384
- card_holder_name: string;
2385
- card_charges: number;
2386
- card_country_code: string;
2387
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
2388
- };
2389
- amount_paid: number;
2390
- amount_due: number;
2391
- amount_refunded: number;
2392
- payment_id: string;
2393
- _id?: import("mongoose").Types.ObjectId | null | undefined;
2394
- refund_reason?: string | null | undefined;
2395
- note?: string | null | undefined;
2396
- }> & {
2397
- payment_type: string;
2398
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
2399
- card_details: {
2400
- transaction_id: string;
2401
- payment_provider_linked_customer_id: string;
2402
- card_number: string;
2403
- card_type: string;
2404
- card_holder_name: string;
2405
- card_charges: number;
2406
- card_country_code: string;
2407
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
2408
- };
2409
- amount_paid: number;
2410
- amount_due: number;
2411
- amount_refunded: number;
2412
- payment_id: string;
2413
- _id?: import("mongoose").Types.ObjectId | null | undefined;
2414
- refund_reason?: string | null | undefined;
2415
- note?: string | null | undefined;
2416
- }>;
2417
- special_instructions: string;
2418
- order_status: import("../../constants").WAREHOUSE_INVOICE_STATUS_ENUM;
2419
- tax_number: string;
2420
- amount_earned: number;
2421
- grand_total: number;
2422
- staff_details?: {
2423
- staff_id: string;
2424
- staff_name: string;
2425
- staff_mobile: string;
2426
- staff_email: string;
2427
- } | null | undefined;
2428
- is_gst_inclusive?: boolean | null | undefined;
2429
- gst?: number | null | undefined;
2430
- gst_amount?: number | null | undefined;
2431
- }> & {
2432
- updatedAt: NativeDate;
2433
- categories: import("mongoose").Types.DocumentArray<{
2434
- name: string;
2435
- category_id: import("mongoose").Types.ObjectId;
2436
- items: import("mongoose").Types.DocumentArray<{
2437
- _id: import("mongoose").Types.ObjectId;
2438
- name: string;
2439
- price: number;
2440
- special_instructions: string;
2441
- subtotal: number;
2442
- item_id: import("mongoose").Types.ObjectId;
2443
- quantity: number;
2444
- _net_amount: number;
2445
- _gross_amount: number;
2446
- _gst_amount: number;
2447
- _discount_amount: number;
2448
- is_ready?: boolean | null | undefined;
2449
- void_reason?: string | null | undefined;
2450
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
2451
- _id: import("mongoose").Types.ObjectId;
2452
- name: string;
2453
- price: number;
2454
- special_instructions: string;
2455
- subtotal: number;
2456
- item_id: import("mongoose").Types.ObjectId;
2457
- quantity: number;
2458
- _net_amount: number;
2459
- _gross_amount: number;
2460
- _gst_amount: number;
2461
- _discount_amount: number;
2462
- is_ready?: boolean | null | undefined;
2463
- void_reason?: string | null | undefined;
2464
- }> & {
2465
- _id: import("mongoose").Types.ObjectId;
2466
- name: string;
2467
- price: number;
2468
- special_instructions: string;
2469
- subtotal: number;
2470
- item_id: import("mongoose").Types.ObjectId;
2471
- quantity: number;
2472
- _net_amount: number;
2473
- _gross_amount: number;
2474
- _gst_amount: number;
2475
- _discount_amount: number;
2476
- is_ready?: boolean | null | undefined;
2477
- void_reason?: string | null | undefined;
2478
- }>;
2479
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
2480
- name: string;
2481
- category_id: import("mongoose").Types.ObjectId;
2482
- items: import("mongoose").Types.DocumentArray<{
2483
- _id: import("mongoose").Types.ObjectId;
2484
- name: string;
2485
- price: number;
2486
- special_instructions: string;
2487
- subtotal: number;
2488
- item_id: import("mongoose").Types.ObjectId;
2489
- quantity: number;
2490
- _net_amount: number;
2491
- _gross_amount: number;
2492
- _gst_amount: number;
2493
- _discount_amount: number;
2494
- is_ready?: boolean | null | undefined;
2495
- void_reason?: string | null | undefined;
2496
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
2497
- _id: import("mongoose").Types.ObjectId;
2498
- name: string;
2499
- price: number;
2500
- special_instructions: string;
2501
- subtotal: number;
2502
- item_id: import("mongoose").Types.ObjectId;
2503
- quantity: number;
2504
- _net_amount: number;
2505
- _gross_amount: number;
2506
- _gst_amount: number;
2507
- _discount_amount: number;
2508
- is_ready?: boolean | null | undefined;
2509
- void_reason?: string | null | undefined;
2510
- }> & {
2511
- _id: import("mongoose").Types.ObjectId;
2512
- name: string;
2513
- price: number;
2514
- special_instructions: string;
2515
- subtotal: number;
2516
- item_id: import("mongoose").Types.ObjectId;
2517
- quantity: number;
2518
- _net_amount: number;
2519
- _gross_amount: number;
2520
- _gst_amount: number;
2521
- _discount_amount: number;
2522
- is_ready?: boolean | null | undefined;
2523
- void_reason?: string | null | undefined;
2524
- }>;
2525
- }> & {
2526
- name: string;
2527
- category_id: import("mongoose").Types.ObjectId;
2528
- items: import("mongoose").Types.DocumentArray<{
2529
- _id: import("mongoose").Types.ObjectId;
2530
- name: string;
2531
- price: number;
2532
- special_instructions: string;
2533
- subtotal: number;
2534
- item_id: import("mongoose").Types.ObjectId;
2535
- quantity: number;
2536
- _net_amount: number;
2537
- _gross_amount: number;
2538
- _gst_amount: number;
2539
- _discount_amount: number;
2540
- is_ready?: boolean | null | undefined;
2541
- void_reason?: string | null | undefined;
2542
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
2543
- _id: import("mongoose").Types.ObjectId;
2544
- name: string;
2545
- price: number;
2546
- special_instructions: string;
2547
- subtotal: number;
2548
- item_id: import("mongoose").Types.ObjectId;
2549
- quantity: number;
2550
- _net_amount: number;
2551
- _gross_amount: number;
2552
- _gst_amount: number;
2553
- _discount_amount: number;
2554
- is_ready?: boolean | null | undefined;
2555
- void_reason?: string | null | undefined;
2556
- }> & {
2557
- _id: import("mongoose").Types.ObjectId;
2558
- name: string;
2559
- price: number;
2560
- special_instructions: string;
2561
- subtotal: number;
2562
- item_id: import("mongoose").Types.ObjectId;
2563
- quantity: number;
2564
- _net_amount: number;
2565
- _gross_amount: number;
2566
- _gst_amount: number;
2567
- _discount_amount: number;
2568
- is_ready?: boolean | null | undefined;
2569
- void_reason?: string | null | undefined;
2570
- }>;
2571
- }>;
2572
- price: number;
2573
- payments: import("mongoose").Types.DocumentArray<{
2574
- payment_type: string;
2575
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
2576
- card_details: {
2577
- transaction_id: string;
2578
- payment_provider_linked_customer_id: string;
2579
- card_number: string;
2580
- card_type: string;
2581
- card_holder_name: string;
2582
- card_charges: number;
2583
- card_country_code: string;
2584
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
2585
- };
2586
- amount_paid: number;
2587
- amount_due: number;
2588
- amount_refunded: number;
2589
- payment_id: string;
2590
- _id?: import("mongoose").Types.ObjectId | null | undefined;
2591
- refund_reason?: string | null | undefined;
2592
- note?: string | null | undefined;
2593
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
2594
- payment_type: string;
2595
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
2596
- card_details: {
2597
- transaction_id: string;
2598
- payment_provider_linked_customer_id: string;
2599
- card_number: string;
2600
- card_type: string;
2601
- card_holder_name: string;
2602
- card_charges: number;
2603
- card_country_code: string;
2604
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
2605
- };
2606
- amount_paid: number;
2607
- amount_due: number;
2608
- amount_refunded: number;
2609
- payment_id: string;
2610
- _id?: import("mongoose").Types.ObjectId | null | undefined;
2611
- refund_reason?: string | null | undefined;
2612
- note?: string | null | undefined;
2613
- }> & {
2614
- payment_type: string;
2615
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
2616
- card_details: {
2617
- transaction_id: string;
2618
- payment_provider_linked_customer_id: string;
2619
- card_number: string;
2620
- card_type: string;
2621
- card_holder_name: string;
2622
- card_charges: number;
2623
- card_country_code: string;
2624
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
2625
- };
2626
- amount_paid: number;
2627
- amount_due: number;
2628
- amount_refunded: number;
2629
- payment_id: string;
2630
- _id?: import("mongoose").Types.ObjectId | null | undefined;
2631
- refund_reason?: string | null | undefined;
2632
- note?: string | null | undefined;
2633
- }>;
2634
- special_instructions: string;
2635
- order_status: import("../../constants").WAREHOUSE_INVOICE_STATUS_ENUM;
2636
- tax_number: string;
2637
- amount_earned: number;
2638
- grand_total: number;
2639
- staff_details?: {
2640
- staff_id: string;
2641
- staff_name: string;
2642
- staff_mobile: string;
2643
- staff_email: string;
2644
- } | null | undefined;
2645
- is_gst_inclusive?: boolean | null | undefined;
2646
- gst?: number | null | undefined;
2647
- gst_amount?: number | null | undefined;
2648
- }>;
2649
- amount_collected: number;
2650
- is_deleted: boolean;
2651
- order_status_updated_at: NativeDate;
2652
- warehouse_id: string;
2653
- client_name: string;
2654
- client_id: import("mongoose").Types.ObjectId;
2655
- order_settled_at: NativeDate;
2656
- order_settled_at_mins: number;
2657
- staff_details: {
2658
- staff_id: string;
2659
- staff_name: string;
2660
- staff_mobile: string;
2661
- staff_email: string;
2662
- };
2663
- cancel_reason?: string | null | undefined;
2664
- delete_reason?: string | null | undefined;
2665
- is_reopened?: boolean | null | undefined;
2666
- deferred_settlement?: boolean | null | undefined;
2667
- is_gst_inclusive?: boolean | null | undefined;
2668
- gst?: number | null | undefined;
2669
- gst_amount?: number | null | undefined;
2670
- }> & Required<{
2671
- _id: import("mongoose").Types.ObjectId;
2672
- }> & {
2673
- __v: number;
2674
- }>;
2675
- export declare const WAREHOUSE_INVOICES_COLLECTION_NAME = "warehouse_invoices";