Skip to content

Commit 2f738a8

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 0.15.0 (#109)
* 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 79ed7ed commit 2f738a8

68 files changed

Lines changed: 4799 additions & 291 deletions

Some content is hidden

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

.speakeasy/gen.lock

Lines changed: 136 additions & 9 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:ce1442104273a5553e5ff051378f0b9e9b30816c76fbd6abee40a7b97f661bf1
6-
sourceBlobDigest: sha256:8526bc934a0557ddb4a6771ae990cf9033f1067e95e8a85877e1c3f712634010
5+
sourceRevisionDigest: sha256:1e00fac1fb6fd49b25c646590bf40a65a03a684dd4a3e3a7c0d5f54ca8009cac
6+
sourceBlobDigest: sha256:1c458214e30e9e12f513b2a139ca472420e3500db3c4e6722a8ea07df603cc5e
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1747040494
9+
- speakeasy-sdk-regen-1747645286
1010
- 1.0.0
1111
targets:
1212
StackOneRubyClient:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:ce1442104273a5553e5ff051378f0b9e9b30816c76fbd6abee40a7b97f661bf1
16-
sourceBlobDigest: sha256:8526bc934a0557ddb4a6771ae990cf9033f1067e95e8a85877e1c3f712634010
15+
sourceRevisionDigest: sha256:1e00fac1fb6fd49b25c646590bf40a65a03a684dd4a3e3a7c0d5f54ca8009cac
16+
sourceBlobDigest: sha256:1c458214e30e9e12f513b2a139ca472420e3500db3c4e6722a8ea07df603cc5e
1717
codeSamplesNamespace: code-samples-ruby-stackonerubyclient
18-
codeSamplesRevisionDigest: sha256:7cd52de3118a8e1d2f330a6923f1f77dbad520107502266cfd0b3211c4f413a8
18+
codeSamplesRevisionDigest: sha256:d5bf86965b219a4fd5cade65d18bdfae1873caad691bcfc9e76dd8f746c44389
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ end
238238
* [get_employee_document_category](docs/sdks/hris/README.md#get_employee_document_category) - Get Employee Document Category
239239
* [get_employee_employment](docs/sdks/hris/README.md#get_employee_employment) - Get Employee Employment
240240
* [get_employee_skill](docs/sdks/hris/README.md#get_employee_skill) - Get Employee Skill
241+
* [get_employee_task](docs/sdks/hris/README.md#get_employee_task) - Get Employee Task
241242
* [get_employee_time_off_balance](docs/sdks/hris/README.md#get_employee_time_off_balance) - Get Employee Time Off Balance
242243
* [get_employees_time_off_request](docs/sdks/hris/README.md#get_employees_time_off_request) - Get Employees Time Off Request
243244
* [get_employees_work_eligibility](docs/sdks/hris/README.md#get_employees_work_eligibility) - Get Employees Work Eligibility
@@ -260,6 +261,7 @@ end
260261
* [list_employee_documents](docs/sdks/hris/README.md#list_employee_documents) - List Employee Documents
261262
* [list_employee_employments](docs/sdks/hris/README.md#list_employee_employments) - List Employee Employments
262263
* [list_employee_skills](docs/sdks/hris/README.md#list_employee_skills) - List Employee Skills
264+
* [list_employee_tasks](docs/sdks/hris/README.md#list_employee_tasks) - List Employee Tasks
263265
* [list_employee_time_off_balances](docs/sdks/hris/README.md#list_employee_time_off_balances) - List Employee Time Off Balances
264266
* [list_employee_time_off_policies](docs/sdks/hris/README.md#list_employee_time_off_policies) - List Assigned Time Off Policies
265267
* [list_employee_time_off_requests](docs/sdks/hris/README.md#list_employee_time_off_requests) - List Employee Time Off Requests

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,4 +828,14 @@ Based on:
828828
### Generated
829829
- [ruby v0.13.0] .
830830
### Releases
831-
- [Ruby Gems v0.13.0] https://rubygems.org/gems/stackone_client/versions/0.13.0 - .
831+
- [Ruby Gems v0.13.0] https://rubygems.org/gems/stackone_client/versions/0.13.0 - .
832+
833+
## 2025-05-19 09:01:09
834+
### Changes
835+
Based on:
836+
- OpenAPI Doc
837+
- Speakeasy CLI 1.531.4 (2.570.4) https://github.com/speakeasy-api/speakeasy
838+
### Generated
839+
- [ruby v0.15.0] .
840+
### Releases
841+
- [Ruby Gems v0.15.0] https://rubygems.org/gems/stackone_client/versions/0.15.0 - .

codeSamples.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -650,13 +650,13 @@ actions:
650650
"x-codeSamples":
651651
- "lang": "ruby"
652652
"label": "hris_upload_employee_document"
653-
"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.upload_employee_document(id=\"<id>\", x_account_id=\"<id>\", hris_documents_upload_request_dto=Models::Shared::HrisDocumentsUploadRequestDto.new(\n name: \"weather-forecast\",\n file_format: Models::Shared::FileFormat.new(\n value: Models::Shared::HrisDocumentsUploadRequestDtoValue::PDF,\n source_value: \"abc\",\n ),\n content: \"VGhpcyBpc24ndCByZWFsbHkgYSBzYW1wbGUgZmlsZSwgYnV0IG5vIG9uZSB3aWxsIGV2ZXIga25vdyE\",\n category_id: \"6530\",\n path: \"/path/to/file\",\n category: Models::Shared::HrisDocumentsUploadRequestDtoCategory.new(),\n confidential: Models::Shared::Confidential.new(\n value: Models::Shared::HrisDocumentsUploadRequestDtoSchemasConfidentialValue::TRUE,\n source_value: \"public\",\n ),\n))\n\nif ! res.write_result_api_model.nil?\n # handle response\nend"
653+
"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.upload_employee_document(id=\"<id>\", x_account_id=\"<id>\", hris_documents_upload_request_dto=Models::Shared::HrisDocumentsUploadRequestDto.new(\n name: \"weather-forecast\",\n file_format: Models::Shared::FileFormat.new(\n value: Models::Shared::HrisDocumentsUploadRequestDtoValue::PDF,\n source_value: \"abc\",\n ),\n content: \"VGhpcyBpc24ndCByZWFsbHkgYSBzYW1wbGUgZmlsZSwgYnV0IG5vIG9uZSB3aWxsIGV2ZXIga25vdyE\",\n category_id: \"6530\",\n path: \"/path/to/file\",\n confidential: Models::Shared::Confidential.new(\n value: Models::Shared::HrisDocumentsUploadRequestDtoSchemasValue::TRUE,\n source_value: \"public\",\n ),\n category: Models::Shared::HrisDocumentsUploadRequestDtoCategory.new(),\n))\n\nif ! res.write_result_api_model.nil?\n # handle response\nend"
654654
- target: $["paths"]["/unified/hris/employees/{id}/documents/upload/batch"]["post"]
655655
update:
656656
"x-codeSamples":
657657
- "lang": "ruby"
658658
"label": "hris_batch_upload_employee_document"
659-
"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.batch_upload_employee_document(id=\"<id>\", x_account_id=\"<id>\", hris_batch_document_upload_request_dto=Models::Shared::HrisBatchDocumentUploadRequestDto.new(\n items: [\n Models::Shared::HrisDocumentsUploadRequestDto.new(\n name: \"weather-forecast\",\n file_format: Models::Shared::FileFormat.new(\n value: Models::Shared::HrisDocumentsUploadRequestDtoValue::PDF,\n source_value: \"abc\",\n ),\n content: \"VGhpcyBpc24ndCByZWFsbHkgYSBzYW1wbGUgZmlsZSwgYnV0IG5vIG9uZSB3aWxsIGV2ZXIga25vdyE\",\n category_id: \"6530\",\n path: \"/path/to/file\",\n category: Models::Shared::HrisDocumentsUploadRequestDtoCategory.new(),\n confidential: Models::Shared::Confidential.new(\n value: Models::Shared::HrisDocumentsUploadRequestDtoSchemasConfidentialValue::TRUE,\n source_value: \"public\",\n ),\n ),\n ],\n))\n\nif ! res.batch_result_api_model.nil?\n # handle response\nend"
659+
"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.batch_upload_employee_document(id=\"<id>\", x_account_id=\"<id>\", hris_batch_document_upload_request_dto=Models::Shared::HrisBatchDocumentUploadRequestDto.new(\n items: [\n Models::Shared::HrisDocumentsUploadRequestDto.new(\n name: \"weather-forecast\",\n file_format: Models::Shared::FileFormat.new(\n value: Models::Shared::HrisDocumentsUploadRequestDtoValue::PDF,\n source_value: \"abc\",\n ),\n content: \"VGhpcyBpc24ndCByZWFsbHkgYSBzYW1wbGUgZmlsZSwgYnV0IG5vIG9uZSB3aWxsIGV2ZXIga25vdyE\",\n category_id: \"6530\",\n path: \"/path/to/file\",\n confidential: Models::Shared::Confidential.new(\n value: Models::Shared::HrisDocumentsUploadRequestDtoSchemasValue::TRUE,\n source_value: \"public\",\n ),\n category: Models::Shared::HrisDocumentsUploadRequestDtoCategory.new(),\n ),\n ],\n))\n\nif ! res.batch_result_api_model.nil?\n # handle response\nend"
660660
- target: $["paths"]["/unified/hris/employees/{id}/documents/{subResourceId}"]["get"]
661661
update:
662662
"x-codeSamples":
@@ -717,6 +717,18 @@ actions:
717717
- "lang": "ruby"
718718
"label": "hris_get_employee_skill"
719719
"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::HrisGetEmployeeSkillRequest.new(\n id: \"<id>\",\n sub_resource_id: \"<id>\",\n fields_: \"id,remote_id,name,active,language,maximum_proficiency,minimum_proficiency\",\n x_account_id: \"<id>\",\n)\n\nres = s.hris.get_employee_skill(req)\n\nif ! res.entity_skill_result.nil?\n # handle response\nend"
720+
- target: $["paths"]["/unified/hris/employees/{id}/tasks"]["get"]
721+
update:
722+
"x-codeSamples":
723+
- "lang": "ruby"
724+
"label": "hris_list_employee_tasks"
725+
"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::HrisListEmployeeTasksRequest.new(\n id: \"<id>\",\n fields_: \"id,remote_id,employee_id,remote_employee_id,name,description,type,status,due_date,completion_date,assigned_by_employee_id,remote_assigned_by_employee_id,assigned_by_employee_name,link_to_task,extracted_links,next_task_id,remote_next_task_id,parent_process_name,comments,attachments,created_at,updated_at\",\n filter: Models::Operations::HrisListEmployeeTasksQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"attachments\",\n x_account_id: \"<id>\",\n)\n\nres = s.hris.list_employee_tasks(req)\n\nif ! res.tasks_paginated.nil?\n # handle response\nend"
726+
- target: $["paths"]["/unified/hris/employees/{id}/tasks/{subResourceId}"]["get"]
727+
update:
728+
"x-codeSamples":
729+
- "lang": "ruby"
730+
"label": "hris_get_employee_task"
731+
"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::HrisGetEmployeeTaskRequest.new(\n id: \"<id>\",\n sub_resource_id: \"<id>\",\n fields_: \"id,remote_id,employee_id,remote_employee_id,name,description,type,status,due_date,completion_date,assigned_by_employee_id,remote_assigned_by_employee_id,assigned_by_employee_name,link_to_task,extracted_links,next_task_id,remote_next_task_id,parent_process_name,comments,attachments,created_at,updated_at\",\n expand: \"attachments\",\n x_account_id: \"<id>\",\n)\n\nres = s.hris.get_employee_task(req)\n\nif ! res.task_result.nil?\n # handle response\nend"
720732
- target: $["paths"]["/unified/hris/employees/{id}/time_off"]["get"]
721733
update:
722734
"x-codeSamples":

0 commit comments

Comments
 (0)