@deepintel-ltd/farmpro-contracts 1.7.20 → 1.7.21

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.
@@ -8,6 +8,7 @@ export declare const organizationAttributesSchema: z.ZodObject<{
8
8
  phone: z.ZodNullable<z.ZodString>;
9
9
  address: z.ZodNullable<z.ZodString>;
10
10
  logo: z.ZodNullable<z.ZodString>;
11
+ commodityCommissionRate: z.ZodNullable<z.ZodNumber>;
11
12
  } & {
12
13
  createdAt: z.ZodString;
13
14
  updatedAt: z.ZodString;
@@ -19,6 +20,7 @@ export declare const organizationAttributesSchema: z.ZodObject<{
19
20
  phone: string | null;
20
21
  address: string | null;
21
22
  logo: string | null;
23
+ commodityCommissionRate: number | null;
22
24
  }, {
23
25
  email: string | null;
24
26
  createdAt: string;
@@ -27,6 +29,7 @@ export declare const organizationAttributesSchema: z.ZodObject<{
27
29
  phone: string | null;
28
30
  address: string | null;
29
31
  logo: string | null;
32
+ commodityCommissionRate: number | null;
30
33
  }>;
31
34
  export declare const createOrganizationAttributesSchema: z.ZodObject<{
32
35
  name: z.ZodString;
@@ -34,18 +37,21 @@ export declare const createOrganizationAttributesSchema: z.ZodObject<{
34
37
  phone: z.ZodOptional<z.ZodString>;
35
38
  address: z.ZodOptional<z.ZodString>;
36
39
  logo: z.ZodOptional<z.ZodString>;
40
+ commodityCommissionRate: z.ZodOptional<z.ZodNumber>;
37
41
  }, "strip", z.ZodTypeAny, {
38
42
  name: string;
39
43
  email?: string | undefined;
40
44
  phone?: string | undefined;
41
45
  address?: string | undefined;
42
46
  logo?: string | undefined;
47
+ commodityCommissionRate?: number | undefined;
43
48
  }, {
44
49
  name: string;
45
50
  email?: string | undefined;
46
51
  phone?: string | undefined;
47
52
  address?: string | undefined;
48
53
  logo?: string | undefined;
54
+ commodityCommissionRate?: number | undefined;
49
55
  }>;
50
56
  export declare const updateOrganizationAttributesSchema: z.ZodObject<{
51
57
  name: z.ZodOptional<z.ZodString>;
@@ -53,18 +59,21 @@ export declare const updateOrganizationAttributesSchema: z.ZodObject<{
53
59
  phone: z.ZodOptional<z.ZodOptional<z.ZodString>>;
54
60
  address: z.ZodOptional<z.ZodOptional<z.ZodString>>;
55
61
  logo: z.ZodOptional<z.ZodOptional<z.ZodString>>;
62
+ commodityCommissionRate: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
56
63
  }, "strip", z.ZodTypeAny, {
57
64
  email?: string | undefined;
58
65
  name?: string | undefined;
59
66
  phone?: string | undefined;
60
67
  address?: string | undefined;
61
68
  logo?: string | undefined;
69
+ commodityCommissionRate?: number | undefined;
62
70
  }, {
63
71
  email?: string | undefined;
64
72
  name?: string | undefined;
65
73
  phone?: string | undefined;
66
74
  address?: string | undefined;
67
75
  logo?: string | undefined;
76
+ commodityCommissionRate?: number | undefined;
68
77
  }>;
69
78
  export declare const createOrganizationSchema: z.ZodObject<{
70
79
  type: z.ZodLiteral<"organizations">;
@@ -74,18 +83,21 @@ export declare const createOrganizationSchema: z.ZodObject<{
74
83
  phone: z.ZodOptional<z.ZodString>;
75
84
  address: z.ZodOptional<z.ZodString>;
76
85
  logo: z.ZodOptional<z.ZodString>;
86
+ commodityCommissionRate: z.ZodOptional<z.ZodNumber>;
77
87
  }, "strip", z.ZodTypeAny, {
78
88
  name: string;
79
89
  email?: string | undefined;
80
90
  phone?: string | undefined;
81
91
  address?: string | undefined;
82
92
  logo?: string | undefined;
93
+ commodityCommissionRate?: number | undefined;
83
94
  }, {
84
95
  name: string;
85
96
  email?: string | undefined;
86
97
  phone?: string | undefined;
87
98
  address?: string | undefined;
88
99
  logo?: string | undefined;
100
+ commodityCommissionRate?: number | undefined;
89
101
  }>;
90
102
  }, "strip", z.ZodTypeAny, {
91
103
  type: "organizations";
@@ -95,6 +107,7 @@ export declare const createOrganizationSchema: z.ZodObject<{
95
107
  phone?: string | undefined;
96
108
  address?: string | undefined;
97
109
  logo?: string | undefined;
110
+ commodityCommissionRate?: number | undefined;
98
111
  };
99
112
  }, {
100
113
  type: "organizations";
@@ -104,6 +117,7 @@ export declare const createOrganizationSchema: z.ZodObject<{
104
117
  phone?: string | undefined;
105
118
  address?: string | undefined;
106
119
  logo?: string | undefined;
120
+ commodityCommissionRate?: number | undefined;
107
121
  };
108
122
  }>;
109
123
  export declare const updateOrganizationSchema: z.ZodObject<{
@@ -115,18 +129,21 @@ export declare const updateOrganizationSchema: z.ZodObject<{
115
129
  phone: z.ZodOptional<z.ZodOptional<z.ZodString>>;
116
130
  address: z.ZodOptional<z.ZodOptional<z.ZodString>>;
117
131
  logo: z.ZodOptional<z.ZodOptional<z.ZodString>>;
132
+ commodityCommissionRate: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
118
133
  }, "strip", z.ZodTypeAny, {
119
134
  email?: string | undefined;
120
135
  name?: string | undefined;
121
136
  phone?: string | undefined;
122
137
  address?: string | undefined;
123
138
  logo?: string | undefined;
139
+ commodityCommissionRate?: number | undefined;
124
140
  }, {
125
141
  email?: string | undefined;
126
142
  name?: string | undefined;
127
143
  phone?: string | undefined;
128
144
  address?: string | undefined;
129
145
  logo?: string | undefined;
146
+ commodityCommissionRate?: number | undefined;
130
147
  }>;
131
148
  }, "strip", z.ZodTypeAny, {
132
149
  type: "organizations";
@@ -136,6 +153,7 @@ export declare const updateOrganizationSchema: z.ZodObject<{
136
153
  phone?: string | undefined;
137
154
  address?: string | undefined;
138
155
  logo?: string | undefined;
156
+ commodityCommissionRate?: number | undefined;
139
157
  };
140
158
  id?: string | undefined;
141
159
  }, {
@@ -146,6 +164,7 @@ export declare const updateOrganizationSchema: z.ZodObject<{
146
164
  phone?: string | undefined;
147
165
  address?: string | undefined;
148
166
  logo?: string | undefined;
167
+ commodityCommissionRate?: number | undefined;
149
168
  };
150
169
  id?: string | undefined;
151
170
  }>;
@@ -158,6 +177,7 @@ export declare const organizationResourceSchema: z.ZodObject<{
158
177
  phone: z.ZodNullable<z.ZodString>;
159
178
  address: z.ZodNullable<z.ZodString>;
160
179
  logo: z.ZodNullable<z.ZodString>;
180
+ commodityCommissionRate: z.ZodNullable<z.ZodNumber>;
161
181
  } & {
162
182
  createdAt: z.ZodString;
163
183
  updatedAt: z.ZodString;
@@ -169,6 +189,7 @@ export declare const organizationResourceSchema: z.ZodObject<{
169
189
  phone: string | null;
170
190
  address: string | null;
171
191
  logo: string | null;
192
+ commodityCommissionRate: number | null;
172
193
  }, {
173
194
  email: string | null;
174
195
  createdAt: string;
@@ -177,6 +198,7 @@ export declare const organizationResourceSchema: z.ZodObject<{
177
198
  phone: string | null;
178
199
  address: string | null;
179
200
  logo: string | null;
201
+ commodityCommissionRate: number | null;
180
202
  }>;
181
203
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
182
204
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -192,6 +214,7 @@ export declare const organizationResourceSchema: z.ZodObject<{
192
214
  phone: string | null;
193
215
  address: string | null;
194
216
  logo: string | null;
217
+ commodityCommissionRate: number | null;
195
218
  };
196
219
  relationships?: Record<string, unknown> | undefined;
197
220
  links?: Record<string, string> | undefined;
@@ -207,6 +230,7 @@ export declare const organizationResourceSchema: z.ZodObject<{
207
230
  phone: string | null;
208
231
  address: string | null;
209
232
  logo: string | null;
233
+ commodityCommissionRate: number | null;
210
234
  };
211
235
  relationships?: Record<string, unknown> | undefined;
212
236
  links?: Record<string, string> | undefined;
@@ -222,6 +246,7 @@ export declare const organizationResponseSchema: z.ZodObject<{
222
246
  phone: z.ZodNullable<z.ZodString>;
223
247
  address: z.ZodNullable<z.ZodString>;
224
248
  logo: z.ZodNullable<z.ZodString>;
249
+ commodityCommissionRate: z.ZodNullable<z.ZodNumber>;
225
250
  } & {
226
251
  createdAt: z.ZodString;
227
252
  updatedAt: z.ZodString;
@@ -233,6 +258,7 @@ export declare const organizationResponseSchema: z.ZodObject<{
233
258
  phone: string | null;
234
259
  address: string | null;
235
260
  logo: string | null;
261
+ commodityCommissionRate: number | null;
236
262
  }, {
237
263
  email: string | null;
238
264
  createdAt: string;
@@ -241,6 +267,7 @@ export declare const organizationResponseSchema: z.ZodObject<{
241
267
  phone: string | null;
242
268
  address: string | null;
243
269
  logo: string | null;
270
+ commodityCommissionRate: number | null;
244
271
  }>;
245
272
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
246
273
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -256,6 +283,7 @@ export declare const organizationResponseSchema: z.ZodObject<{
256
283
  phone: string | null;
257
284
  address: string | null;
258
285
  logo: string | null;
286
+ commodityCommissionRate: number | null;
259
287
  };
260
288
  relationships?: Record<string, unknown> | undefined;
261
289
  links?: Record<string, string> | undefined;
@@ -271,6 +299,7 @@ export declare const organizationResponseSchema: z.ZodObject<{
271
299
  phone: string | null;
272
300
  address: string | null;
273
301
  logo: string | null;
302
+ commodityCommissionRate: number | null;
274
303
  };
275
304
  relationships?: Record<string, unknown> | undefined;
276
305
  links?: Record<string, string> | undefined;
@@ -312,6 +341,7 @@ export declare const organizationResponseSchema: z.ZodObject<{
312
341
  phone: string | null;
313
342
  address: string | null;
314
343
  logo: string | null;
344
+ commodityCommissionRate: number | null;
315
345
  };
316
346
  relationships?: Record<string, unknown> | undefined;
317
347
  links?: Record<string, string> | undefined;
@@ -339,6 +369,7 @@ export declare const organizationResponseSchema: z.ZodObject<{
339
369
  phone: string | null;
340
370
  address: string | null;
341
371
  logo: string | null;
372
+ commodityCommissionRate: number | null;
342
373
  };
343
374
  relationships?: Record<string, unknown> | undefined;
344
375
  links?: Record<string, string> | undefined;
@@ -365,6 +396,7 @@ export declare const organizationListResponseSchema: z.ZodObject<{
365
396
  phone: z.ZodNullable<z.ZodString>;
366
397
  address: z.ZodNullable<z.ZodString>;
367
398
  logo: z.ZodNullable<z.ZodString>;
399
+ commodityCommissionRate: z.ZodNullable<z.ZodNumber>;
368
400
  } & {
369
401
  createdAt: z.ZodString;
370
402
  updatedAt: z.ZodString;
@@ -376,6 +408,7 @@ export declare const organizationListResponseSchema: z.ZodObject<{
376
408
  phone: string | null;
377
409
  address: string | null;
378
410
  logo: string | null;
411
+ commodityCommissionRate: number | null;
379
412
  }, {
380
413
  email: string | null;
381
414
  createdAt: string;
@@ -384,6 +417,7 @@ export declare const organizationListResponseSchema: z.ZodObject<{
384
417
  phone: string | null;
385
418
  address: string | null;
386
419
  logo: string | null;
420
+ commodityCommissionRate: number | null;
387
421
  }>;
388
422
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
389
423
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -399,6 +433,7 @@ export declare const organizationListResponseSchema: z.ZodObject<{
399
433
  phone: string | null;
400
434
  address: string | null;
401
435
  logo: string | null;
436
+ commodityCommissionRate: number | null;
402
437
  };
403
438
  relationships?: Record<string, unknown> | undefined;
404
439
  links?: Record<string, string> | undefined;
@@ -414,6 +449,7 @@ export declare const organizationListResponseSchema: z.ZodObject<{
414
449
  phone: string | null;
415
450
  address: string | null;
416
451
  logo: string | null;
452
+ commodityCommissionRate: number | null;
417
453
  };
418
454
  relationships?: Record<string, unknown> | undefined;
419
455
  links?: Record<string, string> | undefined;
@@ -455,6 +491,7 @@ export declare const organizationListResponseSchema: z.ZodObject<{
455
491
  phone: string | null;
456
492
  address: string | null;
457
493
  logo: string | null;
494
+ commodityCommissionRate: number | null;
458
495
  };
459
496
  relationships?: Record<string, unknown> | undefined;
460
497
  links?: Record<string, string> | undefined;
@@ -482,6 +519,7 @@ export declare const organizationListResponseSchema: z.ZodObject<{
482
519
  phone: string | null;
483
520
  address: string | null;
484
521
  logo: string | null;
522
+ commodityCommissionRate: number | null;
485
523
  };
486
524
  relationships?: Record<string, unknown> | undefined;
487
525
  links?: Record<string, string> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"organizations.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/organizations.schemas.ts"],"names":[],"mappings":"AAAA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C,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
@@ -10,6 +10,7 @@ export const organizationAttributesSchema = z.object({
10
10
  phone: z.string().nullable(),
11
11
  address: z.string().nullable(),
12
12
  logo: z.string().url().nullable(),
13
+ commodityCommissionRate: z.number().min(0).max(100).nullable(),
13
14
  }).merge(timestampsSchema);
14
15
  // Organization attributes for creation (input)
15
16
  export const createOrganizationAttributesSchema = z.object({
@@ -18,6 +19,7 @@ export const createOrganizationAttributesSchema = z.object({
18
19
  phone: z.string().optional(),
19
20
  address: z.string().optional(),
20
21
  logo: z.string().url().optional(),
22
+ commodityCommissionRate: z.number().min(0).max(100).optional(),
21
23
  });
22
24
  // Organization attributes for update (input)
23
25
  export const updateOrganizationAttributesSchema = createOrganizationAttributesSchema.partial();
@@ -182,6 +182,9 @@ export declare const createWaybillAttributesSchema: z.ZodObject<{
182
182
  transporterName: z.ZodOptional<z.ZodString>;
183
183
  dispatchedLocation: z.ZodOptional<z.ZodString>;
184
184
  receivedCondition: z.ZodOptional<z.ZodString>;
185
+ purchaseCost: z.ZodOptional<z.ZodNumber>;
186
+ transportCost: z.ZodOptional<z.ZodNumber>;
187
+ miscellaneousCost: z.ZodOptional<z.ZodNumber>;
185
188
  }, "strip", z.ZodTypeAny, {
186
189
  currency: string;
187
190
  items: {
@@ -196,6 +199,7 @@ export declare const createWaybillAttributesSchema: z.ZodObject<{
196
199
  buyerId: string;
197
200
  notes?: string | undefined;
198
201
  totalValue?: number | undefined;
202
+ transportCost?: number | undefined;
199
203
  issueDate?: string | undefined;
200
204
  senderAddress?: string | undefined;
201
205
  senderPhone?: string | undefined;
@@ -208,6 +212,8 @@ export declare const createWaybillAttributesSchema: z.ZodObject<{
208
212
  transporterName?: string | undefined;
209
213
  dispatchedLocation?: string | undefined;
210
214
  receivedCondition?: string | undefined;
215
+ purchaseCost?: number | undefined;
216
+ miscellaneousCost?: number | undefined;
211
217
  }, {
212
218
  items: {
213
219
  description: string;
@@ -222,6 +228,7 @@ export declare const createWaybillAttributesSchema: z.ZodObject<{
222
228
  currency?: string | undefined;
223
229
  notes?: string | undefined;
224
230
  totalValue?: number | undefined;
231
+ transportCost?: number | undefined;
225
232
  issueDate?: string | undefined;
226
233
  senderAddress?: string | undefined;
227
234
  senderPhone?: string | undefined;
@@ -234,6 +241,8 @@ export declare const createWaybillAttributesSchema: z.ZodObject<{
234
241
  transporterName?: string | undefined;
235
242
  dispatchedLocation?: string | undefined;
236
243
  receivedCondition?: string | undefined;
244
+ purchaseCost?: number | undefined;
245
+ miscellaneousCost?: number | undefined;
237
246
  }>;
238
247
  export declare const updateWaybillAttributesSchema: z.ZodObject<{
239
248
  issueDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -275,10 +284,14 @@ export declare const updateWaybillAttributesSchema: z.ZodObject<{
275
284
  transporterName: z.ZodOptional<z.ZodOptional<z.ZodString>>;
276
285
  dispatchedLocation: z.ZodOptional<z.ZodOptional<z.ZodString>>;
277
286
  receivedCondition: z.ZodOptional<z.ZodOptional<z.ZodString>>;
287
+ purchaseCost: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
288
+ transportCost: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
289
+ miscellaneousCost: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
278
290
  }, "strip", z.ZodTypeAny, {
279
291
  currency?: string | undefined;
280
292
  notes?: string | undefined;
281
293
  totalValue?: number | undefined;
294
+ transportCost?: number | undefined;
282
295
  items?: {
283
296
  description: string;
284
297
  unit: string;
@@ -301,10 +314,13 @@ export declare const updateWaybillAttributesSchema: z.ZodObject<{
301
314
  dispatchedLocation?: string | undefined;
302
315
  receivedCondition?: string | undefined;
303
316
  buyerId?: string | undefined;
317
+ purchaseCost?: number | undefined;
318
+ miscellaneousCost?: number | undefined;
304
319
  }, {
305
320
  currency?: string | undefined;
306
321
  notes?: string | undefined;
307
322
  totalValue?: number | undefined;
323
+ transportCost?: number | undefined;
308
324
  items?: {
309
325
  description: string;
310
326
  unit: string;
@@ -327,6 +343,8 @@ export declare const updateWaybillAttributesSchema: z.ZodObject<{
327
343
  dispatchedLocation?: string | undefined;
328
344
  receivedCondition?: string | undefined;
329
345
  buyerId?: string | undefined;
346
+ purchaseCost?: number | undefined;
347
+ miscellaneousCost?: number | undefined;
330
348
  }>;
331
349
  export declare const createWaybillSchema: z.ZodObject<{
332
350
  type: z.ZodLiteral<"waybills">;
@@ -370,6 +388,9 @@ export declare const createWaybillSchema: z.ZodObject<{
370
388
  transporterName: z.ZodOptional<z.ZodString>;
371
389
  dispatchedLocation: z.ZodOptional<z.ZodString>;
372
390
  receivedCondition: z.ZodOptional<z.ZodString>;
391
+ purchaseCost: z.ZodOptional<z.ZodNumber>;
392
+ transportCost: z.ZodOptional<z.ZodNumber>;
393
+ miscellaneousCost: z.ZodOptional<z.ZodNumber>;
373
394
  }, "strip", z.ZodTypeAny, {
374
395
  currency: string;
375
396
  items: {
@@ -384,6 +405,7 @@ export declare const createWaybillSchema: z.ZodObject<{
384
405
  buyerId: string;
385
406
  notes?: string | undefined;
386
407
  totalValue?: number | undefined;
408
+ transportCost?: number | undefined;
387
409
  issueDate?: string | undefined;
388
410
  senderAddress?: string | undefined;
389
411
  senderPhone?: string | undefined;
@@ -396,6 +418,8 @@ export declare const createWaybillSchema: z.ZodObject<{
396
418
  transporterName?: string | undefined;
397
419
  dispatchedLocation?: string | undefined;
398
420
  receivedCondition?: string | undefined;
421
+ purchaseCost?: number | undefined;
422
+ miscellaneousCost?: number | undefined;
399
423
  }, {
400
424
  items: {
401
425
  description: string;
@@ -410,6 +434,7 @@ export declare const createWaybillSchema: z.ZodObject<{
410
434
  currency?: string | undefined;
411
435
  notes?: string | undefined;
412
436
  totalValue?: number | undefined;
437
+ transportCost?: number | undefined;
413
438
  issueDate?: string | undefined;
414
439
  senderAddress?: string | undefined;
415
440
  senderPhone?: string | undefined;
@@ -422,6 +447,8 @@ export declare const createWaybillSchema: z.ZodObject<{
422
447
  transporterName?: string | undefined;
423
448
  dispatchedLocation?: string | undefined;
424
449
  receivedCondition?: string | undefined;
450
+ purchaseCost?: number | undefined;
451
+ miscellaneousCost?: number | undefined;
425
452
  }>;
426
453
  }, "strip", z.ZodTypeAny, {
427
454
  type: "waybills";
@@ -439,6 +466,7 @@ export declare const createWaybillSchema: z.ZodObject<{
439
466
  buyerId: string;
440
467
  notes?: string | undefined;
441
468
  totalValue?: number | undefined;
469
+ transportCost?: number | undefined;
442
470
  issueDate?: string | undefined;
443
471
  senderAddress?: string | undefined;
444
472
  senderPhone?: string | undefined;
@@ -451,6 +479,8 @@ export declare const createWaybillSchema: z.ZodObject<{
451
479
  transporterName?: string | undefined;
452
480
  dispatchedLocation?: string | undefined;
453
481
  receivedCondition?: string | undefined;
482
+ purchaseCost?: number | undefined;
483
+ miscellaneousCost?: number | undefined;
454
484
  };
455
485
  }, {
456
486
  type: "waybills";
@@ -468,6 +498,7 @@ export declare const createWaybillSchema: z.ZodObject<{
468
498
  currency?: string | undefined;
469
499
  notes?: string | undefined;
470
500
  totalValue?: number | undefined;
501
+ transportCost?: number | undefined;
471
502
  issueDate?: string | undefined;
472
503
  senderAddress?: string | undefined;
473
504
  senderPhone?: string | undefined;
@@ -480,6 +511,8 @@ export declare const createWaybillSchema: z.ZodObject<{
480
511
  transporterName?: string | undefined;
481
512
  dispatchedLocation?: string | undefined;
482
513
  receivedCondition?: string | undefined;
514
+ purchaseCost?: number | undefined;
515
+ miscellaneousCost?: number | undefined;
483
516
  };
484
517
  }>;
485
518
  export declare const updateWaybillSchema: z.ZodObject<{
@@ -525,10 +558,14 @@ export declare const updateWaybillSchema: z.ZodObject<{
525
558
  transporterName: z.ZodOptional<z.ZodOptional<z.ZodString>>;
526
559
  dispatchedLocation: z.ZodOptional<z.ZodOptional<z.ZodString>>;
527
560
  receivedCondition: z.ZodOptional<z.ZodOptional<z.ZodString>>;
561
+ purchaseCost: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
562
+ transportCost: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
563
+ miscellaneousCost: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
528
564
  }, "strip", z.ZodTypeAny, {
529
565
  currency?: string | undefined;
530
566
  notes?: string | undefined;
531
567
  totalValue?: number | undefined;
568
+ transportCost?: number | undefined;
532
569
  items?: {
533
570
  description: string;
534
571
  unit: string;
@@ -551,10 +588,13 @@ export declare const updateWaybillSchema: z.ZodObject<{
551
588
  dispatchedLocation?: string | undefined;
552
589
  receivedCondition?: string | undefined;
553
590
  buyerId?: string | undefined;
591
+ purchaseCost?: number | undefined;
592
+ miscellaneousCost?: number | undefined;
554
593
  }, {
555
594
  currency?: string | undefined;
556
595
  notes?: string | undefined;
557
596
  totalValue?: number | undefined;
597
+ transportCost?: number | undefined;
558
598
  items?: {
559
599
  description: string;
560
600
  unit: string;
@@ -577,6 +617,8 @@ export declare const updateWaybillSchema: z.ZodObject<{
577
617
  dispatchedLocation?: string | undefined;
578
618
  receivedCondition?: string | undefined;
579
619
  buyerId?: string | undefined;
620
+ purchaseCost?: number | undefined;
621
+ miscellaneousCost?: number | undefined;
580
622
  }>;
581
623
  }, "strip", z.ZodTypeAny, {
582
624
  type: "waybills";
@@ -585,6 +627,7 @@ export declare const updateWaybillSchema: z.ZodObject<{
585
627
  currency?: string | undefined;
586
628
  notes?: string | undefined;
587
629
  totalValue?: number | undefined;
630
+ transportCost?: number | undefined;
588
631
  items?: {
589
632
  description: string;
590
633
  unit: string;
@@ -607,6 +650,8 @@ export declare const updateWaybillSchema: z.ZodObject<{
607
650
  dispatchedLocation?: string | undefined;
608
651
  receivedCondition?: string | undefined;
609
652
  buyerId?: string | undefined;
653
+ purchaseCost?: number | undefined;
654
+ miscellaneousCost?: number | undefined;
610
655
  };
611
656
  }, {
612
657
  type: "waybills";
@@ -615,6 +660,7 @@ export declare const updateWaybillSchema: z.ZodObject<{
615
660
  currency?: string | undefined;
616
661
  notes?: string | undefined;
617
662
  totalValue?: number | undefined;
663
+ transportCost?: number | undefined;
618
664
  items?: {
619
665
  description: string;
620
666
  unit: string;
@@ -637,6 +683,8 @@ export declare const updateWaybillSchema: z.ZodObject<{
637
683
  dispatchedLocation?: string | undefined;
638
684
  receivedCondition?: string | undefined;
639
685
  buyerId?: string | undefined;
686
+ purchaseCost?: number | undefined;
687
+ miscellaneousCost?: number | undefined;
640
688
  };
641
689
  }>;
642
690
  export declare const waybillResourceSchema: z.ZodObject<{
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BV,CAAC;AAG3B,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBxC,CAAC;AAGH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA0C,CAAC;AAGrF,eAAO,MAAM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G,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"}
@@ -63,6 +63,9 @@ export const createWaybillAttributesSchema = z.object({
63
63
  transporterName: z.string().optional(),
64
64
  dispatchedLocation: z.string().optional(),
65
65
  receivedCondition: z.string().optional(),
66
+ purchaseCost: z.number().nonnegative().optional(),
67
+ transportCost: z.number().nonnegative().optional(),
68
+ miscellaneousCost: z.number().nonnegative().optional(),
66
69
  });
67
70
  // Waybill attributes for update (input)
68
71
  export const updateWaybillAttributesSchema = createWaybillAttributesSchema.partial();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepintel-ltd/farmpro-contracts",
3
- "version": "1.7.20",
3
+ "version": "1.7.21",
4
4
  "description": "Type-safe API contracts for FarmPro API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",