@@ -90,7 +90,7 @@ def create(
90
90
def create (
91
91
self ,
92
92
* ,
93
- individual_id : str ,
93
+ params : automated_create_params . W4FormEmployeeSyncParams ,
94
94
type : Literal ["w4_form_employee_sync" ],
95
95
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
96
96
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -116,8 +116,6 @@ def create(
116
116
access to this endpoint, please contact your Finch account manager.
117
117
118
118
Args:
119
- individual_id: The unique ID of the individual for W-4 data sync.
120
-
121
119
type: The type of job to start.
122
120
123
121
extra_headers: Send extra headers
@@ -130,12 +128,12 @@ def create(
130
128
"""
131
129
...
132
130
133
- @required_args (["type" ], ["individual_id " , "type" ])
131
+ @required_args (["type" ], ["params " , "type" ])
134
132
def create (
135
133
self ,
136
134
* ,
137
135
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 ,
139
137
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
140
138
# The extra values given here take precedence over values defined on the client or passed to this method.
141
139
extra_headers : Headers | None = None ,
@@ -148,7 +146,7 @@ def create(
148
146
body = maybe_transform (
149
147
{
150
148
"type" : type ,
151
- "individual_id " : individual_id ,
149
+ "params " : params ,
152
150
},
153
151
automated_create_params .AutomatedCreateParams ,
154
152
),
@@ -307,7 +305,7 @@ async def create(
307
305
async def create (
308
306
self ,
309
307
* ,
310
- individual_id : str ,
308
+ params : automated_create_params . W4FormEmployeeSyncParams ,
311
309
type : Literal ["w4_form_employee_sync" ],
312
310
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
313
311
# 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(
333
331
access to this endpoint, please contact your Finch account manager.
334
332
335
333
Args:
336
- individual_id: The unique ID of the individual for W-4 data sync.
337
-
338
334
type: The type of job to start.
339
335
340
336
extra_headers: Send extra headers
@@ -347,12 +343,12 @@ async def create(
347
343
"""
348
344
...
349
345
350
- @required_args (["type" ], ["individual_id " , "type" ])
346
+ @required_args (["type" ], ["params " , "type" ])
351
347
async def create (
352
348
self ,
353
349
* ,
354
350
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 ,
356
352
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
357
353
# The extra values given here take precedence over values defined on the client or passed to this method.
358
354
extra_headers : Headers | None = None ,
@@ -365,7 +361,7 @@ async def create(
365
361
body = await async_maybe_transform (
366
362
{
367
363
"type" : type ,
368
- "individual_id " : individual_id ,
364
+ "params " : params ,
369
365
},
370
366
automated_create_params .AutomatedCreateParams ,
371
367
),
0 commit comments