@verifiedinc-public/shared-ui-elements 12.29.0 → 12.29.1-beta.210

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/components/NetworkRules/editor/schema.d.ts +14 -110
  2. package/dist/components/NetworkRules/editor/schema.mjs +1 -1
  3. package/dist/components/form/NewOneClickForm/core/fields/address.d.ts +14 -36
  4. package/dist/components/form/NewOneClickForm/core/fields/birthDate.d.ts +1 -1
  5. package/dist/components/form/NewOneClickForm/core/fields/driversLicense.d.ts +32 -102
  6. package/dist/components/form/NewOneClickForm/core/fields/employer.d.ts +9 -101
  7. package/dist/components/form/NewOneClickForm/core/fields/fullName.d.ts +1 -9
  8. package/dist/components/form/NewOneClickForm/core/fields/healthInsurance.d.ts +4 -32
  9. package/dist/components/form/NewOneClickForm/core/fields/index.d.ts +66 -284
  10. package/dist/components/form/NewOneClickForm/core/fields/phone.d.ts +1 -1
  11. package/dist/components/form/NewOneClickForm/core/fields/sex.d.ts +3 -1
  12. package/dist/components/form/NewOneClickForm/core/fields/ssn.d.ts +1 -1
  13. package/dist/components/form/NewOneClickForm/core/form/formField.mjs +1 -1
  14. package/dist/components/form/NewOneClickForm/core/form/formFieldBuilder.mjs +1 -1
  15. package/dist/components/form/NewOneClickForm/core/validations/address/address.schema.d.ts +12 -78
  16. package/dist/components/form/NewOneClickForm/core/validations/address/address.schema.mjs +1 -1
  17. package/dist/components/form/NewOneClickForm/core/validations/address/country.schema.d.ts +1 -1
  18. package/dist/components/form/NewOneClickForm/core/validations/address/state.schema.d.ts +3 -1
  19. package/dist/components/form/NewOneClickForm/core/validations/driversLicense/driversLicense.schema.d.ts +12 -62
  20. package/dist/components/form/NewOneClickForm/core/validations/employer/employer.schema.d.ts +9 -101
  21. package/dist/components/form/NewOneClickForm/core/validations/employer/employer.schema.mjs +1 -1
  22. package/dist/components/form/NewOneClickForm/core/validations/healthInsurance/healthInsurance.schema.d.ts +3 -27
  23. package/dist/components/form/NewOneClickForm/core/validations/healthInsurance/healthInsurance.schema.mjs +1 -1
  24. package/dist/components/form/NewOneClickForm/core/validations/name/fullName.schema.d.ts +1 -9
  25. package/dist/components/form/NewOneClickForm/core/validations/other/birthDate.schema.d.ts +1 -1
  26. package/dist/components/form/NewOneClickForm/core/validations/other/date.schema.d.ts +1 -1
  27. package/dist/components/form/NewOneClickForm/core/validations/other/phone.schema.d.ts +1 -1
  28. package/dist/components/form/NewOneClickForm/core/validations/other/sex.schema.d.ts +3 -1
  29. package/dist/components/form/NewOneClickForm/core/validations/other/sex.schema.mjs +1 -1
  30. package/dist/components/form/NewOneClickForm/core/validations/other/ssn.schema.d.ts +1 -1
  31. package/dist/components/form/NewOneClickForm/react/core/field.hook.mjs +1 -1
  32. package/dist/components/form/NewOneClickForm/react/ui/fields/shared.d.ts +4 -4
  33. package/dist/hooks/useQRCode.mjs +1 -1
  34. package/dist/utils/zod.d.ts +6 -0
  35. package/dist/utils/zod.mjs +1 -0
  36. package/dist/validations/address.schema.d.ts +3 -1
  37. package/dist/validations/date.schema.d.ts +4 -4
  38. package/dist/validations/date.schema.mjs +1 -1
  39. package/dist/validations/email.schema.d.ts +2 -2
  40. package/dist/validations/email.schema.mjs +1 -1
  41. package/dist/validations/field.schema.mjs +1 -1
  42. package/dist/validations/npi.schema.d.ts +1 -1
  43. package/dist/validations/phone.schema.d.ts +1 -1
  44. package/dist/validations/ssn.schema.d.ts +1 -1
  45. package/dist/validations/ssn.schema.mjs +1 -1
  46. package/dist/validations/unix.schema.d.ts +1 -1
  47. package/package.json +14 -19
@@ -1,126 +1,30 @@
1
1
  import { z } from 'zod';
