Skip to content

Commit 482d919

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 0.37.1 (#124)
* ## Ruby SDK Changes Detected: * `stack_one.actions.list_actions_meta()`: `response.data.[].actions.[]` **Changed** **Breaking** ⚠️ * `stack_one.actions.rpc_action()`: `request` **Changed** **Breaking** ⚠️ * `stack_one.accounting.create_company_journal()`: `response` **Changed** **Breaking** ⚠️ * `stack_one.hris.list_shifts()`: * `request.filter` **Changed** **Breaking** ⚠️ * `stack_one.messaging.get_message()`: `response.data.attachments.[]` **Changed** **Breaking** ⚠️ * `stack_one.messaging.list_conversation_messages()`: `response.data.[].attachments.[]` **Changed** **Breaking** ⚠️ * `stack_one.hris.get_employee_shift()`: **Added** * `stack_one.hris.list_employee_shifts()`: **Added** * `stack_one.hris.list_employee_time_off_requests()`: * `request.filter` **Changed** * `stack_one.hris.list_time_off_requests()`: * `request.filter` **Changed** * 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 5200193 commit 482d919

64 files changed

Lines changed: 1884 additions & 535 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.

.speakeasy/gen.lock

Lines changed: 106 additions & 18 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.615.2
1+
speakeasyVersion: 1.631.4
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:558d690772f36c8459dcd2dc3ba57322bb361b5ae29ca41fae36175914b4220a
6-
sourceBlobDigest: sha256:e00e3255477f905eb7b3c32d1073e764d0c8dae6d7bfcdf519a0c6b5a6813ede
5+
sourceRevisionDigest: sha256:c03d9133e5d0531b00b8690108a7d01f4c18258defdd7e67ff7fc2cef70ceb5c
6+
sourceBlobDigest: sha256:bc7ca42ffa14f4356b8ee03c171d624c2de56a9215daf8935119cfece03a6b16
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1757322098
9+
- speakeasy-sdk-regen-1758531697
1010
- 1.0.0
1111
targets:
1212
StackOneRubyClient:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:558d690772f36c8459dcd2dc3ba57322bb361b5ae29ca41fae36175914b4220a
16-
sourceBlobDigest: sha256:e00e3255477f905eb7b3c32d1073e764d0c8dae6d7bfcdf519a0c6b5a6813ede
15+
sourceRevisionDigest: sha256:c03d9133e5d0531b00b8690108a7d01f4c18258defdd7e67ff7fc2cef70ceb5c
16+
sourceBlobDigest: sha256:bc7ca42ffa14f4356b8ee03c171d624c2de56a9215daf8935119cfece03a6b16
1717
codeSamplesNamespace: code-samples-ruby-stackonerubyclient
18-
codeSamplesRevisionDigest: sha256:32a5eed6e5ef485148c195b50ddc4e5d9e91c48863c3e9d78c26943115798033
18+
codeSamplesRevisionDigest: sha256:1d0f99155e978afd26f57aabe6a5a76f902b562580e8aff8d323744aae04808b
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
@@ -290,6 +290,7 @@ end
290290
* [get_employee_document](docs/sdks/hris/README.md#get_employee_document) - Get Employee Document
291291
* [get_employee_document_category](docs/sdks/hris/README.md#get_employee_document_category) - Get Employee Document Category
292292
* [get_employee_employment](docs/sdks/hris/README.md#get_employee_employment) - Get Employee Employment
293+
* [get_employee_shift](docs/sdks/hris/README.md#get_employee_shift) - Get Employee Shift
293294
* [get_employee_skill](docs/sdks/hris/README.md#get_employee_skill) - Get Employee Skill
294295
* [get_employee_task](docs/sdks/hris/README.md#get_employee_task) - Get Employee Task
295296
* [get_employee_time_off_balance](docs/sdks/hris/README.md#get_employee_time_off_balance) - Get Employee Time Off Balance
@@ -318,6 +319,7 @@ end
318319
* [list_employee_custom_field_definitions](docs/sdks/hris/README.md#list_employee_custom_field_definitions) - List employee Custom Field Definitions
319320
* [list_employee_documents](docs/sdks/hris/README.md#list_employee_documents) - List Employee Documents
320321
* [list_employee_employments](docs/sdks/hris/README.md#list_employee_employments) - List Employee Employments
322+
* [list_employee_shifts](docs/sdks/hris/README.md#list_employee_shifts) - List Employee Shifts
321323
* [list_employee_skills](docs/sdks/hris/README.md#list_employee_skills) - List Employee Skills
322324
* [list_employee_tasks](docs/sdks/hris/README.md#list_employee_tasks) - List Employee Tasks
323325
* [list_employee_time_off_balances](docs/sdks/hris/README.md#list_employee_time_off_balances) - List Employee Time Off Balances

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,4 +968,14 @@ Based on:
968968
### Generated
969969
- [ruby v0.37.0] .
970970
### Releases
971-
- [Ruby Gems v0.37.0] https://rubygems.org/gems/stackone_client/versions/0.37.0 - .
971+
- [Ruby Gems v0.37.0] https://rubygems.org/gems/stackone_client/versions/0.37.0 - .
972+
973+
## 2025-09-29 09:01:38
974+
### Changes
975+
Based on:
976+
- OpenAPI Doc
977+
- Speakeasy CLI 1.631.4 (2.716.16) https://github.com/speakeasy-api/speakeasy
978+
### Generated
979+
- [ruby v0.37.1] .
980+
### Releases
981+
- [Ruby Gems v0.37.1] https://rubygems.org/gems/stackone_client/versions/0.37.1 - .

codeSamples.yaml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ actions:
4444
"x-codeSamples":
4545
- "lang": "ruby"
4646
"label": "stackone_rpc_action"
47-
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: '',\n password: '',\n ),\n )\n\nreq = Models::Shared::ActionsRpcRequestDto.new(\n action: 'create_employee',\n input: Models::Shared::Input.new(\n query: {\n \"param1\": 'value1',\n \"param2\": 'value2',\n },\n headers: {\n \"Content-Type\": 'application/json',\n },\n body: {\n \"data\": 'example',\n },\n ),\n)\n\nres = s.actions.rpc_action(request: req)\n\nunless res.actions_rpc_response.nil?\n # handle response\nend"
47+
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: '',\n password: '',\n ),\n )\n\nreq = Models::Shared::ActionsRpcRequestDto.new(\n action: 'create_employee',\n path: {\n \"id\": '123',\n },\n query: {\n \"param1\": 'value1',\n \"param2\": 'value2',\n },\n headers: {\n \"Content-Type\": 'application/json',\n },\n body: {\n \"data\": 'example',\n },\n)\n\nres = s.actions.rpc_action(request: req)\n\nunless res.actions_rpc_response.nil?\n # handle response\nend"
4848
- target: $["paths"]["/connect_sessions"]["post"]
4949
update:
5050
"x-codeSamples":
@@ -818,7 +818,7 @@ actions:
818818
"x-codeSamples":
819819
- "lang": "ruby"
820820
"label": "hris_list_employee_employments"
821-
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: '',\n password: '',\n ),\n )\n\nreq = Models::Operations::HrisListEmployeeEmploymentsRequest.new(\n id: '<id>',\n fields_: 'id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,end_date,employment_type,employment_contract_type,type,contract_type,change_reason,grade,work_time,payroll_code,fte,created_at,updated_at,start_date,active,department,team,cost_center,cost_centers,division,job,manager',\n filter: Models::Operations::HrisListEmployeeEmploymentsQueryParamFilter.new(\n updated_after: DateTime.iso8601('2020-01-01T00:00:00.000Z'),\n ),\n expand: 'groups',\n x_account_id: '<id>',\n)\n\nres = s.hris.list_employee_employments(request: req)\n\nunless res.employments_paginated.nil?\n # handle response\nend"
821+
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: '',\n password: '',\n ),\n )\n\nreq = Models::Operations::HrisListEmployeeEmploymentsRequest.new(\n id: '<id>',\n fields_: 'id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,end_date,employment_type,employment_contract_type,type,contract_type,change_reason,grade,work_time,payroll_code,fte,created_at,updated_at,start_date,active,department,team,cost_center,cost_centers,division,job,manager,groups',\n filter: Models::Operations::HrisListEmployeeEmploymentsQueryParamFilter.new(\n updated_after: DateTime.iso8601('2020-01-01T00:00:00.000Z'),\n ),\n expand: 'groups',\n x_account_id: '<id>',\n)\n\nres = s.hris.list_employee_employments(request: req)\n\nunless res.employments_paginated.nil?\n # handle response\nend"
822822
- target: $["paths"]["/unified/hris/employees/{id}/employments"]["post"]
823823
update:
824824
"x-codeSamples":
@@ -830,7 +830,7 @@ actions:
830830
"x-codeSamples":
831831
- "lang": "ruby"
832832
"label": "hris_get_employee_employment"
833-
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: '',\n password: '',\n ),\n )\n\nreq = Models::Operations::HrisGetEmployeeEmploymentRequest.new(\n id: '<id>',\n sub_resource_id: '<id>',\n fields_: 'id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,end_date,employment_type,employment_contract_type,type,contract_type,change_reason,grade,work_time,payroll_code,fte,created_at,updated_at,start_date,active,department,team,cost_center,cost_centers,division,job,manager',\n expand: 'groups',\n x_account_id: '<id>',\n)\n\nres = s.hris.get_employee_employment(request: req)\n\nunless res.employment_result.nil?\n # handle response\nend"
833+
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: '',\n password: '',\n ),\n )\n\nreq = Models::Operations::HrisGetEmployeeEmploymentRequest.new(\n id: '<id>',\n sub_resource_id: '<id>',\n fields_: 'id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,end_date,employment_type,employment_contract_type,type,contract_type,change_reason,grade,work_time,payroll_code,fte,created_at,updated_at,start_date,active,department,team,cost_center,cost_centers,division,job,manager,groups',\n expand: 'groups',\n x_account_id: '<id>',\n)\n\nres = s.hris.get_employee_employment(request: req)\n\nunless res.employment_result.nil?\n # handle response\nend"
834834
- target: $["paths"]["/unified/hris/employees/{id}/employments/{subResourceId}"]["patch"]
835835
update:
836836
"x-codeSamples":
@@ -843,6 +843,18 @@ actions:
843843
- "lang": "ruby"
844844
"label": "hris_invite_employee"
845845
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: '',\n password: '',\n ),\n )\n\nres = s.hris.invite_employee(id: '<id>', x_account_id: '<id>', hris_invite_employee_request_dto: Models::Shared::HrisInviteEmployeeRequestDto.new(\n passthrough: {\n \"other_known_names\": 'John Doe',\n },\n))\n\nunless res.invite_employee_result.nil?\n # handle response\nend"
846+
- target: $["paths"]["/unified/hris/employees/{id}/shifts"]["get"]
847+
update:
848+
"x-codeSamples":
849+
- "lang": "ruby"
850+
"label": "hris_list_employee_shifts"
851+
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: '',\n password: '',\n ),\n )\n\nreq = Models::Operations::HrisListEmployeeShiftsRequest.new(\n id: '<id>',\n filter: Models::Operations::HrisListEmployeeShiftsQueryParamFilter.new(\n updated_after: DateTime.iso8601('2020-01-01T00:00:00.000Z'),\n ),\n x_account_id: '<id>',\n)\n\nres = s.hris.list_employee_shifts(request: req)\n\nunless res.hris_shifts_paginated.nil?\n # handle response\nend"
852+
- target: $["paths"]["/unified/hris/employees/{id}/shifts/{subResourceId}"]["get"]
853+
update:
854+
"x-codeSamples":
855+
- "lang": "ruby"
856+
"label": "hris_get_employee_shift"
857+
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: '',\n password: '',\n ),\n )\n\nreq = Models::Operations::HrisGetEmployeeShiftRequest.new(\n id: '<id>',\n sub_resource_id: '<id>',\n x_account_id: '<id>',\n)\n\nres = s.hris.get_employee_shift(request: req)\n\nunless res.hris_shift_result.nil?\n # handle response\nend"
846858
- target: $["paths"]["/unified/hris/employees/{id}/skills"]["get"]
847859
update:
848860
"x-codeSamples":
@@ -884,7 +896,7 @@ actions:
884896
"x-codeSamples":
885897
- "lang": "ruby"
886898
"label": "hris_list_employee_time_off_requests"
887-
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\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,comment,duration,created_at,updated_at,policy',\n filter: Models::Operations::HrisListEmployeeTimeOffRequestsQueryParamFilter.new(\n updated_after: DateTime.iso8601('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(request: req)\n\nunless res.time_off_paginated.nil?\n # handle response\nend"
899+
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\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,comment,duration,created_at,updated_at,policy',\n filter: Models::Operations::HrisListEmployeeTimeOffRequestsQueryParamFilter.new(\n updated_after: DateTime.iso8601('2020-01-01T00:00:00.000Z'),\n start_date: DateTime.iso8601('2020-01-01T00:00:00.000Z'),\n end_date: DateTime.iso8601('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(request: req)\n\nunless res.time_off_paginated.nil?\n # handle response\nend"
888900
- target: $["paths"]["/unified/hris/employees/{id}/time_off"]["post"]
889901
update:
890902
"x-codeSamples":
@@ -956,13 +968,13 @@ actions:
956968
"x-codeSamples":
957969
- "lang": "ruby"
958970
"label": "hris_list_employments"
959-
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: '',\n password: '',\n ),\n )\n\nreq = Models::Operations::HrisListEmploymentsRequest.new(\n fields_: 'id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,end_date,employment_type,employment_contract_type,type,contract_type,change_reason,grade,work_time,payroll_code,fte,created_at,updated_at,start_date,active,department,team,cost_center,cost_centers,division,job,manager',\n filter: Models::Operations::HrisListEmploymentsQueryParamFilter.new(\n updated_after: DateTime.iso8601('2020-01-01T00:00:00.000Z'),\n ),\n expand: 'groups',\n x_account_id: '<id>',\n)\n\nres = s.hris.list_employments(request: req)\n\nunless res.employments_paginated.nil?\n # handle response\nend"
971+
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: '',\n password: '',\n ),\n )\n\nreq = Models::Operations::HrisListEmploymentsRequest.new(\n fields_: 'id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,end_date,employment_type,employment_contract_type,type,contract_type,change_reason,grade,work_time,payroll_code,fte,created_at,updated_at,start_date,active,department,team,cost_center,cost_centers,division,job,manager,groups',\n filter: Models::Operations::HrisListEmploymentsQueryParamFilter.new(\n updated_after: DateTime.iso8601('2020-01-01T00:00:00.000Z'),\n ),\n expand: 'groups',\n x_account_id: '<id>',\n)\n\nres = s.hris.list_employments(request: req)\n\nunless res.employments_paginated.nil?\n # handle response\nend"
960972
- target: $["paths"]["/unified/hris/employments/{id}"]["get"]
961973
update:
962974
"x-codeSamples":
963975
- "lang": "ruby"
964976
"label": "hris_get_employment"
965-
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: '',\n password: '',\n ),\n )\n\nreq = Models::Operations::HrisGetEmploymentRequest.new(\n id: '<id>',\n fields_: 'id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,end_date,employment_type,employment_contract_type,type,contract_type,change_reason,grade,work_time,payroll_code,fte,created_at,updated_at,start_date,active,department,team,cost_center,cost_centers,division,job,manager',\n expand: 'groups',\n x_account_id: '<id>',\n)\n\nres = s.hris.get_employment(request: req)\n\nunless res.employment_result.nil?\n # handle response\nend"
977+
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: '',\n password: '',\n ),\n )\n\nreq = Models::Operations::HrisGetEmploymentRequest.new(\n id: '<id>',\n fields_: 'id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,end_date,employment_type,employment_contract_type,type,contract_type,change_reason,grade,work_time,payroll_code,fte,created_at,updated_at,start_date,active,department,team,cost_center,cost_centers,division,job,manager,groups',\n expand: 'groups',\n x_account_id: '<id>',\n)\n\nres = s.hris.get_employment(request: req)\n\nunless res.employment_result.nil?\n # handle response\nend"
966978
- target: $["paths"]["/unified/hris/groups"]["get"]
967979
update:
968980
"x-codeSamples":
@@ -1064,7 +1076,7 @@ actions:
10641076
"x-codeSamples":
10651077
- "lang": "ruby"
10661078
"label": "hris_list_positions"
1067-
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: '',\n password: '',\n ),\n )\n\nreq = Models::Operations::HrisListPositionsRequest.new(\n filter: Models::Operations::HrisListPositionsQueryParamFilter.new(\n updated_after: DateTime.iso8601('2020-01-01T00:00:00.000Z'),\n ),\n status: Models::Operations::Status::OPEN,\n x_account_id: '<id>',\n)\n\nres = s.hris.list_positions(request: req)\n\nunless res.positions_paginated.nil?\n # handle response\nend"
1079+
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: '',\n password: '',\n ),\n )\n\nreq = Models::Operations::HrisListPositionsRequest.new(\n filter: Models::Operations::HrisListPositionsQueryParamFilter.new(\n updated_after: DateTime.iso8601('2020-01-01T00:00:00.000Z'),\n ),\n status: Models::Operations::QueryParamStatus::OPEN,\n x_account_id: '<id>',\n)\n\nres = s.hris.list_positions(request: req)\n\nunless res.positions_paginated.nil?\n # handle response\nend"
10681080
- target: $["paths"]["/unified/hris/positions/{id}"]["get"]
10691081
update:
10701082
"x-codeSamples":

0 commit comments

Comments
 (0)