@deepintel-ltd/farmpro-contracts 1.30.1 → 1.32.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 (54) hide show
  1. package/dist/index.d.ts +3 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +2 -0
  4. package/dist/routes/auth.routes.d.ts +753 -0
  5. package/dist/routes/auth.routes.d.ts.map +1 -1
  6. package/dist/routes/auth.routes.js +25 -1
  7. package/dist/routes/field-monitoring.routes.d.ts +3 -0
  8. package/dist/routes/field-monitoring.routes.d.ts.map +1 -1
  9. package/dist/routes/finance.routes.d.ts +4 -0
  10. package/dist/routes/finance.routes.d.ts.map +1 -1
  11. package/dist/routes/finance.routes.js +5 -0
  12. package/dist/routes/index.d.ts +3 -0
  13. package/dist/routes/index.d.ts.map +1 -1
  14. package/dist/routes/index.js +2 -0
  15. package/dist/routes/integrations.routes.d.ts +4500 -0
  16. package/dist/routes/integrations.routes.d.ts.map +1 -0
  17. package/dist/routes/integrations.routes.js +189 -0
  18. package/dist/routes/invoices.routes.d.ts +210 -0
  19. package/dist/routes/invoices.routes.d.ts.map +1 -1
  20. package/dist/routes/market-intelligence.routes.d.ts +670 -0
  21. package/dist/routes/market-intelligence.routes.d.ts.map +1 -1
  22. package/dist/routes/market-intelligence.routes.js +52 -0
  23. package/dist/routes/poultry.routes.d.ts +14 -14
  24. package/dist/routes/subscriptions.routes.d.ts +369 -0
  25. package/dist/routes/subscriptions.routes.d.ts.map +1 -1
  26. package/dist/routes/subscriptions.routes.js +22 -1
  27. package/dist/routes/trade-cash-events.routes.d.ts +121 -31
  28. package/dist/routes/trade-cash-events.routes.d.ts.map +1 -1
  29. package/dist/routes/users.routes.d.ts +280 -0
  30. package/dist/routes/users.routes.d.ts.map +1 -1
  31. package/dist/routes/users.routes.js +14 -0
  32. package/dist/schemas/auth.schemas.d.ts +75 -0
  33. package/dist/schemas/auth.schemas.d.ts.map +1 -1
  34. package/dist/schemas/auth.schemas.js +21 -0
  35. package/dist/schemas/farm-enterprises.schemas.d.ts +1 -1
  36. package/dist/schemas/farm-enterprises.schemas.d.ts.map +1 -1
  37. package/dist/schemas/farm-enterprises.schemas.js +1 -1
  38. package/dist/schemas/field-monitoring.schemas.d.ts +4 -0
  39. package/dist/schemas/field-monitoring.schemas.d.ts.map +1 -1
  40. package/dist/schemas/field-monitoring.schemas.js +2 -0
  41. package/dist/schemas/integrations.schemas.d.ts +717 -0
  42. package/dist/schemas/integrations.schemas.d.ts.map +1 -0
  43. package/dist/schemas/integrations.schemas.js +149 -0
  44. package/dist/schemas/invoices.schemas.d.ts +132 -0
  45. package/dist/schemas/invoices.schemas.d.ts.map +1 -1
  46. package/dist/schemas/invoices.schemas.js +6 -0
  47. package/dist/schemas/locale.schemas.d.ts +2 -2
  48. package/dist/schemas/subscriptions.schemas.d.ts +56 -0
  49. package/dist/schemas/subscriptions.schemas.d.ts.map +1 -1
  50. package/dist/schemas/subscriptions.schemas.js +12 -0
  51. package/dist/schemas/trade-cash-events.schemas.d.ts +101 -31
  52. package/dist/schemas/trade-cash-events.schemas.d.ts.map +1 -1
  53. package/dist/schemas/trade-cash-events.schemas.js +12 -0
  54. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integrations.routes.d.ts","sourceRoot":"","sources":["../../src/routes/integrations.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAyBxB,wEAAwE;AACxE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4L7B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC"}
