@managesome/eposmatic-toolkit 0.2.597 → 0.2.598

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.
@@ -1183,67 +1183,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
1183
1183
  }>;
1184
1184
  price: number;
1185
1185
  order_number: number;
1186
- payments: import("mongoose").Types.DocumentArray<{
1187
- payment_type: string;
1188
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1189
- card_details: {
1190
- transaction_id: string;
1191
- payment_provider_linked_customer_id: string;
1192
- card_number: string;
1193
- card_type: string;
1194
- card_holder_name: string;
1195
- card_charges: number;
1196
- card_country_code: string;
1197
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1198
- };
1199
- amount_paid: number;
1200
- amount_due: number;
1201
- amount_refunded: number;
1202
- payment_id: string;
1203
- _id?: import("mongoose").Types.ObjectId | null | undefined;
1204
- refund_reason?: string | null | undefined;
1205
- note?: string | null | undefined;
1206
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
1207
- payment_type: string;
1208
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1209
- card_details: {
1210
- transaction_id: string;
1211
- payment_provider_linked_customer_id: string;
1212
- card_number: string;
1213
- card_type: string;
1214
- card_holder_name: string;
1215
- card_charges: number;
1216
- card_country_code: string;
1217
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1218
- };
1219
- amount_paid: number;
1220
- amount_due: number;
1221
- amount_refunded: number;
1222
- payment_id: string;
1223
- _id?: import("mongoose").Types.ObjectId | null | undefined;
1224
- refund_reason?: string | null | undefined;
1225
- note?: string | null | undefined;
1226
- }> & {
1227
- payment_type: string;
1228
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
1229
- card_details: {
1230
- transaction_id: string;
1231
- payment_provider_linked_customer_id: string;
1232
- card_number: string;
1233
- card_type: string;
1234
- card_holder_name: string;
1235
- card_charges: number;
1236
- card_country_code: string;
1237
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
1238
- };
1239
- amount_paid: number;
1240
- amount_due: number;
1241
- amount_refunded: number;
1242
- payment_id: string;
1243
- _id?: import("mongoose").Types.ObjectId | null | undefined;
1244
- refund_reason?: string | null | undefined;
1245
- note?: string | null | undefined;
1246
- }>;
1247
1186
  iterations: import("mongoose").Types.DocumentArray<{
1248
1187
  platform: import("../../constants").PLATFORMS_ENUM;
1249
1188
  updatedAt: NativeDate;
@@ -2332,6 +2271,11 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
2332
2271
  }>;
2333
2272
  }>;
2334
2273
  price: number;
2274
+ special_instructions: string;
2275
+ amount_earned: number;
2276
+ grand_total: number;
2277
+ order_status: import("../../constants").ORDER_STATUS_ENUM;
2278
+ tax_number: string;
2335
2279
  payments: import("mongoose").Types.DocumentArray<{
2336
2280
  payment_type: string;
2337
2281
  payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
@@ -2393,11 +2337,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
2393
2337
  refund_reason?: string | null | undefined;
2394
2338
  note?: string | null | undefined;
2395
2339
  }>;
2396
- special_instructions: string;
2397
- amount_earned: number;
2398
- grand_total: number;
2399
- order_status: import("../../constants").ORDER_STATUS_ENUM;
2400
- tax_number: string;
2401
2340
  consumer: {
2402
2341
  email: string;
2403
2342
  phone: string;
@@ -3594,6 +3533,11 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
3594
3533
  }>;
3595
3534
  }>;
3596
3535
  price: number;
3536
+ special_instructions: string;
3537
+ amount_earned: number;
3538
+ grand_total: number;
3539
+ order_status: import("../../constants").ORDER_STATUS_ENUM;
3540
+ tax_number: string;
3597
3541
  payments: import("mongoose").Types.DocumentArray<{
3598
3542
  payment_type: string;
3599
3543
  payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
@@ -3655,11 +3599,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
3655
3599
  refund_reason?: string | null | undefined;
3656
3600
  note?: string | null | undefined;
3657
3601
  }>;
3658
- special_instructions: string;
3659
- amount_earned: number;
3660
- grand_total: number;
3661
- order_status: import("../../constants").ORDER_STATUS_ENUM;
3662
- tax_number: string;
3663
3602
  consumer: {
3664
3603
  email: string;
3665
3604
  phone: string;
@@ -4856,6 +4795,11 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
4856
4795
  }>;
4857
4796
  }>;
4858
4797
  price: number;
