@@ -68,11 +68,10 @@ def create(
68
68
extra_body : Body | None = None ,
69
69
timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
70
70
) -> CreateCompanyBenefitsResponse :
71
- """
72
- **Availability: Automated and Assisted Benefits providers**
71
+ """Creates a new company-wide deduction or contribution.
73
72
74
- Creates a new company-wide benefit. Please use the `/meta` endpoint to view
75
- available types for each provider.
73
+ Please use the
74
+ `/providers` endpoint to view available types for each provider.
76
75
77
76
Args:
78
77
type: Type of benefit.
@@ -113,9 +112,7 @@ def retrieve(
113
112
timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
114
113
) -> CompanyBenefit :
115
114
"""
116
- **Availability: Automated Benefits providers only**
117
-
118
- Lists benefit information for a given benefit
115
+ Lists deductions and contributions information for a given item
119
116
120
117
Args:
121
118
extra_headers: Send extra headers
@@ -149,9 +146,7 @@ def update(
149
146
timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
150
147
) -> UpdateCompanyBenefitResponse :
151
148
"""
152
- **Availability: Automated and Assisted Benefits providers**
153
-
154
- Updates an existing company-wide benefit
149
+ Updates an existing company-wide deduction or contribution
155
150
156
151
Args:
157
152
description: Updated name or description.
@@ -185,11 +180,7 @@ def list(
185
180
extra_body : Body | None = None ,
186
181
timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
187
182
) -> SyncSinglePage [CompanyBenefit ]:
188
- """
189
- **Availability: Automated Benefits providers only**
190
-
191
- List all company-wide benefits.
192
- """
183
+ """List all company-wide deductions and contributions."""
193
184
return self ._get_api_list (
194
185
"/employer/benefits" ,
195
186
page = SyncSinglePage [CompanyBenefit ],
@@ -209,12 +200,7 @@ def list_supported_benefits(
209
200
extra_body : Body | None = None ,
210
201
timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
211
202
) -> SyncSinglePage [SupportedBenefit ]:
212
- """
213
- **Availability: Automated and Assisted Benefits providers**
214
-
215
- Lists available types and configurations for the provider associated with the
216
- access token.
217
- """
203
+ """Get deductions metadata"""
218
204
return self ._get_api_list (
219
205
"/employer/benefits/meta" ,
220
206
page = SyncSinglePage [SupportedBenefit ],
@@ -251,11 +237,10 @@ async def create(
251
237
extra_body : Body | None = None ,
252
238
timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
253
239
) -> CreateCompanyBenefitsResponse :
254
- """
255
- **Availability: Automated and Assisted Benefits providers**
240
+ """Creates a new company-wide deduction or contribution.
256
241
257
- Creates a new company-wide benefit. Please use the `/meta` endpoint to view
258
- available types for each provider.
242
+ Please use the
243
+ `/providers` endpoint to view available types for each provider.
259
244
260
245
Args:
261
246
type: Type of benefit.
@@ -296,9 +281,7 @@ async def retrieve(
296
281
timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
297
282
) -> CompanyBenefit :
298
283
"""
299
- **Availability: Automated Benefits providers only**
300
-
301
- Lists benefit information for a given benefit
284
+ Lists deductions and contributions information for a given item
302
285
303
286
Args:
304
287
extra_headers: Send extra headers
@@ -332,9 +315,7 @@ async def update(
332
315
timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
333
316
) -> UpdateCompanyBenefitResponse :
334
317
"""
335
- **Availability: Automated and Assisted Benefits providers**
336
-
337
- Updates an existing company-wide benefit
318
+ Updates an existing company-wide deduction or contribution
338
319
339
320
Args:
340
321
description: Updated name or description.
@@ -368,11 +349,7 @@ def list(
368
349
extra_body : Body | None = None ,
369
350
timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
370
351
) -> AsyncPaginator [CompanyBenefit , AsyncSinglePage [CompanyBenefit ]]:
371
- """
372
- **Availability: Automated Benefits providers only**
373
-
374
- List all company-wide benefits.
375
- """
352
+ """List all company-wide deductions and contributions."""
376
353
return self ._get_api_list (
377
354
"/employer/benefits" ,
378
355
page = AsyncSinglePage [CompanyBenefit ],
@@ -392,12 +369,7 @@ def list_supported_benefits(
392
369
extra_body : Body | None = None ,
393
370
timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
394
371
) -> AsyncPaginator [SupportedBenefit , AsyncSinglePage [SupportedBenefit ]]:
395
- """
396
- **Availability: Automated and Assisted Benefits providers**
397
-
398
- Lists available types and configurations for the provider associated with the
399
- access token.
400
- """
372
+ """Get deductions metadata"""
401
373
return self ._get_api_list (
402
374
"/employer/benefits/meta" ,
403
375
page = AsyncSinglePage [SupportedBenefit ],
0 commit comments