@deepintel-ltd/farmpro-contracts 1.27.0 → 1.27.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.
- package/dist/routes/agents.routes.d.ts +681 -12
- package/dist/routes/agents.routes.d.ts.map +1 -1
- package/dist/routes/agents.routes.js +21 -1
- package/dist/routes/commodity-deals.routes.d.ts +27 -27
- package/dist/routes/farms.routes.d.ts +46 -46
- package/dist/routes/field-observations.routes.d.ts +34 -34
- package/dist/routes/invoices.routes.d.ts +39 -39
- package/dist/routes/livestock-groups.routes.d.ts +27 -27
- package/dist/routes/livestock.routes.d.ts +21 -21
- package/dist/routes/market-intelligence.routes.d.ts +8 -8
- package/dist/routes/organizations.routes.d.ts +49 -0
- package/dist/routes/organizations.routes.d.ts.map +1 -1
- package/dist/routes/poultry.routes.d.ts +22 -22
- package/dist/routes/purchase-orders.routes.d.ts +9 -9
- package/dist/routes/subscriptions.routes.d.ts +8 -8
- package/dist/routes/team-payments.routes.d.ts +36 -36
- package/dist/routes/trade-cash-events.routes.d.ts +39 -39
- package/dist/routes/waybills.routes.d.ts +39 -39
- package/dist/schemas/agents.schemas.d.ts +718 -12
- package/dist/schemas/agents.schemas.d.ts.map +1 -1
- package/dist/schemas/agents.schemas.js +41 -0
- package/dist/schemas/commodity-deals.schemas.d.ts +18 -18
- package/dist/schemas/farms.schemas.d.ts +51 -51
- package/dist/schemas/field-observations.schemas.d.ts +24 -24
- package/dist/schemas/invoices.schemas.d.ts +27 -27
- package/dist/schemas/livestock-groups.schemas.d.ts +20 -20
- package/dist/schemas/livestock.schemas.d.ts +18 -18
- package/dist/schemas/organizations.schemas.d.ts +42 -0
- package/dist/schemas/organizations.schemas.d.ts.map +1 -1
- package/dist/schemas/organizations.schemas.js +3 -0
- package/dist/schemas/purchase-orders.schemas.d.ts +9 -9
- package/dist/schemas/subscriptions.schemas.d.ts +6 -6
- package/dist/schemas/team-payments.schemas.d.ts +24 -24
- package/dist/schemas/trade-cash-events.schemas.d.ts +27 -27
- package/dist/schemas/waybills.schemas.d.ts +27 -27
- package/package.json +1 -1
|
@@ -1468,8 +1468,8 @@ export declare const vendorPaymentAttributesSchema: z.ZodObject<{
|
|
|
1468
1468
|
status: "DRAFT" | "PENDING_APPROVAL" | "PROCESSING" | "COMPLETED" | "FAILED" | "REJECTED";
|
|
1469
1469
|
createdAt: string;
|
|
1470
1470
|
updatedAt: string;
|
|
1471
|
-
farmId: string;
|
|
1472
1471
|
currency: string;
|
|
1472
|
+
farmId: string;
|
|
1473
1473
|
category: string;
|
|
1474
1474
|
fieldId: string | null;
|
|
1475
1475
|
cropId: string | null;
|
|
@@ -1497,8 +1497,8 @@ export declare const vendorPaymentAttributesSchema: z.ZodObject<{
|
|
|
1497
1497
|
status: "DRAFT" | "PENDING_APPROVAL" | "PROCESSING" | "COMPLETED" | "FAILED" | "REJECTED";
|
|
1498
1498
|
createdAt: string;
|
|
1499
1499
|
updatedAt: string;
|
|
1500
|
-
farmId: string;
|
|
1501
1500
|
currency: string;
|
|
1501
|
+
farmId: string;
|
|
1502
1502
|
category: string;
|
|
1503
1503
|
fieldId: string | null;
|
|
1504
1504
|
cropId: string | null;
|
|
@@ -1780,8 +1780,8 @@ export declare const vendorPaymentResourceSchema: z.ZodObject<{
|
|
|
1780
1780
|
status: "DRAFT" | "PENDING_APPROVAL" | "PROCESSING" | "COMPLETED" | "FAILED" | "REJECTED";
|
|
1781
1781
|
createdAt: string;
|
|
1782
1782
|
updatedAt: string;
|
|
1783
|
-
farmId: string;
|
|
1784
1783
|
currency: string;
|
|
1784
|
+
farmId: string;
|
|
1785
1785
|
category: string;
|
|
1786
1786
|
fieldId: string | null;
|
|
1787
1787
|
cropId: string | null;
|
|
@@ -1809,8 +1809,8 @@ export declare const vendorPaymentResourceSchema: z.ZodObject<{
|
|
|
1809
1809
|
status: "DRAFT" | "PENDING_APPROVAL" | "PROCESSING" | "COMPLETED" | "FAILED" | "REJECTED";
|
|
1810
1810
|
createdAt: string;
|
|
1811
1811
|
updatedAt: string;
|
|
1812
|
-
farmId: string;
|
|
1813
1812
|
currency: string;
|
|
1813
|
+
farmId: string;
|
|
1814
1814
|
category: string;
|
|
1815
1815
|
fieldId: string | null;
|
|
1816
1816
|
cropId: string | null;
|
|
@@ -1845,8 +1845,8 @@ export declare const vendorPaymentResourceSchema: z.ZodObject<{
|
|
|
1845
1845
|
status: "DRAFT" | "PENDING_APPROVAL" | "PROCESSING" | "COMPLETED" | "FAILED" | "REJECTED";
|
|
1846
1846
|
createdAt: string;
|
|
1847
1847
|
updatedAt: string;
|
|
1848
|
-
farmId: string;
|
|
1849
1848
|
currency: string;
|
|
1849
|
+
farmId: string;
|
|
1850
1850
|
category: string;
|
|
1851
1851
|
fieldId: string | null;
|
|
1852
1852
|
cropId: string | null;
|
|
@@ -1881,8 +1881,8 @@ export declare const vendorPaymentResourceSchema: z.ZodObject<{
|
|
|
1881
1881
|
status: "DRAFT" | "PENDING_APPROVAL" | "PROCESSING" | "COMPLETED" | "FAILED" | "REJECTED";
|
|
1882
1882
|
createdAt: string;
|
|
1883
1883
|
updatedAt: string;
|
|
1884
|
-
farmId: string;
|
|
1885
1884
|
currency: string;
|
|
1885
|
+
farmId: string;
|
|
1886
1886
|
category: string;
|
|
1887
1887
|
fieldId: string | null;
|
|
1888
1888
|
cropId: string | null;
|
|
@@ -1949,8 +1949,8 @@ export declare const vendorPaymentResponseSchema: z.ZodObject<{
|
|
|
1949
1949
|
status: "DRAFT" | "PENDING_APPROVAL" | "PROCESSING" | "COMPLETED" | "FAILED" | "REJECTED";
|
|
1950
1950
|
createdAt: string;
|
|
1951
1951
|
updatedAt: string;
|
|
1952
|
-
farmId: string;
|
|
1953
1952
|
currency: string;
|
|
1953
|
+
farmId: string;
|
|
1954
1954
|
category: string;
|
|
1955
1955
|
fieldId: string | null;
|
|
1956
1956
|
cropId: string | null;
|
|
@@ -1978,8 +1978,8 @@ export declare const vendorPaymentResponseSchema: z.ZodObject<{
|
|
|
1978
1978
|
status: "DRAFT" | "PENDING_APPROVAL" | "PROCESSING" | "COMPLETED" | "FAILED" | "REJECTED";
|
|
1979
1979
|
createdAt: string;
|
|
1980
1980
|
updatedAt: string;
|
|
1981
|
-
farmId: string;
|
|
1982
1981
|
currency: string;
|
|
1982
|
+
farmId: string;
|
|
1983
1983
|
category: string;
|
|
1984
1984
|
fieldId: string | null;
|
|
1985
1985
|
cropId: string | null;
|
|
@@ -2014,8 +2014,8 @@ export declare const vendorPaymentResponseSchema: z.ZodObject<{
|
|
|
2014
2014
|
status: "DRAFT" | "PENDING_APPROVAL" | "PROCESSING" | "COMPLETED" | "FAILED" | "REJECTED";
|
|
2015
2015
|
createdAt: string;
|
|
2016
2016
|
updatedAt: string;
|
|
2017
|
-
farmId: string;
|
|
2018
2017
|
currency: string;
|
|
2018
|
+
farmId: string;
|
|
2019
2019
|
category: string;
|
|
2020
2020
|
fieldId: string | null;
|
|
2021
2021
|
cropId: string | null;
|
|
@@ -2050,8 +2050,8 @@ export declare const vendorPaymentResponseSchema: z.ZodObject<{
|
|
|
2050
2050
|
status: "DRAFT" | "PENDING_APPROVAL" | "PROCESSING" | "COMPLETED" | "FAILED" | "REJECTED";
|
|
2051
2051
|
createdAt: string;
|
|
2052
2052
|
updatedAt: string;
|
|
2053
|
-
farmId: string;
|
|
2054
2053
|
currency: string;
|
|
2054
|
+
farmId: string;
|
|
2055
2055
|
category: string;
|
|
2056
2056
|
fieldId: string | null;
|
|
2057
2057
|
cropId: string | null;
|
|
@@ -2112,8 +2112,8 @@ export declare const vendorPaymentResponseSchema: z.ZodObject<{
|
|
|
2112
2112
|
status: "DRAFT" | "PENDING_APPROVAL" | "PROCESSING" | "COMPLETED" | "FAILED" | "REJECTED";
|
|
2113
2113
|
createdAt: string;
|
|
2114
2114
|
updatedAt: string;
|
|
2115
|
-
farmId: string;
|
|
2116
2115
|
currency: string;
|
|
2116
|
+
farmId: string;
|
|
2117
2117
|
category: string;
|
|
2118
2118
|
fieldId: string | null;
|
|
2119
2119
|
cropId: string | null;
|
|
@@ -2160,8 +2160,8 @@ export declare const vendorPaymentResponseSchema: z.ZodObject<{
|
|
|
2160
2160
|
status: "DRAFT" | "PENDING_APPROVAL" | "PROCESSING" | "COMPLETED" | "FAILED" | "REJECTED";
|
|
2161
2161
|
createdAt: string;
|
|
2162
2162
|
updatedAt: string;
|
|
2163
|
-
farmId: string;
|
|
2164
2163
|
currency: string;
|
|
2164
|
+
farmId: string;
|
|
2165
2165
|
category: string;
|
|
2166
2166
|
fieldId: string | null;
|
|
2167
2167
|
cropId: string | null;
|
|
@@ -2239,8 +2239,8 @@ export declare const vendorPaymentListResponseSchema: z.ZodObject<{
|
|
|
2239
2239
|
status: "DRAFT" | "PENDING_APPROVAL" | "PROCESSING" | "COMPLETED" | "FAILED" | "REJECTED";
|
|
2240
2240
|
createdAt: string;
|
|
2241
2241
|
updatedAt: string;
|
|
2242
|
-
farmId: string;
|
|
2243
2242
|
currency: string;
|
|
2243
|
+
farmId: string;
|
|
2244
2244
|
category: string;
|
|
2245
2245
|
fieldId: string | null;
|
|
2246
2246
|
cropId: string | null;
|
|
@@ -2268,8 +2268,8 @@ export declare const vendorPaymentListResponseSchema: z.ZodObject<{
|
|
|
2268
2268
|
status: "DRAFT" | "PENDING_APPROVAL" | "PROCESSING" | "COMPLETED" | "FAILED" | "REJECTED";
|
|
2269
2269
|
createdAt: string;
|
|
2270
2270
|
updatedAt: string;
|
|
2271
|
-
farmId: string;
|
|
2272
2271
|
currency: string;
|
|
2272
|
+
farmId: string;
|
|
2273
2273
|
category: string;
|
|
2274
2274
|
fieldId: string | null;
|
|
2275
2275
|
cropId: string | null;
|
|
@@ -2304,8 +2304,8 @@ export declare const vendorPaymentListResponseSchema: z.ZodObject<{
|
|
|
2304
2304
|
status: "DRAFT" | "PENDING_APPROVAL" | "PROCESSING" | "COMPLETED" | "FAILED" | "REJECTED";
|
|
2305
2305
|
createdAt: string;
|
|
2306
2306
|
updatedAt: string;
|
|
2307
|
-
farmId: string;
|
|
2308
2307
|
currency: string;
|
|
2308
|
+
farmId: string;
|
|
2309
2309
|
category: string;
|
|
2310
2310
|
fieldId: string | null;
|
|
2311
2311
|
cropId: string | null;
|
|
@@ -2340,8 +2340,8 @@ export declare const vendorPaymentListResponseSchema: z.ZodObject<{
|
|
|
2340
2340
|
status: "DRAFT" | "PENDING_APPROVAL" | "PROCESSING" | "COMPLETED" | "FAILED" | "REJECTED";
|
|
2341
2341
|
createdAt: string;
|
|
2342
2342
|
updatedAt: string;
|
|
2343
|
-
farmId: string;
|
|
2344
2343
|
currency: string;
|
|
2344
|
+
farmId: string;
|
|
2345
2345
|
category: string;
|
|
2346
2346
|
fieldId: string | null;
|
|
2347
2347
|
cropId: string | null;
|
|
@@ -2402,8 +2402,8 @@ export declare const vendorPaymentListResponseSchema: z.ZodObject<{
|
|
|
2402
2402
|
status: "DRAFT" | "PENDING_APPROVAL" | "PROCESSING" | "COMPLETED" | "FAILED" | "REJECTED";
|
|
2403
2403
|
createdAt: string;
|
|
2404
2404
|
updatedAt: string;
|
|
2405
|
-
farmId: string;
|
|
2406
2405
|
currency: string;
|
|
2406
|
+
farmId: string;
|
|
2407
2407
|
category: string;
|
|
2408
2408
|
fieldId: string | null;
|
|
2409
2409
|
cropId: string | null;
|
|
@@ -2450,8 +2450,8 @@ export declare const vendorPaymentListResponseSchema: z.ZodObject<{
|
|
|
2450
2450
|
status: "DRAFT" | "PENDING_APPROVAL" | "PROCESSING" | "COMPLETED" | "FAILED" | "REJECTED";
|
|
2451
2451
|
createdAt: string;
|
|
2452
2452
|
updatedAt: string;
|
|
2453
|
-
farmId: string;
|
|
2454
2453
|
currency: string;
|
|
2454
|
+
farmId: string;
|
|
2455
2455
|
category: string;
|
|
2456
2456
|
fieldId: string | null;
|
|
2457
2457
|
cropId: string | null;
|
|
@@ -2529,8 +2529,8 @@ export declare const paymentApprovalListResponseSchema: z.ZodObject<{
|
|
|
2529
2529
|
status: "DRAFT" | "PENDING_APPROVAL" | "PROCESSING" | "COMPLETED" | "FAILED" | "REJECTED";
|
|
2530
2530
|
createdAt: string;
|
|
2531
2531
|
updatedAt: string;
|
|
2532
|
-
farmId: string;
|
|
2533
2532
|
currency: string;
|
|
2533
|
+
farmId: string;
|
|
2534
2534
|
category: string;
|
|
2535
2535
|
fieldId: string | null;
|
|
2536
2536
|
cropId: string | null;
|
|
@@ -2558,8 +2558,8 @@ export declare const paymentApprovalListResponseSchema: z.ZodObject<{
|
|
|
2558
2558
|
status: "DRAFT" | "PENDING_APPROVAL" | "PROCESSING" | "COMPLETED" | "FAILED" | "REJECTED";
|
|
2559
2559
|
createdAt: string;
|
|
2560
2560
|
updatedAt: string;
|
|
2561
|
-
farmId: string;
|
|
2562
2561
|
currency: string;
|
|
2562
|
+
farmId: string;
|
|
2563
2563
|
category: string;
|
|
2564
2564
|
fieldId: string | null;
|
|
2565
2565
|
cropId: string | null;
|
|
@@ -2594,8 +2594,8 @@ export declare const paymentApprovalListResponseSchema: z.ZodObject<{
|
|
|
2594
2594
|
status: "DRAFT" | "PENDING_APPROVAL" | "PROCESSING" | "COMPLETED" | "FAILED" | "REJECTED";
|
|
2595
2595
|
createdAt: string;
|
|
2596
2596
|
updatedAt: string;
|
|
2597
|
-
farmId: string;
|
|
2598
2597
|
currency: string;
|
|
2598
|
+
farmId: string;
|
|
2599
2599
|
category: string;
|
|
2600
2600
|
fieldId: string | null;
|
|
2601
2601
|
cropId: string | null;
|
|
@@ -2630,8 +2630,8 @@ export declare const paymentApprovalListResponseSchema: z.ZodObject<{
|
|
|
2630
2630
|
status: "DRAFT" | "PENDING_APPROVAL" | "PROCESSING" | "COMPLETED" | "FAILED" | "REJECTED";
|
|
2631
2631
|
createdAt: string;
|
|
2632
2632
|
updatedAt: string;
|
|
2633
|
-
farmId: string;
|
|
2634
2633
|
currency: string;
|
|
2634
|
+
farmId: string;
|
|
2635
2635
|
category: string;
|
|
2636
2636
|
fieldId: string | null;
|
|
2637
2637
|
cropId: string | null;
|
|
@@ -2692,8 +2692,8 @@ export declare const paymentApprovalListResponseSchema: z.ZodObject<{
|
|
|
2692
2692
|
status: "DRAFT" | "PENDING_APPROVAL" | "PROCESSING" | "COMPLETED" | "FAILED" | "REJECTED";
|
|
2693
2693
|
createdAt: string;
|
|
2694
2694
|
updatedAt: string;
|
|
2695
|
-
farmId: string;
|
|
2696
2695
|
currency: string;
|
|
2696
|
+
farmId: string;
|
|
2697
2697
|
category: string;
|
|
2698
2698
|
fieldId: string | null;
|
|
2699
2699
|
cropId: string | null;
|
|
@@ -2740,8 +2740,8 @@ export declare const paymentApprovalListResponseSchema: z.ZodObject<{
|
|
|
2740
2740
|
status: "DRAFT" | "PENDING_APPROVAL" | "PROCESSING" | "COMPLETED" | "FAILED" | "REJECTED";
|
|
2741
2741
|
createdAt: string;
|
|
2742
2742
|
updatedAt: string;
|
|
2743
|
-
farmId: string;
|
|
2744
2743
|
currency: string;
|
|
2744
|
+
farmId: string;
|
|
2745
2745
|
category: string;
|
|
2746
2746
|
fieldId: string | null;
|
|
2747
2747
|
cropId: string | null;
|
|
@@ -33,8 +33,8 @@ export declare const tradeCashEventAttributesSchema: z.ZodObject<{
|
|
|
33
33
|
type: "capital_in" | "capital_out" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
34
34
|
createdAt: string;
|
|
35
35
|
updatedAt: string;
|
|
36
|
-
organizationId: string;
|
|
37
36
|
currency: string;
|
|
37
|
+
organizationId: string;
|
|
38
38
|
occurredAt: string;
|
|
39
39
|
amount: number;
|
|
40
40
|
partyType: "investor" | "other" | "supplier" | "buyer" | "staff" | "broker" | "company";
|
|
@@ -167,8 +167,8 @@ export declare const tradeCashEventResourceSchema: z.ZodObject<{
|
|
|
167
167
|
type: "capital_in" | "capital_out" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
168
168
|
createdAt: string;
|
|
169
169
|
updatedAt: string;
|
|
170
|
-
organizationId: string;
|
|
171
170
|
currency: string;
|
|
171
|
+
organizationId: string;
|
|
172
172
|
occurredAt: string;
|
|
173
173
|
amount: number;
|
|
174
174
|
partyType: "investor" | "other" | "supplier" | "buyer" | "staff" | "broker" | "company";
|
|
@@ -220,8 +220,8 @@ export declare const tradeCashEventResourceSchema: z.ZodObject<{
|
|
|
220
220
|
type: "capital_in" | "capital_out" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
221
221
|
createdAt: string;
|
|
222
222
|
updatedAt: string;
|
|
223
|
-
organizationId: string;
|
|
224
223
|
currency: string;
|
|
224
|
+
organizationId: string;
|
|
225
225
|
occurredAt: string;
|
|
226
226
|
amount: number;
|
|
227
227
|
partyType: "investor" | "other" | "supplier" | "buyer" | "staff" | "broker" | "company";
|
|
@@ -306,8 +306,8 @@ export declare const tradeCashEventResponseSchema: z.ZodObject<{
|
|
|
306
306
|
type: "capital_in" | "capital_out" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
307
307
|
createdAt: string;
|
|
308
308
|
updatedAt: string;
|
|
309
|
-
organizationId: string;
|
|
310
309
|
currency: string;
|
|
310
|
+
organizationId: string;
|
|
311
311
|
occurredAt: string;
|
|
312
312
|
amount: number;
|
|
313
313
|
partyType: "investor" | "other" | "supplier" | "buyer" | "staff" | "broker" | "company";
|
|
@@ -359,8 +359,8 @@ export declare const tradeCashEventResponseSchema: z.ZodObject<{
|
|
|
359
359
|
type: "capital_in" | "capital_out" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
360
360
|
createdAt: string;
|
|
361
361
|
updatedAt: string;
|
|
362
|
-
organizationId: string;
|
|
363
362
|
currency: string;
|
|
363
|
+
organizationId: string;
|
|
364
364
|
occurredAt: string;
|
|
365
365
|
amount: number;
|
|
366
366
|
partyType: "investor" | "other" | "supplier" | "buyer" | "staff" | "broker" | "company";
|
|
@@ -445,8 +445,8 @@ export declare const tradeCashEventResponseSchema: z.ZodObject<{
|
|
|
445
445
|
type: "capital_in" | "capital_out" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
446
446
|
createdAt: string;
|
|
447
447
|
updatedAt: string;
|
|
448
|
-
organizationId: string;
|
|
449
448
|
currency: string;
|
|
449
|
+
organizationId: string;
|
|
450
450
|
occurredAt: string;
|
|
451
451
|
amount: number;
|
|
452
452
|
partyType: "investor" | "other" | "supplier" | "buyer" | "staff" | "broker" | "company";
|
|
@@ -554,8 +554,8 @@ export declare const tradeCashEventListResponseSchema: z.ZodObject<{
|
|
|
554
554
|
type: "capital_in" | "capital_out" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
555
555
|
createdAt: string;
|
|
556
556
|
updatedAt: string;
|
|
557
|
-
organizationId: string;
|
|
558
557
|
currency: string;
|
|
558
|
+
organizationId: string;
|
|
559
559
|
occurredAt: string;
|
|
560
560
|
amount: number;
|
|
561
561
|
partyType: "investor" | "other" | "supplier" | "buyer" | "staff" | "broker" | "company";
|
|
@@ -607,8 +607,8 @@ export declare const tradeCashEventListResponseSchema: z.ZodObject<{
|
|
|
607
607
|
type: "capital_in" | "capital_out" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
608
608
|
createdAt: string;
|
|
609
609
|
updatedAt: string;
|
|
610
|
-
organizationId: string;
|
|
611
610
|
currency: string;
|
|
611
|
+
organizationId: string;
|
|
612
612
|
occurredAt: string;
|
|
613
613
|
amount: number;
|
|
614
614
|
partyType: "investor" | "other" | "supplier" | "buyer" | "staff" | "broker" | "company";
|
|
@@ -693,8 +693,8 @@ export declare const tradeCashEventListResponseSchema: z.ZodObject<{
|
|
|
693
693
|
type: "capital_in" | "capital_out" | "commission_payout" | "supplier_payment" | "buyer_receipt" | "advance_disburse" | "advance_handoff" | "advance_settle" | "advance_return" | "advance_writeoff";
|
|
694
694
|
createdAt: string;
|
|
695
695
|
updatedAt: string;
|
|
696
|
-
organizationId: string;
|
|
697
696
|
currency: string;
|
|
697
|
+
organizationId: string;
|
|
698
698
|
occurredAt: string;
|
|
699
699
|
amount: number;
|
|
700
700
|
partyType: "investor" | "other" | "supplier" | "buyer" | "staff" | "broker" | "company";
|
|
@@ -2458,8 +2458,8 @@ export declare const invoicePaymentAttributesSchema: z.ZodObject<{
|
|
|
2458
2458
|
}, "strip", z.ZodTypeAny, {
|
|
2459
2459
|
createdAt: string;
|
|
2460
2460
|
updatedAt: string;
|
|
2461
|
-
organizationId: string;
|
|
2462
2461
|
currency: string;
|
|
2462
|
+
organizationId: string;
|
|
2463
2463
|
occurredAt: string;
|
|
2464
2464
|
amount: number;
|
|
2465
2465
|
invoiceId: string;
|
|
@@ -2518,8 +2518,8 @@ export declare const invoicePaymentResourceSchema: z.ZodObject<{
|
|
|
2518
2518
|
}, "strip", z.ZodTypeAny, {
|
|
2519
2519
|
createdAt: string;
|
|
2520
2520
|
updatedAt: string;
|
|
2521
|
-
organizationId: string;
|
|
2522
2521
|
currency: string;
|
|
2522
|
+
organizationId: string;
|
|
2523
2523
|
occurredAt: string;
|
|
2524
2524
|
amount: number;
|
|
2525
2525
|
invoiceId: string;
|
|
@@ -2547,8 +2547,8 @@ export declare const invoicePaymentResourceSchema: z.ZodObject<{
|
|
|
2547
2547
|
attributes: {
|
|
2548
2548
|
createdAt: string;
|
|
2549
2549
|
updatedAt: string;
|
|
2550
|
-
organizationId: string;
|
|
2551
2550
|
currency: string;
|
|
2551
|
+
organizationId: string;
|
|
2552
2552
|
occurredAt: string;
|
|
2553
2553
|
amount: number;
|
|
2554
2554
|
invoiceId: string;
|
|
@@ -2597,8 +2597,8 @@ export declare const invoicePaymentResponseSchema: z.ZodObject<{
|
|
|
2597
2597
|
}, "strip", z.ZodTypeAny, {
|
|
2598
2598
|
createdAt: string;
|
|
2599
2599
|
updatedAt: string;
|
|
2600
|
-
organizationId: string;
|
|
2601
2600
|
currency: string;
|
|
2601
|
+
organizationId: string;
|
|
2602
2602
|
occurredAt: string;
|
|
2603
2603
|
amount: number;
|
|
2604
2604
|
invoiceId: string;
|
|
@@ -2626,8 +2626,8 @@ export declare const invoicePaymentResponseSchema: z.ZodObject<{
|
|
|
2626
2626
|
attributes: {
|
|
2627
2627
|
createdAt: string;
|
|
2628
2628
|
updatedAt: string;
|
|
2629
|
-
organizationId: string;
|
|
2630
2629
|
currency: string;
|
|
2630
|
+
organizationId: string;
|
|
2631
2631
|
occurredAt: string;
|
|
2632
2632
|
amount: number;
|
|
2633
2633
|
invoiceId: string;
|
|
@@ -2688,8 +2688,8 @@ export declare const invoicePaymentResponseSchema: z.ZodObject<{
|
|
|
2688
2688
|
attributes: {
|
|
2689
2689
|
createdAt: string;
|
|
2690
2690
|
updatedAt: string;
|
|
2691
|
-
organizationId: string;
|
|
2692
2691
|
currency: string;
|
|
2692
|
+
organizationId: string;
|
|
2693
2693
|
occurredAt: string;
|
|
2694
2694
|
amount: number;
|
|
2695
2695
|
invoiceId: string;
|
|
@@ -2761,8 +2761,8 @@ export declare const invoicePaymentListResponseSchema: z.ZodObject<{
|
|
|
2761
2761
|
}, "strip", z.ZodTypeAny, {
|
|
2762
2762
|
createdAt: string;
|
|
2763
2763
|
updatedAt: string;
|
|
2764
|
-
organizationId: string;
|
|
2765
2764
|
currency: string;
|
|
2765
|
+
organizationId: string;
|
|
2766
2766
|
occurredAt: string;
|
|
2767
2767
|
amount: number;
|
|
2768
2768
|
invoiceId: string;
|
|
@@ -2790,8 +2790,8 @@ export declare const invoicePaymentListResponseSchema: z.ZodObject<{
|
|
|
2790
2790
|
attributes: {
|
|
2791
2791
|
createdAt: string;
|
|
2792
2792
|
updatedAt: string;
|
|
2793
|
-
organizationId: string;
|
|
2794
2793
|
currency: string;
|
|
2794
|
+
organizationId: string;
|
|
2795
2795
|
occurredAt: string;
|
|
2796
2796
|
amount: number;
|
|
2797
2797
|
invoiceId: string;
|
|
@@ -2852,8 +2852,8 @@ export declare const invoicePaymentListResponseSchema: z.ZodObject<{
|
|
|
2852
2852
|
attributes: {
|
|
2853
2853
|
createdAt: string;
|
|
2854
2854
|
updatedAt: string;
|
|
2855
|
-
organizationId: string;
|
|
2856
2855
|
currency: string;
|
|
2856
|
+
organizationId: string;
|
|
2857
2857
|
occurredAt: string;
|
|
2858
2858
|
amount: number;
|
|
2859
2859
|
invoiceId: string;
|
|
@@ -2978,8 +2978,8 @@ export declare const tradeSourcingAdvanceAttributesSchema: z.ZodObject<{
|
|
|
2978
2978
|
status: "cancelled" | "open" | "pending_receipt" | "settled" | "written_off";
|
|
2979
2979
|
createdAt: string;
|
|
2980
2980
|
updatedAt: string;
|
|
2981
|
-
organizationId: string;
|
|
2982
2981
|
currency: string;
|
|
2982
|
+
organizationId: string;
|
|
2983
2983
|
remaining: number;
|
|
2984
2984
|
amount: number;
|
|
2985
2985
|
funderType: "investor" | "staff" | "company" | "unattributed";
|
|
@@ -3229,8 +3229,8 @@ export declare const tradeSourcingAdvanceResourceSchema: z.ZodObject<{
|
|
|
3229
3229
|
status: "cancelled" | "open" | "pending_receipt" | "settled" | "written_off";
|
|
3230
3230
|
createdAt: string;
|
|
3231
3231
|
updatedAt: string;
|
|
3232
|
-
organizationId: string;
|
|
3233
3232
|
currency: string;
|
|
3233
|
+
organizationId: string;
|
|
3234
3234
|
remaining: number;
|
|
3235
3235
|
amount: number;
|
|
3236
3236
|
funderType: "investor" | "staff" | "company" | "unattributed";
|
|
@@ -3280,8 +3280,8 @@ export declare const tradeSourcingAdvanceResourceSchema: z.ZodObject<{
|
|
|
3280
3280
|
status: "cancelled" | "open" | "pending_receipt" | "settled" | "written_off";
|
|
3281
3281
|
createdAt: string;
|
|
3282
3282
|
updatedAt: string;
|
|
3283
|
-
organizationId: string;
|
|
3284
3283
|
currency: string;
|
|
3284
|
+
organizationId: string;
|
|
3285
3285
|
remaining: number;
|
|
3286
3286
|
amount: number;
|
|
3287
3287
|
funderType: "investor" | "staff" | "company" | "unattributed";
|
|
@@ -3363,8 +3363,8 @@ export declare const tradeSourcingAdvanceResponseSchema: z.ZodObject<{
|
|
|
3363
3363
|
status: "cancelled" | "open" | "pending_receipt" | "settled" | "written_off";
|
|
3364
3364
|
createdAt: string;
|
|
3365
3365
|
updatedAt: string;
|
|
3366
|
-
organizationId: string;
|
|
3367
3366
|
currency: string;
|
|
3367
|
+
organizationId: string;
|
|
3368
3368
|
remaining: number;
|
|
3369
3369
|
amount: number;
|
|
3370
3370
|
funderType: "investor" | "staff" | "company" | "unattributed";
|
|
@@ -3414,8 +3414,8 @@ export declare const tradeSourcingAdvanceResponseSchema: z.ZodObject<{
|
|
|
3414
3414
|
status: "cancelled" | "open" | "pending_receipt" | "settled" | "written_off";
|
|
3415
3415
|
createdAt: string;
|
|
3416
3416
|
updatedAt: string;
|
|
3417
|
-
organizationId: string;
|
|
3418
3417
|
currency: string;
|
|
3418
|
+
organizationId: string;
|
|
3419
3419
|
remaining: number;
|
|
3420
3420
|
amount: number;
|
|
3421
3421
|
funderType: "investor" | "staff" | "company" | "unattributed";
|
|
@@ -3498,8 +3498,8 @@ export declare const tradeSourcingAdvanceResponseSchema: z.ZodObject<{
|
|
|
3498
3498
|
status: "cancelled" | "open" | "pending_receipt" | "settled" | "written_off";
|
|
3499
3499
|
createdAt: string;
|
|
3500
3500
|
updatedAt: string;
|
|
3501
|
-
organizationId: string;
|
|
3502
3501
|
currency: string;
|
|
3502
|
+
organizationId: string;
|
|
3503
3503
|
remaining: number;
|
|
3504
3504
|
amount: number;
|
|
3505
3505
|
funderType: "investor" | "staff" | "company" | "unattributed";
|
|
@@ -3604,8 +3604,8 @@ export declare const tradeSourcingAdvanceListResponseSchema: z.ZodObject<{
|
|
|
3604
3604
|
status: "cancelled" | "open" | "pending_receipt" | "settled" | "written_off";
|
|
3605
3605
|
createdAt: string;
|
|
3606
3606
|
updatedAt: string;
|
|
3607
|
-
organizationId: string;
|
|
3608
3607
|
currency: string;
|
|
3608
|
+
organizationId: string;
|
|
3609
3609
|
remaining: number;
|
|
3610
3610
|
amount: number;
|
|
3611
3611
|
funderType: "investor" | "staff" | "company" | "unattributed";
|
|
@@ -3655,8 +3655,8 @@ export declare const tradeSourcingAdvanceListResponseSchema: z.ZodObject<{
|
|
|
3655
3655
|
status: "cancelled" | "open" | "pending_receipt" | "settled" | "written_off";
|
|
3656
3656
|
createdAt: string;
|
|
3657
3657
|
updatedAt: string;
|
|
3658
|
-
organizationId: string;
|
|
3659
3658
|
currency: string;
|
|
3659
|
+
organizationId: string;
|
|
3660
3660
|
remaining: number;
|
|
3661
3661
|
amount: number;
|
|
3662
3662
|
funderType: "investor" | "staff" | "company" | "unattributed";
|
|
@@ -3739,8 +3739,8 @@ export declare const tradeSourcingAdvanceListResponseSchema: z.ZodObject<{
|
|
|
3739
3739
|
status: "cancelled" | "open" | "pending_receipt" | "settled" | "written_off";
|
|
3740
3740
|
createdAt: string;
|
|
3741
3741
|
updatedAt: string;
|
|
3742
|
-
organizationId: string;
|
|
3743
3742
|
currency: string;
|
|
3743
|
+
organizationId: string;
|
|
3744
3744
|
remaining: number;
|
|
3745
3745
|
amount: number;
|
|
3746
3746
|
funderType: "investor" | "staff" | "company" | "unattributed";
|