4798
+ special_instructions: string;
4799
+ amount_earned: number;
4800
+ grand_total: number;
4801
+ order_status: import("../../constants").ORDER_STATUS_ENUM;
4802
+ tax_number: string;
4859
4803
  payments: import("mongoose").Types.DocumentArray<{
4860
4804
  payment_type: string;
4861
4805
  payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
@@ -4917,11 +4861,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
4917
4861
  refund_reason?: string | null | undefined;
4918
4862
  note?: string | null | undefined;
4919
4863
  }>;
4920
- special_instructions: string;
4921
- amount_earned: number;
4922
- grand_total: number;
4923
- order_status: import("../../constants").ORDER_STATUS_ENUM;
4924
- tax_number: string;
4925
4864
  consumer: {
4926
4865
  email: string;
4927
4866
  phone: string;
@@ -5041,6 +4980,67 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
5041
4980
  grand_total: number;
5042
4981
  order_status: import("../../constants").ORDER_STATUS_ENUM;
5043
4982
  tax_number: string;
4983
+ payments: import("mongoose").Types.DocumentArray<{
4984
+ payment_type: string;
4985
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
4986
+ card_details: {
4987
+ transaction_id: string;
4988
+ payment_provider_linked_customer_id: string;
4989
+ card_number: string;
4990
+ card_type: string;
4991
+ card_holder_name: string;
4992
+ card_charges: number;
4993
+ card_country_code: string;
4994
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
4995
+ };
4996
+ amount_paid: number;
4997
+ amount_due: number;
4998
+ amount_refunded: number;
4999
+ payment_id: string;
5000
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
5001
+ refund_reason?: string | null | undefined;
5002
+ note?: string | null | undefined;
5003
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
5004
+ payment_type: string;
5005
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
5006
+ card_details: {
5007
+ transaction_id: string;
5008
+ payment_provider_linked_customer_id: string;
5009
+ card_number: string;
5010
+ card_type: string;
5011
+ card_holder_name: string;
5012
+ card_charges: number;
5013
+ card_country_code: string;
5014
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
5015
+ };
5016
+ amount_paid: number;
5017
+ amount_due: number;
5018
+ amount_refunded: number;
5019
+ payment_id: string;
5020
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
5021
+ refund_reason?: string | null | undefined;
5022
+ note?: string | null | undefined;
5023
+ }> & {
5024
+ payment_type: string;
5025
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
5026
+ card_details: {
5027
+ transaction_id: string;
5028
+ payment_provider_linked_customer_id: string;
5029
+ card_number: string;
5030
+ card_type: string;
5031
+ card_holder_name: string;
5032
+ card_charges: number;
5033
+ card_country_code: string;
5034
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
5035
+ };
5036
+ amount_paid: number;
5037
+ amount_due: number;
5038
+ amount_refunded: number;
5039
+ payment_id: string;
5040
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
5041
+ refund_reason?: string | null | undefined;
5042
+ note?: string | null | undefined;
5043
+ }>;
5044
5044
  consumer: {
5045
5045
  email: string;
5046
5046
  phone: string;
@@ -6289,67 +6289,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
6289
6289
  }>;
6290
6290
  price: number;
6291
6291
  order_number: number;
6292
- payments: import("mongoose").Types.DocumentArray<{
6293
- payment_type: string;
6294
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
6295
- card_details: {
6296
- transaction_id: string;
6297
- payment_provider_linked_customer_id: string;
6298
- card_number: string;
6299
- card_type: string;
6300
- card_holder_name: string;
6301
- card_charges: number;
6302
- card_country_code: string;
6303
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
6304
- };
6305
- amount_paid: number;
6306
- amount_due: number;
6307
- amount_refunded: number;
6308
- payment_id: string;
6309
- _id?: import("mongoose").Types.ObjectId | null | undefined;
6310
- refund_reason?: string | null | undefined;
6311
- note?: string | null | undefined;
6312
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
6313
- payment_type: string;
6314
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
6315
- card_details: {
6316
- transaction_id: string;
6317
- payment_provider_linked_customer_id: string;
6318
- card_number: string;
6319
- card_type: string;
6320
- card_holder_name: string;
6321
- card_charges: number;
6322
- card_country_code: string;
6323
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
6324
- };
6325
- amount_paid: number;
6326
- amount_due: number;
6327
- amount_refunded: number;
6328
- payment_id: string;
6329
- _id?: import("mongoose").Types.ObjectId | null | undefined;
6330
- refund_reason?: string | null | undefined;
6331
- note?: string | null | undefined;
6332
- }> & {
6333
- payment_type: string;
6334
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
6335
- card_details: {
6336
- transaction_id: string;
6337
- payment_provider_linked_customer_id: string;
6338
- card_number: string;
6339
- card_type: string;
6340
- card_holder_name: string;
6341
- card_charges: number;
6342
- card_country_code: string;
6343
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
6344
- };
6345
- amount_paid: number;
6346
- amount_due: number;
6347
- amount_refunded: number;
6348
- payment_id: string;
6349
- _id?: import("mongoose").Types.ObjectId | null | undefined;
6350
- refund_reason?: string | null | undefined;
6351
- note?: string | null | undefined;
6352
- }>;
6353
6292
  iterations: import("mongoose").Types.DocumentArray<{
6354
6293
  platform: import("../../constants").PLATFORMS_ENUM;
6355
6294
  updatedAt: NativeDate;
@@ -7438,6 +7377,11 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
7438
7377
  }>;
7439
7378
  }>;