2
- import { NetworkRuleCatalogMetadata, NetworkRuleMetadataType } from '../types';
2
+ import { NetworkRuleCatalogMetadata } from '../types';
3
3
  export declare const networkRuleConditionFormSchema: z.ZodObject<{
4
4
  key: z.ZodString;
5
5
  operator: z.ZodString;
6
- values: z.ZodArray<z.ZodString, "many">;
7
- }, "strip", z.ZodTypeAny, {
8
- key: string;
9
- operator: string;
10
- values: string[];
11
- }, {
12
- key: string;
13
- operator: string;
14
- values: string[];
15
- }>;
16
- export declare function createNetworkRuleFormSchema(metadata: NetworkRuleCatalogMetadata | undefined): z.ZodEffects<z.ZodObject<{
6
+ values: z.ZodArray<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ export declare function createNetworkRuleFormSchema(metadata: NetworkRuleCatalogMetadata | undefined): z.ZodObject<{
17
9
  name: z.ZodString;
18
10
  status: z.ZodString;
19
11
  notes: z.ZodNullable<z.ZodString>;
20
12
  enabled: z.ZodBoolean;
21
13
  startDate: z.ZodNullable<z.ZodString>;
22
14
  endDate: z.ZodNullable<z.ZodString>;
23
- metadata: z.ZodArray<z.ZodEffects<z.ZodObject<{
15
+ metadata: z.ZodArray<z.ZodObject<{
24
16
  key: z.ZodString;
25
- type: z.ZodEnum<[NetworkRuleMetadataType, ...NetworkRuleMetadataType[]]>;
17
+ type: z.ZodEnum<{
18
+ string: "string";
19
+ number: "number";
20
+ boolean: "boolean";
21
+ }>;
26
22
  value: z.ZodString;
27
- }, "strip", z.ZodTypeAny, {
28
- key: string;
29
- type: NetworkRuleMetadataType;
30
- value: string;
31
- }, {
32
- key: string;
33
- type: NetworkRuleMetadataType;
34
- value: string;
35
- }>, {
36
- key: string;
37
- type: NetworkRuleMetadataType;
38
- value: string;
39
- }, {
40
- key: string;
41
- type: NetworkRuleMetadataType;
42
- value: string;
43
- }>, "many"> | z.ZodArray<z.ZodNever, "many">;
23
+ }, z.core.$strip>> | z.ZodArray<z.ZodNever>;
44
24
  conditions: z.ZodArray<z.ZodObject<{
45
25
  key: z.ZodString;
46
26
  operator: z.ZodString;
47
- values: z.ZodArray<z.ZodString, "many">;
48
- }, "strip", z.ZodTypeAny, {
49
- key: string;
50
- operator: string;
51
- values: string[];
52
- }, {
53
- key: string;
54
- operator: string;
55
- values: string[];
56
- }>, "many">;
57
- }, "strip", z.ZodTypeAny, {
58
- metadata: never[] | {
59
- key: string;
60
- type: NetworkRuleMetadataType;
61
- value: string;
62
- }[];
63
- name: string;
64
- status: string;
65
- enabled: boolean;
66
- startDate: string | null;
67
- endDate: string | null;
68
- notes: string | null;
69
- conditions: {
70
- key: string;
71
- operator: string;
72
- values: string[];
73
- }[];
74
- }, {
75
- metadata: never[] | {
76
- key: string;
77
- type: NetworkRuleMetadataType;
78
- value: string;
79
- }[];
80
- name: string;
81
- status: string;
82
- enabled: boolean;
83
- startDate: string | null;
84
- endDate: string | null;
85
- notes: string | null;
86
- conditions: {
87
- key: string;
88
- operator: string;
89
- values: string[];
90
- }[];
91
- }>, {
92
- metadata: never[] | {
93
- key: string;
94
- type: NetworkRuleMetadataType;
95
- value: string;
96
- }[];
97
- name: string;
98
- status: string;
99
- enabled: boolean;
100
- startDate: string | null;
101
- endDate: string | null;
102
- notes: string | null;
103
- conditions: {
104
- key: string;
105
- operator: string;
106
- values: string[];
107
- }[];
108
- }, {
109
- metadata: never[] | {
110
- key: string;
111
- type: NetworkRuleMetadataType;
112
- value: string;
113
- }[];
114
- name: string;
115
- status: string;
116
- enabled: boolean;
117
- startDate: string | null;
118
- endDate: string | null;
119
- notes: string | null;
120
- conditions: {
121
- key: string;
122
- operator: string;
123
- values: string[];
124
- }[];
125
- }>;
27
+ values: z.ZodArray<z.ZodString>;
28
+ }, z.core.$strip>>;
29
+ }, z.core.$strip>;
126
30
  export type NetworkRuleFormSchema = z.infer<ReturnType<typeof createNetworkRuleFormSchema>>;
