@deliverart/sdk-js-company 0.0.1

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.
@@ -0,0 +1,2149 @@
1
+ import { z } from 'zod';
2
+ import { AbstractApiRequest } from '@deliverart/sdk-js-core';
3
+ import { Paginated } from '@deliverart/sdk-js-global-types';
4
+ import { AxiosResponse } from 'axios';
5
+
6
+ declare const companySchema: z.ZodObject<{
7
+ id: z.ZodString;
8
+ businessName: z.ZodString;
9
+ vat: z.ZodString;
10
+ taxCode: z.ZodString;
11
+ operationalAddress: z.ZodObject<{
12
+ line1: z.ZodString;
13
+ line2: z.ZodString;
14
+ city: z.ZodString;
15
+ region: z.ZodString;
16
+ postalCode: z.ZodString;
17
+ country: z.ZodString;
18
+ }, "strip", z.ZodTypeAny, {
19
+ line1: string;
20
+ line2: string;
21
+ city: string;
22
+ region: string;
23
+ postalCode: string;
24
+ country: string;
25
+ }, {
26
+ line1: string;
27
+ line2: string;
28
+ city: string;
29
+ region: string;
30
+ postalCode: string;
31
+ country: string;
32
+ }>;
33
+ createdAt: z.ZodEffects<z.ZodString, string, string>;
34
+ updatedAt: z.ZodEffects<z.ZodString, string, string>;
35
+ }, "strip", z.ZodTypeAny, {
36
+ id: string;
37
+ businessName: string;
38
+ vat: string;
39
+ taxCode: string;
40
+ operationalAddress: {
41
+ line1: string;
42
+ line2: string;
43
+ city: string;
44
+ region: string;
45
+ postalCode: string;
46
+ country: string;
47
+ };
48
+ createdAt: string;
49
+ updatedAt: string;
50
+ }, {
51
+ id: string;
52
+ businessName: string;
53
+ vat: string;
54
+ taxCode: string;
55
+ operationalAddress: {
56
+ line1: string;
57
+ line2: string;
58
+ city: string;
59
+ region: string;
60
+ postalCode: string;
61
+ country: string;
62
+ };
63
+ createdAt: string;
64
+ updatedAt: string;
65
+ }>;
66
+ type Company = z.infer<typeof companySchema>;
67
+ declare const companyDetailsSchema: z.ZodObject<{
68
+ id: z.ZodString;
69
+ businessName: z.ZodString;
70
+ vat: z.ZodString;
71
+ taxCode: z.ZodString;
72
+ operationalAddress: z.ZodObject<{
73
+ line1: z.ZodString;
74
+ line2: z.ZodString;
75
+ city: z.ZodString;
76
+ region: z.ZodString;
77
+ postalCode: z.ZodString;
78
+ country: z.ZodString;
79
+ }, "strip", z.ZodTypeAny, {
80
+ line1: string;
81
+ line2: string;
82
+ city: string;
83
+ region: string;
84
+ postalCode: string;
85
+ country: string;
86
+ }, {
87
+ line1: string;
88
+ line2: string;
89
+ city: string;
90
+ region: string;
91
+ postalCode: string;
92
+ country: string;
93
+ }>;
94
+ createdAt: z.ZodEffects<z.ZodString, string, string>;
95
+ updatedAt: z.ZodEffects<z.ZodString, string, string>;
96
+ } & {
97
+ billingAddress: z.ZodObject<{
98
+ line1: z.ZodString;
99
+ line2: z.ZodString;
100
+ city: z.ZodString;
101
+ region: z.ZodString;
102
+ postalCode: z.ZodString;
103
+ country: z.ZodString;
104
+ }, "strip", z.ZodTypeAny, {
105
+ line1: string;
106
+ line2: string;
107
+ city: string;
108
+ region: string;
109
+ postalCode: string;
110
+ country: string;
111
+ }, {
112
+ line1: string;
113
+ line2: string;
114
+ city: string;
115
+ region: string;
116
+ postalCode: string;
117
+ country: string;
118
+ }>;
119
+ billingData: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
120
+ sdi: z.ZodOptional<z.ZodString>;
121
+ pec: z.ZodOptional<z.ZodString>;
122
+ }, "strip", z.ZodTypeAny, {
123
+ sdi?: string | undefined;
124
+ pec?: string | undefined;
125
+ }, {
126
+ sdi?: string | undefined;
127
+ pec?: string | undefined;
128
+ }>, {
129
+ sdi?: string | undefined;
130
+ pec?: string | undefined;
131
+ }, {
132
+ sdi?: string | undefined;
133
+ pec?: string | undefined;
134
+ }>, {
135
+ sdi?: string | undefined;
136
+ pec?: string | undefined;
137
+ }, {
138
+ sdi?: string | undefined;
139
+ pec?: string | undefined;
140
+ }>, {
141
+ sdi?: string | undefined;
142
+ pec?: string | undefined;
143
+ }, {
144
+ sdi?: string | undefined;
145
+ pec?: string | undefined;
146
+ }>, {
147
+ sdi?: string | undefined;
148
+ pec?: string | undefined;
149
+ }, {
150
+ sdi?: string | undefined;
151
+ pec?: string | undefined;
152
+ }>;
153
+ adminBy: z.ZodString;
154
+ }, "strip", z.ZodTypeAny, {
155
+ id: string;
156
+ businessName: string;
157
+ vat: string;
158
+ taxCode: string;
159
+ operationalAddress: {
160
+ line1: string;
161
+ line2: string;
162
+ city: string;
163
+ region: string;
164
+ postalCode: string;
165
+ country: string;
166
+ };
167
+ createdAt: string;
168
+ updatedAt: string;
169
+ billingAddress: {
170
+ line1: string;
171
+ line2: string;
172
+ city: string;
173
+ region: string;
174
+ postalCode: string;
175
+ country: string;
176
+ };
177
+ billingData: {
178
+ sdi?: string | undefined;
179
+ pec?: string | undefined;
180
+ };
181
+ adminBy: string;
182
+ }, {
183
+ id: string;
184
+ businessName: string;
185
+ vat: string;
186
+ taxCode: string;
187
+ operationalAddress: {
188
+ line1: string;
189
+ line2: string;
190
+ city: string;
191
+ region: string;
192
+ postalCode: string;
193
+ country: string;
194
+ };
195
+ createdAt: string;
196
+ updatedAt: string;
197
+ billingAddress: {
198
+ line1: string;
199
+ line2: string;
200
+ city: string;
201
+ region: string;
202
+ postalCode: string;
203
+ country: string;
204
+ };
205
+ billingData: {
206
+ sdi?: string | undefined;
207
+ pec?: string | undefined;
208
+ };
209
+ adminBy: string;
210
+ }>;
211
+ type CompanyDetails = z.infer<typeof companyDetailsSchema>;
212
+ declare const writableCompanySchema: z.ZodObject<Pick<{
213
+ id: z.ZodString;
214
+ businessName: z.ZodString;
215
+ vat: z.ZodString;
216
+ taxCode: z.ZodString;
217
+ operationalAddress: z.ZodObject<{
218
+ line1: z.ZodString;
219
+ line2: z.ZodString;
220
+ city: z.ZodString;
221
+ region: z.ZodString;
222
+ postalCode: z.ZodString;
223
+ country: z.ZodString;
224
+ }, "strip", z.ZodTypeAny, {
225
+ line1: string;
226
+ line2: string;
227
+ city: string;
228
+ region: string;
229
+ postalCode: string;
230
+ country: string;
231
+ }, {
232
+ line1: string;
233
+ line2: string;
234
+ city: string;
235
+ region: string;
236
+ postalCode: string;
237
+ country: string;
238
+ }>;
239
+ createdAt: z.ZodEffects<z.ZodString, string, string>;
240
+ updatedAt: z.ZodEffects<z.ZodString, string, string>;
241
+ } & {
242
+ billingAddress: z.ZodObject<{
243
+ line1: z.ZodString;
244
+ line2: z.ZodString;
245
+ city: z.ZodString;
246
+ region: z.ZodString;
247
+ postalCode: z.ZodString;
248
+ country: z.ZodString;
249
+ }, "strip", z.ZodTypeAny, {
250
+ line1: string;
251
+ line2: string;
252
+ city: string;
253
+ region: string;
254
+ postalCode: string;
255
+ country: string;
256
+ }, {
257
+ line1: string;
258
+ line2: string;
259
+ city: string;
260
+ region: string;
261
+ postalCode: string;
262
+ country: string;
263
+ }>;
264
+ billingData: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
265
+ sdi: z.ZodOptional<z.ZodString>;
266
+ pec: z.ZodOptional<z.ZodString>;
267
+ }, "strip", z.ZodTypeAny, {
268
+ sdi?: string | undefined;
269
+ pec?: string | undefined;
270
+ }, {
271
+ sdi?: string | undefined;
272
+ pec?: string | undefined;
273
+ }>, {
274
+ sdi?: string | undefined;
275
+ pec?: string | undefined;
276
+ }, {
277
+ sdi?: string | undefined;
278
+ pec?: string | undefined;
279
+ }>, {
280
+ sdi?: string | undefined;
281
+ pec?: string | undefined;
282
+ }, {
283
+ sdi?: string | undefined;
284
+ pec?: string | undefined;
285
+ }>, {
286
+ sdi?: string | undefined;
287
+ pec?: string | undefined;
288
+ }, {
289
+ sdi?: string | undefined;
290
+ pec?: string | undefined;
291
+ }>, {
292
+ sdi?: string | undefined;
293
+ pec?: string | undefined;
294
+ }, {
295
+ sdi?: string | undefined;
296
+ pec?: string | undefined;
297
+ }>;
298
+ adminBy: z.ZodString;
299
+ }, "businessName" | "vat" | "taxCode" | "operationalAddress" | "billingAddress" | "billingData">, "strip", z.ZodTypeAny, {
300
+ businessName: string;
301
+ vat: string;
302
+ taxCode: string;
303
+ operationalAddress: {
304
+ line1: string;
305
+ line2: string;
306
+ city: string;
307
+ region: string;
308
+ postalCode: string;
309
+ country: string;
310
+ };
311
+ billingAddress: {
312
+ line1: string;
313
+ line2: string;
314
+ city: string;
315
+ region: string;
316
+ postalCode: string;
317
+ country: string;
318
+ };
319
+ billingData: {
320
+ sdi?: string | undefined;
321
+ pec?: string | undefined;
322
+ };
323
+ }, {
324
+ businessName: string;
325
+ vat: string;
326
+ taxCode: string;
327
+ operationalAddress: {
328
+ line1: string;
329
+ line2: string;
330
+ city: string;
331
+ region: string;
332
+ postalCode: string;
333
+ country: string;
334
+ };
335
+ billingAddress: {
336
+ line1: string;
337
+ line2: string;
338
+ city: string;
339
+ region: string;
340
+ postalCode: string;
341
+ country: string;
342
+ };
343
+ billingData: {
344
+ sdi?: string | undefined;
345
+ pec?: string | undefined;
346
+ };
347
+ }>;
348
+
349
+ declare const createCompanyInputSchema: z.ZodObject<{
350
+ businessName: z.ZodString;
351
+ vat: z.ZodString;
352
+ taxCode: z.ZodString;
353
+ operationalAddress: z.ZodObject<{
354
+ line1: z.ZodString;
355
+ line2: z.ZodString;
356
+ city: z.ZodString;
357
+ region: z.ZodString;
358
+ postalCode: z.ZodString;
359
+ country: z.ZodString;
360
+ }, "strip", z.ZodTypeAny, {
361
+ line1: string;
362
+ line2: string;
363
+ city: string;
364
+ region: string;
365
+ postalCode: string;
366
+ country: string;
367
+ }, {
368
+ line1: string;
369
+ line2: string;
370
+ city: string;
371
+ region: string;
372
+ postalCode: string;
373
+ country: string;
374
+ }>;
375
+ billingAddress: z.ZodObject<{
376
+ line1: z.ZodString;
377
+ line2: z.ZodString;
378
+ city: z.ZodString;
379
+ region: z.ZodString;
380
+ postalCode: z.ZodString;
381
+ country: z.ZodString;
382
+ }, "strip", z.ZodTypeAny, {
383
+ line1: string;
384
+ line2: string;
385
+ city: string;
386
+ region: string;
387
+ postalCode: string;
388
+ country: string;
389
+ }, {
390
+ line1: string;
391
+ line2: string;
392
+ city: string;
393
+ region: string;
394
+ postalCode: string;
395
+ country: string;
396
+ }>;
397
+ billingData: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
398
+ sdi: z.ZodOptional<z.ZodString>;
399
+ pec: z.ZodOptional<z.ZodString>;
400
+ }, "strip", z.ZodTypeAny, {
401
+ sdi?: string | undefined;
402
+ pec?: string | undefined;
403
+ }, {
404
+ sdi?: string | undefined;
405
+ pec?: string | undefined;
406
+ }>, {
407
+ sdi?: string | undefined;
408
+ pec?: string | undefined;
409
+ }, {
410
+ sdi?: string | undefined;
411
+ pec?: string | undefined;
412
+ }>, {
413
+ sdi?: string | undefined;
414
+ pec?: string | undefined;
415
+ }, {
416
+ sdi?: string | undefined;
417
+ pec?: string | undefined;
418
+ }>, {
419
+ sdi?: string | undefined;
420
+ pec?: string | undefined;
421
+ }, {
422
+ sdi?: string | undefined;
423
+ pec?: string | undefined;
424
+ }>, {
425
+ sdi?: string | undefined;
426
+ pec?: string | undefined;
427
+ }, {
428
+ sdi?: string | undefined;
429
+ pec?: string | undefined;
430
+ }>;
431
+ }, "strip", z.ZodTypeAny, {
432
+ businessName: string;
433
+ vat: string;
434
+ taxCode: string;
435
+ operationalAddress: {
436
+ line1: string;
437
+ line2: string;
438
+ city: string;
439
+ region: string;
440
+ postalCode: string;
441
+ country: string;
442
+ };
443
+ billingAddress: {
444
+ line1: string;
445
+ line2: string;
446
+ city: string;
447
+ region: string;
448
+ postalCode: string;
449
+ country: string;
450
+ };
451
+ billingData: {
452
+ sdi?: string | undefined;
453
+ pec?: string | undefined;
454
+ };
455
+ }, {
456
+ businessName: string;
457
+ vat: string;
458
+ taxCode: string;
459
+ operationalAddress: {
460
+ line1: string;
461
+ line2: string;
462
+ city: string;
463
+ region: string;
464
+ postalCode: string;
465
+ country: string;
466
+ };
467
+ billingAddress: {
468
+ line1: string;
469
+ line2: string;
470
+ city: string;
471
+ region: string;
472
+ postalCode: string;
473
+ country: string;
474
+ };
475
+ billingData: {
476
+ sdi?: string | undefined;
477
+ pec?: string | undefined;
478
+ };
479
+ }>;
480
+ type CreateCompanyInput = z.infer<typeof createCompanyInputSchema>;
481
+ declare const createCompanyResponseSchema: z.ZodObject<{
482
+ id: z.ZodString;
483
+ businessName: z.ZodString;
484
+ vat: z.ZodString;
485
+ taxCode: z.ZodString;
486
+ operationalAddress: z.ZodObject<{
487
+ line1: z.ZodString;
488
+ line2: z.ZodString;
489
+ city: z.ZodString;
490
+ region: z.ZodString;
491
+ postalCode: z.ZodString;
492
+ country: z.ZodString;
493
+ }, "strip", z.ZodTypeAny, {
494
+ line1: string;
495
+ line2: string;
496
+ city: string;
497
+ region: string;
498
+ postalCode: string;
499
+ country: string;
500
+ }, {
501
+ line1: string;
502
+ line2: string;
503
+ city: string;
504
+ region: string;
505
+ postalCode: string;
506
+ country: string;
507
+ }>;
508
+ createdAt: z.ZodEffects<z.ZodString, string, string>;
509
+ updatedAt: z.ZodEffects<z.ZodString, string, string>;
510
+ } & {
511
+ billingAddress: z.ZodObject<{
512
+ line1: z.ZodString;
513
+ line2: z.ZodString;
514
+ city: z.ZodString;
515
+ region: z.ZodString;
516
+ postalCode: z.ZodString;
517
+ country: z.ZodString;
518
+ }, "strip", z.ZodTypeAny, {
519
+ line1: string;
520
+ line2: string;
521
+ city: string;
522
+ region: string;
523
+ postalCode: string;
524
+ country: string;
525
+ }, {
526
+ line1: string;
527
+ line2: string;
528
+ city: string;
529
+ region: string;
530
+ postalCode: string;
531
+ country: string;
532
+ }>;
533
+ billingData: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
534
+ sdi: z.ZodOptional<z.ZodString>;
535
+ pec: z.ZodOptional<z.ZodString>;
536
+ }, "strip", z.ZodTypeAny, {
537
+ sdi?: string | undefined;
538
+ pec?: string | undefined;
539
+ }, {
540
+ sdi?: string | undefined;
541
+ pec?: string | undefined;
542
+ }>, {
543
+ sdi?: string | undefined;
544
+ pec?: string | undefined;
545
+ }, {
546
+ sdi?: string | undefined;
547
+ pec?: string | undefined;
548
+ }>, {
549
+ sdi?: string | undefined;
550
+ pec?: string | undefined;
551
+ }, {
552
+ sdi?: string | undefined;
553
+ pec?: string | undefined;
554
+ }>, {
555
+ sdi?: string | undefined;
556
+ pec?: string | undefined;
557
+ }, {
558
+ sdi?: string | undefined;
559
+ pec?: string | undefined;
560
+ }>, {
561
+ sdi?: string | undefined;
562
+ pec?: string | undefined;
563
+ }, {
564
+ sdi?: string | undefined;
565
+ pec?: string | undefined;
566
+ }>;
567
+ adminBy: z.ZodString;
568
+ }, "strip", z.ZodTypeAny, {
569
+ id: string;
570
+ businessName: string;
571
+ vat: string;
572
+ taxCode: string;
573
+ operationalAddress: {
574
+ line1: string;
575
+ line2: string;
576
+ city: string;
577
+ region: string;
578
+ postalCode: string;
579
+ country: string;
580
+ };
581
+ createdAt: string;
582
+ updatedAt: string;
583
+ billingAddress: {
584
+ line1: string;
585
+ line2: string;
586
+ city: string;
587
+ region: string;
588
+ postalCode: string;
589
+ country: string;
590
+ };
591
+ billingData: {
592
+ sdi?: string | undefined;
593
+ pec?: string | undefined;
594
+ };
595
+ adminBy: string;
596
+ }, {
597
+ id: string;
598
+ businessName: string;
599
+ vat: string;
600
+ taxCode: string;
601
+ operationalAddress: {
602
+ line1: string;
603
+ line2: string;
604
+ city: string;
605
+ region: string;
606
+ postalCode: string;
607
+ country: string;
608
+ };
609
+ createdAt: string;
610
+ updatedAt: string;
611
+ billingAddress: {
612
+ line1: string;
613
+ line2: string;
614
+ city: string;
615
+ region: string;
616
+ postalCode: string;
617
+ country: string;
618
+ };
619
+ billingData: {
620
+ sdi?: string | undefined;
621
+ pec?: string | undefined;
622
+ };
623
+ adminBy: string;
624
+ }>;
625
+ type CreateCompanyResponse = CompanyDetails;
626
+ declare class CreateCompany extends AbstractApiRequest<CreateCompanyInput, CreateCompanyResponse> {
627
+ readonly method = "POST";
628
+ readonly contentType = "application/json";
629
+ readonly accept = "application/json";
630
+ readonly inputSchema: z.ZodObject<{
631
+ businessName: z.ZodString;
632
+ vat: z.ZodString;
633
+ taxCode: z.ZodString;
634
+ operationalAddress: z.ZodObject<{
635
+ line1: z.ZodString;
636
+ line2: z.ZodString;
637
+ city: z.ZodString;
638
+ region: z.ZodString;
639
+ postalCode: z.ZodString;
640
+ country: z.ZodString;
641
+ }, "strip", z.ZodTypeAny, {
642
+ line1: string;
643
+ line2: string;
644
+ city: string;
645
+ region: string;
646
+ postalCode: string;
647
+ country: string;
648
+ }, {
649
+ line1: string;
650
+ line2: string;
651
+ city: string;
652
+ region: string;
653
+ postalCode: string;
654
+ country: string;
655
+ }>;
656
+ billingAddress: z.ZodObject<{
657
+ line1: z.ZodString;
658
+ line2: z.ZodString;
659
+ city: z.ZodString;
660
+ region: z.ZodString;
661
+ postalCode: z.ZodString;
662
+ country: z.ZodString;
663
+ }, "strip", z.ZodTypeAny, {
664
+ line1: string;
665
+ line2: string;
666
+ city: string;
667
+ region: string;
668
+ postalCode: string;
669
+ country: string;
670
+ }, {
671
+ line1: string;
672
+ line2: string;
673
+ city: string;
674
+ region: string;
675
+ postalCode: string;
676
+ country: string;
677
+ }>;
678
+ billingData: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
679
+ sdi: z.ZodOptional<z.ZodString>;
680
+ pec: z.ZodOptional<z.ZodString>;
681
+ }, "strip", z.ZodTypeAny, {
682
+ sdi?: string | undefined;
683
+ pec?: string | undefined;
684
+ }, {
685
+ sdi?: string | undefined;
686
+ pec?: string | undefined;
687
+ }>, {
688
+ sdi?: string | undefined;
689
+ pec?: string | undefined;
690
+ }, {
691
+ sdi?: string | undefined;
692
+ pec?: string | undefined;
693
+ }>, {
694
+ sdi?: string | undefined;
695
+ pec?: string | undefined;
696
+ }, {
697
+ sdi?: string | undefined;
698
+ pec?: string | undefined;
699
+ }>, {
700
+ sdi?: string | undefined;
701
+ pec?: string | undefined;
702
+ }, {
703
+ sdi?: string | undefined;
704
+ pec?: string | undefined;
705
+ }>, {
706
+ sdi?: string | undefined;
707
+ pec?: string | undefined;
708
+ }, {
709
+ sdi?: string | undefined;
710
+ pec?: string | undefined;
711
+ }>;
712
+ }, "strip", z.ZodTypeAny, {
713
+ businessName: string;
714
+ vat: string;
715
+ taxCode: string;
716
+ operationalAddress: {
717
+ line1: string;
718
+ line2: string;
719
+ city: string;
720
+ region: string;
721
+ postalCode: string;
722
+ country: string;
723
+ };
724
+ billingAddress: {
725
+ line1: string;
726
+ line2: string;
727
+ city: string;
728
+ region: string;
729
+ postalCode: string;
730
+ country: string;
731
+ };
732
+ billingData: {
733
+ sdi?: string | undefined;
734
+ pec?: string | undefined;
735
+ };
736
+ }, {
737
+ businessName: string;
738
+ vat: string;
739
+ taxCode: string;
740
+ operationalAddress: {
741
+ line1: string;
742
+ line2: string;
743
+ city: string;
744
+ region: string;
745
+ postalCode: string;
746
+ country: string;
747
+ };
748
+ billingAddress: {
749
+ line1: string;
750
+ line2: string;
751
+ city: string;
752
+ region: string;
753
+ postalCode: string;
754
+ country: string;
755
+ };
756
+ billingData: {
757
+ sdi?: string | undefined;
758
+ pec?: string | undefined;
759
+ };
760
+ }>;
761
+ readonly outputSchema: z.ZodObject<{
762
+ id: z.ZodString;
763
+ businessName: z.ZodString;
764
+ vat: z.ZodString;
765
+ taxCode: z.ZodString;
766
+ operationalAddress: z.ZodObject<{
767
+ line1: z.ZodString;
768
+ line2: z.ZodString;
769
+ city: z.ZodString;
770
+ region: z.ZodString;
771
+ postalCode: z.ZodString;
772
+ country: z.ZodString;
773
+ }, "strip", z.ZodTypeAny, {
774
+ line1: string;
775
+ line2: string;
776
+ city: string;
777
+ region: string;
778
+ postalCode: string;
779
+ country: string;
780
+ }, {
781
+ line1: string;
782
+ line2: string;
783
+ city: string;
784
+ region: string;
785
+ postalCode: string;
786
+ country: string;
787
+ }>;
788
+ createdAt: z.ZodEffects<z.ZodString, string, string>;
789
+ updatedAt: z.ZodEffects<z.ZodString, string, string>;
790
+ } & {
791
+ billingAddress: z.ZodObject<{
792
+ line1: z.ZodString;
793
+ line2: z.ZodString;
794
+ city: z.ZodString;
795
+ region: z.ZodString;
796
+ postalCode: z.ZodString;
797
+ country: z.ZodString;
798
+ }, "strip", z.ZodTypeAny, {
799
+ line1: string;
800
+ line2: string;
801
+ city: string;
802
+ region: string;
803
+ postalCode: string;
804
+ country: string;
805
+ }, {
806
+ line1: string;
807
+ line2: string;
808
+ city: string;
809
+ region: string;
810
+ postalCode: string;
811
+ country: string;
812
+ }>;
813
+ billingData: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
814
+ sdi: z.ZodOptional<z.ZodString>;
815
+ pec: z.ZodOptional<z.ZodString>;
816
+ }, "strip", z.ZodTypeAny, {
817
+ sdi?: string | undefined;
818
+ pec?: string | undefined;
819
+ }, {
820
+ sdi?: string | undefined;
821
+ pec?: string | undefined;
822
+ }>, {
823
+ sdi?: string | undefined;
824
+ pec?: string | undefined;
825
+ }, {
826
+ sdi?: string | undefined;
827
+ pec?: string | undefined;
828
+ }>, {
829
+ sdi?: string | undefined;
830
+ pec?: string | undefined;
831
+ }, {
832
+ sdi?: string | undefined;
833
+ pec?: string | undefined;
834
+ }>, {
835
+ sdi?: string | undefined;
836
+ pec?: string | undefined;
837
+ }, {
838
+ sdi?: string | undefined;
839
+ pec?: string | undefined;
840
+ }>, {
841
+ sdi?: string | undefined;
842
+ pec?: string | undefined;
843
+ }, {
844
+ sdi?: string | undefined;
845
+ pec?: string | undefined;
846
+ }>;
847
+ adminBy: z.ZodString;
848
+ }, "strip", z.ZodTypeAny, {
849
+ id: string;
850
+ businessName: string;
851
+ vat: string;
852
+ taxCode: string;
853
+ operationalAddress: {
854
+ line1: string;
855
+ line2: string;
856
+ city: string;
857
+ region: string;
858
+ postalCode: string;
859
+ country: string;
860
+ };
861
+ createdAt: string;
862
+ updatedAt: string;
863
+ billingAddress: {
864
+ line1: string;
865
+ line2: string;
866
+ city: string;
867
+ region: string;
868
+ postalCode: string;
869
+ country: string;
870
+ };
871
+ billingData: {
872
+ sdi?: string | undefined;
873
+ pec?: string | undefined;
874
+ };
875
+ adminBy: string;
876
+ }, {
877
+ id: string;
878
+ businessName: string;
879
+ vat: string;
880
+ taxCode: string;
881
+ operationalAddress: {
882
+ line1: string;
883
+ line2: string;
884
+ city: string;
885
+ region: string;
886
+ postalCode: string;
887
+ country: string;
888
+ };
889
+ createdAt: string;
890
+ updatedAt: string;
891
+ billingAddress: {
892
+ line1: string;
893
+ line2: string;
894
+ city: string;
895
+ region: string;
896
+ postalCode: string;
897
+ country: string;
898
+ };
899
+ billingData: {
900
+ sdi?: string | undefined;
901
+ pec?: string | undefined;
902
+ };
903
+ adminBy: string;
904
+ }>;
905
+ readonly querySchema: undefined;
906
+ readonly headersSchema: undefined;
907
+ constructor(input: CreateCompanyInput);
908
+ getPath(): string;
909
+ }
910
+
911
+ declare const deleteCompanyInputSchema: z.ZodUndefined;
912
+ declare const deleteCompanyResponseSchema: z.ZodUndefined;
913
+ declare class DeleteCompany extends AbstractApiRequest<void, void> {
914
+ readonly method = "DELETE";
915
+ readonly contentType = "application/json";
916
+ readonly accept = "application/json";
917
+ readonly inputSchema: z.ZodUndefined;
918
+ readonly outputSchema: z.ZodUndefined;
919
+ readonly querySchema: undefined;
920
+ readonly headersSchema: undefined;
921
+ private readonly companyId;
922
+ constructor(companyId: string);
923
+ getPath(): string;
924
+ }
925
+
926
+ declare const getCompaniesQuerySchema: z.ZodObject<{
927
+ businessName: z.ZodOptional<z.ZodString>;
928
+ vat: z.ZodOptional<z.ZodString>;
929
+ taxCode: z.ZodOptional<z.ZodString>;
930
+ 'billingAddress.city': z.ZodOptional<z.ZodString>;
931
+ 'billingAddress.postalCode': z.ZodOptional<z.ZodString>;
932
+ 'operationalAddress.city': z.ZodOptional<z.ZodString>;
933
+ 'operationalAddress.postalCode': z.ZodOptional<z.ZodString>;
934
+ 'order[businessName]': z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
935
+ 'order[createdAt]': z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
936
+ 'order[updatedAt]': z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
937
+ page: z.ZodOptional<z.ZodNumber>;
938
+ }, "strip", z.ZodTypeAny, {
939
+ businessName?: string | undefined;
940
+ vat?: string | undefined;
941
+ taxCode?: string | undefined;
942
+ 'billingAddress.city'?: string | undefined;
943
+ 'billingAddress.postalCode'?: string | undefined;
944
+ 'operationalAddress.city'?: string | undefined;
945
+ 'operationalAddress.postalCode'?: string | undefined;
946
+ 'order[businessName]'?: "asc" | "desc" | undefined;
947
+ 'order[createdAt]'?: "asc" | "desc" | undefined;
948
+ 'order[updatedAt]'?: "asc" | "desc" | undefined;
949
+ page?: number | undefined;
950
+ }, {
951
+ businessName?: string | undefined;
952
+ vat?: string | undefined;
953
+ taxCode?: string | undefined;
954
+ 'billingAddress.city'?: string | undefined;
955
+ 'billingAddress.postalCode'?: string | undefined;
956
+ 'operationalAddress.city'?: string | undefined;
957
+ 'operationalAddress.postalCode'?: string | undefined;
958
+ 'order[businessName]'?: "asc" | "desc" | undefined;
959
+ 'order[createdAt]'?: "asc" | "desc" | undefined;
960
+ 'order[updatedAt]'?: "asc" | "desc" | undefined;
961
+ page?: number | undefined;
962
+ }>;
963
+ type GetCompaniesQueryParams = z.infer<typeof getCompaniesQuerySchema>;
964
+ declare const getCompaniesResponseSchema: z.ZodObject<{
965
+ data: z.ZodArray<z.ZodObject<{
966
+ id: z.ZodString;
967
+ businessName: z.ZodString;
968
+ vat: z.ZodString;
969
+ taxCode: z.ZodString;
970
+ operationalAddress: z.ZodObject<{
971
+ line1: z.ZodString;
972
+ line2: z.ZodString;
973
+ city: z.ZodString;
974
+ region: z.ZodString;
975
+ postalCode: z.ZodString;
976
+ country: z.ZodString;
977
+ }, "strip", z.ZodTypeAny, {
978
+ line1: string;
979
+ line2: string;
980
+ city: string;
981
+ region: string;
982
+ postalCode: string;
983
+ country: string;
984
+ }, {
985
+ line1: string;
986
+ line2: string;
987
+ city: string;
988
+ region: string;
989
+ postalCode: string;
990
+ country: string;
991
+ }>;
992
+ createdAt: z.ZodEffects<z.ZodString, string, string>;
993
+ updatedAt: z.ZodEffects<z.ZodString, string, string>;
994
+ }, "strip", z.ZodTypeAny, {
995
+ id: string;
996
+ businessName: string;
997
+ vat: string;
998
+ taxCode: string;
999
+ operationalAddress: {
1000
+ line1: string;
1001
+ line2: string;
1002
+ city: string;
1003
+ region: string;
1004
+ postalCode: string;
1005
+ country: string;
1006
+ };
1007
+ createdAt: string;
1008
+ updatedAt: string;
1009
+ }, {
1010
+ id: string;
1011
+ businessName: string;
1012
+ vat: string;
1013
+ taxCode: string;
1014
+ operationalAddress: {
1015
+ line1: string;
1016
+ line2: string;
1017
+ city: string;
1018
+ region: string;
1019
+ postalCode: string;
1020
+ country: string;
1021
+ };
1022
+ createdAt: string;
1023
+ updatedAt: string;
1024
+ }>, "many">;
1025
+ pagination: z.ZodObject<{
1026
+ from: z.ZodNumber;
1027
+ to: z.ZodNumber;
1028
+ itemsPerPage: z.ZodNumber;
1029
+ totalItems: z.ZodNumber;
1030
+ currentPage: z.ZodNumber;
1031
+ lastPage: z.ZodNumber;
1032
+ }, "strip", z.ZodTypeAny, {
1033
+ from: number;
1034
+ to: number;
1035
+ itemsPerPage: number;
1036
+ totalItems: number;
1037
+ currentPage: number;
1038
+ lastPage: number;
1039
+ }, {
1040
+ from: number;
1041
+ to: number;
1042
+ itemsPerPage: number;
1043
+ totalItems: number;
1044
+ currentPage: number;
1045
+ lastPage: number;
1046
+ }>;
1047
+ }, "strip", z.ZodTypeAny, {
1048
+ data: {
1049
+ id: string;
1050
+ businessName: string;
1051
+ vat: string;
1052
+ taxCode: string;
1053
+ operationalAddress: {
1054
+ line1: string;
1055
+ line2: string;
1056
+ city: string;
1057
+ region: string;
1058
+ postalCode: string;
1059
+ country: string;
1060
+ };
1061
+ createdAt: string;
1062
+ updatedAt: string;
1063
+ }[];
1064
+ pagination: {
1065
+ from: number;
1066
+ to: number;
1067
+ itemsPerPage: number;
1068
+ totalItems: number;
1069
+ currentPage: number;
1070
+ lastPage: number;
1071
+ };
1072
+ }, {
1073
+ data: {
1074
+ id: string;
1075
+ businessName: string;
1076
+ vat: string;
1077
+ taxCode: string;
1078
+ operationalAddress: {
1079
+ line1: string;
1080
+ line2: string;
1081
+ city: string;
1082
+ region: string;
1083
+ postalCode: string;
1084
+ country: string;
1085
+ };
1086
+ createdAt: string;
1087
+ updatedAt: string;
1088
+ }[];
1089
+ pagination: {
1090
+ from: number;
1091
+ to: number;
1092
+ itemsPerPage: number;
1093
+ totalItems: number;
1094
+ currentPage: number;
1095
+ lastPage: number;
1096
+ };
1097
+ }>;
1098
+ type GetCompaniesResponse = z.infer<typeof getCompaniesResponseSchema>;
1099
+ declare const getCompaniesInputSchema: z.ZodUndefined;
1100
+ declare class GetCompanies extends AbstractApiRequest<void, GetCompaniesResponse, GetCompaniesQueryParams> {
1101
+ readonly method = "GET";
1102
+ readonly contentType = "application/json";
1103
+ readonly accept = "application/json";
1104
+ readonly inputSchema: z.ZodUndefined;
1105
+ readonly outputSchema: z.ZodObject<{
1106
+ data: z.ZodArray<z.ZodObject<{
1107
+ id: z.ZodString;
1108
+ businessName: z.ZodString;
1109
+ vat: z.ZodString;
1110
+ taxCode: z.ZodString;
1111
+ operationalAddress: z.ZodObject<{
1112
+ line1: z.ZodString;
1113
+ line2: z.ZodString;
1114
+ city: z.ZodString;
1115
+ region: z.ZodString;
1116
+ postalCode: z.ZodString;
1117
+ country: z.ZodString;
1118
+ }, "strip", z.ZodTypeAny, {
1119
+ line1: string;
1120
+ line2: string;
1121
+ city: string;
1122
+ region: string;
1123
+ postalCode: string;
1124
+ country: string;
1125
+ }, {
1126
+ line1: string;
1127
+ line2: string;
1128
+ city: string;
1129
+ region: string;
1130
+ postalCode: string;
1131
+ country: string;
1132
+ }>;
1133
+ createdAt: z.ZodEffects<z.ZodString, string, string>;
1134
+ updatedAt: z.ZodEffects<z.ZodString, string, string>;
1135
+ }, "strip", z.ZodTypeAny, {
1136
+ id: string;
1137
+ businessName: string;
1138
+ vat: string;
1139
+ taxCode: string;
1140
+ operationalAddress: {
1141
+ line1: string;
1142
+ line2: string;
1143
+ city: string;
1144
+ region: string;
1145
+ postalCode: string;
1146
+ country: string;
1147
+ };
1148
+ createdAt: string;
1149
+ updatedAt: string;
1150
+ }, {
1151
+ id: string;
1152
+ businessName: string;
1153
+ vat: string;
1154
+ taxCode: string;
1155
+ operationalAddress: {
1156
+ line1: string;
1157
+ line2: string;
1158
+ city: string;
1159
+ region: string;
1160
+ postalCode: string;
1161
+ country: string;
1162
+ };
1163
+ createdAt: string;
1164
+ updatedAt: string;
1165
+ }>, "many">;
1166
+ pagination: z.ZodObject<{
1167
+ from: z.ZodNumber;
1168
+ to: z.ZodNumber;
1169
+ itemsPerPage: z.ZodNumber;
1170
+ totalItems: z.ZodNumber;
1171
+ currentPage: z.ZodNumber;
1172
+ lastPage: z.ZodNumber;
1173
+ }, "strip", z.ZodTypeAny, {
1174
+ from: number;
1175
+ to: number;
1176
+ itemsPerPage: number;
1177
+ totalItems: number;
1178
+ currentPage: number;
1179
+ lastPage: number;
1180
+ }, {
1181
+ from: number;
1182
+ to: number;
1183
+ itemsPerPage: number;
1184
+ totalItems: number;
1185
+ currentPage: number;
1186
+ lastPage: number;
1187
+ }>;
1188
+ }, "strip", z.ZodTypeAny, {
1189
+ data: {
1190
+ id: string;
1191
+ businessName: string;
1192
+ vat: string;
1193
+ taxCode: string;
1194
+ operationalAddress: {
1195
+ line1: string;
1196
+ line2: string;
1197
+ city: string;
1198
+ region: string;
1199
+ postalCode: string;
1200
+ country: string;
1201
+ };
1202
+ createdAt: string;
1203
+ updatedAt: string;
1204
+ }[];
1205
+ pagination: {
1206
+ from: number;
1207
+ to: number;
1208
+ itemsPerPage: number;
1209
+ totalItems: number;
1210
+ currentPage: number;
1211
+ lastPage: number;
1212
+ };
1213
+ }, {
1214
+ data: {
1215
+ id: string;
1216
+ businessName: string;
1217
+ vat: string;
1218
+ taxCode: string;
1219
+ operationalAddress: {
1220
+ line1: string;
1221
+ line2: string;
1222
+ city: string;
1223
+ region: string;
1224
+ postalCode: string;
1225
+ country: string;
1226
+ };
1227
+ createdAt: string;
1228
+ updatedAt: string;
1229
+ }[];
1230
+ pagination: {
1231
+ from: number;
1232
+ to: number;
1233
+ itemsPerPage: number;
1234
+ totalItems: number;
1235
+ currentPage: number;
1236
+ lastPage: number;
1237
+ };
1238
+ }>;
1239
+ readonly querySchema: z.ZodObject<{
1240
+ businessName: z.ZodOptional<z.ZodString>;
1241
+ vat: z.ZodOptional<z.ZodString>;
1242
+ taxCode: z.ZodOptional<z.ZodString>;
1243
+ 'billingAddress.city': z.ZodOptional<z.ZodString>;
1244
+ 'billingAddress.postalCode': z.ZodOptional<z.ZodString>;
1245
+ 'operationalAddress.city': z.ZodOptional<z.ZodString>;
1246
+ 'operationalAddress.postalCode': z.ZodOptional<z.ZodString>;
1247
+ 'order[businessName]': z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
1248
+ 'order[createdAt]': z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
1249
+ 'order[updatedAt]': z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
1250
+ page: z.ZodOptional<z.ZodNumber>;
1251
+ }, "strip", z.ZodTypeAny, {
1252
+ businessName?: string | undefined;
1253
+ vat?: string | undefined;
1254
+ taxCode?: string | undefined;
1255
+ 'billingAddress.city'?: string | undefined;
1256
+ 'billingAddress.postalCode'?: string | undefined;
1257
+ 'operationalAddress.city'?: string | undefined;
1258
+ 'operationalAddress.postalCode'?: string | undefined;
1259
+ 'order[businessName]'?: "asc" | "desc" | undefined;
1260
+ 'order[createdAt]'?: "asc" | "desc" | undefined;
1261
+ 'order[updatedAt]'?: "asc" | "desc" | undefined;
1262
+ page?: number | undefined;
1263
+ }, {
1264
+ businessName?: string | undefined;
1265
+ vat?: string | undefined;
1266
+ taxCode?: string | undefined;
1267
+ 'billingAddress.city'?: string | undefined;
1268
+ 'billingAddress.postalCode'?: string | undefined;
1269
+ 'operationalAddress.city'?: string | undefined;
1270
+ 'operationalAddress.postalCode'?: string | undefined;
1271
+ 'order[businessName]'?: "asc" | "desc" | undefined;
1272
+ 'order[createdAt]'?: "asc" | "desc" | undefined;
1273
+ 'order[updatedAt]'?: "asc" | "desc" | undefined;
1274
+ page?: number | undefined;
1275
+ }>;
1276
+ readonly headersSchema: undefined;
1277
+ constructor(options?: {
1278
+ query?: GetCompaniesQueryParams;
1279
+ });
1280
+ getPath(): string;
1281
+ parseResponse(data: unknown, rawResponse: AxiosResponse): Paginated<Company>;
1282
+ }
1283
+
1284
+ declare const getCompanyDetailsInputSchema: z.ZodUndefined;
1285
+ declare const getCompanyDetailsResponseSchema: z.ZodObject<{
1286
+ id: z.ZodString;
1287
+ businessName: z.ZodString;
1288
+ vat: z.ZodString;
1289
+ taxCode: z.ZodString;
1290
+ operationalAddress: z.ZodObject<{
1291
+ line1: z.ZodString;
1292
+ line2: z.ZodString;
1293
+ city: z.ZodString;
1294
+ region: z.ZodString;
1295
+ postalCode: z.ZodString;
1296
+ country: z.ZodString;
1297
+ }, "strip", z.ZodTypeAny, {
1298
+ line1: string;
1299
+ line2: string;
1300
+ city: string;
1301
+ region: string;
1302
+ postalCode: string;
1303
+ country: string;
1304
+ }, {
1305
+ line1: string;
1306
+ line2: string;
1307
+ city: string;
1308
+ region: string;
1309
+ postalCode: string;
1310
+ country: string;
1311
+ }>;
1312
+ createdAt: z.ZodEffects<z.ZodString, string, string>;
1313
+ updatedAt: z.ZodEffects<z.ZodString, string, string>;
1314
+ } & {
1315
+ billingAddress: z.ZodObject<{
1316
+ line1: z.ZodString;
1317
+ line2: z.ZodString;
1318
+ city: z.ZodString;
1319
+ region: z.ZodString;
1320
+ postalCode: z.ZodString;
1321
+ country: z.ZodString;
1322
+ }, "strip", z.ZodTypeAny, {
1323
+ line1: string;
1324
+ line2: string;
1325
+ city: string;
1326
+ region: string;
1327
+ postalCode: string;
1328
+ country: string;
1329
+ }, {
1330
+ line1: string;
1331
+ line2: string;
1332
+ city: string;
1333
+ region: string;
1334
+ postalCode: string;
1335
+ country: string;
1336
+ }>;
1337
+ billingData: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1338
+ sdi: z.ZodOptional<z.ZodString>;
1339
+ pec: z.ZodOptional<z.ZodString>;
1340
+ }, "strip", z.ZodTypeAny, {
1341
+ sdi?: string | undefined;
1342
+ pec?: string | undefined;
1343
+ }, {
1344
+ sdi?: string | undefined;
1345
+ pec?: string | undefined;
1346
+ }>, {
1347
+ sdi?: string | undefined;
1348
+ pec?: string | undefined;
1349
+ }, {
1350
+ sdi?: string | undefined;
1351
+ pec?: string | undefined;
1352
+ }>, {
1353
+ sdi?: string | undefined;
1354
+ pec?: string | undefined;
1355
+ }, {
1356
+ sdi?: string | undefined;
1357
+ pec?: string | undefined;
1358
+ }>, {
1359
+ sdi?: string | undefined;
1360
+ pec?: string | undefined;
1361
+ }, {
1362
+ sdi?: string | undefined;
1363
+ pec?: string | undefined;
1364
+ }>, {
1365
+ sdi?: string | undefined;
1366
+ pec?: string | undefined;
1367
+ }, {
1368
+ sdi?: string | undefined;
1369
+ pec?: string | undefined;
1370
+ }>;
1371
+ adminBy: z.ZodString;
1372
+ }, "strip", z.ZodTypeAny, {
1373
+ id: string;
1374
+ businessName: string;
1375
+ vat: string;
1376
+ taxCode: string;
1377
+ operationalAddress: {
1378
+ line1: string;
1379
+ line2: string;
1380
+ city: string;
1381
+ region: string;
1382
+ postalCode: string;
1383
+ country: string;
1384
+ };
1385
+ createdAt: string;
1386
+ updatedAt: string;
1387
+ billingAddress: {
1388
+ line1: string;
1389
+ line2: string;
1390
+ city: string;
1391
+ region: string;
1392
+ postalCode: string;
1393
+ country: string;
1394
+ };
1395
+ billingData: {
1396
+ sdi?: string | undefined;
1397
+ pec?: string | undefined;
1398
+ };
1399
+ adminBy: string;
1400
+ }, {
1401
+ id: string;
1402
+ businessName: string;
1403
+ vat: string;
1404
+ taxCode: string;
1405
+ operationalAddress: {
1406
+ line1: string;
1407
+ line2: string;
1408
+ city: string;
1409
+ region: string;
1410
+ postalCode: string;
1411
+ country: string;
1412
+ };
1413
+ createdAt: string;
1414
+ updatedAt: string;
1415
+ billingAddress: {
1416
+ line1: string;
1417
+ line2: string;
1418
+ city: string;
1419
+ region: string;
1420
+ postalCode: string;
1421
+ country: string;
1422
+ };
1423
+ billingData: {
1424
+ sdi?: string | undefined;
1425
+ pec?: string | undefined;
1426
+ };
1427
+ adminBy: string;
1428
+ }>;
1429
+ type GetCompanyDetailsResponse = CompanyDetails;
1430
+ declare class GetCompanyDetails extends AbstractApiRequest<void, GetCompanyDetailsResponse> {
1431
+ readonly method = "GET";
1432
+ readonly contentType = "application/json";
1433
+ readonly accept = "application/json";
1434
+ readonly inputSchema: z.ZodUndefined;
1435
+ readonly outputSchema: z.ZodObject<{
1436
+ id: z.ZodString;
1437
+ businessName: z.ZodString;
1438
+ vat: z.ZodString;
1439
+ taxCode: z.ZodString;
1440
+ operationalAddress: z.ZodObject<{
1441
+ line1: z.ZodString;
1442
+ line2: z.ZodString;
1443
+ city: z.ZodString;
1444
+ region: z.ZodString;
1445
+ postalCode: z.ZodString;
1446
+ country: z.ZodString;
1447
+ }, "strip", z.ZodTypeAny, {
1448
+ line1: string;
1449
+ line2: string;
1450
+ city: string;
1451
+ region: string;
1452
+ postalCode: string;
1453
+ country: string;
1454
+ }, {
1455
+ line1: string;
1456
+ line2: string;
1457
+ city: string;
1458
+ region: string;
1459
+ postalCode: string;
1460
+ country: string;
1461
+ }>;
1462
+ createdAt: z.ZodEffects<z.ZodString, string, string>;
1463
+ updatedAt: z.ZodEffects<z.ZodString, string, string>;
1464
+ } & {
1465
+ billingAddress: z.ZodObject<{
1466
+ line1: z.ZodString;
1467
+ line2: z.ZodString;
1468
+ city: z.ZodString;
1469
+ region: z.ZodString;
1470
+ postalCode: z.ZodString;
1471
+ country: z.ZodString;
1472
+ }, "strip", z.ZodTypeAny, {
1473
+ line1: string;
1474
+ line2: string;
1475
+ city: string;
1476
+ region: string;
1477
+ postalCode: string;
1478
+ country: string;
1479
+ }, {
1480
+ line1: string;
1481
+ line2: string;
1482
+ city: string;
1483
+ region: string;
1484
+ postalCode: string;
1485
+ country: string;
1486
+ }>;
1487
+ billingData: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1488
+ sdi: z.ZodOptional<z.ZodString>;
1489
+ pec: z.ZodOptional<z.ZodString>;
1490
+ }, "strip", z.ZodTypeAny, {
1491
+ sdi?: string | undefined;
1492
+ pec?: string | undefined;
1493
+ }, {
1494
+ sdi?: string | undefined;
1495
+ pec?: string | undefined;
1496
+ }>, {
1497
+ sdi?: string | undefined;
1498
+ pec?: string | undefined;
1499
+ }, {
1500
+ sdi?: string | undefined;
1501
+ pec?: string | undefined;
1502
+ }>, {
1503
+ sdi?: string | undefined;
1504
+ pec?: string | undefined;
1505
+ }, {
1506
+ sdi?: string | undefined;
1507
+ pec?: string | undefined;
1508
+ }>, {
1509
+ sdi?: string | undefined;
1510
+ pec?: string | undefined;
1511
+ }, {
1512
+ sdi?: string | undefined;
1513
+ pec?: string | undefined;
1514
+ }>, {
1515
+ sdi?: string | undefined;
1516
+ pec?: string | undefined;
1517
+ }, {
1518
+ sdi?: string | undefined;
1519
+ pec?: string | undefined;
1520
+ }>;
1521
+ adminBy: z.ZodString;
1522
+ }, "strip", z.ZodTypeAny, {
1523
+ id: string;
1524
+ businessName: string;
1525
+ vat: string;
1526
+ taxCode: string;
1527
+ operationalAddress: {
1528
+ line1: string;
1529
+ line2: string;
1530
+ city: string;
1531
+ region: string;
1532
+ postalCode: string;
1533
+ country: string;
1534
+ };
1535
+ createdAt: string;
1536
+ updatedAt: string;
1537
+ billingAddress: {
1538
+ line1: string;
1539
+ line2: string;
1540
+ city: string;
1541
+ region: string;
1542
+ postalCode: string;
1543
+ country: string;
1544
+ };
1545
+ billingData: {
1546
+ sdi?: string | undefined;
1547
+ pec?: string | undefined;
1548
+ };
1549
+ adminBy: string;
1550
+ }, {
1551
+ id: string;
1552
+ businessName: string;
1553
+ vat: string;
1554
+ taxCode: string;
1555
+ operationalAddress: {
1556
+ line1: string;
1557
+ line2: string;
1558
+ city: string;
1559
+ region: string;
1560
+ postalCode: string;
1561
+ country: string;
1562
+ };
1563
+ createdAt: string;
1564
+ updatedAt: string;
1565
+ billingAddress: {
1566
+ line1: string;
1567
+ line2: string;
1568
+ city: string;
1569
+ region: string;
1570
+ postalCode: string;
1571
+ country: string;
1572
+ };
1573
+ billingData: {
1574
+ sdi?: string | undefined;
1575
+ pec?: string | undefined;
1576
+ };
1577
+ adminBy: string;
1578
+ }>;
1579
+ readonly querySchema: undefined;
1580
+ readonly headersSchema: undefined;
1581
+ private readonly companyId;
1582
+ constructor(companyId: string);
1583
+ getPath(): string;
1584
+ }
1585
+
1586
+ declare const updateCompanyInputSchema: z.ZodObject<{
1587
+ businessName: z.ZodOptional<z.ZodString>;
1588
+ vat: z.ZodOptional<z.ZodString>;
1589
+ taxCode: z.ZodOptional<z.ZodString>;
1590
+ operationalAddress: z.ZodOptional<z.ZodObject<{
1591
+ line1: z.ZodString;
1592
+ line2: z.ZodString;
1593
+ city: z.ZodString;
1594
+ region: z.ZodString;
1595
+ postalCode: z.ZodString;
1596
+ country: z.ZodString;
1597
+ }, "strip", z.ZodTypeAny, {
1598
+ line1: string;
1599
+ line2: string;
1600
+ city: string;
1601
+ region: string;
1602
+ postalCode: string;
1603
+ country: string;
1604
+ }, {
1605
+ line1: string;
1606
+ line2: string;
1607
+ city: string;
1608
+ region: string;
1609
+ postalCode: string;
1610
+ country: string;
1611
+ }>>;
1612
+ billingAddress: z.ZodOptional<z.ZodObject<{
1613
+ line1: z.ZodString;
1614
+ line2: z.ZodString;
1615
+ city: z.ZodString;
1616
+ region: z.ZodString;
1617
+ postalCode: z.ZodString;
1618
+ country: z.ZodString;
1619
+ }, "strip", z.ZodTypeAny, {
1620
+ line1: string;
1621
+ line2: string;
1622
+ city: string;
1623
+ region: string;
1624
+ postalCode: string;
1625
+ country: string;
1626
+ }, {
1627
+ line1: string;
1628
+ line2: string;
1629
+ city: string;
1630
+ region: string;
1631
+ postalCode: string;
1632
+ country: string;
1633
+ }>>;
1634
+ billingData: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1635
+ sdi: z.ZodOptional<z.ZodString>;
1636
+ pec: z.ZodOptional<z.ZodString>;
1637
+ }, "strip", z.ZodTypeAny, {
1638
+ sdi?: string | undefined;
1639
+ pec?: string | undefined;
1640
+ }, {
1641
+ sdi?: string | undefined;
1642
+ pec?: string | undefined;
1643
+ }>, {
1644
+ sdi?: string | undefined;
1645
+ pec?: string | undefined;
1646
+ }, {
1647
+ sdi?: string | undefined;
1648
+ pec?: string | undefined;
1649
+ }>, {
1650
+ sdi?: string | undefined;
1651
+ pec?: string | undefined;
1652
+ }, {
1653
+ sdi?: string | undefined;
1654
+ pec?: string | undefined;
1655
+ }>, {
1656
+ sdi?: string | undefined;
1657
+ pec?: string | undefined;
1658
+ }, {
1659
+ sdi?: string | undefined;
1660
+ pec?: string | undefined;
1661
+ }>, {
1662
+ sdi?: string | undefined;
1663
+ pec?: string | undefined;
1664
+ }, {
1665
+ sdi?: string | undefined;
1666
+ pec?: string | undefined;
1667
+ }>>;
1668
+ }, "strip", z.ZodTypeAny, {
1669
+ businessName?: string | undefined;
1670
+ vat?: string | undefined;
1671
+ taxCode?: string | undefined;
1672
+ operationalAddress?: {
1673
+ line1: string;
1674
+ line2: string;
1675
+ city: string;
1676
+ region: string;
1677
+ postalCode: string;
1678
+ country: string;
1679
+ } | undefined;
1680
+ billingAddress?: {
1681
+ line1: string;
1682
+ line2: string;
1683
+ city: string;
1684
+ region: string;
1685
+ postalCode: string;
1686
+ country: string;
1687
+ } | undefined;
1688
+ billingData?: {
1689
+ sdi?: string | undefined;
1690
+ pec?: string | undefined;
1691
+ } | undefined;
1692
+ }, {
1693
+ businessName?: string | undefined;
1694
+ vat?: string | undefined;
1695
+ taxCode?: string | undefined;
1696
+ operationalAddress?: {
1697
+ line1: string;
1698
+ line2: string;
1699
+ city: string;
1700
+ region: string;
1701
+ postalCode: string;
1702
+ country: string;
1703
+ } | undefined;
1704
+ billingAddress?: {
1705
+ line1: string;
1706
+ line2: string;
1707
+ city: string;
1708
+ region: string;
1709
+ postalCode: string;
1710
+ country: string;
1711
+ } | undefined;
1712
+ billingData?: {
1713
+ sdi?: string | undefined;
1714
+ pec?: string | undefined;
1715
+ } | undefined;
1716
+ }>;
1717
+ type UpdateCompanyInput = z.infer<typeof updateCompanyInputSchema>;
1718
+ declare const updateCompanyResponseSchema: z.ZodObject<{
1719
+ id: z.ZodString;
1720
+ businessName: z.ZodString;
1721
+ vat: z.ZodString;
1722
+ taxCode: z.ZodString;
1723
+ operationalAddress: z.ZodObject<{
1724
+ line1: z.ZodString;
1725
+ line2: z.ZodString;
1726
+ city: z.ZodString;
1727
+ region: z.ZodString;
1728
+ postalCode: z.ZodString;
1729
+ country: z.ZodString;
1730
+ }, "strip", z.ZodTypeAny, {
1731
+ line1: string;
1732
+ line2: string;
1733
+ city: string;
1734
+ region: string;
1735
+ postalCode: string;
1736
+ country: string;
1737
+ }, {
1738
+ line1: string;
1739
+ line2: string;
1740
+ city: string;
1741
+ region: string;
1742
+ postalCode: string;
1743
+ country: string;
1744
+ }>;
1745
+ createdAt: z.ZodEffects<z.ZodString, string, string>;
1746
+ updatedAt: z.ZodEffects<z.ZodString, string, string>;
1747
+ } & {
1748
+ billingAddress: z.ZodObject<{
1749
+ line1: z.ZodString;
1750
+ line2: z.ZodString;
1751
+ city: z.ZodString;
1752
+ region: z.ZodString;
1753
+ postalCode: z.ZodString;
1754
+ country: z.ZodString;
1755
+ }, "strip", z.ZodTypeAny, {
1756
+ line1: string;
1757
+ line2: string;
1758
+ city: string;
1759
+ region: string;
1760
+ postalCode: string;
1761
+ country: string;
1762
+ }, {
1763
+ line1: string;
1764
+ line2: string;
1765
+ city: string;
1766
+ region: string;
1767
+ postalCode: string;
1768
+ country: string;
1769
+ }>;
1770
+ billingData: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1771
+ sdi: z.ZodOptional<z.ZodString>;
1772
+ pec: z.ZodOptional<z.ZodString>;
1773
+ }, "strip", z.ZodTypeAny, {
1774
+ sdi?: string | undefined;
1775
+ pec?: string | undefined;
1776
+ }, {
1777
+ sdi?: string | undefined;
1778
+ pec?: string | undefined;
1779
+ }>, {
1780
+ sdi?: string | undefined;
1781
+ pec?: string | undefined;
1782
+ }, {
1783
+ sdi?: string | undefined;
1784
+ pec?: string | undefined;
1785
+ }>, {
1786
+ sdi?: string | undefined;
1787
+ pec?: string | undefined;
1788
+ }, {
1789
+ sdi?: string | undefined;
1790
+ pec?: string | undefined;
1791
+ }>, {
1792
+ sdi?: string | undefined;
1793
+ pec?: string | undefined;
1794
+ }, {
1795
+ sdi?: string | undefined;
1796
+ pec?: string | undefined;
1797
+ }>, {
1798
+ sdi?: string | undefined;
1799
+ pec?: string | undefined;
1800
+ }, {
1801
+ sdi?: string | undefined;
1802
+ pec?: string | undefined;
1803
+ }>;
1804
+ adminBy: z.ZodString;
1805
+ }, "strip", z.ZodTypeAny, {
1806
+ id: string;
1807
+ businessName: string;
1808
+ vat: string;
1809
+ taxCode: string;
1810
+ operationalAddress: {
1811
+ line1: string;
1812
+ line2: string;
1813
+ city: string;
1814
+ region: string;
1815
+ postalCode: string;
1816
+ country: string;
1817
+ };
1818
+ createdAt: string;
1819
+ updatedAt: string;
1820
+ billingAddress: {
1821
+ line1: string;
1822
+ line2: string;
1823
+ city: string;
1824
+ region: string;
1825
+ postalCode: string;
1826
+ country: string;
1827
+ };
1828
+ billingData: {
1829
+ sdi?: string | undefined;
1830
+ pec?: string | undefined;
1831
+ };
1832
+ adminBy: string;
1833
+ }, {
1834
+ id: string;
1835
+ businessName: string;
1836
+ vat: string;
1837
+ taxCode: string;
1838
+ operationalAddress: {
1839
+ line1: string;
1840
+ line2: string;
1841
+ city: string;
1842
+ region: string;
1843
+ postalCode: string;
1844
+ country: string;
1845
+ };
1846
+ createdAt: string;
1847
+ updatedAt: string;
1848
+ billingAddress: {
1849
+ line1: string;
1850
+ line2: string;
1851
+ city: string;
1852
+ region: string;
1853
+ postalCode: string;
1854
+ country: string;
1855
+ };
1856
+ billingData: {
1857
+ sdi?: string | undefined;
1858
+ pec?: string | undefined;
1859
+ };
1860
+ adminBy: string;
1861
+ }>;
1862
+ type UpdateCompanyResponse = CompanyDetails;
1863
+ declare class UpdateCompany extends AbstractApiRequest<UpdateCompanyInput, UpdateCompanyResponse> {
1864
+ readonly method = "PATCH";
1865
+ readonly contentType = "application/merge-patch+json";
1866
+ readonly accept = "application/json";
1867
+ readonly inputSchema: z.ZodObject<{
1868
+ businessName: z.ZodOptional<z.ZodString>;
1869
+ vat: z.ZodOptional<z.ZodString>;
1870
+ taxCode: z.ZodOptional<z.ZodString>;
1871
+ operationalAddress: z.ZodOptional<z.ZodObject<{
1872
+ line1: z.ZodString;
1873
+ line2: z.ZodString;
1874
+ city: z.ZodString;
1875
+ region: z.ZodString;
1876
+ postalCode: z.ZodString;
1877
+ country: z.ZodString;
1878
+ }, "strip", z.ZodTypeAny, {
1879
+ line1: string;
1880
+ line2: string;
1881
+ city: string;
1882
+ region: string;
1883
+ postalCode: string;
1884
+ country: string;
1885
+ }, {
1886
+ line1: string;
1887
+ line2: string;
1888
+ city: string;
1889
+ region: string;
1890
+ postalCode: string;
1891
+ country: string;
1892
+ }>>;
1893
+ billingAddress: z.ZodOptional<z.ZodObject<{
1894
+ line1: z.ZodString;
1895
+ line2: z.ZodString;
1896
+ city: z.ZodString;
1897
+ region: z.ZodString;
1898
+ postalCode: z.ZodString;
1899
+ country: z.ZodString;
1900
+ }, "strip", z.ZodTypeAny, {
1901
+ line1: string;
1902
+ line2: string;
1903
+ city: string;
1904
+ region: string;
1905
+ postalCode: string;
1906
+ country: string;
1907
+ }, {
1908
+ line1: string;
1909
+ line2: string;
1910
+ city: string;
1911
+ region: string;
1912
+ postalCode: string;
1913
+ country: string;
1914
+ }>>;
1915
+ billingData: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1916
+ sdi: z.ZodOptional<z.ZodString>;
1917
+ pec: z.ZodOptional<z.ZodString>;
1918
+ }, "strip", z.ZodTypeAny, {
1919
+ sdi?: string | undefined;
1920
+ pec?: string | undefined;
1921
+ }, {
1922
+ sdi?: string | undefined;
1923
+ pec?: string | undefined;
1924
+ }>, {
1925
+ sdi?: string | undefined;
1926
+ pec?: string | undefined;
1927
+ }, {
1928
+ sdi?: string | undefined;
1929
+ pec?: string | undefined;
1930
+ }>, {
1931
+ sdi?: string | undefined;
1932
+ pec?: string | undefined;
1933
+ }, {
1934
+ sdi?: string | undefined;
1935
+ pec?: string | undefined;
1936
+ }>, {
1937
+ sdi?: string | undefined;
1938
+ pec?: string | undefined;
1939
+ }, {
1940
+ sdi?: string | undefined;
1941
+ pec?: string | undefined;
1942
+ }>, {
1943
+ sdi?: string | undefined;
1944
+ pec?: string | undefined;
1945
+ }, {
1946
+ sdi?: string | undefined;
1947
+ pec?: string | undefined;
1948
+ }>>;
1949
+ }, "strip", z.ZodTypeAny, {
1950
+ businessName?: string | undefined;
1951
+ vat?: string | undefined;
1952
+ taxCode?: string | undefined;
1953
+ operationalAddress?: {
1954
+ line1: string;
1955
+ line2: string;
1956
+ city: string;
1957
+ region: string;
1958
+ postalCode: string;
1959
+ country: string;
1960
+ } | undefined;
1961
+ billingAddress?: {
1962
+ line1: string;
1963
+ line2: string;
1964
+ city: string;
1965
+ region: string;
1966
+ postalCode: string;
1967
+ country: string;
1968
+ } | undefined;
1969
+ billingData?: {
1970
+ sdi?: string | undefined;
1971
+ pec?: string | undefined;
1972
+ } | undefined;
1973
+ }, {
1974
+ businessName?: string | undefined;
1975
+ vat?: string | undefined;
1976
+ taxCode?: string | undefined;
1977
+ operationalAddress?: {
1978
+ line1: string;
1979
+ line2: string;
1980
+ city: string;
1981
+ region: string;
1982
+ postalCode: string;
1983
+ country: string;
1984
+ } | undefined;
1985
+ billingAddress?: {
1986
+ line1: string;
1987
+ line2: string;
1988
+ city: string;
1989
+ region: string;
1990
+ postalCode: string;
1991
+ country: string;
1992
+ } | undefined;
1993
+ billingData?: {
1994
+ sdi?: string | undefined;
1995
+ pec?: string | undefined;
1996
+ } | undefined;
1997
+ }>;
1998
+ readonly outputSchema: z.ZodObject<{
1999
+ id: z.ZodString;
2000
+ businessName: z.ZodString;
2001
+ vat: z.ZodString;
2002
+ taxCode: z.ZodString;
2003
+ operationalAddress: z.ZodObject<{
2004
+ line1: z.ZodString;
2005
+ line2: z.ZodString;
2006
+ city: z.ZodString;
2007
+ region: z.ZodString;
2008
+ postalCode: z.ZodString;
2009
+ country: z.ZodString;
2010
+ }, "strip", z.ZodTypeAny, {
2011
+ line1: string;
2012
+ line2: string;
2013
+ city: string;
2014
+ region: string;
2015
+ postalCode: string;
2016
+ country: string;
2017
+ }, {
2018
+ line1: string;
2019
+ line2: string;
2020
+ city: string;
2021
+ region: string;
2022
+ postalCode: string;
2023
+ country: string;
2024
+ }>;
2025
+ createdAt: z.ZodEffects<z.ZodString, string, string>;
2026
+ updatedAt: z.ZodEffects<z.ZodString, string, string>;
2027
+ } & {
2028
+ billingAddress: z.ZodObject<{
2029
+ line1: z.ZodString;
2030
+ line2: z.ZodString;
2031
+ city: z.ZodString;
2032
+ region: z.ZodString;
2033
+ postalCode: z.ZodString;
2034
+ country: z.ZodString;
2035
+ }, "strip", z.ZodTypeAny, {
2036
+ line1: string;
2037
+ line2: string;
2038
+ city: string;
2039
+ region: string;
2040
+ postalCode: string;
2041
+ country: string;
2042
+ }, {
2043
+ line1: string;
2044
+ line2: string;
2045
+ city: string;
2046
+ region: string;
2047
+ postalCode: string;
2048
+ country: string;
2049
+ }>;
2050
+ billingData: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
2051
+ sdi: z.ZodOptional<z.ZodString>;
2052
+ pec: z.ZodOptional<z.ZodString>;
2053
+ }, "strip", z.ZodTypeAny, {
2054
+ sdi?: string | undefined;
2055
+ pec?: string | undefined;
2056
+ }, {
2057
+ sdi?: string | undefined;
2058
+ pec?: string | undefined;
2059
+ }>, {
2060
+ sdi?: string | undefined;
2061
+ pec?: string | undefined;
2062
+ }, {
2063
+ sdi?: string | undefined;
2064
+ pec?: string | undefined;
2065
+ }>, {
2066
+ sdi?: string | undefined;
2067
+ pec?: string | undefined;
2068
+ }, {
2069
+ sdi?: string | undefined;
2070
+ pec?: string | undefined;
2071
+ }>, {
2072
+ sdi?: string | undefined;
2073
+ pec?: string | undefined;
2074
+ }, {
2075
+ sdi?: string | undefined;
2076
+ pec?: string | undefined;
2077
+ }>, {
2078
+ sdi?: string | undefined;
2079
+ pec?: string | undefined;
2080
+ }, {
2081
+ sdi?: string | undefined;
2082
+ pec?: string | undefined;
2083
+ }>;
2084
+ adminBy: z.ZodString;
2085
+ }, "strip", z.ZodTypeAny, {
2086
+ id: string;
2087
+ businessName: string;
2088
+ vat: string;
2089
+ taxCode: string;
2090
+ operationalAddress: {
2091
+ line1: string;
2092
+ line2: string;
2093
+ city: string;
2094
+ region: string;
2095
+ postalCode: string;
2096
+ country: string;
2097
+ };
2098
+ createdAt: string;
2099
+ updatedAt: string;
2100
+ billingAddress: {
2101
+ line1: string;
2102
+ line2: string;
2103
+ city: string;
2104
+ region: string;
2105
+ postalCode: string;
2106
+ country: string;
2107
+ };
2108
+ billingData: {
2109
+ sdi?: string | undefined;
2110
+ pec?: string | undefined;
2111
+ };
2112
+ adminBy: string;
2113
+ }, {
2114
+ id: string;
2115
+ businessName: string;
2116
+ vat: string;
2117
+ taxCode: string;
2118
+ operationalAddress: {
2119
+ line1: string;
2120
+ line2: string;
2121
+ city: string;
2122
+ region: string;
2123
+ postalCode: string;
2124
+ country: string;
2125
+ };
2126
+ createdAt: string;
2127
+ updatedAt: string;
2128
+ billingAddress: {
2129
+ line1: string;
2130
+ line2: string;
2131
+ city: string;
2132
+ region: string;
2133
+ postalCode: string;
2134
+ country: string;
2135
+ };
2136
+ billingData: {
2137
+ sdi?: string | undefined;
2138
+ pec?: string | undefined;
2139
+ };
2140
+ adminBy: string;
2141
+ }>;
2142
+ readonly querySchema: undefined;
2143
+ readonly headersSchema: undefined;
2144
+ private readonly companyId;
2145
+ constructor(companyId: string, input: UpdateCompanyInput);
2146
+ getPath(): string;
2147
+ }
2148
+
2149
+ export { type Company, type CompanyDetails, CreateCompany, type CreateCompanyInput, type CreateCompanyResponse, DeleteCompany, GetCompanies, type GetCompaniesQueryParams, type GetCompaniesResponse, GetCompanyDetails, type GetCompanyDetailsResponse, UpdateCompany, type UpdateCompanyInput, type UpdateCompanyResponse, companyDetailsSchema, companySchema, createCompanyInputSchema, createCompanyResponseSchema, deleteCompanyInputSchema, deleteCompanyResponseSchema, getCompaniesInputSchema, getCompaniesQuerySchema, getCompaniesResponseSchema, getCompanyDetailsInputSchema, getCompanyDetailsResponseSchema, updateCompanyInputSchema, updateCompanyResponseSchema, writableCompanySchema };