1010__all__ = [
1111 "EmploymentData" ,
1212 "UnionMember0" ,
13- "UnionMember0CustomField" ,
1413 "UnionMember0Department" ,
1514 "UnionMember0Employment" ,
1615 "UnionMember0Manager" ,
16+ "UnionMember0CustomField" ,
1717 "BatchError" ,
1818]
1919
2020
21- class UnionMember0CustomField (BaseModel ):
22- name : Optional [str ] = None
23-
24- value : Union [Optional [str ], Optional [List [object ]], Optional [float ], Optional [bool ], Optional [object ], None ] = None
25-
26-
2721class UnionMember0Department (BaseModel ):
2822 name : Optional [str ] = None
2923 """The name of the department associated with the individual."""
@@ -46,20 +40,19 @@ class UnionMember0Manager(BaseModel):
4640 """A stable Finch `id` (UUID v4) for an individual in the company."""
4741
4842
43+ class UnionMember0CustomField (BaseModel ):
44+ name : Optional [str ] = None
45+
46+ value : Union [Optional [str ], Optional [List [object ]], Optional [float ], Optional [bool ], Optional [object ], None ] = None
47+
48+
4949class UnionMember0 (BaseModel ):
5050 id : str
5151 """A stable Finch `id` (UUID v4) for an individual in the company."""
5252
5353 class_code : Optional [str ] = None
5454 """Worker's compensation classification code for this employee"""
5555
56- custom_fields : Optional [List [UnionMember0CustomField ]] = None
57- """Custom fields for the individual.
58-
59- These are fields which are defined by the employer in the system. Custom fields
60- are not currently supported for assisted connections.
61- """
62-
6356 department : Optional [UnionMember0Department ] = None
6457 """The department object."""
6558
@@ -101,8 +94,12 @@ class UnionMember0(BaseModel):
10194 title : Optional [str ] = None
10295 """The current title of the individual."""
10396
104- work_id : Optional [str ] = None
105- """This field is deprecated in favour of `source_id`"""
97+ custom_fields : Optional [List [UnionMember0CustomField ]] = None
98+ """Custom fields for the individual.
99+
100+ These are fields which are defined by the employer in the system. Custom fields
101+ are not currently supported for assisted connections.
102+ """
106103
107104 income_history : Optional [List [Optional [Income ]]] = None
108105 """The array of income history."""
@@ -117,6 +114,9 @@ class UnionMember0(BaseModel):
117114 source_id : Optional [str ] = None
118115 """The source system's unique employment identifier for this individual"""
119116
117+ work_id : Optional [str ] = None
118+ """This field is deprecated in favour of `source_id`"""
119+
120120
121121class BatchError (BaseModel ):
122122 code : float
0 commit comments