@deepintel-ltd/farmpro-contracts 1.5.21 → 1.5.22

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,18 +8,27 @@ export declare const invoiceItemSchema: z.ZodObject<{
8
8
  unitPrice: z.ZodNumber;
9
9
  amount: z.ZodNumber;
10
10
  taxRate: z.ZodOptional<z.ZodNumber>;
11
+ truckPlateNumber: z.ZodOptional<z.ZodString>;
12
+ weight: z.ZodOptional<z.ZodNumber>;
13
+ remark: z.ZodOptional<z.ZodString>;
11
14
  }, "strip", z.ZodTypeAny, {
12
15
  description: string;
13
16
  quantity: number;
14
17
  amount: number;
15
18
  unitPrice: number;
19
+ weight?: number | undefined;
20
+ truckPlateNumber?: string | undefined;
16
21
  taxRate?: number | undefined;
22
+ remark?: string | undefined;
17
23
  }, {
18
24
  description: string;
19
25
  quantity: number;
20
26
  amount: number;
21
27
  unitPrice: number;
28
+ weight?: number | undefined;
29
+ truckPlateNumber?: string | undefined;
22
30
  taxRate?: number | undefined;
31
+ remark?: string | undefined;
23
32
  }>;
24
33
  export declare const invoiceAttributesSchema: z.ZodObject<{
25
34
  invoiceNumber: z.ZodString;
@@ -41,18 +50,27 @@ export declare const invoiceAttributesSchema: z.ZodObject<{
41
50
  unitPrice: z.ZodNumber;
42
51
  amount: z.ZodNumber;
43
52
  taxRate: z.ZodOptional<z.ZodNumber>;
53
+ truckPlateNumber: z.ZodOptional<z.ZodString>;
54
+ weight: z.ZodOptional<z.ZodNumber>;
55
+ remark: z.ZodOptional<z.ZodString>;
44
56
  }, "strip", z.ZodTypeAny, {
45
57
  description: string;
46
58
  quantity: number;
47
59
  amount: number;
48
60
  unitPrice: number;
61
+ weight?: number | undefined;
62
+ truckPlateNumber?: string | undefined;
49
63
  taxRate?: number | undefined;
64
+ remark?: string | undefined;
50
65
  }, {
51
66
  description: string;
52
67
  quantity: number;
53
68
  amount: number;
54
69
  unitPrice: number;
70
+ weight?: number | undefined;
71
+ truckPlateNumber?: string | undefined;
55
72
  taxRate?: number | undefined;
73
+ remark?: string | undefined;
56
74
  }>, "many">;
57
75
  subtotal: z.ZodNumber;
58
76
  taxRate: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -65,6 +83,9 @@ export declare const invoiceAttributesSchema: z.ZodObject<{
65
83
  paidAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
66
84
  notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
67
85
  pdfUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
86
+ bankAccountId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
87
+ waybillNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
88
+ totalInWords: z.ZodNullable<z.ZodOptional<z.ZodString>>;
68
89
  organizationId: z.ZodString;
69
90
  } & {
70
91
  createdAt: z.ZodString;
@@ -79,7 +100,10 @@ export declare const invoiceAttributesSchema: z.ZodObject<{
79
100
  quantity: number;
80
101
  amount: number;
81
102
  unitPrice: number;
103
+ weight?: number | undefined;
104
+ truckPlateNumber?: string | undefined;
82
105
  taxRate?: number | undefined;
106
+ remark?: string | undefined;
83
107
  }[];
84
108
  organizationId: string;
85
109
  issueDate: string;
@@ -90,6 +114,7 @@ export declare const invoiceAttributesSchema: z.ZodObject<{
90
114
  paymentStatus: "pending" | "cancelled" | "paid" | "overdue";
91
115
  notes?: string | null | undefined;
92
116
  paidAt?: string | null | undefined;
117
+ waybillNumber?: string | null | undefined;
93
118
  pdfUrl?: string | null | undefined;
94
119
  taxRate?: number | null | undefined;
95
120
  dueDate?: string | null | undefined;
@@ -104,6 +129,8 @@ export declare const invoiceAttributesSchema: z.ZodObject<{
104
129
  taxAmount?: number | null | undefined;
105
130
  discount?: number | null | undefined;
106
131
  paymentTerms?: string | null | undefined;
132
+ bankAccountId?: string | null | undefined;
133
+ totalInWords?: string | null | undefined;
107
134
  }, {
108
135
  createdAt: string;
109
136
  updatedAt: string;
@@ -113,7 +140,10 @@ export declare const invoiceAttributesSchema: z.ZodObject<{
113
140
  quantity: number;
114
141
  amount: number;
115
142
  unitPrice: number;
143
+ weight?: number | undefined;
144
+ truckPlateNumber?: string | undefined;
116
145
  taxRate?: number | undefined;
146
+ remark?: string | undefined;
117
147
  }[];
118
148
  organizationId: string;
119
149
  issueDate: string;
@@ -124,6 +154,7 @@ export declare const invoiceAttributesSchema: z.ZodObject<{
124
154
  currency?: string | undefined;
125
155
  notes?: string | null | undefined;
126
156
  paidAt?: string | null | undefined;
157
+ waybillNumber?: string | null | undefined;
127
158
  pdfUrl?: string | null | undefined;
128
159
  taxRate?: number | null | undefined;
129
160
  dueDate?: string | null | undefined;
@@ -139,6 +170,8 @@ export declare const invoiceAttributesSchema: z.ZodObject<{
139
170
  discount?: number | null | undefined;
140
171
  paymentTerms?: string | null | undefined;
141
172
  paymentStatus?: "pending" | "cancelled" | "paid" | "overdue" | undefined;
173
+ bankAccountId?: string | null | undefined;
174
+ totalInWords?: string | null | undefined;
142
175
  }>;
143
176
  export declare const createInvoiceAttributesSchema: z.ZodObject<{
144
177
  issueDate: z.ZodOptional<z.ZodString>;
@@ -159,24 +192,36 @@ export declare const createInvoiceAttributesSchema: z.ZodObject<{
159
192
  unitPrice: z.ZodNumber;
160
193
  amount: z.ZodNumber;
161
194
  taxRate: z.ZodOptional<z.ZodNumber>;
195
+ truckPlateNumber: z.ZodOptional<z.ZodString>;
196
+ weight: z.ZodOptional<z.ZodNumber>;
197
+ remark: z.ZodOptional<z.ZodString>;
162
198
  }, "strip", z.ZodTypeAny, {
163
199
  description: string;
164
200
  quantity: number;
165
201
  amount: number;
166
202
  unitPrice: number;
203
+ weight?: number | undefined;
204
+ truckPlateNumber?: string | undefined;
167
205
  taxRate?: number | undefined;
206
+ remark?: string | undefined;
168
207
  }, {
169
208
  description: string;
170
209
  quantity: number;
171
210
  amount: number;
172
211
  unitPrice: number;
212
+ weight?: number | undefined;
213
+ truckPlateNumber?: string | undefined;
173
214
  taxRate?: number | undefined;
215
+ remark?: string | undefined;
174
216
  }>, "many">;
175
217
  taxRate: z.ZodOptional<z.ZodNumber>;
176
218
  discount: z.ZodOptional<z.ZodNumber>;
177
219
  currency: z.ZodDefault<z.ZodString>;
178
220
  paymentTerms: z.ZodOptional<z.ZodString>;
179
221
  notes: z.ZodOptional<z.ZodString>;
222
+ bankAccountId: z.ZodOptional<z.ZodString>;
223
+ waybillNumber: z.ZodOptional<z.ZodString>;
224
+ totalInWords: z.ZodOptional<z.ZodString>;
180
225
  }, "strip", z.ZodTypeAny, {
181
226
  currency: string;
182
227
  items: {
@@ -184,11 +229,15 @@ export declare const createInvoiceAttributesSchema: z.ZodObject<{
184
229
  quantity: number;
185
230
  amount: number;
186
231
  unitPrice: number;
232
+ weight?: number | undefined;
233
+ truckPlateNumber?: string | undefined;
187
234
  taxRate?: number | undefined;
235
+ remark?: string | undefined;
188
236
  }[];
189
237
  billFromName: string;
190
238
  billToName: string;
191
239
  notes?: string | undefined;
240
+ waybillNumber?: string | undefined;
192
241
  issueDate?: string | undefined;
193
242
  taxRate?: number | undefined;
194
243
  dueDate?: string | undefined;
@@ -202,18 +251,24 @@ export declare const createInvoiceAttributesSchema: z.ZodObject<{
202
251
  billToTaxId?: string | undefined;
203
252
  discount?: number | undefined;
204
253
  paymentTerms?: string | undefined;
254
+ bankAccountId?: string | undefined;
255
+ totalInWords?: string | undefined;
205
256
  }, {
206
257
  items: {
207
258
  description: string;
208
259
  quantity: number;
209
260
  amount: number;
210
261
  unitPrice: number;
262
+ weight?: number | undefined;
263
+ truckPlateNumber?: string | undefined;
211
264
  taxRate?: number | undefined;
265
+ remark?: string | undefined;
212
266
  }[];
213
267
  billFromName: string;
214
268
  billToName: string;
215
269
  currency?: string | undefined;
216
270
  notes?: string | undefined;
271
+ waybillNumber?: string | undefined;
217
272
  issueDate?: string | undefined;
218
273
  taxRate?: number | undefined;
219
274
  dueDate?: string | undefined;
@@ -227,6 +282,8 @@ export declare const createInvoiceAttributesSchema: z.ZodObject<{
227
282
  billToTaxId?: string | undefined;
228
283
  discount?: number | undefined;
229
284
  paymentTerms?: string | undefined;
285
+ bankAccountId?: string | undefined;
286
+ totalInWords?: string | undefined;
230
287
  }>;
231
288
  export declare const updateInvoiceAttributesSchema: z.ZodObject<{
232
289
  issueDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -247,24 +304,36 @@ export declare const updateInvoiceAttributesSchema: z.ZodObject<{
247
304
  unitPrice: z.ZodNumber;
248
305
  amount: z.ZodNumber;
249
306
  taxRate: z.ZodOptional<z.ZodNumber>;
307
+ truckPlateNumber: z.ZodOptional<z.ZodString>;
308
+ weight: z.ZodOptional<z.ZodNumber>;
309
+ remark: z.ZodOptional<z.ZodString>;
250
310
  }, "strip", z.ZodTypeAny, {
251
311
  description: string;
252
312
  quantity: number;
253
313
  amount: number;
254
314
  unitPrice: number;
315
+ weight?: number | undefined;
316
+ truckPlateNumber?: string | undefined;
255
317
  taxRate?: number | undefined;
318
+ remark?: string | undefined;
256
319
  }, {
257
320
  description: string;
258
321
  quantity: number;
259
322
  amount: number;
260
323
  unitPrice: number;
324
+ weight?: number | undefined;
325
+ truckPlateNumber?: string | undefined;
261
326
  taxRate?: number | undefined;
327
+ remark?: string | undefined;
262
328
  }>, "many">>;
263
329
  taxRate: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
264
330
  discount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
265
331
  currency: z.ZodOptional<z.ZodDefault<z.ZodString>>;
266
332
  paymentTerms: z.ZodOptional<z.ZodOptional<z.ZodString>>;
267
333
  notes: z.ZodOptional<z.ZodOptional<z.ZodString>>;
334
+ bankAccountId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
335
+ waybillNumber: z.ZodOptional<z.ZodOptional<z.ZodString>>;
336
+ totalInWords: z.ZodOptional<z.ZodOptional<z.ZodString>>;
268
337
  } & {
269
338
  paymentStatus: z.ZodOptional<z.ZodEnum<["pending", "paid", "overdue", "cancelled"]>>;
270
339
  }, "strip", z.ZodTypeAny, {
@@ -275,8 +344,12 @@ export declare const updateInvoiceAttributesSchema: z.ZodObject<{
275
344
  quantity: number;
276
345
  amount: number;
277
346
  unitPrice: number;
347
+ weight?: number | undefined;
348
+ truckPlateNumber?: string | undefined;
278
349
  taxRate?: number | undefined;
350
+ remark?: string | undefined;
279
351
  }[] | undefined;
352
+ waybillNumber?: string | undefined;
280
353
  issueDate?: string | undefined;
281
354
  taxRate?: number | undefined;
282
355
  dueDate?: string | undefined;
@@ -293,6 +366,8 @@ export declare const updateInvoiceAttributesSchema: z.ZodObject<{
293
366
  discount?: number | undefined;
294
367
  paymentTerms?: string | undefined;
295
368
  paymentStatus?: "pending" | "cancelled" | "paid" | "overdue" | undefined;
369
+ bankAccountId?: string | undefined;
370
+ totalInWords?: string | undefined;
296
371
  }, {
297
372
  currency?: string | undefined;
298
373
  notes?: string | undefined;
@@ -301,8 +376,12 @@ export declare const updateInvoiceAttributesSchema: z.ZodObject<{
301
376
  quantity: number;
302
377
  amount: number;
303
378
  unitPrice: number;
379
+ weight?: number | undefined;
380
+ truckPlateNumber?: string | undefined;
304
381
  taxRate?: number | undefined;
382
+ remark?: string | undefined;
305
383
  }[] | undefined;
384
+ waybillNumber?: string | undefined;
306
385
  issueDate?: string | undefined;
307
386
  taxRate?: number | undefined;
308
387
  dueDate?: string | undefined;
@@ -319,6 +398,8 @@ export declare const updateInvoiceAttributesSchema: z.ZodObject<{
319
398
  discount?: number | undefined;
320
399
  paymentTerms?: string | undefined;
321
400
  paymentStatus?: "pending" | "cancelled" | "paid" | "overdue" | undefined;
401
+ bankAccountId?: string | undefined;
402
+ totalInWords?: string | undefined;
322
403
  }>;
323
404
  export declare const createInvoiceSchema: z.ZodObject<{
324
405
  type: z.ZodLiteral<"invoices">;
@@ -341,24 +422,36 @@ export declare const createInvoiceSchema: z.ZodObject<{
341
422
  unitPrice: z.ZodNumber;
342
423
  amount: z.ZodNumber;
343
424
  taxRate: z.ZodOptional<z.ZodNumber>;
425
+ truckPlateNumber: z.ZodOptional<z.ZodString>;
426
+ weight: z.ZodOptional<z.ZodNumber>;
427
+ remark: z.ZodOptional<z.ZodString>;
344
428
  }, "strip", z.ZodTypeAny, {
345
429
  description: string;
346
430
  quantity: number;
347
431
  amount: number;
348
432
  unitPrice: number;
433
+ weight?: number | undefined;
434
+ truckPlateNumber?: string | undefined;
349
435
  taxRate?: number | undefined;
436
+ remark?: string | undefined;
350
437
  }, {
351
438
  description: string;
352
439
  quantity: number;
353
440
  amount: number;
354
441
  unitPrice: number;
442
+ weight?: number | undefined;
443
+ truckPlateNumber?: string | undefined;
355
444
  taxRate?: number | undefined;
445
+ remark?: string | undefined;
356
446
  }>, "many">;
357
447
  taxRate: z.ZodOptional<z.ZodNumber>;
358
448
  discount: z.ZodOptional<z.ZodNumber>;
359
449
  currency: z.ZodDefault<z.ZodString>;
360
450
  paymentTerms: z.ZodOptional<z.ZodString>;
361
451
  notes: z.ZodOptional<z.ZodString>;
452
+ bankAccountId: z.ZodOptional<z.ZodString>;
453
+ waybillNumber: z.ZodOptional<z.ZodString>;
454
+ totalInWords: z.ZodOptional<z.ZodString>;
362
455
  }, "strip", z.ZodTypeAny, {
363
456
  currency: string;
364
457
  items: {
@@ -366,11 +459,15 @@ export declare const createInvoiceSchema: z.ZodObject<{
366
459
  quantity: number;
367
460
  amount: number;
368
461
  unitPrice: number;
462
+ weight?: number | undefined;
463
+ truckPlateNumber?: string | undefined;
369
464
  taxRate?: number | undefined;
465
+ remark?: string | undefined;
370
466
  }[];
371
467
  billFromName: string;
372
468
  billToName: string;
373
469
  notes?: string | undefined;
470
+ waybillNumber?: string | undefined;
374
471
  issueDate?: string | undefined;
375
472
  taxRate?: number | undefined;
376
473
  dueDate?: string | undefined;
@@ -384,18 +481,24 @@ export declare const createInvoiceSchema: z.ZodObject<{
384
481
  billToTaxId?: string | undefined;
385
482
  discount?: number | undefined;
386
483
  paymentTerms?: string | undefined;
484
+ bankAccountId?: string | undefined;
485
+ totalInWords?: string | undefined;
387
486
  }, {
388
487
  items: {
389
488
  description: string;
390
489
  quantity: number;
391
490
  amount: number;
392
491
  unitPrice: number;
492
+ weight?: number | undefined;
493
+ truckPlateNumber?: string | undefined;
393
494
  taxRate?: number | undefined;
495
+ remark?: string | undefined;
394
496
  }[];
395
497
  billFromName: string;
396
498
  billToName: string;
397
499
  currency?: string | undefined;
398
500
  notes?: string | undefined;
501
+ waybillNumber?: string | undefined;
399
502
  issueDate?: string | undefined;
400
503
  taxRate?: number | undefined;
401
504
  dueDate?: string | undefined;
@@ -409,6 +512,8 @@ export declare const createInvoiceSchema: z.ZodObject<{
409
512
  billToTaxId?: string | undefined;
410
513
  discount?: number | undefined;
411
514
  paymentTerms?: string | undefined;
515
+ bankAccountId?: string | undefined;
516
+ totalInWords?: string | undefined;
412
517
  }>;
413
518
  }, "strip", z.ZodTypeAny, {
414
519
  type: "invoices";
@@ -419,11 +524,15 @@ export declare const createInvoiceSchema: z.ZodObject<{
419
524
  quantity: number;
420
525
  amount: number;
421
526
  unitPrice: number;
527
+ weight?: number | undefined;
528
+ truckPlateNumber?: string | undefined;
422
529
  taxRate?: number | undefined;
530
+ remark?: string | undefined;
423
531
  }[];
424
532
  billFromName: string;
425
533
  billToName: string;
426
534
  notes?: string | undefined;
535
+ waybillNumber?: string | undefined;
427
536
  issueDate?: string | undefined;
428
537
  taxRate?: number | undefined;
429
538
  dueDate?: string | undefined;
@@ -437,6 +546,8 @@ export declare const createInvoiceSchema: z.ZodObject<{
437
546
  billToTaxId?: string | undefined;
438
547
  discount?: number | undefined;
439
548
  paymentTerms?: string | undefined;
549
+ bankAccountId?: string | undefined;
550
+ totalInWords?: string | undefined;
440
551
  };
441
552
  }, {
442
553
  type: "invoices";
@@ -446,12 +557,16 @@ export declare const createInvoiceSchema: z.ZodObject<{
446
557
  quantity: number;
447
558
  amount: number;
448
559
  unitPrice: number;
560
+ weight?: number | undefined;
561
+ truckPlateNumber?: string | undefined;
449
562
  taxRate?: number | undefined;
563
+ remark?: string | undefined;
450
564
  }[];
451
565
  billFromName: string;
452
566
  billToName: string;
453
567
  currency?: string | undefined;
454
568
  notes?: string | undefined;
569
+ waybillNumber?: string | undefined;
455
570
  issueDate?: string | undefined;
456
571
  taxRate?: number | undefined;
457
572
  dueDate?: string | undefined;
@@ -465,6 +580,8 @@ export declare const createInvoiceSchema: z.ZodObject<{
465
580
  billToTaxId?: string | undefined;
466
581
  discount?: number | undefined;
467
582
  paymentTerms?: string | undefined;
583
+ bankAccountId?: string | undefined;
584
+ totalInWords?: string | undefined;
468
585
  };
469
586
  }>;
470
587
  export declare const updateInvoiceSchema: z.ZodObject<{
@@ -489,24 +606,36 @@ export declare const updateInvoiceSchema: z.ZodObject<{
489
606
  unitPrice: z.ZodNumber;
490
607
  amount: z.ZodNumber;
491
608
  taxRate: z.ZodOptional<z.ZodNumber>;
609
+ truckPlateNumber: z.ZodOptional<z.ZodString>;
610
+ weight: z.ZodOptional<z.ZodNumber>;
611
+ remark: z.ZodOptional<z.ZodString>;
492
612
  }, "strip", z.ZodTypeAny, {
493
613
  description: string;
494
614
  quantity: number;
495
615
  amount: number;
496
616
  unitPrice: number;
617
+ weight?: number | undefined;
618
+ truckPlateNumber?: string | undefined;
497
619
  taxRate?: number | undefined;
620
+ remark?: string | undefined;
498
621
  }, {
499
622
  description: string;
500
623
  quantity: number;
501
624
  amount: number;
502
625
  unitPrice: number;
626
+ weight?: number | undefined;
627
+ truckPlateNumber?: string | undefined;
503
628
  taxRate?: number | undefined;
629
+ remark?: string | undefined;
504
630
  }>, "many">>;
505
631
  taxRate: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
506
632
  discount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
507
633
  currency: z.ZodOptional<z.ZodDefault<z.ZodString>>;
508
634
  paymentTerms: z.ZodOptional<z.ZodOptional<z.ZodString>>;
509
635
  notes: z.ZodOptional<z.ZodOptional<z.ZodString>>;
636
+ bankAccountId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
637
+ waybillNumber: z.ZodOptional<z.ZodOptional<z.ZodString>>;
638
+ totalInWords: z.ZodOptional<z.ZodOptional<z.ZodString>>;
510
639
  } & {
511
640
  paymentStatus: z.ZodOptional<z.ZodEnum<["pending", "paid", "overdue", "cancelled"]>>;
512
641
  }, "strip", z.ZodTypeAny, {
@@ -517,8 +646,12 @@ export declare const updateInvoiceSchema: z.ZodObject<{
517
646
  quantity: number;
518
647
  amount: number;
519
648
  unitPrice: number;
649
+ weight?: number | undefined;
650
+ truckPlateNumber?: string | undefined;
520
651
  taxRate?: number | undefined;
652
+ remark?: string | undefined;
521
653
  }[] | undefined;
654
+ waybillNumber?: string | undefined;
522
655
  issueDate?: string | undefined;
523
656
  taxRate?: number | undefined;
524
657
  dueDate?: string | undefined;
@@ -535,6 +668,8 @@ export declare const updateInvoiceSchema: z.ZodObject<{
535
668
  discount?: number | undefined;
536
669
  paymentTerms?: string | undefined;
537
670
  paymentStatus?: "pending" | "cancelled" | "paid" | "overdue" | undefined;
671
+ bankAccountId?: string | undefined;
672
+ totalInWords?: string | undefined;
538
673
  }, {
539
674
  currency?: string | undefined;
540
675
  notes?: string | undefined;
@@ -543,8 +678,12 @@ export declare const updateInvoiceSchema: z.ZodObject<{
543
678
  quantity: number;
544
679
  amount: number;
545
680
  unitPrice: number;
681
+ weight?: number | undefined;
682
+ truckPlateNumber?: string | undefined;
546
683
  taxRate?: number | undefined;
684
+ remark?: string | undefined;
547
685
  }[] | undefined;
686
+ waybillNumber?: string | undefined;
548
687
  issueDate?: string | undefined;
549
688
  taxRate?: number | undefined;
550
689
  dueDate?: string | undefined;
@@ -561,6 +700,8 @@ export declare const updateInvoiceSchema: z.ZodObject<{
561
700
  discount?: number | undefined;
562
701
  paymentTerms?: string | undefined;
563
702
  paymentStatus?: "pending" | "cancelled" | "paid" | "overdue" | undefined;
703
+ bankAccountId?: string | undefined;
704
+ totalInWords?: string | undefined;
564
705
  }>;
565
706
  }, "strip", z.ZodTypeAny, {
566
707
  type: "invoices";
@@ -573,8 +714,12 @@ export declare const updateInvoiceSchema: z.ZodObject<{
573
714
  quantity: number;
574
715
  amount: number;
575
716
  unitPrice: number;
717
+ weight?: number | undefined;
718
+ truckPlateNumber?: string | undefined;
576
719
  taxRate?: number | undefined;
720
+ remark?: string | undefined;
577
721
  }[] | undefined;
722
+ waybillNumber?: string | undefined;
578
723
  issueDate?: string | undefined;
579
724
  taxRate?: number | undefined;
580
725
  dueDate?: string | undefined;
@@ -591,6 +736,8 @@ export declare const updateInvoiceSchema: z.ZodObject<{
591
736
  discount?: number | undefined;
592
737
  paymentTerms?: string | undefined;
593
738
  paymentStatus?: "pending" | "cancelled" | "paid" | "overdue" | undefined;
739
+ bankAccountId?: string | undefined;
740
+ totalInWords?: string | undefined;
594
741
  };
595
742
  }, {
596
743
  type: "invoices";
@@ -603,8 +750,12 @@ export declare const updateInvoiceSchema: z.ZodObject<{
603
750
  quantity: number;
604
751
  amount: number;
605
752
  unitPrice: number;
753
+ weight?: number | undefined;
754
+ truckPlateNumber?: string | undefined;
606
755
  taxRate?: number | undefined;
756
+ remark?: string | undefined;
607
757
  }[] | undefined;
758
+ waybillNumber?: string | undefined;
608
759
  issueDate?: string | undefined;
609
760
  taxRate?: number | undefined;
610
761
  dueDate?: string | undefined;
@@ -621,6 +772,8 @@ export declare const updateInvoiceSchema: z.ZodObject<{
621
772
  discount?: number | undefined;
622
773
  paymentTerms?: string | undefined;
623
774
  paymentStatus?: "pending" | "cancelled" | "paid" | "overdue" | undefined;
775
+ bankAccountId?: string | undefined;
776
+ totalInWords?: string | undefined;
624
777
  };
625
778
  }>;
626
779
  export declare const invoiceResourceSchema: z.ZodObject<{
@@ -646,18 +799,27 @@ export declare const invoiceResourceSchema: z.ZodObject<{
646
799
  unitPrice: z.ZodNumber;
647
800
  amount: z.ZodNumber;
648
801
  taxRate: z.ZodOptional<z.ZodNumber>;
802
+ truckPlateNumber: z.ZodOptional<z.ZodString>;
803
+ weight: z.ZodOptional<z.ZodNumber>;
804
+ remark: z.ZodOptional<z.ZodString>;
649
805
  }, "strip", z.ZodTypeAny, {
650
806
  description: string;
651
807
  quantity: number;
652
808
  amount: number;
653
809
  unitPrice: number;
810
+ weight?: number | undefined;
811
+ truckPlateNumber?: string | undefined;
654
812
  taxRate?: number | undefined;
813
+ remark?: string | undefined;
655
814
  }, {
656
815
  description: string;
657
816
  quantity: number;
658
817
  amount: number;
659
818
  unitPrice: number;
819
+ weight?: number | undefined;
820
+ truckPlateNumber?: string | undefined;
660
821
  taxRate?: number | undefined;
822
+ remark?: string | undefined;
661
823
  }>, "many">;
662
824
  subtotal: z.ZodNumber;
663
825
  taxRate: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -670,6 +832,9 @@ export declare const invoiceResourceSchema: z.ZodObject<{
670
832
  paidAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
671
833
  notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
672
834
  pdfUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
835
+ bankAccountId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
836
+ waybillNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
837
+ totalInWords: z.ZodNullable<z.ZodOptional<z.ZodString>>;
673
838
  organizationId: z.ZodString;
674
839
  } & {
675
840
  createdAt: z.ZodString;
@@ -684,7 +849,10 @@ export declare const invoiceResourceSchema: z.ZodObject<{
684
849
  quantity: number;
685
850
  amount: number;
686
851
  unitPrice: number;
852
+ weight?: number | undefined;
853
+ truckPlateNumber?: string | undefined;
687
854
  taxRate?: number | undefined;
855
+ remark?: string | undefined;
688
856
  }[];
689
857
  organizationId: string;
690
858
  issueDate: string;
@@ -695,6 +863,7 @@ export declare const invoiceResourceSchema: z.ZodObject<{
695
863
  paymentStatus: "pending" | "cancelled" | "paid" | "overdue";
696
864
  notes?: string | null | undefined;
697
865
  paidAt?: string | null | undefined;
866
+ waybillNumber?: string | null | undefined;
698
867
  pdfUrl?: string | null | undefined;
699
868
  taxRate?: number | null | undefined;
700
869
  dueDate?: string | null | undefined;
@@ -709,6 +878,8 @@ export declare const invoiceResourceSchema: z.ZodObject<{
709
878
  taxAmount?: number | null | undefined;
710
879
  discount?: number | null | undefined;
711
880
  paymentTerms?: string | null | undefined;
881
+ bankAccountId?: string | null | undefined;
882
+ totalInWords?: string | null | undefined;
712
883
  }, {
713
884
  createdAt: string;
714
885
  updatedAt: string;
@@ -718,7 +889,10 @@ export declare const invoiceResourceSchema: z.ZodObject<{
718
889
  quantity: number;
719
890
  amount: number;
720
891
  unitPrice: number;
892
+ weight?: number | undefined;
893
+ truckPlateNumber?: string | undefined;
721
894
  taxRate?: number | undefined;
895
+ remark?: string | undefined;
722
896
  }[];
723
897
  organizationId: string;
724
898
  issueDate: string;
@@ -729,6 +903,7 @@ export declare const invoiceResourceSchema: z.ZodObject<{
729
903
  currency?: string | undefined;
730
904
  notes?: string | null | undefined;
731
905
  paidAt?: string | null | undefined;
906
+ waybillNumber?: string | null | undefined;
732
907
  pdfUrl?: string | null | undefined;
733
908
  taxRate?: number | null | undefined;
734
909
  dueDate?: string | null | undefined;
@@ -744,6 +919,8 @@ export declare const invoiceResourceSchema: z.ZodObject<{
744
919
  discount?: number | null | undefined;
745
920
  paymentTerms?: string | null | undefined;
746
921
  paymentStatus?: "pending" | "cancelled" | "paid" | "overdue" | undefined;
922
+ bankAccountId?: string | null | undefined;
923
+ totalInWords?: string | null | undefined;
747
924
  }>;
748
925
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
749
926
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -761,7 +938,10 @@ export declare const invoiceResourceSchema: z.ZodObject<{
761
938
  quantity: number;
762
939
  amount: number;
763
940
  unitPrice: number;
941
+ weight?: number | undefined;
942
+ truckPlateNumber?: string | undefined;
764
943
  taxRate?: number | undefined;
944
+ remark?: string | undefined;
765
945
  }[];
766
946
  organizationId: string;
767
947
  issueDate: string;
@@ -772,6 +952,7 @@ export declare const invoiceResourceSchema: z.ZodObject<{
772
952
  paymentStatus: "pending" | "cancelled" | "paid" | "overdue";
773
953
  notes?: string | null | undefined;
774
954
  paidAt?: string | null | undefined;
955
+ waybillNumber?: string | null | undefined;
775
956
  pdfUrl?: string | null | undefined;
776
957
  taxRate?: number | null | undefined;
777
958
  dueDate?: string | null | undefined;
@@ -786,6 +967,8 @@ export declare const invoiceResourceSchema: z.ZodObject<{
786
967
  taxAmount?: number | null | undefined;
787
968
  discount?: number | null | undefined;
788
969
  paymentTerms?: string | null | undefined;
970
+ bankAccountId?: string | null | undefined;
971
+ totalInWords?: string | null | undefined;
789
972
  };
790
973
  relationships?: Record<string, unknown> | undefined;
791
974
  links?: Record<string, string> | undefined;
@@ -802,7 +985,10 @@ export declare const invoiceResourceSchema: z.ZodObject<{
802
985
  quantity: number;
803
986
  amount: number;
804
987
  unitPrice: number;
988
+ weight?: number | undefined;
989
+ truckPlateNumber?: string | undefined;
805
990
  taxRate?: number | undefined;
991
+ remark?: string | undefined;
806
992
  }[];
807
993
  organizationId: string;
808
994
  issueDate: string;
@@ -813,6 +999,7 @@ export declare const invoiceResourceSchema: z.ZodObject<{
813
999
  currency?: string | undefined;
814
1000
  notes?: string | null | undefined;
815
1001
  paidAt?: string | null | undefined;
1002
+ waybillNumber?: string | null | undefined;
816
1003
  pdfUrl?: string | null | undefined;
817
1004
  taxRate?: number | null | undefined;
818
1005
  dueDate?: string | null | undefined;
@@ -828,6 +1015,8 @@ export declare const invoiceResourceSchema: z.ZodObject<{
828
1015
  discount?: number | null | undefined;
829
1016
  paymentTerms?: string | null | undefined;
830
1017
  paymentStatus?: "pending" | "cancelled" | "paid" | "overdue" | undefined;
1018
+ bankAccountId?: string | null | undefined;
1019
+ totalInWords?: string | null | undefined;
831
1020
  };
832
1021
  relationships?: Record<string, unknown> | undefined;
833
1022
  links?: Record<string, string> | undefined;
@@ -857,18 +1046,27 @@ export declare const invoiceResponseSchema: z.ZodObject<{
857
1046
  unitPrice: z.ZodNumber;
858
1047
  amount: z.ZodNumber;
859
1048
  taxRate: z.ZodOptional<z.ZodNumber>;
1049
+ truckPlateNumber: z.ZodOptional<z.ZodString>;
1050
+ weight: z.ZodOptional<z.ZodNumber>;
1051
+ remark: z.ZodOptional<z.ZodString>;
860
1052
  }, "strip", z.ZodTypeAny, {
861
1053
  description: string;
862
1054
  quantity: number;
863
1055
  amount: number;
864
1056
  unitPrice: number;
1057
+ weight?: number | undefined;
1058
+ truckPlateNumber?: string | undefined;
865
1059
  taxRate?: number | undefined;
1060
+ remark?: string | undefined;
866
1061
  }, {
867
1062
  description: string;
868
1063
  quantity: number;
869
1064
  amount: number;
870
1065
  unitPrice: number;
1066
+ weight?: number | undefined;
1067
+ truckPlateNumber?: string | undefined;
871
1068
  taxRate?: number | undefined;
1069
+ remark?: string | undefined;
872
1070
  }>, "many">;
873
1071
  subtotal: z.ZodNumber;
874
1072
  taxRate: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -881,6 +1079,9 @@ export declare const invoiceResponseSchema: z.ZodObject<{
881
1079
  paidAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
882
1080
  notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
883
1081
  pdfUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1082
+ bankAccountId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1083
+ waybillNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1084
+ totalInWords: z.ZodNullable<z.ZodOptional<z.ZodString>>;
884
1085
  organizationId: z.ZodString;
885
1086
  } & {
886
1087
  createdAt: z.ZodString;
@@ -895,7 +1096,10 @@ export declare const invoiceResponseSchema: z.ZodObject<{
895
1096
  quantity: number;
896
1097
  amount: number;
897
1098
  unitPrice: number;
1099
+ weight?: number | undefined;
1100
+ truckPlateNumber?: string | undefined;
898
1101
  taxRate?: number | undefined;
1102
+ remark?: string | undefined;
899
1103
  }[];
900
1104
  organizationId: string;
901
1105
  issueDate: string;
@@ -906,6 +1110,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
906
1110
  paymentStatus: "pending" | "cancelled" | "paid" | "overdue";
907
1111
  notes?: string | null | undefined;
908
1112
  paidAt?: string | null | undefined;
1113
+ waybillNumber?: string | null | undefined;
909
1114
  pdfUrl?: string | null | undefined;
910
1115
  taxRate?: number | null | undefined;
911
1116
  dueDate?: string | null | undefined;
@@ -920,6 +1125,8 @@ export declare const invoiceResponseSchema: z.ZodObject<{
920
1125
  taxAmount?: number | null | undefined;
921
1126
  discount?: number | null | undefined;
922
1127
  paymentTerms?: string | null | undefined;
1128
+ bankAccountId?: string | null | undefined;
1129
+ totalInWords?: string | null | undefined;
923
1130
  }, {
924
1131
  createdAt: string;
925
1132
  updatedAt: string;
@@ -929,7 +1136,10 @@ export declare const invoiceResponseSchema: z.ZodObject<{
929
1136
  quantity: number;
930
1137
  amount: number;
931
1138
  unitPrice: number;
1139
+ weight?: number | undefined;
1140
+ truckPlateNumber?: string | undefined;
932
1141
  taxRate?: number | undefined;
1142
+ remark?: string | undefined;
933
1143
  }[];
934
1144
  organizationId: string;
935
1145
  issueDate: string;
@@ -940,6 +1150,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
940
1150
  currency?: string | undefined;
941
1151
  notes?: string | null | undefined;
942
1152
  paidAt?: string | null | undefined;
1153
+ waybillNumber?: string | null | undefined;
943
1154
  pdfUrl?: string | null | undefined;
944
1155
  taxRate?: number | null | undefined;
945
1156
  dueDate?: string | null | undefined;
@@ -955,6 +1166,8 @@ export declare const invoiceResponseSchema: z.ZodObject<{
955
1166
  discount?: number | null | undefined;
956
1167
  paymentTerms?: string | null | undefined;
957
1168
  paymentStatus?: "pending" | "cancelled" | "paid" | "overdue" | undefined;
1169
+ bankAccountId?: string | null | undefined;
1170
+ totalInWords?: string | null | undefined;
958
1171
  }>;
959
1172
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
960
1173
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -972,7 +1185,10 @@ export declare const invoiceResponseSchema: z.ZodObject<{
972
1185
  quantity: number;
973
1186
  amount: number;
974
1187
  unitPrice: number;
1188
+ weight?: number | undefined;
1189
+ truckPlateNumber?: string | undefined;
975
1190
  taxRate?: number | undefined;
1191
+ remark?: string | undefined;
976
1192
  }[];
977
1193
  organizationId: string;
978
1194
  issueDate: string;
@@ -983,6 +1199,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
983
1199
  paymentStatus: "pending" | "cancelled" | "paid" | "overdue";
984
1200
  notes?: string | null | undefined;
985
1201
  paidAt?: string | null | undefined;
1202
+ waybillNumber?: string | null | undefined;
986
1203
  pdfUrl?: string | null | undefined;
987
1204
  taxRate?: number | null | undefined;
988
1205
  dueDate?: string | null | undefined;
@@ -997,6 +1214,8 @@ export declare const invoiceResponseSchema: z.ZodObject<{
997
1214
  taxAmount?: number | null | undefined;
998
1215
  discount?: number | null | undefined;
999
1216
  paymentTerms?: string | null | undefined;
1217
+ bankAccountId?: string | null | undefined;
1218
+ totalInWords?: string | null | undefined;
1000
1219
  };
1001
1220
  relationships?: Record<string, unknown> | undefined;
1002
1221
  links?: Record<string, string> | undefined;
@@ -1013,7 +1232,10 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1013
1232
  quantity: number;
1014
1233
  amount: number;
1015
1234
  unitPrice: number;
1235
+ weight?: number | undefined;
1236
+ truckPlateNumber?: string | undefined;
1016
1237
  taxRate?: number | undefined;
1238
+ remark?: string | undefined;
1017
1239
  }[];
1018
1240
  organizationId: string;
1019
1241
  issueDate: string;
@@ -1024,6 +1246,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1024
1246
  currency?: string | undefined;
1025
1247
  notes?: string | null | undefined;
1026
1248
  paidAt?: string | null | undefined;
1249
+ waybillNumber?: string | null | undefined;
1027
1250
  pdfUrl?: string | null | undefined;
1028
1251
  taxRate?: number | null | undefined;
1029
1252
  dueDate?: string | null | undefined;
@@ -1039,6 +1262,8 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1039
1262
  discount?: number | null | undefined;
1040
1263
  paymentTerms?: string | null | undefined;
1041
1264
  paymentStatus?: "pending" | "cancelled" | "paid" | "overdue" | undefined;
1265
+ bankAccountId?: string | null | undefined;
1266
+ totalInWords?: string | null | undefined;
1042
1267
  };
1043
1268
  relationships?: Record<string, unknown> | undefined;
1044
1269
  links?: Record<string, string> | undefined;
@@ -1082,7 +1307,10 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1082
1307
  quantity: number;
1083
1308
  amount: number;
1084
1309
  unitPrice: number;
1310
+ weight?: number | undefined;
1311
+ truckPlateNumber?: string | undefined;
1085
1312
  taxRate?: number | undefined;
1313
+ remark?: string | undefined;
1086
1314
  }[];
1087
1315
  organizationId: string;
1088
1316
  issueDate: string;
@@ -1093,6 +1321,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1093
1321
  paymentStatus: "pending" | "cancelled" | "paid" | "overdue";
1094
1322
  notes?: string | null | undefined;
1095
1323
  paidAt?: string | null | undefined;
1324
+ waybillNumber?: string | null | undefined;
1096
1325
  pdfUrl?: string | null | undefined;
1097
1326
  taxRate?: number | null | undefined;
1098
1327
  dueDate?: string | null | undefined;
@@ -1107,6 +1336,8 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1107
1336
  taxAmount?: number | null | undefined;
1108
1337
  discount?: number | null | undefined;
1109
1338
  paymentTerms?: string | null | undefined;
1339
+ bankAccountId?: string | null | undefined;
1340
+ totalInWords?: string | null | undefined;
1110
1341
  };
1111
1342
  relationships?: Record<string, unknown> | undefined;
1112
1343
  links?: Record<string, string> | undefined;
@@ -1135,7 +1366,10 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1135
1366
  quantity: number;
1136
1367
  amount: number;
1137
1368
  unitPrice: number;
1369
+ weight?: number | undefined;
1370
+ truckPlateNumber?: string | undefined;
1138
1371
  taxRate?: number | undefined;
1372
+ remark?: string | undefined;
1139
1373
  }[];
1140
1374
  organizationId: string;
1141
1375
  issueDate: string;
@@ -1146,6 +1380,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1146
1380
  currency?: string | undefined;
1147
1381
  notes?: string | null | undefined;
1148
1382
  paidAt?: string | null | undefined;
1383
+ waybillNumber?: string | null | undefined;
1149
1384
  pdfUrl?: string | null | undefined;
1150
1385
  taxRate?: number | null | undefined;
1151
1386
  dueDate?: string | null | undefined;
@@ -1161,6 +1396,8 @@ export declare const invoiceResponseSchema: z.ZodObject<{
1161
1396
  discount?: number | null | undefined;
1162
1397
  paymentTerms?: string | null | undefined;
1163
1398
  paymentStatus?: "pending" | "cancelled" | "paid" | "overdue" | undefined;
1399
+ bankAccountId?: string | null | undefined;
1400
+ totalInWords?: string | null | undefined;
1164
1401
  };
1165
1402
  relationships?: Record<string, unknown> | undefined;
1166
1403
  links?: Record<string, string> | undefined;
@@ -1201,18 +1438,27 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1201
1438
  unitPrice: z.ZodNumber;
1202
1439
  amount: z.ZodNumber;
1203
1440
  taxRate: z.ZodOptional<z.ZodNumber>;
1441
+ truckPlateNumber: z.ZodOptional<z.ZodString>;
1442
+ weight: z.ZodOptional<z.ZodNumber>;
1443
+ remark: z.ZodOptional<z.ZodString>;
1204
1444
  }, "strip", z.ZodTypeAny, {
1205
1445
  description: string;
1206
1446
  quantity: number;
1207
1447
  amount: number;
1208
1448
  unitPrice: number;
1449
+ weight?: number | undefined;
1450
+ truckPlateNumber?: string | undefined;
1209
1451
  taxRate?: number | undefined;
1452
+ remark?: string | undefined;
1210
1453
  }, {
1211
1454
  description: string;
1212
1455
  quantity: number;
1213
1456
  amount: number;
1214
1457
  unitPrice: number;
1458
+ weight?: number | undefined;
1459
+ truckPlateNumber?: string | undefined;
1215
1460
  taxRate?: number | undefined;
1461
+ remark?: string | undefined;
1216
1462
  }>, "many">;
1217
1463
  subtotal: z.ZodNumber;
1218
1464
  taxRate: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -1225,6 +1471,9 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1225
1471
  paidAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1226
1472
  notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1227
1473
  pdfUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1474
+ bankAccountId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1475
+ waybillNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1476
+ totalInWords: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1228
1477
  organizationId: z.ZodString;
1229
1478
  } & {
1230
1479
  createdAt: z.ZodString;
@@ -1239,7 +1488,10 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1239
1488
  quantity: number;
1240
1489
  amount: number;
1241
1490
  unitPrice: number;
1491
+ weight?: number | undefined;
1492
+ truckPlateNumber?: string | undefined;
1242
1493
  taxRate?: number | undefined;
1494
+ remark?: string | undefined;
1243
1495
  }[];
1244
1496
  organizationId: string;
1245
1497
  issueDate: string;
@@ -1250,6 +1502,7 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1250
1502
  paymentStatus: "pending" | "cancelled" | "paid" | "overdue";
1251
1503
  notes?: string | null | undefined;
1252
1504
  paidAt?: string | null | undefined;
1505
+ waybillNumber?: string | null | undefined;
1253
1506
  pdfUrl?: string | null | undefined;
1254
1507
  taxRate?: number | null | undefined;
1255
1508
  dueDate?: string | null | undefined;
@@ -1264,6 +1517,8 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1264
1517
  taxAmount?: number | null | undefined;
1265
1518
  discount?: number | null | undefined;
1266
1519
  paymentTerms?: string | null | undefined;
1520
+ bankAccountId?: string | null | undefined;
1521
+ totalInWords?: string | null | undefined;
1267
1522
  }, {
1268
1523
  createdAt: string;
1269
1524
  updatedAt: string;
@@ -1273,7 +1528,10 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1273
1528
  quantity: number;
1274
1529
  amount: number;
1275
1530
  unitPrice: number;
1531
+ weight?: number | undefined;
1532
+ truckPlateNumber?: string | undefined;
1276
1533
  taxRate?: number | undefined;
1534
+ remark?: string | undefined;
1277
1535
  }[];
1278
1536
  organizationId: string;
1279
1537
  issueDate: string;
@@ -1284,6 +1542,7 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1284
1542
  currency?: string | undefined;
1285
1543
  notes?: string | null | undefined;
1286
1544
  paidAt?: string | null | undefined;
1545
+ waybillNumber?: string | null | undefined;
1287
1546
  pdfUrl?: string | null | undefined;
1288
1547
  taxRate?: number | null | undefined;
1289
1548
  dueDate?: string | null | undefined;
@@ -1299,6 +1558,8 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1299
1558
  discount?: number | null | undefined;
1300
1559
  paymentTerms?: string | null | undefined;
1301
1560
  paymentStatus?: "pending" | "cancelled" | "paid" | "overdue" | undefined;
1561
+ bankAccountId?: string | null | undefined;
1562
+ totalInWords?: string | null | undefined;
1302
1563
  }>;
1303
1564
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1304
1565
  links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1316,7 +1577,10 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1316
1577
  quantity: number;
1317
1578
  amount: number;
1318
1579
  unitPrice: number;
1580
+ weight?: number | undefined;
1581
+ truckPlateNumber?: string | undefined;
1319
1582
  taxRate?: number | undefined;
1583
+ remark?: string | undefined;
1320
1584
  }[];
1321
1585
  organizationId: string;
1322
1586
  issueDate: string;
@@ -1327,6 +1591,7 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1327
1591
  paymentStatus: "pending" | "cancelled" | "paid" | "overdue";
1328
1592
  notes?: string | null | undefined;
1329
1593
  paidAt?: string | null | undefined;
1594
+ waybillNumber?: string | null | undefined;
1330
1595
  pdfUrl?: string | null | undefined;
1331
1596
  taxRate?: number | null | undefined;
1332
1597
  dueDate?: string | null | undefined;
@@ -1341,6 +1606,8 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1341
1606
  taxAmount?: number | null | undefined;
1342
1607
  discount?: number | null | undefined;
1343
1608
  paymentTerms?: string | null | undefined;
1609
+ bankAccountId?: string | null | undefined;
1610
+ totalInWords?: string | null | undefined;
1344
1611
  };
1345
1612
  relationships?: Record<string, unknown> | undefined;
1346
1613
  links?: Record<string, string> | undefined;
@@ -1357,7 +1624,10 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1357
1624
  quantity: number;
1358
1625
  amount: number;
1359
1626
  unitPrice: number;
1627
+ weight?: number | undefined;
1628
+ truckPlateNumber?: string | undefined;
1360
1629
  taxRate?: number | undefined;
1630
+ remark?: string | undefined;
1361
1631
  }[];
1362
1632
  organizationId: string;
1363
1633
  issueDate: string;
@@ -1368,6 +1638,7 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1368
1638
  currency?: string | undefined;
1369
1639
  notes?: string | null | undefined;
1370
1640
  paidAt?: string | null | undefined;
1641
+ waybillNumber?: string | null | undefined;
1371
1642
  pdfUrl?: string | null | undefined;
1372
1643
  taxRate?: number | null | undefined;
1373
1644
  dueDate?: string | null | undefined;
@@ -1383,6 +1654,8 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1383
1654
  discount?: number | null | undefined;
1384
1655
  paymentTerms?: string | null | undefined;
1385
1656
  paymentStatus?: "pending" | "cancelled" | "paid" | "overdue" | undefined;
1657
+ bankAccountId?: string | null | undefined;
1658
+ totalInWords?: string | null | undefined;
1386
1659
  };
1387
1660
  relationships?: Record<string, unknown> | undefined;
1388
1661
  links?: Record<string, string> | undefined;
@@ -1426,7 +1699,10 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1426
1699
  quantity: number;
1427
1700
  amount: number;
1428
1701
  unitPrice: number;
1702
+ weight?: number | undefined;
1703
+ truckPlateNumber?: string | undefined;
1429
1704
  taxRate?: number | undefined;
1705
+ remark?: string | undefined;
1430
1706
  }[];
1431
1707
  organizationId: string;
1432
1708
  issueDate: string;
@@ -1437,6 +1713,7 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1437
1713
  paymentStatus: "pending" | "cancelled" | "paid" | "overdue";
1438
1714
  notes?: string | null | undefined;
1439
1715
  paidAt?: string | null | undefined;
1716
+ waybillNumber?: string | null | undefined;
1440
1717
  pdfUrl?: string | null | undefined;
1441
1718
  taxRate?: number | null | undefined;
1442
1719
  dueDate?: string | null | undefined;
@@ -1451,6 +1728,8 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1451
1728
  taxAmount?: number | null | undefined;
1452
1729
  discount?: number | null | undefined;
1453
1730
  paymentTerms?: string | null | undefined;
1731
+ bankAccountId?: string | null | undefined;
1732
+ totalInWords?: string | null | undefined;
1454
1733
  };
1455
1734
  relationships?: Record<string, unknown> | undefined;
1456
1735
  links?: Record<string, string> | undefined;
@@ -1479,7 +1758,10 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1479
1758
  quantity: number;
1480
1759
  amount: number;
1481
1760
  unitPrice: number;
1761
+ weight?: number | undefined;
1762
+ truckPlateNumber?: string | undefined;
1482
1763
  taxRate?: number | undefined;
1764
+ remark?: string | undefined;
1483
1765
  }[];
1484
1766
  organizationId: string;
1485
1767
  issueDate: string;
@@ -1490,6 +1772,7 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1490
1772
  currency?: string | undefined;
1491
1773
  notes?: string | null | undefined;
1492
1774
  paidAt?: string | null | undefined;
1775
+ waybillNumber?: string | null | undefined;
1493
1776
  pdfUrl?: string | null | undefined;
1494
1777
  taxRate?: number | null | undefined;
1495
1778
  dueDate?: string | null | undefined;
@@ -1505,6 +1788,8 @@ export declare const invoiceListResponseSchema: z.ZodObject<{
1505
1788
  discount?: number | null | undefined;
1506
1789
  paymentTerms?: string | null | undefined;
1507
1790
  paymentStatus?: "pending" | "cancelled" | "paid" | "overdue" | undefined;
1791
+ bankAccountId?: string | null | undefined;
1792
+ totalInWords?: string | null | undefined;
1508
1793
  };
1509
1794
  relationships?: Record<string, unknown> | undefined;
1510
1795
  links?: Record<string, string> | undefined;