Skip to content

Commit 0131d78

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 0.39.3 (#134)
* ## Ruby SDK Changes: * `stack_one.hris.get_employee()`: `response.data` **Changed** **Breaking** ⚠️ * `stack_one.hris.list_employees()`: `response.data.[]` **Changed** **Breaking** ⚠️ * `stack_one.ats.create_interview_note()`: **Added** * `stack_one.ats.update_interview_note()`: **Added** * `stack_one.lms.update_content()`: **Deleted** **Breaking** ⚠️ * `stack_one.accounts.update_account()`: * `request.patch_account_external_dto.integration_id` **Added** * `stack_one.connect_sessions.authenticate_connect_session()`: `response.integration_id` **Added** * `stack_one.connect_sessions.create_connect_session()`: * `request.integration_id` **Added** * `response.integration_id` **Added** * `stack_one.hris.get_employee_employment()`: `response.data.manager.[]` **Changed** * `stack_one.hris.get_employment()`: `response.data.manager.[]` **Changed** * `stack_one.hris.list_employee_employments()`: `response.data.[].manager.[]` **Changed** * `stack_one.hris.list_employments()`: `response.data.[].manager.[]` **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 131429a commit 0131d78

82 files changed

Lines changed: 2160 additions & 2141 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: 98 additions & 46 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.660.0
1+
speakeasyVersion: 1.665.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:12406441ef599d2f820dc21bf4edb8598cabf19d7b292d227828cb46b0bfedd1
6-
sourceBlobDigest: sha256:bd09c34530529de8678a26cc6c03609dc29da4a0d86b4a1e4fa677cd20ff2922
5+
sourceRevisionDigest: sha256:b67bfb998d18c084ebee08ac9122940fa71fc62d42d838c6a825b547c6b85b35
6+
sourceBlobDigest: sha256:e582c2544fc9f18104b392cfb121ed393153e3a15721984576389e994ad41159
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1763974925
9+
- speakeasy-sdk-regen-1764579791
1010
- 1.0.0
1111
targets:
1212
StackOneRubyClient:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:12406441ef599d2f820dc21bf4edb8598cabf19d7b292d227828cb46b0bfedd1
16-
sourceBlobDigest: sha256:bd09c34530529de8678a26cc6c03609dc29da4a0d86b4a1e4fa677cd20ff2922
15+
sourceRevisionDigest: sha256:b67bfb998d18c084ebee08ac9122940fa71fc62d42d838c6a825b547c6b85b35
16+
sourceBlobDigest: sha256:e582c2544fc9f18104b392cfb121ed393153e3a15721984576389e994ad41159
1717
codeSamplesNamespace: code-samples-ruby-stackonerubyclient
18-
codeSamplesRevisionDigest: sha256:ccd6a01806dea589f05fe2098439d22f15b9fbb3005e05e0057770dc197f5796
18+
codeSamplesRevisionDigest: sha256:6500cc7e6bbc04591323f1c5e075304f838c2de542810ee555464f508bd6fe5e
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ s = ::StackOne::StackOne.new(
5757
)
5858

5959
req = Models::Operations::HrisListEmployeesRequest.new(
60-
expand: 'company,employments,work_location,home_location,groups,skills,manager',
61-
fields_: 'id,remote_id,title,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,manager,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,bank_details,skills,unified_custom_fields',
60+
expand: 'company,employments,work_location,home_location,groups,skills',
61+
fields_: 'id,remote_id,title,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,bank_details,skills,unified_custom_fields',
6262
filter: Models::Operations::HrisListEmployeesQueryParamFilter.new(
6363
updated_after: DateTime.iso8601('2020-01-01T00:00:00.000Z'),
6464
),
@@ -165,6 +165,7 @@ end
165165
* [create_background_check_package](docs/sdks/ats/README.md#create_background_check_package) - Create Background Check Package
166166
* [create_candidate](docs/sdks/ats/README.md#create_candidate) - Create Candidate
167167
* [create_candidate_note](docs/sdks/ats/README.md#create_candidate_note) - Create Candidate Note
168+
* [create_interview_note](docs/sdks/ats/README.md#create_interview_note) - Create Interview Note
168169
* [create_job](docs/sdks/ats/README.md#create_job) - Create Job
169170
* [create_offer](docs/sdks/ats/README.md#create_offer) - Create Offer
170171
* [delete_background_check_package](docs/sdks/ats/README.md#delete_background_check_package) - Delete Background Check Package
@@ -232,6 +233,7 @@ end
232233
* [update_background_check_package](docs/sdks/ats/README.md#update_background_check_package) - Update Background Check Package
233234
* [update_background_check_result](docs/sdks/ats/README.md#update_background_check_result) - Update Background Check Result
234235
* [update_candidate](docs/sdks/ats/README.md#update_candidate) - Update Candidate
236+
* [update_interview_note](docs/sdks/ats/README.md#update_interview_note) - Update Interview Note
235237
* [update_job](docs/sdks/ats/README.md#update_job) - Update Job
236238
* [upload_application_document](docs/sdks/ats/README.md#upload_application_document) - Upload Application Document
237239

@@ -383,7 +385,6 @@ end
383385
* [list_user_assignments](docs/sdks/lms/README.md#list_user_assignments) - List User Assignments
384386
* [list_user_completions](docs/sdks/lms/README.md#list_user_completions) - List User Completions
385387
* [list_users](docs/sdks/lms/README.md#list_users) - List Users
386-
* [update_content](docs/sdks/lms/README.md#update_content) - Update External Linking Learning Objects
387388
* [upsert_content](docs/sdks/lms/README.md#upsert_content) - Upsert External Linking Learning Objects
388389

389390
### [marketing](docs/sdks/marketing/README.md)

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1058,4 +1058,14 @@ Based on:
10581058
### Generated
10591059
- [ruby v0.39.2] .
10601060
### Releases
1061-
- [Ruby Gems v0.39.2] https://rubygems.org/gems/stackone_client/versions/0.39.2 - .
1061+
- [Ruby Gems v0.39.2] https://rubygems.org/gems/stackone_client/versions/0.39.2 - .
1062+
1063+
## 2025-12-01 09:02:49
1064+
### Changes
1065+
Based on:
1066+
- OpenAPI Doc
1067+
- Speakeasy CLI 1.665.0 (2.767.2) https://github.com/speakeasy-api/speakeasy
1068+
### Generated
1069+
- [ruby v0.39.3] .
1070+
### Releases
1071+
- [Ruby Gems v0.39.3] https://rubygems.org/gems/stackone_client/versions/0.39.3 - .

USAGE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ s = ::StackOne::StackOne.new(
1313
)
1414

1515
req = Models::Operations::HrisListEmployeesRequest.new(
16-
expand: 'company,employments,work_location,home_location,groups,skills,manager',
17-
fields_: 'id,remote_id,title,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,manager,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,bank_details,skills,unified_custom_fields',
16+
expand: 'company,employments,work_location,home_location,groups,skills',
17+
fields_: 'id,remote_id,title,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,bank_details,skills,unified_custom_fields',
1818
filter: Models::Operations::HrisListEmployeesQueryParamFilter.new(
1919
updated_after: DateTime.iso8601('2020-01-01T00:00:00.000Z'),
2020
),

codeSamples.yaml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,18 @@ actions:
489489
- "lang": "ruby"
490490
"label": "ats_get_interview"
491491
"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::AtsGetInterviewRequest.new(\n id: '<id>',\n fields_: 'id,remote_id,application_id,remote_application_id,interview_stage_id,remote_interview_stage_id,interview_stage,status,interview_status,interviewer_ids,remote_interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at,unified_custom_fields',\n x_account_id: '<id>',\n)\n\nres = s.ats.get_interview(request: req)\n\nunless res.interviews_result.nil?\n # handle response\nend"
492+
- target: $["paths"]["/unified/ats/interviews/{id}/notes"]["post"]
493+
update:
494+
"x-codeSamples":
495+
- "lang": "ruby"
496+
"label": "ats_create_interview_note"
497+
"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.ats.create_interview_note(id: '<id>', x_account_id: '<id>', ats_create_notes_request_dto: Models::Shared::AtsCreateNotesRequestDto.new(\n content: [\n Models::Shared::NoteContentApiModel.new(\n body: 'This candidate seems like a good fit for the role',\n ),\n ],\n author_id: '1234567890',\n visibility: Models::Shared::AtsCreateNotesRequestDtoVisibility.new(\n value: Models::Shared::AtsCreateNotesRequestDtoValue::PUBLIC,\n source_value: 'Public',\n ),\n passthrough: {\n \"other_known_names\": 'John Doe',\n },\n))\n\nunless res.create_result.nil?\n # handle response\nend"
498+
- target: $["paths"]["/unified/ats/interviews/{id}/notes/{subResourceId}"]["patch"]
499+
update:
500+
"x-codeSamples":
501+
- "lang": "ruby"
502+
"label": "ats_update_interview_note"
503+
"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.ats.update_interview_note(id: '<id>', sub_resource_id: '<id>', x_account_id: '<id>', ats_update_notes_request_dto: Models::Shared::AtsUpdateNotesRequestDto.new(\n content: [\n Models::Shared::NoteContentApiModel.new(\n body: 'This candidate seems like a good fit for the role',\n ),\n ],\n author_id: '1234567890',\n visibility: Models::Shared::AtsUpdateNotesRequestDtoVisibility.new(\n value: Models::Shared::AtsUpdateNotesRequestDtoValue::PUBLIC,\n source_value: 'Public',\n ),\n passthrough: {\n \"other_known_names\": 'John Doe',\n },\n))\n\nunless res.update_result.nil?\n # handle response\nend"
492504
- target: $["paths"]["/unified/ats/job_postings"]["get"]
493505
update:
494506
"x-codeSamples":
@@ -764,7 +776,7 @@ actions:
764776
"x-codeSamples":
765777
- "lang": "ruby"
766778
"label": "hris_list_employees"
767-
"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::HrisListEmployeesRequest.new(\n fields_: 'id,remote_id,title,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,manager,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,bank_details,skills,unified_custom_fields',\n filter: Models::Operations::HrisListEmployeesQueryParamFilter.new(\n updated_after: DateTime.iso8601('2020-01-01T00:00:00.000Z'),\n ),\n expand: 'company,employments,work_location,home_location,groups,skills,manager',\n include: 'avatar_url,avatar,custom_fields,job_description,benefits,bank_details',\n x_account_id: '<id>',\n)\n\nres = s.hris.list_employees(request: req)\n\nunless res.employees_paginated.nil?\n # handle response\nend"
779+
"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::HrisListEmployeesRequest.new(\n fields_: 'id,remote_id,title,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,bank_details,skills,unified_custom_fields',\n filter: Models::Operations::HrisListEmployeesQueryParamFilter.new(\n updated_after: DateTime.iso8601('2020-01-01T00:00:00.000Z'),\n ),\n expand: 'company,employments,work_location,home_location,groups,skills',\n include: 'avatar_url,avatar,custom_fields,job_description,benefits,bank_details',\n x_account_id: '<id>',\n)\n\nres = s.hris.list_employees(request: req)\n\nunless res.employees_paginated.nil?\n # handle response\nend"
768780
- target: $["paths"]["/unified/hris/employees"]["post"]
769781
update:
770782
"x-codeSamples":
@@ -776,7 +788,7 @@ actions:
776788
"x-codeSamples":
777789
- "lang": "ruby"
778790
"label": "hris_get_employee"
779-
"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::HrisGetEmployeeRequest.new(\n id: '<id>',\n fields_: 'id,remote_id,title,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,manager,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,bank_details,skills,unified_custom_fields',\n expand: 'company,employments,work_location,home_location,groups,skills,manager',\n include: 'avatar_url,avatar,custom_fields,job_description,benefits,bank_details',\n x_account_id: '<id>',\n)\n\nres = s.hris.get_employee(request: req)\n\nunless res.employee_result.nil?\n # handle response\nend"
791+
"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::HrisGetEmployeeRequest.new(\n id: '<id>',\n fields_: 'id,remote_id,title,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,bank_details,skills,unified_custom_fields',\n expand: 'company,employments,work_location,home_location,groups,skills',\n include: 'avatar_url,avatar,custom_fields,job_description,benefits,bank_details',\n x_account_id: '<id>',\n)\n\nres = s.hris.get_employee(request: req)\n\nunless res.employee_result.nil?\n # handle response\nend"
780792
- target: $["paths"]["/unified/hris/employees/{id}"]["patch"]
781793
update:
782794
"x-codeSamples":
@@ -1263,12 +1275,6 @@ actions:
12631275
- "lang": "ruby"
12641276
"label": "lms_get_content"
12651277
"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::LmsGetContentRequest.new(\n id: '<id>',\n fields_: 'id,remote_id,external_reference,course_ids,remote_course_ids,title,description,additional_data,languages,content_url,mobile_launch_content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider,localizations,tags,authors,unified_custom_fields',\n x_account_id: '<id>',\n)\n\nres = s.lms.get_content(request: req)\n\nunless res.content_result.nil?\n # handle response\nend"
1266-
- target: $["paths"]["/unified/lms/content/{id}"]["patch"]
1267-
update:
1268-
"x-codeSamples":
1269-
- "lang": "ruby"
1270-
"label": "lms_update_content"
1271-
"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.lms.update_content(id: '<id>', x_account_id: '<id>', lms_create_content_request_dto: Models::Shared::LmsCreateContentRequestDto.new(\n unified_custom_fields: {\n \"my_project_custom_field_1\": 'REF-1236',\n \"my_project_custom_field_2\": 'some other value',\n },\n title: 'Software Engineer Lv 1',\n description: 'This video acts as learning content for software engineers.',\n languages: [\n Models::Shared::LanguageEnum.new(\n value: Models::Shared::LanguageEnumValue::EN_GB,\n ),\n ],\n content_url: 'https://www.youtube.com/watch?v=16873',\n mobile_launch_content_url: 'https://www.mobile.youtube.com/watch?v=16873',\n cover_url: 'https://www.googledrive.com/?v=16873',\n active: true,\n duration: 'P3Y6M4DT12H30M5S',\n skills: [\n Models::Shared::CreateSkillsApiModel.new(\n id: '12345',\n name: 'Sales Techniques',\n ),\n ],\n order: 1.0,\n localizations: [\n Models::Shared::LocalizationModel.new(\n title: 'Software Engineer Lv 1',\n description: 'This course acts as learning resource for software engineers.',\n ),\n Models::Shared::LocalizationModel.new(\n title: 'Software Engineer Lv 1',\n description: 'This video acts as learning content for software engineers.',\n ),\n ],\n tags: [\n 'Sales Techniques',\n 'Customer Service',\n ],\n authors: [\n Models::Shared::AuthorModel.new(\n id: '123',\n name: 'John Doe',\n ),\n ],\n updated_at: DateTime.iso8601('2021-07-21T14:00:00.000Z'),\n created_at: DateTime.iso8601('2021-07-21T14:00:00.000Z'),\n external_reference: 'SOFTWARE-ENG-LV1-TRAINING-VIDEO-1',\n categories: [\n Models::Shared::CreateCategoriesApiModel.new(\n name: 'Technology',\n ),\n ],\n additional_data: [\n Models::Shared::AdditionalData.new(\n id: 'learning_outcomes',\n remote_id: '8187e5da-dc77-475e-9949-af0f1fa4e4e3',\n value: 'This is additional data',\n ),\n ],\n))\n\nunless res.update_result.nil?\n # handle response\nend"
12721278
- target: $["paths"]["/unified/lms/courses"]["get"]
12731279
update:
12741280
"x-codeSamples":

0 commit comments

Comments
 (0)