@@ -489,6 +489,18 @@ actions:
489489 - " lang " : " ruby"
490490 " label " : " ats_get_interview"
491491 " source " : " require 'stackone_client'\n\n Models = ::StackOne::Models\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: '',\n password: '',\n ),\n )\n\n req = 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\n res = s.ats.get_interview(request: req)\n\n unless res.interviews_result.nil?\n # handle response\n end"
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\n Models = ::StackOne::Models\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: '',\n password: '',\n ),\n )\n\n res = 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\n unless res.create_result.nil?\n # handle response\n end"
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\n Models = ::StackOne::Models\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: '',\n password: '',\n ),\n )\n\n res = 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\n unless res.update_result.nil?\n # handle response\n end"
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\n Models = ::StackOne::Models\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: '',\n password: '',\n ),\n )\n\n req = 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\n res = s.lms.get_content(request: req)\n\n unless res.content_result.nil?\n # handle response\n end"
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