@@ -1 +1 @@
1
- "use strict";import{z as e}from"zod";import{isNumberValue as l,isExactNumberValue as d,NETWORK_RULE_METADATA_TYPES as c}from"../utils/metadata.mjs";const y=a=>a.length>0?a:c,b=({types:a,limits:{maxKeyLength:s,maxValueLength:i}})=>e.object({key:e.string().trim().min(1,"Key is required").max(s,`Key must be at most ${s} characters`),type:e.enum(y(a)),value:e.string()}).superRefine((n,m)=>{const r=n.value.trim(),t=u=>{m.addIssue({code:e.ZodIssueCode.custom,path:["value"],message:u})};if(!r){t("Value is required");return}n.type==="string"&&r.length>i&&t(`Value must be at most ${i} characters`),n.type==="number"&&(l(r)?d(r)||t("Too many digits to keep as a number. Use the String type instead"):t("Value must be a number")),n.type==="boolean"&&r!=="true"&&r!=="false"&&t("Select True or False")}),o=e.object({key:e.string().min(1,"Select a key"),operator:e.string().min(1,"Select an operator"),values:e.array(e.string().trim().min(1,"Values cannot be empty")).min(1,"Add at least one value")});function g(a){return e.object({name:e.string().trim().min(1,"Rule name is required"),status:e.string().min(1,"Select a status"),notes:e.string().nullable(),enabled:e.boolean(),startDate:e.string().nullable(),endDate:e.string().nullable(),metadata:a?e.array(b(a)).max(a.limits.maxEntries,`A rule may have at most ${a.limits.maxEntries} metadata entries`):e.array(e.never()).max(0,"Metadata is not available"),conditions:e.array(o).min(1,"Add at least one condition")}).superRefine((s,i)=>{const n=new Set;s.metadata.forEach((m,r)=>{const t=m.key.trim().toLowerCase();if(t){if(n.has(t)){i.addIssue({code:e.ZodIssueCode.custom,path:["metadata",r,"key"],message:"Key already used"});return}n.add(t)}}),s.startDate!==null&&s.endDate!==null&&s.endDate<=s.startDate&&i.addIssue({code:e.ZodIssueCode.custom,path:["endDate"],message:"End must be after start"})})}export{g as createNetworkRuleFormSchema,o as networkRuleConditionFormSchema};
1
+ "use strict";import{z as e}from"zod";import{zod3EnumError as l}from"../../../utils/zod.mjs";import{isNumberValue as d,isExactNumberValue as c,NETWORK_RULE_METADATA_TYPES as y}from"../utils/metadata.mjs";const b=a=>a.length>0?a:y,g=({types:a,limits:{maxKeyLength:s,maxValueLength:m}})=>e.object({key:e.string().trim().min(1,"Key is required").max(s,`Key must be at most ${s} characters`),type:e.enum(b(a),{error:l}),value:e.string()}).superRefine((n,i)=>{const r=n.value.trim(),t=u=>{i.addIssue({code:"custom",path:["value"],message:u})};if(!r){t("Value is required");return}n.type==="string"&&r.length>m&&t(`Value must be at most ${m} characters`),n.type==="number"&&(d(r)?c(r)||t("Too many digits to keep as a number. Use the String type instead"):t("Value must be a number")),n.type==="boolean"&&r!=="true"&&r!=="false"&&t("Select True or False")}),o=e.object({key:e.string().min(1,"Select a key"),operator:e.string().min(1,"Select an operator"),values:e.array(e.string().trim().min(1,"Values cannot be empty")).min(1,"Add at least one value")});function p(a){return e.object({name:e.string().trim().min(1,"Rule name is required"),status:e.string().min(1,"Select a status"),notes:e.string().nullable(),enabled:e.boolean(),startDate:e.string().nullable(),endDate:e.string().nullable(),metadata:a?e.array(g(a)).max(a.limits.maxEntries,`A rule may have at most ${a.limits.maxEntries} metadata entries`):e.array(e.never()).max(0,"Metadata is not available"),conditions:e.array(o).min(1,"Add at least one condition")}).superRefine((s,m)=>{const n=new Set;s.metadata.forEach((i,r)=>{const t=i.key.trim().toLowerCase();if(t){if(n.has(t)){m.addIssue({code:"custom",path:["metadata",r,"key"],message:"Key already used"});return}n.add(t)}}),s.startDate!==null&&s.endDate!==null&&s.endDate<=s.startDate&&m.addIssue({code:"custom",path:["endDate"],message:"End must be after start"})})}export{p as createNetworkRuleFormSchema,o as networkRuleConditionFormSchema};
@@ -40,7 +40,9 @@ export declare const state: {
40
40
  label: string;
41
41
  placeholder: string;
42
42
  };
