Skip to content

Commit 4d24bc3

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 0.27.0 (#115)
* 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 7791e80 commit 4d24bc3

60 files changed

Lines changed: 4006 additions & 641 deletions

File tree

Some content is hidden

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

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
bin/
2+
sorbet/
13
**/.speakeasy/temp/
24
**/.speakeasy/logs/
35
.speakeasy/temp/

.speakeasy/gen.lock

Lines changed: 267 additions & 5 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:6d857cbe9ed72fec9e0e0aba2ea9d6a7d554f9d1402ca616fe5e79d8db1352eb
6-
sourceBlobDigest: sha256:32b0fd8ce06ea4da9bc3e98c34015102c4a3e244a8d2d414f5e941ac97d125c8
5+
sourceRevisionDigest: sha256:065820898b2fa3bc8907f9a7367650e8b92b4ff658a1adc049fd0a8e24c8cc11
6+
sourceBlobDigest: sha256:a02ccd55af272c898d16d06b0a9cc651a97b78b5ceac8d1c0ffdc2b8a52e8daa
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1751878962
9+
- speakeasy-sdk-regen-1752483877
1010
- 1.0.0
1111
targets:
1212
StackOneRubyClient:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:6d857cbe9ed72fec9e0e0aba2ea9d6a7d554f9d1402ca616fe5e79d8db1352eb
16-
sourceBlobDigest: sha256:32b0fd8ce06ea4da9bc3e98c34015102c4a3e244a8d2d414f5e941ac97d125c8
15+
sourceRevisionDigest: sha256:065820898b2fa3bc8907f9a7367650e8b92b4ff658a1adc049fd0a8e24c8cc11
16+
sourceBlobDigest: sha256:a02ccd55af272c898d16d06b0a9cc651a97b78b5ceac8d1c0ffdc2b8a52e8daa
1717
codeSamplesNamespace: code-samples-ruby-stackonerubyclient
18-
codeSamplesRevisionDigest: sha256:830f55603841c2da7313c9f689574b0a12a79d1df2b44402d4ac9868b5f0da14
18+
codeSamplesRevisionDigest: sha256:afb7199a877a6d1a944ce990b56d3aff4fd24c053b175fa0c210ad19093f57f4
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,10 @@ end
227227
* [download_employee_document](docs/sdks/hris/README.md#download_employee_document) - Download Employee Document
228228
* [get_benefit](docs/sdks/hris/README.md#get_benefit) - Get Benefit
229229
* [get_company](docs/sdks/hris/README.md#get_company) - Get Company
230+
* [get_company_group](docs/sdks/hris/README.md#get_company_group) - Get Company Group
230231
* [get_cost_center_group](docs/sdks/hris/README.md#get_cost_center_group) - Get Cost Center Group
231232
* [get_department_group](docs/sdks/hris/README.md#get_department_group) - Get Department Group
233+
* [get_division_group](docs/sdks/hris/README.md#get_division_group) - Get Division Group
232234
* [get_employee](docs/sdks/hris/README.md#get_employee) - Get Employee
233235
* [get_employee_custom_field_definition](docs/sdks/hris/README.md#get_employee_custom_field_definition) - Get employee Custom Field Definition
234236
* [get_employee_document](docs/sdks/hris/README.md#get_employee_document) - Get Employee Document
@@ -244,6 +246,7 @@ end
244246
* [get_job](docs/sdks/hris/README.md#get_job) - Get Job
245247
* [get_location](docs/sdks/hris/README.md#get_location) - Get Work Location
246248
* [get_position](docs/sdks/hris/README.md#get_position) - Get Position
249+
* [get_task](docs/sdks/hris/README.md#get_task) - Get Task
247250
* [get_team_group](docs/sdks/hris/README.md#get_team_group) - Get Team Group
248251
* [get_time_entries](docs/sdks/hris/README.md#get_time_entries) - Get Time Entry
249252
* [get_time_off_policy](docs/sdks/hris/README.md#get_time_off_policy) - Get Time Off Policy
@@ -252,8 +255,10 @@ end
252255
* [invite_employee](docs/sdks/hris/README.md#invite_employee) - Invite Employee
253256
* [list_benefits](docs/sdks/hris/README.md#list_benefits) - List benefits
254257
* [list_companies](docs/sdks/hris/README.md#list_companies) - List Companies
258+
* [list_companies_groups](docs/sdks/hris/README.md#list_companies_groups) - List Companies Groups
255259
* [list_cost_center_groups](docs/sdks/hris/README.md#list_cost_center_groups) - List Cost Center Groups
256260
* [list_department_groups](docs/sdks/hris/README.md#list_department_groups) - List Department Groups
261+
* [list_division_groups](docs/sdks/hris/README.md#list_division_groups) - List Division Groups
257262
* [list_employee_categories](docs/sdks/hris/README.md#list_employee_categories) - List Employee Document Categories
258263
* [list_employee_custom_field_definitions](docs/sdks/hris/README.md#list_employee_custom_field_definitions) - List employee Custom Field Definitions
259264
* [list_employee_documents](docs/sdks/hris/README.md#list_employee_documents) - List Employee Documents
@@ -270,6 +275,7 @@ end
270275
* [list_jobs](docs/sdks/hris/README.md#list_jobs) - List Jobs
271276
* [list_locations](docs/sdks/hris/README.md#list_locations) - List Work Locations
272277
* [list_positions](docs/sdks/hris/README.md#list_positions) - List Positions
278+
* [list_tasks](docs/sdks/hris/README.md#list_tasks) - List Tasks
273279
* [list_team_groups](docs/sdks/hris/README.md#list_team_groups) - List Team Groups
274280
* [list_time_entries](docs/sdks/hris/README.md#list_time_entries) - List Time Entries
275281
* [list_time_off_policies](docs/sdks/hris/README.md#list_time_off_policies) - List Time Off Policies
@@ -454,6 +460,7 @@ When custom error responses are specified for an operation, the SDK may also thr
454460
```ruby
455461
require 'stackone_client'
456462

463+
Models = ::StackOne::Models
457464
s = ::StackOne::StackOne.new(
458465
security: Models::Shared::Security.new(
459466
password: '',
@@ -462,9 +469,9 @@ s = ::StackOne::StackOne.new(
462469
)
463470

464471
begin
465-
res = s.accounts.delete_account(id='<id>')
472+
res = s.accounts.delete_account(id: '<id>')
466473

467-
if ! res.linked_account.nil?
474+
unless res.linked_account.nil?
468475
# handle response
469476
end
470477
rescue Models::Errors::BadRequestResponse => e

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,4 +888,14 @@ Based on:
888888
### Generated
889889
- [ruby v0.25.0] .
890890
### Releases
891-
- [Ruby Gems v0.25.0] https://rubygems.org/gems/stackone_client/versions/0.25.0 - .
891+
- [Ruby Gems v0.25.0] https://rubygems.org/gems/stackone_client/versions/0.25.0 - .
892+
893+
## 2025-07-14 09:04:19
894+
### Changes
895+
Based on:
896+
- OpenAPI Doc
897+
- Speakeasy CLI 1.531.4 (2.570.4) https://github.com/speakeasy-api/speakeasy
898+
### Generated
899+
- [ruby v0.27.0] .
900+
### Releases
901+
- [Ruby Gems v0.27.0] https://rubygems.org/gems/stackone_client/versions/0.27.0 - .

codeSamples.yaml

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -807,6 +807,18 @@ actions:
807807
- "lang": "ruby"
808808
"label": "hris_list_groups"
809809
"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::HrisListGroupsRequest.new(\n fields_: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id\",\n filter: Models::Operations::HrisListGroupsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"<id>\",\n)\n\nres = s.hris.list_groups(req)\n\nif ! res.hris_groups_paginated.nil?\n # handle response\nend"
810+
- target: $["paths"]["/unified/hris/groups/companies"]["get"]
811+
update:
812+
"x-codeSamples":
813+
- "lang": "ruby"
814+
"label": "hris_list_companies_groups"
815+
"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::HrisListCompaniesGroupsRequest.new(\n fields_: \"id,remote_id,name,full_name,display_name,created_at,updated_at\",\n filter: Models::Operations::HrisListCompaniesGroupsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"<id>\",\n)\n\nres = s.hris.list_companies_groups(req)\n\nif ! res.companies_paginated.nil?\n # handle response\nend"
816+
- target: $["paths"]["/unified/hris/groups/companies/{id}"]["get"]
817+
update:
818+
"x-codeSamples":
819+
- "lang": "ruby"
820+
"label": "hris_get_company_group"
821+
"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::HrisGetCompanyGroupRequest.new(\n id: \"<id>\",\n fields_: \"id,remote_id,name,full_name,display_name,created_at,updated_at\",\n x_account_id: \"<id>\",\n)\n\nres = s.hris.get_company_group(req)\n\nif ! res.company_result.nil?\n # handle response\nend"
810822
- target: $["paths"]["/unified/hris/groups/cost_centers"]["get"]
811823
update:
812824
"x-codeSamples":
@@ -824,13 +836,25 @@ actions:
824836
"x-codeSamples":
825837
- "lang": "ruby"
826838
"label": "hris_list_department_groups"
827-
"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::HrisListDepartmentGroupsRequest.new(\n fields_: \"id,remote_id,name\",\n filter: Models::Operations::HrisListDepartmentGroupsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"<id>\",\n)\n\nres = s.hris.list_department_groups(req)\n\nif ! res.hris_departments_paginated.nil?\n # handle response\nend"
839+
"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::HrisListDepartmentGroupsRequest.new(\n fields_: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id\",\n filter: Models::Operations::HrisListDepartmentGroupsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"<id>\",\n)\n\nres = s.hris.list_department_groups(req)\n\nif ! res.hris_departments_paginated.nil?\n # handle response\nend"
828840
- target: $["paths"]["/unified/hris/groups/departments/{id}"]["get"]
829841
update:
830842
"x-codeSamples":
831843
- "lang": "ruby"
832844
"label": "hris_get_department_group"
833-
"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::HrisGetDepartmentGroupRequest.new(\n id: \"<id>\",\n fields_: \"id,remote_id,name\",\n x_account_id: \"<id>\",\n)\n\nres = s.hris.get_department_group(req)\n\nif ! res.hris_departments_result.nil?\n # handle response\nend"
845+
"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::HrisGetDepartmentGroupRequest.new(\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 x_account_id: \"<id>\",\n)\n\nres = s.hris.get_department_group(req)\n\nif ! res.hris_departments_result.nil?\n # handle response\nend"
846+
- target: $["paths"]["/unified/hris/groups/divisions"]["get"]
847+
update:
848+
"x-codeSamples":
849+
- "lang": "ruby"
850+
"label": "hris_list_division_groups"
851+
"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::HrisListDivisionGroupsRequest.new(\n fields_: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id\",\n filter: Models::Operations::HrisListDivisionGroupsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"<id>\",\n)\n\nres = s.hris.list_division_groups(req)\n\nif ! res.hris_divisions_paginated.nil?\n # handle response\nend"
852+
- target: $["paths"]["/unified/hris/groups/divisions/{id}"]["get"]
853+
update:
854+
"x-codeSamples":
855+
- "lang": "ruby"
856+
"label": "hris_get_division_group"
857+
"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::HrisGetDivisionGroupRequest.new(\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 x_account_id: \"<id>\",\n)\n\nres = s.hris.get_division_group(req)\n\nif ! res.hris_divisions_result.nil?\n # handle response\nend"
834858
- target: $["paths"]["/unified/hris/groups/teams"]["get"]
835859
update:
836860
"x-codeSamples":
@@ -885,6 +909,18 @@ actions:
885909
- "lang": "ruby"
886910
"label": "hris_get_position"
887911
"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::HrisGetPositionRequest.new(\n id: \"<id>\",\n x_account_id: \"<id>\",\n)\n\nres = s.hris.get_position(req)\n\nif ! res.position_result.nil?\n # handle response\nend"
912+
- target: $["paths"]["/unified/hris/tasks"]["get"]
913+
update:
914+
"x-codeSamples":
915+
- "lang": "ruby"
916+
"label": "hris_list_tasks"
917+
"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::HrisListTasksRequest.new(\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::HrisListTasksQueryParamFilter.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_tasks(req)\n\nif ! res.tasks_paginated.nil?\n # handle response\nend"
918+
- target: $["paths"]["/unified/hris/tasks/{id}"]["get"]
919+
update:
920+
"x-codeSamples":
921+
- "lang": "ruby"
922+
"label": "hris_get_task"
923+
"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::HrisGetTaskRequest.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 expand: \"attachments\",\n x_account_id: \"<id>\",\n)\n\nres = s.hris.get_task(req)\n\nif ! res.task_result.nil?\n # handle response\nend"
888924
- target: $["paths"]["/unified/hris/time_entries"]["get"]
889925
update:
890926
"x-codeSamples":
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# HrisGetCompanyGroupRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ |
8+
| `fields_` | *T.nilable(::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,full_name,display_name,created_at,updated_at |
9+
| `id` | *::String* | :heavy_check_mark: | N/A | |
10+
| `proxy` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | |
11+
| `raw` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates that the raw request result should be returned in addition to the mapped result (default value is false) | |
12+
| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | |

0 commit comments

Comments
 (0)