@deliverart/sdk-js-company 0.1.0 → 0.1.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.
- package/CHANGELOG.md +6 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +49 -49
- package/dist/index.d.ts +49 -49
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/models.ts +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -52,7 +52,7 @@ var companySchema = import_zod.z.object({
|
|
|
52
52
|
id: import_zod.z.string(),
|
|
53
53
|
businessName: import_zod.z.string(),
|
|
54
54
|
vat: import_zod.z.string(),
|
|
55
|
-
taxCode: import_zod.z.string(),
|
|
55
|
+
taxCode: import_zod.z.string().nullable(),
|
|
56
56
|
operationalAddress: import_sdk_js_global_types.addressSchema,
|
|
57
57
|
createdAt: import_sdk_js_global_types.datetimeSchema,
|
|
58
58
|
updatedAt: import_sdk_js_global_types.datetimeSchema
|
package/dist/index.d.cts
CHANGED
|
@@ -8,7 +8,7 @@ declare const companySchema: z.ZodObject<{
|
|
|
8
8
|
id: z.ZodString;
|
|
9
9
|
businessName: z.ZodString;
|
|
10
10
|
vat: z.ZodString;
|
|
11
|
-
taxCode: z.ZodString
|
|
11
|
+
taxCode: z.ZodNullable<z.ZodString>;
|
|
12
12
|
operationalAddress: z.ZodObject<{
|
|
13
13
|
line1: z.ZodString;
|
|
14
14
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -37,7 +37,7 @@ declare const companySchema: z.ZodObject<{
|
|
|
37
37
|
id: string;
|
|
38
38
|
businessName: string;
|
|
39
39
|
vat: string;
|
|
40
|
-
taxCode: string;
|
|
40
|
+
taxCode: string | null;
|
|
41
41
|
operationalAddress: {
|
|
42
42
|
line1: string;
|
|
43
43
|
city: string;
|
|
@@ -52,7 +52,7 @@ declare const companySchema: z.ZodObject<{
|
|
|
52
52
|
id: string;
|
|
53
53
|
businessName: string;
|
|
54
54
|
vat: string;
|
|
55
|
-
taxCode: string;
|
|
55
|
+
taxCode: string | null;
|
|
56
56
|
operationalAddress: {
|
|
57
57
|
line1: string;
|
|
58
58
|
city: string;
|
|
@@ -69,7 +69,7 @@ declare const companyDetailsSchema: z.ZodObject<{
|
|
|
69
69
|
id: z.ZodString;
|
|
70
70
|
businessName: z.ZodString;
|
|
71
71
|
vat: z.ZodString;
|
|
72
|
-
taxCode: z.ZodString
|
|
72
|
+
taxCode: z.ZodNullable<z.ZodString>;
|
|
73
73
|
operationalAddress: z.ZodObject<{
|
|
74
74
|
line1: z.ZodString;
|
|
75
75
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -138,7 +138,7 @@ declare const companyDetailsSchema: z.ZodObject<{
|
|
|
138
138
|
id: string;
|
|
139
139
|
businessName: string;
|
|
140
140
|
vat: string;
|
|
141
|
-
taxCode: string;
|
|
141
|
+
taxCode: string | null;
|
|
142
142
|
operationalAddress: {
|
|
143
143
|
line1: string;
|
|
144
144
|
city: string;
|
|
@@ -166,7 +166,7 @@ declare const companyDetailsSchema: z.ZodObject<{
|
|
|
166
166
|
id: string;
|
|
167
167
|
businessName: string;
|
|
168
168
|
vat: string;
|
|
169
|
-
taxCode: string;
|
|
169
|
+
taxCode: string | null;
|
|
170
170
|
operationalAddress: {
|
|
171
171
|
line1: string;
|
|
172
172
|
city: string;
|
|
@@ -196,7 +196,7 @@ declare const writableCompanySchema: z.ZodObject<Pick<{
|
|
|
196
196
|
id: z.ZodString;
|
|
197
197
|
businessName: z.ZodString;
|
|
198
198
|
vat: z.ZodString;
|
|
199
|
-
taxCode: z.ZodString
|
|
199
|
+
taxCode: z.ZodNullable<z.ZodString>;
|
|
200
200
|
operationalAddress: z.ZodObject<{
|
|
201
201
|
line1: z.ZodString;
|
|
202
202
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -264,7 +264,7 @@ declare const writableCompanySchema: z.ZodObject<Pick<{
|
|
|
264
264
|
}, "businessName" | "vat" | "taxCode" | "operationalAddress" | "billingAddress" | "billingData">, "strip", z.ZodTypeAny, {
|
|
265
265
|
businessName: string;
|
|
266
266
|
vat: string;
|
|
267
|
-
taxCode: string;
|
|
267
|
+
taxCode: string | null;
|
|
268
268
|
operationalAddress: {
|
|
269
269
|
line1: string;
|
|
270
270
|
city: string;
|
|
@@ -288,7 +288,7 @@ declare const writableCompanySchema: z.ZodObject<Pick<{
|
|
|
288
288
|
}, {
|
|
289
289
|
businessName: string;
|
|
290
290
|
vat: string;
|
|
291
|
-
taxCode: string;
|
|
291
|
+
taxCode: string | null;
|
|
292
292
|
operationalAddress: {
|
|
293
293
|
line1: string;
|
|
294
294
|
city: string;
|
|
@@ -352,7 +352,7 @@ type CompaniesQueryParams = z.infer<typeof companiesQuerySchema>;
|
|
|
352
352
|
declare const createCompanyInputSchema: z.ZodObject<{
|
|
353
353
|
businessName: z.ZodString;
|
|
354
354
|
vat: z.ZodString;
|
|
355
|
-
taxCode: z.ZodString
|
|
355
|
+
taxCode: z.ZodNullable<z.ZodString>;
|
|
356
356
|
operationalAddress: z.ZodObject<{
|
|
357
357
|
line1: z.ZodString;
|
|
358
358
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -416,7 +416,7 @@ declare const createCompanyInputSchema: z.ZodObject<{
|
|
|
416
416
|
}, "strip", z.ZodTypeAny, {
|
|
417
417
|
businessName: string;
|
|
418
418
|
vat: string;
|
|
419
|
-
taxCode: string;
|
|
419
|
+
taxCode: string | null;
|
|
420
420
|
operationalAddress: {
|
|
421
421
|
line1: string;
|
|
422
422
|
city: string;
|
|
@@ -440,7 +440,7 @@ declare const createCompanyInputSchema: z.ZodObject<{
|
|
|
440
440
|
}, {
|
|
441
441
|
businessName: string;
|
|
442
442
|
vat: string;
|
|
443
|
-
taxCode: string;
|
|
443
|
+
taxCode: string | null;
|
|
444
444
|
operationalAddress: {
|
|
445
445
|
line1: string;
|
|
446
446
|
city: string;
|
|
@@ -467,7 +467,7 @@ declare const createCompanyResponseSchema: z.ZodObject<{
|
|
|
467
467
|
id: z.ZodString;
|
|
468
468
|
businessName: z.ZodString;
|
|
469
469
|
vat: z.ZodString;
|
|
470
|
-
taxCode: z.ZodString
|
|
470
|
+
taxCode: z.ZodNullable<z.ZodString>;
|
|
471
471
|
operationalAddress: z.ZodObject<{
|
|
472
472
|
line1: z.ZodString;
|
|
473
473
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -536,7 +536,7 @@ declare const createCompanyResponseSchema: z.ZodObject<{
|
|
|
536
536
|
id: string;
|
|
537
537
|
businessName: string;
|
|
538
538
|
vat: string;
|
|
539
|
-
taxCode: string;
|
|
539
|
+
taxCode: string | null;
|
|
540
540
|
operationalAddress: {
|
|
541
541
|
line1: string;
|
|
542
542
|
city: string;
|
|
@@ -564,7 +564,7 @@ declare const createCompanyResponseSchema: z.ZodObject<{
|
|
|
564
564
|
id: string;
|
|
565
565
|
businessName: string;
|
|
566
566
|
vat: string;
|
|
567
|
-
taxCode: string;
|
|
567
|
+
taxCode: string | null;
|
|
568
568
|
operationalAddress: {
|
|
569
569
|
line1: string;
|
|
570
570
|
city: string;
|
|
@@ -597,7 +597,7 @@ declare class CreateCompany extends AbstractApiRequest<typeof createCompanyInput
|
|
|
597
597
|
readonly inputSchema: z.ZodObject<{
|
|
598
598
|
businessName: z.ZodString;
|
|
599
599
|
vat: z.ZodString;
|
|
600
|
-
taxCode: z.ZodString
|
|
600
|
+
taxCode: z.ZodNullable<z.ZodString>;
|
|
601
601
|
operationalAddress: z.ZodObject<{
|
|
602
602
|
line1: z.ZodString;
|
|
603
603
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -661,7 +661,7 @@ declare class CreateCompany extends AbstractApiRequest<typeof createCompanyInput
|
|
|
661
661
|
}, "strip", z.ZodTypeAny, {
|
|
662
662
|
businessName: string;
|
|
663
663
|
vat: string;
|
|
664
|
-
taxCode: string;
|
|
664
|
+
taxCode: string | null;
|
|
665
665
|
operationalAddress: {
|
|
666
666
|
line1: string;
|
|
667
667
|
city: string;
|
|
@@ -685,7 +685,7 @@ declare class CreateCompany extends AbstractApiRequest<typeof createCompanyInput
|
|
|
685
685
|
}, {
|
|
686
686
|
businessName: string;
|
|
687
687
|
vat: string;
|
|
688
|
-
taxCode: string;
|
|
688
|
+
taxCode: string | null;
|
|
689
689
|
operationalAddress: {
|
|
690
690
|
line1: string;
|
|
691
691
|
city: string;
|
|
@@ -711,7 +711,7 @@ declare class CreateCompany extends AbstractApiRequest<typeof createCompanyInput
|
|
|
711
711
|
id: z.ZodString;
|
|
712
712
|
businessName: z.ZodString;
|
|
713
713
|
vat: z.ZodString;
|
|
714
|
-
taxCode: z.ZodString
|
|
714
|
+
taxCode: z.ZodNullable<z.ZodString>;
|
|
715
715
|
operationalAddress: z.ZodObject<{
|
|
716
716
|
line1: z.ZodString;
|
|
717
717
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -780,7 +780,7 @@ declare class CreateCompany extends AbstractApiRequest<typeof createCompanyInput
|
|
|
780
780
|
id: string;
|
|
781
781
|
businessName: string;
|
|
782
782
|
vat: string;
|
|
783
|
-
taxCode: string;
|
|
783
|
+
taxCode: string | null;
|
|
784
784
|
operationalAddress: {
|
|
785
785
|
line1: string;
|
|
786
786
|
city: string;
|
|
@@ -808,7 +808,7 @@ declare class CreateCompany extends AbstractApiRequest<typeof createCompanyInput
|
|
|
808
808
|
id: string;
|
|
809
809
|
businessName: string;
|
|
810
810
|
vat: string;
|
|
811
|
-
taxCode: string;
|
|
811
|
+
taxCode: string | null;
|
|
812
812
|
operationalAddress: {
|
|
813
813
|
line1: string;
|
|
814
814
|
city: string;
|
|
@@ -899,7 +899,7 @@ declare const getCompaniesResponseSchema: z.ZodObject<{
|
|
|
899
899
|
id: z.ZodString;
|
|
900
900
|
businessName: z.ZodString;
|
|
901
901
|
vat: z.ZodString;
|
|
902
|
-
taxCode: z.ZodString
|
|
902
|
+
taxCode: z.ZodNullable<z.ZodString>;
|
|
903
903
|
operationalAddress: z.ZodObject<{
|
|
904
904
|
line1: z.ZodString;
|
|
905
905
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -928,7 +928,7 @@ declare const getCompaniesResponseSchema: z.ZodObject<{
|
|
|
928
928
|
id: string;
|
|
929
929
|
businessName: string;
|
|
930
930
|
vat: string;
|
|
931
|
-
taxCode: string;
|
|
931
|
+
taxCode: string | null;
|
|
932
932
|
operationalAddress: {
|
|
933
933
|
line1: string;
|
|
934
934
|
city: string;
|
|
@@ -943,7 +943,7 @@ declare const getCompaniesResponseSchema: z.ZodObject<{
|
|
|
943
943
|
id: string;
|
|
944
944
|
businessName: string;
|
|
945
945
|
vat: string;
|
|
946
|
-
taxCode: string;
|
|
946
|
+
taxCode: string | null;
|
|
947
947
|
operationalAddress: {
|
|
948
948
|
line1: string;
|
|
949
949
|
city: string;
|
|
@@ -982,7 +982,7 @@ declare const getCompaniesResponseSchema: z.ZodObject<{
|
|
|
982
982
|
id: string;
|
|
983
983
|
businessName: string;
|
|
984
984
|
vat: string;
|
|
985
|
-
taxCode: string;
|
|
985
|
+
taxCode: string | null;
|
|
986
986
|
operationalAddress: {
|
|
987
987
|
line1: string;
|
|
988
988
|
city: string;
|
|
@@ -1007,7 +1007,7 @@ declare const getCompaniesResponseSchema: z.ZodObject<{
|
|
|
1007
1007
|
id: string;
|
|
1008
1008
|
businessName: string;
|
|
1009
1009
|
vat: string;
|
|
1010
|
-
taxCode: string;
|
|
1010
|
+
taxCode: string | null;
|
|
1011
1011
|
operationalAddress: {
|
|
1012
1012
|
line1: string;
|
|
1013
1013
|
city: string;
|
|
@@ -1039,7 +1039,7 @@ declare class GetCompanies extends AbstractApiRequest<typeof getCompaniesInputSc
|
|
|
1039
1039
|
id: z.ZodString;
|
|
1040
1040
|
businessName: z.ZodString;
|
|
1041
1041
|
vat: z.ZodString;
|
|
1042
|
-
taxCode: z.ZodString
|
|
1042
|
+
taxCode: z.ZodNullable<z.ZodString>;
|
|
1043
1043
|
operationalAddress: z.ZodObject<{
|
|
1044
1044
|
line1: z.ZodString;
|
|
1045
1045
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1068,7 +1068,7 @@ declare class GetCompanies extends AbstractApiRequest<typeof getCompaniesInputSc
|
|
|
1068
1068
|
id: string;
|
|
1069
1069
|
businessName: string;
|
|
1070
1070
|
vat: string;
|
|
1071
|
-
taxCode: string;
|
|
1071
|
+
taxCode: string | null;
|
|
1072
1072
|
operationalAddress: {
|
|
1073
1073
|
line1: string;
|
|
1074
1074
|
city: string;
|
|
@@ -1083,7 +1083,7 @@ declare class GetCompanies extends AbstractApiRequest<typeof getCompaniesInputSc
|
|
|
1083
1083
|
id: string;
|
|
1084
1084
|
businessName: string;
|
|
1085
1085
|
vat: string;
|
|
1086
|
-
taxCode: string;
|
|
1086
|
+
taxCode: string | null;
|
|
1087
1087
|
operationalAddress: {
|
|
1088
1088
|
line1: string;
|
|
1089
1089
|
city: string;
|
|
@@ -1122,7 +1122,7 @@ declare class GetCompanies extends AbstractApiRequest<typeof getCompaniesInputSc
|
|
|
1122
1122
|
id: string;
|
|
1123
1123
|
businessName: string;
|
|
1124
1124
|
vat: string;
|
|
1125
|
-
taxCode: string;
|
|
1125
|
+
taxCode: string | null;
|
|
1126
1126
|
operationalAddress: {
|
|
1127
1127
|
line1: string;
|
|
1128
1128
|
city: string;
|
|
@@ -1147,7 +1147,7 @@ declare class GetCompanies extends AbstractApiRequest<typeof getCompaniesInputSc
|
|
|
1147
1147
|
id: string;
|
|
1148
1148
|
businessName: string;
|
|
1149
1149
|
vat: string;
|
|
1150
|
-
taxCode: string;
|
|
1150
|
+
taxCode: string | null;
|
|
1151
1151
|
operationalAddress: {
|
|
1152
1152
|
line1: string;
|
|
1153
1153
|
city: string;
|
|
@@ -1219,7 +1219,7 @@ declare const getCompanyDetailsResponseSchema: z.ZodObject<{
|
|
|
1219
1219
|
id: z.ZodString;
|
|
1220
1220
|
businessName: z.ZodString;
|
|
1221
1221
|
vat: z.ZodString;
|
|
1222
|
-
taxCode: z.ZodString
|
|
1222
|
+
taxCode: z.ZodNullable<z.ZodString>;
|
|
1223
1223
|
operationalAddress: z.ZodObject<{
|
|
1224
1224
|
line1: z.ZodString;
|
|
1225
1225
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1288,7 +1288,7 @@ declare const getCompanyDetailsResponseSchema: z.ZodObject<{
|
|
|
1288
1288
|
id: string;
|
|
1289
1289
|
businessName: string;
|
|
1290
1290
|
vat: string;
|
|
1291
|
-
taxCode: string;
|
|
1291
|
+
taxCode: string | null;
|
|
1292
1292
|
operationalAddress: {
|
|
1293
1293
|
line1: string;
|
|
1294
1294
|
city: string;
|
|
@@ -1316,7 +1316,7 @@ declare const getCompanyDetailsResponseSchema: z.ZodObject<{
|
|
|
1316
1316
|
id: string;
|
|
1317
1317
|
businessName: string;
|
|
1318
1318
|
vat: string;
|
|
1319
|
-
taxCode: string;
|
|
1319
|
+
taxCode: string | null;
|
|
1320
1320
|
operationalAddress: {
|
|
1321
1321
|
line1: string;
|
|
1322
1322
|
city: string;
|
|
@@ -1351,7 +1351,7 @@ declare class GetCompanyDetails extends AbstractApiRequest<typeof getCompanyDeta
|
|
|
1351
1351
|
id: z.ZodString;
|
|
1352
1352
|
businessName: z.ZodString;
|
|
1353
1353
|
vat: z.ZodString;
|
|
1354
|
-
taxCode: z.ZodString
|
|
1354
|
+
taxCode: z.ZodNullable<z.ZodString>;
|
|
1355
1355
|
operationalAddress: z.ZodObject<{
|
|
1356
1356
|
line1: z.ZodString;
|
|
1357
1357
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1420,7 +1420,7 @@ declare class GetCompanyDetails extends AbstractApiRequest<typeof getCompanyDeta
|
|
|
1420
1420
|
id: string;
|
|
1421
1421
|
businessName: string;
|
|
1422
1422
|
vat: string;
|
|
1423
|
-
taxCode: string;
|
|
1423
|
+
taxCode: string | null;
|
|
1424
1424
|
operationalAddress: {
|
|
1425
1425
|
line1: string;
|
|
1426
1426
|
city: string;
|
|
@@ -1448,7 +1448,7 @@ declare class GetCompanyDetails extends AbstractApiRequest<typeof getCompanyDeta
|
|
|
1448
1448
|
id: string;
|
|
1449
1449
|
businessName: string;
|
|
1450
1450
|
vat: string;
|
|
1451
|
-
taxCode: string;
|
|
1451
|
+
taxCode: string | null;
|
|
1452
1452
|
operationalAddress: {
|
|
1453
1453
|
line1: string;
|
|
1454
1454
|
city: string;
|
|
@@ -1483,7 +1483,7 @@ declare class GetCompanyDetails extends AbstractApiRequest<typeof getCompanyDeta
|
|
|
1483
1483
|
declare const updateCompanyInputSchema: z.ZodObject<{
|
|
1484
1484
|
businessName: z.ZodOptional<z.ZodString>;
|
|
1485
1485
|
vat: z.ZodOptional<z.ZodString>;
|
|
1486
|
-
taxCode: z.ZodOptional<z.ZodString
|
|
1486
|
+
taxCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1487
1487
|
operationalAddress: z.ZodOptional<z.ZodObject<{
|
|
1488
1488
|
line1: z.ZodString;
|
|
1489
1489
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1547,7 +1547,7 @@ declare const updateCompanyInputSchema: z.ZodObject<{
|
|
|
1547
1547
|
}, "strip", z.ZodTypeAny, {
|
|
1548
1548
|
businessName?: string | undefined;
|
|
1549
1549
|
vat?: string | undefined;
|
|
1550
|
-
taxCode?: string | undefined;
|
|
1550
|
+
taxCode?: string | null | undefined;
|
|
1551
1551
|
operationalAddress?: {
|
|
1552
1552
|
line1: string;
|
|
1553
1553
|
city: string;
|
|
@@ -1571,7 +1571,7 @@ declare const updateCompanyInputSchema: z.ZodObject<{
|
|
|
1571
1571
|
}, {
|
|
1572
1572
|
businessName?: string | undefined;
|
|
1573
1573
|
vat?: string | undefined;
|
|
1574
|
-
taxCode?: string | undefined;
|
|
1574
|
+
taxCode?: string | null | undefined;
|
|
1575
1575
|
operationalAddress?: {
|
|
1576
1576
|
line1: string;
|
|
1577
1577
|
city: string;
|
|
@@ -1598,7 +1598,7 @@ declare const updateCompanyResponseSchema: z.ZodObject<{
|
|
|
1598
1598
|
id: z.ZodString;
|
|
1599
1599
|
businessName: z.ZodString;
|
|
1600
1600
|
vat: z.ZodString;
|
|
1601
|
-
taxCode: z.ZodString
|
|
1601
|
+
taxCode: z.ZodNullable<z.ZodString>;
|
|
1602
1602
|
operationalAddress: z.ZodObject<{
|
|
1603
1603
|
line1: z.ZodString;
|
|
1604
1604
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1667,7 +1667,7 @@ declare const updateCompanyResponseSchema: z.ZodObject<{
|
|
|
1667
1667
|
id: string;
|
|
1668
1668
|
businessName: string;
|
|
1669
1669
|
vat: string;
|
|
1670
|
-
taxCode: string;
|
|
1670
|
+
taxCode: string | null;
|
|
1671
1671
|
operationalAddress: {
|
|
1672
1672
|
line1: string;
|
|
1673
1673
|
city: string;
|
|
@@ -1695,7 +1695,7 @@ declare const updateCompanyResponseSchema: z.ZodObject<{
|
|
|
1695
1695
|
id: string;
|
|
1696
1696
|
businessName: string;
|
|
1697
1697
|
vat: string;
|
|
1698
|
-
taxCode: string;
|
|
1698
|
+
taxCode: string | null;
|
|
1699
1699
|
operationalAddress: {
|
|
1700
1700
|
line1: string;
|
|
1701
1701
|
city: string;
|
|
@@ -1728,7 +1728,7 @@ declare class UpdateCompany extends AbstractApiRequest<typeof updateCompanyInput
|
|
|
1728
1728
|
readonly inputSchema: z.ZodObject<{
|
|
1729
1729
|
businessName: z.ZodOptional<z.ZodString>;
|
|
1730
1730
|
vat: z.ZodOptional<z.ZodString>;
|
|
1731
|
-
taxCode: z.ZodOptional<z.ZodString
|
|
1731
|
+
taxCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1732
1732
|
operationalAddress: z.ZodOptional<z.ZodObject<{
|
|
1733
1733
|
line1: z.ZodString;
|
|
1734
1734
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1792,7 +1792,7 @@ declare class UpdateCompany extends AbstractApiRequest<typeof updateCompanyInput
|
|
|
1792
1792
|
}, "strip", z.ZodTypeAny, {
|
|
1793
1793
|
businessName?: string | undefined;
|
|
1794
1794
|
vat?: string | undefined;
|
|
1795
|
-
taxCode?: string | undefined;
|
|
1795
|
+
taxCode?: string | null | undefined;
|
|
1796
1796
|
operationalAddress?: {
|
|
1797
1797
|
line1: string;
|
|
1798
1798
|
city: string;
|
|
@@ -1816,7 +1816,7 @@ declare class UpdateCompany extends AbstractApiRequest<typeof updateCompanyInput
|
|
|
1816
1816
|
}, {
|
|
1817
1817
|
businessName?: string | undefined;
|
|
1818
1818
|
vat?: string | undefined;
|
|
1819
|
-
taxCode?: string | undefined;
|
|
1819
|
+
taxCode?: string | null | undefined;
|
|
1820
1820
|
operationalAddress?: {
|
|
1821
1821
|
line1: string;
|
|
1822
1822
|
city: string;
|
|
@@ -1842,7 +1842,7 @@ declare class UpdateCompany extends AbstractApiRequest<typeof updateCompanyInput
|
|
|
1842
1842
|
id: z.ZodString;
|
|
1843
1843
|
businessName: z.ZodString;
|
|
1844
1844
|
vat: z.ZodString;
|
|
1845
|
-
taxCode: z.ZodString
|
|
1845
|
+
taxCode: z.ZodNullable<z.ZodString>;
|
|
1846
1846
|
operationalAddress: z.ZodObject<{
|
|
1847
1847
|
line1: z.ZodString;
|
|
1848
1848
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1911,7 +1911,7 @@ declare class UpdateCompany extends AbstractApiRequest<typeof updateCompanyInput
|
|
|
1911
1911
|
id: string;
|
|
1912
1912
|
businessName: string;
|
|
1913
1913
|
vat: string;
|
|
1914
|
-
taxCode: string;
|
|
1914
|
+
taxCode: string | null;
|
|
1915
1915
|
operationalAddress: {
|
|
1916
1916
|
line1: string;
|
|
1917
1917
|
city: string;
|
|
@@ -1939,7 +1939,7 @@ declare class UpdateCompany extends AbstractApiRequest<typeof updateCompanyInput
|
|
|
1939
1939
|
id: string;
|
|
1940
1940
|
businessName: string;
|
|
1941
1941
|
vat: string;
|
|
1942
|
-
taxCode: string;
|
|
1942
|
+
taxCode: string | null;
|
|
1943
1943
|
operationalAddress: {
|
|
1944
1944
|
line1: string;
|
|
1945
1945
|
city: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ declare const companySchema: z.ZodObject<{
|
|
|
8
8
|
id: z.ZodString;
|
|
9
9
|
businessName: z.ZodString;
|
|
10
10
|
vat: z.ZodString;
|
|
11
|
-
taxCode: z.ZodString
|
|
11
|
+
taxCode: z.ZodNullable<z.ZodString>;
|
|
12
12
|
operationalAddress: z.ZodObject<{
|
|
13
13
|
line1: z.ZodString;
|
|
14
14
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -37,7 +37,7 @@ declare const companySchema: z.ZodObject<{
|
|
|
37
37
|
id: string;
|
|
38
38
|
businessName: string;
|
|
39
39
|
vat: string;
|
|
40
|
-
taxCode: string;
|
|
40
|
+
taxCode: string | null;
|
|
41
41
|
operationalAddress: {
|
|
42
42
|
line1: string;
|
|
43
43
|
city: string;
|
|
@@ -52,7 +52,7 @@ declare const companySchema: z.ZodObject<{
|
|
|
52
52
|
id: string;
|
|
53
53
|
businessName: string;
|
|
54
54
|
vat: string;
|
|
55
|
-
taxCode: string;
|
|
55
|
+
taxCode: string | null;
|
|
56
56
|
operationalAddress: {
|
|
57
57
|
line1: string;
|
|
58
58
|
city: string;
|
|
@@ -69,7 +69,7 @@ declare const companyDetailsSchema: z.ZodObject<{
|
|
|
69
69
|
id: z.ZodString;
|
|
70
70
|
businessName: z.ZodString;
|
|
71
71
|
vat: z.ZodString;
|
|
72
|
-
taxCode: z.ZodString
|
|
72
|
+
taxCode: z.ZodNullable<z.ZodString>;
|
|
73
73
|
operationalAddress: z.ZodObject<{
|
|
74
74
|
line1: z.ZodString;
|
|
75
75
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -138,7 +138,7 @@ declare const companyDetailsSchema: z.ZodObject<{
|
|
|
138
138
|
id: string;
|
|
139
139
|
businessName: string;
|
|
140
140
|
vat: string;
|
|
141
|
-
taxCode: string;
|
|
141
|
+
taxCode: string | null;
|
|
142
142
|
operationalAddress: {
|
|
143
143
|
line1: string;
|
|
144
144
|
city: string;
|
|
@@ -166,7 +166,7 @@ declare const companyDetailsSchema: z.ZodObject<{
|
|
|
166
166
|
id: string;
|
|
167
167
|
businessName: string;
|
|
168
168
|
vat: string;
|
|
169
|
-
taxCode: string;
|
|
169
|
+
taxCode: string | null;
|
|
170
170
|
operationalAddress: {
|
|
171
171
|
line1: string;
|
|
172
172
|
city: string;
|
|
@@ -196,7 +196,7 @@ declare const writableCompanySchema: z.ZodObject<Pick<{
|
|
|
196
196
|
id: z.ZodString;
|
|
197
197
|
businessName: z.ZodString;
|
|
198
198
|
vat: z.ZodString;
|
|
199
|
-
taxCode: z.ZodString
|
|
199
|
+
taxCode: z.ZodNullable<z.ZodString>;
|
|
200
200
|
operationalAddress: z.ZodObject<{
|
|
201
201
|
line1: z.ZodString;
|
|
202
202
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -264,7 +264,7 @@ declare const writableCompanySchema: z.ZodObject<Pick<{
|
|
|
264
264
|
}, "businessName" | "vat" | "taxCode" | "operationalAddress" | "billingAddress" | "billingData">, "strip", z.ZodTypeAny, {
|
|
265
265
|
businessName: string;
|
|
266
266
|
vat: string;
|
|
267
|
-
taxCode: string;
|
|
267
|
+
taxCode: string | null;
|
|
268
268
|
operationalAddress: {
|
|
269
269
|
line1: string;
|
|
270
270
|
city: string;
|
|
@@ -288,7 +288,7 @@ declare const writableCompanySchema: z.ZodObject<Pick<{
|
|
|
288
288
|
}, {
|
|
289
289
|
businessName: string;
|
|
290
290
|
vat: string;
|
|
291
|
-
taxCode: string;
|
|
291
|
+
taxCode: string | null;
|
|
292
292
|
operationalAddress: {
|
|
293
293
|
line1: string;
|
|
294
294
|
city: string;
|
|
@@ -352,7 +352,7 @@ type CompaniesQueryParams = z.infer<typeof companiesQuerySchema>;
|
|
|
352
352
|
declare const createCompanyInputSchema: z.ZodObject<{
|
|
353
353
|
businessName: z.ZodString;
|
|
354
354
|
vat: z.ZodString;
|
|
355
|
-
taxCode: z.ZodString
|
|
355
|
+
taxCode: z.ZodNullable<z.ZodString>;
|
|
356
356
|
operationalAddress: z.ZodObject<{
|
|
357
357
|
line1: z.ZodString;
|
|
358
358
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -416,7 +416,7 @@ declare const createCompanyInputSchema: z.ZodObject<{
|
|
|
416
416
|
}, "strip", z.ZodTypeAny, {
|
|
417
417
|
businessName: string;
|
|
418
418
|
vat: string;
|
|
419
|
-
taxCode: string;
|
|
419
|
+
taxCode: string | null;
|
|
420
420
|
operationalAddress: {
|
|
421
421
|
line1: string;
|
|
422
422
|
city: string;
|
|
@@ -440,7 +440,7 @@ declare const createCompanyInputSchema: z.ZodObject<{
|
|
|
440
440
|
}, {
|
|
441
441
|
businessName: string;
|
|
442
442
|
vat: string;
|
|
443
|
-
taxCode: string;
|
|
443
|
+
taxCode: string | null;
|
|
444
444
|
operationalAddress: {
|
|
445
445
|
line1: string;
|
|
446
446
|
city: string;
|
|
@@ -467,7 +467,7 @@ declare const createCompanyResponseSchema: z.ZodObject<{
|
|
|
467
467
|
id: z.ZodString;
|
|
468
468
|
businessName: z.ZodString;
|
|
469
469
|
vat: z.ZodString;
|
|
470
|
-
taxCode: z.ZodString
|
|
470
|
+
taxCode: z.ZodNullable<z.ZodString>;
|
|
471
471
|
operationalAddress: z.ZodObject<{
|
|
472
472
|
line1: z.ZodString;
|
|
473
473
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -536,7 +536,7 @@ declare const createCompanyResponseSchema: z.ZodObject<{
|
|
|
536
536
|
id: string;
|
|
537
537
|
businessName: string;
|
|
538
538
|
vat: string;
|
|
539
|
-
taxCode: string;
|
|
539
|
+
taxCode: string | null;
|
|
540
540
|
operationalAddress: {
|
|
541
541
|
line1: string;
|
|
542
542
|
city: string;
|
|
@@ -564,7 +564,7 @@ declare const createCompanyResponseSchema: z.ZodObject<{
|
|
|
564
564
|
id: string;
|
|
565
565
|
businessName: string;
|
|
566
566
|
vat: string;
|
|
567
|
-
taxCode: string;
|
|
567
|
+
taxCode: string | null;
|
|
568
568
|
operationalAddress: {
|
|
569
569
|
line1: string;
|
|
570
570
|
city: string;
|
|
@@ -597,7 +597,7 @@ declare class CreateCompany extends AbstractApiRequest<typeof createCompanyInput
|
|
|
597
597
|
readonly inputSchema: z.ZodObject<{
|
|
598
598
|
businessName: z.ZodString;
|
|
599
599
|
vat: z.ZodString;
|
|
600
|
-
taxCode: z.ZodString
|
|
600
|
+
taxCode: z.ZodNullable<z.ZodString>;
|
|
601
601
|
operationalAddress: z.ZodObject<{
|
|
602
602
|
line1: z.ZodString;
|
|
603
603
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -661,7 +661,7 @@ declare class CreateCompany extends AbstractApiRequest<typeof createCompanyInput
|
|
|
661
661
|
}, "strip", z.ZodTypeAny, {
|
|
662
662
|
businessName: string;
|
|
663
663
|
vat: string;
|
|
664
|
-
taxCode: string;
|
|
664
|
+
taxCode: string | null;
|
|
665
665
|
operationalAddress: {
|
|
666
666
|
line1: string;
|
|
667
667
|
city: string;
|
|
@@ -685,7 +685,7 @@ declare class CreateCompany extends AbstractApiRequest<typeof createCompanyInput
|
|
|
685
685
|
}, {
|
|
686
686
|
businessName: string;
|
|
687
687
|
vat: string;
|
|
688
|
-
taxCode: string;
|
|
688
|
+
taxCode: string | null;
|
|
689
689
|
operationalAddress: {
|
|
690
690
|
line1: string;
|
|
691
691
|
city: string;
|
|
@@ -711,7 +711,7 @@ declare class CreateCompany extends AbstractApiRequest<typeof createCompanyInput
|
|
|
711
711
|
id: z.ZodString;
|
|
712
712
|
businessName: z.ZodString;
|
|
713
713
|
vat: z.ZodString;
|
|
714
|
-
taxCode: z.ZodString
|
|
714
|
+
taxCode: z.ZodNullable<z.ZodString>;
|
|
715
715
|
operationalAddress: z.ZodObject<{
|
|
716
716
|
line1: z.ZodString;
|
|
717
717
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -780,7 +780,7 @@ declare class CreateCompany extends AbstractApiRequest<typeof createCompanyInput
|
|
|
780
780
|
id: string;
|
|
781
781
|
businessName: string;
|
|
782
782
|
vat: string;
|
|
783
|
-
taxCode: string;
|
|
783
|
+
taxCode: string | null;
|
|
784
784
|
operationalAddress: {
|
|
785
785
|
line1: string;
|
|
786
786
|
city: string;
|
|
@@ -808,7 +808,7 @@ declare class CreateCompany extends AbstractApiRequest<typeof createCompanyInput
|
|
|
808
808
|
id: string;
|
|
809
809
|
businessName: string;
|
|
810
810
|
vat: string;
|
|
811
|
-
taxCode: string;
|
|
811
|
+
taxCode: string | null;
|
|
812
812
|
operationalAddress: {
|
|
813
813
|
line1: string;
|
|
814
814
|
city: string;
|
|
@@ -899,7 +899,7 @@ declare const getCompaniesResponseSchema: z.ZodObject<{
|
|
|
899
899
|
id: z.ZodString;
|
|
900
900
|
businessName: z.ZodString;
|
|
901
901
|
vat: z.ZodString;
|
|
902
|
-
taxCode: z.ZodString
|
|
902
|
+
taxCode: z.ZodNullable<z.ZodString>;
|
|
903
903
|
operationalAddress: z.ZodObject<{
|
|
904
904
|
line1: z.ZodString;
|
|
905
905
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -928,7 +928,7 @@ declare const getCompaniesResponseSchema: z.ZodObject<{
|
|
|
928
928
|
id: string;
|
|
929
929
|
businessName: string;
|
|
930
930
|
vat: string;
|
|
931
|
-
taxCode: string;
|
|
931
|
+
taxCode: string | null;
|
|
932
932
|
operationalAddress: {
|
|
933
933
|
line1: string;
|
|
934
934
|
city: string;
|
|
@@ -943,7 +943,7 @@ declare const getCompaniesResponseSchema: z.ZodObject<{
|
|
|
943
943
|
id: string;
|
|
944
944
|
businessName: string;
|
|
945
945
|
vat: string;
|
|
946
|
-
taxCode: string;
|
|
946
|
+
taxCode: string | null;
|
|
947
947
|
operationalAddress: {
|
|
948
948
|
line1: string;
|
|
949
949
|
city: string;
|
|
@@ -982,7 +982,7 @@ declare const getCompaniesResponseSchema: z.ZodObject<{
|
|
|
982
982
|
id: string;
|
|
983
983
|
businessName: string;
|
|
984
984
|
vat: string;
|
|
985
|
-
taxCode: string;
|
|
985
|
+
taxCode: string | null;
|
|
986
986
|
operationalAddress: {
|
|
987
987
|
line1: string;
|
|
988
988
|
city: string;
|
|
@@ -1007,7 +1007,7 @@ declare const getCompaniesResponseSchema: z.ZodObject<{
|
|
|
1007
1007
|
id: string;
|
|
1008
1008
|
businessName: string;
|
|
1009
1009
|
vat: string;
|
|
1010
|
-
taxCode: string;
|
|
1010
|
+
taxCode: string | null;
|
|
1011
1011
|
operationalAddress: {
|
|
1012
1012
|
line1: string;
|
|
1013
1013
|
city: string;
|
|
@@ -1039,7 +1039,7 @@ declare class GetCompanies extends AbstractApiRequest<typeof getCompaniesInputSc
|
|
|
1039
1039
|
id: z.ZodString;
|
|
1040
1040
|
businessName: z.ZodString;
|
|
1041
1041
|
vat: z.ZodString;
|
|
1042
|
-
taxCode: z.ZodString
|
|
1042
|
+
taxCode: z.ZodNullable<z.ZodString>;
|
|
1043
1043
|
operationalAddress: z.ZodObject<{
|
|
1044
1044
|
line1: z.ZodString;
|
|
1045
1045
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1068,7 +1068,7 @@ declare class GetCompanies extends AbstractApiRequest<typeof getCompaniesInputSc
|
|
|
1068
1068
|
id: string;
|
|
1069
1069
|
businessName: string;
|
|
1070
1070
|
vat: string;
|
|
1071
|
-
taxCode: string;
|
|
1071
|
+
taxCode: string | null;
|
|
1072
1072
|
operationalAddress: {
|
|
1073
1073
|
line1: string;
|
|
1074
1074
|
city: string;
|
|
@@ -1083,7 +1083,7 @@ declare class GetCompanies extends AbstractApiRequest<typeof getCompaniesInputSc
|
|
|
1083
1083
|
id: string;
|
|
1084
1084
|
businessName: string;
|
|
1085
1085
|
vat: string;
|
|
1086
|
-
taxCode: string;
|
|
1086
|
+
taxCode: string | null;
|
|
1087
1087
|
operationalAddress: {
|
|
1088
1088
|
line1: string;
|
|
1089
1089
|
city: string;
|
|
@@ -1122,7 +1122,7 @@ declare class GetCompanies extends AbstractApiRequest<typeof getCompaniesInputSc
|
|
|
1122
1122
|
id: string;
|
|
1123
1123
|
businessName: string;
|
|
1124
1124
|
vat: string;
|
|
1125
|
-
taxCode: string;
|
|
1125
|
+
taxCode: string | null;
|
|
1126
1126
|
operationalAddress: {
|
|
1127
1127
|
line1: string;
|
|
1128
1128
|
city: string;
|
|
@@ -1147,7 +1147,7 @@ declare class GetCompanies extends AbstractApiRequest<typeof getCompaniesInputSc
|
|
|
1147
1147
|
id: string;
|
|
1148
1148
|
businessName: string;
|
|
1149
1149
|
vat: string;
|
|
1150
|
-
taxCode: string;
|
|
1150
|
+
taxCode: string | null;
|
|
1151
1151
|
operationalAddress: {
|
|
1152
1152
|
line1: string;
|
|
1153
1153
|
city: string;
|
|
@@ -1219,7 +1219,7 @@ declare const getCompanyDetailsResponseSchema: z.ZodObject<{
|
|
|
1219
1219
|
id: z.ZodString;
|
|
1220
1220
|
businessName: z.ZodString;
|
|
1221
1221
|
vat: z.ZodString;
|
|
1222
|
-
taxCode: z.ZodString
|
|
1222
|
+
taxCode: z.ZodNullable<z.ZodString>;
|
|
1223
1223
|
operationalAddress: z.ZodObject<{
|
|
1224
1224
|
line1: z.ZodString;
|
|
1225
1225
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1288,7 +1288,7 @@ declare const getCompanyDetailsResponseSchema: z.ZodObject<{
|
|
|
1288
1288
|
id: string;
|
|
1289
1289
|
businessName: string;
|
|
1290
1290
|
vat: string;
|
|
1291
|
-
taxCode: string;
|
|
1291
|
+
taxCode: string | null;
|
|
1292
1292
|
operationalAddress: {
|
|
1293
1293
|
line1: string;
|
|
1294
1294
|
city: string;
|
|
@@ -1316,7 +1316,7 @@ declare const getCompanyDetailsResponseSchema: z.ZodObject<{
|
|
|
1316
1316
|
id: string;
|
|
1317
1317
|
businessName: string;
|
|
1318
1318
|
vat: string;
|
|
1319
|
-
taxCode: string;
|
|
1319
|
+
taxCode: string | null;
|
|
1320
1320
|
operationalAddress: {
|
|
1321
1321
|
line1: string;
|
|
1322
1322
|
city: string;
|
|
@@ -1351,7 +1351,7 @@ declare class GetCompanyDetails extends AbstractApiRequest<typeof getCompanyDeta
|
|
|
1351
1351
|
id: z.ZodString;
|
|
1352
1352
|
businessName: z.ZodString;
|
|
1353
1353
|
vat: z.ZodString;
|
|
1354
|
-
taxCode: z.ZodString
|
|
1354
|
+
taxCode: z.ZodNullable<z.ZodString>;
|
|
1355
1355
|
operationalAddress: z.ZodObject<{
|
|
1356
1356
|
line1: z.ZodString;
|
|
1357
1357
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1420,7 +1420,7 @@ declare class GetCompanyDetails extends AbstractApiRequest<typeof getCompanyDeta
|
|
|
1420
1420
|
id: string;
|
|
1421
1421
|
businessName: string;
|
|
1422
1422
|
vat: string;
|
|
1423
|
-
taxCode: string;
|
|
1423
|
+
taxCode: string | null;
|
|
1424
1424
|
operationalAddress: {
|
|
1425
1425
|
line1: string;
|
|
1426
1426
|
city: string;
|
|
@@ -1448,7 +1448,7 @@ declare class GetCompanyDetails extends AbstractApiRequest<typeof getCompanyDeta
|
|
|
1448
1448
|
id: string;
|
|
1449
1449
|
businessName: string;
|
|
1450
1450
|
vat: string;
|
|
1451
|
-
taxCode: string;
|
|
1451
|
+
taxCode: string | null;
|
|
1452
1452
|
operationalAddress: {
|
|
1453
1453
|
line1: string;
|
|
1454
1454
|
city: string;
|
|
@@ -1483,7 +1483,7 @@ declare class GetCompanyDetails extends AbstractApiRequest<typeof getCompanyDeta
|
|
|
1483
1483
|
declare const updateCompanyInputSchema: z.ZodObject<{
|
|
1484
1484
|
businessName: z.ZodOptional<z.ZodString>;
|
|
1485
1485
|
vat: z.ZodOptional<z.ZodString>;
|
|
1486
|
-
taxCode: z.ZodOptional<z.ZodString
|
|
1486
|
+
taxCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1487
1487
|
operationalAddress: z.ZodOptional<z.ZodObject<{
|
|
1488
1488
|
line1: z.ZodString;
|
|
1489
1489
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1547,7 +1547,7 @@ declare const updateCompanyInputSchema: z.ZodObject<{
|
|
|
1547
1547
|
}, "strip", z.ZodTypeAny, {
|
|
1548
1548
|
businessName?: string | undefined;
|
|
1549
1549
|
vat?: string | undefined;
|
|
1550
|
-
taxCode?: string | undefined;
|
|
1550
|
+
taxCode?: string | null | undefined;
|
|
1551
1551
|
operationalAddress?: {
|
|
1552
1552
|
line1: string;
|
|
1553
1553
|
city: string;
|
|
@@ -1571,7 +1571,7 @@ declare const updateCompanyInputSchema: z.ZodObject<{
|
|
|
1571
1571
|
}, {
|
|
1572
1572
|
businessName?: string | undefined;
|
|
1573
1573
|
vat?: string | undefined;
|
|
1574
|
-
taxCode?: string | undefined;
|
|
1574
|
+
taxCode?: string | null | undefined;
|
|
1575
1575
|
operationalAddress?: {
|
|
1576
1576
|
line1: string;
|
|
1577
1577
|
city: string;
|
|
@@ -1598,7 +1598,7 @@ declare const updateCompanyResponseSchema: z.ZodObject<{
|
|
|
1598
1598
|
id: z.ZodString;
|
|
1599
1599
|
businessName: z.ZodString;
|
|
1600
1600
|
vat: z.ZodString;
|
|
1601
|
-
taxCode: z.ZodString
|
|
1601
|
+
taxCode: z.ZodNullable<z.ZodString>;
|
|
1602
1602
|
operationalAddress: z.ZodObject<{
|
|
1603
1603
|
line1: z.ZodString;
|
|
1604
1604
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1667,7 +1667,7 @@ declare const updateCompanyResponseSchema: z.ZodObject<{
|
|
|
1667
1667
|
id: string;
|
|
1668
1668
|
businessName: string;
|
|
1669
1669
|
vat: string;
|
|
1670
|
-
taxCode: string;
|
|
1670
|
+
taxCode: string | null;
|
|
1671
1671
|
operationalAddress: {
|
|
1672
1672
|
line1: string;
|
|
1673
1673
|
city: string;
|
|
@@ -1695,7 +1695,7 @@ declare const updateCompanyResponseSchema: z.ZodObject<{
|
|
|
1695
1695
|
id: string;
|
|
1696
1696
|
businessName: string;
|
|
1697
1697
|
vat: string;
|
|
1698
|
-
taxCode: string;
|
|
1698
|
+
taxCode: string | null;
|
|
1699
1699
|
operationalAddress: {
|
|
1700
1700
|
line1: string;
|
|
1701
1701
|
city: string;
|
|
@@ -1728,7 +1728,7 @@ declare class UpdateCompany extends AbstractApiRequest<typeof updateCompanyInput
|
|
|
1728
1728
|
readonly inputSchema: z.ZodObject<{
|
|
1729
1729
|
businessName: z.ZodOptional<z.ZodString>;
|
|
1730
1730
|
vat: z.ZodOptional<z.ZodString>;
|
|
1731
|
-
taxCode: z.ZodOptional<z.ZodString
|
|
1731
|
+
taxCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1732
1732
|
operationalAddress: z.ZodOptional<z.ZodObject<{
|
|
1733
1733
|
line1: z.ZodString;
|
|
1734
1734
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1792,7 +1792,7 @@ declare class UpdateCompany extends AbstractApiRequest<typeof updateCompanyInput
|
|
|
1792
1792
|
}, "strip", z.ZodTypeAny, {
|
|
1793
1793
|
businessName?: string | undefined;
|
|
1794
1794
|
vat?: string | undefined;
|
|
1795
|
-
taxCode?: string | undefined;
|
|
1795
|
+
taxCode?: string | null | undefined;
|
|
1796
1796
|
operationalAddress?: {
|
|
1797
1797
|
line1: string;
|
|
1798
1798
|
city: string;
|
|
@@ -1816,7 +1816,7 @@ declare class UpdateCompany extends AbstractApiRequest<typeof updateCompanyInput
|
|
|
1816
1816
|
}, {
|
|
1817
1817
|
businessName?: string | undefined;
|
|
1818
1818
|
vat?: string | undefined;
|
|
1819
|
-
taxCode?: string | undefined;
|
|
1819
|
+
taxCode?: string | null | undefined;
|
|
1820
1820
|
operationalAddress?: {
|
|
1821
1821
|
line1: string;
|
|
1822
1822
|
city: string;
|
|
@@ -1842,7 +1842,7 @@ declare class UpdateCompany extends AbstractApiRequest<typeof updateCompanyInput
|
|
|
1842
1842
|
id: z.ZodString;
|
|
1843
1843
|
businessName: z.ZodString;
|
|
1844
1844
|
vat: z.ZodString;
|
|
1845
|
-
taxCode: z.ZodString
|
|
1845
|
+
taxCode: z.ZodNullable<z.ZodString>;
|
|
1846
1846
|
operationalAddress: z.ZodObject<{
|
|
1847
1847
|
line1: z.ZodString;
|
|
1848
1848
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1911,7 +1911,7 @@ declare class UpdateCompany extends AbstractApiRequest<typeof updateCompanyInput
|
|
|
1911
1911
|
id: string;
|
|
1912
1912
|
businessName: string;
|
|
1913
1913
|
vat: string;
|
|
1914
|
-
taxCode: string;
|
|
1914
|
+
taxCode: string | null;
|
|
1915
1915
|
operationalAddress: {
|
|
1916
1916
|
line1: string;
|
|
1917
1917
|
city: string;
|
|
@@ -1939,7 +1939,7 @@ declare class UpdateCompany extends AbstractApiRequest<typeof updateCompanyInput
|
|
|
1939
1939
|
id: string;
|
|
1940
1940
|
businessName: string;
|
|
1941
1941
|
vat: string;
|
|
1942
|
-
taxCode: string;
|
|
1942
|
+
taxCode: string | null;
|
|
1943
1943
|
operationalAddress: {
|
|
1944
1944
|
line1: string;
|
|
1945
1945
|
city: string;
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
package/src/models.ts
CHANGED
|
@@ -11,7 +11,7 @@ export const companySchema = z.object({
|
|
|
11
11
|
id: z.string(),
|
|
12
12
|
businessName: z.string(),
|
|
13
13
|
vat: z.string(),
|
|
14
|
-
taxCode: z.string(),
|
|
14
|
+
taxCode: z.string().nullable(),
|
|
15
15
|
operationalAddress: addressSchema,
|
|
16
16
|
createdAt: datetimeSchema,
|
|
17
17
|
updatedAt: datetimeSchema,
|