43
- zodSchema: import('zod').ZodEnum<[string, ...string[]]>;
43
+ zodSchema: import('zod').ZodEnum<{
44
+ [x: string]: string;
45
+ }>;
44
46
  };
45
47
  export declare const country: {
46
48
  key: string;
@@ -49,7 +51,7 @@ export declare const country: {
49
51
  label: string;
50
52
  placeholder: string;
51
53
  };
52
- zodSchema: import('zod').ZodEffects<import('zod').ZodString, "US", string>;
54
+ zodSchema: import('zod').ZodString & import('zod').ZodType<"US", string, import('zod/v4/core').$ZodTypeInternals<"US", string>>;
53
55
  };
54
56
  export declare const zipCode: {
55
57
  key: string;
@@ -102,7 +104,9 @@ export declare const address: {
102
104
  label: string;
103
105
  placeholder: string;
104
106
  };
105
- zodSchema: import('zod').ZodEnum<[string, ...string[]]>;
107
+ zodSchema: import('zod').ZodEnum<{
108
+ [x: string]: string;
109
+ }>;
106
110
  };
107
111
  country: {
108
112
  key: string;
@@ -111,7 +115,7 @@ export declare const address: {
111
115
  label: string;
112
116
  placeholder: string;
113
117
  };
114
- zodSchema: import('zod').ZodEffects<import('zod').ZodString, "US", string>;
118
+ zodSchema: import('zod').ZodString & import('zod').ZodType<"US", string, import('zod/v4/core').$ZodTypeInternals<"US", string>>;
115
119
  };
116
120
  zipCode: {
117
121
  key: string;
@@ -123,42 +127,16 @@ export declare const address: {
123
127
  zodSchema: import('zod').ZodString;
124
128
  };
125
129
  };
126
- zodSchema: import('zod').ZodEffects<import('zod').ZodObject<{
130
+ zodSchema: import('zod').ZodObject<{
127
131
  line1: import('zod').ZodOptional<import('zod').ZodString>;
128
132
  line2: import('zod').ZodOptional<import('zod').ZodString>;
129
133
  city: import('zod').ZodOptional<import('zod').ZodString>;
130
- state: import('zod').ZodOptional<import('zod').ZodEnum<[string, ...string[]]>>;
131
- country: import('zod').ZodOptional<import('zod').ZodEffects<import('zod').ZodString, "US", string>>;
134
+ state: import('zod').ZodOptional<import('zod').ZodEnum<{
135
+ [x: string]: string;
136
+ }>>;
137
+ country: import('zod').ZodOptional<import('zod').ZodString & import('zod').ZodType<"US", string, import('zod/v4/core').$ZodTypeInternals<"US", string>>>;
132
138
  zipCode: import('zod').ZodOptional<import('zod').ZodString>;
133
- }, "strip", import('zod').ZodTypeAny, {
134
- line1?: string | undefined;
135
- line2?: string | undefined;
136
- city?: string | undefined;
137
- state?: string | undefined;
138
- country?: "US" | undefined;
139
- zipCode?: string | undefined;
140
- }, {
141
- line1?: string | undefined;
142
- line2?: string | undefined;
143
- city?: string | undefined;
144
- state?: string | undefined;
145
- country?: string | undefined;
146
- zipCode?: string | undefined;
147
- }>, {
148
- line1?: string | undefined;
149
- line2?: string | undefined;
150
- city?: string | undefined;
151
- state?: string | undefined;
152
- country?: "US" | undefined;
153
- zipCode?: string | undefined;
154
- }, {
155
- line1?: string | undefined;
156
- line2?: string | undefined;
157
- city?: string | undefined;
158
- state?: string | undefined;
159
- country?: string | undefined;
160
- zipCode?: string | undefined;
161
- }>;
139
+ }, import('zod/v4/core').$strip>;
162
140
  format: (value: {
163
141
  line1?: string;
164
142
  line2?: string;
@@ -7,7 +7,7 @@ export declare const birthDate: {
7
7
  label: string;
8
8
  placeholder: string;
9
9
  };
10
- zodSchema: import('zod').ZodEffects<import('zod').ZodEffects<import('zod').ZodEffects<import('zod').ZodString, string, string>, string, string>, string, string>;
10
+ zodSchema: import('zod').ZodString;
11
11
  format: (value: string) => string;
12
12
  };
13
13
  declare module '../declarations' {
@@ -24,7 +24,9 @@ export declare const issuanceState: {
24
24
  label: import('../shared/us-states').USStateName;
25
25
  }[];
26
26
  };
27
- zodSchema: import('zod').ZodEnum<[string, ...string[]]>;
27
+ zodSchema: import('zod').ZodEnum<{
28
+ [x: string]: string;
29
+ }>;
28
30
  format: (value: string) => "Alabama" | "Alaska" | "Arizona" | "Arkansas" | "California" | "Colorado" | "Connecticut" | "Delaware" | "Florida" | "Georgia" | "Hawaii" | "Idaho" | "Illinois" | "Indiana" | "Iowa" | "Kansas" | "Kentucky" | "Louisiana" | "Maine" | "Maryland" | "Massachusetts" | "Michigan" | "Minnesota" | "Mississippi" | "Missouri" | "Montana" | "Nebraska" | "Nevada" | "New Hampshire" | "New Jersey" | "New Mexico" | "New York" | "North Carolina" | "North Dakota" | "Ohio" | "Oklahoma" | "Oregon" | "Pennsylvania" | "Rhode Island" | "South Carolina" | "South Dakota" | "Tennessee" | "Texas" | "Utah" | "Vermont" | "Virginia" | "Washington" | "West Virginia" | "Wisconsin" | "Wyoming" | "District of Columbia" | "American Samoa" | "Guam" | "Northern Mariana Islands" | "Puerto Rico" | "United States Minor Outlying Islands" | "Virgin Islands";
29
31
  };