7440
7379
  price: number;
7380
+ special_instructions: string;
7381
+ amount_earned: number;
7382
+ grand_total: number;
7383
+ order_status: import("../../constants").ORDER_STATUS_ENUM;
7384
+ tax_number: string;
7441
7385
  payments: import("mongoose").Types.DocumentArray<{
7442
7386
  payment_type: string;
7443
7387
  payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
@@ -7499,11 +7443,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
7499
7443
  refund_reason?: string | null | undefined;
7500
7444
  note?: string | null | undefined;
7501
7445
  }>;
7502
- special_instructions: string;
7503
- amount_earned: number;
7504
- grand_total: number;
7505
- order_status: import("../../constants").ORDER_STATUS_ENUM;
7506
- tax_number: string;
7507
7446
  consumer: {
7508
7447
  email: string;
7509
7448
  phone: string;
@@ -8700,6 +8639,11 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
8700
8639
  }>;
8701
8640
  }>;
8702
8641
  price: number;
8642
+ special_instructions: string;
8643
+ amount_earned: number;
8644
+ grand_total: number;
8645
+ order_status: import("../../constants").ORDER_STATUS_ENUM;
8646
+ tax_number: string;
8703
8647
  payments: import("mongoose").Types.DocumentArray<{
8704
8648
  payment_type: string;
8705
8649
  payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
@@ -8761,11 +8705,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
8761
8705
  refund_reason?: string | null | undefined;
8762
8706
  note?: string | null | undefined;
8763
8707
  }>;
8764
- special_instructions: string;
8765
- amount_earned: number;
8766
- grand_total: number;
8767
- order_status: import("../../constants").ORDER_STATUS_ENUM;
8768
- tax_number: string;
8769
8708
  consumer: {
8770
8709
  email: string;
8771
8710
  phone: string;
@@ -9962,6 +9901,11 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
9962
9901
  }>;
9963
9902
  }>;
9964
9903
  price: number;
9904
+ special_instructions: string;
9905
+ amount_earned: number;
9906
+ grand_total: number;
9907
+ order_status: import("../../constants").ORDER_STATUS_ENUM;
9908
+ tax_number: string;
9965
9909
  payments: import("mongoose").Types.DocumentArray<{
9966
9910
  payment_type: string;
9967
9911
  payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
@@ -10023,11 +9967,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
10023
9967
  refund_reason?: string | null | undefined;
10024
9968
  note?: string | null | undefined;
10025
9969
  }>;
