Skip to content

Commit 4d5797e

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 0.19.0 (#111)
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.531.4 * 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 a6c0b13 commit 4d5797e

35 files changed

Lines changed: 779 additions & 1651 deletions

β€Ž.speakeasy/gen.lockβ€Ž

Lines changed: 13 additions & 91 deletions
Large diffs are not rendered by default.

β€Ž.speakeasy/workflow.lockβ€Ž

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ speakeasyVersion: 1.531.4
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:ad86542a26bef776b8fb00fb3e183dc0d2bb6a9f90e69d96bc0f64561cf6fed1
6-
sourceBlobDigest: sha256:2e1578c62b9b6df20307eec089c10a6b95679875780dee78ea70d1d2d0c400c7
5+
sourceRevisionDigest: sha256:ff3f793af071fea2a16219a80b3402b48fb38c5ad71b3cab6234627066b9360a
6+
sourceBlobDigest: sha256:8e75a0368c4b27155a9dc1b47da8bb7bf1c4b6f205afc930cd4fc9cae4aad1c5
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1748612882
9+
- speakeasy-sdk-regen-1749459720
1010
- 1.0.0
1111
targets:
1212
StackOneRubyClient:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:ad86542a26bef776b8fb00fb3e183dc0d2bb6a9f90e69d96bc0f64561cf6fed1
16-
sourceBlobDigest: sha256:2e1578c62b9b6df20307eec089c10a6b95679875780dee78ea70d1d2d0c400c7
15+
sourceRevisionDigest: sha256:ff3f793af071fea2a16219a80b3402b48fb38c5ad71b3cab6234627066b9360a
16+
sourceBlobDigest: sha256:8e75a0368c4b27155a9dc1b47da8bb7bf1c4b6f205afc930cd4fc9cae4aad1c5
1717
codeSamplesNamespace: code-samples-ruby-stackonerubyclient
18-
codeSamplesRevisionDigest: sha256:1e57a953458b294e963b10f35bf14b55b6ae97c569e569ac2a5a653e886d8209
18+
codeSamplesRevisionDigest: sha256:30a16c7d45132265fae89b61ea51f7962ad888498f19451e74d58b3f30b03bb3
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

β€ŽREADME.mdβ€Ž

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ end
226226
* [create_employee_skill](docs/sdks/hris/README.md#create_employee_skill) - Create Employee Skill
227227
* [create_employee_time_off_request](docs/sdks/hris/README.md#create_employee_time_off_request) - Create Employee Time Off Request
228228
* [create_employee_work_eligibility_request](docs/sdks/hris/README.md#create_employee_work_eligibility_request) - Create Employee Work Eligibility Request
229-
* [~~create_time_off_request~~](docs/sdks/hris/README.md#create_time_off_request) - Creates a time off request :warning: **Deprecated**
230229
* [download_employee_document](docs/sdks/hris/README.md#download_employee_document) - Download Employee Document
231230
* [get_benefit](docs/sdks/hris/README.md#get_benefit) - Get Benefit
232231
* [get_company](docs/sdks/hris/README.md#get_company) - Get Company
@@ -280,7 +279,6 @@ end
280279
* [update_employee_employment](docs/sdks/hris/README.md#update_employee_employment) - Update Employee Employment
281280
* [update_employee_time_off_request](docs/sdks/hris/README.md#update_employee_time_off_request) - Update Employee Time Off Request
282281
* [update_employee_work_eligibility_request](docs/sdks/hris/README.md#update_employee_work_eligibility_request) - Update Employee Work Eligibility Request
283-
* [~~update_time_off_request~~](docs/sdks/hris/README.md#update_time_off_request) - Update time off request :warning: **Deprecated**
284282
* [upload_employee_document](docs/sdks/hris/README.md#upload_employee_document) - Upload Employee Document
285283

286284
### [iam](docs/sdks/iam/README.md)

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,4 +848,14 @@ Based on:
848848
### Generated
849849
- [ruby v0.17.0] .
850850
### Releases
851-
- [Ruby Gems v0.17.0] https://rubygems.org/gems/stackone_client/versions/0.17.0 - .
851+
- [Ruby Gems v0.17.0] https://rubygems.org/gems/stackone_client/versions/0.17.0 - .
852+
853+
## 2025-06-09 09:01:40
854+
### Changes
855+
Based on:
856+
- OpenAPI Doc
857+
- Speakeasy CLI 1.531.4 (2.570.4) https://github.com/speakeasy-api/speakeasy
858+
### Generated
859+
- [ruby v0.19.0] .
860+
### Releases
861+
- [Ruby Gems v0.19.0] https://rubygems.org/gems/stackone_client/versions/0.19.0 - .

β€ŽcodeSamples.yamlβ€Ž

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -734,13 +734,13 @@ actions:
734734
"x-codeSamples":
735735
- "lang": "ruby"
736736
"label": "hris_list_employee_time_off_requests"
737-
"source": "require 'stackone_client'\n\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\",\n password: \"\",\n ),\n )\n\nreq = Models::Operations::HrisListEmployeeTimeOffRequestsRequest.new(\n id: \"<id>\",\n fields_: \"id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,time_off_policy_id,remote_time_off_policy_id,reason,created_at,updated_at,policy\",\n filter: Models::Operations::HrisListEmployeeTimeOffRequestsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"policy\",\n x_account_id: \"<id>\",\n)\n\nres = s.hris.list_employee_time_off_requests(req)\n\nif ! res.time_off_paginated.nil?\n # handle response\nend"
737+
"source": "require 'stackone_client'\n\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\",\n password: \"\",\n ),\n )\n\nreq = Models::Operations::HrisListEmployeeTimeOffRequestsRequest.new(\n id: \"<id>\",\n fields_: \"id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,time_off_policy_id,remote_time_off_policy_id,reason,duration,created_at,updated_at,policy\",\n filter: Models::Operations::HrisListEmployeeTimeOffRequestsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"policy\",\n x_account_id: \"<id>\",\n)\n\nres = s.hris.list_employee_time_off_requests(req)\n\nif ! res.time_off_paginated.nil?\n # handle response\nend"
738738
- target: $["paths"]["/unified/hris/employees/{id}/time_off"]["post"]
739739
update:
740740
"x-codeSamples":
741741
- "lang": "ruby"
742742
"label": "hris_create_employee_time_off_request"
743-
"source": "require 'stackone_client'\n\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\",\n password: \"\",\n ),\n )\n\nres = s.hris.create_employee_time_off_request(id=\"<id>\", x_account_id=\"<id>\", hris_create_time_off_request_dto=Models::Shared::HrisCreateTimeOffRequestDto.new(\n employee_id: \"1687-3\",\n approver_id: \"1687-4\",\n start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n end_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n start_half_day: true,\n end_half_day: true,\n time_off_policy_id: \"cx280928933\",\n reason: Models::Shared::HrisCreateTimeOffRequestDtoReason.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n ),\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif ! res.create_result.nil?\n # handle response\nend"
743+
"source": "require 'stackone_client'\n\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\",\n password: \"\",\n ),\n )\n\nres = s.hris.create_employee_time_off_request(id=\"<id>\", x_account_id=\"<id>\", hris_create_time_off_request_dto=Models::Shared::HrisCreateTimeOffRequestDto.new(\n approver_id: \"1687-4\",\n start_date: \"2021-01-01T01:01:01.000\",\n end_date: \"2021-01-01T01:01:01.000\",\n start_half_day: true,\n end_half_day: true,\n time_off_policy_id: \"cx280928933\",\n reason: Models::Shared::HrisCreateTimeOffRequestDtoReason.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n ),\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif ! res.create_result.nil?\n # handle response\nend"
744744
- target: $["paths"]["/unified/hris/employees/{id}/time_off/{subResourceId}"]["delete"]
745745
update:
746746
"x-codeSamples":
@@ -752,13 +752,13 @@ actions:
752752
"x-codeSamples":
753753
- "lang": "ruby"
754754
"label": "hris_get_employees_time_off_request"
755-
"source": "require 'stackone_client'\n\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\",\n password: \"\",\n ),\n )\n\nreq = Models::Operations::HrisGetEmployeesTimeOffRequestRequest.new(\n id: \"<id>\",\n sub_resource_id: \"<id>\",\n fields_: \"id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,time_off_policy_id,remote_time_off_policy_id,reason,created_at,updated_at,policy\",\n expand: \"policy\",\n x_account_id: \"<id>\",\n)\n\nres = s.hris.get_employees_time_off_request(req)\n\nif ! res.time_off_result.nil?\n # handle response\nend"
755+
"source": "require 'stackone_client'\n\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\",\n password: \"\",\n ),\n )\n\nreq = Models::Operations::HrisGetEmployeesTimeOffRequestRequest.new(\n id: \"<id>\",\n sub_resource_id: \"<id>\",\n fields_: \"id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,time_off_policy_id,remote_time_off_policy_id,reason,duration,created_at,updated_at,policy\",\n expand: \"policy\",\n x_account_id: \"<id>\",\n)\n\nres = s.hris.get_employees_time_off_request(req)\n\nif ! res.time_off_result.nil?\n # handle response\nend"
756756
- target: $["paths"]["/unified/hris/employees/{id}/time_off/{subResourceId}"]["patch"]
757757
update:
758758
"x-codeSamples":
759759
- "lang": "ruby"
760760
"label": "hris_update_employee_time_off_request"
761-
"source": "require 'stackone_client'\n\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\",\n password: \"\",\n ),\n )\n\nres = s.hris.update_employee_time_off_request(id=\"<id>\", sub_resource_id=\"<id>\", x_account_id=\"<id>\", hris_create_time_off_request_dto=Models::Shared::HrisCreateTimeOffRequestDto.new(\n employee_id: \"1687-3\",\n approver_id: \"1687-4\",\n start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n end_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n start_half_day: true,\n end_half_day: true,\n time_off_policy_id: \"cx280928933\",\n reason: Models::Shared::HrisCreateTimeOffRequestDtoReason.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n ),\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif ! res.create_result.nil?\n # handle response\nend"
761+
"source": "require 'stackone_client'\n\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\",\n password: \"\",\n ),\n )\n\nres = s.hris.update_employee_time_off_request(id=\"<id>\", sub_resource_id=\"<id>\", x_account_id=\"<id>\", hris_create_time_off_request_dto=Models::Shared::HrisCreateTimeOffRequestDto.new(\n approver_id: \"1687-4\",\n start_date: \"2021-01-01T01:01:01.000\",\n end_date: \"2021-01-01T01:01:01.000\",\n start_half_day: true,\n end_half_day: true,\n time_off_policy_id: \"cx280928933\",\n reason: Models::Shared::HrisCreateTimeOffRequestDtoReason.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n ),\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif ! res.create_result.nil?\n # handle response\nend"
762762
- target: $["paths"]["/unified/hris/employees/{id}/time_off_balances"]["get"]
763763
update:
764764
"x-codeSamples":
@@ -902,13 +902,13 @@ actions:
902902
"x-codeSamples":
903903
- "lang": "ruby"
904904
"label": "hris_list_time_off_requests"
905-
"source": "require 'stackone_client'\n\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\",\n password: \"\",\n ),\n )\n\nreq = Models::Operations::HrisListTimeOffRequestsRequest.new(\n fields_: \"id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,time_off_policy_id,remote_time_off_policy_id,reason,created_at,updated_at,policy\",\n filter: Models::Operations::HrisListTimeOffRequestsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"policy\",\n x_account_id: \"<id>\",\n)\n\nres = s.hris.list_time_off_requests(req)\n\nif ! res.time_off_paginated.nil?\n # handle response\nend"
905+
"source": "require 'stackone_client'\n\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\",\n password: \"\",\n ),\n )\n\nreq = Models::Operations::HrisListTimeOffRequestsRequest.new(\n fields_: \"id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,time_off_policy_id,remote_time_off_policy_id,reason,duration,created_at,updated_at,policy\",\n filter: Models::Operations::HrisListTimeOffRequestsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"policy\",\n x_account_id: \"<id>\",\n)\n\nres = s.hris.list_time_off_requests(req)\n\nif ! res.time_off_paginated.nil?\n # handle response\nend"
906906
- target: $["paths"]["/unified/hris/time_off/{id}"]["get"]
907907
update:
908908
"x-codeSamples":
909909
- "lang": "ruby"
910910
"label": "hris_get_time_off_request"
911-
"source": "require 'stackone_client'\n\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\",\n password: \"\",\n ),\n )\n\nreq = Models::Operations::HrisGetTimeOffRequestRequest.new(\n id: \"<id>\",\n fields_: \"id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,time_off_policy_id,remote_time_off_policy_id,reason,created_at,updated_at,policy\",\n expand: \"policy\",\n x_account_id: \"<id>\",\n)\n\nres = s.hris.get_time_off_request(req)\n\nif ! res.time_off_result.nil?\n # handle response\nend"
911+
"source": "require 'stackone_client'\n\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\",\n password: \"\",\n ),\n )\n\nreq = Models::Operations::HrisGetTimeOffRequestRequest.new(\n id: \"<id>\",\n fields_: \"id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,time_off_policy_id,remote_time_off_policy_id,reason,duration,created_at,updated_at,policy\",\n expand: \"policy\",\n x_account_id: \"<id>\",\n)\n\nres = s.hris.get_time_off_request(req)\n\nif ! res.time_off_result.nil?\n # handle response\nend"
912912
- target: $["paths"]["/unified/hris/time_off_policies"]["get"]
913913
update:
914914
"x-codeSamples":

β€Ždocs/models/operations/hriscreatetimeoffrequestrequest.mdβ€Ž

Lines changed: 0 additions & 9 deletions
This file was deleted.

β€Ždocs/models/operations/hriscreatetimeoffrequestresponse.mdβ€Ž

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
Β (0)