30
32
  export declare const issuanceDate: {
@@ -34,7 +36,7 @@ export declare const issuanceDate: {
34
36
  label: string;
35
37
  placeholder: string;
36
38
  };
37
- zodSchema: import('zod').ZodEffects<import('zod').ZodEffects<import('zod').ZodString, string, string>, string, string>;
39
+ zodSchema: import('zod').ZodString;
38
40
  format: (value: string) => string;
39
41
  };
40
42
  export declare const expirationDate: {
@@ -44,7 +46,7 @@ export declare const expirationDate: {
44
46
  label: string;
45
47
  placeholder: string;
46
48
  };
47
- zodSchema: import('zod').ZodEffects<import('zod').ZodEffects<import('zod').ZodString, string, string>, string, string>;
49
+ zodSchema: import('zod').ZodString;
48
50
  format: (value: string) => string;
49
51
  };
50
52
  export declare const driversLicense: {
@@ -75,7 +77,9 @@ export declare const driversLicense: {
75
77
  label: import('../shared/us-states').USStateName;
76
78
  }[];
77
79
  };
78
- zodSchema: import('zod').ZodEnum<[string, ...string[]]>;
80
+ zodSchema: import('zod').ZodEnum<{
81
+ [x: string]: string;
82
+ }>;
79
83
  format: (value: string) => "Alabama" | "Alaska" | "Arizona" | "Arkansas" | "California" | "Colorado" | "Connecticut" | "Delaware" | "Florida" | "Georgia" | "Hawaii" | "Idaho" | "Illinois" | "Indiana" | "Iowa" | "Kansas" | "Kentucky" | "Louisiana" | "Maine" | "Maryland" | "Massachusetts" | "Michigan" | "Minnesota" | "Mississippi" | "Missouri" | "Montana" | "Nebraska" | "Nevada" | "New Hampshire" | "New Jersey" | "New Mexico" | "New York" | "North Carolina" | "North Dakota" | "Ohio" | "Oklahoma" | "Oregon" | "Pennsylvania" | "Rhode Island" | "South Carolina" | "South Dakota" | "Tennessee" | "Texas" | "Utah" | "Vermont" | "Virginia" | "Washington" | "West Virginia" | "Wisconsin" | "Wyoming" | "District of Columbia" | "American Samoa" | "Guam" | "Northern Mariana Islands" | "Puerto Rico" | "United States Minor Outlying Islands" | "Virgin Islands";
80
84
  };
81
85
  issuanceDate: {
@@ -85,7 +89,7 @@ export declare const driversLicense: {
85
89
  label: string;
86
90
  placeholder: string;
87
91
  };
88
- zodSchema: import('zod').ZodEffects<import('zod').ZodEffects<import('zod').ZodString, string, string>, string, string>;
92
+ zodSchema: import('zod').ZodString;
89
93
  format: (value: string) => string;
90
94
  };
91
95
  expirationDate: {
@@ -95,7 +99,7 @@ export declare const driversLicense: {
95
99
  label: string;
96
100
  placeholder: string;
97
101
  };
98
- zodSchema: import('zod').ZodEffects<import('zod').ZodEffects<import('zod').ZodString, string, string>, string, string>;
102
+ zodSchema: import('zod').ZodString;
99
103
  format: (value: string) => string;
100
104
  };
101
105
  address: {
@@ -140,7 +144,9 @@ export declare const driversLicense: {
140
144
  label: string;
141
145
  placeholder: string;
142
146
  };
143
- zodSchema: import('zod').ZodEnum<[string, ...string[]]>;
147
+ zodSchema: import('zod').ZodEnum<{
148
+ [x: string]: string;
149
+ }>;
144
150
  };
