@deepintel-ltd/farmpro-contracts 1.5.24 → 1.5.25

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.
@@ -78,6 +78,7 @@ export declare const waybillAttributesSchema: z.ZodObject<{
78
78
  createdAt: string;
79
79
  updatedAt: string;
80
80
  currency: string;
81
+ organizationId: string;
81
82
  items: {
82
83
  description: string;
83
84
  unit: string;
@@ -86,7 +87,6 @@ export declare const waybillAttributesSchema: z.ZodObject<{
86
87
  weight?: number | undefined;
87
88
  itemNumber?: number | undefined;
88
89
  }[];
89
- organizationId: string;
90
90
  waybillNumber: string;
91
91
  issueDate: string;
92
92
  senderName: string;
@@ -112,6 +112,7 @@ export declare const waybillAttributesSchema: z.ZodObject<{
112
112
  }, {
113
113
  createdAt: string;
114
114
  updatedAt: string;
115
+ organizationId: string;
115
116
  items: {
116
117
  description: string;
117
118
  unit: string;
@@ -120,7 +121,6 @@ export declare const waybillAttributesSchema: z.ZodObject<{
120
121
  weight?: number | undefined;
121
122
  itemNumber?: number | undefined;
122
123
  }[];
123
- organizationId: string;
124
124
  waybillNumber: string;
125
125
  issueDate: string;
126
126
  senderName: string;
@@ -151,10 +151,7 @@ export declare const createWaybillAttributesSchema: z.ZodObject<{
151
151
  senderAddress: z.ZodOptional<z.ZodString>;
152
152
  senderPhone: z.ZodOptional<z.ZodString>;
153
153
  senderEmail: z.ZodOptional<z.ZodString>;
154
- recipientName: z.ZodString;
155
- recipientAddress: z.ZodOptional<z.ZodString>;
156
- recipientPhone: z.ZodOptional<z.ZodString>;
157
- recipientEmail: z.ZodOptional<z.ZodString>;
154
+ buyerId: z.ZodString;
158
155
  items: z.ZodArray<z.ZodObject<{
159
156
  description: z.ZodString;
160
157
  quantity: z.ZodNumber;
@@ -200,16 +197,13 @@ export declare const createWaybillAttributesSchema: z.ZodObject<{
200
197
  itemNumber?: number | undefined;
201
198
  }[];
202
199
  senderName: string;
203
- recipientName: string;
200
+ buyerId: string;
204
201
  notes?: string | undefined;
205
202
  totalValue?: number | undefined;
206
203
  issueDate?: string | undefined;
207
204
  senderAddress?: string | undefined;
208
205
  senderPhone?: string | undefined;
209
206
  senderEmail?: string | undefined;
210
- recipientAddress?: string | undefined;
211
- recipientPhone?: string | undefined;
212
- recipientEmail?: string | undefined;
213
207
  totalWeight?: number | undefined;
214
208
  truckNumber?: string | undefined;
215
209
  truckPlateNumber?: string | undefined;
@@ -229,7 +223,7 @@ export declare const createWaybillAttributesSchema: z.ZodObject<{
229
223
  itemNumber?: number | undefined;
230
224
  }[];
231
225
  senderName: string;
232
- recipientName: string;
226
+ buyerId: string;
233
227
  currency?: string | undefined;
234
228
  notes?: string | undefined;
235
229
  totalValue?: number | undefined;
@@ -237,9 +231,6 @@ export declare const createWaybillAttributesSchema: z.ZodObject<{
237
231
  senderAddress?: string | undefined;
238
232
  senderPhone?: string | undefined;
239
233
  senderEmail?: string | undefined;
240
- recipientAddress?: string | undefined;
241
- recipientPhone?: string | undefined;
242
- recipientEmail?: string | undefined;
243
234
  totalWeight?: number | undefined;
244
235
  truckNumber?: string | undefined;
245
236
  truckPlateNumber?: string | undefined;
@@ -256,10 +247,7 @@ export declare const updateWaybillAttributesSchema: z.ZodObject<{
256
247
  senderAddress: z.ZodOptional<z.ZodOptional<z.ZodString>>;
257
248
  senderPhone: z.ZodOptional<z.ZodOptional<z.ZodString>>;
258
249
  senderEmail: z.ZodOptional<z.ZodOptional<z.ZodString>>;
259
- recipientName: z.ZodOptional<z.ZodString>;
260
- recipientAddress: z.ZodOptional<z.ZodOptional<z.ZodString>>;
261
- recipientPhone: z.ZodOptional<z.ZodOptional<z.ZodString>>;
262
- recipientEmail: z.ZodOptional<z.ZodOptional<z.ZodString>>;
250
+ buyerId: z.ZodOptional<z.ZodString>;
263
251
  items: z.ZodOptional<z.ZodArray<z.ZodObject<{
264
252
  description: z.ZodString;
265
253
  quantity: z.ZodNumber;
@@ -311,10 +299,6 @@ export declare const updateWaybillAttributesSchema: z.ZodObject<{
311
299
  senderAddress?: string | undefined;
312
300
  senderPhone?: string | undefined;
313
301
  senderEmail?: string | undefined;
314
- recipientName?: string | undefined;
315
- recipientAddress?: string | undefined;
316
- recipientPhone?: string | undefined;
317
- recipientEmail?: string | undefined;
318
302
  totalWeight?: number | undefined;
319
303
  truckNumber?: string | undefined;
320
304
  truckPlateNumber?: string | undefined;
@@ -324,6 +308,7 @@ export declare const updateWaybillAttributesSchema: z.ZodObject<{
324
308
  transporterName?: string | undefined;
325
309
  dispatchedLocation?: string | undefined;
326
310
  receivedCondition?: string | undefined;
311
+ buyerId?: string | undefined;
327
312
  }, {
328
313
  currency?: string | undefined;
329
314
  notes?: string | undefined;
@@ -341,10 +326,6 @@ export declare const updateWaybillAttributesSchema: z.ZodObject<{
341
326
  senderAddress?: string | undefined;
342
327
  senderPhone?: string | undefined;
343
328
  senderEmail?: string | undefined;
344
- recipientName?: string | undefined;
345
- recipientAddress?: string | undefined;
346
- recipientPhone?: string | undefined;
347
- recipientEmail?: string | undefined;
348
329
  totalWeight?: number | undefined;
349
330
  truckNumber?: string | undefined;
350
331
  truckPlateNumber?: string | undefined;
@@ -354,6 +335,7 @@ export declare const updateWaybillAttributesSchema: z.ZodObject<{
354
335
  transporterName?: string | undefined;
355
336
  dispatchedLocation?: string | undefined;
356
337
  receivedCondition?: string | undefined;
338
+ buyerId?: string | undefined;
357
339
  }>;
358
340
  export declare const createWaybillSchema: z.ZodObject<{
359
341
  type: z.ZodLiteral<"waybills">;
@@ -363,10 +345,7 @@ export declare const createWaybillSchema: z.ZodObject<{
363
345
  senderAddress: z.ZodOptional<z.ZodString>;
364
346
  senderPhone: z.ZodOptional<z.ZodString>;
365
347
  senderEmail: z.ZodOptional<z.ZodString>;
366
- recipientName: z.ZodString;
367
- recipientAddress: z.ZodOptional<z.ZodString>;
368
- recipientPhone: z.ZodOptional<z.ZodString>;
369
- recipientEmail: z.ZodOptional<z.ZodString>;
348
+ buyerId: z.ZodString;
370
349
  items: z.ZodArray<z.ZodObject<{
371
350
  description: z.ZodString;
372
351
  quantity: z.ZodNumber;
@@ -412,16 +391,13 @@ export declare const createWaybillSchema: z.ZodObject<{
412
391
  itemNumber?: number | undefined;
413
392
  }[];
414
393
  senderName: string;
415
- recipientName: string;
394
+ buyerId: string;
416
395
  notes?: string | undefined;
417
396
  totalValue?: number | undefined;
418
397
  issueDate?: string | undefined;
419
398
  senderAddress?: string | undefined;
420
399
  senderPhone?: string | undefined;
421
400
  senderEmail?: string | undefined;
422
- recipientAddress?: string | undefined;
423
- recipientPhone?: string | undefined;
424
- recipientEmail?: string | undefined;
425
401
  totalWeight?: number | undefined;
426
402
  truckNumber?: string | undefined;
427
403
  truckPlateNumber?: string | undefined;
@@ -441,7 +417,7 @@ export declare const createWaybillSchema: z.ZodObject<{
441
417
  itemNumber?: number | undefined;
442
418
  }[];
443
419
  senderName: string;
444
- recipientName: string;
420
+ buyerId: string;
445
421
  currency?: string | undefined;
446
422
  notes?: string | undefined;
447
423
  totalValue?: number | undefined;
@@ -449,9 +425,6 @@ export declare const createWaybillSchema: z.ZodObject<{
449
425
  senderAddress?: string | undefined;
450
426
  senderPhone?: string | undefined;
451
427
  senderEmail?: string | undefined;
452
- recipientAddress?: string | undefined;
453
- recipientPhone?: string | undefined;
454
- recipientEmail?: string | undefined;
455
428
  totalWeight?: number | undefined;
456
429
  truckNumber?: string | undefined;
457
430
  truckPlateNumber?: string | undefined;
@@ -475,16 +448,13 @@ export declare const createWaybillSchema: z.ZodObject<{
475
448
  itemNumber?: number | undefined;
476
449
  }[];
477
450
  senderName: string;
478
- recipientName: string;
451
+ buyerId: string;
479
452
  notes?: string | undefined;
480
453
  totalValue?: number | undefined;
481
454
  issueDate?: string | undefined;
482
455
  senderAddress?: string | undefined;
483
456
  senderPhone?: string | undefined;
484
457
  senderEmail?: string | undefined;
485
- recipientAddress?: string | undefined;
486
- recipientPhone?: string | undefined;
487
- recipientEmail?: string | undefined;
488
458
  totalWeight?: number | undefined;
489
459
  truckNumber?: string | undefined;
490
460
  truckPlateNumber?: string | undefined;
@@ -507,7 +477,7 @@ export declare const createWaybillSchema: z.ZodObject<{
507
477
  itemNumber?: number | undefined;
508
478
  }[];
509
479
  senderName: string;
510
- recipientName: string;
480
+ buyerId: string;
511
481
  currency?: string | undefined;
512
482
  notes?: string | undefined;
513
483
  totalValue?: number | undefined;
@@ -515,9 +485,6 @@ export declare const createWaybillSchema: z.ZodObject<{
515
485
  senderAddress?: string | undefined;
516
486
  senderPhone?: string | undefined;
517
487
  senderEmail?: string | undefined;
518
- recipientAddress?: string | undefined;
519
- recipientPhone?: string | undefined;
520
- recipientEmail?: string | undefined;
521
488
  totalWeight?: number | undefined;
522
489
  truckNumber?: string | undefined;
523
490
  truckPlateNumber?: string | undefined;
@@ -538,10 +505,7 @@ export declare const updateWaybillSchema: z.ZodObject<{
538
505
  senderAddress: z.ZodOptional<z.ZodOptional<z.ZodString>>;
539
506
  senderPhone: z.ZodOptional<z.ZodOptional<z.ZodString>>;
540
507
  senderEmail: z.ZodOptional<z.ZodOptional<z.ZodString>>;
541
- recipientName: z.ZodOptional<z.ZodString>;
542
- recipientAddress: z.ZodOptional<z.ZodOptional<z.ZodString>>;
543
- recipientPhone: z.ZodOptional<z.ZodOptional<z.ZodString>>;
544
- recipientEmail: z.ZodOptional<z.ZodOptional<z.ZodString>>;
508
+ buyerId: z.ZodOptional<z.ZodString>;
545
509
  items: z.ZodOptional<z.ZodArray<z.ZodObject<{
546
510
  description: z.ZodString;
547
511
  quantity: z.ZodNumber;
@@ -593,10 +557,6 @@ export declare const updateWaybillSchema: z.ZodObject<{
593
557
  senderAddress?: string | undefined;
594
558
  senderPhone?: string | undefined;
595
559
  senderEmail?: string | undefined;
596
- recipientName?: string | undefined;
597
- recipientAddress?: string | undefined;
598
- recipientPhone?: string | undefined;
599
- recipientEmail?: string | undefined;
600
560
  totalWeight?: number | undefined;
601
561
  truckNumber?: string | undefined;
602
562
  truckPlateNumber?: string | undefined;
@@ -606,6 +566,7 @@ export declare const updateWaybillSchema: z.ZodObject<{
606
566
  transporterName?: string | undefined;
607
567
  dispatchedLocation?: string | undefined;
608
568
  receivedCondition?: string | undefined;
569
+ buyerId?: string | undefined;
609
570
  }, {
610
571
  currency?: string | undefined;
611
572
  notes?: string | undefined;
@@ -623,10 +584,6 @@ export declare const updateWaybillSchema: z.ZodObject<{
623
584
  senderAddress?: string | undefined;
624
585
  senderPhone?: string | undefined;
625
586
  senderEmail?: string | undefined;
626
- recipientName?: string | undefined;
627
- recipientAddress?: string | undefined;
628
- recipientPhone?: string | undefined;
629
- recipientEmail?: string | undefined;
630
587
  totalWeight?: number | undefined;
631
588
  truckNumber?: string | undefined;
632
589
  truckPlateNumber?: string | undefined;
@@ -636,6 +593,7 @@ export declare const updateWaybillSchema: z.ZodObject<{
636
593
  transporterName?: string | undefined;
637
594
  dispatchedLocation?: string | undefined;
638
595
  receivedCondition?: string | undefined;
596
+ buyerId?: string | undefined;
639
597
  }>;
640
598
  }, "strip", z.ZodTypeAny, {
641
599
  type: "waybills";
@@ -657,10 +615,6 @@ export declare const updateWaybillSchema: z.ZodObject<{
657
615
  senderAddress?: string | undefined;
658
616
  senderPhone?: string | undefined;
659
617
  senderEmail?: string | undefined;
660
- recipientName?: string | undefined;
661
- recipientAddress?: string | undefined;
662
- recipientPhone?: string | undefined;
663
- recipientEmail?: string | undefined;
664
618
  totalWeight?: number | undefined;
665
619
  truckNumber?: string | undefined;
666
620
  truckPlateNumber?: string | undefined;
@@ -670,6 +624,7 @@ export declare const updateWaybillSchema: z.ZodObject<{
670
624
  transporterName?: string | undefined;
671
625
  dispatchedLocation?: string | undefined;
672
626
  receivedCondition?: string | undefined;
627
+ buyerId?: string | undefined;
673
628
  };
674
629
  }, {
675
630
  type: "waybills";
@@ -691,10 +646,6 @@ export declare const updateWaybillSchema: z.ZodObject<{
691
646
  senderAddress?: string | undefined;
692
647
  senderPhone?: string | undefined;
693
648
  senderEmail?: string | undefined;
694
- recipientName?: string | undefined;
695
- recipientAddress?: string | undefined;
696
- recipientPhone?: string | undefined;
697
- recipientEmail?: string | undefined;
698
649
  totalWeight?: number | undefined;
699
650
  truckNumber?: string | undefined;
700
651
  truckPlateNumber?: string | undefined;
@@ -704,6 +655,7 @@ export declare const updateWaybillSchema: z.ZodObject<{
704
655
  transporterName?: string | undefined;
705
656
  dispatchedLocation?: string | undefined;
706
657
  receivedCondition?: string | undefined;
658
+ buyerId?: string | undefined;
707
659
  };
708
660
  }>;
709
661
  export declare const waybillResourceSchema: z.ZodObject<{
@@ -763,6 +715,7 @@ export declare const waybillResourceSchema: z.ZodObject<{
763
715
  createdAt: string;
764
716
  updatedAt: string;
765
717
  currency: string;
718
+ organizationId: string;
766
719
  items: {
767
720
  description: string;
768
721
  unit: string;
@@ -771,7 +724,6 @@ export declare const waybillResourceSchema: z.ZodObject<{
771
724
  weight?: number | undefined;
772
725
  itemNumber?: number | undefined;
773
726
  }[];
774
- organizationId: string;
775
727
  waybillNumber: string;
776
728
  issueDate: string;
777
729
  senderName: string;
@@ -797,6 +749,7 @@ export declare const waybillResourceSchema: z.ZodObject<{
797
749
  }, {
798
750
  createdAt: string;
799
751
  updatedAt: string;
752
+ organizationId: string;
800
753
  items: {
801
754
  description: string;
802
755
  unit: string;
@@ -805,7 +758,6 @@ export declare const waybillResourceSchema: z.ZodObject<{
805
758
  weight?: number | undefined;
806
759
  itemNumber?: number | undefined;
807
760
  }[];
808
- organizationId: string;
809
761
  waybillNumber: string;
810
762
  issueDate: string;
811
763
  senderName: string;
@@ -840,6 +792,7 @@ export declare const waybillResourceSchema: z.ZodObject<{
840
792
  createdAt: string;
841
793
  updatedAt: string;
842
794
  currency: string;
795
+ organizationId: string;
843
796
  items: {
844
797
  description: string;
845
798
  unit: string;
@@ -848,7 +801,6 @@ export declare const waybillResourceSchema: z.ZodObject<{
848
801
  weight?: number | undefined;
849
802
  itemNumber?: number | undefined;
850
803
  }[];
851
- organizationId: string;
852
804
  waybillNumber: string;
853
805
  issueDate: string;
854
806
  senderName: string;
@@ -881,6 +833,7 @@ export declare const waybillResourceSchema: z.ZodObject<{
881
833
  attributes: {
882
834
  createdAt: string;
883
835
  updatedAt: string;
836
+ organizationId: string;
884
837
  items: {
885
838
  description: string;
886
839
  unit: string;
@@ -889,7 +842,6 @@ export declare const waybillResourceSchema: z.ZodObject<{
889
842
  weight?: number | undefined;
890
843
  itemNumber?: number | undefined;
891
844
  }[];
892
- organizationId: string;
893
845
  waybillNumber: string;
894
846
  issueDate: string;
895
847
  senderName: string;
@@ -976,6 +928,7 @@ export declare const waybillResponseSchema: z.ZodObject<{
976
928
  createdAt: string;
977
929
  updatedAt: string;
978
930
  currency: string;
931
+ organizationId: string;
979
932
  items: {
980
933
  description: string;
981
934
  unit: string;
@@ -984,7 +937,6 @@ export declare const waybillResponseSchema: z.ZodObject<{
984
937
  weight?: number | undefined;
985
938
  itemNumber?: number | undefined;
986
939
  }[];
987
- organizationId: string;
988
940
  waybillNumber: string;
989
941
  issueDate: string;
990
942
  senderName: string;
@@ -1010,6 +962,7 @@ export declare const waybillResponseSchema: z.ZodObject<{
1010
962
  }, {
1011
963
  createdAt: string;
1012
964
  updatedAt: string;
965
+ organizationId: string;
1013
966
  items: {
1014
967
  description: string;
1015
968
  unit: string;
@@ -1018,7 +971,6 @@ export declare const waybillResponseSchema: z.ZodObject<{
1018
971
  weight?: number | undefined;
1019
972
  itemNumber?: number | undefined;
1020
973
  }[];
1021
- organizationId: string;
1022
974
  waybillNumber: string;
1023
975
  issueDate: string;
1024
976
  senderName: string;
@@ -1053,6 +1005,7 @@ export declare const waybillResponseSchema: z.ZodObject<{
1053
1005
  createdAt: string;
1054
1006
  updatedAt: string;
1055
1007
  currency: string;
1008
+ organizationId: string;
1056
1009
  items: {
1057
1010
  description: string;
1058
1011
  unit: string;
@@ -1061,7 +1014,6 @@ export declare const waybillResponseSchema: z.ZodObject<{
1061
1014
  weight?: number | undefined;
1062
1015
  itemNumber?: number | undefined;
1063
1016
  }[];
1064
- organizationId: string;
1065
1017
  waybillNumber: string;
1066
1018
  issueDate: string;
1067
1019
  senderName: string;
@@ -1094,6 +1046,7 @@ export declare const waybillResponseSchema: z.ZodObject<{
1094
1046
  attributes: {
1095
1047
  createdAt: string;
1096
1048
  updatedAt: string;
1049
+ organizationId: string;
1097
1050
  items: {
1098
1051
  description: string;
1099
1052
  unit: string;
@@ -1102,7 +1055,6 @@ export declare const waybillResponseSchema: z.ZodObject<{
1102
1055
  weight?: number | undefined;
1103
1056
  itemNumber?: number | undefined;
1104
1057
  }[];
1105
- organizationId: string;
1106
1058
  waybillNumber: string;
1107
1059
  issueDate: string;
1108
1060
  senderName: string;
@@ -1163,6 +1115,7 @@ export declare const waybillResponseSchema: z.ZodObject<{
1163
1115
  createdAt: string;
1164
1116
  updatedAt: string;
1165
1117
  currency: string;
1118
+ organizationId: string;
1166
1119
  items: {
1167
1120
  description: string;
1168
1121
  unit: string;
@@ -1171,7 +1124,6 @@ export declare const waybillResponseSchema: z.ZodObject<{
1171
1124
  weight?: number | undefined;
1172
1125
  itemNumber?: number | undefined;
1173
1126
  }[];
1174
- organizationId: string;
1175
1127
  waybillNumber: string;
1176
1128
  issueDate: string;
1177
1129
  senderName: string;
@@ -1216,6 +1168,7 @@ export declare const waybillResponseSchema: z.ZodObject<{
1216
1168
  attributes: {
1217
1169
  createdAt: string;
1218
1170
  updatedAt: string;
1171
+ organizationId: string;
1219
1172
  items: {
1220
1173
  description: string;
1221
1174
  unit: string;
@@ -1224,7 +1177,6 @@ export declare const waybillResponseSchema: z.ZodObject<{
1224
1177
  weight?: number | undefined;
1225
1178
  itemNumber?: number | undefined;
1226
1179
  }[];
1227
- organizationId: string;
1228
1180
  waybillNumber: string;
1229
1181
  issueDate: string;
1230
1182
  senderName: string;
@@ -1322,6 +1274,7 @@ export declare const waybillListResponseSchema: z.ZodObject<{
1322
1274
  createdAt: string;
1323
1275
  updatedAt: string;
1324
1276
  currency: string;
1277
+ organizationId: string;
1325
1278
  items: {
1326
1279
  description: string;
1327
1280
  unit: string;
@@ -1330,7 +1283,6 @@ export declare const waybillListResponseSchema: z.ZodObject<{
1330
1283
  weight?: number | undefined;
1331
1284
  itemNumber?: number | undefined;
1332
1285
  }[];
1333
- organizationId: string;
1334
1286
  waybillNumber: string;
1335
1287
  issueDate: string;
1336
1288
  senderName: string;
@@ -1356,6 +1308,7 @@ export declare const waybillListResponseSchema: z.ZodObject<{
1356
1308
  }, {
1357
1309
  createdAt: string;
1358
1310
  updatedAt: string;
1311
+ organizationId: string;
1359
1312
  items: {
1360
1313
  description: string;
1361
1314
  unit: string;
@@ -1364,7 +1317,6 @@ export declare const waybillListResponseSchema: z.ZodObject<{
1364
1317
  weight?: number | undefined;
1365
1318
  itemNumber?: number | undefined;
1366
1319
  }[];
1367
- organizationId: string;
1368
1320
  waybillNumber: string;
1369
1321
  issueDate: string;
1370
1322
  senderName: string;
@@ -1399,6 +1351,7 @@ export declare const waybillListResponseSchema: z.ZodObject<{
1399
1351
  createdAt: string;
1400
1352
  updatedAt: string;
1401
1353
  currency: string;
1354
+ organizationId: string;
1402
1355
  items: {
1403
1356
  description: string;
1404
1357
  unit: string;
@@ -1407,7 +1360,6 @@ export declare const waybillListResponseSchema: z.ZodObject<{
1407
1360
  weight?: number | undefined;
1408
1361
  itemNumber?: number | undefined;
1409
1362
  }[];
1410
- organizationId: string;
1411
1363
  waybillNumber: string;
1412
1364
  issueDate: string;
1413
1365
  senderName: string;
@@ -1440,6 +1392,7 @@ export declare const waybillListResponseSchema: z.ZodObject<{
1440
1392
  attributes: {
1441
1393
  createdAt: string;
1442
1394
  updatedAt: string;
1395
+ organizationId: string;
1443
1396
  items: {
1444
1397
  description: string;
1445
1398
  unit: string;
@@ -1448,7 +1401,6 @@ export declare const waybillListResponseSchema: z.ZodObject<{
1448
1401
  weight?: number | undefined;
1449
1402
  itemNumber?: number | undefined;
1450
1403
  }[];
1451
- organizationId: string;
1452
1404
  waybillNumber: string;
1453
1405
  issueDate: string;
1454
1406
  senderName: string;
@@ -1509,6 +1461,7 @@ export declare const waybillListResponseSchema: z.ZodObject<{
1509
1461
  createdAt: string;
1510
1462
  updatedAt: string;
1511
1463
  currency: string;
1464
+ organizationId: string;
1512
1465
  items: {
1513
1466
  description: string;
1514
1467
  unit: string;
@@ -1517,7 +1470,6 @@ export declare const waybillListResponseSchema: z.ZodObject<{
1517
1470
  weight?: number | undefined;
1518
1471
  itemNumber?: number | undefined;
1519
1472
  }[];
1520
- organizationId: string;
1521
1473
  waybillNumber: string;
1522
1474
  issueDate: string;
1523
1475
  senderName: string;
@@ -1562,6 +1514,7 @@ export declare const waybillListResponseSchema: z.ZodObject<{
1562
1514
  attributes: {
1563
1515
  createdAt: string;
1564
1516
  updatedAt: string;
1517
+ organizationId: string;
1565
1518
  items: {
1566
1519
  description: string;
1567
1520
  unit: string;
@@ -1570,7 +1523,6 @@ export declare const waybillListResponseSchema: z.ZodObject<{
1570
1523
  weight?: number | undefined;
1571
1524
  itemNumber?: number | undefined;
1572
1525
  }[];
1573
- organizationId: string;
1574
1526
  waybillNumber: string;
1575
1527
  issueDate: string;
1576
1528
  senderName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"waybills.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/waybills.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB;;GAEG;AAGH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;EAO5B,CAAC;AAGH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BV,CAAC;AAG3B,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAyD,CAAC;AAGhG,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACpF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACpF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACrE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACrE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
@@ -50,10 +50,7 @@ export const createWaybillAttributesSchema = z.object({
50
50
  senderAddress: z.string().optional(),
51
51
  senderPhone: z.string().optional(),
52
52
  senderEmail: z.string().email().optional(),
53
- recipientName: z.string().min(1).max(200),
54
- recipientAddress: z.string().optional(),
55
- recipientPhone: z.string().optional(),
56
- recipientEmail: z.string().email().optional(),
53
+ buyerId: z.string().uuid(),
57
54
  items: z.array(waybillItemSchema).min(1),
58
55
  totalWeight: z.number().positive().optional(),
59
56
  totalValue: z.number().nonnegative().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepintel-ltd/farmpro-contracts",
3
- "version": "1.5.24",
3
+ "version": "1.5.25",
4
4
  "description": "Type-safe API contracts for FarmPro API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",