10026
- special_instructions: string;
10027
- amount_earned: number;
10028
- grand_total: number;
10029
- order_status: import("../../constants").ORDER_STATUS_ENUM;
10030
- tax_number: string;
10031
9970
  consumer: {
10032
9971
  email: string;
10033
9972
  phone: string;
@@ -10147,6 +10086,67 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
10147
10086
  grand_total: number;
10148
10087
  order_status: import("../../constants").ORDER_STATUS_ENUM;
10149
10088
  tax_number: string;
10089
+ payments: import("mongoose").Types.DocumentArray<{
10090
+ payment_type: string;
10091
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
10092
+ card_details: {
10093
+ transaction_id: string;
10094
+ payment_provider_linked_customer_id: string;
10095
+ card_number: string;
10096
+ card_type: string;
10097
+ card_holder_name: string;
10098
+ card_charges: number;
10099
+ card_country_code: string;
10100
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
10101
+ };
10102
+ amount_paid: number;
10103
+ amount_due: number;
10104
+ amount_refunded: number;
10105
+ payment_id: string;
10106
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
10107
+ refund_reason?: string | null | undefined;
10108
+ note?: string | null | undefined;
10109
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
10110
+ payment_type: string;
10111
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
10112
+ card_details: {
10113
+ transaction_id: string;
10114
+ payment_provider_linked_customer_id: string;
10115
+ card_number: string;
10116
+ card_type: string;
10117
+ card_holder_name: string;
10118
+ card_charges: number;
10119
+ card_country_code: string;
10120
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
10121
+ };
10122
+ amount_paid: number;
10123
+ amount_due: number;
10124
+ amount_refunded: number;
10125
+ payment_id: string;
10126
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
10127
+ refund_reason?: string | null | undefined;
10128
+ note?: string | null | undefined;
10129
+ }> & {
10130
+ payment_type: string;
10131
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
10132
+ card_details: {
10133
+ transaction_id: string;
10134
+ payment_provider_linked_customer_id: string;
10135
+ card_number: string;
10136
+ card_type: string;
10137
+ card_holder_name: string;
10138
+ card_charges: number;
10139
+ card_country_code: string;
10140
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
10141
+ };
10142
+ amount_paid: number;
10143
+ amount_due: number;
10144
+ amount_refunded: number;
10145
+ payment_id: string;
10146
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
10147
+ refund_reason?: string | null | undefined;
10148
+ note?: string | null | undefined;
10149
+ }>;
10150
10150
  consumer: {
10151
10151
  email: string;
10152
10152
  phone: string;
@@ -11395,67 +11395,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
11395
11395
  }>;
11396
11396
  price: number;
11397
11397
  order_number: number;
11398
- payments: import("mongoose").Types.DocumentArray<{
11399
- payment_type: string;
11400
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
11401
- card_details: {
11402
- transaction_id: string;
11403
- payment_provider_linked_customer_id: string;
11404
- card_number: string;
11405
- card_type: string;
11406
- card_holder_name: string;
11407
- card_charges: number;
11408
- card_country_code: string;
11409
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
11410
- };
11411
- amount_paid: number;
11412
- amount_due: number;
11413
- amount_refunded: number;
11414
- payment_id: string;
11415
- _id?: import("mongoose").Types.ObjectId | null | undefined;
11416
- refund_reason?: string | null | undefined;
11417
- note?: string | null | undefined;
11418
- }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
11419
- payment_type: string;
11420
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
11421
- card_details: {
11422
- transaction_id: string;
11423
- payment_provider_linked_customer_id: string;
11424
- card_number: string;
11425
- card_type: string;
11426
- card_holder_name: string;
11427
- card_charges: number;
11428
- card_country_code: string;
11429
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
11430
- };
11431
- amount_paid: number;
11432
- amount_due: number;
11433
- amount_refunded: number;
11434
- payment_id: string;
11435
- _id?: import("mongoose").Types.ObjectId | null | undefined;
11436
- refund_reason?: string | null | undefined;
11437
- note?: string | null | undefined;
11438
- }> & {
11439
- payment_type: string;
11440
- payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
11441
- card_details: {
11442
- transaction_id: string;
11443
- payment_provider_linked_customer_id: string;
11444
- card_number: string;
11445
- card_type: string;
11446
- card_holder_name: string;
11447
- card_charges: number;
11448
- card_country_code: string;
11449
- payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
11450
- };
11451
- amount_paid: number;
11452
- amount_due: number;
11453
- amount_refunded: number;
11454
- payment_id: string;
11455
- _id?: import("mongoose").Types.ObjectId | null | undefined;
11456
- refund_reason?: string | null | undefined;
11457
- note?: string | null | undefined;
11458
- }>;
11459
11398
  iterations: import("mongoose").Types.DocumentArray<{
11460
11399
  platform: import("../../constants").PLATFORMS_ENUM;
11461
11400
  updatedAt: NativeDate;
@@ -12544,6 +12483,11 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
12544
12483
  }>;
12545
12484
  }>;
12546
12485
  price: number;
12486
+ special_instructions: string;
12487
+ amount_earned: number;
12488
+ grand_total: number;
12489
+ order_status: import("../../constants").ORDER_STATUS_ENUM;
12490
+ tax_number: string;
12547
12491
  payments: import("mongoose").Types.DocumentArray<{
12548
12492
  payment_type: string;
12549
12493
  payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
@@ -12605,11 +12549,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
12605
12549
  refund_reason?: string | null | undefined;
12606
12550
  note?: string | null | undefined;
12607
12551
  }>;
