@deepintel-ltd/farmpro-contracts 1.5.18 → 1.5.20

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 (33) hide show
  1. package/dist/index.d.ts +7 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +6 -0
  4. package/dist/routes/agents.routes.d.ts +192 -18
  5. package/dist/routes/agents.routes.d.ts.map +1 -1
  6. package/dist/routes/index.d.ts +9 -0
  7. package/dist/routes/index.d.ts.map +1 -1
  8. package/dist/routes/index.js +6 -0
  9. package/dist/routes/invoices.routes.d.ts +3608 -0
  10. package/dist/routes/invoices.routes.d.ts.map +1 -0
  11. package/dist/routes/invoices.routes.js +98 -0
  12. package/dist/routes/organizations.routes.d.ts +1669 -0
  13. package/dist/routes/organizations.routes.d.ts.map +1 -0
  14. package/dist/routes/organizations.routes.js +63 -0
  15. package/dist/routes/subscriptions.routes.d.ts +232 -0
  16. package/dist/routes/subscriptions.routes.d.ts.map +1 -1
  17. package/dist/routes/subscriptions.routes.js +25 -2
  18. package/dist/routes/waybills.routes.d.ts +3225 -0
  19. package/dist/routes/waybills.routes.d.ts.map +1 -0
  20. package/dist/routes/waybills.routes.js +95 -0
  21. package/dist/schemas/agents.schemas.d.ts +760 -49
  22. package/dist/schemas/agents.schemas.d.ts.map +1 -1
  23. package/dist/schemas/agents.schemas.js +21 -1
  24. package/dist/schemas/invoices.schemas.d.ts +1533 -0
  25. package/dist/schemas/invoices.schemas.d.ts.map +1 -0
  26. package/dist/schemas/invoices.schemas.js +85 -0
  27. package/dist/schemas/organizations.schemas.d.ts +509 -0
  28. package/dist/schemas/organizations.schemas.d.ts.map +1 -0
  29. package/dist/schemas/organizations.schemas.js +39 -0
  30. package/dist/schemas/waybills.schemas.d.ts +1261 -0
  31. package/dist/schemas/waybills.schemas.d.ts.map +1 -0
  32. package/dist/schemas/waybills.schemas.js +70 -0
  33. package/package.json +1 -1
