erpnext-queue-client 2.0.0-beta.2 → 2.1.1

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.
@@ -419,6 +419,7 @@ export declare const PurchaseInvoice: z.ZodObject<{
419
419
  __unsaved: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
420
420
  }, "strip", z.ZodTypeAny, {
421
421
  description?: string | null | undefined;
422
+ account_currency?: string | null | undefined;
422
423
  rate?: number | null | undefined;
423
424
  cost_center?: string | null | undefined;
424
425
  __unsaved?: number | null | undefined;
@@ -431,7 +432,6 @@ export declare const PurchaseInvoice: z.ZodObject<{
431
432
  included_in_print_rate?: number | null | undefined;
432
433
  included_in_paid_amount?: number | null | undefined;
433
434
  account_head?: string | null | undefined;
434
- account_currency?: string | null | undefined;
435
435
  tax_amount?: number | null | undefined;
436
436
  tax_amount_after_discount_amount?: number | null | undefined;
437
437
  base_tax_amount?: number | null | undefined;
@@ -439,6 +439,7 @@ export declare const PurchaseInvoice: z.ZodObject<{
439
439
  item_wise_tax_detail?: string | null | undefined;
440
440
  }, {
441
441
  description?: string | null | undefined;
442
+ account_currency?: string | null | undefined;
442
443
  rate?: number | null | undefined;
443
444
  cost_center?: string | null | undefined;
444
445
  __unsaved?: number | null | undefined;
@@ -451,7 +452,6 @@ export declare const PurchaseInvoice: z.ZodObject<{
451
452
  included_in_print_rate?: number | null | undefined;
452
453
  included_in_paid_amount?: number | null | undefined;
453
454
  account_head?: string | null | undefined;
454
- account_currency?: string | null | undefined;
455
455
  tax_amount?: number | null | undefined;
456
456
  tax_amount_after_discount_amount?: number | null | undefined;
457
457
  base_tax_amount?: number | null | undefined;
@@ -516,6 +516,7 @@ export declare const PurchaseInvoice: z.ZodObject<{
516
516
  }, "strip", z.ZodTypeAny, {
517
517
  taxes: {
518
518
  description?: string | null | undefined;
519
+ account_currency?: string | null | undefined;
519
520
  rate?: number | null | undefined;
520
521
  cost_center?: string | null | undefined;
521
522
  __unsaved?: number | null | undefined;
@@ -528,7 +529,6 @@ export declare const PurchaseInvoice: z.ZodObject<{
528
529
  included_in_print_rate?: number | null | undefined;
529
530
  included_in_paid_amount?: number | null | undefined;
530
531
  account_head?: string | null | undefined;
531
- account_currency?: string | null | undefined;
532
532
  tax_amount?: number | null | undefined;
533
533
  tax_amount_after_discount_amount?: number | null | undefined;
534
534
  base_tax_amount?: number | null | undefined;
@@ -651,6 +651,7 @@ export declare const PurchaseInvoice: z.ZodObject<{
651
651
  pr_detail?: string | null | undefined;
652
652
  }[] | null | undefined;
653
653
  supplier?: string | null | undefined;
654
+ outstanding_amount?: number | null | undefined;
654
655
  paid_amount?: number | null | undefined;
655
656
  base_paid_amount?: number | null | undefined;
656
657
  remarks?: string | null | undefined;
@@ -671,7 +672,6 @@ export declare const PurchaseInvoice: z.ZodObject<{
671
672
  taxes_and_charges_added?: number | null | undefined;
672
673
  taxes_and_charges_deducted?: number | null | undefined;
673
674
  total_advance?: number | null | undefined;
674
- outstanding_amount?: number | null | undefined;
675
675
  write_off_amount?: number | null | undefined;
676
676
  base_write_off_amount?: number | null | undefined;
677
677
  allocate_advances_automatically?: number | null | undefined;
@@ -687,6 +687,7 @@ export declare const PurchaseInvoice: z.ZodObject<{
687
687
  }, {
688
688
  taxes: {
689
689
  description?: string | null | undefined;
690
+ account_currency?: string | null | undefined;
690
691
  rate?: number | null | undefined;
691
692
  cost_center?: string | null | undefined;
692
693
  __unsaved?: number | null | undefined;
@@ -699,7 +700,6 @@ export declare const PurchaseInvoice: z.ZodObject<{
699
700
  included_in_print_rate?: number | null | undefined;
700
701
  included_in_paid_amount?: number | null | undefined;
701
702
  account_head?: string | null | undefined;
702
- account_currency?: string | null | undefined;
703
703
  tax_amount?: number | null | undefined;
704
704
  tax_amount_after_discount_amount?: number | null | undefined;
705
705
  base_tax_amount?: number | null | undefined;
@@ -822,6 +822,7 @@ export declare const PurchaseInvoice: z.ZodObject<{
822
822
  pr_detail?: string | null | undefined;
823
823
  }[] | null | undefined;
824
824
  supplier?: string | null | undefined;
825
+ outstanding_amount?: number | null | undefined;
825
826
  paid_amount?: number | null | undefined;
826
827
  base_paid_amount?: number | null | undefined;
827
828
  remarks?: string | null | undefined;
@@ -842,7 +843,6 @@ export declare const PurchaseInvoice: z.ZodObject<{
842
843
  taxes_and_charges_added?: number | null | undefined;
843
844
  taxes_and_charges_deducted?: number | null | undefined;
844
845
  total_advance?: number | null | undefined;
845
- outstanding_amount?: number | null | undefined;
846
846
  write_off_amount?: number | null | undefined;
847
847
  base_write_off_amount?: number | null | undefined;
848
848
  allocate_advances_automatically?: number | null | undefined;
@@ -1137,6 +1137,7 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
1137
1137
  parentfield: string;
1138
1138
  description?: string | null | undefined;
1139
1139
  _user_tags?: string | null | undefined;
1140
+ account_currency?: string | null | undefined;
1140
1141
  rate?: number | null | undefined;
1141
1142
  cost_center?: string | null | undefined;
1142
1143
  __unsaved?: number | null | undefined;
@@ -1149,7 +1150,6 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
1149
1150
  included_in_print_rate?: number | null | undefined;
1150
1151
  included_in_paid_amount?: number | null | undefined;
1151
1152
  account_head?: string | null | undefined;
1152
- account_currency?: string | null | undefined;
1153
1153
  tax_amount?: number | null | undefined;
1154
1154
  tax_amount_after_discount_amount?: number | null | undefined;
1155
1155
  base_tax_amount?: number | null | undefined;
@@ -1168,6 +1168,7 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
1168
1168
  description?: string | null | undefined;
1169
1169
  docstatus?: number | undefined;
1170
1170
  _user_tags?: string | null | undefined;
1171
+ account_currency?: string | null | undefined;
1171
1172
  rate?: number | null | undefined;
1172
1173
  cost_center?: string | null | undefined;
1173
1174
  __unsaved?: number | null | undefined;
@@ -1180,7 +1181,6 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
1180
1181
  included_in_print_rate?: number | null | undefined;
1181
1182
  included_in_paid_amount?: number | null | undefined;
1182
1183
  account_head?: string | null | undefined;
1183
- account_currency?: string | null | undefined;
1184
1184
  tax_amount?: number | null | undefined;
1185
1185
  tax_amount_after_discount_amount?: number | null | undefined;
1186
1186
  base_tax_amount?: number | null | undefined;
@@ -1312,6 +1312,7 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
1312
1312
  parentfield: string;
1313
1313
  description?: string | null | undefined;
1314
1314
  _user_tags?: string | null | undefined;
1315
+ account_currency?: string | null | undefined;
1315
1316
  rate?: number | null | undefined;
1316
1317
  cost_center?: string | null | undefined;
1317
1318
  __unsaved?: number | null | undefined;
@@ -1324,7 +1325,6 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
1324
1325
  included_in_print_rate?: number | null | undefined;
1325
1326
  included_in_paid_amount?: number | null | undefined;
1326
1327
  account_head?: string | null | undefined;
1327
- account_currency?: string | null | undefined;
1328
1328
  tax_amount?: number | null | undefined;
1329
1329
  tax_amount_after_discount_amount?: number | null | undefined;
1330
1330
  base_tax_amount?: number | null | undefined;
@@ -1459,6 +1459,7 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
1459
1459
  pr_detail?: string | null | undefined;
1460
1460
  }[] | null | undefined;
1461
1461
  supplier?: string | null | undefined;
1462
+ outstanding_amount?: number | null | undefined;
1462
1463
  paid_amount?: number | null | undefined;
1463
1464
  base_paid_amount?: number | null | undefined;
1464
1465
  remarks?: string | null | undefined;
@@ -1479,7 +1480,6 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
1479
1480
  taxes_and_charges_added?: number | null | undefined;
1480
1481
  taxes_and_charges_deducted?: number | null | undefined;
1481
1482
  total_advance?: number | null | undefined;
1482
- outstanding_amount?: number | null | undefined;
1483
1483
  write_off_amount?: number | null | undefined;
1484
1484
  base_write_off_amount?: number | null | undefined;
1485
1485
  allocate_advances_automatically?: number | null | undefined;
@@ -1512,6 +1512,7 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
1512
1512
  description?: string | null | undefined;
1513
1513
  docstatus?: number | undefined;
1514
1514
  _user_tags?: string | null | undefined;
1515
+ account_currency?: string | null | undefined;
1515
1516
  rate?: number | null | undefined;
1516
1517
  cost_center?: string | null | undefined;
1517
1518
  __unsaved?: number | null | undefined;
@@ -1524,7 +1525,6 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
1524
1525
  included_in_print_rate?: number | null | undefined;
1525
1526
  included_in_paid_amount?: number | null | undefined;
1526
1527
  account_head?: string | null | undefined;
1527
- account_currency?: string | null | undefined;
1528
1528
  tax_amount?: number | null | undefined;
1529
1529
  tax_amount_after_discount_amount?: number | null | undefined;
1530
1530
  base_tax_amount?: number | null | undefined;
@@ -1660,6 +1660,7 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
1660
1660
  pr_detail?: string | null | undefined;
1661
1661
  }[] | null | undefined;
1662
1662
  supplier?: string | null | undefined;
1663
+ outstanding_amount?: number | null | undefined;
1663
1664
  paid_amount?: number | null | undefined;
1664
1665
  base_paid_amount?: number | null | undefined;
1665
1666
  remarks?: string | null | undefined;
@@ -1680,7 +1681,6 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
1680
1681
  taxes_and_charges_added?: number | null | undefined;
1681
1682
  taxes_and_charges_deducted?: number | null | undefined;
1682
1683
  total_advance?: number | null | undefined;
1683
- outstanding_amount?: number | null | undefined;
1684
1684
  write_off_amount?: number | null | undefined;
1685
1685
  base_write_off_amount?: number | null | undefined;
1686
1686
  allocate_advances_automatically?: number | null | undefined;
@@ -277,15 +277,15 @@ export declare const SalesInvoicePayment: z.ZodObject<{
277
277
  }, "strip", z.ZodTypeAny, {
278
278
  amount: number;
279
279
  mode_of_payment: string;
280
- account?: string | null | undefined;
281
280
  base_amount?: number | null | undefined;
281
+ account?: string | null | undefined;
282
282
  reference_no?: string | null | undefined;
283
283
  clearance_date?: string | null | undefined;
284
284
  }, {
285
285
  amount: number;
286
286
  mode_of_payment: string;
287
- account?: string | null | undefined;
288
287
  base_amount?: number | null | undefined;
288
+ account?: string | null | undefined;
289
289
  reference_no?: string | null | undefined;
290
290
  clearance_date?: string | null | undefined;
291
291
  }>;
@@ -622,12 +622,12 @@ export declare const SalesInvoice: z.ZodObject<{
622
622
  included_in_print_rate: 0 | 1;
623
623
  account_head: string;
624
624
  description?: string | undefined;
625
+ account_currency?: string | undefined;
625
626
  rate?: number | undefined;
626
627
  cost_center?: string | undefined;
627
628
  project?: string | undefined;
628
629
  base_total?: number | undefined;
629
630
  total?: number | undefined;
630
- account_currency?: string | undefined;
631
631
  tax_amount?: number | undefined;
632
632
  tax_amount_after_discount_amount?: number | undefined;
633
633
  base_tax_amount?: number | undefined;
@@ -635,13 +635,13 @@ export declare const SalesInvoice: z.ZodObject<{
635
635
  charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
636
636
  account_head: string;
637
637
  description?: string | undefined;
638
+ account_currency?: string | undefined;
638
639
  rate?: number | undefined;
639
640
  cost_center?: string | undefined;
640
641
  project?: string | undefined;
641
642
  base_total?: number | undefined;
642
643
  total?: number | undefined;
643
644
  included_in_print_rate?: unknown;
644
- account_currency?: string | undefined;
645
645
  tax_amount?: number | undefined;
646
646
  tax_amount_after_discount_amount?: number | undefined;
647
647
  base_tax_amount?: number | undefined;
@@ -712,15 +712,15 @@ export declare const SalesInvoice: z.ZodObject<{
712
712
  }, "strip", z.ZodTypeAny, {
713
713
  amount: number;
714
714
  mode_of_payment: string;
715
- account?: string | null | undefined;
716
715
  base_amount?: number | null | undefined;
716
+ account?: string | null | undefined;
717
717
  reference_no?: string | null | undefined;
718
718
  clearance_date?: string | null | undefined;
719
719
  }, {
720
720
  amount: number;
721
721
  mode_of_payment: string;
722
- account?: string | null | undefined;
723
722
  base_amount?: number | null | undefined;
723
+ account?: string | null | undefined;
724
724
  reference_no?: string | null | undefined;
725
725
  clearance_date?: string | null | undefined;
726
726
  }>, "many">>>;
@@ -1007,23 +1007,23 @@ export declare const SalesInvoice: z.ZodObject<{
1007
1007
  included_in_print_rate: 0 | 1;
1008
1008
  account_head: string;
1009
1009
  description?: string | undefined;
1010
+ account_currency?: string | undefined;
1010
1011
  rate?: number | undefined;
1011
1012
  cost_center?: string | undefined;
1012
1013
  project?: string | undefined;
1013
1014
  base_total?: number | undefined;
1014
1015
  total?: number | undefined;
1015
- account_currency?: string | undefined;
1016
1016
  tax_amount?: number | undefined;
1017
1017
  tax_amount_after_discount_amount?: number | undefined;
1018
1018
  base_tax_amount?: number | undefined;
1019
1019
  }[] | null | undefined;
1020
1020
  sales_team?: any[] | null | undefined;
1021
+ outstanding_amount?: number | null | undefined;
1021
1022
  paid_amount?: number | null | undefined;
1022
1023
  base_paid_amount?: number | null | undefined;
1023
1024
  remarks?: string | null | undefined;
1024
1025
  due_date?: string | null | undefined;
1025
1026
  total_advance?: number | null | undefined;
1026
- outstanding_amount?: number | null | undefined;
1027
1027
  write_off_amount?: number | null | undefined;
1028
1028
  base_write_off_amount?: number | null | undefined;
1029
1029
  payment_terms_template?: string | null | undefined;
@@ -1050,8 +1050,8 @@ export declare const SalesInvoice: z.ZodObject<{
1050
1050
  payments?: {
1051
1051
  amount: number;
1052
1052
  mode_of_payment: string;
1053
- account?: string | null | undefined;
1054
1053
  base_amount?: number | null | undefined;
1054
+ account?: string | null | undefined;
1055
1055
  reference_no?: string | null | undefined;
1056
1056
  clearance_date?: string | null | undefined;
1057
1057
  }[] | null | undefined;
@@ -1237,25 +1237,25 @@ export declare const SalesInvoice: z.ZodObject<{
1237
1237
  charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
1238
1238
  account_head: string;
1239
1239
  description?: string | undefined;
1240
+ account_currency?: string | undefined;
1240
1241
  rate?: number | undefined;
1241
1242
  cost_center?: string | undefined;
1242
1243
  project?: string | undefined;
1243
1244
  base_total?: number | undefined;
1244
1245
  total?: number | undefined;
1245
1246
  included_in_print_rate?: unknown;
1246
- account_currency?: string | undefined;
1247
1247
  tax_amount?: number | undefined;
1248
1248
  tax_amount_after_discount_amount?: number | undefined;
1249
1249
  base_tax_amount?: number | undefined;
1250
1250
  }[] | null | undefined;
1251
1251
  sales_team?: any[] | null | undefined;
1252
+ outstanding_amount?: number | null | undefined;
1252
1253
  paid_amount?: number | null | undefined;
1253
1254
  base_paid_amount?: number | null | undefined;
1254
1255
  remarks?: string | null | undefined;
1255
1256
  due_date?: string | null | undefined;
1256
1257
  update_stock?: unknown;
1257
1258
  total_advance?: number | null | undefined;
1258
- outstanding_amount?: number | null | undefined;
1259
1259
  write_off_amount?: number | null | undefined;
1260
1260
  base_write_off_amount?: number | null | undefined;
1261
1261
  allocate_advances_automatically?: unknown;
@@ -1293,8 +1293,8 @@ export declare const SalesInvoice: z.ZodObject<{
1293
1293
  payments?: {
1294
1294
  amount: number;
1295
1295
  mode_of_payment: string;
1296
- account?: string | null | undefined;
1297
1296
  base_amount?: number | null | undefined;
1297
+ account?: string | null | undefined;
1298
1298
  reference_no?: string | null | undefined;
1299
1299
  clearance_date?: string | null | undefined;
1300
1300
  }[] | null | undefined;
@@ -1692,12 +1692,12 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
1692
1692
  included_in_print_rate: 0 | 1;
1693
1693
  account_head: string;
1694
1694
  description?: string | undefined;
1695
+ account_currency?: string | undefined;
1695
1696
  rate?: number | undefined;
1696
1697
  cost_center?: string | undefined;
1697
1698
  project?: string | undefined;
1698
1699
  base_total?: number | undefined;
1699
1700
  total?: number | undefined;
1700
- account_currency?: string | undefined;
1701
1701
  tax_amount?: number | undefined;
1702
1702
  tax_amount_after_discount_amount?: number | undefined;
1703
1703
  base_tax_amount?: number | undefined;
@@ -1705,13 +1705,13 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
1705
1705
  charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
1706
1706
  account_head: string;
1707
1707
  description?: string | undefined;
1708
+ account_currency?: string | undefined;
1708
1709
  rate?: number | undefined;
1709
1710
  cost_center?: string | undefined;
1710
1711
  project?: string | undefined;
1711
1712
  base_total?: number | undefined;
1712
1713
  total?: number | undefined;
1713
1714
  included_in_print_rate?: unknown;
1714
- account_currency?: string | undefined;
1715
1715
  tax_amount?: number | undefined;
1716
1716
  tax_amount_after_discount_amount?: number | undefined;
1717
1717
  base_tax_amount?: number | undefined;
@@ -1782,15 +1782,15 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
1782
1782
  }, "strip", z.ZodTypeAny, {
1783
1783
  amount: number;
1784
1784
  mode_of_payment: string;
1785
- account?: string | null | undefined;
1786
1785
  base_amount?: number | null | undefined;
1786
+ account?: string | null | undefined;
1787
1787
  reference_no?: string | null | undefined;
1788
1788
  clearance_date?: string | null | undefined;
1789
1789
  }, {
1790
1790
  amount: number;
1791
1791
  mode_of_payment: string;
1792
- account?: string | null | undefined;
1793
1792
  base_amount?: number | null | undefined;
1793
+ account?: string | null | undefined;
1794
1794
  reference_no?: string | null | undefined;
1795
1795
  clearance_date?: string | null | undefined;
1796
1796
  }>, "many">>>;
@@ -2108,23 +2108,23 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
2108
2108
  included_in_print_rate: 0 | 1;
2109
2109
  account_head: string;
2110
2110
  description?: string | undefined;
2111
+ account_currency?: string | undefined;
2111
2112
  rate?: number | undefined;
2112
2113
  cost_center?: string | undefined;
2113
2114
  project?: string | undefined;
2114
2115
  base_total?: number | undefined;
2115
2116
  total?: number | undefined;
2116
- account_currency?: string | undefined;
2117
2117
  tax_amount?: number | undefined;
2118
2118
  tax_amount_after_discount_amount?: number | undefined;
2119
2119
  base_tax_amount?: number | undefined;
2120
2120
  }[] | null | undefined;
2121
2121
  sales_team?: any[] | null | undefined;
2122
+ outstanding_amount?: number | null | undefined;
2122
2123
  paid_amount?: number | null | undefined;
2123
2124
  base_paid_amount?: number | null | undefined;
2124
2125
  remarks?: string | null | undefined;
2125
2126
  due_date?: string | null | undefined;
2126
2127
  total_advance?: number | null | undefined;
2127
- outstanding_amount?: number | null | undefined;
2128
2128
  write_off_amount?: number | null | undefined;
2129
2129
  base_write_off_amount?: number | null | undefined;
2130
2130
  payment_terms_template?: string | null | undefined;
@@ -2151,8 +2151,8 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
2151
2151
  payments?: {
2152
2152
  amount: number;
2153
2153
  mode_of_payment: string;
2154
- account?: string | null | undefined;
2155
2154
  base_amount?: number | null | undefined;
2155
+ account?: string | null | undefined;
2156
2156
  reference_no?: string | null | undefined;
2157
2157
  clearance_date?: string | null | undefined;
2158
2158
  }[] | null | undefined;
@@ -2357,25 +2357,25 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
2357
2357
  charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
2358
2358
  account_head: string;
2359
2359
  description?: string | undefined;
2360
+ account_currency?: string | undefined;
2360
2361
  rate?: number | undefined;
2361
2362
  cost_center?: string | undefined;
2362
2363
  project?: string | undefined;
2363
2364
  base_total?: number | undefined;
2364
2365
  total?: number | undefined;
2365
2366
  included_in_print_rate?: unknown;
2366
- account_currency?: string | undefined;
2367
2367
  tax_amount?: number | undefined;
2368
2368
  tax_amount_after_discount_amount?: number | undefined;
2369
2369
  base_tax_amount?: number | undefined;
2370
2370
  }[] | null | undefined;
2371
2371
  sales_team?: any[] | null | undefined;
2372
+ outstanding_amount?: number | null | undefined;
2372
2373
  paid_amount?: number | null | undefined;
2373
2374
  base_paid_amount?: number | null | undefined;
2374
2375
  remarks?: string | null | undefined;
2375
2376
  due_date?: string | null | undefined;
2376
2377
  update_stock?: unknown;
2377
2378
  total_advance?: number | null | undefined;
2378
- outstanding_amount?: number | null | undefined;
2379
2379
  write_off_amount?: number | null | undefined;
2380
2380
  base_write_off_amount?: number | null | undefined;
2381
2381
  allocate_advances_automatically?: unknown;
@@ -2413,8 +2413,8 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
2413
2413
  payments?: {
2414
2414
  amount: number;
2415
2415
  mode_of_payment: string;
2416
- account?: string | null | undefined;
2417
2416
  base_amount?: number | null | undefined;
2417
+ account?: string | null | undefined;
2418
2418
  reference_no?: string | null | undefined;
2419
2419
  clearance_date?: string | null | undefined;
2420
2420
  }[] | null | undefined;
@@ -564,12 +564,12 @@ export declare const SalesOrder: z.ZodObject<{
564
564
  included_in_print_rate: 0 | 1;
565
565
  account_head: string;
566
566
  description?: string | undefined;
567
+ account_currency?: string | undefined;
567
568
  rate?: number | undefined;
568
569
  cost_center?: string | undefined;
569
570
  project?: string | undefined;
570
571
  base_total?: number | undefined;
571
572
  total?: number | undefined;
572
- account_currency?: string | undefined;
573
573
  tax_amount?: number | undefined;
574
574
  tax_amount_after_discount_amount?: number | undefined;
575
575
  base_tax_amount?: number | undefined;
@@ -577,13 +577,13 @@ export declare const SalesOrder: z.ZodObject<{
577
577
  charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
578
578
  account_head: string;
579
579
  description?: string | undefined;
580
+ account_currency?: string | undefined;
580
581
  rate?: number | undefined;
581
582
  cost_center?: string | undefined;
582
583
  project?: string | undefined;
583
584
  base_total?: number | undefined;
584
585
  total?: number | undefined;
585
586
  included_in_print_rate?: unknown;
586
- account_currency?: string | undefined;
587
587
  tax_amount?: number | undefined;
588
588
  tax_amount_after_discount_amount?: number | undefined;
589
589
  base_tax_amount?: number | undefined;
@@ -837,12 +837,12 @@ export declare const SalesOrder: z.ZodObject<{
837
837
  included_in_print_rate: 0 | 1;
838
838
  account_head: string;
839
839
  description?: string | undefined;
840
+ account_currency?: string | undefined;
840
841
  rate?: number | undefined;
841
842
  cost_center?: string | undefined;
842
843
  project?: string | undefined;
843
844
  base_total?: number | undefined;
844
845
  total?: number | undefined;
845
- account_currency?: string | undefined;
846
846
  tax_amount?: number | undefined;
847
847
  tax_amount_after_discount_amount?: number | undefined;
848
848
  base_tax_amount?: number | undefined;
@@ -1032,13 +1032,13 @@ export declare const SalesOrder: z.ZodObject<{
1032
1032
  charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
1033
1033
  account_head: string;
1034
1034
  description?: string | undefined;
1035
+ account_currency?: string | undefined;
1035
1036
  rate?: number | undefined;
1036
1037
  cost_center?: string | undefined;
1037
1038
  project?: string | undefined;
1038
1039
  base_total?: number | undefined;
1039
1040
  total?: number | undefined;
1040
1041
  included_in_print_rate?: unknown;
1041
- account_currency?: string | undefined;
1042
1042
  tax_amount?: number | undefined;
1043
1043
  tax_amount_after_discount_amount?: number | undefined;
1044
1044
  base_tax_amount?: number | undefined;
@@ -20,12 +20,12 @@ export declare const SalesTaxesAndCharges: z.ZodObject<{
20
20
  included_in_print_rate: 0 | 1;
21
21
  account_head: string;
22
22
  description?: string | undefined;
23
+ account_currency?: string | undefined;
23
24
  rate?: number | undefined;
24
25
  cost_center?: string | undefined;
25
26
  project?: string | undefined;
26
27
  base_total?: number | undefined;
27
28
  total?: number | undefined;
28
- account_currency?: string | undefined;
29
29
  tax_amount?: number | undefined;
30
30
  tax_amount_after_discount_amount?: number | undefined;
31
31
  base_tax_amount?: number | undefined;
@@ -33,13 +33,13 @@ export declare const SalesTaxesAndCharges: z.ZodObject<{
33
33
  charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
34
34
  account_head: string;
35
35
  description?: string | undefined;
36
+ account_currency?: string | undefined;
36
37
  rate?: number | undefined;
37
38
  cost_center?: string | undefined;
38
39
  project?: string | undefined;
39
40
  base_total?: number | undefined;
40
41
  total?: number | undefined;
41
42
  included_in_print_rate?: unknown;
42
- account_currency?: string | undefined;
43
43
  tax_amount?: number | undefined;
44
44
  tax_amount_after_discount_amount?: number | undefined;
45
45
  base_tax_amount?: number | undefined;
@@ -109,6 +109,7 @@ export declare const StockEntry: z.ZodObject<{
109
109
  s_warehouse?: string | undefined;
110
110
  basic_rate?: number | undefined;
111
111
  }[];
112
+ total_amount: number;
112
113
  is_opening: string;
113
114
  apply_putaway_rule: number;
114
115
  stock_entry_type: string;
@@ -123,7 +124,6 @@ export declare const StockEntry: z.ZodObject<{
123
124
  value_difference: number;
124
125
  total_additional_costs: number;
125
126
  per_transferred: number;
126
- total_amount: number;
127
127
  additional_costs: string[];
128
128
  amended_from?: string | undefined;
129
129
  supplier_name?: string | undefined;
@@ -167,6 +167,7 @@ export declare const StockEntry: z.ZodObject<{
167
167
  s_warehouse?: string | undefined;
168
168
  basic_rate?: number | undefined;
169
169
  }[];
170
+ total_amount: number;
170
171
  is_opening: string;
171
172
  apply_putaway_rule: number;
172
173
  stock_entry_type: string;
@@ -181,7 +182,6 @@ export declare const StockEntry: z.ZodObject<{
181
182
  value_difference: number;
182
183
  total_additional_costs: number;
183
184
  per_transferred: number;
184
- total_amount: number;
185
185
  additional_costs: string[];
186
186
  amended_from?: string | undefined;
187
187
  supplier_name?: string | undefined;
@@ -24,14 +24,56 @@ export declare const Supplier: z.ZodObject<{
24
24
  is_frozen: z.ZodNumber;
25
25
  companies: z.ZodArray<z.ZodString, "many">;
26
26
  accounts: z.ZodArray<z.ZodObject<{
27
+ account_name: z.ZodString;
28
+ account_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
29
+ is_group: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
30
+ __optionalForInput: true;
31
+ };
27
32
  company: z.ZodString;
28
- account: z.ZodString;
33
+ root_type: z.ZodNullable<z.ZodOptional<z.ZodEnum<["Asset", "Liability", "Income", "Expense", "Equity"]>>>;
34
+ report_type: z.ZodNullable<z.ZodOptional<z.ZodEnum<["Balance Sheet", "Profit and Loss"]>>>;
35
+ account_currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
36
+ parent_account: z.ZodString;
37
+ account_type: z.ZodNullable<z.ZodOptional<z.ZodEnum<["Accumulated Depreciation", "Asset Received But Not Billed", "Bank", "Cash", "Chargeable", "Capital Work in Progress", "Cost of Goods Sold", "Current Asset", "Current Liability", "Depreciation", "Direct Expense", "Direct Income", "Equity", "Expense Account", "Expenses Included In Asset Valuation", "Expenses Included In Valuation", "Fixed Asset", "Income Account", "Indirect Expense", "Indirect Income", "Liability", "Payable", "Receivable", "Round Off", "Stock", "Stock Adjustment", "Stock Received But Not Billed", "Service Received But Not Billed", "Tax", "Temporary"]>>>;
38
+ tax_rate: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
39
+ freeze_account: z.ZodNullable<z.ZodOptional<z.ZodEnum<["No", "Yes"]>>>;
40
+ balance_must_be: z.ZodNullable<z.ZodOptional<z.ZodEnum<["Debit", "Credit"]>>>;
41
+ include_in_gross: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
42
+ __optionalForInput: true;
43
+ };
44
+ disabled: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
45
+ __optionalForInput: true;
46
+ };
29
47
  }, "strip", z.ZodTypeAny, {
48
+ is_group: 0 | 1;
49
+ disabled: 0 | 1;
50
+ account_name: string;
30
51
  company: string;
31
- account: string;
52
+ parent_account: string;
53
+ include_in_gross: 0 | 1;
54
+ account_number?: string | null | undefined;
55
+ root_type?: "Asset" | "Liability" | "Income" | "Expense" | "Equity" | null | undefined;
56
+ report_type?: "Balance Sheet" | "Profit and Loss" | null | undefined;
57
+ account_currency?: string | null | undefined;
58
+ account_type?: "Liability" | "Equity" | "Accumulated Depreciation" | "Asset Received But Not Billed" | "Bank" | "Cash" | "Chargeable" | "Capital Work in Progress" | "Cost of Goods Sold" | "Current Asset" | "Current Liability" | "Depreciation" | "Direct Expense" | "Direct Income" | "Expense Account" | "Expenses Included In Asset Valuation" | "Expenses Included In Valuation" | "Fixed Asset" | "Income Account" | "Indirect Expense" | "Indirect Income" | "Payable" | "Receivable" | "Round Off" | "Stock" | "Stock Adjustment" | "Stock Received But Not Billed" | "Service Received But Not Billed" | "Tax" | "Temporary" | null | undefined;
59
+ tax_rate?: number | null | undefined;
60
+ freeze_account?: "No" | "Yes" | null | undefined;
61
+ balance_must_be?: "Debit" | "Credit" | null | undefined;
32
62
  }, {
63
+ account_name: string;
33
64
  company: string;
34
- account: string;
65
+ parent_account: string;
66
+ is_group?: unknown;
67
+ disabled?: unknown;
68
+ account_number?: string | null | undefined;
69
+ root_type?: "Asset" | "Liability" | "Income" | "Expense" | "Equity" | null | undefined;
70
+ report_type?: "Balance Sheet" | "Profit and Loss" | null | undefined;
71
+ account_currency?: string | null | undefined;
72
+ account_type?: "Liability" | "Equity" | "Accumulated Depreciation" | "Asset Received But Not Billed" | "Bank" | "Cash" | "Chargeable" | "Capital Work in Progress" | "Cost of Goods Sold" | "Current Asset" | "Current Liability" | "Depreciation" | "Direct Expense" | "Direct Income" | "Expense Account" | "Expenses Included In Asset Valuation" | "Expenses Included In Valuation" | "Fixed Asset" | "Income Account" | "Indirect Expense" | "Indirect Income" | "Payable" | "Receivable" | "Round Off" | "Stock" | "Stock Adjustment" | "Stock Received But Not Billed" | "Service Received But Not Billed" | "Tax" | "Temporary" | null | undefined;
73
+ tax_rate?: number | null | undefined;
74
+ freeze_account?: "No" | "Yes" | null | undefined;
75
+ balance_must_be?: "Debit" | "Credit" | null | undefined;
76
+ include_in_gross?: unknown;
35
77
  }>, "many">;
36
78
  supplier_number_code: z.ZodOptional<z.ZodString>;
37
79
  }, "strip", z.ZodTypeAny, {
@@ -54,8 +96,20 @@ export declare const Supplier: z.ZodObject<{
54
96
  is_frozen: number;
55
97
  companies: string[];
56
98
  accounts: {
99
+ is_group: 0 | 1;
100
+ disabled: 0 | 1;
101
+ account_name: string;
57
102
  company: string;
58
- account: string;
103
+ parent_account: string;
104
+ include_in_gross: 0 | 1;
105
+ account_number?: string | null | undefined;
106
+ root_type?: "Asset" | "Liability" | "Income" | "Expense" | "Equity" | null | undefined;
107
+ report_type?: "Balance Sheet" | "Profit and Loss" | null | undefined;
108
+ account_currency?: string | null | undefined;
109
+ account_type?: "Liability" | "Equity" | "Accumulated Depreciation" | "Asset Received But Not Billed" | "Bank" | "Cash" | "Chargeable" | "Capital Work in Progress" | "Cost of Goods Sold" | "Current Asset" | "Current Liability" | "Depreciation" | "Direct Expense" | "Direct Income" | "Expense Account" | "Expenses Included In Asset Valuation" | "Expenses Included In Valuation" | "Fixed Asset" | "Income Account" | "Indirect Expense" | "Indirect Income" | "Payable" | "Receivable" | "Round Off" | "Stock" | "Stock Adjustment" | "Stock Received But Not Billed" | "Service Received But Not Billed" | "Tax" | "Temporary" | null | undefined;
110
+ tax_rate?: number | null | undefined;
111
+ freeze_account?: "No" | "Yes" | null | undefined;
112
+ balance_must_be?: "Debit" | "Credit" | null | undefined;
59
113
  }[];
60
114
  import_reference?: string | null | undefined;
61
115
  supplier_contact?: string | null | undefined;
@@ -83,8 +137,20 @@ export declare const Supplier: z.ZodObject<{
83
137
  is_frozen: number;
84
138
  companies: string[];
85
139
  accounts: {
140
+ account_name: string;
86
141
  company: string;
87
- account: string;
142
+ parent_account: string;
143
+ is_group?: unknown;
144
+ disabled?: unknown;
145
+ account_number?: string | null | undefined;
146
+ root_type?: "Asset" | "Liability" | "Income" | "Expense" | "Equity" | null | undefined;
147
+ report_type?: "Balance Sheet" | "Profit and Loss" | null | undefined;
148
+ account_currency?: string | null | undefined;
149
+ account_type?: "Liability" | "Equity" | "Accumulated Depreciation" | "Asset Received But Not Billed" | "Bank" | "Cash" | "Chargeable" | "Capital Work in Progress" | "Cost of Goods Sold" | "Current Asset" | "Current Liability" | "Depreciation" | "Direct Expense" | "Direct Income" | "Expense Account" | "Expenses Included In Asset Valuation" | "Expenses Included In Valuation" | "Fixed Asset" | "Income Account" | "Indirect Expense" | "Indirect Income" | "Payable" | "Receivable" | "Round Off" | "Stock" | "Stock Adjustment" | "Stock Received But Not Billed" | "Service Received But Not Billed" | "Tax" | "Temporary" | null | undefined;
150
+ tax_rate?: number | null | undefined;
151
+ freeze_account?: "No" | "Yes" | null | undefined;
152
+ balance_must_be?: "Debit" | "Credit" | null | undefined;
153
+ include_in_gross?: unknown;
88
154
  }[];
89
155
  import_reference?: string | null | undefined;
90
156
  supplier_contact?: string | null | undefined;