12608
- special_instructions: string;
12609
- amount_earned: number;
12610
- grand_total: number;
12611
- order_status: import("../../constants").ORDER_STATUS_ENUM;
12612
- tax_number: string;
12613
12552
  consumer: {
12614
12553
  email: string;
12615
12554
  phone: string;
@@ -13806,6 +13745,11 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
13806
13745
  }>;
13807
13746
  }>;
13808
13747
  price: number;
13748
+ special_instructions: string;
13749
+ amount_earned: number;
13750
+ grand_total: number;
13751
+ order_status: import("../../constants").ORDER_STATUS_ENUM;
13752
+ tax_number: string;
13809
13753
  payments: import("mongoose").Types.DocumentArray<{
13810
13754
  payment_type: string;
13811
13755
  payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
@@ -13867,11 +13811,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
13867
13811
  refund_reason?: string | null | undefined;
13868
13812
  note?: string | null | undefined;
13869
13813
  }>;
13870
- special_instructions: string;
13871
- amount_earned: number;
13872
- grand_total: number;
13873
- order_status: import("../../constants").ORDER_STATUS_ENUM;
13874
- tax_number: string;
13875
13814
  consumer: {
13876
13815
  email: string;
13877
13816
  phone: string;
@@ -15068,6 +15007,11 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
15068
15007
  }>;
15069
15008
  }>;
15070
15009
  price: number;
15010
+ special_instructions: string;
15011
+ amount_earned: number;
15012
+ grand_total: number;
15013
+ order_status: import("../../constants").ORDER_STATUS_ENUM;
15014
+ tax_number: string;
15071
15015
  payments: import("mongoose").Types.DocumentArray<{
15072
15016
  payment_type: string;
15073
15017
  payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
@@ -15129,11 +15073,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
15129
15073
  refund_reason?: string | null | undefined;
15130
15074
  note?: string | null | undefined;
15131
15075
  }>;
15132
- special_instructions: string;
15133
- amount_earned: number;
15134
- grand_total: number;
15135
- order_status: import("../../constants").ORDER_STATUS_ENUM;
15136
- tax_number: string;
15137
15076
  consumer: {
15138
15077
  email: string;
15139
15078
  phone: string;
@@ -15253,6 +15192,67 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
15253
15192
  grand_total: number;
15254
15193
  order_status: import("../../constants").ORDER_STATUS_ENUM;
15255
15194
  tax_number: string;
15195
+ payments: import("mongoose").Types.DocumentArray<{
15196
+ payment_type: string;
15197
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
15198
+ card_details: {
15199
+ transaction_id: string;
15200
+ payment_provider_linked_customer_id: string;
15201
+ card_number: string;
15202
+ card_type: string;
15203
+ card_holder_name: string;
15204
+ card_charges: number;
15205
+ card_country_code: string;
15206
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
15207
+ };
15208
+ amount_paid: number;
15209
+ amount_due: number;
15210
+ amount_refunded: number;
15211
+ payment_id: string;
15212
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
15213
+ refund_reason?: string | null | undefined;
15214
+ note?: string | null | undefined;
15215
+ }, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId | null | undefined, any, {
15216
+ payment_type: string;
15217
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
15218
+ card_details: {
15219
+ transaction_id: string;
15220
+ payment_provider_linked_customer_id: string;
15221
+ card_number: string;
15222
+ card_type: string;
15223
+ card_holder_name: string;
15224
+ card_charges: number;
15225
+ card_country_code: string;
15226
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
15227
+ };
15228
+ amount_paid: number;
15229
+ amount_due: number;
15230
+ amount_refunded: number;
15231
+ payment_id: string;
15232
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
15233
+ refund_reason?: string | null | undefined;
15234
+ note?: string | null | undefined;
15235
+ }> & {
15236
+ payment_type: string;
15237
+ payment_status: import("../../constants").PAYMENT_STATUS_ENUM;
15238
+ card_details: {
15239
+ transaction_id: string;
15240
+ payment_provider_linked_customer_id: string;
15241
+ card_number: string;
15242
+ card_type: string;
15243
+ card_holder_name: string;
15244
+ card_charges: number;
15245
+ card_country_code: string;
15246
+ payment_provider: import("../../constants").PAYMENT_PROVIDERS_ENUM;
15247
+ };
15248
+ amount_paid: number;
15249
+ amount_due: number;
15250
+ amount_refunded: number;
15251
+ payment_id: string;
15252
+ _id?: import("mongoose").Types.ObjectId | null | undefined;
15253
+ refund_reason?: string | null | undefined;
15254
+ note?: string | null | undefined;
15255
+ }>;
15256
15256
  consumer: {
15257
15257
  email: string;
15258
15258
  phone: string;