@deepintel-ltd/farmpro-contracts 1.23.0 → 1.23.2
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/categories.routes.d.ts +26 -26
- package/dist/routes/commodity-deals.routes.d.ts +42 -42
- package/dist/routes/crop-profile.routes.d.ts +8 -8
- package/dist/routes/farm-enterprises.routes.d.ts +395 -0
- package/dist/routes/farm-enterprises.routes.d.ts.map +1 -1
- package/dist/routes/farm-enterprises.routes.js +14 -1
- package/dist/routes/farms.routes.d.ts +73 -20
- package/dist/routes/farms.routes.d.ts.map +1 -1
- package/dist/routes/fertigation.routes.d.ts +96 -96
- package/dist/routes/field-monitoring.routes.d.ts +2 -2
- package/dist/routes/finance.routes.d.ts +8 -8
- package/dist/routes/invoices.routes.d.ts +63 -60
- package/dist/routes/invoices.routes.d.ts.map +1 -1
- package/dist/routes/invoices.routes.js +4 -1
- package/dist/routes/monitoring-visualization.routes.d.ts +2 -2
- package/dist/routes/notifications.routes.d.ts +12 -12
- package/dist/routes/organizations.routes.d.ts +90 -47
- package/dist/routes/organizations.routes.d.ts.map +1 -1
- package/dist/routes/purchase-orders.routes.d.ts +9 -9
- package/dist/routes/suppliers.routes.d.ts +96 -96
- package/dist/routes/team-payments.routes.d.ts +105 -105
- package/dist/routes/team.routes.d.ts +125 -25
- package/dist/routes/team.routes.d.ts.map +1 -1
- package/dist/routes/trade-cash-events.routes.d.ts +46 -46
- package/dist/routes/waybills.routes.d.ts +61 -57
- package/dist/routes/waybills.routes.d.ts.map +1 -1
- package/dist/routes/waybills.routes.js +4 -1
- package/dist/schemas/categories.schemas.d.ts +21 -21
- package/dist/schemas/commodity-deals.schemas.d.ts +18 -18
- package/dist/schemas/crop-profile.schemas.d.ts +12 -12
- package/dist/schemas/farm-enterprises.schemas.d.ts +185 -0
- package/dist/schemas/farm-enterprises.schemas.d.ts.map +1 -1
- package/dist/schemas/farm-enterprises.schemas.js +21 -0
- package/dist/schemas/farms.schemas.d.ts +121 -19
- package/dist/schemas/farms.schemas.d.ts.map +1 -1
- package/dist/schemas/farms.schemas.js +15 -1
- package/dist/schemas/fertigation.schemas.d.ts +36 -36
- package/dist/schemas/field-monitoring.schemas.d.ts +2 -2
- package/dist/schemas/finance.schemas.d.ts +8 -8
- package/dist/schemas/invoices.schemas.d.ts +39 -39
- package/dist/schemas/notifications.schemas.d.ts +18 -18
- package/dist/schemas/organizations.schemas.d.ts +105 -46
- package/dist/schemas/organizations.schemas.d.ts.map +1 -1
- package/dist/schemas/organizations.schemas.js +8 -1
- package/dist/schemas/purchase-orders.schemas.d.ts +9 -9
- package/dist/schemas/suppliers.schemas.d.ts +96 -96
- package/dist/schemas/team-payments.schemas.d.ts +87 -87
- package/dist/schemas/team.schemas.d.ts +137 -20
- package/dist/schemas/team.schemas.d.ts.map +1 -1
- package/dist/schemas/team.schemas.js +29 -1
- package/dist/schemas/trade-cash-events.schemas.d.ts +60 -60
- package/dist/schemas/waybills.schemas.d.ts +39 -39
- package/package.json +1 -1
|
@@ -3468,15 +3468,15 @@ export declare const fieldMonitoringRouter: {
|
|
|
3468
3468
|
farmId: z.ZodOptional<z.ZodString>;
|
|
3469
3469
|
}, "strip", z.ZodTypeAny, {
|
|
3470
3470
|
status: "building";
|
|
3471
|
-
fieldId: string;
|
|
3472
3471
|
kind: "terrain" | "soil";
|
|
3472
|
+
fieldId: string;
|
|
3473
3473
|
jobId: string;
|
|
3474
3474
|
cacheKey: string;
|
|
3475
3475
|
farmId?: string | undefined;
|
|
3476
3476
|
}, {
|
|
3477
3477
|
status: "building";
|
|
3478
|
-
fieldId: string;
|
|
3479
3478
|
kind: "terrain" | "soil";
|
|
3479
|
+
fieldId: string;
|
|
3480
3480
|
jobId: string;
|
|
3481
3481
|
cacheKey: string;
|
|
3482
3482
|
farmId?: string | undefined;
|
|
@@ -8831,14 +8831,14 @@ export declare const financeRouter: {
|
|
|
8831
8831
|
amount: z.ZodNumber;
|
|
8832
8832
|
note: z.ZodString;
|
|
8833
8833
|
}, "strip", z.ZodTypeAny, {
|
|
8834
|
-
amount: number;
|
|
8835
8834
|
kind: "harvest" | "opex" | "capex_excluded" | "not_bearing" | "labor" | "scheduled_inputs";
|
|
8835
|
+
amount: number;
|
|
8836
8836
|
note: string;
|
|
8837
8837
|
fieldName?: string | undefined;
|
|
8838
8838
|
month?: string | undefined;
|
|
8839
8839
|
}, {
|
|
8840
|
-
amount: number;
|
|
8841
8840
|
kind: "harvest" | "opex" | "capex_excluded" | "not_bearing" | "labor" | "scheduled_inputs";
|
|
8841
|
+
amount: number;
|
|
8842
8842
|
note: string;
|
|
8843
8843
|
fieldName?: string | undefined;
|
|
8844
8844
|
month?: string | undefined;
|
|
@@ -8880,8 +8880,8 @@ export declare const financeRouter: {
|
|
|
8880
8880
|
};
|
|
8881
8881
|
excludedCapexTotal: number;
|
|
8882
8882
|
drivers: {
|
|
8883
|
-
amount: number;
|
|
8884
8883
|
kind: "harvest" | "opex" | "capex_excluded" | "not_bearing" | "labor" | "scheduled_inputs";
|
|
8884
|
+
amount: number;
|
|
8885
8885
|
note: string;
|
|
8886
8886
|
fieldName?: string | undefined;
|
|
8887
8887
|
month?: string | undefined;
|
|
@@ -8917,8 +8917,8 @@ export declare const financeRouter: {
|
|
|
8917
8917
|
method?: "field_grounded" | "seasonal_fallback" | undefined;
|
|
8918
8918
|
excludedCapexTotal?: number | undefined;
|
|
8919
8919
|
drivers?: {
|
|
8920
|
-
amount: number;
|
|
8921
8920
|
kind: "harvest" | "opex" | "capex_excluded" | "not_bearing" | "labor" | "scheduled_inputs";
|
|
8921
|
+
amount: number;
|
|
8922
8922
|
note: string;
|
|
8923
8923
|
fieldName?: string | undefined;
|
|
8924
8924
|
month?: string | undefined;
|
|
@@ -8954,8 +8954,8 @@ export declare const financeRouter: {
|
|
|
8954
8954
|
};
|
|
8955
8955
|
excludedCapexTotal: number;
|
|
8956
8956
|
drivers: {
|
|
8957
|
-
amount: number;
|
|
8958
8957
|
kind: "harvest" | "opex" | "capex_excluded" | "not_bearing" | "labor" | "scheduled_inputs";
|
|
8958
|
+
amount: number;
|
|
8959
8959
|
note: string;
|
|
8960
8960
|
fieldName?: string | undefined;
|
|
8961
8961
|
month?: string | undefined;
|
|
@@ -8995,8 +8995,8 @@ export declare const financeRouter: {
|
|
|
8995
8995
|
method?: "field_grounded" | "seasonal_fallback" | undefined;
|
|
8996
8996
|
excludedCapexTotal?: number | undefined;
|
|
8997
8997
|
drivers?: {
|
|
8998
|
-
amount: number;
|
|
8999
8998
|
kind: "harvest" | "opex" | "capex_excluded" | "not_bearing" | "labor" | "scheduled_inputs";
|
|
8999
|
+
amount: number;
|
|
9000
9000
|
note: string;
|
|
9001
9001
|
fieldName?: string | undefined;
|
|
9002
9002
|
month?: string | undefined;
|
|
@@ -9034,8 +9034,8 @@ export declare const financeRouter: {
|
|
|
9034
9034
|
};
|
|
9035
9035
|
excludedCapexTotal: number;
|
|
9036
9036
|
drivers: {
|
|
9037
|
-
amount: number;
|
|
9038
9037
|
kind: "harvest" | "opex" | "capex_excluded" | "not_bearing" | "labor" | "scheduled_inputs";
|
|
9038
|
+
amount: number;
|
|
9039
9039
|
note: string;
|
|
9040
9040
|
fieldName?: string | undefined;
|
|
9041
9041
|
month?: string | undefined;
|
|
@@ -9077,8 +9077,8 @@ export declare const financeRouter: {
|
|
|
9077
9077
|
method?: "field_grounded" | "seasonal_fallback" | undefined;
|
|
9078
9078
|
excludedCapexTotal?: number | undefined;
|
|
9079
9079
|
drivers?: {
|
|
9080
|
-
amount: number;
|
|
9081
9080
|
kind: "harvest" | "opex" | "capex_excluded" | "not_bearing" | "labor" | "scheduled_inputs";
|
|
9081
|
+
amount: number;
|
|
9082
9082
|
note: string;
|
|
9083
9083
|
fieldName?: string | undefined;
|
|
9084
9084
|
month?: string | undefined;
|
|
@@ -14,17 +14,20 @@ export declare const invoicesRouter: {
|
|
|
14
14
|
} & {
|
|
15
15
|
sort: z.ZodOptional<z.ZodString>;
|
|
16
16
|
} & {
|
|
17
|
-
'filter[paymentStatus]': z.ZodOptional<z.ZodEnum<["pending", "paid", "overdue", "cancelled"]>>;
|
|
17
|
+
'filter[paymentStatus]': z.ZodOptional<z.ZodEnum<["pending", "partial", "paid", "overdue", "cancelled"]>>;
|
|
18
|
+
'filter[commercialIntent]': z.ZodOptional<z.ZodEnum<["farm_sale", "trade"]>>;
|
|
18
19
|
}, "strip", z.ZodTypeAny, {
|
|
19
20
|
sort?: string | undefined;
|
|
20
21
|
'page[number]'?: number | undefined;
|
|
21
22
|
'page[size]'?: number | undefined;
|
|
22
|
-
'filter[
|
|
23
|
+
'filter[commercialIntent]'?: "trade" | "farm_sale" | undefined;
|
|
24
|
+
'filter[paymentStatus]'?: "partial" | "pending" | "cancelled" | "paid" | "overdue" | undefined;
|
|
23
25
|
}, {
|
|
24
26
|
sort?: string | undefined;
|
|
25
27
|
'page[number]'?: number | undefined;
|
|
26
28
|
'page[size]'?: number | undefined;
|
|
27
|
-
'filter[
|
|
29
|
+
'filter[commercialIntent]'?: "trade" | "farm_sale" | undefined;
|
|
30
|
+
'filter[paymentStatus]'?: "partial" | "pending" | "cancelled" | "paid" | "overdue" | undefined;
|
|
28
31
|
}>;
|
|
29
32
|
summary: "List all invoices for an organization";
|
|
30
33
|
description: "Get a paginated list of invoices for the specified organization";
|
|
@@ -102,8 +105,8 @@ export declare const invoicesRouter: {
|
|
|
102
105
|
}, "strip", z.ZodTypeAny, {
|
|
103
106
|
createdAt: string;
|
|
104
107
|
updatedAt: string;
|
|
105
|
-
currency: string;
|
|
106
108
|
organizationId: string;
|
|
109
|
+
currency: string;
|
|
107
110
|
total: number;
|
|
108
111
|
items: {
|
|
109
112
|
description: string;
|
|
@@ -127,7 +130,7 @@ export declare const invoicesRouter: {
|
|
|
127
130
|
paidAt?: string | null | undefined;
|
|
128
131
|
waybillNumber?: string | null | undefined;
|
|
129
132
|
pdfUrl?: string | null | undefined;
|
|
130
|
-
commercialIntent?: "
|
|
133
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
131
134
|
taxRate?: number | null | undefined;
|
|
132
135
|
dueDate?: string | null | undefined;
|
|
133
136
|
billFromAddress?: string | null | undefined;
|
|
@@ -170,7 +173,7 @@ export declare const invoicesRouter: {
|
|
|
170
173
|
paidAt?: string | null | undefined;
|
|
171
174
|
waybillNumber?: string | null | undefined;
|
|
172
175
|
pdfUrl?: string | null | undefined;
|
|
173
|
-
commercialIntent?: "
|
|
176
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
174
177
|
taxRate?: number | null | undefined;
|
|
175
178
|
dueDate?: string | null | undefined;
|
|
176
179
|
billFromAddress?: string | null | undefined;
|
|
@@ -199,8 +202,8 @@ export declare const invoicesRouter: {
|
|
|
199
202
|
attributes: {
|
|
200
203
|
createdAt: string;
|
|
201
204
|
updatedAt: string;
|
|
202
|
-
currency: string;
|
|
203
205
|
organizationId: string;
|
|
206
|
+
currency: string;
|
|
204
207
|
total: number;
|
|
205
208
|
items: {
|
|
206
209
|
description: string;
|
|
@@ -224,7 +227,7 @@ export declare const invoicesRouter: {
|
|
|
224
227
|
paidAt?: string | null | undefined;
|
|
225
228
|
waybillNumber?: string | null | undefined;
|
|
226
229
|
pdfUrl?: string | null | undefined;
|
|
227
|
-
commercialIntent?: "
|
|
230
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
228
231
|
taxRate?: number | null | undefined;
|
|
229
232
|
dueDate?: string | null | undefined;
|
|
230
233
|
billFromAddress?: string | null | undefined;
|
|
@@ -274,7 +277,7 @@ export declare const invoicesRouter: {
|
|
|
274
277
|
paidAt?: string | null | undefined;
|
|
275
278
|
waybillNumber?: string | null | undefined;
|
|
276
279
|
pdfUrl?: string | null | undefined;
|
|
277
|
-
commercialIntent?: "
|
|
280
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
278
281
|
taxRate?: number | null | undefined;
|
|
279
282
|
dueDate?: string | null | undefined;
|
|
280
283
|
billFromAddress?: string | null | undefined;
|
|
@@ -329,8 +332,8 @@ export declare const invoicesRouter: {
|
|
|
329
332
|
attributes: {
|
|
330
333
|
createdAt: string;
|
|
331
334
|
updatedAt: string;
|
|
332
|
-
currency: string;
|
|
333
335
|
organizationId: string;
|
|
336
|
+
currency: string;
|
|
334
337
|
total: number;
|
|
335
338
|
items: {
|
|
336
339
|
description: string;
|
|
@@ -354,7 +357,7 @@ export declare const invoicesRouter: {
|
|
|
354
357
|
paidAt?: string | null | undefined;
|
|
355
358
|
waybillNumber?: string | null | undefined;
|
|
356
359
|
pdfUrl?: string | null | undefined;
|
|
357
|
-
commercialIntent?: "
|
|
360
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
358
361
|
taxRate?: number | null | undefined;
|
|
359
362
|
dueDate?: string | null | undefined;
|
|
360
363
|
billFromAddress?: string | null | undefined;
|
|
@@ -416,7 +419,7 @@ export declare const invoicesRouter: {
|
|
|
416
419
|
paidAt?: string | null | undefined;
|
|
417
420
|
waybillNumber?: string | null | undefined;
|
|
418
421
|
pdfUrl?: string | null | undefined;
|
|
419
|
-
commercialIntent?: "
|
|
422
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
420
423
|
taxRate?: number | null | undefined;
|
|
421
424
|
dueDate?: string | null | undefined;
|
|
422
425
|
billFromAddress?: string | null | undefined;
|
|
@@ -714,7 +717,7 @@ export declare const invoicesRouter: {
|
|
|
714
717
|
notes?: string | undefined;
|
|
715
718
|
waybillNumber?: string | undefined;
|
|
716
719
|
issueDate?: string | undefined;
|
|
717
|
-
commercialIntent?: "
|
|
720
|
+
commercialIntent?: "trade" | "farm_sale" | undefined;
|
|
718
721
|
taxRate?: number | undefined;
|
|
719
722
|
dueDate?: string | undefined;
|
|
720
723
|
billFromAddress?: string | undefined;
|
|
@@ -745,7 +748,7 @@ export declare const invoicesRouter: {
|
|
|
745
748
|
notes?: string | undefined;
|
|
746
749
|
waybillNumber?: string | undefined;
|
|
747
750
|
issueDate?: string | undefined;
|
|
748
|
-
commercialIntent?: "
|
|
751
|
+
commercialIntent?: "trade" | "farm_sale" | undefined;
|
|
749
752
|
taxRate?: number | undefined;
|
|
750
753
|
dueDate?: string | undefined;
|
|
751
754
|
billFromAddress?: string | undefined;
|
|
@@ -779,7 +782,7 @@ export declare const invoicesRouter: {
|
|
|
779
782
|
notes?: string | undefined;
|
|
780
783
|
waybillNumber?: string | undefined;
|
|
781
784
|
issueDate?: string | undefined;
|
|
782
|
-
commercialIntent?: "
|
|
785
|
+
commercialIntent?: "trade" | "farm_sale" | undefined;
|
|
783
786
|
taxRate?: number | undefined;
|
|
784
787
|
dueDate?: string | undefined;
|
|
785
788
|
billFromAddress?: string | undefined;
|
|
@@ -813,7 +816,7 @@ export declare const invoicesRouter: {
|
|
|
813
816
|
notes?: string | undefined;
|
|
814
817
|
waybillNumber?: string | undefined;
|
|
815
818
|
issueDate?: string | undefined;
|
|
816
|
-
commercialIntent?: "
|
|
819
|
+
commercialIntent?: "trade" | "farm_sale" | undefined;
|
|
817
820
|
taxRate?: number | undefined;
|
|
818
821
|
dueDate?: string | undefined;
|
|
819
822
|
billFromAddress?: string | undefined;
|
|
@@ -849,7 +852,7 @@ export declare const invoicesRouter: {
|
|
|
849
852
|
notes?: string | undefined;
|
|
850
853
|
waybillNumber?: string | undefined;
|
|
851
854
|
issueDate?: string | undefined;
|
|
852
|
-
commercialIntent?: "
|
|
855
|
+
commercialIntent?: "trade" | "farm_sale" | undefined;
|
|
853
856
|
taxRate?: number | undefined;
|
|
854
857
|
dueDate?: string | undefined;
|
|
855
858
|
billFromAddress?: string | undefined;
|
|
@@ -885,7 +888,7 @@ export declare const invoicesRouter: {
|
|
|
885
888
|
notes?: string | undefined;
|
|
886
889
|
waybillNumber?: string | undefined;
|
|
887
890
|
issueDate?: string | undefined;
|
|
888
|
-
commercialIntent?: "
|
|
891
|
+
commercialIntent?: "trade" | "farm_sale" | undefined;
|
|
889
892
|
taxRate?: number | undefined;
|
|
890
893
|
dueDate?: string | undefined;
|
|
891
894
|
billFromAddress?: string | undefined;
|
|
@@ -974,8 +977,8 @@ export declare const invoicesRouter: {
|
|
|
974
977
|
}, "strip", z.ZodTypeAny, {
|
|
975
978
|
createdAt: string;
|
|
976
979
|
updatedAt: string;
|
|
977
|
-
currency: string;
|
|
978
980
|
organizationId: string;
|
|
981
|
+
currency: string;
|
|
979
982
|
total: number;
|
|
980
983
|
items: {
|
|
981
984
|
description: string;
|
|
@@ -999,7 +1002,7 @@ export declare const invoicesRouter: {
|
|
|
999
1002
|
paidAt?: string | null | undefined;
|
|
1000
1003
|
waybillNumber?: string | null | undefined;
|
|
1001
1004
|
pdfUrl?: string | null | undefined;
|
|
1002
|
-
commercialIntent?: "
|
|
1005
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
1003
1006
|
taxRate?: number | null | undefined;
|
|
1004
1007
|
dueDate?: string | null | undefined;
|
|
1005
1008
|
billFromAddress?: string | null | undefined;
|
|
@@ -1042,7 +1045,7 @@ export declare const invoicesRouter: {
|
|
|
1042
1045
|
paidAt?: string | null | undefined;
|
|
1043
1046
|
waybillNumber?: string | null | undefined;
|
|
1044
1047
|
pdfUrl?: string | null | undefined;
|
|
1045
|
-
commercialIntent?: "
|
|
1048
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
1046
1049
|
taxRate?: number | null | undefined;
|
|
1047
1050
|
dueDate?: string | null | undefined;
|
|
1048
1051
|
billFromAddress?: string | null | undefined;
|
|
@@ -1071,8 +1074,8 @@ export declare const invoicesRouter: {
|
|
|
1071
1074
|
attributes: {
|
|
1072
1075
|
createdAt: string;
|
|
1073
1076
|
updatedAt: string;
|
|
1074
|
-
currency: string;
|
|
1075
1077
|
organizationId: string;
|
|
1078
|
+
currency: string;
|
|
1076
1079
|
total: number;
|
|
1077
1080
|
items: {
|
|
1078
1081
|
description: string;
|
|
@@ -1096,7 +1099,7 @@ export declare const invoicesRouter: {
|
|
|
1096
1099
|
paidAt?: string | null | undefined;
|
|
1097
1100
|
waybillNumber?: string | null | undefined;
|
|
1098
1101
|
pdfUrl?: string | null | undefined;
|
|
1099
|
-
commercialIntent?: "
|
|
1102
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
1100
1103
|
taxRate?: number | null | undefined;
|
|
1101
1104
|
dueDate?: string | null | undefined;
|
|
1102
1105
|
billFromAddress?: string | null | undefined;
|
|
@@ -1146,7 +1149,7 @@ export declare const invoicesRouter: {
|
|
|
1146
1149
|
paidAt?: string | null | undefined;
|
|
1147
1150
|
waybillNumber?: string | null | undefined;
|
|
1148
1151
|
pdfUrl?: string | null | undefined;
|
|
1149
|
-
commercialIntent?: "
|
|
1152
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
1150
1153
|
taxRate?: number | null | undefined;
|
|
1151
1154
|
dueDate?: string | null | undefined;
|
|
1152
1155
|
billFromAddress?: string | null | undefined;
|
|
@@ -1201,8 +1204,8 @@ export declare const invoicesRouter: {
|
|
|
1201
1204
|
attributes: {
|
|
1202
1205
|
createdAt: string;
|
|
1203
1206
|
updatedAt: string;
|
|
1204
|
-
currency: string;
|
|
1205
1207
|
organizationId: string;
|
|
1208
|
+
currency: string;
|
|
1206
1209
|
total: number;
|
|
1207
1210
|
items: {
|
|
1208
1211
|
description: string;
|
|
@@ -1226,7 +1229,7 @@ export declare const invoicesRouter: {
|
|
|
1226
1229
|
paidAt?: string | null | undefined;
|
|
1227
1230
|
waybillNumber?: string | null | undefined;
|
|
1228
1231
|
pdfUrl?: string | null | undefined;
|
|
1229
|
-
commercialIntent?: "
|
|
1232
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
1230
1233
|
taxRate?: number | null | undefined;
|
|
1231
1234
|
dueDate?: string | null | undefined;
|
|
1232
1235
|
billFromAddress?: string | null | undefined;
|
|
@@ -1288,7 +1291,7 @@ export declare const invoicesRouter: {
|
|
|
1288
1291
|
paidAt?: string | null | undefined;
|
|
1289
1292
|
waybillNumber?: string | null | undefined;
|
|
1290
1293
|
pdfUrl?: string | null | undefined;
|
|
1291
|
-
commercialIntent?: "
|
|
1294
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
1292
1295
|
taxRate?: number | null | undefined;
|
|
1293
1296
|
dueDate?: string | null | undefined;
|
|
1294
1297
|
billFromAddress?: string | null | undefined;
|
|
@@ -1772,8 +1775,8 @@ export declare const invoicesRouter: {
|
|
|
1772
1775
|
}, "strip", z.ZodTypeAny, {
|
|
1773
1776
|
createdAt: string;
|
|
1774
1777
|
updatedAt: string;
|
|
1775
|
-
currency: string;
|
|
1776
1778
|
organizationId: string;
|
|
1779
|
+
currency: string;
|
|
1777
1780
|
total: number;
|
|
1778
1781
|
items: {
|
|
1779
1782
|
description: string;
|
|
@@ -1797,7 +1800,7 @@ export declare const invoicesRouter: {
|
|
|
1797
1800
|
paidAt?: string | null | undefined;
|
|
1798
1801
|
waybillNumber?: string | null | undefined;
|
|
1799
1802
|
pdfUrl?: string | null | undefined;
|
|
1800
|
-
commercialIntent?: "
|
|
1803
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
1801
1804
|
taxRate?: number | null | undefined;
|
|
1802
1805
|
dueDate?: string | null | undefined;
|
|
1803
1806
|
billFromAddress?: string | null | undefined;
|
|
@@ -1840,7 +1843,7 @@ export declare const invoicesRouter: {
|
|
|
1840
1843
|
paidAt?: string | null | undefined;
|
|
1841
1844
|
waybillNumber?: string | null | undefined;
|
|
1842
1845
|
pdfUrl?: string | null | undefined;
|
|
1843
|
-
commercialIntent?: "
|
|
1846
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
1844
1847
|
taxRate?: number | null | undefined;
|
|
1845
1848
|
dueDate?: string | null | undefined;
|
|
1846
1849
|
billFromAddress?: string | null | undefined;
|
|
@@ -1869,8 +1872,8 @@ export declare const invoicesRouter: {
|
|
|
1869
1872
|
attributes: {
|
|
1870
1873
|
createdAt: string;
|
|
1871
1874
|
updatedAt: string;
|
|
1872
|
-
currency: string;
|
|
1873
1875
|
organizationId: string;
|
|
1876
|
+
currency: string;
|
|
1874
1877
|
total: number;
|
|
1875
1878
|
items: {
|
|
1876
1879
|
description: string;
|
|
@@ -1894,7 +1897,7 @@ export declare const invoicesRouter: {
|
|
|
1894
1897
|
paidAt?: string | null | undefined;
|
|
1895
1898
|
waybillNumber?: string | null | undefined;
|
|
1896
1899
|
pdfUrl?: string | null | undefined;
|
|
1897
|
-
commercialIntent?: "
|
|
1900
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
1898
1901
|
taxRate?: number | null | undefined;
|
|
1899
1902
|
dueDate?: string | null | undefined;
|
|
1900
1903
|
billFromAddress?: string | null | undefined;
|
|
@@ -1944,7 +1947,7 @@ export declare const invoicesRouter: {
|
|
|
1944
1947
|
paidAt?: string | null | undefined;
|
|
1945
1948
|
waybillNumber?: string | null | undefined;
|
|
1946
1949
|
pdfUrl?: string | null | undefined;
|
|
1947
|
-
commercialIntent?: "
|
|
1950
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
1948
1951
|
taxRate?: number | null | undefined;
|
|
1949
1952
|
dueDate?: string | null | undefined;
|
|
1950
1953
|
billFromAddress?: string | null | undefined;
|
|
@@ -1999,8 +2002,8 @@ export declare const invoicesRouter: {
|
|
|
1999
2002
|
attributes: {
|
|
2000
2003
|
createdAt: string;
|
|
2001
2004
|
updatedAt: string;
|
|
2002
|
-
currency: string;
|
|
2003
2005
|
organizationId: string;
|
|
2006
|
+
currency: string;
|
|
2004
2007
|
total: number;
|
|
2005
2008
|
items: {
|
|
2006
2009
|
description: string;
|
|
@@ -2024,7 +2027,7 @@ export declare const invoicesRouter: {
|
|
|
2024
2027
|
paidAt?: string | null | undefined;
|
|
2025
2028
|
waybillNumber?: string | null | undefined;
|
|
2026
2029
|
pdfUrl?: string | null | undefined;
|
|
2027
|
-
commercialIntent?: "
|
|
2030
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
2028
2031
|
taxRate?: number | null | undefined;
|
|
2029
2032
|
dueDate?: string | null | undefined;
|
|
2030
2033
|
billFromAddress?: string | null | undefined;
|
|
@@ -2086,7 +2089,7 @@ export declare const invoicesRouter: {
|
|
|
2086
2089
|
paidAt?: string | null | undefined;
|
|
2087
2090
|
waybillNumber?: string | null | undefined;
|
|
2088
2091
|
pdfUrl?: string | null | undefined;
|
|
2089
|
-
commercialIntent?: "
|
|
2092
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
2090
2093
|
taxRate?: number | null | undefined;
|
|
2091
2094
|
dueDate?: string | null | undefined;
|
|
2092
2095
|
billFromAddress?: string | null | undefined;
|
|
@@ -2388,7 +2391,7 @@ export declare const invoicesRouter: {
|
|
|
2388
2391
|
}[] | undefined;
|
|
2389
2392
|
waybillNumber?: string | undefined;
|
|
2390
2393
|
issueDate?: string | undefined;
|
|
2391
|
-
commercialIntent?: "
|
|
2394
|
+
commercialIntent?: "trade" | "farm_sale" | undefined;
|
|
2392
2395
|
buyerId?: string | undefined;
|
|
2393
2396
|
taxRate?: number | undefined;
|
|
2394
2397
|
dueDate?: string | undefined;
|
|
@@ -2420,7 +2423,7 @@ export declare const invoicesRouter: {
|
|
|
2420
2423
|
}[] | undefined;
|
|
2421
2424
|
waybillNumber?: string | undefined;
|
|
2422
2425
|
issueDate?: string | undefined;
|
|
2423
|
-
commercialIntent?: "
|
|
2426
|
+
commercialIntent?: "trade" | "farm_sale" | undefined;
|
|
2424
2427
|
buyerId?: string | undefined;
|
|
2425
2428
|
taxRate?: number | undefined;
|
|
2426
2429
|
dueDate?: string | undefined;
|
|
@@ -2456,7 +2459,7 @@ export declare const invoicesRouter: {
|
|
|
2456
2459
|
}[] | undefined;
|
|
2457
2460
|
waybillNumber?: string | undefined;
|
|
2458
2461
|
issueDate?: string | undefined;
|
|
2459
|
-
commercialIntent?: "
|
|
2462
|
+
commercialIntent?: "trade" | "farm_sale" | undefined;
|
|
2460
2463
|
buyerId?: string | undefined;
|
|
2461
2464
|
taxRate?: number | undefined;
|
|
2462
2465
|
dueDate?: string | undefined;
|
|
@@ -2492,7 +2495,7 @@ export declare const invoicesRouter: {
|
|
|
2492
2495
|
}[] | undefined;
|
|
2493
2496
|
waybillNumber?: string | undefined;
|
|
2494
2497
|
issueDate?: string | undefined;
|
|
2495
|
-
commercialIntent?: "
|
|
2498
|
+
commercialIntent?: "trade" | "farm_sale" | undefined;
|
|
2496
2499
|
buyerId?: string | undefined;
|
|
2497
2500
|
taxRate?: number | undefined;
|
|
2498
2501
|
dueDate?: string | undefined;
|
|
@@ -2530,7 +2533,7 @@ export declare const invoicesRouter: {
|
|
|
2530
2533
|
}[] | undefined;
|
|
2531
2534
|
waybillNumber?: string | undefined;
|
|
2532
2535
|
issueDate?: string | undefined;
|
|
2533
|
-
commercialIntent?: "
|
|
2536
|
+
commercialIntent?: "trade" | "farm_sale" | undefined;
|
|
2534
2537
|
buyerId?: string | undefined;
|
|
2535
2538
|
taxRate?: number | undefined;
|
|
2536
2539
|
dueDate?: string | undefined;
|
|
@@ -2568,7 +2571,7 @@ export declare const invoicesRouter: {
|
|
|
2568
2571
|
}[] | undefined;
|
|
2569
2572
|
waybillNumber?: string | undefined;
|
|
2570
2573
|
issueDate?: string | undefined;
|
|
2571
|
-
commercialIntent?: "
|
|
2574
|
+
commercialIntent?: "trade" | "farm_sale" | undefined;
|
|
2572
2575
|
buyerId?: string | undefined;
|
|
2573
2576
|
taxRate?: number | undefined;
|
|
2574
2577
|
dueDate?: string | undefined;
|
|
@@ -2660,8 +2663,8 @@ export declare const invoicesRouter: {
|
|
|
2660
2663
|
}, "strip", z.ZodTypeAny, {
|
|
2661
2664
|
createdAt: string;
|
|
2662
2665
|
updatedAt: string;
|
|
2663
|
-
currency: string;
|
|
2664
2666
|
organizationId: string;
|
|
2667
|
+
currency: string;
|
|
2665
2668
|
total: number;
|
|
2666
2669
|
items: {
|
|
2667
2670
|
description: string;
|
|
@@ -2685,7 +2688,7 @@ export declare const invoicesRouter: {
|
|
|
2685
2688
|
paidAt?: string | null | undefined;
|
|
2686
2689
|
waybillNumber?: string | null | undefined;
|
|
2687
2690
|
pdfUrl?: string | null | undefined;
|
|
2688
|
-
commercialIntent?: "
|
|
2691
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
2689
2692
|
taxRate?: number | null | undefined;
|
|
2690
2693
|
dueDate?: string | null | undefined;
|
|
2691
2694
|
billFromAddress?: string | null | undefined;
|
|
@@ -2728,7 +2731,7 @@ export declare const invoicesRouter: {
|
|
|
2728
2731
|
paidAt?: string | null | undefined;
|
|
2729
2732
|
waybillNumber?: string | null | undefined;
|
|
2730
2733
|
pdfUrl?: string | null | undefined;
|
|
2731
|
-
commercialIntent?: "
|
|
2734
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
2732
2735
|
taxRate?: number | null | undefined;
|
|
2733
2736
|
dueDate?: string | null | undefined;
|
|
2734
2737
|
billFromAddress?: string | null | undefined;
|
|
@@ -2757,8 +2760,8 @@ export declare const invoicesRouter: {
|
|
|
2757
2760
|
attributes: {
|
|
2758
2761
|
createdAt: string;
|
|
2759
2762
|
updatedAt: string;
|
|
2760
|
-
currency: string;
|
|
2761
2763
|
organizationId: string;
|
|
2764
|
+
currency: string;
|
|
2762
2765
|
total: number;
|
|
2763
2766
|
items: {
|
|
2764
2767
|
description: string;
|
|
@@ -2782,7 +2785,7 @@ export declare const invoicesRouter: {
|
|
|
2782
2785
|
paidAt?: string | null | undefined;
|
|
2783
2786
|
waybillNumber?: string | null | undefined;
|
|
2784
2787
|
pdfUrl?: string | null | undefined;
|
|
2785
|
-
commercialIntent?: "
|
|
2788
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
2786
2789
|
taxRate?: number | null | undefined;
|
|
2787
2790
|
dueDate?: string | null | undefined;
|
|
2788
2791
|
billFromAddress?: string | null | undefined;
|
|
@@ -2832,7 +2835,7 @@ export declare const invoicesRouter: {
|
|
|
2832
2835
|
paidAt?: string | null | undefined;
|
|
2833
2836
|
waybillNumber?: string | null | undefined;
|
|
2834
2837
|
pdfUrl?: string | null | undefined;
|
|
2835
|
-
commercialIntent?: "
|
|
2838
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
2836
2839
|
taxRate?: number | null | undefined;
|
|
2837
2840
|
dueDate?: string | null | undefined;
|
|
2838
2841
|
billFromAddress?: string | null | undefined;
|
|
@@ -2887,8 +2890,8 @@ export declare const invoicesRouter: {
|
|
|
2887
2890
|
attributes: {
|
|
2888
2891
|
createdAt: string;
|
|
2889
2892
|
updatedAt: string;
|
|
2890
|
-
currency: string;
|
|
2891
2893
|
organizationId: string;
|
|
2894
|
+
currency: string;
|
|
2892
2895
|
total: number;
|
|
2893
2896
|
items: {
|
|
2894
2897
|
description: string;
|
|
@@ -2912,7 +2915,7 @@ export declare const invoicesRouter: {
|
|
|
2912
2915
|
paidAt?: string | null | undefined;
|
|
2913
2916
|
waybillNumber?: string | null | undefined;
|
|
2914
2917
|
pdfUrl?: string | null | undefined;
|
|
2915
|
-
commercialIntent?: "
|
|
2918
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
2916
2919
|
taxRate?: number | null | undefined;
|
|
2917
2920
|
dueDate?: string | null | undefined;
|
|
2918
2921
|
billFromAddress?: string | null | undefined;
|
|
@@ -2974,7 +2977,7 @@ export declare const invoicesRouter: {
|
|
|
2974
2977
|
paidAt?: string | null | undefined;
|
|
2975
2978
|
waybillNumber?: string | null | undefined;
|
|
2976
2979
|
pdfUrl?: string | null | undefined;
|
|
2977
|
-
commercialIntent?: "
|
|
2980
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
2978
2981
|
taxRate?: number | null | undefined;
|
|
2979
2982
|
dueDate?: string | null | undefined;
|
|
2980
2983
|
billFromAddress?: string | null | undefined;
|
|
@@ -3459,8 +3462,8 @@ export declare const invoicesRouter: {
|
|
|
3459
3462
|
}, "strip", z.ZodTypeAny, {
|
|
3460
3463
|
createdAt: string;
|
|
3461
3464
|
updatedAt: string;
|
|
3462
|
-
currency: string;
|
|
3463
3465
|
organizationId: string;
|
|
3466
|
+
currency: string;
|
|
3464
3467
|
total: number;
|
|
3465
3468
|
items: {
|
|
3466
3469
|
description: string;
|
|
@@ -3484,7 +3487,7 @@ export declare const invoicesRouter: {
|
|
|
3484
3487
|
paidAt?: string | null | undefined;
|
|
3485
3488
|
waybillNumber?: string | null | undefined;
|
|
3486
3489
|
pdfUrl?: string | null | undefined;
|
|
3487
|
-
commercialIntent?: "
|
|
3490
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
3488
3491
|
taxRate?: number | null | undefined;
|
|
3489
3492
|
dueDate?: string | null | undefined;
|
|
3490
3493
|
billFromAddress?: string | null | undefined;
|
|
@@ -3527,7 +3530,7 @@ export declare const invoicesRouter: {
|
|
|
3527
3530
|
paidAt?: string | null | undefined;
|
|
3528
3531
|
waybillNumber?: string | null | undefined;
|
|
3529
3532
|
pdfUrl?: string | null | undefined;
|
|
3530
|
-
commercialIntent?: "
|
|
3533
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
3531
3534
|
taxRate?: number | null | undefined;
|
|
3532
3535
|
dueDate?: string | null | undefined;
|
|
3533
3536
|
billFromAddress?: string | null | undefined;
|
|
@@ -3556,8 +3559,8 @@ export declare const invoicesRouter: {
|
|
|
3556
3559
|
attributes: {
|
|
3557
3560
|
createdAt: string;
|
|
3558
3561
|
updatedAt: string;
|
|
3559
|
-
currency: string;
|
|
3560
3562
|
organizationId: string;
|
|
3563
|
+
currency: string;
|
|
3561
3564
|
total: number;
|
|
3562
3565
|
items: {
|
|
3563
3566
|
description: string;
|
|
@@ -3581,7 +3584,7 @@ export declare const invoicesRouter: {
|
|
|
3581
3584
|
paidAt?: string | null | undefined;
|
|
3582
3585
|
waybillNumber?: string | null | undefined;
|
|
3583
3586
|
pdfUrl?: string | null | undefined;
|
|
3584
|
-
commercialIntent?: "
|
|
3587
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
3585
3588
|
taxRate?: number | null | undefined;
|
|
3586
3589
|
dueDate?: string | null | undefined;
|
|
3587
3590
|
billFromAddress?: string | null | undefined;
|
|
@@ -3631,7 +3634,7 @@ export declare const invoicesRouter: {
|
|
|
3631
3634
|
paidAt?: string | null | undefined;
|
|
3632
3635
|
waybillNumber?: string | null | undefined;
|
|
3633
3636
|
pdfUrl?: string | null | undefined;
|
|
3634
|
-
commercialIntent?: "
|
|
3637
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
3635
3638
|
taxRate?: number | null | undefined;
|
|
3636
3639
|
dueDate?: string | null | undefined;
|
|
3637
3640
|
billFromAddress?: string | null | undefined;
|
|
@@ -3686,8 +3689,8 @@ export declare const invoicesRouter: {
|
|
|
3686
3689
|
attributes: {
|
|
3687
3690
|
createdAt: string;
|
|
3688
3691
|
updatedAt: string;
|
|
3689
|
-
currency: string;
|
|
3690
3692
|
organizationId: string;
|
|
3693
|
+
currency: string;
|
|
3691
3694
|
total: number;
|
|
3692
3695
|
items: {
|
|
3693
3696
|
description: string;
|
|
@@ -3711,7 +3714,7 @@ export declare const invoicesRouter: {
|
|
|
3711
3714
|
paidAt?: string | null | undefined;
|
|
3712
3715
|
waybillNumber?: string | null | undefined;
|
|
3713
3716
|
pdfUrl?: string | null | undefined;
|
|
3714
|
-
commercialIntent?: "
|
|
3717
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
3715
3718
|
taxRate?: number | null | undefined;
|
|
3716
3719
|
dueDate?: string | null | undefined;
|
|
3717
3720
|
billFromAddress?: string | null | undefined;
|
|
@@ -3773,7 +3776,7 @@ export declare const invoicesRouter: {
|
|
|
3773
3776
|
paidAt?: string | null | undefined;
|
|
3774
3777
|
waybillNumber?: string | null | undefined;
|
|
3775
3778
|
pdfUrl?: string | null | undefined;
|
|
3776
|
-
commercialIntent?: "
|
|
3779
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
3777
3780
|
taxRate?: number | null | undefined;
|
|
3778
3781
|
dueDate?: string | null | undefined;
|
|
3779
3782
|
billFromAddress?: string | null | undefined;
|