Skip to content

Commit 1619c3d

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 4.24.2 (#208)
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.599.0 * empty commit to trigger [run-tests] workflow --------- Co-authored-by: speakeasybot <[email protected]> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent 2b5f6cd commit 1619c3d

39 files changed

+665
-700
lines changed

.speakeasy/gen.lock

Lines changed: 12 additions & 10 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.596.0
1+
speakeasyVersion: 1.599.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:e935d7ea5e55d09e78040ca0ad930af609174a75afdc21eb6cb2a3f90c3b113a
6-
sourceBlobDigest: sha256:e56c20581a77ab830dd900d2208a8208b9d8daa84bf4df435b72a8b31ddeebfc
5+
sourceRevisionDigest: sha256:b38835f94b360c1dd1c5dd7dfe97f5daf1c11aec2c786feca1132e5a2402df58
6+
sourceBlobDigest: sha256:ce2db516776298fd133bf4378fe27ac92eb10313eeb0bc90b7f14f6171dd0910
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1754298851
9+
- speakeasy-sdk-regen-1754648495
1010
- 1.0.0
1111
targets:
1212
StackOneTypeScriptClient:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:e935d7ea5e55d09e78040ca0ad930af609174a75afdc21eb6cb2a3f90c3b113a
16-
sourceBlobDigest: sha256:e56c20581a77ab830dd900d2208a8208b9d8daa84bf4df435b72a8b31ddeebfc
15+
sourceRevisionDigest: sha256:b38835f94b360c1dd1c5dd7dfe97f5daf1c11aec2c786feca1132e5a2402df58
16+
sourceBlobDigest: sha256:ce2db516776298fd133bf4378fe27ac92eb10313eeb0bc90b7f14f6171dd0910
1717
codeSamplesNamespace: code-samples-typescript-stackonetypescriptclient
18-
codeSamplesRevisionDigest: sha256:209a882d5d471c2e8608661f3c17b9e4c2d43ef1b939d29201832d96cfaad7d0
18+
codeSamplesRevisionDigest: sha256:ffe08a37aeb5b996e253b7b98d85776521345114fc345e4cfe31cf9869054680
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

FUNCTIONS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const stackOne = new StackOneCore({
3434
async function run() {
3535
const res = await hrisListEmployees(stackOne, {
3636
expand: "company,employments,work_location,home_location,groups,skills",
37-
fields: "id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,skills",
37+
fields: "id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,skills",
3838
filter: {
3939
updatedAfter: new Date("2020-01-01T00:00:00.000Z"),
4040
},

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ async function run() {
8080
const result = await stackOne.hris.listEmployees({
8181
expand: "company,employments,work_location,home_location,groups,skills",
8282
fields:
83-
"id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,skills",
83+
"id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,skills",
8484
filter: {
8585
updatedAfter: new Date("2020-01-01T00:00:00.000Z"),
8686
},

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1806,4 +1806,14 @@ Based on:
18061806
### Generated
18071807
- [typescript v4.24.1] .
18081808
### Releases
1809-
- [NPM v4.24.1] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.24.1 - .
1809+
- [NPM v4.24.1] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.24.1 - .
1810+
1811+
## 2025-08-08 10:21:13
1812+
### Changes
1813+
Based on:
1814+
- OpenAPI Doc
1815+
- Speakeasy CLI 1.599.0 (2.675.0) https://github.com/speakeasy-api/speakeasy
1816+
### Generated
1817+
- [typescript v4.24.2] .
1818+
### Releases
1819+
- [NPM v4.24.2] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.24.2 - .

USAGE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ async function run() {
1515
const result = await stackOne.hris.listEmployees({
1616
expand: "company,employments,work_location,home_location,groups,skills",
1717
fields:
18-
"id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,skills",
18+
"id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,skills",
1919
filter: {
2020
updatedAfter: new Date("2020-01-01T00:00:00.000Z"),
2121
},

codeSamples.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ actions:
674674
"x-codeSamples":
675675
- "lang": "typescript"
676676
"label": "hris_list_employees"
677-
"source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployees({\n fields: \"id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,skills\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n expand: \"company,employments,work_location,home_location,groups,skills\",\n include: \"avatar_url,avatar,custom_fields,job_description,benefits\",\n xAccountId: \"<id>\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();"
677+
"source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployees({\n fields: \"id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,skills\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n expand: \"company,employments,work_location,home_location,groups,skills\",\n include: \"avatar_url,avatar,custom_fields,job_description,benefits\",\n xAccountId: \"<id>\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();"
678678
- target: $["paths"]["/unified/hris/employees"]["post"]
679679
update:
680680
"x-codeSamples":
@@ -686,7 +686,7 @@ actions:
686686
"x-codeSamples":
687687
- "lang": "typescript"
688688
"label": "hris_get_employee"
689-
"source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getEmployee({\n id: \"<id>\",\n fields: \"id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,skills\",\n expand: \"company,employments,work_location,home_location,groups,skills\",\n include: \"avatar_url,avatar,custom_fields,job_description,benefits\",\n xAccountId: \"<id>\",\n });\n\n console.log(result);\n}\n\nrun();"
689+
"source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getEmployee({\n id: \"<id>\",\n fields: \"id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,skills\",\n expand: \"company,employments,work_location,home_location,groups,skills\",\n include: \"avatar_url,avatar,custom_fields,job_description,benefits\",\n xAccountId: \"<id>\",\n });\n\n console.log(result);\n}\n\nrun();"
690690
- target: $["paths"]["/unified/hris/employees/{id}"]["patch"]
691691
update:
692692
"x-codeSamples":
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Active
2+
3+
Filter to allow filtering of only active content
4+
5+
6+
## Supported Types
7+
8+
### `boolean`
9+
10+
```typescript
11+
const value: boolean = true;
12+
```
13+
14+
### `string`
15+
16+
```typescript
17+
const value: string = "<value>";
18+
```
19+

0 commit comments

Comments
 (0)