Skip to content

Commit ce976a5

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 0.5.7 (#97)
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.493.0 * 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 5420ebb commit ce976a5

83 files changed

Lines changed: 2000 additions & 251 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: 184 additions & 71 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.487.1
1+
speakeasyVersion: 1.493.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:1f36e9f14f11ab3684aeb9e4e02e187cad874928d758e86bd3409ff9dbe5dcd8
6-
sourceBlobDigest: sha256:3ed85ac1ba549f83e4d5bb8ffae5934bf9abedd3f23a5c014a7be653b073e0d9
5+
sourceRevisionDigest: sha256:7226304c4f65bf63254aa756fa68ed46574ab929fb558b20af6403261109156a
6+
sourceBlobDigest: sha256:8556dc0511f96c94ffde205a5a96778cc55d7262c225dc950cf7925fe0b74968
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1739178091
9+
- speakeasy-sdk-regen-1739782884
1010
- 1.0.0
1111
targets:
1212
StackOneRubyClient:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:1f36e9f14f11ab3684aeb9e4e02e187cad874928d758e86bd3409ff9dbe5dcd8
16-
sourceBlobDigest: sha256:3ed85ac1ba549f83e4d5bb8ffae5934bf9abedd3f23a5c014a7be653b073e0d9
15+
sourceRevisionDigest: sha256:7226304c4f65bf63254aa756fa68ed46574ab929fb558b20af6403261109156a
16+
sourceBlobDigest: sha256:8556dc0511f96c94ffde205a5a96778cc55d7262c225dc950cf7925fe0b74968
1717
codeSamplesNamespace: code-samples-ruby-stackonerubyclient
18-
codeSamplesRevisionDigest: sha256:39f484211c7bf3e5d154b2ef008e8af7c25d5e5ddc2217893865375982570489
18+
codeSamplesRevisionDigest: sha256:cd48ed30d315a7314b9f7800af0287a522dfebc2aafc4c77703ab2ecbdeb843c
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ end
203203
* [get_employee_document](docs/sdks/hris/README.md#get_employee_document) - Get Employee Document
204204
* [get_employee_document_category](docs/sdks/hris/README.md#get_employee_document_category) - Get Employee Document Category
205205
* [get_employee_employment](docs/sdks/hris/README.md#get_employee_employment) - Get Employee Employment
206+
* [get_employee_time_off_balance](docs/sdks/hris/README.md#get_employee_time_off_balance) - Get Employee Time Off Balance
206207
* [get_employees_time_off_request](docs/sdks/hris/README.md#get_employees_time_off_request) - Get Employees Time Off Request
207208
* [get_employees_work_eligibility](docs/sdks/hris/README.md#get_employees_work_eligibility) - Get Employees Work Eligibility
208209
* [get_employment](docs/sdks/hris/README.md#get_employment) - Get Employment
@@ -211,8 +212,10 @@ end
211212
* [get_location](docs/sdks/hris/README.md#get_location) - Get Location
212213
* [get_team_group](docs/sdks/hris/README.md#get_team_group) - Get Team Group
213214
* [get_time_entries](docs/sdks/hris/README.md#get_time_entries) - Get Time Entry
215+
* [get_time_off_policy](docs/sdks/hris/README.md#get_time_off_policy) - Get Time Off Policy
214216
* [get_time_off_request](docs/sdks/hris/README.md#get_time_off_request) - Get time off request
215217
* [get_time_off_type](docs/sdks/hris/README.md#get_time_off_type) - Get time off type
218+
* [invite_employee](docs/sdks/hris/README.md#invite_employee) - Invite Employee
216219
* [list_benefits](docs/sdks/hris/README.md#list_benefits) - List benefits
217220
* [list_companies](docs/sdks/hris/README.md#list_companies) - List Companies
218221
* [list_cost_center_groups](docs/sdks/hris/README.md#list_cost_center_groups) - List Cost Center Groups
@@ -221,6 +224,7 @@ end
221224
* [list_employee_custom_field_definitions](docs/sdks/hris/README.md#list_employee_custom_field_definitions) - List employee Custom Field Definitions
222225
* [list_employee_documents](docs/sdks/hris/README.md#list_employee_documents) - List Employee Documents
223226
* [list_employee_employments](docs/sdks/hris/README.md#list_employee_employments) - List Employee Employments
227+
* [list_employee_time_off_balances](docs/sdks/hris/README.md#list_employee_time_off_balances) - List Employee Time Off Balances
224228
* [list_employee_time_off_requests](docs/sdks/hris/README.md#list_employee_time_off_requests) - List Employee Time Off Requests
225229
* [list_employee_work_eligibility](docs/sdks/hris/README.md#list_employee_work_eligibility) - List Employee Work Eligibility
226230
* [list_employees](docs/sdks/hris/README.md#list_employees) - List Employees
@@ -230,6 +234,7 @@ end
230234
* [list_locations](docs/sdks/hris/README.md#list_locations) - List locations
231235
* [list_team_groups](docs/sdks/hris/README.md#list_team_groups) - List Team Groups
232236
* [list_time_entries](docs/sdks/hris/README.md#list_time_entries) - List Time Entries
237+
* [list_time_off_policies](docs/sdks/hris/README.md#list_time_off_policies) - List Time Off Policies
233238
* [list_time_off_requests](docs/sdks/hris/README.md#list_time_off_requests) - List time off requests
234239
* [list_time_off_types](docs/sdks/hris/README.md#list_time_off_types) - List time off types
235240
* [update_employee](docs/sdks/hris/README.md#update_employee) - Updates an employee

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,4 +708,14 @@ Based on:
708708
### Generated
709709
- [ruby v0.5.6] .
710710
### Releases
711-
- [Ruby Gems v0.5.6] https://rubygems.org/gems/stackone_client/versions/0.5.6 - .
711+
- [Ruby Gems v0.5.6] https://rubygems.org/gems/stackone_client/versions/0.5.6 - .
712+
713+
## 2025-02-17 09:01:07
714+
### Changes
715+
Based on:
716+
- OpenAPI Doc
717+
- Speakeasy CLI 1.493.0 (2.512.4) https://github.com/speakeasy-api/speakeasy
718+
### Generated
719+
- [ruby v0.5.7] .
720+
### Releases
721+
- [Ruby Gems v0.5.7] https://rubygems.org/gems/stackone_client/versions/0.5.7 - .

codeSamples.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,12 @@ actions:
663663
- "lang": "ruby"
664664
"label": "hris_update_employee_employment"
665665
"source": "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n password: \"\",\n )\n)\n\n \nres = s.hris.update_employee_employment(id=\"<id>\", sub_resource_id=\"<id>\", x_account_id=\"<id>\", hris_create_employment_request_dto=::StackOne::Shared::HrisCreateEmploymentRequestDto.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n unified_custom_fields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n employee_id: \"1687-3\",\n job_title: \"Software Engineer\",\n pay_rate: \"40.00\",\n pay_period: ::StackOne::Shared::HrisCreateEmploymentRequestDtoPayPeriod.new(),\n pay_frequency: ::StackOne::Shared::HrisCreateEmploymentRequestDtoPayFrequency.new(),\n pay_currency: \"USD\",\n effective_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n employment_type: ::StackOne::Shared::HrisCreateEmploymentRequestDtoEmploymentType.new(),\n employment_contract_type: ::StackOne::Shared::HrisCreateEmploymentRequestDtoEmploymentContractType.new(),\n time_worked: \"P0Y0M0DT8H0M0S\",\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif ! res.employment_result.nil?\n # handle response\nend"
666+
- target: $["paths"]["/unified/hris/employees/{id}/invite"]["post"]
667+
update:
668+
"x-codeSamples":
669+
- "lang": "ruby"
670+
"label": "hris_invite_employee"
671+
"source": "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n password: \"\",\n )\n)\n\n \nres = s.hris.invite_employee(id=\"<id>\", x_account_id=\"<id>\", hris_invite_employee_request_dto=::StackOne::Shared::HrisInviteEmployeeRequestDto.new(\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif ! res.invite_employee_result.nil?\n # handle response\nend"
666672
- target: $["paths"]["/unified/hris/employees/{id}/skills"]["post"]
667673
update:
668674
"x-codeSamples":
@@ -687,6 +693,18 @@ actions:
687693
- "lang": "ruby"
688694
"label": "hris_get_employees_time_off_request"
689695
"source": "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n password: \"\",\n )\n)\n\n\nreq = ::StackOne::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,created_at,updated_at\",\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"
696+
- target: $["paths"]["/unified/hris/employees/{id}/time_off_balances"]["get"]
697+
update:
698+
"x-codeSamples":
699+
- "lang": "ruby"
700+
"label": "hris_list_employee_time_off_balances"
701+
"source": "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n password: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisListEmployeeTimeOffBalancesRequest.new(\n id: \"<id>\",\n fields_: \"id,remote_id,employee_id,remote_employee_id,policy_id,remote_policy_id,policy,current_balance,initial_balance,balance_unit,balance_start_date,balance_expiry_date,updated_at\",\n filter: ::StackOne::Operations::HrisListEmployeeTimeOffBalancesQueryParamFilter.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_balances(req)\n\nif ! res.time_off_balances_paginated.nil?\n # handle response\nend"
702+
- target: $["paths"]["/unified/hris/employees/{id}/time_off_balances/{subResourceId}"]["get"]
703+
update:
704+
"x-codeSamples":
705+
- "lang": "ruby"
706+
"label": "hris_get_employee_time_off_balance"
707+
"source": "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n password: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisGetEmployeeTimeOffBalanceRequest.new(\n id: \"<id>\",\n sub_resource_id: \"<id>\",\n fields_: \"id,remote_id,employee_id,remote_employee_id,policy_id,remote_policy_id,policy,current_balance,initial_balance,balance_unit,balance_start_date,balance_expiry_date,updated_at\",\n expand: \"policy\",\n x_account_id: \"<id>\",\n)\n \nres = s.hris.get_employee_time_off_balance(req)\n\nif ! res.time_off_balance_result.nil?\n # handle response\nend"
690708
- target: $["paths"]["/unified/hris/employees/{id}/work_eligibility"]["get"]
691709
update:
692710
"x-codeSamples":
@@ -831,6 +849,18 @@ actions:
831849
- "lang": "ruby"
832850
"label": "hris_update_time_off_request"
833851
"source": "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n password: \"\",\n )\n)\n\n \nres = s.hris.update_time_off_request(id=\"<id>\", x_account_id=\"<id>\", hris_create_time_off_request_dto=::StackOne::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 passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif ! res.create_result.nil?\n # handle response\nend"
852+
- target: $["paths"]["/unified/hris/time_off_policies"]["get"]
853+
update:
854+
"x-codeSamples":
855+
- "lang": "ruby"
856+
"label": "hris_list_time_off_policies"
857+
"source": "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n password: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisListTimeOffPoliciesRequest.new(\n fields_: \"id,remote_id,name,description,type,updated_at,created_at\",\n filter: ::StackOne::Operations::HrisListTimeOffPoliciesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"<id>\",\n)\n \nres = s.hris.list_time_off_policies(req)\n\nif ! res.time_off_policies_paginated.nil?\n # handle response\nend"
858+
- target: $["paths"]["/unified/hris/time_off_policies/{id}"]["get"]
859+
update:
860+
"x-codeSamples":
861+
- "lang": "ruby"
862+
"label": "hris_get_time_off_policy"
863+
"source": "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n password: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisGetTimeOffPolicyRequest.new(\n id: \"<id>\",\n fields_: \"id,remote_id,name,description,type,updated_at,created_at\",\n x_account_id: \"<id>\",\n)\n \nres = s.hris.get_time_off_policy(req)\n\nif ! res.time_off_policy_result.nil?\n # handle response\nend"
834864
- target: $["paths"]["/unified/hris/time_off_types"]["get"]
835865
update:
836866
"x-codeSamples":

0 commit comments

Comments
 (0)