@managesome/eposmatic-toolkit 0.2.597 → 0.2.601

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.
@@ -1,5 +1,326 @@
1
1
  import { Schema } from 'mongoose';
2
2
  export declare const WAREHOUSE_INTERNAL_MOVEMENTS_COLLECTION_NAME = "warehouse_internal_movements";
3
+ export declare const WarehouseInternalMovementIterationSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
4
+ _id: false;
5
+ timestamps: false;
6
+ versionKey: false;
7
+ }, {
8
+ updatedAt: NativeDate;
9
+ items: import("mongoose").Types.DocumentArray<{
10
+ _id: import("mongoose").Types.ObjectId;
11
+ inventory_code: string;
12
+ item_id: import("mongoose").Types.ObjectId;
13
+ quantity: number;
14
+ item_name: string;
15
+ received_qty: number;
16
+ notes?: string | null | undefined;
17
+ unit_price?: number | null | undefined;
18
+ dispatched_qty?: number | null | undefined;
19
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
20
+ _id: import("mongoose").Types.ObjectId;
21
+ inventory_code: string;
22
+ item_id: import("mongoose").Types.ObjectId;
23
+ quantity: number;
24
+ item_name: string;
25
+ received_qty: number;
26
+ notes?: string | null | undefined;
27
+ unit_price?: number | null | undefined;
28
+ dispatched_qty?: number | null | undefined;
29
+ }> & {
30
+ _id: import("mongoose").Types.ObjectId;
31
+ inventory_code: string;
32
+ item_id: import("mongoose").Types.ObjectId;
33
+ quantity: number;
34
+ item_name: string;
35
+ received_qty: number;
36
+ notes?: string | null | undefined;
37
+ unit_price?: number | null | undefined;
38
+ dispatched_qty?: number | null | undefined;
39
+ }>;
40
+ status: import("../../constants").WAREHOUSE_INTERNAL_MOVEMENT_STATUS_ENUM;
41
+ amount_collected: number;
42
+ amount_earned: number;
43
+ grand_total: number;
44
+ payments: import("mongoose").Types.DocumentArray<{
45
+ payment_type: string;
46
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
47
+ card_details: {
48
+ transaction_id: string;
49
+ payment_provider_linked_customer_id: string;
50
+ card_number: string;
51
+ card_type: string;
52
+ card_holder_name: string;
53
+ card_charges: number;
54
+ card_country_code: string;
55
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
56
+ };
57
+ amount_paid: number;
58
+ amount_due: number;
59
+ amount_refunded: number;
60
+ payment_id: string;
61
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
62
+ refund_reason?: string | null | undefined;
63
+ note?: string | null | undefined;
64
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
65
+ payment_type: string;
66
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
67
+ card_details: {
68
+ transaction_id: string;
69
+ payment_provider_linked_customer_id: string;
70
+ card_number: string;
71
+ card_type: string;
72
+ card_holder_name: string;
73
+ card_charges: number;
74
+ card_country_code: string;
75
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
76
+ };
77
+ amount_paid: number;
78
+ amount_due: number;
79
+ amount_refunded: number;
80
+ payment_id: string;
81
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
82
+ refund_reason?: string | null | undefined;
83
+ note?: string | null | undefined;
84
+ }> & {
85
+ payment_type: string;
86
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
87
+ card_details: {
88
+ transaction_id: string;
89
+ payment_provider_linked_customer_id: string;
90
+ card_number: string;
91
+ card_type: string;
92
+ card_holder_name: string;
93
+ card_charges: number;
94
+ card_country_code: string;
95
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
96
+ };
97
+ amount_paid: number;
98
+ amount_due: number;
99
+ amount_refunded: number;
100
+ payment_id: string;
101
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
102
+ refund_reason?: string | null | undefined;
103
+ note?: string | null | undefined;
104
+ }>;
105
+ total_items: number;
106
+ total_quantity: number;
107
+ is_gst_inclusive?: boolean | null | undefined;
108
+ gst?: number | null | undefined;
109
+ gst_amount?: number | null | undefined;
110
+ notes?: string | null | undefined;
111
+ }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
112
+ updatedAt: NativeDate;
113
+ items: import("mongoose").Types.DocumentArray<{
114
+ _id: import("mongoose").Types.ObjectId;
115
+ inventory_code: string;
116
+ item_id: import("mongoose").Types.ObjectId;
117
+ quantity: number;
118
+ item_name: string;
119
+ received_qty: number;
120
+ notes?: string | null | undefined;
121
+ unit_price?: number | null | undefined;
122
+ dispatched_qty?: number | null | undefined;
123
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
124
+ _id: import("mongoose").Types.ObjectId;
125
+ inventory_code: string;
126
+ item_id: import("mongoose").Types.ObjectId;
127
+ quantity: number;
128
+ item_name: string;
129
+ received_qty: number;
130
+ notes?: string | null | undefined;
131
+ unit_price?: number | null | undefined;
132
+ dispatched_qty?: number | null | undefined;
133
+ }> & {
134
+ _id: import("mongoose").Types.ObjectId;
135
+ inventory_code: string;
136
+ item_id: import("mongoose").Types.ObjectId;
137
+ quantity: number;
138
+ item_name: string;
139
+ received_qty: number;
140
+ notes?: string | null | undefined;
141
+ unit_price?: number | null | undefined;
142
+ dispatched_qty?: number | null | undefined;
143
+ }>;
144
+ status: import("../../constants").WAREHOUSE_INTERNAL_MOVEMENT_STATUS_ENUM;
145
+ amount_collected: number;
146
+ amount_earned: number;
147
+ grand_total: number;
148
+ payments: import("mongoose").Types.DocumentArray<{
149
+ payment_type: string;
150
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
151
+ card_details: {
152
+ transaction_id: string;
153
+ payment_provider_linked_customer_id: string;
154
+ card_number: string;
155
+ card_type: string;
156
+ card_holder_name: string;
157
+ card_charges: number;
158
+ card_country_code: string;
159
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
160
+ };
161
+ amount_paid: number;
162
+ amount_due: number;
163
+ amount_refunded: number;
164
+ payment_id: string;
165
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
166
+ refund_reason?: string | null | undefined;
167
+ note?: string | null | undefined;
168
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
169
+ payment_type: string;
170
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
171
+ card_details: {
172
+ transaction_id: string;
173
+ payment_provider_linked_customer_id: string;
174
+ card_number: string;
175
+ card_type: string;
176
+ card_holder_name: string;
177
+ card_charges: number;
178
+ card_country_code: string;
179
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
180
+ };
181
+ amount_paid: number;
182
+ amount_due: number;
183
+ amount_refunded: number;
184
+ payment_id: string;
185
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
186
+ refund_reason?: string | null | undefined;
187
+ note?: string | null | undefined;
188
+ }> & {
189
+ payment_type: string;
190
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
191
+ card_details: {
192
+ transaction_id: string;
193
+ payment_provider_linked_customer_id: string;
194
+ card_number: string;
195
+ card_type: string;
196
+ card_holder_name: string;
197
+ card_charges: number;
198
+ card_country_code: string;
199
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
200
+ };
201
+ amount_paid: number;
202
+ amount_due: number;
203
+ amount_refunded: number;
204
+ payment_id: string;
205
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
206
+ refund_reason?: string | null | undefined;
207
+ note?: string | null | undefined;
208
+ }>;
209
+ total_items: number;
210
+ total_quantity: number;
211
+ is_gst_inclusive?: boolean | null | undefined;
212
+ gst?: number | null | undefined;
213
+ gst_amount?: number | null | undefined;
214
+ notes?: string | null | undefined;
215
+ }>> & import("mongoose").FlatRecord<{
216
+ updatedAt: NativeDate;
217
+ items: import("mongoose").Types.DocumentArray<{
218
+ _id: import("mongoose").Types.ObjectId;
219
+ inventory_code: string;
220
+ item_id: import("mongoose").Types.ObjectId;
221
+ quantity: number;
222
+ item_name: string;
223
+ received_qty: number;
224
+ notes?: string | null | undefined;
225
+ unit_price?: number | null | undefined;
226
+ dispatched_qty?: number | null | undefined;
227
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
228
+ _id: import("mongoose").Types.ObjectId;
229
+ inventory_code: string;
230
+ item_id: import("mongoose").Types.ObjectId;
231
+ quantity: number;
232
+ item_name: string;
233
+ received_qty: number;
234
+ notes?: string | null | undefined;
235
+ unit_price?: number | null | undefined;
236
+ dispatched_qty?: number | null | undefined;
237
+ }> & {
238
+ _id: import("mongoose").Types.ObjectId;
239
+ inventory_code: string;
240
+ item_id: import("mongoose").Types.ObjectId;
241
+ quantity: number;
242
+ item_name: string;
243
+ received_qty: number;
244
+ notes?: string | null | undefined;
245
+ unit_price?: number | null | undefined;
246
+ dispatched_qty?: number | null | undefined;
247
+ }>;
248
+ status: import("../../constants").WAREHOUSE_INTERNAL_MOVEMENT_STATUS_ENUM;
249
+ amount_collected: number;
250
+ amount_earned: number;
251
+ grand_total: number;
252
+ payments: import("mongoose").Types.DocumentArray<{
253
+ payment_type: string;
254
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
255
+ card_details: {
256
+ transaction_id: string;
257
+ payment_provider_linked_customer_id: string;
258
+ card_number: string;
259
+ card_type: string;
260
+ card_holder_name: string;
261
+ card_charges: number;
262
+ card_country_code: string;
263
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
264
+ };
265
+ amount_paid: number;
266
+ amount_due: number;
267
+ amount_refunded: number;
268
+ payment_id: string;
269
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
270
+ refund_reason?: string | null | undefined;
271
+ note?: string | null | undefined;
272
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
273
+ payment_type: string;
274
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
275
+ card_details: {
276
+ transaction_id: string;
277
+ payment_provider_linked_customer_id: string;
278
+ card_number: string;
279
+ card_type: string;
280
+ card_holder_name: string;
281
+ card_charges: number;
282
+ card_country_code: string;
283
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
284
+ };
285
+ amount_paid: number;
286
+ amount_due: number;
287
+ amount_refunded: number;
288
+ payment_id: string;
289
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
290
+ refund_reason?: string | null | undefined;
291
+ note?: string | null | undefined;
292
+ }> & {
293
+ payment_type: string;
294
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
295
+ card_details: {
296
+ transaction_id: string;
297
+ payment_provider_linked_customer_id: string;
298
+ card_number: string;
299
+ card_type: string;
300
+ card_holder_name: string;
301
+ card_charges: number;
302
+ card_country_code: string;
303
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
304
+ };
305
+ amount_paid: number;
306
+ amount_due: number;
307
+ amount_refunded: number;
308
+ payment_id: string;
309
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
310
+ refund_reason?: string | null | undefined;
311
+ note?: string | null | undefined;
312
+ }>;
313
+ total_items: number;
314
+ total_quantity: number;
315
+ is_gst_inclusive?: boolean | null | undefined;
316
+ gst?: number | null | undefined;
317
+ gst_amount?: number | null | undefined;
318
+ notes?: string | null | undefined;
319
+ }> & {
320
+ _id: import("mongoose").Types.ObjectId;
321
+ } & {
322
+ __v: number;
323
+ }>;
3
324
  export declare const WarehouseInternalMovementsSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