@@ -0,0 +1,189 @@
1
+ import { initContract } from '@ts-rest/core';
2
+ import { z } from 'zod';
3
+ import { jsonApiErrorResponseSchema } from '../schemas/common.schemas';
4
+ import { createOutbreakBodySchema, outbreakListSchema, importProductRegistryBodySchema, importProductRegistryResultSchema, integrationStatusListSchema, priceFeedIngestResultSchema, speakBodySchema, speakResponseSchema, transcribeVoiceBodySchema, transcriptResponseSchema, linkBankBodySchema, startBankLinkBodySchema, bankLineListSchema, bankLineSchema, cropConditionSchema, eInvoiceSubmitBodySchema, eInvoiceResultSchema, importNimetBodySchema, } from '../schemas/integrations.schemas';
5
+ const c = initContract();
6
+ /** Third-party integrations (docs/THIRD_PARTY_INTEGRATIONS_PLAN.md). */
7
+ export const integrationsRouter = c.router({
8
+ listIntegrations: {
9
+ method: 'GET',
10
+ path: '/admin/integrations',
11
+ responses: {
12
+ 200: integrationStatusListSchema,
13
+ 401: jsonApiErrorResponseSchema,
14
+ 403: jsonApiErrorResponseSchema,
15
+ },
16
+ summary: 'Platform admin: integration configuration and today’s metered calls',
17
+ },
18
+ ingestPriceFeeds: {
19
+ method: 'POST',
20
+ path: '/admin/integrations/price-feeds/ingest',
21
+ body: z.object({}).optional(),
22
+ responses: {
23
+ 200: priceFeedIngestResultSchema,
24
+ 401: jsonApiErrorResponseSchema,
25
+ 403: jsonApiErrorResponseSchema,
26
+ },
27
+ summary: 'Platform admin: pull World Bank RTFP and WFP price feeds now',
28
+ },
29
+ importProductRegistry: {
30
+ method: 'POST',
31
+ path: '/admin/integrations/product-registry/import',
32
+ body: importProductRegistryBodySchema,
33
+ responses: {
34
+ 200: importProductRegistryResultSchema,
35
+ 400: jsonApiErrorResponseSchema,
36
+ 401: jsonApiErrorResponseSchema,
37
+ 403: jsonApiErrorResponseSchema,
38
+ },
39
+ summary: 'Platform admin: load the registered agrochemical / veterinary product list (CSV)',
40
+ },
41
+ createOutbreak: {
42
+ method: 'POST',
43
+ path: '/admin/integrations/outbreaks',
44
+ body: createOutbreakBodySchema,
45
+ responses: {
46
+ 200: z.object({ data: z.object({ created: z.boolean(), farmsAlerted: z.number().int() }) }),
47
+ 400: jsonApiErrorResponseSchema,
48
+ 401: jsonApiErrorResponseSchema,
49
+ 403: jsonApiErrorResponseSchema,
50
+ },
51
+ summary: 'Platform admin: record an outbreak event (WAHIS / state vet report) and alert nearby farms',
52
+ },
53
+ listFarmOutbreaks: {
54
+ method: 'GET',
55
+ path: '/farms/:farmId/outbreaks',
56
+ pathParams: z.object({ farmId: z.string().uuid() }),
57
+ responses: {
58
+ 200: outbreakListSchema,
59
+ 401: jsonApiErrorResponseSchema,
60
+ 403: jsonApiErrorResponseSchema,
61
+ },
62
+ summary: 'Active disease / pest outbreaks in the farm’s state or within 100 km (last 60 days)',
63
+ },
64
+ transcribeVoice: {
65
+ method: 'POST',
66
+ path: '/farms/:farmId/voice/transcribe',
67
+ pathParams: z.object({ farmId: z.string().uuid() }),
68
+ contentType: 'multipart/form-data',
69
+ body: transcribeVoiceBodySchema,
70
+ responses: {
71
+ 200: transcriptResponseSchema,
72
+ 400: jsonApiErrorResponseSchema,
73
+ 401: jsonApiErrorResponseSchema,
74
+ 403: jsonApiErrorResponseSchema,
75
+ 503: jsonApiErrorResponseSchema,
76
+ },
77
+ summary: 'Voice note → text (Yoruba, Hausa, Igbo, English, Pidgin). Audio is not stored.',
78
+ },
79
+ speak: {
80
+ method: 'POST',
81
+ path: '/farms/:farmId/voice/speak',
82
+ pathParams: z.object({ farmId: z.string().uuid() }),
83
+ body: speakBodySchema,
84
+ responses: {
85
+ 200: speakResponseSchema,
86
+ 401: jsonApiErrorResponseSchema,
87
+ 403: jsonApiErrorResponseSchema,
88
+ 503: jsonApiErrorResponseSchema,
89
+ },
90
+ summary: 'Read an answer aloud (Spitch TTS, mp3 as base64)',
91
+ },
92
+ linkBank: {
93
+ method: 'POST',
94
+ path: '/farms/:farmId/bank-feed/link',
95
+ pathParams: z.object({ farmId: z.string().uuid() }),
96
+ body: linkBankBodySchema,
97
+ responses: {
98
+ 200: z.object({ data: z.object({ bankAccountId: z.string(), institution: z.string() }) }),
99
+ 400: jsonApiErrorResponseSchema,
100
+ 401: jsonApiErrorResponseSchema,
101
+ 403: jsonApiErrorResponseSchema,
102
+ 503: jsonApiErrorResponseSchema,
103
+ },
104
+ summary: 'Exchange a Mono Connect code and start importing statement lines',
105
+ },
106
+ startBankLink: {
107
+ method: 'POST',
108
+ path: '/farms/:farmId/bank-feed/link/start',
109
+ pathParams: z.object({ farmId: z.string().uuid() }),
110
+ body: startBankLinkBodySchema,
111
+ responses: {
112
+ 200: z.object({ data: z.object({ monoUrl: z.string().url() }) }),
113
+ 400: jsonApiErrorResponseSchema,
114
+ 401: jsonApiErrorResponseSchema,
115
+ 403: jsonApiErrorResponseSchema,
116
+ 503: jsonApiErrorResponseSchema,
117
+ },
118
+ summary: 'Start a hosted Mono bank link (records consent); linking finishes via webhook',
119
+ },
120
+ listBankLines: {
121
+ method: 'GET',
122
+ path: '/farms/:farmId/bank-feed/pending',
123
+ pathParams: z.object({ farmId: z.string().uuid() }),
124
+ responses: {
125
+ 200: bankLineListSchema,
126
+ 401: jsonApiErrorResponseSchema,
127
+ 403: jsonApiErrorResponseSchema,
128
+ },
129
+ summary: 'Unreviewed Mono bank lines waiting for accept/ignore',
130
+ },
131
+ acceptBankLine: {
132
+ method: 'POST',
133
+ path: '/farms/:farmId/bank-feed/lines/:lineId/accept',
134
+ pathParams: z.object({ farmId: z.string().uuid(), lineId: z.string().uuid() }),
135
+ body: z.object({}).optional(),
136
+ responses: {
137
+ 200: z.object({ data: bankLineSchema }),
138
+ 401: jsonApiErrorResponseSchema,
139
+ 404: jsonApiErrorResponseSchema,
140
+ },
141
+ summary: 'Accept a suggested categorisation and create the expense or revenue',
142
+ },
143
+ ignoreBankLine: {
144
+ method: 'POST',
145
+ path: '/farms/:farmId/bank-feed/lines/:lineId/ignore',
146
+ pathParams: z.object({ farmId: z.string().uuid(), lineId: z.string().uuid() }),
147
+ body: z.object({}).optional(),
148
+ responses: {
149
+ 200: z.object({ data: bankLineSchema }),
150
+ 401: jsonApiErrorResponseSchema,
151
+ 404: jsonApiErrorResponseSchema,
152
+ },
153
+ summary: 'Ignore a bank line',
154
+ },
155
+ cropCondition: {
156
+ method: 'GET',
157
+ path: '/farms/:farmId/fields/:fieldId/crop-condition',
158
+ pathParams: z.object({ farmId: z.string().uuid(), fieldId: z.string().uuid() }),
159
+ responses: {
160
+ 200: cropConditionSchema,
161
+ 401: jsonApiErrorResponseSchema,
162
+ 403: jsonApiErrorResponseSchema,
163
+ },
164
+ summary: 'NDVI if last clear pass ≤ 20 days, otherwise Sentinel-1 SAR',
165
+ },
166
+ submitEInvoice: {
167
+ method: 'POST',
168
+ path: '/organizations/:organizationId/invoices/:invoiceId/e-invoice',
169
+ pathParams: z.object({ organizationId: z.string().uuid(), invoiceId: z.string().uuid() }),
170
+ body: eInvoiceSubmitBodySchema.partial().optional(),
171
+ responses: {
172
+ 200: eInvoiceResultSchema,
173
+ 401: jsonApiErrorResponseSchema,
174
+ 503: jsonApiErrorResponseSchema,
175
+ },
176
+ summary: 'Submit the invoice to FIRS MBS (sandbox unless EINVOICE_PROVIDER=si_http)',
177
+ },
178
+ importNimetCalendar: {
179
+ method: 'POST',
180
+ path: '/admin/integrations/nimet/import',
181
+ body: importNimetBodySchema,
182
+ responses: {
183
+ 200: importProductRegistryResultSchema,
184
+ 401: jsonApiErrorResponseSchema,
185
+ 403: jsonApiErrorResponseSchema,
186
+ },
187
+ summary: 'Platform admin: load NiMet onset/cessation rows (CSV)',
188
+ },
189
+ });
@@ -98,6 +98,12 @@ export declare const invoicesRouter: {
98
98
  farmId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
99
99
  commercialIntent: z.ZodNullable<z.ZodOptional<z.ZodEnum<["farm_sale", "trade"]>>>;
100
100
  invoiceKind: z.ZodDefault<z.ZodOptional<z.ZodEnum<["provisional", "final"]>>>;
101
+ virtualAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102
+ virtualAccountBank: z.ZodOptional<z.ZodNullable<z.ZodString>>;
103
+ eInvoiceIrn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
104
+ eInvoiceQr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105
+ eInvoiceStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
106
+ eInvoiceSubmittedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
101
107
  organizationId: z.ZodString;
102
108
  } & {
103
109
  createdAt: z.ZodString;
@@ -147,6 +153,12 @@ export declare const invoicesRouter: {
147
153
  bankAccountId?: string | null | undefined;
148
154
  waybillId?: string | null | undefined;
149
155
  totalInWords?: string | null | undefined;
156
+ virtualAccountNumber?: string | null | undefined;
157
+ virtualAccountBank?: string | null | undefined;
158
+ eInvoiceIrn?: string | null | undefined;
159
+ eInvoiceQr?: string | null | undefined;
160
+ eInvoiceStatus?: string | null | undefined;
161
+ eInvoiceSubmittedAt?: string | null | undefined;
150
162
  }, {
151
163
  createdAt: string;
152
164
  updatedAt: string;
@@ -192,6 +204,12 @@ export declare const invoicesRouter: {
192
204
  waybillId?: string | null | undefined;
193
205
  totalInWords?: string | null | undefined;
194
206
  invoiceKind?: "provisional" | "final" | undefined;
207
+ virtualAccountNumber?: string | null | undefined;
208
+ virtualAccountBank?: string | null | undefined;
209
+ eInvoiceIrn?: string | null | undefined;
210
+ eInvoiceQr?: string | null | undefined;
211
+ eInvoiceStatus?: string | null | undefined;
212
+ eInvoiceSubmittedAt?: string | null | undefined;
195
213
  }>;
196
214
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
197
215
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -244,6 +262,12 @@ export declare const invoicesRouter: {
244
262
  bankAccountId?: string | null | undefined;
245
263
  waybillId?: string | null | undefined;
246
264
  totalInWords?: string | null | undefined;
265
+ virtualAccountNumber?: string | null | undefined;
266
+ virtualAccountBank?: string | null | undefined;
267
+ eInvoiceIrn?: string | null | undefined;
268
+ eInvoiceQr?: string | null | undefined;
269
+ eInvoiceStatus?: string | null | undefined;
270
+ eInvoiceSubmittedAt?: string | null | undefined;
247
271
  };
248
272
  relationships?: Record<string, unknown> | undefined;
249
273
  links?: Record<string, string> | undefined;
@@ -296,6 +320,12 @@ export declare const invoicesRouter: {
296
320
  waybillId?: string | null | undefined;
297
321
  totalInWords?: string | null | undefined;
298
322
  invoiceKind?: "provisional" | "final" | undefined;
323
+ virtualAccountNumber?: string | null | undefined;
324
+ virtualAccountBank?: string | null | undefined;
325
+ eInvoiceIrn?: string | null | undefined;
326
+ eInvoiceQr?: string | null | undefined;
327
+ eInvoiceStatus?: string | null | undefined;
328
+ eInvoiceSubmittedAt?: string | null | undefined;
299
329
  };
300
330
  relationships?: Record<string, unknown> | undefined;
301
331
  links?: Record<string, string> | undefined;
@@ -374,6 +404,12 @@ export declare const invoicesRouter: {
374
404
  bankAccountId?: string | null | undefined;
375
405
  waybillId?: string | null | undefined;
376
406
  totalInWords?: string | null | undefined;
407
+ virtualAccountNumber?: string | null | undefined;
408
+ virtualAccountBank?: string | null | undefined;
409
+ eInvoiceIrn?: string | null | undefined;
410
+ eInvoiceQr?: string | null | undefined;
411
+ eInvoiceStatus?: string | null | undefined;
412
+ eInvoiceSubmittedAt?: string | null | undefined;
377
413
  };
378
414
  relationships?: Record<string, unknown> | undefined;
379
415
  links?: Record<string, string> | undefined;
@@ -438,6 +474,12 @@ export declare const invoicesRouter: {
438
474
  waybillId?: string | null | undefined;
439
475
  totalInWords?: string | null | undefined;
440
476
  invoiceKind?: "provisional" | "final" | undefined;
477
+ virtualAccountNumber?: string | null | undefined;
478
+ virtualAccountBank?: string | null | undefined;
479
+ eInvoiceIrn?: string | null | undefined;
480
+ eInvoiceQr?: string | null | undefined;
481
+ eInvoiceStatus?: string | null | undefined;
482
+ eInvoiceSubmittedAt?: string | null | undefined;
441
483
  };
442
484
  relationships?: Record<string, unknown> | undefined;
443
485
  links?: Record<string, string> | undefined;
@@ -970,6 +1012,12 @@ export declare const invoicesRouter: {
970
1012
  farmId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
971
1013
  commercialIntent: z.ZodNullable<z.ZodOptional<z.ZodEnum<["farm_sale", "trade"]>>>;
972
1014
  invoiceKind: z.ZodDefault<z.ZodOptional<z.ZodEnum<["provisional", "final"]>>>;
1015
+ virtualAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1016
+ virtualAccountBank: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1017
+ eInvoiceIrn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1018
+ eInvoiceQr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1019
+ eInvoiceStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1020
+ eInvoiceSubmittedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
973
1021
  organizationId: z.ZodString;
974
1022
  } & {
975
1023
  createdAt: z.ZodString;
@@ -1019,6 +1067,12 @@ export declare const invoicesRouter: {
1019
1067
  bankAccountId?: string | null | undefined;
1020
1068
  waybillId?: string | null | undefined;
1021
1069
  totalInWords?: string | null | undefined;
1070
+ virtualAccountNumber?: string | null | undefined;
1071
+ virtualAccountBank?: string | null | undefined;
1072
+ eInvoiceIrn?: string | null | undefined;
1073
+ eInvoiceQr?: string | null | undefined;
1074
+ eInvoiceStatus?: string | null | undefined;
1075
+ eInvoiceSubmittedAt?: string | null | undefined;
1022
1076
  }, {
1023
1077
  createdAt: string;
1024
1078
  updatedAt: string;
@@ -1064,6 +1118,12 @@ export declare const invoicesRouter: {
1064
1118
  waybillId?: string | null | undefined;
1065
1119
  totalInWords?: string | null | undefined;
1066
1120
  invoiceKind?: "provisional" | "final" | undefined;
1121
+ virtualAccountNumber?: string | null | undefined;
1122
+ virtualAccountBank?: string | null | undefined;
1123
+ eInvoiceIrn?: string | null | undefined;
1124
+ eInvoiceQr?: string | null | undefined;
1125
+ eInvoiceStatus?: string | null | undefined;
1126
+ eInvoiceSubmittedAt?: string | null | undefined;
1067
1127
  }>;
1068
1128
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1069
1129
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1116,6 +1176,12 @@ export declare const invoicesRouter: {
1116
1176
  bankAccountId?: string | null | undefined;
1117
1177
  waybillId?: string | null | undefined;
1118
1178
  totalInWords?: string | null | undefined;
1179
+ virtualAccountNumber?: string | null | undefined;
1180
+ virtualAccountBank?: string | null | undefined;
1181
+ eInvoiceIrn?: string | null | undefined;
1182
+ eInvoiceQr?: string | null | undefined;
1183
+ eInvoiceStatus?: string | null | undefined;
1184
+ eInvoiceSubmittedAt?: string | null | undefined;
1119
1185
  };
1120
1186
  relationships?: Record<string, unknown> | undefined;
1121
1187
  links?: Record<string, string> | undefined;
@@ -1168,6 +1234,12 @@ export declare const invoicesRouter: {
1168
1234
  waybillId?: string | null | undefined;
1169
1235
  totalInWords?: string | null | undefined;
1170
1236
  invoiceKind?: "provisional" | "final" | undefined;
1237
+ virtualAccountNumber?: string | null | undefined;
1238
+ virtualAccountBank?: string | null | undefined;
1239
+ eInvoiceIrn?: string | null | undefined;
1240
+ eInvoiceQr?: string | null | undefined;
1241
+ eInvoiceStatus?: string | null | undefined;
1242
+ eInvoiceSubmittedAt?: string | null | undefined;
1171
1243
  };
1172
1244
  relationships?: Record<string, unknown> | undefined;
1173
1245
  links?: Record<string, string> | undefined;
@@ -1246,6 +1318,12 @@ export declare const invoicesRouter: {
1246
1318
  bankAccountId?: string | null | undefined;
1247
1319
  waybillId?: string | null | undefined;
1248
1320
  totalInWords?: string | null | undefined;
1321
+ virtualAccountNumber?: string | null | undefined;
1322
+ virtualAccountBank?: string | null | undefined;
1323
+ eInvoiceIrn?: string | null | undefined;
1324
+ eInvoiceQr?: string | null | undefined;
1325
+ eInvoiceStatus?: string | null | undefined;
1326
+ eInvoiceSubmittedAt?: string | null | undefined;
1249
1327
  };
1250
1328
  relationships?: Record<string, unknown> | undefined;
1251
1329
  links?: Record<string, string> | undefined;
@@ -1310,6 +1388,12 @@ export declare const invoicesRouter: {
1310
1388
  waybillId?: string | null | undefined;
1311
1389
  totalInWords?: string | null | undefined;
1312
1390
  invoiceKind?: "provisional" | "final" | undefined;
1391
+ virtualAccountNumber?: string | null | undefined;
1392
+ virtualAccountBank?: string | null | undefined;
1393
+ eInvoiceIrn?: string | null | undefined;
1394
+ eInvoiceQr?: string | null | undefined;
1395
+ eInvoiceStatus?: string | null | undefined;
1396
+ eInvoiceSubmittedAt?: string | null | undefined;
1313
1397
  };
1314
1398
  relationships?: Record<string, unknown> | undefined;
1315
1399
  links?: Record<string, string> | undefined;
@@ -1768,6 +1852,12 @@ export declare const invoicesRouter: {
1768
1852
  farmId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1769
1853
  commercialIntent: z.ZodNullable<z.ZodOptional<z.ZodEnum<["farm_sale", "trade"]>>>;
1770
1854
  invoiceKind: z.ZodDefault<z.ZodOptional<z.ZodEnum<["provisional", "final"]>>>;
1855
+ virtualAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1856
+ virtualAccountBank: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1857
+ eInvoiceIrn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1858
+ eInvoiceQr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1859
+ eInvoiceStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1860
+ eInvoiceSubmittedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1771
1861
  organizationId: z.ZodString;
1772
1862
  } & {
1773
1863
  createdAt: z.ZodString;
@@ -1817,6 +1907,12 @@ export declare const invoicesRouter: {
1817
1907
  bankAccountId?: string | null | undefined;
1818
1908
  waybillId?: string | null | undefined;
1819
1909
  totalInWords?: string | null | undefined;
1910
+ virtualAccountNumber?: string | null | undefined;
1911
+ virtualAccountBank?: string | null | undefined;
1912
+ eInvoiceIrn?: string | null | undefined;
1913
+ eInvoiceQr?: string | null | undefined;
1914
+ eInvoiceStatus?: string | null | undefined;
1915
+ eInvoiceSubmittedAt?: string | null | undefined;
1820
1916
  }, {
1821
1917
  createdAt: string;
1822
1918
  updatedAt: string;
@@ -1862,6 +1958,12 @@ export declare const invoicesRouter: {
1862
1958
  waybillId?: string | null | undefined;
1863
1959
  totalInWords?: string | null | undefined;
1864
1960
  invoiceKind?: "provisional" | "final" | undefined;
1961
+ virtualAccountNumber?: string | null | undefined;
1962
+ virtualAccountBank?: string | null | undefined;
1963
+ eInvoiceIrn?: string | null | undefined;
1964
+ eInvoiceQr?: string | null | undefined;
1965
+ eInvoiceStatus?: string | null | undefined;
1966
+ eInvoiceSubmittedAt?: string | null | undefined;
1865
1967
  }>;
1866
1968
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1867
1969
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1914,6 +2016,12 @@ export declare const invoicesRouter: {
1914
2016
  bankAccountId?: string | null | undefined;
1915
2017
  waybillId?: string | null | undefined;
1916
2018
  totalInWords?: string | null | undefined;
2019
+ virtualAccountNumber?: string | null | undefined;
2020
+ virtualAccountBank?: string | null | undefined;
2021
+ eInvoiceIrn?: string | null | undefined;
2022
+ eInvoiceQr?: string | null | undefined;
2023
+ eInvoiceStatus?: string | null | undefined;
2024
+ eInvoiceSubmittedAt?: string | null | undefined;
1917
2025
  };
1918
2026
  relationships?: Record<string, unknown> | undefined;
1919
2027
  links?: Record<string, string> | undefined;
@@ -1966,6 +2074,12 @@ export declare const invoicesRouter: {
1966
2074
  waybillId?: string | null | undefined;
1967
2075
  totalInWords?: string | null | undefined;
1968
2076
  invoiceKind?: "provisional" | "final" | undefined;
2077
+ virtualAccountNumber?: string | null | undefined;
2078
+ virtualAccountBank?: string | null | undefined;
2079
+ eInvoiceIrn?: string | null | undefined;
2080
+ eInvoiceQr?: string | null | undefined;
2081
+ eInvoiceStatus?: string | null | undefined;
2082
+ eInvoiceSubmittedAt?: string | null | undefined;
1969
2083
  };
1970
2084
  relationships?: Record<string, unknown> | undefined;
1971
2085
  links?: Record<string, string> | undefined;
@@ -2044,6 +2158,12 @@ export declare const invoicesRouter: {
2044
2158
  bankAccountId?: string | null | undefined;
2045
2159
  waybillId?: string | null | undefined;
2046
2160
  totalInWords?: string | null | undefined;
2161
+ virtualAccountNumber?: string | null | undefined;
2162
+ virtualAccountBank?: string | null | undefined;
2163
+ eInvoiceIrn?: string | null | undefined;
2164
+ eInvoiceQr?: string | null | undefined;
2165
+ eInvoiceStatus?: string | null | undefined;
2166
+ eInvoiceSubmittedAt?: string | null | undefined;
2047
2167
  };
2048
2168
  relationships?: Record<string, unknown> | undefined;
2049
2169
  links?: Record<string, string> | undefined;
@@ -2108,6 +2228,12 @@ export declare const invoicesRouter: {
2108
2228
  waybillId?: string | null | undefined;
2109
2229
  totalInWords?: string | null | undefined;
2110
2230
  invoiceKind?: "provisional" | "final" | undefined;
2231
+ virtualAccountNumber?: string | null | undefined;
2232
+ virtualAccountBank?: string | null | undefined;
2233
+ eInvoiceIrn?: string | null | undefined;
2234
+ eInvoiceQr?: string | null | undefined;
2235
+ eInvoiceStatus?: string | null | undefined;
2236
+ eInvoiceSubmittedAt?: string | null | undefined;
2111
2237
  };
2112
2238
  relationships?: Record<string, unknown> | undefined;
2113
2239
  links?: Record<string, string> | undefined;
@@ -2656,6 +2782,12 @@ export declare const invoicesRouter: {
2656
2782
  farmId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2657
2783
  commercialIntent: z.ZodNullable<z.ZodOptional<z.ZodEnum<["farm_sale", "trade"]>>>;
2658
2784
  invoiceKind: z.ZodDefault<z.ZodOptional<z.ZodEnum<["provisional", "final"]>>>;
2785
+ virtualAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2786
+ virtualAccountBank: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2787
+ eInvoiceIrn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2788
+ eInvoiceQr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2789
+ eInvoiceStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2790
+ eInvoiceSubmittedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2659
2791
  organizationId: z.ZodString;
2660
2792
  } & {
2661
2793
  createdAt: z.ZodString;
@@ -2705,6 +2837,12 @@ export declare const invoicesRouter: {
2705
2837
  bankAccountId?: string | null | undefined;
2706
2838
  waybillId?: string | null | undefined;
2707
2839
  totalInWords?: string | null | undefined;
2840
+ virtualAccountNumber?: string | null | undefined;
2841
+ virtualAccountBank?: string | null | undefined;
2842
+ eInvoiceIrn?: string | null | undefined;
2843
+ eInvoiceQr?: string | null | undefined;
2844
+ eInvoiceStatus?: string | null | undefined;
2845
+ eInvoiceSubmittedAt?: string | null | undefined;
2708
2846
  }, {
2709
2847
  createdAt: string;
2710
2848
  updatedAt: string;
@@ -2750,6 +2888,12 @@ export declare const invoicesRouter: {
2750
2888
  waybillId?: string | null | undefined;
2751
2889
  totalInWords?: string | null | undefined;
2752
2890
  invoiceKind?: "provisional" | "final" | undefined;
2891
+ virtualAccountNumber?: string | null | undefined;
2892
+ virtualAccountBank?: string | null | undefined;
2893
+ eInvoiceIrn?: string | null | undefined;
2894
+ eInvoiceQr?: string | null | undefined;
2895
+ eInvoiceStatus?: string | null | undefined;
2896
+ eInvoiceSubmittedAt?: string | null | undefined;
2753
2897
  }>;
2754
2898
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2755
2899
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -2802,6 +2946,12 @@ export declare const invoicesRouter: {
2802
2946
  bankAccountId?: string | null | undefined;
2803
2947
  waybillId?: string | null | undefined;
2804
2948
  totalInWords?: string | null | undefined;
2949
+ virtualAccountNumber?: string | null | undefined;
2950
+ virtualAccountBank?: string | null | undefined;
2951
+ eInvoiceIrn?: string | null | undefined;
2952
+ eInvoiceQr?: string | null | undefined;
2953
+ eInvoiceStatus?: string | null | undefined;
2954
+ eInvoiceSubmittedAt?: string | null | undefined;
2805
2955
  };
2806
2956
  relationships?: Record<string, unknown> | undefined;
2807
2957
  links?: Record<string, string> | undefined;
@@ -2854,6 +3004,12 @@ export declare const invoicesRouter: {
2854
3004
  waybillId?: string | null | undefined;
2855
3005
  totalInWords?: string | null | undefined;
2856
3006
  invoiceKind?: "provisional" | "final" | undefined;
3007
+ virtualAccountNumber?: string | null | undefined;
3008
+ virtualAccountBank?: string | null | undefined;
3009
+ eInvoiceIrn?: string | null | undefined;
3010
+ eInvoiceQr?: string | null | undefined;
3011
+ eInvoiceStatus?: string | null | undefined;
3012
+ eInvoiceSubmittedAt?: string | null | undefined;
2857
3013
  };
2858
3014
  relationships?: Record<string, unknown> | undefined;
2859
3015
  links?: Record<string, string> | undefined;
@@ -2932,6 +3088,12 @@ export declare const invoicesRouter: {
2932
3088
  bankAccountId?: string | null | undefined;
2933
3089
  waybillId?: string | null | undefined;
2934
3090
  totalInWords?: string | null | undefined;
3091
+ virtualAccountNumber?: string | null | undefined;
3092
+ virtualAccountBank?: string | null | undefined;
3093
+ eInvoiceIrn?: string | null | undefined;
3094
+ eInvoiceQr?: string | null | undefined;
3095
+ eInvoiceStatus?: string | null | undefined;
3096
+ eInvoiceSubmittedAt?: string | null | undefined;
2935
3097
  };
2936
3098
  relationships?: Record<string, unknown> | undefined;
2937
3099
  links?: Record<string, string> | undefined;
@@ -2996,6 +3158,12 @@ export declare const invoicesRouter: {
2996
3158
  waybillId?: string | null | undefined;
2997
3159
  totalInWords?: string | null | undefined;
2998
3160
  invoiceKind?: "provisional" | "final" | undefined;
3161
+ virtualAccountNumber?: string | null | undefined;
3162
+ virtualAccountBank?: string | null | undefined;
3163
+ eInvoiceIrn?: string | null | undefined;
3164
+ eInvoiceQr?: string | null | undefined;
3165
+ eInvoiceStatus?: string | null | undefined;
3166
+ eInvoiceSubmittedAt?: string | null | undefined;
2999
3167
  };
3000
3168
  relationships?: Record<string, unknown> | undefined;
3001
3169
  links?: Record<string, string> | undefined;
@@ -3455,6 +3623,12 @@ export declare const invoicesRouter: {
3455
3623
  farmId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3456
3624
  commercialIntent: z.ZodNullable<z.ZodOptional<z.ZodEnum<["farm_sale", "trade"]>>>;
3457
3625
  invoiceKind: z.ZodDefault<z.ZodOptional<z.ZodEnum<["provisional", "final"]>>>;
3626
+ virtualAccountNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3627
+ virtualAccountBank: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3628
+ eInvoiceIrn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3629
+ eInvoiceQr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3630
+ eInvoiceStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3631
+ eInvoiceSubmittedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3458
3632
  organizationId: z.ZodString;
3459
3633
  } & {
3460
3634
  createdAt: z.ZodString;
@@ -3504,6 +3678,12 @@ export declare const invoicesRouter: {
3504
3678
  bankAccountId?: string | null | undefined;
3505
3679
  waybillId?: string | null | undefined;
3506
3680
  totalInWords?: string | null | undefined;
3681
+ virtualAccountNumber?: string | null | undefined;
3682
+ virtualAccountBank?: string | null | undefined;
3683
+ eInvoiceIrn?: string | null | undefined;
3684
+ eInvoiceQr?: string | null | undefined;
3685
+ eInvoiceStatus?: string | null | undefined;
3686
+ eInvoiceSubmittedAt?: string | null | undefined;
3507
3687
  }, {
3508
3688
  createdAt: string;
3509
3689
  updatedAt: string;
@@ -3549,6 +3729,12 @@ export declare const invoicesRouter: {
3549
3729
  waybillId?: string | null | undefined;
3550
3730
  totalInWords?: string | null | undefined;
3551
3731
  invoiceKind?: "provisional" | "final" | undefined;
3732
+ virtualAccountNumber?: string | null | undefined;
3733
+ virtualAccountBank?: string | null | undefined;
3734
+ eInvoiceIrn?: string | null | undefined;
3735
+ eInvoiceQr?: string | null | undefined;
3736
+ eInvoiceStatus?: string | null | undefined;
3737
+ eInvoiceSubmittedAt?: string | null | undefined;
3552
3738
  }>;
3553
3739
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3554
3740
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -3601,6 +3787,12 @@ export declare const invoicesRouter: {
3601
3787
  bankAccountId?: string | null | undefined;
3602
3788
  waybillId?: string | null | undefined;
3603
3789
  totalInWords?: string | null | undefined;
3790
+ virtualAccountNumber?: string | null | undefined;
3791
+ virtualAccountBank?: string | null | undefined;
3792
+ eInvoiceIrn?: string | null | undefined;
3793
+ eInvoiceQr?: string | null | undefined;
3794
+ eInvoiceStatus?: string | null | undefined;
3795
+ eInvoiceSubmittedAt?: string | null | undefined;
3604
3796
  };
3605
3797
  relationships?: Record<string, unknown> | undefined;
3606
3798
  links?: Record<string, string> | undefined;
@@ -3653,6 +3845,12 @@ export declare const invoicesRouter: {
3653
3845
  waybillId?: string | null | undefined;
3654
3846
  totalInWords?: string | null | undefined;
3655
3847
  invoiceKind?: "provisional" | "final" | undefined;
3848
+ virtualAccountNumber?: string | null | undefined;
3849
+ virtualAccountBank?: string | null | undefined;
3850
+ eInvoiceIrn?: string | null | undefined;
3851
+ eInvoiceQr?: string | null | undefined;
3852
+ eInvoiceStatus?: string | null | undefined;
3853
+ eInvoiceSubmittedAt?: string | null | undefined;
3656
3854
  };
3657
3855
  relationships?: Record<string, unknown> | undefined;
3658
3856
  links?: Record<string, string> | undefined;
@@ -3731,6 +3929,12 @@ export declare const invoicesRouter: {
3731
3929
  bankAccountId?: string | null | undefined;
3732
3930
  waybillId?: string | null | undefined;
3733
3931
  totalInWords?: string | null | undefined;
3932
+ virtualAccountNumber?: string | null | undefined;
3933
+ virtualAccountBank?: string | null | undefined;
3934
+ eInvoiceIrn?: string | null | undefined;
3935
+ eInvoiceQr?: string | null | undefined;
3936
+ eInvoiceStatus?: string | null | undefined;
3937
+ eInvoiceSubmittedAt?: string | null | undefined;
3734
3938
  };
3735
3939
  relationships?: Record<string, unknown> | undefined;
3736
3940
  links?: Record<string, string> | undefined;
@@ -3795,6 +3999,12 @@ export declare const invoicesRouter: {
3795
3999
  waybillId?: string | null | undefined;
3796
4000
  totalInWords?: string | null | undefined;
3797
4001
  invoiceKind?: "provisional" | "final" | undefined;
4002
+ virtualAccountNumber?: string | null | undefined;
4003
+ virtualAccountBank?: string | null | undefined;
4004
+ eInvoiceIrn?: string | null | undefined;
4005
+ eInvoiceQr?: string | null | undefined;
4006
+ eInvoiceStatus?: string | null | undefined;
4007
+ eInvoiceSubmittedAt?: string | null | undefined;
3798
4008
  };
3799
4009
  relationships?: Record<string, unknown> | undefined;
3800
4010
  links?: Record<string, string> | undefined;