Skip to content

Commit ff769cc

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 4.20.1 (#184)
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.554.1 * empty commit to trigger [run-tests] workflow --------- Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent 48bcb86 commit ff769cc

25 files changed

Lines changed: 254 additions & 253 deletions

.speakeasy/gen.lock

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 7fa83af8-9e8e-4410-b7e2-cf1d0eaf688b
33
management:
4-
docChecksum: 7db3bfaa417780527f414d0e263bd341
4+
docChecksum: 3ca400331b919287003f988e31dc6769
55
docVersion: 1.0.0
66
speakeasyVersion: 1.554.1
77
generationVersion: 2.616.1
8-
releaseVersion: 4.20.0
9-
configChecksum: 13d80ac40d3edf780c75f984e1717281
8+
releaseVersion: 4.20.1
9+
configChecksum: 36d16518b1be9c1429cafbbd8706c1db
1010
repoURL: https://github.com/StackOneHQ/stackone-client-typescript.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/StackOneHQ/stackone-client-typescript
@@ -601,8 +601,6 @@ generatedFiles:
601601
- docs/sdk/models/operations/stackonelistlogsresponse.md
602602
- docs/sdk/models/operations/stackoneliststeplogsqueryparamorderby.md
603603
- docs/sdk/models/operations/stackoneliststeplogsqueryparamorderdirection.md
604-
- docs/sdk/models/operations/stackoneliststeplogsqueryparamrequestlogsorderby.md
605-
- docs/sdk/models/operations/stackoneliststeplogsqueryparamrequestlogsorderdirection.md
606604
- docs/sdk/models/operations/stackoneliststeplogsrequest.md
607605
- docs/sdk/models/operations/stackoneliststeplogsresponse.md
608606
- docs/sdk/models/operations/stackoneproxyrequestrequest.md
@@ -836,6 +834,7 @@ generatedFiles:
836834
- docs/sdk/models/shared/balanceunit.md
837835
- docs/sdk/models/shared/batchresultapimodel.md
838836
- docs/sdk/models/shared/benefittype.md
837+
- docs/sdk/models/shared/body.md
839838
- docs/sdk/models/shared/campaign.md
840839
- docs/sdk/models/shared/campaign2.md
841840
- docs/sdk/models/shared/campaign4.md
@@ -3316,7 +3315,7 @@ examples:
33163315
order_by: "eventDatetime"
33173316
order_direction: "asc"
33183317
include: "step_logs"
3319-
filter: {"account_ids": "45355976281015164504,45355976281015164505", "actions": "download,upload", "child_resources": "documents,time-off", "end_date": "2020-01-01T00:00:00.000Z", "http_methods": "GET,POST", "order_by": "service", "order_direction": "asc", "providers": "ashby,greenhouse", "request_ids": "adbf752f-6457-4ddd-89b3-98ae2252b83b,adbf752f-6457-4ddd-89b3-98ae2252b83c", "resources": "employees,users", "services": "hris,ats", "start_date": "2020-01-01T00:00:00.000Z", "status_codes": "200,400", "sub_resources": "documents,employees", "success": true}
3318+
filter: {"account_ids": "45355976281015164504,45355976281015164505", "actions": "download,upload", "child_resources": "documents,time-off", "end_date": "2020-01-01T00:00:00.000Z", "http_methods": "GET,POST", "providers": "ashby,greenhouse", "request_ids": "adbf752f-6457-4ddd-89b3-98ae2252b83b,adbf752f-6457-4ddd-89b3-98ae2252b83c", "resources": "employees,users", "services": "hris,ats", "start_date": "2020-01-01T00:00:00.000Z", "status_codes": "200,400", "sub_resources": "documents,employees", "success": true}
33203319
responses:
33213320
"200":
33223321
application/json: {"data": [{"account_id": "45355976281015164504", "action": "download", "child_resource": "time-off", "duration": 356, "end_time": "2021-01-01T00:00:00Z", "http_method": "get", "id": "adbf752f-6457-4ddd-89b3-98ae2252b83b", "is_worker": false, "path": "/unified/hris/employees", "project_id": "dev-project-68574", "provider": "planday", "request_id": "adbf752f-6457-4ddd-89b3-98ae2252b83b", "resource": "employees", "service": "hris", "start_time": "2021-01-01T00:00:00Z", "status": 200, "sub_resource": "documents", "success": true, "url": "https://api.stackone.com/unified/hris/employees?raw=false"}, {"account_id": "45355976281015164504", "action": "download", "child_resource": "time-off", "duration": 356, "end_time": "2021-01-01T00:00:00Z", "http_method": "get", "id": "adbf752f-6457-4ddd-89b3-98ae2252b83b", "is_worker": false, "path": "/unified/hris/employees", "project_id": "dev-project-68574", "provider": "planday", "request_id": "adbf752f-6457-4ddd-89b3-98ae2252b83b", "resource": "employees", "service": "hris", "start_time": "2021-01-01T00:00:00Z", "status": 200, "sub_resource": "documents", "success": true, "url": "https://api.stackone.com/unified/hris/employees?raw=false"}, {"account_id": "45355976281015164504", "action": "download", "child_resource": "time-off", "duration": 356, "end_time": "2021-01-01T00:00:00Z", "http_method": "get", "id": "adbf752f-6457-4ddd-89b3-98ae2252b83b", "is_worker": false, "path": "/unified/hris/employees", "project_id": "dev-project-68574", "provider": "planday", "request_id": "adbf752f-6457-4ddd-89b3-98ae2252b83b", "resource": "employees", "service": "hris", "start_time": "2021-01-01T00:00:00Z", "status": 200, "sub_resource": "documents", "success": true, "url": "https://api.stackone.com/unified/hris/employees?raw=false"}]}

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ speakeasyVersion: 1.554.1
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:da3eabc3caa8d389c4375e7d25b47130d34e1b39b602f5ee702ed6e97842b0dd
6-
sourceBlobDigest: sha256:54efb0290d1a0200dae72afcbb07ac3b81e57f4c75f1b6fd8b30a933cb8d9c93
5+
sourceRevisionDigest: sha256:fbf4d892f1df556e147ab3ca9111ee2f44959c61d92ca203404ee1f350b38026
6+
sourceBlobDigest: sha256:ee7bc21d397a404c9f2a8f94e007dec4fb49176672dcb9fcb124705652542f18
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1748595219
9+
- speakeasy-sdk-regen-1748612801
1010
- 1.0.0
1111
targets:
1212
StackOneTypeScriptClient:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:da3eabc3caa8d389c4375e7d25b47130d34e1b39b602f5ee702ed6e97842b0dd
16-
sourceBlobDigest: sha256:54efb0290d1a0200dae72afcbb07ac3b81e57f4c75f1b6fd8b30a933cb8d9c93
15+
sourceRevisionDigest: sha256:fbf4d892f1df556e147ab3ca9111ee2f44959c61d92ca203404ee1f350b38026
16+
sourceBlobDigest: sha256:ee7bc21d397a404c9f2a8f94e007dec4fb49176672dcb9fcb124705652542f18
1717
codeSamplesNamespace: code-samples-typescript-stackonetypescriptclient
18-
codeSamplesRevisionDigest: sha256:9eeda59b5ce3aff6dc86e187e367884496ae0bcb37ec6a4a79598d70a5616dfe
18+
codeSamplesRevisionDigest: sha256:e6f0c7949e5748b00727a7a505cdc32231fff0d907774e860106e395c404d38c
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1616,4 +1616,14 @@ Based on:
16161616
### Generated
16171617
- [typescript v4.20.0] .
16181618
### Releases
1619-
- [NPM v4.20.0] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.20.0 - .
1619+
- [NPM v4.20.0] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.20.0 - .
1620+
1621+
## 2025-05-30 13:46:20
1622+
### Changes
1623+
Based on:
1624+
- OpenAPI Doc
1625+
- Speakeasy CLI 1.554.1 (2.616.1) https://github.com/speakeasy-api/speakeasy
1626+
### Generated
1627+
- [typescript v4.20.1] .
1628+
### Releases
1629+
- [NPM v4.20.1] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.20.1 - .

codeSamples.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ actions:
6262
"x-codeSamples":
6363
- "lang": "typescript"
6464
"label": "stackone_list_logs"
65-
"source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport {\n QueryParamInclude,\n StackoneListLogsQueryParamOrderBy,\n StackoneListLogsQueryParamOrderDirection,\n StackoneListLogsQueryParamRequestLogsOrderBy,\n StackoneListLogsQueryParamRequestLogsOrderDirection,\n} from \"@stackone/stackone-client-ts/sdk/models/operations\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.requestLogs.listLogs({\n orderBy: StackoneListLogsQueryParamOrderBy.Duration,\n orderDirection: StackoneListLogsQueryParamOrderDirection.Asc,\n include: QueryParamInclude.StepLogs,\n filter: {\n accountIds: \"45355976281015164504,45355976281015164505\",\n startDate: \"2020-01-01T00:00:00.000Z\",\n endDate: \"2020-01-01T00:00:00.000Z\",\n requestIds: \"adbf752f-6457-4ddd-89b3-98ae2252b83b,adbf752f-6457-4ddd-89b3-98ae2252b83c\",\n sourceTypes: \"DASHBOARD,SYNTHETIC_WEBHOOK\",\n httpMethods: \"GET,POST\",\n providers: \"ashby,greenhouse\",\n services: \"hris,ats\",\n resources: \"employees,users\",\n childResources: \"documents,time-off\",\n subResources: \"documents,employees\",\n actions: \"download,upload\",\n statusCodes: \"200,400\",\n success: true,\n orderBy: StackoneListLogsQueryParamRequestLogsOrderBy.Duration,\n orderDirection: StackoneListLogsQueryParamRequestLogsOrderDirection.Asc,\n },\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
65+
"source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport {\n QueryParamInclude,\n QueryParamOrderBy,\n QueryParamOrderDirection,\n StackoneListLogsQueryParamOrderBy,\n StackoneListLogsQueryParamOrderDirection,\n} from \"@stackone/stackone-client-ts/sdk/models/operations\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.requestLogs.listLogs({\n orderBy: QueryParamOrderBy.Duration,\n orderDirection: QueryParamOrderDirection.Asc,\n include: QueryParamInclude.StepLogs,\n filter: {\n accountIds: \"45355976281015164504,45355976281015164505\",\n startDate: \"2020-01-01T00:00:00.000Z\",\n endDate: \"2020-01-01T00:00:00.000Z\",\n requestIds: \"adbf752f-6457-4ddd-89b3-98ae2252b83b,adbf752f-6457-4ddd-89b3-98ae2252b83c\",\n sourceTypes: \"DASHBOARD,SYNTHETIC_WEBHOOK\",\n httpMethods: \"GET,POST\",\n providers: \"ashby,greenhouse\",\n services: \"hris,ats\",\n resources: \"employees,users\",\n childResources: \"documents,time-off\",\n subResources: \"documents,employees\",\n actions: \"download,upload\",\n statusCodes: \"200,400\",\n success: true,\n orderBy: StackoneListLogsQueryParamOrderBy.Duration,\n orderDirection: StackoneListLogsQueryParamOrderDirection.Asc,\n },\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
6666
- target: $["paths"]["/requests/logs/steps"]["get"]
6767
update:
6868
"x-codeSamples":
6969
- "lang": "typescript"
7070
"label": "stackone_list_step_logs"
71-
"source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport { OrderBy, OrderDirection, QueryParamOrderBy, QueryParamOrderDirection } from \"@stackone/stackone-client-ts/sdk/models/operations\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.requestLogs.listStepLogs({\n orderBy: OrderBy.EventDatetime,\n orderDirection: OrderDirection.Asc,\n filter: {\n accountIds: \"45355976281015164504,45355976281015164505\",\n startDate: \"2020-01-01T00:00:00.000Z\",\n endDate: \"2020-01-01T00:00:00.000Z\",\n requestIds: \"adbf752f-6457-4ddd-89b3-98ae2252b83b,adbf752f-6457-4ddd-89b3-98ae2252b83c\",\n httpMethods: \"GET,POST\",\n providers: \"ashby,greenhouse\",\n services: \"hris,ats\",\n resources: \"employees,users\",\n childResources: \"documents,time-off\",\n subResources: \"documents,employees\",\n actions: \"download,upload\",\n statusCodes: \"200,400\",\n success: true,\n orderBy: QueryParamOrderBy.Duration,\n orderDirection: QueryParamOrderDirection.Asc,\n },\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
71+
"source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport { OrderBy, OrderDirection } from \"@stackone/stackone-client-ts/sdk/models/operations\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.requestLogs.listStepLogs({\n orderBy: OrderBy.EventDatetime,\n orderDirection: OrderDirection.Asc,\n filter: {\n accountIds: \"45355976281015164504,45355976281015164505\",\n startDate: \"2020-01-01T00:00:00.000Z\",\n endDate: \"2020-01-01T00:00:00.000Z\",\n requestIds: \"adbf752f-6457-4ddd-89b3-98ae2252b83b,adbf752f-6457-4ddd-89b3-98ae2252b83c\",\n httpMethods: \"GET,POST\",\n providers: \"ashby,greenhouse\",\n services: \"hris,ats\",\n resources: \"employees,users\",\n childResources: \"documents,time-off\",\n subResources: \"documents,employees\",\n actions: \"download,upload\",\n statusCodes: \"200,400\",\n success: true,\n },\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
7272
- target: $["paths"]["/requests/logs/{id}"]["get"]
7373
update:
7474
"x-codeSamples":
@@ -650,7 +650,7 @@ actions:
650650
"x-codeSamples":
651651
- "lang": "typescript"
652652
"label": "hris_list_employee_custom_field_definitions"
653-
"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.listEmployeeCustomFieldDefinitions({\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"<id>\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
653+
"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.listEmployeeCustomFieldDefinitions({\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n xAccountId: \"<id>\",\n });\n\n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();"
654654
- target: $["paths"]["/unified/hris/custom_field_definitions/employees/{id}"]["get"]
655655
update:
656656
"x-codeSamples":

0 commit comments

Comments
 (0)