4
325
  timestamps: true;
5
326
  versionKey: false;
@@ -44,6 +365,323 @@ export declare const WarehouseInternalMovementsSchema: Schema<any, import("mongo
44
365
  }>;
45
366
  ref_id: string;
46
367
  status: import("../../constants").WAREHOUSE_INTERNAL_MOVEMENT_STATUS_ENUM;
368
+ iterations: import("mongoose").Types.DocumentArray<{
369
+ updatedAt: NativeDate;
370
+ items: import("mongoose").Types.DocumentArray<{
371
+ _id: import("mongoose").Types.ObjectId;
372
+ inventory_code: string;
373
+ item_id: import("mongoose").Types.ObjectId;
374
+ quantity: number;
375
+ item_name: string;
376
+ received_qty: number;
377
+ notes?: string | null | undefined;
378
+ unit_price?: number | null | undefined;
379
+ dispatched_qty?: number | null | undefined;
380
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
381
+ _id: import("mongoose").Types.ObjectId;
382
+ inventory_code: string;
383
+ item_id: import("mongoose").Types.ObjectId;
384
+ quantity: number;
385
+ item_name: string;
386
+ received_qty: number;
387
+ notes?: string | null | undefined;
388
+ unit_price?: number | null | undefined;
389
+ dispatched_qty?: number | null | undefined;
390
+ }> & {
391
+ _id: import("mongoose").Types.ObjectId;
392
+ inventory_code: string;
393
+ item_id: import("mongoose").Types.ObjectId;
394
+ quantity: number;
395
+ item_name: string;
396
+ received_qty: number;
397
+ notes?: string | null | undefined;
398
+ unit_price?: number | null | undefined;
399
+ dispatched_qty?: number | null | undefined;
400
+ }>;
401
+ status: import("../../constants").WAREHOUSE_INTERNAL_MOVEMENT_STATUS_ENUM;
402
+ amount_collected: number;
403
+ amount_earned: number;
404
+ grand_total: number;
405
+ payments: import("mongoose").Types.DocumentArray<{
406
+ payment_type: string;
407
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
408
+ card_details: {
409
+ transaction_id: string;
410
+ payment_provider_linked_customer_id: string;
411
+ card_number: string;
412
+ card_type: string;
413
+ card_holder_name: string;
414
+ card_charges: number;
415
+ card_country_code: string;
416
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
417
+ };
418
+ amount_paid: number;
419
+ amount_due: number;
420
+ amount_refunded: number;
421
+ payment_id: string;
422
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
423
+ refund_reason?: string | null | undefined;
424
+ note?: string | null | undefined;
425
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
426
+ payment_type: string;
427
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
428
+ card_details: {
429
+ transaction_id: string;
430
+ payment_provider_linked_customer_id: string;
431
+ card_number: string;
432
+ card_type: string;
433
+ card_holder_name: string;
434
+ card_charges: number;
435
+ card_country_code: string;
436
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
437
+ };
438
+ amount_paid: number;
439
+ amount_due: number;
440
+ amount_refunded: number;
441
+ payment_id: string;
442
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
443
+ refund_reason?: string | null | undefined;
444
+ note?: string | null | undefined;
445
+ }> & {
446
+ payment_type: string;
447
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
448
+ card_details: {
449
+ transaction_id: string;
450
+ payment_provider_linked_customer_id: string;
451
+ card_number: string;
452
+ card_type: string;
453
+ card_holder_name: string;
454
+ card_charges: number;
455
+ card_country_code: string;
456
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
457
+ };
458
+ amount_paid: number;
459
+ amount_due: number;
460
+ amount_refunded: number;
461
+ payment_id: string;
462
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
463
+ refund_reason?: string | null | undefined;
464
+ note?: string | null | undefined;
465
+ }>;
466
+ total_items: number;
467
+ total_quantity: number;
468
+ is_gst_inclusive?: boolean | null | undefined;
469
+ gst?: number | null | undefined;
470
+ gst_amount?: number | null | undefined;
471
+ notes?: string | null | undefined;
472
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
473
+ updatedAt: NativeDate;
474
+ items: import("mongoose").Types.DocumentArray<{
475
+ _id: import("mongoose").Types.ObjectId;
476
+ inventory_code: string;
477
+ item_id: import("mongoose").Types.ObjectId;
478
+ quantity: number;
479
+ item_name: string;
480
+ received_qty: number;
481
+ notes?: string | null | undefined;
482
+ unit_price?: number | null | undefined;
483
+ dispatched_qty?: number | null | undefined;
484
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
485
+ _id: import("mongoose").Types.ObjectId;
486
+ inventory_code: string;
487
+ item_id: import("mongoose").Types.ObjectId;
488
+ quantity: number;
489
+ item_name: string;
490
+ received_qty: number;
491
+ notes?: string | null | undefined;
492
+ unit_price?: number | null | undefined;
493
+ dispatched_qty?: number | null | undefined;
494
+ }> & {
495
+ _id: import("mongoose").Types.ObjectId;
496
+ inventory_code: string;
497
+ item_id: import("mongoose").Types.ObjectId;
498
+ quantity: number;
499
+ item_name: string;
500
+ received_qty: number;
501
+ notes?: string | null | undefined;
502
+ unit_price?: number | null | undefined;
503
+ dispatched_qty?: number | null | undefined;
504
+ }>;
505
+ status: import("../../constants").WAREHOUSE_INTERNAL_MOVEMENT_STATUS_ENUM;
506
+ amount_collected: number;
507
+ amount_earned: number;
508
+ grand_total: number;
509
+ payments: import("mongoose").Types.DocumentArray<{
510
+ payment_type: string;
511
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
512
+ card_details: {
513
+ transaction_id: string;
514
+ payment_provider_linked_customer_id: string;
515
+ card_number: string;
516
+ card_type: string;
517
+ card_holder_name: string;
518
+ card_charges: number;
519
+ card_country_code: string;
520
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
521
+ };
522
+ amount_paid: number;
523
+ amount_due: number;
524
+ amount_refunded: number;
525
+ payment_id: string;
526
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
527
+ refund_reason?: string | null | undefined;
528
+ note?: string | null | undefined;
529
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
530
+ payment_type: string;
531
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
532
+ card_details: {
533
+ transaction_id: string;
534
+ payment_provider_linked_customer_id: string;
535
+ card_number: string;
536
+ card_type: string;
537
+ card_holder_name: string;
538
+ card_charges: number;
539
+ card_country_code: string;
540
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
541
+ };
542
+ amount_paid: number;
543
+ amount_due: number;
544
+ amount_refunded: number;
545
+ payment_id: string;
546
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
547
+ refund_reason?: string | null | undefined;
548
+ note?: string | null | undefined;
549
+ }> & {
550
+ payment_type: string;
551
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
552
+ card_details: {
553
+ transaction_id: string;
554
+ payment_provider_linked_customer_id: string;
555
+ card_number: string;
556
+ card_type: string;
557
+ card_holder_name: string;
558
+ card_charges: number;
559
+ card_country_code: string;
560
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
561
+ };
562
+ amount_paid: number;
563
+ amount_due: number;
564
+ amount_refunded: number;
565
+ payment_id: string;
566
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
567
+ refund_reason?: string | null | undefined;
568
+ note?: string | null | undefined;
569
+ }>;
570
+ total_items: number;
571
+ total_quantity: number;
572
+ is_gst_inclusive?: boolean | null | undefined;
573
+ gst?: number | null | undefined;
574
+ gst_amount?: number | null | undefined;
575
+ notes?: string | null | undefined;
576
+ }> & {
577
+ updatedAt: NativeDate;
578
+ items: import("mongoose").Types.DocumentArray<{
579
+ _id: import("mongoose").Types.ObjectId;
580
+ inventory_code: string;
581
+ item_id: import("mongoose").Types.ObjectId;
582
+ quantity: number;
583
+ item_name: string;
584
+ received_qty: number;
585
+ notes?: string | null | undefined;
586
+ unit_price?: number | null | undefined;
587
+ dispatched_qty?: number | null | undefined;
588
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
589
+ _id: import("mongoose").Types.ObjectId;
590
+ inventory_code: string;
591
+ item_id: import("mongoose").Types.ObjectId;
592
+ quantity: number;
593
+ item_name: string;
594
+ received_qty: number;
595
+ notes?: string | null | undefined;
596
+ unit_price?: number | null | undefined;
597
+ dispatched_qty?: number | null | undefined;
598
+ }> & {
599
+ _id: import("mongoose").Types.ObjectId;
600
+ inventory_code: string;
601
+ item_id: import("mongoose").Types.ObjectId;
602
+ quantity: number;
603
+ item_name: string;
604
+ received_qty: number;
605
+ notes?: string | null | undefined;
606
+ unit_price?: number | null | undefined;
607
+ dispatched_qty?: number | null | undefined;
608
+ }>;
609
+ status: import("../../constants").WAREHOUSE_INTERNAL_MOVEMENT_STATUS_ENUM;
610
+ amount_collected: number;
611
+ amount_earned: number;
612
+ grand_total: number;
613
+ payments: import("mongoose").Types.DocumentArray<{
614
+ payment_type: string;
615
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
616
+ card_details: {
617
+ transaction_id: string;
618
+ payment_provider_linked_customer_id: string;
619
+ card_number: string;
620
+ card_type: string;
621
+ card_holder_name: string;
622
+ card_charges: number;
623
+ card_country_code: string;
624
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
625
+ };
626
+ amount_paid: number;
627
+ amount_due: number;
628
+ amount_refunded: number;
629
+ payment_id: string;
630
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
631
+ refund_reason?: string | null | undefined;
632
+ note?: string | null | undefined;
633
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
634
+ payment_type: string;
635
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
636
+ card_details: {
637
+ transaction_id: string;
638
+ payment_provider_linked_customer_id: string;
639
+ card_number: string;
640
+ card_type: string;
641
+ card_holder_name: string;
642
+ card_charges: number;
643
+ card_country_code: string;
644
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
645
+ };
646
+ amount_paid: number;
647
+ amount_due: number;
648
+ amount_refunded: number;
649
+ payment_id: string;
650
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
651
+ refund_reason?: string | null | undefined;
652
+ note?: string | null | undefined;
653
+ }> & {
654
+ payment_type: string;
655
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
656
+ card_details: {
657
+ transaction_id: string;
658
+ payment_provider_linked_customer_id: string;
659
+ card_number: string;
660
+ card_type: string;
661
+ card_holder_name: string;
662
+ card_charges: number;
663
+ card_country_code: string;
664
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
665
+ };
666
+ amount_paid: number;
667
+ amount_due: number;
668
+ amount_refunded: number;
669
+ payment_id: string;
670
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
671
+ refund_reason?: string | null | undefined;
672
+ note?: string | null | undefined;
673
+ }>;
674
+ total_items: number;
675
+ total_quantity: number;
676
+ is_gst_inclusive?: boolean | null | undefined;
677
+ gst?: number | null | undefined;
678
+ gst_amount?: number | null | undefined;
679
+ notes?: string | null | undefined;
680
+ }>;
681
+ amount_collected: number;
682
+ is_deleted: boolean;
683
+ amount_earned: number;
684
+ grand_total: number;
47
685
  payments: import("mongoose").Types.DocumentArray<{
48
686
  payment_type: string;
49
687
  payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
@@ -105,10 +743,6 @@ export declare const WarehouseInternalMovementsSchema: Schema<any, import("mongo
105
743
  refund_reason?: string | null | undefined;
106
744
  note?: string | null | undefined;
107
745
  }>;
108
- amount_collected: number;
109
- is_deleted: boolean;
110
- amount_earned: number;
111
- grand_total: number;
112
746
  created_by: {
113
747
  name: string;
114
748
  uid: string;
@@ -232,6 +866,323 @@ export declare const WarehouseInternalMovementsSchema: Schema<any, import("mongo
232
866
  }>;
233
867
  ref_id: string;
234
868
  status: import("../../constants").WAREHOUSE_INTERNAL_MOVEMENT_STATUS_ENUM;
869
+ iterations: import("mongoose").Types.DocumentArray<{
870
+ updatedAt: NativeDate;
871
+ items: import("mongoose").Types.DocumentArray<{
872
+ _id: import("mongoose").Types.ObjectId;
873
+ inventory_code: string;
874
+ item_id: import("mongoose").Types.ObjectId;
875
+ quantity: number;
876
+ item_name: string;
877
+ received_qty: number;
878
+ notes?: string | null | undefined;
879
+ unit_price?: number | null | undefined;
880
+ dispatched_qty?: number | null | undefined;
881
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
882
+ _id: import("mongoose").Types.ObjectId;
883
+ inventory_code: string;
884
+ item_id: import("mongoose").Types.ObjectId;
885
+ quantity: number;
886
+ item_name: string;
887
+ received_qty: number;
888
+ notes?: string | null | undefined;
889
+ unit_price?: number | null | undefined;
890
+ dispatched_qty?: number | null | undefined;
891
+ }> & {
892
+ _id: import("mongoose").Types.ObjectId;
893
+ inventory_code: string;
894
+ item_id: import("mongoose").Types.ObjectId;
895
+ quantity: number;
896
+ item_name: string;
897
+ received_qty: number;
898
+ notes?: string | null | undefined;
899
+ unit_price?: number | null | undefined;
900
+ dispatched_qty?: number | null | undefined;
901
+ }>;
902
+ status: import("../../constants").WAREHOUSE_INTERNAL_MOVEMENT_STATUS_ENUM;
903
+ amount_collected: number;
904
+ amount_earned: number;
905
+ grand_total: number;
906
+ payments: import("mongoose").Types.DocumentArray<{
907
+ payment_type: string;
908
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
909
+ card_details: {
910
+ transaction_id: string;
911
+ payment_provider_linked_customer_id: string;
912
+ card_number: string;
913
+ card_type: string;
914
+ card_holder_name: string;
915
+ card_charges: number;
916
+ card_country_code: string;
917
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
918
+ };
919
+ amount_paid: number;
920
+ amount_due: number;
921
+ amount_refunded: number;
922
+ payment_id: string;
923
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
924
+ refund_reason?: string | null | undefined;
925
+ note?: string | null | undefined;
926
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
927
+ payment_type: string;
928
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
929
+ card_details: {
930
+ transaction_id: string;
931
+ payment_provider_linked_customer_id: string;
932
+ card_number: string;
933
+ card_type: string;
934
+ card_holder_name: string;
935
+ card_charges: number;
936
+ card_country_code: string;
937
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
938
+ };
939
+ amount_paid: number;
940
+ amount_due: number;
941
+ amount_refunded: number;
942
+ payment_id: string;
943
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
944
+ refund_reason?: string | null | undefined;
945
+ note?: string | null | undefined;
946
+ }> & {
947
+ payment_type: string;
948
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
949
+ card_details: {
950
+ transaction_id: string;
951
+ payment_provider_linked_customer_id: string;
952
+ card_number: string;
953
+ card_type: string;
954
+ card_holder_name: string;
955
+ card_charges: number;
956
+ card_country_code: string;
957
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
958
+ };
959
+ amount_paid: number;
960
+ amount_due: number;
961
+ amount_refunded: number;
962
+ payment_id: string;
963
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
964
+ refund_reason?: string | null | undefined;
965
+ note?: string | null | undefined;
966
+ }>;
967
+ total_items: number;
968
+ total_quantity: number;
969
+ is_gst_inclusive?: boolean | null | undefined;
970
+ gst?: number | null | undefined;
971
+ gst_amount?: number | null | undefined;
972
+ notes?: string | null | undefined;
973
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
974
+ updatedAt: NativeDate;
975
+ items: import("mongoose").Types.DocumentArray<{
976
+ _id: import("mongoose").Types.ObjectId;
977
+ inventory_code: string;
978
+ item_id: import("mongoose").Types.ObjectId;
979
+ quantity: number;
980
+ item_name: string;
981
+ received_qty: number;
982
+ notes?: string | null | undefined;
983
+ unit_price?: number | null | undefined;
984
+ dispatched_qty?: number | null | undefined;
985
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
986
+ _id: import("mongoose").Types.ObjectId;
987
+ inventory_code: string;
988
+ item_id: import("mongoose").Types.ObjectId;
989
+ quantity: number;
990
+ item_name: string;
991
+ received_qty: number;
992
+ notes?: string | null | undefined;
993
+ unit_price?: number | null | undefined;
994
+ dispatched_qty?: number | null | undefined;
995
+ }> & {
996
+ _id: import("mongoose").Types.ObjectId;
997
+ inventory_code: string;
998
+ item_id: import("mongoose").Types.ObjectId;
999
+ quantity: number;
1000
+ item_name: string;
1001
+ received_qty: number;
1002
+ notes?: string | null | undefined;
1003
+ unit_price?: number | null | undefined;
1004
+ dispatched_qty?: number | null | undefined;
1005
+ }>;
1006
+ status: import("../../constants").WAREHOUSE_INTERNAL_MOVEMENT_STATUS_ENUM;
1007
+ amount_collected: number;
1008
+ amount_earned: number;
1009
+ grand_total: number;
1010
+ payments: import("mongoose").Types.DocumentArray<{
1011
+ payment_type: string;
1012
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1013
+ card_details: {
1014
+ transaction_id: string;
1015
+ payment_provider_linked_customer_id: string;
1016
+ card_number: string;
1017
+ card_type: string;
1018
+ card_holder_name: string;
1019
+ card_charges: number;
1020
+ card_country_code: string;
1021
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1022
+ };
1023
+ amount_paid: number;
1024
+ amount_due: number;
1025
+ amount_refunded: number;
1026
+ payment_id: string;
1027
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1028
+ refund_reason?: string | null | undefined;
1029
+ note?: string | null | undefined;
1030
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
1031
+ payment_type: string;
1032
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1033
+ card_details: {
1034
+ transaction_id: string;
1035
+ payment_provider_linked_customer_id: string;
1036
+ card_number: string;
1037
+ card_type: string;
1038
+ card_holder_name: string;
1039
+ card_charges: number;
1040
+ card_country_code: string;
1041
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1042
+ };
1043
+ amount_paid: number;
1044
+ amount_due: number;
1045
+ amount_refunded: number;
1046
+ payment_id: string;
1047
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1048
+ refund_reason?: string | null | undefined;
1049
+ note?: string | null | undefined;
1050
+ }> & {
1051
+ payment_type: string;
1052
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1053
+ card_details: {
1054
+ transaction_id: string;
1055
+ payment_provider_linked_customer_id: string;
1056
+ card_number: string;
1057
+ card_type: string;
1058
+ card_holder_name: string;
1059
+ card_charges: number;
1060
+ card_country_code: string;
1061
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1062
+ };
1063
+ amount_paid: number;
1064
+ amount_due: number;
1065
+ amount_refunded: number;
1066
+ payment_id: string;
1067
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1068
+ refund_reason?: string | null | undefined;
1069
+ note?: string | null | undefined;
1070
+ }>;
1071
+ total_items: number;
1072
+ total_quantity: number;
1073
+ is_gst_inclusive?: boolean | null | undefined;
1074
+ gst?: number | null | undefined;
1075
+ gst_amount?: number | null | undefined;
1076
+ notes?: string | null | undefined;
1077
+ }> & {
1078
+ updatedAt: NativeDate;
1079
+ items: import("mongoose").Types.DocumentArray<{
1080
+ _id: import("mongoose").Types.ObjectId;
1081
+ inventory_code: string;
1082
+ item_id: import("mongoose").Types.ObjectId;
1083
+ quantity: number;
1084
+ item_name: string;
1085
+ received_qty: number;
1086
+ notes?: string | null | undefined;
1087
+ unit_price?: number | null | undefined;
1088
+ dispatched_qty?: number | null | undefined;
1089
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1090
+ _id: import("mongoose").Types.ObjectId;
1091
+ inventory_code: string;
1092
+ item_id: import("mongoose").Types.ObjectId;
1093
+ quantity: number;
1094
+ item_name: string;
1095
+ received_qty: number;
1096
+ notes?: string | null | undefined;
1097
+ unit_price?: number | null | undefined;
1098
+ dispatched_qty?: number | null | undefined;
1099
+ }> & {
1100
+ _id: import("mongoose").Types.ObjectId;
1101
+ inventory_code: string;
1102
+ item_id: import("mongoose").Types.ObjectId;
1103
+ quantity: number;
1104
+ item_name: string;
1105
+ received_qty: number;
1106
+ notes?: string | null | undefined;
1107
+ unit_price?: number | null | undefined;
1108
+ dispatched_qty?: number | null | undefined;
1109
+ }>;
1110
+ status: import("../../constants").WAREHOUSE_INTERNAL_MOVEMENT_STATUS_ENUM;
1111
+ amount_collected: number;
1112
+ amount_earned: number;
1113
+ grand_total: number;
1114
+ payments: import("mongoose").Types.DocumentArray<{
1115
+ payment_type: string;
1116
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1117
+ card_details: {
1118
+ transaction_id: string;
1119
+ payment_provider_linked_customer_id: string;
1120
+ card_number: string;
1121
+ card_type: string;
1122
+ card_holder_name: string;
1123
+ card_charges: number;
1124
+ card_country_code: string;
1125
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1126
+ };
1127
+ amount_paid: number;
1128
+ amount_due: number;
1129
+ amount_refunded: number;
1130
+ payment_id: string;
1131
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1132
+ refund_reason?: string | null | undefined;
1133
+ note?: string | null | undefined;
1134
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
1135
+ payment_type: string;
1136
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1137
+ card_details: {
1138
+ transaction_id: string;
1139
+ payment_provider_linked_customer_id: string;
1140
+ card_number: string;
1141
+ card_type: string;
1142
+ card_holder_name: string;
1143
+ card_charges: number;
1144
+ card_country_code: string;
1145
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1146
+ };
1147
+ amount_paid: number;
1148
+ amount_due: number;
1149
+ amount_refunded: number;
1150
+ payment_id: string;
1151
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1152
+ refund_reason?: string | null | undefined;
1153
+ note?: string | null | undefined;
1154
+ }> & {
1155
+ payment_type: string;
1156
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1157
+ card_details: {
1158
+ transaction_id: string;
1159
+ payment_provider_linked_customer_id: string;
1160
+ card_number: string;
1161
+ card_type: string;
1162
+ card_holder_name: string;
1163
+ card_charges: number;
1164
+ card_country_code: string;
1165
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1166
+ };
1167
+ amount_paid: number;
1168
+ amount_due: number;
1169
+ amount_refunded: number;
1170
+ payment_id: string;
1171
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1172
+ refund_reason?: string | null | undefined;
1173
+ note?: string | null | undefined;
1174
+ }>;
1175
+ total_items: number;
1176
+ total_quantity: number;
1177
+ is_gst_inclusive?: boolean | null | undefined;
1178
+ gst?: number | null | undefined;
1179
+ gst_amount?: number | null | undefined;
1180
+ notes?: string | null | undefined;
1181
+ }>;
1182
+ amount_collected: number;
1183
+ is_deleted: boolean;
1184
+ amount_earned: number;
1185
+ grand_total: number;
235
1186
  payments: import("mongoose").Types.DocumentArray<{
236
1187
  payment_type: string;
237
1188
  payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
@@ -293,10 +1244,6 @@ export declare const WarehouseInternalMovementsSchema: Schema<any, import("mongo
293
1244
  refund_reason?: string | null | undefined;
294
1245
  note?: string | null | undefined;
295
1246
  }>;
296
- amount_collected: number;
297
- is_deleted: boolean;
298
- amount_earned: number;
299
- grand_total: number;
300
1247
  created_by: {
301
1248
  name: string;
302
1249
  uid: string;
@@ -420,6 +1367,323 @@ export declare const WarehouseInternalMovementsSchema: Schema<any, import("mongo
420
1367
  }>;
421
1368
  ref_id: string;
422
1369
  status: import("../../constants").WAREHOUSE_INTERNAL_MOVEMENT_STATUS_ENUM;
1370
+ iterations: import("mongoose").Types.DocumentArray<{
1371
+ updatedAt: NativeDate;
1372
+ items: import("mongoose").Types.DocumentArray<{
1373
+ _id: import("mongoose").Types.ObjectId;
1374
+ inventory_code: string;
1375
+ item_id: import("mongoose").Types.ObjectId;
1376
+ quantity: number;
1377
+ item_name: string;
1378
+ received_qty: number;
1379
+ notes?: string | null | undefined;
1380
+ unit_price?: number | null | undefined;
1381
+ dispatched_qty?: number | null | undefined;
1382
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1383
+ _id: import("mongoose").Types.ObjectId;
1384
+ inventory_code: string;
1385
+ item_id: import("mongoose").Types.ObjectId;
1386
+ quantity: number;
1387
+ item_name: string;
1388
+ received_qty: number;
1389
+ notes?: string | null | undefined;
1390
+ unit_price?: number | null | undefined;
1391
+ dispatched_qty?: number | null | undefined;
1392
+ }> & {
1393
+ _id: import("mongoose").Types.ObjectId;
1394
+ inventory_code: string;
1395
+ item_id: import("mongoose").Types.ObjectId;
1396
+ quantity: number;
1397
+ item_name: string;
1398
+ received_qty: number;
1399
+ notes?: string | null | undefined;
1400
+ unit_price?: number | null | undefined;
1401
+ dispatched_qty?: number | null | undefined;
1402
+ }>;
1403
+ status: import("../../constants").WAREHOUSE_INTERNAL_MOVEMENT_STATUS_ENUM;
1404
+ amount_collected: number;
1405
+ amount_earned: number;
1406
+ grand_total: number;
1407
+ payments: import("mongoose").Types.DocumentArray<{
1408
+ payment_type: string;
1409
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1410
+ card_details: {
1411
+ transaction_id: string;
1412
+ payment_provider_linked_customer_id: string;
1413
+ card_number: string;
1414
+ card_type: string;
1415
+ card_holder_name: string;
1416
+ card_charges: number;
1417
+ card_country_code: string;
1418
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1419
+ };
1420
+ amount_paid: number;
1421
+ amount_due: number;
1422
+ amount_refunded: number;
1423
+ payment_id: string;
1424
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1425
+ refund_reason?: string | null | undefined;
1426
+ note?: string | null | undefined;
1427
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
1428
+ payment_type: string;
1429
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1430
+ card_details: {
1431
+ transaction_id: string;
1432
+ payment_provider_linked_customer_id: string;
1433
+ card_number: string;
1434
+ card_type: string;
1435
+ card_holder_name: string;
1436
+ card_charges: number;
1437
+ card_country_code: string;
1438
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1439
+ };
1440
+ amount_paid: number;
1441
+ amount_due: number;
1442
+ amount_refunded: number;
1443
+ payment_id: string;
1444
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1445
+ refund_reason?: string | null | undefined;
1446
+ note?: string | null | undefined;
1447
+ }> & {
1448
+ payment_type: string;
1449
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1450
+ card_details: {
1451
+ transaction_id: string;
1452
+ payment_provider_linked_customer_id: string;
1453
+ card_number: string;
1454
+ card_type: string;
1455
+ card_holder_name: string;
1456
+ card_charges: number;
1457
+ card_country_code: string;
1458
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1459
+ };
1460
+ amount_paid: number;
1461
+ amount_due: number;
1462
+ amount_refunded: number;
1463
+ payment_id: string;
1464
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1465
+ refund_reason?: string | null | undefined;
1466
+ note?: string | null | undefined;
1467
+ }>;
1468
+ total_items: number;
1469
+ total_quantity: number;
1470
+ is_gst_inclusive?: boolean | null | undefined;
1471
+ gst?: number | null | undefined;
1472
+ gst_amount?: number | null | undefined;
1473
+ notes?: string | null | undefined;
1474
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1475
+ updatedAt: NativeDate;
1476
+ items: import("mongoose").Types.DocumentArray<{
1477
+ _id: import("mongoose").Types.ObjectId;
1478
+ inventory_code: string;
1479
+ item_id: import("mongoose").Types.ObjectId;
1480
+ quantity: number;
1481
+ item_name: string;
1482
+ received_qty: number;
1483
+ notes?: string | null | undefined;
1484
+ unit_price?: number | null | undefined;
1485
+ dispatched_qty?: number | null | undefined;
1486
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1487
+ _id: import("mongoose").Types.ObjectId;
1488
+ inventory_code: string;
1489
+ item_id: import("mongoose").Types.ObjectId;
1490
+ quantity: number;
1491
+ item_name: string;
1492
+ received_qty: number;
1493
+ notes?: string | null | undefined;
1494
+ unit_price?: number | null | undefined;
1495
+ dispatched_qty?: number | null | undefined;
1496
+ }> & {
1497
+ _id: import("mongoose").Types.ObjectId;
1498
+ inventory_code: string;
1499
+ item_id: import("mongoose").Types.ObjectId;
1500
+ quantity: number;
1501
+ item_name: string;
1502
+ received_qty: number;
1503
+ notes?: string | null | undefined;
1504
+ unit_price?: number | null | undefined;
1505
+ dispatched_qty?: number | null | undefined;
1506
+ }>;
1507
+ status: import("../../constants").WAREHOUSE_INTERNAL_MOVEMENT_STATUS_ENUM;
1508
+ amount_collected: number;
1509
+ amount_earned: number;
1510
+ grand_total: number;
1511
+ payments: import("mongoose").Types.DocumentArray<{
1512
+ payment_type: string;
1513
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1514
+ card_details: {
1515
+ transaction_id: string;
1516
+ payment_provider_linked_customer_id: string;
1517
+ card_number: string;
1518
+ card_type: string;
1519
+ card_holder_name: string;
1520
+ card_charges: number;
1521
+ card_country_code: string;
1522
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1523
+ };
1524
+ amount_paid: number;
1525
+ amount_due: number;
1526
+ amount_refunded: number;
1527
+ payment_id: string;
1528
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1529
+ refund_reason?: string | null | undefined;
1530
+ note?: string | null | undefined;
1531
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
1532
+ payment_type: string;
1533
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1534
+ card_details: {
1535
+ transaction_id: string;
1536
+ payment_provider_linked_customer_id: string;
1537
+ card_number: string;
1538
+ card_type: string;
1539
+ card_holder_name: string;
1540
+ card_charges: number;
1541
+ card_country_code: string;
1542
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1543
+ };
1544
+ amount_paid: number;
1545
+ amount_due: number;
1546
+ amount_refunded: number;
1547
+ payment_id: string;
1548
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1549
+ refund_reason?: string | null | undefined;
1550
+ note?: string | null | undefined;
1551
+ }> & {
1552
+ payment_type: string;
1553
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1554
+ card_details: {
1555
+ transaction_id: string;
1556
+ payment_provider_linked_customer_id: string;
1557
+ card_number: string;
1558
+ card_type: string;
1559
+ card_holder_name: string;
1560
+ card_charges: number;
1561
+ card_country_code: string;
1562
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1563
+ };
1564
+ amount_paid: number;
1565
+ amount_due: number;
1566
+ amount_refunded: number;
1567
+ payment_id: string;
1568
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1569
+ refund_reason?: string | null | undefined;
1570
+ note?: string | null | undefined;
1571
+ }>;
1572
+ total_items: number;
1573
+ total_quantity: number;
1574
+ is_gst_inclusive?: boolean | null | undefined;
1575
+ gst?: number | null | undefined;
1576
+ gst_amount?: number | null | undefined;
1577
+ notes?: string | null | undefined;
1578
+ }> & {
1579
+ updatedAt: NativeDate;
1580
+ items: import("mongoose").Types.DocumentArray<{
1581
+ _id: import("mongoose").Types.ObjectId;
1582
+ inventory_code: string;
1583
+ item_id: import("mongoose").Types.ObjectId;
1584
+ quantity: number;
1585
+ item_name: string;
1586
+ received_qty: number;
1587
+ notes?: string | null | undefined;
1588
+ unit_price?: number | null | undefined;
1589
+ dispatched_qty?: number | null | undefined;
1590
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
1591
+ _id: import("mongoose").Types.ObjectId;
1592
+ inventory_code: string;
1593
+ item_id: import("mongoose").Types.ObjectId;
1594
+ quantity: number;
1595
+ item_name: string;
1596
+ received_qty: number;
1597
+ notes?: string | null | undefined;
1598
+ unit_price?: number | null | undefined;
1599
+ dispatched_qty?: number | null | undefined;
1600
+ }> & {
1601
+ _id: import("mongoose").Types.ObjectId;
1602
+ inventory_code: string;
1603
+ item_id: import("mongoose").Types.ObjectId;
1604
+ quantity: number;
1605
+ item_name: string;
1606
+ received_qty: number;
1607
+ notes?: string | null | undefined;
1608
+ unit_price?: number | null | undefined;
1609
+ dispatched_qty?: number | null | undefined;
1610
+ }>;
1611
+ status: import("../../constants").WAREHOUSE_INTERNAL_MOVEMENT_STATUS_ENUM;
1612
+ amount_collected: number;
1613
+ amount_earned: number;
1614
+ grand_total: number;
1615
+ payments: import("mongoose").Types.DocumentArray<{
1616
+ payment_type: string;
1617
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1618
+ card_details: {
1619
+ transaction_id: string;
1620
+ payment_provider_linked_customer_id: string;
1621
+ card_number: string;
1622
+ card_type: string;
1623
+ card_holder_name: string;
1624
+ card_charges: number;
1625
+ card_country_code: string;
1626
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1627
+ };
1628
+ amount_paid: number;
1629
+ amount_due: number;
1630
+ amount_refunded: number;
1631
+ payment_id: string;
1632
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1633
+ refund_reason?: string | null | undefined;
1634
+ note?: string | null | undefined;
1635
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
1636
+ payment_type: string;
1637
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1638
+ card_details: {
1639
+ transaction_id: string;
1640
+ payment_provider_linked_customer_id: string;
1641
+ card_number: string;
1642
+ card_type: string;
1643
+ card_holder_name: string;
1644
+ card_charges: number;
1645
+ card_country_code: string;
1646
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1647
+ };
1648
+ amount_paid: number;
1649
+ amount_due: number;
1650
+ amount_refunded: number;
1651
+ payment_id: string;
1652
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1653
+ refund_reason?: string | null | undefined;
1654
+ note?: string | null | undefined;
1655
+ }> & {
1656
+ payment_type: string;
1657
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1658
+ card_details: {
1659
+ transaction_id: string;
1660
+ payment_provider_linked_customer_id: string;
1661
+ card_number: string;
1662
+ card_type: string;
1663
+ card_holder_name: string;
1664
+ card_charges: number;
1665
+ card_country_code: string;
1666
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1667
+ };
1668
+ amount_paid: number;
1669
+ amount_due: number;
1670
+ amount_refunded: number;
1671
+ payment_id: string;
1672
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
1673
+ refund_reason?: string | null | undefined;
1674
+ note?: string | null | undefined;
1675
+ }>;
1676
+ total_items: number;
1677
+ total_quantity: number;
1678
+ is_gst_inclusive?: boolean | null | undefined;
1679
+ gst?: number | null | undefined;
1680
+ gst_amount?: number | null | undefined;
1681
+ notes?: string | null | undefined;
1682
+ }>;
1683
+ amount_collected: number;
1684
+ is_deleted: boolean;
1685
+ amount_earned: number;
1686
+ grand_total: number;
423
1687
  payments: import("mongoose").Types.DocumentArray<{
424
1688
  payment_type: string;
425
1689
  payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
@@ -481,10 +1745,6 @@ export declare const WarehouseInternalMovementsSchema: Schema<any, import("mongo
481
1745
  refund_reason?: string | null | undefined;
482
1746
  note?: string | null | undefined;
483
1747
  }>;
484
- amount_collected: number;
485
- is_deleted: boolean;
486
- amount_earned: number;
487
- grand_total: number;
488
1748
  created_by: {
489
1749
  name: string;
490
1750
  uid: string;