Skip to content

Commit e761590

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

File tree

81 files changed

+5595
-1719
lines changed

Some content is hidden

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

81 files changed

+5595
-1719
lines changed

.speakeasy/gen.lock

Lines changed: 188 additions & 23 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.581.0
1+
speakeasyVersion: 1.583.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:76d72206a7fd74dc81777e6dc91b301361c322c37511a5e1dbe6bbfb37efbfb7
6-
sourceBlobDigest: sha256:64638f9aaaca6a97d8b3ebd21de6b8947ccd9b0a6aa36b48bd38e0520cc2d126
5+
sourceRevisionDigest: sha256:16fea80c9e19ecbb8c2a71fa3c2fcfeb38952cc73a64f4d2a09555673824f9e6
6+
sourceBlobDigest: sha256:27d4b4955e5b5bf715a4c3f24bd7128f6531e0796aedf799ccb2377774eed5de
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1752484240
9+
- speakeasy-sdk-regen-1753089079
1010
- 1.0.0
1111
targets:
1212
StackOneTypeScriptClient:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:76d72206a7fd74dc81777e6dc91b301361c322c37511a5e1dbe6bbfb37efbfb7
16-
sourceBlobDigest: sha256:64638f9aaaca6a97d8b3ebd21de6b8947ccd9b0a6aa36b48bd38e0520cc2d126
15+
sourceRevisionDigest: sha256:16fea80c9e19ecbb8c2a71fa3c2fcfeb38952cc73a64f4d2a09555673824f9e6
16+
sourceBlobDigest: sha256:27d4b4955e5b5bf715a4c3f24bd7128f6531e0796aedf799ccb2377774eed5de
1717
codeSamplesNamespace: code-samples-typescript-stackonetypescriptclient
18-
codeSamplesRevisionDigest: sha256:4af1fc7d1cfc9c877ce8781734033824517c9d1b0f2a799a57af822bce301d6a
18+
codeSamplesRevisionDigest: sha256:0a40955d935feb8351861de2e5cf6fdd0b670fa36cfed64a2fcbd04ff7e214c8
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ run();
127127
* [getApplication](docs/sdks/ats/README.md#getapplication) - Get Application
128128
* [getApplicationCustomFieldDefinition](docs/sdks/ats/README.md#getapplicationcustomfielddefinition) - Get Application Custom Field Definition
129129
* [getApplicationDocument](docs/sdks/ats/README.md#getapplicationdocument) - Get Application Document
130+
* [getApplicationDocumentCategory](docs/sdks/ats/README.md#getapplicationdocumentcategory) - Get Application Document Category
130131
* [getApplicationNote](docs/sdks/ats/README.md#getapplicationnote) - Get Application Note
131132
* [getApplicationOffer](docs/sdks/ats/README.md#getapplicationoffer) - Get Application Offer
132133
* [getApplicationScheduledInterview](docs/sdks/ats/README.md#getapplicationscheduledinterview) - Get Applications scheduled interview
@@ -151,6 +152,7 @@ run();
151152
* [getUser](docs/sdks/ats/README.md#getuser) - Get User
152153
* [listApplicationChanges](docs/sdks/ats/README.md#listapplicationchanges) - List Application Changes
153154
* [listApplicationCustomFieldDefinitions](docs/sdks/ats/README.md#listapplicationcustomfielddefinitions) - List Application Custom Field Definitions
155+
* [listApplicationDocumentCategories](docs/sdks/ats/README.md#listapplicationdocumentcategories) - List Application Document Categories
154156
* [listApplicationDocuments](docs/sdks/ats/README.md#listapplicationdocuments) - List Application Documents
155157
* [listApplicationNotes](docs/sdks/ats/README.md#listapplicationnotes) - List Application Notes
156158
* [listApplicationScorecards](docs/sdks/ats/README.md#listapplicationscorecards) - List Application Scorecards
@@ -218,7 +220,6 @@ run();
218220
* [listDrives](docs/sdks/documents/README.md#listdrives) - List Drives
219221
* [listFiles](docs/sdks/documents/README.md#listfiles) - List Files
220222
* [listFolders](docs/sdks/documents/README.md#listfolders) - List Folders
221-
* [searchFiles](docs/sdks/documents/README.md#searchfiles) - Search Files
222223
* [uploadFile](docs/sdks/documents/README.md#uploadfile) - Upload File
223224

224225
### [hris](docs/sdks/hris/README.md)
@@ -252,6 +253,7 @@ run();
252253
* [getJob](docs/sdks/hris/README.md#getjob) - Get Job
253254
* [getLocation](docs/sdks/hris/README.md#getlocation) - Get Work Location
254255
* [getPosition](docs/sdks/hris/README.md#getposition) - Get Position
256+
* [getShift](docs/sdks/hris/README.md#getshift) - Get Shift
255257
* [getTask](docs/sdks/hris/README.md#gettask) - Get Task
256258
* [getTeamGroup](docs/sdks/hris/README.md#getteamgroup) - Get Team Group
257259
* [getTimeEntries](docs/sdks/hris/README.md#gettimeentries) - Get Time Entry
@@ -281,6 +283,7 @@ run();
281283
* [listJobs](docs/sdks/hris/README.md#listjobs) - List Jobs
282284
* [listLocations](docs/sdks/hris/README.md#listlocations) - List Work Locations
283285
* [listPositions](docs/sdks/hris/README.md#listpositions) - List Positions
286+
* [listShifts](docs/sdks/hris/README.md#listshifts) - List Shifts
284287
* [listTasks](docs/sdks/hris/README.md#listtasks) - List Tasks
285288
* [listTeamGroups](docs/sdks/hris/README.md#listteamgroups) - List Team Groups
286289
* [listTimeEntries](docs/sdks/hris/README.md#listtimeentries) - List Time Entries
@@ -733,6 +736,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
733736
- [`atsGetApplication`](docs/sdks/ats/README.md#getapplication) - Get Application
734737
- [`atsGetApplicationCustomFieldDefinition`](docs/sdks/ats/README.md#getapplicationcustomfielddefinition) - Get Application Custom Field Definition
735738
- [`atsGetApplicationDocument`](docs/sdks/ats/README.md#getapplicationdocument) - Get Application Document
739+
- [`atsGetApplicationDocumentCategory`](docs/sdks/ats/README.md#getapplicationdocumentcategory) - Get Application Document Category
736740
- [`atsGetApplicationNote`](docs/sdks/ats/README.md#getapplicationnote) - Get Application Note
737741
- [`atsGetApplicationOffer`](docs/sdks/ats/README.md#getapplicationoffer) - Get Application Offer
738742
- [`atsGetApplicationScheduledInterview`](docs/sdks/ats/README.md#getapplicationscheduledinterview) - Get Applications scheduled interview
@@ -757,6 +761,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
757761
- [`atsGetUser`](docs/sdks/ats/README.md#getuser) - Get User
758762
- [`atsListApplicationChanges`](docs/sdks/ats/README.md#listapplicationchanges) - List Application Changes
759763
- [`atsListApplicationCustomFieldDefinitions`](docs/sdks/ats/README.md#listapplicationcustomfielddefinitions) - List Application Custom Field Definitions
764+
- [`atsListApplicationDocumentCategories`](docs/sdks/ats/README.md#listapplicationdocumentcategories) - List Application Document Categories
760765
- [`atsListApplicationDocuments`](docs/sdks/ats/README.md#listapplicationdocuments) - List Application Documents
761766
- [`atsListApplicationNotes`](docs/sdks/ats/README.md#listapplicationnotes) - List Application Notes
762767
- [`atsListApplications`](docs/sdks/ats/README.md#listapplications) - List Applications
@@ -812,7 +817,6 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
812817
- [`documentsListDrives`](docs/sdks/documents/README.md#listdrives) - List Drives
813818
- [`documentsListFiles`](docs/sdks/documents/README.md#listfiles) - List Files
814819
- [`documentsListFolders`](docs/sdks/documents/README.md#listfolders) - List Folders
815-
- [`documentsSearchFiles`](docs/sdks/documents/README.md#searchfiles) - Search Files
816820
- [`documentsUploadFile`](docs/sdks/documents/README.md#uploadfile) - Upload File
817821
- [`hrisBatchUploadEmployeeDocument`](docs/sdks/hris/README.md#batchuploademployeedocument) - Batch Upload Employee Document
818822
- [`hrisCancelEmployeeTimeOffRequest`](docs/sdks/hris/README.md#cancelemployeetimeoffrequest) - Cancel Employee Time Off Request
@@ -843,6 +847,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
843847
- [`hrisGetJob`](docs/sdks/hris/README.md#getjob) - Get Job
844848
- [`hrisGetLocation`](docs/sdks/hris/README.md#getlocation) - Get Work Location
845849
- [`hrisGetPosition`](docs/sdks/hris/README.md#getposition) - Get Position
850+
- [`hrisGetShift`](docs/sdks/hris/README.md#getshift) - Get Shift
846851
- [`hrisGetTask`](docs/sdks/hris/README.md#gettask) - Get Task
847852
- [`hrisGetTeamGroup`](docs/sdks/hris/README.md#getteamgroup) - Get Team Group
848853
- [`hrisGetTimeEntries`](docs/sdks/hris/README.md#gettimeentries) - Get Time Entry
@@ -871,6 +876,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
871876
- [`hrisListJobs`](docs/sdks/hris/README.md#listjobs) - List Jobs
872877
- [`hrisListLocations`](docs/sdks/hris/README.md#listlocations) - List Work Locations
873878
- [`hrisListPositions`](docs/sdks/hris/README.md#listpositions) - List Positions
879+
- [`hrisListShifts`](docs/sdks/hris/README.md#listshifts) - List Shifts
874880
- [`hrisListTasks`](docs/sdks/hris/README.md#listtasks) - List Tasks
875881
- [`hrisListTeamGroups`](docs/sdks/hris/README.md#listteamgroups) - List Team Groups
876882
- [`hrisListTimeEntries`](docs/sdks/hris/README.md#listtimeentries) - List Time Entries

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1726,4 +1726,14 @@ Based on:
17261726
### Generated
17271727
- [typescript v4.22.1] .
17281728
### Releases
1729-
- [NPM v4.22.1] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.22.1 - .
1729+
- [NPM v4.22.1] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.22.1 - .
1730+
1731+
## 2025-07-21 09:10:57
1732+
### Changes
1733+
Based on:
1734+
- OpenAPI Doc
1735+
- Speakeasy CLI 1.583.0 (2.658.3) https://github.com/speakeasy-api/speakeasy
1736+
### Generated
1737+
- [typescript v4.23.0] .
1738+
### Releases
1739+
- [NPM v4.23.0] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.23.0 - .

codeSamples.yaml

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,18 @@ actions:
369369
- "lang": "typescript"
370370
"label": "ats_get_department"
371371
"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.ats.getDepartment({\n id: \"<id>\",\n fields: \"id,remote_id,name\",\n xAccountId: \"<id>\",\n });\n\n console.log(result);\n}\n\nrun();"
372+
- target: $["paths"]["/unified/ats/documents/application_categories"]["get"]
373+
update:
374+
"x-codeSamples":
375+
- "lang": "typescript"
376+
"label": "ats_list_application_document_categories"
377+
"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.ats.listApplicationDocumentCategories({\n fields: \"id,remote_id,name,active\",\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();"
378+
- target: $["paths"]["/unified/ats/documents/application_categories/{id}"]["get"]
379+
update:
380+
"x-codeSamples":
381+
- "lang": "typescript"
382+
"label": "ats_get_application_document_category"
383+
"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.ats.getApplicationDocumentCategory({\n id: \"<id>\",\n fields: \"id,remote_id,name,active\",\n xAccountId: \"<id>\",\n });\n\n console.log(result);\n}\n\nrun();"
372384
- target: $["paths"]["/unified/ats/interview_stages"]["get"]
373385
update:
374386
"x-codeSamples":
@@ -573,12 +585,6 @@ actions:
573585
- "lang": "typescript"
574586
"label": "documents_list_files"
575587
"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();"
576-
- target: $["paths"]["/unified/documents/files/search"]["post"]
577-
update:
578-
"x-codeSamples":
579-
- "lang": "typescript"
580-
"label": "documents_search_files"
581-
"source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport { DocumentsFilesSearchRequestDtoOperator, Operator } from \"@stackone/stackone-client-ts/sdk/models/shared\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.documents.searchFiles({\n xAccountId: \"<id>\",\n documentsFilesSearchRequestDto: {\n query: {\n operator: DocumentsFilesSearchRequestDtoOperator.Equal,\n queries: [\n {\n operator: Operator.Equal,\n field: \"name\",\n value: \"john\",\n },\n ],\n field: \"name\",\n globalSearch: \"test\",\n value: \"john\",\n },\n params: {\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n },\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n },\n });\n\n console.log(result);\n}\n\nrun();"
582588
- target: $["paths"]["/unified/documents/files/upload"]["post"]
583589
update:
584590
"x-codeSamples":
@@ -963,6 +969,18 @@ actions:
963969
- "lang": "typescript"
964970
"label": "hris_get_position"
965971
"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.getPosition({\n id: \"<id>\",\n xAccountId: \"<id>\",\n });\n\n console.log(result);\n}\n\nrun();"
972+
- target: $["paths"]["/unified/hris/shifts"]["get"]
973+
update:
974+
"x-codeSamples":
975+
- "lang": "typescript"
976+
"label": "hris_list_shifts"
977+
"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.listShifts({\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();"
978+
- target: $["paths"]["/unified/hris/shifts/{id}"]["get"]
979+
update:
980+
"x-codeSamples":
981+
- "lang": "typescript"
982+
"label": "hris_get_shift"
983+
"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.getShift({\n id: \"<id>\",\n xAccountId: \"<id>\",\n });\n\n console.log(result);\n}\n\nrun();"
966984
- target: $["paths"]["/unified/hris/tasks"]["get"]
967985
update:
968986
"x-codeSamples":
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# AtsGetApplicationDocumentCategoryRequest
2+
3+
## Example Usage
4+
5+
```typescript
6+
import { AtsGetApplicationDocumentCategoryRequest } from "@stackone/stackone-client-ts/sdk/models/operations";
7+
8+
let value: AtsGetApplicationDocumentCategoryRequest = {
9+
fields: "id,remote_id,name,active",
10+
id: "<id>",
11+
xAccountId: "<id>",
12+
};
13+
```
14+
15+
## Fields
16+
17+
| Field | Type | Required | Description | Example |
18+
| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ |
19+
| `fields` | *string* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,name,active |
20+
| `id` | *string* | :heavy_check_mark: | N/A | |
21+
| `proxy` | Record<string, *any*> | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | |
22+
| `raw` | *boolean* | :heavy_minus_sign: | Indicates that the raw request result should be returned in addition to the mapped result (default value is false) | |
23+
| `xAccountId` | *string* | :heavy_check_mark: | The account identifier | |

0 commit comments

Comments
 (0)