@deepintel-ltd/farmpro-contracts 1.30.0 → 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,717 @@
1
+ import { z } from 'zod';
2
+ /** Provenance attached to every third-party datum (integrations plan §3.1). */
3
+ export declare const provenanceTagSchema: z.ZodObject<{
4
+ provider: z.ZodString;
5
+ retrievedAt: z.ZodString;
6
+ licence: z.ZodString;
7
+ confidence: z.ZodNumber;
8
+ }, "strip", z.ZodTypeAny, {
9
+ confidence: number;
10
+ provider: string;
11
+ retrievedAt: string;
12
+ licence: string;
13
+ }, {
14
+ confidence: number;
15
+ provider: string;
16
+ retrievedAt: string;
17
+ licence: string;
18
+ }>;
19
+ export declare const integrationStatusSchema: z.ZodObject<{
20
+ key: z.ZodString;
21
+ name: z.ZodString;
22
+ category: z.ZodString;
23
+ configured: z.ZodBoolean;
24
+ enabled: z.ZodBoolean;
25
+ worksWithoutKeys: z.ZodOptional<z.ZodBoolean>;
26
+ missingEnv: z.ZodArray<z.ZodString, "many">;
27
+ callsToday: z.ZodNumber;
28
+ licence: z.ZodString;
29
+ workspaces: z.ZodArray<z.ZodString, "many">;
30
+ }, "strip", z.ZodTypeAny, {
31
+ name: string;
32
+ workspaces: string[];
33
+ category: string;
34
+ enabled: boolean;
35
+ licence: string;
36
+ key: string;
37
+ configured: boolean;
38
+ missingEnv: string[];
39
+ callsToday: number;
40
+ worksWithoutKeys?: boolean | undefined;
41
+ }, {
42
+ name: string;
43
+ workspaces: string[];
44
+ category: string;
45
+ enabled: boolean;
46
+ licence: string;
47
+ key: string;
48
+ configured: boolean;
49
+ missingEnv: string[];
50
+ callsToday: number;
51
+ worksWithoutKeys?: boolean | undefined;
52
+ }>;
53
+ export declare const integrationStatusListSchema: z.ZodObject<{
54
+ data: z.ZodArray<z.ZodObject<{
55
+ key: z.ZodString;
56
+ name: z.ZodString;
57
+ category: z.ZodString;
58
+ configured: z.ZodBoolean;
59
+ enabled: z.ZodBoolean;
60
+ worksWithoutKeys: z.ZodOptional<z.ZodBoolean>;
61
+ missingEnv: z.ZodArray<z.ZodString, "many">;
62
+ callsToday: z.ZodNumber;
63
+ licence: z.ZodString;
64
+ workspaces: z.ZodArray<z.ZodString, "many">;
65
+ }, "strip", z.ZodTypeAny, {
66
+ name: string;
67
+ workspaces: string[];
68
+ category: string;
69
+ enabled: boolean;
70
+ licence: string;
71
+ key: string;
72
+ configured: boolean;
73
+ missingEnv: string[];
74
+ callsToday: number;
75
+ worksWithoutKeys?: boolean | undefined;
76
+ }, {
77
+ name: string;
78
+ workspaces: string[];
79
+ category: string;
80
+ enabled: boolean;
81
+ licence: string;
82
+ key: string;
83
+ configured: boolean;
84
+ missingEnv: string[];
85
+ callsToday: number;
86
+ worksWithoutKeys?: boolean | undefined;
87
+ }>, "many">;
88
+ }, "strip", z.ZodTypeAny, {
89
+ data: {
90
+ name: string;
91
+ workspaces: string[];
92
+ category: string;
93
+ enabled: boolean;
94
+ licence: string;
95
+ key: string;
96
+ configured: boolean;
97
+ missingEnv: string[];
98
+ callsToday: number;
99
+ worksWithoutKeys?: boolean | undefined;
100
+ }[];
101
+ }, {
102
+ data: {
103
+ name: string;
104
+ workspaces: string[];
105
+ category: string;
106
+ enabled: boolean;
107
+ licence: string;
108
+ key: string;
109
+ configured: boolean;
110
+ missingEnv: string[];
111
+ callsToday: number;
112
+ worksWithoutKeys?: boolean | undefined;
113
+ }[];
114
+ }>;
115
+ export declare const priceFeedIngestResultSchema: z.ZodObject<{
116
+ data: z.ZodArray<z.ZodObject<{
117
+ source: z.ZodString;
118
+ rows: z.ZodNumber;
119
+ error: z.ZodOptional<z.ZodString>;
120
+ }, "strip", z.ZodTypeAny, {
121
+ source: string;
122
+ rows: number;
123
+ error?: string | undefined;
124
+ }, {
125
+ source: string;
126
+ rows: number;
127
+ error?: string | undefined;
128
+ }>, "many">;
129
+ }, "strip", z.ZodTypeAny, {
130
+ data: {
131
+ source: string;
132
+ rows: number;
133
+ error?: string | undefined;
134
+ }[];
135
+ }, {
136
+ data: {
137
+ source: string;
138
+ rows: number;
139
+ error?: string | undefined;
140
+ }[];
141
+ }>;
142
+ export declare const importProductRegistryBodySchema: z.ZodObject<{
143
+ /** CSV with header: kind,country,product_name,active_ingredients,registration_number,registrant,formulation,status,crops,species,label_rate,pre_harvest_days,withdrawal_days,ppe,source,source_url,verified_at */
144
+ csv: z.ZodString;
145
+ }, "strip", z.ZodTypeAny, {
146
+ csv: string;
147
+ }, {
148
+ csv: string;
149
+ }>;
150
+ export declare const importProductRegistryResultSchema: z.ZodObject<{
151
+ data: z.ZodObject<{
152
+ upserted: z.ZodNumber;
153
+ skipped: z.ZodArray<z.ZodObject<{
154
+ row: z.ZodNumber;
155
+ reason: z.ZodString;
156
+ }, "strip", z.ZodTypeAny, {
157
+ reason: string;
158
+ row: number;
159
+ }, {
160
+ reason: string;
161
+ row: number;
162
+ }>, "many">;
163
+ }, "strip", z.ZodTypeAny, {
164
+ skipped: {
165
+ reason: string;
166
+ row: number;
167
+ }[];
168
+ upserted: number;
169
+ }, {
170
+ skipped: {
171
+ reason: string;
172
+ row: number;
173
+ }[];
174
+ upserted: number;
175
+ }>;
176
+ }, "strip", z.ZodTypeAny, {
177
+ data: {
178
+ skipped: {
179
+ reason: string;
180
+ row: number;
181
+ }[];
182
+ upserted: number;
183
+ };
184
+ }, {
185
+ data: {
186
+ skipped: {
187
+ reason: string;
188
+ row: number;
189
+ }[];
190
+ upserted: number;
191
+ };
192
+ }>;
193
+ export declare const outbreakSpeciesSchema: z.ZodEnum<["poultry", "cattle", "goat", "sheep", "pig", "fish", "crops"]>;
194
+ export declare const createOutbreakBodySchema: z.ZodObject<{
195
+ externalId: z.ZodString;
196
+ source: z.ZodOptional<z.ZodString>;
197
+ disease: z.ZodString;
198
+ species: z.ZodArray<z.ZodEnum<["poultry", "cattle", "goat", "sheep", "pig", "fish", "crops"]>, "many">;
199
+ country: z.ZodOptional<z.ZodString>;
200
+ admin1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
201
+ admin2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
202
+ latitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
203
+ longitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
204
+ status: z.ZodOptional<z.ZodEnum<["suspected", "confirmed", "resolved"]>>;
205
+ reportedAt: z.ZodString;
206
+ startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
207
+ cases: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
208
+ deaths: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
209
+ summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
210
+ sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
211
+ }, "strip", z.ZodTypeAny, {
212
+ disease: string;
213
+ externalId: string;
214
+ species: ("crops" | "poultry" | "cattle" | "goat" | "sheep" | "pig" | "fish")[];
215
+ reportedAt: string;
216
+ status?: "resolved" | "confirmed" | "suspected" | undefined;
217
+ source?: string | undefined;
218
+ summary?: string | null | undefined;
219
+ startedAt?: string | null | undefined;
220
+ latitude?: number | null | undefined;
221
+ longitude?: number | null | undefined;
222
+ country?: string | undefined;
223
+ admin1?: string | null | undefined;
224
+ admin2?: string | null | undefined;
225
+ cases?: number | null | undefined;
226
+ deaths?: number | null | undefined;
227
+ sourceUrl?: string | null | undefined;
228
+ }, {
229
+ disease: string;
230
+ externalId: string;
231
+ species: ("crops" | "poultry" | "cattle" | "goat" | "sheep" | "pig" | "fish")[];
232
+ reportedAt: string;
233
+ status?: "resolved" | "confirmed" | "suspected" | undefined;
234
+ source?: string | undefined;
235
+ summary?: string | null | undefined;
236
+ startedAt?: string | null | undefined;
237
+ latitude?: number | null | undefined;
238
+ longitude?: number | null | undefined;
239
+ country?: string | undefined;
240
+ admin1?: string | null | undefined;
241
+ admin2?: string | null | undefined;
242
+ cases?: number | null | undefined;
243
+ deaths?: number | null | undefined;
244
+ sourceUrl?: string | null | undefined;
245
+ }>;
246
+ export declare const outbreakEventSchema: z.ZodObject<{
247
+ id: z.ZodString;
248
+ source: z.ZodString;
249
+ disease: z.ZodString;
250
+ diseaseKey: z.ZodString;
251
+ species: z.ZodArray<z.ZodString, "many">;
252
+ admin1: z.ZodNullable<z.ZodString>;
253
+ admin2: z.ZodNullable<z.ZodString>;
254
+ status: z.ZodString;
255
+ notifiable: z.ZodBoolean;
256
+ reportedAt: z.ZodString;
257
+ cases: z.ZodNullable<z.ZodNumber>;
258
+ deaths: z.ZodNullable<z.ZodNumber>;
259
+ summary: z.ZodNullable<z.ZodString>;
260
+ sourceUrl: z.ZodNullable<z.ZodString>;
261
+ guidance: z.ZodArray<z.ZodString, "many">;
262
+ }, "strip", z.ZodTypeAny, {
263
+ status: string;
264
+ id: string;
265
+ source: string;
266
+ summary: string | null;
267
+ disease: string;
268
+ species: string[];
269
+ admin1: string | null;
270
+ admin2: string | null;
271
+ reportedAt: string;
272
+ cases: number | null;
273
+ deaths: number | null;
274
+ sourceUrl: string | null;
275
+ diseaseKey: string;
276
+ notifiable: boolean;
277
+ guidance: string[];
278
+ }, {
279
+ status: string;
280
+ id: string;
281
+ source: string;
282
+ summary: string | null;
283
+ disease: string;
284
+ species: string[];
285
+ admin1: string | null;
286
+ admin2: string | null;
287
+ reportedAt: string;
288
+ cases: number | null;
289
+ deaths: number | null;
290
+ sourceUrl: string | null;
291
+ diseaseKey: string;
292
+ notifiable: boolean;
293
+ guidance: string[];
294
+ }>;
295
+ export declare const outbreakListSchema: z.ZodObject<{
296
+ data: z.ZodArray<z.ZodObject<{
297
+ id: z.ZodString;
298
+ source: z.ZodString;
299
+ disease: z.ZodString;
300
+ diseaseKey: z.ZodString;
301
+ species: z.ZodArray<z.ZodString, "many">;
302
+ admin1: z.ZodNullable<z.ZodString>;
303
+ admin2: z.ZodNullable<z.ZodString>;
304
+ status: z.ZodString;
305
+ notifiable: z.ZodBoolean;
306
+ reportedAt: z.ZodString;
307
+ cases: z.ZodNullable<z.ZodNumber>;
308
+ deaths: z.ZodNullable<z.ZodNumber>;
309
+ summary: z.ZodNullable<z.ZodString>;
310
+ sourceUrl: z.ZodNullable<z.ZodString>;
311
+ guidance: z.ZodArray<z.ZodString, "many">;
312
+ }, "strip", z.ZodTypeAny, {
313
+ status: string;
314
+ id: string;
315
+ source: string;
316
+ summary: string | null;
317
+ disease: string;
318
+ species: string[];
319
+ admin1: string | null;
320
+ admin2: string | null;
321
+ reportedAt: string;
322
+ cases: number | null;
323
+ deaths: number | null;
324
+ sourceUrl: string | null;
325
+ diseaseKey: string;
326
+ notifiable: boolean;
327
+ guidance: string[];
328
+ }, {
329
+ status: string;
330
+ id: string;
331
+ source: string;
332
+ summary: string | null;
333
+ disease: string;
334
+ species: string[];
335
+ admin1: string | null;
336
+ admin2: string | null;
337
+ reportedAt: string;
338
+ cases: number | null;
339
+ deaths: number | null;
340
+ sourceUrl: string | null;
341
+ diseaseKey: string;
342
+ notifiable: boolean;
343
+ guidance: string[];
344
+ }>, "many">;
345
+ }, "strip", z.ZodTypeAny, {
346
+ data: {
347
+ status: string;
348
+ id: string;
349
+ source: string;
350
+ summary: string | null;
351
+ disease: string;
352
+ species: string[];
353
+ admin1: string | null;
354
+ admin2: string | null;
355
+ reportedAt: string;
356
+ cases: number | null;
357
+ deaths: number | null;
358
+ sourceUrl: string | null;
359
+ diseaseKey: string;
360
+ notifiable: boolean;
361
+ guidance: string[];
362
+ }[];
363
+ }, {
364
+ data: {
365
+ status: string;
366
+ id: string;
367
+ source: string;
368
+ summary: string | null;
369
+ disease: string;
370
+ species: string[];
371
+ admin1: string | null;
372
+ admin2: string | null;
373
+ reportedAt: string;
374
+ cases: number | null;
375
+ deaths: number | null;
376
+ sourceUrl: string | null;
377
+ diseaseKey: string;
378
+ notifiable: boolean;
379
+ guidance: string[];
380
+ }[];
381
+ }>;
382
+ export declare const voiceLanguageSchema: z.ZodEnum<["en", "yo", "ha", "ig", "pcm"]>;
383
+ export declare const transcribeVoiceBodySchema: z.ZodObject<{
384
+ /** Audio file (multipart field `audio`): ogg, m4a, mp3, wav — max 25 MB. */
385
+ audio: z.ZodOptional<z.ZodUnknown>;
386
+ language: z.ZodOptional<z.ZodEnum<["en", "yo", "ha", "ig", "pcm"]>>;
387
+ }, "strip", z.ZodTypeAny, {
388
+ language?: "en" | "yo" | "ha" | "ig" | "pcm" | undefined;
389
+ audio?: unknown;
390
+ }, {
391
+ language?: "en" | "yo" | "ha" | "ig" | "pcm" | undefined;
392
+ audio?: unknown;
393
+ }>;
394
+ export declare const transcriptResponseSchema: z.ZodObject<{
395
+ data: z.ZodObject<{
396
+ text: z.ZodString;
397
+ language: z.ZodNullable<z.ZodEnum<["en", "yo", "ha", "ig", "pcm"]>>;
398
+ }, "strip", z.ZodTypeAny, {
399
+ language: "en" | "yo" | "ha" | "ig" | "pcm" | null;
400
+ text: string;
401
+ }, {
402
+ language: "en" | "yo" | "ha" | "ig" | "pcm" | null;
403
+ text: string;
404
+ }>;
405
+ provenance: z.ZodObject<{
406
+ provider: z.ZodString;
407
+ retrievedAt: z.ZodString;
408
+ licence: z.ZodString;
409
+ confidence: z.ZodNumber;
410
+ }, "strip", z.ZodTypeAny, {
411
+ confidence: number;
412
+ provider: string;
413
+ retrievedAt: string;
414
+ licence: string;
415
+ }, {
416
+ confidence: number;
417
+ provider: string;
418
+ retrievedAt: string;
419
+ licence: string;
420
+ }>;
421
+ }, "strip", z.ZodTypeAny, {
422
+ data: {
423
+ language: "en" | "yo" | "ha" | "ig" | "pcm" | null;
424
+ text: string;
425
+ };
426
+ provenance: {
427
+ confidence: number;
428
+ provider: string;
429
+ retrievedAt: string;
430
+ licence: string;
431
+ };
432
+ }, {
433
+ data: {
434
+ language: "en" | "yo" | "ha" | "ig" | "pcm" | null;
435
+ text: string;
436
+ };
437
+ provenance: {
438
+ confidence: number;
439
+ provider: string;
440
+ retrievedAt: string;
441
+ licence: string;
442
+ };
443
+ }>;
444
+ export declare const speakBodySchema: z.ZodObject<{
445
+ text: z.ZodString;
446
+ language: z.ZodEnum<["en", "yo", "ha", "ig", "pcm"]>;
447
+ }, "strip", z.ZodTypeAny, {
448
+ language: "en" | "yo" | "ha" | "ig" | "pcm";
449
+ text: string;
450
+ }, {
451
+ language: "en" | "yo" | "ha" | "ig" | "pcm";
452
+ text: string;
453
+ }>;
454
+ export declare const speakResponseSchema: z.ZodObject<{
455
+ data: z.ZodObject<{
456
+ audioBase64: z.ZodString;
457
+ contentType: z.ZodString;
458
+ }, "strip", z.ZodTypeAny, {
459
+ contentType: string;
460
+ audioBase64: string;
461
+ }, {
462
+ contentType: string;
463
+ audioBase64: string;
464
+ }>;
465
+ }, "strip", z.ZodTypeAny, {
466
+ data: {
467
+ contentType: string;
468
+ audioBase64: string;
469
+ };
470
+ }, {
471
+ data: {
472
+ contentType: string;
473
+ audioBase64: string;
474
+ };
475
+ }>;
476
+ export declare const startBankLinkBodySchema: z.ZodObject<{
477
+ /** NDPA: the owner explicitly agreed to share bank transactions with FarmPro. */
478
+ consent: z.ZodLiteral<true>;
479
+ /** Where Mono sends the user after linking (app deep link or web page). */
480
+ redirectUrl: z.ZodOptional<z.ZodString>;
481
+ }, "strip", z.ZodTypeAny, {
482
+ consent: true;
483
+ redirectUrl?: string | undefined;
484
+ }, {
485
+ consent: true;
486
+ redirectUrl?: string | undefined;
487
+ }>;
488
+ export declare const linkBankBodySchema: z.ZodObject<{
489
+ code: z.ZodString;
490
+ }, "strip", z.ZodTypeAny, {
491
+ code: string;
492
+ }, {
493
+ code: string;
494
+ }>;
495
+ export declare const bankLineSchema: z.ZodObject<{
496
+ id: z.ZodString;
497
+ transactionDate: z.ZodString;
498
+ description: z.ZodString;
499
+ amount: z.ZodNumber;
500
+ suggestedWorkspace: z.ZodNullable<z.ZodString>;
501
+ suggestedCategory: z.ZodNullable<z.ZodString>;
502
+ suggestionConfidence: z.ZodNullable<z.ZodNumber>;
503
+ suggestionReason: z.ZodNullable<z.ZodString>;
504
+ reviewStatus: z.ZodString;
505
+ }, "strip", z.ZodTypeAny, {
506
+ id: string;
507
+ description: string;
508
+ amount: number;
509
+ suggestedCategory: string | null;
510
+ transactionDate: string;
511
+ suggestedWorkspace: string | null;
512
+ suggestionConfidence: number | null;
513
+ suggestionReason: string | null;
514
+ reviewStatus: string;
515
+ }, {
516
+ id: string;
517
+ description: string;
518
+ amount: number;
519
+ suggestedCategory: string | null;
520
+ transactionDate: string;
521
+ suggestedWorkspace: string | null;
522
+ suggestionConfidence: number | null;
523
+ suggestionReason: string | null;
524
+ reviewStatus: string;
525
+ }>;
526
+ export declare const bankLineListSchema: z.ZodObject<{
527
+ data: z.ZodArray<z.ZodObject<{
528
+ id: z.ZodString;
529
+ transactionDate: z.ZodString;
530
+ description: z.ZodString;
531
+ amount: z.ZodNumber;
532
+ suggestedWorkspace: z.ZodNullable<z.ZodString>;
533
+ suggestedCategory: z.ZodNullable<z.ZodString>;
534
+ suggestionConfidence: z.ZodNullable<z.ZodNumber>;
535
+ suggestionReason: z.ZodNullable<z.ZodString>;
536
+ reviewStatus: z.ZodString;
537
+ }, "strip", z.ZodTypeAny, {
538
+ id: string;
539
+ description: string;
540
+ amount: number;
541
+ suggestedCategory: string | null;
542
+ transactionDate: string;
543
+ suggestedWorkspace: string | null;
544
+ suggestionConfidence: number | null;
545
+ suggestionReason: string | null;
546
+ reviewStatus: string;
547
+ }, {
548
+ id: string;
549
+ description: string;
550
+ amount: number;
551
+ suggestedCategory: string | null;
552
+ transactionDate: string;
553
+ suggestedWorkspace: string | null;
554
+ suggestionConfidence: number | null;
555
+ suggestionReason: string | null;
556
+ reviewStatus: string;
557
+ }>, "many">;
558
+ }, "strip", z.ZodTypeAny, {
559
+ data: {
560
+ id: string;
561
+ description: string;
562
+ amount: number;
563
+ suggestedCategory: string | null;
564
+ transactionDate: string;
565
+ suggestedWorkspace: string | null;
566
+ suggestionConfidence: number | null;
567
+ suggestionReason: string | null;
568
+ reviewStatus: string;
569
+ }[];
570
+ }, {
571
+ data: {
572
+ id: string;
573
+ description: string;
574
+ amount: number;
575
+ suggestedCategory: string | null;
576
+ transactionDate: string;
577
+ suggestedWorkspace: string | null;
578
+ suggestionConfidence: number | null;
579
+ suggestionReason: string | null;
580
+ reviewStatus: string;
581
+ }[];
582
+ }>;
583
+ export declare const cropConditionSchema: z.ZodObject<{
584
+ data: z.ZodObject<{
585
+ fieldId: z.ZodString;
586
+ mode: z.ZodEnum<["ndvi", "sar"]>;
587
+ capturedAt: z.ZodString;
588
+ ndvi: z.ZodOptional<z.ZodNumber>;
589
+ vv: z.ZodOptional<z.ZodNumber>;
590
+ vh: z.ZodOptional<z.ZodNumber>;
591
+ ratio: z.ZodOptional<z.ZodNumber>;
592
+ previousRatio: z.ZodOptional<z.ZodNumber>;
593
+ ratioChangePercent: z.ZodOptional<z.ZodNumber>;
594
+ note: z.ZodString;
595
+ }, "strip", z.ZodTypeAny, {
596
+ fieldId: string;
597
+ note: string;
598
+ capturedAt: string;
599
+ mode: "ndvi" | "sar";
600
+ ndvi?: number | undefined;
601
+ vv?: number | undefined;
602
+ vh?: number | undefined;
603
+ ratio?: number | undefined;
604
+ previousRatio?: number | undefined;
605
+ ratioChangePercent?: number | undefined;
606
+ }, {
607
+ fieldId: string;
608
+ note: string;
609
+ capturedAt: string;
610
+ mode: "ndvi" | "sar";
611
+ ndvi?: number | undefined;
612
+ vv?: number | undefined;
613
+ vh?: number | undefined;
614
+ ratio?: number | undefined;
615
+ previousRatio?: number | undefined;
616
+ ratioChangePercent?: number | undefined;
617
+ }>;
618
+ provenance: z.ZodObject<{
619
+ provider: z.ZodString;
620
+ retrievedAt: z.ZodString;
621
+ licence: z.ZodString;
622
+ confidence: z.ZodNumber;
623
+ }, "strip", z.ZodTypeAny, {
624
+ confidence: number;
625
+ provider: string;
626
+ retrievedAt: string;
627
+ licence: string;
628
+ }, {
629
+ confidence: number;
630
+ provider: string;
631
+ retrievedAt: string;
632
+ licence: string;
633
+ }>;
634
+ }, "strip", z.ZodTypeAny, {
635
+ data: {
636
+ fieldId: string;
637
+ note: string;
638
+ capturedAt: string;
639
+ mode: "ndvi" | "sar";
640
+ ndvi?: number | undefined;
641
+ vv?: number | undefined;
642
+ vh?: number | undefined;
643
+ ratio?: number | undefined;
644
+ previousRatio?: number | undefined;
645
+ ratioChangePercent?: number | undefined;
646
+ };
647
+ provenance: {
648
+ confidence: number;
649
+ provider: string;
650
+ retrievedAt: string;
651
+ licence: string;
652
+ };
653
+ }, {
654
+ data: {
655
+ fieldId: string;
656
+ note: string;
657
+ capturedAt: string;
658
+ mode: "ndvi" | "sar";
659
+ ndvi?: number | undefined;
660
+ vv?: number | undefined;
661
+ vh?: number | undefined;
662
+ ratio?: number | undefined;
663
+ previousRatio?: number | undefined;
664
+ ratioChangePercent?: number | undefined;
665
+ };
666
+ provenance: {
667
+ confidence: number;
668
+ provider: string;
669
+ retrievedAt: string;
670
+ licence: string;
671
+ };
672
+ }>;
673
+ export declare const eInvoiceSubmitBodySchema: z.ZodObject<{
674
+ invoiceId: z.ZodString;
675
+ }, "strip", z.ZodTypeAny, {
676
+ invoiceId: string;
677
+ }, {
678
+ invoiceId: string;
679
+ }>;
680
+ export declare const eInvoiceResultSchema: z.ZodObject<{
681
+ data: z.ZodObject<{
682
+ irn: z.ZodString;
683
+ qr: z.ZodString;
684
+ status: z.ZodString;
685
+ }, "strip", z.ZodTypeAny, {
686
+ status: string;
687
+ irn: string;
688
+ qr: string;
689
+ }, {
690
+ status: string;
691
+ irn: string;
692
+ qr: string;
693
+ }>;
694
+ }, "strip", z.ZodTypeAny, {
695
+ data: {
696
+ status: string;
697
+ irn: string;
698
+ qr: string;
699
+ };
700
+ }, {
701
+ data: {
702
+ status: string;
703
+ irn: string;
704
+ qr: string;
705
+ };
706
+ }>;
707
+ export declare const importNimetBodySchema: z.ZodObject<{
708
+ csv: z.ZodString;
709
+ }, "strip", z.ZodTypeAny, {
710
+ csv: string;
711
+ }, {
712
+ csv: string;
713
+ }>;
714
+ export type VoiceLanguage = z.infer<typeof voiceLanguageSchema>;
715
+ export type ProvenanceTag = z.infer<typeof provenanceTagSchema>;
716
+ export type IntegrationStatus = z.infer<typeof integrationStatusSchema>;
717
+ //# sourceMappingURL=integrations.schemas.d.ts.map