145
151
  country: {
146
152
  key: string;
@@ -149,7 +155,7 @@ export declare const driversLicense: {
149
155
  label: string;
150
156
  placeholder: string;
151
157
  };
152
- zodSchema: import('zod').ZodEffects<import('zod').ZodString, "US", string>;
158
+ zodSchema: import('zod').ZodString & import('zod').ZodType<"US", string, import('zod/v4/core').$ZodTypeInternals<"US", string>>;
153
159
  };
154
160
  zipCode: {
155
161
  key: string;
@@ -161,42 +167,16 @@ export declare const driversLicense: {
161
167
  zodSchema: import('zod').ZodString;
162
168
  };
163
169
  };
164
- zodSchema: import('zod').ZodEffects<import('zod').ZodObject<{
170
+ zodSchema: import('zod').ZodObject<{
165
171
  line1: import('zod').ZodOptional<import('zod').ZodString>;
166
172
  line2: import('zod').ZodOptional<import('zod').ZodString>;
167
173
  city: import('zod').ZodOptional<import('zod').ZodString>;
168
- state: import('zod').ZodOptional<import('zod').ZodEnum<[string, ...string[]]>>;
169
- country: import('zod').ZodOptional<import('zod').ZodEffects<import('zod').ZodString, "US", string>>;
174
+ state: import('zod').ZodOptional<import('zod').ZodEnum<{
175
+ [x: string]: string;
176
+ }>>;
177
+ country: import('zod').ZodOptional<import('zod').ZodString & import('zod').ZodType<"US", string, import('zod/v4/core').$ZodTypeInternals<"US", string>>>;
170
178
  zipCode: import('zod').ZodOptional<import('zod').ZodString>;
171
- }, "strip", import('zod').ZodTypeAny, {
172
- line1?: string | undefined;
173
- line2?: string | undefined;
174
- city?: string | undefined;
175
- state?: string | undefined;
176
- country?: "US" | undefined;
177
- zipCode?: string | undefined;
178
- }, {
179
- line1?: string | undefined;
180
- line2?: string | undefined;
181
- city?: string | undefined;
182
- state?: string | undefined;
183
- country?: string | undefined;
184
- zipCode?: string | undefined;
185
- }>, {
186
- line1?: string | undefined;
187
- line2?: string | undefined;
188
- city?: string | undefined;
189
- state?: string | undefined;
190
- country?: "US" | undefined;
191
- zipCode?: string | undefined;
192
- }, {
193
- line1?: string | undefined;
194
- line2?: string | undefined;
195
- city?: string | undefined;
196
- state?: string | undefined;
197
- country?: string | undefined;
198
- zipCode?: string | undefined;
199
- }>;
179
+ }, import('zod/v4/core').$strip>;
200
180
  format: (value: {
201
181
  line1?: string;
202
182
  line2?: string;
@@ -209,72 +189,22 @@ export declare const driversLicense: {
209
189
  };
210
190
  zodSchema: import('zod').ZodObject<{
211
191
  documentNumber: import('zod').ZodString;
212
- issuanceState: import('zod').ZodEnum<[string, ...string[]]>;
213
- issuanceDate: import('zod').ZodEffects<import('zod').ZodEffects<import('zod').ZodString, string, string>, string, string>;
214
- expirationDate: import('zod').ZodEffects<import('zod').ZodEffects<import('zod').ZodString, string, string>, string, string>;
215
- address: import('zod').ZodEffects<import('zod').ZodObject<{
192
+ issuanceState: import('zod').ZodEnum<{
193
+ [x: string]: string;
194
+ }>;
195
+ issuanceDate: import('zod').ZodString;
196
+ expirationDate: import('zod').ZodString;
197
+ address: import('zod').ZodObject<{
216
198
  line1: import('zod').ZodOptional<import('zod').ZodString>;
217
199
  line2: import('zod').ZodOptional<import('zod').ZodString>;
218
200
  city: import('zod').ZodOptional<import('zod').ZodString>;
219
- state: import('zod').ZodOptional<import('zod').ZodEnum<[string, ...string[]]>>;
220
- country: import('zod').ZodOptional<import('zod').ZodEffects<import('zod').ZodString, "US", string>>;
201
+ state: import('zod').ZodOptional<import('zod').ZodEnum<{
202
+ [x: string]: string;
203
+ }>>;
204
+ country: import('zod').ZodOptional<import('zod').ZodString & import('zod').ZodType<"US", string, import('zod/v4/core').$ZodTypeInternals<"US", string>>>;
221
205
  zipCode: import('zod').ZodOptional<import('zod').ZodString>;
222
- }, "strip", import('zod').ZodTypeAny, {
223
- line1?: string | undefined;
224
- line2?: string | undefined;
225
- city?: string | undefined;
226
- state?: string | undefined;
227
- country?: "US" | undefined;
228
- zipCode?: string | undefined;
229
- }, {
230
- line1?: string | undefined;
231
- line2?: string | undefined;
232
- city?: string | undefined;
233
- state?: string | undefined;
234
- country?: string | undefined;
235
- zipCode?: string | undefined;
236
- }>, {
237
- line1?: string | undefined;
238
- line2?: string | undefined;
239
- city?: string | undefined;
240
- state?: string | undefined;
241
- country?: "US" | undefined;
242
- zipCode?: string | undefined;
243
- }, {
244
- line1?: string | undefined;
245
- line2?: string | undefined;
246
- city?: string | undefined;
247
- state?: string | undefined;
248
- country?: string | undefined;
249
- zipCode?: string | undefined;
250
- }>;
251
- }, "strip", import('zod').ZodTypeAny, {
252
- address: {
253
- line1?: string | undefined;
254
- line2?: string | undefined;
255
- city?: string | undefined;
256
- state?: string | undefined;
257
- country?: "US" | undefined;
258
- zipCode?: string | undefined;
259
- };
260
- documentNumber: string;
261
- issuanceState: string;
262
- issuanceDate: string;
263
- expirationDate: string;
264
- }, {
265
- address: {
266
- line1?: string | undefined;
267
- line2?: string | undefined;
268
- city?: string | undefined;
269
- state?: string | undefined;
270
- country?: string | undefined;
271
- zipCode?: string | undefined;
272
- };
273
- documentNumber: string;
274
- issuanceState: string;
275
- issuanceDate: string;
276
- expirationDate: string;
277
- }>;
206
+ }, import('zod/v4/core').$strip>;
207
+ }, import('zod/v4/core').$strip>;
278
208
  };
