@deepintel-ltd/farmpro-contracts 1.23.2 → 1.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/index.d.ts +2 -0
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +1 -0
  4. package/dist/routes/commodity-deals.routes.d.ts +1339 -0
  5. package/dist/routes/commodity-deals.routes.d.ts.map +1 -1
  6. package/dist/routes/commodity-deals.routes.js +49 -1
  7. package/dist/routes/finance.routes.d.ts +68 -68
  8. package/dist/routes/index.d.ts +2 -0
  9. package/dist/routes/index.d.ts.map +1 -1
  10. package/dist/routes/index.js +2 -0
  11. package/dist/routes/inventory.routes.d.ts +584 -0
  12. package/dist/routes/inventory.routes.d.ts.map +1 -1
  13. package/dist/routes/inventory.routes.js +26 -1
  14. package/dist/routes/live-monitor.routes.d.ts +15 -10
  15. package/dist/routes/live-monitor.routes.d.ts.map +1 -1
  16. package/dist/routes/monitoring-visualization.routes.d.ts +3 -0
  17. package/dist/routes/monitoring-visualization.routes.d.ts.map +1 -1
  18. package/dist/routes/poultry.routes.d.ts +3318 -0
  19. package/dist/routes/poultry.routes.d.ts.map +1 -0
  20. package/dist/routes/poultry.routes.js +195 -0
  21. package/dist/routes/team-payments.routes.d.ts +42 -42
  22. package/dist/routes/trade-cash-events.routes.d.ts +20 -20
  23. package/dist/routes/waybills.routes.d.ts +14 -0
  24. package/dist/routes/waybills.routes.d.ts.map +1 -1
  25. package/dist/schemas/commodity-deals.schemas.d.ts +484 -0
  26. package/dist/schemas/commodity-deals.schemas.d.ts.map +1 -1
  27. package/dist/schemas/commodity-deals.schemas.js +34 -0
  28. package/dist/schemas/finance.schemas.d.ts +78 -78
  29. package/dist/schemas/inventory.schemas.d.ts +122 -0
  30. package/dist/schemas/inventory.schemas.d.ts.map +1 -1
  31. package/dist/schemas/inventory.schemas.js +35 -0
  32. package/dist/schemas/live-monitor.schemas.d.ts +24 -16
  33. package/dist/schemas/live-monitor.schemas.d.ts.map +1 -1
  34. package/dist/schemas/live-monitor.schemas.js +3 -2
  35. package/dist/schemas/monitoring-visualization.schemas.d.ts +64 -0
  36. package/dist/schemas/monitoring-visualization.schemas.d.ts.map +1 -1
  37. package/dist/schemas/monitoring-visualization.schemas.js +25 -1
  38. package/dist/schemas/team-payments.schemas.d.ts +30 -30
  39. package/dist/schemas/trade-cash-events.schemas.d.ts +24 -24
  40. package/dist/schemas/waybills.schemas.d.ts +16 -0
  41. package/dist/schemas/waybills.schemas.d.ts.map +1 -1
  42. package/dist/schemas/waybills.schemas.js +1 -0
  43. package/package.json +1 -1
