Skip to content

Commit 07174ee

Browse files
feat(api): api update
1 parent 50db4af commit 07174ee

8 files changed

Lines changed: 19 additions & 29 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 46
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-ded87cb73affcaff9cf779d9cfd119a4026cfc1757b39be95d933edea48a0328.yml
3-
openapi_spec_hash: 0e6394b222fc68d7607114e70b72d23e
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-46f433f34d440aa1dfcc48cc8d822c598571b68be2f723ec99e1b4fba6c13b1e.yml
3+
openapi_spec_hash: 5b5cd728776723ac773900f7e8a32c05
44
config_hash: 0892e2e0eeb0343a022afa62e9080dd1

src/resources/hris/company/pay-statement-item/pay-statement-item.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@ export class PayStatementItem extends APIResource {
2121
rules: RulesAPI.Rules = new RulesAPI.Rules(this._client);
2222

2323
/**
24-
* **Beta:** this endpoint currently serves employers onboarded after March 4th and
25-
* historical support will be added soon Retrieve a list of detailed pay statement
26-
* items for the access token's connection account.
24+
* Retrieve a list of detailed pay statement items for the access token's
25+
* connection account.
2726
*
2827
* @example
2928
* ```ts

src/resources/hris/company/pay-statement-item/rules.ts

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@ import { path } from '../../../../internal/utils/path';
88

99
export class Rules extends APIResource {
1010
/**
11-
* **Beta:** this endpoint currently serves employers onboarded after March 4th and
12-
* historical support will be added soon Custom rules can be created to associate
13-
* specific attributes to pay statement items depending on the use case. For
14-
* example, pay statement items that meet certain conditions can be labeled as a
15-
* pre-tax 401k. This metadata can be retrieved where pay statement item
16-
* information is available.
11+
* Custom rules can be created to associate specific attributes to pay statement
12+
* items depending on the use case. For example, pay statement items that meet
13+
* certain conditions can be labeled as a pre-tax 401k. This metadata can be
14+
* retrieved where pay statement item information is available.
1715
*
1816
* @example
1917
* ```ts
@@ -34,8 +32,7 @@ export class Rules extends APIResource {
3432
}
3533

3634
/**
37-
* **Beta:** this endpoint currently serves employers onboarded after March 4th and
38-
* historical support will be added soon Update a rule for a pay statement item.
35+
* Update a rule for a pay statement item.
3936
*
4037
* @example
4138
* ```ts
@@ -59,8 +56,7 @@ export class Rules extends APIResource {
5956
}
6057

6158
/**
62-
* **Beta:** this endpoint currently serves employers onboarded after March 4th and
63-
* historical support will be added soon List all rules of a connection account.
59+
* List all rules of a connection account.
6460
*
6561
* @example
6662
* ```ts
@@ -81,8 +77,7 @@ export class Rules extends APIResource {
8177
}
8278

8379
/**
84-
* **Beta:** this endpoint currently serves employers onboarded after March 4th and
85-
* historical support will be added soon Delete a rule for a pay statement item.
80+
* Delete a rule for a pay statement item.
8681
*
8782
* @example
8883
* ```ts

src/resources/hris/employments.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ export namespace EmploymentData {
6060
employment: UnionMember0.Employment | null;
6161

6262
/**
63-
* The detailed employment status of the individual. Available options: `active`,
64-
* `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
63+
* The detailed employment status of the individual.
6564
*/
6665
employment_status:
6766
| 'active'

src/resources/hris/payments.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ export namespace Payment {
9292
export interface PaymentListParams {
9393
/**
9494
* The end date to retrieve payments by a company (inclusive) in `YYYY-MM-DD`
95-
* format.
95+
* format. Filters payments by their **pay_date** field.
9696
*/
9797
end_date: string;
9898

9999
/**
100100
* The start date to retrieve payments by a company (inclusive) in `YYYY-MM-DD`
101-
* format.
101+
* format. Filters payments by their **pay_date** field.
102102
*/
103103
start_date: string;
104104

src/resources/jobs/manual.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import { path } from '../../internal/utils/path';
77

88
export class Manual extends APIResource {
99
/**
10-
* Get a manual job by `job_id`. Manual jobs are completed by a human and include
11-
* Assisted Benefits jobs.
10+
* Check the status and outcome of a job by `job_id`. This includes all deductions
11+
* jobs including those for both automated and assisted integrations.
1212
*/
1313
retrieve(jobID: string, options?: RequestOptions): APIPromise<ManualAsyncJob> {
1414
return this._client.get(path`/jobs/manual/${jobID}`, options);

src/resources/sandbox/directory.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ export namespace DirectoryCreateParams {
6565
employment?: Body.Employment | null;
6666

6767
/**
68-
* The detailed employment status of the individual. Available options: `active`,
69-
* `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
68+
* The detailed employment status of the individual.
7069
*/
7170
employment_status?:
7271
| 'active'

src/resources/sandbox/employment.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ export interface EmploymentUpdateResponse {
5555
employment?: EmploymentUpdateResponse.Employment | null;
5656

5757
/**
58-
* The detailed employment status of the individual. Available options: `active`,
59-
* `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
58+
* The detailed employment status of the individual.
6059
*/
6160
employment_status?:
6261
| 'active'
@@ -192,8 +191,7 @@ export interface EmploymentUpdateParams {
192191
employment?: EmploymentUpdateParams.Employment | null;
193192

194193
/**
195-
* The detailed employment status of the individual. Available options: `active`,
196-
* `deceased`, `leave`, `onboarding`, `prehire`, `retired`, `terminated`.
194+
* The detailed employment status of the individual.
197195
*/
198196
employment_status?:
199197
| 'active'

0 commit comments

Comments
 (0)