Skip to content

Commit 6cdc1cf

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 4.22.1 (#195)
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.581.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 54e170b commit 6cdc1cf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+4177
-65
lines changed

.speakeasy/gen.lock

Lines changed: 180 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.580.1
1+
speakeasyVersion: 1.581.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:20c37b6a711c86f0d2b5bc57af540613b7160751fb0ea77f2a102c3d370194e5
6-
sourceBlobDigest: sha256:2efd3bd48c63e6db200d5318adc5b77cad06e6213c06027556f2c42c12ca05f9
5+
sourceRevisionDigest: sha256:76d72206a7fd74dc81777e6dc91b301361c322c37511a5e1dbe6bbfb37efbfb7
6+
sourceBlobDigest: sha256:64638f9aaaca6a97d8b3ebd21de6b8947ccd9b0a6aa36b48bd38e0520cc2d126
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1752101363
9+
- speakeasy-sdk-regen-1752484240
1010
- 1.0.0
1111
targets:
1212
StackOneTypeScriptClient:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:20c37b6a711c86f0d2b5bc57af540613b7160751fb0ea77f2a102c3d370194e5
16-
sourceBlobDigest: sha256:2efd3bd48c63e6db200d5318adc5b77cad06e6213c06027556f2c42c12ca05f9
15+
sourceRevisionDigest: sha256:76d72206a7fd74dc81777e6dc91b301361c322c37511a5e1dbe6bbfb37efbfb7
16+
sourceBlobDigest: sha256:64638f9aaaca6a97d8b3ebd21de6b8947ccd9b0a6aa36b48bd38e0520cc2d126
1717
codeSamplesNamespace: code-samples-typescript-stackonetypescriptclient
18-
codeSamplesRevisionDigest: sha256:52da87bcc14f4f29cad51ef94b370d4a4ca601d47ccdc6f36e6e04805de8ce24
18+
codeSamplesRevisionDigest: sha256:4af1fc7d1cfc9c877ce8781734033824517c9d1b0f2a799a57af822bce301d6a
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,10 @@ run();
233233
* [downloadEmployeeDocument](docs/sdks/hris/README.md#downloademployeedocument) - Download Employee Document
234234
* [getBenefit](docs/sdks/hris/README.md#getbenefit) - Get Benefit
235235
* [getCompany](docs/sdks/hris/README.md#getcompany) - Get Company
236+
* [getCompanyGroup](docs/sdks/hris/README.md#getcompanygroup) - Get Company Group
236237
* [getCostCenterGroup](docs/sdks/hris/README.md#getcostcentergroup) - Get Cost Center Group
237238
* [getDepartmentGroup](docs/sdks/hris/README.md#getdepartmentgroup) - Get Department Group
239+
* [getDivisionGroup](docs/sdks/hris/README.md#getdivisiongroup) - Get Division Group
238240
* [getEmployee](docs/sdks/hris/README.md#getemployee) - Get Employee
239241
* [getEmployeeCustomFieldDefinition](docs/sdks/hris/README.md#getemployeecustomfielddefinition) - Get employee Custom Field Definition
240242
* [getEmployeeDocument](docs/sdks/hris/README.md#getemployeedocument) - Get Employee Document
@@ -259,8 +261,10 @@ run();
259261
* [inviteEmployee](docs/sdks/hris/README.md#inviteemployee) - Invite Employee
260262
* [listBenefits](docs/sdks/hris/README.md#listbenefits) - List benefits
261263
* [listCompanies](docs/sdks/hris/README.md#listcompanies) - List Companies
264+
* [listCompaniesGroups](docs/sdks/hris/README.md#listcompaniesgroups) - List Companies Groups
262265
* [listCostCenterGroups](docs/sdks/hris/README.md#listcostcentergroups) - List Cost Center Groups
263266
* [listDepartmentGroups](docs/sdks/hris/README.md#listdepartmentgroups) - List Department Groups
267+
* [listDivisionGroups](docs/sdks/hris/README.md#listdivisiongroups) - List Division Groups
264268
* [listEmployeeCategories](docs/sdks/hris/README.md#listemployeecategories) - List Employee Document Categories
265269
* [listEmployeeCustomFieldDefinitions](docs/sdks/hris/README.md#listemployeecustomfielddefinitions) - List employee Custom Field Definitions
266270
* [listEmployeeDocuments](docs/sdks/hris/README.md#listemployeedocuments) - List Employee Documents
@@ -820,8 +824,10 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
820824
- [`hrisDownloadEmployeeDocument`](docs/sdks/hris/README.md#downloademployeedocument) - Download Employee Document
821825
- [`hrisGetBenefit`](docs/sdks/hris/README.md#getbenefit) - Get Benefit
822826
- [`hrisGetCompany`](docs/sdks/hris/README.md#getcompany) - Get Company
827+
- [`hrisGetCompanyGroup`](docs/sdks/hris/README.md#getcompanygroup) - Get Company Group
823828
- [`hrisGetCostCenterGroup`](docs/sdks/hris/README.md#getcostcentergroup) - Get Cost Center Group
824829
- [`hrisGetDepartmentGroup`](docs/sdks/hris/README.md#getdepartmentgroup) - Get Department Group
830+
- [`hrisGetDivisionGroup`](docs/sdks/hris/README.md#getdivisiongroup) - Get Division Group
825831
- [`hrisGetEmployee`](docs/sdks/hris/README.md#getemployee) - Get Employee
826832
- [`hrisGetEmployeeCustomFieldDefinition`](docs/sdks/hris/README.md#getemployeecustomfielddefinition) - Get employee Custom Field Definition
827833
- [`hrisGetEmployeeDocument`](docs/sdks/hris/README.md#getemployeedocument) - Get Employee Document
@@ -845,8 +851,10 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
845851
- [`hrisInviteEmployee`](docs/sdks/hris/README.md#inviteemployee) - Invite Employee
846852
- [`hrisListBenefits`](docs/sdks/hris/README.md#listbenefits) - List benefits
847853
- [`hrisListCompanies`](docs/sdks/hris/README.md#listcompanies) - List Companies
854+
- [`hrisListCompaniesGroups`](docs/sdks/hris/README.md#listcompaniesgroups) - List Companies Groups
848855
- [`hrisListCostCenterGroups`](docs/sdks/hris/README.md#listcostcentergroups) - List Cost Center Groups
849856
- [`hrisListDepartmentGroups`](docs/sdks/hris/README.md#listdepartmentgroups) - List Department Groups
857+
- [`hrisListDivisionGroups`](docs/sdks/hris/README.md#listdivisiongroups) - List Division Groups
850858
- [`hrisListEmployeeCategories`](docs/sdks/hris/README.md#listemployeecategories) - List Employee Document Categories
851859
- [`hrisListEmployeeCustomFieldDefinitions`](docs/sdks/hris/README.md#listemployeecustomfielddefinitions) - List employee Custom Field Definitions
852860
- [`hrisListEmployeeDocuments`](docs/sdks/hris/README.md#listemployeedocuments) - List Employee Documents

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1716,4 +1716,14 @@ Based on:
17161716
### Generated
17171717
- [typescript v4.22.0] .
17181718
### Releases
1719-
- [NPM v4.22.0] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.22.0 - .
1719+
- [NPM v4.22.0] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.22.0 - .
1720+
1721+
## 2025-07-14 09:10:19
1722+
### Changes
1723+
Based on:
1724+
- OpenAPI Doc
1725+
- Speakeasy CLI 1.581.0 (2.656.5) https://github.com/speakeasy-api/speakeasy
1726+
### Generated
1727+
- [typescript v4.22.1] .
1728+
### Releases
1729+
- [NPM v4.22.1] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.22.1 - .

codeSamples.yaml

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ actions:
572572
"x-codeSamples":
573573
- "lang": "typescript"
574574
"label": "documents_list_files"
575-
"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.documents.listFiles({\n fields: \"id,remote_id,name,description,url,size,file_format,path,owner_id,remote_owner_id,folder_id,remote_folder_id,drive_id,remote_drive_id,export_formats,created_at,updated_at,has_content,has_children\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"<id>\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();"
575+
"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.documents.listFiles({\n fields: \"id,remote_id,name,description,url,size,file_format,path,owner_id,remote_owner_id,folder_id,remote_folder_id,drive_id,remote_drive_id,export_formats,default_download_format,created_at,updated_at,has_content,has_children\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"<id>\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();"
576576
- target: $["paths"]["/unified/documents/files/search"]["post"]
577577
update:
578578
"x-codeSamples":
@@ -590,7 +590,7 @@ actions:
590590
"x-codeSamples":
591591
- "lang": "typescript"
592592
"label": "documents_get_file"
593-
"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.documents.getFile({\n id: \"<id>\",\n fields: \"id,remote_id,name,description,url,size,file_format,path,owner_id,remote_owner_id,folder_id,remote_folder_id,drive_id,remote_drive_id,export_formats,created_at,updated_at,has_content,has_children\",\n xAccountId: \"<id>\",\n });\n\n console.log(result);\n}\n\nrun();"
593+
"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.documents.getFile({\n id: \"<id>\",\n fields: \"id,remote_id,name,description,url,size,file_format,path,owner_id,remote_owner_id,folder_id,remote_folder_id,drive_id,remote_drive_id,export_formats,default_download_format,created_at,updated_at,has_content,has_children\",\n xAccountId: \"<id>\",\n });\n\n console.log(result);\n}\n\nrun();"
594594
- target: $["paths"]["/unified/documents/files/{id}/download"]["get"]
595595
update:
596596
"x-codeSamples":
@@ -861,6 +861,18 @@ actions:
861861
- "lang": "typescript"
862862
"label": "hris_list_groups"
863863
"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.listGroups({\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"<id>\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();"
864+
- target: $["paths"]["/unified/hris/groups/companies"]["get"]
865+
update:
866+
"x-codeSamples":
867+
- "lang": "typescript"
868+
"label": "hris_list_companies_groups"
869+
"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.listCompaniesGroups({\n fields: \"id,remote_id,name,full_name,display_name,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"<id>\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();"
870+
- target: $["paths"]["/unified/hris/groups/companies/{id}"]["get"]
871+
update:
872+
"x-codeSamples":
873+
- "lang": "typescript"
874+
"label": "hris_get_company_group"
875+
"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.getCompanyGroup({\n id: \"<id>\",\n fields: \"id,remote_id,name,full_name,display_name,created_at,updated_at\",\n xAccountId: \"<id>\",\n });\n\n console.log(result);\n}\n\nrun();"
864876
- target: $["paths"]["/unified/hris/groups/cost_centers"]["get"]
865877
update:
866878
"x-codeSamples":
@@ -878,13 +890,25 @@ actions:
878890
"x-codeSamples":
879891
- "lang": "typescript"
880892
"label": "hris_list_department_groups"
881-
"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.listDepartmentGroups({\n fields: \"id,remote_id,name\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"<id>\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();"
893+
"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.listDepartmentGroups({\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"<id>\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();"
882894
- target: $["paths"]["/unified/hris/groups/departments/{id}"]["get"]
883895
update:
884896
"x-codeSamples":
885897
- "lang": "typescript"
886898
"label": "hris_get_department_group"
887-
"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.getDepartmentGroup({\n id: \"<id>\",\n fields: \"id,remote_id,name\",\n xAccountId: \"<id>\",\n });\n\n console.log(result);\n}\n\nrun();"
899+
"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.getDepartmentGroup({\n id: \"<id>\",\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id\",\n xAccountId: \"<id>\",\n });\n\n console.log(result);\n}\n\nrun();"
900+
- target: $["paths"]["/unified/hris/groups/divisions"]["get"]
901+
update:
902+
"x-codeSamples":
903+
- "lang": "typescript"
904+
"label": "hris_list_division_groups"
905+
"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.listDivisionGroups({\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"<id>\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();"
906+
- target: $["paths"]["/unified/hris/groups/divisions/{id}"]["get"]
907+
update:
908+
"x-codeSamples":
909+
- "lang": "typescript"
910+
"label": "hris_get_division_group"
911+
"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.getDivisionGroup({\n id: \"<id>\",\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id\",\n xAccountId: \"<id>\",\n });\n\n console.log(result);\n}\n\nrun();"
888912
- target: $["paths"]["/unified/hris/groups/teams"]["get"]
889913
update:
890914
"x-codeSamples":

0 commit comments

Comments
 (0)