@@ -1477,6 +1477,7 @@ export declare const vendorPaymentAttributesSchema: z.ZodObject<{
1477
1477
  amount: number;
1478
1478
  completedAt: string | null;
1479
1479
  failureReason: string | null;
1480
+ supplierId: string | null;
1480
1481
  initiatedById: string;
1481
1482
  paymentAccountId: string;
1482
1483
  approvedById: string | null;
@@ -1485,7 +1486,6 @@ export declare const vendorPaymentAttributesSchema: z.ZodObject<{
1485
1486
  vendorBankCode: string;
1486
1487
  vendorAccountNumber: string;
1487
1488
  vendorAccountName: string;
1488
- supplierId: string | null;
1489
1489
  narration: string;
1490
1490
  providerReference: string | null;
1491
1491
  providerTransferId: string | null;
@@ -1506,6 +1506,7 @@ export declare const vendorPaymentAttributesSchema: z.ZodObject<{
1506
1506
  amount: number;
1507
1507
  completedAt: string | null;
1508
1508
  failureReason: string | null;
1509
+ supplierId: string | null;
1509
1510
  initiatedById: string;
1510
1511
  paymentAccountId: string;
1511
1512
  approvedById: string | null;
@@ -1514,7 +1515,6 @@ export declare const vendorPaymentAttributesSchema: z.ZodObject<{
1514
1515
  vendorBankCode: string;
1515
1516
  vendorAccountNumber: string;
1516
1517
  vendorAccountName: string;
1517
- supplierId: string | null;
1518
1518
  narration: string;
1519
1519
  providerReference: string | null;
1520
1520
  providerTransferId: string | null;
@@ -1547,8 +1547,8 @@ export declare const initiateVendorPaymentAttributesSchema: z.ZodObject<{
1547
1547
  narration: string;
1548
1548
  fieldId?: string | undefined;
1549
1549
  cropId?: string | undefined;
1550
- vendorAccountName?: string | undefined;
1551
1550
  supplierId?: string | undefined;
1551
+ vendorAccountName?: string | undefined;
1552
1552
  }, {
1553
1553
  category: string;
1554
1554
  amount: number;
@@ -1560,8 +1560,8 @@ export declare const initiateVendorPaymentAttributesSchema: z.ZodObject<{
1560
1560
  currency?: string | undefined;
1561
1561
  fieldId?: string | undefined;
1562
1562
  cropId?: string | undefined;
1563
- vendorAccountName?: string | undefined;
1564
1563
  supplierId?: string | undefined;
1564
+ vendorAccountName?: string | undefined;
1565
1565
  }>;
1566
1566
  export declare const initiateVendorPaymentSchema: z.ZodObject<{
1567
1567
  type: z.ZodLiteral<"vendor-payments">;
@@ -1589,8 +1589,8 @@ export declare const initiateVendorPaymentSchema: z.ZodObject<{
1589
1589
  narration: string;
1590
1590
  fieldId?: string | undefined;
1591
1591
  cropId?: string | undefined;
1592
- vendorAccountName?: string | undefined;
1593
1592
  supplierId?: string | undefined;
1593
+ vendorAccountName?: string | undefined;
1594
1594
  }, {
1595
1595
  category: string;
1596
1596
  amount: number;
@@ -1602,8 +1602,8 @@ export declare const initiateVendorPaymentSchema: z.ZodObject<{
1602
1602
  currency?: string | undefined;
1603
1603
  fieldId?: string | undefined;
1604
1604
  cropId?: string | undefined;
1605
- vendorAccountName?: string | undefined;
1606
1605
  supplierId?: string | undefined;
1606
+ vendorAccountName?: string | undefined;
1607
1607
  }>;
1608
1608
  }, "strip", z.ZodTypeAny, {
1609
1609
  type: "vendor-payments";
@@ -1618,8 +1618,8 @@ export declare const initiateVendorPaymentSchema: z.ZodObject<{
1618
1618
  narration: string;
1619
1619
  fieldId?: string | undefined;
1620
1620
  cropId?: string | undefined;
1621
- vendorAccountName?: string | undefined;
1622
1621
  supplierId?: string | undefined;
1622
+ vendorAccountName?: string | undefined;
1623
1623
  };
1624
1624
  }, {
1625
1625
  type: "vendor-payments";
@@ -1634,8 +1634,8 @@ export declare const initiateVendorPaymentSchema: z.ZodObject<{
1634
1634
  currency?: string | undefined;
1635
1635
  fieldId?: string | undefined;
1636
1636
  cropId?: string | undefined;
1637
- vendorAccountName?: string | undefined;
1638
1637
  supplierId?: string | undefined;
1638
+ vendorAccountName?: string | undefined;
1639
1639
  };
1640
1640
  }>;
1641
1641
  export declare const paymentApprovalActionInputSchema: z.ZodObject<{
@@ -1789,6 +1789,7 @@ export declare const vendorPaymentResourceSchema: z.ZodObject<{
1789
1789
  amount: number;
1790
1790
  completedAt: string | null;
1791
1791
  failureReason: string | null;
1792
+ supplierId: string | null;
1792
1793
  initiatedById: string;
1793
1794
  paymentAccountId: string;
1794
1795
  approvedById: string | null;
@@ -1797,7 +1798,6 @@ export declare const vendorPaymentResourceSchema: z.ZodObject<{
1797
1798
  vendorBankCode: string;
1798
1799
  vendorAccountNumber: string;
1799
1800
  vendorAccountName: string;
1800
- supplierId: string | null;
1801
1801
  narration: string;
1802
1802
  providerReference: string | null;
1803
1803
  providerTransferId: string | null;
@@ -1818,6 +1818,7 @@ export declare const vendorPaymentResourceSchema: z.ZodObject<{
1818
1818
  amount: number;
1819
1819
  completedAt: string | null;
1820
1820
  failureReason: string | null;
1821
+ supplierId: string | null;
1821
1822
  initiatedById: string;
1822
1823
  paymentAccountId: string;
1823
1824
  approvedById: string | null;
@@ -1826,7 +1827,6 @@ export declare const vendorPaymentResourceSchema: z.ZodObject<{
1826
1827
  vendorBankCode: string;
1827
1828
  vendorAccountNumber: string;
1828
1829
  vendorAccountName: string;
1829
- supplierId: string | null;
1830
1830
  narration: string;
1831
1831
  providerReference: string | null;
1832
1832
  providerTransferId: string | null;
@@ -1854,6 +1854,7 @@ export declare const vendorPaymentResourceSchema: z.ZodObject<{
1854
1854
  amount: number;
1855
1855
  completedAt: string | null;
1856
1856
  failureReason: string | null;
1857
+ supplierId: string | null;
1857
1858
  initiatedById: string;
1858
1859
  paymentAccountId: string;
1859
1860
  approvedById: string | null;
@@ -1862,7 +1863,6 @@ export declare const vendorPaymentResourceSchema: z.ZodObject<{
1862
1863
  vendorBankCode: string;
1863
1864
  vendorAccountNumber: string;
1864
1865
  vendorAccountName: string;
1865
- supplierId: string | null;
1866
1866
  narration: string;
1867
1867
  providerReference: string | null;
1868
1868
  providerTransferId: string | null;
@@ -1890,6 +1890,7 @@ export declare const vendorPaymentResourceSchema: z.ZodObject<{
1890
1890
  amount: number;
1891
1891
  completedAt: string | null;
1892
1892
  failureReason: string | null;
1893
+ supplierId: string | null;
1893
1894
  initiatedById: string;
1894
1895
  paymentAccountId: string;
1895
1896
  approvedById: string | null;
@@ -1898,7 +1899,6 @@ export declare const vendorPaymentResourceSchema: z.ZodObject<{
1898
1899
  vendorBankCode: string;
1899
1900
  vendorAccountNumber: string;
1900
1901
  vendorAccountName: string;
1901
- supplierId: string | null;
1902
1902
  narration: string;
1903
1903
  providerReference: string | null;
1904
1904
  providerTransferId: string | null;
@@ -1958,6 +1958,7 @@ export declare const vendorPaymentResponseSchema: z.ZodObject<{
1958
1958
  amount: number;
1959
1959
  completedAt: string | null;
1960
1960
  failureReason: string | null;
1961
+ supplierId: string | null;
1961
1962
  initiatedById: string;
1962
1963
  paymentAccountId: string;
1963
1964
  approvedById: string | null;
@@ -1966,7 +1967,6 @@ export declare const vendorPaymentResponseSchema: z.ZodObject<{
1966
1967
  vendorBankCode: string;
1967
1968
  vendorAccountNumber: string;
1968
1969
  vendorAccountName: string;
1969
- supplierId: string | null;
1970
1970
  narration: string;
1971
1971
  providerReference: string | null;
1972
1972
  providerTransferId: string | null;
@@ -1987,6 +1987,7 @@ export declare const vendorPaymentResponseSchema: z.ZodObject<{
1987
1987
  amount: number;
1988
1988
  completedAt: string | null;
1989
1989
  failureReason: string | null;
1990
+ supplierId: string | null;
1990
1991
  initiatedById: string;
1991
1992
  paymentAccountId: string;
1992
1993
  approvedById: string | null;
@@ -1995,7 +1996,6 @@ export declare const vendorPaymentResponseSchema: z.ZodObject<{
1995
1996
  vendorBankCode: string;
1996
1997
  vendorAccountNumber: string;
1997
1998
  vendorAccountName: string;
1998
- supplierId: string | null;
1999
1999
  narration: string;
2000
2000
  providerReference: string | null;
2001
2001
  providerTransferId: string | null;
@@ -2023,6 +2023,7 @@ export declare const vendorPaymentResponseSchema: z.ZodObject<{
2023
2023
  amount: number;
2024
2024
  completedAt: string | null;
2025
2025
  failureReason: string | null;
2026
+ supplierId: string | null;
2026
2027
  initiatedById: string;
2027
2028
  paymentAccountId: string;
2028
2029
  approvedById: string | null;
@@ -2031,7 +2032,6 @@ export declare const vendorPaymentResponseSchema: z.ZodObject<{
2031
2032
  vendorBankCode: string;
2032
2033
  vendorAccountNumber: string;
2033
2034
  vendorAccountName: string;
2034
- supplierId: string | null;
2035
2035
  narration: string;
2036
2036
  providerReference: string | null;
2037
2037
  providerTransferId: string | null;
@@ -2059,6 +2059,7 @@ export declare const vendorPaymentResponseSchema: z.ZodObject<{
2059
2059
  amount: number;
2060
2060
  completedAt: string | null;
2061
2061
  failureReason: string | null;
2062
+ supplierId: string | null;
2062
2063
  initiatedById: string;
2063
2064
  paymentAccountId: string;
2064
2065
  approvedById: string | null;
@@ -2067,7 +2068,6 @@ export declare const vendorPaymentResponseSchema: z.ZodObject<{
2067
2068
  vendorBankCode: string;
2068
2069
  vendorAccountNumber: string;
2069
2070
  vendorAccountName: string;
2070
- supplierId: string | null;
2071
2071
  narration: string;
2072
2072
  providerReference: string | null;
2073
2073
  providerTransferId: string | null;
@@ -2121,6 +2121,7 @@ export declare const vendorPaymentResponseSchema: z.ZodObject<{
2121
2121
  amount: number;
2122
2122
  completedAt: string | null;
2123
2123
  failureReason: string | null;
2124
+ supplierId: string | null;
2124
2125
  initiatedById: string;
2125
2126
  paymentAccountId: string;
2126
2127
  approvedById: string | null;
@@ -2129,7 +2130,6 @@ export declare const vendorPaymentResponseSchema: z.ZodObject<{
2129
2130
  vendorBankCode: string;
2130
2131
  vendorAccountNumber: string;
2131
2132
  vendorAccountName: string;
2132
- supplierId: string | null;
2133
2133
  narration: string;
2134
2134
  providerReference: string | null;
2135
2135
  providerTransferId: string | null;
@@ -2169,6 +2169,7 @@ export declare const vendorPaymentResponseSchema: z.ZodObject<{
2169
2169
  amount: number;
2170
2170
  completedAt: string | null;
2171
2171
  failureReason: string | null;
2172
+ supplierId: string | null;
2172
2173
  initiatedById: string;
2173
2174
  paymentAccountId: string;
2174
2175
  approvedById: string | null;
@@ -2177,7 +2178,6 @@ export declare const vendorPaymentResponseSchema: z.ZodObject<{
2177
2178
  vendorBankCode: string;
2178
2179
  vendorAccountNumber: string;
2179
2180
  vendorAccountName: string;
2180
- supplierId: string | null;
2181
2181
  narration: string;
2182
2182
  providerReference: string | null;
2183
2183
  providerTransferId: string | null;
@@ -2248,6 +2248,7 @@ export declare const vendorPaymentListResponseSchema: z.ZodObject<{
2248
2248
  amount: number;
2249
2249
  completedAt: string | null;
2250
2250
  failureReason: string | null;
2251
+ supplierId: string | null;
2251
2252
  initiatedById: string;
2252
2253
  paymentAccountId: string;
2253
2254
  approvedById: string | null;
@@ -2256,7 +2257,6 @@ export declare const vendorPaymentListResponseSchema: z.ZodObject<{
2256
2257
  vendorBankCode: string;
2257
2258
  vendorAccountNumber: string;
2258
2259
  vendorAccountName: string;
2259
- supplierId: string | null;
2260
2260
  narration: string;
2261
2261
  providerReference: string | null;
2262
2262
  providerTransferId: string | null;
@@ -2277,6 +2277,7 @@ export declare const vendorPaymentListResponseSchema: z.ZodObject<{
2277
2277
  amount: number;
2278
2278
  completedAt: string | null;
2279
2279
  failureReason: string | null;
2280
+ supplierId: string | null;
2280
2281
  initiatedById: string;
2281
2282
  paymentAccountId: string;
2282
2283
  approvedById: string | null;
@@ -2285,7 +2286,6 @@ export declare const vendorPaymentListResponseSchema: z.ZodObject<{
2285
2286
  vendorBankCode: string;
2286
2287
  vendorAccountNumber: string;
2287
2288
  vendorAccountName: string;
2288
- supplierId: string | null;
2289
2289
  narration: string;
2290
2290
  providerReference: string | null;
2291
2291
  providerTransferId: string | null;
@@ -2313,6 +2313,7 @@ export declare const vendorPaymentListResponseSchema: z.ZodObject<{
2313
2313
  amount: number;
2314
2314
  completedAt: string | null;
2315
2315
  failureReason: string | null;
2316
+ supplierId: string | null;
2316
2317
  initiatedById: string;
2317
2318
  paymentAccountId: string;
2318
2319
  approvedById: string | null;
@@ -2321,7 +2322,6 @@ export declare const vendorPaymentListResponseSchema: z.ZodObject<{
2321
2322
  vendorBankCode: string;
2322
2323
  vendorAccountNumber: string;
2323
2324
  vendorAccountName: string;
2324
- supplierId: string | null;
2325
2325
  narration: string;
2326
2326
  providerReference: string | null;
2327
2327
  providerTransferId: string | null;
@@ -2349,6 +2349,7 @@ export declare const vendorPaymentListResponseSchema: z.ZodObject<{
2349
2349
  amount: number;
2350
2350
  completedAt: string | null;
2351
2351
  failureReason: string | null;
2352
+ supplierId: string | null;
2352
2353
  initiatedById: string;
2353
2354
  paymentAccountId: string;
2354
2355
  approvedById: string | null;
@@ -2357,7 +2358,6 @@ export declare const vendorPaymentListResponseSchema: z.ZodObject<{
2357
2358
  vendorBankCode: string;
2358
2359
  vendorAccountNumber: string;
2359
2360
  vendorAccountName: string;
2360
- supplierId: string | null;
2361
2361
  narration: string;
2362
2362
  providerReference: string | null;
2363
2363
  providerTransferId: string | null;
@@ -2411,6 +2411,7 @@ export declare const vendorPaymentListResponseSchema: z.ZodObject<{
2411
2411
  amount: number;
2412
2412
  completedAt: string | null;
2413
2413
  failureReason: string | null;
2414
+ supplierId: string | null;
2414
2415
  initiatedById: string;
2415
2416
  paymentAccountId: string;
2416
2417
  approvedById: string | null;
@@ -2419,7 +2420,6 @@ export declare const vendorPaymentListResponseSchema: z.ZodObject<{
2419
2420
  vendorBankCode: string;
2420
2421
  vendorAccountNumber: string;
2421
2422
  vendorAccountName: string;
2422
- supplierId: string | null;
2423
2423
  narration: string;
2424
2424
  providerReference: string | null;
2425
2425
  providerTransferId: string | null;
@@ -2459,6 +2459,7 @@ export declare const vendorPaymentListResponseSchema: z.ZodObject<{
2459
2459
  amount: number;
2460
2460
  completedAt: string | null;
2461
2461
  failureReason: string | null;
2462
+ supplierId: string | null;
2462
2463
  initiatedById: string;
2463
2464
  paymentAccountId: string;
2464
2465
  approvedById: string | null;
@@ -2467,7 +2468,6 @@ export declare const vendorPaymentListResponseSchema: z.ZodObject<{
2467
2468
  vendorBankCode: string;
2468
2469
  vendorAccountNumber: string;
2469
2470
  vendorAccountName: string;
2470
- supplierId: string | null;
2471
2471
  narration: string;
2472
2472
  providerReference: string | null;
2473
2473
  providerTransferId: string | null;
@@ -2538,6 +2538,7 @@ export declare const paymentApprovalListResponseSchema: z.ZodObject<{
2538
2538
  amount: number;
2539
2539
  completedAt: string | null;
2540
2540
  failureReason: string | null;
2541
+ supplierId: string | null;
2541
2542
  initiatedById: string;
2542
2543
  paymentAccountId: string;
2543
2544
  approvedById: string | null;
@@ -2546,7 +2547,6 @@ export declare const paymentApprovalListResponseSchema: z.ZodObject<{
2546
2547
  vendorBankCode: string;
2547
2548
  vendorAccountNumber: string;
2548
2549
  vendorAccountName: string;
2549
- supplierId: string | null;
2550
2550
  narration: string;
2551
2551
  providerReference: string | null;
2552
2552
  providerTransferId: string | null;
@@ -2567,6 +2567,7 @@ export declare const paymentApprovalListResponseSchema: z.ZodObject<{
2567
2567
  amount: number;
2568
2568
  completedAt: string | null;
2569
2569
  failureReason: string | null;
2570
+ supplierId: string | null;
2570
2571
  initiatedById: string;
2571
2572
  paymentAccountId: string;
2572
2573
  approvedById: string | null;
@@ -2575,7 +2576,6 @@ export declare const paymentApprovalListResponseSchema: z.ZodObject<{
2575
2576
  vendorBankCode: string;
2576
2577
  vendorAccountNumber: string;
2577
2578
  vendorAccountName: string;
2578
- supplierId: string | null;
2579
2579
  narration: string;
2580
2580
  providerReference: string | null;
2581
2581
  providerTransferId: string | null;
@@ -2603,6 +2603,7 @@ export declare const paymentApprovalListResponseSchema: z.ZodObject<{
2603
2603
  amount: number;
2604
2604
  completedAt: string | null;
2605
2605
  failureReason: string | null;
2606
+ supplierId: string | null;
2606
2607
  initiatedById: string;
2607
2608
  paymentAccountId: string;
2608
2609
  approvedById: string | null;
@@ -2611,7 +2612,6 @@ export declare const paymentApprovalListResponseSchema: z.ZodObject<{
2611
2612
  vendorBankCode: string;
2612
2613
  vendorAccountNumber: string;
2613
2614
  vendorAccountName: string;
2614
- supplierId: string | null;
2615
2615
  narration: string;
2616
2616
  providerReference: string | null;
2617
2617
  providerTransferId: string | null;
@@ -2639,6 +2639,7 @@ export declare const paymentApprovalListResponseSchema: z.ZodObject<{
2639
2639
  amount: number;
2640
2640
  completedAt: string | null;
2641
2641
  failureReason: string | null;
2642
+ supplierId: string | null;
2642
2643
  initiatedById: string;
2643
2644
  paymentAccountId: string;
2644
2645
  approvedById: string | null;
@@ -2647,7 +2648,6 @@ export declare const paymentApprovalListResponseSchema: z.ZodObject<{
2647
2648
  vendorBankCode: string;
2648
2649
  vendorAccountNumber: string;
2649
2650
  vendorAccountName: string;
2650
- supplierId: string | null;
2651
2651
  narration: string;
2652
2652
  providerReference: string | null;
2653
2653
  providerTransferId: string | null;
@@ -2701,6 +2701,7 @@ export declare const paymentApprovalListResponseSchema: z.ZodObject<{
2701
2701
  amount: number;
2702
2702
  completedAt: string | null;
2703
2703
  failureReason: string | null;
2704
+ supplierId: string | null;
2704
2705
  initiatedById: string;
2705
2706
  paymentAccountId: string;
2706
2707
  approvedById: string | null;
@@ -2709,7 +2710,6 @@ export declare const paymentApprovalListResponseSchema: z.ZodObject<{
2709
2710
  vendorBankCode: string;
2710
2711
  vendorAccountNumber: string;
2711
2712
  vendorAccountName: string;
2712
- supplierId: string | null;
2713
2713
  narration: string;
2714
2714
  providerReference: string | null;
2715
2715
  providerTransferId: string | null;
@@ -2749,6 +2749,7 @@ export declare const paymentApprovalListResponseSchema: z.ZodObject<{
2749
2749
  amount: number;
2750
2750
  completedAt: string | null;
2751
2751
  failureReason: string | null;
2752
+ supplierId: string | null;
2752
2753
  initiatedById: string;
2753
2754
  paymentAccountId: string;
2754
2755
  approvedById: string | null;
@@ -2757,7 +2758,6 @@ export declare const paymentApprovalListResponseSchema: z.ZodObject<{
2757
2758
  vendorBankCode: string;
2758
2759
  vendorAccountNumber: string;
2759
2760
  vendorAccountName: string;
2760
- supplierId: string | null;
2761
2761
  narration: string;
2762
2762
  providerReference: string | null;
2763
2763
  providerTransferId: string | null;
@@ -32,8 +32,8 @@ export declare const tradeCashEventAttributesSchema: z.ZodObject<{
32
32
  notes?: string | null | undefined;
33
33
  invoiceId?: string | null | undefined;
34
34
  reference?: string | null | undefined;
35
- partyName?: string | null | undefined;
36
35
  dealId?: string | null | undefined;
36
+ partyName?: string | null | undefined;
37
37
  }, {
38
38
  type: "capital_in" | "capital_out" | "commission_payout" | "supplier_payment" | "buyer_receipt";
39
39
  createdAt: string;
@@ -48,8 +48,8 @@ export declare const tradeCashEventAttributesSchema: z.ZodObject<{
48
48
  notes?: string | null | undefined;
49
49
  invoiceId?: string | null | undefined;
50
50
  reference?: string | null | undefined;
51
- partyName?: string | null | undefined;
52
51
  dealId?: string | null | undefined;
52
+ partyName?: string | null | undefined;
53
53
  }>;
54
54
  export declare const createTradeCashEventAttributesSchema: z.ZodObject<{
55
55
  type: z.ZodEnum<["capital_in", "capital_out", "commission_payout", "supplier_payment", "buyer_receipt"]>;
@@ -75,8 +75,8 @@ export declare const createTradeCashEventAttributesSchema: z.ZodObject<{
75
75
  notes?: string | null | undefined;
76
76
  invoiceId?: string | null | undefined;
77
77
  reference?: string | null | undefined;
78
- partyName?: string | null | undefined;
79
78
  dealId?: string | null | undefined;
79
+ partyName?: string | null | undefined;
80
80
  }, {
81
81
  type: "capital_in" | "capital_out" | "commission_payout" | "supplier_payment" | "buyer_receipt";
82
82
  occurredAt: string;
@@ -88,8 +88,8 @@ export declare const createTradeCashEventAttributesSchema: z.ZodObject<{
88
88
  notes?: string | null | undefined;
89
89
  invoiceId?: string | null | undefined;
90
90
  reference?: string | null | undefined;
91
- partyName?: string | null | undefined;
92
91
  dealId?: string | null | undefined;
92
+ partyName?: string | null | undefined;
93
93
  }>;
94
94
  export declare const tradeCashEventResourceSchema: z.ZodObject<{
95
95
  type: z.ZodLiteral<string>;
@@ -125,8 +125,8 @@ export declare const tradeCashEventResourceSchema: z.ZodObject<{
125
125
  notes?: string | null | undefined;
126
126
  invoiceId?: string | null | undefined;
127
127
  reference?: string | null | undefined;
128
- partyName?: string | null | undefined;
129
128
  dealId?: string | null | undefined;
129
+ partyName?: string | null | undefined;
130
130
  }, {
131
131
  type: "capital_in" | "capital_out" | "commission_payout" | "supplier_payment" | "buyer_receipt";
132
132
  createdAt: string;
@@ -141,8 +141,8 @@ export declare const tradeCashEventResourceSchema: z.ZodObject<{
141
141
  notes?: string | null | undefined;
142
142
  invoiceId?: string | null | undefined;
143
143
  reference?: string | null | undefined;
144
- partyName?: string | null | undefined;
145
144
  dealId?: string | null | undefined;
145
+ partyName?: string | null | undefined;
146
146
  }>;
147
147
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
148
148
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -164,8 +164,8 @@ export declare const tradeCashEventResourceSchema: z.ZodObject<{
164
164
  notes?: string | null | undefined;
165
165
  invoiceId?: string | null | undefined;
166
166
  reference?: string | null | undefined;
167
- partyName?: string | null | undefined;
168
167
  dealId?: string | null | undefined;
168
+ partyName?: string | null | undefined;
169
169
  };
170
170
  relationships?: Record<string, unknown> | undefined;
171
171
  links?: Record<string, string> | undefined;
@@ -187,8 +187,8 @@ export declare const tradeCashEventResourceSchema: z.ZodObject<{
187
187
  notes?: string | null | undefined;
188
188
  invoiceId?: string | null | undefined;
189
189
  reference?: string | null | undefined;
190
- partyName?: string | null | undefined;
191
190
  dealId?: string | null | undefined;
191
+ partyName?: string | null | undefined;
192
192
  };
193
193
  relationships?: Record<string, unknown> | undefined;
194
194
  links?: Record<string, string> | undefined;
@@ -229,8 +229,8 @@ export declare const tradeCashEventResponseSchema: z.ZodObject<{
229
229
  notes?: string | null | undefined;
230
230
  invoiceId?: string | null | undefined;
231
231
  reference?: string | null | undefined;
232
- partyName?: string | null | undefined;
233
232
  dealId?: string | null | undefined;
233
+ partyName?: string | null | undefined;
234
234
  }, {
235
235
  type: "capital_in" | "capital_out" | "commission_payout" | "supplier_payment" | "buyer_receipt";
236
236
  createdAt: string;
@@ -245,8 +245,8 @@ export declare const tradeCashEventResponseSchema: z.ZodObject<{
245
245
  notes?: string | null | undefined;
246
246
  invoiceId?: string | null | undefined;
247
247
  reference?: string | null | undefined;
248
- partyName?: string | null | undefined;
249
248
  dealId?: string | null | undefined;
249
+ partyName?: string | null | undefined;
250
250
  }>;
251
251
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
252
252
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -268,8 +268,8 @@ export declare const tradeCashEventResponseSchema: z.ZodObject<{
268
268
  notes?: string | null | undefined;
269
269
  invoiceId?: string | null | undefined;
270
270
  reference?: string | null | undefined;
271
- partyName?: string | null | undefined;
272
271
  dealId?: string | null | undefined;
272
+ partyName?: string | null | undefined;
273
273
  };
274
274
  relationships?: Record<string, unknown> | undefined;
275
275
  links?: Record<string, string> | undefined;
@@ -291,8 +291,8 @@ export declare const tradeCashEventResponseSchema: z.ZodObject<{
291
291
  notes?: string | null | undefined;
292
292
  invoiceId?: string | null | undefined;
293
293
  reference?: string | null | undefined;
294
- partyName?: string | null | undefined;
295
294
  dealId?: string | null | undefined;
295
+ partyName?: string | null | undefined;
296
296
  };
297
297
  relationships?: Record<string, unknown> | undefined;
298
298
  links?: Record<string, string> | undefined;
@@ -340,8 +340,8 @@ export declare const tradeCashEventResponseSchema: z.ZodObject<{
340
340
  notes?: string | null | undefined;
341
341
  invoiceId?: string | null | undefined;
342
342
  reference?: string | null | undefined;
343
- partyName?: string | null | undefined;
344
343
  dealId?: string | null | undefined;
344
+ partyName?: string | null | undefined;
345
345
  };
346
346
  relationships?: Record<string, unknown> | undefined;
347
347
  links?: Record<string, string> | undefined;
@@ -375,8 +375,8 @@ export declare const tradeCashEventResponseSchema: z.ZodObject<{
375
375
  notes?: string | null | undefined;
376
376
  invoiceId?: string | null | undefined;
377
377
  reference?: string | null | undefined;
378
- partyName?: string | null | undefined;
379
378
  dealId?: string | null | undefined;
379
+ partyName?: string | null | undefined;
380
380
  };
381
381
  relationships?: Record<string, unknown> | undefined;
382
382
  links?: Record<string, string> | undefined;
@@ -428,8 +428,8 @@ export declare const tradeCashEventListResponseSchema: z.ZodObject<{
428
428
  notes?: string | null | undefined;
429
429
  invoiceId?: string | null | undefined;
430
430
  reference?: string | null | undefined;
431
- partyName?: string | null | undefined;
432
431
  dealId?: string | null | undefined;
432
+ partyName?: string | null | undefined;
433
433
  }, {
434
434
  type: "capital_in" | "capital_out" | "commission_payout" | "supplier_payment" | "buyer_receipt";
435
435
  createdAt: string;
@@ -444,8 +444,8 @@ export declare const tradeCashEventListResponseSchema: z.ZodObject<{
444
444
  notes?: string | null | undefined;
445
445
  invoiceId?: string | null | undefined;
446
446
  reference?: string | null | undefined;
447
- partyName?: string | null | undefined;
448
447
  dealId?: string | null | undefined;
448
+ partyName?: string | null | undefined;
449
449
  }>;
450
450
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
451
451
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -467,8 +467,8 @@ export declare const tradeCashEventListResponseSchema: z.ZodObject<{
467
467
  notes?: string | null | undefined;
468
468
  invoiceId?: string | null | undefined;
469
469
  reference?: string | null | undefined;
470
- partyName?: string | null | undefined;
471
470
  dealId?: string | null | undefined;
471
+ partyName?: string | null | undefined;
472
472
  };
473
473
  relationships?: Record<string, unknown> | undefined;
474
474
  links?: Record<string, string> | undefined;
@@ -490,8 +490,8 @@ export declare const tradeCashEventListResponseSchema: z.ZodObject<{
490
490
  notes?: string | null | undefined;
491
491
  invoiceId?: string | null | undefined;
492
492
  reference?: string | null | undefined;
493
- partyName?: string | null | undefined;
494
493
  dealId?: string | null | undefined;
494
+ partyName?: string | null | undefined;
495
495
  };
496
496
  relationships?: Record<string, unknown> | undefined;
497
497
  links?: Record<string, string> | undefined;
@@ -539,8 +539,8 @@ export declare const tradeCashEventListResponseSchema: z.ZodObject<{
539
539
  notes?: string | null | undefined;
540
540
  invoiceId?: string | null | undefined;
541
541
  reference?: string | null | undefined;
542
- partyName?: string | null | undefined;
543
542
  dealId?: string | null | undefined;
543
+ partyName?: string | null | undefined;
544
544
  };
545
545
  relationships?: Record<string, unknown> | undefined;
546
546
  links?: Record<string, string> | undefined;
@@ -574,8 +574,8 @@ export declare const tradeCashEventListResponseSchema: z.ZodObject<{
574
574
  notes?: string | null | undefined;
575
575
  invoiceId?: string | null | undefined;
576
576
  reference?: string | null | undefined;
577
- partyName?: string | null | undefined;
578
577
  dealId?: string | null | undefined;
578
+ partyName?: string | null | undefined;
579
579
  };
580
580
  relationships?: Record<string, unknown> | undefined;
581
581
  links?: Record<string, string> | undefined;
@@ -618,8 +618,8 @@ export declare const createTradeCashEventSchema: z.ZodObject<{
618
618
  notes?: string | null | undefined;
619
619
  invoiceId?: string | null | undefined;
620
620
  reference?: string | null | undefined;
621
- partyName?: string | null | undefined;
622
621
  dealId?: string | null | undefined;
622
+ partyName?: string | null | undefined;
623
623
  }, {
624
624
  type: "capital_in" | "capital_out" | "commission_payout" | "supplier_payment" | "buyer_receipt";
625
625
  occurredAt: string;
@@ -631,8 +631,8 @@ export declare const createTradeCashEventSchema: z.ZodObject<{
631
631
  notes?: string | null | undefined;
632
632
  invoiceId?: string | null | undefined;
633
633
  reference?: string | null | undefined;
634
- partyName?: string | null | undefined;
635
634
  dealId?: string | null | undefined;
635
+ partyName?: string | null | undefined;
636
636
  }>;
637
637
  }, "strip", z.ZodTypeAny, {
638
638
  type: "trade-cash-events";
@@ -647,8 +647,8 @@ export declare const createTradeCashEventSchema: z.ZodObject<{
647
647
  notes?: string | null | undefined;
648
648
  invoiceId?: string | null | undefined;
649
649
  reference?: string | null | undefined;
650
- partyName?: string | null | undefined;
651
650
  dealId?: string | null | undefined;
651
+ partyName?: string | null | undefined;
652
652
  };
653
653
  }, {
654
654
  type: "trade-cash-events";
@@ -663,8 +663,8 @@ export declare const createTradeCashEventSchema: z.ZodObject<{
663
663
  notes?: string | null | undefined;
664
664
  invoiceId?: string | null | undefined;
665
665
  reference?: string | null | undefined;
666
- partyName?: string | null | undefined;
667
666
  dealId?: string | null | undefined;
667
+ partyName?: string | null | undefined;
668
668
  };
669
669
  }>;
670
670
  export declare const investorBalanceAttributesSchema: z.ZodObject<{