279
209
  declare module '../declarations' {
280
210
  interface FieldSchemaDefinitions {
@@ -12,111 +12,19 @@ export declare const employer: {
12
12
  employer: import('zod').ZodObject<{
13
13
  name: import('zod').ZodString;
14
14
  legalName: import('zod').ZodOptional<import('zod').ZodString>;
15
- address: import('zod').ZodOptional<import('zod').ZodEffects<import('zod').ZodEffects<import('zod').ZodObject<{
15
+ address: import('zod').ZodOptional<import('zod').ZodObject<{
16
16
  line1: import('zod').ZodOptional<import('zod').ZodString>;
17
17
  line2: import('zod').ZodOptional<import('zod').ZodString>;
18
18
  city: import('zod').ZodOptional<import('zod').ZodString>;
19
- state: import('zod').ZodOptional<import('zod').ZodEnum<[string, ...string[]]>>;
20
- country: import('zod').ZodOptional<import('zod').ZodEffects<import('zod').ZodString, "US", string>>;
19
+ state: import('zod').ZodOptional<import('zod').ZodEnum<{
20
+ [x: string]: string;
21
+ }>>;
22
+ country: import('zod').ZodOptional<import('zod').ZodString & import('zod').ZodType<"US", string, import('zod/v4/core').$ZodTypeInternals<"US", string>>>;
21
23
  zipCode: import('zod').ZodOptional<import('zod').ZodString>;
22
- }, "strip", import('zod').ZodTypeAny, {
23
- line1?: string | undefined;
24
- line2?: string | undefined;
25
- city?: string | undefined;
26
- state?: string | undefined;
27
- country?: "US" | undefined;
28
- zipCode?: string | undefined;
29
- }, {
30
- line1?: string | undefined;
31
- line2?: string | undefined;
32
- city?: string | undefined;
33
- state?: string | undefined;
34
- country?: string | undefined;
35
- zipCode?: string | undefined;
36
- }>, {
37
- line1?: string | undefined;
38
- line2?: string | undefined;
39
- city?: string | undefined;
40
- state?: string | undefined;
41
- country?: "US" | undefined;
42
- zipCode?: string | undefined;
43
- }, {
44
- line1?: string | undefined;
45
- line2?: string | undefined;
46
- city?: string | undefined;
47
- state?: string | undefined;
48
- country?: string | undefined;
49
- zipCode?: string | undefined;
50
- }>, {
51
- line1?: string | undefined;
52
- line2?: string | undefined;
53
- city?: string | undefined;
54
- state?: string | undefined;
55
- country?: "US" | undefined;
56
- zipCode?: string | undefined;
57
- }, {
58
- line1?: string | undefined;
59
- line2?: string | undefined;
60
- city?: string | undefined;
61
- state?: string | undefined;
62
- country?: string | undefined;
63
- zipCode?: string | undefined;
64
- }>>;
65
- logoUrl: import('zod').ZodOptional<import('zod').ZodNullable<import('zod').ZodUnion<[import('zod').ZodString, import('zod').ZodLiteral<"">]>>>;
66
- }, "strip", import('zod').ZodTypeAny, {
67
- name: string;
68
- address?: {
69
- line1?: string | undefined;
70
- line2?: string | undefined;
71
- city?: string | undefined;
72
- state?: string | undefined;
73
- country?: "US" | undefined;
74
- zipCode?: string | undefined;
75
- } | undefined;
76
- logoUrl?: string | null | undefined;
77
- legalName?: string | undefined;
78
- }, {
79
- name: string;
80
- address?: {
81
- line1?: string | undefined;
82
- line2?: string | undefined;
83
- city?: string | undefined;
84
- state?: string | undefined;
85
- country?: string | undefined;
86
- zipCode?: string | undefined;
87
- } | undefined;
88
- logoUrl?: string | null | undefined;
89
- legalName?: string | undefined;
90
- }>;
91
- }, "strip", import('zod').ZodTypeAny, {
92
- employer: {
93
- name: string;
94
- address?: {
95
- line1?: string | undefined;
96
- line2?: string | undefined;
97
- city?: string | undefined;
98
- state?: string | undefined;
99
- country?: "US" | undefined;
100
- zipCode?: string | undefined;
101
- } | undefined;
102
- logoUrl?: string | null | undefined;
103
- legalName?: string | undefined;
104
- };
105
- }, {
106
- employer: {
107
- name: string;
108
- address?: {
109
- line1?: string | undefined;
110
- line2?: string | undefined;
111
- city?: string | undefined;
112
- state?: string | undefined;
113
- country?: string | undefined;
114
- zipCode?: string | undefined;
115
- } | undefined;
116
- logoUrl?: string | null | undefined;
117
- legalName?: string | undefined;
118
- };
119
- }>;
24
+ }, import('zod/v4/core').$strip>>;
25
+ logoUrl: import('zod').ZodOptional<import('zod').ZodNullable<import('zod').ZodUnion<readonly [import('zod').ZodURL, import('zod').ZodLiteral<"">]>>>;
26
+ }, import('zod/v4/core').$strip>;
27
+ }, import('zod/v4/core').$strip>;
120
28
  format: (value: EmployerValue) => string | null;
