Skip to content

Commit 91fcaed

Browse files
committed
removed company_details prop
1 parent 9fe3204 commit 91fcaed

File tree

13 files changed

+4
-303
lines changed

13 files changed

+4
-303
lines changed

dist/base/index.cjs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -609,11 +609,6 @@ var addressSchema = zod.z.object({
609609
postal_code: zod.z.string().nullable().optional(),
610610
country: zod.z.string().nullable().optional()
611611
});
612-
var companyDetailsSchema = zod.z.object({
613-
business_name: zod.z.string().nullable().optional(),
614-
company_registration_number: zod.z.string().nullable().optional(),
615-
tax_id: zod.z.string().nullable().optional()
616-
});
617612
var emitEventSchema = zod.z.object({
618613
topup: zod.z.boolean().optional().default(false),
619614
redemption: zod.z.boolean().optional().default(false),
@@ -925,11 +920,6 @@ var partnerSchemaSpec = markAsSchemaSpec({
925920
of: addressSchema.shape,
926921
nullable: true
927922
},
928-
company_details: {
929-
_type: "object",
930-
of: companyDetailsSchema.shape,
931-
nullable: true
932-
},
933923
registration: {
934924
_type: "object",
935925
of: registrationSchema.shape,

dist/base/index.cjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/base/index.d.cts

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,19 +1152,6 @@ declare const HPartnerSchema: z.ZodObject<{
11521152
city?: string | null | undefined;
11531153
postal_code?: string | null | undefined;
11541154
}>;
1155-
company_details: z.ZodObject<{
1156-
business_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1157-
company_registration_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1158-
tax_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1159-
}, z.UnknownKeysParam, z.ZodTypeAny, {
1160-
business_name?: string | null | undefined;
1161-
company_registration_number?: string | null | undefined;
1162-
tax_id?: string | null | undefined;
1163-
}, {
1164-
business_name?: string | null | undefined;
1165-
company_registration_number?: string | null | undefined;
1166-
tax_id?: string | null | undefined;
1167-
}>;
11681155
registration: z.ZodObject<{
11691156
chamber_of_commerce_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11701157
vat_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2077,11 +2064,6 @@ declare const HPartnerSchema: z.ZodObject<{
20772064
city?: string | null | undefined;
20782065
postal_code?: string | null | undefined;
20792066
};
2080-
company_details: {
2081-
business_name?: string | null | undefined;
2082-
company_registration_number?: string | null | undefined;
2083-
tax_id?: string | null | undefined;
2084-
};
20852067
registration: {
20862068
chamber_of_commerce_number?: string | null | undefined;
20872069
vat_number?: string | null | undefined;
@@ -2285,11 +2267,6 @@ declare const HPartnerSchema: z.ZodObject<{
22852267
city?: string | null | undefined;
22862268
postal_code?: string | null | undefined;
22872269
};
2288-
company_details: {
2289-
business_name?: string | null | undefined;
2290-
company_registration_number?: string | null | undefined;
2291-
tax_id?: string | null | undefined;
2292-
};
22932270
registration: {
22942271
chamber_of_commerce_number?: string | null | undefined;
22952272
vat_number?: string | null | undefined;
@@ -2912,19 +2889,6 @@ declare const HPartnerAppSchema: z.ZodObject<{
29122889
city?: string | null | undefined;
29132890
postal_code?: string | null | undefined;
29142891
}>;
2915-
company_details: z.ZodObject<{
2916-
business_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2917-
company_registration_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2918-
tax_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2919-
}, z.UnknownKeysParam, z.ZodTypeAny, {
2920-
business_name?: string | null | undefined;
2921-
company_registration_number?: string | null | undefined;
2922-
tax_id?: string | null | undefined;
2923-
}, {
2924-
business_name?: string | null | undefined;
2925-
company_registration_number?: string | null | undefined;
2926-
tax_id?: string | null | undefined;
2927-
}>;
29282892
registration: z.ZodObject<{
29292893
chamber_of_commerce_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29302894
vat_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3837,11 +3801,6 @@ declare const HPartnerAppSchema: z.ZodObject<{
38373801
city?: string | null | undefined;
38383802
postal_code?: string | null | undefined;
38393803
};
3840-
company_details: {
3841-
business_name?: string | null | undefined;
3842-
company_registration_number?: string | null | undefined;
3843-
tax_id?: string | null | undefined;
3844-
};
38453804
registration: {
38463805
chamber_of_commerce_number?: string | null | undefined;
38473806
vat_number?: string | null | undefined;
@@ -4045,11 +4004,6 @@ declare const HPartnerAppSchema: z.ZodObject<{
40454004
city?: string | null | undefined;
40464005
postal_code?: string | null | undefined;
40474006
};
4048-
company_details: {
4049-
business_name?: string | null | undefined;
4050-
company_registration_number?: string | null | undefined;
4051-
tax_id?: string | null | undefined;
4052-
};
40534007
registration: {
40544008
chamber_of_commerce_number?: string | null | undefined;
40554009
vat_number?: string | null | undefined;

dist/base/index.d.ts

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,19 +1152,6 @@ declare const HPartnerSchema: z.ZodObject<{
11521152
city?: string | null | undefined;
11531153
postal_code?: string | null | undefined;
11541154
}>;
1155-
company_details: z.ZodObject<{
1156-
business_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1157-
company_registration_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1158-
tax_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1159-
}, z.UnknownKeysParam, z.ZodTypeAny, {
1160-
business_name?: string | null | undefined;
1161-
company_registration_number?: string | null | undefined;
1162-
tax_id?: string | null | undefined;
1163-
}, {
1164-
business_name?: string | null | undefined;
1165-
company_registration_number?: string | null | undefined;
1166-
tax_id?: string | null | undefined;
1167-
}>;
11681155
registration: z.ZodObject<{
11691156
chamber_of_commerce_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11701157
vat_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2077,11 +2064,6 @@ declare const HPartnerSchema: z.ZodObject<{
20772064
city?: string | null | undefined;
20782065
postal_code?: string | null | undefined;
20792066
};
2080-
company_details: {
2081-
business_name?: string | null | undefined;
2082-
company_registration_number?: string | null | undefined;
2083-
tax_id?: string | null | undefined;
2084-
};
20852067
registration: {
20862068
chamber_of_commerce_number?: string | null | undefined;
20872069
vat_number?: string | null | undefined;
@@ -2285,11 +2267,6 @@ declare const HPartnerSchema: z.ZodObject<{
22852267
city?: string | null | undefined;
22862268
postal_code?: string | null | undefined;
22872269
};
2288-
company_details: {
2289-
business_name?: string | null | undefined;
2290-
company_registration_number?: string | null | undefined;
2291-
tax_id?: string | null | undefined;
2292-
};
22932270
registration: {
22942271
chamber_of_commerce_number?: string | null | undefined;
22952272
vat_number?: string | null | undefined;
@@ -2912,19 +2889,6 @@ declare const HPartnerAppSchema: z.ZodObject<{
29122889
city?: string | null | undefined;
29132890
postal_code?: string | null | undefined;
29142891
}>;
2915-
company_details: z.ZodObject<{
2916-
business_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2917-
company_registration_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2918-
tax_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2919-
}, z.UnknownKeysParam, z.ZodTypeAny, {
2920-
business_name?: string | null | undefined;
2921-
company_registration_number?: string | null | undefined;
2922-
tax_id?: string | null | undefined;
2923-
}, {
2924-
business_name?: string | null | undefined;
2925-
company_registration_number?: string | null | undefined;
2926-
tax_id?: string | null | undefined;
2927-
}>;
29282892
registration: z.ZodObject<{
29292893
chamber_of_commerce_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29302894
vat_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3837,11 +3801,6 @@ declare const HPartnerAppSchema: z.ZodObject<{
38373801
city?: string | null | undefined;
38383802
postal_code?: string | null | undefined;
38393803
};
3840-
company_details: {
3841-
business_name?: string | null | undefined;
3842-
company_registration_number?: string | null | undefined;
3843-
tax_id?: string | null | undefined;
3844-
};
38453804
registration: {
38463805
chamber_of_commerce_number?: string | null | undefined;
38473806
vat_number?: string | null | undefined;
@@ -4045,11 +4004,6 @@ declare const HPartnerAppSchema: z.ZodObject<{
40454004
city?: string | null | undefined;
40464005
postal_code?: string | null | undefined;
40474006
};
4048-
company_details: {
4049-
business_name?: string | null | undefined;
4050-
company_registration_number?: string | null | undefined;
4051-
tax_id?: string | null | undefined;
4052-
};
40534007
registration: {
40544008
chamber_of_commerce_number?: string | null | undefined;
40554009
vat_number?: string | null | undefined;

dist/base/index.js

Lines changed: 0 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/base/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.cjs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -643,11 +643,6 @@ var addressSchema = zod.z.object({
643643
postal_code: zod.z.string().nullable().optional(),
644644
country: zod.z.string().nullable().optional()
645645
});
646-
var companyDetailsSchema = zod.z.object({
647-
business_name: zod.z.string().nullable().optional(),
648-
company_registration_number: zod.z.string().nullable().optional(),
649-
tax_id: zod.z.string().nullable().optional()
650-
});
651646
var emitEventSchema = zod.z.object({
652647
topup: zod.z.boolean().optional().default(false),
653648
redemption: zod.z.boolean().optional().default(false),
@@ -959,11 +954,6 @@ var partnerSchemaSpec = markAsSchemaSpec({
959954
of: addressSchema.shape,
960955
nullable: true
961956
},
962-
company_details: {
963-
_type: "object",
964-
of: companyDetailsSchema.shape,
965-
nullable: true
966-
},
967957
registration: {
968958
_type: "object",
969959
of: registrationSchema.shape,

dist/index.cjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.d.cts

Lines changed: 0 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -789,15 +789,6 @@ declare const partnerSchemaSpec: {
789789
};
790790
nullable: boolean;
791791
};
792-
company_details: {
793-
_type: "object";
794-
of: {
795-
business_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
796-
company_registration_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
797-
tax_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
798-
};
799-
nullable: boolean;
800-
};
801792
registration: {
802793
_type: "object";
803794
of: {
@@ -2694,19 +2685,6 @@ declare const HPartnerSchema: z.ZodObject<{
26942685
city?: string | null | undefined;
26952686
postal_code?: string | null | undefined;
26962687
}>;
2697-
company_details: z.ZodObject<{
2698-
business_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2699-
company_registration_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2700-
tax_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2701-
}, z.UnknownKeysParam, z.ZodTypeAny, {
2702-
business_name?: string | null | undefined;
2703-
company_registration_number?: string | null | undefined;
2704-
tax_id?: string | null | undefined;
2705-
}, {
2706-
business_name?: string | null | undefined;
2707-
company_registration_number?: string | null | undefined;
2708-
tax_id?: string | null | undefined;
2709-
}>;
27102688
registration: z.ZodObject<{
27112689
chamber_of_commerce_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27122690
vat_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3619,11 +3597,6 @@ declare const HPartnerSchema: z.ZodObject<{
36193597
city?: string | null | undefined;
36203598
postal_code?: string | null | undefined;
36213599
};
3622-
company_details: {
3623-
business_name?: string | null | undefined;
3624-
company_registration_number?: string | null | undefined;
3625-
tax_id?: string | null | undefined;
3626-
};
36273600
registration: {
36283601
chamber_of_commerce_number?: string | null | undefined;
36293602
vat_number?: string | null | undefined;
@@ -3827,11 +3800,6 @@ declare const HPartnerSchema: z.ZodObject<{
38273800
city?: string | null | undefined;
38283801
postal_code?: string | null | undefined;
38293802
};
3830-
company_details: {
3831-
business_name?: string | null | undefined;
3832-
company_registration_number?: string | null | undefined;
3833-
tax_id?: string | null | undefined;
3834-
};
38353803
registration: {
38363804
chamber_of_commerce_number?: string | null | undefined;
38373805
vat_number?: string | null | undefined;
@@ -4454,19 +4422,6 @@ declare const HPartnerAppSchema: z.ZodObject<{
44544422
city?: string | null | undefined;
44554423
postal_code?: string | null | undefined;
44564424
}>;
4457-
company_details: z.ZodObject<{
4458-
business_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4459-
company_registration_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4460-
tax_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4461-
}, z.UnknownKeysParam, z.ZodTypeAny, {
4462-
business_name?: string | null | undefined;
4463-
company_registration_number?: string | null | undefined;
4464-
tax_id?: string | null | undefined;
4465-
}, {
4466-
business_name?: string | null | undefined;
4467-
company_registration_number?: string | null | undefined;
4468-
tax_id?: string | null | undefined;
4469-
}>;
44704425
registration: z.ZodObject<{
44714426
chamber_of_commerce_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44724427
vat_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5379,11 +5334,6 @@ declare const HPartnerAppSchema: z.ZodObject<{
53795334
city?: string | null | undefined;
53805335
postal_code?: string | null | undefined;
53815336
};
5382-
company_details: {
5383-
business_name?: string | null | undefined;
5384-
company_registration_number?: string | null | undefined;
5385-
tax_id?: string | null | undefined;
5386-
};
53875337
registration: {
53885338
chamber_of_commerce_number?: string | null | undefined;
53895339
vat_number?: string | null | undefined;
@@ -5587,11 +5537,6 @@ declare const HPartnerAppSchema: z.ZodObject<{
55875537
city?: string | null | undefined;
55885538
postal_code?: string | null | undefined;
55895539
};
5590-
company_details: {
5591-
business_name?: string | null | undefined;
5592-
company_registration_number?: string | null | undefined;
5593-
tax_id?: string | null | undefined;
5594-
};
55955540
registration: {
55965541
chamber_of_commerce_number?: string | null | undefined;
55975542
vat_number?: string | null | undefined;
@@ -7587,19 +7532,6 @@ declare const partnerAppSchema: z.ZodObject<{
75877532
city?: string | null | undefined;
75887533
postal_code?: string | null | undefined;
75897534
}>;
7590-
company_details: z.ZodObject<{
7591-
business_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7592-
company_registration_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7593-
tax_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7594-
}, z.UnknownKeysParam, z.ZodTypeAny, {
7595-
business_name?: string | null | undefined;
7596-
company_registration_number?: string | null | undefined;
7597-
tax_id?: string | null | undefined;
7598-
}, {
7599-
business_name?: string | null | undefined;
7600-
company_registration_number?: string | null | undefined;
7601-
tax_id?: string | null | undefined;
7602-
}>;
76037535
registration: z.ZodObject<{
76047536
chamber_of_commerce_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76057537
vat_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8512,11 +8444,6 @@ declare const partnerAppSchema: z.ZodObject<{
85128444
city?: string | null | undefined;
85138445
postal_code?: string | null | undefined;
85148446
};
8515-
company_details: {
8516-
business_name?: string | null | undefined;
8517-
company_registration_number?: string | null | undefined;
8518-
tax_id?: string | null | undefined;
8519-
};
85208447
registration: {
85218448
chamber_of_commerce_number?: string | null | undefined;
85228449
vat_number?: string | null | undefined;
@@ -8720,11 +8647,6 @@ declare const partnerAppSchema: z.ZodObject<{
87208647
city?: string | null | undefined;
87218648
postal_code?: string | null | undefined;
87228649
};
8723-
company_details: {
8724-
business_name?: string | null | undefined;
8725-
company_registration_number?: string | null | undefined;
8726-
tax_id?: string | null | undefined;
8727-
};
87288650
registration: {
87298651
chamber_of_commerce_number?: string | null | undefined;
87308652
vat_number?: string | null | undefined;

0 commit comments

Comments
 (0)