@@ -0,0 +1,1261 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Waybill schemas - JSON:API compliant
4
+ */
5
+ export declare const waybillItemSchema: z.ZodObject<{
6
+ description: z.ZodString;
7
+ quantity: z.ZodNumber;
8
+ unit: z.ZodString;
9
+ weight: z.ZodOptional<z.ZodNumber>;
10
+ value: z.ZodOptional<z.ZodNumber>;
11
+ }, "strip", z.ZodTypeAny, {
12
+ description: string;
13
+ unit: string;
14
+ quantity: number;
15
+ value?: number | undefined;
16
+ weight?: number | undefined;
17
+ }, {
18
+ description: string;
19
+ unit: string;
20
+ quantity: number;
21
+ value?: number | undefined;
22
+ weight?: number | undefined;
23
+ }>;
24
+ export declare const waybillAttributesSchema: z.ZodObject<{
25
+ waybillNumber: z.ZodString;
26
+ issueDate: z.ZodString;
27
+ senderName: z.ZodString;
28
+ senderAddress: z.ZodNullable<z.ZodOptional<z.ZodString>>;
29
+ senderPhone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
30
+ senderEmail: z.ZodNullable<z.ZodOptional<z.ZodString>>;
31
+ recipientName: z.ZodString;
32
+ recipientAddress: z.ZodNullable<z.ZodOptional<z.ZodString>>;
33
+ recipientPhone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
34
+ recipientEmail: z.ZodNullable<z.ZodOptional<z.ZodString>>;
35
+ items: z.ZodArray<z.ZodObject<{
36
+ description: z.ZodString;
37
+ quantity: z.ZodNumber;
38
+ unit: z.ZodString;
39
+ weight: z.ZodOptional<z.ZodNumber>;
40
+ value: z.ZodOptional<z.ZodNumber>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ description: string;
43
+ unit: string;
44
+ quantity: number;
45
+ value?: number | undefined;
46
+ weight?: number | undefined;
47
+ }, {
48
+ description: string;
49
+ unit: string;
50
+ quantity: number;
51
+ value?: number | undefined;
52
+ weight?: number | undefined;
53
+ }>, "many">;
54
+ totalWeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
55
+ totalValue: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
56
+ currency: z.ZodDefault<z.ZodString>;
57
+ notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
58
+ pdfUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
59
+ organizationId: z.ZodString;
60
+ } & {
61
+ createdAt: z.ZodString;
62
+ updatedAt: z.ZodString;
63
+ }, "strip", z.ZodTypeAny, {
64
+ createdAt: string;
65
+ updatedAt: string;
66
+ currency: string;
67
+ items: {
68
+ description: string;
69
+ unit: string;
70
+ quantity: number;
71
+ value?: number | undefined;
72
+ weight?: number | undefined;
73
+ }[];
74
+ waybillNumber: string;
75
+ issueDate: string;
76
+ senderName: string;
77
+ recipientName: string;
78
+ organizationId: string;
79
+ notes?: string | null | undefined;
80
+ totalValue?: number | null | undefined;
81
+ senderAddress?: string | null | undefined;
82
+ senderPhone?: string | null | undefined;
83
+ senderEmail?: string | null | undefined;
84
+ recipientAddress?: string | null | undefined;
85
+ recipientPhone?: string | null | undefined;
86
+ recipientEmail?: string | null | undefined;
87
+ totalWeight?: number | null | undefined;
88
+ pdfUrl?: string | null | undefined;
89
+ }, {
90
+ createdAt: string;
91
+ updatedAt: string;
92
+ items: {
93
+ description: string;
94
+ unit: string;
95
+ quantity: number;
96
+ value?: number | undefined;
97
+ weight?: number | undefined;
98
+ }[];
99
+ waybillNumber: string;
100
+ issueDate: string;
101
+ senderName: string;
102
+ recipientName: string;
103
+ organizationId: string;
104
+ currency?: string | undefined;
105
+ notes?: string | null | undefined;
106
+ totalValue?: number | null | undefined;
107
+ senderAddress?: string | null | undefined;
108
+ senderPhone?: string | null | undefined;
109
+ senderEmail?: string | null | undefined;
110
+ recipientAddress?: string | null | undefined;
111
+ recipientPhone?: string | null | undefined;
112
+ recipientEmail?: string | null | undefined;
113
+ totalWeight?: number | null | undefined;
114
+ pdfUrl?: string | null | undefined;
115
+ }>;
116
+ export declare const createWaybillAttributesSchema: z.ZodObject<{
117
+ issueDate: z.ZodOptional<z.ZodString>;
118
+ senderName: z.ZodString;
119
+ senderAddress: z.ZodOptional<z.ZodString>;
120
+ senderPhone: z.ZodOptional<z.ZodString>;
121
+ senderEmail: z.ZodOptional<z.ZodString>;
122
+ recipientName: z.ZodString;
123
+ recipientAddress: z.ZodOptional<z.ZodString>;
124
+ recipientPhone: z.ZodOptional<z.ZodString>;
125
+ recipientEmail: z.ZodOptional<z.ZodString>;
126
+ items: z.ZodArray<z.ZodObject<{
127
+ description: z.ZodString;
128
+ quantity: z.ZodNumber;
129
+ unit: z.ZodString;
130
+ weight: z.ZodOptional<z.ZodNumber>;
131
+ value: z.ZodOptional<z.ZodNumber>;
132
+ }, "strip", z.ZodTypeAny, {
133
+ description: string;
134
+ unit: string;
135
+ quantity: number;
136
+ value?: number | undefined;
137
+ weight?: number | undefined;
138
+ }, {
139
+ description: string;
140
+ unit: string;
141
+ quantity: number;
142
+ value?: number | undefined;
143
+ weight?: number | undefined;
144
+ }>, "many">;
145
+ totalWeight: z.ZodOptional<z.ZodNumber>;
146
+ totalValue: z.ZodOptional<z.ZodNumber>;
147
+ currency: z.ZodDefault<z.ZodString>;
148
+ notes: z.ZodOptional<z.ZodString>;
149
+ }, "strip", z.ZodTypeAny, {
150
+ currency: string;
151
+ items: {
152
+ description: string;
153
+ unit: string;
154
+ quantity: number;
155
+ value?: number | undefined;
156
+ weight?: number | undefined;
157
+ }[];
158
+ senderName: string;
159
+ recipientName: string;
160
+ notes?: string | undefined;
161
+ totalValue?: number | undefined;
162
+ issueDate?: string | undefined;
163
+ senderAddress?: string | undefined;
164
+ senderPhone?: string | undefined;
165
+ senderEmail?: string | undefined;
166
+ recipientAddress?: string | undefined;
167
+ recipientPhone?: string | undefined;
168
+ recipientEmail?: string | undefined;
169
+ totalWeight?: number | undefined;
170
+ }, {
171
+ items: {
172
+ description: string;
173
+ unit: string;
174
+ quantity: number;
175
+ value?: number | undefined;
176
+ weight?: number | undefined;
177
+ }[];
178
+ senderName: string;
179
+ recipientName: string;
180
+ currency?: string | undefined;
181
+ notes?: string | undefined;
182
+ totalValue?: number | undefined;
183
+ issueDate?: string | undefined;
184
+ senderAddress?: string | undefined;
185
+ senderPhone?: string | undefined;
186
+ senderEmail?: string | undefined;
187
+ recipientAddress?: string | undefined;
188
+ recipientPhone?: string | undefined;
189
+ recipientEmail?: string | undefined;
190
+ totalWeight?: number | undefined;
191
+ }>;
192
+ export declare const updateWaybillAttributesSchema: z.ZodObject<{
193
+ issueDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
194
+ senderName: z.ZodOptional<z.ZodString>;
195
+ senderAddress: z.ZodOptional<z.ZodOptional<z.ZodString>>;
196
+ senderPhone: z.ZodOptional<z.ZodOptional<z.ZodString>>;
197
+ senderEmail: z.ZodOptional<z.ZodOptional<z.ZodString>>;
198
+ recipientName: z.ZodOptional<z.ZodString>;
199
+ recipientAddress: z.ZodOptional<z.ZodOptional<z.ZodString>>;
200
+ recipientPhone: z.ZodOptional<z.ZodOptional<z.ZodString>>;
201
+ recipientEmail: z.ZodOptional<z.ZodOptional<z.ZodString>>;
202
+ items: z.ZodOptional<z.ZodArray<z.ZodObject<{
203
+ description: z.ZodString;
204
+ quantity: z.ZodNumber;
205
+ unit: z.ZodString;
206
+ weight: z.ZodOptional<z.ZodNumber>;
207
+ value: z.ZodOptional<z.ZodNumber>;
208
+ }, "strip", z.ZodTypeAny, {
209
+ description: string;
210
+ unit: string;
211
+ quantity: number;
212
+ value?: number | undefined;
213
+ weight?: number | undefined;
214
+ }, {
215
+ description: string;
216
+ unit: string;
217
+ quantity: number;
218
+ value?: number | undefined;
219
+ weight?: number | undefined;
220
+ }>, "many">>;
221
+ totalWeight: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
222
+ totalValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
223
+ currency: z.ZodOptional<z.ZodDefault<z.ZodString>>;
224
+ notes: z.ZodOptional<z.ZodOptional<z.ZodString>>;
225
+ }, "strip", z.ZodTypeAny, {
226
+ currency?: string | undefined;
227
+ notes?: string | undefined;
228
+ totalValue?: number | undefined;
229
+ items?: {
230
+ description: string;
231
+ unit: string;
232
+ quantity: number;
233
+ value?: number | undefined;
234
+ weight?: number | undefined;
235
+ }[] | undefined;
236
+ issueDate?: string | undefined;
237
+ senderName?: string | undefined;
238
+ senderAddress?: string | undefined;
239
+ senderPhone?: string | undefined;
240
+ senderEmail?: string | undefined;
241
+ recipientName?: string | undefined;
242
+ recipientAddress?: string | undefined;
243
+ recipientPhone?: string | undefined;
244
+ recipientEmail?: string | undefined;
245
+ totalWeight?: number | undefined;
246
+ }, {
247
+ currency?: string | undefined;
248
+ notes?: string | undefined;
249
+ totalValue?: number | undefined;
250
+ items?: {
251
+ description: string;
252
+ unit: string;
253
+ quantity: number;
254
+ value?: number | undefined;
255
+ weight?: number | undefined;
256
+ }[] | undefined;
257
+ issueDate?: string | undefined;
258
+ senderName?: string | undefined;
259
+ senderAddress?: string | undefined;
260
+ senderPhone?: string | undefined;
261
+ senderEmail?: string | undefined;
262
+ recipientName?: string | undefined;
263
+ recipientAddress?: string | undefined;
264
+ recipientPhone?: string | undefined;
265
+ recipientEmail?: string | undefined;
266
+ totalWeight?: number | undefined;
267
+ }>;
268
+ export declare const createWaybillSchema: z.ZodObject<{
269
+ type: z.ZodLiteral<"waybills">;
270
+ attributes: z.ZodObject<{
271
+ issueDate: z.ZodOptional<z.ZodString>;
272
+ senderName: z.ZodString;
273
+ senderAddress: z.ZodOptional<z.ZodString>;
274
+ senderPhone: z.ZodOptional<z.ZodString>;
275
+ senderEmail: z.ZodOptional<z.ZodString>;
276
+ recipientName: z.ZodString;
277
+ recipientAddress: z.ZodOptional<z.ZodString>;
278
+ recipientPhone: z.ZodOptional<z.ZodString>;
279
+ recipientEmail: z.ZodOptional<z.ZodString>;
280
+ items: z.ZodArray<z.ZodObject<{
281
+ description: z.ZodString;
282
+ quantity: z.ZodNumber;
283
+ unit: z.ZodString;
284
+ weight: z.ZodOptional<z.ZodNumber>;
285
+ value: z.ZodOptional<z.ZodNumber>;
286
+ }, "strip", z.ZodTypeAny, {
287
+ description: string;
288
+ unit: string;
289
+ quantity: number;
290
+ value?: number | undefined;
291
+ weight?: number | undefined;
292
+ }, {
293
+ description: string;
294
+ unit: string;
295
+ quantity: number;
296
+ value?: number | undefined;
297
+ weight?: number | undefined;
298
+ }>, "many">;
299
+ totalWeight: z.ZodOptional<z.ZodNumber>;
300
+ totalValue: z.ZodOptional<z.ZodNumber>;
301
+ currency: z.ZodDefault<z.ZodString>;
302
+ notes: z.ZodOptional<z.ZodString>;
303
+ }, "strip", z.ZodTypeAny, {
304
+ currency: string;
305
+ items: {
306
+ description: string;
307
+ unit: string;
308
+ quantity: number;
309
+ value?: number | undefined;
310
+ weight?: number | undefined;
311
+ }[];
312
+ senderName: string;
313
+ recipientName: string;
314
+ notes?: string | undefined;
315
+ totalValue?: number | undefined;
316
+ issueDate?: string | undefined;
317
+ senderAddress?: string | undefined;
318
+ senderPhone?: string | undefined;
319
+ senderEmail?: string | undefined;
320
+ recipientAddress?: string | undefined;
321
+ recipientPhone?: string | undefined;
322
+ recipientEmail?: string | undefined;
323
+ totalWeight?: number | undefined;
324
+ }, {
325
+ items: {
326
+ description: string;
327
+ unit: string;
328
+ quantity: number;
329
+ value?: number | undefined;
330
+ weight?: number | undefined;
331
+ }[];
332
+ senderName: string;
333
+ recipientName: string;
334
+ currency?: string | undefined;
335
+ notes?: string | undefined;
336
+ totalValue?: number | undefined;
337
+ issueDate?: string | undefined;
338
+ senderAddress?: string | undefined;
339
+ senderPhone?: string | undefined;
340
+ senderEmail?: string | undefined;
341
+ recipientAddress?: string | undefined;
342
+ recipientPhone?: string | undefined;
343
+ recipientEmail?: string | undefined;
344
+ totalWeight?: number | undefined;
345
+ }>;
346
+ }, "strip", z.ZodTypeAny, {
347
+ type: "waybills";
348
+ attributes: {
349
+ currency: string;
350
+ items: {
351
+ description: string;
352
+ unit: string;
353
+ quantity: number;
354
+ value?: number | undefined;
355
+ weight?: number | undefined;
356
+ }[];
357
+ senderName: string;
358
+ recipientName: string;
359
+ notes?: string | undefined;
360
+ totalValue?: number | undefined;
361
+ issueDate?: string | undefined;
362
+ senderAddress?: string | undefined;
363
+ senderPhone?: string | undefined;
364
+ senderEmail?: string | undefined;
365
+ recipientAddress?: string | undefined;
366
+ recipientPhone?: string | undefined;
367
+ recipientEmail?: string | undefined;
368
+ totalWeight?: number | undefined;
369
+ };
370
+ }, {
371
+ type: "waybills";
372
+ attributes: {
373
+ items: {
374
+ description: string;
375
+ unit: string;
376
+ quantity: number;
377
+ value?: number | undefined;
378
+ weight?: number | undefined;
379
+ }[];
380
+ senderName: string;
381
+ recipientName: string;
382
+ currency?: string | undefined;
383
+ notes?: string | undefined;
384
+ totalValue?: number | undefined;
385
+ issueDate?: string | undefined;
386
+ senderAddress?: string | undefined;
387
+ senderPhone?: string | undefined;
388
+ senderEmail?: string | undefined;
389
+ recipientAddress?: string | undefined;
390
+ recipientPhone?: string | undefined;
391
+ recipientEmail?: string | undefined;
392
+ totalWeight?: number | undefined;
393
+ };
394
+ }>;
395
+ export declare const updateWaybillSchema: z.ZodObject<{
396
+ type: z.ZodLiteral<"waybills">;
397
+ id: z.ZodString;
398
+ attributes: z.ZodObject<{
399
+ issueDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
400
+ senderName: z.ZodOptional<z.ZodString>;
401
+ senderAddress: z.ZodOptional<z.ZodOptional<z.ZodString>>;
402
+ senderPhone: z.ZodOptional<z.ZodOptional<z.ZodString>>;
403
+ senderEmail: z.ZodOptional<z.ZodOptional<z.ZodString>>;
404
+ recipientName: z.ZodOptional<z.ZodString>;
405
+ recipientAddress: z.ZodOptional<z.ZodOptional<z.ZodString>>;
406
+ recipientPhone: z.ZodOptional<z.ZodOptional<z.ZodString>>;
407
+ recipientEmail: z.ZodOptional<z.ZodOptional<z.ZodString>>;
408
+ items: z.ZodOptional<z.ZodArray<z.ZodObject<{
409
+ description: z.ZodString;
410
+ quantity: z.ZodNumber;
411
+ unit: z.ZodString;
412
+ weight: z.ZodOptional<z.ZodNumber>;
413
+ value: z.ZodOptional<z.ZodNumber>;
414
+ }, "strip", z.ZodTypeAny, {
415
+ description: string;
416
+ unit: string;
417
+ quantity: number;
418
+ value?: number | undefined;
419
+ weight?: number | undefined;
420
+ }, {
421
+ description: string;
422
+ unit: string;
423
+ quantity: number;
424
+ value?: number | undefined;
425
+ weight?: number | undefined;
426
+ }>, "many">>;
427
+ totalWeight: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
428
+ totalValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
429
+ currency: z.ZodOptional<z.ZodDefault<z.ZodString>>;
430
+ notes: z.ZodOptional<z.ZodOptional<z.ZodString>>;
431
+ }, "strip", z.ZodTypeAny, {
432
+ currency?: string | undefined;
433
+ notes?: string | undefined;
434
+ totalValue?: number | undefined;
435
+ items?: {
436
+ description: string;
437
+ unit: string;
438
+ quantity: number;
439
+ value?: number | undefined;
440
+ weight?: number | undefined;
441
+ }[] | undefined;
442
+ issueDate?: string | undefined;
443
+ senderName?: string | undefined;
444
+ senderAddress?: string | undefined;
445
+ senderPhone?: string | undefined;
446
+ senderEmail?: string | undefined;
447
+ recipientName?: string | undefined;
448
+ recipientAddress?: string | undefined;
449
+ recipientPhone?: string | undefined;
450
+ recipientEmail?: string | undefined;
451
+ totalWeight?: number | undefined;
452
+ }, {
453
+ currency?: string | undefined;
454
+ notes?: string | undefined;
455
+ totalValue?: number | undefined;
456
+ items?: {
457
+ description: string;
458
+ unit: string;
459
+ quantity: number;
460
+ value?: number | undefined;
461
+ weight?: number | undefined;
462
+ }[] | undefined;
463
+ issueDate?: string | undefined;
464
+ senderName?: string | undefined;
465
+ senderAddress?: string | undefined;
466
+ senderPhone?: string | undefined;
467
+ senderEmail?: string | undefined;
468
+ recipientName?: string | undefined;
469
+ recipientAddress?: string | undefined;
470
+ recipientPhone?: string | undefined;
471
+ recipientEmail?: string | undefined;
472
+ totalWeight?: number | undefined;
473
+ }>;
474
+ }, "strip", z.ZodTypeAny, {
475
+ type: "waybills";
476
+ id: string;
477
+ attributes: {
478
+ currency?: string | undefined;
479
+ notes?: string | undefined;
480
+ totalValue?: number | undefined;
481
+ items?: {
482
+ description: string;
483
+ unit: string;
484
+ quantity: number;
485
+ value?: number | undefined;
486
+ weight?: number | undefined;
487
+ }[] | undefined;
488
+ issueDate?: string | undefined;
489
+ senderName?: string | undefined;
490
+ senderAddress?: string | undefined;
491
+ senderPhone?: string | undefined;
492
+ senderEmail?: string | undefined;
493
+ recipientName?: string | undefined;
494
+ recipientAddress?: string | undefined;
495
+ recipientPhone?: string | undefined;
496
+ recipientEmail?: string | undefined;
497
+ totalWeight?: number | undefined;
498
+ };
499
+ }, {
500
+ type: "waybills";
501
+ id: string;
502
+ attributes: {
503
+ currency?: string | undefined;
504
+ notes?: string | undefined;
505
+ totalValue?: number | undefined;
506
+ items?: {
507
+ description: string;
508
+ unit: string;
509
+ quantity: number;
510
+ value?: number | undefined;
511
+ weight?: number | undefined;
512
+ }[] | undefined;
513
+ issueDate?: string | undefined;
514
+ senderName?: string | undefined;
515
+ senderAddress?: string | undefined;
516
+ senderPhone?: string | undefined;
517
+ senderEmail?: string | undefined;
518
+ recipientName?: string | undefined;
519
+ recipientAddress?: string | undefined;
520
+ recipientPhone?: string | undefined;
521
+ recipientEmail?: string | undefined;
522
+ totalWeight?: number | undefined;
523
+ };
524
+ }>;
525
+ export declare const waybillResourceSchema: z.ZodObject<{
526
+ type: z.ZodLiteral<string>;
527
+ id: z.ZodString;
528
+ attributes: z.ZodObject<{
529
+ waybillNumber: z.ZodString;
530
+ issueDate: z.ZodString;
531
+ senderName: z.ZodString;
532
+ senderAddress: z.ZodNullable<z.ZodOptional<z.ZodString>>;
533
+ senderPhone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
534
+ senderEmail: z.ZodNullable<z.ZodOptional<z.ZodString>>;
535
+ recipientName: z.ZodString;
536
+ recipientAddress: z.ZodNullable<z.ZodOptional<z.ZodString>>;
537
+ recipientPhone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
538
+ recipientEmail: z.ZodNullable<z.ZodOptional<z.ZodString>>;
539
+ items: z.ZodArray<z.ZodObject<{
540
+ description: z.ZodString;
541
+ quantity: z.ZodNumber;
542
+ unit: z.ZodString;
543
+ weight: z.ZodOptional<z.ZodNumber>;
544
+ value: z.ZodOptional<z.ZodNumber>;
545
+ }, "strip", z.ZodTypeAny, {
546
+ description: string;
547
+ unit: string;
548
+ quantity: number;
549
+ value?: number | undefined;
550
+ weight?: number | undefined;
551
+ }, {
552
+ description: string;
553
+ unit: string;
554
+ quantity: number;
555
+ value?: number | undefined;
556
+ weight?: number | undefined;
557
+ }>, "many">;
558
+ totalWeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
559
+ totalValue: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
560
+ currency: z.ZodDefault<z.ZodString>;
561
+ notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
562
+ pdfUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
563
+ organizationId: z.ZodString;
564
+ } & {
565
+ createdAt: z.ZodString;
566
+ updatedAt: z.ZodString;
567
+ }, "strip", z.ZodTypeAny, {
568
+ createdAt: string;
569
+ updatedAt: string;
570
+ currency: string;
571
+ items: {
572
+ description: string;
573
+ unit: string;
574
+ quantity: number;
575
+ value?: number | undefined;
576
+ weight?: number | undefined;
577
+ }[];
578
+ waybillNumber: string;
579
+ issueDate: string;
580
+ senderName: string;
581
+ recipientName: string;
582
+ organizationId: string;
583
+ notes?: string | null | undefined;
584
+ totalValue?: number | null | undefined;
585
+ senderAddress?: string | null | undefined;
586
+ senderPhone?: string | null | undefined;
587
+ senderEmail?: string | null | undefined;
588
+ recipientAddress?: string | null | undefined;
589
+ recipientPhone?: string | null | undefined;
590
+ recipientEmail?: string | null | undefined;
591
+ totalWeight?: number | null | undefined;
592
+ pdfUrl?: string | null | undefined;
593
+ }, {
594
+ createdAt: string;
595
+ updatedAt: string;
596
+ items: {
597
+ description: string;
598
+ unit: string;
599
+ quantity: number;
600
+ value?: number | undefined;
601
+ weight?: number | undefined;
602
+ }[];
603
+ waybillNumber: string;
604
+ issueDate: string;
605
+ senderName: string;
606
+ recipientName: string;
607
+ organizationId: string;
608
+ currency?: string | undefined;
609
+ notes?: string | null | undefined;
610
+ totalValue?: number | null | undefined;
611
+ senderAddress?: string | null | undefined;
612
+ senderPhone?: string | null | undefined;
613
+ senderEmail?: string | null | undefined;
614
+ recipientAddress?: string | null | undefined;
615
+ recipientPhone?: string | null | undefined;
616
+ recipientEmail?: string | null | undefined;
617
+ totalWeight?: number | null | undefined;
618
+ pdfUrl?: string | null | undefined;
619
+ }>;
620
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
621
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
622
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
623
+ }, "strip", z.ZodTypeAny, {
624
+ type: string;
625
+ id: string;
626
+ attributes: {
627
+ createdAt: string;
628
+ updatedAt: string;
629
+ currency: string;
630
+ items: {
631
+ description: string;
632
+ unit: string;
633
+ quantity: number;
634
+ value?: number | undefined;
635
+ weight?: number | undefined;
636
+ }[];
637
+ waybillNumber: string;
638
+ issueDate: string;
639
+ senderName: string;
640
+ recipientName: string;
641
+ organizationId: string;
642
+ notes?: string | null | undefined;
643
+ totalValue?: number | null | undefined;
644
+ senderAddress?: string | null | undefined;
645
+ senderPhone?: string | null | undefined;
646
+ senderEmail?: string | null | undefined;
647
+ recipientAddress?: string | null | undefined;
648
+ recipientPhone?: string | null | undefined;
649
+ recipientEmail?: string | null | undefined;
650
+ totalWeight?: number | null | undefined;
651
+ pdfUrl?: string | null | undefined;
652
+ };
653
+ relationships?: Record<string, unknown> | undefined;
654
+ links?: Record<string, string> | undefined;
655
+ meta?: Record<string, unknown> | undefined;
656
+ }, {
657
+ type: string;
658
+ id: string;
659
+ attributes: {
660
+ createdAt: string;
661
+ updatedAt: string;
662
+ items: {
663
+ description: string;
664
+ unit: string;
665
+ quantity: number;
666
+ value?: number | undefined;
667
+ weight?: number | undefined;
668
+ }[];
669
+ waybillNumber: string;
670
+ issueDate: string;
671
+ senderName: string;
672
+ recipientName: string;
673
+ organizationId: string;
674
+ currency?: string | undefined;
675
+ notes?: string | null | undefined;
676
+ totalValue?: number | null | undefined;
677
+ senderAddress?: string | null | undefined;
678
+ senderPhone?: string | null | undefined;
679
+ senderEmail?: string | null | undefined;
680
+ recipientAddress?: string | null | undefined;
681
+ recipientPhone?: string | null | undefined;
682
+ recipientEmail?: string | null | undefined;
683
+ totalWeight?: number | null | undefined;
684
+ pdfUrl?: string | null | undefined;
685
+ };
686
+ relationships?: Record<string, unknown> | undefined;
687
+ links?: Record<string, string> | undefined;
688
+ meta?: Record<string, unknown> | undefined;
689
+ }>;
690
+ export declare const waybillResponseSchema: z.ZodObject<{
691
+ data: z.ZodObject<{
692
+ type: z.ZodLiteral<string>;
693
+ id: z.ZodString;
694
+ attributes: z.ZodObject<{
695
+ waybillNumber: z.ZodString;
696
+ issueDate: z.ZodString;
697
+ senderName: z.ZodString;
698
+ senderAddress: z.ZodNullable<z.ZodOptional<z.ZodString>>;
699
+ senderPhone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
700
+ senderEmail: z.ZodNullable<z.ZodOptional<z.ZodString>>;
701
+ recipientName: z.ZodString;
702
+ recipientAddress: z.ZodNullable<z.ZodOptional<z.ZodString>>;
703
+ recipientPhone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
704
+ recipientEmail: z.ZodNullable<z.ZodOptional<z.ZodString>>;
705
+ items: z.ZodArray<z.ZodObject<{
706
+ description: z.ZodString;
707
+ quantity: z.ZodNumber;
708
+ unit: z.ZodString;
709
+ weight: z.ZodOptional<z.ZodNumber>;
710
+ value: z.ZodOptional<z.ZodNumber>;
711
+ }, "strip", z.ZodTypeAny, {
712
+ description: string;
713
+ unit: string;
714
+ quantity: number;
715
+ value?: number | undefined;
716
+ weight?: number | undefined;
717
+ }, {
718
+ description: string;
719
+ unit: string;
720
+ quantity: number;
721
+ value?: number | undefined;
722
+ weight?: number | undefined;
723
+ }>, "many">;
724
+ totalWeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
725
+ totalValue: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
726
+ currency: z.ZodDefault<z.ZodString>;
727
+ notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
728
+ pdfUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
729
+ organizationId: z.ZodString;
730
+ } & {
731
+ createdAt: z.ZodString;
732
+ updatedAt: z.ZodString;
733
+ }, "strip", z.ZodTypeAny, {
734
+ createdAt: string;
735
+ updatedAt: string;
736
+ currency: string;
737
+ items: {
738
+ description: string;
739
+ unit: string;
740
+ quantity: number;
741
+ value?: number | undefined;
742
+ weight?: number | undefined;
743
+ }[];
744
+ waybillNumber: string;
745
+ issueDate: string;
746
+ senderName: string;
747
+ recipientName: string;
748
+ organizationId: string;
749
+ notes?: string | null | undefined;
750
+ totalValue?: number | null | undefined;
751
+ senderAddress?: string | null | undefined;
752
+ senderPhone?: string | null | undefined;
753
+ senderEmail?: string | null | undefined;
754
+ recipientAddress?: string | null | undefined;
755
+ recipientPhone?: string | null | undefined;
756
+ recipientEmail?: string | null | undefined;
757
+ totalWeight?: number | null | undefined;
758
+ pdfUrl?: string | null | undefined;
759
+ }, {
760
+ createdAt: string;
761
+ updatedAt: string;
762
+ items: {
763
+ description: string;
764
+ unit: string;
765
+ quantity: number;
766
+ value?: number | undefined;
767
+ weight?: number | undefined;
768
+ }[];
769
+ waybillNumber: string;
770
+ issueDate: string;
771
+ senderName: string;
772
+ recipientName: string;
773
+ organizationId: string;
774
+ currency?: string | undefined;
775
+ notes?: string | null | undefined;
776
+ totalValue?: number | null | undefined;
777
+ senderAddress?: string | null | undefined;
778
+ senderPhone?: string | null | undefined;
779
+ senderEmail?: string | null | undefined;
780
+ recipientAddress?: string | null | undefined;
781
+ recipientPhone?: string | null | undefined;
782
+ recipientEmail?: string | null | undefined;
783
+ totalWeight?: number | null | undefined;
784
+ pdfUrl?: string | null | undefined;
785
+ }>;
786
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
787
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
788
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
789
+ }, "strip", z.ZodTypeAny, {
790
+ type: string;
791
+ id: string;
792
+ attributes: {
793
+ createdAt: string;
794
+ updatedAt: string;
795
+ currency: string;
796
+ items: {
797
+ description: string;
798
+ unit: string;
799
+ quantity: number;
800
+ value?: number | undefined;
801
+ weight?: number | undefined;
802
+ }[];
803
+ waybillNumber: string;
804
+ issueDate: string;
805
+ senderName: string;
806
+ recipientName: string;
807
+ organizationId: string;
808
+ notes?: string | null | undefined;
809
+ totalValue?: number | null | undefined;
810
+ senderAddress?: string | null | undefined;
811
+ senderPhone?: string | null | undefined;
812
+ senderEmail?: string | null | undefined;
813
+ recipientAddress?: string | null | undefined;
814
+ recipientPhone?: string | null | undefined;
815
+ recipientEmail?: string | null | undefined;
816
+ totalWeight?: number | null | undefined;
817
+ pdfUrl?: string | null | undefined;
818
+ };
819
+ relationships?: Record<string, unknown> | undefined;
820
+ links?: Record<string, string> | undefined;
821
+ meta?: Record<string, unknown> | undefined;
822
+ }, {
823
+ type: string;
824
+ id: string;
825
+ attributes: {
826
+ createdAt: string;
827
+ updatedAt: string;
828
+ items: {
829
+ description: string;
830
+ unit: string;
831
+ quantity: number;
832
+ value?: number | undefined;
833
+ weight?: number | undefined;
834
+ }[];
835
+ waybillNumber: string;
836
+ issueDate: string;
837
+ senderName: string;
838
+ recipientName: string;
839
+ organizationId: string;
840
+ currency?: string | undefined;
841
+ notes?: string | null | undefined;
842
+ totalValue?: number | null | undefined;
843
+ senderAddress?: string | null | undefined;
844
+ senderPhone?: string | null | undefined;
845
+ senderEmail?: string | null | undefined;
846
+ recipientAddress?: string | null | undefined;
847
+ recipientPhone?: string | null | undefined;
848
+ recipientEmail?: string | null | undefined;
849
+ totalWeight?: number | null | undefined;
850
+ pdfUrl?: string | null | undefined;
851
+ };
852
+ relationships?: Record<string, unknown> | undefined;
853
+ links?: Record<string, string> | undefined;
854
+ meta?: Record<string, unknown> | undefined;
855
+ }>;
856
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
857
+ type: z.ZodString;
858
+ id: z.ZodString;
859
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
860
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
861
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
862
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
863
+ }, "strip", z.ZodTypeAny, {
864
+ type: string;
865
+ id: string;
866
+ attributes?: Record<string, unknown> | undefined;
867
+ relationships?: Record<string, unknown> | undefined;
868
+ links?: Record<string, string> | undefined;
869
+ meta?: Record<string, unknown> | undefined;
870
+ }, {
871
+ type: string;
872
+ id: string;
873
+ attributes?: Record<string, unknown> | undefined;
874
+ relationships?: Record<string, unknown> | undefined;
875
+ links?: Record<string, string> | undefined;
876
+ meta?: Record<string, unknown> | undefined;
877
+ }>, "many">>;
878
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
879
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
880
+ }, "strip", z.ZodTypeAny, {
881
+ data: {
882
+ type: string;
883
+ id: string;
884
+ attributes: {
885
+ createdAt: string;
886
+ updatedAt: string;
887
+ currency: string;
888
+ items: {
889
+ description: string;
890
+ unit: string;
891
+ quantity: number;
892
+ value?: number | undefined;
893
+ weight?: number | undefined;
894
+ }[];
895
+ waybillNumber: string;
896
+ issueDate: string;
897
+ senderName: string;
898
+ recipientName: string;
899
+ organizationId: string;
900
+ notes?: string | null | undefined;
901
+ totalValue?: number | null | undefined;
902
+ senderAddress?: string | null | undefined;
903
+ senderPhone?: string | null | undefined;
904
+ senderEmail?: string | null | undefined;
905
+ recipientAddress?: string | null | undefined;
906
+ recipientPhone?: string | null | undefined;
907
+ recipientEmail?: string | null | undefined;
908
+ totalWeight?: number | null | undefined;
909
+ pdfUrl?: string | null | undefined;
910
+ };
911
+ relationships?: Record<string, unknown> | undefined;
912
+ links?: Record<string, string> | undefined;
913
+ meta?: Record<string, unknown> | undefined;
914
+ };
915
+ links?: Record<string, string> | undefined;
916
+ meta?: Record<string, unknown> | undefined;
917
+ included?: {
918
+ type: string;
919
+ id: string;
920
+ attributes?: Record<string, unknown> | undefined;
921
+ relationships?: Record<string, unknown> | undefined;
922
+ links?: Record<string, string> | undefined;
923
+ meta?: Record<string, unknown> | undefined;
924
+ }[] | undefined;
925
+ }, {
926
+ data: {
927
+ type: string;
928
+ id: string;
929
+ attributes: {
930
+ createdAt: string;
931
+ updatedAt: string;
932
+ items: {
933
+ description: string;
934
+ unit: string;
935
+ quantity: number;
936
+ value?: number | undefined;
937
+ weight?: number | undefined;
938
+ }[];
939
+ waybillNumber: string;
940
+ issueDate: string;
941
+ senderName: string;
942
+ recipientName: string;
943
+ organizationId: string;
944
+ currency?: string | undefined;
945
+ notes?: string | null | undefined;
946
+ totalValue?: number | null | undefined;
947
+ senderAddress?: string | null | undefined;
948
+ senderPhone?: string | null | undefined;
949
+ senderEmail?: string | null | undefined;
950
+ recipientAddress?: string | null | undefined;
951
+ recipientPhone?: string | null | undefined;
952
+ recipientEmail?: string | null | undefined;
953
+ totalWeight?: number | null | undefined;
954
+ pdfUrl?: string | null | undefined;
955
+ };
956
+ relationships?: Record<string, unknown> | undefined;
957
+ links?: Record<string, string> | undefined;
958
+ meta?: Record<string, unknown> | undefined;
959
+ };
960
+ links?: Record<string, string> | undefined;
961
+ meta?: Record<string, unknown> | undefined;
962
+ included?: {
963
+ type: string;
964
+ id: string;
965
+ attributes?: Record<string, unknown> | undefined;
966
+ relationships?: Record<string, unknown> | undefined;
967
+ links?: Record<string, string> | undefined;
968
+ meta?: Record<string, unknown> | undefined;
969
+ }[] | undefined;
970
+ }>;
971
+ export declare const waybillListResponseSchema: z.ZodObject<{
972
+ data: z.ZodArray<z.ZodObject<{
973
+ type: z.ZodLiteral<string>;
974
+ id: z.ZodString;
975
+ attributes: z.ZodObject<{
976
+ waybillNumber: z.ZodString;
977
+ issueDate: z.ZodString;
978
+ senderName: z.ZodString;
979
+ senderAddress: z.ZodNullable<z.ZodOptional<z.ZodString>>;
980
+ senderPhone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
981
+ senderEmail: z.ZodNullable<z.ZodOptional<z.ZodString>>;
982
+ recipientName: z.ZodString;
983
+ recipientAddress: z.ZodNullable<z.ZodOptional<z.ZodString>>;
984
+ recipientPhone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
985
+ recipientEmail: z.ZodNullable<z.ZodOptional<z.ZodString>>;
986
+ items: z.ZodArray<z.ZodObject<{
987
+ description: z.ZodString;
988
+ quantity: z.ZodNumber;
989
+ unit: z.ZodString;
990
+ weight: z.ZodOptional<z.ZodNumber>;
991
+ value: z.ZodOptional<z.ZodNumber>;
992
+ }, "strip", z.ZodTypeAny, {
993
+ description: string;
994
+ unit: string;
995
+ quantity: number;
996
+ value?: number | undefined;
997
+ weight?: number | undefined;
998
+ }, {
999
+ description: string;
1000
+ unit: string;
1001
+ quantity: number;
1002
+ value?: number | undefined;
1003
+ weight?: number | undefined;
1004
+ }>, "many">;
1005
+ totalWeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1006
+ totalValue: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1007
+ currency: z.ZodDefault<z.ZodString>;
1008
+ notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1009
+ pdfUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1010
+ organizationId: z.ZodString;
1011
+ } & {
1012
+ createdAt: z.ZodString;
1013
+ updatedAt: z.ZodString;
1014
+ }, "strip", z.ZodTypeAny, {
1015
+ createdAt: string;
1016
+ updatedAt: string;
1017
+ currency: string;
1018
+ items: {
1019
+ description: string;
1020
+ unit: string;
1021
+ quantity: number;
1022
+ value?: number | undefined;
1023
+ weight?: number | undefined;
1024
+ }[];
1025
+ waybillNumber: string;
1026
+ issueDate: string;
1027
+ senderName: string;
1028
+ recipientName: string;
1029
+ organizationId: string;
1030
+ notes?: string | null | undefined;
1031
+ totalValue?: number | null | undefined;
1032
+ senderAddress?: string | null | undefined;
1033
+ senderPhone?: string | null | undefined;
1034
+ senderEmail?: string | null | undefined;
1035
+ recipientAddress?: string | null | undefined;
1036
+ recipientPhone?: string | null | undefined;
1037
+ recipientEmail?: string | null | undefined;
1038
+ totalWeight?: number | null | undefined;
1039
+ pdfUrl?: string | null | undefined;
1040
+ }, {
1041
+ createdAt: string;
1042
+ updatedAt: string;
1043
+ items: {
1044
+ description: string;
1045
+ unit: string;
1046
+ quantity: number;
1047
+ value?: number | undefined;
1048
+ weight?: number | undefined;
1049
+ }[];
1050
+ waybillNumber: string;
1051
+ issueDate: string;
1052
+ senderName: string;
1053
+ recipientName: string;
1054
+ organizationId: string;
1055
+ currency?: string | undefined;
1056
+ notes?: string | null | undefined;
1057
+ totalValue?: number | null | undefined;
1058
+ senderAddress?: string | null | undefined;
1059
+ senderPhone?: string | null | undefined;
1060
+ senderEmail?: string | null | undefined;
1061
+ recipientAddress?: string | null | undefined;
1062
+ recipientPhone?: string | null | undefined;
1063
+ recipientEmail?: string | null | undefined;
1064
+ totalWeight?: number | null | undefined;
1065
+ pdfUrl?: string | null | undefined;
1066
+ }>;
1067
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1068
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1069
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1070
+ }, "strip", z.ZodTypeAny, {
1071
+ type: string;
1072
+ id: string;
1073
+ attributes: {
1074
+ createdAt: string;
1075
+ updatedAt: string;
1076
+ currency: string;
1077
+ items: {
1078
+ description: string;
1079
+ unit: string;
1080
+ quantity: number;
1081
+ value?: number | undefined;
1082
+ weight?: number | undefined;
1083
+ }[];
1084
+ waybillNumber: string;
1085
+ issueDate: string;
1086
+ senderName: string;
1087
+ recipientName: string;
1088
+ organizationId: string;
1089
+ notes?: string | null | undefined;
1090
+ totalValue?: number | null | undefined;
1091
+ senderAddress?: string | null | undefined;
1092
+ senderPhone?: string | null | undefined;
1093
+ senderEmail?: string | null | undefined;
1094
+ recipientAddress?: string | null | undefined;
1095
+ recipientPhone?: string | null | undefined;
1096
+ recipientEmail?: string | null | undefined;
1097
+ totalWeight?: number | null | undefined;
1098
+ pdfUrl?: string | null | undefined;
1099
+ };
1100
+ relationships?: Record<string, unknown> | undefined;
1101
+ links?: Record<string, string> | undefined;
1102
+ meta?: Record<string, unknown> | undefined;
1103
+ }, {
1104
+ type: string;
1105
+ id: string;
1106
+ attributes: {
1107
+ createdAt: string;
1108
+ updatedAt: string;
1109
+ items: {
1110
+ description: string;
1111
+ unit: string;
1112
+ quantity: number;
1113
+ value?: number | undefined;
1114
+ weight?: number | undefined;
1115
+ }[];
1116
+ waybillNumber: string;
1117
+ issueDate: string;
1118
+ senderName: string;
1119
+ recipientName: string;
1120
+ organizationId: string;
1121
+ currency?: string | undefined;
1122
+ notes?: string | null | undefined;
1123
+ totalValue?: number | null | undefined;
1124
+ senderAddress?: string | null | undefined;
1125
+ senderPhone?: string | null | undefined;
1126
+ senderEmail?: string | null | undefined;
1127
+ recipientAddress?: string | null | undefined;
1128
+ recipientPhone?: string | null | undefined;
1129
+ recipientEmail?: string | null | undefined;
1130
+ totalWeight?: number | null | undefined;
1131
+ pdfUrl?: string | null | undefined;
1132
+ };
1133
+ relationships?: Record<string, unknown> | undefined;
1134
+ links?: Record<string, string> | undefined;
1135
+ meta?: Record<string, unknown> | undefined;
1136
+ }>, "many">;
1137
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
1138
+ type: z.ZodString;
1139
+ id: z.ZodString;
1140
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1141
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1142
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1143
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1144
+ }, "strip", z.ZodTypeAny, {
1145
+ type: string;
1146
+ id: string;
1147
+ attributes?: Record<string, unknown> | undefined;
1148
+ relationships?: Record<string, unknown> | undefined;
1149
+ links?: Record<string, string> | undefined;
1150
+ meta?: Record<string, unknown> | undefined;
1151
+ }, {
1152
+ type: string;
1153
+ id: string;
1154
+ attributes?: Record<string, unknown> | undefined;
1155
+ relationships?: Record<string, unknown> | undefined;
1156
+ links?: Record<string, string> | undefined;
1157
+ meta?: Record<string, unknown> | undefined;
1158
+ }>, "many">>;
1159
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1160
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1161
+ }, "strip", z.ZodTypeAny, {
1162
+ data: {
1163
+ type: string;
1164
+ id: string;
1165
+ attributes: {
1166
+ createdAt: string;
1167
+ updatedAt: string;
1168
+ currency: string;
1169
+ items: {
1170
+ description: string;
1171
+ unit: string;
1172
+ quantity: number;
1173
+ value?: number | undefined;
1174
+ weight?: number | undefined;
1175
+ }[];
1176
+ waybillNumber: string;
1177
+ issueDate: string;
1178
+ senderName: string;
1179
+ recipientName: string;
1180
+ organizationId: string;
1181
+ notes?: string | null | undefined;
1182
+ totalValue?: number | null | undefined;
1183
+ senderAddress?: string | null | undefined;
1184
+ senderPhone?: string | null | undefined;
1185
+ senderEmail?: string | null | undefined;
1186
+ recipientAddress?: string | null | undefined;
1187
+ recipientPhone?: string | null | undefined;
1188
+ recipientEmail?: string | null | undefined;
1189
+ totalWeight?: number | null | undefined;
1190
+ pdfUrl?: string | null | undefined;
1191
+ };
1192
+ relationships?: Record<string, unknown> | undefined;
1193
+ links?: Record<string, string> | undefined;
1194
+ meta?: Record<string, unknown> | undefined;
1195
+ }[];
1196
+ links?: Record<string, string> | undefined;
1197
+ meta?: Record<string, unknown> | undefined;
1198
+ included?: {
1199
+ type: string;
1200
+ id: string;
1201
+ attributes?: Record<string, unknown> | undefined;
1202
+ relationships?: Record<string, unknown> | undefined;
1203
+ links?: Record<string, string> | undefined;
1204
+ meta?: Record<string, unknown> | undefined;
1205
+ }[] | undefined;
1206
+ }, {
1207
+ data: {
1208
+ type: string;
1209
+ id: string;
1210
+ attributes: {
1211
+ createdAt: string;
1212
+ updatedAt: string;
1213
+ items: {
1214
+ description: string;
1215
+ unit: string;
1216
+ quantity: number;
1217
+ value?: number | undefined;
1218
+ weight?: number | undefined;
1219
+ }[];
1220
+ waybillNumber: string;
1221
+ issueDate: string;
1222
+ senderName: string;
1223
+ recipientName: string;
1224
+ organizationId: string;
1225
+ currency?: string | undefined;
1226
+ notes?: string | null | undefined;
1227
+ totalValue?: number | null | undefined;
1228
+ senderAddress?: string | null | undefined;
1229
+ senderPhone?: string | null | undefined;
1230
+ senderEmail?: string | null | undefined;
1231
+ recipientAddress?: string | null | undefined;
1232
+ recipientPhone?: string | null | undefined;
1233
+ recipientEmail?: string | null | undefined;
1234
+ totalWeight?: number | null | undefined;
1235
+ pdfUrl?: string | null | undefined;
1236
+ };
1237
+ relationships?: Record<string, unknown> | undefined;
1238
+ links?: Record<string, string> | undefined;
1239
+ meta?: Record<string, unknown> | undefined;
1240
+ }[];
1241
+ links?: Record<string, string> | undefined;
1242
+ meta?: Record<string, unknown> | undefined;
1243
+ included?: {
1244
+ type: string;
1245
+ id: string;
1246
+ attributes?: Record<string, unknown> | undefined;
1247
+ relationships?: Record<string, unknown> | undefined;
1248
+ links?: Record<string, string> | undefined;
1249
+ meta?: Record<string, unknown> | undefined;
1250
+ }[] | undefined;
1251
+ }>;
1252
+ export type WaybillItem = z.infer<typeof waybillItemSchema>;
1253
+ export type CreateWaybillAttributes = z.infer<typeof createWaybillAttributesSchema>;
1254
+ export type UpdateWaybillAttributes = z.infer<typeof updateWaybillAttributesSchema>;
1255
+ export type CreateWaybillInput = z.infer<typeof createWaybillSchema>;
1256
+ export type UpdateWaybillInput = z.infer<typeof updateWaybillSchema>;
1257
+ export type WaybillAttributes = z.infer<typeof waybillAttributesSchema>;
1258
+ export type WaybillResource = z.infer<typeof waybillResourceSchema>;
1259
+ export type WaybillResponse = z.infer<typeof waybillResponseSchema>;
1260
+ export type WaybillListResponse = z.infer<typeof waybillListResponseSchema>;
1261
+ //# sourceMappingURL=waybills.schemas.d.ts.map