121
29
  };
122
30
  declare module '../declarations' {
@@ -70,15 +70,7 @@ export declare const fullName: {
70
70
  firstName: import('zod').ZodString;
71
71
  lastName: import('zod').ZodString;
72
72
  middleName: import('zod').ZodString;
73
- }, "strip", import('zod').ZodTypeAny, {
74
- firstName: string;
75
- lastName: string;
76
- middleName: string;
77
- }, {
78
- firstName: string;
79
- lastName: string;
80
- middleName: string;
81
- }>;
73
+ }, import('zod/v4/core').$strip>;
82
74
  };
83
75
  declare module '../declarations' {
84
76
  interface FieldSchemaDefinitions {
@@ -42,11 +42,7 @@ export declare const payer: {
42
42
  };
43
43
  zodSchema: z.ZodObject<{
44
44
  name: z.ZodOptional<z.ZodString>;
45
- }, "strip", z.ZodTypeAny, {
46
- name?: string | undefined;
47
- }, {
48
- name?: string | undefined;
49
- }>;
45
+ }, z.core.$strip>;
50
46
  };
51
47
  export declare const healthInsurance: {
52
48
  key: string;
@@ -61,33 +57,9 @@ export declare const healthInsurance: {
61
57
  payer: z.ZodObject<{
62
58
  verifiedId: z.ZodString;
63
59
  name: z.ZodString;
64
- logoUrl: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>>;
65
- }, "strip", z.ZodTypeAny, {
66
- name: string;
67
- verifiedId: string;
68
- logoUrl?: string | null | undefined;
69
- }, {
70
- name: string;
71
- verifiedId: string;
72
- logoUrl?: string | null | undefined;
73
- }>;
74
- }, "strip", z.ZodTypeAny, {
75
- memberId: string;
76
- payer: {
77
- name: string;
78
- verifiedId: string;
79
- logoUrl?: string | null | undefined;
80
- };
81
- id?: number | undefined;
82
- }, {
83
- memberId: string;
84
- payer: {
85
- name: string;
86
- verifiedId: string;
87
- logoUrl?: string | null | undefined;
88
- };
89
- id?: number | undefined;
90
- }>;
60
+ logoUrl: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">]>>>;
61
+ }, z.core.$strip>;
62
+ }, z.core.$strip>;
91
63
  format: (value: HealthInsuranceValue) => string | null;
92
64
  };
93
65
  declare module '../declarations' {