@@ -90,7 +90,7 @@ def create(
9090 def create (
9191 self ,
9292 * ,
93- individual_id : str ,
93+ params : automated_create_params . W4FormEmployeeSyncParams ,
9494 type : Literal ["w4_form_employee_sync" ],
9595 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
9696 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -116,8 +116,6 @@ def create(
116116 access to this endpoint, please contact your Finch account manager.
117117
118118 Args:
119- individual_id: The unique ID of the individual for W-4 data sync.
120-
121119 type: The type of job to start.
122120
123121 extra_headers: Send extra headers
@@ -130,12 +128,12 @@ def create(
130128 """
131129 ...
132130
133- @required_args (["type" ], ["individual_id " , "type" ])
131+ @required_args (["type" ], ["params " , "type" ])
134132 def create (
135133 self ,
136134 * ,
137135 type : Literal ["data_sync_all" ] | Literal ["w4_form_employee_sync" ],
138- individual_id : str | NotGiven = NOT_GIVEN ,
136+ params : automated_create_params . W4FormEmployeeSyncParams | NotGiven = NOT_GIVEN ,
139137 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
140138 # The extra values given here take precedence over values defined on the client or passed to this method.
141139 extra_headers : Headers | None = None ,
@@ -148,7 +146,7 @@ def create(
148146 body = maybe_transform (
149147 {
150148 "type" : type ,
151- "individual_id " : individual_id ,
149+ "params " : params ,
152150 },
153151 automated_create_params .AutomatedCreateParams ,
154152 ),
@@ -307,7 +305,7 @@ async def create(
307305 async def create (
308306 self ,
309307 * ,
310- individual_id : str ,
308+ params : automated_create_params . W4FormEmployeeSyncParams ,
311309 type : Literal ["w4_form_employee_sync" ],
312310 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
313311 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -333,8 +331,6 @@ async def create(
333331 access to this endpoint, please contact your Finch account manager.
334332
335333 Args:
336- individual_id: The unique ID of the individual for W-4 data sync.
337-
338334 type: The type of job to start.
339335
340336 extra_headers: Send extra headers
@@ -347,12 +343,12 @@ async def create(
347343 """
348344 ...
349345
350- @required_args (["type" ], ["individual_id " , "type" ])
346+ @required_args (["type" ], ["params " , "type" ])
351347 async def create (
352348 self ,
353349 * ,
354350 type : Literal ["data_sync_all" ] | Literal ["w4_form_employee_sync" ],
355- individual_id : str | NotGiven = NOT_GIVEN ,
351+ params : automated_create_params . W4FormEmployeeSyncParams | NotGiven = NOT_GIVEN ,
356352 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
357353 # The extra values given here take precedence over values defined on the client or passed to this method.
358354 extra_headers : Headers | None = None ,
@@ -365,7 +361,7 @@ async def create(
365361 body = await async_maybe_transform (
366362 {
367363 "type" : type ,
368- "individual_id " : individual_id ,
364+ "params " : params ,
369365 },
370366 automated_create_params .AutomatedCreateParams ,
371367 ),
0 commit comments