diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 99f4e2d9..086c30c5 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,19 +1,19 @@ lockVersion: 2.0.0 id: 482384cc-3b98-4ced-bd0b-14aa8b3e0053 management: - docChecksum: dcd0ca9c4df121be789916582fbeeba2 + docChecksum: 023bc27ef1632e180156a454bc2a67b4 docVersion: 1.0.0 - speakeasyVersion: 1.379.0 - generationVersion: 2.404.3 - releaseVersion: 0.2.37 - configChecksum: aa97c9830c82d32ca089a8c40d7dd8e6 + speakeasyVersion: 1.397.3 + generationVersion: 2.415.8 + releaseVersion: 0.2.38 + configChecksum: 8926c902d8ff3d8cb732f3cf4bfadc7e repoURL: https://github.com/StackOneHQ/stackone-client-ruby.git repoSubDirectory: . installationURL: https://github.com/StackOneHQ/stackone-client-ruby published: true features: ruby: - core: 3.2.19 + core: 3.2.22 deprecations: 2.81.1 examples: 2.81.3 flattening: 2.81.1 @@ -22,938 +22,31 @@ features: groups: 2.81.2 nameOverrides: 2.81.2 generatedFiles: - - lib/stack_one/sdkconfiguration.rb - - lib/stack_one/accounts.rb - - lib/stack_one/connect_sessions.rb - - lib/stack_one/connectors.rb - - lib/stack_one/ats.rb - - lib/stack_one/crm.rb - - lib/stack_one/hris.rb - - lib/stack_one/iam.rb - - lib/stack_one/lms.rb - - lib/stack_one/marketing.rb - - lib/stack_one/proxy.rb - - lib/stack_one/stackone.rb + - .gitattributes - .rubocop.yml + - CONTRIBUTING.md - Gemfile - Gemfile.lock - Rakefile - - lib/stack_one/utils/metadata_fields.rb - - lib/stack_one/utils/t.rb - - lib/stack_one/utils/utils.rb - - sorbet/config - - sorbet/rbi/annotations/.gitattributes - - sorbet/rbi/annotations/faraday.rbi - - sorbet/rbi/annotations/rainbow.rbi - - sorbet/rbi/gems/.gitattributes - - sorbet/rbi/gems/ast@2.4.2.rbi - - sorbet/rbi/gems/base64@0.1.1.rbi - - sorbet/rbi/gems/erubi@1.12.0.rbi - - sorbet/rbi/gems/faraday-multipart@1.0.4.rbi - - sorbet/rbi/gems/faraday-net_http@3.0.2.rbi - - sorbet/rbi/gems/faraday@2.7.11.rbi - - sorbet/rbi/gems/json@2.6.3.rbi - - sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi - - sorbet/rbi/gems/minitest@5.20.0.rbi - - sorbet/rbi/gems/multipart-post@2.3.0.rbi - - sorbet/rbi/gems/netrc@0.11.0.rbi - - sorbet/rbi/gems/parallel@1.23.0.rbi - - sorbet/rbi/gems/parser@3.2.2.4.rbi - - sorbet/rbi/gems/prettier_print@1.2.1.rbi - - sorbet/rbi/gems/racc@1.7.1.rbi - - sorbet/rbi/gems/rack@3.0.8.rbi - - sorbet/rbi/gems/rainbow@3.1.1.rbi - - sorbet/rbi/gems/rake@13.0.6.rbi - - sorbet/rbi/gems/rbi@0.1.1.rbi - - sorbet/rbi/gems/regexp_parser@2.8.2.rbi - - sorbet/rbi/gems/rexml@3.2.6.rbi - - sorbet/rbi/gems/rubocop-ast@1.29.0.rbi - - sorbet/rbi/gems/rubocop@1.57.1.rbi - - sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi - - sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi - - sorbet/rbi/gems/spoom@1.2.4.rbi - - sorbet/rbi/gems/syntax_tree@6.2.0.rbi - - sorbet/rbi/gems/tapioca@0.11.9.rbi - - sorbet/rbi/gems/thor@1.3.0.rbi - - sorbet/rbi/gems/unicode-display_width@2.5.0.rbi - - sorbet/rbi/gems/yard-sorbet@0.8.1.rbi - - sorbet/rbi/gems/yard@0.9.34.rbi - - sorbet/rbi/gems/yarp@0.13.0.rbi - - sorbet/tapioca/config.yml - - sorbet/tapioca/require.rb - - stackone_client.gemspec - - lib/stack_one/models/operations/stackone_delete_account_request.rb - - lib/stack_one/models/operations/stackone_delete_account_response.rb - - lib/stack_one/models/operations/stackone_get_account_request.rb - - lib/stack_one/models/operations/stackone_get_account_response.rb - - lib/stack_one/models/operations/stackone_get_account_meta_info_request.rb - - lib/stack_one/models/operations/stackone_get_account_meta_info_response.rb - - lib/stack_one/models/operations/stackone_list_linked_accounts_request.rb - - lib/stack_one/models/operations/stackone_list_linked_accounts_response.rb - - lib/stack_one/models/operations/stackone_update_account_request.rb - - lib/stack_one/models/operations/stackone_update_account_response.rb - - lib/stack_one/models/operations/stackone_authenticate_connect_session_response.rb - - lib/stack_one/models/operations/stackone_create_connect_session_response.rb - - lib/stack_one/models/operations/stackone_get_connector_meta_request.rb - - lib/stack_one/models/operations/stackone_get_connector_meta_response.rb - - lib/stack_one/models/operations/stackone_list_connectors_meta_request.rb - - lib/stack_one/models/operations/stackone_list_connectors_meta_response.rb - - lib/stack_one/models/operations/ats_create_application_request.rb - - lib/stack_one/models/operations/ats_create_application_response.rb - - lib/stack_one/models/operations/ats_create_candidate_request.rb - - lib/stack_one/models/operations/ats_create_candidate_response.rb - - lib/stack_one/models/operations/ats_create_candidate_note_request.rb - - lib/stack_one/models/operations/ats_create_candidate_note_response.rb - - lib/stack_one/models/operations/ats_create_offer_request.rb - - lib/stack_one/models/operations/ats_create_offer_response.rb - - lib/stack_one/models/operations/ats_download_application_document_request.rb - - lib/stack_one/models/operations/ats_download_application_document_response.rb - - lib/stack_one/models/operations/ats_get_application_request.rb - - lib/stack_one/models/operations/ats_get_application_response.rb - - lib/stack_one/models/operations/filter.rb - - lib/stack_one/models/operations/ats_get_application_custom_field_definition_request.rb - - lib/stack_one/models/operations/ats_get_application_custom_field_definition_response.rb - - lib/stack_one/models/operations/ats_get_application_document_request.rb - - lib/stack_one/models/operations/ats_get_application_document_response.rb - - lib/stack_one/models/operations/ats_get_application_offer_request.rb - - lib/stack_one/models/operations/ats_get_application_offer_response.rb - - lib/stack_one/models/operations/ats_get_application_scheduled_interview_request.rb - - lib/stack_one/models/operations/ats_get_application_scheduled_interview_response.rb - - lib/stack_one/models/operations/ats_get_application_scorecard_request.rb - - lib/stack_one/models/operations/ats_get_application_scorecard_response.rb - - lib/stack_one/models/operations/ats_get_assessments_package_request.rb - - lib/stack_one/models/operations/ats_get_assessments_package_response.rb - - lib/stack_one/models/operations/ats_get_assessments_request_request.rb - - lib/stack_one/models/operations/ats_get_assessments_request_response.rb - - lib/stack_one/models/operations/ats_get_assessments_result_request.rb - - lib/stack_one/models/operations/ats_get_assessments_result_response.rb - - lib/stack_one/models/operations/ats_get_candidate_request.rb - - lib/stack_one/models/operations/ats_get_candidate_response.rb - - lib/stack_one/models/operations/queryparam_filter.rb - - lib/stack_one/models/operations/ats_get_candidate_custom_field_definition_request.rb - - lib/stack_one/models/operations/ats_get_candidate_custom_field_definition_response.rb - - lib/stack_one/models/operations/ats_get_candidate_note_request.rb - - lib/stack_one/models/operations/ats_get_candidate_note_response.rb - - lib/stack_one/models/operations/ats_get_department_request.rb - - lib/stack_one/models/operations/ats_get_department_response.rb - - lib/stack_one/models/operations/ats_get_interview_request.rb - - lib/stack_one/models/operations/ats_get_interview_response.rb - - lib/stack_one/models/operations/ats_get_interview_stage_request.rb - - lib/stack_one/models/operations/ats_get_interview_stage_response.rb - - lib/stack_one/models/operations/ats_get_job_request.rb - - lib/stack_one/models/operations/ats_get_job_response.rb - - lib/stack_one/models/operations/ats_get_job_posting_request.rb - - lib/stack_one/models/operations/ats_get_job_posting_response.rb - - lib/stack_one/models/operations/ats_get_list_request.rb - - lib/stack_one/models/operations/ats_get_list_response.rb - - lib/stack_one/models/operations/ats_get_location_request.rb - - lib/stack_one/models/operations/ats_get_location_response.rb - - lib/stack_one/models/operations/ats_get_offer_request.rb - - lib/stack_one/models/operations/ats_get_offer_response.rb - - lib/stack_one/models/operations/ats_get_rejected_reason_request.rb - - lib/stack_one/models/operations/ats_get_rejected_reason_response.rb - - lib/stack_one/models/operations/ats_get_user_request.rb - - lib/stack_one/models/operations/ats_get_user_response.rb - - lib/stack_one/models/operations/ats_list_application_custom_field_definitions_queryparam_filter.rb - - lib/stack_one/models/operations/ats_list_application_custom_field_definitions_request.rb - - lib/stack_one/models/operations/ats_list_application_custom_field_definitions_response.rb - - lib/stack_one/models/operations/ats_list_application_documents_queryparam_filter.rb - - lib/stack_one/models/operations/ats_list_application_documents_request.rb - - lib/stack_one/models/operations/ats_list_application_documents_response.rb - - lib/stack_one/models/operations/ats_list_application_scorecards_queryparam_filter.rb - - lib/stack_one/models/operations/ats_list_application_scorecards_request.rb - - lib/stack_one/models/operations/ats_list_application_scorecards_response.rb - - lib/stack_one/models/operations/ats_list_applications_queryparam_filter.rb - - lib/stack_one/models/operations/ats_list_applications_request.rb - - lib/stack_one/models/operations/ats_list_applications_response.rb - - lib/stack_one/models/operations/ats_list_applications_offers_queryparam_filter.rb - - lib/stack_one/models/operations/ats_list_applications_offers_request.rb - - lib/stack_one/models/operations/ats_list_applications_offers_response.rb - - lib/stack_one/models/operations/ats_list_applications_scheduled_interviews_queryparam_filter.rb - - lib/stack_one/models/operations/ats_list_applications_scheduled_interviews_request.rb - - lib/stack_one/models/operations/ats_list_applications_scheduled_interviews_response.rb - - lib/stack_one/models/operations/ats_list_assessments_packages_queryparam_filter.rb - - lib/stack_one/models/operations/ats_list_assessments_packages_request.rb - - lib/stack_one/models/operations/ats_list_assessments_packages_response.rb - - lib/stack_one/models/operations/ats_list_candidate_custom_field_definitions_queryparam_filter.rb - - lib/stack_one/models/operations/ats_list_candidate_custom_field_definitions_request.rb - - lib/stack_one/models/operations/ats_list_candidate_custom_field_definitions_response.rb - - lib/stack_one/models/operations/ats_list_candidate_notes_queryparam_filter.rb - - lib/stack_one/models/operations/ats_list_candidate_notes_request.rb - - lib/stack_one/models/operations/ats_list_candidate_notes_response.rb - - lib/stack_one/models/operations/ats_list_candidates_queryparam_filter.rb - - lib/stack_one/models/operations/ats_list_candidates_request.rb - - lib/stack_one/models/operations/ats_list_candidates_response.rb - - lib/stack_one/models/operations/ats_list_departments_queryparam_filter.rb - - lib/stack_one/models/operations/ats_list_departments_request.rb - - lib/stack_one/models/operations/ats_list_departments_response.rb - - lib/stack_one/models/operations/ats_list_interview_stages_queryparam_filter.rb - - lib/stack_one/models/operations/ats_list_interview_stages_request.rb - - lib/stack_one/models/operations/ats_list_interview_stages_response.rb - - lib/stack_one/models/operations/ats_list_interviews_queryparam_filter.rb - - lib/stack_one/models/operations/ats_list_interviews_request.rb - - lib/stack_one/models/operations/ats_list_interviews_response.rb - - lib/stack_one/models/operations/ats_list_job_postings_queryparam_filter.rb - - lib/stack_one/models/operations/ats_list_job_postings_request.rb - - lib/stack_one/models/operations/ats_list_job_postings_response.rb - - lib/stack_one/models/operations/ats_list_jobs_queryparam_filter.rb - - lib/stack_one/models/operations/ats_list_jobs_request.rb - - lib/stack_one/models/operations/ats_list_jobs_response.rb - - lib/stack_one/models/operations/ats_list_lists_queryparam_filter.rb - - lib/stack_one/models/operations/ats_list_lists_request.rb - - lib/stack_one/models/operations/ats_list_lists_response.rb - - lib/stack_one/models/operations/ats_list_locations_queryparam_filter.rb - - lib/stack_one/models/operations/ats_list_locations_request.rb - - lib/stack_one/models/operations/ats_list_locations_response.rb - - lib/stack_one/models/operations/ats_list_offers_queryparam_filter.rb - - lib/stack_one/models/operations/ats_list_offers_request.rb - - lib/stack_one/models/operations/ats_list_offers_response.rb - - lib/stack_one/models/operations/ats_list_rejected_reasons_queryparam_filter.rb - - lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb - - lib/stack_one/models/operations/ats_list_rejected_reasons_response.rb - - lib/stack_one/models/operations/ats_list_users_queryparam_filter.rb - - lib/stack_one/models/operations/ats_list_users_request.rb - - lib/stack_one/models/operations/ats_list_users_response.rb - - lib/stack_one/models/operations/ats_update_application_request.rb - - lib/stack_one/models/operations/ats_update_application_response.rb - - lib/stack_one/models/operations/ats_update_candidate_request.rb - - lib/stack_one/models/operations/ats_update_candidate_response.rb - - lib/stack_one/models/operations/ats_upload_application_document_request.rb - - lib/stack_one/models/operations/ats_upload_application_document_response.rb - - lib/stack_one/models/operations/crm_create_contact_request.rb - - lib/stack_one/models/operations/crm_create_contact_response.rb - - lib/stack_one/models/operations/crm_get_account_request.rb - - lib/stack_one/models/operations/crm_get_account_response.rb - - lib/stack_one/models/operations/crm_get_contact_request.rb - - lib/stack_one/models/operations/crm_get_contact_response.rb - - lib/stack_one/models/operations/crm_get_list_request.rb - - lib/stack_one/models/operations/crm_get_list_response.rb - - lib/stack_one/models/operations/crm_list_accounts_queryparam_filter.rb - - lib/stack_one/models/operations/crm_list_accounts_request.rb - - lib/stack_one/models/operations/crm_list_accounts_response.rb - - lib/stack_one/models/operations/crm_list_contacts_queryparam_filter.rb - - lib/stack_one/models/operations/crm_list_contacts_request.rb - - lib/stack_one/models/operations/crm_list_contacts_response.rb - - lib/stack_one/models/operations/crm_list_lists_queryparam_filter.rb - - lib/stack_one/models/operations/crm_list_lists_request.rb - - lib/stack_one/models/operations/crm_list_lists_response.rb - - lib/stack_one/models/operations/crm_update_contact_request.rb - - lib/stack_one/models/operations/crm_update_contact_response.rb - - lib/stack_one/models/operations/hris_create_employee_request.rb - - lib/stack_one/models/operations/hris_create_employee_response.rb - - lib/stack_one/models/operations/hris_create_employee_time_off_request_request.rb - - lib/stack_one/models/operations/hris_create_employee_time_off_request_response.rb - - lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_request.rb - - lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_response.rb - - lib/stack_one/models/operations/hris_create_time_off_request_request.rb - - lib/stack_one/models/operations/hris_create_time_off_request_response.rb - - lib/stack_one/models/operations/hris_download_employee_document_request.rb - - lib/stack_one/models/operations/hris_download_employee_document_response.rb - - lib/stack_one/models/operations/hris_get_benefit_request.rb - - lib/stack_one/models/operations/hris_get_benefit_response.rb - - lib/stack_one/models/operations/hris_get_company_request.rb - - lib/stack_one/models/operations/hris_get_company_response.rb - - lib/stack_one/models/operations/hris_get_department_group_request.rb - - lib/stack_one/models/operations/hris_get_department_group_response.rb - - lib/stack_one/models/operations/hris_get_employee_request.rb - - lib/stack_one/models/operations/hris_get_employee_response.rb - - lib/stack_one/models/operations/hris_get_employee_document_request.rb - - lib/stack_one/models/operations/hris_get_employee_document_response.rb - - lib/stack_one/models/operations/hris_get_employee_document_category_request.rb - - lib/stack_one/models/operations/hris_get_employee_document_category_response.rb - - lib/stack_one/models/operations/hris_get_employee_employment_request.rb - - lib/stack_one/models/operations/hris_get_employee_employment_response.rb - - lib/stack_one/models/operations/hris_get_employees_time_off_request_request.rb - - lib/stack_one/models/operations/hris_get_employees_time_off_request_response.rb - - lib/stack_one/models/operations/hris_get_employees_work_eligibility_request.rb - - lib/stack_one/models/operations/hris_get_employees_work_eligibility_response.rb - - lib/stack_one/models/operations/hris_get_employment_request.rb - - lib/stack_one/models/operations/hris_get_employment_response.rb - - lib/stack_one/models/operations/hris_get_group_request.rb - - lib/stack_one/models/operations/hris_get_group_response.rb - - lib/stack_one/models/operations/hris_get_job_request.rb - - lib/stack_one/models/operations/hris_get_job_response.rb - - lib/stack_one/models/operations/hris_get_location_request.rb - - lib/stack_one/models/operations/hris_get_location_response.rb - - lib/stack_one/models/operations/hris_get_time_off_request_request.rb - - lib/stack_one/models/operations/hris_get_time_off_request_response.rb - - lib/stack_one/models/operations/hris_list_benefits_queryparam_filter.rb - - lib/stack_one/models/operations/hris_list_benefits_request.rb - - lib/stack_one/models/operations/hris_list_benefits_response.rb - - lib/stack_one/models/operations/hris_list_companies_queryparam_filter.rb - - lib/stack_one/models/operations/hris_list_companies_request.rb - - lib/stack_one/models/operations/hris_list_companies_response.rb - - lib/stack_one/models/operations/hris_list_department_groups_queryparam_filter.rb - - lib/stack_one/models/operations/hris_list_department_groups_request.rb - - lib/stack_one/models/operations/hris_list_department_groups_response.rb - - lib/stack_one/models/operations/hris_list_employee_categories_queryparam_filter.rb - - lib/stack_one/models/operations/hris_list_employee_categories_request.rb - - lib/stack_one/models/operations/hris_list_employee_categories_response.rb - - lib/stack_one/models/operations/hris_list_employee_documents_queryparam_filter.rb - - lib/stack_one/models/operations/hris_list_employee_documents_request.rb - - lib/stack_one/models/operations/hris_list_employee_documents_response.rb - - lib/stack_one/models/operations/hris_list_employee_employments_queryparam_filter.rb - - lib/stack_one/models/operations/hris_list_employee_employments_request.rb - - lib/stack_one/models/operations/hris_list_employee_employments_response.rb - - lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_filter.rb - - lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb - - lib/stack_one/models/operations/hris_list_employee_time_off_requests_response.rb - - lib/stack_one/models/operations/hris_list_employee_work_eligibility_queryparam_filter.rb - - lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb - - lib/stack_one/models/operations/hris_list_employee_work_eligibility_response.rb - - lib/stack_one/models/operations/hris_list_employees_queryparam_filter.rb - - lib/stack_one/models/operations/hris_list_employees_request.rb - - lib/stack_one/models/operations/hris_list_employees_response.rb - - lib/stack_one/models/operations/hris_list_employments_queryparam_filter.rb - - lib/stack_one/models/operations/hris_list_employments_request.rb - - lib/stack_one/models/operations/hris_list_employments_response.rb - - lib/stack_one/models/operations/hris_list_groups_queryparam_filter.rb - - lib/stack_one/models/operations/hris_list_groups_request.rb - - lib/stack_one/models/operations/hris_list_groups_response.rb - - lib/stack_one/models/operations/hris_list_jobs_queryparam_filter.rb - - lib/stack_one/models/operations/hris_list_jobs_request.rb - - lib/stack_one/models/operations/hris_list_jobs_response.rb - - lib/stack_one/models/operations/hris_list_locations_queryparam_filter.rb - - lib/stack_one/models/operations/hris_list_locations_request.rb - - lib/stack_one/models/operations/hris_list_locations_response.rb - - lib/stack_one/models/operations/hris_list_time_off_requests_queryparam_filter.rb - - lib/stack_one/models/operations/hris_list_time_off_requests_request.rb - - lib/stack_one/models/operations/hris_list_time_off_requests_response.rb - - lib/stack_one/models/operations/hris_update_employee_request.rb - - lib/stack_one/models/operations/hris_update_employee_response.rb - - lib/stack_one/models/operations/hris_update_employee_work_eligibility_request_request.rb - - lib/stack_one/models/operations/hris_update_employee_work_eligibility_request_response.rb - - lib/stack_one/models/operations/hris_update_time_off_request_request.rb - - lib/stack_one/models/operations/hris_update_time_off_request_response.rb - - lib/stack_one/models/operations/hris_upload_employee_document_request.rb - - lib/stack_one/models/operations/hris_upload_employee_document_response.rb - - lib/stack_one/models/operations/iam_get_group_request.rb - - lib/stack_one/models/operations/iam_get_group_response.rb - - lib/stack_one/models/operations/iam_get_policy_request.rb - - lib/stack_one/models/operations/iam_get_policy_response.rb - - lib/stack_one/models/operations/iam_get_role_request.rb - - lib/stack_one/models/operations/iam_get_role_response.rb - - lib/stack_one/models/operations/iam_get_user_request.rb - - lib/stack_one/models/operations/iam_get_user_response.rb - - lib/stack_one/models/operations/iam_list_groups_queryparam_filter.rb - - lib/stack_one/models/operations/iam_list_groups_request.rb - - lib/stack_one/models/operations/iam_list_groups_response.rb - - lib/stack_one/models/operations/iam_list_policies_queryparam_filter.rb - - lib/stack_one/models/operations/iam_list_policies_request.rb - - lib/stack_one/models/operations/iam_list_policies_response.rb - - lib/stack_one/models/operations/iam_list_roles_queryparam_filter.rb - - lib/stack_one/models/operations/iam_list_roles_request.rb - - lib/stack_one/models/operations/iam_list_roles_response.rb - - lib/stack_one/models/operations/iam_list_users_queryparam_filter.rb - - lib/stack_one/models/operations/iam_list_users_request.rb - - lib/stack_one/models/operations/iam_list_users_response.rb - - lib/stack_one/models/operations/lms_create_completion_request.rb - - lib/stack_one/models/operations/lms_create_completion_response.rb - - lib/stack_one/models/operations/lms_create_content_request.rb - - lib/stack_one/models/operations/lms_create_content_response.rb - - lib/stack_one/models/operations/lms_get_assignment_request.rb - - lib/stack_one/models/operations/lms_get_assignment_response.rb - - lib/stack_one/models/operations/lms_get_category_request.rb - - lib/stack_one/models/operations/lms_get_category_response.rb - - lib/stack_one/models/operations/lms_get_content_request.rb - - lib/stack_one/models/operations/lms_get_content_response.rb - - lib/stack_one/models/operations/lms_get_course_request.rb - - lib/stack_one/models/operations/lms_get_course_response.rb - - lib/stack_one/models/operations/lms_get_user_request.rb - - lib/stack_one/models/operations/lms_get_user_response.rb - - lib/stack_one/models/operations/lms_list_assignments_queryparam_filter.rb - - lib/stack_one/models/operations/lms_list_assignments_request.rb - - lib/stack_one/models/operations/lms_list_assignments_response.rb - - lib/stack_one/models/operations/lms_list_categories_queryparam_filter.rb - - lib/stack_one/models/operations/lms_list_categories_request.rb - - lib/stack_one/models/operations/lms_list_categories_response.rb - - lib/stack_one/models/operations/lms_list_completions_queryparam_filter.rb - - lib/stack_one/models/operations/lms_list_completions_request.rb - - lib/stack_one/models/operations/lms_list_completions_response.rb - - lib/stack_one/models/operations/lms_list_content_queryparam_filter.rb - - lib/stack_one/models/operations/lms_list_content_request.rb - - lib/stack_one/models/operations/lms_list_content_response.rb - - lib/stack_one/models/operations/lms_list_courses_queryparam_filter.rb - - lib/stack_one/models/operations/lms_list_courses_request.rb - - lib/stack_one/models/operations/lms_list_courses_response.rb - - lib/stack_one/models/operations/lms_list_users_queryparam_filter.rb - - lib/stack_one/models/operations/lms_list_users_request.rb - - lib/stack_one/models/operations/lms_list_users_response.rb - - lib/stack_one/models/operations/lms_update_content_request.rb - - lib/stack_one/models/operations/lms_update_content_response.rb - - lib/stack_one/models/operations/lms_upsert_content_request.rb - - lib/stack_one/models/operations/lms_upsert_content_response.rb - - lib/stack_one/models/operations/marketing_create_content_block_request.rb - - lib/stack_one/models/operations/marketing_create_content_block_response.rb - - lib/stack_one/models/operations/marketing_create_email_template_request.rb - - lib/stack_one/models/operations/marketing_create_email_template_response.rb - - lib/stack_one/models/operations/marketing_create_in_app_template_request.rb - - lib/stack_one/models/operations/marketing_create_in_app_template_response.rb - - lib/stack_one/models/operations/marketing_create_omni_channel_template_request.rb - - lib/stack_one/models/operations/marketing_create_omni_channel_template_response.rb - - lib/stack_one/models/operations/marketing_create_push_template_request.rb - - lib/stack_one/models/operations/marketing_create_push_template_response.rb - - lib/stack_one/models/operations/marketing_create_sms_template_request.rb - - lib/stack_one/models/operations/marketing_create_sms_template_response.rb - - lib/stack_one/models/operations/marketing_get_campaign_request.rb - - lib/stack_one/models/operations/marketing_get_campaign_response.rb - - lib/stack_one/models/operations/marketing_get_content_block_request.rb - - lib/stack_one/models/operations/marketing_get_content_block_response.rb - - lib/stack_one/models/operations/marketing_get_email_template_request.rb - - lib/stack_one/models/operations/marketing_get_email_template_response.rb - - lib/stack_one/models/operations/marketing_get_in_app_template_request.rb - - lib/stack_one/models/operations/marketing_get_in_app_template_response.rb - - lib/stack_one/models/operations/marketing_get_omni_channel_template_request.rb - - lib/stack_one/models/operations/marketing_get_omni_channel_template_response.rb - - lib/stack_one/models/operations/marketing_get_push_template_request.rb - - lib/stack_one/models/operations/marketing_get_push_template_response.rb - - lib/stack_one/models/operations/marketing_get_sms_template_request.rb - - lib/stack_one/models/operations/marketing_get_sms_template_response.rb - - lib/stack_one/models/operations/marketing_list_campaigns_queryparam_filter.rb - - lib/stack_one/models/operations/marketing_list_campaigns_request.rb - - lib/stack_one/models/operations/marketing_list_campaigns_response.rb - - lib/stack_one/models/operations/marketing_list_content_blocks_queryparam_filter.rb - - lib/stack_one/models/operations/marketing_list_content_blocks_request.rb - - lib/stack_one/models/operations/marketing_list_content_blocks_response.rb - - lib/stack_one/models/operations/marketing_list_email_templates_queryparam_filter.rb - - lib/stack_one/models/operations/marketing_list_email_templates_request.rb - - lib/stack_one/models/operations/marketing_list_email_templates_response.rb - - lib/stack_one/models/operations/marketing_list_in_app_templates_queryparam_filter.rb - - lib/stack_one/models/operations/marketing_list_in_app_templates_request.rb - - lib/stack_one/models/operations/marketing_list_in_app_templates_response.rb - - lib/stack_one/models/operations/marketing_list_omni_channel_templates_queryparam_filter.rb - - lib/stack_one/models/operations/marketing_list_omni_channel_templates_request.rb - - lib/stack_one/models/operations/marketing_list_omni_channel_templates_response.rb - - lib/stack_one/models/operations/marketing_list_push_templates_queryparam_filter.rb - - lib/stack_one/models/operations/marketing_list_push_templates_request.rb - - lib/stack_one/models/operations/marketing_list_push_templates_response.rb - - lib/stack_one/models/operations/marketing_list_sms_templates_queryparam_filter.rb - - lib/stack_one/models/operations/marketing_list_sms_templates_request.rb - - lib/stack_one/models/operations/marketing_list_sms_templates_response.rb - - lib/stack_one/models/operations/marketing_update_content_block_request.rb - - lib/stack_one/models/operations/marketing_update_content_block_response.rb - - lib/stack_one/models/operations/marketing_update_email_template_request.rb - - lib/stack_one/models/operations/marketing_update_email_template_response.rb - - lib/stack_one/models/operations/marketing_update_in_app_template_request.rb - - lib/stack_one/models/operations/marketing_update_in_app_template_response.rb - - lib/stack_one/models/operations/marketing_update_omni_channel_template_request.rb - - lib/stack_one/models/operations/marketing_update_omni_channel_template_response.rb - - lib/stack_one/models/operations/marketing_update_push_template_request.rb - - lib/stack_one/models/operations/marketing_update_push_template_response.rb - - lib/stack_one/models/operations/marketing_update_sms_template_request.rb - - lib/stack_one/models/operations/marketing_update_sms_template_response.rb - - lib/stack_one/models/operations/stackone_proxy_request_request.rb - - lib/stack_one/models/operations/stackone_proxy_request_response.rb - - lib/stack_one/models/shared/credentials.rb - - lib/stack_one/models/shared/setup_information.rb - - lib/stack_one/models/shared/linkedaccount_status.rb - - lib/stack_one/models/shared/linkedaccount.rb - - lib/stack_one/models/shared/statusreason.rb - - lib/stack_one/models/shared/linkedaccountmeta_category.rb - - lib/stack_one/models/shared/linkedaccountmeta.rb - - lib/stack_one/models/shared/patchaccountexternaldto_credentials.rb - - lib/stack_one/models/shared/label.rb - - lib/stack_one/models/shared/secrets.rb - - lib/stack_one/models/shared/patchaccountexternaldto_setup_information.rb - - lib/stack_one/models/shared/patchaccountexternaldto.rb - - lib/stack_one/models/shared/categories.rb - - lib/stack_one/models/shared/connectsession.rb - - lib/stack_one/models/shared/connectsessionauthenticate.rb - - lib/stack_one/models/shared/connectsessiontoken_categories.rb - - lib/stack_one/models/shared/connectsessiontoken.rb - - lib/stack_one/models/shared/connectsessioncreate_categories.rb - - lib/stack_one/models/shared/metadata.rb - - lib/stack_one/models/shared/connectsessioncreate.rb - - lib/stack_one/models/shared/connectorsmeta_category.rb - - lib/stack_one/models/shared/images.rb - - lib/stack_one/models/shared/resources.rb - - lib/stack_one/models/shared/connectorsmeta.rb - - lib/stack_one/models/shared/createresult.rb - - lib/stack_one/models/shared/createresultdataapimodel.rb - - lib/stack_one/models/shared/atscreateapplicationrequestdto_value.rb - - lib/stack_one/models/shared/atscreateapplicationrequestdto_application_status.rb - - lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb - - lib/stack_one/models/shared/atscreateapplicationrequestdto_source.rb - - lib/stack_one/models/shared/atscreateapplicationrequestdto.rb - - lib/stack_one/models/shared/questionnaire.rb - - lib/stack_one/models/shared/answer_value.rb - - lib/stack_one/models/shared/type.rb - - lib/stack_one/models/shared/answer.rb - - lib/stack_one/models/shared/sociallink.rb - - lib/stack_one/models/shared/candidatecustomfields.rb - - lib/stack_one/models/shared/atscreatecandidaterequestdto.rb - - lib/stack_one/models/shared/atscreatenotesrequestdto_value.rb - - lib/stack_one/models/shared/visibility.rb - - lib/stack_one/models/shared/atscreatenotesrequestdto.rb - - lib/stack_one/models/shared/notecontentapimodel.rb - - lib/stack_one/models/shared/atscreateofferrequestdto_value.rb - - lib/stack_one/models/shared/offer_status.rb - - lib/stack_one/models/shared/atscreateofferrequestdto.rb - - lib/stack_one/models/shared/offerhistory.rb - - lib/stack_one/models/shared/applicationresult.rb - - lib/stack_one/models/shared/rawresponse.rb - - lib/stack_one/models/shared/application_value.rb - - lib/stack_one/models/shared/application_status.rb - - lib/stack_one/models/shared/application_candidate.rb - - lib/stack_one/models/shared/application_interview_stage.rb - - lib/stack_one/models/shared/source.rb - - lib/stack_one/models/shared/application.rb - - lib/stack_one/models/shared/resultlink.rb - - lib/stack_one/models/shared/rejectedreason_value.rb - - lib/stack_one/models/shared/rejected_reason_type.rb - - lib/stack_one/models/shared/rejectedreason.rb - - lib/stack_one/models/shared/atsdocumentapimodel_category.rb - - lib/stack_one/models/shared/atsdocumentapimodel_value.rb - - lib/stack_one/models/shared/file_format.rb - - lib/stack_one/models/shared/atsdocumentapimodel_schemas_value.rb - - lib/stack_one/models/shared/atsdocumentapimodel_type.rb - - lib/stack_one/models/shared/atsdocumentapimodel.rb - - lib/stack_one/models/shared/content_value.rb - - lib/stack_one/models/shared/content_file_format.rb - - lib/stack_one/models/shared/content.rb - - lib/stack_one/models/shared/applicationcustomfields.rb - - lib/stack_one/models/shared/phonenumber_type.rb - - lib/stack_one/models/shared/phonenumber.rb - - lib/stack_one/models/shared/candidateemail.rb - - lib/stack_one/models/shared/applicationattachment_value.rb - - lib/stack_one/models/shared/content_type.rb - - lib/stack_one/models/shared/applicationattachment.rb - - lib/stack_one/models/shared/customfielddefinitionresultapimodel.rb - - lib/stack_one/models/shared/customfielddefinition_value.rb - - lib/stack_one/models/shared/customfielddefinition_type.rb - - lib/stack_one/models/shared/customfielddefinition.rb - - lib/stack_one/models/shared/atsdocumentresult.rb - - lib/stack_one/models/shared/offersresult.rb - - lib/stack_one/models/shared/offer_value.rb - - lib/stack_one/models/shared/offer_offer_status.rb - - lib/stack_one/models/shared/offer.rb - - lib/stack_one/models/shared/scheduledinterviewsresult.rb - - lib/stack_one/models/shared/scheduledinterview_interview_stage.rb - - lib/stack_one/models/shared/scheduledinterview_value.rb - - lib/stack_one/models/shared/scheduledinterview_interview_status.rb - - lib/stack_one/models/shared/scheduledinterview.rb - - lib/stack_one/models/shared/interviewer.rb - - lib/stack_one/models/shared/interviewpart_value.rb - - lib/stack_one/models/shared/interviewpart_type.rb - - lib/stack_one/models/shared/interviewpart.rb - - lib/stack_one/models/shared/scorecardsresult.rb - - lib/stack_one/models/shared/overall_recommendation.rb - - lib/stack_one/models/shared/scorecard.rb - - lib/stack_one/models/shared/scorecardsection.rb - - lib/stack_one/models/shared/field_type.rb - - lib/stack_one/models/shared/field.rb - - lib/stack_one/models/shared/assessmentspackagesresult.rb - - lib/stack_one/models/shared/assessmentspackages_value.rb - - lib/stack_one/models/shared/assessmentspackages_type.rb - - lib/stack_one/models/shared/assessmentspackages.rb - - lib/stack_one/models/shared/assessmentsresultsresult.rb - - lib/stack_one/models/shared/assessmentsresults_schemas_value.rb - - lib/stack_one/models/shared/assessmentsresults_content_type.rb - - lib/stack_one/models/shared/attachments.rb - - lib/stack_one/models/shared/assessmentsresults_candidate.rb - - lib/stack_one/models/shared/assessmentsresults_value.rb - - lib/stack_one/models/shared/result.rb - - lib/stack_one/models/shared/score.rb - - lib/stack_one/models/shared/assessmentsresults.rb - - lib/stack_one/models/shared/candidateresult.rb - - lib/stack_one/models/shared/candidate.rb - - lib/stack_one/models/shared/noteresult.rb - - lib/stack_one/models/shared/note_value.rb - - lib/stack_one/models/shared/note_visibility.rb - - lib/stack_one/models/shared/note.rb - - lib/stack_one/models/shared/departmentresult.rb - - lib/stack_one/models/shared/department.rb - - lib/stack_one/models/shared/interviewsresult.rb - - lib/stack_one/models/shared/interview_interview_stage.rb - - lib/stack_one/models/shared/interview_value.rb - - lib/stack_one/models/shared/interview_status.rb - - lib/stack_one/models/shared/interview.rb - - lib/stack_one/models/shared/interviewstageresult.rb - - lib/stack_one/models/shared/interviewstage.rb - - lib/stack_one/models/shared/jobresult.rb - - lib/stack_one/models/shared/job_confidential.rb - - lib/stack_one/models/shared/job_value.rb - - lib/stack_one/models/shared/job_status.rb - - lib/stack_one/models/shared/job.rb - - lib/stack_one/models/shared/jobhiringteam.rb - - lib/stack_one/models/shared/jobpostingresult.rb - - lib/stack_one/models/shared/jobposting_content.rb - - lib/stack_one/models/shared/jobposting_value.rb - - lib/stack_one/models/shared/jobposting_employment_contract_type.rb - - lib/stack_one/models/shared/jobposting_schemas_value.rb - - lib/stack_one/models/shared/jobposting_employment_type.rb - - lib/stack_one/models/shared/internal.rb - - lib/stack_one/models/shared/jobposting_schemas_status_value.rb - - lib/stack_one/models/shared/jobposting_status.rb - - lib/stack_one/models/shared/jobposting.rb - - lib/stack_one/models/shared/jobpostingquestionnaire.rb - - lib/stack_one/models/shared/question_value.rb - - lib/stack_one/models/shared/question_type.rb - - lib/stack_one/models/shared/question.rb - - lib/stack_one/models/shared/questionmultiplechoiceanswers.rb - - lib/stack_one/models/shared/jobpostinglocation.rb - - lib/stack_one/models/shared/jobpostingcompensation_value.rb - - lib/stack_one/models/shared/jobpostingcompensation_pay_frequency.rb - - lib/stack_one/models/shared/jobpostingcompensation_schemas_value.rb - - lib/stack_one/models/shared/jobpostingcompensation_pay_period.rb - - lib/stack_one/models/shared/jobpostingcompensation_schemas_type_value.rb - - lib/stack_one/models/shared/jobpostingcompensation_type.rb - - lib/stack_one/models/shared/jobpostingcompensation.rb - - lib/stack_one/models/shared/listresult.rb - - lib/stack_one/models/shared/list_value.rb - - lib/stack_one/models/shared/list_type.rb - - lib/stack_one/models/shared/list.rb - - lib/stack_one/models/shared/listitem.rb - - lib/stack_one/models/shared/atslocationresult.rb - - lib/stack_one/models/shared/atslocation.rb - - lib/stack_one/models/shared/rejectedreasonresult.rb - - lib/stack_one/models/shared/userresult.rb - - lib/stack_one/models/shared/lmsuser.rb - - lib/stack_one/models/shared/customfielddefinitionspaginated.rb - - lib/stack_one/models/shared/atsdocumentspaginated.rb - - lib/stack_one/models/shared/scorecardspaginated.rb - - lib/stack_one/models/shared/applicationspaginated.rb - - lib/stack_one/models/shared/offerspaginated.rb - - lib/stack_one/models/shared/scheduledinterviewspaginated.rb - - lib/stack_one/models/shared/assessmentspackagespaginated.rb - - lib/stack_one/models/shared/notespaginated.rb - - lib/stack_one/models/shared/candidatespaginated.rb - - lib/stack_one/models/shared/departmentspaginated.rb - - lib/stack_one/models/shared/interviewstagespaginated.rb - - lib/stack_one/models/shared/interviewspaginated.rb - - lib/stack_one/models/shared/jobpostingspaginated.rb - - lib/stack_one/models/shared/jobspaginated.rb - - lib/stack_one/models/shared/listspaginated.rb - - lib/stack_one/models/shared/atslocationspaginated.rb - - lib/stack_one/models/shared/rejectedreasonspaginated.rb - - lib/stack_one/models/shared/userspaginated.rb - - lib/stack_one/models/shared/updateresult.rb - - lib/stack_one/models/shared/atsupdateapplicationrequestdto_value.rb - - lib/stack_one/models/shared/atsupdateapplicationrequestdto_application_status.rb - - lib/stack_one/models/shared/atsupdateapplicationrequestdto_source.rb - - lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb - - lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb - - lib/stack_one/models/shared/writeresultapimodel.rb - - lib/stack_one/models/shared/headers.rb - - lib/stack_one/models/shared/raw.rb - - lib/stack_one/models/shared/providererrorapimodel.rb - - lib/stack_one/models/shared/unifieduploadrequestdto_category.rb - - lib/stack_one/models/shared/unifieduploadrequestdto_value.rb - - lib/stack_one/models/shared/unifieduploadrequestdto_confidential.rb - - lib/stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb - - lib/stack_one/models/shared/unifieduploadrequestdto_file_format.rb - - lib/stack_one/models/shared/unifieduploadrequestdto.rb - - lib/stack_one/models/shared/contactresult.rb - - lib/stack_one/models/shared/contact.rb - - lib/stack_one/models/shared/contactscustomfields.rb - - lib/stack_one/models/shared/crmcreatecontactrequestdto.rb - - lib/stack_one/models/shared/accountresult.rb - - lib/stack_one/models/shared/account.rb - - lib/stack_one/models/shared/accountaddress_schemas_value.rb - - lib/stack_one/models/shared/country.rb - - lib/stack_one/models/shared/accountaddress_value.rb - - lib/stack_one/models/shared/location_type.rb - - lib/stack_one/models/shared/accountaddress.rb - - lib/stack_one/models/shared/accountspaginated.rb - - lib/stack_one/models/shared/contactspaginated.rb - - lib/stack_one/models/shared/hriscreateemployeerequestdto_avatar.rb - - lib/stack_one/models/shared/hriscreateemployeerequestdto_value.rb - - lib/stack_one/models/shared/hriscreateemployeerequestdto_employment_contract_type.rb - - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_value.rb - - lib/stack_one/models/shared/hriscreateemployeerequestdto_employment_status.rb - - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb - - lib/stack_one/models/shared/hriscreateemployeerequestdto_employment_type.rb - - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_ethnicity_value.rb - - lib/stack_one/models/shared/hriscreateemployeerequestdto_ethnicity.rb - - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_gender_value.rb - - lib/stack_one/models/shared/hriscreateemployeerequestdto_gender.rb - - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_value.rb - - lib/stack_one/models/shared/hriscreateemployeerequestdto_country.rb - - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_state_value.rb - - lib/stack_one/models/shared/state.rb - - lib/stack_one/models/shared/hriscreateemployeerequestdto_home_location.rb - - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_marital_status_value.rb - - lib/stack_one/models/shared/hriscreateemployeerequestdto_marital_status.rb - - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_preferred_language_value.rb - - lib/stack_one/models/shared/hriscreateemployeerequestdto_preferred_language.rb - - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_value.rb - - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_country.rb - - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_state_value.rb - - lib/stack_one/models/shared/hriscreateemployeerequestdto_state.rb - - lib/stack_one/models/shared/hriscreateemployeerequestdto_work_location.rb - - lib/stack_one/models/shared/hriscreateemployeerequestdto.rb - - lib/stack_one/models/shared/employment_value.rb - - lib/stack_one/models/shared/employment_employment_contract_type.rb - - lib/stack_one/models/shared/employment_schemas_value.rb - - lib/stack_one/models/shared/employment_employment_type.rb - - lib/stack_one/models/shared/employment_schemas_pay_frequency_value.rb - - lib/stack_one/models/shared/pay_frequency.rb - - lib/stack_one/models/shared/employment_schemas_pay_period_value.rb - - lib/stack_one/models/shared/pay_period.rb - - lib/stack_one/models/shared/employment.rb - - lib/stack_one/models/shared/employeecustomfields.rb - - lib/stack_one/models/shared/countrycodeenum_value.rb - - lib/stack_one/models/shared/countrycodeenum.rb - - lib/stack_one/models/shared/hrisbenefit_value.rb - - lib/stack_one/models/shared/benefit_type.rb - - lib/stack_one/models/shared/hrisbenefit.rb - - lib/stack_one/models/shared/hriscreatetimeoffrequestdto_value.rb - - lib/stack_one/models/shared/hriscreatetimeoffrequestdto_status.rb - - lib/stack_one/models/shared/hriscreatetimeoffrequestdto_schemas_value.rb - - lib/stack_one/models/shared/hriscreatetimeoffrequestdto_type.rb - - lib/stack_one/models/shared/hriscreatetimeoffrequestdto.rb - - lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_category.rb - - lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_document_value.rb - - lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_file_format.rb - - lib/stack_one/models/shared/document.rb - - lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_value.rb - - lib/stack_one/models/shared/issued_by.rb - - lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_value.rb - - lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_type.rb - - lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto.rb - - lib/stack_one/models/shared/hrisbenefitresult.rb - - lib/stack_one/models/shared/companyresult.rb - - lib/stack_one/models/shared/company.rb - - lib/stack_one/models/shared/hrisdepartmentsresult.rb - - lib/stack_one/models/shared/hrisdepartment_value.rb - - lib/stack_one/models/shared/hrisdepartment_type.rb - - lib/stack_one/models/shared/hrisdepartment.rb - - lib/stack_one/models/shared/employeeresult.rb - - lib/stack_one/models/shared/avatar.rb - - lib/stack_one/models/shared/employee_company.rb - - lib/stack_one/models/shared/employee_value.rb - - lib/stack_one/models/shared/employment_contract_type.rb - - lib/stack_one/models/shared/employee_schemas_value.rb - - lib/stack_one/models/shared/employment_status.rb - - lib/stack_one/models/shared/employee_schemas_employment_type_value.rb - - lib/stack_one/models/shared/employment_type.rb - - lib/stack_one/models/shared/employee_schemas_ethnicity_value.rb - - lib/stack_one/models/shared/ethnicity.rb - - lib/stack_one/models/shared/employee_schemas_gender_value.rb - - lib/stack_one/models/shared/gender.rb - - lib/stack_one/models/shared/employee_schemas_home_location_value.rb - - lib/stack_one/models/shared/employee_country.rb - - lib/stack_one/models/shared/employee_schemas_home_location_location_type_value.rb - - lib/stack_one/models/shared/employee_location_type.rb - - lib/stack_one/models/shared/home_location.rb - - lib/stack_one/models/shared/job_description.rb - - lib/stack_one/models/shared/employee_schemas_marital_status_value.rb - - lib/stack_one/models/shared/marital_status.rb - - lib/stack_one/models/shared/employee_schemas_national_identity_number_value.rb - - lib/stack_one/models/shared/employee_type.rb - - lib/stack_one/models/shared/national_identity_number.rb - - lib/stack_one/models/shared/employee_schemas_preferred_language_value.rb - - lib/stack_one/models/shared/preferred_language.rb - - lib/stack_one/models/shared/employee_schemas_work_location_value.rb - - lib/stack_one/models/shared/employee_schemas_country.rb - - lib/stack_one/models/shared/employee_schemas_work_location_location_type_value.rb - - lib/stack_one/models/shared/employee_schemas_location_type.rb - - lib/stack_one/models/shared/work_location.rb - - lib/stack_one/models/shared/employee.rb - - lib/stack_one/models/shared/hrisgroup_value.rb - - lib/stack_one/models/shared/hrisgroup_type.rb - - lib/stack_one/models/shared/hrisgroup.rb - - lib/stack_one/models/shared/costcenters.rb - - lib/stack_one/models/shared/hrisdocumentresult.rb - - lib/stack_one/models/shared/hrisdocumentapimodel_value.rb - - lib/stack_one/models/shared/hrisdocumentapimodel_category.rb - - lib/stack_one/models/shared/hrisdocumentapimodel_schemas_value.rb - - lib/stack_one/models/shared/hrisdocumentapimodel_file_format.rb - - lib/stack_one/models/shared/hrisdocumentapimodel_schemas_type_value.rb - - lib/stack_one/models/shared/hrisdocumentapimodel_type.rb - - lib/stack_one/models/shared/hrisdocumentapimodel.rb - - lib/stack_one/models/shared/referenceresult.rb - - lib/stack_one/models/shared/reference.rb - - lib/stack_one/models/shared/employmentresult.rb - - lib/stack_one/models/shared/timeoffresult.rb - - lib/stack_one/models/shared/timeoff_value.rb - - lib/stack_one/models/shared/timeoff_status.rb - - lib/stack_one/models/shared/timeoff_schemas_value.rb - - lib/stack_one/models/shared/timeoff_type.rb - - lib/stack_one/models/shared/timeoff.rb - - lib/stack_one/models/shared/workeligibilityresult.rb - - lib/stack_one/models/shared/workeligibility_category.rb - - lib/stack_one/models/shared/workeligibility_schemas_document_value.rb - - lib/stack_one/models/shared/workeligibility_file_format.rb - - lib/stack_one/models/shared/workeligibility_document.rb - - lib/stack_one/models/shared/workeligibility_value.rb - - lib/stack_one/models/shared/workeligibility_issued_by.rb - - lib/stack_one/models/shared/workeligibility_schemas_value.rb - - lib/stack_one/models/shared/workeligibility_type.rb - - lib/stack_one/models/shared/workeligibility.rb - - lib/stack_one/models/shared/hrisgroupsresult.rb - - lib/stack_one/models/shared/hrislocationresult.rb - - lib/stack_one/models/shared/hrislocation_value.rb - - lib/stack_one/models/shared/hrislocation_country.rb - - lib/stack_one/models/shared/hrislocation_schemas_value.rb - - lib/stack_one/models/shared/hrislocation_location_type.rb - - lib/stack_one/models/shared/hrislocation.rb - - lib/stack_one/models/shared/hrisbenefitspaginated.rb - - lib/stack_one/models/shared/companiespaginated.rb - - lib/stack_one/models/shared/hrisdepartmentspaginated.rb - - lib/stack_one/models/shared/referencepaginated.rb - - lib/stack_one/models/shared/hrisdocumentspaginated.rb - - lib/stack_one/models/shared/employmentspaginated.rb - - lib/stack_one/models/shared/timeoffpaginated.rb - - lib/stack_one/models/shared/workeligibilitypaginated.rb - - lib/stack_one/models/shared/employeespaginated.rb - - lib/stack_one/models/shared/hrisgroupspaginated.rb - - lib/stack_one/models/shared/hrislocationspaginated.rb - - lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_value.rb - - lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_category.rb - - lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_value.rb - - lib/stack_one/models/shared/confidential.rb - - lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_file_format_value.rb - - lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_file_format.rb - - lib/stack_one/models/shared/hrisdocumentsuploadrequestdto.rb - - lib/stack_one/models/shared/iamgroupresult.rb - - lib/stack_one/models/shared/iamgroup_value.rb - - lib/stack_one/models/shared/iamgroup_type.rb - - lib/stack_one/models/shared/iamgroup.rb - - lib/stack_one/models/shared/iamrole_value.rb - - lib/stack_one/models/shared/iamrole_type.rb - - lib/stack_one/models/shared/iamrole.rb - - lib/stack_one/models/shared/iampolicy.rb - - lib/stack_one/models/shared/iampermission_value.rb - - lib/stack_one/models/shared/iampermission_type.rb - - lib/stack_one/models/shared/iampermission.rb - - lib/stack_one/models/shared/iamresource_value.rb - - lib/stack_one/models/shared/iamresource_type.rb - - lib/stack_one/models/shared/iamresource.rb - - lib/stack_one/models/shared/iampolicyresult.rb - - lib/stack_one/models/shared/iamroleresult.rb - - lib/stack_one/models/shared/iamuserresult.rb - - lib/stack_one/models/shared/iamuser_category.rb - - lib/stack_one/models/shared/iamuser_schemas_value.rb - - lib/stack_one/models/shared/iamuser_file_format.rb - - lib/stack_one/models/shared/iamuser_avatar.rb - - lib/stack_one/models/shared/iamuser_value.rb - - lib/stack_one/models/shared/iamuser_status.rb - - lib/stack_one/models/shared/iamuser.rb - - lib/stack_one/models/shared/iammfatypeenum_value.rb - - lib/stack_one/models/shared/iammfatypeenum.rb - - lib/stack_one/models/shared/iamgroupspaginated.rb - - lib/stack_one/models/shared/iampoliciespaginated.rb - - lib/stack_one/models/shared/iamrolespaginated.rb - - lib/stack_one/models/shared/iamuserspaginated.rb - - lib/stack_one/models/shared/lmscreatecompletionrequestdto_value.rb - - lib/stack_one/models/shared/lmscreatecompletionrequestdto_result.rb - - lib/stack_one/models/shared/lmscreatecompletionrequestdto.rb - - lib/stack_one/models/shared/lmscreatecontentrequestdto_value.rb - - lib/stack_one/models/shared/lmscreatecontentrequestdto_content_type.rb - - lib/stack_one/models/shared/lmscreatecontentrequestdto.rb - - lib/stack_one/models/shared/contentlanguageenum_value.rb - - lib/stack_one/models/shared/contentlanguageenum.rb - - lib/stack_one/models/shared/createcategoriesapimodel.rb - - lib/stack_one/models/shared/assignmentresult.rb - - lib/stack_one/models/shared/assignment.rb - - lib/stack_one/models/shared/value.rb - - lib/stack_one/models/shared/assignmentstatusenum.rb - - lib/stack_one/models/shared/categoryresult.rb - - lib/stack_one/models/shared/category.rb - - lib/stack_one/models/shared/contentresult.rb - - lib/stack_one/models/shared/courseresult.rb - - lib/stack_one/models/shared/course_value.rb - - lib/stack_one/models/shared/active.rb - - lib/stack_one/models/shared/course_schemas_value.rb - - lib/stack_one/models/shared/course_type.rb - - lib/stack_one/models/shared/course.rb - - lib/stack_one/models/shared/skills.rb - - lib/stack_one/models/shared/assignmentspaginated.rb - - lib/stack_one/models/shared/categoriespaginated.rb - - lib/stack_one/models/shared/completionspaginated.rb - - lib/stack_one/models/shared/completion_value.rb - - lib/stack_one/models/shared/completion_result.rb - - lib/stack_one/models/shared/completion.rb - - lib/stack_one/models/shared/contentpaginated.rb - - lib/stack_one/models/shared/coursepaginated.rb - - lib/stack_one/models/shared/lmsupsertcontentrequestdto_value.rb - - lib/stack_one/models/shared/lmsupsertcontentrequestdto_content_type.rb - - lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb - - lib/stack_one/models/shared/marketingcreatecontentblocksrequestdto.rb - - lib/stack_one/models/shared/marketingcreateemailtemplaterequestdto.rb - - lib/stack_one/models/shared/message_content.rb - - lib/stack_one/models/shared/emailmessages_value.rb - - lib/stack_one/models/shared/message_type.rb - - lib/stack_one/models/shared/emailmessages.rb - - lib/stack_one/models/shared/marketingcreateinapptemplaterequestdto.rb - - lib/stack_one/models/shared/inappmessages_message_content.rb - - lib/stack_one/models/shared/inappmessages_value.rb - - lib/stack_one/models/shared/inappmessages_message_type.rb - - lib/stack_one/models/shared/inappmessages.rb - - lib/stack_one/models/shared/marketingcreatetemplaterequestdto.rb - - lib/stack_one/models/shared/message_value.rb - - lib/stack_one/models/shared/message_message_type.rb - - lib/stack_one/models/shared/message.rb - - lib/stack_one/models/shared/marketingcreatepushtemplaterequestdto.rb - - lib/stack_one/models/shared/pushmessages_message_content.rb - - lib/stack_one/models/shared/pushmessages_value.rb - - lib/stack_one/models/shared/pushmessages_message_type.rb - - lib/stack_one/models/shared/pushmessages.rb - - lib/stack_one/models/shared/marketingcreatesmstemplaterequestdto.rb - - lib/stack_one/models/shared/smsmessages_message_content.rb - - lib/stack_one/models/shared/smsmessages_value.rb - - lib/stack_one/models/shared/smsmessages_message_type.rb - - lib/stack_one/models/shared/smsmessages.rb - - lib/stack_one/models/shared/campaignresult.rb - - lib/stack_one/models/shared/campaign_value.rb - - lib/stack_one/models/shared/schedule_type.rb - - lib/stack_one/models/shared/campaign_schemas_value.rb - - lib/stack_one/models/shared/status.rb - - lib/stack_one/models/shared/campaign.rb - - lib/stack_one/models/shared/channelsenum_value.rb - - lib/stack_one/models/shared/channelsenum.rb - - lib/stack_one/models/shared/contentblockspaginated.rb - - lib/stack_one/models/shared/contentblock_value.rb - - lib/stack_one/models/shared/contentblock_status.rb - - lib/stack_one/models/shared/contentblock_schemas_value.rb - - lib/stack_one/models/shared/contentblock_type.rb - - lib/stack_one/models/shared/contentblock.rb - - lib/stack_one/models/shared/templateresult.rb - - lib/stack_one/models/shared/template.rb - - lib/stack_one/models/shared/campaignspaginated.rb - - lib/stack_one/models/shared/templatespaginated.rb - - lib/stack_one/models/shared/method.rb - - lib/stack_one/models/shared/proxyrequestbody.rb - - lib/stack_one/models/shared/security.rb - - lib/stackone_client.rb - - lib/stack_one/models/operations.rb - - lib/stack_one/models/shared.rb - - docs/models/operations/stackonedeleteaccountrequest.md - - docs/models/operations/stackonedeleteaccountresponse.md - - docs/models/operations/stackonegetaccountrequest.md - - docs/models/operations/stackonegetaccountresponse.md - - docs/models/operations/stackonegetaccountmetainforequest.md - - docs/models/operations/stackonegetaccountmetainforesponse.md - - docs/models/operations/stackonelistlinkedaccountsrequest.md - - docs/models/operations/stackonelistlinkedaccountsresponse.md - - docs/models/operations/stackoneupdateaccountrequest.md - - docs/models/operations/stackoneupdateaccountresponse.md - - docs/models/operations/stackoneauthenticateconnectsessionresponse.md - - docs/models/operations/stackonecreateconnectsessionresponse.md - - docs/models/operations/stackonegetconnectormetarequest.md - - docs/models/operations/stackonegetconnectormetaresponse.md - - docs/models/operations/stackonelistconnectorsmetarequest.md - - docs/models/operations/stackonelistconnectorsmetaresponse.md + - USAGE.md - docs/models/operations/atscreateapplicationrequest.md - docs/models/operations/atscreateapplicationresponse.md - - docs/models/operations/atscreatecandidaterequest.md - - docs/models/operations/atscreatecandidateresponse.md - docs/models/operations/atscreatecandidatenoterequest.md - docs/models/operations/atscreatecandidatenoteresponse.md + - docs/models/operations/atscreatecandidaterequest.md + - docs/models/operations/atscreatecandidateresponse.md - docs/models/operations/atscreateofferrequest.md - docs/models/operations/atscreateofferresponse.md - docs/models/operations/atsdownloadapplicationdocumentrequest.md - docs/models/operations/atsdownloadapplicationdocumentresponse.md - - docs/models/operations/atsgetapplicationrequest.md - - docs/models/operations/atsgetapplicationresponse.md - - docs/models/operations/filter.md - docs/models/operations/atsgetapplicationcustomfielddefinitionrequest.md - docs/models/operations/atsgetapplicationcustomfielddefinitionresponse.md - docs/models/operations/atsgetapplicationdocumentrequest.md - docs/models/operations/atsgetapplicationdocumentresponse.md - docs/models/operations/atsgetapplicationofferrequest.md - docs/models/operations/atsgetapplicationofferresponse.md + - docs/models/operations/atsgetapplicationrequest.md + - docs/models/operations/atsgetapplicationresponse.md - docs/models/operations/atsgetapplicationscheduledinterviewrequest.md - docs/models/operations/atsgetapplicationscheduledinterviewresponse.md - docs/models/operations/atsgetapplicationscorecardrequest.md @@ -964,23 +57,25 @@ generatedFiles: - docs/models/operations/atsgetassessmentsrequestresponse.md - docs/models/operations/atsgetassessmentsresultrequest.md - docs/models/operations/atsgetassessmentsresultresponse.md - - docs/models/operations/atsgetcandidaterequest.md - - docs/models/operations/atsgetcandidateresponse.md - - docs/models/operations/queryparamfilter.md - docs/models/operations/atsgetcandidatecustomfielddefinitionrequest.md - docs/models/operations/atsgetcandidatecustomfielddefinitionresponse.md - docs/models/operations/atsgetcandidatenoterequest.md - docs/models/operations/atsgetcandidatenoteresponse.md + - docs/models/operations/atsgetcandidaterequest.md + - docs/models/operations/atsgetcandidateresponse.md - docs/models/operations/atsgetdepartmentrequest.md - docs/models/operations/atsgetdepartmentresponse.md - docs/models/operations/atsgetinterviewrequest.md - docs/models/operations/atsgetinterviewresponse.md - docs/models/operations/atsgetinterviewstagerequest.md - docs/models/operations/atsgetinterviewstageresponse.md - - docs/models/operations/atsgetjobrequest.md - - docs/models/operations/atsgetjobresponse.md + - docs/models/operations/atsgetjobcustomfielddefinitionqueryparamfilter.md + - docs/models/operations/atsgetjobcustomfielddefinitionrequest.md + - docs/models/operations/atsgetjobcustomfielddefinitionresponse.md - docs/models/operations/atsgetjobpostingrequest.md - docs/models/operations/atsgetjobpostingresponse.md + - docs/models/operations/atsgetjobrequest.md + - docs/models/operations/atsgetjobresponse.md - docs/models/operations/atsgetlistrequest.md - docs/models/operations/atsgetlistresponse.md - docs/models/operations/atsgetlocationrequest.md @@ -1000,12 +95,12 @@ generatedFiles: - docs/models/operations/atslistapplicationscorecardsqueryparamfilter.md - docs/models/operations/atslistapplicationscorecardsrequest.md - docs/models/operations/atslistapplicationscorecardsresponse.md - - docs/models/operations/atslistapplicationsqueryparamfilter.md - - docs/models/operations/atslistapplicationsrequest.md - - docs/models/operations/atslistapplicationsresponse.md - docs/models/operations/atslistapplicationsoffersqueryparamfilter.md - docs/models/operations/atslistapplicationsoffersrequest.md - docs/models/operations/atslistapplicationsoffersresponse.md + - docs/models/operations/atslistapplicationsqueryparamfilter.md + - docs/models/operations/atslistapplicationsrequest.md + - docs/models/operations/atslistapplicationsresponse.md - docs/models/operations/atslistapplicationsscheduledinterviewsqueryparamfilter.md - docs/models/operations/atslistapplicationsscheduledinterviewsrequest.md - docs/models/operations/atslistapplicationsscheduledinterviewsresponse.md @@ -1024,12 +119,15 @@ generatedFiles: - docs/models/operations/atslistdepartmentsqueryparamfilter.md - docs/models/operations/atslistdepartmentsrequest.md - docs/models/operations/atslistdepartmentsresponse.md - - docs/models/operations/atslistinterviewstagesqueryparamfilter.md - - docs/models/operations/atslistinterviewstagesrequest.md - - docs/models/operations/atslistinterviewstagesresponse.md - docs/models/operations/atslistinterviewsqueryparamfilter.md - docs/models/operations/atslistinterviewsrequest.md - docs/models/operations/atslistinterviewsresponse.md + - docs/models/operations/atslistinterviewstagesqueryparamfilter.md + - docs/models/operations/atslistinterviewstagesrequest.md + - docs/models/operations/atslistinterviewstagesresponse.md + - docs/models/operations/atslistjobcustomfielddefinitionsqueryparamfilter.md + - docs/models/operations/atslistjobcustomfielddefinitionsrequest.md + - docs/models/operations/atslistjobcustomfielddefinitionsresponse.md - docs/models/operations/atslistjobpostingsqueryparamfilter.md - docs/models/operations/atslistjobpostingsrequest.md - docs/models/operations/atslistjobpostingsresponse.md @@ -1051,6 +149,10 @@ generatedFiles: - docs/models/operations/atslistusersqueryparamfilter.md - docs/models/operations/atslistusersrequest.md - docs/models/operations/atslistusersresponse.md + - docs/models/operations/atsmoveapplicationrequest.md + - docs/models/operations/atsmoveapplicationresponse.md + - docs/models/operations/atsrejectapplicationrequest.md + - docs/models/operations/atsrejectapplicationresponse.md - docs/models/operations/atsupdateapplicationrequest.md - docs/models/operations/atsupdateapplicationresponse.md - docs/models/operations/atsupdatecandidaterequest.md @@ -1076,6 +178,9 @@ generatedFiles: - docs/models/operations/crmlistlistsresponse.md - docs/models/operations/crmupdatecontactrequest.md - docs/models/operations/crmupdatecontactresponse.md + - docs/models/operations/filter.md + - docs/models/operations/hrisbatchuploademployeedocumentrequest.md + - docs/models/operations/hrisbatchuploademployeedocumentresponse.md - docs/models/operations/hriscreateemployeerequest.md - docs/models/operations/hriscreateemployeeresponse.md - docs/models/operations/hriscreateemployeetimeoffrequestrequest.md @@ -1092,14 +197,14 @@ generatedFiles: - docs/models/operations/hrisgetcompanyresponse.md - docs/models/operations/hrisgetdepartmentgrouprequest.md - docs/models/operations/hrisgetdepartmentgroupresponse.md - - docs/models/operations/hrisgetemployeerequest.md - - docs/models/operations/hrisgetemployeeresponse.md - - docs/models/operations/hrisgetemployeedocumentrequest.md - - docs/models/operations/hrisgetemployeedocumentresponse.md - docs/models/operations/hrisgetemployeedocumentcategoryrequest.md - docs/models/operations/hrisgetemployeedocumentcategoryresponse.md + - docs/models/operations/hrisgetemployeedocumentrequest.md + - docs/models/operations/hrisgetemployeedocumentresponse.md - docs/models/operations/hrisgetemployeeemploymentrequest.md - docs/models/operations/hrisgetemployeeemploymentresponse.md + - docs/models/operations/hrisgetemployeerequest.md + - docs/models/operations/hrisgetemployeeresponse.md - docs/models/operations/hrisgetemployeestimeoffrequestrequest.md - docs/models/operations/hrisgetemployeestimeoffrequestresponse.md - docs/models/operations/hrisgetemployeesworkeligibilityrequest.md @@ -1132,15 +237,15 @@ generatedFiles: - docs/models/operations/hrislistemployeeemploymentsqueryparamfilter.md - docs/models/operations/hrislistemployeeemploymentsrequest.md - docs/models/operations/hrislistemployeeemploymentsresponse.md + - docs/models/operations/hrislistemployeesqueryparamfilter.md + - docs/models/operations/hrislistemployeesrequest.md + - docs/models/operations/hrislistemployeesresponse.md - docs/models/operations/hrislistemployeetimeoffrequestsqueryparamfilter.md - docs/models/operations/hrislistemployeetimeoffrequestsrequest.md - docs/models/operations/hrislistemployeetimeoffrequestsresponse.md - docs/models/operations/hrislistemployeeworkeligibilityqueryparamfilter.md - docs/models/operations/hrislistemployeeworkeligibilityrequest.md - docs/models/operations/hrislistemployeeworkeligibilityresponse.md - - docs/models/operations/hrislistemployeesqueryparamfilter.md - - docs/models/operations/hrislistemployeesrequest.md - - docs/models/operations/hrislistemployeesresponse.md - docs/models/operations/hrislistemploymentsqueryparamfilter.md - docs/models/operations/hrislistemploymentsrequest.md - docs/models/operations/hrislistemploymentsresponse.md @@ -1184,18 +289,28 @@ generatedFiles: - docs/models/operations/iamlistusersqueryparamfilter.md - docs/models/operations/iamlistusersrequest.md - docs/models/operations/iamlistusersresponse.md - - docs/models/operations/lmscreatecompletionrequest.md - - docs/models/operations/lmscreatecompletionresponse.md + - docs/models/operations/lmsbatchupsertcontentrequest.md + - docs/models/operations/lmsbatchupsertcontentresponse.md - docs/models/operations/lmscreatecontentrequest.md - docs/models/operations/lmscreatecontentresponse.md + - docs/models/operations/lmscreateusercompletionrequest.md + - docs/models/operations/lmscreateusercompletionresponse.md - docs/models/operations/lmsgetassignmentrequest.md - docs/models/operations/lmsgetassignmentresponse.md - docs/models/operations/lmsgetcategoryrequest.md - docs/models/operations/lmsgetcategoryresponse.md + - docs/models/operations/lmsgetcompletionrequest.md + - docs/models/operations/lmsgetcompletionresponse.md - docs/models/operations/lmsgetcontentrequest.md - docs/models/operations/lmsgetcontentresponse.md - docs/models/operations/lmsgetcourserequest.md - docs/models/operations/lmsgetcourseresponse.md + - docs/models/operations/lmsgetskillrequest.md + - docs/models/operations/lmsgetskillresponse.md + - docs/models/operations/lmsgetuserassignmentrequest.md + - docs/models/operations/lmsgetuserassignmentresponse.md + - docs/models/operations/lmsgetusercompletionrequest.md + - docs/models/operations/lmsgetusercompletionresponse.md - docs/models/operations/lmsgetuserrequest.md - docs/models/operations/lmsgetuserresponse.md - docs/models/operations/lmslistassignmentsqueryparamfilter.md @@ -1213,6 +328,15 @@ generatedFiles: - docs/models/operations/lmslistcoursesqueryparamfilter.md - docs/models/operations/lmslistcoursesrequest.md - docs/models/operations/lmslistcoursesresponse.md + - docs/models/operations/lmslistskillsqueryparamfilter.md + - docs/models/operations/lmslistskillsrequest.md + - docs/models/operations/lmslistskillsresponse.md + - docs/models/operations/lmslistuserassignmentsqueryparamfilter.md + - docs/models/operations/lmslistuserassignmentsrequest.md + - docs/models/operations/lmslistuserassignmentsresponse.md + - docs/models/operations/lmslistusercompletionsqueryparamfilter.md + - docs/models/operations/lmslistusercompletionsrequest.md + - docs/models/operations/lmslistusercompletionsresponse.md - docs/models/operations/lmslistusersqueryparamfilter.md - docs/models/operations/lmslistusersrequest.md - docs/models/operations/lmslistusersresponse.md @@ -1279,491 +403,3466 @@ generatedFiles: - docs/models/operations/marketingupdatepushtemplateresponse.md - docs/models/operations/marketingupdatesmstemplaterequest.md - docs/models/operations/marketingupdatesmstemplateresponse.md + - docs/models/operations/queryparamfilter.md + - docs/models/operations/stackoneauthenticateconnectsessionresponse.md + - docs/models/operations/stackonecreateconnectsessionresponse.md + - docs/models/operations/stackonedeleteaccountrequest.md + - docs/models/operations/stackonedeleteaccountresponse.md + - docs/models/operations/stackonegetaccountmetainforequest.md + - docs/models/operations/stackonegetaccountmetainforesponse.md + - docs/models/operations/stackonegetaccountrequest.md + - docs/models/operations/stackonegetaccountresponse.md + - docs/models/operations/stackonegetconnectormetarequest.md + - docs/models/operations/stackonegetconnectormetaresponse.md + - docs/models/operations/stackonelistconnectorsmetarequest.md + - docs/models/operations/stackonelistconnectorsmetaresponse.md + - docs/models/operations/stackonelistlinkedaccountsrequest.md + - docs/models/operations/stackonelistlinkedaccountsresponse.md - docs/models/operations/stackoneproxyrequestrequest.md - docs/models/operations/stackoneproxyrequestresponse.md - - docs/models/shared/credentials.md - - docs/models/shared/setupinformation.md - - docs/models/shared/linkedaccountstatus.md - - docs/models/shared/linkedaccount.md - - docs/models/shared/statusreason.md - - docs/models/shared/linkedaccountmetacategory.md - - docs/models/shared/linkedaccountmeta.md - - docs/models/shared/patchaccountexternaldtocredentials.md - - docs/models/shared/label.md - - docs/models/shared/secrets.md - - docs/models/shared/patchaccountexternaldtosetupinformation.md - - docs/models/shared/patchaccountexternaldto.md - - docs/models/shared/categories.md - - docs/models/shared/connectsession.md - - docs/models/shared/connectsessionauthenticate.md - - docs/models/shared/connectsessiontokencategories.md - - docs/models/shared/connectsessiontoken.md - - docs/models/shared/connectsessioncreatecategories.md - - docs/models/shared/metadata.md - - docs/models/shared/connectsessioncreate.md - - docs/models/shared/connectorsmetacategory.md - - docs/models/shared/images.md - - docs/models/shared/resources.md - - docs/models/shared/connectorsmeta.md - - docs/models/shared/createresult.md - - docs/models/shared/createresultdataapimodel.md - - docs/models/shared/atscreateapplicationrequestdtovalue.md - - docs/models/shared/atscreateapplicationrequestdtoapplicationstatus.md - - docs/models/shared/atscreateapplicationrequestdtocandidate.md - - docs/models/shared/atscreateapplicationrequestdtosource.md - - docs/models/shared/atscreateapplicationrequestdto.md - - docs/models/shared/questionnaire.md - - docs/models/shared/answervalue.md - - docs/models/shared/type.md + - docs/models/operations/stackoneupdateaccountrequest.md + - docs/models/operations/stackoneupdateaccountresponse.md + - docs/models/shared/account.md + - docs/models/shared/accountaddress.md + - docs/models/shared/accountaddressschemasvalue.md + - docs/models/shared/accountaddressvalue.md + - docs/models/shared/accountresult.md + - docs/models/shared/accountspaginated.md + - docs/models/shared/active.md - docs/models/shared/answer.md - - docs/models/shared/sociallink.md - - docs/models/shared/candidatecustomfields.md - - docs/models/shared/atscreatecandidaterequestdto.md - - docs/models/shared/atscreatenotesrequestdtovalue.md - - docs/models/shared/visibility.md - - docs/models/shared/atscreatenotesrequestdto.md - - docs/models/shared/notecontentapimodel.md - - docs/models/shared/atscreateofferrequestdtovalue.md - - docs/models/shared/offerstatus.md - - docs/models/shared/atscreateofferrequestdto.md - - docs/models/shared/offerhistory.md - - docs/models/shared/applicationresult.md - - docs/models/shared/rawresponse.md - - docs/models/shared/applicationvalue.md - - docs/models/shared/applicationstatus.md - - docs/models/shared/applicationcandidate.md - - docs/models/shared/applicationinterviewstage.md - - docs/models/shared/source.md + - docs/models/shared/answervalue.md - docs/models/shared/application.md - - docs/models/shared/resultlink.md - - docs/models/shared/rejectedreasonvalue.md - - docs/models/shared/rejectedreasontype.md - - docs/models/shared/rejectedreason.md - - docs/models/shared/atsdocumentapimodelcategory.md - - docs/models/shared/atsdocumentapimodelvalue.md - - docs/models/shared/fileformat.md - - docs/models/shared/atsdocumentapimodelschemasvalue.md - - docs/models/shared/atsdocumentapimodeltype.md - - docs/models/shared/atsdocumentapimodel.md - - docs/models/shared/contentvalue.md - - docs/models/shared/contentfileformat.md - - docs/models/shared/content.md - - docs/models/shared/applicationcustomfields.md - - docs/models/shared/phonenumbertype.md - - docs/models/shared/phonenumber.md - - docs/models/shared/candidateemail.md - - docs/models/shared/applicationattachmentvalue.md - - docs/models/shared/contenttype.md - docs/models/shared/applicationattachment.md - - docs/models/shared/customfielddefinitionresultapimodel.md - - docs/models/shared/customfielddefinitionvalue.md - - docs/models/shared/customfielddefinitiontype.md - - docs/models/shared/customfielddefinition.md - - docs/models/shared/atsdocumentresult.md - - docs/models/shared/offersresult.md - - docs/models/shared/offervalue.md - - docs/models/shared/offerofferstatus.md - - docs/models/shared/offer.md - - docs/models/shared/scheduledinterviewsresult.md - - docs/models/shared/scheduledinterviewinterviewstage.md - - docs/models/shared/scheduledinterviewvalue.md - - docs/models/shared/scheduledinterviewinterviewstatus.md - - docs/models/shared/scheduledinterview.md - - docs/models/shared/interviewer.md - - docs/models/shared/interviewpartvalue.md - - docs/models/shared/interviewparttype.md - - docs/models/shared/interviewpart.md - - docs/models/shared/scorecardsresult.md - - docs/models/shared/overallrecommendation.md - - docs/models/shared/scorecard.md - - docs/models/shared/scorecardsection.md - - docs/models/shared/fieldtype.md - - docs/models/shared/field.md + - docs/models/shared/applicationattachmentvalue.md + - docs/models/shared/applicationcandidate.md + - docs/models/shared/applicationcustomfields.md + - docs/models/shared/applicationinterviewstage.md + - docs/models/shared/applicationresult.md + - docs/models/shared/applicationspaginated.md + - docs/models/shared/applicationstatus.md + - docs/models/shared/applicationvalue.md + - docs/models/shared/assessmentspackages.md + - docs/models/shared/assessmentspackagespaginated.md - docs/models/shared/assessmentspackagesresult.md - - docs/models/shared/assessmentspackagesvalue.md - docs/models/shared/assessmentspackagestype.md - - docs/models/shared/assessmentspackages.md + - docs/models/shared/assessmentspackagesvalue.md + - docs/models/shared/assessmentsresults.md + - docs/models/shared/assessmentsresultscandidate.md + - docs/models/shared/assessmentsresultscontenttype.md - docs/models/shared/assessmentsresultsresult.md - docs/models/shared/assessmentsresultsschemasvalue.md - - docs/models/shared/assessmentsresultscontenttype.md - - docs/models/shared/attachments.md - - docs/models/shared/assessmentsresultscandidate.md - docs/models/shared/assessmentsresultsvalue.md - - docs/models/shared/result.md - - docs/models/shared/score.md - - docs/models/shared/assessmentsresults.md - - docs/models/shared/candidateresult.md - - docs/models/shared/candidate.md - - docs/models/shared/noteresult.md - - docs/models/shared/notevalue.md - - docs/models/shared/notevisibility.md - - docs/models/shared/note.md - - docs/models/shared/departmentresult.md - - docs/models/shared/department.md - - docs/models/shared/interviewsresult.md - - docs/models/shared/interviewinterviewstage.md - - docs/models/shared/interviewvalue.md - - docs/models/shared/interviewstatus.md - - docs/models/shared/interview.md - - docs/models/shared/interviewstageresult.md - - docs/models/shared/interviewstage.md - - docs/models/shared/jobresult.md - - docs/models/shared/jobconfidential.md - - docs/models/shared/jobvalue.md - - docs/models/shared/jobstatus.md - - docs/models/shared/job.md - - docs/models/shared/jobhiringteam.md - - docs/models/shared/jobpostingresult.md - - docs/models/shared/jobpostingcontent.md - - docs/models/shared/jobpostingvalue.md - - docs/models/shared/jobpostingemploymentcontracttype.md - - docs/models/shared/jobpostingschemasvalue.md - - docs/models/shared/jobpostingemploymenttype.md - - docs/models/shared/internal.md - - docs/models/shared/jobpostingschemasstatusvalue.md - - docs/models/shared/jobpostingstatus.md - - docs/models/shared/jobposting.md - - docs/models/shared/jobpostingquestionnaire.md - - docs/models/shared/questionvalue.md - - docs/models/shared/questiontype.md - - docs/models/shared/question.md - - docs/models/shared/questionmultiplechoiceanswers.md - - docs/models/shared/jobpostinglocation.md - - docs/models/shared/jobpostingcompensationvalue.md - - docs/models/shared/jobpostingcompensationpayfrequency.md - - docs/models/shared/jobpostingcompensationschemasvalue.md - - docs/models/shared/jobpostingcompensationpayperiod.md - - docs/models/shared/jobpostingcompensationschemastypevalue.md - - docs/models/shared/jobpostingcompensationtype.md - - docs/models/shared/jobpostingcompensation.md - - docs/models/shared/listresult.md - - docs/models/shared/listvalue.md - - docs/models/shared/listtype.md - - docs/models/shared/list.md - - docs/models/shared/listitem.md - - docs/models/shared/atslocationresult.md - - docs/models/shared/atslocation.md - - docs/models/shared/rejectedreasonresult.md - - docs/models/shared/userresult.md - - docs/models/shared/lmsuser.md - - docs/models/shared/customfielddefinitionspaginated.md + - docs/models/shared/assignment.md + - docs/models/shared/assignmentresult.md + - docs/models/shared/assignmentspaginated.md + - docs/models/shared/assignmentstatusenum.md + - docs/models/shared/atscreateapplicationrequestdto.md + - docs/models/shared/atscreateapplicationrequestdtoapplicationstatus.md + - docs/models/shared/atscreateapplicationrequestdtocandidate.md + - docs/models/shared/atscreateapplicationrequestdtosource.md + - docs/models/shared/atscreateapplicationrequestdtovalue.md + - docs/models/shared/atscreatecandidaterequestdto.md + - docs/models/shared/atscreatenotesrequestdto.md + - docs/models/shared/atscreatenotesrequestdtovalue.md + - docs/models/shared/atscreateofferrequestdto.md + - docs/models/shared/atscreateofferrequestdtovalue.md + - docs/models/shared/atsdocumentapimodel.md + - docs/models/shared/atsdocumentapimodelcategory.md + - docs/models/shared/atsdocumentapimodelschemasvalue.md + - docs/models/shared/atsdocumentapimodeltype.md + - docs/models/shared/atsdocumentapimodelvalue.md + - docs/models/shared/atsdocumentresult.md - docs/models/shared/atsdocumentspaginated.md - - docs/models/shared/scorecardspaginated.md - - docs/models/shared/applicationspaginated.md - - docs/models/shared/offerspaginated.md - - docs/models/shared/scheduledinterviewspaginated.md - - docs/models/shared/assessmentspackagespaginated.md - - docs/models/shared/notespaginated.md - - docs/models/shared/candidatespaginated.md - - docs/models/shared/departmentspaginated.md - - docs/models/shared/interviewstagespaginated.md - - docs/models/shared/interviewspaginated.md - - docs/models/shared/jobpostingspaginated.md - - docs/models/shared/jobspaginated.md - - docs/models/shared/listspaginated.md + - docs/models/shared/atslocation.md + - docs/models/shared/atslocationresult.md - docs/models/shared/atslocationspaginated.md - - docs/models/shared/rejectedreasonspaginated.md - - docs/models/shared/userspaginated.md - - docs/models/shared/updateresult.md - - docs/models/shared/atsupdateapplicationrequestdtovalue.md + - docs/models/shared/atsmoveapplicationrequestdto.md + - docs/models/shared/atsrejectapplicationrequestdto.md + - docs/models/shared/atsupdateapplicationrequestdto.md - docs/models/shared/atsupdateapplicationrequestdtoapplicationstatus.md - docs/models/shared/atsupdateapplicationrequestdtosource.md - - docs/models/shared/atsupdateapplicationrequestdto.md + - docs/models/shared/atsupdateapplicationrequestdtovalue.md - docs/models/shared/atsupdatecandidaterequestdto.md - - docs/models/shared/writeresultapimodel.md - - docs/models/shared/headers.md - - docs/models/shared/raw.md - - docs/models/shared/providererrorapimodel.md - - docs/models/shared/unifieduploadrequestdtocategory.md - - docs/models/shared/unifieduploadrequestdtovalue.md - - docs/models/shared/unifieduploadrequestdtoconfidential.md - - docs/models/shared/unifieduploadrequestdtoschemasvalue.md - - docs/models/shared/unifieduploadrequestdtofileformat.md - - docs/models/shared/unifieduploadrequestdto.md - - docs/models/shared/contactresult.md + - docs/models/shared/attachments.md + - docs/models/shared/avatar.md + - docs/models/shared/batchresultapimodel.md + - docs/models/shared/benefittype.md + - docs/models/shared/campaign.md + - docs/models/shared/campaignresult.md + - docs/models/shared/campaignschemasvalue.md + - docs/models/shared/campaignspaginated.md + - docs/models/shared/campaignvalue.md + - docs/models/shared/candidate.md + - docs/models/shared/candidatecustomfields.md + - docs/models/shared/candidateemail.md + - docs/models/shared/candidateresult.md + - docs/models/shared/candidatespaginated.md + - docs/models/shared/categories.md + - docs/models/shared/categoriespaginated.md + - docs/models/shared/category.md + - docs/models/shared/categoryresult.md + - docs/models/shared/channelsenum.md + - docs/models/shared/channelsenumvalue.md + - docs/models/shared/companiespaginated.md + - docs/models/shared/company.md + - docs/models/shared/companyresult.md + - docs/models/shared/completion.md + - docs/models/shared/completionresult.md + - docs/models/shared/completionschemasresult.md + - docs/models/shared/completionspaginated.md + - docs/models/shared/completionvalue.md + - docs/models/shared/confidential.md + - docs/models/shared/connectorsmeta.md + - docs/models/shared/connectorsmetacategory.md + - docs/models/shared/connectsession.md + - docs/models/shared/connectsessionauthenticate.md + - docs/models/shared/connectsessioncreate.md + - docs/models/shared/connectsessioncreatecategories.md + - docs/models/shared/connectsessiontoken.md + - docs/models/shared/connectsessiontokencategories.md - docs/models/shared/contact.md + - docs/models/shared/contactresult.md - docs/models/shared/contactscustomfields.md - - docs/models/shared/crmcreatecontactrequestdto.md - - docs/models/shared/accountresult.md - - docs/models/shared/account.md - - docs/models/shared/accountaddressschemasvalue.md - - docs/models/shared/country.md - - docs/models/shared/accountaddressvalue.md - - docs/models/shared/locationtype.md - - docs/models/shared/accountaddress.md - - docs/models/shared/accountspaginated.md - docs/models/shared/contactspaginated.md - - docs/models/shared/hriscreateemployeerequestdtoavatar.md - - docs/models/shared/hriscreateemployeerequestdtovalue.md - - docs/models/shared/hriscreateemployeerequestdtoemploymentcontracttype.md - - docs/models/shared/hriscreateemployeerequestdtoschemasvalue.md - - docs/models/shared/hriscreateemployeerequestdtoemploymentstatus.md - - docs/models/shared/hriscreateemployeerequestdtoschemasemploymenttypevalue.md - - docs/models/shared/hriscreateemployeerequestdtoemploymenttype.md - - docs/models/shared/hriscreateemployeerequestdtoschemasethnicityvalue.md - - docs/models/shared/hriscreateemployeerequestdtoethnicity.md - - docs/models/shared/hriscreateemployeerequestdtoschemasgendervalue.md - - docs/models/shared/hriscreateemployeerequestdtogender.md - - docs/models/shared/hriscreateemployeerequestdtoschemashomelocationvalue.md - - docs/models/shared/hriscreateemployeerequestdtocountry.md - - docs/models/shared/hriscreateemployeerequestdtoschemashomelocationstatevalue.md - - docs/models/shared/state.md - - docs/models/shared/hriscreateemployeerequestdtohomelocation.md - - docs/models/shared/hriscreateemployeerequestdtoschemasmaritalstatusvalue.md - - docs/models/shared/hriscreateemployeerequestdtomaritalstatus.md - - docs/models/shared/hriscreateemployeerequestdtoschemaspreferredlanguagevalue.md - - docs/models/shared/hriscreateemployeerequestdtopreferredlanguage.md - - docs/models/shared/hriscreateemployeerequestdtoschemasworklocationvalue.md - - docs/models/shared/hriscreateemployeerequestdtoschemascountry.md - - docs/models/shared/hriscreateemployeerequestdtoschemasworklocationstatevalue.md - - docs/models/shared/hriscreateemployeerequestdtostate.md - - docs/models/shared/hriscreateemployeerequestdtoworklocation.md - - docs/models/shared/hriscreateemployeerequestdto.md - - docs/models/shared/employmentvalue.md - - docs/models/shared/employmentemploymentcontracttype.md - - docs/models/shared/employmentschemasvalue.md - - docs/models/shared/employmentemploymenttype.md - - docs/models/shared/employmentschemaspayfrequencyvalue.md - - docs/models/shared/payfrequency.md - - docs/models/shared/employmentschemaspayperiodvalue.md - - docs/models/shared/payperiod.md - - docs/models/shared/employment.md - - docs/models/shared/employeecustomfields.md - - docs/models/shared/countrycodeenumvalue.md + - docs/models/shared/content.md + - docs/models/shared/contentblock.md + - docs/models/shared/contentblockschemasvalue.md + - docs/models/shared/contentblockspaginated.md + - docs/models/shared/contentblockstatus.md + - docs/models/shared/contentblocktype.md + - docs/models/shared/contentblockvalue.md + - docs/models/shared/contentfileformat.md + - docs/models/shared/contentlanguageenum.md + - docs/models/shared/contentlanguageenumvalue.md + - docs/models/shared/contentpaginated.md + - docs/models/shared/contentresult.md + - docs/models/shared/contenttype.md + - docs/models/shared/contentvalue.md + - docs/models/shared/costcenters.md + - docs/models/shared/country.md - docs/models/shared/countrycodeenum.md - - docs/models/shared/hrisbenefitvalue.md - - docs/models/shared/benefittype.md - - docs/models/shared/hrisbenefit.md - - docs/models/shared/hriscreatetimeoffrequestdtovalue.md - - docs/models/shared/hriscreatetimeoffrequestdtostatus.md - - docs/models/shared/hriscreatetimeoffrequestdtoschemasvalue.md - - docs/models/shared/hriscreatetimeoffrequestdtotype.md - - docs/models/shared/hriscreatetimeoffrequestdto.md - - docs/models/shared/hriscreateworkeligibilityrequestdtocategory.md - - docs/models/shared/hriscreateworkeligibilityrequestdtoschemasdocumentvalue.md - - docs/models/shared/hriscreateworkeligibilityrequestdtofileformat.md + - docs/models/shared/countrycodeenumvalue.md + - docs/models/shared/course.md + - docs/models/shared/coursepaginated.md + - docs/models/shared/courseresult.md + - docs/models/shared/courseschemasvalue.md + - docs/models/shared/coursetype.md + - docs/models/shared/coursevalue.md + - docs/models/shared/createcategoriesapimodel.md + - docs/models/shared/createresult.md + - docs/models/shared/createresultdataapimodel.md + - docs/models/shared/credentials.md + - docs/models/shared/crmcreatecontactrequestdto.md + - docs/models/shared/customfielddefinition.md + - docs/models/shared/customfielddefinitionresultapimodel.md + - docs/models/shared/customfielddefinitionspaginated.md + - docs/models/shared/customfielddefinitiontype.md + - docs/models/shared/customfielddefinitionvalue.md + - docs/models/shared/department.md + - docs/models/shared/departmentresult.md + - docs/models/shared/departmentspaginated.md - docs/models/shared/document.md - - docs/models/shared/hriscreateworkeligibilityrequestdtovalue.md - - docs/models/shared/issuedby.md - - docs/models/shared/hriscreateworkeligibilityrequestdtoschemasvalue.md - - docs/models/shared/hriscreateworkeligibilityrequestdtotype.md - - docs/models/shared/hriscreateworkeligibilityrequestdto.md - - docs/models/shared/hrisbenefitresult.md - - docs/models/shared/companyresult.md - - docs/models/shared/company.md - - docs/models/shared/hrisdepartmentsresult.md - - docs/models/shared/hrisdepartmentvalue.md - - docs/models/shared/hrisdepartmenttype.md - - docs/models/shared/hrisdepartment.md - - docs/models/shared/employeeresult.md - - docs/models/shared/avatar.md + - docs/models/shared/emailmessages.md + - docs/models/shared/emailmessagesvalue.md + - docs/models/shared/employee.md - docs/models/shared/employeecompany.md - - docs/models/shared/employeevalue.md - - docs/models/shared/employmentcontracttype.md - - docs/models/shared/employeeschemasvalue.md - - docs/models/shared/employmentstatus.md + - docs/models/shared/employeecountry.md + - docs/models/shared/employeecustomfields.md + - docs/models/shared/employeelocationtype.md + - docs/models/shared/employeeresult.md + - docs/models/shared/employeeschemascountry.md - docs/models/shared/employeeschemasemploymenttypevalue.md - - docs/models/shared/employmenttype.md - docs/models/shared/employeeschemasethnicityvalue.md - - docs/models/shared/ethnicity.md - docs/models/shared/employeeschemasgendervalue.md - - docs/models/shared/gender.md - - docs/models/shared/employeeschemashomelocationvalue.md - - docs/models/shared/employeecountry.md - docs/models/shared/employeeschemashomelocationlocationtypevalue.md - - docs/models/shared/employeelocationtype.md - - docs/models/shared/homelocation.md - - docs/models/shared/jobdescription.md + - docs/models/shared/employeeschemashomelocationvalue.md + - docs/models/shared/employeeschemaslocationtype.md - docs/models/shared/employeeschemasmaritalstatusvalue.md - - docs/models/shared/maritalstatus.md - docs/models/shared/employeeschemasnationalidentitynumbervalue.md - - docs/models/shared/employeetype.md - - docs/models/shared/nationalidentitynumber.md - docs/models/shared/employeeschemaspreferredlanguagevalue.md - - docs/models/shared/preferredlanguage.md - - docs/models/shared/employeeschemasworklocationvalue.md - - docs/models/shared/employeeschemascountry.md + - docs/models/shared/employeeschemasvalue.md - docs/models/shared/employeeschemasworklocationlocationtypevalue.md - - docs/models/shared/employeeschemaslocationtype.md - - docs/models/shared/worklocation.md - - docs/models/shared/employee.md - - docs/models/shared/hrisgroupvalue.md - - docs/models/shared/hrisgrouptype.md - - docs/models/shared/hrisgroup.md - - docs/models/shared/costcenters.md - - docs/models/shared/hrisdocumentresult.md - - docs/models/shared/hrisdocumentapimodelvalue.md + - docs/models/shared/employeeschemasworklocationvalue.md + - docs/models/shared/employeespaginated.md + - docs/models/shared/employeetype.md + - docs/models/shared/employeevalue.md + - docs/models/shared/employment.md + - docs/models/shared/employmentcontracttype.md + - docs/models/shared/employmentemploymentcontracttype.md + - docs/models/shared/employmentemploymenttype.md + - docs/models/shared/employmentresult.md + - docs/models/shared/employmentschemaspayfrequencyvalue.md + - docs/models/shared/employmentschemaspayperiodvalue.md + - docs/models/shared/employmentschemasvalue.md + - docs/models/shared/employmentspaginated.md + - docs/models/shared/employmentstatus.md + - docs/models/shared/employmenttype.md + - docs/models/shared/employmentvalue.md + - docs/models/shared/ethnicity.md + - docs/models/shared/field.md + - docs/models/shared/fieldtype.md + - docs/models/shared/fileformat.md + - docs/models/shared/gender.md + - docs/models/shared/headers.md + - docs/models/shared/homelocation.md + - docs/models/shared/hrisbatchdocumentuploadrequestdto.md + - docs/models/shared/hrisbenefit.md + - docs/models/shared/hrisbenefitresult.md + - docs/models/shared/hrisbenefitspaginated.md + - docs/models/shared/hrisbenefitvalue.md + - docs/models/shared/hriscreateemployeerequestdto.md + - docs/models/shared/hriscreateemployeerequestdtoavatar.md + - docs/models/shared/hriscreateemployeerequestdtocountry.md + - docs/models/shared/hriscreateemployeerequestdtoemploymentcontracttype.md + - docs/models/shared/hriscreateemployeerequestdtoemploymentstatus.md + - docs/models/shared/hriscreateemployeerequestdtoemploymenttype.md + - docs/models/shared/hriscreateemployeerequestdtoethnicity.md + - docs/models/shared/hriscreateemployeerequestdtogender.md + - docs/models/shared/hriscreateemployeerequestdtohomelocation.md + - docs/models/shared/hriscreateemployeerequestdtomaritalstatus.md + - docs/models/shared/hriscreateemployeerequestdtonationalidentitynumber.md + - docs/models/shared/hriscreateemployeerequestdtopreferredlanguage.md + - docs/models/shared/hriscreateemployeerequestdtoschemascountry.md + - docs/models/shared/hriscreateemployeerequestdtoschemasemploymenttypevalue.md + - docs/models/shared/hriscreateemployeerequestdtoschemasethnicityvalue.md + - docs/models/shared/hriscreateemployeerequestdtoschemasgendervalue.md + - docs/models/shared/hriscreateemployeerequestdtoschemashomelocationstatevalue.md + - docs/models/shared/hriscreateemployeerequestdtoschemashomelocationvalue.md + - docs/models/shared/hriscreateemployeerequestdtoschemasmaritalstatusvalue.md + - docs/models/shared/hriscreateemployeerequestdtoschemasnationalidentitynumbervalue.md + - docs/models/shared/hriscreateemployeerequestdtoschemaspreferredlanguagevalue.md + - docs/models/shared/hriscreateemployeerequestdtoschemasvalue.md + - docs/models/shared/hriscreateemployeerequestdtoschemasworklocationstatevalue.md + - docs/models/shared/hriscreateemployeerequestdtoschemasworklocationvalue.md + - docs/models/shared/hriscreateemployeerequestdtostate.md + - docs/models/shared/hriscreateemployeerequestdtotype.md + - docs/models/shared/hriscreateemployeerequestdtovalue.md + - docs/models/shared/hriscreateemployeerequestdtoworklocation.md + - docs/models/shared/hriscreatetimeoffrequestdto.md + - docs/models/shared/hriscreatetimeoffrequestdtoschemasvalue.md + - docs/models/shared/hriscreatetimeoffrequestdtostatus.md + - docs/models/shared/hriscreatetimeoffrequestdtotype.md + - docs/models/shared/hriscreatetimeoffrequestdtovalue.md + - docs/models/shared/hriscreateworkeligibilityrequestdto.md + - docs/models/shared/hriscreateworkeligibilityrequestdtocategory.md + - docs/models/shared/hriscreateworkeligibilityrequestdtofileformat.md + - docs/models/shared/hriscreateworkeligibilityrequestdtoschemasdocumentvalue.md + - docs/models/shared/hriscreateworkeligibilityrequestdtoschemasvalue.md + - docs/models/shared/hriscreateworkeligibilityrequestdtotype.md + - docs/models/shared/hriscreateworkeligibilityrequestdtovalue.md + - docs/models/shared/hrisdepartment.md + - docs/models/shared/hrisdepartmentspaginated.md + - docs/models/shared/hrisdepartmentsresult.md + - docs/models/shared/hrisdepartmenttype.md + - docs/models/shared/hrisdepartmentvalue.md + - docs/models/shared/hrisdocumentapimodel.md - docs/models/shared/hrisdocumentapimodelcategory.md - - docs/models/shared/hrisdocumentapimodelschemasvalue.md - docs/models/shared/hrisdocumentapimodelfileformat.md - docs/models/shared/hrisdocumentapimodelschemastypevalue.md + - docs/models/shared/hrisdocumentapimodelschemasvalue.md - docs/models/shared/hrisdocumentapimodeltype.md - - docs/models/shared/hrisdocumentapimodel.md - - docs/models/shared/referenceresult.md - - docs/models/shared/reference.md - - docs/models/shared/employmentresult.md - - docs/models/shared/timeoffresult.md - - docs/models/shared/timeoffvalue.md - - docs/models/shared/timeoffstatus.md - - docs/models/shared/timeoffschemasvalue.md - - docs/models/shared/timeofftype.md - - docs/models/shared/timeoff.md - - docs/models/shared/workeligibilityresult.md - - docs/models/shared/workeligibilitycategory.md - - docs/models/shared/workeligibilityschemasdocumentvalue.md - - docs/models/shared/workeligibilityfileformat.md - - docs/models/shared/workeligibilitydocument.md - - docs/models/shared/workeligibilityvalue.md - - docs/models/shared/workeligibilityissuedby.md - - docs/models/shared/workeligibilityschemasvalue.md - - docs/models/shared/workeligibilitytype.md - - docs/models/shared/workeligibility.md + - docs/models/shared/hrisdocumentapimodelvalue.md + - docs/models/shared/hrisdocumentresult.md + - docs/models/shared/hrisdocumentspaginated.md + - docs/models/shared/hrisdocumentsuploadrequestdto.md + - docs/models/shared/hrisdocumentsuploadrequestdtocategory.md + - docs/models/shared/hrisdocumentsuploadrequestdtofileformat.md + - docs/models/shared/hrisdocumentsuploadrequestdtoschemasfileformatvalue.md + - docs/models/shared/hrisdocumentsuploadrequestdtoschemasvalue.md + - docs/models/shared/hrisdocumentsuploadrequestdtovalue.md + - docs/models/shared/hrisgroup.md + - docs/models/shared/hrisgroupspaginated.md - docs/models/shared/hrisgroupsresult.md - - docs/models/shared/hrislocationresult.md - - docs/models/shared/hrislocationvalue.md + - docs/models/shared/hrisgrouptype.md + - docs/models/shared/hrisgroupvalue.md + - docs/models/shared/hrislocation.md - docs/models/shared/hrislocationcountry.md - - docs/models/shared/hrislocationschemasvalue.md - docs/models/shared/hrislocationlocationtype.md - - docs/models/shared/hrislocation.md - - docs/models/shared/hrisbenefitspaginated.md - - docs/models/shared/companiespaginated.md - - docs/models/shared/hrisdepartmentspaginated.md - - docs/models/shared/referencepaginated.md - - docs/models/shared/hrisdocumentspaginated.md - - docs/models/shared/employmentspaginated.md - - docs/models/shared/timeoffpaginated.md - - docs/models/shared/workeligibilitypaginated.md - - docs/models/shared/employeespaginated.md - - docs/models/shared/hrisgroupspaginated.md + - docs/models/shared/hrislocationresult.md + - docs/models/shared/hrislocationschemasvalue.md - docs/models/shared/hrislocationspaginated.md - - docs/models/shared/hrisdocumentsuploadrequestdtovalue.md - - docs/models/shared/hrisdocumentsuploadrequestdtocategory.md - - docs/models/shared/hrisdocumentsuploadrequestdtoschemasvalue.md - - docs/models/shared/confidential.md - - docs/models/shared/hrisdocumentsuploadrequestdtoschemasfileformatvalue.md - - docs/models/shared/hrisdocumentsuploadrequestdtofileformat.md - - docs/models/shared/hrisdocumentsuploadrequestdto.md + - docs/models/shared/hrislocationvalue.md + - docs/models/shared/iamgroup.md - docs/models/shared/iamgroupresult.md - - docs/models/shared/iamgroupvalue.md + - docs/models/shared/iamgroupspaginated.md - docs/models/shared/iamgrouptype.md - - docs/models/shared/iamgroup.md - - docs/models/shared/iamrolevalue.md - - docs/models/shared/iamroletype.md - - docs/models/shared/iamrole.md - - docs/models/shared/iampolicy.md - - docs/models/shared/iampermissionvalue.md - - docs/models/shared/iampermissiontype.md + - docs/models/shared/iamgroupvalue.md + - docs/models/shared/iammfatypeenum.md + - docs/models/shared/iammfatypeenumvalue.md - docs/models/shared/iampermission.md - - docs/models/shared/iamresourcevalue.md - - docs/models/shared/iamresourcetype.md - - docs/models/shared/iamresource.md + - docs/models/shared/iampermissiontype.md + - docs/models/shared/iampermissionvalue.md + - docs/models/shared/iampoliciespaginated.md + - docs/models/shared/iampolicy.md - docs/models/shared/iampolicyresult.md + - docs/models/shared/iamresource.md + - docs/models/shared/iamresourcetype.md + - docs/models/shared/iamresourcevalue.md + - docs/models/shared/iamrole.md - docs/models/shared/iamroleresult.md - - docs/models/shared/iamuserresult.md + - docs/models/shared/iamrolespaginated.md + - docs/models/shared/iamroletype.md + - docs/models/shared/iamrolevalue.md + - docs/models/shared/iamuser.md + - docs/models/shared/iamuseravatar.md - docs/models/shared/iamusercategory.md - - docs/models/shared/iamuserschemasvalue.md - docs/models/shared/iamuserfileformat.md - - docs/models/shared/iamuseravatar.md - - docs/models/shared/iamuservalue.md - - docs/models/shared/iamuserstatus.md - - docs/models/shared/iamuser.md - - docs/models/shared/iammfatypeenumvalue.md - - docs/models/shared/iammfatypeenum.md - - docs/models/shared/iamgroupspaginated.md - - docs/models/shared/iampoliciespaginated.md - - docs/models/shared/iamrolespaginated.md + - docs/models/shared/iamuserresult.md + - docs/models/shared/iamuserschemasvalue.md - docs/models/shared/iamuserspaginated.md - - docs/models/shared/lmscreatecompletionrequestdtovalue.md - - docs/models/shared/lmscreatecompletionrequestdtoresult.md + - docs/models/shared/iamuserstatus.md + - docs/models/shared/iamuservalue.md + - docs/models/shared/images.md + - docs/models/shared/inappmessages.md + - docs/models/shared/inappmessagesmessagecontent.md + - docs/models/shared/inappmessagesmessagetype.md + - docs/models/shared/inappmessagesvalue.md + - docs/models/shared/internal.md + - docs/models/shared/interview.md + - docs/models/shared/interviewer.md + - docs/models/shared/interviewinterviewstage.md + - docs/models/shared/interviewpart.md + - docs/models/shared/interviewparttype.md + - docs/models/shared/interviewpartvalue.md + - docs/models/shared/interviewspaginated.md + - docs/models/shared/interviewsresult.md + - docs/models/shared/interviewstage.md + - docs/models/shared/interviewstageresult.md + - docs/models/shared/interviewstagespaginated.md + - docs/models/shared/interviewstatus.md + - docs/models/shared/interviewvalue.md + - docs/models/shared/issuedby.md + - docs/models/shared/job.md + - docs/models/shared/jobconfidential.md + - docs/models/shared/jobcustomfields.md + - docs/models/shared/jobdescription.md + - docs/models/shared/jobhiringteam.md + - docs/models/shared/jobposting.md + - docs/models/shared/jobpostingcompensation.md + - docs/models/shared/jobpostingcompensationpayfrequency.md + - docs/models/shared/jobpostingcompensationpayperiod.md + - docs/models/shared/jobpostingcompensationschemastypevalue.md + - docs/models/shared/jobpostingcompensationschemasvalue.md + - docs/models/shared/jobpostingcompensationtype.md + - docs/models/shared/jobpostingcompensationvalue.md + - docs/models/shared/jobpostingcontent.md + - docs/models/shared/jobpostingcontentsection.md + - docs/models/shared/jobpostingcontentsectiontype.md + - docs/models/shared/jobpostingcontentsectionvalue.md + - docs/models/shared/jobpostingemploymentcontracttype.md + - docs/models/shared/jobpostingemploymenttype.md + - docs/models/shared/jobpostinglocation.md + - docs/models/shared/jobpostingquestionnaire.md + - docs/models/shared/jobpostingresult.md + - docs/models/shared/jobpostingschemasstatusvalue.md + - docs/models/shared/jobpostingschemasvalue.md + - docs/models/shared/jobpostingspaginated.md + - docs/models/shared/jobpostingstatus.md + - docs/models/shared/jobpostingvalue.md + - docs/models/shared/jobresult.md + - docs/models/shared/jobspaginated.md + - docs/models/shared/jobstatus.md + - docs/models/shared/jobvalue.md + - docs/models/shared/label.md + - docs/models/shared/linkedaccount.md + - docs/models/shared/linkedaccountmeta.md + - docs/models/shared/linkedaccountmetacategory.md + - docs/models/shared/linkedaccountstatus.md + - docs/models/shared/list.md + - docs/models/shared/listitem.md + - docs/models/shared/listresult.md + - docs/models/shared/listspaginated.md + - docs/models/shared/listtype.md + - docs/models/shared/listvalue.md + - docs/models/shared/lmsbatchupsertcontentrequestdto.md - docs/models/shared/lmscreatecompletionrequestdto.md - - docs/models/shared/lmscreatecontentrequestdtovalue.md - - docs/models/shared/lmscreatecontentrequestdtocontenttype.md + - docs/models/shared/lmscreatecompletionrequestdtoresult.md + - docs/models/shared/lmscreatecompletionrequestdtovalue.md - docs/models/shared/lmscreatecontentrequestdto.md - - docs/models/shared/contentlanguageenumvalue.md - - docs/models/shared/contentlanguageenum.md - - docs/models/shared/createcategoriesapimodel.md - - docs/models/shared/assignmentresult.md - - docs/models/shared/assignment.md - - docs/models/shared/value.md - - docs/models/shared/assignmentstatusenum.md - - docs/models/shared/categoryresult.md - - docs/models/shared/category.md - - docs/models/shared/contentresult.md - - docs/models/shared/courseresult.md - - docs/models/shared/coursevalue.md - - docs/models/shared/active.md - - docs/models/shared/courseschemasvalue.md - - docs/models/shared/coursetype.md - - docs/models/shared/course.md - - docs/models/shared/skills.md - - docs/models/shared/assignmentspaginated.md - - docs/models/shared/categoriespaginated.md - - docs/models/shared/completionspaginated.md - - docs/models/shared/completionvalue.md - - docs/models/shared/completionresult.md - - docs/models/shared/completion.md - - docs/models/shared/contentpaginated.md - - docs/models/shared/coursepaginated.md - - docs/models/shared/lmsupsertcontentrequestdtovalue.md - - docs/models/shared/lmsupsertcontentrequestdtocontenttype.md + - docs/models/shared/lmscreatecontentrequestdtocontenttype.md + - docs/models/shared/lmscreatecontentrequestdtovalue.md - docs/models/shared/lmsupsertcontentrequestdto.md + - docs/models/shared/lmsupsertcontentrequestdtocontenttype.md + - docs/models/shared/lmsupsertcontentrequestdtovalue.md + - docs/models/shared/lmsuser.md + - docs/models/shared/locationtype.md + - docs/models/shared/maritalstatus.md - docs/models/shared/marketingcreatecontentblocksrequestdto.md - docs/models/shared/marketingcreateemailtemplaterequestdto.md - - docs/models/shared/messagecontent.md - - docs/models/shared/emailmessagesvalue.md - - docs/models/shared/messagetype.md - - docs/models/shared/emailmessages.md - docs/models/shared/marketingcreateinapptemplaterequestdto.md - - docs/models/shared/inappmessagesmessagecontent.md - - docs/models/shared/inappmessagesvalue.md - - docs/models/shared/inappmessagesmessagetype.md - - docs/models/shared/inappmessages.md + - docs/models/shared/marketingcreatepushtemplaterequestdto.md + - docs/models/shared/marketingcreatesmstemplaterequestdto.md - docs/models/shared/marketingcreatetemplaterequestdto.md - - docs/models/shared/messagevalue.md - - docs/models/shared/messagemessagetype.md - docs/models/shared/message.md - - docs/models/shared/marketingcreatepushtemplaterequestdto.md + - docs/models/shared/messagecontent.md + - docs/models/shared/messagemessagetype.md + - docs/models/shared/messagetype.md + - docs/models/shared/messagevalue.md + - docs/models/shared/metadata.md + - docs/models/shared/method.md + - docs/models/shared/moveapplicationresult.md + - docs/models/shared/nationalidentitynumber.md + - docs/models/shared/note.md + - docs/models/shared/notecontentapimodel.md + - docs/models/shared/noteresult.md + - docs/models/shared/notespaginated.md + - docs/models/shared/notevalue.md + - docs/models/shared/notevisibility.md + - docs/models/shared/offer.md + - docs/models/shared/offerhistory.md + - docs/models/shared/offerofferstatus.md + - docs/models/shared/offerspaginated.md + - docs/models/shared/offersresult.md + - docs/models/shared/offerstatus.md + - docs/models/shared/offervalue.md + - docs/models/shared/overallrecommendation.md + - docs/models/shared/patchaccountexternaldto.md + - docs/models/shared/patchaccountexternaldtocredentials.md + - docs/models/shared/patchaccountexternaldtosetupinformation.md + - docs/models/shared/payfrequency.md + - docs/models/shared/payperiod.md + - docs/models/shared/phonenumber.md + - docs/models/shared/phonenumbertype.md + - docs/models/shared/preferredlanguage.md + - docs/models/shared/providererrorapimodel.md + - docs/models/shared/proxyrequestbody.md + - docs/models/shared/pushmessages.md - docs/models/shared/pushmessagesmessagecontent.md - - docs/models/shared/pushmessagesvalue.md - docs/models/shared/pushmessagesmessagetype.md - - docs/models/shared/pushmessages.md - - docs/models/shared/marketingcreatesmstemplaterequestdto.md + - docs/models/shared/pushmessagesvalue.md + - docs/models/shared/question.md + - docs/models/shared/questionmultiplechoiceanswers.md + - docs/models/shared/questionnaire.md + - docs/models/shared/questiontype.md + - docs/models/shared/questionvalue.md + - docs/models/shared/raw.md + - docs/models/shared/rawresponse.md + - docs/models/shared/reference.md + - docs/models/shared/referencepaginated.md + - docs/models/shared/referenceresult.md + - docs/models/shared/rejectapplicationresult.md + - docs/models/shared/rejectedreason.md + - docs/models/shared/rejectedreasonresult.md + - docs/models/shared/rejectedreasonspaginated.md + - docs/models/shared/rejectedreasontype.md + - docs/models/shared/rejectedreasonvalue.md + - docs/models/shared/resources.md + - docs/models/shared/result.md + - docs/models/shared/resultlink.md + - docs/models/shared/scheduledinterview.md + - docs/models/shared/scheduledinterviewinterviewstage.md + - docs/models/shared/scheduledinterviewinterviewstatus.md + - docs/models/shared/scheduledinterviewspaginated.md + - docs/models/shared/scheduledinterviewsresult.md + - docs/models/shared/scheduledinterviewvalue.md + - docs/models/shared/scheduletype.md + - docs/models/shared/score.md + - docs/models/shared/scorecard.md + - docs/models/shared/scorecardsection.md + - docs/models/shared/scorecardspaginated.md + - docs/models/shared/scorecardsresult.md + - docs/models/shared/secrets.md + - docs/models/shared/security.md + - docs/models/shared/setupinformation.md + - docs/models/shared/skillresult.md + - docs/models/shared/skills.md + - docs/models/shared/skillspaginated.md + - docs/models/shared/smsmessages.md - docs/models/shared/smsmessagesmessagecontent.md - - docs/models/shared/smsmessagesvalue.md - docs/models/shared/smsmessagesmessagetype.md - - docs/models/shared/smsmessages.md - - docs/models/shared/campaignresult.md - - docs/models/shared/campaignvalue.md - - docs/models/shared/scheduletype.md - - docs/models/shared/campaignschemasvalue.md + - docs/models/shared/smsmessagesvalue.md + - docs/models/shared/sociallink.md + - docs/models/shared/source.md + - docs/models/shared/state.md - docs/models/shared/status.md - - docs/models/shared/campaign.md - - docs/models/shared/channelsenumvalue.md - - docs/models/shared/channelsenum.md - - docs/models/shared/contentblockspaginated.md - - docs/models/shared/contentblockvalue.md - - docs/models/shared/contentblockstatus.md - - docs/models/shared/contentblockschemasvalue.md - - docs/models/shared/contentblocktype.md - - docs/models/shared/contentblock.md - - docs/models/shared/templateresult.md + - docs/models/shared/statusreason.md - docs/models/shared/template.md - - docs/models/shared/campaignspaginated.md + - docs/models/shared/templateresult.md - docs/models/shared/templatespaginated.md - - docs/models/shared/method.md - - docs/models/shared/proxyrequestbody.md - - docs/models/shared/security.md - - docs/sdks/stackone/README.md + - docs/models/shared/timeoff.md + - docs/models/shared/timeoffpaginated.md + - docs/models/shared/timeoffresult.md + - docs/models/shared/timeoffschemasvalue.md + - docs/models/shared/timeoffstatus.md + - docs/models/shared/timeofftype.md + - docs/models/shared/timeoffvalue.md + - docs/models/shared/type.md + - docs/models/shared/unifieduploadrequestdto.md + - docs/models/shared/unifieduploadrequestdtocategory.md + - docs/models/shared/unifieduploadrequestdtoconfidential.md + - docs/models/shared/unifieduploadrequestdtofileformat.md + - docs/models/shared/unifieduploadrequestdtoschemasvalue.md + - docs/models/shared/unifieduploadrequestdtovalue.md + - docs/models/shared/updateresult.md + - docs/models/shared/userresult.md + - docs/models/shared/userspaginated.md + - docs/models/shared/value.md + - docs/models/shared/visibility.md + - docs/models/shared/workeligibility.md + - docs/models/shared/workeligibilitycategory.md + - docs/models/shared/workeligibilitydocument.md + - docs/models/shared/workeligibilityfileformat.md + - docs/models/shared/workeligibilityissuedby.md + - docs/models/shared/workeligibilitypaginated.md + - docs/models/shared/workeligibilityresult.md + - docs/models/shared/workeligibilityschemasdocumentvalue.md + - docs/models/shared/workeligibilityschemasvalue.md + - docs/models/shared/workeligibilitytype.md + - docs/models/shared/workeligibilityvalue.md + - docs/models/shared/worklocation.md + - docs/models/shared/writeresultapimodel.md - docs/sdks/accounts/README.md - - docs/sdks/connectsessions/README.md - - docs/sdks/connectors/README.md - docs/sdks/ats/README.md + - docs/sdks/connectors/README.md + - docs/sdks/connectsessions/README.md - docs/sdks/crm/README.md - docs/sdks/hris/README.md - docs/sdks/iam/README.md - docs/sdks/lms/README.md - docs/sdks/marketing/README.md - docs/sdks/proxy/README.md - - USAGE.md - - .gitattributes - - CONTRIBUTING.md + - docs/sdks/stackone/README.md + - lib/stack_one/accounts.rb + - lib/stack_one/ats.rb + - lib/stack_one/connect_sessions.rb + - lib/stack_one/connectors.rb + - lib/stack_one/crm.rb + - lib/stack_one/hris.rb + - lib/stack_one/iam.rb + - lib/stack_one/lms.rb + - lib/stack_one/marketing.rb + - lib/stack_one/models/operations.rb + - lib/stack_one/models/operations/ats_create_application_request.rb + - lib/stack_one/models/operations/ats_create_application_response.rb + - lib/stack_one/models/operations/ats_create_candidate_note_request.rb + - lib/stack_one/models/operations/ats_create_candidate_note_response.rb + - lib/stack_one/models/operations/ats_create_candidate_request.rb + - lib/stack_one/models/operations/ats_create_candidate_response.rb + - lib/stack_one/models/operations/ats_create_offer_request.rb + - lib/stack_one/models/operations/ats_create_offer_response.rb + - lib/stack_one/models/operations/ats_download_application_document_request.rb + - lib/stack_one/models/operations/ats_download_application_document_response.rb + - lib/stack_one/models/operations/ats_get_application_custom_field_definition_request.rb + - lib/stack_one/models/operations/ats_get_application_custom_field_definition_response.rb + - lib/stack_one/models/operations/ats_get_application_document_request.rb + - lib/stack_one/models/operations/ats_get_application_document_response.rb + - lib/stack_one/models/operations/ats_get_application_offer_request.rb + - lib/stack_one/models/operations/ats_get_application_offer_response.rb + - lib/stack_one/models/operations/ats_get_application_request.rb + - lib/stack_one/models/operations/ats_get_application_response.rb + - lib/stack_one/models/operations/ats_get_application_scheduled_interview_request.rb + - lib/stack_one/models/operations/ats_get_application_scheduled_interview_response.rb + - lib/stack_one/models/operations/ats_get_application_scorecard_request.rb + - lib/stack_one/models/operations/ats_get_application_scorecard_response.rb + - lib/stack_one/models/operations/ats_get_assessments_package_request.rb + - lib/stack_one/models/operations/ats_get_assessments_package_response.rb + - lib/stack_one/models/operations/ats_get_assessments_request_request.rb + - lib/stack_one/models/operations/ats_get_assessments_request_response.rb + - lib/stack_one/models/operations/ats_get_assessments_result_request.rb + - lib/stack_one/models/operations/ats_get_assessments_result_response.rb + - lib/stack_one/models/operations/ats_get_candidate_custom_field_definition_request.rb + - lib/stack_one/models/operations/ats_get_candidate_custom_field_definition_response.rb + - lib/stack_one/models/operations/ats_get_candidate_note_request.rb + - lib/stack_one/models/operations/ats_get_candidate_note_response.rb + - lib/stack_one/models/operations/ats_get_candidate_request.rb + - lib/stack_one/models/operations/ats_get_candidate_response.rb + - lib/stack_one/models/operations/ats_get_department_request.rb + - lib/stack_one/models/operations/ats_get_department_response.rb + - lib/stack_one/models/operations/ats_get_interview_request.rb + - lib/stack_one/models/operations/ats_get_interview_response.rb + - lib/stack_one/models/operations/ats_get_interview_stage_request.rb + - lib/stack_one/models/operations/ats_get_interview_stage_response.rb + - lib/stack_one/models/operations/ats_get_job_custom_field_definition_queryparam_filter.rb + - lib/stack_one/models/operations/ats_get_job_custom_field_definition_request.rb + - lib/stack_one/models/operations/ats_get_job_custom_field_definition_response.rb + - lib/stack_one/models/operations/ats_get_job_posting_request.rb + - lib/stack_one/models/operations/ats_get_job_posting_response.rb + - lib/stack_one/models/operations/ats_get_job_request.rb + - lib/stack_one/models/operations/ats_get_job_response.rb + - lib/stack_one/models/operations/ats_get_list_request.rb + - lib/stack_one/models/operations/ats_get_list_response.rb + - lib/stack_one/models/operations/ats_get_location_request.rb + - lib/stack_one/models/operations/ats_get_location_response.rb + - lib/stack_one/models/operations/ats_get_offer_request.rb + - lib/stack_one/models/operations/ats_get_offer_response.rb + - lib/stack_one/models/operations/ats_get_rejected_reason_request.rb + - lib/stack_one/models/operations/ats_get_rejected_reason_response.rb + - lib/stack_one/models/operations/ats_get_user_request.rb + - lib/stack_one/models/operations/ats_get_user_response.rb + - lib/stack_one/models/operations/ats_list_application_custom_field_definitions_queryparam_filter.rb + - lib/stack_one/models/operations/ats_list_application_custom_field_definitions_request.rb + - lib/stack_one/models/operations/ats_list_application_custom_field_definitions_response.rb + - lib/stack_one/models/operations/ats_list_application_documents_queryparam_filter.rb + - lib/stack_one/models/operations/ats_list_application_documents_request.rb + - lib/stack_one/models/operations/ats_list_application_documents_response.rb + - lib/stack_one/models/operations/ats_list_application_scorecards_queryparam_filter.rb + - lib/stack_one/models/operations/ats_list_application_scorecards_request.rb + - lib/stack_one/models/operations/ats_list_application_scorecards_response.rb + - lib/stack_one/models/operations/ats_list_applications_offers_queryparam_filter.rb + - lib/stack_one/models/operations/ats_list_applications_offers_request.rb + - lib/stack_one/models/operations/ats_list_applications_offers_response.rb + - lib/stack_one/models/operations/ats_list_applications_queryparam_filter.rb + - lib/stack_one/models/operations/ats_list_applications_request.rb + - lib/stack_one/models/operations/ats_list_applications_response.rb + - lib/stack_one/models/operations/ats_list_applications_scheduled_interviews_queryparam_filter.rb + - lib/stack_one/models/operations/ats_list_applications_scheduled_interviews_request.rb + - lib/stack_one/models/operations/ats_list_applications_scheduled_interviews_response.rb + - lib/stack_one/models/operations/ats_list_assessments_packages_queryparam_filter.rb + - lib/stack_one/models/operations/ats_list_assessments_packages_request.rb + - lib/stack_one/models/operations/ats_list_assessments_packages_response.rb + - lib/stack_one/models/operations/ats_list_candidate_custom_field_definitions_queryparam_filter.rb + - lib/stack_one/models/operations/ats_list_candidate_custom_field_definitions_request.rb + - lib/stack_one/models/operations/ats_list_candidate_custom_field_definitions_response.rb + - lib/stack_one/models/operations/ats_list_candidate_notes_queryparam_filter.rb + - lib/stack_one/models/operations/ats_list_candidate_notes_request.rb + - lib/stack_one/models/operations/ats_list_candidate_notes_response.rb + - lib/stack_one/models/operations/ats_list_candidates_queryparam_filter.rb + - lib/stack_one/models/operations/ats_list_candidates_request.rb + - lib/stack_one/models/operations/ats_list_candidates_response.rb + - lib/stack_one/models/operations/ats_list_departments_queryparam_filter.rb + - lib/stack_one/models/operations/ats_list_departments_request.rb + - lib/stack_one/models/operations/ats_list_departments_response.rb + - lib/stack_one/models/operations/ats_list_interview_stages_queryparam_filter.rb + - lib/stack_one/models/operations/ats_list_interview_stages_request.rb + - lib/stack_one/models/operations/ats_list_interview_stages_response.rb + - lib/stack_one/models/operations/ats_list_interviews_queryparam_filter.rb + - lib/stack_one/models/operations/ats_list_interviews_request.rb + - lib/stack_one/models/operations/ats_list_interviews_response.rb + - lib/stack_one/models/operations/ats_list_job_custom_field_definitions_queryparam_filter.rb + - lib/stack_one/models/operations/ats_list_job_custom_field_definitions_request.rb + - lib/stack_one/models/operations/ats_list_job_custom_field_definitions_response.rb + - lib/stack_one/models/operations/ats_list_job_postings_queryparam_filter.rb + - lib/stack_one/models/operations/ats_list_job_postings_request.rb + - lib/stack_one/models/operations/ats_list_job_postings_response.rb + - lib/stack_one/models/operations/ats_list_jobs_queryparam_filter.rb + - lib/stack_one/models/operations/ats_list_jobs_request.rb + - lib/stack_one/models/operations/ats_list_jobs_response.rb + - lib/stack_one/models/operations/ats_list_lists_queryparam_filter.rb + - lib/stack_one/models/operations/ats_list_lists_request.rb + - lib/stack_one/models/operations/ats_list_lists_response.rb + - lib/stack_one/models/operations/ats_list_locations_queryparam_filter.rb + - lib/stack_one/models/operations/ats_list_locations_request.rb + - lib/stack_one/models/operations/ats_list_locations_response.rb + - lib/stack_one/models/operations/ats_list_offers_queryparam_filter.rb + - lib/stack_one/models/operations/ats_list_offers_request.rb + - lib/stack_one/models/operations/ats_list_offers_response.rb + - lib/stack_one/models/operations/ats_list_rejected_reasons_queryparam_filter.rb + - lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb + - lib/stack_one/models/operations/ats_list_rejected_reasons_response.rb + - lib/stack_one/models/operations/ats_list_users_queryparam_filter.rb + - lib/stack_one/models/operations/ats_list_users_request.rb + - lib/stack_one/models/operations/ats_list_users_response.rb + - lib/stack_one/models/operations/ats_move_application_request.rb + - lib/stack_one/models/operations/ats_move_application_response.rb + - lib/stack_one/models/operations/ats_reject_application_request.rb + - lib/stack_one/models/operations/ats_reject_application_response.rb + - lib/stack_one/models/operations/ats_update_application_request.rb + - lib/stack_one/models/operations/ats_update_application_response.rb + - lib/stack_one/models/operations/ats_update_candidate_request.rb + - lib/stack_one/models/operations/ats_update_candidate_response.rb + - lib/stack_one/models/operations/ats_upload_application_document_request.rb + - lib/stack_one/models/operations/ats_upload_application_document_response.rb + - lib/stack_one/models/operations/crm_create_contact_request.rb + - lib/stack_one/models/operations/crm_create_contact_response.rb + - lib/stack_one/models/operations/crm_get_account_request.rb + - lib/stack_one/models/operations/crm_get_account_response.rb + - lib/stack_one/models/operations/crm_get_contact_request.rb + - lib/stack_one/models/operations/crm_get_contact_response.rb + - lib/stack_one/models/operations/crm_get_list_request.rb + - lib/stack_one/models/operations/crm_get_list_response.rb + - lib/stack_one/models/operations/crm_list_accounts_queryparam_filter.rb + - lib/stack_one/models/operations/crm_list_accounts_request.rb + - lib/stack_one/models/operations/crm_list_accounts_response.rb + - lib/stack_one/models/operations/crm_list_contacts_queryparam_filter.rb + - lib/stack_one/models/operations/crm_list_contacts_request.rb + - lib/stack_one/models/operations/crm_list_contacts_response.rb + - lib/stack_one/models/operations/crm_list_lists_queryparam_filter.rb + - lib/stack_one/models/operations/crm_list_lists_request.rb + - lib/stack_one/models/operations/crm_list_lists_response.rb + - lib/stack_one/models/operations/crm_update_contact_request.rb + - lib/stack_one/models/operations/crm_update_contact_response.rb + - lib/stack_one/models/operations/filter.rb + - lib/stack_one/models/operations/hris_batch_upload_employee_document_request.rb + - lib/stack_one/models/operations/hris_batch_upload_employee_document_response.rb + - lib/stack_one/models/operations/hris_create_employee_request.rb + - lib/stack_one/models/operations/hris_create_employee_response.rb + - lib/stack_one/models/operations/hris_create_employee_time_off_request_request.rb + - lib/stack_one/models/operations/hris_create_employee_time_off_request_response.rb + - lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_request.rb + - lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_response.rb + - lib/stack_one/models/operations/hris_create_time_off_request_request.rb + - lib/stack_one/models/operations/hris_create_time_off_request_response.rb + - lib/stack_one/models/operations/hris_download_employee_document_request.rb + - lib/stack_one/models/operations/hris_download_employee_document_response.rb + - lib/stack_one/models/operations/hris_get_benefit_request.rb + - lib/stack_one/models/operations/hris_get_benefit_response.rb + - lib/stack_one/models/operations/hris_get_company_request.rb + - lib/stack_one/models/operations/hris_get_company_response.rb + - lib/stack_one/models/operations/hris_get_department_group_request.rb + - lib/stack_one/models/operations/hris_get_department_group_response.rb + - lib/stack_one/models/operations/hris_get_employee_document_category_request.rb + - lib/stack_one/models/operations/hris_get_employee_document_category_response.rb + - lib/stack_one/models/operations/hris_get_employee_document_request.rb + - lib/stack_one/models/operations/hris_get_employee_document_response.rb + - lib/stack_one/models/operations/hris_get_employee_employment_request.rb + - lib/stack_one/models/operations/hris_get_employee_employment_response.rb + - lib/stack_one/models/operations/hris_get_employee_request.rb + - lib/stack_one/models/operations/hris_get_employee_response.rb + - lib/stack_one/models/operations/hris_get_employees_time_off_request_request.rb + - lib/stack_one/models/operations/hris_get_employees_time_off_request_response.rb + - lib/stack_one/models/operations/hris_get_employees_work_eligibility_request.rb + - lib/stack_one/models/operations/hris_get_employees_work_eligibility_response.rb + - lib/stack_one/models/operations/hris_get_employment_request.rb + - lib/stack_one/models/operations/hris_get_employment_response.rb + - lib/stack_one/models/operations/hris_get_group_request.rb + - lib/stack_one/models/operations/hris_get_group_response.rb + - lib/stack_one/models/operations/hris_get_job_request.rb + - lib/stack_one/models/operations/hris_get_job_response.rb + - lib/stack_one/models/operations/hris_get_location_request.rb + - lib/stack_one/models/operations/hris_get_location_response.rb + - lib/stack_one/models/operations/hris_get_time_off_request_request.rb + - lib/stack_one/models/operations/hris_get_time_off_request_response.rb + - lib/stack_one/models/operations/hris_list_benefits_queryparam_filter.rb + - lib/stack_one/models/operations/hris_list_benefits_request.rb + - lib/stack_one/models/operations/hris_list_benefits_response.rb + - lib/stack_one/models/operations/hris_list_companies_queryparam_filter.rb + - lib/stack_one/models/operations/hris_list_companies_request.rb + - lib/stack_one/models/operations/hris_list_companies_response.rb + - lib/stack_one/models/operations/hris_list_department_groups_queryparam_filter.rb + - lib/stack_one/models/operations/hris_list_department_groups_request.rb + - lib/stack_one/models/operations/hris_list_department_groups_response.rb + - lib/stack_one/models/operations/hris_list_employee_categories_queryparam_filter.rb + - lib/stack_one/models/operations/hris_list_employee_categories_request.rb + - lib/stack_one/models/operations/hris_list_employee_categories_response.rb + - lib/stack_one/models/operations/hris_list_employee_documents_queryparam_filter.rb + - lib/stack_one/models/operations/hris_list_employee_documents_request.rb + - lib/stack_one/models/operations/hris_list_employee_documents_response.rb + - lib/stack_one/models/operations/hris_list_employee_employments_queryparam_filter.rb + - lib/stack_one/models/operations/hris_list_employee_employments_request.rb + - lib/stack_one/models/operations/hris_list_employee_employments_response.rb + - lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_filter.rb + - lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb + - lib/stack_one/models/operations/hris_list_employee_time_off_requests_response.rb + - lib/stack_one/models/operations/hris_list_employee_work_eligibility_queryparam_filter.rb + - lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb + - lib/stack_one/models/operations/hris_list_employee_work_eligibility_response.rb + - lib/stack_one/models/operations/hris_list_employees_queryparam_filter.rb + - lib/stack_one/models/operations/hris_list_employees_request.rb + - lib/stack_one/models/operations/hris_list_employees_response.rb + - lib/stack_one/models/operations/hris_list_employments_queryparam_filter.rb + - lib/stack_one/models/operations/hris_list_employments_request.rb + - lib/stack_one/models/operations/hris_list_employments_response.rb + - lib/stack_one/models/operations/hris_list_groups_queryparam_filter.rb + - lib/stack_one/models/operations/hris_list_groups_request.rb + - lib/stack_one/models/operations/hris_list_groups_response.rb + - lib/stack_one/models/operations/hris_list_jobs_queryparam_filter.rb + - lib/stack_one/models/operations/hris_list_jobs_request.rb + - lib/stack_one/models/operations/hris_list_jobs_response.rb + - lib/stack_one/models/operations/hris_list_locations_queryparam_filter.rb + - lib/stack_one/models/operations/hris_list_locations_request.rb + - lib/stack_one/models/operations/hris_list_locations_response.rb + - lib/stack_one/models/operations/hris_list_time_off_requests_queryparam_filter.rb + - lib/stack_one/models/operations/hris_list_time_off_requests_request.rb + - lib/stack_one/models/operations/hris_list_time_off_requests_response.rb + - lib/stack_one/models/operations/hris_update_employee_request.rb + - lib/stack_one/models/operations/hris_update_employee_response.rb + - lib/stack_one/models/operations/hris_update_employee_work_eligibility_request_request.rb + - lib/stack_one/models/operations/hris_update_employee_work_eligibility_request_response.rb + - lib/stack_one/models/operations/hris_update_time_off_request_request.rb + - lib/stack_one/models/operations/hris_update_time_off_request_response.rb + - lib/stack_one/models/operations/hris_upload_employee_document_request.rb + - lib/stack_one/models/operations/hris_upload_employee_document_response.rb + - lib/stack_one/models/operations/iam_get_group_request.rb + - lib/stack_one/models/operations/iam_get_group_response.rb + - lib/stack_one/models/operations/iam_get_policy_request.rb + - lib/stack_one/models/operations/iam_get_policy_response.rb + - lib/stack_one/models/operations/iam_get_role_request.rb + - lib/stack_one/models/operations/iam_get_role_response.rb + - lib/stack_one/models/operations/iam_get_user_request.rb + - lib/stack_one/models/operations/iam_get_user_response.rb + - lib/stack_one/models/operations/iam_list_groups_queryparam_filter.rb + - lib/stack_one/models/operations/iam_list_groups_request.rb + - lib/stack_one/models/operations/iam_list_groups_response.rb + - lib/stack_one/models/operations/iam_list_policies_queryparam_filter.rb + - lib/stack_one/models/operations/iam_list_policies_request.rb + - lib/stack_one/models/operations/iam_list_policies_response.rb + - lib/stack_one/models/operations/iam_list_roles_queryparam_filter.rb + - lib/stack_one/models/operations/iam_list_roles_request.rb + - lib/stack_one/models/operations/iam_list_roles_response.rb + - lib/stack_one/models/operations/iam_list_users_queryparam_filter.rb + - lib/stack_one/models/operations/iam_list_users_request.rb + - lib/stack_one/models/operations/iam_list_users_response.rb + - lib/stack_one/models/operations/lms_batch_upsert_content_request.rb + - lib/stack_one/models/operations/lms_batch_upsert_content_response.rb + - lib/stack_one/models/operations/lms_create_content_request.rb + - lib/stack_one/models/operations/lms_create_content_response.rb + - lib/stack_one/models/operations/lms_create_user_completion_request.rb + - lib/stack_one/models/operations/lms_create_user_completion_response.rb + - lib/stack_one/models/operations/lms_get_assignment_request.rb + - lib/stack_one/models/operations/lms_get_assignment_response.rb + - lib/stack_one/models/operations/lms_get_category_request.rb + - lib/stack_one/models/operations/lms_get_category_response.rb + - lib/stack_one/models/operations/lms_get_completion_request.rb + - lib/stack_one/models/operations/lms_get_completion_response.rb + - lib/stack_one/models/operations/lms_get_content_request.rb + - lib/stack_one/models/operations/lms_get_content_response.rb + - lib/stack_one/models/operations/lms_get_course_request.rb + - lib/stack_one/models/operations/lms_get_course_response.rb + - lib/stack_one/models/operations/lms_get_skill_request.rb + - lib/stack_one/models/operations/lms_get_skill_response.rb + - lib/stack_one/models/operations/lms_get_user_assignment_request.rb + - lib/stack_one/models/operations/lms_get_user_assignment_response.rb + - lib/stack_one/models/operations/lms_get_user_completion_request.rb + - lib/stack_one/models/operations/lms_get_user_completion_response.rb + - lib/stack_one/models/operations/lms_get_user_request.rb + - lib/stack_one/models/operations/lms_get_user_response.rb + - lib/stack_one/models/operations/lms_list_assignments_queryparam_filter.rb + - lib/stack_one/models/operations/lms_list_assignments_request.rb + - lib/stack_one/models/operations/lms_list_assignments_response.rb + - lib/stack_one/models/operations/lms_list_categories_queryparam_filter.rb + - lib/stack_one/models/operations/lms_list_categories_request.rb + - lib/stack_one/models/operations/lms_list_categories_response.rb + - lib/stack_one/models/operations/lms_list_completions_queryparam_filter.rb + - lib/stack_one/models/operations/lms_list_completions_request.rb + - lib/stack_one/models/operations/lms_list_completions_response.rb + - lib/stack_one/models/operations/lms_list_content_queryparam_filter.rb + - lib/stack_one/models/operations/lms_list_content_request.rb + - lib/stack_one/models/operations/lms_list_content_response.rb + - lib/stack_one/models/operations/lms_list_courses_queryparam_filter.rb + - lib/stack_one/models/operations/lms_list_courses_request.rb + - lib/stack_one/models/operations/lms_list_courses_response.rb + - lib/stack_one/models/operations/lms_list_skills_queryparam_filter.rb + - lib/stack_one/models/operations/lms_list_skills_request.rb + - lib/stack_one/models/operations/lms_list_skills_response.rb + - lib/stack_one/models/operations/lms_list_user_assignments_queryparam_filter.rb + - lib/stack_one/models/operations/lms_list_user_assignments_request.rb + - lib/stack_one/models/operations/lms_list_user_assignments_response.rb + - lib/stack_one/models/operations/lms_list_user_completions_queryparam_filter.rb + - lib/stack_one/models/operations/lms_list_user_completions_request.rb + - lib/stack_one/models/operations/lms_list_user_completions_response.rb + - lib/stack_one/models/operations/lms_list_users_queryparam_filter.rb + - lib/stack_one/models/operations/lms_list_users_request.rb + - lib/stack_one/models/operations/lms_list_users_response.rb + - lib/stack_one/models/operations/lms_update_content_request.rb + - lib/stack_one/models/operations/lms_update_content_response.rb + - lib/stack_one/models/operations/lms_upsert_content_request.rb + - lib/stack_one/models/operations/lms_upsert_content_response.rb + - lib/stack_one/models/operations/marketing_create_content_block_request.rb + - lib/stack_one/models/operations/marketing_create_content_block_response.rb + - lib/stack_one/models/operations/marketing_create_email_template_request.rb + - lib/stack_one/models/operations/marketing_create_email_template_response.rb + - lib/stack_one/models/operations/marketing_create_in_app_template_request.rb + - lib/stack_one/models/operations/marketing_create_in_app_template_response.rb + - lib/stack_one/models/operations/marketing_create_omni_channel_template_request.rb + - lib/stack_one/models/operations/marketing_create_omni_channel_template_response.rb + - lib/stack_one/models/operations/marketing_create_push_template_request.rb + - lib/stack_one/models/operations/marketing_create_push_template_response.rb + - lib/stack_one/models/operations/marketing_create_sms_template_request.rb + - lib/stack_one/models/operations/marketing_create_sms_template_response.rb + - lib/stack_one/models/operations/marketing_get_campaign_request.rb + - lib/stack_one/models/operations/marketing_get_campaign_response.rb + - lib/stack_one/models/operations/marketing_get_content_block_request.rb + - lib/stack_one/models/operations/marketing_get_content_block_response.rb + - lib/stack_one/models/operations/marketing_get_email_template_request.rb + - lib/stack_one/models/operations/marketing_get_email_template_response.rb + - lib/stack_one/models/operations/marketing_get_in_app_template_request.rb + - lib/stack_one/models/operations/marketing_get_in_app_template_response.rb + - lib/stack_one/models/operations/marketing_get_omni_channel_template_request.rb + - lib/stack_one/models/operations/marketing_get_omni_channel_template_response.rb + - lib/stack_one/models/operations/marketing_get_push_template_request.rb + - lib/stack_one/models/operations/marketing_get_push_template_response.rb + - lib/stack_one/models/operations/marketing_get_sms_template_request.rb + - lib/stack_one/models/operations/marketing_get_sms_template_response.rb + - lib/stack_one/models/operations/marketing_list_campaigns_queryparam_filter.rb + - lib/stack_one/models/operations/marketing_list_campaigns_request.rb + - lib/stack_one/models/operations/marketing_list_campaigns_response.rb + - lib/stack_one/models/operations/marketing_list_content_blocks_queryparam_filter.rb + - lib/stack_one/models/operations/marketing_list_content_blocks_request.rb + - lib/stack_one/models/operations/marketing_list_content_blocks_response.rb + - lib/stack_one/models/operations/marketing_list_email_templates_queryparam_filter.rb + - lib/stack_one/models/operations/marketing_list_email_templates_request.rb + - lib/stack_one/models/operations/marketing_list_email_templates_response.rb + - lib/stack_one/models/operations/marketing_list_in_app_templates_queryparam_filter.rb + - lib/stack_one/models/operations/marketing_list_in_app_templates_request.rb + - lib/stack_one/models/operations/marketing_list_in_app_templates_response.rb + - lib/stack_one/models/operations/marketing_list_omni_channel_templates_queryparam_filter.rb + - lib/stack_one/models/operations/marketing_list_omni_channel_templates_request.rb + - lib/stack_one/models/operations/marketing_list_omni_channel_templates_response.rb + - lib/stack_one/models/operations/marketing_list_push_templates_queryparam_filter.rb + - lib/stack_one/models/operations/marketing_list_push_templates_request.rb + - lib/stack_one/models/operations/marketing_list_push_templates_response.rb + - lib/stack_one/models/operations/marketing_list_sms_templates_queryparam_filter.rb + - lib/stack_one/models/operations/marketing_list_sms_templates_request.rb + - lib/stack_one/models/operations/marketing_list_sms_templates_response.rb + - lib/stack_one/models/operations/marketing_update_content_block_request.rb + - lib/stack_one/models/operations/marketing_update_content_block_response.rb + - lib/stack_one/models/operations/marketing_update_email_template_request.rb + - lib/stack_one/models/operations/marketing_update_email_template_response.rb + - lib/stack_one/models/operations/marketing_update_in_app_template_request.rb + - lib/stack_one/models/operations/marketing_update_in_app_template_response.rb + - lib/stack_one/models/operations/marketing_update_omni_channel_template_request.rb + - lib/stack_one/models/operations/marketing_update_omni_channel_template_response.rb + - lib/stack_one/models/operations/marketing_update_push_template_request.rb + - lib/stack_one/models/operations/marketing_update_push_template_response.rb + - lib/stack_one/models/operations/marketing_update_sms_template_request.rb + - lib/stack_one/models/operations/marketing_update_sms_template_response.rb + - lib/stack_one/models/operations/queryparam_filter.rb + - lib/stack_one/models/operations/stackone_authenticate_connect_session_response.rb + - lib/stack_one/models/operations/stackone_create_connect_session_response.rb + - lib/stack_one/models/operations/stackone_delete_account_request.rb + - lib/stack_one/models/operations/stackone_delete_account_response.rb + - lib/stack_one/models/operations/stackone_get_account_meta_info_request.rb + - lib/stack_one/models/operations/stackone_get_account_meta_info_response.rb + - lib/stack_one/models/operations/stackone_get_account_request.rb + - lib/stack_one/models/operations/stackone_get_account_response.rb + - lib/stack_one/models/operations/stackone_get_connector_meta_request.rb + - lib/stack_one/models/operations/stackone_get_connector_meta_response.rb + - lib/stack_one/models/operations/stackone_list_connectors_meta_request.rb + - lib/stack_one/models/operations/stackone_list_connectors_meta_response.rb + - lib/stack_one/models/operations/stackone_list_linked_accounts_request.rb + - lib/stack_one/models/operations/stackone_list_linked_accounts_response.rb + - lib/stack_one/models/operations/stackone_proxy_request_request.rb + - lib/stack_one/models/operations/stackone_proxy_request_response.rb + - lib/stack_one/models/operations/stackone_update_account_request.rb + - lib/stack_one/models/operations/stackone_update_account_response.rb + - lib/stack_one/models/shared.rb + - lib/stack_one/models/shared/account.rb + - lib/stack_one/models/shared/accountaddress.rb + - lib/stack_one/models/shared/accountaddress_schemas_value.rb + - lib/stack_one/models/shared/accountaddress_value.rb + - lib/stack_one/models/shared/accountresult.rb + - lib/stack_one/models/shared/accountspaginated.rb + - lib/stack_one/models/shared/active.rb + - lib/stack_one/models/shared/answer.rb + - lib/stack_one/models/shared/answer_value.rb + - lib/stack_one/models/shared/application.rb + - lib/stack_one/models/shared/application_candidate.rb + - lib/stack_one/models/shared/application_interview_stage.rb + - lib/stack_one/models/shared/application_status.rb + - lib/stack_one/models/shared/application_value.rb + - lib/stack_one/models/shared/applicationattachment.rb + - lib/stack_one/models/shared/applicationattachment_value.rb + - lib/stack_one/models/shared/applicationcustomfields.rb + - lib/stack_one/models/shared/applicationresult.rb + - lib/stack_one/models/shared/applicationspaginated.rb + - lib/stack_one/models/shared/assessmentspackages.rb + - lib/stack_one/models/shared/assessmentspackages_type.rb + - lib/stack_one/models/shared/assessmentspackages_value.rb + - lib/stack_one/models/shared/assessmentspackagespaginated.rb + - lib/stack_one/models/shared/assessmentspackagesresult.rb + - lib/stack_one/models/shared/assessmentsresults.rb + - lib/stack_one/models/shared/assessmentsresults_candidate.rb + - lib/stack_one/models/shared/assessmentsresults_content_type.rb + - lib/stack_one/models/shared/assessmentsresults_schemas_value.rb + - lib/stack_one/models/shared/assessmentsresults_value.rb + - lib/stack_one/models/shared/assessmentsresultsresult.rb + - lib/stack_one/models/shared/assignment.rb + - lib/stack_one/models/shared/assignmentresult.rb + - lib/stack_one/models/shared/assignmentspaginated.rb + - lib/stack_one/models/shared/assignmentstatusenum.rb + - lib/stack_one/models/shared/atscreateapplicationrequestdto.rb + - lib/stack_one/models/shared/atscreateapplicationrequestdto_application_status.rb + - lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb + - lib/stack_one/models/shared/atscreateapplicationrequestdto_source.rb + - lib/stack_one/models/shared/atscreateapplicationrequestdto_value.rb + - lib/stack_one/models/shared/atscreatecandidaterequestdto.rb + - lib/stack_one/models/shared/atscreatenotesrequestdto.rb + - lib/stack_one/models/shared/atscreatenotesrequestdto_value.rb + - lib/stack_one/models/shared/atscreateofferrequestdto.rb + - lib/stack_one/models/shared/atscreateofferrequestdto_value.rb + - lib/stack_one/models/shared/atsdocumentapimodel.rb + - lib/stack_one/models/shared/atsdocumentapimodel_category.rb + - lib/stack_one/models/shared/atsdocumentapimodel_schemas_value.rb + - lib/stack_one/models/shared/atsdocumentapimodel_type.rb + - lib/stack_one/models/shared/atsdocumentapimodel_value.rb + - lib/stack_one/models/shared/atsdocumentresult.rb + - lib/stack_one/models/shared/atsdocumentspaginated.rb + - lib/stack_one/models/shared/atslocation.rb + - lib/stack_one/models/shared/atslocationresult.rb + - lib/stack_one/models/shared/atslocationspaginated.rb + - lib/stack_one/models/shared/atsmoveapplicationrequestdto.rb + - lib/stack_one/models/shared/atsrejectapplicationrequestdto.rb + - lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb + - lib/stack_one/models/shared/atsupdateapplicationrequestdto_application_status.rb + - lib/stack_one/models/shared/atsupdateapplicationrequestdto_source.rb + - lib/stack_one/models/shared/atsupdateapplicationrequestdto_value.rb + - lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb + - lib/stack_one/models/shared/attachments.rb + - lib/stack_one/models/shared/avatar.rb + - lib/stack_one/models/shared/batchresultapimodel.rb + - lib/stack_one/models/shared/benefit_type.rb + - lib/stack_one/models/shared/campaign.rb + - lib/stack_one/models/shared/campaign_schemas_value.rb + - lib/stack_one/models/shared/campaign_value.rb + - lib/stack_one/models/shared/campaignresult.rb + - lib/stack_one/models/shared/campaignspaginated.rb + - lib/stack_one/models/shared/candidate.rb + - lib/stack_one/models/shared/candidatecustomfields.rb + - lib/stack_one/models/shared/candidateemail.rb + - lib/stack_one/models/shared/candidateresult.rb + - lib/stack_one/models/shared/candidatespaginated.rb + - lib/stack_one/models/shared/categories.rb + - lib/stack_one/models/shared/categoriespaginated.rb + - lib/stack_one/models/shared/category.rb + - lib/stack_one/models/shared/categoryresult.rb + - lib/stack_one/models/shared/channelsenum.rb + - lib/stack_one/models/shared/channelsenum_value.rb + - lib/stack_one/models/shared/companiespaginated.rb + - lib/stack_one/models/shared/company.rb + - lib/stack_one/models/shared/companyresult.rb + - lib/stack_one/models/shared/completion.rb + - lib/stack_one/models/shared/completion_schemas_result.rb + - lib/stack_one/models/shared/completion_value.rb + - lib/stack_one/models/shared/completionresult.rb + - lib/stack_one/models/shared/completionspaginated.rb + - lib/stack_one/models/shared/confidential.rb + - lib/stack_one/models/shared/connectorsmeta.rb + - lib/stack_one/models/shared/connectorsmeta_category.rb + - lib/stack_one/models/shared/connectsession.rb + - lib/stack_one/models/shared/connectsessionauthenticate.rb + - lib/stack_one/models/shared/connectsessioncreate.rb + - lib/stack_one/models/shared/connectsessioncreate_categories.rb + - lib/stack_one/models/shared/connectsessiontoken.rb + - lib/stack_one/models/shared/connectsessiontoken_categories.rb + - lib/stack_one/models/shared/contact.rb + - lib/stack_one/models/shared/contactresult.rb + - lib/stack_one/models/shared/contactscustomfields.rb + - lib/stack_one/models/shared/contactspaginated.rb + - lib/stack_one/models/shared/content.rb + - lib/stack_one/models/shared/content_file_format.rb + - lib/stack_one/models/shared/content_type.rb + - lib/stack_one/models/shared/content_value.rb + - lib/stack_one/models/shared/contentblock.rb + - lib/stack_one/models/shared/contentblock_schemas_value.rb + - lib/stack_one/models/shared/contentblock_status.rb + - lib/stack_one/models/shared/contentblock_type.rb + - lib/stack_one/models/shared/contentblock_value.rb + - lib/stack_one/models/shared/contentblockspaginated.rb + - lib/stack_one/models/shared/contentlanguageenum.rb + - lib/stack_one/models/shared/contentlanguageenum_value.rb + - lib/stack_one/models/shared/contentpaginated.rb + - lib/stack_one/models/shared/contentresult.rb + - lib/stack_one/models/shared/costcenters.rb + - lib/stack_one/models/shared/country.rb + - lib/stack_one/models/shared/countrycodeenum.rb + - lib/stack_one/models/shared/countrycodeenum_value.rb + - lib/stack_one/models/shared/course.rb + - lib/stack_one/models/shared/course_schemas_value.rb + - lib/stack_one/models/shared/course_type.rb + - lib/stack_one/models/shared/course_value.rb + - lib/stack_one/models/shared/coursepaginated.rb + - lib/stack_one/models/shared/courseresult.rb + - lib/stack_one/models/shared/createcategoriesapimodel.rb + - lib/stack_one/models/shared/createresult.rb + - lib/stack_one/models/shared/createresultdataapimodel.rb + - lib/stack_one/models/shared/credentials.rb + - lib/stack_one/models/shared/crmcreatecontactrequestdto.rb + - lib/stack_one/models/shared/customfielddefinition.rb + - lib/stack_one/models/shared/customfielddefinition_type.rb + - lib/stack_one/models/shared/customfielddefinition_value.rb + - lib/stack_one/models/shared/customfielddefinitionresultapimodel.rb + - lib/stack_one/models/shared/customfielddefinitionspaginated.rb + - lib/stack_one/models/shared/department.rb + - lib/stack_one/models/shared/departmentresult.rb + - lib/stack_one/models/shared/departmentspaginated.rb + - lib/stack_one/models/shared/document.rb + - lib/stack_one/models/shared/emailmessages.rb + - lib/stack_one/models/shared/emailmessages_value.rb + - lib/stack_one/models/shared/employee.rb + - lib/stack_one/models/shared/employee_company.rb + - lib/stack_one/models/shared/employee_country.rb + - lib/stack_one/models/shared/employee_location_type.rb + - lib/stack_one/models/shared/employee_schemas_country.rb + - lib/stack_one/models/shared/employee_schemas_employment_type_value.rb + - lib/stack_one/models/shared/employee_schemas_ethnicity_value.rb + - lib/stack_one/models/shared/employee_schemas_gender_value.rb + - lib/stack_one/models/shared/employee_schemas_home_location_location_type_value.rb + - lib/stack_one/models/shared/employee_schemas_home_location_value.rb + - lib/stack_one/models/shared/employee_schemas_location_type.rb + - lib/stack_one/models/shared/employee_schemas_marital_status_value.rb + - lib/stack_one/models/shared/employee_schemas_national_identity_number_value.rb + - lib/stack_one/models/shared/employee_schemas_preferred_language_value.rb + - lib/stack_one/models/shared/employee_schemas_value.rb + - lib/stack_one/models/shared/employee_schemas_work_location_location_type_value.rb + - lib/stack_one/models/shared/employee_schemas_work_location_value.rb + - lib/stack_one/models/shared/employee_type.rb + - lib/stack_one/models/shared/employee_value.rb + - lib/stack_one/models/shared/employeecustomfields.rb + - lib/stack_one/models/shared/employeeresult.rb + - lib/stack_one/models/shared/employeespaginated.rb + - lib/stack_one/models/shared/employment.rb + - lib/stack_one/models/shared/employment_contract_type.rb + - lib/stack_one/models/shared/employment_employment_contract_type.rb + - lib/stack_one/models/shared/employment_employment_type.rb + - lib/stack_one/models/shared/employment_schemas_pay_frequency_value.rb + - lib/stack_one/models/shared/employment_schemas_pay_period_value.rb + - lib/stack_one/models/shared/employment_schemas_value.rb + - lib/stack_one/models/shared/employment_status.rb + - lib/stack_one/models/shared/employment_type.rb + - lib/stack_one/models/shared/employment_value.rb + - lib/stack_one/models/shared/employmentresult.rb + - lib/stack_one/models/shared/employmentspaginated.rb + - lib/stack_one/models/shared/ethnicity.rb + - lib/stack_one/models/shared/field.rb + - lib/stack_one/models/shared/field_type.rb + - lib/stack_one/models/shared/file_format.rb + - lib/stack_one/models/shared/gender.rb + - lib/stack_one/models/shared/headers.rb + - lib/stack_one/models/shared/home_location.rb + - lib/stack_one/models/shared/hrisbatchdocumentuploadrequestdto.rb + - lib/stack_one/models/shared/hrisbenefit.rb + - lib/stack_one/models/shared/hrisbenefit_value.rb + - lib/stack_one/models/shared/hrisbenefitresult.rb + - lib/stack_one/models/shared/hrisbenefitspaginated.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_avatar.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_country.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_employment_contract_type.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_employment_status.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_employment_type.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_ethnicity.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_gender.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_home_location.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_marital_status.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_national_identity_number.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_preferred_language.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_country.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_ethnicity_value.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_gender_value.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_state_value.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_value.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_marital_status_value.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_national_identity_number_value.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_preferred_language_value.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_value.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_state_value.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_value.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_state.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_type.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_value.rb + - lib/stack_one/models/shared/hriscreateemployeerequestdto_work_location.rb + - lib/stack_one/models/shared/hriscreatetimeoffrequestdto.rb + - lib/stack_one/models/shared/hriscreatetimeoffrequestdto_schemas_value.rb + - lib/stack_one/models/shared/hriscreatetimeoffrequestdto_status.rb + - lib/stack_one/models/shared/hriscreatetimeoffrequestdto_type.rb + - lib/stack_one/models/shared/hriscreatetimeoffrequestdto_value.rb + - lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto.rb + - lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_category.rb + - lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_file_format.rb + - lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_document_value.rb + - lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_value.rb + - lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_type.rb + - lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_value.rb + - lib/stack_one/models/shared/hrisdepartment.rb + - lib/stack_one/models/shared/hrisdepartment_type.rb + - lib/stack_one/models/shared/hrisdepartment_value.rb + - lib/stack_one/models/shared/hrisdepartmentspaginated.rb + - lib/stack_one/models/shared/hrisdepartmentsresult.rb + - lib/stack_one/models/shared/hrisdocumentapimodel.rb + - lib/stack_one/models/shared/hrisdocumentapimodel_category.rb + - lib/stack_one/models/shared/hrisdocumentapimodel_file_format.rb + - lib/stack_one/models/shared/hrisdocumentapimodel_schemas_type_value.rb + - lib/stack_one/models/shared/hrisdocumentapimodel_schemas_value.rb + - lib/stack_one/models/shared/hrisdocumentapimodel_type.rb + - lib/stack_one/models/shared/hrisdocumentapimodel_value.rb + - lib/stack_one/models/shared/hrisdocumentresult.rb + - lib/stack_one/models/shared/hrisdocumentspaginated.rb + - lib/stack_one/models/shared/hrisdocumentsuploadrequestdto.rb + - lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_category.rb + - lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_file_format.rb + - lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_file_format_value.rb + - lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_value.rb + - lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_value.rb + - lib/stack_one/models/shared/hrisgroup.rb + - lib/stack_one/models/shared/hrisgroup_type.rb + - lib/stack_one/models/shared/hrisgroup_value.rb + - lib/stack_one/models/shared/hrisgroupspaginated.rb + - lib/stack_one/models/shared/hrisgroupsresult.rb + - lib/stack_one/models/shared/hrislocation.rb + - lib/stack_one/models/shared/hrislocation_country.rb + - lib/stack_one/models/shared/hrislocation_location_type.rb + - lib/stack_one/models/shared/hrislocation_schemas_value.rb + - lib/stack_one/models/shared/hrislocation_value.rb + - lib/stack_one/models/shared/hrislocationresult.rb + - lib/stack_one/models/shared/hrislocationspaginated.rb + - lib/stack_one/models/shared/iamgroup.rb + - lib/stack_one/models/shared/iamgroup_type.rb + - lib/stack_one/models/shared/iamgroup_value.rb + - lib/stack_one/models/shared/iamgroupresult.rb + - lib/stack_one/models/shared/iamgroupspaginated.rb + - lib/stack_one/models/shared/iammfatypeenum.rb + - lib/stack_one/models/shared/iammfatypeenum_value.rb + - lib/stack_one/models/shared/iampermission.rb + - lib/stack_one/models/shared/iampermission_type.rb + - lib/stack_one/models/shared/iampermission_value.rb + - lib/stack_one/models/shared/iampoliciespaginated.rb + - lib/stack_one/models/shared/iampolicy.rb + - lib/stack_one/models/shared/iampolicyresult.rb + - lib/stack_one/models/shared/iamresource.rb + - lib/stack_one/models/shared/iamresource_type.rb + - lib/stack_one/models/shared/iamresource_value.rb + - lib/stack_one/models/shared/iamrole.rb + - lib/stack_one/models/shared/iamrole_type.rb + - lib/stack_one/models/shared/iamrole_value.rb + - lib/stack_one/models/shared/iamroleresult.rb + - lib/stack_one/models/shared/iamrolespaginated.rb + - lib/stack_one/models/shared/iamuser.rb + - lib/stack_one/models/shared/iamuser_avatar.rb + - lib/stack_one/models/shared/iamuser_category.rb + - lib/stack_one/models/shared/iamuser_file_format.rb + - lib/stack_one/models/shared/iamuser_schemas_value.rb + - lib/stack_one/models/shared/iamuser_status.rb + - lib/stack_one/models/shared/iamuser_value.rb + - lib/stack_one/models/shared/iamuserresult.rb + - lib/stack_one/models/shared/iamuserspaginated.rb + - lib/stack_one/models/shared/images.rb + - lib/stack_one/models/shared/inappmessages.rb + - lib/stack_one/models/shared/inappmessages_message_content.rb + - lib/stack_one/models/shared/inappmessages_message_type.rb + - lib/stack_one/models/shared/inappmessages_value.rb + - lib/stack_one/models/shared/internal.rb + - lib/stack_one/models/shared/interview.rb + - lib/stack_one/models/shared/interview_interview_stage.rb + - lib/stack_one/models/shared/interview_status.rb + - lib/stack_one/models/shared/interview_value.rb + - lib/stack_one/models/shared/interviewer.rb + - lib/stack_one/models/shared/interviewpart.rb + - lib/stack_one/models/shared/interviewpart_type.rb + - lib/stack_one/models/shared/interviewpart_value.rb + - lib/stack_one/models/shared/interviewspaginated.rb + - lib/stack_one/models/shared/interviewsresult.rb + - lib/stack_one/models/shared/interviewstage.rb + - lib/stack_one/models/shared/interviewstageresult.rb + - lib/stack_one/models/shared/interviewstagespaginated.rb + - lib/stack_one/models/shared/issued_by.rb + - lib/stack_one/models/shared/job.rb + - lib/stack_one/models/shared/job_confidential.rb + - lib/stack_one/models/shared/job_description.rb + - lib/stack_one/models/shared/job_status.rb + - lib/stack_one/models/shared/job_value.rb + - lib/stack_one/models/shared/jobcustomfields.rb + - lib/stack_one/models/shared/jobhiringteam.rb + - lib/stack_one/models/shared/jobposting.rb + - lib/stack_one/models/shared/jobposting_content.rb + - lib/stack_one/models/shared/jobposting_employment_contract_type.rb + - lib/stack_one/models/shared/jobposting_employment_type.rb + - lib/stack_one/models/shared/jobposting_schemas_status_value.rb + - lib/stack_one/models/shared/jobposting_schemas_value.rb + - lib/stack_one/models/shared/jobposting_status.rb + - lib/stack_one/models/shared/jobposting_value.rb + - lib/stack_one/models/shared/jobpostingcompensation.rb + - lib/stack_one/models/shared/jobpostingcompensation_pay_frequency.rb + - lib/stack_one/models/shared/jobpostingcompensation_pay_period.rb + - lib/stack_one/models/shared/jobpostingcompensation_schemas_type_value.rb + - lib/stack_one/models/shared/jobpostingcompensation_schemas_value.rb + - lib/stack_one/models/shared/jobpostingcompensation_type.rb + - lib/stack_one/models/shared/jobpostingcompensation_value.rb + - lib/stack_one/models/shared/jobpostingcontentsection.rb + - lib/stack_one/models/shared/jobpostingcontentsection_type.rb + - lib/stack_one/models/shared/jobpostingcontentsection_value.rb + - lib/stack_one/models/shared/jobpostinglocation.rb + - lib/stack_one/models/shared/jobpostingquestionnaire.rb + - lib/stack_one/models/shared/jobpostingresult.rb + - lib/stack_one/models/shared/jobpostingspaginated.rb + - lib/stack_one/models/shared/jobresult.rb + - lib/stack_one/models/shared/jobspaginated.rb + - lib/stack_one/models/shared/label.rb + - lib/stack_one/models/shared/linkedaccount.rb + - lib/stack_one/models/shared/linkedaccount_status.rb + - lib/stack_one/models/shared/linkedaccountmeta.rb + - lib/stack_one/models/shared/linkedaccountmeta_category.rb + - lib/stack_one/models/shared/list.rb + - lib/stack_one/models/shared/list_type.rb + - lib/stack_one/models/shared/list_value.rb + - lib/stack_one/models/shared/listitem.rb + - lib/stack_one/models/shared/listresult.rb + - lib/stack_one/models/shared/listspaginated.rb + - lib/stack_one/models/shared/lmsbatchupsertcontentrequestdto.rb + - lib/stack_one/models/shared/lmscreatecompletionrequestdto.rb + - lib/stack_one/models/shared/lmscreatecompletionrequestdto_result.rb + - lib/stack_one/models/shared/lmscreatecompletionrequestdto_value.rb + - lib/stack_one/models/shared/lmscreatecontentrequestdto.rb + - lib/stack_one/models/shared/lmscreatecontentrequestdto_content_type.rb + - lib/stack_one/models/shared/lmscreatecontentrequestdto_value.rb + - lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb + - lib/stack_one/models/shared/lmsupsertcontentrequestdto_content_type.rb + - lib/stack_one/models/shared/lmsupsertcontentrequestdto_value.rb + - lib/stack_one/models/shared/lmsuser.rb + - lib/stack_one/models/shared/location_type.rb + - lib/stack_one/models/shared/marital_status.rb + - lib/stack_one/models/shared/marketingcreatecontentblocksrequestdto.rb + - lib/stack_one/models/shared/marketingcreateemailtemplaterequestdto.rb + - lib/stack_one/models/shared/marketingcreateinapptemplaterequestdto.rb + - lib/stack_one/models/shared/marketingcreatepushtemplaterequestdto.rb + - lib/stack_one/models/shared/marketingcreatesmstemplaterequestdto.rb + - lib/stack_one/models/shared/marketingcreatetemplaterequestdto.rb + - lib/stack_one/models/shared/message.rb + - lib/stack_one/models/shared/message_content.rb + - lib/stack_one/models/shared/message_message_type.rb + - lib/stack_one/models/shared/message_type.rb + - lib/stack_one/models/shared/message_value.rb + - lib/stack_one/models/shared/metadata.rb + - lib/stack_one/models/shared/method.rb + - lib/stack_one/models/shared/moveapplicationresult.rb + - lib/stack_one/models/shared/national_identity_number.rb + - lib/stack_one/models/shared/note.rb + - lib/stack_one/models/shared/note_value.rb + - lib/stack_one/models/shared/note_visibility.rb + - lib/stack_one/models/shared/notecontentapimodel.rb + - lib/stack_one/models/shared/noteresult.rb + - lib/stack_one/models/shared/notespaginated.rb + - lib/stack_one/models/shared/offer.rb + - lib/stack_one/models/shared/offer_offer_status.rb + - lib/stack_one/models/shared/offer_status.rb + - lib/stack_one/models/shared/offer_value.rb + - lib/stack_one/models/shared/offerhistory.rb + - lib/stack_one/models/shared/offerspaginated.rb + - lib/stack_one/models/shared/offersresult.rb + - lib/stack_one/models/shared/overall_recommendation.rb + - lib/stack_one/models/shared/patchaccountexternaldto.rb + - lib/stack_one/models/shared/patchaccountexternaldto_credentials.rb + - lib/stack_one/models/shared/patchaccountexternaldto_setup_information.rb + - lib/stack_one/models/shared/pay_frequency.rb + - lib/stack_one/models/shared/pay_period.rb + - lib/stack_one/models/shared/phonenumber.rb + - lib/stack_one/models/shared/phonenumber_type.rb + - lib/stack_one/models/shared/preferred_language.rb + - lib/stack_one/models/shared/providererrorapimodel.rb + - lib/stack_one/models/shared/proxyrequestbody.rb + - lib/stack_one/models/shared/pushmessages.rb + - lib/stack_one/models/shared/pushmessages_message_content.rb + - lib/stack_one/models/shared/pushmessages_message_type.rb + - lib/stack_one/models/shared/pushmessages_value.rb + - lib/stack_one/models/shared/question.rb + - lib/stack_one/models/shared/question_type.rb + - lib/stack_one/models/shared/question_value.rb + - lib/stack_one/models/shared/questionmultiplechoiceanswers.rb + - lib/stack_one/models/shared/questionnaire.rb + - lib/stack_one/models/shared/raw.rb + - lib/stack_one/models/shared/rawresponse.rb + - lib/stack_one/models/shared/reference.rb + - lib/stack_one/models/shared/referencepaginated.rb + - lib/stack_one/models/shared/referenceresult.rb + - lib/stack_one/models/shared/rejectapplicationresult.rb + - lib/stack_one/models/shared/rejected_reason_type.rb + - lib/stack_one/models/shared/rejectedreason.rb + - lib/stack_one/models/shared/rejectedreason_value.rb + - lib/stack_one/models/shared/rejectedreasonresult.rb + - lib/stack_one/models/shared/rejectedreasonspaginated.rb + - lib/stack_one/models/shared/resources.rb + - lib/stack_one/models/shared/result.rb + - lib/stack_one/models/shared/resultlink.rb + - lib/stack_one/models/shared/schedule_type.rb + - lib/stack_one/models/shared/scheduledinterview.rb + - lib/stack_one/models/shared/scheduledinterview_interview_stage.rb + - lib/stack_one/models/shared/scheduledinterview_interview_status.rb + - lib/stack_one/models/shared/scheduledinterview_value.rb + - lib/stack_one/models/shared/scheduledinterviewspaginated.rb + - lib/stack_one/models/shared/scheduledinterviewsresult.rb + - lib/stack_one/models/shared/score.rb + - lib/stack_one/models/shared/scorecard.rb + - lib/stack_one/models/shared/scorecardsection.rb + - lib/stack_one/models/shared/scorecardspaginated.rb + - lib/stack_one/models/shared/scorecardsresult.rb + - lib/stack_one/models/shared/secrets.rb + - lib/stack_one/models/shared/security.rb + - lib/stack_one/models/shared/setup_information.rb + - lib/stack_one/models/shared/skillresult.rb + - lib/stack_one/models/shared/skills.rb + - lib/stack_one/models/shared/skillspaginated.rb + - lib/stack_one/models/shared/smsmessages.rb + - lib/stack_one/models/shared/smsmessages_message_content.rb + - lib/stack_one/models/shared/smsmessages_message_type.rb + - lib/stack_one/models/shared/smsmessages_value.rb + - lib/stack_one/models/shared/sociallink.rb + - lib/stack_one/models/shared/source.rb + - lib/stack_one/models/shared/state.rb + - lib/stack_one/models/shared/status.rb + - lib/stack_one/models/shared/statusreason.rb + - lib/stack_one/models/shared/template.rb + - lib/stack_one/models/shared/templateresult.rb + - lib/stack_one/models/shared/templatespaginated.rb + - lib/stack_one/models/shared/timeoff.rb + - lib/stack_one/models/shared/timeoff_schemas_value.rb + - lib/stack_one/models/shared/timeoff_status.rb + - lib/stack_one/models/shared/timeoff_type.rb + - lib/stack_one/models/shared/timeoff_value.rb + - lib/stack_one/models/shared/timeoffpaginated.rb + - lib/stack_one/models/shared/timeoffresult.rb + - lib/stack_one/models/shared/type.rb + - lib/stack_one/models/shared/unifieduploadrequestdto.rb + - lib/stack_one/models/shared/unifieduploadrequestdto_category.rb + - lib/stack_one/models/shared/unifieduploadrequestdto_confidential.rb + - lib/stack_one/models/shared/unifieduploadrequestdto_file_format.rb + - lib/stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb + - lib/stack_one/models/shared/unifieduploadrequestdto_value.rb + - lib/stack_one/models/shared/updateresult.rb + - lib/stack_one/models/shared/userresult.rb + - lib/stack_one/models/shared/userspaginated.rb + - lib/stack_one/models/shared/value.rb + - lib/stack_one/models/shared/visibility.rb + - lib/stack_one/models/shared/work_location.rb + - lib/stack_one/models/shared/workeligibility.rb + - lib/stack_one/models/shared/workeligibility_category.rb + - lib/stack_one/models/shared/workeligibility_document.rb + - lib/stack_one/models/shared/workeligibility_file_format.rb + - lib/stack_one/models/shared/workeligibility_issued_by.rb + - lib/stack_one/models/shared/workeligibility_schemas_document_value.rb + - lib/stack_one/models/shared/workeligibility_schemas_value.rb + - lib/stack_one/models/shared/workeligibility_type.rb + - lib/stack_one/models/shared/workeligibility_value.rb + - lib/stack_one/models/shared/workeligibilitypaginated.rb + - lib/stack_one/models/shared/workeligibilityresult.rb + - lib/stack_one/models/shared/writeresultapimodel.rb + - lib/stack_one/proxy.rb + - lib/stack_one/sdkconfiguration.rb + - lib/stack_one/stackone.rb + - lib/stack_one/utils/metadata_fields.rb + - lib/stack_one/utils/t.rb + - lib/stack_one/utils/utils.rb + - lib/stackone_client.rb + - sorbet/config + - sorbet/rbi/annotations/.gitattributes + - sorbet/rbi/annotations/faraday.rbi + - sorbet/rbi/annotations/rainbow.rbi + - sorbet/rbi/gems/.gitattributes + - sorbet/rbi/gems/ast@2.4.2.rbi + - sorbet/rbi/gems/base64@0.1.1.rbi + - sorbet/rbi/gems/erubi@1.12.0.rbi + - sorbet/rbi/gems/faraday-multipart@1.0.4.rbi + - sorbet/rbi/gems/faraday-net_http@3.0.2.rbi + - sorbet/rbi/gems/faraday@2.7.11.rbi + - sorbet/rbi/gems/json@2.6.3.rbi + - sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi + - sorbet/rbi/gems/minitest@5.20.0.rbi + - sorbet/rbi/gems/multipart-post@2.3.0.rbi + - sorbet/rbi/gems/netrc@0.11.0.rbi + - sorbet/rbi/gems/parallel@1.23.0.rbi + - sorbet/rbi/gems/parser@3.2.2.4.rbi + - sorbet/rbi/gems/prettier_print@1.2.1.rbi + - sorbet/rbi/gems/racc@1.7.1.rbi + - sorbet/rbi/gems/rack@3.0.8.rbi + - sorbet/rbi/gems/rainbow@3.1.1.rbi + - sorbet/rbi/gems/rake@13.0.6.rbi + - sorbet/rbi/gems/rbi@0.1.1.rbi + - sorbet/rbi/gems/regexp_parser@2.8.2.rbi + - sorbet/rbi/gems/rexml@3.2.6.rbi + - sorbet/rbi/gems/rubocop-ast@1.29.0.rbi + - sorbet/rbi/gems/rubocop@1.57.1.rbi + - sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi + - sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi + - sorbet/rbi/gems/spoom@1.2.4.rbi + - sorbet/rbi/gems/syntax_tree@6.2.0.rbi + - sorbet/rbi/gems/tapioca@0.11.9.rbi + - sorbet/rbi/gems/thor@1.3.0.rbi + - sorbet/rbi/gems/unicode-display_width@2.5.0.rbi + - sorbet/rbi/gems/yard-sorbet@0.8.1.rbi + - sorbet/rbi/gems/yard@0.9.34.rbi + - sorbet/rbi/gems/yarp@0.13.0.rbi + - sorbet/tapioca/config.yml + - sorbet/tapioca/require.rb + - stackone_client.gemspec +examples: + stackone_delete_account: + speakeasy-default-stackone-delete-account: + parameters: + path: + id: "" + responses: + "200": + application/json: {"created_at": "2022-03-02T02:38:36.785Z", "id": "", "origin_owner_id": "", "origin_owner_name": "", "provider": "", "status": "active", "updated_at": "2024-08-29T06:25:30.582Z"} + stackone_get_account: + speakeasy-default-stackone-get-account: + parameters: + path: + id: "" + responses: + "200": + application/json: {"created_at": "2022-06-04T12:12:16.237Z", "id": "", "origin_owner_id": "", "origin_owner_name": "", "provider": "", "status": "inactive", "updated_at": "2022-04-27T20:34:28.724Z"} + stackone_get_account_meta_info: + speakeasy-default-stackone-get-account-meta-info: + parameters: + path: + id: "" + responses: + "200": + application/json: {"category": "crm", "models": {"key": "", "key1": "", "key2": ""}, "provider": ""} + stackone_list_linked_accounts: + speakeasy-default-stackone-list-linked-accounts: + responses: + "200": + application/json: [] + stackone_update_account: + speakeasy-default-stackone-update-account: + parameters: + path: + id: "" + responses: + "200": + application/json: {"created_at": "2023-10-27T20:01:43.167Z", "id": "", "origin_owner_id": "", "origin_owner_name": "", "provider": "", "status": "error", "updated_at": "2024-07-26T23:05:41.064Z"} + stackone_authenticate_connect_session: + speakeasy-default-stackone-authenticate-connect-session: + requestBody: + application/json: {"token": ""} + responses: + "201": + application/json: {"categories": ["ats", "hris", "hris-legacy", "crm", "iam", "marketing", "lms", "lms"], "created_at": "2022-11-06T21:29:11.002Z", "id": "2863.15", "organization_id": "5844.8", "origin_owner_id": "", "origin_owner_name": "", "project_id": ""} + stackone_create_connect_session: + speakeasy-default-stackone-create-connect-session: + requestBody: + application/json: {"categories": ["ats", "hris", "hris-legacy", "crm", "iam", "marketing", "lms", "stackone"], "origin_owner_id": "", "origin_owner_name": ""} + responses: + "201": + application/json: {"categories": ["ats", "hris", "ats", "crm", "iam", "marketing", "lms", "iam"], "created_at": "2024-01-28T04:32:28.342Z", "id": "4207.79", "organization_id": "6497.42", "origin_owner_id": "", "origin_owner_name": "", "project_id": "", "token": ""} + stackone_get_connector_meta: + "": + parameters: + path: + provider: "" + query: + include: "field_path,unmapped_fields,resources,inactive,webhooks" + responses: + "200": + application/json: {"active": true, "category": "hris", "models": {"employees": {"create": {"apiPath": "/unified/hris/employees/:id", "input": {"defaultFields": [{"name": "first_name", "type": "string"}]}, "output": {"defaultFields": [{"name": "id", "type": "string"}]}}}, "time_off": {"get": {"apiPath": "/unified/hris/employees/:id/time_off/:id", "output": {"defaultFields": [{"name": "id", "type": "string"}]}}}}, "provider": "hibob", "provider_name": "Hibob", "resources": {"images": {"logo_url": "https://app.stackone.com/assets/logos/hibob.png", "original_logo_horizontal_url": "https://app.stackone.com/assets/logos/original/hibob_horizontal.png"}}} + stackone_list_connectors_meta: + "": + parameters: + query: + include: "field_path,unmapped_fields,resources,inactive,webhooks" + responses: + "200": + application/json: [] + ats_create_application: + speakeasy-default-ats-create-application: + parameters: + header: + x-account-id: "" + requestBody: + application/json: {"application_status": {"source_value": "Hired", "value": "hired"}, "candidate": {"company": "Company Inc.", "country": "United States", "custom_fields": [], "email": "sestier.romain123@gmail.com", "first_name": "Romain", "hired_at": "2021-01-01T01:01:01.000Z", "last_name": "Sestier", "name": "Romain Sestier", "passthrough": {"other_known_names": "John Doe"}, "phone_number": "+1234567890", "social_links": [], "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "candidate_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "job_id": "4071538b-3cac-4fbf-ac76-f78ed250ffdd", "location_id": "dd8d41d1-5eb8-4408-9c87-9ba44604eae4", "passthrough": {"other_known_names": "John Doe"}, "questionnaires": [{"answers": [{"id": "answer1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"source_value": "Short Text", "value": "short_text"}, "values": ["Yes"]}], "id": "right_to_work", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "source": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "LinkedIn", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} + responses: + "201": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + ats_create_candidate: + speakeasy-default-ats-create-candidate: + parameters: + header: + x-account-id: "" + requestBody: + application/json: {"company": "Company Inc.", "country": "United States", "custom_fields": [], "email": "sestier.romain123@gmail.com", "first_name": "Romain", "hired_at": "2021-01-01T01:01:01.000Z", "last_name": "Sestier", "name": "Romain Sestier", "passthrough": {"other_known_names": "John Doe"}, "phone_number": "+1234567890", "social_links": [], "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}} + responses: + "200": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + ats_create_candidate_note: + speakeasy-default-ats-create-candidate-note: + parameters: + path: + id: "" + header: + x-account-id: "" + requestBody: + application/json: {"author_id": "1234567890", "content": [], "passthrough": {"other_known_names": "John Doe"}, "visibility": {"source_value": "Public", "value": "public"}} + responses: + "201": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + ats_create_offer: + speakeasy-default-ats-create-offer: + parameters: + header: + x-account-id: "" + requestBody: + application/json: {"offer_history": [], "offer_status": {"source_value": "Pending", "value": "pending"}, "passthrough": {"other_known_names": "John Doe"}, "start_date": "2021-01-01T01:01:01.000Z"} + responses: + "200": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + ats_download_application_document: + "": + parameters: + path: + id: "" + subResourceId: "" + query: + format: "base64" + header: + x-account-id: "" + responses: + "200": + application/octet-stream: "0xdfebCB238B" + ats_get_application: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate" + expand: "documents" + include: "attachments,custom_fields" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"application_status": {"source_value": "Hired", "value": "hired"}, "candidate": {"company": "Company Inc.", "email": "john.doe@example.com", "emails": [], "first_name": "John", "last_name": "Doe", "name": "Romain Sestier", "phone_numbers": [], "social_links": [], "title": "Software Engineer"}, "candidate_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [], "documents": [], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_stage": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, "interview_stage_id": "18bcbb1b-3cbc-4198-a999-460861d19480", "job_id": "4071538b-3cac-4fbf-ac76-f78ed250ffdd", "location_id": "dd8d41d1-5eb8-4408-9c87-9ba44604eae4", "location_ids": ["dd8d41d1-5eb8-4408-9c87-9ba44604eae4"], "questionnaires": [{"answers": [{"id": "answer1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"source_value": "Short Text", "value": "short_text"}, "values": ["Yes"]}], "id": "right_to_work", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "rejected_at": "2021-01-01T01:01:01.000Z", "rejected_reason_ids": ["f223d7f6-908b-48f0-9237-b201c307f609"], "rejected_reasons": [], "remote_candidate_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_stage_id": "18bcbb1b-3cbc-4198-a999-460861d19480", "remote_job_id": "4071538b-3cac-4fbf-ac76-f78ed250ffdd", "remote_location_id": "dd8d41d1-5eb8-4408-9c87-9ba44604eae4", "remote_location_ids": ["dd8d41d1-5eb8-4408-9c87-9ba44604eae4"], "remote_rejected_reason_ids": ["f223d7f6-908b-48f0-9237-b201c307f609"], "result_links": [], "source": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "LinkedIn", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + ats_get_application_custom_field_definition: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name,description,type,options" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "options": ["Not Started", "In Progress", "Completed", "Overdue"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} + ats_get_application_document: + "": + parameters: + path: + id: "" + subResourceId: "" + query: + fields: "id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-02T01:01:01.000Z"}} + ats_get_application_offer: + "": + parameters: + path: + id: "" + subResourceId: "" + query: + fields: "id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "offer_history": [], "offer_status": {"source_value": "Pending", "value": "pending"}, "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + ats_get_application_scheduled_interview: + "": + parameters: + path: + id: "" + subResourceId: "" + query: + fields: "id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_parts": [], "interview_stage": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, "interview_status": {"source_value": "Unscheduled", "value": "unscheduled"}, "interviewers": [], "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_stage_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_interviewer_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a48"], "start_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}} + ats_get_application_scorecard: + "": + parameters: + path: + id: "" + subResourceId: "" + query: + fields: "id,remote_id,sections,label,candidate_id,remote_candidate_id,application_id,remote_application_id,interview_id,remote_interview_id,author_id,remote_author_id,overall_recommendation,created_at,updated_at" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"application_id": "1011-12", "author_id": "1617-18", "candidate_id": "5678-9", "created_at": "2021-01-01T00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_id": "1314-15", "label": "Technical Interview", "overall_recommendation": "strong_no", "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_author_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_candidate_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "sections": [], "updated_at": "2021-01-01T00:00.000Z"}} + ats_get_assessments_package: + speakeasy-default-ats-get-assessments-package: + parameters: + path: + id: "" + query: {} + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Skill Assessment", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"source_value": "key_responsibilities", "value": "responsibilities"}}} + ats_get_assessments_request: + "": + parameters: + path: + id: "" + query: + fields: "assessment_id,remote_assessment_id,candidate,score,assessment_date,submission_date,summary,result,result_url,attachments" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"assessment_date": "2021-01-01T01:01:01.000Z", "assessment_id": "f15aad8e-8db6-4194-8299-a525eb8fc30f", "attachments": {"content_type": {"source_value": "Text", "value": "text"}, "url": "http://example.com/resume.pdf"}, "candidate": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "profile_url": "https://exmaple.com/candidate?id=xyz"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "result": {"source_value": "Passed", "value": "passed"}, "result_url": "https://exmaple.com/result?id=xyz", "score": {"label": "Percentage", "max": "100", "min": "0", "value": "80"}, "submission_date": "2021-01-01T01:01:01.000Z", "summary": "Candidate demonstrates strong understanding of core concepts, but struggles with application"}} + ats_get_assessments_result: + "": + parameters: + path: + id: "" + query: + fields: "assessment_id,remote_assessment_id,candidate,score,assessment_date,submission_date,summary,result,result_url,attachments" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"assessment_date": "2021-01-01T01:01:01.000Z", "assessment_id": "f15aad8e-8db6-4194-8299-a525eb8fc30f", "attachments": {"content_type": {"source_value": "Text", "value": "text"}, "url": "http://example.com/resume.pdf"}, "candidate": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "profile_url": "https://exmaple.com/candidate?id=xyz"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "result": {"source_value": "Passed", "value": "passed"}, "result_url": "https://exmaple.com/result?id=xyz", "score": {"label": "Percentage", "max": "100", "min": "0", "value": "80"}, "submission_date": "2021-01-01T01:01:01.000Z", "summary": "Candidate demonstrates strong understanding of core concepts, but struggles with application"}} + ats_get_candidate: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,title,application_ids,remote_application_ids,hired_at,custom_fields,created_at,updated_at" + include: "custom_fields" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"application_ids": ["123e4567-e89b-12d3-a456-426614174000", "523e1234-e89b-fdd2-a456-762545121101"], "company": "Company Inc.", "country": "United States", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [], "email": "sestier.romain123@gmail.com", "emails": [], "first_name": "Romain", "hired_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Sestier", "name": "Romain Sestier", "phone_numbers": [], "remote_application_ids": ["123e4567-e89b-12d3-a456-426614174000", "523e1234-e89b-fdd2-a456-762545121101"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "social_links": [], "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + ats_get_candidate_custom_field_definition: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name,description,type,options" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "options": ["Not Started", "In Progress", "Completed", "Overdue"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} + ats_get_candidate_note: + "": + parameters: + path: + id: "" + subResourceId: "" + query: + fields: "id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"author_id": "1234567890", "content": [], "created_at": "2021-01-01T01:01:01.000Z", "deleted_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_author_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z", "visibility": {"source_value": "Public", "value": "public"}}} + ats_get_department: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} + ats_get_interview: + "": + parameters: + path: + id: "" + query: + 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" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_parts": [], "interview_stage": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, "interview_status": {"source_value": "Unscheduled", "value": "unscheduled"}, "interviewers": [], "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_stage_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_interviewer_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a48"], "start_at": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + ats_get_interview_stage: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name,order,created_at,updated_at" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + ats_get_job: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,code,title,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,custom_fields,created_at,updated_at" + expand: "job_postings,interview_stages" + include: "custom_fields" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"code": "184919", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [], "department_ids": ["308570", "308571", "308572"], "hiring_team": [], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_stages": [], "job_status": {"source_value": "Published", "value": "published"}, "location_ids": ["668570", "678571", "688572"], "remote_department_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_location_ids": ["668570", "678571", "688572"], "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + ats_get_job_custom_field_definition: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name,description,type,options" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "options": ["Not Started", "In Progress", "Completed", "Overdue"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} + ats_get_job_posting: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,title,locations,internal,status,job_id,remote_job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,updated_at,created_at" + include: "questionnaires" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"compensation": [{"currency": "USD", "max_value": "55000", "min_value": "45000", "name": "Base Salary", "pay_frequency": {"source_value": "Hourly", "value": "hourly"}, "pay_period": {"source_value": "Hour", "value": "hour"}, "type": {"source_value": "Salary", "value": "salary"}, "value": "50000"}, {"currency": "USD", "name": "Bonus", "pay_frequency": {"source_value": "Hourly", "value": "hourly"}, "pay_period": {"source_value": "Hour", "value": "hour"}, "type": {"source_value": "Salary", "value": "salary"}, "value": "10%"}], "content": {"html": "

This is an HTML description

", "plain": "This is a plain text description", "sections": []}, "created_at": "2021-01-01T01:01:01.000Z", "employment_contract_type": {"source_value": "FullTime", "value": "full_time"}, "employment_type": {"source_value": "Permanent", "value": "permanent"}, "external_apply_url": "https://www.example.com/job-posting/abcd1234/apply", "external_url": "https://www.example.com/job-posting/abcd1234", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "internal": "true", "job_id": "job001", "locations": [{"id": "12345", "name": "New York", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "67890", "name": "Remote", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "questionnaires": [{"id": "about001", "internal": "false", "name": "About", "questions": [{"id": "question001", "multiple_choice_answers": [], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "text": "What is your name?", "type": {"source_value": "ShortText", "value": "short_text"}}, {"id": "question002", "multiple_choice_answers": [], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": false, "text": "What are your hobbies?", "type": {"source_value": "ShortText", "value": "short_text"}}, {"id": "question003", "multiple_choice_answers": [{"id": "1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Dog"}, {"id": "2", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Cat"}, {"id": "3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Bird"}, {"id": "4", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Other"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "text": "What is your favorite animal?", "type": {"source_value": "ShortText", "value": "short_text"}}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "experience001", "internal": "false", "name": "Experience", "questions": [{"id": "question004", "multiple_choice_answers": [], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "text": "Please upload your resume.", "type": {"source_value": "ShortText", "value": "short_text"}}, {"id": "question005", "multiple_choice_answers": [{"id": "1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "JavaScript"}, {"id": "2", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Python"}, {"id": "3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Java"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "text": "Select the programming languages you are proficient in.", "type": {"source_value": "ShortText", "value": "short_text"}}, {"id": "question006", "multiple_choice_answers": [], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Are you willing to relocate?", "type": {"source_value": "ShortText", "value": "short_text"}}, {"id": "question007", "multiple_choice_answers": [], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "How many years of experience do you have?", "type": {"source_value": "ShortText", "value": "short_text"}}, {"id": "question008", "multiple_choice_answers": [], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "When did you start your most recent position?", "type": {"source_value": "ShortText", "value": "short_text"}}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_job_posting_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "status": {"source_value": "Live", "value": "live"}, "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + ats_get_list: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name,created_at,updated_at,items,type" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "items": [], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"source_value": "Contacts", "value": "contacts"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + ats_get_location: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} + ats_get_offer: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "offer_history": [], "offer_status": {"source_value": "Pending", "value": "pending"}, "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + ats_get_rejected_reason: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,label,type,rejected_reason_type" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Failed Phone Screen", "rejected_reason_type": {"source_value": "RejectedByOrg", "value": "rejected_by_organization"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} + ats_get_user: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,first_name,last_name,name,email" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "email": "john@dew.com", "external_reference": "al60043", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "John Dew", "phone_number": "+1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + ats_list_application_custom_field_definitions: + "": + parameters: + query: + fields: "id,remote_id,name,description,type,options" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + ats_list_application_documents: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + ats_list_application_scorecards: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,sections,label,candidate_id,remote_candidate_id,application_id,remote_application_id,interview_id,remote_interview_id,author_id,remote_author_id,overall_recommendation,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + ats_list_applications: + "": + parameters: + query: + fields: "id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + expand: "documents" + include: "attachments,custom_fields" + job_id: "cxQiyiuasdFKfdsYfer" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + ats_list_applications_offers: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + ats_list_applications_scheduled_interviews: + "": + parameters: + path: + id: "" + query: + 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" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + ats_list_assessments_packages: + "": + parameters: + query: + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + ats_list_candidate_custom_field_definitions: + "": + parameters: + query: + fields: "id,remote_id,name,description,type,options" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + ats_list_candidate_notes: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + ats_list_candidates: + "": + parameters: + query: + fields: "id,remote_id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,title,application_ids,remote_application_ids,hired_at,custom_fields,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + include: "custom_fields" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + ats_list_departments: + "": + parameters: + query: + fields: "id,remote_id,name" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + ats_list_interview_stages: + "": + parameters: + query: + fields: "id,remote_id,name,order,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + ats_list_interviews: + "": + parameters: + query: + 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" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + ats_list_job_custom_field_definitions: + "": + parameters: + query: + fields: "id,remote_id,name,description,type,options" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + ats_list_job_postings: + "": + parameters: + query: + fields: "id,remote_id,title,locations,internal,status,job_id,remote_job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,updated_at,created_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + include: "questionnaires" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + ats_list_jobs: + "": + parameters: + query: + fields: "id,remote_id,code,title,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,custom_fields,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + expand: "job_postings,interview_stages" + include: "custom_fields" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + ats_list_lists: + "": + parameters: + query: + fields: "id,remote_id,name,created_at,updated_at,items,type" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + ats_list_locations: + "": + parameters: + query: + fields: "id,remote_id,name" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + ats_list_offers: + "": + parameters: + query: + fields: "id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + ats_list_rejected_reasons: + "": + parameters: + query: + fields: "id,remote_id,label,type,rejected_reason_type" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + ats_list_users: + "": + parameters: + query: + fields: "id,remote_id,first_name,last_name,name,email" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + ats_move_application: + speakeasy-default-ats-move-application: + parameters: + path: + id: "" + header: + x-account-id: "" + requestBody: + application/json: {"interview_stage_id": "f223d7f6-908b-48f0-9237-b201c307f609", "passthrough": {"other_known_names": "John Doe"}} + responses: + "200": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Application moved successfully.", "statusCode": 200, "timestamp": "2021-01-01T01:01:01.000Z"} + ats_reject_application: + speakeasy-default-ats-reject-application: + parameters: + path: + id: "" + header: + x-account-id: "" + requestBody: + application/json: {"passthrough": {"other_known_names": "John Doe"}, "rejected_reason_id": "f223d7f6-908b-48f0-9237-b201c307f609"} + responses: + "200": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Application rejected successfully.", "statusCode": 200, "timestamp": "2021-01-01T01:01:01.000Z"} + ats_update_application: + speakeasy-default-ats-update-application: + parameters: + path: + id: "" + header: + x-account-id: "" + requestBody: + application/json: {"application_status": {"source_value": "Hired", "value": "hired"}, "custom_fields": [], "interview_stage_id": "18bcbb1b-3cbc-4198-a999-460861d19480", "passthrough": {"other_known_names": "John Doe"}, "rejected_reason_id": "f223d7f6-908b-48f0-9237-b201c307f609", "source": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "LinkedIn", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} + responses: + "200": + application/json: {"message": "Record updated successfully.", "statusCode": 200, "timestamp": "2021-01-01T01:01:01.000Z"} + ats_update_candidate: + speakeasy-default-ats-update-candidate: + parameters: + path: + id: "" + header: + x-account-id: "" + requestBody: + application/json: {"application_ids": ["123e4567-e89b-12d3-a456-426614174000", "523e1234-e89b-fdd2-a456-762545121101"], "company": "Company Inc.", "country": "United States", "custom_fields": [], "email": "sestier.romain123@gmail.com", "emails": [], "first_name": "Romain", "hired_at": "2021-01-01T01:01:01.000Z", "last_name": "Sestier", "name": "Romain Sestier", "passthrough": {"other_known_names": "John Doe"}, "phone_numbers": [], "social_links": [], "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}} + responses: + "200": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + ats_upload_application_document: + speakeasy-default-ats-upload-application-document: + parameters: + path: + id: "" + header: + x-account-id: "" + requestBody: + application/json: {"category": {"source_value": "550e8400-e29b-41d4-a716-446655440000, CUSTOM_CATEGORY_NAME", "value": "reports, resumes"}, "category_id": "6530", "confidential": {"source_value": "public", "value": "true"}, "content": "VGhpcyBpc24ndCByZWFsbHkgYSBzYW1wbGUgZmlsZSwgYnV0IG5vIG9uZSB3aWxsIGV2ZXIga25vdyE", "file_format": {"source_value": "abc", "value": "pdf"}, "name": "weather-forecast", "path": "/path/to/file"} + responses: + "201": + application/json: {"message": "Employee created successfully", "provider_errors": [{"status": 400, "url": "https://api.someprovider.com/v1/endpoint"}], "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + crm_create_contact: + speakeasy-default-crm-create-contact: + parameters: + header: + x-account-id: "" + requestBody: + application/json: {"account_ids": ["account-123", "account-456"], "company_name": "Apple Inc.", "deal_ids": ["deal-001", "deal-002"], "emails": ["steve@apple.com"], "first_name": "Steve", "last_name": "Wozniak", "passthrough": {"other_known_names": "John Doe"}, "phone_numbers": ["123-456-7890"]} + responses: + "200": + application/json: {"data": {"account_ids": ["account-123", "account-456"], "company_name": "Apple Inc.", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [], "deal_ids": ["deal-001", "deal-002"], "emails": ["steve@apple.com"], "first_name": "Steve", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Wozniak", "phone_numbers": ["123-456-7890"], "remote_account_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_deal_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + crm_get_account: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,owner_id,remote_owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"addresses": [], "created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "industries": ["Information Technology", "Airlines & Airports", "Personal Care & Household Products"], "phone_numbers": ["+1123425334"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + crm_get_contact: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,first_name,last_name,company_name,emails,phone_numbers,deal_ids,remote_deal_ids,account_ids,remote_account_ids,custom_fields,created_at,updated_at" + include: "custom_fields" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"account_ids": ["account-123", "account-456"], "company_name": "Apple Inc.", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [], "deal_ids": ["deal-001", "deal-002"], "emails": ["steve@apple.com"], "first_name": "Steve", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Wozniak", "phone_numbers": ["123-456-7890"], "remote_account_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_deal_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + crm_get_list: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name,created_at,updated_at,items,type" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "items": [], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"source_value": "Contacts", "value": "contacts"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + crm_list_accounts: + "": + parameters: + query: + fields: "id,remote_id,owner_id,remote_owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + crm_list_contacts: + "": + parameters: + query: + fields: "id,remote_id,first_name,last_name,company_name,emails,phone_numbers,deal_ids,remote_deal_ids,account_ids,remote_account_ids,custom_fields,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + include: "custom_fields" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + crm_list_lists: + "": + parameters: + query: + fields: "id,remote_id,name,created_at,updated_at,items,type" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + crm_update_contact: + speakeasy-default-crm-update-contact: + parameters: + path: + id: "" + header: + x-account-id: "" + requestBody: + application/json: {"account_ids": ["account-123", "account-456"], "company_name": "Apple Inc.", "deal_ids": ["deal-001", "deal-002"], "emails": ["steve@apple.com"], "first_name": "Steve", "last_name": "Wozniak", "passthrough": {"other_known_names": "John Doe"}, "phone_numbers": ["123-456-7890"]} + responses: + "200": + application/json: {"data": {"account_ids": ["account-123", "account-456"], "company_name": "Apple Inc.", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [], "deal_ids": ["deal-001", "deal-002"], "emails": ["steve@apple.com"], "first_name": "Steve", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Wozniak", "phone_numbers": ["123-456-7890"], "remote_account_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_deal_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + hris_batch_upload_employee_document: + speakeasy-default-hris-batch-upload-employee-document: + parameters: + path: + id: "" + header: + x-account-id: "" + requestBody: + application/json: {"items": []} + responses: + "202": + application/json: {"errors": [["Missing field: name"], [], []], "message": "Batch operation accepted", "statusCode": 202, "timestamp": "2021-01-01T01:01:01.000Z"} + hris_create_employee: + speakeasy-default-hris-create-employee: + parameters: + header: + x-account-id: "" + requestBody: + application/json: {"avatar_url": "https://example.com/avatar.png", "benefits": [], "birthday": "2021-01-01T00:00:00Z", "citizenships": [], "company_name": "Example Corp", "custom_fields": [], "date_of_birth": "1990-01-01T00:00.000Z", "department": "Physics", "department_id": "3093", "display_name": "Sir Issac Newton", "employment_type": {"source_value": "Permanent", "value": "permanent"}, "employments": [], "first_name": "Issac", "hire_date": "2021-01-01T00:00.000Z", "home_location": {"city": "Grantham", "country": {"value": "US"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Woolsthorpe Manor", "passthrough": {"other_known_names": "John Doe"}, "phone_number": "+44 1476 860 364", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "zip_code": "NG33 5NR"}, "job_id": "R-6789", "job_title": "Physicist", "last_name": "Newton", "manager_id": "67890", "name": "Issac Newton", "national_identity_number": {"type": {"value": "ssn"}, "value": "123456789"}, "passthrough": {"other_known_names": "John Doe"}, "personal_email": "isaac.newton@example.com", "personal_phone_number": "+1234567890", "preferred_language": {"value": "eng"}, "start_date": "2021-01-01T00:00.000Z", "tenure": 2, "termination_date": "2021-01-01T00:00:00Z", "work_anniversary": "2021-01-01T00:00:00Z", "work_email": "newton@example.com", "work_location": {"city": "Grantham", "country": {"value": "US"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Woolsthorpe Manor", "passthrough": {"other_known_names": "John Doe"}, "phone_number": "+44 1476 860 364", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "zip_code": "NG33 5NR"}, "work_phone_number": "+1234567890"} + responses: + "201": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + hris_create_employee_time_off_request: + speakeasy-default-hris-create-employee-time-off-request: + parameters: + path: + id: "" + header: + x-account-id: "" + requestBody: + application/json: {"approver_id": "1687-4", "employee_id": "1687-3", "end_date": "2021-01-01T01:01:01.000Z", "end_half_day": true, "passthrough": {"other_known_names": "John Doe"}, "start_date": "2021-01-01T01:01:01.000Z", "start_half_day": true} + responses: + "201": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + hris_create_employee_work_eligibility_request: + speakeasy-default-hris-create-employee-work-eligibility-request: + parameters: + path: + id: "" + header: + x-account-id: "" + requestBody: + application/json: {"document": {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "updated_at": "2021-01-02T01:01:01.000Z"}, "issued_by": {"value": "US"}, "number": "1234567890", "passthrough": {"other_known_names": "John Doe"}, "sub_type": "H1B", "valid_from": "2021-01-01T00:00.000Z", "valid_to": "2021-01-01T00:00.000Z"} + responses: + "201": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + hris_create_time_off_request: + speakeasy-default-hris-create-time-off-request: + parameters: + header: + x-account-id: "" + requestBody: + application/json: {"approver_id": "1687-4", "employee_id": "1687-3", "end_date": "2021-01-01T01:01:01.000Z", "end_half_day": true, "passthrough": {"other_known_names": "John Doe"}, "start_date": "2021-01-01T01:01:01.000Z", "start_half_day": true} + responses: + "201": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + hris_download_employee_document: + "": + parameters: + path: + id: "" + subResourceId: "" + query: + format: "base64" + header: + x-account-id: "" + responses: + "200": + application/octet-stream: "0xB4e878606a" + hris_get_benefit: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name,benefit_type,provider,description,created_at,updated_at" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T00:00:00Z", "description": "Health insurance for employees", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Health Insurance", "provider": "Aetna", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T00:00:00Z"}} + hris_get_company: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name,full_name,display_name,created_at,updated_at" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2023-02-23T00:00:00.000Z", "display_name": "StackOne", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "StackOne Technologies PLC", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2024-02-23T00:00:00.000Z"}} + hris_get_department_group: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "department"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} + hris_get_employee: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,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,benefits,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number,national_identity_number" + expand: "company,employments,work_location,home_location,custom_fields,groups" + include: "avatar_url,avatar,custom_fields,job_description,benefits" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"avatar_url": "https://example.com/avatar.png", "benefits": [], "birthday": "2021-01-01T00:00:00Z", "citizenships": [], "company": {"created_at": "2023-02-23T00:00:00.000Z", "display_name": "StackOne", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "StackOne Technologies PLC", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2024-02-23T00:00:00.000Z"}, "company_name": "Example Corp", "cost_centers": [], "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [], "date_of_birth": "1990-01-01T00:00.000Z", "department": "Physics", "department_id": "3093", "display_name": "Sir Issac Newton", "employee_number": "125", "employment_type": {"source_value": "Permanent", "value": "permanent"}, "employments": [], "first_name": "Issac", "groups": [], "hire_date": "2021-01-01T00:00.000Z", "home_location": {"city": "Grantham", "country": {"value": "US"}, "created_at": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location_type": {"source_value": "Home", "value": "home"}, "name": "Woolsthorpe Manor", "phone_number": "+44 1476 860 364", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "state": "Lincolnshire", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z", "zip_code": "NG33 5NR"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job_description": {"text": "Testing the laws of motion"}, "job_id": "5290", "job_title": "Physicist", "last_name": "Newton", "manager_id": "67890", "name": "Issac Newton", "national_identity_number": {"type": {"value": "ssn"}, "value": "123456789"}, "personal_email": "isaac.newton@example.com", "personal_phone_number": "+1234567890", "preferred_language": {"value": "eng"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_manager_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "start_date": "2021-01-01T00:00.000Z", "tenure": 2, "termination_date": "2021-01-01T00:00:00Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z", "work_anniversary": "2021-01-01T00:00:00Z", "work_email": "newton@example.com", "work_location": {"city": "Grantham", "country": {"value": "US"}, "created_at": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location_type": {"source_value": "Home", "value": "home"}, "name": "Woolsthorpe Manor", "phone_number": "+44 1476 860 364", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "state": "Lincolnshire", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z", "zip_code": "NG33 5NR"}, "work_phone_number": "+1234567890"}} + hris_get_employee_document: + "": + parameters: + path: + id: "" + subResourceId: "" + query: + fields: "id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-02T01:01:01.000Z"}} + hris_get_employee_document_category: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name,active" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"active": true, "id": "1687-3", "name": "1687-4", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} + hris_get_employee_employment: + "": + parameters: + path: + id: "" + subResourceId: "" + query: + fields: "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,created_at,updated_at" + expand: "groups" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "effective_date": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "employment_type": {"source_value": "Permanent", "value": "permanent"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job_title": "Software Engineer", "pay_currency": "USD", "pay_frequency": {"source_value": "Hourly", "value": "hourly"}, "pay_period": {"source_value": "Hour", "value": "hour"}, "pay_rate": "40.00", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + hris_get_employees_time_off_request: + "": + parameters: + path: + id: "" + subResourceId: "" + query: + 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" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"approver_id": "1687-4", "created_date": "2021-01-01T01:01:01.000Z", "duration": "P3Y6M4DT12H30M5S", "employee_id": "1687-3", "end_date": "2021-01-01T01:01:01.000Z", "end_half_day": true, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_approver_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "start_half_day": true, "updated_date": "2021-01-01T01:01:01.000Z"}} + hris_get_employees_work_eligibility: + "": + parameters: + path: + id: "" + subResourceId: "" + query: + fields: "id,remote_id,type,sub_type,document,valid_from,valid_to,issued_by,number" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"document": {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "updated_at": "2021-01-02T01:01:01.000Z"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "issued_by": {"value": "US"}, "number": "1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "sub_type": "H1B", "valid_from": "2021-01-01T00:00.000Z", "valid_to": "2021-01-01T00:00.000Z"}} + hris_get_employment: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,created_at,updated_at" + expand: "groups" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "effective_date": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "employment_type": {"source_value": "Permanent", "value": "permanent"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job_title": "Software Engineer", "pay_currency": "USD", "pay_frequency": {"source_value": "Hourly", "value": "hourly"}, "pay_period": {"source_value": "Hour", "value": "hour"}, "pay_rate": "40.00", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + hris_get_group: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "team"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} + hris_get_job: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"code": "184919", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [], "department_ids": ["308570", "308571", "308572"], "hiring_team": [], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_stages": [], "job_status": {"source_value": "Published", "value": "published"}, "location_ids": ["668570", "678571", "688572"], "remote_department_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_location_ids": ["668570", "678571", "688572"], "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + hris_get_location: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,employee_id,remote_employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"city": "Grantham", "country": {"value": "US"}, "created_at": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location_type": {"source_value": "Home", "value": "home"}, "name": "Woolsthorpe Manor", "phone_number": "+44 1476 860 364", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "state": "Lincolnshire", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z", "zip_code": "NG33 5NR"}} + hris_get_time_off_request: + "": + parameters: + path: + id: "" + query: + 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" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"approver_id": "1687-4", "created_date": "2021-01-01T01:01:01.000Z", "duration": "P3Y6M4DT12H30M5S", "employee_id": "1687-3", "end_date": "2021-01-01T01:01:01.000Z", "end_half_day": true, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_approver_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "start_half_day": true, "updated_date": "2021-01-01T01:01:01.000Z"}} + hris_list_benefits: + "": + parameters: + query: + fields: "id,remote_id,name,benefit_type,provider,description,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + hris_list_companies: + "": + parameters: + query: + fields: "id,remote_id,name,full_name,display_name,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + hris_list_department_groups: + "": + parameters: + query: + fields: "id,remote_id,name" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + hris_list_employee_categories: + "": + parameters: + query: + fields: "id,remote_id,name,active" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + hris_list_employee_documents: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + hris_list_employee_employments: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + expand: "groups" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + hris_list_employee_time_off_requests: + "": + parameters: + path: + id: "" + query: + 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" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + hris_list_employee_work_eligibility: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,type,sub_type,document,valid_from,valid_to,issued_by,number" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + hris_list_employees: + "": + parameters: + query: + fields: "id,remote_id,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,benefits,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number,national_identity_number" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + expand: "company,employments,work_location,home_location,custom_fields,groups" + include: "avatar_url,avatar,custom_fields,job_description,benefits" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + hris_list_employments: + "": + parameters: + query: + fields: "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + expand: "groups" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + hris_list_groups: + "": + parameters: + query: + fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + hris_list_jobs: + "": + parameters: + query: + fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + hris_list_locations: + "": + parameters: + query: + fields: "id,remote_id,employee_id,remote_employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + hris_list_time_off_requests: + "": + parameters: + query: + 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" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + hris_update_employee: + speakeasy-default-hris-update-employee: + parameters: + path: + id: "" + header: + x-account-id: "" + requestBody: + application/json: {"avatar_url": "https://example.com/avatar.png", "benefits": [], "birthday": "2021-01-01T00:00:00Z", "citizenships": [], "company_name": "Example Corp", "custom_fields": [], "date_of_birth": "1990-01-01T00:00.000Z", "department": "Physics", "department_id": "3093", "display_name": "Sir Issac Newton", "employment_type": {"source_value": "Permanent", "value": "permanent"}, "employments": [], "first_name": "Issac", "hire_date": "2021-01-01T00:00.000Z", "home_location": {"city": "Grantham", "country": {"value": "US"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Woolsthorpe Manor", "passthrough": {"other_known_names": "John Doe"}, "phone_number": "+44 1476 860 364", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "zip_code": "NG33 5NR"}, "job_id": "R-6789", "job_title": "Physicist", "last_name": "Newton", "manager_id": "67890", "name": "Issac Newton", "national_identity_number": {"type": {"value": "ssn"}, "value": "123456789"}, "passthrough": {"other_known_names": "John Doe"}, "personal_email": "isaac.newton@example.com", "personal_phone_number": "+1234567890", "preferred_language": {"value": "eng"}, "start_date": "2021-01-01T00:00.000Z", "tenure": 2, "termination_date": "2021-01-01T00:00:00Z", "work_anniversary": "2021-01-01T00:00:00Z", "work_email": "newton@example.com", "work_location": {"city": "Grantham", "country": {"value": "US"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Woolsthorpe Manor", "passthrough": {"other_known_names": "John Doe"}, "phone_number": "+44 1476 860 364", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "zip_code": "NG33 5NR"}, "work_phone_number": "+1234567890"} + responses: + "200": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + hris_update_employee_work_eligibility_request: + speakeasy-default-hris-update-employee-work-eligibility-request: + parameters: + path: + id: "" + subResourceId: "" + header: + x-account-id: "" + requestBody: + application/json: {"document": {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "updated_at": "2021-01-02T01:01:01.000Z"}, "issued_by": {"value": "US"}, "number": "1234567890", "passthrough": {"other_known_names": "John Doe"}, "sub_type": "H1B", "valid_from": "2021-01-01T00:00.000Z", "valid_to": "2021-01-01T00:00.000Z"} + hris_update_time_off_request: + speakeasy-default-hris-update-time-off-request: + parameters: + path: + id: "" + header: + x-account-id: "" + requestBody: + application/json: {"approver_id": "1687-4", "employee_id": "1687-3", "end_date": "2021-01-01T01:01:01.000Z", "end_half_day": true, "passthrough": {"other_known_names": "John Doe"}, "start_date": "2021-01-01T01:01:01.000Z", "start_half_day": true} + responses: + "200": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + hris_upload_employee_document: + speakeasy-default-hris-upload-employee-document: + parameters: + path: + id: "" + header: + x-account-id: "" + requestBody: + application/json: {"category": {"source_value": "550e8400-e29b-41d4-a716-446655440000", "value": "unmapped_value"}, "category_id": "6530", "confidential": {"source_value": "public", "value": "true"}, "content": "VGhpcyBpc24ndCByZWFsbHkgYSBzYW1wbGUgZmlsZSwgYnV0IG5vIG9uZSB3aWxsIGV2ZXIga25vdyE", "file_format": {"source_value": "abc", "value": "pdf"}, "name": "weather-forecast", "path": "/path/to/file"} + responses: + "201": + application/json: {"message": "Employee created successfully", "provider_errors": [{"status": 400, "url": "https://api.someprovider.com/v1/endpoint"}], "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + iam_get_group: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,parent_id,remote_parent_id,name,description,roles,type,created_at,updated_at" + expand: "roles" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_parent_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "roles": [], "type": {"value": "team"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + iam_get_policy: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name,permissions,description,created_at,updated_at" + expand: "permissions" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}} + iam_get_role: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name,type,policies,description,created_at,updated_at" + expand: "policies" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + iam_get_user: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,first_name,last_name,name,primary_email_address,username,roles,groups,status,avatar,is_bot_user,last_active_at,last_login_at,created_at,updated_at,multi_factor_enabled" + expand: "roles,groups" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"avatar": {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "updated_at": "2021-01-02T01:01:01.000Z"}, "created_at": "2021-01-01T01:01:01.000Z", "first_name": "Han", "groups": [], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "is_bot_user": true, "last_active_at": "2021-01-01T01:01:01.000Z", "last_login_at": "2021-01-01T01:01:01.000Z", "last_name": "Solo", "multi_factor_enabled": [], "name": "Han Solo", "primary_email_address": "han@stackone.com", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "roles": [], "status": {"value": "enabled"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z", "username": "hansolo1977"}} + iam_list_groups: + "": + parameters: + query: + fields: "id,remote_id,parent_id,remote_parent_id,name,description,roles,type,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + expand: "roles" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + iam_list_policies: + "": + parameters: + query: + fields: "id,remote_id,name,permissions,description,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + expand: "permissions" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + iam_list_roles: + "": + parameters: + query: + fields: "id,remote_id,name,type,policies,description,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + expand: "policies" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + iam_list_users: + "": + parameters: + query: + fields: "id,remote_id,first_name,last_name,name,primary_email_address,username,roles,groups,status,avatar,is_bot_user,last_active_at,last_login_at,created_at,updated_at,multi_factor_enabled" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + expand: "roles,groups" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + lms_batch_upsert_content: + speakeasy-default-lms-batch-upsert-content: + parameters: + header: + x-account-id: "" + requestBody: + application/json: {"items": []} + responses: + "202": + application/json: {"errors": [["Missing field: name"], [], []], "message": "Batch operation accepted", "statusCode": 202, "timestamp": "2021-01-01T01:01:01.000Z"} + lms_create_content: + speakeasy-default-lms-create-content: + parameters: + header: + x-account-id: "" + requestBody: + application/json: {"active": true, "categories": [{"active": true, "name": "Technology", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}], "content_url": "https://www.youtube.com/watch?v=16873", "course_ids": ["16873-SOFTWARE-ENG-COURSE"], "cover_url": "https://www.googledrive.com/?v=16873", "description": "This video acts as learning content for software engineers.", "duration": "P3Y6M4DT12H30M5S", "external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "languages": [], "order": 1, "title": "Software Engineer Lv 1", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}} + responses: + "201": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + lms_create_user_completion: + speakeasy-default-lms-create-user-completion: + parameters: + path: + id: "" + header: + x-account-id: "" + requestBody: + application/json: {"completed_at": "2021-07-21T14:00:00.000Z", "content_external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1-CONTENT", "content_id": "16873-ENG-VIDEO-1", "external_id": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1-COMPLETION", "passthrough": {"other_known_names": "John Doe"}} + responses: + "201": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + lms_get_assignment: + speakeasy-default-lms-get-assignment: + parameters: + path: + id: "" + query: {} + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"course_id": "16873-ENG-1", "created_at": "2021-07-21T14:00:00.000Z", "due_date": "2021-07-21T14:00:00.000Z", "id": "123456", "remote_course_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-07-21T14:00:00.000Z"}} + lms_get_category: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name,active" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"active": true, "id": "16873-IT345", "name": "Information-Technology", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} + lms_get_completion: + speakeasy-default-lms-get-completion: + parameters: + path: + id: "" + query: {} + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"completed_at": "2021-07-21T14:00:00.000Z", "content_external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1-CONTENT", "content_id": "16873-ENG-VIDEO-1", "external_id": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1-COMPLETION", "id": "123456", "remote_content_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_external_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} + lms_get_content: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,external_reference,course_ids,remote_course_ids,title,description,languages,content_url,content_type,cover_url,active,duration,categories,order" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"file_format": {"source_value": "abc", "value": "pdf"}, "unified_url": "https://api.stackone.com/unified/hris/employees/12345/documents/67890/download", "url": "https://example.com/file.pdf"}} + lms_get_course: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,external_reference,content_ids,remote_content_ids,title,description,languages,course_type,cover_url,url,active,duration,categories,skills,updated_at,created_at" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"categories": [{"active": true, "id": "12345", "name": "Technology", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}], "content_ids": ["16873-SOFTWARE-ENG-COURSE", "16874-SOFTWARE-ENG-COURSE"], "cover_url": "https://www.googledrive.com/?v=16873", "created_at": "2021-07-21T14:00:00.000Z", "description": "This course acts as learning content for software engineers.", "duration": "P3Y6M4DT12H30M5S", "external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "16873-ENG-VIDEO-1", "languages": [], "remote_content_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "skills": [{"active": true, "id": "12345", "name": "Sales Techniques", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "title": "Software Engineer Lv 1", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-07-21T14:00:00.000Z", "url": "https://www.linkedinlearning.com/?v=16873"}} + lms_get_skill: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name,active,level" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"active": true, "id": "16873-IT345", "name": "Information-Technology", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} + lms_get_user: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,external_reference,email,phone_number,created_at,updated_at,name" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "email": "john@dew.com", "external_reference": "al60043", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "John Dew", "phone_number": "+1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + lms_get_user_assignment: + speakeasy-default-lms-get-user-assignment: + parameters: + path: + id: "" + subResourceId: "" + query: {} + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"course_id": "16873-ENG-1", "created_at": "2021-07-21T14:00:00.000Z", "due_date": "2021-07-21T14:00:00.000Z", "id": "123456", "remote_course_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-07-21T14:00:00.000Z"}} + lms_get_user_completion: + speakeasy-default-lms-get-user-completion: + parameters: + path: + id: "" + subResourceId: "" + query: {} + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"completed_at": "2021-07-21T14:00:00.000Z", "content_external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1-CONTENT", "content_id": "16873-ENG-VIDEO-1", "external_id": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1-COMPLETION", "id": "123456", "remote_content_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_external_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} + lms_list_assignments: + "": + parameters: + query: + fields: "id,remote_id,user_id,remote_user_id,course_id,remote_course_id,updated_at,created_at,due_date,status" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + user_id: "c28xyrc55866bvuv" + remote_user_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + lms_list_categories: + "": + parameters: + query: + fields: "id,remote_id,name,active" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + lms_list_completions: + "": + parameters: + query: + fields: "id,remote_id,external_id,remote_external_id,content_id,remote_content_id,user_id,remote_user_id,completed_at,updated_at,created_at,result,content_external_reference" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + user_id: "746359" + remote_user_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + lms_list_content: + "": + parameters: + query: + fields: "id,remote_id,external_reference,course_ids,remote_course_ids,title,description,languages,content_url,content_type,cover_url,active,duration,categories,order" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + lms_list_courses: + "": + parameters: + query: + fields: "id,remote_id,external_reference,content_ids,remote_content_ids,title,description,languages,course_type,cover_url,url,active,duration,categories,skills,updated_at,created_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + lms_list_skills: + "": + parameters: + query: + fields: "id,remote_id,name,active,level" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + lms_list_user_assignments: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,user_id,remote_user_id,course_id,remote_course_id,updated_at,created_at,due_date,status" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + user_id: "c28xyrc55866bvuv" + remote_user_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + lms_list_user_completions: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,external_id,remote_external_id,content_id,remote_content_id,user_id,remote_user_id,completed_at,updated_at,created_at,result,content_external_reference" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + user_id: "746359" + remote_user_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + lms_list_users: + "": + parameters: + query: + fields: "id,remote_id,external_reference,email,phone_number,created_at,updated_at,name" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + lms_update_content: + speakeasy-default-lms-update-content: + parameters: + path: + id: "" + header: + x-account-id: "" + requestBody: + application/json: {"active": true, "categories": [{"active": true, "name": "Technology", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}], "content_url": "https://www.youtube.com/watch?v=16873", "course_ids": ["16873-SOFTWARE-ENG-COURSE"], "cover_url": "https://www.googledrive.com/?v=16873", "description": "This video acts as learning content for software engineers.", "duration": "P3Y6M4DT12H30M5S", "external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "languages": [], "order": 1, "title": "Software Engineer Lv 1", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}} + responses: + "201": + application/json: {"message": "Record updated successfully.", "statusCode": 200, "timestamp": "2021-01-01T01:01:01.000Z"} + lms_upsert_content: + speakeasy-default-lms-upsert-content: + parameters: + header: + x-account-id: "" + requestBody: + application/json: {"active": true, "categories": [{"active": true, "name": "Technology", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}], "content_url": "https://www.youtube.com/watch?v=16873", "course_ids": ["16873-SOFTWARE-ENG-COURSE"], "cover_url": "https://www.googledrive.com/?v=16873", "description": "This video acts as learning content for software engineers.", "duration": "P3Y6M4DT12H30M5S", "external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "languages": [], "order": 1, "title": "Software Engineer Lv 1", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}} + responses: + "201": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + marketing_create_content_block: + speakeasy-default-marketing-create-content-block: + parameters: + header: + x-account-id: "" + requestBody: + application/json: {"passthrough": {"other_known_names": "John Doe"}} + responses: + "201": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + marketing_create_email_template: + speakeasy-default-marketing-create-email-template: + parameters: + header: + x-account-id: "" + requestBody: + application/json: {"messages": [], "passthrough": {"other_known_names": "John Doe"}} + responses: + "201": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + marketing_create_in_app_template: + speakeasy-default-marketing-create-in-app-template: + parameters: + header: + x-account-id: "" + requestBody: + application/json: {"messages": [], "passthrough": {"other_known_names": "John Doe"}} + responses: + "201": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + marketing_create_omni_channel_template: + speakeasy-default-marketing-create-omni-channel-template: + parameters: + header: + x-account-id: "" + requestBody: + application/json: {"messages": [], "passthrough": {"other_known_names": "John Doe"}} + responses: + "201": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + marketing_create_push_template: + speakeasy-default-marketing-create-push-template: + parameters: + header: + x-account-id: "" + requestBody: + application/json: {"messages": [], "passthrough": {"other_known_names": "John Doe"}} + responses: + "201": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + marketing_create_sms_template: + speakeasy-default-marketing-create-sms-template: + parameters: + header: + x-account-id: "" + requestBody: + application/json: {"messages": [], "passthrough": {"other_known_names": "John Doe"}} + responses: + "201": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + marketing_get_campaign: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name,created_at,updated_at,description,schedule_type,status,channels,first_sent_at,last_sent_at,tags,messages" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"channels": [], "created_at": "2021-01-01T01:01:01.000Z", "first_sent_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_sent_at": "2021-01-01T01:01:01.000Z", "messages": [{"id": "message-id-1", "message_content": {"body": "This is an example SMS body.", "from": "1-555-123-4567"}, "message_type": {"source_value": "Email"}, "name": "SMS Message", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "message-id-2", "message_content": {"subject": "Example Email Subject", "body": "

This is an example

\n

email body

", "from": "Jane Smith", "reply-to": "reply@example.com", "preheader": "This is the preheader of the email."}, "message_type": {"source_value": "Email"}, "name": "Email Message", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "message-id-3", "message_content": {"body": "This is an example push notification body."}, "message_type": {"source_value": "Email"}, "name": "iOS Push Message", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "schedule_type": {"source_value": "Immediate", "value": "immediate"}, "status": {"source_value": "Email", "value": "draft"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + marketing_get_content_block: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name,type,content,status,tags,created_at,updated_at" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + marketing_get_email_template: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name,messages,created_at,updated_at,tags" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T00:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T00:00:00.000Z"}} + marketing_get_in_app_template: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name,messages,created_at,updated_at,tags" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T00:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T00:00:00.000Z"}} + marketing_get_omni_channel_template: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name,messages,created_at,updated_at,tags" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T00:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T00:00:00.000Z"}} + marketing_get_push_template: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name,messages,created_at,updated_at,tags" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T00:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T00:00:00.000Z"}} + marketing_get_sms_template: + "": + parameters: + path: + id: "" + query: + fields: "id,remote_id,name,messages,created_at,updated_at,tags" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T00:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T00:00:00.000Z"}} + marketing_list_campaigns: + "": + parameters: + query: + fields: "id,remote_id,name,created_at,updated_at,description,schedule_type,status,channels,first_sent_at,last_sent_at,tags,messages" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + marketing_list_content_blocks: + "": + parameters: + query: + fields: "id,remote_id,name,type,content,status,tags,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + marketing_list_email_templates: + "": + parameters: + query: + fields: "id,remote_id,name,messages,created_at,updated_at,tags" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + marketing_list_in_app_templates: + "": + parameters: + query: + fields: "id,remote_id,name,messages,created_at,updated_at,tags" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + marketing_list_omni_channel_templates: + "": + parameters: + query: + fields: "id,remote_id,name,messages,created_at,updated_at,tags" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + marketing_list_push_templates: + "": + parameters: + query: + fields: "id,remote_id,name,messages,created_at,updated_at,tags" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + marketing_list_sms_templates: + "": + parameters: + query: + fields: "id,remote_id,name,messages,created_at,updated_at,tags" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + marketing_update_content_block: + speakeasy-default-marketing-update-content-block: + parameters: + path: + id: "" + header: + x-account-id: "" + requestBody: + application/json: {"passthrough": {"other_known_names": "John Doe"}} + responses: + "200": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + marketing_update_email_template: + speakeasy-default-marketing-update-email-template: + parameters: + path: + id: "" + header: + x-account-id: "" + requestBody: + application/json: {"messages": [], "passthrough": {"other_known_names": "John Doe"}} + responses: + "200": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + marketing_update_in_app_template: + speakeasy-default-marketing-update-in-app-template: + parameters: + path: + id: "" + header: + x-account-id: "" + requestBody: + application/json: {"messages": [], "passthrough": {"other_known_names": "John Doe"}} + responses: + "200": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + marketing_update_omni_channel_template: + speakeasy-default-marketing-update-omni-channel-template: + parameters: + path: + id: "" + header: + x-account-id: "" + requestBody: + application/json: {"messages": [], "passthrough": {"other_known_names": "John Doe"}} + responses: + "200": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + marketing_update_push_template: + speakeasy-default-marketing-update-push-template: + parameters: + path: + id: "" + header: + x-account-id: "" + requestBody: + application/json: {"messages": [], "passthrough": {"other_known_names": "John Doe"}} + responses: + "200": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + marketing_update_sms_template: + speakeasy-default-marketing-update-sms-template: + parameters: + path: + id: "" + header: + x-account-id: "" + requestBody: + application/json: {"messages": [], "passthrough": {"other_known_names": "John Doe"}} + responses: + "200": + application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"} + stackone_proxy_request: + speakeasy-default-stackone-proxy-request: + parameters: + header: + x-account-id: "" + requestBody: + application/json: {"headers": {"Content-Type": "application/json"}, "path": "/employees/directory", "url": "https://api.sample-integration.com/v1"} diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 4e9a870d..e8c1364d 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -speakeasyVersion: 1.379.0 +speakeasyVersion: 1.397.3 sources: my-source: sourceNamespace: my-source - sourceRevisionDigest: sha256:126a7969c18ce4cb604bdbe5f7ca96626a169ecf75c3eedd06439c54ed6c4c16 - sourceBlobDigest: sha256:e25f5ab4519f263bcd21c0e760dfa0b0c1b8006194779b70aca02528bf58a1de + sourceRevisionDigest: sha256:1b1ff65c12ba98689e127efcb3b371f5df2d4f142bbb11adf6838e82080977b9 + sourceBlobDigest: sha256:a1655f1d27a4de1d4d075bd65c0478571822347366356cc14bf02fef9fc44e83 tags: - latest - main @@ -11,9 +11,8 @@ targets: StackOneRubyClient: source: my-source sourceNamespace: my-source - sourceRevisionDigest: sha256:126a7969c18ce4cb604bdbe5f7ca96626a169ecf75c3eedd06439c54ed6c4c16 - sourceBlobDigest: sha256:e25f5ab4519f263bcd21c0e760dfa0b0c1b8006194779b70aca02528bf58a1de - outLocation: /github/workspace/repo + sourceRevisionDigest: sha256:1b1ff65c12ba98689e127efcb3b371f5df2d4f142bbb11adf6838e82080977b9 + sourceBlobDigest: sha256:a1655f1d27a4de1d4d075bd65c0478571822347366356cc14bf02fef9fc44e83 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index 9df047b1..184b816b 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,26 @@ + +## Summary + +IAM: The documentation for the StackOne Unified API - IAM + + + +## Table of Contents + +* [SDK Installation](#sdk-installation) +* [SDK Example Usage](#sdk-example-usage) +* [Available Resources and Operations](#available-resources-and-operations) +* [Server Selection](#server-selection) + + ## SDK Installation +The SDK can be installed using [RubyGems](https://rubygems.org/): + ```bash gem install stackone_client ``` @@ -35,7 +52,7 @@ s.config_security( req = ::StackOne::Operations::HrisListEmployeesRequest.new( expand: "company,employments,work_location,home_location,custom_fields,groups", - fields_: "id,remote_id,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_title,job_description,department,cost_centers,benefits,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number,national_identity_number", + fields_: "id,remote_id,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,benefits,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number,national_identity_number", filter: ::StackOne::Operations::HrisListEmployeesQueryParamFilter.new( updated_after: "2020-01-01T00:00:00.000Z", ), @@ -55,6 +72,9 @@ end ## Available Resources and Operations +
+Available methods + ### [Accounts](docs/sdks/accounts/README.md) * [delete_account](docs/sdks/accounts/README.md#delete_account) - Delete Account @@ -63,16 +83,6 @@ end * [list_linked_accounts](docs/sdks/accounts/README.md#list_linked_accounts) - List Accounts * [update_account](docs/sdks/accounts/README.md#update_account) - Update Account -### [ConnectSessions](docs/sdks/connectsessions/README.md) - -* [authenticate_connect_session](docs/sdks/connectsessions/README.md#authenticate_connect_session) - Authenticate Connect Session -* [create_connect_session](docs/sdks/connectsessions/README.md#create_connect_session) - Create Connect Session - -### [Connectors](docs/sdks/connectors/README.md) - -* [get_connector_meta](docs/sdks/connectors/README.md#get_connector_meta) - Get Connector Meta information for the given provider key -* [list_connectors_meta](docs/sdks/connectors/README.md#list_connectors_meta) - List Connectors Meta Information for all providers - ### [Ats](docs/sdks/ats/README.md) * [create_application](docs/sdks/ats/README.md#create_application) - Create Application @@ -96,6 +106,7 @@ end * [get_interview](docs/sdks/ats/README.md#get_interview) - Get Interview * [get_interview_stage](docs/sdks/ats/README.md#get_interview_stage) - Get Interview Stage * [get_job](docs/sdks/ats/README.md#get_job) - Get Job +* [get_job_custom_field_definition](docs/sdks/ats/README.md#get_job_custom_field_definition) - Get Job Custom Field Definition * [get_job_posting](docs/sdks/ats/README.md#get_job_posting) - Get Job Posting * [get_list](docs/sdks/ats/README.md#get_list) - Get List * [get_location](docs/sdks/ats/README.md#get_location) - Get Location @@ -115,6 +126,7 @@ end * [list_departments](docs/sdks/ats/README.md#list_departments) - List Departments * [list_interview_stages](docs/sdks/ats/README.md#list_interview_stages) - List Interview Stages * [list_interviews](docs/sdks/ats/README.md#list_interviews) - List Interviews +* [list_job_custom_field_definitions](docs/sdks/ats/README.md#list_job_custom_field_definitions) - List Job Custom Field Definitions * [list_job_postings](docs/sdks/ats/README.md#list_job_postings) - List Job Postings * [list_jobs](docs/sdks/ats/README.md#list_jobs) - List Jobs * [list_lists](docs/sdks/ats/README.md#list_lists) - Get all Lists @@ -122,10 +134,22 @@ end * [list_offers](docs/sdks/ats/README.md#list_offers) - List Offers * [list_rejected_reasons](docs/sdks/ats/README.md#list_rejected_reasons) - List Rejected Reasons * [list_users](docs/sdks/ats/README.md#list_users) - List Users +* [move_application](docs/sdks/ats/README.md#move_application) - Move Application +* [reject_application](docs/sdks/ats/README.md#reject_application) - Reject Application * [update_application](docs/sdks/ats/README.md#update_application) - Update an Application * [update_candidate](docs/sdks/ats/README.md#update_candidate) - Update Candidate * [upload_application_document](docs/sdks/ats/README.md#upload_application_document) - Upload Application Document +### [Connectors](docs/sdks/connectors/README.md) + +* [get_connector_meta](docs/sdks/connectors/README.md#get_connector_meta) - Get Connector Meta information for the given provider key +* [list_connectors_meta](docs/sdks/connectors/README.md#list_connectors_meta) - List Connectors Meta Information for all providers + +### [ConnectSessions](docs/sdks/connectsessions/README.md) + +* [authenticate_connect_session](docs/sdks/connectsessions/README.md#authenticate_connect_session) - Authenticate Connect Session +* [create_connect_session](docs/sdks/connectsessions/README.md#create_connect_session) - Create Connect Session + ### [Crm](docs/sdks/crm/README.md) * [create_contact](docs/sdks/crm/README.md#create_contact) - Creates a new Contact @@ -139,6 +163,7 @@ end ### [Hris](docs/sdks/hris/README.md) +* [batch_upload_employee_document](docs/sdks/hris/README.md#batch_upload_employee_document) - Batch Upload Employee Document * [create_employee](docs/sdks/hris/README.md#create_employee) - Creates an employee * [create_employee_time_off_request](docs/sdks/hris/README.md#create_employee_time_off_request) - Create Employee Time Off Request * [create_employee_work_eligibility_request](docs/sdks/hris/README.md#create_employee_work_eligibility_request) - Create Employee Work Eligibility Request @@ -190,18 +215,26 @@ end ### [Lms](docs/sdks/lms/README.md) -* [create_completion](docs/sdks/lms/README.md#create_completion) - Create User Completion +* [batch_upsert_content](docs/sdks/lms/README.md#batch_upsert_content) - Batch Upsert Content * [create_content](docs/sdks/lms/README.md#create_content) - Create Content -* [get_assignment](docs/sdks/lms/README.md#get_assignment) - Get User Assignment +* [create_user_completion](docs/sdks/lms/README.md#create_user_completion) - Create User Completion +* [get_assignment](docs/sdks/lms/README.md#get_assignment) - Get Assignment * [get_category](docs/sdks/lms/README.md#get_category) - Get Category +* [get_completion](docs/sdks/lms/README.md#get_completion) - Get Completion * [get_content](docs/sdks/lms/README.md#get_content) - Get Content * [get_course](docs/sdks/lms/README.md#get_course) - Get Course +* [get_skill](docs/sdks/lms/README.md#get_skill) - Get Skill * [get_user](docs/sdks/lms/README.md#get_user) - Get User -* [list_assignments](docs/sdks/lms/README.md#list_assignments) - List User Assignments +* [get_user_assignment](docs/sdks/lms/README.md#get_user_assignment) - Get User Assignment +* [get_user_completion](docs/sdks/lms/README.md#get_user_completion) - Get User Completion +* [list_assignments](docs/sdks/lms/README.md#list_assignments) - List Assignments * [list_categories](docs/sdks/lms/README.md#list_categories) - List Categories -* [list_completions](docs/sdks/lms/README.md#list_completions) - List User Completions +* [list_completions](docs/sdks/lms/README.md#list_completions) - List Completions * [list_content](docs/sdks/lms/README.md#list_content) - List Content * [list_courses](docs/sdks/lms/README.md#list_courses) - List Courses +* [list_skills](docs/sdks/lms/README.md#list_skills) - List Skills +* [list_user_assignments](docs/sdks/lms/README.md#list_user_assignments) - List User Assignments +* [list_user_completions](docs/sdks/lms/README.md#list_user_completions) - List User Completions * [list_users](docs/sdks/lms/README.md#list_users) - List Users * [update_content](docs/sdks/lms/README.md#update_content) - Update Content * [upsert_content](docs/sdks/lms/README.md#upsert_content) - Upsert Content @@ -238,6 +271,9 @@ end ### [Proxy](docs/sdks/proxy/README.md) * [proxy_request](docs/sdks/proxy/README.md#proxy_request) - Proxy Request + + +
diff --git a/RELEASES.md b/RELEASES.md index aec2b5fe..38363937 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -448,4 +448,14 @@ Based on: ### Generated - [ruby v0.2.37] . ### Releases -- [Ruby Gems v0.2.37] https://rubygems.org/gems/stackone_client/versions/0.2.37 - . \ No newline at end of file +- [Ruby Gems v0.2.37] https://rubygems.org/gems/stackone_client/versions/0.2.37 - . + +## 2024-09-16 19:18:42 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.397.3 (2.415.8) https://github.com/speakeasy-api/speakeasy +### Generated +- [ruby v0.2.38] . +### Releases +- [Ruby Gems v0.2.38] https://rubygems.org/gems/stackone_client/versions/0.2.38 - . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index c83098f7..a5444205 100644 --- a/USAGE.md +++ b/USAGE.md @@ -16,7 +16,7 @@ s.config_security( req = ::StackOne::Operations::HrisListEmployeesRequest.new( expand: "company,employments,work_location,home_location,custom_fields,groups", - fields_: "id,remote_id,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_title,job_description,department,cost_centers,benefits,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number,national_identity_number", + fields_: "id,remote_id,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,benefits,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number,national_identity_number", filter: ::StackOne::Operations::HrisListEmployeesQueryParamFilter.new( updated_after: "2020-01-01T00:00:00.000Z", ), diff --git a/codeSamples.yaml b/codeSamples.yaml index 13df855b..2b9900b7 100644 --- a/codeSamples.yaml +++ b/codeSamples.yaml @@ -3,927 +3,1005 @@ info: title: CodeSamples overlay for ruby target version: 0.0.0 actions: - - target: $["paths"]["/unified/iam/roles"]["get"] + - target: $["paths"]["/accounts"]["get"] update: x-codeSamples: - lang: ruby - label: iam_list_roles - 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::IamListRolesRequest.new(\n fields_: \"id,remote_id,name,type,policies,description,created_at,updated_at\",\n filter: ::StackOne::Operations::IamListRolesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"policies\",\n x_account_id: \"\",\n)\n \nres = s.iam.list_roles(req)\n\nif ! res.iam_roles_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/applications/{id}/offers"]["get"] + label: stackone_list_linked_accounts + 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::StackoneListLinkedAccountsRequest.new()\n \nres = s.accounts.list_linked_accounts(req)\n\nif ! res.linked_accounts.nil?\n # handle response\nend" + - target: $["paths"]["/accounts/{id}"]["delete"] update: x-codeSamples: - lang: ruby - label: ats_list_applications_offers - 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::AtsListApplicationsOffersRequest.new(\n id: \"\",\n fields_: \"id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n filter: ::StackOne::Operations::AtsListApplicationsOffersQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_applications_offers(req)\n\nif ! res.offers_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/rejected_reasons"]["get"] + label: stackone_delete_account + 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.accounts.delete_account(id=\"\")\n\nif ! res.linked_account.nil?\n # handle response\nend" + - target: $["paths"]["/accounts/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_list_rejected_reasons - 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::AtsListRejectedReasonsRequest.new(\n fields_: \"id,remote_id,label,type,rejected_reason_type\",\n filter: ::StackOne::Operations::AtsListRejectedReasonsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_rejected_reasons(req)\n\nif ! res.rejected_reasons_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/assessments/orders/{id}/results"]["get"] + label: stackone_get_account + 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.accounts.get_account(id=\"\")\n\nif ! res.linked_account.nil?\n # handle response\nend" + - target: $["paths"]["/accounts/{id}"]["patch"] update: x-codeSamples: - lang: ruby - label: ats_get_assessments_result - 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::AtsGetAssessmentsResultRequest.new(\n id: \"\",\n fields_: \"assessment_id,remote_assessment_id,candidate,score,assessment_date,submission_date,summary,result,result_url,attachments\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_assessments_result(req)\n\nif ! res.assessments_results_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/lms/users/{id}/assignments/{subResourceId}"]["get"] + label: stackone_update_account + 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.accounts.update_account(id=\"\", patch_account_external_dto=::StackOne::Shared::PatchAccountExternalDto.new())\n\nif ! res.linked_account.nil?\n # handle response\nend" + - target: $["paths"]["/accounts/{id}/meta"]["get"] update: x-codeSamples: - lang: ruby - label: lms_get_assignment - 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::LmsGetAssignmentRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n x_account_id: \"\",\n)\n \nres = s.lms.get_assignment(req)\n\nif ! res.assignment_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/lms/content"]["get"] + label: stackone_get_account_meta_info + 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.accounts.get_account_meta_info(id=\"\")\n\nif ! res.linked_account_meta.nil?\n # handle response\nend" + - target: $["paths"]["/connect_sessions"]["post"] update: x-codeSamples: - lang: ruby - label: lms_list_content - 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::LmsListContentRequest.new(\n fields_: \"id,remote_id,external_reference,course_ids,remote_course_ids,title,description,languages,content_url,content_type,cover_url,active,duration,categories,order\",\n filter: ::StackOne::Operations::LmsListContentQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.lms.list_content(req)\n\nif ! res.content_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/time_off/{id}"]["get"] + label: stackone_create_connect_session + 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::Shared::ConnectSessionCreate.new(\n categories: [\n ::StackOne::Shared::Categories::ATS,\n ::StackOne::Shared::Categories::HRIS,\n ::StackOne::Shared::Categories::HRIS_LEGACY,\n ::StackOne::Shared::Categories::CRM,\n ::StackOne::Shared::Categories::IAM,\n ::StackOne::Shared::Categories::MARKETING,\n ::StackOne::Shared::Categories::LMS,\n ::StackOne::Shared::Categories::STACKONE,\n ],\n origin_owner_id: \"\",\n origin_owner_name: \"\",\n)\n \nres = s.connect_sessions.create_connect_session(req)\n\nif ! res.connect_session_token.nil?\n # handle response\nend" + - target: $["paths"]["/connect_sessions/authenticate"]["post"] update: x-codeSamples: - lang: ruby - label: hris_get_time_off_request - 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::HrisGetTimeOffRequestRequest.new(\n 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: \"\",\n)\n \nres = s.hris.get_time_off_request(req)\n\nif ! res.time_off_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/benefits/{id}"]["get"] + label: stackone_authenticate_connect_session + 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::Shared::ConnectSessionAuthenticate.new(\n token: \"\",\n)\n \nres = s.connect_sessions.authenticate_connect_session(req)\n\nif ! res.connect_session.nil?\n # handle response\nend" + - target: $["paths"]["/connectors/meta"]["get"] update: x-codeSamples: - lang: ruby - label: hris_get_benefit - 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::HrisGetBenefitRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,benefit_type,provider,description,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.hris.get_benefit(req)\n\nif ! res.hris_benefit_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/groups/departments/{id}"]["get"] + label: stackone_list_connectors_meta + 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.connectors.list_connectors_meta(include=\"field_path,unmapped_fields,resources,inactive,webhooks\")\n\nif ! res.connectors_metas.nil?\n # handle response\nend" + - target: $["paths"]["/connectors/meta/{provider}"]["get"] update: x-codeSamples: - lang: ruby - label: hris_get_department_group - 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::HrisGetDepartmentGroupRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name\",\n x_account_id: \"\",\n)\n \nres = s.hris.get_department_group(req)\n\nif ! res.hris_departments_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/interviews/{id}"]["get"] + label: stackone_get_connector_meta + 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.connectors.get_connector_meta(provider=\"\", include=\"field_path,unmapped_fields,resources,inactive,webhooks\")\n\nif ! res.connectors_meta.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/applications"]["get"] update: x-codeSamples: - lang: ruby - label: ats_get_interview - 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::AtsGetInterviewRequest.new(\n 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\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_interview(req)\n\nif ! res.interviews_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/groups/{id}"]["get"] + label: ats_list_applications + 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::AtsListApplicationsRequest.new(\n fields_: \"id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate\",\n filter: ::StackOne::Operations::AtsListApplicationsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"documents\",\n include: \"attachments,custom_fields\",\n x_account_id: \"\",\n)\n \nres = s.ats.list_applications(req)\n\nif ! res.applications_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/applications"]["post"] update: x-codeSamples: - lang: ruby - label: hris_get_group - 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::HrisGetGroupRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids\",\n x_account_id: \"\",\n)\n \nres = s.hris.get_group(req)\n\nif ! res.hris_groups_result.nil?\n # handle response\nend" + label: ats_create_application + 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.ats.create_application(x_account_id=\"\", ats_create_application_request_dto=::StackOne::Shared::AtsCreateApplicationRequestDto.new(\n job_id: \"4071538b-3cac-4fbf-ac76-f78ed250ffdd\",\n location_id: \"dd8d41d1-5eb8-4408-9c87-9ba44604eae4\",\n application_status: ::StackOne::Shared::AtsCreateApplicationRequestDtoApplicationStatus.new(\n value: ::StackOne::Shared::AtsCreateApplicationRequestDtoValue::HIRED,\n source_value: \"Hired\",\n ),\n questionnaires: [\n ::StackOne::Shared::Questionnaire.new(\n id: \"right_to_work\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n answers: [\n ::StackOne::Shared::Answer.new(\n id: \"answer1\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n type: ::StackOne::Shared::AnswerType.new(\n value: ::StackOne::Shared::AnswerValue::SHORT_TEXT,\n source_value: \"Short Text\",\n ),\n values: [\n \"Yes\",\n ],\n ),\n ],\n ),\n ],\n source: ::StackOne::Shared::AtsCreateApplicationRequestDtoSource.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"LinkedIn\",\n ),\n candidate_id: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n candidate: ::StackOne::Shared::AtsCreateApplicationRequestDtoCandidate.new(\n unified_custom_fields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n name: \"Romain Sestier\",\n first_name: \"Romain\",\n last_name: \"Sestier\",\n email: \"sestier.romain123@gmail.com\",\n social_links: [\n ::StackOne::Shared::SocialLink.new(\n type: \"linkedin\",\n url: \"https://www.linkedin.com/in/romainsestier/\",\n ),\n ],\n company: \"Company Inc.\",\n title: \"Software Engineer\",\n hired_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n country: \"United States\",\n custom_fields: [\n ::StackOne::Shared::CandidateCustomFields.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Training Completion Status\",\n value: \"Completed\",\n value_id: \"value_456\",\n remote_value_id: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n ),\n ],\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n phone_number: \"+1234567890\",\n ),\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif ! res.create_result.nil?\n # handle response\nend" - target: $["paths"]["/unified/ats/applications/{id}"]["get"] update: x-codeSamples: - lang: ruby label: ats_get_application 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::AtsGetApplicationRequest.new(\n id: \"\",\n fields_: \"id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate\",\n expand: \"documents\",\n include: \"attachments,custom_fields\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_application(req)\n\nif ! res.application_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/custom_field_definitions/applications"]["get"] + - target: $["paths"]["/unified/ats/applications/{id}"]["patch"] update: x-codeSamples: - lang: ruby - label: ats_list_application_custom_field_definitions - 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::AtsListApplicationCustomFieldDefinitionsRequest.new(\n fields_: \"id,remote_id,name,description,type,options\",\n filter: ::StackOne::Operations::AtsListApplicationCustomFieldDefinitionsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_application_custom_field_definitions(req)\n\nif ! res.custom_field_definitions_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/email"]["get"] + label: ats_update_application + 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.ats.update_application(id=\"\", x_account_id=\"\", ats_update_application_request_dto=::StackOne::Shared::AtsUpdateApplicationRequestDto.new(\n interview_stage_id: \"18bcbb1b-3cbc-4198-a999-460861d19480\",\n application_status: ::StackOne::Shared::AtsUpdateApplicationRequestDtoApplicationStatus.new(\n value: ::StackOne::Shared::AtsUpdateApplicationRequestDtoValue::HIRED,\n source_value: \"Hired\",\n ),\n source: ::StackOne::Shared::AtsUpdateApplicationRequestDtoSource.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"LinkedIn\",\n ),\n custom_fields: [\n ::StackOne::Shared::ApplicationCustomFields.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Training Completion Status\",\n value: \"Completed\",\n value_id: \"value_456\",\n remote_value_id: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n ),\n ],\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n rejected_reason_id: \"f223d7f6-908b-48f0-9237-b201c307f609\",\n))\n\nif ! res.update_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/applications/{id}/documents"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_list_email_templates - 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::MarketingListEmailTemplatesRequest.new(\n fields_: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n filter: ::StackOne::Operations::MarketingListEmailTemplatesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.marketing.list_email_templates(req)\n\nif ! res.templates_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/content_blocks/{id}"]["get"] + label: ats_list_application_documents + 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::AtsListApplicationDocumentsRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format\",\n filter: ::StackOne::Operations::AtsListApplicationDocumentsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_application_documents(req)\n\nif ! res.ats_documents_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/applications/{id}/documents/upload"]["post"] update: x-codeSamples: - lang: ruby - label: marketing_get_content_block - 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::MarketingGetContentBlockRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,type,content,status,tags,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.marketing.get_content_block(req)\n\nif ! res.content_blocks_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/time_off"]["post"] + label: ats_upload_application_document + 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.ats.upload_application_document(id=\"\", x_account_id=\"\", unified_upload_request_dto=::StackOne::Shared::UnifiedUploadRequestDto.new(\n name: \"weather-forecast\",\n file_format: ::StackOne::Shared::UnifiedUploadRequestDtoFileFormat.new(\n value: ::StackOne::Shared::UnifiedUploadRequestDtoValue::PDF,\n source_value: \"abc\",\n ),\n content: \"VGhpcyBpc24ndCByZWFsbHkgYSBzYW1wbGUgZmlsZSwgYnV0IG5vIG9uZSB3aWxsIGV2ZXIga25vdyE\",\n category_id: \"6530\",\n path: \"/path/to/file\",\n category: ::StackOne::Shared::UnifiedUploadRequestDtoCategory.new(\n value: \"reports, resumes\",\n source_value: \"550e8400-e29b-41d4-a716-446655440000, CUSTOM_CATEGORY_NAME\",\n ),\n confidential: ::StackOne::Shared::UnifiedUploadRequestDtoConfidential.new(\n value: ::StackOne::Shared::UnifiedUploadRequestDtoSchemasValue::TRUE,\n source_value: \"public\",\n ),\n))\n\nif ! res.write_result_api_model.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/applications/{id}/documents/{subResourceId}"]["get"] update: x-codeSamples: - lang: ruby - label: hris_create_time_off_request - 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.create_time_off_request(x_account_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 \"Bicycle\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/jobs"]["get"] + label: ats_get_application_document + 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::AtsGetApplicationDocumentRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_application_document(req)\n\nif ! res.ats_document_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/applications/{id}/documents/{subResourceId}/download"]["get"] update: x-codeSamples: - lang: ruby - label: ats_list_jobs - 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::AtsListJobsRequest.new(\n fields_: \"id,remote_id,code,title,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,created_at,updated_at\",\n filter: ::StackOne::Operations::AtsListJobsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"job_postings,interview_stages\",\n x_account_id: \"\",\n)\n \nres = s.ats.list_jobs(req)\n\nif ! res.jobs_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/assessments/packages/{id}"]["get"] + label: ats_download_application_document + 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.ats.download_application_document(id=\"\", sub_resource_id=\"\", x_account_id=\"\", format=\"base64\")\n\nif ! res.bytes.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/applications/{id}/move"]["post"] update: x-codeSamples: - lang: ruby - label: ats_get_assessments_package - 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::AtsGetAssessmentsPackageRequest.new(\n id: \"\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_assessments_package(req)\n\nif ! res.assessments_packages_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/crm/contacts/{id}"]["patch"] + label: ats_move_application + 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.ats.move_application(id=\"\", x_account_id=\"\", ats_move_application_request_dto=::StackOne::Shared::AtsMoveApplicationRequestDto.new(\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n interview_stage_id: \"f223d7f6-908b-48f0-9237-b201c307f609\",\n))\n\nif ! res.move_application_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/applications/{id}/offers"]["get"] update: x-codeSamples: - lang: ruby - label: crm_update_contact - 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.crm.update_contact(id=\"\", x_account_id=\"\", crm_create_contact_request_dto=::StackOne::Shared::CrmCreateContactRequestDto.new(\n first_name: \"Steve\",\n last_name: \"Wozniak\",\n company_name: \"Apple Inc.\",\n emails: [\n \"\",\n ],\n phone_numbers: [\n \"\",\n ],\n deal_ids: [\n \"\",\n ],\n account_ids: [\n \"\",\n ],\n passthrough: {\n \"West\": \"\",\n },\n ))\n\nif ! res.contact_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/lms/courses/{id}"]["get"] + label: ats_list_applications_offers + 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::AtsListApplicationsOffersRequest.new(\n id: \"\",\n fields_: \"id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n filter: ::StackOne::Operations::AtsListApplicationsOffersQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_applications_offers(req)\n\nif ! res.offers_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/applications/{id}/offers/{subResourceId}"]["get"] update: x-codeSamples: - lang: ruby - label: lms_get_course - 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::LmsGetCourseRequest.new(\n id: \"\",\n fields_: \"id,remote_id,external_reference,content_ids,remote_content_ids,title,description,languages,course_type,cover_url,url,active,duration,categories,skills,updated_at,created_at\",\n x_account_id: \"\",\n)\n \nres = s.lms.get_course(req)\n\nif ! res.course_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/candidates"]["get"] + label: ats_get_application_offer + 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::AtsGetApplicationOfferRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_application_offer(req)\n\nif ! res.offers_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/applications/{id}/reject"]["post"] update: x-codeSamples: - lang: ruby - label: ats_list_candidates - 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::AtsListCandidatesRequest.new(\n fields_: \"id,remote_id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,title,application_ids,remote_application_ids,hired_at,custom_fields,created_at,updated_at\",\n filter: ::StackOne::Operations::AtsListCandidatesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n include: \"custom_fields\",\n x_account_id: \"\",\n)\n \nres = s.ats.list_candidates(req)\n\nif ! res.candidates_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/email/{id}"]["get"] + label: ats_reject_application + 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.ats.reject_application(id=\"\", x_account_id=\"\", ats_reject_application_request_dto=::StackOne::Shared::AtsRejectApplicationRequestDto.new(\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n rejected_reason_id: \"f223d7f6-908b-48f0-9237-b201c307f609\",\n))\n\nif ! res.reject_application_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/applications/{id}/scheduled_interviews"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_get_email_template - 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::MarketingGetEmailTemplateRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n x_account_id: \"\",\n)\n \nres = s.marketing.get_email_template(req)\n\nif ! res.template_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}/time_off"]["post"] + label: ats_list_applications_scheduled_interviews + 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::AtsListApplicationsScheduledInterviewsRequest.new(\n 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\",\n filter: ::StackOne::Operations::AtsListApplicationsScheduledInterviewsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_applications_scheduled_interviews(req)\n\nif ! res.scheduled_interviews_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/applications/{id}/scheduled_interviews/{subResourceId}"]["get"] update: x-codeSamples: - lang: ruby - label: hris_create_employee_time_off_request - 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.create_employee_time_off_request(id=\"\", x_account_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 \"Passenger\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/applications/{id}/offers/{subResourceId}"]["get"] + label: ats_get_application_scheduled_interview + 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::AtsGetApplicationScheduledInterviewRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_application_scheduled_interview(req)\n\nif ! res.scheduled_interviews_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/applications/{id}/scorecards"]["get"] update: x-codeSamples: - lang: ruby - label: ats_get_application_offer - 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::AtsGetApplicationOfferRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_application_offer(req)\n\nif ! res.offers_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/locations/{id}"]["get"] + label: ats_list_application_scorecards + 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::AtsListApplicationScorecardsRequest.new(\n id: \"\",\n fields_: \"id,remote_id,sections,label,candidate_id,remote_candidate_id,application_id,remote_application_id,interview_id,remote_interview_id,author_id,remote_author_id,overall_recommendation,created_at,updated_at\",\n filter: ::StackOne::Operations::AtsListApplicationScorecardsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_application_scorecards(req)\n\nif ! res.scorecards_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/applications/{id}/scorecards/{subResourceId}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_get_location - 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::AtsGetLocationRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_location(req)\n\nif ! res.ats_location_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}"]["get"] + label: ats_get_application_scorecard + 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::AtsGetApplicationScorecardRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,remote_id,sections,label,candidate_id,remote_candidate_id,application_id,remote_application_id,interview_id,remote_interview_id,author_id,remote_author_id,overall_recommendation,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_application_scorecard(req)\n\nif ! res.scorecards_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/assessments/orders/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: hris_get_employee - 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::HrisGetEmployeeRequest.new(\n id: \"\",\n fields_: \"id,remote_id,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_title,job_description,department,cost_centers,benefits,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number,national_identity_number\",\n expand: \"company,employments,work_location,home_location,custom_fields,groups\",\n include: \"avatar_url,avatar,custom_fields,job_description,benefits\",\n x_account_id: \"\",\n)\n \nres = s.hris.get_employee(req)\n\nif ! res.employee_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/crm/contacts"]["get"] + label: ats_get_assessments_request + 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::AtsGetAssessmentsRequestRequest.new(\n id: \"\",\n fields_: \"assessment_id,remote_assessment_id,candidate,score,assessment_date,submission_date,summary,result,result_url,attachments\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_assessments_request(req)\n\nif ! res.assessments_results_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/assessments/orders/{id}/results"]["get"] update: x-codeSamples: - lang: ruby - label: crm_list_contacts - 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::CrmListContactsRequest.new(\n fields_: \"id,remote_id,first_name,last_name,company_name,emails,phone_numbers,deal_ids,remote_deal_ids,account_ids,remote_account_ids,custom_fields,created_at,updated_at\",\n filter: ::StackOne::Operations::CrmListContactsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n include: \"custom_fields\",\n x_account_id: \"\",\n)\n \nres = s.crm.list_contacts(req)\n\nif ! res.contacts_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/in_app/{id}"]["patch"] + label: ats_get_assessments_result + 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::AtsGetAssessmentsResultRequest.new(\n id: \"\",\n fields_: \"assessment_id,remote_assessment_id,candidate,score,assessment_date,submission_date,summary,result,result_url,attachments\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_assessments_result(req)\n\nif ! res.assessments_results_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/assessments/packages"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_update_in_app_template - 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.marketing.update_in_app_template(id=\"\", x_account_id=\"\", marketing_create_in_app_template_request_dto=::StackOne::Shared::MarketingCreateInAppTemplateRequestDto.new(\n messages: [\n ::StackOne::Shared::InAppMessages.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::InAppMessagesMessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n passthrough: {\n \"Operative\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}/employments"]["get"] + label: ats_list_assessments_packages + 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::AtsListAssessmentsPackagesRequest.new(\n filter: ::StackOne::Operations::AtsListAssessmentsPackagesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_assessments_packages(req)\n\nif ! res.assessments_packages_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/assessments/packages/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: hris_list_employee_employments - 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::HrisListEmployeeEmploymentsRequest.new(\n id: \"\",\n fields_: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,created_at,updated_at\",\n filter: ::StackOne::Operations::HrisListEmployeeEmploymentsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"groups\",\n x_account_id: \"\",\n)\n \nres = s.hris.list_employee_employments(req)\n\nif ! res.employments_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/custom_field_definitions/candidates/{id}"]["get"] + label: ats_get_assessments_package + 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::AtsGetAssessmentsPackageRequest.new(\n id: \"\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_assessments_package(req)\n\nif ! res.assessments_packages_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/candidates"]["get"] update: x-codeSamples: - lang: ruby - label: ats_get_candidate_custom_field_definition - 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::AtsGetCandidateCustomFieldDefinitionRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,description,type,options\",\n filter: ::StackOne::Operations::AtsGetCandidateCustomFieldDefinitionQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.get_candidate_custom_field_definition(req)\n\nif ! res.custom_field_definition_result_api_model.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/sms/{id}"]["patch"] + label: ats_list_candidates + 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::AtsListCandidatesRequest.new(\n fields_: \"id,remote_id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,title,application_ids,remote_application_ids,hired_at,custom_fields,created_at,updated_at\",\n filter: ::StackOne::Operations::AtsListCandidatesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n include: \"custom_fields\",\n x_account_id: \"\",\n)\n \nres = s.ats.list_candidates(req)\n\nif ! res.candidates_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/candidates"]["post"] update: x-codeSamples: - lang: ruby - label: marketing_update_sms_template - 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.marketing.update_sms_template(id=\"\", x_account_id=\"\", marketing_create_sms_template_request_dto=::StackOne::Shared::MarketingCreateSmsTemplateRequestDto.new(\n messages: [\n ::StackOne::Shared::SmsMessages.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::SmsMessagesMessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n passthrough: {\n \"Bronze\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees"]["get"] + label: ats_create_candidate + 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.ats.create_candidate(x_account_id=\"\", ats_create_candidate_request_dto=::StackOne::Shared::AtsCreateCandidateRequestDto.new(\n unified_custom_fields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n name: \"Romain Sestier\",\n first_name: \"Romain\",\n last_name: \"Sestier\",\n email: \"sestier.romain123@gmail.com\",\n social_links: [\n ::StackOne::Shared::SocialLink.new(\n type: \"linkedin\",\n url: \"https://www.linkedin.com/in/romainsestier/\",\n ),\n ],\n company: \"Company Inc.\",\n title: \"Software Engineer\",\n hired_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n country: \"United States\",\n custom_fields: [\n ::StackOne::Shared::CandidateCustomFields.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Training Completion Status\",\n value: \"Completed\",\n value_id: \"value_456\",\n remote_value_id: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n ),\n ],\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n phone_number: \"+1234567890\",\n))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/candidates/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: hris_list_employees - 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::HrisListEmployeesRequest.new(\n fields_: \"id,remote_id,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_title,job_description,department,cost_centers,benefits,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number,national_identity_number\",\n filter: ::StackOne::Operations::QueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"company,employments,work_location,home_location,custom_fields,groups\",\n include: \"avatar_url,avatar,custom_fields,job_description,benefits\",\n x_account_id: \"\",\n)\n \nres = s.hris.list_employees(req)\n\nif ! res.employees_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/connect_sessions"]["post"] + label: ats_get_candidate + 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::AtsGetCandidateRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,title,application_ids,remote_application_ids,hired_at,custom_fields,created_at,updated_at\",\n include: \"custom_fields\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_candidate(req)\n\nif ! res.candidate_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/candidates/{id}"]["patch"] update: x-codeSamples: - lang: ruby - label: stackone_create_connect_session - 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::Shared::ConnectSessionCreate.new(\n categories: [\n ::StackOne::Shared::Categories::HRIS_LEGACY,\n ],\n origin_owner_id: \"\",\n origin_owner_name: \"\",\n)\n \nres = s.connect_sessions.create_connect_session(req)\n\nif ! res.connect_session_token.nil?\n # handle response\nend" - - target: $["paths"]["/connectors/meta"]["get"] + label: ats_update_candidate + 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.ats.update_candidate(id=\"\", x_account_id=\"\", ats_update_candidate_request_dto=::StackOne::Shared::AtsUpdateCandidateRequestDto.new(\n unified_custom_fields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n name: \"Romain Sestier\",\n first_name: \"Romain\",\n last_name: \"Sestier\",\n email: \"sestier.romain123@gmail.com\",\n emails: [\n ::StackOne::Shared::CandidateEmail.new(\n type: \"personal\",\n value: \"sestier.romain123@gmail.com\",\n ),\n ],\n social_links: [\n ::StackOne::Shared::SocialLink.new(\n type: \"linkedin\",\n url: \"https://www.linkedin.com/in/romainsestier/\",\n ),\n ],\n phone_numbers: [\n ::StackOne::Shared::PhoneNumber.new(\n phone: \"+447700112233\",\n ),\n ],\n company: \"Company Inc.\",\n title: \"Software Engineer\",\n application_ids: [\n \"123e4567-e89b-12d3-a456-426614174000\",\n \"523e1234-e89b-fdd2-a456-762545121101\",\n ],\n hired_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n country: \"United States\",\n custom_fields: [\n ::StackOne::Shared::CandidateCustomFields.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Training Completion Status\",\n value: \"Completed\",\n value_id: \"value_456\",\n remote_value_id: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n ),\n ],\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/candidates/{id}/notes"]["get"] update: x-codeSamples: - lang: ruby - label: stackone_list_connectors_meta - 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.connectors.list_connectors_meta(include=\"field_path,unmapped_fields,resources,inactive,webhooks\")\n\nif ! res.connectors_metas.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}/documents/upload"]["post"] + label: ats_list_candidate_notes + 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::AtsListCandidateNotesRequest.new(\n id: \"\",\n fields_: \"id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at\",\n filter: ::StackOne::Operations::AtsListCandidateNotesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_candidate_notes(req)\n\nif ! res.notes_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/candidates/{id}/notes"]["post"] update: x-codeSamples: - lang: ruby - label: hris_upload_employee_document - 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.upload_employee_document(id=\"\", x_account_id=\"\", hris_documents_upload_request_dto=::StackOne::Shared::HrisDocumentsUploadRequestDto.new(\n name: \"weather-forecast\",\n file_format: ::StackOne::Shared::FileFormat.new(\n value: ::StackOne::Shared::HrisDocumentsUploadRequestDtoValue::PDF,\n source_value: \"abc\",\n ),\n content: \"VGhpcyBpc24ndCByZWFsbHkgYSBzYW1wbGUgZmlsZSwgYnV0IG5vIG9uZSB3aWxsIGV2ZXIga25vdyE\",\n category_id: \"6530\",\n path: \"/path/to/file\",\n category: ::StackOne::Shared::HrisDocumentsUploadRequestDtoCategory.new(\n value: ::StackOne::Shared::HrisDocumentsUploadRequestDtoSchemasValue::UNMAPPED_VALUE,\n source_value: \"550e8400-e29b-41d4-a716-446655440000\",\n ),\n confidential: ::StackOne::Shared::Confidential.new(\n value: ::StackOne::Shared::HrisDocumentsUploadRequestDtoSchemasConfidentialValue::TRUE,\n source_value: \"public\",\n ),\n ))\n\nif ! res.write_result_api_model.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employments/{id}"]["get"] + label: ats_create_candidate_note + 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.ats.create_candidate_note(id=\"\", x_account_id=\"\", ats_create_notes_request_dto=::StackOne::Shared::AtsCreateNotesRequestDto.new(\n content: [\n ::StackOne::Shared::NoteContentApiModel.new(\n body: \"This candidate seems like a good fit for the role\",\n ),\n ],\n author_id: \"1234567890\",\n visibility: ::StackOne::Shared::AtsCreateNotesRequestDtoVisibility.new(\n value: ::StackOne::Shared::AtsCreateNotesRequestDtoValue::PUBLIC,\n source_value: \"Public\",\n ),\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/candidates/{id}/notes/{subResourceId}"]["get"] update: x-codeSamples: - lang: ruby - label: hris_get_employment - 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::HrisGetEmploymentRequest.new(\n id: \"\",\n fields_: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,created_at,updated_at\",\n expand: \"groups\",\n x_account_id: \"\",\n)\n \nres = s.hris.get_employment(req)\n\nif ! res.employment_result.nil?\n # handle response\nend" - - target: $["paths"]["/accounts"]["get"] + label: ats_get_candidate_note + 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::AtsGetCandidateNoteRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_candidate_note(req)\n\nif ! res.note_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/custom_field_definitions/applications"]["get"] update: x-codeSamples: - lang: ruby - label: stackone_list_linked_accounts - 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::StackoneListLinkedAccountsRequest.new()\n \nres = s.accounts.list_linked_accounts(req)\n\nif ! res.linked_accounts.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}/documents/{subResourceId}/download"]["get"] + label: ats_list_application_custom_field_definitions + 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::AtsListApplicationCustomFieldDefinitionsRequest.new(\n fields_: \"id,remote_id,name,description,type,options\",\n filter: ::StackOne::Operations::AtsListApplicationCustomFieldDefinitionsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_application_custom_field_definitions(req)\n\nif ! res.custom_field_definitions_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/custom_field_definitions/applications/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: hris_download_employee_document - 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.download_employee_document(id=\"\", sub_resource_id=\"\", x_account_id=\"\", format=\"base64\")\n\nif ! res.bytes.nil?\n # handle response\nend" - - target: $["paths"]["/unified/crm/contacts"]["post"] + label: ats_get_application_custom_field_definition + 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::AtsGetApplicationCustomFieldDefinitionRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,description,type,options\",\n filter: ::StackOne::Operations::AtsGetApplicationCustomFieldDefinitionQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.get_application_custom_field_definition(req)\n\nif ! res.custom_field_definition_result_api_model.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/custom_field_definitions/candidates"]["get"] update: x-codeSamples: - lang: ruby - label: crm_create_contact - 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.crm.create_contact(x_account_id=\"\", crm_create_contact_request_dto=::StackOne::Shared::CrmCreateContactRequestDto.new(\n first_name: \"Steve\",\n last_name: \"Wozniak\",\n company_name: \"Apple Inc.\",\n emails: [\n \"\",\n ],\n phone_numbers: [\n \"\",\n ],\n deal_ids: [\n \"\",\n ],\n account_ids: [\n \"\",\n ],\n passthrough: {\n \"Electric\": \"\",\n },\n ))\n\nif ! res.contact_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/email/{id}"]["patch"] + label: ats_list_candidate_custom_field_definitions + 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::AtsListCandidateCustomFieldDefinitionsRequest.new(\n fields_: \"id,remote_id,name,description,type,options\",\n filter: ::StackOne::Operations::AtsListCandidateCustomFieldDefinitionsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_candidate_custom_field_definitions(req)\n\nif ! res.custom_field_definitions_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/custom_field_definitions/candidates/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_update_email_template - 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.marketing.update_email_template(id=\"\", x_account_id=\"\", marketing_create_email_template_request_dto=::StackOne::Shared::MarketingCreateEmailTemplateRequestDto.new(\n messages: [\n ::StackOne::Shared::EmailMessages.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::MessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n passthrough: {\n \"strategize\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/push"]["get"] + label: ats_get_candidate_custom_field_definition + 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::AtsGetCandidateCustomFieldDefinitionRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,description,type,options\",\n filter: ::StackOne::Operations::AtsGetCandidateCustomFieldDefinitionQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.get_candidate_custom_field_definition(req)\n\nif ! res.custom_field_definition_result_api_model.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/custom_field_definitions/jobs"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_list_push_templates - 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::MarketingListPushTemplatesRequest.new(\n fields_: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n filter: ::StackOne::Operations::MarketingListPushTemplatesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.marketing.list_push_templates(req)\n\nif ! res.templates_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/iam/roles/{id}"]["get"] + label: ats_list_job_custom_field_definitions + 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::AtsListJobCustomFieldDefinitionsRequest.new(\n fields_: \"id,remote_id,name,description,type,options\",\n filter: ::StackOne::Operations::AtsListJobCustomFieldDefinitionsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_job_custom_field_definitions(req)\n\nif ! res.custom_field_definitions_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/custom_field_definitions/jobs/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: iam_get_role - 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::IamGetRoleRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,type,policies,description,created_at,updated_at\",\n expand: \"policies\",\n x_account_id: \"\",\n)\n \nres = s.iam.get_role(req)\n\nif ! res.iam_role_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/documents/employee_categories/{id}"]["get"] + label: ats_get_job_custom_field_definition + 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::AtsGetJobCustomFieldDefinitionRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,description,type,options\",\n filter: ::StackOne::Operations::AtsGetJobCustomFieldDefinitionQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.get_job_custom_field_definition(req)\n\nif ! res.custom_field_definition_result_api_model.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/departments"]["get"] update: x-codeSamples: - lang: ruby - label: hris_get_employee_document_category - 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::HrisGetEmployeeDocumentCategoryRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,active\",\n x_account_id: \"\",\n)\n \nres = s.hris.get_employee_document_category(req)\n\nif ! res.reference_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/candidates/{id}/notes"]["get"] + label: ats_list_departments + 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::AtsListDepartmentsRequest.new(\n fields_: \"id,remote_id,name\",\n filter: ::StackOne::Operations::AtsListDepartmentsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_departments(req)\n\nif ! res.departments_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/departments/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_list_candidate_notes - 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::AtsListCandidateNotesRequest.new(\n id: \"\",\n fields_: \"id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at\",\n filter: ::StackOne::Operations::AtsListCandidateNotesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_candidate_notes(req)\n\nif ! res.notes_paginated.nil?\n # handle response\nend" + label: ats_get_department + 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::AtsGetDepartmentRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_department(req)\n\nif ! res.department_result.nil?\n # handle response\nend" - target: $["paths"]["/unified/ats/interview_stages"]["get"] update: x-codeSamples: - lang: ruby label: ats_list_interview_stages 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::AtsListInterviewStagesRequest.new(\n fields_: \"id,remote_id,name,order,created_at,updated_at\",\n filter: ::StackOne::Operations::AtsListInterviewStagesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_interview_stages(req)\n\nif ! res.interview_stages_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/locations"]["get"] + - target: $["paths"]["/unified/ats/interview_stages/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_list_locations - 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::AtsListLocationsRequest.new(\n fields_: \"id,remote_id,name\",\n filter: ::StackOne::Operations::AtsListLocationsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_locations(req)\n\nif ! res.ats_locations_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/push/{id}"]["patch"] + label: ats_get_interview_stage + 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::AtsGetInterviewStageRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,order,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_interview_stage(req)\n\nif ! res.interview_stage_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/interviews"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_update_push_template - 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.marketing.update_push_template(id=\"\", x_account_id=\"\", marketing_create_push_template_request_dto=::StackOne::Shared::MarketingCreatePushTemplateRequestDto.new(\n messages: [\n ::StackOne::Shared::PushMessages.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::PushMessagesMessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n passthrough: {\n \"tightly\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/companies/{id}"]["get"] + label: ats_list_interviews + 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::AtsListInterviewsRequest.new(\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\",\n filter: ::StackOne::Operations::AtsListInterviewsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_interviews(req)\n\nif ! res.interviews_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/interviews/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: hris_get_company - 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::HrisGetCompanyRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,full_name,display_name,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.hris.get_company(req)\n\nif ! res.company_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/custom_field_definitions/applications/{id}"]["get"] + label: ats_get_interview + 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::AtsGetInterviewRequest.new(\n 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\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_interview(req)\n\nif ! res.interviews_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/job_postings"]["get"] update: x-codeSamples: - lang: ruby - label: ats_get_application_custom_field_definition - 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::AtsGetApplicationCustomFieldDefinitionRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,description,type,options\",\n filter: ::StackOne::Operations::AtsGetApplicationCustomFieldDefinitionQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.get_application_custom_field_definition(req)\n\nif ! res.custom_field_definition_result_api_model.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/custom_field_definitions/candidates"]["get"] + label: ats_list_job_postings + 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::AtsListJobPostingsRequest.new(\n fields_: \"id,remote_id,title,locations,internal,status,job_id,remote_job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,updated_at,created_at\",\n filter: ::StackOne::Operations::AtsListJobPostingsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n include: \"questionnaires\",\n x_account_id: \"\",\n)\n \nres = s.ats.list_job_postings(req)\n\nif ! res.job_postings_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/job_postings/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_list_candidate_custom_field_definitions - 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::AtsListCandidateCustomFieldDefinitionsRequest.new(\n fields_: \"id,remote_id,name,description,type,options\",\n filter: ::StackOne::Operations::AtsListCandidateCustomFieldDefinitionsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_candidate_custom_field_definitions(req)\n\nif ! res.custom_field_definitions_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/lms/users/{id}/completions"]["get"] + label: ats_get_job_posting + 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::AtsGetJobPostingRequest.new(\n id: \"\",\n fields_: \"id,remote_id,title,locations,internal,status,job_id,remote_job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,updated_at,created_at\",\n include: \"questionnaires\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_job_posting(req)\n\nif ! res.job_posting_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/jobs"]["get"] update: x-codeSamples: - lang: ruby - label: lms_list_completions - 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::LmsListCompletionsRequest.new(\n id: \"\",\n fields_: \"id,remote_id,external_id,remote_external_id,content_id,remote_content_id,user_id,remote_user_id,completed_at,updated_at,created_at,result\",\n filter: ::StackOne::Operations::LmsListCompletionsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.lms.list_completions(req)\n\nif ! res.completions_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}"]["patch"] + label: ats_list_jobs + 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::AtsListJobsRequest.new(\n fields_: \"id,remote_id,code,title,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,custom_fields,created_at,updated_at\",\n filter: ::StackOne::Operations::AtsListJobsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"job_postings,interview_stages\",\n include: \"custom_fields\",\n x_account_id: \"\",\n)\n \nres = s.ats.list_jobs(req)\n\nif ! res.jobs_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/jobs/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: hris_update_employee - 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(id=\"\", x_account_id=\"\", hris_create_employee_request_dto=::StackOne::Shared::HrisCreateEmployeeRequestDto.new(\n first_name: \"Issac\",\n last_name: \"Newton\",\n name: \"Issac Newton\",\n display_name: \"Sir Issac Newton\",\n avatar_url: \"https://example.com/avatar.png\",\n personal_email: \"isaac.newton@example.com\",\n personal_phone_number: \"+1234567890\",\n work_email: \"newton@example.com\",\n work_phone_number: \"+1234567890\",\n job_title: \"Physicist\",\n department: \"Physics\",\n manager_id: \"67890\",\n gender: ::StackOne::Shared::HrisCreateEmployeeRequestDtoGender.new(),\n preferred_language: ::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasValue::ENG,\n ),\n ethnicity: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEthnicity.new(),\n date_of_birth: DateTime.iso8601('1990-01-01T00:00.000Z'),\n birthday: DateTime.iso8601('2021-01-01T00:00:00Z'),\n marital_status: ::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus.new(),\n avatar: ::StackOne::Shared::HrisCreateEmployeeRequestDtoAvatar.new(),\n hire_date: DateTime.iso8601('2021-01-01T00:00.000Z'),\n start_date: DateTime.iso8601('2021-01-01T00:00.000Z'),\n tenure: 2.0,\n work_anniversary: DateTime.iso8601('2021-01-01T00:00:00Z'),\n employment_type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentType.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasEmploymentTypeValue::PERMANENT,\n source_value: \"Permanent\",\n ),\n employment_contract_type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentContractType.new(),\n employment_status: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentStatus.new(),\n termination_date: DateTime.iso8601('2021-01-01T00:00:00Z'),\n company_name: \"Example Corp\",\n citizenships: [\n ::StackOne::Shared::CountryCodeEnum.new(\n value: ::StackOne::Shared::Value::US,\n ),\n ],\n employments: [\n ::StackOne::Shared::Employment.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n employee_id: \"1687-3\",\n remote_employee_id: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n job_title: \"Software Engineer\",\n pay_rate: \"40.00\",\n pay_period: ::StackOne::Shared::PayPeriod.new(\n value: ::StackOne::Shared::EmploymentValue::HOUR,\n source_value: \"Hour\",\n ),\n pay_frequency: ::StackOne::Shared::PayFrequency.new(\n value: ::StackOne::Shared::EmploymentSchemasValue::HOURLY,\n source_value: \"Hourly\",\n ),\n pay_currency: \"USD\",\n effective_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n employment_type: ::StackOne::Shared::EmploymentEmploymentType.new(\n value: ::StackOne::Shared::EmploymentSchemasEmploymentTypeValue::PERMANENT,\n source_value: \"Permanent\",\n ),\n employment_contract_type: ::StackOne::Shared::EmploymentEmploymentContractType.new(),\n created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n updated_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n ),\n ],\n custom_fields: [\n ::StackOne::Shared::EmployeeCustomFields.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Training Completion Status\",\n value: \"Completed\",\n value_id: \"value_456\",\n remote_value_id: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n ),\n ],\n benefits: [\n ::StackOne::Shared::HRISBenefit.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Health Insurance\",\n provider: \"Aetna\",\n description: \"Health insurance for employees\",\n created_at: DateTime.iso8601('2021-01-01T00:00:00Z'),\n updated_at: DateTime.iso8601('2021-01-01T00:00:00Z'),\n ),\n ],\n passthrough: {\n \"solid\": \"\",\n },\n job_id: \"R-6789\",\n home_location: ::StackOne::Shared::HrisCreateEmployeeRequestDtoHomeLocation.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Woolsthorpe Manor\",\n phone_number: \"+44 1476 860 364\",\n street_1: \"Water Lane\",\n street_2: \"Woolsthorpe by Colsterworth\",\n city: \"Grantham\",\n zip_code: \"NG33 5NR\",\n country: ::StackOne::Shared::HrisCreateEmployeeRequestDtoCountry.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationValue::US,\n ),\n passthrough: {\n \"Northeast\": \"\",\n },\n state: ::StackOne::Shared::State.new(),\n ),\n work_location: ::StackOne::Shared::HrisCreateEmployeeRequestDtoWorkLocation.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Woolsthorpe Manor\",\n phone_number: \"+44 1476 860 364\",\n street_1: \"Water Lane\",\n street_2: \"Woolsthorpe by Colsterworth\",\n city: \"Grantham\",\n zip_code: \"NG33 5NR\",\n country: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasCountry.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationValue::US,\n ),\n passthrough: {\n \"International\": \"\",\n },\n state: ::StackOne::Shared::HrisCreateEmployeeRequestDtoState.new(),\n ),\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/time_off"]["get"] + label: ats_get_job + 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::AtsGetJobRequest.new(\n id: \"\",\n fields_: \"id,remote_id,code,title,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,custom_fields,created_at,updated_at\",\n expand: \"job_postings,interview_stages\",\n include: \"custom_fields\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_job(req)\n\nif ! res.job_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/lists"]["get"] update: x-codeSamples: - lang: ruby - label: hris_list_time_off_requests - 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::HrisListTimeOffRequestsRequest.new(\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 filter: ::StackOne::Operations::HrisListTimeOffRequestsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.hris.list_time_off_requests(req)\n\nif ! res.time_off_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/push"]["post"] + label: ats_list_lists + 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::AtsListListsRequest.new(\n fields_: \"id,remote_id,name,created_at,updated_at,items,type\",\n filter: ::StackOne::Operations::AtsListListsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_lists(req)\n\nif ! res.lists_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/lists/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_create_push_template - 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.marketing.create_push_template(x_account_id=\"\", marketing_create_push_template_request_dto=::StackOne::Shared::MarketingCreatePushTemplateRequestDto.new(\n messages: [\n ::StackOne::Shared::PushMessages.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::PushMessagesMessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n passthrough: {\n \"turban\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/content_blocks"]["post"] + label: ats_get_list + 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::AtsGetListRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,created_at,updated_at,items,type\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_list(req)\n\nif ! res.list_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/locations"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_create_content_block - 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.marketing.create_content_block(x_account_id=\"\", marketing_create_content_blocks_request_dto=::StackOne::Shared::MarketingCreateContentBlocksRequestDto.new(\n passthrough: {\n \"Bike\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/lms/users/{id}"]["get"] + label: ats_list_locations + 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::AtsListLocationsRequest.new(\n fields_: \"id,remote_id,name\",\n filter: ::StackOne::Operations::AtsListLocationsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_locations(req)\n\nif ! res.ats_locations_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/locations/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: lms_get_user - 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::LmsGetUserRequest.new(\n id: \"\",\n fields_: \"id,remote_id,email,phone_number,created_at,updated_at,name\",\n x_account_id: \"\",\n)\n \nres = s.lms.get_user(req)\n\nif ! res.user_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/applications/{id}/documents/upload"]["post"] + label: ats_get_location + 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::AtsGetLocationRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_location(req)\n\nif ! res.ats_location_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/offers"]["get"] update: x-codeSamples: - lang: ruby - label: ats_upload_application_document - 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.ats.upload_application_document(id=\"\", x_account_id=\"\", unified_upload_request_dto=::StackOne::Shared::UnifiedUploadRequestDto.new(\n name: \"weather-forecast\",\n file_format: ::StackOne::Shared::UnifiedUploadRequestDtoFileFormat.new(\n value: ::StackOne::Shared::UnifiedUploadRequestDtoValue::PDF,\n source_value: \"abc\",\n ),\n content: \"VGhpcyBpc24ndCByZWFsbHkgYSBzYW1wbGUgZmlsZSwgYnV0IG5vIG9uZSB3aWxsIGV2ZXIga25vdyE\",\n category_id: \"6530\",\n path: \"/path/to/file\",\n category: ::StackOne::Shared::UnifiedUploadRequestDtoCategory.new(\n value: \"reports, resumes\",\n source_value: \"550e8400-e29b-41d4-a716-446655440000, CUSTOM_CATEGORY_NAME\",\n ),\n confidential: ::StackOne::Shared::UnifiedUploadRequestDtoConfidential.new(\n value: ::StackOne::Shared::UnifiedUploadRequestDtoSchemasValue::TRUE,\n source_value: \"public\",\n ),\n ))\n\nif ! res.write_result_api_model.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/interview_stages/{id}"]["get"] + label: ats_list_offers + 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::AtsListOffersRequest.new(\n fields_: \"id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n filter: ::StackOne::Operations::AtsListOffersQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_offers(req)\n\nif ! res.offers_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/offers"]["post"] update: x-codeSamples: - lang: ruby - label: ats_get_interview_stage - 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::AtsGetInterviewStageRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,order,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_interview_stage(req)\n\nif ! res.interview_stage_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/interviews"]["get"] + label: ats_create_offer + 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.ats.create_offer(x_account_id=\"\", ats_create_offer_request_dto=::StackOne::Shared::AtsCreateOfferRequestDto.new(\n start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n offer_status: ::StackOne::Shared::AtsCreateOfferRequestDtoOfferStatus.new(\n value: ::StackOne::Shared::AtsCreateOfferRequestDtoValue::PENDING,\n source_value: \"Pending\",\n ),\n offer_history: [\n ::StackOne::Shared::OfferHistory.new(\n start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n updated_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n ),\n ],\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/offers/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_list_interviews - 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::AtsListInterviewsRequest.new(\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\",\n filter: ::StackOne::Operations::AtsListInterviewsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_interviews(req)\n\nif ! res.interviews_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/proxy"]["post"] + label: ats_get_offer + 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::AtsGetOfferRequest.new(\n id: \"\",\n fields_: \"id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_offer(req)\n\nif ! res.offers_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/rejected_reasons"]["get"] update: x-codeSamples: - lang: ruby - label: stackone_proxy_request - 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.proxy.proxy_request(x_account_id=\"\", proxy_request_body=::StackOne::Shared::ProxyRequestBody.new(\n url: \"https://api.sample-integration.com/v1\",\n path: \"/employees/directory\",\n headers: {\n \"Car\": \"\",\n },\n ))\n\nif res.status_code == 200\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}/work_eligibility/{subResourceId}"]["get"] + label: ats_list_rejected_reasons + 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::AtsListRejectedReasonsRequest.new(\n fields_: \"id,remote_id,label,type,rejected_reason_type\",\n filter: ::StackOne::Operations::AtsListRejectedReasonsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_rejected_reasons(req)\n\nif ! res.rejected_reasons_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/rejected_reasons/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: hris_get_employees_work_eligibility - 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::HrisGetEmployeesWorkEligibilityRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,remote_id,type,sub_type,document,valid_from,valid_to,issued_by,number\",\n x_account_id: \"\",\n)\n \nres = s.hris.get_employees_work_eligibility(req)\n\nif ! res.work_eligibility_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}/work_eligibility/{subResourceId}"]["patch"] + label: ats_get_rejected_reason + 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::AtsGetRejectedReasonRequest.new(\n id: \"\",\n fields_: \"id,remote_id,label,type,rejected_reason_type\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_rejected_reason(req)\n\nif ! res.rejected_reason_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/users"]["get"] update: x-codeSamples: - lang: ruby - label: hris_update_employee_work_eligibility_request - 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_work_eligibility_request(id=\"\", sub_resource_id=\"\", x_account_id=\"\", hris_create_work_eligibility_request_dto=::StackOne::Shared::HrisCreateWorkEligibilityRequestDto.new(\n type: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoType.new(),\n sub_type: \"H1B\",\n document: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoDocument.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"My Document\",\n path: \"/path/to/file\",\n category: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoCategory.new(),\n category_id: \"6530\",\n created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n updated_at: DateTime.iso8601('2021-01-02T01:01:01.000Z'),\n remote_url: \"https://example.com/file.pdf\",\n file_format: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoFileFormat.new(\n value: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoSchemasDocumentValue::PDF,\n source_value: \"abc\",\n ),\n ),\n valid_from: DateTime.iso8601('2021-01-01T00:00.000Z'),\n valid_to: DateTime.iso8601('2021-01-01T00:00.000Z'),\n issued_by: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoIssuedBy.new(\n value: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoSchemasValue::US,\n ),\n number: \"1234567890\",\n passthrough: {\n \"evolve\": \"\",\n },\n ))\n\nif res.status_code == 200\n # handle response\nend" - - target: $["paths"]["/unified/hris/employments"]["get"] + label: ats_list_users + 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::AtsListUsersRequest.new(\n fields_: \"id,remote_id,first_name,last_name,name,email\",\n filter: ::StackOne::Operations::AtsListUsersQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_users(req)\n\nif ! res.users_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/users/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: hris_list_employments - 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::HrisListEmploymentsRequest.new(\n fields_: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,created_at,updated_at\",\n filter: ::StackOne::Operations::HrisListEmploymentsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"groups\",\n x_account_id: \"\",\n)\n \nres = s.hris.list_employments(req)\n\nif ! res.employments_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/applications/{id}/scheduled_interviews/{subResourceId}"]["get"] + label: ats_get_user + 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::AtsGetUserRequest.new(\n id: \"\",\n fields_: \"id,remote_id,first_name,last_name,name,email\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_user(req)\n\nif ! res.user_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/crm/accounts"]["get"] update: x-codeSamples: - lang: ruby - label: ats_get_application_scheduled_interview - 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::AtsGetApplicationScheduledInterviewRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_application_scheduled_interview(req)\n\nif ! res.scheduled_interviews_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/jobs/{id}"]["get"] + label: crm_list_accounts + 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::CrmListAccountsRequest.new(\n fields_: \"id,remote_id,owner_id,remote_owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at\",\n filter: ::StackOne::Operations::CrmListAccountsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.crm.list_accounts(req)\n\nif ! res.accounts_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/crm/accounts/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_get_job - 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::AtsGetJobRequest.new(\n id: \"\",\n fields_: \"id,remote_id,code,title,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,created_at,updated_at\",\n expand: \"job_postings,interview_stages\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_job(req)\n\nif ! res.job_result.nil?\n # handle response\nend" + label: crm_get_account + 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::CrmGetAccountRequest.new(\n id: \"\",\n fields_: \"id,remote_id,owner_id,remote_owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.crm.get_account(req)\n\nif ! res.account_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/crm/contacts"]["get"] + update: + x-codeSamples: + - lang: ruby + label: crm_list_contacts + 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::CrmListContactsRequest.new(\n fields_: \"id,remote_id,first_name,last_name,company_name,emails,phone_numbers,deal_ids,remote_deal_ids,account_ids,remote_account_ids,custom_fields,created_at,updated_at\",\n filter: ::StackOne::Operations::CrmListContactsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n include: \"custom_fields\",\n x_account_id: \"\",\n)\n \nres = s.crm.list_contacts(req)\n\nif ! res.contacts_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/crm/contacts"]["post"] + update: + x-codeSamples: + - lang: ruby + label: crm_create_contact + 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.crm.create_contact(x_account_id=\"\", crm_create_contact_request_dto=::StackOne::Shared::CrmCreateContactRequestDto.new(\n first_name: \"Steve\",\n last_name: \"Wozniak\",\n company_name: \"Apple Inc.\",\n emails: [\n \"steve@apple.com\",\n ],\n phone_numbers: [\n \"123-456-7890\",\n ],\n deal_ids: [\n \"deal-001\",\n \"deal-002\",\n ],\n account_ids: [\n \"account-123\",\n \"account-456\",\n ],\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif ! res.contact_result.nil?\n # handle response\nend" - target: $["paths"]["/unified/crm/contacts/{id}"]["get"] update: x-codeSamples: - lang: ruby label: crm_get_contact 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::CrmGetContactRequest.new(\n id: \"\",\n fields_: \"id,remote_id,first_name,last_name,company_name,emails,phone_numbers,deal_ids,remote_deal_ids,account_ids,remote_account_ids,custom_fields,created_at,updated_at\",\n include: \"custom_fields\",\n x_account_id: \"\",\n)\n \nres = s.crm.get_contact(req)\n\nif ! res.contact_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/sms"]["get"] + - target: $["paths"]["/unified/crm/contacts/{id}"]["patch"] update: x-codeSamples: - lang: ruby - label: marketing_list_sms_templates - 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::MarketingListSmsTemplatesRequest.new(\n fields_: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n filter: ::StackOne::Operations::MarketingListSmsTemplatesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.marketing.list_sms_templates(req)\n\nif ! res.templates_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/omni_channel"]["post"] + label: crm_update_contact + 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.crm.update_contact(id=\"\", x_account_id=\"\", crm_create_contact_request_dto=::StackOne::Shared::CrmCreateContactRequestDto.new(\n first_name: \"Steve\",\n last_name: \"Wozniak\",\n company_name: \"Apple Inc.\",\n emails: [\n \"steve@apple.com\",\n ],\n phone_numbers: [\n \"123-456-7890\",\n ],\n deal_ids: [\n \"deal-001\",\n \"deal-002\",\n ],\n account_ids: [\n \"account-123\",\n \"account-456\",\n ],\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif ! res.contact_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/crm/lists"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_create_omni_channel_template - 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.marketing.create_omni_channel_template(x_account_id=\"\", marketing_create_template_request_dto=::StackOne::Shared::MarketingCreateTemplateRequestDto.new(\n messages: [\n ::StackOne::Shared::Message.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::MessageMessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n passthrough: {\n \"Cargo\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/connect_sessions/authenticate"]["post"] + label: crm_list_lists + 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::CrmListListsRequest.new(\n fields_: \"id,remote_id,name,created_at,updated_at,items,type\",\n filter: ::StackOne::Operations::CrmListListsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.crm.list_lists(req)\n\nif ! res.lists_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/crm/lists/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: stackone_authenticate_connect_session - 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::Shared::ConnectSessionAuthenticate.new(\n token: \"\",\n)\n \nres = s.connect_sessions.authenticate_connect_session(req)\n\nif ! res.connect_session.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}/time_off"]["get"] + label: crm_get_list + 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::CrmGetListRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,created_at,updated_at,items,type\",\n x_account_id: \"\",\n)\n \nres = s.crm.get_list(req)\n\nif ! res.list_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/benefits"]["get"] update: x-codeSamples: - lang: ruby - label: hris_list_employee_time_off_requests - 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::HrisListEmployeeTimeOffRequestsRequest.new(\n 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 filter: ::StackOne::Operations::HrisListEmployeeTimeOffRequestsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.hris.list_employee_time_off_requests(req)\n\nif ! res.time_off_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/job_postings/{id}"]["get"] + label: hris_list_benefits + 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::HrisListBenefitsRequest.new(\n fields_: \"id,remote_id,name,benefit_type,provider,description,created_at,updated_at\",\n filter: ::StackOne::Operations::HrisListBenefitsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.hris.list_benefits(req)\n\nif ! res.hris_benefits_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/benefits/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_get_job_posting - 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::AtsGetJobPostingRequest.new(\n id: \"\",\n fields_: \"id,remote_id,title,locations,internal,status,job_id,remote_job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,updated_at,created_at\",\n include: \"questionnaires\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_job_posting(req)\n\nif ! res.job_posting_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/offers"]["get"] + label: hris_get_benefit + 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::HrisGetBenefitRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,benefit_type,provider,description,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.hris.get_benefit(req)\n\nif ! res.hris_benefit_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/companies"]["get"] update: x-codeSamples: - lang: ruby - label: ats_list_offers - 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::AtsListOffersRequest.new(\n fields_: \"id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n filter: ::StackOne::Operations::AtsListOffersQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_offers(req)\n\nif ! res.offers_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/offers/{id}"]["get"] + label: hris_list_companies + 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::HrisListCompaniesRequest.new(\n fields_: \"id,remote_id,name,full_name,display_name,created_at,updated_at\",\n filter: ::StackOne::Operations::Filter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.hris.list_companies(req)\n\nif ! res.companies_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/companies/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_get_offer - 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::AtsGetOfferRequest.new(\n id: \"\",\n fields_: \"id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_offer(req)\n\nif ! res.offers_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}/time_off/{subResourceId}"]["get"] + label: hris_get_company + 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::HrisGetCompanyRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,full_name,display_name,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.hris.get_company(req)\n\nif ! res.company_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/documents/employee_categories"]["get"] update: x-codeSamples: - lang: ruby - label: hris_get_employees_time_off_request - 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: \"\",\n sub_resource_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: \"\",\n)\n \nres = s.hris.get_employees_time_off_request(req)\n\nif ! res.time_off_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/applications/{id}/scorecards"]["get"] + label: hris_list_employee_categories + 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::HrisListEmployeeCategoriesRequest.new(\n fields_: \"id,remote_id,name,active\",\n filter: ::StackOne::Operations::HrisListEmployeeCategoriesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.hris.list_employee_categories(req)\n\nif ! res.reference_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/documents/employee_categories/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_list_application_scorecards - 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::AtsListApplicationScorecardsRequest.new(\n id: \"\",\n fields_: \"id,remote_id,sections,label,candidate_id,remote_candidate_id,application_id,remote_application_id,interview_id,remote_interview_id,author_id,remote_author_id,overall_recommendation,created_at,updated_at\",\n filter: ::StackOne::Operations::AtsListApplicationScorecardsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_application_scorecards(req)\n\nif ! res.scorecards_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/applications/{id}/documents/{subResourceId}"]["get"] + label: hris_get_employee_document_category + 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::HrisGetEmployeeDocumentCategoryRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,active\",\n x_account_id: \"\",\n)\n \nres = s.hris.get_employee_document_category(req)\n\nif ! res.reference_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees"]["get"] update: x-codeSamples: - lang: ruby - label: ats_get_application_document - 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::AtsGetApplicationDocumentRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_application_document(req)\n\nif ! res.ats_document_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/users/{id}"]["get"] + label: hris_list_employees + 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::HrisListEmployeesRequest.new(\n fields_: \"id,remote_id,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,benefits,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number,national_identity_number\",\n filter: ::StackOne::Operations::QueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"company,employments,work_location,home_location,custom_fields,groups\",\n include: \"avatar_url,avatar,custom_fields,job_description,benefits\",\n x_account_id: \"\",\n)\n \nres = s.hris.list_employees(req)\n\nif ! res.employees_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees"]["post"] update: x-codeSamples: - lang: ruby - label: ats_get_user - 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::AtsGetUserRequest.new(\n id: \"\",\n fields_: \"id,remote_id,first_name,last_name,name,email\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_user(req)\n\nif ! res.user_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/lms/categories"]["get"] + label: hris_create_employee + 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.create_employee(x_account_id=\"\", hris_create_employee_request_dto=::StackOne::Shared::HrisCreateEmployeeRequestDto.new(\n first_name: \"Issac\",\n last_name: \"Newton\",\n name: \"Issac Newton\",\n display_name: \"Sir Issac Newton\",\n avatar_url: \"https://example.com/avatar.png\",\n personal_email: \"isaac.newton@example.com\",\n personal_phone_number: \"+1234567890\",\n work_email: \"newton@example.com\",\n work_phone_number: \"+1234567890\",\n job_id: \"R-6789\",\n job_title: \"Physicist\",\n department_id: \"3093\",\n department: \"Physics\",\n manager_id: \"67890\",\n gender: ::StackOne::Shared::HrisCreateEmployeeRequestDtoGender.new(),\n preferred_language: ::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasValue::ENG,\n ),\n ethnicity: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEthnicity.new(),\n date_of_birth: DateTime.iso8601('1990-01-01T00:00.000Z'),\n birthday: DateTime.iso8601('2021-01-01T00:00:00Z'),\n marital_status: ::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus.new(),\n avatar: ::StackOne::Shared::HrisCreateEmployeeRequestDtoAvatar.new(),\n hire_date: DateTime.iso8601('2021-01-01T00:00.000Z'),\n start_date: DateTime.iso8601('2021-01-01T00:00.000Z'),\n tenure: 2.0,\n work_anniversary: DateTime.iso8601('2021-01-01T00:00:00Z'),\n employment_type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentType.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasEmploymentTypeValue::PERMANENT,\n source_value: \"Permanent\",\n ),\n employment_contract_type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentContractType.new(),\n employment_status: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentStatus.new(),\n termination_date: DateTime.iso8601('2021-01-01T00:00:00Z'),\n company_name: \"Example Corp\",\n citizenships: [\n ::StackOne::Shared::CountryCodeEnum.new(\n value: ::StackOne::Shared::Value::US,\n ),\n ],\n employments: [\n ::StackOne::Shared::Employment.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_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 remote_employee_id: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n job_title: \"Software Engineer\",\n pay_rate: \"40.00\",\n pay_period: ::StackOne::Shared::PayPeriod.new(\n value: ::StackOne::Shared::EmploymentValue::HOUR,\n source_value: \"Hour\",\n ),\n pay_frequency: ::StackOne::Shared::PayFrequency.new(\n value: ::StackOne::Shared::EmploymentSchemasValue::HOURLY,\n source_value: \"Hourly\",\n ),\n pay_currency: \"USD\",\n effective_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n employment_type: ::StackOne::Shared::EmploymentEmploymentType.new(\n value: ::StackOne::Shared::EmploymentSchemasEmploymentTypeValue::PERMANENT,\n source_value: \"Permanent\",\n ),\n employment_contract_type: ::StackOne::Shared::EmploymentEmploymentContractType.new(),\n created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n updated_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n ),\n ],\n custom_fields: [\n ::StackOne::Shared::EmployeeCustomFields.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Training Completion Status\",\n value: \"Completed\",\n value_id: \"value_456\",\n remote_value_id: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n ),\n ],\n benefits: [\n ::StackOne::Shared::HRISBenefit.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Health Insurance\",\n provider: \"Aetna\",\n description: \"Health insurance for employees\",\n created_at: DateTime.iso8601('2021-01-01T00:00:00Z'),\n updated_at: DateTime.iso8601('2021-01-01T00:00:00Z'),\n ),\n ],\n national_identity_number: ::StackOne::Shared::HrisCreateEmployeeRequestDtoNationalIdentityNumber.new(\n value: \"123456789\",\n type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoType.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasNationalIdentityNumberValue::SSN,\n ),\n ),\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n home_location: ::StackOne::Shared::HrisCreateEmployeeRequestDtoHomeLocation.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Woolsthorpe Manor\",\n phone_number: \"+44 1476 860 364\",\n street_1: \"Water Lane\",\n street_2: \"Woolsthorpe by Colsterworth\",\n city: \"Grantham\",\n zip_code: \"NG33 5NR\",\n country: ::StackOne::Shared::HrisCreateEmployeeRequestDtoCountry.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationValue::US,\n ),\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n state: ::StackOne::Shared::State.new(),\n ),\n work_location: ::StackOne::Shared::HrisCreateEmployeeRequestDtoWorkLocation.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Woolsthorpe Manor\",\n phone_number: \"+44 1476 860 364\",\n street_1: \"Water Lane\",\n street_2: \"Woolsthorpe by Colsterworth\",\n city: \"Grantham\",\n zip_code: \"NG33 5NR\",\n country: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasCountry.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationValue::US,\n ),\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n state: ::StackOne::Shared::HrisCreateEmployeeRequestDtoState.new(),\n ),\n))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: lms_list_categories - 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::LmsListCategoriesRequest.new(\n fields_: \"id,remote_id,name,active\",\n filter: ::StackOne::Operations::LmsListCategoriesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.lms.list_categories(req)\n\nif ! res.categories_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/crm/lists"]["get"] + label: hris_get_employee + 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::HrisGetEmployeeRequest.new(\n id: \"\",\n fields_: \"id,remote_id,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,benefits,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number,national_identity_number\",\n expand: \"company,employments,work_location,home_location,custom_fields,groups\",\n include: \"avatar_url,avatar,custom_fields,job_description,benefits\",\n x_account_id: \"\",\n)\n \nres = s.hris.get_employee(req)\n\nif ! res.employee_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees/{id}"]["patch"] update: x-codeSamples: - lang: ruby - label: crm_list_lists - 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::CrmListListsRequest.new(\n fields_: \"id,remote_id,name,created_at,updated_at,items,type\",\n filter: ::StackOne::Operations::CrmListListsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.crm.list_lists(req)\n\nif ! res.lists_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/campaigns/{id}"]["get"] + label: hris_update_employee + 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(id=\"\", x_account_id=\"\", hris_create_employee_request_dto=::StackOne::Shared::HrisCreateEmployeeRequestDto.new(\n first_name: \"Issac\",\n last_name: \"Newton\",\n name: \"Issac Newton\",\n display_name: \"Sir Issac Newton\",\n avatar_url: \"https://example.com/avatar.png\",\n personal_email: \"isaac.newton@example.com\",\n personal_phone_number: \"+1234567890\",\n work_email: \"newton@example.com\",\n work_phone_number: \"+1234567890\",\n job_id: \"R-6789\",\n job_title: \"Physicist\",\n department_id: \"3093\",\n department: \"Physics\",\n manager_id: \"67890\",\n gender: ::StackOne::Shared::HrisCreateEmployeeRequestDtoGender.new(),\n preferred_language: ::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasValue::ENG,\n ),\n ethnicity: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEthnicity.new(),\n date_of_birth: DateTime.iso8601('1990-01-01T00:00.000Z'),\n birthday: DateTime.iso8601('2021-01-01T00:00:00Z'),\n marital_status: ::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus.new(),\n avatar: ::StackOne::Shared::HrisCreateEmployeeRequestDtoAvatar.new(),\n hire_date: DateTime.iso8601('2021-01-01T00:00.000Z'),\n start_date: DateTime.iso8601('2021-01-01T00:00.000Z'),\n tenure: 2.0,\n work_anniversary: DateTime.iso8601('2021-01-01T00:00:00Z'),\n employment_type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentType.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasEmploymentTypeValue::PERMANENT,\n source_value: \"Permanent\",\n ),\n employment_contract_type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentContractType.new(),\n employment_status: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentStatus.new(),\n termination_date: DateTime.iso8601('2021-01-01T00:00:00Z'),\n company_name: \"Example Corp\",\n citizenships: [\n ::StackOne::Shared::CountryCodeEnum.new(\n value: ::StackOne::Shared::Value::US,\n ),\n ],\n employments: [\n ::StackOne::Shared::Employment.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_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 remote_employee_id: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n job_title: \"Software Engineer\",\n pay_rate: \"40.00\",\n pay_period: ::StackOne::Shared::PayPeriod.new(\n value: ::StackOne::Shared::EmploymentValue::HOUR,\n source_value: \"Hour\",\n ),\n pay_frequency: ::StackOne::Shared::PayFrequency.new(\n value: ::StackOne::Shared::EmploymentSchemasValue::HOURLY,\n source_value: \"Hourly\",\n ),\n pay_currency: \"USD\",\n effective_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n employment_type: ::StackOne::Shared::EmploymentEmploymentType.new(\n value: ::StackOne::Shared::EmploymentSchemasEmploymentTypeValue::PERMANENT,\n source_value: \"Permanent\",\n ),\n employment_contract_type: ::StackOne::Shared::EmploymentEmploymentContractType.new(),\n created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n updated_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n ),\n ],\n custom_fields: [\n ::StackOne::Shared::EmployeeCustomFields.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Training Completion Status\",\n value: \"Completed\",\n value_id: \"value_456\",\n remote_value_id: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n ),\n ],\n benefits: [\n ::StackOne::Shared::HRISBenefit.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Health Insurance\",\n provider: \"Aetna\",\n description: \"Health insurance for employees\",\n created_at: DateTime.iso8601('2021-01-01T00:00:00Z'),\n updated_at: DateTime.iso8601('2021-01-01T00:00:00Z'),\n ),\n ],\n national_identity_number: ::StackOne::Shared::HrisCreateEmployeeRequestDtoNationalIdentityNumber.new(\n value: \"123456789\",\n type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoType.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasNationalIdentityNumberValue::SSN,\n ),\n ),\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n home_location: ::StackOne::Shared::HrisCreateEmployeeRequestDtoHomeLocation.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Woolsthorpe Manor\",\n phone_number: \"+44 1476 860 364\",\n street_1: \"Water Lane\",\n street_2: \"Woolsthorpe by Colsterworth\",\n city: \"Grantham\",\n zip_code: \"NG33 5NR\",\n country: ::StackOne::Shared::HrisCreateEmployeeRequestDtoCountry.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationValue::US,\n ),\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n state: ::StackOne::Shared::State.new(),\n ),\n work_location: ::StackOne::Shared::HrisCreateEmployeeRequestDtoWorkLocation.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Woolsthorpe Manor\",\n phone_number: \"+44 1476 860 364\",\n street_1: \"Water Lane\",\n street_2: \"Woolsthorpe by Colsterworth\",\n city: \"Grantham\",\n zip_code: \"NG33 5NR\",\n country: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasCountry.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationValue::US,\n ),\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n state: ::StackOne::Shared::HrisCreateEmployeeRequestDtoState.new(),\n ),\n))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees/{id}/documents"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_get_campaign - 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::MarketingGetCampaignRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,created_at,updated_at,description,schedule_type,status,channels,first_sent_at,last_sent_at,tags,messages\",\n x_account_id: \"\",\n)\n \nres = s.marketing.get_campaign(req)\n\nif ! res.campaign_result.nil?\n # handle response\nend" + label: hris_list_employee_documents + 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::HrisListEmployeeDocumentsRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format\",\n filter: ::StackOne::Operations::HrisListEmployeeDocumentsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.hris.list_employee_documents(req)\n\nif ! res.hris_documents_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees/{id}/documents/upload"]["post"] + update: + x-codeSamples: + - lang: ruby + label: hris_upload_employee_document + 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.upload_employee_document(id=\"\", x_account_id=\"\", hris_documents_upload_request_dto=::StackOne::Shared::HrisDocumentsUploadRequestDto.new(\n name: \"weather-forecast\",\n file_format: ::StackOne::Shared::FileFormat.new(\n value: ::StackOne::Shared::HrisDocumentsUploadRequestDtoValue::PDF,\n source_value: \"abc\",\n ),\n content: \"VGhpcyBpc24ndCByZWFsbHkgYSBzYW1wbGUgZmlsZSwgYnV0IG5vIG9uZSB3aWxsIGV2ZXIga25vdyE\",\n category_id: \"6530\",\n path: \"/path/to/file\",\n category: ::StackOne::Shared::HrisDocumentsUploadRequestDtoCategory.new(\n value: ::StackOne::Shared::HrisDocumentsUploadRequestDtoSchemasValue::UNMAPPED_VALUE,\n source_value: \"550e8400-e29b-41d4-a716-446655440000\",\n ),\n confidential: ::StackOne::Shared::Confidential.new(\n value: ::StackOne::Shared::HrisDocumentsUploadRequestDtoSchemasConfidentialValue::TRUE,\n source_value: \"public\",\n ),\n))\n\nif ! res.write_result_api_model.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees/{id}/documents/upload/batch"]["post"] + update: + x-codeSamples: + - lang: ruby + label: hris_batch_upload_employee_document + 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.batch_upload_employee_document(id=\"\", x_account_id=\"\", hris_batch_document_upload_request_dto=::StackOne::Shared::HrisBatchDocumentUploadRequestDto.new(\n items: [\n ::StackOne::Shared::HrisDocumentsUploadRequestDto.new(\n name: \"weather-forecast\",\n file_format: ::StackOne::Shared::FileFormat.new(\n value: ::StackOne::Shared::HrisDocumentsUploadRequestDtoValue::PDF,\n source_value: \"abc\",\n ),\n content: \"VGhpcyBpc24ndCByZWFsbHkgYSBzYW1wbGUgZmlsZSwgYnV0IG5vIG9uZSB3aWxsIGV2ZXIga25vdyE\",\n category_id: \"6530\",\n path: \"/path/to/file\",\n category: ::StackOne::Shared::HrisDocumentsUploadRequestDtoCategory.new(\n value: ::StackOne::Shared::HrisDocumentsUploadRequestDtoSchemasValue::ACADEMIC,\n source_value: \"550e8400-e29b-41d4-a716-446655440000\",\n ),\n confidential: ::StackOne::Shared::Confidential.new(\n value: ::StackOne::Shared::HrisDocumentsUploadRequestDtoSchemasConfidentialValue::TRUE,\n source_value: \"public\",\n ),\n ),\n ],\n))\n\nif ! res.batch_result_api_model.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees/{id}/documents/{subResourceId}"]["get"] + update: + x-codeSamples: + - lang: ruby + label: hris_get_employee_document + 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::HrisGetEmployeeDocumentRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format\",\n x_account_id: \"\",\n)\n \nres = s.hris.get_employee_document(req)\n\nif ! res.hris_document_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees/{id}/documents/{subResourceId}/download"]["get"] + update: + x-codeSamples: + - lang: ruby + label: hris_download_employee_document + 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.download_employee_document(id=\"\", sub_resource_id=\"\", x_account_id=\"\", format=\"base64\")\n\nif ! res.bytes.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees/{id}/employments"]["get"] + update: + x-codeSamples: + - lang: ruby + label: hris_list_employee_employments + 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::HrisListEmployeeEmploymentsRequest.new(\n id: \"\",\n fields_: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,created_at,updated_at\",\n filter: ::StackOne::Operations::HrisListEmployeeEmploymentsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"groups\",\n x_account_id: \"\",\n)\n \nres = s.hris.list_employee_employments(req)\n\nif ! res.employments_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees/{id}/employments/{subResourceId}"]["get"] + update: + x-codeSamples: + - lang: ruby + label: hris_get_employee_employment + 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::HrisGetEmployeeEmploymentRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,created_at,updated_at\",\n expand: \"groups\",\n x_account_id: \"\",\n)\n \nres = s.hris.get_employee_employment(req)\n\nif ! res.employment_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees/{id}/time_off"]["get"] + update: + x-codeSamples: + - lang: ruby + label: hris_list_employee_time_off_requests + 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::HrisListEmployeeTimeOffRequestsRequest.new(\n 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 filter: ::StackOne::Operations::HrisListEmployeeTimeOffRequestsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.hris.list_employee_time_off_requests(req)\n\nif ! res.time_off_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees/{id}/time_off"]["post"] + update: + x-codeSamples: + - lang: ruby + label: hris_create_employee_time_off_request + 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.create_employee_time_off_request(id=\"\", x_account_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" + - target: $["paths"]["/unified/hris/employees/{id}/time_off/{subResourceId}"]["get"] + update: + x-codeSamples: + - lang: ruby + label: hris_get_employees_time_off_request + 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: \"\",\n sub_resource_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: \"\",\n)\n \nres = s.hris.get_employees_time_off_request(req)\n\nif ! res.time_off_result.nil?\n # handle response\nend" - target: $["paths"]["/unified/hris/employees/{id}/work_eligibility"]["get"] update: x-codeSamples: - lang: ruby label: hris_list_employee_work_eligibility 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::HrisListEmployeeWorkEligibilityRequest.new(\n id: \"\",\n fields_: \"id,remote_id,type,sub_type,document,valid_from,valid_to,issued_by,number\",\n filter: ::StackOne::Operations::HrisListEmployeeWorkEligibilityQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.hris.list_employee_work_eligibility(req)\n\nif ! res.work_eligibility_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/candidates/{id}"]["patch"] + - target: $["paths"]["/unified/hris/employees/{id}/work_eligibility"]["post"] update: x-codeSamples: - lang: ruby - label: ats_update_candidate - 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.ats.update_candidate(id=\"\", x_account_id=\"\", ats_update_candidate_request_dto=::StackOne::Shared::AtsUpdateCandidateRequestDto.new(\n name: \"Romain Sestier\",\n first_name: \"Romain\",\n last_name: \"Sestier\",\n email: \"sestier.romain123@gmail.com\",\n emails: [\n ::StackOne::Shared::CandidateEmail.new(\n type: \"personal\",\n value: \"sestier.romain123@gmail.com\",\n ),\n ],\n social_links: [\n ::StackOne::Shared::SocialLink.new(\n type: \"linkedin\",\n url: \"https://www.linkedin.com/in/romainsestier/\",\n ),\n ],\n phone_numbers: [\n ::StackOne::Shared::PhoneNumber.new(\n phone: \"+447700112233\",\n ),\n ],\n company: \"Company Inc.\",\n title: \"Software Engineer\",\n application_ids: [\n \"\",\n ],\n hired_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n country: \"United States\",\n custom_fields: [\n ::StackOne::Shared::CandidateCustomFields.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Training Completion Status\",\n value: \"Completed\",\n value_id: \"value_456\",\n remote_value_id: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n ),\n ],\n passthrough: {\n \"Extended\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/candidates/{id}/notes"]["post"] + label: hris_create_employee_work_eligibility_request + 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.create_employee_work_eligibility_request(id=\"\", x_account_id=\"\", hris_create_work_eligibility_request_dto=::StackOne::Shared::HrisCreateWorkEligibilityRequestDto.new(\n type: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoType.new(),\n sub_type: \"H1B\",\n document: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoDocument.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"My Document\",\n path: \"/path/to/file\",\n category: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoCategory.new(),\n category_id: \"6530\",\n created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n updated_at: DateTime.iso8601('2021-01-02T01:01:01.000Z'),\n remote_url: \"https://example.com/file.pdf\",\n file_format: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoFileFormat.new(\n value: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoSchemasDocumentValue::PDF,\n source_value: \"abc\",\n ),\n ),\n valid_from: DateTime.iso8601('2021-01-01T00:00.000Z'),\n valid_to: DateTime.iso8601('2021-01-01T00:00.000Z'),\n issued_by: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoIssuedBy.new(\n value: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoSchemasValue::US,\n ),\n number: \"1234567890\",\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees/{id}/work_eligibility/{subResourceId}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_create_candidate_note - 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.ats.create_candidate_note(id=\"\", x_account_id=\"\", ats_create_notes_request_dto=::StackOne::Shared::AtsCreateNotesRequestDto.new(\n content: [\n ::StackOne::Shared::NoteContentApiModel.new(\n body: \"This candidate seems like a good fit for the role\",\n ),\n ],\n author_id: \"1234567890\",\n visibility: ::StackOne::Shared::AtsCreateNotesRequestDtoVisibility.new(\n value: ::StackOne::Shared::AtsCreateNotesRequestDtoValue::PUBLIC,\n source_value: \"Public\",\n ),\n passthrough: {\n \"Freeway\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/in_app/{id}"]["get"] + label: hris_get_employees_work_eligibility + 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::HrisGetEmployeesWorkEligibilityRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,remote_id,type,sub_type,document,valid_from,valid_to,issued_by,number\",\n x_account_id: \"\",\n)\n \nres = s.hris.get_employees_work_eligibility(req)\n\nif ! res.work_eligibility_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees/{id}/work_eligibility/{subResourceId}"]["patch"] update: x-codeSamples: - lang: ruby - label: marketing_get_in_app_template - 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::MarketingGetInAppTemplateRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n x_account_id: \"\",\n)\n \nres = s.marketing.get_in_app_template(req)\n\nif ! res.template_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/groups"]["get"] + label: hris_update_employee_work_eligibility_request + 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_work_eligibility_request(id=\"\", sub_resource_id=\"\", x_account_id=\"\", hris_create_work_eligibility_request_dto=::StackOne::Shared::HrisCreateWorkEligibilityRequestDto.new(\n type: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoType.new(),\n sub_type: \"H1B\",\n document: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoDocument.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"My Document\",\n path: \"/path/to/file\",\n category: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoCategory.new(),\n category_id: \"6530\",\n created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n updated_at: DateTime.iso8601('2021-01-02T01:01:01.000Z'),\n remote_url: \"https://example.com/file.pdf\",\n file_format: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoFileFormat.new(\n value: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoSchemasDocumentValue::PDF,\n source_value: \"abc\",\n ),\n ),\n valid_from: DateTime.iso8601('2021-01-01T00:00.000Z'),\n valid_to: DateTime.iso8601('2021-01-01T00:00.000Z'),\n issued_by: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoIssuedBy.new(\n value: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoSchemasValue::US,\n ),\n number: \"1234567890\",\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif res.status_code == 200\n # handle response\nend" + - target: $["paths"]["/unified/hris/employments"]["get"] update: x-codeSamples: - lang: ruby - label: hris_list_groups - 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::HrisListGroupsRequest.new(\n fields_: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids\",\n filter: ::StackOne::Operations::HrisListGroupsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.hris.list_groups(req)\n\nif ! res.hris_groups_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/lists"]["get"] + label: hris_list_employments + 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::HrisListEmploymentsRequest.new(\n fields_: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,created_at,updated_at\",\n filter: ::StackOne::Operations::HrisListEmploymentsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"groups\",\n x_account_id: \"\",\n)\n \nres = s.hris.list_employments(req)\n\nif ! res.employments_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employments/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_list_lists - 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::AtsListListsRequest.new(\n fields_: \"id,remote_id,name,created_at,updated_at,items,type\",\n filter: ::StackOne::Operations::AtsListListsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_lists(req)\n\nif ! res.lists_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/push/{id}"]["get"] + label: hris_get_employment + 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::HrisGetEmploymentRequest.new(\n id: \"\",\n fields_: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,created_at,updated_at\",\n expand: \"groups\",\n x_account_id: \"\",\n)\n \nres = s.hris.get_employment(req)\n\nif ! res.employment_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/groups"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_get_push_template - 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::MarketingGetPushTemplateRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n x_account_id: \"\",\n)\n \nres = s.marketing.get_push_template(req)\n\nif ! res.template_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/lms/content"]["post"] + label: hris_list_groups + 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::HrisListGroupsRequest.new(\n fields_: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids\",\n filter: ::StackOne::Operations::HrisListGroupsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.hris.list_groups(req)\n\nif ! res.hris_groups_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/groups/departments"]["get"] update: x-codeSamples: - lang: ruby - label: lms_create_content - 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.lms.create_content(x_account_id=\"\", lms_create_content_request_dto=::StackOne::Shared::LmsCreateContentRequestDto.new(\n external_reference: \"SOFTWARE-ENG-LV1-TRAINING-VIDEO-1\",\n course_ids: [\n \"\",\n ],\n title: \"Software Engineer Lv 1\",\n description: \"This video acts as learning content for software engineers.\",\n languages: [\n ::StackOne::Shared::ContentLanguageEnum.new(\n value: ::StackOne::Shared::ContentLanguageEnumValue::EN_GB,\n ),\n ],\n content_url: \"https://www.youtube.com/watch?v=16873\",\n cover_url: \"https://www.googledrive.com/?v=16873\",\n active: true,\n duration: \"P3Y6M4DT12H30M5S\",\n order: 1.0,\n categories: [\n ::StackOne::Shared::CreateCategoriesApiModel.new(\n name: \"Information-Technology\",\n active: true,\n ),\n ],\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/lms/users"]["get"] + label: hris_list_department_groups + 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::HrisListDepartmentGroupsRequest.new(\n fields_: \"id,remote_id,name\",\n filter: ::StackOne::Operations::HrisListDepartmentGroupsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.hris.list_department_groups(req)\n\nif ! res.hris_departments_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/groups/departments/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: lms_list_users - 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::LmsListUsersRequest.new(\n fields_: \"id,remote_id,email,phone_number,created_at,updated_at,name\",\n filter: ::StackOne::Operations::LmsListUsersQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.lms.list_users(req)\n\nif ! res.users_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/campaigns"]["get"] + label: hris_get_department_group + 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::HrisGetDepartmentGroupRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name\",\n x_account_id: \"\",\n)\n \nres = s.hris.get_department_group(req)\n\nif ! res.hris_departments_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/groups/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_list_campaigns - 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::MarketingListCampaignsRequest.new(\n fields_: \"id,remote_id,name,created_at,updated_at,description,schedule_type,status,channels,first_sent_at,last_sent_at,tags,messages\",\n filter: ::StackOne::Operations::MarketingListCampaignsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.marketing.list_campaigns(req)\n\nif ! res.campaigns_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/accounts/{id}"]["patch"] + label: hris_get_group + 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::HrisGetGroupRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids\",\n x_account_id: \"\",\n)\n \nres = s.hris.get_group(req)\n\nif ! res.hris_groups_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/jobs"]["get"] update: x-codeSamples: - lang: ruby - label: stackone_update_account - 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.accounts.update_account(id=\"\", patch_account_external_dto=::StackOne::Shared::PatchAccountExternalDto.new())\n\nif ! res.linked_account.nil?\n # handle response\nend" + label: hris_list_jobs + 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::HrisListJobsRequest.new(\n fields_: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids\",\n filter: ::StackOne::Operations::HrisListJobsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.hris.list_jobs(req)\n\nif ! res.jobs_paginated.nil?\n # handle response\nend" - target: $["paths"]["/unified/hris/jobs/{id}"]["get"] update: x-codeSamples: - lang: ruby label: hris_get_job 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::HrisGetJobRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids\",\n x_account_id: \"\",\n)\n \nres = s.hris.get_job(req)\n\nif ! res.job_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/applications/{id}"]["patch"] + - target: $["paths"]["/unified/hris/locations"]["get"] update: x-codeSamples: - lang: ruby - label: ats_update_application - 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.ats.update_application(id=\"\", x_account_id=\"\", ats_update_application_request_dto=::StackOne::Shared::AtsUpdateApplicationRequestDto.new(\n interview_stage_id: \"18bcbb1b-3cbc-4198-a999-460861d19480\",\n application_status: ::StackOne::Shared::AtsUpdateApplicationRequestDtoApplicationStatus.new(\n value: ::StackOne::Shared::AtsUpdateApplicationRequestDtoValue::HIRED,\n source_value: \"Hired\",\n ),\n source: ::StackOne::Shared::AtsUpdateApplicationRequestDtoSource.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"LinkedIn\",\n ),\n custom_fields: [\n ::StackOne::Shared::ApplicationCustomFields.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Training Completion Status\",\n value: \"Completed\",\n value_id: \"value_456\",\n remote_value_id: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n ),\n ],\n passthrough: {\n \"Licensed\": \"\",\n },\n rejected_reason_id: \"f223d7f6-908b-48f0-9237-b201c307f609\",\n ))\n\nif ! res.update_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/omni_channel/{id}"]["get"] + label: hris_list_locations + 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::HrisListLocationsRequest.new(\n fields_: \"id,remote_id,employee_id,remote_employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at\",\n filter: ::StackOne::Operations::HrisListLocationsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.hris.list_locations(req)\n\nif ! res.hris_locations_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/locations/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_get_omni_channel_template - 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::MarketingGetOmniChannelTemplateRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n x_account_id: \"\",\n)\n \nres = s.marketing.get_omni_channel_template(req)\n\nif ! res.template_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/omni_channel/{id}"]["patch"] + label: hris_get_location + 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::HrisGetLocationRequest.new(\n id: \"\",\n fields_: \"id,remote_id,employee_id,remote_employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.hris.get_location(req)\n\nif ! res.hris_location_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/time_off"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_update_omni_channel_template - 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.marketing.update_omni_channel_template(id=\"\", x_account_id=\"\", marketing_create_template_request_dto=::StackOne::Shared::MarketingCreateTemplateRequestDto.new(\n messages: [\n ::StackOne::Shared::Message.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::MessageMessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n passthrough: {\n \"Edina\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/crm/lists/{id}"]["get"] + label: hris_list_time_off_requests + 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::HrisListTimeOffRequestsRequest.new(\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 filter: ::StackOne::Operations::HrisListTimeOffRequestsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.hris.list_time_off_requests(req)\n\nif ! res.time_off_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/time_off"]["post"] update: x-codeSamples: - lang: ruby - label: crm_get_list - 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::CrmGetListRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,created_at,updated_at,items,type\",\n x_account_id: \"\",\n)\n \nres = s.crm.get_list(req)\n\nif ! res.list_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/lms/users/{id}/assignments"]["get"] + label: hris_create_time_off_request + 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.create_time_off_request(x_account_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" + - target: $["paths"]["/unified/hris/time_off/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: lms_list_assignments - 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::LmsListAssignmentsRequest.new(\n id: \"\",\n fields_: \"id,remote_id,external_id,remote_external_id,course_id,remote_course_id,updated_at,created_at,due_date,status\",\n filter: ::StackOne::Operations::LmsListAssignmentsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.lms.list_assignments(req)\n\nif ! res.assignments_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees"]["post"] + label: hris_get_time_off_request + 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::HrisGetTimeOffRequestRequest.new(\n 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: \"\",\n)\n \nres = s.hris.get_time_off_request(req)\n\nif ! res.time_off_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/time_off/{id}"]["patch"] update: x-codeSamples: - lang: ruby - label: hris_create_employee - 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.create_employee(x_account_id=\"\", hris_create_employee_request_dto=::StackOne::Shared::HrisCreateEmployeeRequestDto.new(\n first_name: \"Issac\",\n last_name: \"Newton\",\n name: \"Issac Newton\",\n display_name: \"Sir Issac Newton\",\n avatar_url: \"https://example.com/avatar.png\",\n personal_email: \"isaac.newton@example.com\",\n personal_phone_number: \"+1234567890\",\n work_email: \"newton@example.com\",\n work_phone_number: \"+1234567890\",\n job_title: \"Physicist\",\n department: \"Physics\",\n manager_id: \"67890\",\n gender: ::StackOne::Shared::HrisCreateEmployeeRequestDtoGender.new(),\n preferred_language: ::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasValue::ENG,\n ),\n ethnicity: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEthnicity.new(),\n date_of_birth: DateTime.iso8601('1990-01-01T00:00.000Z'),\n birthday: DateTime.iso8601('2021-01-01T00:00:00Z'),\n marital_status: ::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus.new(),\n avatar: ::StackOne::Shared::HrisCreateEmployeeRequestDtoAvatar.new(),\n hire_date: DateTime.iso8601('2021-01-01T00:00.000Z'),\n start_date: DateTime.iso8601('2021-01-01T00:00.000Z'),\n tenure: 2.0,\n work_anniversary: DateTime.iso8601('2021-01-01T00:00:00Z'),\n employment_type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentType.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasEmploymentTypeValue::PERMANENT,\n source_value: \"Permanent\",\n ),\n employment_contract_type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentContractType.new(),\n employment_status: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentStatus.new(),\n termination_date: DateTime.iso8601('2021-01-01T00:00:00Z'),\n company_name: \"Example Corp\",\n citizenships: [\n ::StackOne::Shared::CountryCodeEnum.new(\n value: ::StackOne::Shared::Value::US,\n ),\n ],\n employments: [\n ::StackOne::Shared::Employment.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n employee_id: \"1687-3\",\n remote_employee_id: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n job_title: \"Software Engineer\",\n pay_rate: \"40.00\",\n pay_period: ::StackOne::Shared::PayPeriod.new(\n value: ::StackOne::Shared::EmploymentValue::HOUR,\n source_value: \"Hour\",\n ),\n pay_frequency: ::StackOne::Shared::PayFrequency.new(\n value: ::StackOne::Shared::EmploymentSchemasValue::HOURLY,\n source_value: \"Hourly\",\n ),\n pay_currency: \"USD\",\n effective_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n employment_type: ::StackOne::Shared::EmploymentEmploymentType.new(\n value: ::StackOne::Shared::EmploymentSchemasEmploymentTypeValue::PERMANENT,\n source_value: \"Permanent\",\n ),\n employment_contract_type: ::StackOne::Shared::EmploymentEmploymentContractType.new(),\n created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n updated_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n ),\n ],\n custom_fields: [\n ::StackOne::Shared::EmployeeCustomFields.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Training Completion Status\",\n value: \"Completed\",\n value_id: \"value_456\",\n remote_value_id: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n ),\n ],\n benefits: [\n ::StackOne::Shared::HRISBenefit.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Health Insurance\",\n provider: \"Aetna\",\n description: \"Health insurance for employees\",\n created_at: DateTime.iso8601('2021-01-01T00:00:00Z'),\n updated_at: DateTime.iso8601('2021-01-01T00:00:00Z'),\n ),\n ],\n passthrough: {\n \"Cheese\": \"\",\n },\n job_id: \"R-6789\",\n home_location: ::StackOne::Shared::HrisCreateEmployeeRequestDtoHomeLocation.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Woolsthorpe Manor\",\n phone_number: \"+44 1476 860 364\",\n street_1: \"Water Lane\",\n street_2: \"Woolsthorpe by Colsterworth\",\n city: \"Grantham\",\n zip_code: \"NG33 5NR\",\n country: ::StackOne::Shared::HrisCreateEmployeeRequestDtoCountry.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationValue::US,\n ),\n passthrough: {\n \"Bugatti\": \"\",\n },\n state: ::StackOne::Shared::State.new(),\n ),\n work_location: ::StackOne::Shared::HrisCreateEmployeeRequestDtoWorkLocation.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Woolsthorpe Manor\",\n phone_number: \"+44 1476 860 364\",\n street_1: \"Water Lane\",\n street_2: \"Woolsthorpe by Colsterworth\",\n city: \"Grantham\",\n zip_code: \"NG33 5NR\",\n country: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasCountry.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationValue::US,\n ),\n passthrough: {\n \"underneath\": \"\",\n },\n state: ::StackOne::Shared::HrisCreateEmployeeRequestDtoState.new(),\n ),\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/benefits"]["get"] + label: hris_update_time_off_request + 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=\"\", x_account_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" + - target: $["paths"]["/unified/iam/groups"]["get"] update: x-codeSamples: - lang: ruby - label: hris_list_benefits - 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::HrisListBenefitsRequest.new(\n fields_: \"id,remote_id,name,benefit_type,provider,description,created_at,updated_at\",\n filter: ::StackOne::Operations::HrisListBenefitsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.hris.list_benefits(req)\n\nif ! res.hris_benefits_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/applications"]["post"] + label: iam_list_groups + 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::IamListGroupsRequest.new(\n fields_: \"id,remote_id,parent_id,remote_parent_id,name,description,roles,type,created_at,updated_at\",\n filter: ::StackOne::Operations::IamListGroupsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"roles\",\n x_account_id: \"\",\n)\n \nres = s.iam.list_groups(req)\n\nif ! res.iam_groups_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/iam/groups/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_create_application - 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.ats.create_application(x_account_id=\"\", ats_create_application_request_dto=::StackOne::Shared::AtsCreateApplicationRequestDto.new(\n job_id: \"4071538b-3cac-4fbf-ac76-f78ed250ffdd\",\n location_id: \"dd8d41d1-5eb8-4408-9c87-9ba44604eae4\",\n application_status: ::StackOne::Shared::AtsCreateApplicationRequestDtoApplicationStatus.new(\n value: ::StackOne::Shared::AtsCreateApplicationRequestDtoValue::HIRED,\n source_value: \"Hired\",\n ),\n questionnaires: [\n ::StackOne::Shared::Questionnaire.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n answers: [\n ::StackOne::Shared::Answer.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n type: ::StackOne::Shared::AnswerType.new(\n value: ::StackOne::Shared::AnswerValue::SHORT_TEXT,\n source_value: \"Short Text\",\n ),\n values: [\n \"\",\n ],\n ),\n ],\n ),\n ],\n source: ::StackOne::Shared::AtsCreateApplicationRequestDtoSource.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"LinkedIn\",\n ),\n candidate_id: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n candidate: ::StackOne::Shared::AtsCreateApplicationRequestDtoCandidate.new(\n name: \"Romain Sestier\",\n first_name: \"Romain\",\n last_name: \"Sestier\",\n email: \"sestier.romain123@gmail.com\",\n social_links: [\n ::StackOne::Shared::SocialLink.new(\n type: \"linkedin\",\n url: \"https://www.linkedin.com/in/romainsestier/\",\n ),\n ],\n company: \"Company Inc.\",\n title: \"Software Engineer\",\n hired_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n country: \"United States\",\n custom_fields: [\n ::StackOne::Shared::CandidateCustomFields.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Training Completion Status\",\n value: \"Completed\",\n value_id: \"value_456\",\n remote_value_id: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n ),\n ],\n passthrough: {\n \"synthesize\": \"\",\n },\n phone_number: \"+1234567890\",\n ),\n passthrough: {\n \"Global\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/candidates/{id}/notes/{subResourceId}"]["get"] + label: iam_get_group + 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::IamGetGroupRequest.new(\n id: \"\",\n fields_: \"id,remote_id,parent_id,remote_parent_id,name,description,roles,type,created_at,updated_at\",\n expand: \"roles\",\n x_account_id: \"\",\n)\n \nres = s.iam.get_group(req)\n\nif ! res.iam_group_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/iam/policies"]["get"] update: x-codeSamples: - lang: ruby - label: ats_get_candidate_note - 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::AtsGetCandidateNoteRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_candidate_note(req)\n\nif ! res.note_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/departments"]["get"] + label: iam_list_policies + 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::IamListPoliciesRequest.new(\n fields_: \"id,remote_id,name,permissions,description,created_at,updated_at\",\n filter: ::StackOne::Operations::IamListPoliciesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"permissions\",\n x_account_id: \"\",\n)\n \nres = s.iam.list_policies(req)\n\nif ! res.iam_policies_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/iam/policies/{id}"]["get"] + update: + x-codeSamples: + - lang: ruby + label: iam_get_policy + 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::IamGetPolicyRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,permissions,description,created_at,updated_at\",\n expand: \"permissions\",\n x_account_id: \"\",\n)\n \nres = s.iam.get_policy(req)\n\nif ! res.iam_policy_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/iam/roles"]["get"] + update: + x-codeSamples: + - lang: ruby + label: iam_list_roles + 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::IamListRolesRequest.new(\n fields_: \"id,remote_id,name,type,policies,description,created_at,updated_at\",\n filter: ::StackOne::Operations::IamListRolesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"policies\",\n x_account_id: \"\",\n)\n \nres = s.iam.list_roles(req)\n\nif ! res.iam_roles_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/iam/roles/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_list_departments - 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::AtsListDepartmentsRequest.new(\n fields_: \"id,remote_id,name\",\n filter: ::StackOne::Operations::AtsListDepartmentsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_departments(req)\n\nif ! res.departments_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/in_app"]["get"] + label: iam_get_role + 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::IamGetRoleRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,type,policies,description,created_at,updated_at\",\n expand: \"policies\",\n x_account_id: \"\",\n)\n \nres = s.iam.get_role(req)\n\nif ! res.iam_role_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/iam/users"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_list_in_app_templates - 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::MarketingListInAppTemplatesRequest.new(\n fields_: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n filter: ::StackOne::Operations::MarketingListInAppTemplatesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.marketing.list_in_app_templates(req)\n\nif ! res.templates_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}/documents/{subResourceId}"]["get"] + label: iam_list_users + 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::IamListUsersRequest.new(\n fields_: \"id,remote_id,first_name,last_name,name,primary_email_address,username,roles,groups,status,avatar,is_bot_user,last_active_at,last_login_at,created_at,updated_at,multi_factor_enabled\",\n filter: ::StackOne::Operations::IamListUsersQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"roles,groups\",\n x_account_id: \"\",\n)\n \nres = s.iam.list_users(req)\n\nif ! res.iam_users_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/iam/users/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: hris_get_employee_document - 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::HrisGetEmployeeDocumentRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format\",\n x_account_id: \"\",\n)\n \nres = s.hris.get_employee_document(req)\n\nif ! res.hris_document_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/groups/departments"]["get"] + label: iam_get_user + 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::IamGetUserRequest.new(\n id: \"\",\n fields_: \"id,remote_id,first_name,last_name,name,primary_email_address,username,roles,groups,status,avatar,is_bot_user,last_active_at,last_login_at,created_at,updated_at,multi_factor_enabled\",\n expand: \"roles,groups\",\n x_account_id: \"\",\n)\n \nres = s.iam.get_user(req)\n\nif ! res.iam_user_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/lms/assignments"]["get"] update: x-codeSamples: - lang: ruby - label: hris_list_department_groups - 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::HrisListDepartmentGroupsRequest.new(\n fields_: \"id,remote_id,name\",\n filter: ::StackOne::Operations::HrisListDepartmentGroupsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.hris.list_department_groups(req)\n\nif ! res.hris_departments_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/job_postings"]["get"] + label: lms_list_assignments + 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::LmsListAssignmentsRequest.new(\n fields_: \"id,remote_id,user_id,remote_user_id,course_id,remote_course_id,updated_at,created_at,due_date,status\",\n filter: ::StackOne::Operations::LmsListAssignmentsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n user_id: \"c28xyrc55866bvuv\",\n remote_user_id: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n x_account_id: \"\",\n)\n \nres = s.lms.list_assignments(req)\n\nif ! res.assignments_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/lms/assignments/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_list_job_postings - 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::AtsListJobPostingsRequest.new(\n fields_: \"id,remote_id,title,locations,internal,status,job_id,remote_job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,updated_at,created_at\",\n filter: ::StackOne::Operations::AtsListJobPostingsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n include: \"questionnaires\",\n x_account_id: \"\",\n)\n \nres = s.ats.list_job_postings(req)\n\nif ! res.job_postings_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/time_off/{id}"]["patch"] + label: lms_get_assignment + 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::LmsGetAssignmentRequest.new(\n id: \"\",\n x_account_id: \"\",\n)\n \nres = s.lms.get_assignment(req)\n\nif ! res.assignment_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/lms/categories"]["get"] update: x-codeSamples: - lang: ruby - label: hris_update_time_off_request - 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=\"\", x_account_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 \"Sports\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/applications/{id}/documents/{subResourceId}/download"]["get"] + label: lms_list_categories + 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::LmsListCategoriesRequest.new(\n fields_: \"id,remote_id,name,active\",\n filter: ::StackOne::Operations::LmsListCategoriesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.lms.list_categories(req)\n\nif ! res.categories_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/lms/categories/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_download_application_document - 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.ats.download_application_document(id=\"\", sub_resource_id=\"\", x_account_id=\"\", format=\"base64\")\n\nif ! res.bytes.nil?\n # handle response\nend" - - target: $["paths"]["/unified/iam/groups/{id}"]["get"] + label: lms_get_category + 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::LmsGetCategoryRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,active\",\n x_account_id: \"\",\n)\n \nres = s.lms.get_category(req)\n\nif ! res.category_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/lms/completions"]["get"] update: x-codeSamples: - lang: ruby - label: iam_get_group - 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::IamGetGroupRequest.new(\n id: \"\",\n fields_: \"id,remote_id,parent_id,remote_parent_id,name,description,roles,type,created_at,updated_at\",\n expand: \"roles\",\n x_account_id: \"\",\n)\n \nres = s.iam.get_group(req)\n\nif ! res.iam_group_result.nil?\n # handle response\nend" - - target: $["paths"]["/connectors/meta/{provider}"]["get"] + label: lms_list_completions + 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::LmsListCompletionsRequest.new(\n fields_: \"id,remote_id,external_id,remote_external_id,content_id,remote_content_id,user_id,remote_user_id,completed_at,updated_at,created_at,result,content_external_reference\",\n filter: ::StackOne::Operations::LmsListCompletionsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n user_id: \"746359\",\n remote_user_id: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n x_account_id: \"\",\n)\n \nres = s.lms.list_completions(req)\n\nif ! res.completions_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/lms/completions/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: stackone_get_connector_meta - 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.connectors.get_connector_meta(provider=\"\", include=\"field_path,unmapped_fields,resources,inactive,webhooks\")\n\nif ! res.connectors_meta.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/locations"]["get"] + label: lms_get_completion + 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::LmsGetCompletionRequest.new(\n id: \"\",\n x_account_id: \"\",\n)\n \nres = s.lms.get_completion(req)\n\nif ! res.completion_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/lms/content"]["get"] update: x-codeSamples: - lang: ruby - label: hris_list_locations - 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::HrisListLocationsRequest.new(\n fields_: \"id,remote_id,employee_id,remote_employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at\",\n filter: ::StackOne::Operations::HrisListLocationsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.hris.list_locations(req)\n\nif ! res.hris_locations_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/candidates/{id}"]["get"] + label: lms_list_content + 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::LmsListContentRequest.new(\n fields_: \"id,remote_id,external_reference,course_ids,remote_course_ids,title,description,languages,content_url,content_type,cover_url,active,duration,categories,order\",\n filter: ::StackOne::Operations::LmsListContentQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.lms.list_content(req)\n\nif ! res.content_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/lms/content"]["post"] update: x-codeSamples: - lang: ruby - label: ats_get_candidate - 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::AtsGetCandidateRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,title,application_ids,remote_application_ids,hired_at,custom_fields,created_at,updated_at\",\n include: \"custom_fields\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_candidate(req)\n\nif ! res.candidate_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/lists/{id}"]["get"] + label: lms_create_content + 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.lms.create_content(x_account_id=\"\", lms_create_content_request_dto=::StackOne::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 external_reference: \"SOFTWARE-ENG-LV1-TRAINING-VIDEO-1\",\n course_ids: [\n \"16873-SOFTWARE-ENG-COURSE\",\n ],\n title: \"Software Engineer Lv 1\",\n description: \"This video acts as learning content for software engineers.\",\n languages: [\n ::StackOne::Shared::ContentLanguageEnum.new(\n value: ::StackOne::Shared::ContentLanguageEnumValue::EN_GB,\n ),\n ],\n content_url: \"https://www.youtube.com/watch?v=16873\",\n cover_url: \"https://www.googledrive.com/?v=16873\",\n active: true,\n duration: \"P3Y6M4DT12H30M5S\",\n order: 1.0,\n categories: [\n ::StackOne::Shared::CreateCategoriesApiModel.new(\n unified_custom_fields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n name: \"Technology\",\n active: true,\n ),\n ],\n))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/lms/content"]["put"] update: x-codeSamples: - lang: ruby - label: ats_get_list - 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::AtsGetListRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,created_at,updated_at,items,type\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_list(req)\n\nif ! res.list_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/rejected_reasons/{id}"]["get"] + label: lms_upsert_content + 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.lms.upsert_content(x_account_id=\"\", lms_upsert_content_request_dto=::StackOne::Shared::LmsUpsertContentRequestDto.new(\n unified_custom_fields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n external_reference: \"SOFTWARE-ENG-LV1-TRAINING-VIDEO-1\",\n course_ids: [\n \"16873-SOFTWARE-ENG-COURSE\",\n ],\n title: \"Software Engineer Lv 1\",\n description: \"This video acts as learning content for software engineers.\",\n languages: [\n ::StackOne::Shared::ContentLanguageEnum.new(\n value: ::StackOne::Shared::ContentLanguageEnumValue::EN_GB,\n ),\n ],\n content_url: \"https://www.youtube.com/watch?v=16873\",\n cover_url: \"https://www.googledrive.com/?v=16873\",\n active: true,\n duration: \"P3Y6M4DT12H30M5S\",\n order: 1.0,\n categories: [\n ::StackOne::Shared::CreateCategoriesApiModel.new(\n unified_custom_fields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n name: \"Technology\",\n active: true,\n ),\n ],\n))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/lms/content/batch"]["post"] update: x-codeSamples: - lang: ruby - label: ats_get_rejected_reason - 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::AtsGetRejectedReasonRequest.new(\n id: \"\",\n fields_: \"id,remote_id,label,type,rejected_reason_type\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_rejected_reason(req)\n\nif ! res.rejected_reason_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/assessments/orders/{id}"]["get"] + label: lms_batch_upsert_content + 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.lms.batch_upsert_content(x_account_id=\"\", lms_batch_upsert_content_request_dto=::StackOne::Shared::LmsBatchUpsertContentRequestDto.new(\n items: [\n ::StackOne::Shared::LmsUpsertContentRequestDto.new(\n unified_custom_fields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n external_reference: \"SOFTWARE-ENG-LV1-TRAINING-VIDEO-1\",\n course_ids: [\n \"16873-SOFTWARE-ENG-COURSE\",\n ],\n title: \"Software Engineer Lv 1\",\n description: \"This video acts as learning content for software engineers.\",\n languages: [\n ::StackOne::Shared::ContentLanguageEnum.new(\n value: ::StackOne::Shared::ContentLanguageEnumValue::EN_GB,\n ),\n ],\n content_url: \"https://www.youtube.com/watch?v=16873\",\n cover_url: \"https://www.googledrive.com/?v=16873\",\n active: true,\n duration: \"P3Y6M4DT12H30M5S\",\n order: 1.0,\n categories: [\n ::StackOne::Shared::CreateCategoriesApiModel.new(\n unified_custom_fields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n name: \"Technology\",\n active: true,\n ),\n ],\n ),\n ],\n))\n\nif ! res.batch_result_api_model.nil?\n # handle response\nend" + - target: $["paths"]["/unified/lms/content/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_get_assessments_request - 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::AtsGetAssessmentsRequestRequest.new(\n id: \"\",\n fields_: \"assessment_id,remote_assessment_id,candidate,score,assessment_date,submission_date,summary,result,result_url,attachments\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_assessments_request(req)\n\nif ! res.assessments_results_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/sms/{id}"]["get"] + label: lms_get_content + 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::LmsGetContentRequest.new(\n id: \"\",\n fields_: \"id,remote_id,external_reference,course_ids,remote_course_ids,title,description,languages,content_url,content_type,cover_url,active,duration,categories,order\",\n x_account_id: \"\",\n)\n \nres = s.lms.get_content(req)\n\nif ! res.content_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/lms/content/{id}"]["patch"] update: x-codeSamples: - lang: ruby - label: marketing_get_sms_template - 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::MarketingGetSmsTemplateRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n x_account_id: \"\",\n)\n \nres = s.marketing.get_sms_template(req)\n\nif ! res.template_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/documents/employee_categories"]["get"] + label: lms_update_content + 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.lms.update_content(id=\"\", x_account_id=\"\", lms_create_content_request_dto=::StackOne::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 external_reference: \"SOFTWARE-ENG-LV1-TRAINING-VIDEO-1\",\n course_ids: [\n \"16873-SOFTWARE-ENG-COURSE\",\n ],\n title: \"Software Engineer Lv 1\",\n description: \"This video acts as learning content for software engineers.\",\n languages: [\n ::StackOne::Shared::ContentLanguageEnum.new(\n value: ::StackOne::Shared::ContentLanguageEnumValue::EN_GB,\n ),\n ],\n content_url: \"https://www.youtube.com/watch?v=16873\",\n cover_url: \"https://www.googledrive.com/?v=16873\",\n active: true,\n duration: \"P3Y6M4DT12H30M5S\",\n order: 1.0,\n categories: [\n ::StackOne::Shared::CreateCategoriesApiModel.new(\n unified_custom_fields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n name: \"Technology\",\n active: true,\n ),\n ],\n))\n\nif ! res.update_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/lms/courses"]["get"] update: x-codeSamples: - lang: ruby - label: hris_list_employee_categories - 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::HrisListEmployeeCategoriesRequest.new(\n fields_: \"id,remote_id,name,active\",\n filter: ::StackOne::Operations::HrisListEmployeeCategoriesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.hris.list_employee_categories(req)\n\nif ! res.reference_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/applications/{id}/documents"]["get"] + label: lms_list_courses + 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::LmsListCoursesRequest.new(\n fields_: \"id,remote_id,external_reference,content_ids,remote_content_ids,title,description,languages,course_type,cover_url,url,active,duration,categories,skills,updated_at,created_at\",\n filter: ::StackOne::Operations::LmsListCoursesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.lms.list_courses(req)\n\nif ! res.course_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/lms/courses/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_list_application_documents - 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::AtsListApplicationDocumentsRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format\",\n filter: ::StackOne::Operations::AtsListApplicationDocumentsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_application_documents(req)\n\nif ! res.ats_documents_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/content_blocks"]["get"] + label: lms_get_course + 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::LmsGetCourseRequest.new(\n id: \"\",\n fields_: \"id,remote_id,external_reference,content_ids,remote_content_ids,title,description,languages,course_type,cover_url,url,active,duration,categories,skills,updated_at,created_at\",\n x_account_id: \"\",\n)\n \nres = s.lms.get_course(req)\n\nif ! res.course_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/lms/skills"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_list_content_blocks - 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::MarketingListContentBlocksRequest.new(\n fields_: \"id,remote_id,name,type,content,status,tags,created_at,updated_at\",\n filter: ::StackOne::Operations::MarketingListContentBlocksQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.marketing.list_content_blocks(req)\n\nif ! res.content_blocks_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/accounts/{id}"]["delete"] + label: lms_list_skills + 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::LmsListSkillsRequest.new(\n fields_: \"id,remote_id,name,active,level\",\n filter: ::StackOne::Operations::LmsListSkillsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.lms.list_skills(req)\n\nif ! res.skills_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/lms/skills/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: stackone_delete_account - 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.accounts.delete_account(id=\"\")\n\nif ! res.linked_account.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/jobs"]["get"] + label: lms_get_skill + 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::LmsGetSkillRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,active,level\",\n x_account_id: \"\",\n)\n \nres = s.lms.get_skill(req)\n\nif ! res.skill_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/lms/users"]["get"] update: x-codeSamples: - lang: ruby - label: hris_list_jobs - 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::HrisListJobsRequest.new(\n fields_: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids\",\n filter: ::StackOne::Operations::HrisListJobsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.hris.list_jobs(req)\n\nif ! res.jobs_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/users"]["get"] + label: lms_list_users + 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::LmsListUsersRequest.new(\n fields_: \"id,remote_id,external_reference,email,phone_number,created_at,updated_at,name\",\n filter: ::StackOne::Operations::LmsListUsersQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.lms.list_users(req)\n\nif ! res.users_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/lms/users/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_list_users - 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::AtsListUsersRequest.new(\n fields_: \"id,remote_id,first_name,last_name,name,email\",\n filter: ::StackOne::Operations::AtsListUsersQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_users(req)\n\nif ! res.users_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/crm/accounts"]["get"] + label: lms_get_user + 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::LmsGetUserRequest.new(\n id: \"\",\n fields_: \"id,remote_id,external_reference,email,phone_number,created_at,updated_at,name\",\n x_account_id: \"\",\n)\n \nres = s.lms.get_user(req)\n\nif ! res.user_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/lms/users/{id}/assignments"]["get"] update: x-codeSamples: - lang: ruby - label: crm_list_accounts - 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::CrmListAccountsRequest.new(\n fields_: \"id,remote_id,owner_id,remote_owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at\",\n filter: ::StackOne::Operations::CrmListAccountsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.crm.list_accounts(req)\n\nif ! res.accounts_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/sms"]["post"] + label: lms_list_user_assignments + 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::LmsListUserAssignmentsRequest.new(\n id: \"\",\n fields_: \"id,remote_id,user_id,remote_user_id,course_id,remote_course_id,updated_at,created_at,due_date,status\",\n filter: ::StackOne::Operations::LmsListUserAssignmentsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n user_id: \"c28xyrc55866bvuv\",\n remote_user_id: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n x_account_id: \"\",\n)\n \nres = s.lms.list_user_assignments(req)\n\nif ! res.assignments_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/lms/users/{id}/assignments/{subResourceId}"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_create_sms_template - 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.marketing.create_sms_template(x_account_id=\"\", marketing_create_sms_template_request_dto=::StackOne::Shared::MarketingCreateSmsTemplateRequestDto.new(\n messages: [\n ::StackOne::Shared::SmsMessages.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::SmsMessagesMessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n passthrough: {\n \"City\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/companies"]["get"] + label: lms_get_user_assignment + 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::LmsGetUserAssignmentRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n x_account_id: \"\",\n)\n \nres = s.lms.get_user_assignment(req)\n\nif ! res.assignment_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/lms/users/{id}/completions"]["get"] update: x-codeSamples: - lang: ruby - label: hris_list_companies - 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::HrisListCompaniesRequest.new(\n fields_: \"id,remote_id,name,full_name,display_name,created_at,updated_at\",\n filter: ::StackOne::Operations::Filter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.hris.list_companies(req)\n\nif ! res.companies_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/lms/content/{id}"]["patch"] + label: lms_list_user_completions + 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::LmsListUserCompletionsRequest.new(\n id: \"\",\n fields_: \"id,remote_id,external_id,remote_external_id,content_id,remote_content_id,user_id,remote_user_id,completed_at,updated_at,created_at,result,content_external_reference\",\n filter: ::StackOne::Operations::LmsListUserCompletionsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n user_id: \"746359\",\n remote_user_id: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n x_account_id: \"\",\n)\n \nres = s.lms.list_user_completions(req)\n\nif ! res.completions_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/lms/users/{id}/completions"]["post"] update: x-codeSamples: - lang: ruby - label: lms_update_content - 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.lms.update_content(id=\"\", x_account_id=\"\", lms_create_content_request_dto=::StackOne::Shared::LmsCreateContentRequestDto.new(\n external_reference: \"SOFTWARE-ENG-LV1-TRAINING-VIDEO-1\",\n course_ids: [\n \"\",\n ],\n title: \"Software Engineer Lv 1\",\n description: \"This video acts as learning content for software engineers.\",\n languages: [\n ::StackOne::Shared::ContentLanguageEnum.new(\n value: ::StackOne::Shared::ContentLanguageEnumValue::EN_GB,\n ),\n ],\n content_url: \"https://www.youtube.com/watch?v=16873\",\n cover_url: \"https://www.googledrive.com/?v=16873\",\n active: true,\n duration: \"P3Y6M4DT12H30M5S\",\n order: 1.0,\n categories: [\n ::StackOne::Shared::CreateCategoriesApiModel.new(\n name: \"Information-Technology\",\n active: true,\n ),\n ],\n ))\n\nif ! res.update_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/lms/categories/{id}"]["get"] + label: lms_create_user_completion + 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.lms.create_user_completion(id=\"\", x_account_id=\"\", lms_create_completion_request_dto=::StackOne::Shared::LmsCreateCompletionRequestDto.new(\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n external_id: \"SOFTWARE-ENG-LV1-TRAINING-VIDEO-1-COMPLETION\",\n content_external_reference: \"SOFTWARE-ENG-LV1-TRAINING-VIDEO-1-CONTENT\",\n content_id: \"16873-ENG-VIDEO-1\",\n completed_at: \"2021-07-21T14:00:00.000Z\",\n))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/lms/users/{id}/completions/{subResourceId}"]["get"] update: x-codeSamples: - lang: ruby - label: lms_get_category - 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::LmsGetCategoryRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,active\",\n x_account_id: \"\",\n)\n \nres = s.lms.get_category(req)\n\nif ! res.category_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/email"]["post"] + label: lms_get_user_completion + 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::LmsGetUserCompletionRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n x_account_id: \"\",\n)\n \nres = s.lms.get_user_completion(req)\n\nif ! res.completion_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/campaigns"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_create_email_template - 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.marketing.create_email_template(x_account_id=\"\", marketing_create_email_template_request_dto=::StackOne::Shared::MarketingCreateEmailTemplateRequestDto.new(\n messages: [\n ::StackOne::Shared::EmailMessages.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::MessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n passthrough: {\n \"Non\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/lms/content"]["put"] + label: marketing_list_campaigns + 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::MarketingListCampaignsRequest.new(\n fields_: \"id,remote_id,name,created_at,updated_at,description,schedule_type,status,channels,first_sent_at,last_sent_at,tags,messages\",\n filter: ::StackOne::Operations::MarketingListCampaignsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.marketing.list_campaigns(req)\n\nif ! res.campaigns_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/campaigns/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: lms_upsert_content - 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.lms.upsert_content(x_account_id=\"\", lms_upsert_content_request_dto=::StackOne::Shared::LmsUpsertContentRequestDto.new(\n external_reference: \"SOFTWARE-ENG-LV1-TRAINING-VIDEO-1\",\n course_ids: [\n \"\",\n ],\n title: \"Software Engineer Lv 1\",\n description: \"This video acts as learning content for software engineers.\",\n languages: [\n ::StackOne::Shared::ContentLanguageEnum.new(\n value: ::StackOne::Shared::ContentLanguageEnumValue::EN_GB,\n ),\n ],\n content_url: \"https://www.youtube.com/watch?v=16873\",\n cover_url: \"https://www.googledrive.com/?v=16873\",\n active: true,\n duration: \"P3Y6M4DT12H30M5S\",\n order: 1.0,\n categories: [\n ::StackOne::Shared::CreateCategoriesApiModel.new(\n name: \"Information-Technology\",\n active: true,\n ),\n ],\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/iam/policies/{id}"]["get"] + label: marketing_get_campaign + 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::MarketingGetCampaignRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,created_at,updated_at,description,schedule_type,status,channels,first_sent_at,last_sent_at,tags,messages\",\n x_account_id: \"\",\n)\n \nres = s.marketing.get_campaign(req)\n\nif ! res.campaign_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/content_blocks"]["get"] update: x-codeSamples: - lang: ruby - label: iam_get_policy - 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::IamGetPolicyRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,permissions,description,created_at,updated_at\",\n expand: \"permissions\",\n x_account_id: \"\",\n)\n \nres = s.iam.get_policy(req)\n\nif ! res.iam_policy_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}/work_eligibility"]["post"] + label: marketing_list_content_blocks + 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::MarketingListContentBlocksRequest.new(\n fields_: \"id,remote_id,name,type,content,status,tags,created_at,updated_at\",\n filter: ::StackOne::Operations::MarketingListContentBlocksQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.marketing.list_content_blocks(req)\n\nif ! res.content_blocks_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/content_blocks"]["post"] update: x-codeSamples: - lang: ruby - label: hris_create_employee_work_eligibility_request - 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.create_employee_work_eligibility_request(id=\"\", x_account_id=\"\", hris_create_work_eligibility_request_dto=::StackOne::Shared::HrisCreateWorkEligibilityRequestDto.new(\n type: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoType.new(),\n sub_type: \"H1B\",\n document: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoDocument.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"My Document\",\n path: \"/path/to/file\",\n category: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoCategory.new(),\n category_id: \"6530\",\n created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n updated_at: DateTime.iso8601('2021-01-02T01:01:01.000Z'),\n remote_url: \"https://example.com/file.pdf\",\n file_format: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoFileFormat.new(\n value: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoSchemasDocumentValue::PDF,\n source_value: \"abc\",\n ),\n ),\n valid_from: DateTime.iso8601('2021-01-01T00:00.000Z'),\n valid_to: DateTime.iso8601('2021-01-01T00:00.000Z'),\n issued_by: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoIssuedBy.new(\n value: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoSchemasValue::US,\n ),\n number: \"1234567890\",\n passthrough: {\n \"green\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}/employments/{subResourceId}"]["get"] + label: marketing_create_content_block + 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.marketing.create_content_block(x_account_id=\"\", marketing_create_content_blocks_request_dto=::StackOne::Shared::MarketingCreateContentBlocksRequestDto.new(\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/content_blocks/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: hris_get_employee_employment - 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::HrisGetEmployeeEmploymentRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,created_at,updated_at\",\n expand: \"groups\",\n x_account_id: \"\",\n)\n \nres = s.hris.get_employee_employment(req)\n\nif ! res.employment_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/locations/{id}"]["get"] + label: marketing_get_content_block + 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::MarketingGetContentBlockRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,type,content,status,tags,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.marketing.get_content_block(req)\n\nif ! res.content_blocks_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/content_blocks/{id}"]["patch"] update: x-codeSamples: - lang: ruby - label: hris_get_location - 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::HrisGetLocationRequest.new(\n id: \"\",\n fields_: \"id,remote_id,employee_id,remote_employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.hris.get_location(req)\n\nif ! res.hris_location_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/applications"]["get"] + label: marketing_update_content_block + 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.marketing.update_content_block(id=\"\", x_account_id=\"\", marketing_create_content_blocks_request_dto=::StackOne::Shared::MarketingCreateContentBlocksRequestDto.new(\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/email"]["get"] update: x-codeSamples: - lang: ruby - label: ats_list_applications - 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::AtsListApplicationsRequest.new(\n fields_: \"id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate\",\n filter: ::StackOne::Operations::AtsListApplicationsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"documents\",\n include: \"attachments,custom_fields\",\n x_account_id: \"\",\n)\n \nres = s.ats.list_applications(req)\n\nif ! res.applications_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/assessments/packages"]["get"] + label: marketing_list_email_templates + 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::MarketingListEmailTemplatesRequest.new(\n fields_: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n filter: ::StackOne::Operations::MarketingListEmailTemplatesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.marketing.list_email_templates(req)\n\nif ! res.templates_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/email"]["post"] update: x-codeSamples: - lang: ruby - label: ats_list_assessments_packages - 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::AtsListAssessmentsPackagesRequest.new(\n filter: ::StackOne::Operations::AtsListAssessmentsPackagesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_assessments_packages(req)\n\nif ! res.assessments_packages_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/iam/users/{id}"]["get"] + label: marketing_create_email_template + 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.marketing.create_email_template(x_account_id=\"\", marketing_create_email_template_request_dto=::StackOne::Shared::MarketingCreateEmailTemplateRequestDto.new(\n messages: [\n ::StackOne::Shared::EmailMessages.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::MessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/email/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: iam_get_user - 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::IamGetUserRequest.new(\n id: \"\",\n fields_: \"id,remote_id,first_name,last_name,name,primary_email_address,username,roles,groups,status,avatar,is_bot_user,last_active_at,last_login_at,created_at,updated_at,multi_factor_enabled\",\n expand: \"roles,groups\",\n x_account_id: \"\",\n)\n \nres = s.iam.get_user(req)\n\nif ! res.iam_user_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/departments/{id}"]["get"] + label: marketing_get_email_template + 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::MarketingGetEmailTemplateRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n x_account_id: \"\",\n)\n \nres = s.marketing.get_email_template(req)\n\nif ! res.template_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/email/{id}"]["patch"] update: x-codeSamples: - lang: ruby - label: ats_get_department - 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::AtsGetDepartmentRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_department(req)\n\nif ! res.department_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/crm/accounts/{id}"]["get"] + label: marketing_update_email_template + 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.marketing.update_email_template(id=\"\", x_account_id=\"\", marketing_create_email_template_request_dto=::StackOne::Shared::MarketingCreateEmailTemplateRequestDto.new(\n messages: [\n ::StackOne::Shared::EmailMessages.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::MessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/in_app"]["get"] update: x-codeSamples: - lang: ruby - label: crm_get_account - 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::CrmGetAccountRequest.new(\n id: \"\",\n fields_: \"id,remote_id,owner_id,remote_owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.crm.get_account(req)\n\nif ! res.account_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/omni_channel"]["get"] + label: marketing_list_in_app_templates + 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::MarketingListInAppTemplatesRequest.new(\n fields_: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n filter: ::StackOne::Operations::MarketingListInAppTemplatesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.marketing.list_in_app_templates(req)\n\nif ! res.templates_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/in_app"]["post"] update: x-codeSamples: - lang: ruby - label: marketing_list_omni_channel_templates - 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::MarketingListOmniChannelTemplatesRequest.new(\n fields_: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n filter: ::StackOne::Operations::MarketingListOmniChannelTemplatesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.marketing.list_omni_channel_templates(req)\n\nif ! res.templates_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/content_blocks/{id}"]["patch"] + label: marketing_create_in_app_template + 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.marketing.create_in_app_template(x_account_id=\"\", marketing_create_in_app_template_request_dto=::StackOne::Shared::MarketingCreateInAppTemplateRequestDto.new(\n messages: [\n ::StackOne::Shared::InAppMessages.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::InAppMessagesMessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/in_app/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_update_content_block - 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.marketing.update_content_block(id=\"\", x_account_id=\"\", marketing_create_content_blocks_request_dto=::StackOne::Shared::MarketingCreateContentBlocksRequestDto.new(\n passthrough: {\n \"Pickup\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/lms/users/{id}/completions"]["post"] + label: marketing_get_in_app_template + 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::MarketingGetInAppTemplateRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n x_account_id: \"\",\n)\n \nres = s.marketing.get_in_app_template(req)\n\nif ! res.template_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/in_app/{id}"]["patch"] update: x-codeSamples: - lang: ruby - label: lms_create_completion - 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.lms.create_completion(id=\"\", x_account_id=\"\", lms_create_completion_request_dto=::StackOne::Shared::LmsCreateCompletionRequestDto.new(\n passthrough: {\n \"driver\": \"\",\n },\n external_id: \"SOFTWARE-ENG-LV1-TRAINING-VIDEO-1-COMPLETION\",\n content_id: \"16873-ENG-VIDEO-1\",\n completed_at: \"2021-07-21T14:00:00.000Z\",\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/applications/{id}/scorecards/{subResourceId}"]["get"] + label: marketing_update_in_app_template + 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.marketing.update_in_app_template(id=\"\", x_account_id=\"\", marketing_create_in_app_template_request_dto=::StackOne::Shared::MarketingCreateInAppTemplateRequestDto.new(\n messages: [\n ::StackOne::Shared::InAppMessages.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::InAppMessagesMessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/omni_channel"]["get"] update: x-codeSamples: - lang: ruby - label: ats_get_application_scorecard - 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::AtsGetApplicationScorecardRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,remote_id,sections,label,candidate_id,remote_candidate_id,application_id,remote_application_id,interview_id,remote_interview_id,author_id,remote_author_id,overall_recommendation,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.ats.get_application_scorecard(req)\n\nif ! res.scorecards_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/in_app"]["post"] + label: marketing_list_omni_channel_templates + 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::MarketingListOmniChannelTemplatesRequest.new(\n fields_: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n filter: ::StackOne::Operations::MarketingListOmniChannelTemplatesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.marketing.list_omni_channel_templates(req)\n\nif ! res.templates_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/omni_channel"]["post"] update: x-codeSamples: - lang: ruby - label: marketing_create_in_app_template - 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.marketing.create_in_app_template(x_account_id=\"\", marketing_create_in_app_template_request_dto=::StackOne::Shared::MarketingCreateInAppTemplateRequestDto.new(\n messages: [\n ::StackOne::Shared::InAppMessages.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::InAppMessagesMessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n passthrough: {\n \"Qatar\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/lms/courses"]["get"] + label: marketing_create_omni_channel_template + 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.marketing.create_omni_channel_template(x_account_id=\"\", marketing_create_template_request_dto=::StackOne::Shared::MarketingCreateTemplateRequestDto.new(\n messages: [\n ::StackOne::Shared::Message.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::MessageMessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/omni_channel/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: lms_list_courses - 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::LmsListCoursesRequest.new(\n fields_: \"id,remote_id,external_reference,content_ids,remote_content_ids,title,description,languages,course_type,cover_url,url,active,duration,categories,skills,updated_at,created_at\",\n filter: ::StackOne::Operations::LmsListCoursesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.lms.list_courses(req)\n\nif ! res.course_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/lms/content/{id}"]["get"] + label: marketing_get_omni_channel_template + 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::MarketingGetOmniChannelTemplateRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n x_account_id: \"\",\n)\n \nres = s.marketing.get_omni_channel_template(req)\n\nif ! res.template_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/omni_channel/{id}"]["patch"] update: x-codeSamples: - lang: ruby - label: lms_get_content - 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::LmsGetContentRequest.new(\n id: \"\",\n fields_: \"id,remote_id,external_reference,course_ids,remote_course_ids,title,description,languages,content_url,content_type,cover_url,active,duration,categories,order\",\n x_account_id: \"\",\n)\n \nres = s.lms.get_content(req)\n\nif ! res.content_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/iam/users"]["get"] + label: marketing_update_omni_channel_template + 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.marketing.update_omni_channel_template(id=\"\", x_account_id=\"\", marketing_create_template_request_dto=::StackOne::Shared::MarketingCreateTemplateRequestDto.new(\n messages: [\n ::StackOne::Shared::Message.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::MessageMessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/push"]["get"] update: x-codeSamples: - lang: ruby - label: iam_list_users - 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::IamListUsersRequest.new(\n fields_: \"id,remote_id,first_name,last_name,name,primary_email_address,username,roles,groups,status,avatar,is_bot_user,last_active_at,last_login_at,created_at,updated_at,multi_factor_enabled\",\n filter: ::StackOne::Operations::IamListUsersQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"roles,groups\",\n x_account_id: \"\",\n)\n \nres = s.iam.list_users(req)\n\nif ! res.iam_users_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/offers"]["post"] + label: marketing_list_push_templates + 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::MarketingListPushTemplatesRequest.new(\n fields_: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n filter: ::StackOne::Operations::MarketingListPushTemplatesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.marketing.list_push_templates(req)\n\nif ! res.templates_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/push"]["post"] update: x-codeSamples: - lang: ruby - label: ats_create_offer - 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.ats.create_offer(x_account_id=\"\", ats_create_offer_request_dto=::StackOne::Shared::AtsCreateOfferRequestDto.new(\n start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n offer_status: ::StackOne::Shared::AtsCreateOfferRequestDtoOfferStatus.new(\n value: ::StackOne::Shared::AtsCreateOfferRequestDtoValue::PENDING,\n source_value: \"Pending\",\n ),\n offer_history: [\n ::StackOne::Shared::OfferHistory.new(\n start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n updated_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n ),\n ],\n passthrough: {\n \"quas\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/iam/groups"]["get"] + label: marketing_create_push_template + 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.marketing.create_push_template(x_account_id=\"\", marketing_create_push_template_request_dto=::StackOne::Shared::MarketingCreatePushTemplateRequestDto.new(\n messages: [\n ::StackOne::Shared::PushMessages.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::PushMessagesMessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/push/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: iam_list_groups - 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::IamListGroupsRequest.new(\n fields_: \"id,remote_id,parent_id,remote_parent_id,name,description,roles,type,created_at,updated_at\",\n filter: ::StackOne::Operations::IamListGroupsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"roles\",\n x_account_id: \"\",\n)\n \nres = s.iam.list_groups(req)\n\nif ! res.iam_groups_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/iam/policies"]["get"] + label: marketing_get_push_template + 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::MarketingGetPushTemplateRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n x_account_id: \"\",\n)\n \nres = s.marketing.get_push_template(req)\n\nif ! res.template_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/push/{id}"]["patch"] update: x-codeSamples: - lang: ruby - label: iam_list_policies - 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::IamListPoliciesRequest.new(\n fields_: \"id,remote_id,name,permissions,description,created_at,updated_at\",\n filter: ::StackOne::Operations::IamListPoliciesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"permissions\",\n x_account_id: \"\",\n)\n \nres = s.iam.list_policies(req)\n\nif ! res.iam_policies_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/accounts/{id}"]["get"] + label: marketing_update_push_template + 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.marketing.update_push_template(id=\"\", x_account_id=\"\", marketing_create_push_template_request_dto=::StackOne::Shared::MarketingCreatePushTemplateRequestDto.new(\n messages: [\n ::StackOne::Shared::PushMessages.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::PushMessagesMessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/sms"]["get"] update: x-codeSamples: - lang: ruby - label: stackone_get_account - 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.accounts.get_account(id=\"\")\n\nif ! res.linked_account.nil?\n # handle response\nend" - - target: $["paths"]["/accounts/{id}/meta"]["get"] + label: marketing_list_sms_templates + 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::MarketingListSmsTemplatesRequest.new(\n fields_: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n filter: ::StackOne::Operations::MarketingListSmsTemplatesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.marketing.list_sms_templates(req)\n\nif ! res.templates_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/sms"]["post"] update: x-codeSamples: - lang: ruby - label: stackone_get_account_meta_info - 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.accounts.get_account_meta_info(id=\"\")\n\nif ! res.linked_account_meta.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}/documents"]["get"] + label: marketing_create_sms_template + 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.marketing.create_sms_template(x_account_id=\"\", marketing_create_sms_template_request_dto=::StackOne::Shared::MarketingCreateSmsTemplateRequestDto.new(\n messages: [\n ::StackOne::Shared::SmsMessages.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::SmsMessagesMessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/sms/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: hris_list_employee_documents - 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::HrisListEmployeeDocumentsRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format\",\n filter: ::StackOne::Operations::HrisListEmployeeDocumentsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.hris.list_employee_documents(req)\n\nif ! res.hris_documents_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/applications/{id}/scheduled_interviews"]["get"] + label: marketing_get_sms_template + 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::MarketingGetSmsTemplateRequest.new(\n id: \"\",\n fields_: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n x_account_id: \"\",\n)\n \nres = s.marketing.get_sms_template(req)\n\nif ! res.template_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/sms/{id}"]["patch"] update: x-codeSamples: - lang: ruby - label: ats_list_applications_scheduled_interviews - 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::AtsListApplicationsScheduledInterviewsRequest.new(\n 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\",\n filter: ::StackOne::Operations::AtsListApplicationsScheduledInterviewsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.ats.list_applications_scheduled_interviews(req)\n\nif ! res.scheduled_interviews_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/candidates"]["post"] + label: marketing_update_sms_template + 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.marketing.update_sms_template(id=\"\", x_account_id=\"\", marketing_create_sms_template_request_dto=::StackOne::Shared::MarketingCreateSmsTemplateRequestDto.new(\n messages: [\n ::StackOne::Shared::SmsMessages.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::SmsMessagesMessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/proxy"]["post"] update: x-codeSamples: - lang: ruby - label: ats_create_candidate - 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.ats.create_candidate(x_account_id=\"\", ats_create_candidate_request_dto=::StackOne::Shared::AtsCreateCandidateRequestDto.new(\n name: \"Romain Sestier\",\n first_name: \"Romain\",\n last_name: \"Sestier\",\n email: \"sestier.romain123@gmail.com\",\n social_links: [\n ::StackOne::Shared::SocialLink.new(\n type: \"linkedin\",\n url: \"https://www.linkedin.com/in/romainsestier/\",\n ),\n ],\n company: \"Company Inc.\",\n title: \"Software Engineer\",\n hired_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n country: \"United States\",\n custom_fields: [\n ::StackOne::Shared::CandidateCustomFields.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Training Completion Status\",\n value: \"Completed\",\n value_id: \"value_456\",\n remote_value_id: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n ),\n ],\n passthrough: {\n \"discrete\": \"\",\n },\n phone_number: \"+1234567890\",\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" + label: stackone_proxy_request + 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.proxy.proxy_request(x_account_id=\"\", proxy_request_body=::StackOne::Shared::ProxyRequestBody.new(\n url: \"https://api.sample-integration.com/v1\",\n path: \"/employees/directory\",\n headers: {\n \"Content-Type\": \"application/json\",\n },\n))\n\nif res.status_code == 200\n # handle response\nend" diff --git a/docs/models/operations/atsgetjobcustomfielddefinitionqueryparamfilter.md b/docs/models/operations/atsgetjobcustomfielddefinitionqueryparamfilter.md new file mode 100644 index 00000000..d8e33ea0 --- /dev/null +++ b/docs/models/operations/atsgetjobcustomfielddefinitionqueryparamfilter.md @@ -0,0 +1,10 @@ +# AtsGetJobCustomFieldDefinitionQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/atsgetjobcustomfielddefinitionrequest.md b/docs/models/operations/atsgetjobcustomfielddefinitionrequest.md new file mode 100644 index 00000000..d88e0f25 --- /dev/null +++ b/docs/models/operations/atsgetjobcustomfielddefinitionrequest.md @@ -0,0 +1,18 @@ +# AtsGetJobCustomFieldDefinitionRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `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,description,type,options | +| `filter` | [T.nilable(::StackOne::Operations::AtsGetJobCustomFieldDefinitionQueryParamFilter)](../../models/operations/atsgetjobcustomfielddefinitionqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | +| `id` | *::String* | :heavy_check_mark: | N/A | | +| `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | +| ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | +| `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | +| `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 | | +| `raw` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates that the raw request result is returned | | +| ~~`sync_token`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The sync token to select the only updated results | | +| ~~`updated_after`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | | \ No newline at end of file diff --git a/docs/models/operations/atsgetjobcustomfielddefinitionresponse.md b/docs/models/operations/atsgetjobcustomfielddefinitionresponse.md new file mode 100644 index 00000000..c7c92ce5 --- /dev/null +++ b/docs/models/operations/atsgetjobcustomfielddefinitionresponse.md @@ -0,0 +1,11 @@ +# AtsGetJobCustomFieldDefinitionResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *::String* | :heavy_check_mark: | HTTP response content type for this operation | +| `custom_field_definition_result_api_model` | [T.nilable(::StackOne::Shared::CustomFieldDefinitionResultApiModel)](../../models/shared/customfielddefinitionresultapimodel.md) | :heavy_minus_sign: | The job custom field definition was retrieved. | +| `status_code` | *::Integer* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/atsgetjobrequest.md b/docs/models/operations/atsgetjobrequest.md index 1deb99f9..08995f53 100644 --- a/docs/models/operations/atsgetjobrequest.md +++ b/docs/models/operations/atsgetjobrequest.md @@ -3,11 +3,12 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `expand` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | job_postings,interview_stages | -| `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,code,title,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,created_at,updated_at | -| `id` | *::String* | :heavy_check_mark: | N/A | | -| `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 | | -| `raw` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates that the raw request result is returned | | -| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `expand` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | job_postings,interview_stages | +| `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,code,title,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,custom_fields,created_at,updated_at | +| `id` | *::String* | :heavy_check_mark: | N/A | | +| `include` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be included in the response | custom_fields | +| `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 | | +| `raw` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates that the raw request result is returned | | +| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | | \ No newline at end of file diff --git a/docs/models/operations/atslistjobcustomfielddefinitionsqueryparamfilter.md b/docs/models/operations/atslistjobcustomfielddefinitionsqueryparamfilter.md new file mode 100644 index 00000000..3618efbe --- /dev/null +++ b/docs/models/operations/atslistjobcustomfielddefinitionsqueryparamfilter.md @@ -0,0 +1,10 @@ +# AtsListJobCustomFieldDefinitionsQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/atslistjobcustomfielddefinitionsrequest.md b/docs/models/operations/atslistjobcustomfielddefinitionsrequest.md new file mode 100644 index 00000000..9b107a74 --- /dev/null +++ b/docs/models/operations/atslistjobcustomfielddefinitionsrequest.md @@ -0,0 +1,17 @@ +# AtsListJobCustomFieldDefinitionsRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `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,description,type,options | +| `filter` | [T.nilable(::StackOne::Operations::AtsListJobCustomFieldDefinitionsQueryParamFilter)](../../models/operations/atslistjobcustomfielddefinitionsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | +| `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | +| ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | +| `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | +| `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 | | +| `raw` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates that the raw request result is returned | | +| ~~`sync_token`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The sync token to select the only updated results | | +| ~~`updated_after`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | | \ No newline at end of file diff --git a/docs/models/operations/atslistjobcustomfielddefinitionsresponse.md b/docs/models/operations/atslistjobcustomfielddefinitionsresponse.md new file mode 100644 index 00000000..36f0466f --- /dev/null +++ b/docs/models/operations/atslistjobcustomfielddefinitionsresponse.md @@ -0,0 +1,11 @@ +# AtsListJobCustomFieldDefinitionsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `content_type` | *::String* | :heavy_check_mark: | HTTP response content type for this operation | +| `custom_field_definitions_paginated` | [T.nilable(::StackOne::Shared::CustomFieldDefinitionsPaginated)](../../models/shared/customfielddefinitionspaginated.md) | :heavy_minus_sign: | The list of job custom field definitions was retrieved. | +| `status_code` | *::Integer* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/atslistjobsrequest.md b/docs/models/operations/atslistjobsrequest.md index f73c3141..94877907 100644 --- a/docs/models/operations/atslistjobsrequest.md +++ b/docs/models/operations/atslistjobsrequest.md @@ -6,8 +6,9 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `expand` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | job_postings,interview_stages | -| `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,code,title,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,created_at,updated_at | +| `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,code,title,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,custom_fields,created_at,updated_at | | `filter` | [T.nilable(::StackOne::Operations::AtsListJobsQueryParamFilter)](../../models/operations/atslistjobsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | +| `include` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be included in the response | custom_fields | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | | `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | diff --git a/docs/models/operations/atsmoveapplicationrequest.md b/docs/models/operations/atsmoveapplicationrequest.md new file mode 100644 index 00000000..d74b4637 --- /dev/null +++ b/docs/models/operations/atsmoveapplicationrequest.md @@ -0,0 +1,10 @@ +# AtsMoveApplicationRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | +| `ats_move_application_request_dto` | [::StackOne::Shared::AtsMoveApplicationRequestDto](../../models/shared/atsmoveapplicationrequestdto.md) | :heavy_check_mark: | N/A | +| `id` | *::String* | :heavy_check_mark: | N/A | +| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | \ No newline at end of file diff --git a/docs/models/operations/atsmoveapplicationresponse.md b/docs/models/operations/atsmoveapplicationresponse.md new file mode 100644 index 00000000..de7d896a --- /dev/null +++ b/docs/models/operations/atsmoveapplicationresponse.md @@ -0,0 +1,11 @@ +# AtsMoveApplicationResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `content_type` | *::String* | :heavy_check_mark: | HTTP response content type for this operation | +| `move_application_result` | [T.nilable(::StackOne::Shared::MoveApplicationResult)](../../models/shared/moveapplicationresult.md) | :heavy_minus_sign: | The application was moved successfully. | +| `status_code` | *::Integer* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/atsrejectapplicationrequest.md b/docs/models/operations/atsrejectapplicationrequest.md new file mode 100644 index 00000000..444bcf76 --- /dev/null +++ b/docs/models/operations/atsrejectapplicationrequest.md @@ -0,0 +1,10 @@ +# AtsRejectApplicationRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `ats_reject_application_request_dto` | [::StackOne::Shared::AtsRejectApplicationRequestDto](../../models/shared/atsrejectapplicationrequestdto.md) | :heavy_check_mark: | N/A | +| `id` | *::String* | :heavy_check_mark: | N/A | +| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | \ No newline at end of file diff --git a/docs/models/operations/atsrejectapplicationresponse.md b/docs/models/operations/atsrejectapplicationresponse.md new file mode 100644 index 00000000..9f129201 --- /dev/null +++ b/docs/models/operations/atsrejectapplicationresponse.md @@ -0,0 +1,11 @@ +# AtsRejectApplicationResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `content_type` | *::String* | :heavy_check_mark: | HTTP response content type for this operation | +| `reject_application_result` | [T.nilable(::StackOne::Shared::RejectApplicationResult)](../../models/shared/rejectapplicationresult.md) | :heavy_minus_sign: | The application was rejected successfully. | +| `status_code` | *::Integer* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/hrisbatchuploademployeedocumentrequest.md b/docs/models/operations/hrisbatchuploademployeedocumentrequest.md new file mode 100644 index 00000000..cffa4d33 --- /dev/null +++ b/docs/models/operations/hrisbatchuploademployeedocumentrequest.md @@ -0,0 +1,10 @@ +# HrisBatchUploadEmployeeDocumentRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | +| `hris_batch_document_upload_request_dto` | [::StackOne::Shared::HrisBatchDocumentUploadRequestDto](../../models/shared/hrisbatchdocumentuploadrequestdto.md) | :heavy_check_mark: | N/A | +| `id` | *::String* | :heavy_check_mark: | N/A | +| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | \ No newline at end of file diff --git a/docs/models/operations/hrisbatchuploademployeedocumentresponse.md b/docs/models/operations/hrisbatchuploademployeedocumentresponse.md new file mode 100644 index 00000000..e06130ba --- /dev/null +++ b/docs/models/operations/hrisbatchuploademployeedocumentresponse.md @@ -0,0 +1,11 @@ +# HrisBatchUploadEmployeeDocumentResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `batch_result_api_model` | [T.nilable(::StackOne::Shared::BatchResultApiModel)](../../models/shared/batchresultapimodel.md) | :heavy_minus_sign: | Batch operation accepted | +| `content_type` | *::String* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *::Integer* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/hrisgetemployeerequest.md b/docs/models/operations/hrisgetemployeerequest.md index 9064db2d..29ae1b58 100644 --- a/docs/models/operations/hrisgetemployeerequest.md +++ b/docs/models/operations/hrisgetemployeerequest.md @@ -3,12 +3,12 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `expand` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | company,employments,work_location,home_location,custom_fields,groups | -| `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,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_title,job_description,department,cost_centers,benefits,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number,national_identity_number | -| `id` | *::String* | :heavy_check_mark: | N/A | | -| `include` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be included in the response | avatar_url,avatar,custom_fields,job_description,benefits | -| `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 | | -| `raw` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates that the raw request result is returned | | -| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `expand` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | company,employments,work_location,home_location,custom_fields,groups | +| `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,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,benefits,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number,national_identity_number | +| `id` | *::String* | :heavy_check_mark: | N/A | | +| `include` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be included in the response | avatar_url,avatar,custom_fields,job_description,benefits | +| `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 | | +| `raw` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates that the raw request result is returned | | +| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | | \ No newline at end of file diff --git a/docs/models/operations/hrislistemployeesrequest.md b/docs/models/operations/hrislistemployeesrequest.md index 7c944d61..cd1fa30f 100644 --- a/docs/models/operations/hrislistemployeesrequest.md +++ b/docs/models/operations/hrislistemployeesrequest.md @@ -3,16 +3,16 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `expand` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | company,employments,work_location,home_location,custom_fields,groups | -| `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,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_title,job_description,department,cost_centers,benefits,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number,national_identity_number | -| `filter` | [T.nilable(::StackOne::Operations::HrisListEmployeesQueryParamFilter)](../../models/operations/hrislistemployeesqueryparamfilter.md) | :heavy_minus_sign: | HRIS Employees filters | | -| `include` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be included in the response | avatar_url,avatar,custom_fields,job_description,benefits | -| `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | -| ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | -| `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | -| `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 | | -| `raw` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates that the raw request result is returned | | -| ~~`updated_after`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | -| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `expand` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | company,employments,work_location,home_location,custom_fields,groups | +| `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,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,benefits,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number,national_identity_number | +| `filter` | [T.nilable(::StackOne::Operations::HrisListEmployeesQueryParamFilter)](../../models/operations/hrislistemployeesqueryparamfilter.md) | :heavy_minus_sign: | HRIS Employees filters | | +| `include` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be included in the response | avatar_url,avatar,custom_fields,job_description,benefits | +| `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | +| ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | +| `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | +| `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 | | +| `raw` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates that the raw request result is returned | | +| ~~`updated_after`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | | \ No newline at end of file diff --git a/docs/models/operations/lmsbatchupsertcontentrequest.md b/docs/models/operations/lmsbatchupsertcontentrequest.md new file mode 100644 index 00000000..5c7bbd5f --- /dev/null +++ b/docs/models/operations/lmsbatchupsertcontentrequest.md @@ -0,0 +1,9 @@ +# LmsBatchUpsertContentRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `lms_batch_upsert_content_request_dto` | [::StackOne::Shared::LmsBatchUpsertContentRequestDto](../../models/shared/lmsbatchupsertcontentrequestdto.md) | :heavy_check_mark: | N/A | +| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | \ No newline at end of file diff --git a/docs/models/operations/lmsbatchupsertcontentresponse.md b/docs/models/operations/lmsbatchupsertcontentresponse.md new file mode 100644 index 00000000..3edfebfb --- /dev/null +++ b/docs/models/operations/lmsbatchupsertcontentresponse.md @@ -0,0 +1,11 @@ +# LmsBatchUpsertContentResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `batch_result_api_model` | [T.nilable(::StackOne::Shared::BatchResultApiModel)](../../models/shared/batchresultapimodel.md) | :heavy_minus_sign: | Batch operation accepted | +| `content_type` | *::String* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *::Integer* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/lmscreatecompletionrequest.md b/docs/models/operations/lmscreateusercompletionrequest.md similarity index 98% rename from docs/models/operations/lmscreatecompletionrequest.md rename to docs/models/operations/lmscreateusercompletionrequest.md index 98469c3d..47e92438 100644 --- a/docs/models/operations/lmscreatecompletionrequest.md +++ b/docs/models/operations/lmscreateusercompletionrequest.md @@ -1,4 +1,4 @@ -# LmsCreateCompletionRequest +# LmsCreateUserCompletionRequest ## Fields diff --git a/docs/models/operations/lmscreatecompletionresponse.md b/docs/models/operations/lmscreateusercompletionresponse.md similarity index 98% rename from docs/models/operations/lmscreatecompletionresponse.md rename to docs/models/operations/lmscreateusercompletionresponse.md index 1acef8a6..35a509ca 100644 --- a/docs/models/operations/lmscreatecompletionresponse.md +++ b/docs/models/operations/lmscreateusercompletionresponse.md @@ -1,4 +1,4 @@ -# LmsCreateCompletionResponse +# LmsCreateUserCompletionResponse ## Fields diff --git a/docs/models/operations/lmsgetassignmentrequest.md b/docs/models/operations/lmsgetassignmentrequest.md index e698f15b..affea140 100644 --- a/docs/models/operations/lmsgetassignmentrequest.md +++ b/docs/models/operations/lmsgetassignmentrequest.md @@ -9,5 +9,4 @@ | `id` | *::String* | :heavy_check_mark: | N/A | | `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 | | `raw` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates that the raw request result is returned | -| `sub_resource_id` | *::String* | :heavy_check_mark: | N/A | | `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | \ No newline at end of file diff --git a/docs/models/operations/lmsgetassignmentresponse.md b/docs/models/operations/lmsgetassignmentresponse.md index 6a1eb6b1..7e28d000 100644 --- a/docs/models/operations/lmsgetassignmentresponse.md +++ b/docs/models/operations/lmsgetassignmentresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `assignment_result` | [T.nilable(::StackOne::Shared::AssignmentResult)](../../models/shared/assignmentresult.md) | :heavy_minus_sign: | The assignments with the given identifier was retrieved. | +| `assignment_result` | [T.nilable(::StackOne::Shared::AssignmentResult)](../../models/shared/assignmentresult.md) | :heavy_minus_sign: | The assignment with the given identifier was retrieved. | | `content_type` | *::String* | :heavy_check_mark: | HTTP response content type for this operation | | `status_code` | *::Integer* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/lmsgetcompletionrequest.md b/docs/models/operations/lmsgetcompletionrequest.md new file mode 100644 index 00000000..e114134b --- /dev/null +++ b/docs/models/operations/lmsgetcompletionrequest.md @@ -0,0 +1,12 @@ +# LmsGetCompletionRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | +| `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields to return in the response (if empty, all fields are returned) | +| `id` | *::String* | :heavy_check_mark: | N/A | +| `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 | +| `raw` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates that the raw request result is returned | +| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | \ No newline at end of file diff --git a/docs/models/operations/lmsgetcompletionresponse.md b/docs/models/operations/lmsgetcompletionresponse.md new file mode 100644 index 00000000..ded59bc9 --- /dev/null +++ b/docs/models/operations/lmsgetcompletionresponse.md @@ -0,0 +1,11 @@ +# LmsGetCompletionResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `completion_result` | [T.nilable(::StackOne::Shared::CompletionResult)](../../models/shared/completionresult.md) | :heavy_minus_sign: | The completion with the given identifier was retrieved. | +| `content_type` | *::String* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *::Integer* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/lmsgetskillrequest.md b/docs/models/operations/lmsgetskillrequest.md new file mode 100644 index 00000000..6b05a07d --- /dev/null +++ b/docs/models/operations/lmsgetskillrequest.md @@ -0,0 +1,12 @@ +# LmsGetSkillRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | +| `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,active,level | +| `id` | *::String* | :heavy_check_mark: | N/A | | +| `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 | | +| `raw` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates that the raw request result is returned | | +| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | | \ No newline at end of file diff --git a/docs/models/operations/lmsgetskillresponse.md b/docs/models/operations/lmsgetskillresponse.md new file mode 100644 index 00000000..febd4c26 --- /dev/null +++ b/docs/models/operations/lmsgetskillresponse.md @@ -0,0 +1,11 @@ +# LmsGetSkillResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `content_type` | *::String* | :heavy_check_mark: | HTTP response content type for this operation | +| `skill_result` | [T.nilable(::StackOne::Shared::SkillResult)](../../models/shared/skillresult.md) | :heavy_minus_sign: | The skill with the given identifier was retrieved. | +| `status_code` | *::Integer* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/lmsgetuserassignmentrequest.md b/docs/models/operations/lmsgetuserassignmentrequest.md new file mode 100644 index 00000000..29f41645 --- /dev/null +++ b/docs/models/operations/lmsgetuserassignmentrequest.md @@ -0,0 +1,13 @@ +# LmsGetUserAssignmentRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | +| `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields to return in the response (if empty, all fields are returned) | +| `id` | *::String* | :heavy_check_mark: | N/A | +| `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 | +| `raw` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates that the raw request result is returned | +| `sub_resource_id` | *::String* | :heavy_check_mark: | N/A | +| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | \ No newline at end of file diff --git a/docs/models/operations/lmsgetuserassignmentresponse.md b/docs/models/operations/lmsgetuserassignmentresponse.md new file mode 100644 index 00000000..e92b0be6 --- /dev/null +++ b/docs/models/operations/lmsgetuserassignmentresponse.md @@ -0,0 +1,11 @@ +# LmsGetUserAssignmentResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `assignment_result` | [T.nilable(::StackOne::Shared::AssignmentResult)](../../models/shared/assignmentresult.md) | :heavy_minus_sign: | The assignment with the given identifier was retrieved. | +| `content_type` | *::String* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *::Integer* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/lmsgetusercompletionrequest.md b/docs/models/operations/lmsgetusercompletionrequest.md new file mode 100644 index 00000000..e558ef29 --- /dev/null +++ b/docs/models/operations/lmsgetusercompletionrequest.md @@ -0,0 +1,13 @@ +# LmsGetUserCompletionRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | +| `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields to return in the response (if empty, all fields are returned) | +| `id` | *::String* | :heavy_check_mark: | N/A | +| `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 | +| `raw` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates that the raw request result is returned | +| `sub_resource_id` | *::String* | :heavy_check_mark: | N/A | +| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | \ No newline at end of file diff --git a/docs/models/operations/lmsgetusercompletionresponse.md b/docs/models/operations/lmsgetusercompletionresponse.md new file mode 100644 index 00000000..a1387beb --- /dev/null +++ b/docs/models/operations/lmsgetusercompletionresponse.md @@ -0,0 +1,11 @@ +# LmsGetUserCompletionResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `completion_result` | [T.nilable(::StackOne::Shared::CompletionResult)](../../models/shared/completionresult.md) | :heavy_minus_sign: | The completion with the given identifier was retrieved. | +| `content_type` | *::String* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *::Integer* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/lmsgetuserrequest.md b/docs/models/operations/lmsgetuserrequest.md index 9f4b7f07..9b8c34e3 100644 --- a/docs/models/operations/lmsgetuserrequest.md +++ b/docs/models/operations/lmsgetuserrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `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,email,phone_number,created_at,updated_at,name | +| `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,external_reference,email,phone_number,created_at,updated_at,name | | `id` | *::String* | :heavy_check_mark: | N/A | | | `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 | | | `raw` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates that the raw request result is returned | | diff --git a/docs/models/operations/lmslistassignmentsrequest.md b/docs/models/operations/lmslistassignmentsrequest.md index 20e35d03..937cc8c3 100644 --- a/docs/models/operations/lmslistassignmentsrequest.md +++ b/docs/models/operations/lmslistassignmentsrequest.md @@ -5,13 +5,14 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `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,external_id,remote_external_id,course_id,remote_course_id,updated_at,created_at,due_date,status | +| `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,user_id,remote_user_id,course_id,remote_course_id,updated_at,created_at,due_date,status | | `filter` | [T.nilable(::StackOne::Operations::LmsListAssignmentsQueryParamFilter)](../../models/operations/lmslistassignmentsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | -| `id` | *::String* | :heavy_check_mark: | N/A | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | | `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | | `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 | | | `raw` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates that the raw request result is returned | | +| `remote_user_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier of the user related to the assignment | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | | ~~`updated_after`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `user_id` | *T.nilable(::String)* | :heavy_minus_sign: | The user ID associated with this assignment | c28xyrc55866bvuv | | `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | | \ No newline at end of file diff --git a/docs/models/operations/lmslistassignmentsresponse.md b/docs/models/operations/lmslistassignmentsresponse.md index a59b51d0..f6bf45f8 100644 --- a/docs/models/operations/lmslistassignmentsresponse.md +++ b/docs/models/operations/lmslistassignmentsresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `assignments_paginated` | [T.nilable(::StackOne::Shared::AssignmentsPaginated)](../../models/shared/assignmentspaginated.md) | :heavy_minus_sign: | The assignments related to the employee with the given identifier were retrieved. | +| `assignments_paginated` | [T.nilable(::StackOne::Shared::AssignmentsPaginated)](../../models/shared/assignmentspaginated.md) | :heavy_minus_sign: | The list of assignments was retrieved. | | `content_type` | *::String* | :heavy_check_mark: | HTTP response content type for this operation | | `status_code` | *::Integer* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/lmslistcompletionsrequest.md b/docs/models/operations/lmslistcompletionsrequest.md index 7043c45f..751146fa 100644 --- a/docs/models/operations/lmslistcompletionsrequest.md +++ b/docs/models/operations/lmslistcompletionsrequest.md @@ -5,13 +5,14 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `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,external_id,remote_external_id,content_id,remote_content_id,user_id,remote_user_id,completed_at,updated_at,created_at,result | +| `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,external_id,remote_external_id,content_id,remote_content_id,user_id,remote_user_id,completed_at,updated_at,created_at,result,content_external_reference | | `filter` | [T.nilable(::StackOne::Operations::LmsListCompletionsQueryParamFilter)](../../models/operations/lmslistcompletionsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | -| `id` | *::String* | :heavy_check_mark: | N/A | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | | `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | | `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 | | | `raw` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates that the raw request result is returned | | +| `remote_user_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier of the user | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | | ~~`updated_after`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `user_id` | *T.nilable(::String)* | :heavy_minus_sign: | The user ID associated with this completion | 746359 | | `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | | \ No newline at end of file diff --git a/docs/models/operations/lmslistcompletionsresponse.md b/docs/models/operations/lmslistcompletionsresponse.md index b69e4c03..a3be3faa 100644 --- a/docs/models/operations/lmslistcompletionsresponse.md +++ b/docs/models/operations/lmslistcompletionsresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `completions_paginated` | [T.nilable(::StackOne::Shared::CompletionsPaginated)](../../models/shared/completionspaginated.md) | :heavy_minus_sign: | The completions with for the users with the given identifier were retrieved. | +| `completions_paginated` | [T.nilable(::StackOne::Shared::CompletionsPaginated)](../../models/shared/completionspaginated.md) | :heavy_minus_sign: | The list of completions was retrieved. | | `content_type` | *::String* | :heavy_check_mark: | HTTP response content type for this operation | | `status_code` | *::Integer* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/lmslistskillsqueryparamfilter.md b/docs/models/operations/lmslistskillsqueryparamfilter.md new file mode 100644 index 00000000..de66c09e --- /dev/null +++ b/docs/models/operations/lmslistskillsqueryparamfilter.md @@ -0,0 +1,10 @@ +# LmsListSkillsQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/lmslistskillsrequest.md b/docs/models/operations/lmslistskillsrequest.md new file mode 100644 index 00000000..78e3513e --- /dev/null +++ b/docs/models/operations/lmslistskillsrequest.md @@ -0,0 +1,16 @@ +# LmsListSkillsRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `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,active,level | +| `filter` | [T.nilable(::StackOne::Operations::LmsListSkillsQueryParamFilter)](../../models/operations/lmslistskillsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | +| `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | +| ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | +| `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | +| `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 | | +| `raw` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates that the raw request result is returned | | +| ~~`updated_after`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | | \ No newline at end of file diff --git a/docs/models/operations/lmslistskillsresponse.md b/docs/models/operations/lmslistskillsresponse.md new file mode 100644 index 00000000..949b9377 --- /dev/null +++ b/docs/models/operations/lmslistskillsresponse.md @@ -0,0 +1,11 @@ +# LmsListSkillsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `content_type` | *::String* | :heavy_check_mark: | HTTP response content type for this operation | +| `skills_paginated` | [T.nilable(::StackOne::Shared::SkillsPaginated)](../../models/shared/skillspaginated.md) | :heavy_minus_sign: | The list of skills was retrieved. | +| `status_code` | *::Integer* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/lmslistuserassignmentsqueryparamfilter.md b/docs/models/operations/lmslistuserassignmentsqueryparamfilter.md new file mode 100644 index 00000000..a9b002dc --- /dev/null +++ b/docs/models/operations/lmslistuserassignmentsqueryparamfilter.md @@ -0,0 +1,10 @@ +# LmsListUserAssignmentsQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/lmslistuserassignmentsrequest.md b/docs/models/operations/lmslistuserassignmentsrequest.md new file mode 100644 index 00000000..a836b181 --- /dev/null +++ b/docs/models/operations/lmslistuserassignmentsrequest.md @@ -0,0 +1,19 @@ +# LmsListUserAssignmentsRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `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,user_id,remote_user_id,course_id,remote_course_id,updated_at,created_at,due_date,status | +| `filter` | [T.nilable(::StackOne::Operations::LmsListUserAssignmentsQueryParamFilter)](../../models/operations/lmslistuserassignmentsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | +| `id` | *::String* | :heavy_check_mark: | N/A | | +| `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | +| ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | +| `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | +| `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 | | +| `raw` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates that the raw request result is returned | | +| `remote_user_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier of the user related to the assignment | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | +| ~~`updated_after`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `user_id` | *T.nilable(::String)* | :heavy_minus_sign: | The user ID associated with this assignment | c28xyrc55866bvuv | +| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | | \ No newline at end of file diff --git a/docs/models/operations/lmslistuserassignmentsresponse.md b/docs/models/operations/lmslistuserassignmentsresponse.md new file mode 100644 index 00000000..9c90d46b --- /dev/null +++ b/docs/models/operations/lmslistuserassignmentsresponse.md @@ -0,0 +1,11 @@ +# LmsListUserAssignmentsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `assignments_paginated` | [T.nilable(::StackOne::Shared::AssignmentsPaginated)](../../models/shared/assignmentspaginated.md) | :heavy_minus_sign: | The assignments related to the employee with the given identifier were retrieved. | +| `content_type` | *::String* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *::Integer* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/lmslistusercompletionsqueryparamfilter.md b/docs/models/operations/lmslistusercompletionsqueryparamfilter.md new file mode 100644 index 00000000..5fa426d7 --- /dev/null +++ b/docs/models/operations/lmslistusercompletionsqueryparamfilter.md @@ -0,0 +1,10 @@ +# LmsListUserCompletionsQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/lmslistusercompletionsrequest.md b/docs/models/operations/lmslistusercompletionsrequest.md new file mode 100644 index 00000000..3bde9539 --- /dev/null +++ b/docs/models/operations/lmslistusercompletionsrequest.md @@ -0,0 +1,19 @@ +# LmsListUserCompletionsRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `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,external_id,remote_external_id,content_id,remote_content_id,user_id,remote_user_id,completed_at,updated_at,created_at,result,content_external_reference | +| `filter` | [T.nilable(::StackOne::Operations::LmsListUserCompletionsQueryParamFilter)](../../models/operations/lmslistusercompletionsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | +| `id` | *::String* | :heavy_check_mark: | N/A | | +| `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | +| ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | +| `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | +| `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 | | +| `raw` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates that the raw request result is returned | | +| `remote_user_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier of the user | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | +| ~~`updated_after`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `user_id` | *T.nilable(::String)* | :heavy_minus_sign: | The user ID associated with this completion | 746359 | +| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | | \ No newline at end of file diff --git a/docs/models/operations/lmslistusercompletionsresponse.md b/docs/models/operations/lmslistusercompletionsresponse.md new file mode 100644 index 00000000..3e48a48b --- /dev/null +++ b/docs/models/operations/lmslistusercompletionsresponse.md @@ -0,0 +1,11 @@ +# LmsListUserCompletionsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `completions_paginated` | [T.nilable(::StackOne::Shared::CompletionsPaginated)](../../models/shared/completionspaginated.md) | :heavy_minus_sign: | The completions with for the users with the given identifier were retrieved. | +| `content_type` | *::String* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *::Integer* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/models/operations/lmslistusersrequest.md b/docs/models/operations/lmslistusersrequest.md index bd1cf7fd..4d250225 100644 --- a/docs/models/operations/lmslistusersrequest.md +++ b/docs/models/operations/lmslistusersrequest.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `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,email,phone_number,created_at,updated_at,name | +| `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,external_reference,email,phone_number,created_at,updated_at,name | | `filter` | [T.nilable(::StackOne::Operations::LmsListUsersQueryParamFilter)](../../models/operations/lmslistusersqueryparamfilter.md) | :heavy_minus_sign: | LMS Users Filter | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | diff --git a/docs/models/shared/account.md b/docs/models/shared/account.md index e62f401a..7d8faeb9 100644 --- a/docs/models/shared/account.md +++ b/docs/models/shared/account.md @@ -16,5 +16,6 @@ | `phone_numbers` | T::Array<*::String*> | :heavy_minus_sign: | List of account phone numbers | [
"+1123425334"
] | | `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | | `remote_owner_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier of the owner | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | | `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Timestamp when the account was last updated | 2021-01-01T01:01:01.000Z | | `website` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/application.md b/docs/models/shared/application.md index 01f67567..5999b266 100644 --- a/docs/models/shared/application.md +++ b/docs/models/shared/application.md @@ -31,4 +31,5 @@ | `remote_rejected_reason_ids` | T::Array<*::String*> | :heavy_minus_sign: | Provider's unique identifiers of the rejection reasons | [
"f223d7f6-908b-48f0-9237-b201c307f609"
] | | `result_links` | T::Array<[::StackOne::Shared::ResultLink](../../models/shared/resultlink.md)> | :heavy_minus_sign: | N/A | | | `source` | [T.nilable(::StackOne::Shared::Source)](../../models/shared/source.md) | :heavy_minus_sign: | N/A | | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | | `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Date of last update | 2021-01-01T01:01:01.000Z | \ No newline at end of file diff --git a/docs/models/shared/applicationinterviewstage.md b/docs/models/shared/applicationinterviewstage.md index a06f5fb5..8e78efbd 100644 --- a/docs/models/shared/applicationinterviewstage.md +++ b/docs/models/shared/applicationinterviewstage.md @@ -3,11 +3,12 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `created_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Interview Stage created date | 2021-01-01T01:01:01.000Z | -| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `name` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | | -| `order` | *T.nilable(::Float)* | :heavy_minus_sign: | N/A | | -| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Interview Stage updated date | 2021-01-01T01:01:01.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `created_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Interview Stage created date | 2021-01-01T01:01:01.000Z | +| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `name` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | | +| `order` | *T.nilable(::Float)* | :heavy_minus_sign: | N/A | | +| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | +| `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Interview Stage updated date | 2021-01-01T01:01:01.000Z | \ No newline at end of file diff --git a/docs/models/shared/assessmentspackagestype.md b/docs/models/shared/assessmentspackagestype.md index d18d23f9..3d28deee 100644 --- a/docs/models/shared/assessmentspackagestype.md +++ b/docs/models/shared/assessmentspackagestype.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `source_value` | *T.nilable(::Object)* | :heavy_minus_sign: | The source value of the assessment type. | Skill Test | -| `value` | [T.nilable(::StackOne::Shared::AssessmentsPackagesValue)](../../models/shared/assessmentspackagesvalue.md) | :heavy_minus_sign: | The type of the assessment. | skill_test | \ No newline at end of file +| `source_value` | *T.nilable(::Object)* | :heavy_minus_sign: | The source value of the description type. | key_responsibilities | +| `value` | [T.nilable(::StackOne::Shared::AssessmentsPackagesValue)](../../models/shared/assessmentspackagesvalue.md) | :heavy_minus_sign: | The type of the description. | responsibilities | \ No newline at end of file diff --git a/docs/models/shared/assessmentspackagesvalue.md b/docs/models/shared/assessmentspackagesvalue.md index 2ea3697c..4935ecfd 100644 --- a/docs/models/shared/assessmentspackagesvalue.md +++ b/docs/models/shared/assessmentspackagesvalue.md @@ -1,14 +1,12 @@ # AssessmentsPackagesValue -The type of the assessment. +The type of the description. ## Values -| Name | Value | -| ----------------------- | ----------------------- | -| `VIDEO_INTERVIEW` | video_interview | -| `BEHAVIORAL_ASSESSMENT` | behavioral_assessment | -| `BACKGROUND_CHECK` | background_check | -| `REFERENCE_CHECK` | reference_check | -| `SKILL_TEST` | skill_test | \ No newline at end of file +| Name | Value | +| ------------------ | ------------------ | +| `RESPONSIBILITIES` | responsibilities | +| `SKILLS` | skills | +| `BENEFITS` | benefits | \ No newline at end of file diff --git a/docs/models/shared/assignment.md b/docs/models/shared/assignment.md index 677a161b..488e4877 100644 --- a/docs/models/shared/assignment.md +++ b/docs/models/shared/assignment.md @@ -8,11 +8,9 @@ | `course_id` | *T.nilable(::String)* | :heavy_minus_sign: | The course ID associated with this assignment | 16873-ENG-1 | | `created_at` | *T.nilable(::String)* | :heavy_minus_sign: | The date the assignment was created | 2021-07-21T14:00:00.000Z | | `due_date` | *T.nilable(::String)* | :heavy_minus_sign: | The date the assignment is due to be completed | 2021-07-21T14:00:00.000Z | -| `external_id` | *T.nilable(::String)* | :heavy_minus_sign: | The external ID associated with this assignment | SOFTWARE-ENG-LV1-TRAINING-VIDEO-1-ASSIGNMENT | | `id` | *T.nilable(::String)* | :heavy_minus_sign: | The ID associated with this assignment | 123456 | -| `passthrough` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Value to pass through to the provider | {
"other_known_names": "John Doe"
} | | `remote_course_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier of the course related to the assignment | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | -| `remote_external_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier of the assignment | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | | `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | | `status` | T::Array<[::StackOne::Shared::AssignmentStatusEnum](../../models/shared/assignmentstatusenum.md)> | :heavy_minus_sign: | The status of the assignment | | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | | `updated_at` | *T.nilable(::String)* | :heavy_minus_sign: | The date the assignment was last updated | 2021-07-21T14:00:00.000Z | \ No newline at end of file diff --git a/docs/models/shared/atscreateapplicationrequestdtocandidate.md b/docs/models/shared/atscreateapplicationrequestdtocandidate.md index a843f339..a9284887 100644 --- a/docs/models/shared/atscreateapplicationrequestdtocandidate.md +++ b/docs/models/shared/atscreateapplicationrequestdtocandidate.md @@ -18,4 +18,5 @@ Candidate Properties. Provide this OR candidate_id, but not both. Providing this | `passthrough` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Value to pass through to the provider | {
"other_known_names": "John Doe"
} | | `phone_number` | *T.nilable(::String)* | :heavy_minus_sign: | The candidate personal phone number | +1234567890 | | `social_links` | T::Array<[::StackOne::Shared::SocialLink](../../models/shared/sociallink.md)> | :heavy_minus_sign: | List of candidate social links | | -| `title` | *T.nilable(::String)* | :heavy_minus_sign: | Candidate title | Software Engineer | \ No newline at end of file +| `title` | *T.nilable(::String)* | :heavy_minus_sign: | Candidate title | Software Engineer | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | \ No newline at end of file diff --git a/docs/models/shared/atscreatecandidaterequestdto.md b/docs/models/shared/atscreatecandidaterequestdto.md index a18ad871..d85716fa 100644 --- a/docs/models/shared/atscreatecandidaterequestdto.md +++ b/docs/models/shared/atscreatecandidaterequestdto.md @@ -16,4 +16,5 @@ | `passthrough` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Value to pass through to the provider | {
"other_known_names": "John Doe"
} | | `phone_number` | *T.nilable(::String)* | :heavy_minus_sign: | The candidate personal phone number | +1234567890 | | `social_links` | T::Array<[::StackOne::Shared::SocialLink](../../models/shared/sociallink.md)> | :heavy_minus_sign: | List of candidate social links | | -| `title` | *T.nilable(::String)* | :heavy_minus_sign: | Candidate title | Software Engineer | \ No newline at end of file +| `title` | *T.nilable(::String)* | :heavy_minus_sign: | Candidate title | Software Engineer | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | \ No newline at end of file diff --git a/docs/models/shared/atsdocumentapimodel.md b/docs/models/shared/atsdocumentapimodel.md index 2066e9be..f8f21a00 100644 --- a/docs/models/shared/atsdocumentapimodel.md +++ b/docs/models/shared/atsdocumentapimodel.md @@ -16,4 +16,5 @@ | `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | | `remote_url` | *T.nilable(::String)* | :heavy_minus_sign: | URL where the file content is located | https://example.com/file.pdf | | ~~`type`~~ | [T.nilable(::StackOne::Shared::AtsDocumentApiModelType)](../../models/shared/atsdocumentapimodeltype.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The content type of the document | | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | | `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The update date of the file | 2021-01-02T01:01:01.000Z | \ No newline at end of file diff --git a/docs/models/shared/atslocation.md b/docs/models/shared/atslocation.md index c58b80ba..769ecb7d 100644 --- a/docs/models/shared/atslocation.md +++ b/docs/models/shared/atslocation.md @@ -3,8 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `name` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | | -| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `name` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | | +| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | \ No newline at end of file diff --git a/docs/models/shared/atsmoveapplicationrequestdto.md b/docs/models/shared/atsmoveapplicationrequestdto.md new file mode 100644 index 00000000..ecb40d85 --- /dev/null +++ b/docs/models/shared/atsmoveapplicationrequestdto.md @@ -0,0 +1,9 @@ +# AtsMoveApplicationRequestDto + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | +| `interview_stage_id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier of the application stage. | f223d7f6-908b-48f0-9237-b201c307f609 | +| `passthrough` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Value to pass through to the provider | {
"other_known_names": "John Doe"
} | \ No newline at end of file diff --git a/docs/models/shared/atsrejectapplicationrequestdto.md b/docs/models/shared/atsrejectapplicationrequestdto.md new file mode 100644 index 00000000..ac1d5112 --- /dev/null +++ b/docs/models/shared/atsrejectapplicationrequestdto.md @@ -0,0 +1,9 @@ +# AtsRejectApplicationRequestDto + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| `passthrough` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Value to pass through to the provider | {
"other_known_names": "John Doe"
} | +| `rejected_reason_id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier of the rejection reason | f223d7f6-908b-48f0-9237-b201c307f609 | \ No newline at end of file diff --git a/docs/models/shared/atsupdatecandidaterequestdto.md b/docs/models/shared/atsupdatecandidaterequestdto.md index 321c7305..b400ca57 100644 --- a/docs/models/shared/atsupdatecandidaterequestdto.md +++ b/docs/models/shared/atsupdatecandidaterequestdto.md @@ -19,4 +19,5 @@ | ~~`phone`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Candidate phone number | +16178294093 | | `phone_numbers` | T::Array<[::StackOne::Shared::PhoneNumber](../../models/shared/phonenumber.md)> | :heavy_minus_sign: | List of candidate phone numbers including the type of the number when available | | | `social_links` | T::Array<[::StackOne::Shared::SocialLink](../../models/shared/sociallink.md)> | :heavy_minus_sign: | List of candidate social links | | -| `title` | *T.nilable(::String)* | :heavy_minus_sign: | Candidate title | Software Engineer | \ No newline at end of file +| `title` | *T.nilable(::String)* | :heavy_minus_sign: | Candidate title | Software Engineer | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | \ No newline at end of file diff --git a/docs/models/shared/batchresultapimodel.md b/docs/models/shared/batchresultapimodel.md new file mode 100644 index 00000000..7b243f4f --- /dev/null +++ b/docs/models/shared/batchresultapimodel.md @@ -0,0 +1,11 @@ +# BatchResultApiModel + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `errors` | T::Array> | :heavy_minus_sign: | N/A | [
[
"Missing field: name"
],
[],
[]
] | +| `message` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | Batch operation accepted | +| `status_code` | *T.nilable(::Float)* | :heavy_minus_sign: | N/A | 202 | +| `timestamp` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | N/A | 2021-01-01T01:01:01.000Z | \ No newline at end of file diff --git a/docs/models/shared/candidate.md b/docs/models/shared/candidate.md index e2e631e2..4b7848e7 100644 --- a/docs/models/shared/candidate.md +++ b/docs/models/shared/candidate.md @@ -23,4 +23,5 @@ | `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | | `social_links` | T::Array<[::StackOne::Shared::SocialLink](../../models/shared/sociallink.md)> | :heavy_minus_sign: | List of candidate social links | | | `title` | *T.nilable(::String)* | :heavy_minus_sign: | Candidate title | Software Engineer | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | | `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Candidate updated date | 2021-01-01T01:01:01.000Z | \ No newline at end of file diff --git a/docs/models/shared/category.md b/docs/models/shared/category.md index 22eb62ec..cc677b36 100644 --- a/docs/models/shared/category.md +++ b/docs/models/shared/category.md @@ -3,9 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `active` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether the category is active and therefore available for use | true | -| `id` | *T.nilable(::String)* | :heavy_minus_sign: | The ID associated with this category | 16873-IT345 | -| `name` | *T.nilable(::String)* | :heavy_minus_sign: | The name associated with this category | Information-Technology | -| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `active` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether the category is active and therefore available for use | true | +| `id` | *T.nilable(::String)* | :heavy_minus_sign: | The ID associated with this category | 16873-IT345 | +| `name` | *T.nilable(::String)* | :heavy_minus_sign: | The name associated with this category | Information-Technology | +| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | \ No newline at end of file diff --git a/docs/models/shared/company.md b/docs/models/shared/company.md index 0c0a15ab..fedf16cc 100644 --- a/docs/models/shared/company.md +++ b/docs/models/shared/company.md @@ -3,11 +3,12 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `created_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The created_at date | 2023-02-23T00:00:00.000Z | -| `display_name` | *T.nilable(::String)* | :heavy_minus_sign: | The display name of the company | StackOne | -| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `name` | *T.nilable(::String)* | :heavy_minus_sign: | The name of the company | StackOne Technologies PLC | -| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The updated_at date | 2024-02-23T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `created_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The created_at date | 2023-02-23T00:00:00.000Z | +| `display_name` | *T.nilable(::String)* | :heavy_minus_sign: | The display name of the company | StackOne | +| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `name` | *T.nilable(::String)* | :heavy_minus_sign: | The name of the company | StackOne Technologies PLC | +| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | +| `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The updated_at date | 2024-02-23T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/shared/completion.md b/docs/models/shared/completion.md index d7b1782b..89524994 100644 --- a/docs/models/shared/completion.md +++ b/docs/models/shared/completion.md @@ -3,14 +3,15 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `completed_at` | *T.nilable(::String)* | :heavy_minus_sign: | The date the content was completed | 2021-07-21T14:00:00.000Z | -| `content_id` | *T.nilable(::String)* | :heavy_minus_sign: | The content ID associated with this completion | 16873-ENG-VIDEO-1 | -| `external_id` | *T.nilable(::String)* | :heavy_minus_sign: | The external ID associated with this completion | SOFTWARE-ENG-LV1-TRAINING-VIDEO-1-COMPLETION | -| `id` | *T.nilable(::String)* | :heavy_minus_sign: | The ID associated with this completion | 123456 | -| `passthrough` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Value to pass through to the provider | {
"other_known_names": "John Doe"
} | -| `remote_content_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier of the completion | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | -| `remote_external_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier of the content | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | -| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `result` | [T.nilable(::StackOne::Shared::CompletionResult)](../../models/shared/completionresult.md) | :heavy_minus_sign: | The result of the completion | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `completed_at` | *T.nilable(::String)* | :heavy_minus_sign: | The date the content was completed | 2021-07-21T14:00:00.000Z | +| `content_external_reference` | *T.nilable(::String)* | :heavy_minus_sign: | The external ID associated with this content | SOFTWARE-ENG-LV1-TRAINING-VIDEO-1-CONTENT | +| `content_id` | *T.nilable(::String)* | :heavy_minus_sign: | The content ID associated with this completion | 16873-ENG-VIDEO-1 | +| `external_id` | *T.nilable(::String)* | :heavy_minus_sign: | The external ID associated with this completion | SOFTWARE-ENG-LV1-TRAINING-VIDEO-1-COMPLETION | +| `id` | *T.nilable(::String)* | :heavy_minus_sign: | The ID associated with this completion | 123456 | +| `remote_content_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier of the completion | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | +| `remote_external_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier of the content | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | +| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `result` | [T.nilable(::StackOne::Shared::CompletionSchemasResult)](../../models/shared/completionschemasresult.md) | :heavy_minus_sign: | The result of the completion | | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | \ No newline at end of file diff --git a/docs/models/shared/completionresult.md b/docs/models/shared/completionresult.md index fe5ba45d..31066615 100644 --- a/docs/models/shared/completionresult.md +++ b/docs/models/shared/completionresult.md @@ -1,11 +1,9 @@ # CompletionResult -The result of the completion - ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `source_value` | *T.nilable(::Object)* | :heavy_minus_sign: | N/A | -| `value` | [T.nilable(::StackOne::Shared::CompletionValue)](../../models/shared/completionvalue.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `data` | [::StackOne::Shared::Completion](../../models/shared/completion.md) | :heavy_check_mark: | N/A | +| `raw` | T::Array<[::StackOne::Shared::RawResponse](../../models/shared/rawresponse.md)> | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/completionschemasresult.md b/docs/models/shared/completionschemasresult.md new file mode 100644 index 00000000..ea7d54e5 --- /dev/null +++ b/docs/models/shared/completionschemasresult.md @@ -0,0 +1,11 @@ +# CompletionSchemasResult + +The result of the completion + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `source_value` | *T.nilable(::Object)* | :heavy_minus_sign: | N/A | +| `value` | [T.nilable(::StackOne::Shared::CompletionValue)](../../models/shared/completionvalue.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/contact.md b/docs/models/shared/contact.md index b23ae817..d5073c16 100644 --- a/docs/models/shared/contact.md +++ b/docs/models/shared/contact.md @@ -18,4 +18,5 @@ | `remote_account_ids` | T::Array<*::String*> | :heavy_minus_sign: | Provider's list of associated account IDs | [
"e3cb75bf-aa84-466e-a6c1-b8322b257a48",
"e3cb75bf-aa84-466e-a6c1-b8322b257a49"
] | | `remote_deal_ids` | T::Array<*::String*> | :heavy_minus_sign: | Provider's list of associated deal IDs | [
"e3cb75bf-aa84-466e-a6c1-b8322b257a48",
"e3cb75bf-aa84-466e-a6c1-b8322b257a49"
] | | `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | | `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Timestamp when the contact was last updated | 2021-01-01T01:01:01.000Z | \ No newline at end of file diff --git a/docs/models/shared/course.md b/docs/models/shared/course.md index d7a5308b..f2f263a8 100644 --- a/docs/models/shared/course.md +++ b/docs/models/shared/course.md @@ -20,5 +20,6 @@ | `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | | `skills` | T::Array<[::StackOne::Shared::Skills](../../models/shared/skills.md)> | :heavy_minus_sign: | The skills associated with this course | [
{
"id": "12345",
"name": "Sales Techniques"
}
] | | `title` | *T.nilable(::String)* | :heavy_minus_sign: | The title of the course | Software Engineer Lv 1 | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | | `updated_at` | *T.nilable(::String)* | :heavy_minus_sign: | The date on which the course was last updated. | 2021-07-21T14:00:00.000Z | | `url` | *T.nilable(::String)* | :heavy_minus_sign: | The redirect URL of the course. | https://www.linkedinlearning.com/?v=16873 | \ No newline at end of file diff --git a/docs/models/shared/createcategoriesapimodel.md b/docs/models/shared/createcategoriesapimodel.md index 84ce37c7..b63f688e 100644 --- a/docs/models/shared/createcategoriesapimodel.md +++ b/docs/models/shared/createcategoriesapimodel.md @@ -3,7 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `active` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether the category is active and therefore available for use | true | -| `name` | *T.nilable(::String)* | :heavy_minus_sign: | The name associated with this category | Information-Technology | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `active` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether the category is active and therefore available for use | true | +| `name` | *T.nilable(::String)* | :heavy_minus_sign: | The name associated with this category | Information-Technology | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | \ No newline at end of file diff --git a/docs/models/shared/createresultdataapimodel.md b/docs/models/shared/createresultdataapimodel.md index 6cbc06c1..7b07fe67 100644 --- a/docs/models/shared/createresultdataapimodel.md +++ b/docs/models/shared/createresultdataapimodel.md @@ -5,5 +5,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `external_reference` | *T.nilable(::String)* | :heavy_minus_sign: | The external identifier | SOFTWARE-ENG-LV1-TRAINING-VIDEO-1 | | `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | | `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | \ No newline at end of file diff --git a/docs/models/shared/department.md b/docs/models/shared/department.md index 2f93859b..ab1801c5 100644 --- a/docs/models/shared/department.md +++ b/docs/models/shared/department.md @@ -3,8 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `name` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | | -| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `name` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | | +| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | \ No newline at end of file diff --git a/docs/models/shared/employee.md b/docs/models/shared/employee.md index 52e83a75..3afa1e82 100644 --- a/docs/models/shared/employee.md +++ b/docs/models/shared/employee.md @@ -17,6 +17,7 @@ | `custom_fields` | T::Array<[::StackOne::Shared::EmployeeCustomFields](../../models/shared/employeecustomfields.md)> | :heavy_minus_sign: | The employee custom fields | | | `date_of_birth` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The employee date_of_birth | 1990-01-01T00:00.000Z | | `department` | *T.nilable(::String)* | :heavy_minus_sign: | The employee department | Physics | +| `department_id` | *T.nilable(::String)* | :heavy_minus_sign: | The employee department id | 3093 | | `display_name` | *T.nilable(::String)* | :heavy_minus_sign: | The employee display name | Sir Issac Newton | | `employee_number` | *T.nilable(::String)* | :heavy_minus_sign: | The assigned employee number | 125 | | `employment_contract_type` | [T.nilable(::StackOne::Shared::EmploymentContractType)](../../models/shared/employmentcontracttype.md) | :heavy_minus_sign: | The employment work schedule type (e.g., full-time, part-time) | full_time | @@ -31,6 +32,7 @@ | `home_location` | [T.nilable(::StackOne::Shared::HomeLocation)](../../models/shared/homelocation.md) | :heavy_minus_sign: | The employee home location | | | `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | | `job_description` | [T.nilable(::StackOne::Shared::JobDescription)](../../models/shared/jobdescription.md) | :heavy_minus_sign: | The employee job description | Testing the laws of motion | +| `job_id` | *T.nilable(::String)* | :heavy_minus_sign: | The employee job id | 5290 | | `job_title` | *T.nilable(::String)* | :heavy_minus_sign: | The employee job title | Physicist | | `last_name` | *T.nilable(::String)* | :heavy_minus_sign: | The employee last name | Newton | | `manager_id` | *T.nilable(::String)* | :heavy_minus_sign: | The employee manager ID | 67890 | @@ -45,6 +47,7 @@ | `start_date` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The employee start date | 2021-01-01T00:00.000Z | | `tenure` | *T.nilable(::Float)* | :heavy_minus_sign: | The employee tenure | 2 | | `termination_date` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The employee termination date | 2021-01-01T00:00:00Z | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | | `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The updated_at date | 2021-01-01T01:01:01.000Z | | `work_anniversary` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The employee work anniversary | 2021-01-01T00:00:00Z | | `work_email` | *T.nilable(::String)* | :heavy_minus_sign: | The employee work email | newton@example.com | diff --git a/docs/models/shared/employeecompany.md b/docs/models/shared/employeecompany.md index 4b557cb3..e16aea31 100644 --- a/docs/models/shared/employeecompany.md +++ b/docs/models/shared/employeecompany.md @@ -5,11 +5,12 @@ The employee company ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `created_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The created_at date | 2023-02-23T00:00:00.000Z | -| `display_name` | *T.nilable(::String)* | :heavy_minus_sign: | The display name of the company | StackOne | -| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `name` | *T.nilable(::String)* | :heavy_minus_sign: | The name of the company | StackOne Technologies PLC | -| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The updated_at date | 2024-02-23T00:00:00.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `created_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The created_at date | 2023-02-23T00:00:00.000Z | +| `display_name` | *T.nilable(::String)* | :heavy_minus_sign: | The display name of the company | StackOne | +| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `name` | *T.nilable(::String)* | :heavy_minus_sign: | The name of the company | StackOne Technologies PLC | +| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | +| `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The updated_at date | 2024-02-23T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/shared/employment.md b/docs/models/shared/employment.md index b1810cb6..6a0f03c4 100644 --- a/docs/models/shared/employment.md +++ b/docs/models/shared/employment.md @@ -18,4 +18,5 @@ | `pay_rate` | *T.nilable(::String)* | :heavy_minus_sign: | The pay rate for the employee | 40.00 | | `remote_employee_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier of the employee associated with this employment | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | | `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | | `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The updated_at date | 2021-01-01T01:01:01.000Z | \ No newline at end of file diff --git a/docs/models/shared/homelocation.md b/docs/models/shared/homelocation.md index d9d04230..a2eff2a4 100644 --- a/docs/models/shared/homelocation.md +++ b/docs/models/shared/homelocation.md @@ -20,5 +20,6 @@ The employee home location | `state` | *T.nilable(::String)* | :heavy_minus_sign: | The state where the location is situated | Lincolnshire | | `street_1` | *T.nilable(::String)* | :heavy_minus_sign: | The first line of the address | Water Lane | | `street_2` | *T.nilable(::String)* | :heavy_minus_sign: | The second line of the address | Woolsthorpe by Colsterworth | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | | `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The updated_at date | 2021-01-01T01:01:01.000Z | | `zip_code` | *T.nilable(::String)* | :heavy_minus_sign: | The ZIP code/Postal code of the location | NG33 5NR | \ No newline at end of file diff --git a/docs/models/shared/hrisbatchdocumentuploadrequestdto.md b/docs/models/shared/hrisbatchdocumentuploadrequestdto.md new file mode 100644 index 00000000..41c23f08 --- /dev/null +++ b/docs/models/shared/hrisbatchdocumentuploadrequestdto.md @@ -0,0 +1,8 @@ +# HrisBatchDocumentUploadRequestDto + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `items` | T::Array<[::StackOne::Shared::HrisDocumentsUploadRequestDto](../../models/shared/hrisdocumentsuploadrequestdto.md)> | :heavy_check_mark: | The batch of items to create | \ No newline at end of file diff --git a/docs/models/shared/hriscreateemployeerequestdto.md b/docs/models/shared/hriscreateemployeerequestdto.md index 28e73a71..a53fc1ce 100644 --- a/docs/models/shared/hriscreateemployeerequestdto.md +++ b/docs/models/shared/hriscreateemployeerequestdto.md @@ -14,6 +14,7 @@ | `custom_fields` | T::Array<[::StackOne::Shared::EmployeeCustomFields](../../models/shared/employeecustomfields.md)> | :heavy_minus_sign: | The employee custom fields | | | `date_of_birth` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The employee date_of_birth | 1990-01-01T00:00.000Z | | `department` | *T.nilable(::String)* | :heavy_minus_sign: | The employee department | Physics | +| `department_id` | *T.nilable(::String)* | :heavy_minus_sign: | The employee department id | 3093 | | `display_name` | *T.nilable(::String)* | :heavy_minus_sign: | The employee display name | Sir Issac Newton | | `employment_contract_type` | [T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentContractType)](../../models/shared/hriscreateemployeerequestdtoemploymentcontracttype.md) | :heavy_minus_sign: | The employment work schedule type (e.g., full-time, part-time) | full_time | | `employment_status` | [T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentStatus)](../../models/shared/hriscreateemployeerequestdtoemploymentstatus.md) | :heavy_minus_sign: | The employee employment status | active | @@ -30,6 +31,7 @@ | `manager_id` | *T.nilable(::String)* | :heavy_minus_sign: | The employee manager ID | 67890 | | `marital_status` | [T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus)](../../models/shared/hriscreateemployeerequestdtomaritalstatus.md) | :heavy_minus_sign: | The employee marital status | single | | `name` | *T.nilable(::String)* | :heavy_minus_sign: | The employee name | Issac Newton | +| `national_identity_number` | [T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoNationalIdentityNumber)](../../models/shared/hriscreateemployeerequestdtonationalidentitynumber.md) | :heavy_minus_sign: | The national identity number | | | `passthrough` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Value to pass through to the provider | {
"other_known_names": "John Doe"
} | | `personal_email` | *T.nilable(::String)* | :heavy_minus_sign: | The employee personal email | isaac.newton@example.com | | `personal_phone_number` | *T.nilable(::String)* | :heavy_minus_sign: | The employee personal phone number | +1234567890 | diff --git a/docs/models/shared/hriscreateemployeerequestdtonationalidentitynumber.md b/docs/models/shared/hriscreateemployeerequestdtonationalidentitynumber.md new file mode 100644 index 00000000..78554536 --- /dev/null +++ b/docs/models/shared/hriscreateemployeerequestdtonationalidentitynumber.md @@ -0,0 +1,11 @@ +# HrisCreateEmployeeRequestDtoNationalIdentityNumber + +The national identity number + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `type` | [T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoType)](../../models/shared/hriscreateemployeerequestdtotype.md) | :heavy_minus_sign: | N/A | | +| `value` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | 123456789 | \ No newline at end of file diff --git a/docs/models/shared/hriscreateemployeerequestdtoschemasnationalidentitynumbervalue.md b/docs/models/shared/hriscreateemployeerequestdtoschemasnationalidentitynumbervalue.md new file mode 100644 index 00000000..5ee407b1 --- /dev/null +++ b/docs/models/shared/hriscreateemployeerequestdtoschemasnationalidentitynumbervalue.md @@ -0,0 +1,14 @@ +# HrisCreateEmployeeRequestDtoSchemasNationalIdentityNumberValue + +The type of the national identity number + + +## Values + +| Name | Value | +| --------- | --------- | +| `SSN` | ssn | +| `NIN` | nin | +| `SIN` | sin | +| `OTHER` | other | +| `UNKNOWN` | unknown | \ No newline at end of file diff --git a/docs/models/shared/hriscreateemployeerequestdtotype.md b/docs/models/shared/hriscreateemployeerequestdtotype.md new file mode 100644 index 00000000..2926b3eb --- /dev/null +++ b/docs/models/shared/hriscreateemployeerequestdtotype.md @@ -0,0 +1,9 @@ +# HrisCreateEmployeeRequestDtoType + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `source_value` | *T.nilable(::Object)* | :heavy_minus_sign: | N/A | | +| `value` | [T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasNationalIdentityNumberValue)](../../models/shared/hriscreateemployeerequestdtoschemasnationalidentitynumbervalue.md) | :heavy_minus_sign: | The type of the national identity number | ssn | \ No newline at end of file diff --git a/docs/models/shared/hrisdepartment.md b/docs/models/shared/hrisdepartment.md index 013c523a..c765e32f 100644 --- a/docs/models/shared/hrisdepartment.md +++ b/docs/models/shared/hrisdepartment.md @@ -11,4 +11,5 @@ | `parent_ids` | T::Array<*::String*> | :heavy_minus_sign: | The list of parent group ids of the given group | | | `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | | `remote_parent_ids` | T::Array<*::String*> | :heavy_minus_sign: | Provider's list of parent group ids of the given group | | -| `type` | [T.nilable(::StackOne::Shared::HRISDepartmentType)](../../models/shared/hrisdepartmenttype.md) | :heavy_minus_sign: | The type of the department group | department | \ No newline at end of file +| `type` | [T.nilable(::StackOne::Shared::HRISDepartmentType)](../../models/shared/hrisdepartmenttype.md) | :heavy_minus_sign: | The type of the department group | department | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | \ No newline at end of file diff --git a/docs/models/shared/hrisdocumentapimodel.md b/docs/models/shared/hrisdocumentapimodel.md index 60d281ab..eb9baa1b 100644 --- a/docs/models/shared/hrisdocumentapimodel.md +++ b/docs/models/shared/hrisdocumentapimodel.md @@ -16,4 +16,5 @@ | `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | | `remote_url` | *T.nilable(::String)* | :heavy_minus_sign: | URL where the file content is located | https://example.com/file.pdf | | ~~`type`~~ | [T.nilable(::StackOne::Shared::HrisDocumentApiModelType)](../../models/shared/hrisdocumentapimodeltype.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The content type of the document | | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | | `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The update date of the file | 2021-01-02T01:01:01.000Z | \ No newline at end of file diff --git a/docs/models/shared/hrisgroup.md b/docs/models/shared/hrisgroup.md index 391e8c61..767ebbaa 100644 --- a/docs/models/shared/hrisgroup.md +++ b/docs/models/shared/hrisgroup.md @@ -3,12 +3,13 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `name` | *T.nilable(::String)* | :heavy_minus_sign: | The name of the group | | -| `owner_ids` | T::Array<*::String*> | :heavy_minus_sign: | The list of group owner ids of the given group | | -| `parent_ids` | T::Array<*::String*> | :heavy_minus_sign: | The list of parent group ids of the given group | | -| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `remote_parent_ids` | T::Array<*::String*> | :heavy_minus_sign: | Provider's list of parent group ids of the given group | | -| `type` | [T.nilable(::StackOne::Shared::HRISGroupType)](../../models/shared/hrisgrouptype.md) | :heavy_minus_sign: | The type of the group | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `name` | *T.nilable(::String)* | :heavy_minus_sign: | The name of the group | | +| `owner_ids` | T::Array<*::String*> | :heavy_minus_sign: | The list of group owner ids of the given group | | +| `parent_ids` | T::Array<*::String*> | :heavy_minus_sign: | The list of parent group ids of the given group | | +| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `remote_parent_ids` | T::Array<*::String*> | :heavy_minus_sign: | Provider's list of parent group ids of the given group | | +| `type` | [T.nilable(::StackOne::Shared::HRISGroupType)](../../models/shared/hrisgrouptype.md) | :heavy_minus_sign: | The type of the group | | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | \ No newline at end of file diff --git a/docs/models/shared/hrislocation.md b/docs/models/shared/hrislocation.md index 35b94440..18eff56d 100644 --- a/docs/models/shared/hrislocation.md +++ b/docs/models/shared/hrislocation.md @@ -18,5 +18,6 @@ | `state` | *T.nilable(::String)* | :heavy_minus_sign: | The state where the location is situated | Lincolnshire | | `street_1` | *T.nilable(::String)* | :heavy_minus_sign: | The first line of the address | Water Lane | | `street_2` | *T.nilable(::String)* | :heavy_minus_sign: | The second line of the address | Woolsthorpe by Colsterworth | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | | `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The updated_at date | 2021-01-01T01:01:01.000Z | | `zip_code` | *T.nilable(::String)* | :heavy_minus_sign: | The ZIP code/Postal code of the location | NG33 5NR | \ No newline at end of file diff --git a/docs/models/shared/iamuser.md b/docs/models/shared/iamuser.md index fcc88a0a..e3fd2010 100644 --- a/docs/models/shared/iamuser.md +++ b/docs/models/shared/iamuser.md @@ -20,5 +20,6 @@ | `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | | `roles` | T::Array<[::StackOne::Shared::IamRole](../../models/shared/iamrole.md)> | :heavy_minus_sign: | List of roles the user is assigned to | | | `status` | [T.nilable(::StackOne::Shared::IamUserStatus)](../../models/shared/iamuserstatus.md) | :heavy_minus_sign: | N/A | | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | | `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The date the user was created | 2021-01-01T01:01:01.000Z | | `username` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | hansolo1977 | \ No newline at end of file diff --git a/docs/models/shared/interview.md b/docs/models/shared/interview.md index 2a173eab..64d85b5e 100644 --- a/docs/models/shared/interview.md +++ b/docs/models/shared/interview.md @@ -21,4 +21,5 @@ | `remote_interview_stage_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier of the interview stage | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | | `remote_interviewer_ids` | T::Array<*::String*> | :heavy_minus_sign: | Provider's unique identifiers of the interviewers | [
"e3cb75bf-aa84-466e-a6c1-b8322b257a48",
"e3cb75bf-aa84-466e-a6c1-b8322b257a48"
] | | `start_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Interview start date | 2021-01-01T01:01:01.000Z | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | | `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Interview updated date | 2021-01-01T01:01:01.000Z | \ No newline at end of file diff --git a/docs/models/shared/interviewinterviewstage.md b/docs/models/shared/interviewinterviewstage.md index 3aa857b6..aad15ca0 100644 --- a/docs/models/shared/interviewinterviewstage.md +++ b/docs/models/shared/interviewinterviewstage.md @@ -3,11 +3,12 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `created_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Interview Stage created date | 2021-01-01T01:01:01.000Z | -| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `name` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | | -| `order` | *T.nilable(::Float)* | :heavy_minus_sign: | N/A | | -| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Interview Stage updated date | 2021-01-01T01:01:01.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `created_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Interview Stage created date | 2021-01-01T01:01:01.000Z | +| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `name` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | | +| `order` | *T.nilable(::Float)* | :heavy_minus_sign: | N/A | | +| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | +| `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Interview Stage updated date | 2021-01-01T01:01:01.000Z | \ No newline at end of file diff --git a/docs/models/shared/interviewstage.md b/docs/models/shared/interviewstage.md index 6518a4ea..37362164 100644 --- a/docs/models/shared/interviewstage.md +++ b/docs/models/shared/interviewstage.md @@ -3,11 +3,12 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `created_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Interview Stage created date | 2021-01-01T01:01:01.000Z | -| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `name` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | | -| `order` | *T.nilable(::Float)* | :heavy_minus_sign: | N/A | | -| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Interview Stage updated date | 2021-01-01T01:01:01.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `created_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Interview Stage created date | 2021-01-01T01:01:01.000Z | +| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `name` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | | +| `order` | *T.nilable(::Float)* | :heavy_minus_sign: | N/A | | +| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | +| `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Interview Stage updated date | 2021-01-01T01:01:01.000Z | \ No newline at end of file diff --git a/docs/models/shared/job.md b/docs/models/shared/job.md index 24454b07..7d0d630c 100644 --- a/docs/models/shared/job.md +++ b/docs/models/shared/job.md @@ -8,6 +8,7 @@ | `code` | *T.nilable(::String)* | :heavy_minus_sign: | Code of the job | 184919 | | `confidential` | [T.nilable(::StackOne::Shared::JobConfidential)](../../models/shared/jobconfidential.md) | :heavy_minus_sign: | Confidential status of the job | | | `created_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Date of creation | 2021-01-01T01:01:01.000Z | +| `custom_fields` | T::Array<[::StackOne::Shared::JobCustomFields](../../models/shared/jobcustomfields.md)> | :heavy_minus_sign: | The job custom fields | | | `department_ids` | T::Array<*::String*> | :heavy_minus_sign: | Department ids of the job | [
"308570",
"308571",
"308572"
] | | `hiring_team` | T::Array<[::StackOne::Shared::JobHiringTeam](../../models/shared/jobhiringteam.md)> | :heavy_minus_sign: | Hiring team for the job. | | | `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | @@ -19,4 +20,5 @@ | `remote_location_ids` | T::Array<*::String*> | :heavy_minus_sign: | Provider's location ids of the job | [
"668570",
"678571",
"688572"
] | | ~~`status`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Status of the job | archived | | `title` | *T.nilable(::String)* | :heavy_minus_sign: | Title of the job | Software Engineer | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | | `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Date of last update | 2021-01-01T01:01:01.000Z | \ No newline at end of file diff --git a/docs/models/shared/jobcustomfields.md b/docs/models/shared/jobcustomfields.md new file mode 100644 index 00000000..6c31aa7b --- /dev/null +++ b/docs/models/shared/jobcustomfields.md @@ -0,0 +1,13 @@ +# JobCustomFields + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `name` | *T.nilable(::String)* | :heavy_minus_sign: | The name of the custom field. | Training Completion Status | +| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `remote_value_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier for the value of the custom field. | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | +| `value` | *T.nilable(::Object)* | :heavy_minus_sign: | The value associated with the custom field. | Completed | +| `value_id` | *T.nilable(::String)* | :heavy_minus_sign: | The unique identifier for the value of the custom field. | value_456 | \ No newline at end of file diff --git a/docs/models/shared/jobposting.md b/docs/models/shared/jobposting.md index fa266e19..15359d0c 100644 --- a/docs/models/shared/jobposting.md +++ b/docs/models/shared/jobposting.md @@ -21,4 +21,5 @@ | `remote_job_posting_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier of the job posting | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | | `status` | [T.nilable(::StackOne::Shared::JobPostingStatus)](../../models/shared/jobpostingstatus.md) | :heavy_minus_sign: | N/A | | | `title` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | Software Engineer | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | | `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Date of last update | 2021-01-01T01:01:01.000Z | \ No newline at end of file diff --git a/docs/models/shared/jobpostingcontent.md b/docs/models/shared/jobpostingcontent.md index c3d327dd..75dabe0e 100644 --- a/docs/models/shared/jobpostingcontent.md +++ b/docs/models/shared/jobpostingcontent.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------- | --------------------- | --------------------- | --------------------- | -| `html` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | -| `plain` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | -| `section` | T::Array<*::String*> | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | +| `html` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | +| `plain` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | +| `sections` | T::Array<[::StackOne::Shared::JobPostingContentSection](../../models/shared/jobpostingcontentsection.md)> | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/jobpostingcontentsection.md b/docs/models/shared/jobpostingcontentsection.md new file mode 100644 index 00000000..3ec22612 --- /dev/null +++ b/docs/models/shared/jobpostingcontentsection.md @@ -0,0 +1,12 @@ +# JobPostingContentSection + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `content` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | This is a plain description | +| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `label` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | Key Responsibilities | +| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `type` | [T.nilable(::StackOne::Shared::JobPostingContentSectionType)](../../models/shared/jobpostingcontentsectiontype.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/jobpostingcontentsectiontype.md b/docs/models/shared/jobpostingcontentsectiontype.md new file mode 100644 index 00000000..2c2527e2 --- /dev/null +++ b/docs/models/shared/jobpostingcontentsectiontype.md @@ -0,0 +1,9 @@ +# JobPostingContentSectionType + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `source_value` | *T.nilable(::Object)* | :heavy_minus_sign: | The source value of the description type. | key_responsibilities | +| `value` | [T.nilable(::StackOne::Shared::JobPostingContentSectionValue)](../../models/shared/jobpostingcontentsectionvalue.md) | :heavy_minus_sign: | The type of the description. | responsibilities | \ No newline at end of file diff --git a/docs/models/shared/jobpostingcontentsectionvalue.md b/docs/models/shared/jobpostingcontentsectionvalue.md new file mode 100644 index 00000000..9b96b71f --- /dev/null +++ b/docs/models/shared/jobpostingcontentsectionvalue.md @@ -0,0 +1,12 @@ +# JobPostingContentSectionValue + +The type of the description. + + +## Values + +| Name | Value | +| ------------------ | ------------------ | +| `RESPONSIBILITIES` | responsibilities | +| `SKILLS` | skills | +| `BENEFITS` | benefits | \ No newline at end of file diff --git a/docs/models/shared/list.md b/docs/models/shared/list.md index 3a9c0388..f4b352de 100644 --- a/docs/models/shared/list.md +++ b/docs/models/shared/list.md @@ -3,12 +3,13 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `created_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Timestamp when the list was created | 2021-01-01T01:01:01.000Z | -| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `items` | T::Array<[::StackOne::Shared::ListItem](../../models/shared/listitem.md)> | :heavy_minus_sign: | N/A | | -| `name` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | | -| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `type` | [T.nilable(::StackOne::Shared::ListType)](../../models/shared/listtype.md) | :heavy_minus_sign: | The list type | | -| `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Timestamp when the list was last updated | 2021-01-01T01:01:01.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `created_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Timestamp when the list was created | 2021-01-01T01:01:01.000Z | +| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `items` | T::Array<[::StackOne::Shared::ListItem](../../models/shared/listitem.md)> | :heavy_minus_sign: | N/A | | +| `name` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | | +| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `type` | [T.nilable(::StackOne::Shared::ListType)](../../models/shared/listtype.md) | :heavy_minus_sign: | The list type | | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | +| `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Timestamp when the list was last updated | 2021-01-01T01:01:01.000Z | \ No newline at end of file diff --git a/docs/models/shared/lmsbatchupsertcontentrequestdto.md b/docs/models/shared/lmsbatchupsertcontentrequestdto.md new file mode 100644 index 00000000..1d9221dc --- /dev/null +++ b/docs/models/shared/lmsbatchupsertcontentrequestdto.md @@ -0,0 +1,8 @@ +# LmsBatchUpsertContentRequestDto + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `items` | T::Array<[::StackOne::Shared::LmsUpsertContentRequestDto](../../models/shared/lmsupsertcontentrequestdto.md)> | :heavy_check_mark: | The batch of items to upsert | \ No newline at end of file diff --git a/docs/models/shared/lmscreatecompletionrequestdto.md b/docs/models/shared/lmscreatecompletionrequestdto.md index 54f8a99f..a757ea00 100644 --- a/docs/models/shared/lmscreatecompletionrequestdto.md +++ b/docs/models/shared/lmscreatecompletionrequestdto.md @@ -6,6 +6,7 @@ | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | | `completed_at` | *T.nilable(::String)* | :heavy_minus_sign: | The date the content was completed | 2021-07-21T14:00:00.000Z | +| `content_external_reference` | *T.nilable(::String)* | :heavy_minus_sign: | The external ID associated with this content | SOFTWARE-ENG-LV1-TRAINING-VIDEO-1-CONTENT | | `content_id` | *T.nilable(::String)* | :heavy_minus_sign: | The content ID associated with this completion | 16873-ENG-VIDEO-1 | | `external_id` | *T.nilable(::String)* | :heavy_minus_sign: | The external ID associated with this completion | SOFTWARE-ENG-LV1-TRAINING-VIDEO-1-COMPLETION | | `passthrough` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Value to pass through to the provider | {
"other_known_names": "John Doe"
} | diff --git a/docs/models/shared/lmscreatecontentrequestdto.md b/docs/models/shared/lmscreatecontentrequestdto.md index b3b1b5ba..71e83461 100644 --- a/docs/models/shared/lmscreatecontentrequestdto.md +++ b/docs/models/shared/lmscreatecontentrequestdto.md @@ -16,4 +16,5 @@ | `external_reference` | *T.nilable(::String)* | :heavy_minus_sign: | The external ID associated with this content | SOFTWARE-ENG-LV1-TRAINING-VIDEO-1 | | `languages` | T::Array<[::StackOne::Shared::ContentLanguageEnum](../../models/shared/contentlanguageenum.md)> | :heavy_minus_sign: | The languages associated with this content | | | `order` | *T.nilable(::Float)* | :heavy_minus_sign: | The order of the individual content within a content grouping. This is not applicable for pushing individual content. | 1 | -| `title` | *T.nilable(::String)* | :heavy_minus_sign: | The title of the content | Software Engineer Lv 1 | \ No newline at end of file +| `title` | *T.nilable(::String)* | :heavy_minus_sign: | The title of the content | Software Engineer Lv 1 | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | \ No newline at end of file diff --git a/docs/models/shared/lmsupsertcontentrequestdto.md b/docs/models/shared/lmsupsertcontentrequestdto.md index 5b76546f..f07f6cd9 100644 --- a/docs/models/shared/lmsupsertcontentrequestdto.md +++ b/docs/models/shared/lmsupsertcontentrequestdto.md @@ -16,4 +16,5 @@ | `external_reference` | *T.nilable(::String)* | :heavy_minus_sign: | The external ID associated with this content | SOFTWARE-ENG-LV1-TRAINING-VIDEO-1 | | `languages` | T::Array<[::StackOne::Shared::ContentLanguageEnum](../../models/shared/contentlanguageenum.md)> | :heavy_minus_sign: | The languages associated with this content | | | `order` | *T.nilable(::Float)* | :heavy_minus_sign: | The order of the individual content within a content grouping. This is not applicable for pushing individual content. | 1 | -| `title` | *T.nilable(::String)* | :heavy_minus_sign: | The title of the content | Software Engineer Lv 1 | \ No newline at end of file +| `title` | *T.nilable(::String)* | :heavy_minus_sign: | The title of the content | Software Engineer Lv 1 | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | \ No newline at end of file diff --git a/docs/models/shared/lmsuser.md b/docs/models/shared/lmsuser.md index 6c34df69..9d269a1b 100644 --- a/docs/models/shared/lmsuser.md +++ b/docs/models/shared/lmsuser.md @@ -3,12 +3,14 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `created_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The created_at date | 2021-01-01T01:01:01.000Z | -| `email` | *T.nilable(::String)* | :heavy_minus_sign: | The user email | john@dew.com | -| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `name` | *T.nilable(::String)* | :heavy_minus_sign: | The user name | John Dew | -| `phone_number` | *T.nilable(::String)* | :heavy_minus_sign: | The user phone number | +1234567890 | -| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The updated_at date | 2021-01-01T01:01:01.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `created_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The created_at date | 2021-01-01T01:01:01.000Z | +| `email` | *T.nilable(::String)* | :heavy_minus_sign: | The user email | john@dew.com | +| `external_reference` | *T.nilable(::String)* | :heavy_minus_sign: | The external ID associated with this user | al60043 | +| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `name` | *T.nilable(::String)* | :heavy_minus_sign: | The user name | John Dew | +| `phone_number` | *T.nilable(::String)* | :heavy_minus_sign: | The user phone number | +1234567890 | +| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | +| `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The updated_at date | 2021-01-01T01:01:01.000Z | \ No newline at end of file diff --git a/docs/models/shared/moveapplicationresult.md b/docs/models/shared/moveapplicationresult.md new file mode 100644 index 00000000..87529262 --- /dev/null +++ b/docs/models/shared/moveapplicationresult.md @@ -0,0 +1,11 @@ +# MoveApplicationResult + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | +| `data` | [::StackOne::Shared::CreateResultDataApiModel](../../models/shared/createresultdataapimodel.md) | :heavy_check_mark: | N/A | | +| `message` | *::String* | :heavy_check_mark: | N/A | Application moved successfully. | +| `status_code` | *::Float* | :heavy_check_mark: | N/A | 200 | +| `timestamp` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_check_mark: | N/A | 2021-01-01T01:01:01.000Z | \ No newline at end of file diff --git a/docs/models/shared/note.md b/docs/models/shared/note.md index c086e4fe..bb4784c5 100644 --- a/docs/models/shared/note.md +++ b/docs/models/shared/note.md @@ -12,5 +12,6 @@ | `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | | `remote_author_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier of the author | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | | `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | | `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Date of last update | 2021-01-01T01:01:01.000Z | | `visibility` | [T.nilable(::StackOne::Shared::NoteVisibility)](../../models/shared/notevisibility.md) | :heavy_minus_sign: | Visibility of the note | public | \ No newline at end of file diff --git a/docs/models/shared/offer.md b/docs/models/shared/offer.md index c33059b5..5fe2c1eb 100644 --- a/docs/models/shared/offer.md +++ b/docs/models/shared/offer.md @@ -3,16 +3,17 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `application_id` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | | -| `created_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Date of creation | 2021-01-01T01:01:01.000Z | -| `currency` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | | -| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `offer_history` | T::Array<[::StackOne::Shared::OfferHistory](../../models/shared/offerhistory.md)> | :heavy_minus_sign: | N/A | | -| `offer_status` | [T.nilable(::StackOne::Shared::OfferOfferStatus)](../../models/shared/offerofferstatus.md) | :heavy_minus_sign: | N/A | | -| `remote_application_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier of the application | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | -| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `salary` | *T.nilable(::Float)* | :heavy_minus_sign: | N/A | | -| `start_date` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Date of creation | 2021-01-01T01:01:01.000Z | -| `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Date of last update | 2021-01-01T01:01:01.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `application_id` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | | +| `created_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Date of creation | 2021-01-01T01:01:01.000Z | +| `currency` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | | +| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `offer_history` | T::Array<[::StackOne::Shared::OfferHistory](../../models/shared/offerhistory.md)> | :heavy_minus_sign: | N/A | | +| `offer_status` | [T.nilable(::StackOne::Shared::OfferOfferStatus)](../../models/shared/offerofferstatus.md) | :heavy_minus_sign: | N/A | | +| `remote_application_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier of the application | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | +| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `salary` | *T.nilable(::Float)* | :heavy_minus_sign: | N/A | | +| `start_date` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Date of creation | 2021-01-01T01:01:01.000Z | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | +| `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Date of last update | 2021-01-01T01:01:01.000Z | \ No newline at end of file diff --git a/docs/models/shared/rejectapplicationresult.md b/docs/models/shared/rejectapplicationresult.md new file mode 100644 index 00000000..1cf9c96c --- /dev/null +++ b/docs/models/shared/rejectapplicationresult.md @@ -0,0 +1,11 @@ +# RejectApplicationResult + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | +| `data` | [::StackOne::Shared::CreateResultDataApiModel](../../models/shared/createresultdataapimodel.md) | :heavy_check_mark: | N/A | | +| `message` | *::String* | :heavy_check_mark: | N/A | Application rejected successfully. | +| `status_code` | *::Float* | :heavy_check_mark: | N/A | 200 | +| `timestamp` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_check_mark: | N/A | 2021-01-01T01:01:01.000Z | \ No newline at end of file diff --git a/docs/models/shared/rejectedreason.md b/docs/models/shared/rejectedreason.md index 8dff6b1e..d4b389b1 100644 --- a/docs/models/shared/rejectedreason.md +++ b/docs/models/shared/rejectedreason.md @@ -9,4 +9,5 @@ | `label` | *T.nilable(::String)* | :heavy_minus_sign: | The label of the rejected reason. | Failed Phone Screen | | `rejected_reason_type` | [T.nilable(::StackOne::Shared::RejectedReasonType)](../../models/shared/rejectedreasontype.md) | :heavy_minus_sign: | N/A | | | `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| ~~`type`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The string type of the rejected reason. | rejected_by_organization | \ No newline at end of file +| ~~`type`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The string type of the rejected reason. | rejected_by_organization | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | \ No newline at end of file diff --git a/docs/models/shared/scheduledinterviewinterviewstage.md b/docs/models/shared/scheduledinterviewinterviewstage.md index 6744ef52..50a7d8c4 100644 --- a/docs/models/shared/scheduledinterviewinterviewstage.md +++ b/docs/models/shared/scheduledinterviewinterviewstage.md @@ -3,11 +3,12 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `created_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Interview Stage created date | 2021-01-01T01:01:01.000Z | -| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `name` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | | -| `order` | *T.nilable(::Float)* | :heavy_minus_sign: | N/A | | -| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Interview Stage updated date | 2021-01-01T01:01:01.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `created_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Interview Stage created date | 2021-01-01T01:01:01.000Z | +| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `name` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | | +| `order` | *T.nilable(::Float)* | :heavy_minus_sign: | N/A | | +| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | +| `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Interview Stage updated date | 2021-01-01T01:01:01.000Z | \ No newline at end of file diff --git a/docs/models/shared/skillresult.md b/docs/models/shared/skillresult.md new file mode 100644 index 00000000..cd5c5950 --- /dev/null +++ b/docs/models/shared/skillresult.md @@ -0,0 +1,9 @@ +# SkillResult + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `data` | [::StackOne::Shared::Skills](../../models/shared/skills.md) | :heavy_check_mark: | N/A | +| `raw` | T::Array<[::StackOne::Shared::RawResponse](../../models/shared/rawresponse.md)> | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/skills.md b/docs/models/shared/skills.md index b03defba..c01f4c86 100644 --- a/docs/models/shared/skills.md +++ b/docs/models/shared/skills.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `active` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether the category is active and therefore available for use | true | -| `id` | *T.nilable(::String)* | :heavy_minus_sign: | The ID associated with this category | 16873-IT345 | -| `name` | *T.nilable(::String)* | :heavy_minus_sign: | The name associated with this category | Information-Technology | -| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `active` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether the skill is active and therefore available for use | true | +| `id` | *T.nilable(::String)* | :heavy_minus_sign: | The ID associated with this skill | 16873-IT345 | +| `name` | *T.nilable(::String)* | :heavy_minus_sign: | The name associated with this skill | Information-Technology | +| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | \ No newline at end of file diff --git a/docs/models/shared/skillspaginated.md b/docs/models/shared/skillspaginated.md new file mode 100644 index 00000000..32b64ebf --- /dev/null +++ b/docs/models/shared/skillspaginated.md @@ -0,0 +1,10 @@ +# SkillsPaginated + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `data` | T::Array<[::StackOne::Shared::Skills](../../models/shared/skills.md)> | :heavy_check_mark: | N/A | +| `next_` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | +| `raw` | T::Array<[::StackOne::Shared::RawResponse](../../models/shared/rawresponse.md)> | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/worklocation.md b/docs/models/shared/worklocation.md index a8622d2d..45ca2001 100644 --- a/docs/models/shared/worklocation.md +++ b/docs/models/shared/worklocation.md @@ -20,5 +20,6 @@ The employee work location | `state` | *T.nilable(::String)* | :heavy_minus_sign: | The state where the location is situated | Lincolnshire | | `street_1` | *T.nilable(::String)* | :heavy_minus_sign: | The first line of the address | Water Lane | | `street_2` | *T.nilable(::String)* | :heavy_minus_sign: | The second line of the address | Woolsthorpe by Colsterworth | +| `unified_custom_fields` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | | `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The updated_at date | 2021-01-01T01:01:01.000Z | | `zip_code` | *T.nilable(::String)* | :heavy_minus_sign: | The ZIP code/Postal code of the location | NG33 5NR | \ No newline at end of file diff --git a/docs/sdks/accounts/README.md b/docs/sdks/accounts/README.md index 8fb2d146..4a99e60e 100644 --- a/docs/sdks/accounts/README.md +++ b/docs/sdks/accounts/README.md @@ -29,7 +29,7 @@ s.config_security( ) -res = s.accounts.delete_account(id="") +res = s.accounts.delete_account(id="") if ! res.linked_account.nil? # handle response @@ -69,7 +69,7 @@ s.config_security( ) -res = s.accounts.get_account(id="") +res = s.accounts.get_account(id="") if ! res.linked_account.nil? # handle response @@ -109,7 +109,7 @@ s.config_security( ) -res = s.accounts.get_account_meta_info(id="") +res = s.accounts.get_account_meta_info(id="") if ! res.linked_account_meta.nil? # handle response @@ -191,7 +191,7 @@ s.config_security( ) -res = s.accounts.update_account(patch_account_external_dto=::StackOne::Shared::PatchAccountExternalDto.new(), id="") +res = s.accounts.update_account(patch_account_external_dto=::StackOne::Shared::PatchAccountExternalDto.new(), id="") if ! res.linked_account.nil? # handle response diff --git a/docs/sdks/ats/README.md b/docs/sdks/ats/README.md index dc5d3aee..ed5cc291 100644 --- a/docs/sdks/ats/README.md +++ b/docs/sdks/ats/README.md @@ -25,6 +25,7 @@ * [get_interview](#get_interview) - Get Interview * [get_interview_stage](#get_interview_stage) - Get Interview Stage * [get_job](#get_job) - Get Job +* [get_job_custom_field_definition](#get_job_custom_field_definition) - Get Job Custom Field Definition * [get_job_posting](#get_job_posting) - Get Job Posting * [get_list](#get_list) - Get List * [get_location](#get_location) - Get Location @@ -44,6 +45,7 @@ * [list_departments](#list_departments) - List Departments * [list_interview_stages](#list_interview_stages) - List Interview Stages * [list_interviews](#list_interviews) - List Interviews +* [list_job_custom_field_definitions](#list_job_custom_field_definitions) - List Job Custom Field Definitions * [list_job_postings](#list_job_postings) - List Job Postings * [list_jobs](#list_jobs) - List Jobs * [list_lists](#list_lists) - Get all Lists @@ -51,6 +53,8 @@ * [list_offers](#list_offers) - List Offers * [list_rejected_reasons](#list_rejected_reasons) - List Rejected Reasons * [list_users](#list_users) - List Users +* [move_application](#move_application) - Move Application +* [reject_application](#reject_application) - Reject Application * [update_application](#update_application) - Update an Application * [update_candidate](#update_candidate) - Update Candidate * [upload_application_document](#upload_application_document) - Upload Application Document @@ -75,71 +79,75 @@ s.config_security( res = s.ats.create_application(ats_create_application_request_dto=::StackOne::Shared::AtsCreateApplicationRequestDto.new( - application_status: ::StackOne::Shared::AtsCreateApplicationRequestDtoApplicationStatus.new( - source_value: "Hired", - value: ::StackOne::Shared::AtsCreateApplicationRequestDtoValue::HIRED, - ), - candidate: ::StackOne::Shared::AtsCreateApplicationRequestDtoCandidate.new( - company: "Company Inc.", - country: "United States", - custom_fields: [ - ::StackOne::Shared::CandidateCustomFields.new( - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - name: "Training Completion Status", - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - remote_value_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", - value: "Completed", - value_id: "value_456", - ), - ], - email: "sestier.romain123@gmail.com", - first_name: "Romain", - hired_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'), - last_name: "Sestier", - name: "Romain Sestier", - passthrough: { - "synthesize": "", - }, - phone_number: "+1234567890", - social_links: [ - ::StackOne::Shared::SocialLink.new( - type: "linkedin", - url: "https://www.linkedin.com/in/romainsestier/", - ), - ], - title: "Software Engineer", - ), - candidate_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", - job_id: "4071538b-3cac-4fbf-ac76-f78ed250ffdd", - location_id: "dd8d41d1-5eb8-4408-9c87-9ba44604eae4", - passthrough: { - "Global": "", - }, - questionnaires: [ - ::StackOne::Shared::Questionnaire.new( - answers: [ - ::StackOne::Shared::Answer.new( - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - type: ::StackOne::Shared::Type.new( - source_value: "Short Text", - value: ::StackOne::Shared::AnswerValue::SHORT_TEXT, - ), - values: [ - "", - ], - ), - ], + application_status: ::StackOne::Shared::AtsCreateApplicationRequestDtoApplicationStatus.new( + source_value: "Hired", + value: ::StackOne::Shared::AtsCreateApplicationRequestDtoValue::HIRED, + ), + candidate: ::StackOne::Shared::AtsCreateApplicationRequestDtoCandidate.new( + company: "Company Inc.", + country: "United States", + custom_fields: [ + ::StackOne::Shared::CandidateCustomFields.new( id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Training Completion Status", remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remote_value_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + value: "Completed", + value_id: "value_456", ), ], - source: ::StackOne::Shared::AtsCreateApplicationRequestDtoSource.new( - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - name: "LinkedIn", + email: "sestier.romain123@gmail.com", + first_name: "Romain", + hired_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'), + last_name: "Sestier", + name: "Romain Sestier", + passthrough: { + "other_known_names": "John Doe", + }, + phone_number: "+1234567890", + social_links: [ + ::StackOne::Shared::SocialLink.new( + type: "linkedin", + url: "https://www.linkedin.com/in/romainsestier/", + ), + ], + title: "Software Engineer", + unified_custom_fields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + ), + candidate_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + job_id: "4071538b-3cac-4fbf-ac76-f78ed250ffdd", + location_id: "dd8d41d1-5eb8-4408-9c87-9ba44604eae4", + passthrough: { + "other_known_names": "John Doe", + }, + questionnaires: [ + ::StackOne::Shared::Questionnaire.new( + answers: [ + ::StackOne::Shared::Answer.new( + id: "answer1", + remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + type: ::StackOne::Shared::Type.new( + source_value: "Short Text", + value: ::StackOne::Shared::AnswerValue::SHORT_TEXT, + ), + values: [ + "Yes", + ], + ), + ], + id: "right_to_work", remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", ), - ), x_account_id="") + ], + source: ::StackOne::Shared::AtsCreateApplicationRequestDtoSource.new( + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "LinkedIn", + remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ), +), x_account_id="") if ! res.create_result.nil? # handle response @@ -181,35 +189,39 @@ s.config_security( res = s.ats.create_candidate(ats_create_candidate_request_dto=::StackOne::Shared::AtsCreateCandidateRequestDto.new( - company: "Company Inc.", - country: "United States", - custom_fields: [ - ::StackOne::Shared::CandidateCustomFields.new( - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - name: "Training Completion Status", - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - remote_value_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", - value: "Completed", - value_id: "value_456", - ), - ], - email: "sestier.romain123@gmail.com", - first_name: "Romain", - hired_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'), - last_name: "Sestier", - name: "Romain Sestier", - passthrough: { - "discrete": "", - }, - phone_number: "+1234567890", - social_links: [ - ::StackOne::Shared::SocialLink.new( - type: "linkedin", - url: "https://www.linkedin.com/in/romainsestier/", - ), - ], - title: "Software Engineer", - ), x_account_id="") + company: "Company Inc.", + country: "United States", + custom_fields: [ + ::StackOne::Shared::CandidateCustomFields.new( + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Training Completion Status", + remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remote_value_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + value: "Completed", + value_id: "value_456", + ), + ], + email: "sestier.romain123@gmail.com", + first_name: "Romain", + hired_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'), + last_name: "Sestier", + name: "Romain Sestier", + passthrough: { + "other_known_names": "John Doe", + }, + phone_number: "+1234567890", + social_links: [ + ::StackOne::Shared::SocialLink.new( + type: "linkedin", + url: "https://www.linkedin.com/in/romainsestier/", + ), + ], + title: "Software Engineer", + unified_custom_fields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, +), x_account_id="") if ! res.create_result.nil? # handle response @@ -251,20 +263,20 @@ s.config_security( res = s.ats.create_candidate_note(ats_create_notes_request_dto=::StackOne::Shared::AtsCreateNotesRequestDto.new( - author_id: "1234567890", - content: [ - ::StackOne::Shared::NoteContentApiModel.new( - body: "This candidate seems like a good fit for the role", - ), - ], - passthrough: { - "Freeway": "", - }, - visibility: ::StackOne::Shared::Visibility.new( - source_value: "Public", - value: ::StackOne::Shared::AtsCreateNotesRequestDtoValue::PUBLIC, + author_id: "1234567890", + content: [ + ::StackOne::Shared::NoteContentApiModel.new( + body: "This candidate seems like a good fit for the role", ), - ), id="", x_account_id="") + ], + passthrough: { + "other_known_names": "John Doe", + }, + visibility: ::StackOne::Shared::Visibility.new( + source_value: "Public", + value: ::StackOne::Shared::AtsCreateNotesRequestDtoValue::PUBLIC, + ), +), id="", x_account_id="") if ! res.create_result.nil? # handle response @@ -307,22 +319,22 @@ s.config_security( res = s.ats.create_offer(ats_create_offer_request_dto=::StackOne::Shared::AtsCreateOfferRequestDto.new( - offer_history: [ - ::StackOne::Shared::OfferHistory.new( - created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'), - start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), - updated_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'), - ), - ], - offer_status: ::StackOne::Shared::OfferStatus.new( - source_value: "Pending", - value: ::StackOne::Shared::AtsCreateOfferRequestDtoValue::PENDING, + offer_history: [ + ::StackOne::Shared::OfferHistory.new( + created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'), + start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), + updated_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'), ), - passthrough: { - "quas": "", - }, - start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), - ), x_account_id="") + ], + offer_status: ::StackOne::Shared::OfferStatus.new( + source_value: "Pending", + value: ::StackOne::Shared::AtsCreateOfferRequestDtoValue::PENDING, + ), + passthrough: { + "other_known_names": "John Doe", + }, + start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), +), x_account_id="") if ! res.create_result.nil? # handle response @@ -363,7 +375,7 @@ s.config_security( ) -res = s.ats.download_application_document(id="", sub_resource_id="", x_account_id="", format="base64") +res = s.ats.download_application_document(id="", sub_resource_id="", x_account_id="", format="base64") if ! res.bytes.nil? # handle response @@ -1111,8 +1123,9 @@ s.config_security( req = ::StackOne::Operations::AtsGetJobRequest.new( expand: "job_postings,interview_stages", - fields_: "id,remote_id,code,title,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,created_at,updated_at", + fields_: "id,remote_id,code,title,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,custom_fields,created_at,updated_at", id: "", + include: "custom_fields", x_account_id: "", ) @@ -1137,6 +1150,55 @@ end +## get_job_custom_field_definition + +Get Job Custom Field Definition + +### Example Usage + +```ruby +require 'stackone_client' + + +s = ::StackOne::StackOne.new +s.config_security( + ::StackOne::Shared::Security.new( + password: "", + username: "", + ) +) + + +req = ::StackOne::Operations::AtsGetJobCustomFieldDefinitionRequest.new( + fields_: "id,remote_id,name,description,type,options", + filter: ::StackOne::Operations::AtsGetJobCustomFieldDefinitionQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), + id: "", + x_account_id: "", +) + +res = s.ats.get_job_custom_field_definition(req) + +if ! res.custom_field_definition_result_api_model.nil? + # handle response +end + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | +| `request` | [::StackOne::Operations::AtsGetJobCustomFieldDefinitionRequest](../../models/operations/atsgetjobcustomfielddefinitionrequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[T.nilable(::StackOne::Operations::AtsGetJobCustomFieldDefinitionResponse)](../../models/operations/atsgetjobcustomfielddefinitionresponse.md)** + + + + ## get_job_posting Get Job Posting @@ -2045,6 +2107,54 @@ end +## list_job_custom_field_definitions + +List Job Custom Field Definitions + +### Example Usage + +```ruby +require 'stackone_client' + + +s = ::StackOne::StackOne.new +s.config_security( + ::StackOne::Shared::Security.new( + password: "", + username: "", + ) +) + + +req = ::StackOne::Operations::AtsListJobCustomFieldDefinitionsRequest.new( + fields_: "id,remote_id,name,description,type,options", + filter: ::StackOne::Operations::AtsListJobCustomFieldDefinitionsQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), + x_account_id: "", +) + +res = s.ats.list_job_custom_field_definitions(req) + +if ! res.custom_field_definitions_paginated.nil? + # handle response +end + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | +| `request` | [::StackOne::Operations::AtsListJobCustomFieldDefinitionsRequest](../../models/operations/atslistjobcustomfielddefinitionsrequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[T.nilable(::StackOne::Operations::AtsListJobCustomFieldDefinitionsResponse)](../../models/operations/atslistjobcustomfielddefinitionsresponse.md)** + + + + ## list_job_postings List Job Postings @@ -2115,10 +2225,11 @@ s.config_security( req = ::StackOne::Operations::AtsListJobsRequest.new( expand: "job_postings,interview_stages", - fields_: "id,remote_id,code,title,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,created_at,updated_at", + fields_: "id,remote_id,code,title,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,custom_fields,created_at,updated_at", filter: ::StackOne::Operations::AtsListJobsQueryParamFilter.new( updated_after: "2020-01-01T00:00:00.000Z", ), + include: "custom_fields", x_account_id: "", ) @@ -2383,6 +2494,100 @@ end +## move_application + +Move Application + +### Example Usage + +```ruby +require 'stackone_client' + + +s = ::StackOne::StackOne.new +s.config_security( + ::StackOne::Shared::Security.new( + password: "", + username: "", + ) +) + + +res = s.ats.move_application(ats_move_application_request_dto=::StackOne::Shared::AtsMoveApplicationRequestDto.new( + interview_stage_id: "f223d7f6-908b-48f0-9237-b201c307f609", + passthrough: { + "other_known_names": "John Doe", + }, +), id="", x_account_id="") + +if ! res.move_application_result.nil? + # handle response +end + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | +| `ats_move_application_request_dto` | [::StackOne::Shared::AtsMoveApplicationRequestDto](../../models/shared/atsmoveapplicationrequestdto.md) | :heavy_check_mark: | N/A | +| `id` | *::String* | :heavy_check_mark: | N/A | +| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | + +### Response + +**[T.nilable(::StackOne::Operations::AtsMoveApplicationResponse)](../../models/operations/atsmoveapplicationresponse.md)** + + + + +## reject_application + +Reject Application + +### Example Usage + +```ruby +require 'stackone_client' + + +s = ::StackOne::StackOne.new +s.config_security( + ::StackOne::Shared::Security.new( + password: "", + username: "", + ) +) + + +res = s.ats.reject_application(ats_reject_application_request_dto=::StackOne::Shared::AtsRejectApplicationRequestDto.new( + passthrough: { + "other_known_names": "John Doe", + }, + rejected_reason_id: "f223d7f6-908b-48f0-9237-b201c307f609", +), id="", x_account_id="") + +if ! res.reject_application_result.nil? + # handle response +end + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `ats_reject_application_request_dto` | [::StackOne::Shared::AtsRejectApplicationRequestDto](../../models/shared/atsrejectapplicationrequestdto.md) | :heavy_check_mark: | N/A | +| `id` | *::String* | :heavy_check_mark: | N/A | +| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | + +### Response + +**[T.nilable(::StackOne::Operations::AtsRejectApplicationResponse)](../../models/operations/atsrejectapplicationresponse.md)** + + + + ## update_application Update an Application @@ -2403,31 +2608,31 @@ s.config_security( res = s.ats.update_application(ats_update_application_request_dto=::StackOne::Shared::AtsUpdateApplicationRequestDto.new( - application_status: ::StackOne::Shared::AtsUpdateApplicationRequestDtoApplicationStatus.new( - source_value: "Hired", - value: ::StackOne::Shared::AtsUpdateApplicationRequestDtoValue::HIRED, - ), - custom_fields: [ - ::StackOne::Shared::ApplicationCustomFields.new( - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - name: "Training Completion Status", - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - remote_value_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", - value: "Completed", - value_id: "value_456", - ), - ], - interview_stage_id: "18bcbb1b-3cbc-4198-a999-460861d19480", - passthrough: { - "Licensed": "", - }, - rejected_reason_id: "f223d7f6-908b-48f0-9237-b201c307f609", - source: ::StackOne::Shared::AtsUpdateApplicationRequestDtoSource.new( + application_status: ::StackOne::Shared::AtsUpdateApplicationRequestDtoApplicationStatus.new( + source_value: "Hired", + value: ::StackOne::Shared::AtsUpdateApplicationRequestDtoValue::HIRED, + ), + custom_fields: [ + ::StackOne::Shared::ApplicationCustomFields.new( id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - name: "LinkedIn", + name: "Training Completion Status", remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remote_value_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + value: "Completed", + value_id: "value_456", ), - ), id="", x_account_id="") + ], + interview_stage_id: "18bcbb1b-3cbc-4198-a999-460861d19480", + passthrough: { + "other_known_names": "John Doe", + }, + rejected_reason_id: "f223d7f6-908b-48f0-9237-b201c307f609", + source: ::StackOne::Shared::AtsUpdateApplicationRequestDtoSource.new( + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "LinkedIn", + remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ), +), id="", x_account_id="") if ! res.update_result.nil? # handle response @@ -2470,48 +2675,53 @@ s.config_security( res = s.ats.update_candidate(ats_update_candidate_request_dto=::StackOne::Shared::AtsUpdateCandidateRequestDto.new( - application_ids: [ - "", - ], - company: "Company Inc.", - country: "United States", - custom_fields: [ - ::StackOne::Shared::CandidateCustomFields.new( - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - name: "Training Completion Status", - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - remote_value_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", - value: "Completed", - value_id: "value_456", - ), - ], - email: "sestier.romain123@gmail.com", - emails: [ - ::StackOne::Shared::CandidateEmail.new( - type: "personal", - value: "sestier.romain123@gmail.com", - ), - ], - first_name: "Romain", - hired_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'), - last_name: "Sestier", - name: "Romain Sestier", - passthrough: { - "Extended": "", - }, - phone_numbers: [ - ::StackOne::Shared::PhoneNumber.new( - phone: "+447700112233", - ), - ], - social_links: [ - ::StackOne::Shared::SocialLink.new( - type: "linkedin", - url: "https://www.linkedin.com/in/romainsestier/", - ), - ], - title: "Software Engineer", - ), id="", x_account_id="") + application_ids: [ + "123e4567-e89b-12d3-a456-426614174000", + "523e1234-e89b-fdd2-a456-762545121101", + ], + company: "Company Inc.", + country: "United States", + custom_fields: [ + ::StackOne::Shared::CandidateCustomFields.new( + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Training Completion Status", + remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remote_value_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + value: "Completed", + value_id: "value_456", + ), + ], + email: "sestier.romain123@gmail.com", + emails: [ + ::StackOne::Shared::CandidateEmail.new( + type: "personal", + value: "sestier.romain123@gmail.com", + ), + ], + first_name: "Romain", + hired_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'), + last_name: "Sestier", + name: "Romain Sestier", + passthrough: { + "other_known_names": "John Doe", + }, + phone_numbers: [ + ::StackOne::Shared::PhoneNumber.new( + phone: "+447700112233", + ), + ], + social_links: [ + ::StackOne::Shared::SocialLink.new( + type: "linkedin", + url: "https://www.linkedin.com/in/romainsestier/", + ), + ], + title: "Software Engineer", + unified_custom_fields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, +), id="", x_account_id="") if ! res.create_result.nil? # handle response @@ -2554,23 +2764,23 @@ s.config_security( res = s.ats.upload_application_document(unified_upload_request_dto=::StackOne::Shared::UnifiedUploadRequestDto.new( - category: ::StackOne::Shared::UnifiedUploadRequestDtoCategory.new( - source_value: "550e8400-e29b-41d4-a716-446655440000, CUSTOM_CATEGORY_NAME", - value: "reports, resumes", - ), - category_id: "6530", - confidential: ::StackOne::Shared::UnifiedUploadRequestDtoConfidential.new( - source_value: "public", - value: ::StackOne::Shared::UnifiedUploadRequestDtoValue::TRUE, - ), - content: "VGhpcyBpc24ndCByZWFsbHkgYSBzYW1wbGUgZmlsZSwgYnV0IG5vIG9uZSB3aWxsIGV2ZXIga25vdyE", - file_format: ::StackOne::Shared::UnifiedUploadRequestDtoFileFormat.new( - source_value: "abc", - value: ::StackOne::Shared::UnifiedUploadRequestDtoSchemasValue::PDF, - ), - name: "weather-forecast", - path: "/path/to/file", - ), id="", x_account_id="") + category: ::StackOne::Shared::UnifiedUploadRequestDtoCategory.new( + source_value: "550e8400-e29b-41d4-a716-446655440000, CUSTOM_CATEGORY_NAME", + value: "reports, resumes", + ), + category_id: "6530", + confidential: ::StackOne::Shared::UnifiedUploadRequestDtoConfidential.new( + source_value: "public", + value: ::StackOne::Shared::UnifiedUploadRequestDtoValue::TRUE, + ), + content: "VGhpcyBpc24ndCByZWFsbHkgYSBzYW1wbGUgZmlsZSwgYnV0IG5vIG9uZSB3aWxsIGV2ZXIga25vdyE", + file_format: ::StackOne::Shared::UnifiedUploadRequestDtoFileFormat.new( + source_value: "abc", + value: ::StackOne::Shared::UnifiedUploadRequestDtoSchemasValue::PDF, + ), + name: "weather-forecast", + path: "/path/to/file", +), id="", x_account_id="") if ! res.write_result_api_model.nil? # handle response diff --git a/docs/sdks/connectsessions/README.md b/docs/sdks/connectsessions/README.md index d6a94e4a..c185bbf1 100644 --- a/docs/sdks/connectsessions/README.md +++ b/docs/sdks/connectsessions/README.md @@ -72,7 +72,14 @@ s.config_security( req = ::StackOne::Shared::ConnectSessionCreate.new( categories: [ + ::StackOne::Shared::ConnectSessionCreateCategories::ATS, + ::StackOne::Shared::ConnectSessionCreateCategories::HRIS, ::StackOne::Shared::ConnectSessionCreateCategories::HRIS_LEGACY, + ::StackOne::Shared::ConnectSessionCreateCategories::CRM, + ::StackOne::Shared::ConnectSessionCreateCategories::IAM, + ::StackOne::Shared::ConnectSessionCreateCategories::MARKETING, + ::StackOne::Shared::ConnectSessionCreateCategories::LMS, + ::StackOne::Shared::ConnectSessionCreateCategories::STACKONE, ], origin_owner_id: "", origin_owner_name: "", diff --git a/docs/sdks/crm/README.md b/docs/sdks/crm/README.md index 96ea2b85..4d02630c 100644 --- a/docs/sdks/crm/README.md +++ b/docs/sdks/crm/README.md @@ -33,25 +33,27 @@ s.config_security( res = s.crm.create_contact(crm_create_contact_request_dto=::StackOne::Shared::CrmCreateContactRequestDto.new( - account_ids: [ - "", - ], - company_name: "Apple Inc.", - deal_ids: [ - "", - ], - emails: [ - "", - ], - first_name: "Steve", - last_name: "Wozniak", - passthrough: { - "Electric": "", - }, - phone_numbers: [ - "", - ], - ), x_account_id="") + account_ids: [ + "account-123", + "account-456", + ], + company_name: "Apple Inc.", + deal_ids: [ + "deal-001", + "deal-002", + ], + emails: [ + "steve@apple.com", + ], + first_name: "Steve", + last_name: "Wozniak", + passthrough: { + "other_known_names": "John Doe", + }, + phone_numbers: [ + "123-456-7890", + ], +), x_account_id="") if ! res.contact_result.nil? # handle response @@ -377,25 +379,27 @@ s.config_security( res = s.crm.update_contact(crm_create_contact_request_dto=::StackOne::Shared::CrmCreateContactRequestDto.new( - account_ids: [ - "", - ], - company_name: "Apple Inc.", - deal_ids: [ - "", - ], - emails: [ - "", - ], - first_name: "Steve", - last_name: "Wozniak", - passthrough: { - "West": "", - }, - phone_numbers: [ - "", - ], - ), id="", x_account_id="") + account_ids: [ + "account-123", + "account-456", + ], + company_name: "Apple Inc.", + deal_ids: [ + "deal-001", + "deal-002", + ], + emails: [ + "steve@apple.com", + ], + first_name: "Steve", + last_name: "Wozniak", + passthrough: { + "other_known_names": "John Doe", + }, + phone_numbers: [ + "123-456-7890", + ], +), id="", x_account_id="") if ! res.contact_result.nil? # handle response diff --git a/docs/sdks/hris/README.md b/docs/sdks/hris/README.md index bc786af0..9c932c1e 100644 --- a/docs/sdks/hris/README.md +++ b/docs/sdks/hris/README.md @@ -4,6 +4,7 @@ ### Available Operations +* [batch_upload_employee_document](#batch_upload_employee_document) - Batch Upload Employee Document * [create_employee](#create_employee) - Creates an employee * [create_employee_time_off_request](#create_employee_time_off_request) - Create Employee Time Off Request * [create_employee_work_eligibility_request](#create_employee_work_eligibility_request) - Create Employee Work Eligibility Request @@ -42,9 +43,9 @@ * [update_time_off_request](#update_time_off_request) - Update time off request * [upload_employee_document](#upload_employee_document) - Upload Employee Document -## create_employee +## batch_upload_employee_document -Creates an employee +Batch Upload Employee Document ### Example Usage @@ -61,130 +62,204 @@ s.config_security( ) -res = s.hris.create_employee(hris_create_employee_request_dto=::StackOne::Shared::HrisCreateEmployeeRequestDto.new( - avatar: ::StackOne::Shared::HrisCreateEmployeeRequestDtoAvatar.new(), - avatar_url: "https://example.com/avatar.png", - benefits: [ - ::StackOne::Shared::HRISBenefit.new( - created_at: DateTime.iso8601('2021-01-01T00:00:00Z'), - description: "Health insurance for employees", - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - name: "Health Insurance", - provider: "Aetna", - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - updated_at: DateTime.iso8601('2021-01-01T00:00:00Z'), +res = s.hris.batch_upload_employee_document(hris_batch_document_upload_request_dto=::StackOne::Shared::HrisBatchDocumentUploadRequestDto.new( + items: [ + ::StackOne::Shared::HrisDocumentsUploadRequestDto.new( + category: ::StackOne::Shared::HrisDocumentsUploadRequestDtoCategory.new( + source_value: "550e8400-e29b-41d4-a716-446655440000", + value: ::StackOne::Shared::HrisDocumentsUploadRequestDtoValue::ACADEMIC, ), - ], - birthday: DateTime.iso8601('2021-01-01T00:00:00Z'), - citizenships: [ - ::StackOne::Shared::CountryCodeEnum.new( - value: ::StackOne::Shared::CountryCodeEnumValue::US, + category_id: "6530", + confidential: ::StackOne::Shared::Confidential.new( + source_value: "public", + value: ::StackOne::Shared::HrisDocumentsUploadRequestDtoSchemasValue::TRUE, ), - ], - company_name: "Example Corp", - custom_fields: [ - ::StackOne::Shared::EmployeeCustomFields.new( - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - name: "Training Completion Status", - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - remote_value_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", - value: "Completed", - value_id: "value_456", + content: "VGhpcyBpc24ndCByZWFsbHkgYSBzYW1wbGUgZmlsZSwgYnV0IG5vIG9uZSB3aWxsIGV2ZXIga25vdyE", + file_format: ::StackOne::Shared::HrisDocumentsUploadRequestDtoFileFormat.new( + source_value: "abc", + value: ::StackOne::Shared::HrisDocumentsUploadRequestDtoSchemasFileFormatValue::PDF, ), - ], - date_of_birth: DateTime.iso8601('1990-01-01T00:00.000Z'), - department: "Physics", - display_name: "Sir Issac Newton", - employment_contract_type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentContractType.new(), - employment_status: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentStatus.new(), - employment_type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentType.new( - source_value: "Permanent", - value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasEmploymentTypeValue::PERMANENT, + name: "weather-forecast", + path: "/path/to/file", ), - employments: [ - ::StackOne::Shared::Employment.new( - created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'), - effective_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), - employee_id: "1687-3", - employment_contract_type: ::StackOne::Shared::EmploymentEmploymentContractType.new(), - employment_type: ::StackOne::Shared::EmploymentEmploymentType.new( - source_value: "Permanent", - value: ::StackOne::Shared::EmploymentSchemasValue::PERMANENT, - ), - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - job_title: "Software Engineer", - pay_currency: "USD", - pay_frequency: ::StackOne::Shared::PayFrequency.new( - source_value: "Hourly", - value: ::StackOne::Shared::EmploymentSchemasPayFrequencyValue::HOURLY, - ), - pay_period: ::StackOne::Shared::PayPeriod.new( - source_value: "Hour", - value: ::StackOne::Shared::EmploymentSchemasPayPeriodValue::HOUR, - ), - pay_rate: "40.00", - remote_employee_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - updated_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'), - ), - ], - ethnicity: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEthnicity.new(), - first_name: "Issac", - gender: ::StackOne::Shared::HrisCreateEmployeeRequestDtoGender.new(), - hire_date: DateTime.iso8601('2021-01-01T00:00.000Z'), - home_location: ::StackOne::Shared::HrisCreateEmployeeRequestDtoHomeLocation.new( - city: "Grantham", - country: ::StackOne::Shared::HrisCreateEmployeeRequestDtoCountry.new( - value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationValue::US, + ], +), id="", x_account_id="") + +if ! res.batch_result_api_model.nil? + # handle response +end + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | +| `hris_batch_document_upload_request_dto` | [::StackOne::Shared::HrisBatchDocumentUploadRequestDto](../../models/shared/hrisbatchdocumentuploadrequestdto.md) | :heavy_check_mark: | N/A | +| `id` | *::String* | :heavy_check_mark: | N/A | +| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | + +### Response + +**[T.nilable(::StackOne::Operations::HrisBatchUploadEmployeeDocumentResponse)](../../models/operations/hrisbatchuploademployeedocumentresponse.md)** + + + + +## create_employee + +Creates an employee + +### Example Usage + +```ruby +require 'stackone_client' + + +s = ::StackOne::StackOne.new +s.config_security( + ::StackOne::Shared::Security.new( + password: "", + username: "", + ) +) + + +res = s.hris.create_employee(hris_create_employee_request_dto=::StackOne::Shared::HrisCreateEmployeeRequestDto.new( + avatar: ::StackOne::Shared::HrisCreateEmployeeRequestDtoAvatar.new(), + avatar_url: "https://example.com/avatar.png", + benefits: [ + ::StackOne::Shared::HRISBenefit.new( + created_at: DateTime.iso8601('2021-01-01T00:00:00Z'), + description: "Health insurance for employees", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Health Insurance", + provider: "Aetna", + remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + updated_at: DateTime.iso8601('2021-01-01T00:00:00Z'), + ), + ], + birthday: DateTime.iso8601('2021-01-01T00:00:00Z'), + citizenships: [ + ::StackOne::Shared::CountryCodeEnum.new( + value: ::StackOne::Shared::CountryCodeEnumValue::US, + ), + ], + company_name: "Example Corp", + custom_fields: [ + ::StackOne::Shared::EmployeeCustomFields.new( + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Training Completion Status", + remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remote_value_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + value: "Completed", + value_id: "value_456", + ), + ], + date_of_birth: DateTime.iso8601('1990-01-01T00:00.000Z'), + department: "Physics", + department_id: "3093", + display_name: "Sir Issac Newton", + employment_contract_type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentContractType.new(), + employment_status: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentStatus.new(), + employment_type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentType.new( + source_value: "Permanent", + value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasEmploymentTypeValue::PERMANENT, + ), + employments: [ + ::StackOne::Shared::Employment.new( + created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'), + effective_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), + employee_id: "1687-3", + employment_contract_type: ::StackOne::Shared::EmploymentEmploymentContractType.new(), + employment_type: ::StackOne::Shared::EmploymentEmploymentType.new( + source_value: "Permanent", + value: ::StackOne::Shared::EmploymentSchemasValue::PERMANENT, ), id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - name: "Woolsthorpe Manor", - passthrough: { - "Cheese": "", + job_title: "Software Engineer", + pay_currency: "USD", + pay_frequency: ::StackOne::Shared::PayFrequency.new( + source_value: "Hourly", + value: ::StackOne::Shared::EmploymentSchemasPayFrequencyValue::HOURLY, + ), + pay_period: ::StackOne::Shared::PayPeriod.new( + source_value: "Hour", + value: ::StackOne::Shared::EmploymentSchemasPayPeriodValue::HOUR, + ), + pay_rate: "40.00", + remote_employee_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + unified_custom_fields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", }, - phone_number: "+44 1476 860 364", - state: ::StackOne::Shared::State.new(), - street_1: "Water Lane", - street_2: "Woolsthorpe by Colsterworth", - zip_code: "NG33 5NR", + updated_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'), ), - job_id: "R-6789", - job_title: "Physicist", - last_name: "Newton", - manager_id: "67890", - marital_status: ::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus.new(), - name: "Issac Newton", + ], + ethnicity: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEthnicity.new(), + first_name: "Issac", + gender: ::StackOne::Shared::HrisCreateEmployeeRequestDtoGender.new(), + hire_date: DateTime.iso8601('2021-01-01T00:00.000Z'), + home_location: ::StackOne::Shared::HrisCreateEmployeeRequestDtoHomeLocation.new( + city: "Grantham", + country: ::StackOne::Shared::HrisCreateEmployeeRequestDtoCountry.new( + value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationValue::US, + ), + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Woolsthorpe Manor", passthrough: { - "Bugatti": "", + "other_known_names": "John Doe", }, - personal_email: "isaac.newton@example.com", - personal_phone_number: "+1234567890", - preferred_language: ::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage.new( - value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasPreferredLanguageValue::ENG, + phone_number: "+44 1476 860 364", + state: ::StackOne::Shared::State.new(), + street_1: "Water Lane", + street_2: "Woolsthorpe by Colsterworth", + zip_code: "NG33 5NR", + ), + job_id: "R-6789", + job_title: "Physicist", + last_name: "Newton", + manager_id: "67890", + marital_status: ::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus.new(), + name: "Issac Newton", + national_identity_number: ::StackOne::Shared::HrisCreateEmployeeRequestDtoNationalIdentityNumber.new( + type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoType.new( + value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasNationalIdentityNumberValue::SSN, ), - start_date: DateTime.iso8601('2021-01-01T00:00.000Z'), - tenure: 2.0, - termination_date: DateTime.iso8601('2021-01-01T00:00:00Z'), - work_anniversary: DateTime.iso8601('2021-01-01T00:00:00Z'), - work_email: "newton@example.com", - work_location: ::StackOne::Shared::HrisCreateEmployeeRequestDtoWorkLocation.new( - city: "Grantham", - country: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasCountry.new( - value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationValue::US, - ), - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - name: "Woolsthorpe Manor", - passthrough: { - "underneath": "", - }, - phone_number: "+44 1476 860 364", - state: ::StackOne::Shared::HrisCreateEmployeeRequestDtoState.new(), - street_1: "Water Lane", - street_2: "Woolsthorpe by Colsterworth", - zip_code: "NG33 5NR", + value: "123456789", + ), + passthrough: { + "other_known_names": "John Doe", + }, + personal_email: "isaac.newton@example.com", + personal_phone_number: "+1234567890", + preferred_language: ::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage.new( + value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasPreferredLanguageValue::ENG, + ), + start_date: DateTime.iso8601('2021-01-01T00:00.000Z'), + tenure: 2.0, + termination_date: DateTime.iso8601('2021-01-01T00:00:00Z'), + work_anniversary: DateTime.iso8601('2021-01-01T00:00:00Z'), + work_email: "newton@example.com", + work_location: ::StackOne::Shared::HrisCreateEmployeeRequestDtoWorkLocation.new( + city: "Grantham", + country: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasCountry.new( + value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationValue::US, ), - work_phone_number: "+1234567890", - ), x_account_id="") + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Woolsthorpe Manor", + passthrough: { + "other_known_names": "John Doe", + }, + phone_number: "+44 1476 860 364", + state: ::StackOne::Shared::HrisCreateEmployeeRequestDtoState.new(), + street_1: "Water Lane", + street_2: "Woolsthorpe by Colsterworth", + zip_code: "NG33 5NR", + ), + work_phone_number: "+1234567890", +), x_account_id="") if ! res.create_result.nil? # handle response @@ -226,16 +301,16 @@ s.config_security( res = s.hris.create_employee_time_off_request(hris_create_time_off_request_dto=::StackOne::Shared::HrisCreateTimeOffRequestDto.new( - approver_id: "1687-4", - employee_id: "1687-3", - end_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), - end_half_day: true, - passthrough: { - "Passenger": "", - }, - start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), - start_half_day: true, - ), id="", x_account_id="") + approver_id: "1687-4", + employee_id: "1687-3", + end_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), + end_half_day: true, + passthrough: { + "other_known_names": "John Doe", + }, + start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), + start_half_day: true, +), id="", x_account_id="") if ! res.create_result.nil? # handle response @@ -278,33 +353,33 @@ s.config_security( res = s.hris.create_employee_work_eligibility_request(hris_create_work_eligibility_request_dto=::StackOne::Shared::HrisCreateWorkEligibilityRequestDto.new( - document: ::StackOne::Shared::Document.new( - category: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoCategory.new(), - category_id: "6530", - created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'), - file_format: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoFileFormat.new( - source_value: "abc", - value: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoSchemasDocumentValue::PDF, - ), - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - name: "My Document", - path: "/path/to/file", - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - remote_url: "https://example.com/file.pdf", - updated_at: DateTime.iso8601('2021-01-02T01:01:01.000Z'), - ), - issued_by: ::StackOne::Shared::IssuedBy.new( - value: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoValue::US, + document: ::StackOne::Shared::Document.new( + category: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoCategory.new(), + category_id: "6530", + created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'), + file_format: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoFileFormat.new( + source_value: "abc", + value: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoSchemasDocumentValue::PDF, ), - number: "1234567890", - passthrough: { - "green": "", - }, - sub_type: "H1B", - type: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoType.new(), - valid_from: DateTime.iso8601('2021-01-01T00:00.000Z'), - valid_to: DateTime.iso8601('2021-01-01T00:00.000Z'), - ), id="", x_account_id="") + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "My Document", + path: "/path/to/file", + remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remote_url: "https://example.com/file.pdf", + updated_at: DateTime.iso8601('2021-01-02T01:01:01.000Z'), + ), + issued_by: ::StackOne::Shared::IssuedBy.new( + value: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoValue::US, + ), + number: "1234567890", + passthrough: { + "other_known_names": "John Doe", + }, + sub_type: "H1B", + type: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoType.new(), + valid_from: DateTime.iso8601('2021-01-01T00:00.000Z'), + valid_to: DateTime.iso8601('2021-01-01T00:00.000Z'), +), id="", x_account_id="") if ! res.create_result.nil? # handle response @@ -347,16 +422,16 @@ s.config_security( res = s.hris.create_time_off_request(hris_create_time_off_request_dto=::StackOne::Shared::HrisCreateTimeOffRequestDto.new( - approver_id: "1687-4", - employee_id: "1687-3", - end_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), - end_half_day: true, - passthrough: { - "Bicycle": "", - }, - start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), - start_half_day: true, - ), x_account_id="") + approver_id: "1687-4", + employee_id: "1687-3", + end_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), + end_half_day: true, + passthrough: { + "other_known_names": "John Doe", + }, + start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), + start_half_day: true, +), x_account_id="") if ! res.create_result.nil? # handle response @@ -397,7 +472,7 @@ s.config_security( ) -res = s.hris.download_employee_document(id="", sub_resource_id="", x_account_id="", format="base64") +res = s.hris.download_employee_document(id="", sub_resource_id="", x_account_id="", format="base64") if ! res.bytes.nil? # handle response @@ -580,7 +655,7 @@ s.config_security( req = ::StackOne::Operations::HrisGetEmployeeRequest.new( expand: "company,employments,work_location,home_location,custom_fields,groups", - fields_: "id,remote_id,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_title,job_description,department,cost_centers,benefits,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number,national_identity_number", + fields_: "id,remote_id,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,benefits,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number,national_identity_number", id: "", include: "avatar_url,avatar,custom_fields,job_description,benefits", x_account_id: "", @@ -1483,7 +1558,7 @@ s.config_security( req = ::StackOne::Operations::HrisListEmployeesRequest.new( expand: "company,employments,work_location,home_location,custom_fields,groups", - fields_: "id,remote_id,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_title,job_description,department,cost_centers,benefits,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number,national_identity_number", + fields_: "id,remote_id,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,benefits,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number,national_identity_number", filter: ::StackOne::Operations::HrisListEmployeesQueryParamFilter.new( updated_after: "2020-01-01T00:00:00.000Z", ), @@ -1773,129 +1848,140 @@ s.config_security( res = s.hris.update_employee(hris_create_employee_request_dto=::StackOne::Shared::HrisCreateEmployeeRequestDto.new( - avatar: ::StackOne::Shared::HrisCreateEmployeeRequestDtoAvatar.new(), - avatar_url: "https://example.com/avatar.png", - benefits: [ - ::StackOne::Shared::HRISBenefit.new( - created_at: DateTime.iso8601('2021-01-01T00:00:00Z'), - description: "Health insurance for employees", - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - name: "Health Insurance", - provider: "Aetna", - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - updated_at: DateTime.iso8601('2021-01-01T00:00:00Z'), - ), - ], - birthday: DateTime.iso8601('2021-01-01T00:00:00Z'), - citizenships: [ - ::StackOne::Shared::CountryCodeEnum.new( - value: ::StackOne::Shared::CountryCodeEnumValue::US, - ), - ], - company_name: "Example Corp", - custom_fields: [ - ::StackOne::Shared::EmployeeCustomFields.new( - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - name: "Training Completion Status", - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - remote_value_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", - value: "Completed", - value_id: "value_456", - ), - ], - date_of_birth: DateTime.iso8601('1990-01-01T00:00.000Z'), - department: "Physics", - display_name: "Sir Issac Newton", - employment_contract_type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentContractType.new(), - employment_status: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentStatus.new(), - employment_type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentType.new( - source_value: "Permanent", - value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasEmploymentTypeValue::PERMANENT, + avatar: ::StackOne::Shared::HrisCreateEmployeeRequestDtoAvatar.new(), + avatar_url: "https://example.com/avatar.png", + benefits: [ + ::StackOne::Shared::HRISBenefit.new( + created_at: DateTime.iso8601('2021-01-01T00:00:00Z'), + description: "Health insurance for employees", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Health Insurance", + provider: "Aetna", + remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + updated_at: DateTime.iso8601('2021-01-01T00:00:00Z'), ), - employments: [ - ::StackOne::Shared::Employment.new( - created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'), - effective_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), - employee_id: "1687-3", - employment_contract_type: ::StackOne::Shared::EmploymentEmploymentContractType.new(), - employment_type: ::StackOne::Shared::EmploymentEmploymentType.new( - source_value: "Permanent", - value: ::StackOne::Shared::EmploymentSchemasValue::PERMANENT, - ), - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - job_title: "Software Engineer", - pay_currency: "USD", - pay_frequency: ::StackOne::Shared::PayFrequency.new( - source_value: "Hourly", - value: ::StackOne::Shared::EmploymentSchemasPayFrequencyValue::HOURLY, - ), - pay_period: ::StackOne::Shared::PayPeriod.new( - source_value: "Hour", - value: ::StackOne::Shared::EmploymentSchemasPayPeriodValue::HOUR, - ), - pay_rate: "40.00", - remote_employee_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - updated_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'), - ), - ], - ethnicity: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEthnicity.new(), - first_name: "Issac", - gender: ::StackOne::Shared::HrisCreateEmployeeRequestDtoGender.new(), - hire_date: DateTime.iso8601('2021-01-01T00:00.000Z'), - home_location: ::StackOne::Shared::HrisCreateEmployeeRequestDtoHomeLocation.new( - city: "Grantham", - country: ::StackOne::Shared::HrisCreateEmployeeRequestDtoCountry.new( - value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationValue::US, + ], + birthday: DateTime.iso8601('2021-01-01T00:00:00Z'), + citizenships: [ + ::StackOne::Shared::CountryCodeEnum.new( + value: ::StackOne::Shared::CountryCodeEnumValue::US, + ), + ], + company_name: "Example Corp", + custom_fields: [ + ::StackOne::Shared::EmployeeCustomFields.new( + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Training Completion Status", + remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remote_value_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + value: "Completed", + value_id: "value_456", + ), + ], + date_of_birth: DateTime.iso8601('1990-01-01T00:00.000Z'), + department: "Physics", + department_id: "3093", + display_name: "Sir Issac Newton", + employment_contract_type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentContractType.new(), + employment_status: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentStatus.new(), + employment_type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentType.new( + source_value: "Permanent", + value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasEmploymentTypeValue::PERMANENT, + ), + employments: [ + ::StackOne::Shared::Employment.new( + created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'), + effective_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), + employee_id: "1687-3", + employment_contract_type: ::StackOne::Shared::EmploymentEmploymentContractType.new(), + employment_type: ::StackOne::Shared::EmploymentEmploymentType.new( + source_value: "Permanent", + value: ::StackOne::Shared::EmploymentSchemasValue::PERMANENT, ), id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - name: "Woolsthorpe Manor", - passthrough: { - "solid": "", + job_title: "Software Engineer", + pay_currency: "USD", + pay_frequency: ::StackOne::Shared::PayFrequency.new( + source_value: "Hourly", + value: ::StackOne::Shared::EmploymentSchemasPayFrequencyValue::HOURLY, + ), + pay_period: ::StackOne::Shared::PayPeriod.new( + source_value: "Hour", + value: ::StackOne::Shared::EmploymentSchemasPayPeriodValue::HOUR, + ), + pay_rate: "40.00", + remote_employee_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + unified_custom_fields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", }, - phone_number: "+44 1476 860 364", - state: ::StackOne::Shared::State.new(), - street_1: "Water Lane", - street_2: "Woolsthorpe by Colsterworth", - zip_code: "NG33 5NR", + updated_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'), ), - job_id: "R-6789", - job_title: "Physicist", - last_name: "Newton", - manager_id: "67890", - marital_status: ::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus.new(), - name: "Issac Newton", + ], + ethnicity: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEthnicity.new(), + first_name: "Issac", + gender: ::StackOne::Shared::HrisCreateEmployeeRequestDtoGender.new(), + hire_date: DateTime.iso8601('2021-01-01T00:00.000Z'), + home_location: ::StackOne::Shared::HrisCreateEmployeeRequestDtoHomeLocation.new( + city: "Grantham", + country: ::StackOne::Shared::HrisCreateEmployeeRequestDtoCountry.new( + value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationValue::US, + ), + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Woolsthorpe Manor", passthrough: { - "Northeast": "", + "other_known_names": "John Doe", }, - personal_email: "isaac.newton@example.com", - personal_phone_number: "+1234567890", - preferred_language: ::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage.new( - value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasPreferredLanguageValue::ENG, + phone_number: "+44 1476 860 364", + state: ::StackOne::Shared::State.new(), + street_1: "Water Lane", + street_2: "Woolsthorpe by Colsterworth", + zip_code: "NG33 5NR", + ), + job_id: "R-6789", + job_title: "Physicist", + last_name: "Newton", + manager_id: "67890", + marital_status: ::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus.new(), + name: "Issac Newton", + national_identity_number: ::StackOne::Shared::HrisCreateEmployeeRequestDtoNationalIdentityNumber.new( + type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoType.new( + value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasNationalIdentityNumberValue::SSN, ), - start_date: DateTime.iso8601('2021-01-01T00:00.000Z'), - tenure: 2.0, - termination_date: DateTime.iso8601('2021-01-01T00:00:00Z'), - work_anniversary: DateTime.iso8601('2021-01-01T00:00:00Z'), - work_email: "newton@example.com", - work_location: ::StackOne::Shared::HrisCreateEmployeeRequestDtoWorkLocation.new( - city: "Grantham", - country: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasCountry.new( - value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationValue::US, - ), - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - name: "Woolsthorpe Manor", - passthrough: { - "International": "", - }, - phone_number: "+44 1476 860 364", - state: ::StackOne::Shared::HrisCreateEmployeeRequestDtoState.new(), - street_1: "Water Lane", - street_2: "Woolsthorpe by Colsterworth", - zip_code: "NG33 5NR", + value: "123456789", + ), + passthrough: { + "other_known_names": "John Doe", + }, + personal_email: "isaac.newton@example.com", + personal_phone_number: "+1234567890", + preferred_language: ::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage.new( + value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasPreferredLanguageValue::ENG, + ), + start_date: DateTime.iso8601('2021-01-01T00:00.000Z'), + tenure: 2.0, + termination_date: DateTime.iso8601('2021-01-01T00:00:00Z'), + work_anniversary: DateTime.iso8601('2021-01-01T00:00:00Z'), + work_email: "newton@example.com", + work_location: ::StackOne::Shared::HrisCreateEmployeeRequestDtoWorkLocation.new( + city: "Grantham", + country: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasCountry.new( + value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationValue::US, ), - work_phone_number: "+1234567890", - ), id="", x_account_id="") + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Woolsthorpe Manor", + passthrough: { + "other_known_names": "John Doe", + }, + phone_number: "+44 1476 860 364", + state: ::StackOne::Shared::HrisCreateEmployeeRequestDtoState.new(), + street_1: "Water Lane", + street_2: "Woolsthorpe by Colsterworth", + zip_code: "NG33 5NR", + ), + work_phone_number: "+1234567890", +), id="", x_account_id="") if ! res.create_result.nil? # handle response @@ -1938,33 +2024,33 @@ s.config_security( res = s.hris.update_employee_work_eligibility_request(hris_create_work_eligibility_request_dto=::StackOne::Shared::HrisCreateWorkEligibilityRequestDto.new( - document: ::StackOne::Shared::Document.new( - category: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoCategory.new(), - category_id: "6530", - created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'), - file_format: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoFileFormat.new( - source_value: "abc", - value: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoSchemasDocumentValue::PDF, - ), - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - name: "My Document", - path: "/path/to/file", - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - remote_url: "https://example.com/file.pdf", - updated_at: DateTime.iso8601('2021-01-02T01:01:01.000Z'), - ), - issued_by: ::StackOne::Shared::IssuedBy.new( - value: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoValue::US, + document: ::StackOne::Shared::Document.new( + category: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoCategory.new(), + category_id: "6530", + created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'), + file_format: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoFileFormat.new( + source_value: "abc", + value: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoSchemasDocumentValue::PDF, ), - number: "1234567890", - passthrough: { - "evolve": "", - }, - sub_type: "H1B", - type: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoType.new(), - valid_from: DateTime.iso8601('2021-01-01T00:00.000Z'), - valid_to: DateTime.iso8601('2021-01-01T00:00.000Z'), - ), id="", sub_resource_id="", x_account_id="") + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "My Document", + path: "/path/to/file", + remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remote_url: "https://example.com/file.pdf", + updated_at: DateTime.iso8601('2021-01-02T01:01:01.000Z'), + ), + issued_by: ::StackOne::Shared::IssuedBy.new( + value: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoValue::US, + ), + number: "1234567890", + passthrough: { + "other_known_names": "John Doe", + }, + sub_type: "H1B", + type: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoType.new(), + valid_from: DateTime.iso8601('2021-01-01T00:00.000Z'), + valid_to: DateTime.iso8601('2021-01-01T00:00.000Z'), +), id="", sub_resource_id="", x_account_id="") if res.status_code == 200 # handle response @@ -2008,16 +2094,16 @@ s.config_security( res = s.hris.update_time_off_request(hris_create_time_off_request_dto=::StackOne::Shared::HrisCreateTimeOffRequestDto.new( - approver_id: "1687-4", - employee_id: "1687-3", - end_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), - end_half_day: true, - passthrough: { - "Sports": "", - }, - start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), - start_half_day: true, - ), id="", x_account_id="") + approver_id: "1687-4", + employee_id: "1687-3", + end_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), + end_half_day: true, + passthrough: { + "other_known_names": "John Doe", + }, + start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), + start_half_day: true, +), id="", x_account_id="") if ! res.create_result.nil? # handle response @@ -2060,23 +2146,23 @@ s.config_security( res = s.hris.upload_employee_document(hris_documents_upload_request_dto=::StackOne::Shared::HrisDocumentsUploadRequestDto.new( - category: ::StackOne::Shared::HrisDocumentsUploadRequestDtoCategory.new( - source_value: "550e8400-e29b-41d4-a716-446655440000", - value: ::StackOne::Shared::HrisDocumentsUploadRequestDtoValue::UNMAPPED_VALUE, - ), - category_id: "6530", - confidential: ::StackOne::Shared::Confidential.new( - source_value: "public", - value: ::StackOne::Shared::HrisDocumentsUploadRequestDtoSchemasValue::TRUE, - ), - content: "VGhpcyBpc24ndCByZWFsbHkgYSBzYW1wbGUgZmlsZSwgYnV0IG5vIG9uZSB3aWxsIGV2ZXIga25vdyE", - file_format: ::StackOne::Shared::HrisDocumentsUploadRequestDtoFileFormat.new( - source_value: "abc", - value: ::StackOne::Shared::HrisDocumentsUploadRequestDtoSchemasFileFormatValue::PDF, - ), - name: "weather-forecast", - path: "/path/to/file", - ), id="", x_account_id="") + category: ::StackOne::Shared::HrisDocumentsUploadRequestDtoCategory.new( + source_value: "550e8400-e29b-41d4-a716-446655440000", + value: ::StackOne::Shared::HrisDocumentsUploadRequestDtoValue::UNMAPPED_VALUE, + ), + category_id: "6530", + confidential: ::StackOne::Shared::Confidential.new( + source_value: "public", + value: ::StackOne::Shared::HrisDocumentsUploadRequestDtoSchemasValue::TRUE, + ), + content: "VGhpcyBpc24ndCByZWFsbHkgYSBzYW1wbGUgZmlsZSwgYnV0IG5vIG9uZSB3aWxsIGV2ZXIga25vdyE", + file_format: ::StackOne::Shared::HrisDocumentsUploadRequestDtoFileFormat.new( + source_value: "abc", + value: ::StackOne::Shared::HrisDocumentsUploadRequestDtoSchemasFileFormatValue::PDF, + ), + name: "weather-forecast", + path: "/path/to/file", +), id="", x_account_id="") if ! res.write_result_api_model.nil? # handle response diff --git a/docs/sdks/lms/README.md b/docs/sdks/lms/README.md index edbb0715..ad3d3ba2 100644 --- a/docs/sdks/lms/README.md +++ b/docs/sdks/lms/README.md @@ -4,25 +4,33 @@ ### Available Operations -* [create_completion](#create_completion) - Create User Completion +* [batch_upsert_content](#batch_upsert_content) - Batch Upsert Content * [create_content](#create_content) - Create Content -* [get_assignment](#get_assignment) - Get User Assignment +* [create_user_completion](#create_user_completion) - Create User Completion +* [get_assignment](#get_assignment) - Get Assignment * [get_category](#get_category) - Get Category +* [get_completion](#get_completion) - Get Completion * [get_content](#get_content) - Get Content * [get_course](#get_course) - Get Course +* [get_skill](#get_skill) - Get Skill * [get_user](#get_user) - Get User -* [list_assignments](#list_assignments) - List User Assignments +* [get_user_assignment](#get_user_assignment) - Get User Assignment +* [get_user_completion](#get_user_completion) - Get User Completion +* [list_assignments](#list_assignments) - List Assignments * [list_categories](#list_categories) - List Categories -* [list_completions](#list_completions) - List User Completions +* [list_completions](#list_completions) - List Completions * [list_content](#list_content) - List Content * [list_courses](#list_courses) - List Courses +* [list_skills](#list_skills) - List Skills +* [list_user_assignments](#list_user_assignments) - List User Assignments +* [list_user_completions](#list_user_completions) - List User Completions * [list_users](#list_users) - List Users * [update_content](#update_content) - Update Content * [upsert_content](#upsert_content) - Upsert Content -## create_completion +## batch_upsert_content -Create User Completion +Batch Upsert Content ### Example Usage @@ -39,16 +47,44 @@ s.config_security( ) -res = s.lms.create_completion(lms_create_completion_request_dto=::StackOne::Shared::LmsCreateCompletionRequestDto.new( - completed_at: "2021-07-21T14:00:00.000Z", - content_id: "16873-ENG-VIDEO-1", - external_id: "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1-COMPLETION", - passthrough: { - "driver": "", - }, - ), id="", x_account_id="") - -if ! res.create_result.nil? +res = s.lms.batch_upsert_content(lms_batch_upsert_content_request_dto=::StackOne::Shared::LmsBatchUpsertContentRequestDto.new( + items: [ + ::StackOne::Shared::LmsUpsertContentRequestDto.new( + active: true, + categories: [ + ::StackOne::Shared::CreateCategoriesApiModel.new( + active: true, + name: "Technology", + unified_custom_fields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + ), + ], + content_url: "https://www.youtube.com/watch?v=16873", + course_ids: [ + "16873-SOFTWARE-ENG-COURSE", + ], + cover_url: "https://www.googledrive.com/?v=16873", + description: "This video acts as learning content for software engineers.", + duration: "P3Y6M4DT12H30M5S", + external_reference: "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", + languages: [ + ::StackOne::Shared::ContentLanguageEnum.new( + value: ::StackOne::Shared::ContentLanguageEnumValue::EN_GB, + ), + ], + order: 1.0, + title: "Software Engineer Lv 1", + unified_custom_fields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + ), + ], +), x_account_id="") + +if ! res.batch_result_api_model.nil? # handle response end @@ -56,15 +92,14 @@ end ### Parameters -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -| `lms_create_completion_request_dto` | [::StackOne::Shared::LmsCreateCompletionRequestDto](../../models/shared/lmscreatecompletionrequestdto.md) | :heavy_check_mark: | N/A | -| `id` | *::String* | :heavy_check_mark: | N/A | -| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `lms_batch_upsert_content_request_dto` | [::StackOne::Shared::LmsBatchUpsertContentRequestDto](../../models/shared/lmsbatchupsertcontentrequestdto.md) | :heavy_check_mark: | N/A | +| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | ### Response -**[T.nilable(::StackOne::Operations::LmsCreateCompletionResponse)](../../models/operations/lmscreatecompletionresponse.md)** +**[T.nilable(::StackOne::Operations::LmsBatchUpsertContentResponse)](../../models/operations/lmsbatchupsertcontentresponse.md)** @@ -89,29 +124,37 @@ s.config_security( res = s.lms.create_content(lms_create_content_request_dto=::StackOne::Shared::LmsCreateContentRequestDto.new( - active: true, - categories: [ - ::StackOne::Shared::CreateCategoriesApiModel.new( - active: true, - name: "Information-Technology", - ), - ], - content_url: "https://www.youtube.com/watch?v=16873", - course_ids: [ - "", - ], - cover_url: "https://www.googledrive.com/?v=16873", - description: "This video acts as learning content for software engineers.", - duration: "P3Y6M4DT12H30M5S", - external_reference: "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", - languages: [ - ::StackOne::Shared::ContentLanguageEnum.new( - value: ::StackOne::Shared::ContentLanguageEnumValue::EN_GB, - ), - ], - order: 1.0, - title: "Software Engineer Lv 1", - ), x_account_id="") + active: true, + categories: [ + ::StackOne::Shared::CreateCategoriesApiModel.new( + active: true, + name: "Technology", + unified_custom_fields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + ), + ], + content_url: "https://www.youtube.com/watch?v=16873", + course_ids: [ + "16873-SOFTWARE-ENG-COURSE", + ], + cover_url: "https://www.googledrive.com/?v=16873", + description: "This video acts as learning content for software engineers.", + duration: "P3Y6M4DT12H30M5S", + external_reference: "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", + languages: [ + ::StackOne::Shared::ContentLanguageEnum.new( + value: ::StackOne::Shared::ContentLanguageEnumValue::EN_GB, + ), + ], + order: 1.0, + title: "Software Engineer Lv 1", + unified_custom_fields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, +), x_account_id="") if ! res.create_result.nil? # handle response @@ -133,9 +176,59 @@ end +## create_user_completion + +Create User Completion + +### Example Usage + +```ruby +require 'stackone_client' + + +s = ::StackOne::StackOne.new +s.config_security( + ::StackOne::Shared::Security.new( + password: "", + username: "", + ) +) + + +res = s.lms.create_user_completion(lms_create_completion_request_dto=::StackOne::Shared::LmsCreateCompletionRequestDto.new( + completed_at: "2021-07-21T14:00:00.000Z", + content_external_reference: "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1-CONTENT", + content_id: "16873-ENG-VIDEO-1", + external_id: "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1-COMPLETION", + passthrough: { + "other_known_names": "John Doe", + }, +), id="", x_account_id="") + +if ! res.create_result.nil? + # handle response +end + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | +| `lms_create_completion_request_dto` | [::StackOne::Shared::LmsCreateCompletionRequestDto](../../models/shared/lmscreatecompletionrequestdto.md) | :heavy_check_mark: | N/A | +| `id` | *::String* | :heavy_check_mark: | N/A | +| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | + +### Response + +**[T.nilable(::StackOne::Operations::LmsCreateUserCompletionResponse)](../../models/operations/lmscreateusercompletionresponse.md)** + + + + ## get_assignment -Get User Assignment +Get Assignment ### Example Usage @@ -154,7 +247,6 @@ s.config_security( req = ::StackOne::Operations::LmsGetAssignmentRequest.new( id: "", - sub_resource_id: "", x_account_id: "", ) @@ -225,6 +317,51 @@ end +## get_completion + +Get Completion + +### Example Usage + +```ruby +require 'stackone_client' + + +s = ::StackOne::StackOne.new +s.config_security( + ::StackOne::Shared::Security.new( + password: "", + username: "", + ) +) + + +req = ::StackOne::Operations::LmsGetCompletionRequest.new( + id: "", + x_account_id: "", +) + +res = s.lms.get_completion(req) + +if ! res.completion_result.nil? + # handle response +end + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | +| `request` | [::StackOne::Operations::LmsGetCompletionRequest](../../models/operations/lmsgetcompletionrequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[T.nilable(::StackOne::Operations::LmsGetCompletionResponse)](../../models/operations/lmsgetcompletionresponse.md)** + + + + ## get_content Get Content @@ -317,6 +454,52 @@ end +## get_skill + +Get Skill + +### Example Usage + +```ruby +require 'stackone_client' + + +s = ::StackOne::StackOne.new +s.config_security( + ::StackOne::Shared::Security.new( + password: "", + username: "", + ) +) + + +req = ::StackOne::Operations::LmsGetSkillRequest.new( + fields_: "id,remote_id,name,active,level", + id: "", + x_account_id: "", +) + +res = s.lms.get_skill(req) + +if ! res.skill_result.nil? + # handle response +end + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `request` | [::StackOne::Operations::LmsGetSkillRequest](../../models/operations/lmsgetskillrequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[T.nilable(::StackOne::Operations::LmsGetSkillResponse)](../../models/operations/lmsgetskillresponse.md)** + + + + ## get_user Get User @@ -337,7 +520,7 @@ s.config_security( req = ::StackOne::Operations::LmsGetUserRequest.new( - fields_: "id,remote_id,email,phone_number,created_at,updated_at,name", + fields_: "id,remote_id,external_reference,email,phone_number,created_at,updated_at,name", id: "", x_account_id: "", ) @@ -363,9 +546,101 @@ end +## get_user_assignment + +Get User Assignment + +### Example Usage + +```ruby +require 'stackone_client' + + +s = ::StackOne::StackOne.new +s.config_security( + ::StackOne::Shared::Security.new( + password: "", + username: "", + ) +) + + +req = ::StackOne::Operations::LmsGetUserAssignmentRequest.new( + id: "", + sub_resource_id: "", + x_account_id: "", +) + +res = s.lms.get_user_assignment(req) + +if ! res.assignment_result.nil? + # handle response +end + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `request` | [::StackOne::Operations::LmsGetUserAssignmentRequest](../../models/operations/lmsgetuserassignmentrequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[T.nilable(::StackOne::Operations::LmsGetUserAssignmentResponse)](../../models/operations/lmsgetuserassignmentresponse.md)** + + + + +## get_user_completion + +Get User Completion + +### Example Usage + +```ruby +require 'stackone_client' + + +s = ::StackOne::StackOne.new +s.config_security( + ::StackOne::Shared::Security.new( + password: "", + username: "", + ) +) + + +req = ::StackOne::Operations::LmsGetUserCompletionRequest.new( + id: "", + sub_resource_id: "", + x_account_id: "", +) + +res = s.lms.get_user_completion(req) + +if ! res.completion_result.nil? + # handle response +end + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `request` | [::StackOne::Operations::LmsGetUserCompletionRequest](../../models/operations/lmsgetusercompletionrequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[T.nilable(::StackOne::Operations::LmsGetUserCompletionResponse)](../../models/operations/lmsgetusercompletionresponse.md)** + + + + ## list_assignments -List User Assignments +List Assignments ### Example Usage @@ -383,11 +658,12 @@ s.config_security( req = ::StackOne::Operations::LmsListAssignmentsRequest.new( - fields_: "id,remote_id,external_id,remote_external_id,course_id,remote_course_id,updated_at,created_at,due_date,status", + fields_: "id,remote_id,user_id,remote_user_id,course_id,remote_course_id,updated_at,created_at,due_date,status", filter: ::StackOne::Operations::LmsListAssignmentsQueryParamFilter.new( updated_after: "2020-01-01T00:00:00.000Z", ), - id: "", + remote_user_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + user_id: "c28xyrc55866bvuv", x_account_id: "", ) @@ -462,7 +738,7 @@ end ## list_completions -List User Completions +List Completions ### Example Usage @@ -480,11 +756,12 @@ s.config_security( req = ::StackOne::Operations::LmsListCompletionsRequest.new( - fields_: "id,remote_id,external_id,remote_external_id,content_id,remote_content_id,user_id,remote_user_id,completed_at,updated_at,created_at,result", + fields_: "id,remote_id,external_id,remote_external_id,content_id,remote_content_id,user_id,remote_user_id,completed_at,updated_at,created_at,result,content_external_reference", filter: ::StackOne::Operations::LmsListCompletionsQueryParamFilter.new( updated_after: "2020-01-01T00:00:00.000Z", ), - id: "", + remote_user_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + user_id: "746359", x_account_id: "", ) @@ -605,6 +882,156 @@ end +## list_skills + +List Skills + +### Example Usage + +```ruby +require 'stackone_client' + + +s = ::StackOne::StackOne.new +s.config_security( + ::StackOne::Shared::Security.new( + password: "", + username: "", + ) +) + + +req = ::StackOne::Operations::LmsListSkillsRequest.new( + fields_: "id,remote_id,name,active,level", + filter: ::StackOne::Operations::LmsListSkillsQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), + x_account_id: "", +) + +res = s.lms.list_skills(req) + +if ! res.skills_paginated.nil? + # handle response +end + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | +| `request` | [::StackOne::Operations::LmsListSkillsRequest](../../models/operations/lmslistskillsrequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[T.nilable(::StackOne::Operations::LmsListSkillsResponse)](../../models/operations/lmslistskillsresponse.md)** + + + + +## list_user_assignments + +List User Assignments + +### Example Usage + +```ruby +require 'stackone_client' + + +s = ::StackOne::StackOne.new +s.config_security( + ::StackOne::Shared::Security.new( + password: "", + username: "", + ) +) + + +req = ::StackOne::Operations::LmsListUserAssignmentsRequest.new( + fields_: "id,remote_id,user_id,remote_user_id,course_id,remote_course_id,updated_at,created_at,due_date,status", + filter: ::StackOne::Operations::LmsListUserAssignmentsQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), + id: "", + remote_user_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + user_id: "c28xyrc55866bvuv", + x_account_id: "", +) + +res = s.lms.list_user_assignments(req) + +if ! res.assignments_paginated.nil? + # handle response +end + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | +| `request` | [::StackOne::Operations::LmsListUserAssignmentsRequest](../../models/operations/lmslistuserassignmentsrequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[T.nilable(::StackOne::Operations::LmsListUserAssignmentsResponse)](../../models/operations/lmslistuserassignmentsresponse.md)** + + + + +## list_user_completions + +List User Completions + +### Example Usage + +```ruby +require 'stackone_client' + + +s = ::StackOne::StackOne.new +s.config_security( + ::StackOne::Shared::Security.new( + password: "", + username: "", + ) +) + + +req = ::StackOne::Operations::LmsListUserCompletionsRequest.new( + fields_: "id,remote_id,external_id,remote_external_id,content_id,remote_content_id,user_id,remote_user_id,completed_at,updated_at,created_at,result,content_external_reference", + filter: ::StackOne::Operations::LmsListUserCompletionsQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), + id: "", + remote_user_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + user_id: "746359", + x_account_id: "", +) + +res = s.lms.list_user_completions(req) + +if ! res.completions_paginated.nil? + # handle response +end + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | +| `request` | [::StackOne::Operations::LmsListUserCompletionsRequest](../../models/operations/lmslistusercompletionsrequest.md) | :heavy_check_mark: | The request object to use for the request. | + +### Response + +**[T.nilable(::StackOne::Operations::LmsListUserCompletionsResponse)](../../models/operations/lmslistusercompletionsresponse.md)** + + + + ## list_users List Users @@ -625,7 +1052,7 @@ s.config_security( req = ::StackOne::Operations::LmsListUsersRequest.new( - fields_: "id,remote_id,email,phone_number,created_at,updated_at,name", + fields_: "id,remote_id,external_reference,email,phone_number,created_at,updated_at,name", filter: ::StackOne::Operations::LmsListUsersQueryParamFilter.new( updated_after: "2020-01-01T00:00:00.000Z", ), @@ -673,29 +1100,37 @@ s.config_security( res = s.lms.update_content(lms_create_content_request_dto=::StackOne::Shared::LmsCreateContentRequestDto.new( - active: true, - categories: [ - ::StackOne::Shared::CreateCategoriesApiModel.new( - active: true, - name: "Information-Technology", - ), - ], - content_url: "https://www.youtube.com/watch?v=16873", - course_ids: [ - "", - ], - cover_url: "https://www.googledrive.com/?v=16873", - description: "This video acts as learning content for software engineers.", - duration: "P3Y6M4DT12H30M5S", - external_reference: "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", - languages: [ - ::StackOne::Shared::ContentLanguageEnum.new( - value: ::StackOne::Shared::ContentLanguageEnumValue::EN_GB, - ), - ], - order: 1.0, - title: "Software Engineer Lv 1", - ), id="", x_account_id="") + active: true, + categories: [ + ::StackOne::Shared::CreateCategoriesApiModel.new( + active: true, + name: "Technology", + unified_custom_fields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + ), + ], + content_url: "https://www.youtube.com/watch?v=16873", + course_ids: [ + "16873-SOFTWARE-ENG-COURSE", + ], + cover_url: "https://www.googledrive.com/?v=16873", + description: "This video acts as learning content for software engineers.", + duration: "P3Y6M4DT12H30M5S", + external_reference: "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", + languages: [ + ::StackOne::Shared::ContentLanguageEnum.new( + value: ::StackOne::Shared::ContentLanguageEnumValue::EN_GB, + ), + ], + order: 1.0, + title: "Software Engineer Lv 1", + unified_custom_fields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, +), id="", x_account_id="") if ! res.update_result.nil? # handle response @@ -738,29 +1173,37 @@ s.config_security( res = s.lms.upsert_content(lms_upsert_content_request_dto=::StackOne::Shared::LmsUpsertContentRequestDto.new( - active: true, - categories: [ - ::StackOne::Shared::CreateCategoriesApiModel.new( - active: true, - name: "Information-Technology", - ), - ], - content_url: "https://www.youtube.com/watch?v=16873", - course_ids: [ - "", - ], - cover_url: "https://www.googledrive.com/?v=16873", - description: "This video acts as learning content for software engineers.", - duration: "P3Y6M4DT12H30M5S", - external_reference: "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", - languages: [ - ::StackOne::Shared::ContentLanguageEnum.new( - value: ::StackOne::Shared::ContentLanguageEnumValue::EN_GB, - ), - ], - order: 1.0, - title: "Software Engineer Lv 1", - ), x_account_id="") + active: true, + categories: [ + ::StackOne::Shared::CreateCategoriesApiModel.new( + active: true, + name: "Technology", + unified_custom_fields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + ), + ], + content_url: "https://www.youtube.com/watch?v=16873", + course_ids: [ + "16873-SOFTWARE-ENG-COURSE", + ], + cover_url: "https://www.googledrive.com/?v=16873", + description: "This video acts as learning content for software engineers.", + duration: "P3Y6M4DT12H30M5S", + external_reference: "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", + languages: [ + ::StackOne::Shared::ContentLanguageEnum.new( + value: ::StackOne::Shared::ContentLanguageEnumValue::EN_GB, + ), + ], + order: 1.0, + title: "Software Engineer Lv 1", + unified_custom_fields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, +), x_account_id="") if ! res.create_result.nil? # handle response diff --git a/docs/sdks/marketing/README.md b/docs/sdks/marketing/README.md index ddd0c0ed..e4074a33 100644 --- a/docs/sdks/marketing/README.md +++ b/docs/sdks/marketing/README.md @@ -51,10 +51,10 @@ s.config_security( res = s.marketing.create_content_block(marketing_create_content_blocks_request_dto=::StackOne::Shared::MarketingCreateContentBlocksRequestDto.new( - passthrough: { - "Bike": "", - }, - ), x_account_id="") + passthrough: { + "other_known_names": "John Doe", + }, +), x_account_id="") if ! res.create_result.nil? # handle response @@ -96,19 +96,19 @@ s.config_security( res = s.marketing.create_email_template(marketing_create_email_template_request_dto=::StackOne::Shared::MarketingCreateEmailTemplateRequestDto.new( - messages: [ - ::StackOne::Shared::EmailMessages.new( - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - message_type: ::StackOne::Shared::MessageType.new( - source_value: "Email", - ), - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + messages: [ + ::StackOne::Shared::EmailMessages.new( + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + message_type: ::StackOne::Shared::MessageType.new( + source_value: "Email", ), - ], - passthrough: { - "Non": "", - }, - ), x_account_id="") + remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ), + ], + passthrough: { + "other_known_names": "John Doe", + }, +), x_account_id="") if ! res.create_result.nil? # handle response @@ -150,19 +150,19 @@ s.config_security( res = s.marketing.create_in_app_template(marketing_create_in_app_template_request_dto=::StackOne::Shared::MarketingCreateInAppTemplateRequestDto.new( - messages: [ - ::StackOne::Shared::InAppMessages.new( - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - message_type: ::StackOne::Shared::InAppMessagesMessageType.new( - source_value: "Email", - ), - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + messages: [ + ::StackOne::Shared::InAppMessages.new( + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + message_type: ::StackOne::Shared::InAppMessagesMessageType.new( + source_value: "Email", ), - ], - passthrough: { - "Qatar": "", - }, - ), x_account_id="") + remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ), + ], + passthrough: { + "other_known_names": "John Doe", + }, +), x_account_id="") if ! res.create_result.nil? # handle response @@ -206,19 +206,19 @@ s.config_security( res = s.marketing.create_omni_channel_template(marketing_create_template_request_dto=::StackOne::Shared::MarketingCreateTemplateRequestDto.new( - messages: [ - ::StackOne::Shared::Message.new( - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - message_type: ::StackOne::Shared::MessageMessageType.new( - source_value: "Email", - ), - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + messages: [ + ::StackOne::Shared::Message.new( + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + message_type: ::StackOne::Shared::MessageMessageType.new( + source_value: "Email", ), - ], - passthrough: { - "Cargo": "", - }, - ), x_account_id="") + remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ), + ], + passthrough: { + "other_known_names": "John Doe", + }, +), x_account_id="") if ! res.create_result.nil? # handle response @@ -260,19 +260,19 @@ s.config_security( res = s.marketing.create_push_template(marketing_create_push_template_request_dto=::StackOne::Shared::MarketingCreatePushTemplateRequestDto.new( - messages: [ - ::StackOne::Shared::PushMessages.new( - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - message_type: ::StackOne::Shared::PushMessagesMessageType.new( - source_value: "Email", - ), - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + messages: [ + ::StackOne::Shared::PushMessages.new( + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + message_type: ::StackOne::Shared::PushMessagesMessageType.new( + source_value: "Email", ), - ], - passthrough: { - "turban": "", - }, - ), x_account_id="") + remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ), + ], + passthrough: { + "other_known_names": "John Doe", + }, +), x_account_id="") if ! res.create_result.nil? # handle response @@ -314,19 +314,19 @@ s.config_security( res = s.marketing.create_sms_template(marketing_create_sms_template_request_dto=::StackOne::Shared::MarketingCreateSmsTemplateRequestDto.new( - messages: [ - ::StackOne::Shared::SmsMessages.new( - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - message_type: ::StackOne::Shared::SmsMessagesMessageType.new( - source_value: "Email", - ), - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + messages: [ + ::StackOne::Shared::SmsMessages.new( + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + message_type: ::StackOne::Shared::SmsMessagesMessageType.new( + source_value: "Email", ), - ], - passthrough: { - "City": "", - }, - ), x_account_id="") + remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ), + ], + passthrough: { + "other_known_names": "John Doe", + }, +), x_account_id="") if ! res.create_result.nil? # handle response @@ -1030,10 +1030,10 @@ s.config_security( res = s.marketing.update_content_block(marketing_create_content_blocks_request_dto=::StackOne::Shared::MarketingCreateContentBlocksRequestDto.new( - passthrough: { - "Pickup": "", - }, - ), id="", x_account_id="") + passthrough: { + "other_known_names": "John Doe", + }, +), id="", x_account_id="") if ! res.create_result.nil? # handle response @@ -1076,19 +1076,19 @@ s.config_security( res = s.marketing.update_email_template(marketing_create_email_template_request_dto=::StackOne::Shared::MarketingCreateEmailTemplateRequestDto.new( - messages: [ - ::StackOne::Shared::EmailMessages.new( - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - message_type: ::StackOne::Shared::MessageType.new( - source_value: "Email", - ), - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + messages: [ + ::StackOne::Shared::EmailMessages.new( + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + message_type: ::StackOne::Shared::MessageType.new( + source_value: "Email", ), - ], - passthrough: { - "strategize": "", - }, - ), id="", x_account_id="") + remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ), + ], + passthrough: { + "other_known_names": "John Doe", + }, +), id="", x_account_id="") if ! res.create_result.nil? # handle response @@ -1131,19 +1131,19 @@ s.config_security( res = s.marketing.update_in_app_template(marketing_create_in_app_template_request_dto=::StackOne::Shared::MarketingCreateInAppTemplateRequestDto.new( - messages: [ - ::StackOne::Shared::InAppMessages.new( - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - message_type: ::StackOne::Shared::InAppMessagesMessageType.new( - source_value: "Email", - ), - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + messages: [ + ::StackOne::Shared::InAppMessages.new( + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + message_type: ::StackOne::Shared::InAppMessagesMessageType.new( + source_value: "Email", ), - ], - passthrough: { - "Operative": "", - }, - ), id="", x_account_id="") + remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ), + ], + passthrough: { + "other_known_names": "John Doe", + }, +), id="", x_account_id="") if ! res.create_result.nil? # handle response @@ -1188,19 +1188,19 @@ s.config_security( res = s.marketing.update_omni_channel_template(marketing_create_template_request_dto=::StackOne::Shared::MarketingCreateTemplateRequestDto.new( - messages: [ - ::StackOne::Shared::Message.new( - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - message_type: ::StackOne::Shared::MessageMessageType.new( - source_value: "Email", - ), - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + messages: [ + ::StackOne::Shared::Message.new( + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + message_type: ::StackOne::Shared::MessageMessageType.new( + source_value: "Email", ), - ], - passthrough: { - "Edina": "", - }, - ), id="", x_account_id="") + remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ), + ], + passthrough: { + "other_known_names": "John Doe", + }, +), id="", x_account_id="") if ! res.create_result.nil? # handle response @@ -1243,19 +1243,19 @@ s.config_security( res = s.marketing.update_push_template(marketing_create_push_template_request_dto=::StackOne::Shared::MarketingCreatePushTemplateRequestDto.new( - messages: [ - ::StackOne::Shared::PushMessages.new( - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - message_type: ::StackOne::Shared::PushMessagesMessageType.new( - source_value: "Email", - ), - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + messages: [ + ::StackOne::Shared::PushMessages.new( + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + message_type: ::StackOne::Shared::PushMessagesMessageType.new( + source_value: "Email", ), - ], - passthrough: { - "tightly": "", - }, - ), id="", x_account_id="") + remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ), + ], + passthrough: { + "other_known_names": "John Doe", + }, +), id="", x_account_id="") if ! res.create_result.nil? # handle response @@ -1298,19 +1298,19 @@ s.config_security( res = s.marketing.update_sms_template(marketing_create_sms_template_request_dto=::StackOne::Shared::MarketingCreateSmsTemplateRequestDto.new( - messages: [ - ::StackOne::Shared::SmsMessages.new( - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - message_type: ::StackOne::Shared::SmsMessagesMessageType.new( - source_value: "Email", - ), - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + messages: [ + ::StackOne::Shared::SmsMessages.new( + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + message_type: ::StackOne::Shared::SmsMessagesMessageType.new( + source_value: "Email", ), - ], - passthrough: { - "Bronze": "", - }, - ), id="", x_account_id="") + remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ), + ], + passthrough: { + "other_known_names": "John Doe", + }, +), id="", x_account_id="") if ! res.create_result.nil? # handle response diff --git a/docs/sdks/proxy/README.md b/docs/sdks/proxy/README.md index 8df4c981..8648b6fe 100644 --- a/docs/sdks/proxy/README.md +++ b/docs/sdks/proxy/README.md @@ -26,12 +26,12 @@ s.config_security( res = s.proxy.proxy_request(proxy_request_body=::StackOne::Shared::ProxyRequestBody.new( - headers: { - "Car": "", - }, - path: "/employees/directory", - url: "https://api.sample-integration.com/v1", - ), x_account_id="") + headers: { + "Content-Type": "application/json", + }, + path: "/employees/directory", + url: "https://api.sample-integration.com/v1", +), x_account_id="") if res.status_code == 200 # handle response diff --git a/gen.yaml b/gen.yaml index 8ef21e93..5e0de9a2 100644 --- a/gen.yaml +++ b/gen.yaml @@ -11,7 +11,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: false ruby: - version: 0.2.37 + version: 0.2.38 author: StackOne description: Ruby Client SDK Generated by Speakeasy imports: diff --git a/lib/stack_one/ats.rb b/lib/stack_one/ats.rb index c45ae77d..226ca993 100644 --- a/lib/stack_one/ats.rb +++ b/lib/stack_one/ats.rb @@ -860,6 +860,44 @@ def get_job(request) end + sig { params(request: T.nilable(::StackOne::Operations::AtsGetJobCustomFieldDefinitionRequest)).returns(::StackOne::Operations::AtsGetJobCustomFieldDefinitionResponse) } + def get_job_custom_field_definition(request) + # get_job_custom_field_definition - Get Job Custom Field Definition + url, params = @sdk_configuration.get_server_details + base_url = Utils.template_url(url, params) + url = Utils.generate_url( + ::StackOne::Operations::AtsGetJobCustomFieldDefinitionRequest, + base_url, + '/unified/ats/custom_field_definitions/jobs/{id}', + request + ) + headers = Utils.get_headers(request) + query_params = Utils.get_query_params(::StackOne::Operations::AtsGetJobCustomFieldDefinitionRequest, request) + headers['Accept'] = 'application/json' + headers['user-agent'] = @sdk_configuration.user_agent + + r = @sdk_configuration.client.get(url) do |req| + req.headers = headers + req.params = query_params + Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + end + + content_type = r.headers.fetch('Content-Type', 'application/octet-stream') + + res = ::StackOne::Operations::AtsGetJobCustomFieldDefinitionResponse.new( + status_code: r.status, content_type: content_type, raw_response: r + ) + if r.status == 200 + if Utils.match_content_type(content_type, 'application/json') + out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CustomFieldDefinitionResultApiModel) + res.custom_field_definition_result_api_model = out + end + elsif [400, 403, 412, 429, 500, 501].include?(r.status) + end + res + end + + sig { params(request: T.nilable(::StackOne::Operations::AtsGetJobPostingRequest)).returns(::StackOne::Operations::AtsGetJobPostingResponse) } def get_job_posting(request) # get_job_posting - Get Job Posting @@ -1542,6 +1580,39 @@ def list_interviews(request) end + sig { params(request: T.nilable(::StackOne::Operations::AtsListJobCustomFieldDefinitionsRequest)).returns(::StackOne::Operations::AtsListJobCustomFieldDefinitionsResponse) } + def list_job_custom_field_definitions(request) + # list_job_custom_field_definitions - List Job Custom Field Definitions + url, params = @sdk_configuration.get_server_details + base_url = Utils.template_url(url, params) + url = "#{base_url}/unified/ats/custom_field_definitions/jobs" + headers = Utils.get_headers(request) + query_params = Utils.get_query_params(::StackOne::Operations::AtsListJobCustomFieldDefinitionsRequest, request) + headers['Accept'] = 'application/json' + headers['user-agent'] = @sdk_configuration.user_agent + + r = @sdk_configuration.client.get(url) do |req| + req.headers = headers + req.params = query_params + Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + end + + content_type = r.headers.fetch('Content-Type', 'application/octet-stream') + + res = ::StackOne::Operations::AtsListJobCustomFieldDefinitionsResponse.new( + status_code: r.status, content_type: content_type, raw_response: r + ) + if r.status == 200 + if Utils.match_content_type(content_type, 'application/json') + out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CustomFieldDefinitionsPaginated) + res.custom_field_definitions_paginated = out + end + elsif [400, 403, 412, 429, 500, 501].include?(r.status) + end + res + end + + sig { params(request: T.nilable(::StackOne::Operations::AtsListJobPostingsRequest)).returns(::StackOne::Operations::AtsListJobPostingsResponse) } def list_job_postings(request) # list_job_postings - List Job Postings @@ -1773,6 +1844,110 @@ def list_users(request) end + sig { params(ats_move_application_request_dto: ::StackOne::Shared::AtsMoveApplicationRequestDto, id: ::String, x_account_id: ::String).returns(::StackOne::Operations::AtsMoveApplicationResponse) } + def move_application(ats_move_application_request_dto, id, x_account_id) + # move_application - Move Application + request = ::StackOne::Operations::AtsMoveApplicationRequest.new( + + ats_move_application_request_dto: ats_move_application_request_dto, + id: id, + x_account_id: x_account_id + ) + url, params = @sdk_configuration.get_server_details + base_url = Utils.template_url(url, params) + url = Utils.generate_url( + ::StackOne::Operations::AtsMoveApplicationRequest, + base_url, + '/unified/ats/applications/{id}/move', + request + ) + headers = Utils.get_headers(request) + req_content_type, data, form = Utils.serialize_request_body(request, :ats_move_application_request_dto, :json) + headers['content-type'] = req_content_type + raise StandardError, 'request body is required' if data.nil? && form.nil? + headers['Accept'] = 'application/json' + headers['user-agent'] = @sdk_configuration.user_agent + + r = @sdk_configuration.client.post(url) do |req| + req.headers = headers + Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + if form + req.body = Utils.encode_form(form) + elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded') + req.body = URI.encode_www_form(data) + else + req.body = data + end + end + + content_type = r.headers.fetch('Content-Type', 'application/octet-stream') + + res = ::StackOne::Operations::AtsMoveApplicationResponse.new( + status_code: r.status, content_type: content_type, raw_response: r + ) + if r.status == 200 + if Utils.match_content_type(content_type, 'application/json') + out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::MoveApplicationResult) + res.move_application_result = out + end + elsif [400, 403, 412, 429, 500, 501].include?(r.status) + end + res + end + + + sig { params(ats_reject_application_request_dto: ::StackOne::Shared::AtsRejectApplicationRequestDto, id: ::String, x_account_id: ::String).returns(::StackOne::Operations::AtsRejectApplicationResponse) } + def reject_application(ats_reject_application_request_dto, id, x_account_id) + # reject_application - Reject Application + request = ::StackOne::Operations::AtsRejectApplicationRequest.new( + + ats_reject_application_request_dto: ats_reject_application_request_dto, + id: id, + x_account_id: x_account_id + ) + url, params = @sdk_configuration.get_server_details + base_url = Utils.template_url(url, params) + url = Utils.generate_url( + ::StackOne::Operations::AtsRejectApplicationRequest, + base_url, + '/unified/ats/applications/{id}/reject', + request + ) + headers = Utils.get_headers(request) + req_content_type, data, form = Utils.serialize_request_body(request, :ats_reject_application_request_dto, :json) + headers['content-type'] = req_content_type + raise StandardError, 'request body is required' if data.nil? && form.nil? + headers['Accept'] = 'application/json' + headers['user-agent'] = @sdk_configuration.user_agent + + r = @sdk_configuration.client.post(url) do |req| + req.headers = headers + Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + if form + req.body = Utils.encode_form(form) + elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded') + req.body = URI.encode_www_form(data) + else + req.body = data + end + end + + content_type = r.headers.fetch('Content-Type', 'application/octet-stream') + + res = ::StackOne::Operations::AtsRejectApplicationResponse.new( + status_code: r.status, content_type: content_type, raw_response: r + ) + if r.status == 200 + if Utils.match_content_type(content_type, 'application/json') + out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::RejectApplicationResult) + res.reject_application_result = out + end + elsif [400, 403, 412, 429, 500, 501].include?(r.status) + end + res + end + + sig { params(ats_update_application_request_dto: ::StackOne::Shared::AtsUpdateApplicationRequestDto, id: ::String, x_account_id: ::String).returns(::StackOne::Operations::AtsUpdateApplicationResponse) } def update_application(ats_update_application_request_dto, id, x_account_id) # update_application - Update an Application @@ -1918,7 +2093,7 @@ def upload_application_document(unified_upload_request_dto, id, x_account_id) res = ::StackOne::Operations::AtsUploadApplicationDocumentResponse.new( status_code: r.status, content_type: content_type, raw_response: r ) - if r.status == 200 + if r.status == 201 if Utils.match_content_type(content_type, 'application/json') out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::WriteResultApiModel) res.write_result_api_model = out diff --git a/lib/stack_one/hris.rb b/lib/stack_one/hris.rb index a0cb26d4..86b77582 100644 --- a/lib/stack_one/hris.rb +++ b/lib/stack_one/hris.rb @@ -19,6 +19,58 @@ def initialize(sdk_config) end + sig { params(hris_batch_document_upload_request_dto: ::StackOne::Shared::HrisBatchDocumentUploadRequestDto, id: ::String, x_account_id: ::String).returns(::StackOne::Operations::HrisBatchUploadEmployeeDocumentResponse) } + def batch_upload_employee_document(hris_batch_document_upload_request_dto, id, x_account_id) + # batch_upload_employee_document - Batch Upload Employee Document + request = ::StackOne::Operations::HrisBatchUploadEmployeeDocumentRequest.new( + + hris_batch_document_upload_request_dto: hris_batch_document_upload_request_dto, + id: id, + x_account_id: x_account_id + ) + url, params = @sdk_configuration.get_server_details + base_url = Utils.template_url(url, params) + url = Utils.generate_url( + ::StackOne::Operations::HrisBatchUploadEmployeeDocumentRequest, + base_url, + '/unified/hris/employees/{id}/documents/upload/batch', + request + ) + headers = Utils.get_headers(request) + req_content_type, data, form = Utils.serialize_request_body(request, :hris_batch_document_upload_request_dto, :json) + headers['content-type'] = req_content_type + raise StandardError, 'request body is required' if data.nil? && form.nil? + headers['Accept'] = 'application/json' + headers['user-agent'] = @sdk_configuration.user_agent + + r = @sdk_configuration.client.post(url) do |req| + req.headers = headers + Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + if form + req.body = Utils.encode_form(form) + elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded') + req.body = URI.encode_www_form(data) + else + req.body = data + end + end + + content_type = r.headers.fetch('Content-Type', 'application/octet-stream') + + res = ::StackOne::Operations::HrisBatchUploadEmployeeDocumentResponse.new( + status_code: r.status, content_type: content_type, raw_response: r + ) + if r.status == 202 + if Utils.match_content_type(content_type, 'application/json') + out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::BatchResultApiModel) + res.batch_result_api_model = out + end + elsif [400, 403, 412, 429, 500, 501].include?(r.status) + end + res + end + + sig { params(hris_create_employee_request_dto: ::StackOne::Shared::HrisCreateEmployeeRequestDto, x_account_id: ::String).returns(::StackOne::Operations::HrisCreateEmployeeResponse) } def create_employee(hris_create_employee_request_dto, x_account_id) # create_employee - Creates an employee @@ -1464,7 +1516,7 @@ def upload_employee_document(hris_documents_upload_request_dto, id, x_account_id res = ::StackOne::Operations::HrisUploadEmployeeDocumentResponse.new( status_code: r.status, content_type: content_type, raw_response: r ) - if r.status == 200 + if r.status == 201 if Utils.match_content_type(content_type, 'application/json') out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::WriteResultApiModel) res.write_result_api_model = out diff --git a/lib/stack_one/lms.rb b/lib/stack_one/lms.rb index bfe598e9..a940919b 100644 --- a/lib/stack_one/lms.rb +++ b/lib/stack_one/lms.rb @@ -19,25 +19,19 @@ def initialize(sdk_config) end - sig { params(lms_create_completion_request_dto: ::StackOne::Shared::LmsCreateCompletionRequestDto, id: ::String, x_account_id: ::String).returns(::StackOne::Operations::LmsCreateCompletionResponse) } - def create_completion(lms_create_completion_request_dto, id, x_account_id) - # create_completion - Create User Completion - request = ::StackOne::Operations::LmsCreateCompletionRequest.new( + sig { params(lms_batch_upsert_content_request_dto: ::StackOne::Shared::LmsBatchUpsertContentRequestDto, x_account_id: ::String).returns(::StackOne::Operations::LmsBatchUpsertContentResponse) } + def batch_upsert_content(lms_batch_upsert_content_request_dto, x_account_id) + # batch_upsert_content - Batch Upsert Content + request = ::StackOne::Operations::LmsBatchUpsertContentRequest.new( - lms_create_completion_request_dto: lms_create_completion_request_dto, - id: id, + lms_batch_upsert_content_request_dto: lms_batch_upsert_content_request_dto, x_account_id: x_account_id ) url, params = @sdk_configuration.get_server_details base_url = Utils.template_url(url, params) - url = Utils.generate_url( - ::StackOne::Operations::LmsCreateCompletionRequest, - base_url, - '/unified/lms/users/{id}/completions', - request - ) + url = "#{base_url}/unified/lms/content/batch" headers = Utils.get_headers(request) - req_content_type, data, form = Utils.serialize_request_body(request, :lms_create_completion_request_dto, :json) + req_content_type, data, form = Utils.serialize_request_body(request, :lms_batch_upsert_content_request_dto, :json) headers['content-type'] = req_content_type raise StandardError, 'request body is required' if data.nil? && form.nil? headers['Accept'] = 'application/json' @@ -57,13 +51,13 @@ def create_completion(lms_create_completion_request_dto, id, x_account_id) content_type = r.headers.fetch('Content-Type', 'application/octet-stream') - res = ::StackOne::Operations::LmsCreateCompletionResponse.new( + res = ::StackOne::Operations::LmsBatchUpsertContentResponse.new( status_code: r.status, content_type: content_type, raw_response: r ) - if r.status == 201 + if r.status == 202 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult) - res.create_result = out + out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::BatchResultApiModel) + res.batch_result_api_model = out end elsif [400, 403, 412, 429, 500, 501].include?(r.status) end @@ -117,15 +111,67 @@ def create_content(lms_create_content_request_dto, x_account_id) end + sig { params(lms_create_completion_request_dto: ::StackOne::Shared::LmsCreateCompletionRequestDto, id: ::String, x_account_id: ::String).returns(::StackOne::Operations::LmsCreateUserCompletionResponse) } + def create_user_completion(lms_create_completion_request_dto, id, x_account_id) + # create_user_completion - Create User Completion + request = ::StackOne::Operations::LmsCreateUserCompletionRequest.new( + + lms_create_completion_request_dto: lms_create_completion_request_dto, + id: id, + x_account_id: x_account_id + ) + url, params = @sdk_configuration.get_server_details + base_url = Utils.template_url(url, params) + url = Utils.generate_url( + ::StackOne::Operations::LmsCreateUserCompletionRequest, + base_url, + '/unified/lms/users/{id}/completions', + request + ) + headers = Utils.get_headers(request) + req_content_type, data, form = Utils.serialize_request_body(request, :lms_create_completion_request_dto, :json) + headers['content-type'] = req_content_type + raise StandardError, 'request body is required' if data.nil? && form.nil? + headers['Accept'] = 'application/json' + headers['user-agent'] = @sdk_configuration.user_agent + + r = @sdk_configuration.client.post(url) do |req| + req.headers = headers + Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + if form + req.body = Utils.encode_form(form) + elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded') + req.body = URI.encode_www_form(data) + else + req.body = data + end + end + + content_type = r.headers.fetch('Content-Type', 'application/octet-stream') + + res = ::StackOne::Operations::LmsCreateUserCompletionResponse.new( + status_code: r.status, content_type: content_type, raw_response: r + ) + if r.status == 201 + if Utils.match_content_type(content_type, 'application/json') + out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult) + res.create_result = out + end + elsif [400, 403, 412, 429, 500, 501].include?(r.status) + end + res + end + + sig { params(request: T.nilable(::StackOne::Operations::LmsGetAssignmentRequest)).returns(::StackOne::Operations::LmsGetAssignmentResponse) } def get_assignment(request) - # get_assignment - Get User Assignment + # get_assignment - Get Assignment url, params = @sdk_configuration.get_server_details base_url = Utils.template_url(url, params) url = Utils.generate_url( ::StackOne::Operations::LmsGetAssignmentRequest, base_url, - '/unified/lms/users/{id}/assignments/{subResourceId}', + '/unified/lms/assignments/{id}', request ) headers = Utils.get_headers(request) @@ -193,6 +239,44 @@ def get_category(request) end + sig { params(request: T.nilable(::StackOne::Operations::LmsGetCompletionRequest)).returns(::StackOne::Operations::LmsGetCompletionResponse) } + def get_completion(request) + # get_completion - Get Completion + url, params = @sdk_configuration.get_server_details + base_url = Utils.template_url(url, params) + url = Utils.generate_url( + ::StackOne::Operations::LmsGetCompletionRequest, + base_url, + '/unified/lms/completions/{id}', + request + ) + headers = Utils.get_headers(request) + query_params = Utils.get_query_params(::StackOne::Operations::LmsGetCompletionRequest, request) + headers['Accept'] = 'application/json' + headers['user-agent'] = @sdk_configuration.user_agent + + r = @sdk_configuration.client.get(url) do |req| + req.headers = headers + req.params = query_params + Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + end + + content_type = r.headers.fetch('Content-Type', 'application/octet-stream') + + res = ::StackOne::Operations::LmsGetCompletionResponse.new( + status_code: r.status, content_type: content_type, raw_response: r + ) + if r.status == 200 + if Utils.match_content_type(content_type, 'application/json') + out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CompletionResult) + res.completion_result = out + end + elsif [400, 403, 412, 429, 500, 501].include?(r.status) + end + res + end + + sig { params(request: T.nilable(::StackOne::Operations::LmsGetContentRequest)).returns(::StackOne::Operations::LmsGetContentResponse) } def get_content(request) # get_content - Get Content @@ -269,6 +353,44 @@ def get_course(request) end + sig { params(request: T.nilable(::StackOne::Operations::LmsGetSkillRequest)).returns(::StackOne::Operations::LmsGetSkillResponse) } + def get_skill(request) + # get_skill - Get Skill + url, params = @sdk_configuration.get_server_details + base_url = Utils.template_url(url, params) + url = Utils.generate_url( + ::StackOne::Operations::LmsGetSkillRequest, + base_url, + '/unified/lms/skills/{id}', + request + ) + headers = Utils.get_headers(request) + query_params = Utils.get_query_params(::StackOne::Operations::LmsGetSkillRequest, request) + headers['Accept'] = 'application/json' + headers['user-agent'] = @sdk_configuration.user_agent + + r = @sdk_configuration.client.get(url) do |req| + req.headers = headers + req.params = query_params + Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + end + + content_type = r.headers.fetch('Content-Type', 'application/octet-stream') + + res = ::StackOne::Operations::LmsGetSkillResponse.new( + status_code: r.status, content_type: content_type, raw_response: r + ) + if r.status == 200 + if Utils.match_content_type(content_type, 'application/json') + out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::SkillResult) + res.skill_result = out + end + elsif [400, 403, 412, 429, 500, 501].include?(r.status) + end + res + end + + sig { params(request: T.nilable(::StackOne::Operations::LmsGetUserRequest)).returns(::StackOne::Operations::LmsGetUserResponse) } def get_user(request) # get_user - Get User @@ -307,18 +429,89 @@ def get_user(request) end - sig { params(request: T.nilable(::StackOne::Operations::LmsListAssignmentsRequest)).returns(::StackOne::Operations::LmsListAssignmentsResponse) } - def list_assignments(request) - # list_assignments - List User Assignments + sig { params(request: T.nilable(::StackOne::Operations::LmsGetUserAssignmentRequest)).returns(::StackOne::Operations::LmsGetUserAssignmentResponse) } + def get_user_assignment(request) + # get_user_assignment - Get User Assignment url, params = @sdk_configuration.get_server_details base_url = Utils.template_url(url, params) url = Utils.generate_url( - ::StackOne::Operations::LmsListAssignmentsRequest, + ::StackOne::Operations::LmsGetUserAssignmentRequest, base_url, - '/unified/lms/users/{id}/assignments', + '/unified/lms/users/{id}/assignments/{subResourceId}', + request + ) + headers = Utils.get_headers(request) + query_params = Utils.get_query_params(::StackOne::Operations::LmsGetUserAssignmentRequest, request) + headers['Accept'] = 'application/json' + headers['user-agent'] = @sdk_configuration.user_agent + + r = @sdk_configuration.client.get(url) do |req| + req.headers = headers + req.params = query_params + Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + end + + content_type = r.headers.fetch('Content-Type', 'application/octet-stream') + + res = ::StackOne::Operations::LmsGetUserAssignmentResponse.new( + status_code: r.status, content_type: content_type, raw_response: r + ) + if r.status == 200 + if Utils.match_content_type(content_type, 'application/json') + out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::AssignmentResult) + res.assignment_result = out + end + elsif [400, 403, 412, 429, 500, 501].include?(r.status) + end + res + end + + + sig { params(request: T.nilable(::StackOne::Operations::LmsGetUserCompletionRequest)).returns(::StackOne::Operations::LmsGetUserCompletionResponse) } + def get_user_completion(request) + # get_user_completion - Get User Completion + url, params = @sdk_configuration.get_server_details + base_url = Utils.template_url(url, params) + url = Utils.generate_url( + ::StackOne::Operations::LmsGetUserCompletionRequest, + base_url, + '/unified/lms/users/{id}/completions/{subResourceId}', request ) headers = Utils.get_headers(request) + query_params = Utils.get_query_params(::StackOne::Operations::LmsGetUserCompletionRequest, request) + headers['Accept'] = 'application/json' + headers['user-agent'] = @sdk_configuration.user_agent + + r = @sdk_configuration.client.get(url) do |req| + req.headers = headers + req.params = query_params + Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + end + + content_type = r.headers.fetch('Content-Type', 'application/octet-stream') + + res = ::StackOne::Operations::LmsGetUserCompletionResponse.new( + status_code: r.status, content_type: content_type, raw_response: r + ) + if r.status == 200 + if Utils.match_content_type(content_type, 'application/json') + out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CompletionResult) + res.completion_result = out + end + elsif [400, 403, 412, 429, 500, 501].include?(r.status) + end + res + end + + + sig { params(request: T.nilable(::StackOne::Operations::LmsListAssignmentsRequest)).returns(::StackOne::Operations::LmsListAssignmentsResponse) } + def list_assignments(request) + # list_assignments - List Assignments + url, params = @sdk_configuration.get_server_details + base_url = Utils.template_url(url, params) + url = "#{base_url}/unified/lms/assignments" + headers = Utils.get_headers(request) query_params = Utils.get_query_params(::StackOne::Operations::LmsListAssignmentsRequest, request) headers['Accept'] = 'application/json' headers['user-agent'] = @sdk_configuration.user_agent @@ -380,15 +573,10 @@ def list_categories(request) sig { params(request: T.nilable(::StackOne::Operations::LmsListCompletionsRequest)).returns(::StackOne::Operations::LmsListCompletionsResponse) } def list_completions(request) - # list_completions - List User Completions + # list_completions - List Completions url, params = @sdk_configuration.get_server_details base_url = Utils.template_url(url, params) - url = Utils.generate_url( - ::StackOne::Operations::LmsListCompletionsRequest, - base_url, - '/unified/lms/users/{id}/completions', - request - ) + url = "#{base_url}/unified/lms/completions" headers = Utils.get_headers(request) query_params = Utils.get_query_params(::StackOne::Operations::LmsListCompletionsRequest, request) headers['Accept'] = 'application/json' @@ -482,6 +670,115 @@ def list_courses(request) end + sig { params(request: T.nilable(::StackOne::Operations::LmsListSkillsRequest)).returns(::StackOne::Operations::LmsListSkillsResponse) } + def list_skills(request) + # list_skills - List Skills + url, params = @sdk_configuration.get_server_details + base_url = Utils.template_url(url, params) + url = "#{base_url}/unified/lms/skills" + headers = Utils.get_headers(request) + query_params = Utils.get_query_params(::StackOne::Operations::LmsListSkillsRequest, request) + headers['Accept'] = 'application/json' + headers['user-agent'] = @sdk_configuration.user_agent + + r = @sdk_configuration.client.get(url) do |req| + req.headers = headers + req.params = query_params + Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + end + + content_type = r.headers.fetch('Content-Type', 'application/octet-stream') + + res = ::StackOne::Operations::LmsListSkillsResponse.new( + status_code: r.status, content_type: content_type, raw_response: r + ) + if r.status == 200 + if Utils.match_content_type(content_type, 'application/json') + out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::SkillsPaginated) + res.skills_paginated = out + end + elsif [400, 403, 412, 429, 500, 501].include?(r.status) + end + res + end + + + sig { params(request: T.nilable(::StackOne::Operations::LmsListUserAssignmentsRequest)).returns(::StackOne::Operations::LmsListUserAssignmentsResponse) } + def list_user_assignments(request) + # list_user_assignments - List User Assignments + url, params = @sdk_configuration.get_server_details + base_url = Utils.template_url(url, params) + url = Utils.generate_url( + ::StackOne::Operations::LmsListUserAssignmentsRequest, + base_url, + '/unified/lms/users/{id}/assignments', + request + ) + headers = Utils.get_headers(request) + query_params = Utils.get_query_params(::StackOne::Operations::LmsListUserAssignmentsRequest, request) + headers['Accept'] = 'application/json' + headers['user-agent'] = @sdk_configuration.user_agent + + r = @sdk_configuration.client.get(url) do |req| + req.headers = headers + req.params = query_params + Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + end + + content_type = r.headers.fetch('Content-Type', 'application/octet-stream') + + res = ::StackOne::Operations::LmsListUserAssignmentsResponse.new( + status_code: r.status, content_type: content_type, raw_response: r + ) + if r.status == 200 + if Utils.match_content_type(content_type, 'application/json') + out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::AssignmentsPaginated) + res.assignments_paginated = out + end + elsif [400, 403, 412, 429, 500, 501].include?(r.status) + end + res + end + + + sig { params(request: T.nilable(::StackOne::Operations::LmsListUserCompletionsRequest)).returns(::StackOne::Operations::LmsListUserCompletionsResponse) } + def list_user_completions(request) + # list_user_completions - List User Completions + url, params = @sdk_configuration.get_server_details + base_url = Utils.template_url(url, params) + url = Utils.generate_url( + ::StackOne::Operations::LmsListUserCompletionsRequest, + base_url, + '/unified/lms/users/{id}/completions', + request + ) + headers = Utils.get_headers(request) + query_params = Utils.get_query_params(::StackOne::Operations::LmsListUserCompletionsRequest, request) + headers['Accept'] = 'application/json' + headers['user-agent'] = @sdk_configuration.user_agent + + r = @sdk_configuration.client.get(url) do |req| + req.headers = headers + req.params = query_params + Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + end + + content_type = r.headers.fetch('Content-Type', 'application/octet-stream') + + res = ::StackOne::Operations::LmsListUserCompletionsResponse.new( + status_code: r.status, content_type: content_type, raw_response: r + ) + if r.status == 200 + if Utils.match_content_type(content_type, 'application/json') + out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CompletionsPaginated) + res.completions_paginated = out + end + elsif [400, 403, 412, 429, 500, 501].include?(r.status) + end + res + end + + sig { params(request: T.nilable(::StackOne::Operations::LmsListUsersRequest)).returns(::StackOne::Operations::LmsListUsersResponse) } def list_users(request) # list_users - List Users diff --git a/lib/stack_one/models/operations.rb b/lib/stack_one/models/operations.rb index e0ac5cd3..36faeeaa 100644 --- a/lib/stack_one/models/operations.rb +++ b/lib/stack_one/models/operations.rb @@ -65,6 +65,9 @@ module Operations autoload :AtsGetInterviewStageResponse, 'stack_one/models/operations/ats_get_interview_stage_response.rb' autoload :AtsGetJobRequest, 'stack_one/models/operations/ats_get_job_request.rb' autoload :AtsGetJobResponse, 'stack_one/models/operations/ats_get_job_response.rb' + autoload :AtsGetJobCustomFieldDefinitionQueryParamFilter, 'stack_one/models/operations/ats_get_job_custom_field_definition_queryparam_filter.rb' + autoload :AtsGetJobCustomFieldDefinitionRequest, 'stack_one/models/operations/ats_get_job_custom_field_definition_request.rb' + autoload :AtsGetJobCustomFieldDefinitionResponse, 'stack_one/models/operations/ats_get_job_custom_field_definition_response.rb' autoload :AtsGetJobPostingRequest, 'stack_one/models/operations/ats_get_job_posting_request.rb' autoload :AtsGetJobPostingResponse, 'stack_one/models/operations/ats_get_job_posting_response.rb' autoload :AtsGetListRequest, 'stack_one/models/operations/ats_get_list_request.rb' @@ -116,6 +119,9 @@ module Operations autoload :AtsListInterviewsQueryParamFilter, 'stack_one/models/operations/ats_list_interviews_queryparam_filter.rb' autoload :AtsListInterviewsRequest, 'stack_one/models/operations/ats_list_interviews_request.rb' autoload :AtsListInterviewsResponse, 'stack_one/models/operations/ats_list_interviews_response.rb' + autoload :AtsListJobCustomFieldDefinitionsQueryParamFilter, 'stack_one/models/operations/ats_list_job_custom_field_definitions_queryparam_filter.rb' + autoload :AtsListJobCustomFieldDefinitionsRequest, 'stack_one/models/operations/ats_list_job_custom_field_definitions_request.rb' + autoload :AtsListJobCustomFieldDefinitionsResponse, 'stack_one/models/operations/ats_list_job_custom_field_definitions_response.rb' autoload :AtsListJobPostingsQueryParamFilter, 'stack_one/models/operations/ats_list_job_postings_queryparam_filter.rb' autoload :AtsListJobPostingsRequest, 'stack_one/models/operations/ats_list_job_postings_request.rb' autoload :AtsListJobPostingsResponse, 'stack_one/models/operations/ats_list_job_postings_response.rb' @@ -137,6 +143,10 @@ module Operations autoload :AtsListUsersQueryParamFilter, 'stack_one/models/operations/ats_list_users_queryparam_filter.rb' autoload :AtsListUsersRequest, 'stack_one/models/operations/ats_list_users_request.rb' autoload :AtsListUsersResponse, 'stack_one/models/operations/ats_list_users_response.rb' + autoload :AtsMoveApplicationRequest, 'stack_one/models/operations/ats_move_application_request.rb' + autoload :AtsMoveApplicationResponse, 'stack_one/models/operations/ats_move_application_response.rb' + autoload :AtsRejectApplicationRequest, 'stack_one/models/operations/ats_reject_application_request.rb' + autoload :AtsRejectApplicationResponse, 'stack_one/models/operations/ats_reject_application_response.rb' autoload :AtsUpdateApplicationRequest, 'stack_one/models/operations/ats_update_application_request.rb' autoload :AtsUpdateApplicationResponse, 'stack_one/models/operations/ats_update_application_response.rb' autoload :AtsUpdateCandidateRequest, 'stack_one/models/operations/ats_update_candidate_request.rb' @@ -162,6 +172,8 @@ module Operations autoload :CrmListListsResponse, 'stack_one/models/operations/crm_list_lists_response.rb' autoload :CrmUpdateContactRequest, 'stack_one/models/operations/crm_update_contact_request.rb' autoload :CrmUpdateContactResponse, 'stack_one/models/operations/crm_update_contact_response.rb' + autoload :HrisBatchUploadEmployeeDocumentRequest, 'stack_one/models/operations/hris_batch_upload_employee_document_request.rb' + autoload :HrisBatchUploadEmployeeDocumentResponse, 'stack_one/models/operations/hris_batch_upload_employee_document_response.rb' autoload :HrisCreateEmployeeRequest, 'stack_one/models/operations/hris_create_employee_request.rb' autoload :HrisCreateEmployeeResponse, 'stack_one/models/operations/hris_create_employee_response.rb' autoload :HrisCreateEmployeeTimeOffRequestRequest, 'stack_one/models/operations/hris_create_employee_time_off_request_request.rb' @@ -270,20 +282,30 @@ module Operations autoload :IamListUsersQueryParamFilter, 'stack_one/models/operations/iam_list_users_queryparam_filter.rb' autoload :IamListUsersRequest, 'stack_one/models/operations/iam_list_users_request.rb' autoload :IamListUsersResponse, 'stack_one/models/operations/iam_list_users_response.rb' - autoload :LmsCreateCompletionRequest, 'stack_one/models/operations/lms_create_completion_request.rb' - autoload :LmsCreateCompletionResponse, 'stack_one/models/operations/lms_create_completion_response.rb' + autoload :LmsBatchUpsertContentRequest, 'stack_one/models/operations/lms_batch_upsert_content_request.rb' + autoload :LmsBatchUpsertContentResponse, 'stack_one/models/operations/lms_batch_upsert_content_response.rb' autoload :LmsCreateContentRequest, 'stack_one/models/operations/lms_create_content_request.rb' autoload :LmsCreateContentResponse, 'stack_one/models/operations/lms_create_content_response.rb' + autoload :LmsCreateUserCompletionRequest, 'stack_one/models/operations/lms_create_user_completion_request.rb' + autoload :LmsCreateUserCompletionResponse, 'stack_one/models/operations/lms_create_user_completion_response.rb' autoload :LmsGetAssignmentRequest, 'stack_one/models/operations/lms_get_assignment_request.rb' autoload :LmsGetAssignmentResponse, 'stack_one/models/operations/lms_get_assignment_response.rb' autoload :LmsGetCategoryRequest, 'stack_one/models/operations/lms_get_category_request.rb' autoload :LmsGetCategoryResponse, 'stack_one/models/operations/lms_get_category_response.rb' + autoload :LmsGetCompletionRequest, 'stack_one/models/operations/lms_get_completion_request.rb' + autoload :LmsGetCompletionResponse, 'stack_one/models/operations/lms_get_completion_response.rb' autoload :LmsGetContentRequest, 'stack_one/models/operations/lms_get_content_request.rb' autoload :LmsGetContentResponse, 'stack_one/models/operations/lms_get_content_response.rb' autoload :LmsGetCourseRequest, 'stack_one/models/operations/lms_get_course_request.rb' autoload :LmsGetCourseResponse, 'stack_one/models/operations/lms_get_course_response.rb' + autoload :LmsGetSkillRequest, 'stack_one/models/operations/lms_get_skill_request.rb' + autoload :LmsGetSkillResponse, 'stack_one/models/operations/lms_get_skill_response.rb' autoload :LmsGetUserRequest, 'stack_one/models/operations/lms_get_user_request.rb' autoload :LmsGetUserResponse, 'stack_one/models/operations/lms_get_user_response.rb' + autoload :LmsGetUserAssignmentRequest, 'stack_one/models/operations/lms_get_user_assignment_request.rb' + autoload :LmsGetUserAssignmentResponse, 'stack_one/models/operations/lms_get_user_assignment_response.rb' + autoload :LmsGetUserCompletionRequest, 'stack_one/models/operations/lms_get_user_completion_request.rb' + autoload :LmsGetUserCompletionResponse, 'stack_one/models/operations/lms_get_user_completion_response.rb' autoload :LmsListAssignmentsQueryParamFilter, 'stack_one/models/operations/lms_list_assignments_queryparam_filter.rb' autoload :LmsListAssignmentsRequest, 'stack_one/models/operations/lms_list_assignments_request.rb' autoload :LmsListAssignmentsResponse, 'stack_one/models/operations/lms_list_assignments_response.rb' @@ -299,6 +321,15 @@ module Operations autoload :LmsListCoursesQueryParamFilter, 'stack_one/models/operations/lms_list_courses_queryparam_filter.rb' autoload :LmsListCoursesRequest, 'stack_one/models/operations/lms_list_courses_request.rb' autoload :LmsListCoursesResponse, 'stack_one/models/operations/lms_list_courses_response.rb' + autoload :LmsListSkillsQueryParamFilter, 'stack_one/models/operations/lms_list_skills_queryparam_filter.rb' + autoload :LmsListSkillsRequest, 'stack_one/models/operations/lms_list_skills_request.rb' + autoload :LmsListSkillsResponse, 'stack_one/models/operations/lms_list_skills_response.rb' + autoload :LmsListUserAssignmentsQueryParamFilter, 'stack_one/models/operations/lms_list_user_assignments_queryparam_filter.rb' + autoload :LmsListUserAssignmentsRequest, 'stack_one/models/operations/lms_list_user_assignments_request.rb' + autoload :LmsListUserAssignmentsResponse, 'stack_one/models/operations/lms_list_user_assignments_response.rb' + autoload :LmsListUserCompletionsQueryParamFilter, 'stack_one/models/operations/lms_list_user_completions_queryparam_filter.rb' + autoload :LmsListUserCompletionsRequest, 'stack_one/models/operations/lms_list_user_completions_request.rb' + autoload :LmsListUserCompletionsResponse, 'stack_one/models/operations/lms_list_user_completions_response.rb' autoload :LmsListUsersQueryParamFilter, 'stack_one/models/operations/lms_list_users_queryparam_filter.rb' autoload :LmsListUsersRequest, 'stack_one/models/operations/lms_list_users_request.rb' autoload :LmsListUsersResponse, 'stack_one/models/operations/lms_list_users_response.rb' diff --git a/lib/stack_one/models/operations/ats_get_job_custom_field_definition_queryparam_filter.rb b/lib/stack_one/models/operations/ats_get_job_custom_field_definition_queryparam_filter.rb new file mode 100644 index 00000000..f2d5cdc7 --- /dev/null +++ b/lib/stack_one/models/operations/ats_get_job_custom_field_definition_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class AtsGetJobCustomFieldDefinitionQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/ats_get_job_custom_field_definition_request.rb b/lib/stack_one/models/operations/ats_get_job_custom_field_definition_request.rb new file mode 100644 index 00000000..1c6f3d5a --- /dev/null +++ b/lib/stack_one/models/operations/ats_get_job_custom_field_definition_request.rb @@ -0,0 +1,60 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + + class AtsGetJobCustomFieldDefinitionRequest < ::StackOne::Utils::FieldAugmented + extend T::Sig + + + field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } } + # The account identifier + field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } + # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) + field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::AtsGetJobCustomFieldDefinitionQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } + # The unified cursor + field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } + # The page number of the results to fetch + # + # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible. + field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } } + # The number of results per page + field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } } + # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key + field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } } + # Indicates that the raw request result is returned + field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } } + # The sync token to select the only updated results + # + # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible. + field :sync_token, T.nilable(::String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } } + # Use a string with a date to only select results updated after that given date + # + # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible. + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } + + + sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsGetJobCustomFieldDefinitionQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } + def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) + @id = id + @x_account_id = x_account_id + @fields_ = fields_ + @filter = filter + @next_ = next_ + @page = page + @page_size = page_size + @proxy = proxy + @raw = raw + @sync_token = sync_token + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/ats_get_job_custom_field_definition_response.rb b/lib/stack_one/models/operations/ats_get_job_custom_field_definition_response.rb new file mode 100644 index 00000000..748037ef --- /dev/null +++ b/lib/stack_one/models/operations/ats_get_job_custom_field_definition_response.rb @@ -0,0 +1,33 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + + class AtsGetJobCustomFieldDefinitionResponse < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # HTTP response content type for this operation + field :content_type, ::String + # Raw HTTP response; suitable for custom response parsing + field :raw_response, ::Faraday::Response + # HTTP response status code for this operation + field :status_code, ::Integer + # The job custom field definition was retrieved. + field :custom_field_definition_result_api_model, T.nilable(::StackOne::Shared::CustomFieldDefinitionResultApiModel) + + + sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, custom_field_definition_result_api_model: T.nilable(::StackOne::Shared::CustomFieldDefinitionResultApiModel)).void } + def initialize(content_type: nil, raw_response: nil, status_code: nil, custom_field_definition_result_api_model: nil) + @content_type = content_type + @raw_response = raw_response + @status_code = status_code + @custom_field_definition_result_api_model = custom_field_definition_result_api_model + end + end + end +end diff --git a/lib/stack_one/models/operations/ats_get_job_request.rb b/lib/stack_one/models/operations/ats_get_job_request.rb index 1ac471d4..562d3e4e 100644 --- a/lib/stack_one/models/operations/ats_get_job_request.rb +++ b/lib/stack_one/models/operations/ats_get_job_request.rb @@ -19,18 +19,21 @@ class AtsGetJobRequest < ::StackOne::Utils::FieldAugmented field :expand, T.nilable(::String), { 'query_param': { 'field_name': 'expand', 'style': 'form', 'explode': true } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } + # The comma separated list of fields that will be included in the response + field :include, T.nilable(::String), { 'query_param': { 'field_name': 'include', 'style': 'form', 'explode': true } } # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } } # Indicates that the raw request result is returned field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } } - sig { params(id: ::String, x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void } - def initialize(id: nil, x_account_id: nil, expand: nil, fields_: nil, proxy: nil, raw: nil) + sig { params(id: ::String, x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), include: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void } + def initialize(id: nil, x_account_id: nil, expand: nil, fields_: nil, include: nil, proxy: nil, raw: nil) @id = id @x_account_id = x_account_id @expand = expand @fields_ = fields_ + @include = include @proxy = proxy @raw = raw end diff --git a/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_queryparam_filter.rb b/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_queryparam_filter.rb new file mode 100644 index 00000000..81f06b40 --- /dev/null +++ b/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class AtsListJobCustomFieldDefinitionsQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_request.rb b/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_request.rb new file mode 100644 index 00000000..dc87fa23 --- /dev/null +++ b/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_request.rb @@ -0,0 +1,57 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + + class AtsListJobCustomFieldDefinitionsRequest < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # The account identifier + field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } + # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) + field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::AtsListJobCustomFieldDefinitionsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } + # The unified cursor + field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } + # The page number of the results to fetch + # + # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible. + field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } } + # The number of results per page + field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } } + # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key + field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } } + # Indicates that the raw request result is returned + field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } } + # The sync token to select the only updated results + # + # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible. + field :sync_token, T.nilable(::String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } } + # Use a string with a date to only select results updated after that given date + # + # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible. + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } + + + sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListJobCustomFieldDefinitionsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) + @x_account_id = x_account_id + @fields_ = fields_ + @filter = filter + @next_ = next_ + @page = page + @page_size = page_size + @proxy = proxy + @raw = raw + @sync_token = sync_token + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_response.rb b/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_response.rb new file mode 100644 index 00000000..045cd2d9 --- /dev/null +++ b/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_response.rb @@ -0,0 +1,33 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + + class AtsListJobCustomFieldDefinitionsResponse < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # HTTP response content type for this operation + field :content_type, ::String + # Raw HTTP response; suitable for custom response parsing + field :raw_response, ::Faraday::Response + # HTTP response status code for this operation + field :status_code, ::Integer + # The list of job custom field definitions was retrieved. + field :custom_field_definitions_paginated, T.nilable(::StackOne::Shared::CustomFieldDefinitionsPaginated) + + + sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, custom_field_definitions_paginated: T.nilable(::StackOne::Shared::CustomFieldDefinitionsPaginated)).void } + def initialize(content_type: nil, raw_response: nil, status_code: nil, custom_field_definitions_paginated: nil) + @content_type = content_type + @raw_response = raw_response + @status_code = status_code + @custom_field_definitions_paginated = custom_field_definitions_paginated + end + end + end +end diff --git a/lib/stack_one/models/operations/ats_list_jobs_request.rb b/lib/stack_one/models/operations/ats_list_jobs_request.rb index 667ecb38..54e56075 100644 --- a/lib/stack_one/models/operations/ats_list_jobs_request.rb +++ b/lib/stack_one/models/operations/ats_list_jobs_request.rb @@ -19,6 +19,8 @@ class AtsListJobsRequest < ::StackOne::Utils::FieldAugmented field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } # Filter parameters that allow greater customisation of the list response field :filter, T.nilable(::StackOne::Operations::AtsListJobsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } + # The comma separated list of fields that will be included in the response + field :include, T.nilable(::String), { 'query_param': { 'field_name': 'include', 'style': 'form', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -41,12 +43,13 @@ class AtsListJobsRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListJobsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } - def initialize(x_account_id: nil, expand: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) + sig { params(x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListJobsQueryParamFilter), include: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, expand: nil, fields_: nil, filter: nil, include: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) @x_account_id = x_account_id @expand = expand @fields_ = fields_ @filter = filter + @include = include @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/ats_move_application_request.rb b/lib/stack_one/models/operations/ats_move_application_request.rb new file mode 100644 index 00000000..a1db636f --- /dev/null +++ b/lib/stack_one/models/operations/ats_move_application_request.rb @@ -0,0 +1,30 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + + class AtsMoveApplicationRequest < ::StackOne::Utils::FieldAugmented + extend T::Sig + + + field :ats_move_application_request_dto, ::StackOne::Shared::AtsMoveApplicationRequestDto, { 'request': { 'media_type': 'application/json' } } + + field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } } + # The account identifier + field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } + + + sig { params(ats_move_application_request_dto: ::StackOne::Shared::AtsMoveApplicationRequestDto, id: ::String, x_account_id: ::String).void } + def initialize(ats_move_application_request_dto: nil, id: nil, x_account_id: nil) + @ats_move_application_request_dto = ats_move_application_request_dto + @id = id + @x_account_id = x_account_id + end + end + end +end diff --git a/lib/stack_one/models/operations/ats_move_application_response.rb b/lib/stack_one/models/operations/ats_move_application_response.rb new file mode 100644 index 00000000..420a0630 --- /dev/null +++ b/lib/stack_one/models/operations/ats_move_application_response.rb @@ -0,0 +1,33 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + + class AtsMoveApplicationResponse < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # HTTP response content type for this operation + field :content_type, ::String + # Raw HTTP response; suitable for custom response parsing + field :raw_response, ::Faraday::Response + # HTTP response status code for this operation + field :status_code, ::Integer + # The application was moved successfully. + field :move_application_result, T.nilable(::StackOne::Shared::MoveApplicationResult) + + + sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, move_application_result: T.nilable(::StackOne::Shared::MoveApplicationResult)).void } + def initialize(content_type: nil, raw_response: nil, status_code: nil, move_application_result: nil) + @content_type = content_type + @raw_response = raw_response + @status_code = status_code + @move_application_result = move_application_result + end + end + end +end diff --git a/lib/stack_one/models/operations/ats_reject_application_request.rb b/lib/stack_one/models/operations/ats_reject_application_request.rb new file mode 100644 index 00000000..bffaca6d --- /dev/null +++ b/lib/stack_one/models/operations/ats_reject_application_request.rb @@ -0,0 +1,30 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + + class AtsRejectApplicationRequest < ::StackOne::Utils::FieldAugmented + extend T::Sig + + + field :ats_reject_application_request_dto, ::StackOne::Shared::AtsRejectApplicationRequestDto, { 'request': { 'media_type': 'application/json' } } + + field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } } + # The account identifier + field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } + + + sig { params(ats_reject_application_request_dto: ::StackOne::Shared::AtsRejectApplicationRequestDto, id: ::String, x_account_id: ::String).void } + def initialize(ats_reject_application_request_dto: nil, id: nil, x_account_id: nil) + @ats_reject_application_request_dto = ats_reject_application_request_dto + @id = id + @x_account_id = x_account_id + end + end + end +end diff --git a/lib/stack_one/models/operations/ats_reject_application_response.rb b/lib/stack_one/models/operations/ats_reject_application_response.rb new file mode 100644 index 00000000..27096a9d --- /dev/null +++ b/lib/stack_one/models/operations/ats_reject_application_response.rb @@ -0,0 +1,33 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + + class AtsRejectApplicationResponse < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # HTTP response content type for this operation + field :content_type, ::String + # Raw HTTP response; suitable for custom response parsing + field :raw_response, ::Faraday::Response + # HTTP response status code for this operation + field :status_code, ::Integer + # The application was rejected successfully. + field :reject_application_result, T.nilable(::StackOne::Shared::RejectApplicationResult) + + + sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, reject_application_result: T.nilable(::StackOne::Shared::RejectApplicationResult)).void } + def initialize(content_type: nil, raw_response: nil, status_code: nil, reject_application_result: nil) + @content_type = content_type + @raw_response = raw_response + @status_code = status_code + @reject_application_result = reject_application_result + end + end + end +end diff --git a/lib/stack_one/models/operations/hris_batch_upload_employee_document_request.rb b/lib/stack_one/models/operations/hris_batch_upload_employee_document_request.rb new file mode 100644 index 00000000..4a3396e9 --- /dev/null +++ b/lib/stack_one/models/operations/hris_batch_upload_employee_document_request.rb @@ -0,0 +1,30 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + + class HrisBatchUploadEmployeeDocumentRequest < ::StackOne::Utils::FieldAugmented + extend T::Sig + + + field :hris_batch_document_upload_request_dto, ::StackOne::Shared::HrisBatchDocumentUploadRequestDto, { 'request': { 'media_type': 'application/json' } } + + field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } } + # The account identifier + field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } + + + sig { params(hris_batch_document_upload_request_dto: ::StackOne::Shared::HrisBatchDocumentUploadRequestDto, id: ::String, x_account_id: ::String).void } + def initialize(hris_batch_document_upload_request_dto: nil, id: nil, x_account_id: nil) + @hris_batch_document_upload_request_dto = hris_batch_document_upload_request_dto + @id = id + @x_account_id = x_account_id + end + end + end +end diff --git a/lib/stack_one/models/operations/hris_batch_upload_employee_document_response.rb b/lib/stack_one/models/operations/hris_batch_upload_employee_document_response.rb new file mode 100644 index 00000000..cada40a7 --- /dev/null +++ b/lib/stack_one/models/operations/hris_batch_upload_employee_document_response.rb @@ -0,0 +1,33 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + + class HrisBatchUploadEmployeeDocumentResponse < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # HTTP response content type for this operation + field :content_type, ::String + # Raw HTTP response; suitable for custom response parsing + field :raw_response, ::Faraday::Response + # HTTP response status code for this operation + field :status_code, ::Integer + # Batch operation accepted + field :batch_result_api_model, T.nilable(::StackOne::Shared::BatchResultApiModel) + + + sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, batch_result_api_model: T.nilable(::StackOne::Shared::BatchResultApiModel)).void } + def initialize(content_type: nil, raw_response: nil, status_code: nil, batch_result_api_model: nil) + @content_type = content_type + @raw_response = raw_response + @status_code = status_code + @batch_result_api_model = batch_result_api_model + end + end + end +end diff --git a/lib/stack_one/models/operations/lms_batch_upsert_content_request.rb b/lib/stack_one/models/operations/lms_batch_upsert_content_request.rb new file mode 100644 index 00000000..6dd76d9d --- /dev/null +++ b/lib/stack_one/models/operations/lms_batch_upsert_content_request.rb @@ -0,0 +1,27 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + + class LmsBatchUpsertContentRequest < ::StackOne::Utils::FieldAugmented + extend T::Sig + + + field :lms_batch_upsert_content_request_dto, ::StackOne::Shared::LmsBatchUpsertContentRequestDto, { 'request': { 'media_type': 'application/json' } } + # The account identifier + field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } + + + sig { params(lms_batch_upsert_content_request_dto: ::StackOne::Shared::LmsBatchUpsertContentRequestDto, x_account_id: ::String).void } + def initialize(lms_batch_upsert_content_request_dto: nil, x_account_id: nil) + @lms_batch_upsert_content_request_dto = lms_batch_upsert_content_request_dto + @x_account_id = x_account_id + end + end + end +end diff --git a/lib/stack_one/models/operations/lms_batch_upsert_content_response.rb b/lib/stack_one/models/operations/lms_batch_upsert_content_response.rb new file mode 100644 index 00000000..9291eb04 --- /dev/null +++ b/lib/stack_one/models/operations/lms_batch_upsert_content_response.rb @@ -0,0 +1,33 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + + class LmsBatchUpsertContentResponse < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # HTTP response content type for this operation + field :content_type, ::String + # Raw HTTP response; suitable for custom response parsing + field :raw_response, ::Faraday::Response + # HTTP response status code for this operation + field :status_code, ::Integer + # Batch operation accepted + field :batch_result_api_model, T.nilable(::StackOne::Shared::BatchResultApiModel) + + + sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, batch_result_api_model: T.nilable(::StackOne::Shared::BatchResultApiModel)).void } + def initialize(content_type: nil, raw_response: nil, status_code: nil, batch_result_api_model: nil) + @content_type = content_type + @raw_response = raw_response + @status_code = status_code + @batch_result_api_model = batch_result_api_model + end + end + end +end diff --git a/lib/stack_one/models/operations/lms_create_completion_request.rb b/lib/stack_one/models/operations/lms_create_user_completion_request.rb similarity index 92% rename from lib/stack_one/models/operations/lms_create_completion_request.rb rename to lib/stack_one/models/operations/lms_create_user_completion_request.rb index 2a827460..f45cd65c 100644 --- a/lib/stack_one/models/operations/lms_create_completion_request.rb +++ b/lib/stack_one/models/operations/lms_create_user_completion_request.rb @@ -8,7 +8,7 @@ module StackOne module Operations - class LmsCreateCompletionRequest < ::StackOne::Utils::FieldAugmented + class LmsCreateUserCompletionRequest < ::StackOne::Utils::FieldAugmented extend T::Sig diff --git a/lib/stack_one/models/operations/lms_create_completion_response.rb b/lib/stack_one/models/operations/lms_create_user_completion_response.rb similarity index 92% rename from lib/stack_one/models/operations/lms_create_completion_response.rb rename to lib/stack_one/models/operations/lms_create_user_completion_response.rb index 619ea422..b5eeaaec 100644 --- a/lib/stack_one/models/operations/lms_create_completion_response.rb +++ b/lib/stack_one/models/operations/lms_create_user_completion_response.rb @@ -8,7 +8,7 @@ module StackOne module Operations - class LmsCreateCompletionResponse < ::StackOne::Utils::FieldAugmented + class LmsCreateUserCompletionResponse < ::StackOne::Utils::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/stack_one/models/operations/lms_get_assignment_request.rb b/lib/stack_one/models/operations/lms_get_assignment_request.rb index b392e8ad..be575845 100644 --- a/lib/stack_one/models/operations/lms_get_assignment_request.rb +++ b/lib/stack_one/models/operations/lms_get_assignment_request.rb @@ -13,8 +13,6 @@ class LmsGetAssignmentRequest < ::StackOne::Utils::FieldAugmented field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } } - - field :sub_resource_id, ::String, { 'path_param': { 'field_name': 'subResourceId', 'style': 'simple', 'explode': false } } # The account identifier field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields to return in the response (if empty, all fields are returned) @@ -25,10 +23,9 @@ class LmsGetAssignmentRequest < ::StackOne::Utils::FieldAugmented field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } } - sig { params(id: ::String, sub_resource_id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void } - def initialize(id: nil, sub_resource_id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil) + sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void } + def initialize(id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil) @id = id - @sub_resource_id = sub_resource_id @x_account_id = x_account_id @fields_ = fields_ @proxy = proxy diff --git a/lib/stack_one/models/operations/lms_get_assignment_response.rb b/lib/stack_one/models/operations/lms_get_assignment_response.rb index 026dbd47..bb505872 100644 --- a/lib/stack_one/models/operations/lms_get_assignment_response.rb +++ b/lib/stack_one/models/operations/lms_get_assignment_response.rb @@ -17,7 +17,7 @@ class LmsGetAssignmentResponse < ::StackOne::Utils::FieldAugmented field :raw_response, ::Faraday::Response # HTTP response status code for this operation field :status_code, ::Integer - # The assignments with the given identifier was retrieved. + # The assignment with the given identifier was retrieved. field :assignment_result, T.nilable(::StackOne::Shared::AssignmentResult) diff --git a/lib/stack_one/models/operations/lms_get_completion_request.rb b/lib/stack_one/models/operations/lms_get_completion_request.rb new file mode 100644 index 00000000..b01076b4 --- /dev/null +++ b/lib/stack_one/models/operations/lms_get_completion_request.rb @@ -0,0 +1,36 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + + class LmsGetCompletionRequest < ::StackOne::Utils::FieldAugmented + extend T::Sig + + + field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } } + # The account identifier + field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } + # The comma separated list of fields to return in the response (if empty, all fields are returned) + field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } + # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key + field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } } + # Indicates that the raw request result is returned + field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } } + + + sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void } + def initialize(id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil) + @id = id + @x_account_id = x_account_id + @fields_ = fields_ + @proxy = proxy + @raw = raw + end + end + end +end diff --git a/lib/stack_one/models/operations/lms_get_completion_response.rb b/lib/stack_one/models/operations/lms_get_completion_response.rb new file mode 100644 index 00000000..2743fb22 --- /dev/null +++ b/lib/stack_one/models/operations/lms_get_completion_response.rb @@ -0,0 +1,33 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + + class LmsGetCompletionResponse < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # HTTP response content type for this operation + field :content_type, ::String + # Raw HTTP response; suitable for custom response parsing + field :raw_response, ::Faraday::Response + # HTTP response status code for this operation + field :status_code, ::Integer + # The completion with the given identifier was retrieved. + field :completion_result, T.nilable(::StackOne::Shared::CompletionResult) + + + sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, completion_result: T.nilable(::StackOne::Shared::CompletionResult)).void } + def initialize(content_type: nil, raw_response: nil, status_code: nil, completion_result: nil) + @content_type = content_type + @raw_response = raw_response + @status_code = status_code + @completion_result = completion_result + end + end + end +end diff --git a/lib/stack_one/models/operations/lms_get_skill_request.rb b/lib/stack_one/models/operations/lms_get_skill_request.rb new file mode 100644 index 00000000..c69f83f7 --- /dev/null +++ b/lib/stack_one/models/operations/lms_get_skill_request.rb @@ -0,0 +1,36 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + + class LmsGetSkillRequest < ::StackOne::Utils::FieldAugmented + extend T::Sig + + + field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } } + # The account identifier + field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } + # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) + field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } + # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key + field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } } + # Indicates that the raw request result is returned + field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } } + + + sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void } + def initialize(id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil) + @id = id + @x_account_id = x_account_id + @fields_ = fields_ + @proxy = proxy + @raw = raw + end + end + end +end diff --git a/lib/stack_one/models/operations/lms_get_skill_response.rb b/lib/stack_one/models/operations/lms_get_skill_response.rb new file mode 100644 index 00000000..f93bd0b6 --- /dev/null +++ b/lib/stack_one/models/operations/lms_get_skill_response.rb @@ -0,0 +1,33 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + + class LmsGetSkillResponse < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # HTTP response content type for this operation + field :content_type, ::String + # Raw HTTP response; suitable for custom response parsing + field :raw_response, ::Faraday::Response + # HTTP response status code for this operation + field :status_code, ::Integer + # The skill with the given identifier was retrieved. + field :skill_result, T.nilable(::StackOne::Shared::SkillResult) + + + sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, skill_result: T.nilable(::StackOne::Shared::SkillResult)).void } + def initialize(content_type: nil, raw_response: nil, status_code: nil, skill_result: nil) + @content_type = content_type + @raw_response = raw_response + @status_code = status_code + @skill_result = skill_result + end + end + end +end diff --git a/lib/stack_one/models/operations/lms_get_user_assignment_request.rb b/lib/stack_one/models/operations/lms_get_user_assignment_request.rb new file mode 100644 index 00000000..7ea519e2 --- /dev/null +++ b/lib/stack_one/models/operations/lms_get_user_assignment_request.rb @@ -0,0 +1,39 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + + class LmsGetUserAssignmentRequest < ::StackOne::Utils::FieldAugmented + extend T::Sig + + + field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } } + + field :sub_resource_id, ::String, { 'path_param': { 'field_name': 'subResourceId', 'style': 'simple', 'explode': false } } + # The account identifier + field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } + # The comma separated list of fields to return in the response (if empty, all fields are returned) + field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } + # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key + field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } } + # Indicates that the raw request result is returned + field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } } + + + sig { params(id: ::String, sub_resource_id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void } + def initialize(id: nil, sub_resource_id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil) + @id = id + @sub_resource_id = sub_resource_id + @x_account_id = x_account_id + @fields_ = fields_ + @proxy = proxy + @raw = raw + end + end + end +end diff --git a/lib/stack_one/models/operations/lms_get_user_assignment_response.rb b/lib/stack_one/models/operations/lms_get_user_assignment_response.rb new file mode 100644 index 00000000..5e8f5853 --- /dev/null +++ b/lib/stack_one/models/operations/lms_get_user_assignment_response.rb @@ -0,0 +1,33 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + + class LmsGetUserAssignmentResponse < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # HTTP response content type for this operation + field :content_type, ::String + # Raw HTTP response; suitable for custom response parsing + field :raw_response, ::Faraday::Response + # HTTP response status code for this operation + field :status_code, ::Integer + # The assignment with the given identifier was retrieved. + field :assignment_result, T.nilable(::StackOne::Shared::AssignmentResult) + + + sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, assignment_result: T.nilable(::StackOne::Shared::AssignmentResult)).void } + def initialize(content_type: nil, raw_response: nil, status_code: nil, assignment_result: nil) + @content_type = content_type + @raw_response = raw_response + @status_code = status_code + @assignment_result = assignment_result + end + end + end +end diff --git a/lib/stack_one/models/operations/lms_get_user_completion_request.rb b/lib/stack_one/models/operations/lms_get_user_completion_request.rb new file mode 100644 index 00000000..1a75bfdc --- /dev/null +++ b/lib/stack_one/models/operations/lms_get_user_completion_request.rb @@ -0,0 +1,39 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + + class LmsGetUserCompletionRequest < ::StackOne::Utils::FieldAugmented + extend T::Sig + + + field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } } + + field :sub_resource_id, ::String, { 'path_param': { 'field_name': 'subResourceId', 'style': 'simple', 'explode': false } } + # The account identifier + field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } + # The comma separated list of fields to return in the response (if empty, all fields are returned) + field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } + # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key + field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } } + # Indicates that the raw request result is returned + field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } } + + + sig { params(id: ::String, sub_resource_id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void } + def initialize(id: nil, sub_resource_id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil) + @id = id + @sub_resource_id = sub_resource_id + @x_account_id = x_account_id + @fields_ = fields_ + @proxy = proxy + @raw = raw + end + end + end +end diff --git a/lib/stack_one/models/operations/lms_get_user_completion_response.rb b/lib/stack_one/models/operations/lms_get_user_completion_response.rb new file mode 100644 index 00000000..46cf8dc7 --- /dev/null +++ b/lib/stack_one/models/operations/lms_get_user_completion_response.rb @@ -0,0 +1,33 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + + class LmsGetUserCompletionResponse < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # HTTP response content type for this operation + field :content_type, ::String + # Raw HTTP response; suitable for custom response parsing + field :raw_response, ::Faraday::Response + # HTTP response status code for this operation + field :status_code, ::Integer + # The completion with the given identifier was retrieved. + field :completion_result, T.nilable(::StackOne::Shared::CompletionResult) + + + sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, completion_result: T.nilable(::StackOne::Shared::CompletionResult)).void } + def initialize(content_type: nil, raw_response: nil, status_code: nil, completion_result: nil) + @content_type = content_type + @raw_response = raw_response + @status_code = status_code + @completion_result = completion_result + end + end + end +end diff --git a/lib/stack_one/models/operations/lms_list_assignments_request.rb b/lib/stack_one/models/operations/lms_list_assignments_request.rb index 1c8b5e88..394fd2ff 100644 --- a/lib/stack_one/models/operations/lms_list_assignments_request.rb +++ b/lib/stack_one/models/operations/lms_list_assignments_request.rb @@ -11,8 +11,6 @@ module Operations class LmsListAssignmentsRequest < ::StackOne::Utils::FieldAugmented extend T::Sig - - field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } } # The account identifier field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) @@ -31,15 +29,18 @@ class LmsListAssignmentsRequest < ::StackOne::Utils::FieldAugmented field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } } # Indicates that the raw request result is returned field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } } + # Provider's unique identifier of the user related to the assignment + field :remote_user_id, T.nilable(::String), { 'query_param': { 'field_name': 'remote_user_id', 'style': 'form', 'explode': true } } # Use a string with a date to only select results updated after that given date # # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible. field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } + # The user ID associated with this assignment + field :user_id, T.nilable(::String), { 'query_param': { 'field_name': 'user_id', 'style': 'form', 'explode': true } } - sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::LmsListAssignmentsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } - def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) - @id = id + sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::LmsListAssignmentsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), remote_user_id: T.nilable(::String), updated_after: T.nilable(::String), user_id: T.nilable(::String)).void } + def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, remote_user_id: nil, updated_after: nil, user_id: nil) @x_account_id = x_account_id @fields_ = fields_ @filter = filter @@ -48,7 +49,9 @@ def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil @page_size = page_size @proxy = proxy @raw = raw + @remote_user_id = remote_user_id @updated_after = updated_after + @user_id = user_id end end end diff --git a/lib/stack_one/models/operations/lms_list_assignments_response.rb b/lib/stack_one/models/operations/lms_list_assignments_response.rb index a6106c04..e365987b 100644 --- a/lib/stack_one/models/operations/lms_list_assignments_response.rb +++ b/lib/stack_one/models/operations/lms_list_assignments_response.rb @@ -17,7 +17,7 @@ class LmsListAssignmentsResponse < ::StackOne::Utils::FieldAugmented field :raw_response, ::Faraday::Response # HTTP response status code for this operation field :status_code, ::Integer - # The assignments related to the employee with the given identifier were retrieved. + # The list of assignments was retrieved. field :assignments_paginated, T.nilable(::StackOne::Shared::AssignmentsPaginated) diff --git a/lib/stack_one/models/operations/lms_list_completions_request.rb b/lib/stack_one/models/operations/lms_list_completions_request.rb index ff61f4b4..b29428c9 100644 --- a/lib/stack_one/models/operations/lms_list_completions_request.rb +++ b/lib/stack_one/models/operations/lms_list_completions_request.rb @@ -11,14 +11,12 @@ module Operations class LmsListCompletionsRequest < ::StackOne::Utils::FieldAugmented extend T::Sig - - field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } } # The account identifier field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } # Filter parameters that allow greater customisation of the list response - field :filter, T.nilable(::StackOne::Operations::LmsListCompletionsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'form', 'explode': true } } + field :filter, T.nilable(::StackOne::Operations::LmsListCompletionsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -28,18 +26,21 @@ class LmsListCompletionsRequest < ::StackOne::Utils::FieldAugmented # The number of results per page field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } } # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key - field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } } + field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } } # Indicates that the raw request result is returned field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } } + # Provider's unique identifier of the user + field :remote_user_id, T.nilable(::String), { 'query_param': { 'field_name': 'remote_user_id', 'style': 'form', 'explode': true } } # Use a string with a date to only select results updated after that given date # # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible. field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } + # The user ID associated with this completion + field :user_id, T.nilable(::String), { 'query_param': { 'field_name': 'user_id', 'style': 'form', 'explode': true } } - sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::LmsListCompletionsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } - def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) - @id = id + sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::LmsListCompletionsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), remote_user_id: T.nilable(::String), updated_after: T.nilable(::String), user_id: T.nilable(::String)).void } + def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, remote_user_id: nil, updated_after: nil, user_id: nil) @x_account_id = x_account_id @fields_ = fields_ @filter = filter @@ -48,7 +49,9 @@ def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil @page_size = page_size @proxy = proxy @raw = raw + @remote_user_id = remote_user_id @updated_after = updated_after + @user_id = user_id end end end diff --git a/lib/stack_one/models/operations/lms_list_completions_response.rb b/lib/stack_one/models/operations/lms_list_completions_response.rb index d7443e52..14da9a05 100644 --- a/lib/stack_one/models/operations/lms_list_completions_response.rb +++ b/lib/stack_one/models/operations/lms_list_completions_response.rb @@ -17,7 +17,7 @@ class LmsListCompletionsResponse < ::StackOne::Utils::FieldAugmented field :raw_response, ::Faraday::Response # HTTP response status code for this operation field :status_code, ::Integer - # The completions with for the users with the given identifier were retrieved. + # The list of completions was retrieved. field :completions_paginated, T.nilable(::StackOne::Shared::CompletionsPaginated) diff --git a/lib/stack_one/models/operations/lms_list_skills_queryparam_filter.rb b/lib/stack_one/models/operations/lms_list_skills_queryparam_filter.rb new file mode 100644 index 00000000..fc6c443d --- /dev/null +++ b/lib/stack_one/models/operations/lms_list_skills_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class LmsListSkillsQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/lms_list_skills_request.rb b/lib/stack_one/models/operations/lms_list_skills_request.rb new file mode 100644 index 00000000..5f5f35a4 --- /dev/null +++ b/lib/stack_one/models/operations/lms_list_skills_request.rb @@ -0,0 +1,52 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + + class LmsListSkillsRequest < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # The account identifier + field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } + # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) + field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::LmsListSkillsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'form', 'explode': true } } + # The unified cursor + field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } + # The page number of the results to fetch + # + # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible. + field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } } + # The number of results per page + field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } } + # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key + field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } } + # Indicates that the raw request result is returned + field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } } + # Use a string with a date to only select results updated after that given date + # + # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible. + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } + + + sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::LmsListSkillsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) + @x_account_id = x_account_id + @fields_ = fields_ + @filter = filter + @next_ = next_ + @page = page + @page_size = page_size + @proxy = proxy + @raw = raw + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/lms_list_skills_response.rb b/lib/stack_one/models/operations/lms_list_skills_response.rb new file mode 100644 index 00000000..bfd21a9a --- /dev/null +++ b/lib/stack_one/models/operations/lms_list_skills_response.rb @@ -0,0 +1,33 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + + class LmsListSkillsResponse < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # HTTP response content type for this operation + field :content_type, ::String + # Raw HTTP response; suitable for custom response parsing + field :raw_response, ::Faraday::Response + # HTTP response status code for this operation + field :status_code, ::Integer + # The list of skills was retrieved. + field :skills_paginated, T.nilable(::StackOne::Shared::SkillsPaginated) + + + sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, skills_paginated: T.nilable(::StackOne::Shared::SkillsPaginated)).void } + def initialize(content_type: nil, raw_response: nil, status_code: nil, skills_paginated: nil) + @content_type = content_type + @raw_response = raw_response + @status_code = status_code + @skills_paginated = skills_paginated + end + end + end +end diff --git a/lib/stack_one/models/operations/lms_list_user_assignments_queryparam_filter.rb b/lib/stack_one/models/operations/lms_list_user_assignments_queryparam_filter.rb new file mode 100644 index 00000000..3e7a8ca4 --- /dev/null +++ b/lib/stack_one/models/operations/lms_list_user_assignments_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class LmsListUserAssignmentsQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/lms_list_user_assignments_request.rb b/lib/stack_one/models/operations/lms_list_user_assignments_request.rb new file mode 100644 index 00000000..bd4e0a1f --- /dev/null +++ b/lib/stack_one/models/operations/lms_list_user_assignments_request.rb @@ -0,0 +1,61 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + + class LmsListUserAssignmentsRequest < ::StackOne::Utils::FieldAugmented + extend T::Sig + + + field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } } + # The account identifier + field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } + # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) + field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::LmsListUserAssignmentsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'form', 'explode': true } } + # The unified cursor + field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } + # The page number of the results to fetch + # + # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible. + field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } } + # The number of results per page + field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } } + # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key + field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } } + # Indicates that the raw request result is returned + field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } } + # Provider's unique identifier of the user related to the assignment + field :remote_user_id, T.nilable(::String), { 'query_param': { 'field_name': 'remote_user_id', 'style': 'form', 'explode': true } } + # Use a string with a date to only select results updated after that given date + # + # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible. + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } + # The user ID associated with this assignment + field :user_id, T.nilable(::String), { 'query_param': { 'field_name': 'user_id', 'style': 'form', 'explode': true } } + + + sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::LmsListUserAssignmentsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), remote_user_id: T.nilable(::String), updated_after: T.nilable(::String), user_id: T.nilable(::String)).void } + def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, remote_user_id: nil, updated_after: nil, user_id: nil) + @id = id + @x_account_id = x_account_id + @fields_ = fields_ + @filter = filter + @next_ = next_ + @page = page + @page_size = page_size + @proxy = proxy + @raw = raw + @remote_user_id = remote_user_id + @updated_after = updated_after + @user_id = user_id + end + end + end +end diff --git a/lib/stack_one/models/operations/lms_list_user_assignments_response.rb b/lib/stack_one/models/operations/lms_list_user_assignments_response.rb new file mode 100644 index 00000000..8ad16135 --- /dev/null +++ b/lib/stack_one/models/operations/lms_list_user_assignments_response.rb @@ -0,0 +1,33 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + + class LmsListUserAssignmentsResponse < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # HTTP response content type for this operation + field :content_type, ::String + # Raw HTTP response; suitable for custom response parsing + field :raw_response, ::Faraday::Response + # HTTP response status code for this operation + field :status_code, ::Integer + # The assignments related to the employee with the given identifier were retrieved. + field :assignments_paginated, T.nilable(::StackOne::Shared::AssignmentsPaginated) + + + sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, assignments_paginated: T.nilable(::StackOne::Shared::AssignmentsPaginated)).void } + def initialize(content_type: nil, raw_response: nil, status_code: nil, assignments_paginated: nil) + @content_type = content_type + @raw_response = raw_response + @status_code = status_code + @assignments_paginated = assignments_paginated + end + end + end +end diff --git a/lib/stack_one/models/operations/lms_list_user_completions_queryparam_filter.rb b/lib/stack_one/models/operations/lms_list_user_completions_queryparam_filter.rb new file mode 100644 index 00000000..eee1124d --- /dev/null +++ b/lib/stack_one/models/operations/lms_list_user_completions_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class LmsListUserCompletionsQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/lms_list_user_completions_request.rb b/lib/stack_one/models/operations/lms_list_user_completions_request.rb new file mode 100644 index 00000000..035a6e94 --- /dev/null +++ b/lib/stack_one/models/operations/lms_list_user_completions_request.rb @@ -0,0 +1,61 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + + class LmsListUserCompletionsRequest < ::StackOne::Utils::FieldAugmented + extend T::Sig + + + field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } } + # The account identifier + field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } + # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) + field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::LmsListUserCompletionsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'form', 'explode': true } } + # The unified cursor + field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } + # The page number of the results to fetch + # + # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible. + field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } } + # The number of results per page + field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } } + # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key + field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } } + # Indicates that the raw request result is returned + field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } } + # Provider's unique identifier of the user + field :remote_user_id, T.nilable(::String), { 'query_param': { 'field_name': 'remote_user_id', 'style': 'form', 'explode': true } } + # Use a string with a date to only select results updated after that given date + # + # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible. + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } + # The user ID associated with this completion + field :user_id, T.nilable(::String), { 'query_param': { 'field_name': 'user_id', 'style': 'form', 'explode': true } } + + + sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::LmsListUserCompletionsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), remote_user_id: T.nilable(::String), updated_after: T.nilable(::String), user_id: T.nilable(::String)).void } + def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, remote_user_id: nil, updated_after: nil, user_id: nil) + @id = id + @x_account_id = x_account_id + @fields_ = fields_ + @filter = filter + @next_ = next_ + @page = page + @page_size = page_size + @proxy = proxy + @raw = raw + @remote_user_id = remote_user_id + @updated_after = updated_after + @user_id = user_id + end + end + end +end diff --git a/lib/stack_one/models/operations/lms_list_user_completions_response.rb b/lib/stack_one/models/operations/lms_list_user_completions_response.rb new file mode 100644 index 00000000..eeb33599 --- /dev/null +++ b/lib/stack_one/models/operations/lms_list_user_completions_response.rb @@ -0,0 +1,33 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + + class LmsListUserCompletionsResponse < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # HTTP response content type for this operation + field :content_type, ::String + # Raw HTTP response; suitable for custom response parsing + field :raw_response, ::Faraday::Response + # HTTP response status code for this operation + field :status_code, ::Integer + # The completions with for the users with the given identifier were retrieved. + field :completions_paginated, T.nilable(::StackOne::Shared::CompletionsPaginated) + + + sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, completions_paginated: T.nilable(::StackOne::Shared::CompletionsPaginated)).void } + def initialize(content_type: nil, raw_response: nil, status_code: nil, completions_paginated: nil) + @content_type = content_type + @raw_response = raw_response + @status_code = status_code + @completions_paginated = completions_paginated + end + end + end +end diff --git a/lib/stack_one/models/shared.rb b/lib/stack_one/models/shared.rb index e9de7709..586b36f5 100644 --- a/lib/stack_one/models/shared.rb +++ b/lib/stack_one/models/shared.rb @@ -137,6 +137,7 @@ module Shared autoload :JobStatus, 'stack_one/models/shared/job_status.rb' autoload :Job, 'stack_one/models/shared/job.rb' autoload :JobHiringTeam, 'stack_one/models/shared/jobhiringteam.rb' + autoload :JobCustomFields, 'stack_one/models/shared/jobcustomfields.rb' autoload :JobPostingResult, 'stack_one/models/shared/jobpostingresult.rb' autoload :JobPostingContent, 'stack_one/models/shared/jobposting_content.rb' autoload :JobPostingValue, 'stack_one/models/shared/jobposting_value.rb' @@ -153,6 +154,9 @@ module Shared autoload :Question, 'stack_one/models/shared/question.rb' autoload :QuestionMultipleChoiceAnswers, 'stack_one/models/shared/questionmultiplechoiceanswers.rb' autoload :JobPostingLocation, 'stack_one/models/shared/jobpostinglocation.rb' + autoload :JobPostingContentSectionValue, 'stack_one/models/shared/jobpostingcontentsection_value.rb' + autoload :JobPostingContentSectionType, 'stack_one/models/shared/jobpostingcontentsection_type.rb' + autoload :JobPostingContentSection, 'stack_one/models/shared/jobpostingcontentsection.rb' autoload :JobPostingCompensationValue, 'stack_one/models/shared/jobpostingcompensation_value.rb' autoload :JobPostingCompensationPayFrequency, 'stack_one/models/shared/jobpostingcompensation_pay_frequency.rb' autoload :JobPostingCompensationSchemasValue, 'stack_one/models/shared/jobpostingcompensation_schemas_value.rb' @@ -188,6 +192,10 @@ module Shared autoload :ATSLocationsPaginated, 'stack_one/models/shared/atslocationspaginated.rb' autoload :RejectedReasonsPaginated, 'stack_one/models/shared/rejectedreasonspaginated.rb' autoload :UsersPaginated, 'stack_one/models/shared/userspaginated.rb' + autoload :MoveApplicationResult, 'stack_one/models/shared/moveapplicationresult.rb' + autoload :AtsMoveApplicationRequestDto, 'stack_one/models/shared/atsmoveapplicationrequestdto.rb' + autoload :RejectApplicationResult, 'stack_one/models/shared/rejectapplicationresult.rb' + autoload :AtsRejectApplicationRequestDto, 'stack_one/models/shared/atsrejectapplicationrequestdto.rb' autoload :UpdateResult, 'stack_one/models/shared/updateresult.rb' autoload :AtsUpdateApplicationRequestDtoValue, 'stack_one/models/shared/atsupdateapplicationrequestdto_value.rb' autoload :AtsUpdateApplicationRequestDtoApplicationStatus, 'stack_one/models/shared/atsupdateapplicationrequestdto_application_status.rb' @@ -217,6 +225,15 @@ module Shared autoload :AccountAddress, 'stack_one/models/shared/accountaddress.rb' autoload :AccountsPaginated, 'stack_one/models/shared/accountspaginated.rb' autoload :ContactsPaginated, 'stack_one/models/shared/contactspaginated.rb' + autoload :BatchResultApiModel, 'stack_one/models/shared/batchresultapimodel.rb' + autoload :HrisBatchDocumentUploadRequestDto, 'stack_one/models/shared/hrisbatchdocumentuploadrequestdto.rb' + autoload :HrisDocumentsUploadRequestDtoValue, 'stack_one/models/shared/hrisdocumentsuploadrequestdto_value.rb' + autoload :HrisDocumentsUploadRequestDtoCategory, 'stack_one/models/shared/hrisdocumentsuploadrequestdto_category.rb' + autoload :HrisDocumentsUploadRequestDtoSchemasValue, 'stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_value.rb' + autoload :Confidential, 'stack_one/models/shared/confidential.rb' + autoload :HrisDocumentsUploadRequestDtoSchemasFileFormatValue, 'stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_file_format_value.rb' + autoload :HrisDocumentsUploadRequestDtoFileFormat, 'stack_one/models/shared/hrisdocumentsuploadrequestdto_file_format.rb' + autoload :HrisDocumentsUploadRequestDto, 'stack_one/models/shared/hrisdocumentsuploadrequestdto.rb' autoload :HrisCreateEmployeeRequestDtoAvatar, 'stack_one/models/shared/hriscreateemployeerequestdto_avatar.rb' autoload :HrisCreateEmployeeRequestDtoValue, 'stack_one/models/shared/hriscreateemployeerequestdto_value.rb' autoload :HrisCreateEmployeeRequestDtoEmploymentContractType, 'stack_one/models/shared/hriscreateemployeerequestdto_employment_contract_type.rb' @@ -235,6 +252,9 @@ module Shared autoload :HrisCreateEmployeeRequestDtoHomeLocation, 'stack_one/models/shared/hriscreateemployeerequestdto_home_location.rb' autoload :HrisCreateEmployeeRequestDtoSchemasMaritalStatusValue, 'stack_one/models/shared/hriscreateemployeerequestdto_schemas_marital_status_value.rb' autoload :HrisCreateEmployeeRequestDtoMaritalStatus, 'stack_one/models/shared/hriscreateemployeerequestdto_marital_status.rb' + autoload :HrisCreateEmployeeRequestDtoSchemasNationalIdentityNumberValue, 'stack_one/models/shared/hriscreateemployeerequestdto_schemas_national_identity_number_value.rb' + autoload :HrisCreateEmployeeRequestDtoType, 'stack_one/models/shared/hriscreateemployeerequestdto_type.rb' + autoload :HrisCreateEmployeeRequestDtoNationalIdentityNumber, 'stack_one/models/shared/hriscreateemployeerequestdto_national_identity_number.rb' autoload :HrisCreateEmployeeRequestDtoSchemasPreferredLanguageValue, 'stack_one/models/shared/hriscreateemployeerequestdto_schemas_preferred_language_value.rb' autoload :HrisCreateEmployeeRequestDtoPreferredLanguage, 'stack_one/models/shared/hriscreateemployeerequestdto_preferred_language.rb' autoload :HrisCreateEmployeeRequestDtoSchemasWorkLocationValue, 'stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_value.rb' @@ -360,13 +380,6 @@ module Shared autoload :EmployeesPaginated, 'stack_one/models/shared/employeespaginated.rb' autoload :HRISGroupsPaginated, 'stack_one/models/shared/hrisgroupspaginated.rb' autoload :HRISLocationsPaginated, 'stack_one/models/shared/hrislocationspaginated.rb' - autoload :HrisDocumentsUploadRequestDtoValue, 'stack_one/models/shared/hrisdocumentsuploadrequestdto_value.rb' - autoload :HrisDocumentsUploadRequestDtoCategory, 'stack_one/models/shared/hrisdocumentsuploadrequestdto_category.rb' - autoload :HrisDocumentsUploadRequestDtoSchemasValue, 'stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_value.rb' - autoload :Confidential, 'stack_one/models/shared/confidential.rb' - autoload :HrisDocumentsUploadRequestDtoSchemasFileFormatValue, 'stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_file_format_value.rb' - autoload :HrisDocumentsUploadRequestDtoFileFormat, 'stack_one/models/shared/hrisdocumentsuploadrequestdto_file_format.rb' - autoload :HrisDocumentsUploadRequestDto, 'stack_one/models/shared/hrisdocumentsuploadrequestdto.rb' autoload :IamGroupResult, 'stack_one/models/shared/iamgroupresult.rb' autoload :IamGroupValue, 'stack_one/models/shared/iamgroup_value.rb' autoload :IamGroupType, 'stack_one/models/shared/iamgroup_type.rb' @@ -397,21 +410,29 @@ module Shared autoload :IamPoliciesPaginated, 'stack_one/models/shared/iampoliciespaginated.rb' autoload :IamRolesPaginated, 'stack_one/models/shared/iamrolespaginated.rb' autoload :IamUsersPaginated, 'stack_one/models/shared/iamuserspaginated.rb' - autoload :LmsCreateCompletionRequestDtoValue, 'stack_one/models/shared/lmscreatecompletionrequestdto_value.rb' - autoload :LmsCreateCompletionRequestDtoResult, 'stack_one/models/shared/lmscreatecompletionrequestdto_result.rb' - autoload :LmsCreateCompletionRequestDto, 'stack_one/models/shared/lmscreatecompletionrequestdto.rb' - autoload :LmsCreateContentRequestDtoValue, 'stack_one/models/shared/lmscreatecontentrequestdto_value.rb' - autoload :LmsCreateContentRequestDtoContentType, 'stack_one/models/shared/lmscreatecontentrequestdto_content_type.rb' - autoload :LmsCreateContentRequestDto, 'stack_one/models/shared/lmscreatecontentrequestdto.rb' + autoload :LmsBatchUpsertContentRequestDto, 'stack_one/models/shared/lmsbatchupsertcontentrequestdto.rb' + autoload :LmsUpsertContentRequestDtoValue, 'stack_one/models/shared/lmsupsertcontentrequestdto_value.rb' + autoload :LmsUpsertContentRequestDtoContentType, 'stack_one/models/shared/lmsupsertcontentrequestdto_content_type.rb' + autoload :LmsUpsertContentRequestDto, 'stack_one/models/shared/lmsupsertcontentrequestdto.rb' autoload :ContentLanguageEnumValue, 'stack_one/models/shared/contentlanguageenum_value.rb' autoload :ContentLanguageEnum, 'stack_one/models/shared/contentlanguageenum.rb' autoload :CreateCategoriesApiModel, 'stack_one/models/shared/createcategoriesapimodel.rb' + autoload :LmsCreateContentRequestDtoValue, 'stack_one/models/shared/lmscreatecontentrequestdto_value.rb' + autoload :LmsCreateContentRequestDtoContentType, 'stack_one/models/shared/lmscreatecontentrequestdto_content_type.rb' + autoload :LmsCreateContentRequestDto, 'stack_one/models/shared/lmscreatecontentrequestdto.rb' + autoload :LmsCreateCompletionRequestDtoValue, 'stack_one/models/shared/lmscreatecompletionrequestdto_value.rb' + autoload :LmsCreateCompletionRequestDtoResult, 'stack_one/models/shared/lmscreatecompletionrequestdto_result.rb' + autoload :LmsCreateCompletionRequestDto, 'stack_one/models/shared/lmscreatecompletionrequestdto.rb' autoload :AssignmentResult, 'stack_one/models/shared/assignmentresult.rb' autoload :Assignment, 'stack_one/models/shared/assignment.rb' autoload :Value, 'stack_one/models/shared/value.rb' autoload :AssignmentStatusEnum, 'stack_one/models/shared/assignmentstatusenum.rb' autoload :CategoryResult, 'stack_one/models/shared/categoryresult.rb' autoload :Category, 'stack_one/models/shared/category.rb' + autoload :CompletionResult, 'stack_one/models/shared/completionresult.rb' + autoload :CompletionValue, 'stack_one/models/shared/completion_value.rb' + autoload :CompletionSchemasResult, 'stack_one/models/shared/completion_schemas_result.rb' + autoload :Completion, 'stack_one/models/shared/completion.rb' autoload :ContentResult, 'stack_one/models/shared/contentresult.rb' autoload :CourseResult, 'stack_one/models/shared/courseresult.rb' autoload :CourseValue, 'stack_one/models/shared/course_value.rb' @@ -420,17 +441,13 @@ module Shared autoload :CourseType, 'stack_one/models/shared/course_type.rb' autoload :Course, 'stack_one/models/shared/course.rb' autoload :Skills, 'stack_one/models/shared/skills.rb' + autoload :SkillResult, 'stack_one/models/shared/skillresult.rb' autoload :AssignmentsPaginated, 'stack_one/models/shared/assignmentspaginated.rb' autoload :CategoriesPaginated, 'stack_one/models/shared/categoriespaginated.rb' autoload :CompletionsPaginated, 'stack_one/models/shared/completionspaginated.rb' - autoload :CompletionValue, 'stack_one/models/shared/completion_value.rb' - autoload :CompletionResult, 'stack_one/models/shared/completion_result.rb' - autoload :Completion, 'stack_one/models/shared/completion.rb' autoload :ContentPaginated, 'stack_one/models/shared/contentpaginated.rb' autoload :CoursePaginated, 'stack_one/models/shared/coursepaginated.rb' - autoload :LmsUpsertContentRequestDtoValue, 'stack_one/models/shared/lmsupsertcontentrequestdto_value.rb' - autoload :LmsUpsertContentRequestDtoContentType, 'stack_one/models/shared/lmsupsertcontentrequestdto_content_type.rb' - autoload :LmsUpsertContentRequestDto, 'stack_one/models/shared/lmsupsertcontentrequestdto.rb' + autoload :SkillsPaginated, 'stack_one/models/shared/skillspaginated.rb' autoload :MarketingCreateContentBlocksRequestDto, 'stack_one/models/shared/marketingcreatecontentblocksrequestdto.rb' autoload :MarketingCreateEmailTemplateRequestDto, 'stack_one/models/shared/marketingcreateemailtemplaterequestdto.rb' autoload :MessageContent, 'stack_one/models/shared/message_content.rb' diff --git a/lib/stack_one/models/shared/account.rb b/lib/stack_one/models/shared/account.rb index 8e8df404..ebaa96d1 100644 --- a/lib/stack_one/models/shared/account.rb +++ b/lib/stack_one/models/shared/account.rb @@ -33,14 +33,16 @@ class Account < ::StackOne::Utils::FieldAugmented field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } # Provider's unique identifier of the owner field :remote_owner_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_owner_id') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # Timestamp when the account was last updated field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } field :website, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('website') } } - sig { params(addresses: T.nilable(T::Array[::StackOne::Shared::AccountAddress]), annual_revenue: T.nilable(::String), created_at: T.nilable(::DateTime), description: T.nilable(::String), id: T.nilable(::String), industries: T.nilable(T::Array[::String]), name: T.nilable(::String), owner_id: T.nilable(::String), phone_numbers: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), remote_owner_id: T.nilable(::String), updated_at: T.nilable(::DateTime), website: T.nilable(::String)).void } - def initialize(addresses: nil, annual_revenue: nil, created_at: nil, description: nil, id: nil, industries: nil, name: nil, owner_id: nil, phone_numbers: nil, remote_id: nil, remote_owner_id: nil, updated_at: nil, website: nil) + sig { params(addresses: T.nilable(T::Array[::StackOne::Shared::AccountAddress]), annual_revenue: T.nilable(::String), created_at: T.nilable(::DateTime), description: T.nilable(::String), id: T.nilable(::String), industries: T.nilable(T::Array[::String]), name: T.nilable(::String), owner_id: T.nilable(::String), phone_numbers: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), remote_owner_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime), website: T.nilable(::String)).void } + def initialize(addresses: nil, annual_revenue: nil, created_at: nil, description: nil, id: nil, industries: nil, name: nil, owner_id: nil, phone_numbers: nil, remote_id: nil, remote_owner_id: nil, unified_custom_fields: nil, updated_at: nil, website: nil) @addresses = addresses @annual_revenue = annual_revenue @created_at = created_at @@ -52,6 +54,7 @@ def initialize(addresses: nil, annual_revenue: nil, created_at: nil, description @phone_numbers = phone_numbers @remote_id = remote_id @remote_owner_id = remote_owner_id + @unified_custom_fields = unified_custom_fields @updated_at = updated_at @website = website end diff --git a/lib/stack_one/models/shared/accountaddress_schemas_value.rb b/lib/stack_one/models/shared/accountaddress_schemas_value.rb index 77ddd8c3..c4dc034c 100644 --- a/lib/stack_one/models/shared/accountaddress_schemas_value.rb +++ b/lib/stack_one/models/shared/accountaddress_schemas_value.rb @@ -260,6 +260,5 @@ class AccountAddressSchemasValue < T::Enum ZW = new('ZW') end end - end end diff --git a/lib/stack_one/models/shared/accountaddress_value.rb b/lib/stack_one/models/shared/accountaddress_value.rb index 011ca76d..fe5c18f4 100644 --- a/lib/stack_one/models/shared/accountaddress_value.rb +++ b/lib/stack_one/models/shared/accountaddress_value.rb @@ -15,6 +15,5 @@ class AccountAddressValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/answer_value.rb b/lib/stack_one/models/shared/answer_value.rb index 0c67cf4e..89359ed1 100644 --- a/lib/stack_one/models/shared/answer_value.rb +++ b/lib/stack_one/models/shared/answer_value.rb @@ -21,6 +21,5 @@ class AnswerValue < T::Enum VIDEO = new('video') end end - end end diff --git a/lib/stack_one/models/shared/application.rb b/lib/stack_one/models/shared/application.rb index b327c499..8e2e0fc8 100644 --- a/lib/stack_one/models/shared/application.rb +++ b/lib/stack_one/models/shared/application.rb @@ -65,12 +65,14 @@ class Application < ::StackOne::Utils::FieldAugmented field :result_links, T.nilable(T::Array[::StackOne::Shared::ResultLink]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('result_links') } } field :source, T.nilable(::StackOne::Shared::Source), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # Date of last update field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } - sig { params(application_status: T.nilable(::StackOne::Shared::ApplicationStatus), attachments: T.nilable(T::Array[::StackOne::Shared::ApplicationAttachment]), candidate: T.nilable(::StackOne::Shared::ApplicationCandidate), candidate_id: T.nilable(::String), created_at: T.nilable(::DateTime), custom_fields: T.nilable(T::Array[::StackOne::Shared::ApplicationCustomFields]), documents: T.nilable(T::Array[::StackOne::Shared::AtsDocumentApiModel]), id: T.nilable(::String), interview_stage: T.nilable(::StackOne::Shared::ApplicationInterviewStage), interview_stage_id: T.nilable(::String), job_id: T.nilable(::String), location_id: T.nilable(::String), location_ids: T.nilable(T::Array[::String]), questionnaires: T.nilable(T::Array[::StackOne::Shared::Questionnaire]), rejected_at: T.nilable(::DateTime), rejected_reason_ids: T.nilable(T::Array[::String]), rejected_reasons: T.nilable(T::Array[::StackOne::Shared::RejectedReason]), remote_candidate_id: T.nilable(::String), remote_id: T.nilable(::String), remote_interview_stage_id: T.nilable(::String), remote_job_id: T.nilable(::String), remote_location_id: T.nilable(::String), remote_location_ids: T.nilable(T::Array[::String]), remote_rejected_reason_ids: T.nilable(T::Array[::String]), result_links: T.nilable(T::Array[::StackOne::Shared::ResultLink]), source: T.nilable(::StackOne::Shared::Source), updated_at: T.nilable(::DateTime)).void } - def initialize(application_status: nil, attachments: nil, candidate: nil, candidate_id: nil, created_at: nil, custom_fields: nil, documents: nil, id: nil, interview_stage: nil, interview_stage_id: nil, job_id: nil, location_id: nil, location_ids: nil, questionnaires: nil, rejected_at: nil, rejected_reason_ids: nil, rejected_reasons: nil, remote_candidate_id: nil, remote_id: nil, remote_interview_stage_id: nil, remote_job_id: nil, remote_location_id: nil, remote_location_ids: nil, remote_rejected_reason_ids: nil, result_links: nil, source: nil, updated_at: nil) + sig { params(application_status: T.nilable(::StackOne::Shared::ApplicationStatus), attachments: T.nilable(T::Array[::StackOne::Shared::ApplicationAttachment]), candidate: T.nilable(::StackOne::Shared::ApplicationCandidate), candidate_id: T.nilable(::String), created_at: T.nilable(::DateTime), custom_fields: T.nilable(T::Array[::StackOne::Shared::ApplicationCustomFields]), documents: T.nilable(T::Array[::StackOne::Shared::AtsDocumentApiModel]), id: T.nilable(::String), interview_stage: T.nilable(::StackOne::Shared::ApplicationInterviewStage), interview_stage_id: T.nilable(::String), job_id: T.nilable(::String), location_id: T.nilable(::String), location_ids: T.nilable(T::Array[::String]), questionnaires: T.nilable(T::Array[::StackOne::Shared::Questionnaire]), rejected_at: T.nilable(::DateTime), rejected_reason_ids: T.nilable(T::Array[::String]), rejected_reasons: T.nilable(T::Array[::StackOne::Shared::RejectedReason]), remote_candidate_id: T.nilable(::String), remote_id: T.nilable(::String), remote_interview_stage_id: T.nilable(::String), remote_job_id: T.nilable(::String), remote_location_id: T.nilable(::String), remote_location_ids: T.nilable(T::Array[::String]), remote_rejected_reason_ids: T.nilable(T::Array[::String]), result_links: T.nilable(T::Array[::StackOne::Shared::ResultLink]), source: T.nilable(::StackOne::Shared::Source), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void } + def initialize(application_status: nil, attachments: nil, candidate: nil, candidate_id: nil, created_at: nil, custom_fields: nil, documents: nil, id: nil, interview_stage: nil, interview_stage_id: nil, job_id: nil, location_id: nil, location_ids: nil, questionnaires: nil, rejected_at: nil, rejected_reason_ids: nil, rejected_reasons: nil, remote_candidate_id: nil, remote_id: nil, remote_interview_stage_id: nil, remote_job_id: nil, remote_location_id: nil, remote_location_ids: nil, remote_rejected_reason_ids: nil, result_links: nil, source: nil, unified_custom_fields: nil, updated_at: nil) @application_status = application_status @attachments = attachments @candidate = candidate @@ -97,6 +99,7 @@ def initialize(application_status: nil, attachments: nil, candidate: nil, candid @remote_rejected_reason_ids = remote_rejected_reason_ids @result_links = result_links @source = source + @unified_custom_fields = unified_custom_fields @updated_at = updated_at end end diff --git a/lib/stack_one/models/shared/application_interview_stage.rb b/lib/stack_one/models/shared/application_interview_stage.rb index 3c4c408b..88e70085 100644 --- a/lib/stack_one/models/shared/application_interview_stage.rb +++ b/lib/stack_one/models/shared/application_interview_stage.rb @@ -21,17 +21,20 @@ class ApplicationInterviewStage < ::StackOne::Utils::FieldAugmented field :order, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('order') } } # Provider's unique identifier field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # Interview Stage updated date field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } - sig { params(created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), order: T.nilable(::Float), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void } - def initialize(created_at: nil, id: nil, name: nil, order: nil, remote_id: nil, updated_at: nil) + sig { params(created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), order: T.nilable(::Float), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void } + def initialize(created_at: nil, id: nil, name: nil, order: nil, remote_id: nil, unified_custom_fields: nil, updated_at: nil) @created_at = created_at @id = id @name = name @order = order @remote_id = remote_id + @unified_custom_fields = unified_custom_fields @updated_at = updated_at end end diff --git a/lib/stack_one/models/shared/application_value.rb b/lib/stack_one/models/shared/application_value.rb index 9f0f8d13..a521ee0f 100644 --- a/lib/stack_one/models/shared/application_value.rb +++ b/lib/stack_one/models/shared/application_value.rb @@ -32,6 +32,5 @@ class ApplicationValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/applicationattachment_value.rb b/lib/stack_one/models/shared/applicationattachment_value.rb index 43356465..7e4a7830 100644 --- a/lib/stack_one/models/shared/applicationattachment_value.rb +++ b/lib/stack_one/models/shared/applicationattachment_value.rb @@ -14,6 +14,5 @@ class ApplicationAttachmentValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/assessmentspackages_type.rb b/lib/stack_one/models/shared/assessmentspackages_type.rb index 4f152cad..49693064 100644 --- a/lib/stack_one/models/shared/assessmentspackages_type.rb +++ b/lib/stack_one/models/shared/assessmentspackages_type.rb @@ -11,9 +11,9 @@ module Shared class AssessmentsPackagesType < ::StackOne::Utils::FieldAugmented extend T::Sig - # The source value of the assessment type. + # The source value of the description type. field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } } - # The type of the assessment. + # The type of the description. field :value, T.nilable(::StackOne::Shared::AssessmentsPackagesValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::AssessmentsPackagesValue, true) } } diff --git a/lib/stack_one/models/shared/assessmentspackages_value.rb b/lib/stack_one/models/shared/assessmentspackages_value.rb index 8d92d198..cd41afb6 100644 --- a/lib/stack_one/models/shared/assessmentspackages_value.rb +++ b/lib/stack_one/models/shared/assessmentspackages_value.rb @@ -7,16 +7,13 @@ module StackOne module Shared - # AssessmentsPackagesValue - The type of the assessment. + # AssessmentsPackagesValue - The type of the description. class AssessmentsPackagesValue < T::Enum enums do - VIDEO_INTERVIEW = new('video_interview') - BEHAVIORAL_ASSESSMENT = new('behavioral_assessment') - BACKGROUND_CHECK = new('background_check') - REFERENCE_CHECK = new('reference_check') - SKILL_TEST = new('skill_test') + RESPONSIBILITIES = new('responsibilities') + SKILLS = new('skills') + BENEFITS = new('benefits') end end - end end diff --git a/lib/stack_one/models/shared/assessmentsresults_schemas_value.rb b/lib/stack_one/models/shared/assessmentsresults_schemas_value.rb index b1bf5648..e4ee1638 100644 --- a/lib/stack_one/models/shared/assessmentsresults_schemas_value.rb +++ b/lib/stack_one/models/shared/assessmentsresults_schemas_value.rb @@ -14,6 +14,5 @@ class AssessmentsResultsSchemasValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/assessmentsresults_value.rb b/lib/stack_one/models/shared/assessmentsresults_value.rb index e4a1ef1d..0c765854 100644 --- a/lib/stack_one/models/shared/assessmentsresults_value.rb +++ b/lib/stack_one/models/shared/assessmentsresults_value.rb @@ -16,6 +16,5 @@ class AssessmentsResultsValue < T::Enum PASSED = new('passed') end end - end end diff --git a/lib/stack_one/models/shared/assignment.rb b/lib/stack_one/models/shared/assignment.rb index 771bef2e..d62a4bde 100644 --- a/lib/stack_one/models/shared/assignment.rb +++ b/lib/stack_one/models/shared/assignment.rb @@ -17,36 +17,30 @@ class Assignment < ::StackOne::Utils::FieldAugmented field :created_at, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at') } } # The date the assignment is due to be completed field :due_date, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('due_date') } } - # The external ID associated with this assignment - field :external_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('external_id') } } # The ID associated with this assignment field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } } - # Value to pass through to the provider - field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } } # Provider's unique identifier of the course related to the assignment field :remote_course_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_course_id') } } - # Provider's unique identifier of the assignment - field :remote_external_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_external_id') } } # Provider's unique identifier field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } # The status of the assignment field :status, T.nilable(T::Array[::StackOne::Shared::AssignmentStatusEnum]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('status') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # The date the assignment was last updated field :updated_at, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at') } } - sig { params(course_id: T.nilable(::String), created_at: T.nilable(::String), due_date: T.nilable(::String), external_id: T.nilable(::String), id: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), remote_course_id: T.nilable(::String), remote_external_id: T.nilable(::String), remote_id: T.nilable(::String), status: T.nilable(T::Array[::StackOne::Shared::AssignmentStatusEnum]), updated_at: T.nilable(::String)).void } - def initialize(course_id: nil, created_at: nil, due_date: nil, external_id: nil, id: nil, passthrough: nil, remote_course_id: nil, remote_external_id: nil, remote_id: nil, status: nil, updated_at: nil) + sig { params(course_id: T.nilable(::String), created_at: T.nilable(::String), due_date: T.nilable(::String), id: T.nilable(::String), remote_course_id: T.nilable(::String), remote_id: T.nilable(::String), status: T.nilable(T::Array[::StackOne::Shared::AssignmentStatusEnum]), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::String)).void } + def initialize(course_id: nil, created_at: nil, due_date: nil, id: nil, remote_course_id: nil, remote_id: nil, status: nil, unified_custom_fields: nil, updated_at: nil) @course_id = course_id @created_at = created_at @due_date = due_date - @external_id = external_id @id = id - @passthrough = passthrough @remote_course_id = remote_course_id - @remote_external_id = remote_external_id @remote_id = remote_id @status = status + @unified_custom_fields = unified_custom_fields @updated_at = updated_at end end diff --git a/lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb b/lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb index b94d6f73..02497963 100644 --- a/lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb +++ b/lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb @@ -35,10 +35,12 @@ class AtsCreateApplicationRequestDtoCandidate < ::StackOne::Utils::FieldAugmente field :social_links, T.nilable(T::Array[::StackOne::Shared::SocialLink]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('social_links') } } # Candidate title field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } - sig { params(company: T.nilable(::String), country: T.nilable(::String), custom_fields: T.nilable(T::Array[::StackOne::Shared::CandidateCustomFields]), email: T.nilable(::String), first_name: T.nilable(::String), hired_at: T.nilable(::DateTime), last_name: T.nilable(::String), name: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), phone_number: T.nilable(::String), social_links: T.nilable(T::Array[::StackOne::Shared::SocialLink]), title: T.nilable(::String)).void } - def initialize(company: nil, country: nil, custom_fields: nil, email: nil, first_name: nil, hired_at: nil, last_name: nil, name: nil, passthrough: nil, phone_number: nil, social_links: nil, title: nil) + sig { params(company: T.nilable(::String), country: T.nilable(::String), custom_fields: T.nilable(T::Array[::StackOne::Shared::CandidateCustomFields]), email: T.nilable(::String), first_name: T.nilable(::String), hired_at: T.nilable(::DateTime), last_name: T.nilable(::String), name: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), phone_number: T.nilable(::String), social_links: T.nilable(T::Array[::StackOne::Shared::SocialLink]), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void } + def initialize(company: nil, country: nil, custom_fields: nil, email: nil, first_name: nil, hired_at: nil, last_name: nil, name: nil, passthrough: nil, phone_number: nil, social_links: nil, title: nil, unified_custom_fields: nil) @company = company @country = country @custom_fields = custom_fields @@ -51,6 +53,7 @@ def initialize(company: nil, country: nil, custom_fields: nil, email: nil, first @phone_number = phone_number @social_links = social_links @title = title + @unified_custom_fields = unified_custom_fields end end end diff --git a/lib/stack_one/models/shared/atscreateapplicationrequestdto_value.rb b/lib/stack_one/models/shared/atscreateapplicationrequestdto_value.rb index bac509ee..e3f4d81f 100644 --- a/lib/stack_one/models/shared/atscreateapplicationrequestdto_value.rb +++ b/lib/stack_one/models/shared/atscreateapplicationrequestdto_value.rb @@ -32,6 +32,5 @@ class AtsCreateApplicationRequestDtoValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/atscreatecandidaterequestdto.rb b/lib/stack_one/models/shared/atscreatecandidaterequestdto.rb index d552256f..2d89f675 100644 --- a/lib/stack_one/models/shared/atscreatecandidaterequestdto.rb +++ b/lib/stack_one/models/shared/atscreatecandidaterequestdto.rb @@ -35,10 +35,12 @@ class AtsCreateCandidateRequestDto < ::StackOne::Utils::FieldAugmented field :social_links, T.nilable(T::Array[::StackOne::Shared::SocialLink]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('social_links') } } # Candidate title field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } - sig { params(company: T.nilable(::String), country: T.nilable(::String), custom_fields: T.nilable(T::Array[::StackOne::Shared::CandidateCustomFields]), email: T.nilable(::String), first_name: T.nilable(::String), hired_at: T.nilable(::DateTime), last_name: T.nilable(::String), name: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), phone_number: T.nilable(::String), social_links: T.nilable(T::Array[::StackOne::Shared::SocialLink]), title: T.nilable(::String)).void } - def initialize(company: nil, country: nil, custom_fields: nil, email: nil, first_name: nil, hired_at: nil, last_name: nil, name: nil, passthrough: nil, phone_number: nil, social_links: nil, title: nil) + sig { params(company: T.nilable(::String), country: T.nilable(::String), custom_fields: T.nilable(T::Array[::StackOne::Shared::CandidateCustomFields]), email: T.nilable(::String), first_name: T.nilable(::String), hired_at: T.nilable(::DateTime), last_name: T.nilable(::String), name: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), phone_number: T.nilable(::String), social_links: T.nilable(T::Array[::StackOne::Shared::SocialLink]), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void } + def initialize(company: nil, country: nil, custom_fields: nil, email: nil, first_name: nil, hired_at: nil, last_name: nil, name: nil, passthrough: nil, phone_number: nil, social_links: nil, title: nil, unified_custom_fields: nil) @company = company @country = country @custom_fields = custom_fields @@ -51,6 +53,7 @@ def initialize(company: nil, country: nil, custom_fields: nil, email: nil, first @phone_number = phone_number @social_links = social_links @title = title + @unified_custom_fields = unified_custom_fields end end end diff --git a/lib/stack_one/models/shared/atscreatenotesrequestdto_value.rb b/lib/stack_one/models/shared/atscreatenotesrequestdto_value.rb index b3324cb9..31793210 100644 --- a/lib/stack_one/models/shared/atscreatenotesrequestdto_value.rb +++ b/lib/stack_one/models/shared/atscreatenotesrequestdto_value.rb @@ -14,6 +14,5 @@ class AtsCreateNotesRequestDtoValue < T::Enum PUBLIC = new('public') end end - end end diff --git a/lib/stack_one/models/shared/atscreateofferrequestdto_value.rb b/lib/stack_one/models/shared/atscreateofferrequestdto_value.rb index fbb30af8..a12347c7 100644 --- a/lib/stack_one/models/shared/atscreateofferrequestdto_value.rb +++ b/lib/stack_one/models/shared/atscreateofferrequestdto_value.rb @@ -20,6 +20,5 @@ class AtsCreateOfferRequestDtoValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/atsdocumentapimodel.rb b/lib/stack_one/models/shared/atsdocumentapimodel.rb index 3c2ce587..4727b169 100644 --- a/lib/stack_one/models/shared/atsdocumentapimodel.rb +++ b/lib/stack_one/models/shared/atsdocumentapimodel.rb @@ -37,12 +37,14 @@ class AtsDocumentApiModel < ::StackOne::Utils::FieldAugmented # # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible. field :type, T.nilable(::StackOne::Shared::AtsDocumentApiModelType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # The update date of the file field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } - sig { params(category: T.nilable(::StackOne::Shared::AtsDocumentApiModelCategory), category_id: T.nilable(::String), contents: T.nilable(T::Array[::StackOne::Shared::Content]), created_at: T.nilable(::DateTime), file_format: T.nilable(::StackOne::Shared::FileFormat), id: T.nilable(::String), name: T.nilable(::String), path: T.nilable(::String), remote_id: T.nilable(::String), remote_url: T.nilable(::String), type: T.nilable(::StackOne::Shared::AtsDocumentApiModelType), updated_at: T.nilable(::DateTime)).void } - def initialize(category: nil, category_id: nil, contents: nil, created_at: nil, file_format: nil, id: nil, name: nil, path: nil, remote_id: nil, remote_url: nil, type: nil, updated_at: nil) + sig { params(category: T.nilable(::StackOne::Shared::AtsDocumentApiModelCategory), category_id: T.nilable(::String), contents: T.nilable(T::Array[::StackOne::Shared::Content]), created_at: T.nilable(::DateTime), file_format: T.nilable(::StackOne::Shared::FileFormat), id: T.nilable(::String), name: T.nilable(::String), path: T.nilable(::String), remote_id: T.nilable(::String), remote_url: T.nilable(::String), type: T.nilable(::StackOne::Shared::AtsDocumentApiModelType), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void } + def initialize(category: nil, category_id: nil, contents: nil, created_at: nil, file_format: nil, id: nil, name: nil, path: nil, remote_id: nil, remote_url: nil, type: nil, unified_custom_fields: nil, updated_at: nil) @category = category @category_id = category_id @contents = contents @@ -54,6 +56,7 @@ def initialize(category: nil, category_id: nil, contents: nil, created_at: nil, @remote_id = remote_id @remote_url = remote_url @type = type + @unified_custom_fields = unified_custom_fields @updated_at = updated_at end end diff --git a/lib/stack_one/models/shared/atsdocumentapimodel_schemas_value.rb b/lib/stack_one/models/shared/atsdocumentapimodel_schemas_value.rb index 7a4539e1..7a227c01 100644 --- a/lib/stack_one/models/shared/atsdocumentapimodel_schemas_value.rb +++ b/lib/stack_one/models/shared/atsdocumentapimodel_schemas_value.rb @@ -27,6 +27,5 @@ class AtsDocumentApiModelSchemasValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/atsdocumentapimodel_value.rb b/lib/stack_one/models/shared/atsdocumentapimodel_value.rb index 80b08a3d..e1294098 100644 --- a/lib/stack_one/models/shared/atsdocumentapimodel_value.rb +++ b/lib/stack_one/models/shared/atsdocumentapimodel_value.rb @@ -1222,6 +1222,5 @@ class AtsDocumentApiModelValue < T::Enum ICE = new('ice') end end - end end diff --git a/lib/stack_one/models/shared/atslocation.rb b/lib/stack_one/models/shared/atslocation.rb index be91c1b0..64598e78 100644 --- a/lib/stack_one/models/shared/atslocation.rb +++ b/lib/stack_one/models/shared/atslocation.rb @@ -17,13 +17,16 @@ class ATSLocation < ::StackOne::Utils::FieldAugmented field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } } # Provider's unique identifier field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } - sig { params(id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String)).void } - def initialize(id: nil, name: nil, remote_id: nil) + sig { params(id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void } + def initialize(id: nil, name: nil, remote_id: nil, unified_custom_fields: nil) @id = id @name = name @remote_id = remote_id + @unified_custom_fields = unified_custom_fields end end end diff --git a/lib/stack_one/models/shared/atsmoveapplicationrequestdto.rb b/lib/stack_one/models/shared/atsmoveapplicationrequestdto.rb new file mode 100644 index 00000000..eb7bf879 --- /dev/null +++ b/lib/stack_one/models/shared/atsmoveapplicationrequestdto.rb @@ -0,0 +1,27 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Shared + + + class AtsMoveApplicationRequestDto < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Unique identifier of the application stage. + field :interview_stage_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_stage_id') } } + # Value to pass through to the provider + field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } } + + + sig { params(interview_stage_id: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object])).void } + def initialize(interview_stage_id: nil, passthrough: nil) + @interview_stage_id = interview_stage_id + @passthrough = passthrough + end + end + end +end diff --git a/lib/stack_one/models/shared/atsrejectapplicationrequestdto.rb b/lib/stack_one/models/shared/atsrejectapplicationrequestdto.rb new file mode 100644 index 00000000..8846f469 --- /dev/null +++ b/lib/stack_one/models/shared/atsrejectapplicationrequestdto.rb @@ -0,0 +1,27 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Shared + + + class AtsRejectApplicationRequestDto < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Value to pass through to the provider + field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } } + # Unique identifier of the rejection reason + field :rejected_reason_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reason_id') } } + + + sig { params(passthrough: T.nilable(T::Hash[Symbol, ::Object]), rejected_reason_id: T.nilable(::String)).void } + def initialize(passthrough: nil, rejected_reason_id: nil) + @passthrough = passthrough + @rejected_reason_id = rejected_reason_id + end + end + end +end diff --git a/lib/stack_one/models/shared/atsupdateapplicationrequestdto_value.rb b/lib/stack_one/models/shared/atsupdateapplicationrequestdto_value.rb index 1e81eb4a..f759408e 100644 --- a/lib/stack_one/models/shared/atsupdateapplicationrequestdto_value.rb +++ b/lib/stack_one/models/shared/atsupdateapplicationrequestdto_value.rb @@ -32,6 +32,5 @@ class AtsUpdateApplicationRequestDtoValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb b/lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb index 3e4ecb44..ad7ce3c5 100644 --- a/lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb +++ b/lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb @@ -43,10 +43,12 @@ class AtsUpdateCandidateRequestDto < ::StackOne::Utils::FieldAugmented field :social_links, T.nilable(T::Array[::StackOne::Shared::SocialLink]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('social_links') } } # Candidate title field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } - sig { params(application_ids: T.nilable(T::Array[::String]), company: T.nilable(::String), country: T.nilable(::String), custom_fields: T.nilable(T::Array[::StackOne::Shared::CandidateCustomFields]), email: T.nilable(::String), emails: T.nilable(T::Array[::StackOne::Shared::CandidateEmail]), first_name: T.nilable(::String), hired_at: T.nilable(::DateTime), last_name: T.nilable(::String), name: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), phone: T.nilable(::String), phone_numbers: T.nilable(T::Array[::StackOne::Shared::PhoneNumber]), social_links: T.nilable(T::Array[::StackOne::Shared::SocialLink]), title: T.nilable(::String)).void } - def initialize(application_ids: nil, company: nil, country: nil, custom_fields: nil, email: nil, emails: nil, first_name: nil, hired_at: nil, last_name: nil, name: nil, passthrough: nil, phone: nil, phone_numbers: nil, social_links: nil, title: nil) + sig { params(application_ids: T.nilable(T::Array[::String]), company: T.nilable(::String), country: T.nilable(::String), custom_fields: T.nilable(T::Array[::StackOne::Shared::CandidateCustomFields]), email: T.nilable(::String), emails: T.nilable(T::Array[::StackOne::Shared::CandidateEmail]), first_name: T.nilable(::String), hired_at: T.nilable(::DateTime), last_name: T.nilable(::String), name: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), phone: T.nilable(::String), phone_numbers: T.nilable(T::Array[::StackOne::Shared::PhoneNumber]), social_links: T.nilable(T::Array[::StackOne::Shared::SocialLink]), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void } + def initialize(application_ids: nil, company: nil, country: nil, custom_fields: nil, email: nil, emails: nil, first_name: nil, hired_at: nil, last_name: nil, name: nil, passthrough: nil, phone: nil, phone_numbers: nil, social_links: nil, title: nil, unified_custom_fields: nil) @application_ids = application_ids @company = company @country = country @@ -62,6 +64,7 @@ def initialize(application_ids: nil, company: nil, country: nil, custom_fields: @phone_numbers = phone_numbers @social_links = social_links @title = title + @unified_custom_fields = unified_custom_fields end end end diff --git a/lib/stack_one/models/shared/batchresultapimodel.rb b/lib/stack_one/models/shared/batchresultapimodel.rb new file mode 100644 index 00000000..6c7e1690 --- /dev/null +++ b/lib/stack_one/models/shared/batchresultapimodel.rb @@ -0,0 +1,33 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Shared + + + class BatchResultApiModel < ::StackOne::Utils::FieldAugmented + extend T::Sig + + + field :errors, T.nilable(T::Array[T::Array[::String]]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('errors') } } + + field :message, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message') } } + + field :status_code, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('statusCode') } } + + field :timestamp, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('timestamp'), 'decoder': Utils.datetime_from_iso_format(true) } } + + + sig { params(errors: T.nilable(T::Array[T::Array[::String]]), message: T.nilable(::String), status_code: T.nilable(::Float), timestamp: T.nilable(::DateTime)).void } + def initialize(errors: nil, message: nil, status_code: nil, timestamp: nil) + @errors = errors + @message = message + @status_code = status_code + @timestamp = timestamp + end + end + end +end diff --git a/lib/stack_one/models/shared/campaign_schemas_value.rb b/lib/stack_one/models/shared/campaign_schemas_value.rb index f2db36c7..e45d6617 100644 --- a/lib/stack_one/models/shared/campaign_schemas_value.rb +++ b/lib/stack_one/models/shared/campaign_schemas_value.rb @@ -15,6 +15,5 @@ class CampaignSchemasValue < T::Enum LIVE = new('live') end end - end end diff --git a/lib/stack_one/models/shared/campaign_value.rb b/lib/stack_one/models/shared/campaign_value.rb index c277f4b4..2efdd9c0 100644 --- a/lib/stack_one/models/shared/campaign_value.rb +++ b/lib/stack_one/models/shared/campaign_value.rb @@ -17,6 +17,5 @@ class CampaignValue < T::Enum TRIGGERED = new('triggered') end end - end end diff --git a/lib/stack_one/models/shared/candidate.rb b/lib/stack_one/models/shared/candidate.rb index a32d67f3..22bb18a3 100644 --- a/lib/stack_one/models/shared/candidate.rb +++ b/lib/stack_one/models/shared/candidate.rb @@ -49,12 +49,14 @@ class Candidate < ::StackOne::Utils::FieldAugmented field :social_links, T.nilable(T::Array[::StackOne::Shared::SocialLink]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('social_links') } } # Candidate title field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # Candidate updated date field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } - sig { params(application_ids: T.nilable(T::Array[::String]), company: T.nilable(::String), country: T.nilable(::String), created_at: T.nilable(::DateTime), custom_fields: T.nilable(T::Array[::StackOne::Shared::CandidateCustomFields]), email: T.nilable(::String), emails: T.nilable(T::Array[::StackOne::Shared::CandidateEmail]), first_name: T.nilable(::String), hired_at: T.nilable(::DateTime), id: T.nilable(::String), last_name: T.nilable(::String), name: T.nilable(::String), phone: T.nilable(::String), phone_numbers: T.nilable(T::Array[::StackOne::Shared::PhoneNumber]), remote_application_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), social_links: T.nilable(T::Array[::StackOne::Shared::SocialLink]), title: T.nilable(::String), updated_at: T.nilable(::DateTime)).void } - def initialize(application_ids: nil, company: nil, country: nil, created_at: nil, custom_fields: nil, email: nil, emails: nil, first_name: nil, hired_at: nil, id: nil, last_name: nil, name: nil, phone: nil, phone_numbers: nil, remote_application_ids: nil, remote_id: nil, social_links: nil, title: nil, updated_at: nil) + sig { params(application_ids: T.nilable(T::Array[::String]), company: T.nilable(::String), country: T.nilable(::String), created_at: T.nilable(::DateTime), custom_fields: T.nilable(T::Array[::StackOne::Shared::CandidateCustomFields]), email: T.nilable(::String), emails: T.nilable(T::Array[::StackOne::Shared::CandidateEmail]), first_name: T.nilable(::String), hired_at: T.nilable(::DateTime), id: T.nilable(::String), last_name: T.nilable(::String), name: T.nilable(::String), phone: T.nilable(::String), phone_numbers: T.nilable(T::Array[::StackOne::Shared::PhoneNumber]), remote_application_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), social_links: T.nilable(T::Array[::StackOne::Shared::SocialLink]), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void } + def initialize(application_ids: nil, company: nil, country: nil, created_at: nil, custom_fields: nil, email: nil, emails: nil, first_name: nil, hired_at: nil, id: nil, last_name: nil, name: nil, phone: nil, phone_numbers: nil, remote_application_ids: nil, remote_id: nil, social_links: nil, title: nil, unified_custom_fields: nil, updated_at: nil) @application_ids = application_ids @company = company @country = country @@ -73,6 +75,7 @@ def initialize(application_ids: nil, company: nil, country: nil, created_at: nil @remote_id = remote_id @social_links = social_links @title = title + @unified_custom_fields = unified_custom_fields @updated_at = updated_at end end diff --git a/lib/stack_one/models/shared/categories.rb b/lib/stack_one/models/shared/categories.rb index ec9d8ac5..a37d5959 100644 --- a/lib/stack_one/models/shared/categories.rb +++ b/lib/stack_one/models/shared/categories.rb @@ -20,6 +20,5 @@ class Categories < T::Enum STACKONE = new('stackone') end end - end end diff --git a/lib/stack_one/models/shared/category.rb b/lib/stack_one/models/shared/category.rb index 14a0b827..cdefd325 100644 --- a/lib/stack_one/models/shared/category.rb +++ b/lib/stack_one/models/shared/category.rb @@ -19,14 +19,17 @@ class Category < ::StackOne::Utils::FieldAugmented field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } } # Provider's unique identifier field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } - sig { params(active: T.nilable(T::Boolean), id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String)).void } - def initialize(active: nil, id: nil, name: nil, remote_id: nil) + sig { params(active: T.nilable(T::Boolean), id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void } + def initialize(active: nil, id: nil, name: nil, remote_id: nil, unified_custom_fields: nil) @active = active @id = id @name = name @remote_id = remote_id + @unified_custom_fields = unified_custom_fields end end end diff --git a/lib/stack_one/models/shared/channelsenum_value.rb b/lib/stack_one/models/shared/channelsenum_value.rb index b0d239a6..c84b4fcf 100644 --- a/lib/stack_one/models/shared/channelsenum_value.rb +++ b/lib/stack_one/models/shared/channelsenum_value.rb @@ -19,6 +19,5 @@ class ChannelsEnumValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/company.rb b/lib/stack_one/models/shared/company.rb index d97546ac..7ecf1ad9 100644 --- a/lib/stack_one/models/shared/company.rb +++ b/lib/stack_one/models/shared/company.rb @@ -21,17 +21,20 @@ class Company < ::StackOne::Utils::FieldAugmented field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } } # Provider's unique identifier field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # The updated_at date field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } - sig { params(created_at: T.nilable(::DateTime), display_name: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void } - def initialize(created_at: nil, display_name: nil, id: nil, name: nil, remote_id: nil, updated_at: nil) + sig { params(created_at: T.nilable(::DateTime), display_name: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void } + def initialize(created_at: nil, display_name: nil, id: nil, name: nil, remote_id: nil, unified_custom_fields: nil, updated_at: nil) @created_at = created_at @display_name = display_name @id = id @name = name @remote_id = remote_id + @unified_custom_fields = unified_custom_fields @updated_at = updated_at end end diff --git a/lib/stack_one/models/shared/completion.rb b/lib/stack_one/models/shared/completion.rb index 0c6bfef0..3fe28852 100644 --- a/lib/stack_one/models/shared/completion.rb +++ b/lib/stack_one/models/shared/completion.rb @@ -13,14 +13,14 @@ class Completion < ::StackOne::Utils::FieldAugmented # The date the content was completed field :completed_at, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('completed_at') } } + # The external ID associated with this content + field :content_external_reference, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content_external_reference') } } # The content ID associated with this completion field :content_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content_id') } } # The external ID associated with this completion field :external_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('external_id') } } # The ID associated with this completion field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } } - # Value to pass through to the provider - field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } } # Provider's unique identifier of the completion field :remote_content_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_content_id') } } # Provider's unique identifier of the content @@ -28,20 +28,23 @@ class Completion < ::StackOne::Utils::FieldAugmented # Provider's unique identifier field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } # The result of the completion - field :result, T.nilable(::StackOne::Shared::CompletionResult), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('result') } } + field :result, T.nilable(::StackOne::Shared::CompletionSchemasResult), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('result') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } - sig { params(completed_at: T.nilable(::String), content_id: T.nilable(::String), external_id: T.nilable(::String), id: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), remote_content_id: T.nilable(::String), remote_external_id: T.nilable(::String), remote_id: T.nilable(::String), result: T.nilable(::StackOne::Shared::CompletionResult)).void } - def initialize(completed_at: nil, content_id: nil, external_id: nil, id: nil, passthrough: nil, remote_content_id: nil, remote_external_id: nil, remote_id: nil, result: nil) + sig { params(completed_at: T.nilable(::String), content_external_reference: T.nilable(::String), content_id: T.nilable(::String), external_id: T.nilable(::String), id: T.nilable(::String), remote_content_id: T.nilable(::String), remote_external_id: T.nilable(::String), remote_id: T.nilable(::String), result: T.nilable(::StackOne::Shared::CompletionSchemasResult), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void } + def initialize(completed_at: nil, content_external_reference: nil, content_id: nil, external_id: nil, id: nil, remote_content_id: nil, remote_external_id: nil, remote_id: nil, result: nil, unified_custom_fields: nil) @completed_at = completed_at + @content_external_reference = content_external_reference @content_id = content_id @external_id = external_id @id = id - @passthrough = passthrough @remote_content_id = remote_content_id @remote_external_id = remote_external_id @remote_id = remote_id @result = result + @unified_custom_fields = unified_custom_fields end end end diff --git a/lib/stack_one/models/shared/completion_result.rb b/lib/stack_one/models/shared/completion_schemas_result.rb similarity index 92% rename from lib/stack_one/models/shared/completion_result.rb rename to lib/stack_one/models/shared/completion_schemas_result.rb index 784a99ee..0240a435 100644 --- a/lib/stack_one/models/shared/completion_result.rb +++ b/lib/stack_one/models/shared/completion_schemas_result.rb @@ -8,7 +8,7 @@ module StackOne module Shared # The result of the completion - class CompletionResult < ::StackOne::Utils::FieldAugmented + class CompletionSchemasResult < ::StackOne::Utils::FieldAugmented extend T::Sig diff --git a/lib/stack_one/models/shared/completion_value.rb b/lib/stack_one/models/shared/completion_value.rb index 2a496dbb..b96ef56f 100644 --- a/lib/stack_one/models/shared/completion_value.rb +++ b/lib/stack_one/models/shared/completion_value.rb @@ -14,6 +14,5 @@ class CompletionValue < T::Enum FAIL = new('Fail') end end - end end diff --git a/lib/stack_one/models/shared/completionresult.rb b/lib/stack_one/models/shared/completionresult.rb new file mode 100644 index 00000000..cf4df648 --- /dev/null +++ b/lib/stack_one/models/shared/completionresult.rb @@ -0,0 +1,27 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Shared + + + class CompletionResult < ::StackOne::Utils::FieldAugmented + extend T::Sig + + + field :data, ::StackOne::Shared::Completion, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } } + + field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } } + + + sig { params(data: ::StackOne::Shared::Completion, raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void } + def initialize(data: nil, raw: nil) + @data = data + @raw = raw + end + end + end +end diff --git a/lib/stack_one/models/shared/connectorsmeta_category.rb b/lib/stack_one/models/shared/connectorsmeta_category.rb index 201eec92..f1b8953f 100644 --- a/lib/stack_one/models/shared/connectorsmeta_category.rb +++ b/lib/stack_one/models/shared/connectorsmeta_category.rb @@ -20,6 +20,5 @@ class ConnectorsMetaCategory < T::Enum STACKONE = new('stackone') end end - end end diff --git a/lib/stack_one/models/shared/connectsessioncreate_categories.rb b/lib/stack_one/models/shared/connectsessioncreate_categories.rb index 1f8f034d..f4185f51 100644 --- a/lib/stack_one/models/shared/connectsessioncreate_categories.rb +++ b/lib/stack_one/models/shared/connectsessioncreate_categories.rb @@ -20,6 +20,5 @@ class ConnectSessionCreateCategories < T::Enum STACKONE = new('stackone') end end - end end diff --git a/lib/stack_one/models/shared/connectsessiontoken_categories.rb b/lib/stack_one/models/shared/connectsessiontoken_categories.rb index 5faca47b..171bfe7c 100644 --- a/lib/stack_one/models/shared/connectsessiontoken_categories.rb +++ b/lib/stack_one/models/shared/connectsessiontoken_categories.rb @@ -20,6 +20,5 @@ class ConnectSessionTokenCategories < T::Enum STACKONE = new('stackone') end end - end end diff --git a/lib/stack_one/models/shared/contact.rb b/lib/stack_one/models/shared/contact.rb index 804015b3..0f5263d0 100644 --- a/lib/stack_one/models/shared/contact.rb +++ b/lib/stack_one/models/shared/contact.rb @@ -37,12 +37,14 @@ class Contact < ::StackOne::Utils::FieldAugmented field :remote_deal_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_deal_ids') } } # Provider's unique identifier field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # Timestamp when the contact was last updated field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } - sig { params(account_ids: T.nilable(T::Array[::String]), company_name: T.nilable(::String), created_at: T.nilable(::DateTime), custom_fields: T.nilable(T::Array[::StackOne::Shared::ContactsCustomFields]), deal_ids: T.nilable(T::Array[::String]), emails: T.nilable(T::Array[::String]), first_name: T.nilable(::String), id: T.nilable(::String), last_name: T.nilable(::String), phone_numbers: T.nilable(T::Array[::String]), remote_account_ids: T.nilable(T::Array[::String]), remote_deal_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void } - def initialize(account_ids: nil, company_name: nil, created_at: nil, custom_fields: nil, deal_ids: nil, emails: nil, first_name: nil, id: nil, last_name: nil, phone_numbers: nil, remote_account_ids: nil, remote_deal_ids: nil, remote_id: nil, updated_at: nil) + sig { params(account_ids: T.nilable(T::Array[::String]), company_name: T.nilable(::String), created_at: T.nilable(::DateTime), custom_fields: T.nilable(T::Array[::StackOne::Shared::ContactsCustomFields]), deal_ids: T.nilable(T::Array[::String]), emails: T.nilable(T::Array[::String]), first_name: T.nilable(::String), id: T.nilable(::String), last_name: T.nilable(::String), phone_numbers: T.nilable(T::Array[::String]), remote_account_ids: T.nilable(T::Array[::String]), remote_deal_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void } + def initialize(account_ids: nil, company_name: nil, created_at: nil, custom_fields: nil, deal_ids: nil, emails: nil, first_name: nil, id: nil, last_name: nil, phone_numbers: nil, remote_account_ids: nil, remote_deal_ids: nil, remote_id: nil, unified_custom_fields: nil, updated_at: nil) @account_ids = account_ids @company_name = company_name @created_at = created_at @@ -56,6 +58,7 @@ def initialize(account_ids: nil, company_name: nil, created_at: nil, custom_fiel @remote_account_ids = remote_account_ids @remote_deal_ids = remote_deal_ids @remote_id = remote_id + @unified_custom_fields = unified_custom_fields @updated_at = updated_at end end diff --git a/lib/stack_one/models/shared/content_value.rb b/lib/stack_one/models/shared/content_value.rb index d813f282..a7c89230 100644 --- a/lib/stack_one/models/shared/content_value.rb +++ b/lib/stack_one/models/shared/content_value.rb @@ -1222,6 +1222,5 @@ class ContentValue < T::Enum ICE = new('ice') end end - end end diff --git a/lib/stack_one/models/shared/contentblock_schemas_value.rb b/lib/stack_one/models/shared/contentblock_schemas_value.rb index 1e8ac48f..5be6a540 100644 --- a/lib/stack_one/models/shared/contentblock_schemas_value.rb +++ b/lib/stack_one/models/shared/contentblock_schemas_value.rb @@ -16,6 +16,5 @@ class ContentBlockSchemasValue < T::Enum CODE_SNIPPET = new('code-snippet') end end - end end diff --git a/lib/stack_one/models/shared/contentblock_value.rb b/lib/stack_one/models/shared/contentblock_value.rb index c9928936..7be40e99 100644 --- a/lib/stack_one/models/shared/contentblock_value.rb +++ b/lib/stack_one/models/shared/contentblock_value.rb @@ -15,6 +15,5 @@ class ContentBlockValue < T::Enum ARCHIVED = new('archived') end end - end end diff --git a/lib/stack_one/models/shared/contentlanguageenum_value.rb b/lib/stack_one/models/shared/contentlanguageenum_value.rb index 76893f7c..cdadc198 100644 --- a/lib/stack_one/models/shared/contentlanguageenum_value.rb +++ b/lib/stack_one/models/shared/contentlanguageenum_value.rb @@ -415,6 +415,5 @@ class ContentLanguageEnumValue < T::Enum ZU_ZA = new('zu_ZA') end end - end end diff --git a/lib/stack_one/models/shared/countrycodeenum_value.rb b/lib/stack_one/models/shared/countrycodeenum_value.rb index 9997ac93..5096f5ee 100644 --- a/lib/stack_one/models/shared/countrycodeenum_value.rb +++ b/lib/stack_one/models/shared/countrycodeenum_value.rb @@ -261,6 +261,5 @@ class CountryCodeEnumValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/course.rb b/lib/stack_one/models/shared/course.rb index 11253550..71a56d3c 100644 --- a/lib/stack_one/models/shared/course.rb +++ b/lib/stack_one/models/shared/course.rb @@ -41,14 +41,16 @@ class Course < ::StackOne::Utils::FieldAugmented field :skills, T.nilable(T::Array[::StackOne::Shared::Skills]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('skills') } } # The title of the course field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # The date on which the course was last updated. field :updated_at, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at') } } # The redirect URL of the course. field :url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } } - sig { params(active: T.nilable(::StackOne::Shared::Active), categories: T.nilable(T::Array[::StackOne::Shared::Category]), content_ids: T.nilable(T::Array[::String]), course_type: T.nilable(::StackOne::Shared::CourseType), cover_url: T.nilable(::String), created_at: T.nilable(::String), description: T.nilable(::String), duration: T.nilable(::String), external_reference: T.nilable(::String), id: T.nilable(::String), languages: T.nilable(T::Array[::StackOne::Shared::ContentLanguageEnum]), remote_content_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), skills: T.nilable(T::Array[::StackOne::Shared::Skills]), title: T.nilable(::String), updated_at: T.nilable(::String), url: T.nilable(::String)).void } - def initialize(active: nil, categories: nil, content_ids: nil, course_type: nil, cover_url: nil, created_at: nil, description: nil, duration: nil, external_reference: nil, id: nil, languages: nil, remote_content_ids: nil, remote_id: nil, skills: nil, title: nil, updated_at: nil, url: nil) + sig { params(active: T.nilable(::StackOne::Shared::Active), categories: T.nilable(T::Array[::StackOne::Shared::Category]), content_ids: T.nilable(T::Array[::String]), course_type: T.nilable(::StackOne::Shared::CourseType), cover_url: T.nilable(::String), created_at: T.nilable(::String), description: T.nilable(::String), duration: T.nilable(::String), external_reference: T.nilable(::String), id: T.nilable(::String), languages: T.nilable(T::Array[::StackOne::Shared::ContentLanguageEnum]), remote_content_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), skills: T.nilable(T::Array[::StackOne::Shared::Skills]), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::String), url: T.nilable(::String)).void } + def initialize(active: nil, categories: nil, content_ids: nil, course_type: nil, cover_url: nil, created_at: nil, description: nil, duration: nil, external_reference: nil, id: nil, languages: nil, remote_content_ids: nil, remote_id: nil, skills: nil, title: nil, unified_custom_fields: nil, updated_at: nil, url: nil) @active = active @categories = categories @content_ids = content_ids @@ -64,6 +66,7 @@ def initialize(active: nil, categories: nil, content_ids: nil, course_type: nil, @remote_id = remote_id @skills = skills @title = title + @unified_custom_fields = unified_custom_fields @updated_at = updated_at @url = url end diff --git a/lib/stack_one/models/shared/course_schemas_value.rb b/lib/stack_one/models/shared/course_schemas_value.rb index 41272652..0778c714 100644 --- a/lib/stack_one/models/shared/course_schemas_value.rb +++ b/lib/stack_one/models/shared/course_schemas_value.rb @@ -15,6 +15,5 @@ class CourseSchemasValue < T::Enum DOCUMENT = new('document') end end - end end diff --git a/lib/stack_one/models/shared/course_value.rb b/lib/stack_one/models/shared/course_value.rb index 8bdacc52..fcca803a 100644 --- a/lib/stack_one/models/shared/course_value.rb +++ b/lib/stack_one/models/shared/course_value.rb @@ -14,6 +14,5 @@ class CourseValue < T::Enum INACTIVE = new('INACTIVE') end end - end end diff --git a/lib/stack_one/models/shared/createcategoriesapimodel.rb b/lib/stack_one/models/shared/createcategoriesapimodel.rb index 7780fe91..c82f4db0 100644 --- a/lib/stack_one/models/shared/createcategoriesapimodel.rb +++ b/lib/stack_one/models/shared/createcategoriesapimodel.rb @@ -15,12 +15,15 @@ class CreateCategoriesApiModel < ::StackOne::Utils::FieldAugmented field :active, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('active') } } # The name associated with this category field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } - sig { params(active: T.nilable(T::Boolean), name: T.nilable(::String)).void } - def initialize(active: nil, name: nil) + sig { params(active: T.nilable(T::Boolean), name: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void } + def initialize(active: nil, name: nil, unified_custom_fields: nil) @active = active @name = name + @unified_custom_fields = unified_custom_fields end end end diff --git a/lib/stack_one/models/shared/createresultdataapimodel.rb b/lib/stack_one/models/shared/createresultdataapimodel.rb index 17d40ecc..20f36657 100644 --- a/lib/stack_one/models/shared/createresultdataapimodel.rb +++ b/lib/stack_one/models/shared/createresultdataapimodel.rb @@ -11,14 +11,17 @@ module Shared class CreateResultDataApiModel < ::StackOne::Utils::FieldAugmented extend T::Sig + # The external identifier + field :external_reference, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('external_reference') } } # Unique identifier field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } } # Provider's unique identifier field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } - sig { params(id: T.nilable(::String), remote_id: T.nilable(::String)).void } - def initialize(id: nil, remote_id: nil) + sig { params(external_reference: T.nilable(::String), id: T.nilable(::String), remote_id: T.nilable(::String)).void } + def initialize(external_reference: nil, id: nil, remote_id: nil) + @external_reference = external_reference @id = id @remote_id = remote_id end diff --git a/lib/stack_one/models/shared/customfielddefinition_value.rb b/lib/stack_one/models/shared/customfielddefinition_value.rb index 7dd9867b..496dabeb 100644 --- a/lib/stack_one/models/shared/customfielddefinition_value.rb +++ b/lib/stack_one/models/shared/customfielddefinition_value.rb @@ -23,6 +23,5 @@ class CustomFieldDefinitionValue < T::Enum OTHER = new('other') end end - end end diff --git a/lib/stack_one/models/shared/department.rb b/lib/stack_one/models/shared/department.rb index b8e50099..19312469 100644 --- a/lib/stack_one/models/shared/department.rb +++ b/lib/stack_one/models/shared/department.rb @@ -17,13 +17,16 @@ class Department < ::StackOne::Utils::FieldAugmented field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } } # Provider's unique identifier field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } - sig { params(id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String)).void } - def initialize(id: nil, name: nil, remote_id: nil) + sig { params(id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void } + def initialize(id: nil, name: nil, remote_id: nil, unified_custom_fields: nil) @id = id @name = name @remote_id = remote_id + @unified_custom_fields = unified_custom_fields end end end diff --git a/lib/stack_one/models/shared/employee.rb b/lib/stack_one/models/shared/employee.rb index ee47cbab..00383ea0 100644 --- a/lib/stack_one/models/shared/employee.rb +++ b/lib/stack_one/models/shared/employee.rb @@ -35,6 +35,8 @@ class Employee < ::StackOne::Utils::FieldAugmented field :date_of_birth, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('date_of_birth'), 'decoder': Utils.datetime_from_iso_format(true) } } # The employee department field :department, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('department') } } + # The employee department id + field :department_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('department_id') } } # The employee display name field :display_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('display_name') } } # The assigned employee number @@ -63,6 +65,8 @@ class Employee < ::StackOne::Utils::FieldAugmented field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } } # The employee job description field :job_description, T.nilable(::StackOne::Shared::JobDescription), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_description') } } + # The employee job id + field :job_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_id') } } # The employee job title field :job_title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_title') } } # The employee last name @@ -91,6 +95,8 @@ class Employee < ::StackOne::Utils::FieldAugmented field :tenure, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tenure') } } # The employee termination date field :termination_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('termination_date'), 'decoder': Utils.datetime_from_iso_format(true) } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # The updated_at date field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } # The employee work anniversary @@ -103,8 +109,8 @@ class Employee < ::StackOne::Utils::FieldAugmented field :work_phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('work_phone_number') } } - sig { params(avatar: T.nilable(::StackOne::Shared::Avatar), avatar_url: T.nilable(::String), benefits: T.nilable(T::Array[::StackOne::Shared::HRISBenefit]), birthday: T.nilable(::DateTime), citizenships: T.nilable(T::Array[::StackOne::Shared::CountryCodeEnum]), company: T.nilable(::StackOne::Shared::EmployeeCompany), company_name: T.nilable(::String), cost_centers: T.nilable(T::Array[::StackOne::Shared::CostCenters]), created_at: T.nilable(::DateTime), custom_fields: T.nilable(T::Array[::StackOne::Shared::EmployeeCustomFields]), date_of_birth: T.nilable(::DateTime), department: T.nilable(::String), display_name: T.nilable(::String), employee_number: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::EmploymentContractType), employment_status: T.nilable(::StackOne::Shared::EmploymentStatus), employment_type: T.nilable(::StackOne::Shared::EmploymentType), employments: T.nilable(T::Array[::StackOne::Shared::Employment]), ethnicity: T.nilable(::StackOne::Shared::Ethnicity), first_name: T.nilable(::String), gender: T.nilable(::StackOne::Shared::Gender), groups: T.nilable(T::Array[::StackOne::Shared::HRISGroup]), hire_date: T.nilable(::DateTime), home_location: T.nilable(::StackOne::Shared::HomeLocation), id: T.nilable(::String), job_description: T.nilable(::StackOne::Shared::JobDescription), job_title: T.nilable(::String), last_name: T.nilable(::String), manager_id: T.nilable(::String), marital_status: T.nilable(::StackOne::Shared::MaritalStatus), name: T.nilable(::String), national_identity_number: T.nilable(::StackOne::Shared::NationalIdentityNumber), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), preferred_language: T.nilable(::StackOne::Shared::PreferredLanguage), remote_id: T.nilable(::String), remote_manager_id: T.nilable(::String), start_date: T.nilable(::DateTime), tenure: T.nilable(::Float), termination_date: T.nilable(::DateTime), updated_at: T.nilable(::DateTime), work_anniversary: T.nilable(::DateTime), work_email: T.nilable(::String), work_location: T.nilable(::StackOne::Shared::WorkLocation), work_phone_number: T.nilable(::String)).void } - def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company: nil, company_name: nil, cost_centers: nil, created_at: nil, custom_fields: nil, date_of_birth: nil, department: nil, display_name: nil, employee_number: nil, employment_contract_type: nil, employment_status: nil, employment_type: nil, employments: nil, ethnicity: nil, first_name: nil, gender: nil, groups: nil, hire_date: nil, home_location: nil, id: nil, job_description: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, national_identity_number: nil, personal_email: nil, personal_phone_number: nil, preferred_language: nil, remote_id: nil, remote_manager_id: nil, start_date: nil, tenure: nil, termination_date: nil, updated_at: nil, work_anniversary: nil, work_email: nil, work_location: nil, work_phone_number: nil) + sig { params(avatar: T.nilable(::StackOne::Shared::Avatar), avatar_url: T.nilable(::String), benefits: T.nilable(T::Array[::StackOne::Shared::HRISBenefit]), birthday: T.nilable(::DateTime), citizenships: T.nilable(T::Array[::StackOne::Shared::CountryCodeEnum]), company: T.nilable(::StackOne::Shared::EmployeeCompany), company_name: T.nilable(::String), cost_centers: T.nilable(T::Array[::StackOne::Shared::CostCenters]), created_at: T.nilable(::DateTime), custom_fields: T.nilable(T::Array[::StackOne::Shared::EmployeeCustomFields]), date_of_birth: T.nilable(::DateTime), department: T.nilable(::String), department_id: T.nilable(::String), display_name: T.nilable(::String), employee_number: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::EmploymentContractType), employment_status: T.nilable(::StackOne::Shared::EmploymentStatus), employment_type: T.nilable(::StackOne::Shared::EmploymentType), employments: T.nilable(T::Array[::StackOne::Shared::Employment]), ethnicity: T.nilable(::StackOne::Shared::Ethnicity), first_name: T.nilable(::String), gender: T.nilable(::StackOne::Shared::Gender), groups: T.nilable(T::Array[::StackOne::Shared::HRISGroup]), hire_date: T.nilable(::DateTime), home_location: T.nilable(::StackOne::Shared::HomeLocation), id: T.nilable(::String), job_description: T.nilable(::StackOne::Shared::JobDescription), job_id: T.nilable(::String), job_title: T.nilable(::String), last_name: T.nilable(::String), manager_id: T.nilable(::String), marital_status: T.nilable(::StackOne::Shared::MaritalStatus), name: T.nilable(::String), national_identity_number: T.nilable(::StackOne::Shared::NationalIdentityNumber), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), preferred_language: T.nilable(::StackOne::Shared::PreferredLanguage), remote_id: T.nilable(::String), remote_manager_id: T.nilable(::String), start_date: T.nilable(::DateTime), tenure: T.nilable(::Float), termination_date: T.nilable(::DateTime), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime), work_anniversary: T.nilable(::DateTime), work_email: T.nilable(::String), work_location: T.nilable(::StackOne::Shared::WorkLocation), work_phone_number: T.nilable(::String)).void } + def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company: nil, company_name: nil, cost_centers: nil, created_at: nil, custom_fields: nil, date_of_birth: nil, department: nil, department_id: nil, display_name: nil, employee_number: nil, employment_contract_type: nil, employment_status: nil, employment_type: nil, employments: nil, ethnicity: nil, first_name: nil, gender: nil, groups: nil, hire_date: nil, home_location: nil, id: nil, job_description: nil, job_id: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, national_identity_number: nil, personal_email: nil, personal_phone_number: nil, preferred_language: nil, remote_id: nil, remote_manager_id: nil, start_date: nil, tenure: nil, termination_date: nil, unified_custom_fields: nil, updated_at: nil, work_anniversary: nil, work_email: nil, work_location: nil, work_phone_number: nil) @avatar = avatar @avatar_url = avatar_url @benefits = benefits @@ -117,6 +123,7 @@ def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citiz @custom_fields = custom_fields @date_of_birth = date_of_birth @department = department + @department_id = department_id @display_name = display_name @employee_number = employee_number @employment_contract_type = employment_contract_type @@ -131,6 +138,7 @@ def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citiz @home_location = home_location @id = id @job_description = job_description + @job_id = job_id @job_title = job_title @last_name = last_name @manager_id = manager_id @@ -145,6 +153,7 @@ def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citiz @start_date = start_date @tenure = tenure @termination_date = termination_date + @unified_custom_fields = unified_custom_fields @updated_at = updated_at @work_anniversary = work_anniversary @work_email = work_email diff --git a/lib/stack_one/models/shared/employee_company.rb b/lib/stack_one/models/shared/employee_company.rb index 5d63558c..c859b348 100644 --- a/lib/stack_one/models/shared/employee_company.rb +++ b/lib/stack_one/models/shared/employee_company.rb @@ -21,17 +21,20 @@ class EmployeeCompany < ::StackOne::Utils::FieldAugmented field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } } # Provider's unique identifier field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # The updated_at date field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } - sig { params(created_at: T.nilable(::DateTime), display_name: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void } - def initialize(created_at: nil, display_name: nil, id: nil, name: nil, remote_id: nil, updated_at: nil) + sig { params(created_at: T.nilable(::DateTime), display_name: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void } + def initialize(created_at: nil, display_name: nil, id: nil, name: nil, remote_id: nil, unified_custom_fields: nil, updated_at: nil) @created_at = created_at @display_name = display_name @id = id @name = name @remote_id = remote_id + @unified_custom_fields = unified_custom_fields @updated_at = updated_at end end diff --git a/lib/stack_one/models/shared/employee_schemas_employment_type_value.rb b/lib/stack_one/models/shared/employee_schemas_employment_type_value.rb index 98e76f77..af155f7c 100644 --- a/lib/stack_one/models/shared/employee_schemas_employment_type_value.rb +++ b/lib/stack_one/models/shared/employee_schemas_employment_type_value.rb @@ -29,6 +29,5 @@ class EmployeeSchemasEmploymentTypeValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/employee_schemas_ethnicity_value.rb b/lib/stack_one/models/shared/employee_schemas_ethnicity_value.rb index e4201e63..44d11b77 100644 --- a/lib/stack_one/models/shared/employee_schemas_ethnicity_value.rb +++ b/lib/stack_one/models/shared/employee_schemas_ethnicity_value.rb @@ -22,6 +22,5 @@ class EmployeeSchemasEthnicityValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/employee_schemas_gender_value.rb b/lib/stack_one/models/shared/employee_schemas_gender_value.rb index e8105811..06a02312 100644 --- a/lib/stack_one/models/shared/employee_schemas_gender_value.rb +++ b/lib/stack_one/models/shared/employee_schemas_gender_value.rb @@ -19,6 +19,5 @@ class EmployeeSchemasGenderValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/employee_schemas_home_location_location_type_value.rb b/lib/stack_one/models/shared/employee_schemas_home_location_location_type_value.rb index a8aa873b..c6729529 100644 --- a/lib/stack_one/models/shared/employee_schemas_home_location_location_type_value.rb +++ b/lib/stack_one/models/shared/employee_schemas_home_location_location_type_value.rb @@ -15,6 +15,5 @@ class EmployeeSchemasHomeLocationLocationTypeValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/employee_schemas_home_location_value.rb b/lib/stack_one/models/shared/employee_schemas_home_location_value.rb index 2a97c9ea..f662f78a 100644 --- a/lib/stack_one/models/shared/employee_schemas_home_location_value.rb +++ b/lib/stack_one/models/shared/employee_schemas_home_location_value.rb @@ -261,6 +261,5 @@ class EmployeeSchemasHomeLocationValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/employee_schemas_marital_status_value.rb b/lib/stack_one/models/shared/employee_schemas_marital_status_value.rb index f069126e..6ec7bd6e 100644 --- a/lib/stack_one/models/shared/employee_schemas_marital_status_value.rb +++ b/lib/stack_one/models/shared/employee_schemas_marital_status_value.rb @@ -22,6 +22,5 @@ class EmployeeSchemasMaritalStatusValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/employee_schemas_national_identity_number_value.rb b/lib/stack_one/models/shared/employee_schemas_national_identity_number_value.rb index d048e1d1..8f05336d 100644 --- a/lib/stack_one/models/shared/employee_schemas_national_identity_number_value.rb +++ b/lib/stack_one/models/shared/employee_schemas_national_identity_number_value.rb @@ -17,6 +17,5 @@ class EmployeeSchemasNationalIdentityNumberValue < T::Enum UNKNOWN = new('unknown') end end - end end diff --git a/lib/stack_one/models/shared/employee_schemas_preferred_language_value.rb b/lib/stack_one/models/shared/employee_schemas_preferred_language_value.rb index ec4fff18..083cef80 100644 --- a/lib/stack_one/models/shared/employee_schemas_preferred_language_value.rb +++ b/lib/stack_one/models/shared/employee_schemas_preferred_language_value.rb @@ -110,6 +110,5 @@ class EmployeeSchemasPreferredLanguageValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/employee_schemas_value.rb b/lib/stack_one/models/shared/employee_schemas_value.rb index 1643b791..7d7193f0 100644 --- a/lib/stack_one/models/shared/employee_schemas_value.rb +++ b/lib/stack_one/models/shared/employee_schemas_value.rb @@ -19,6 +19,5 @@ class EmployeeSchemasValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/employee_schemas_work_location_location_type_value.rb b/lib/stack_one/models/shared/employee_schemas_work_location_location_type_value.rb index 3da57192..67ed611f 100644 --- a/lib/stack_one/models/shared/employee_schemas_work_location_location_type_value.rb +++ b/lib/stack_one/models/shared/employee_schemas_work_location_location_type_value.rb @@ -15,6 +15,5 @@ class EmployeeSchemasWorkLocationLocationTypeValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/employee_schemas_work_location_value.rb b/lib/stack_one/models/shared/employee_schemas_work_location_value.rb index 54e1bfc8..e55a21c3 100644 --- a/lib/stack_one/models/shared/employee_schemas_work_location_value.rb +++ b/lib/stack_one/models/shared/employee_schemas_work_location_value.rb @@ -261,6 +261,5 @@ class EmployeeSchemasWorkLocationValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/employee_value.rb b/lib/stack_one/models/shared/employee_value.rb index 7ebabcfe..af1a0857 100644 --- a/lib/stack_one/models/shared/employee_value.rb +++ b/lib/stack_one/models/shared/employee_value.rb @@ -16,6 +16,5 @@ class EmployeeValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/employment.rb b/lib/stack_one/models/shared/employment.rb index 511c8e48..fe3badec 100644 --- a/lib/stack_one/models/shared/employment.rb +++ b/lib/stack_one/models/shared/employment.rb @@ -37,12 +37,14 @@ class Employment < ::StackOne::Utils::FieldAugmented field :remote_employee_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_employee_id') } } # Provider's unique identifier field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # The updated_at date field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } - sig { params(created_at: T.nilable(::DateTime), effective_date: T.nilable(::DateTime), employee_id: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::EmploymentEmploymentContractType), employment_type: T.nilable(::StackOne::Shared::EmploymentEmploymentType), id: T.nilable(::String), job_title: T.nilable(::String), pay_currency: T.nilable(::String), pay_frequency: T.nilable(::StackOne::Shared::PayFrequency), pay_period: T.nilable(::StackOne::Shared::PayPeriod), pay_rate: T.nilable(::String), remote_employee_id: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void } - def initialize(created_at: nil, effective_date: nil, employee_id: nil, employment_contract_type: nil, employment_type: nil, id: nil, job_title: nil, pay_currency: nil, pay_frequency: nil, pay_period: nil, pay_rate: nil, remote_employee_id: nil, remote_id: nil, updated_at: nil) + sig { params(created_at: T.nilable(::DateTime), effective_date: T.nilable(::DateTime), employee_id: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::EmploymentEmploymentContractType), employment_type: T.nilable(::StackOne::Shared::EmploymentEmploymentType), id: T.nilable(::String), job_title: T.nilable(::String), pay_currency: T.nilable(::String), pay_frequency: T.nilable(::StackOne::Shared::PayFrequency), pay_period: T.nilable(::StackOne::Shared::PayPeriod), pay_rate: T.nilable(::String), remote_employee_id: T.nilable(::String), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void } + def initialize(created_at: nil, effective_date: nil, employee_id: nil, employment_contract_type: nil, employment_type: nil, id: nil, job_title: nil, pay_currency: nil, pay_frequency: nil, pay_period: nil, pay_rate: nil, remote_employee_id: nil, remote_id: nil, unified_custom_fields: nil, updated_at: nil) @created_at = created_at @effective_date = effective_date @employee_id = employee_id @@ -56,6 +58,7 @@ def initialize(created_at: nil, effective_date: nil, employee_id: nil, employmen @pay_rate = pay_rate @remote_employee_id = remote_employee_id @remote_id = remote_id + @unified_custom_fields = unified_custom_fields @updated_at = updated_at end end diff --git a/lib/stack_one/models/shared/employment_schemas_pay_frequency_value.rb b/lib/stack_one/models/shared/employment_schemas_pay_frequency_value.rb index 21e1ab15..d9363111 100644 --- a/lib/stack_one/models/shared/employment_schemas_pay_frequency_value.rb +++ b/lib/stack_one/models/shared/employment_schemas_pay_frequency_value.rb @@ -27,6 +27,5 @@ class EmploymentSchemasPayFrequencyValue < T::Enum DAILY = new('daily') end end - end end diff --git a/lib/stack_one/models/shared/employment_schemas_pay_period_value.rb b/lib/stack_one/models/shared/employment_schemas_pay_period_value.rb index b94c7175..012b12d6 100644 --- a/lib/stack_one/models/shared/employment_schemas_pay_period_value.rb +++ b/lib/stack_one/models/shared/employment_schemas_pay_period_value.rb @@ -25,6 +25,5 @@ class EmploymentSchemasPayPeriodValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/employment_schemas_value.rb b/lib/stack_one/models/shared/employment_schemas_value.rb index c8194db9..6e72f3fa 100644 --- a/lib/stack_one/models/shared/employment_schemas_value.rb +++ b/lib/stack_one/models/shared/employment_schemas_value.rb @@ -29,6 +29,5 @@ class EmploymentSchemasValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/employment_value.rb b/lib/stack_one/models/shared/employment_value.rb index bd507cda..f28449f4 100644 --- a/lib/stack_one/models/shared/employment_value.rb +++ b/lib/stack_one/models/shared/employment_value.rb @@ -16,6 +16,5 @@ class EmploymentValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/field_type.rb b/lib/stack_one/models/shared/field_type.rb index 35bb6b40..7d729c5b 100644 --- a/lib/stack_one/models/shared/field_type.rb +++ b/lib/stack_one/models/shared/field_type.rb @@ -24,6 +24,5 @@ class FieldType < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/home_location.rb b/lib/stack_one/models/shared/home_location.rb index 90165e0a..4dcd4fa0 100644 --- a/lib/stack_one/models/shared/home_location.rb +++ b/lib/stack_one/models/shared/home_location.rb @@ -37,14 +37,16 @@ class HomeLocation < ::StackOne::Utils::FieldAugmented field :street_1, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('street_1') } } # The second line of the address field :street_2, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('street_2') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # The updated_at date field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } # The ZIP code/Postal code of the location field :zip_code, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('zip_code') } } - sig { params(city: T.nilable(::String), country: T.nilable(::StackOne::Shared::EmployeeCountry), created_at: T.nilable(::DateTime), employee_id: T.nilable(::String), id: T.nilable(::String), location_type: T.nilable(::StackOne::Shared::EmployeeLocationType), name: T.nilable(::String), phone_number: T.nilable(::String), remote_employee_id: T.nilable(::String), remote_id: T.nilable(::String), state: T.nilable(::String), street_1: T.nilable(::String), street_2: T.nilable(::String), updated_at: T.nilable(::DateTime), zip_code: T.nilable(::String)).void } - def initialize(city: nil, country: nil, created_at: nil, employee_id: nil, id: nil, location_type: nil, name: nil, phone_number: nil, remote_employee_id: nil, remote_id: nil, state: nil, street_1: nil, street_2: nil, updated_at: nil, zip_code: nil) + sig { params(city: T.nilable(::String), country: T.nilable(::StackOne::Shared::EmployeeCountry), created_at: T.nilable(::DateTime), employee_id: T.nilable(::String), id: T.nilable(::String), location_type: T.nilable(::StackOne::Shared::EmployeeLocationType), name: T.nilable(::String), phone_number: T.nilable(::String), remote_employee_id: T.nilable(::String), remote_id: T.nilable(::String), state: T.nilable(::String), street_1: T.nilable(::String), street_2: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime), zip_code: T.nilable(::String)).void } + def initialize(city: nil, country: nil, created_at: nil, employee_id: nil, id: nil, location_type: nil, name: nil, phone_number: nil, remote_employee_id: nil, remote_id: nil, state: nil, street_1: nil, street_2: nil, unified_custom_fields: nil, updated_at: nil, zip_code: nil) @city = city @country = country @created_at = created_at @@ -58,6 +60,7 @@ def initialize(city: nil, country: nil, created_at: nil, employee_id: nil, id: n @state = state @street_1 = street_1 @street_2 = street_2 + @unified_custom_fields = unified_custom_fields @updated_at = updated_at @zip_code = zip_code end diff --git a/lib/stack_one/models/shared/hrisbatchdocumentuploadrequestdto.rb b/lib/stack_one/models/shared/hrisbatchdocumentuploadrequestdto.rb new file mode 100644 index 00000000..7fcc703a --- /dev/null +++ b/lib/stack_one/models/shared/hrisbatchdocumentuploadrequestdto.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Shared + + + class HrisBatchDocumentUploadRequestDto < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # The batch of items to create + field :items, T::Array[::StackOne::Shared::HrisDocumentsUploadRequestDto], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('items') } } + + + sig { params(items: T::Array[::StackOne::Shared::HrisDocumentsUploadRequestDto]).void } + def initialize(items: nil) + @items = items + end + end + end +end diff --git a/lib/stack_one/models/shared/hrisbenefit_value.rb b/lib/stack_one/models/shared/hrisbenefit_value.rb index 68a677d2..c443a15b 100644 --- a/lib/stack_one/models/shared/hrisbenefit_value.rb +++ b/lib/stack_one/models/shared/hrisbenefit_value.rb @@ -17,6 +17,5 @@ class HRISBenefitValue < T::Enum INSURANCE = new('insurance') end end - end end diff --git a/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb b/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb index f10259e1..86fefab6 100644 --- a/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +++ b/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb @@ -29,6 +29,8 @@ class HrisCreateEmployeeRequestDto < ::StackOne::Utils::FieldAugmented field :date_of_birth, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('date_of_birth'), 'decoder': Utils.datetime_from_iso_format(true) } } # The employee department field :department, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('department') } } + # The employee department id + field :department_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('department_id') } } # The employee display name field :display_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('display_name') } } # The employment work schedule type (e.g., full-time, part-time) @@ -61,6 +63,8 @@ class HrisCreateEmployeeRequestDto < ::StackOne::Utils::FieldAugmented field :marital_status, T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('marital_status') } } # The employee name field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } } + # The national identity number + field :national_identity_number, T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoNationalIdentityNumber), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('national_identity_number') } } # Value to pass through to the provider field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } } # The employee personal email @@ -85,8 +89,8 @@ class HrisCreateEmployeeRequestDto < ::StackOne::Utils::FieldAugmented field :work_phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('work_phone_number') } } - sig { params(avatar: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoAvatar), avatar_url: T.nilable(::String), benefits: T.nilable(T::Array[::StackOne::Shared::HRISBenefit]), birthday: T.nilable(::DateTime), citizenships: T.nilable(T::Array[::StackOne::Shared::CountryCodeEnum]), company_name: T.nilable(::String), custom_fields: T.nilable(T::Array[::StackOne::Shared::EmployeeCustomFields]), date_of_birth: T.nilable(::DateTime), department: T.nilable(::String), display_name: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentContractType), employment_status: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentStatus), employment_type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentType), employments: T.nilable(T::Array[::StackOne::Shared::Employment]), ethnicity: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEthnicity), first_name: T.nilable(::String), gender: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoGender), hire_date: T.nilable(::DateTime), home_location: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoHomeLocation), job_id: T.nilable(::String), job_title: T.nilable(::String), last_name: T.nilable(::String), manager_id: T.nilable(::String), marital_status: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus), name: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), preferred_language: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage), start_date: T.nilable(::DateTime), tenure: T.nilable(::Float), termination_date: T.nilable(::DateTime), work_anniversary: T.nilable(::DateTime), work_email: T.nilable(::String), work_location: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoWorkLocation), work_phone_number: T.nilable(::String)).void } - def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company_name: nil, custom_fields: nil, date_of_birth: nil, department: nil, display_name: nil, employment_contract_type: nil, employment_status: nil, employment_type: nil, employments: nil, ethnicity: nil, first_name: nil, gender: nil, hire_date: nil, home_location: nil, job_id: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, passthrough: nil, personal_email: nil, personal_phone_number: nil, preferred_language: nil, start_date: nil, tenure: nil, termination_date: nil, work_anniversary: nil, work_email: nil, work_location: nil, work_phone_number: nil) + sig { params(avatar: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoAvatar), avatar_url: T.nilable(::String), benefits: T.nilable(T::Array[::StackOne::Shared::HRISBenefit]), birthday: T.nilable(::DateTime), citizenships: T.nilable(T::Array[::StackOne::Shared::CountryCodeEnum]), company_name: T.nilable(::String), custom_fields: T.nilable(T::Array[::StackOne::Shared::EmployeeCustomFields]), date_of_birth: T.nilable(::DateTime), department: T.nilable(::String), department_id: T.nilable(::String), display_name: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentContractType), employment_status: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentStatus), employment_type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentType), employments: T.nilable(T::Array[::StackOne::Shared::Employment]), ethnicity: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEthnicity), first_name: T.nilable(::String), gender: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoGender), hire_date: T.nilable(::DateTime), home_location: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoHomeLocation), job_id: T.nilable(::String), job_title: T.nilable(::String), last_name: T.nilable(::String), manager_id: T.nilable(::String), marital_status: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus), name: T.nilable(::String), national_identity_number: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoNationalIdentityNumber), passthrough: T.nilable(T::Hash[Symbol, ::Object]), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), preferred_language: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage), start_date: T.nilable(::DateTime), tenure: T.nilable(::Float), termination_date: T.nilable(::DateTime), work_anniversary: T.nilable(::DateTime), work_email: T.nilable(::String), work_location: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoWorkLocation), work_phone_number: T.nilable(::String)).void } + def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company_name: nil, custom_fields: nil, date_of_birth: nil, department: nil, department_id: nil, display_name: nil, employment_contract_type: nil, employment_status: nil, employment_type: nil, employments: nil, ethnicity: nil, first_name: nil, gender: nil, hire_date: nil, home_location: nil, job_id: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, national_identity_number: nil, passthrough: nil, personal_email: nil, personal_phone_number: nil, preferred_language: nil, start_date: nil, tenure: nil, termination_date: nil, work_anniversary: nil, work_email: nil, work_location: nil, work_phone_number: nil) @avatar = avatar @avatar_url = avatar_url @benefits = benefits @@ -96,6 +100,7 @@ def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citiz @custom_fields = custom_fields @date_of_birth = date_of_birth @department = department + @department_id = department_id @display_name = display_name @employment_contract_type = employment_contract_type @employment_status = employment_status @@ -112,6 +117,7 @@ def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citiz @manager_id = manager_id @marital_status = marital_status @name = name + @national_identity_number = national_identity_number @passthrough = passthrough @personal_email = personal_email @personal_phone_number = personal_phone_number diff --git a/lib/stack_one/models/shared/hriscreateemployeerequestdto_national_identity_number.rb b/lib/stack_one/models/shared/hriscreateemployeerequestdto_national_identity_number.rb new file mode 100644 index 00000000..38eef270 --- /dev/null +++ b/lib/stack_one/models/shared/hriscreateemployeerequestdto_national_identity_number.rb @@ -0,0 +1,27 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Shared + + # The national identity number + class HrisCreateEmployeeRequestDtoNationalIdentityNumber < ::StackOne::Utils::FieldAugmented + extend T::Sig + + + field :type, T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } } + + field :value, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value') } } + + + sig { params(type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoType), value: T.nilable(::String)).void } + def initialize(type: nil, value: nil) + @type = type + @value = value + end + end + end +end diff --git a/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb b/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb index 42500887..5593436c 100644 --- a/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb +++ b/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb @@ -29,6 +29,5 @@ class HrisCreateEmployeeRequestDtoSchemasEmploymentTypeValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_ethnicity_value.rb b/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_ethnicity_value.rb index 8f003a2f..f8bc2aa0 100644 --- a/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_ethnicity_value.rb +++ b/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_ethnicity_value.rb @@ -22,6 +22,5 @@ class HrisCreateEmployeeRequestDtoSchemasEthnicityValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_gender_value.rb b/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_gender_value.rb index 6d7bf513..31e6a398 100644 --- a/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_gender_value.rb +++ b/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_gender_value.rb @@ -19,6 +19,5 @@ class HrisCreateEmployeeRequestDtoSchemasGenderValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_state_value.rb b/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_state_value.rb index 537653d3..1dcf48e4 100644 --- a/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_state_value.rb +++ b/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_state_value.rb @@ -3836,6 +3836,5 @@ class HrisCreateEmployeeRequestDtoSchemasHomeLocationStateValue < T::Enum ZW_MI = new('ZW-MI') end end - end end diff --git a/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_value.rb b/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_value.rb index 7186d97a..46d1344f 100644 --- a/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_value.rb +++ b/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_value.rb @@ -261,6 +261,5 @@ class HrisCreateEmployeeRequestDtoSchemasHomeLocationValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_marital_status_value.rb b/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_marital_status_value.rb index 7d9688b8..4c26c1a0 100644 --- a/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_marital_status_value.rb +++ b/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_marital_status_value.rb @@ -22,6 +22,5 @@ class HrisCreateEmployeeRequestDtoSchemasMaritalStatusValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_national_identity_number_value.rb b/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_national_identity_number_value.rb new file mode 100644 index 00000000..878e7e48 --- /dev/null +++ b/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_national_identity_number_value.rb @@ -0,0 +1,21 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Shared + + # HrisCreateEmployeeRequestDtoSchemasNationalIdentityNumberValue - The type of the national identity number + class HrisCreateEmployeeRequestDtoSchemasNationalIdentityNumberValue < T::Enum + enums do + SSN = new('ssn') + NIN = new('nin') + SIN = new('sin') + OTHER = new('other') + UNKNOWN = new('unknown') + end + end + end +end diff --git a/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_preferred_language_value.rb b/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_preferred_language_value.rb index c22c6e36..dc60c88e 100644 --- a/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_preferred_language_value.rb +++ b/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_preferred_language_value.rb @@ -110,6 +110,5 @@ class HrisCreateEmployeeRequestDtoSchemasPreferredLanguageValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_value.rb b/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_value.rb index 222a9e21..13e40846 100644 --- a/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_value.rb +++ b/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_value.rb @@ -19,6 +19,5 @@ class HrisCreateEmployeeRequestDtoSchemasValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_state_value.rb b/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_state_value.rb index 4191ecd9..ac411dbc 100644 --- a/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_state_value.rb +++ b/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_state_value.rb @@ -3836,6 +3836,5 @@ class HrisCreateEmployeeRequestDtoSchemasWorkLocationStateValue < T::Enum ZW_MI = new('ZW-MI') end end - end end diff --git a/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_value.rb b/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_value.rb index 7ac5d1ea..379acc65 100644 --- a/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_value.rb +++ b/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_value.rb @@ -261,6 +261,5 @@ class HrisCreateEmployeeRequestDtoSchemasWorkLocationValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/hriscreateemployeerequestdto_type.rb b/lib/stack_one/models/shared/hriscreateemployeerequestdto_type.rb new file mode 100644 index 00000000..74976888 --- /dev/null +++ b/lib/stack_one/models/shared/hriscreateemployeerequestdto_type.rb @@ -0,0 +1,27 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Shared + + + class HrisCreateEmployeeRequestDtoType < ::StackOne::Utils::FieldAugmented + extend T::Sig + + + field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } } + # The type of the national identity number + field :value, T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasNationalIdentityNumberValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasNationalIdentityNumberValue, true) } } + + + sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasNationalIdentityNumberValue)).void } + def initialize(source_value: nil, value: nil) + @source_value = source_value + @value = value + end + end + end +end diff --git a/lib/stack_one/models/shared/hriscreateemployeerequestdto_value.rb b/lib/stack_one/models/shared/hriscreateemployeerequestdto_value.rb index 6fadacfa..c5bf9416 100644 --- a/lib/stack_one/models/shared/hriscreateemployeerequestdto_value.rb +++ b/lib/stack_one/models/shared/hriscreateemployeerequestdto_value.rb @@ -16,6 +16,5 @@ class HrisCreateEmployeeRequestDtoValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_schemas_value.rb b/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_schemas_value.rb index 5831174b..f09d45e5 100644 --- a/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_schemas_value.rb +++ b/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_schemas_value.rb @@ -24,6 +24,5 @@ class HrisCreateTimeOffRequestDtoSchemasValue < T::Enum CHILD_CARE_LEAVE = new('child_care_leave') end end - end end diff --git a/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_value.rb b/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_value.rb index 2cf5442e..126b72c4 100644 --- a/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_value.rb +++ b/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_value.rb @@ -17,6 +17,5 @@ class HrisCreateTimeOffRequestDtoValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_document_value.rb b/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_document_value.rb index fffde921..54456335 100644 --- a/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_document_value.rb +++ b/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_document_value.rb @@ -1222,6 +1222,5 @@ class HrisCreateWorkEligibilityRequestDtoSchemasDocumentValue < T::Enum ICE = new('ice') end end - end end diff --git a/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_value.rb b/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_value.rb index a59f4e11..6621ccf6 100644 --- a/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_value.rb +++ b/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_value.rb @@ -17,6 +17,5 @@ class HrisCreateWorkEligibilityRequestDtoSchemasValue < T::Enum OTHER = new('other') end end - end end diff --git a/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_value.rb b/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_value.rb index 2d570fcb..7b898b2e 100644 --- a/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_value.rb +++ b/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_value.rb @@ -261,6 +261,5 @@ class HrisCreateWorkEligibilityRequestDtoValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/hrisdepartment.rb b/lib/stack_one/models/shared/hrisdepartment.rb index b298d7e2..a3a0c67f 100644 --- a/lib/stack_one/models/shared/hrisdepartment.rb +++ b/lib/stack_one/models/shared/hrisdepartment.rb @@ -25,10 +25,12 @@ class HRISDepartment < ::StackOne::Utils::FieldAugmented field :remote_parent_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_parent_ids') } } # The type of the department group field :type, T.nilable(::StackOne::Shared::HRISDepartmentType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } - sig { params(id: T.nilable(::String), name: T.nilable(::String), owner_ids: T.nilable(T::Array[::String]), parent_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), remote_parent_ids: T.nilable(T::Array[::String]), type: T.nilable(::StackOne::Shared::HRISDepartmentType)).void } - def initialize(id: nil, name: nil, owner_ids: nil, parent_ids: nil, remote_id: nil, remote_parent_ids: nil, type: nil) + sig { params(id: T.nilable(::String), name: T.nilable(::String), owner_ids: T.nilable(T::Array[::String]), parent_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), remote_parent_ids: T.nilable(T::Array[::String]), type: T.nilable(::StackOne::Shared::HRISDepartmentType), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void } + def initialize(id: nil, name: nil, owner_ids: nil, parent_ids: nil, remote_id: nil, remote_parent_ids: nil, type: nil, unified_custom_fields: nil) @id = id @name = name @owner_ids = owner_ids @@ -36,6 +38,7 @@ def initialize(id: nil, name: nil, owner_ids: nil, parent_ids: nil, remote_id: n @remote_id = remote_id @remote_parent_ids = remote_parent_ids @type = type + @unified_custom_fields = unified_custom_fields end end end diff --git a/lib/stack_one/models/shared/hrisdepartment_value.rb b/lib/stack_one/models/shared/hrisdepartment_value.rb index 9a195556..5c9d75d0 100644 --- a/lib/stack_one/models/shared/hrisdepartment_value.rb +++ b/lib/stack_one/models/shared/hrisdepartment_value.rb @@ -13,6 +13,5 @@ class HRISDepartmentValue < T::Enum DEPARTMENT = new('department') end end - end end diff --git a/lib/stack_one/models/shared/hrisdocumentapimodel.rb b/lib/stack_one/models/shared/hrisdocumentapimodel.rb index dfa50801..46eded66 100644 --- a/lib/stack_one/models/shared/hrisdocumentapimodel.rb +++ b/lib/stack_one/models/shared/hrisdocumentapimodel.rb @@ -37,12 +37,14 @@ class HrisDocumentApiModel < ::StackOne::Utils::FieldAugmented # # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible. field :type, T.nilable(::StackOne::Shared::HrisDocumentApiModelType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # The update date of the file field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } - sig { params(category: T.nilable(::StackOne::Shared::HrisDocumentApiModelCategory), category_id: T.nilable(::String), contents: T.nilable(T::Array[::StackOne::Shared::Content]), created_at: T.nilable(::DateTime), file_format: T.nilable(::StackOne::Shared::HrisDocumentApiModelFileFormat), id: T.nilable(::String), name: T.nilable(::String), path: T.nilable(::String), remote_id: T.nilable(::String), remote_url: T.nilable(::String), type: T.nilable(::StackOne::Shared::HrisDocumentApiModelType), updated_at: T.nilable(::DateTime)).void } - def initialize(category: nil, category_id: nil, contents: nil, created_at: nil, file_format: nil, id: nil, name: nil, path: nil, remote_id: nil, remote_url: nil, type: nil, updated_at: nil) + sig { params(category: T.nilable(::StackOne::Shared::HrisDocumentApiModelCategory), category_id: T.nilable(::String), contents: T.nilable(T::Array[::StackOne::Shared::Content]), created_at: T.nilable(::DateTime), file_format: T.nilable(::StackOne::Shared::HrisDocumentApiModelFileFormat), id: T.nilable(::String), name: T.nilable(::String), path: T.nilable(::String), remote_id: T.nilable(::String), remote_url: T.nilable(::String), type: T.nilable(::StackOne::Shared::HrisDocumentApiModelType), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void } + def initialize(category: nil, category_id: nil, contents: nil, created_at: nil, file_format: nil, id: nil, name: nil, path: nil, remote_id: nil, remote_url: nil, type: nil, unified_custom_fields: nil, updated_at: nil) @category = category @category_id = category_id @contents = contents @@ -54,6 +56,7 @@ def initialize(category: nil, category_id: nil, contents: nil, created_at: nil, @remote_id = remote_id @remote_url = remote_url @type = type + @unified_custom_fields = unified_custom_fields @updated_at = updated_at end end diff --git a/lib/stack_one/models/shared/hrisdocumentapimodel_schemas_type_value.rb b/lib/stack_one/models/shared/hrisdocumentapimodel_schemas_type_value.rb index 66e5b805..e3b1e052 100644 --- a/lib/stack_one/models/shared/hrisdocumentapimodel_schemas_type_value.rb +++ b/lib/stack_one/models/shared/hrisdocumentapimodel_schemas_type_value.rb @@ -37,6 +37,5 @@ class HrisDocumentApiModelSchemasTypeValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/hrisdocumentapimodel_schemas_value.rb b/lib/stack_one/models/shared/hrisdocumentapimodel_schemas_value.rb index 4b7c2abd..b9a0c57f 100644 --- a/lib/stack_one/models/shared/hrisdocumentapimodel_schemas_value.rb +++ b/lib/stack_one/models/shared/hrisdocumentapimodel_schemas_value.rb @@ -1222,6 +1222,5 @@ class HrisDocumentApiModelSchemasValue < T::Enum ICE = new('ice') end end - end end diff --git a/lib/stack_one/models/shared/hrisdocumentapimodel_value.rb b/lib/stack_one/models/shared/hrisdocumentapimodel_value.rb index ebee8d90..7b0dbdca 100644 --- a/lib/stack_one/models/shared/hrisdocumentapimodel_value.rb +++ b/lib/stack_one/models/shared/hrisdocumentapimodel_value.rb @@ -37,6 +37,5 @@ class HrisDocumentApiModelValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_file_format_value.rb b/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_file_format_value.rb index 694093c7..8d73e065 100644 --- a/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_file_format_value.rb +++ b/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_file_format_value.rb @@ -1222,6 +1222,5 @@ class HrisDocumentsUploadRequestDtoSchemasFileFormatValue < T::Enum ICE = new('ice') end end - end end diff --git a/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_value.rb b/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_value.rb index 127b51cb..053597bf 100644 --- a/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_value.rb +++ b/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_value.rb @@ -14,6 +14,5 @@ class HrisDocumentsUploadRequestDtoSchemasValue < T::Enum FALSE = new('false') end end - end end diff --git a/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_value.rb b/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_value.rb index 03661252..0b91e0f2 100644 --- a/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_value.rb +++ b/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_value.rb @@ -37,6 +37,5 @@ class HrisDocumentsUploadRequestDtoValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/hrisgroup.rb b/lib/stack_one/models/shared/hrisgroup.rb index 1fbd698e..52528c74 100644 --- a/lib/stack_one/models/shared/hrisgroup.rb +++ b/lib/stack_one/models/shared/hrisgroup.rb @@ -25,10 +25,12 @@ class HRISGroup < ::StackOne::Utils::FieldAugmented field :remote_parent_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_parent_ids') } } # The type of the group field :type, T.nilable(::StackOne::Shared::HRISGroupType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } - sig { params(id: T.nilable(::String), name: T.nilable(::String), owner_ids: T.nilable(T::Array[::String]), parent_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), remote_parent_ids: T.nilable(T::Array[::String]), type: T.nilable(::StackOne::Shared::HRISGroupType)).void } - def initialize(id: nil, name: nil, owner_ids: nil, parent_ids: nil, remote_id: nil, remote_parent_ids: nil, type: nil) + sig { params(id: T.nilable(::String), name: T.nilable(::String), owner_ids: T.nilable(T::Array[::String]), parent_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), remote_parent_ids: T.nilable(T::Array[::String]), type: T.nilable(::StackOne::Shared::HRISGroupType), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void } + def initialize(id: nil, name: nil, owner_ids: nil, parent_ids: nil, remote_id: nil, remote_parent_ids: nil, type: nil, unified_custom_fields: nil) @id = id @name = name @owner_ids = owner_ids @@ -36,6 +38,7 @@ def initialize(id: nil, name: nil, owner_ids: nil, parent_ids: nil, remote_id: n @remote_id = remote_id @remote_parent_ids = remote_parent_ids @type = type + @unified_custom_fields = unified_custom_fields end end end diff --git a/lib/stack_one/models/shared/hrisgroup_value.rb b/lib/stack_one/models/shared/hrisgroup_value.rb index 87515ad3..08756044 100644 --- a/lib/stack_one/models/shared/hrisgroup_value.rb +++ b/lib/stack_one/models/shared/hrisgroup_value.rb @@ -18,6 +18,5 @@ class HRISGroupValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/hrislocation.rb b/lib/stack_one/models/shared/hrislocation.rb index 87f5160d..5389d30b 100644 --- a/lib/stack_one/models/shared/hrislocation.rb +++ b/lib/stack_one/models/shared/hrislocation.rb @@ -37,14 +37,16 @@ class HRISLocation < ::StackOne::Utils::FieldAugmented field :street_1, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('street_1') } } # The second line of the address field :street_2, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('street_2') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # The updated_at date field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } # The ZIP code/Postal code of the location field :zip_code, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('zip_code') } } - sig { params(city: T.nilable(::String), country: T.nilable(::StackOne::Shared::HRISLocationCountry), created_at: T.nilable(::DateTime), employee_id: T.nilable(::String), id: T.nilable(::String), location_type: T.nilable(::StackOne::Shared::HRISLocationLocationType), name: T.nilable(::String), phone_number: T.nilable(::String), remote_employee_id: T.nilable(::String), remote_id: T.nilable(::String), state: T.nilable(::String), street_1: T.nilable(::String), street_2: T.nilable(::String), updated_at: T.nilable(::DateTime), zip_code: T.nilable(::String)).void } - def initialize(city: nil, country: nil, created_at: nil, employee_id: nil, id: nil, location_type: nil, name: nil, phone_number: nil, remote_employee_id: nil, remote_id: nil, state: nil, street_1: nil, street_2: nil, updated_at: nil, zip_code: nil) + sig { params(city: T.nilable(::String), country: T.nilable(::StackOne::Shared::HRISLocationCountry), created_at: T.nilable(::DateTime), employee_id: T.nilable(::String), id: T.nilable(::String), location_type: T.nilable(::StackOne::Shared::HRISLocationLocationType), name: T.nilable(::String), phone_number: T.nilable(::String), remote_employee_id: T.nilable(::String), remote_id: T.nilable(::String), state: T.nilable(::String), street_1: T.nilable(::String), street_2: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime), zip_code: T.nilable(::String)).void } + def initialize(city: nil, country: nil, created_at: nil, employee_id: nil, id: nil, location_type: nil, name: nil, phone_number: nil, remote_employee_id: nil, remote_id: nil, state: nil, street_1: nil, street_2: nil, unified_custom_fields: nil, updated_at: nil, zip_code: nil) @city = city @country = country @created_at = created_at @@ -58,6 +60,7 @@ def initialize(city: nil, country: nil, created_at: nil, employee_id: nil, id: n @state = state @street_1 = street_1 @street_2 = street_2 + @unified_custom_fields = unified_custom_fields @updated_at = updated_at @zip_code = zip_code end diff --git a/lib/stack_one/models/shared/hrislocation_schemas_value.rb b/lib/stack_one/models/shared/hrislocation_schemas_value.rb index 941ff868..608f28d9 100644 --- a/lib/stack_one/models/shared/hrislocation_schemas_value.rb +++ b/lib/stack_one/models/shared/hrislocation_schemas_value.rb @@ -15,6 +15,5 @@ class HRISLocationSchemasValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/hrislocation_value.rb b/lib/stack_one/models/shared/hrislocation_value.rb index d9e12f4b..1a55872a 100644 --- a/lib/stack_one/models/shared/hrislocation_value.rb +++ b/lib/stack_one/models/shared/hrislocation_value.rb @@ -261,6 +261,5 @@ class HRISLocationValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/iamgroup_value.rb b/lib/stack_one/models/shared/iamgroup_value.rb index c964a09d..48a821d3 100644 --- a/lib/stack_one/models/shared/iamgroup_value.rb +++ b/lib/stack_one/models/shared/iamgroup_value.rb @@ -18,6 +18,5 @@ class IamGroupValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/iammfatypeenum_value.rb b/lib/stack_one/models/shared/iammfatypeenum_value.rb index 57764251..a19fee1a 100644 --- a/lib/stack_one/models/shared/iammfatypeenum_value.rb +++ b/lib/stack_one/models/shared/iammfatypeenum_value.rb @@ -18,6 +18,5 @@ class IamMfaTypeEnumValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/iampermission_value.rb b/lib/stack_one/models/shared/iampermission_value.rb index f4294e84..938f8b95 100644 --- a/lib/stack_one/models/shared/iampermission_value.rb +++ b/lib/stack_one/models/shared/iampermission_value.rb @@ -19,6 +19,5 @@ class IamPermissionValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/iamresource_value.rb b/lib/stack_one/models/shared/iamresource_value.rb index d75a6ab8..6f8474c2 100644 --- a/lib/stack_one/models/shared/iamresource_value.rb +++ b/lib/stack_one/models/shared/iamresource_value.rb @@ -19,6 +19,5 @@ class IamResourceValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/iamrole_value.rb b/lib/stack_one/models/shared/iamrole_value.rb index 3eae8624..aa4ee77d 100644 --- a/lib/stack_one/models/shared/iamrole_value.rb +++ b/lib/stack_one/models/shared/iamrole_value.rb @@ -20,6 +20,5 @@ class IamRoleValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/iamuser.rb b/lib/stack_one/models/shared/iamuser.rb index ca58e155..cdc1d4a9 100644 --- a/lib/stack_one/models/shared/iamuser.rb +++ b/lib/stack_one/models/shared/iamuser.rb @@ -41,14 +41,16 @@ class IamUser < ::StackOne::Utils::FieldAugmented field :roles, T.nilable(T::Array[::StackOne::Shared::IamRole]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('roles') } } field :status, T.nilable(::StackOne::Shared::IamUserStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('status') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # The date the user was created field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } field :username, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('username') } } - sig { params(avatar: T.nilable(::StackOne::Shared::IamUserAvatar), created_at: T.nilable(::DateTime), first_name: T.nilable(::String), groups: T.nilable(T::Array[::StackOne::Shared::IamGroup]), id: T.nilable(::String), is_bot_user: T.nilable(::Object), last_active_at: T.nilable(::DateTime), last_login_at: T.nilable(::DateTime), last_name: T.nilable(::String), multi_factor_enabled: T.nilable(T::Array[::StackOne::Shared::IamMfaTypeEnum]), name: T.nilable(::String), primary_email_address: T.nilable(::String), remote_id: T.nilable(::String), roles: T.nilable(T::Array[::StackOne::Shared::IamRole]), status: T.nilable(::StackOne::Shared::IamUserStatus), updated_at: T.nilable(::DateTime), username: T.nilable(::String)).void } - def initialize(avatar: nil, created_at: nil, first_name: nil, groups: nil, id: nil, is_bot_user: nil, last_active_at: nil, last_login_at: nil, last_name: nil, multi_factor_enabled: nil, name: nil, primary_email_address: nil, remote_id: nil, roles: nil, status: nil, updated_at: nil, username: nil) + sig { params(avatar: T.nilable(::StackOne::Shared::IamUserAvatar), created_at: T.nilable(::DateTime), first_name: T.nilable(::String), groups: T.nilable(T::Array[::StackOne::Shared::IamGroup]), id: T.nilable(::String), is_bot_user: T.nilable(::Object), last_active_at: T.nilable(::DateTime), last_login_at: T.nilable(::DateTime), last_name: T.nilable(::String), multi_factor_enabled: T.nilable(T::Array[::StackOne::Shared::IamMfaTypeEnum]), name: T.nilable(::String), primary_email_address: T.nilable(::String), remote_id: T.nilable(::String), roles: T.nilable(T::Array[::StackOne::Shared::IamRole]), status: T.nilable(::StackOne::Shared::IamUserStatus), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime), username: T.nilable(::String)).void } + def initialize(avatar: nil, created_at: nil, first_name: nil, groups: nil, id: nil, is_bot_user: nil, last_active_at: nil, last_login_at: nil, last_name: nil, multi_factor_enabled: nil, name: nil, primary_email_address: nil, remote_id: nil, roles: nil, status: nil, unified_custom_fields: nil, updated_at: nil, username: nil) @avatar = avatar @created_at = created_at @first_name = first_name @@ -64,6 +66,7 @@ def initialize(avatar: nil, created_at: nil, first_name: nil, groups: nil, id: n @remote_id = remote_id @roles = roles @status = status + @unified_custom_fields = unified_custom_fields @updated_at = updated_at @username = username end diff --git a/lib/stack_one/models/shared/iamuser_schemas_value.rb b/lib/stack_one/models/shared/iamuser_schemas_value.rb index a2d8941f..ca631da4 100644 --- a/lib/stack_one/models/shared/iamuser_schemas_value.rb +++ b/lib/stack_one/models/shared/iamuser_schemas_value.rb @@ -1222,6 +1222,5 @@ class IamUserSchemasValue < T::Enum ICE = new('ice') end end - end end diff --git a/lib/stack_one/models/shared/iamuser_value.rb b/lib/stack_one/models/shared/iamuser_value.rb index 96b39f04..dbfcadb5 100644 --- a/lib/stack_one/models/shared/iamuser_value.rb +++ b/lib/stack_one/models/shared/iamuser_value.rb @@ -16,6 +16,5 @@ class IamUserValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/internal.rb b/lib/stack_one/models/shared/internal.rb index 3f9f3872..2c9140f9 100644 --- a/lib/stack_one/models/shared/internal.rb +++ b/lib/stack_one/models/shared/internal.rb @@ -14,6 +14,5 @@ class Internal < T::Enum FALSE = new('false') end end - end end diff --git a/lib/stack_one/models/shared/interview.rb b/lib/stack_one/models/shared/interview.rb index c2a5652c..65453d70 100644 --- a/lib/stack_one/models/shared/interview.rb +++ b/lib/stack_one/models/shared/interview.rb @@ -43,12 +43,14 @@ class Interview < ::StackOne::Utils::FieldAugmented field :remote_interviewer_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_interviewer_ids') } } # Interview start date field :start_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_at'), 'decoder': Utils.datetime_from_iso_format(true) } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # Interview updated date field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } - sig { params(application_id: T.nilable(::String), created_at: T.nilable(::DateTime), end_at: T.nilable(::DateTime), id: T.nilable(::String), interview_parts: T.nilable(T::Array[::StackOne::Shared::InterviewPart]), interview_stage: T.nilable(::StackOne::Shared::InterviewInterviewStage), interview_stage_id: T.nilable(::String), interview_status: T.nilable(::StackOne::Shared::InterviewStatus), interviewer_ids: T.nilable(T::Array[::String]), interviewers: T.nilable(T::Array[::StackOne::Shared::Interviewer]), meeting_url: T.nilable(::String), remote_application_id: T.nilable(::String), remote_id: T.nilable(::String), remote_interview_stage_id: T.nilable(::String), remote_interviewer_ids: T.nilable(T::Array[::String]), start_at: T.nilable(::DateTime), updated_at: T.nilable(::DateTime)).void } - def initialize(application_id: nil, created_at: nil, end_at: nil, id: nil, interview_parts: nil, interview_stage: nil, interview_stage_id: nil, interview_status: nil, interviewer_ids: nil, interviewers: nil, meeting_url: nil, remote_application_id: nil, remote_id: nil, remote_interview_stage_id: nil, remote_interviewer_ids: nil, start_at: nil, updated_at: nil) + sig { params(application_id: T.nilable(::String), created_at: T.nilable(::DateTime), end_at: T.nilable(::DateTime), id: T.nilable(::String), interview_parts: T.nilable(T::Array[::StackOne::Shared::InterviewPart]), interview_stage: T.nilable(::StackOne::Shared::InterviewInterviewStage), interview_stage_id: T.nilable(::String), interview_status: T.nilable(::StackOne::Shared::InterviewStatus), interviewer_ids: T.nilable(T::Array[::String]), interviewers: T.nilable(T::Array[::StackOne::Shared::Interviewer]), meeting_url: T.nilable(::String), remote_application_id: T.nilable(::String), remote_id: T.nilable(::String), remote_interview_stage_id: T.nilable(::String), remote_interviewer_ids: T.nilable(T::Array[::String]), start_at: T.nilable(::DateTime), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void } + def initialize(application_id: nil, created_at: nil, end_at: nil, id: nil, interview_parts: nil, interview_stage: nil, interview_stage_id: nil, interview_status: nil, interviewer_ids: nil, interviewers: nil, meeting_url: nil, remote_application_id: nil, remote_id: nil, remote_interview_stage_id: nil, remote_interviewer_ids: nil, start_at: nil, unified_custom_fields: nil, updated_at: nil) @application_id = application_id @created_at = created_at @end_at = end_at @@ -65,6 +67,7 @@ def initialize(application_id: nil, created_at: nil, end_at: nil, id: nil, inter @remote_interview_stage_id = remote_interview_stage_id @remote_interviewer_ids = remote_interviewer_ids @start_at = start_at + @unified_custom_fields = unified_custom_fields @updated_at = updated_at end end diff --git a/lib/stack_one/models/shared/interview_interview_stage.rb b/lib/stack_one/models/shared/interview_interview_stage.rb index 734a3742..249605aa 100644 --- a/lib/stack_one/models/shared/interview_interview_stage.rb +++ b/lib/stack_one/models/shared/interview_interview_stage.rb @@ -21,17 +21,20 @@ class InterviewInterviewStage < ::StackOne::Utils::FieldAugmented field :order, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('order') } } # Provider's unique identifier field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # Interview Stage updated date field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } - sig { params(created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), order: T.nilable(::Float), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void } - def initialize(created_at: nil, id: nil, name: nil, order: nil, remote_id: nil, updated_at: nil) + sig { params(created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), order: T.nilable(::Float), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void } + def initialize(created_at: nil, id: nil, name: nil, order: nil, remote_id: nil, unified_custom_fields: nil, updated_at: nil) @created_at = created_at @id = id @name = name @order = order @remote_id = remote_id + @unified_custom_fields = unified_custom_fields @updated_at = updated_at end end diff --git a/lib/stack_one/models/shared/interview_value.rb b/lib/stack_one/models/shared/interview_value.rb index a78996b6..6ea8a539 100644 --- a/lib/stack_one/models/shared/interview_value.rb +++ b/lib/stack_one/models/shared/interview_value.rb @@ -18,6 +18,5 @@ class InterviewValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/interviewpart_value.rb b/lib/stack_one/models/shared/interviewpart_value.rb index 57924b3f..fe34d271 100644 --- a/lib/stack_one/models/shared/interviewpart_value.rb +++ b/lib/stack_one/models/shared/interviewpart_value.rb @@ -23,6 +23,5 @@ class InterviewPartValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/interviewstage.rb b/lib/stack_one/models/shared/interviewstage.rb index c7a72efe..125db95a 100644 --- a/lib/stack_one/models/shared/interviewstage.rb +++ b/lib/stack_one/models/shared/interviewstage.rb @@ -21,17 +21,20 @@ class InterviewStage < ::StackOne::Utils::FieldAugmented field :order, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('order') } } # Provider's unique identifier field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # Interview Stage updated date field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } - sig { params(created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), order: T.nilable(::Float), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void } - def initialize(created_at: nil, id: nil, name: nil, order: nil, remote_id: nil, updated_at: nil) + sig { params(created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), order: T.nilable(::Float), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void } + def initialize(created_at: nil, id: nil, name: nil, order: nil, remote_id: nil, unified_custom_fields: nil, updated_at: nil) @created_at = created_at @id = id @name = name @order = order @remote_id = remote_id + @unified_custom_fields = unified_custom_fields @updated_at = updated_at end end diff --git a/lib/stack_one/models/shared/job.rb b/lib/stack_one/models/shared/job.rb index d737c30e..1dd539f4 100644 --- a/lib/stack_one/models/shared/job.rb +++ b/lib/stack_one/models/shared/job.rb @@ -17,6 +17,8 @@ class Job < ::StackOne::Utils::FieldAugmented field :confidential, T.nilable(::StackOne::Shared::JobConfidential), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('confidential'), 'decoder': Utils.enum_from_string(::StackOne::Shared::JobConfidential, true) } } # Date of creation field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } } + # The job custom fields + field :custom_fields, T.nilable(T::Array[::StackOne::Shared::JobCustomFields]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('custom_fields') } } # Department ids of the job field :department_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('department_ids') } } # Hiring team for the job. @@ -41,15 +43,18 @@ class Job < ::StackOne::Utils::FieldAugmented field :status, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('status') } } # Title of the job field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # Date of last update field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } - sig { params(code: T.nilable(::String), confidential: T.nilable(::StackOne::Shared::JobConfidential), created_at: T.nilable(::DateTime), department_ids: T.nilable(T::Array[::String]), hiring_team: T.nilable(T::Array[::StackOne::Shared::JobHiringTeam]), id: T.nilable(::String), interview_stages: T.nilable(T::Array[::StackOne::Shared::InterviewStage]), job_status: T.nilable(::StackOne::Shared::JobStatus), location_ids: T.nilable(T::Array[::String]), remote_department_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), remote_location_ids: T.nilable(T::Array[::String]), status: T.nilable(::String), title: T.nilable(::String), updated_at: T.nilable(::DateTime)).void } - def initialize(code: nil, confidential: nil, created_at: nil, department_ids: nil, hiring_team: nil, id: nil, interview_stages: nil, job_status: nil, location_ids: nil, remote_department_ids: nil, remote_id: nil, remote_location_ids: nil, status: nil, title: nil, updated_at: nil) + sig { params(code: T.nilable(::String), confidential: T.nilable(::StackOne::Shared::JobConfidential), created_at: T.nilable(::DateTime), custom_fields: T.nilable(T::Array[::StackOne::Shared::JobCustomFields]), department_ids: T.nilable(T::Array[::String]), hiring_team: T.nilable(T::Array[::StackOne::Shared::JobHiringTeam]), id: T.nilable(::String), interview_stages: T.nilable(T::Array[::StackOne::Shared::InterviewStage]), job_status: T.nilable(::StackOne::Shared::JobStatus), location_ids: T.nilable(T::Array[::String]), remote_department_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), remote_location_ids: T.nilable(T::Array[::String]), status: T.nilable(::String), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void } + def initialize(code: nil, confidential: nil, created_at: nil, custom_fields: nil, department_ids: nil, hiring_team: nil, id: nil, interview_stages: nil, job_status: nil, location_ids: nil, remote_department_ids: nil, remote_id: nil, remote_location_ids: nil, status: nil, title: nil, unified_custom_fields: nil, updated_at: nil) @code = code @confidential = confidential @created_at = created_at + @custom_fields = custom_fields @department_ids = department_ids @hiring_team = hiring_team @id = id @@ -61,6 +66,7 @@ def initialize(code: nil, confidential: nil, created_at: nil, department_ids: ni @remote_location_ids = remote_location_ids @status = status @title = title + @unified_custom_fields = unified_custom_fields @updated_at = updated_at end end diff --git a/lib/stack_one/models/shared/job_confidential.rb b/lib/stack_one/models/shared/job_confidential.rb index ff8b2d65..13d5bcb1 100644 --- a/lib/stack_one/models/shared/job_confidential.rb +++ b/lib/stack_one/models/shared/job_confidential.rb @@ -14,6 +14,5 @@ class JobConfidential < T::Enum FALSE = new('false') end end - end end diff --git a/lib/stack_one/models/shared/job_value.rb b/lib/stack_one/models/shared/job_value.rb index 1b95f971..95ef092b 100644 --- a/lib/stack_one/models/shared/job_value.rb +++ b/lib/stack_one/models/shared/job_value.rb @@ -21,6 +21,5 @@ class JobValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/jobcustomfields.rb b/lib/stack_one/models/shared/jobcustomfields.rb new file mode 100644 index 00000000..14f94d9c --- /dev/null +++ b/lib/stack_one/models/shared/jobcustomfields.rb @@ -0,0 +1,39 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Shared + + + class JobCustomFields < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Unique identifier + field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } } + # The name of the custom field. + field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } } + # Provider's unique identifier + field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } + # Provider's unique identifier for the value of the custom field. + field :remote_value_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_value_id') } } + # The value associated with the custom field. + field :value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value') } } + # The unique identifier for the value of the custom field. + field :value_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value_id') } } + + + sig { params(id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String), remote_value_id: T.nilable(::String), value: T.nilable(::Object), value_id: T.nilable(::String)).void } + def initialize(id: nil, name: nil, remote_id: nil, remote_value_id: nil, value: nil, value_id: nil) + @id = id + @name = name + @remote_id = remote_id + @remote_value_id = remote_value_id + @value = value + @value_id = value_id + end + end + end +end diff --git a/lib/stack_one/models/shared/jobposting.rb b/lib/stack_one/models/shared/jobposting.rb index ff7067d8..8ed516ee 100644 --- a/lib/stack_one/models/shared/jobposting.rb +++ b/lib/stack_one/models/shared/jobposting.rb @@ -43,12 +43,14 @@ class JobPosting < ::StackOne::Utils::FieldAugmented field :status, T.nilable(::StackOne::Shared::JobPostingStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('status') } } field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # Date of last update field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } - sig { params(compensation: T.nilable(T::Array[::StackOne::Shared::JobPostingCompensation]), content: T.nilable(::StackOne::Shared::JobPostingContent), created_at: T.nilable(::DateTime), employment_contract_type: T.nilable(::StackOne::Shared::JobPostingEmploymentContractType), employment_type: T.nilable(::StackOne::Shared::JobPostingEmploymentType), external_apply_url: T.nilable(::String), external_url: T.nilable(::String), id: T.nilable(::String), internal: T.nilable(::StackOne::Shared::Internal), job_id: T.nilable(::String), locations: T.nilable(T::Array[::StackOne::Shared::JobPostingLocation]), questionnaires: T.nilable(T::Array[::StackOne::Shared::JobPostingQuestionnaire]), remote_id: T.nilable(::String), remote_job_posting_id: T.nilable(::String), status: T.nilable(::StackOne::Shared::JobPostingStatus), title: T.nilable(::String), updated_at: T.nilable(::DateTime)).void } - def initialize(compensation: nil, content: nil, created_at: nil, employment_contract_type: nil, employment_type: nil, external_apply_url: nil, external_url: nil, id: nil, internal: nil, job_id: nil, locations: nil, questionnaires: nil, remote_id: nil, remote_job_posting_id: nil, status: nil, title: nil, updated_at: nil) + sig { params(compensation: T.nilable(T::Array[::StackOne::Shared::JobPostingCompensation]), content: T.nilable(::StackOne::Shared::JobPostingContent), created_at: T.nilable(::DateTime), employment_contract_type: T.nilable(::StackOne::Shared::JobPostingEmploymentContractType), employment_type: T.nilable(::StackOne::Shared::JobPostingEmploymentType), external_apply_url: T.nilable(::String), external_url: T.nilable(::String), id: T.nilable(::String), internal: T.nilable(::StackOne::Shared::Internal), job_id: T.nilable(::String), locations: T.nilable(T::Array[::StackOne::Shared::JobPostingLocation]), questionnaires: T.nilable(T::Array[::StackOne::Shared::JobPostingQuestionnaire]), remote_id: T.nilable(::String), remote_job_posting_id: T.nilable(::String), status: T.nilable(::StackOne::Shared::JobPostingStatus), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void } + def initialize(compensation: nil, content: nil, created_at: nil, employment_contract_type: nil, employment_type: nil, external_apply_url: nil, external_url: nil, id: nil, internal: nil, job_id: nil, locations: nil, questionnaires: nil, remote_id: nil, remote_job_posting_id: nil, status: nil, title: nil, unified_custom_fields: nil, updated_at: nil) @compensation = compensation @content = content @created_at = created_at @@ -65,6 +67,7 @@ def initialize(compensation: nil, content: nil, created_at: nil, employment_cont @remote_job_posting_id = remote_job_posting_id @status = status @title = title + @unified_custom_fields = unified_custom_fields @updated_at = updated_at end end diff --git a/lib/stack_one/models/shared/jobposting_content.rb b/lib/stack_one/models/shared/jobposting_content.rb index 8302b679..a151b5c0 100644 --- a/lib/stack_one/models/shared/jobposting_content.rb +++ b/lib/stack_one/models/shared/jobposting_content.rb @@ -16,14 +16,14 @@ class JobPostingContent < ::StackOne::Utils::FieldAugmented field :plain, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('plain') } } - field :section, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('section') } } + field :sections, T.nilable(T::Array[::StackOne::Shared::JobPostingContentSection]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('sections') } } - sig { params(html: T.nilable(::String), plain: T.nilable(::String), section: T.nilable(T::Array[::String])).void } - def initialize(html: nil, plain: nil, section: nil) + sig { params(html: T.nilable(::String), plain: T.nilable(::String), sections: T.nilable(T::Array[::StackOne::Shared::JobPostingContentSection])).void } + def initialize(html: nil, plain: nil, sections: nil) @html = html @plain = plain - @section = section + @sections = sections end end end diff --git a/lib/stack_one/models/shared/jobposting_schemas_status_value.rb b/lib/stack_one/models/shared/jobposting_schemas_status_value.rb index 2fc7d0d1..ec1fea2f 100644 --- a/lib/stack_one/models/shared/jobposting_schemas_status_value.rb +++ b/lib/stack_one/models/shared/jobposting_schemas_status_value.rb @@ -20,6 +20,5 @@ class JobPostingSchemasStatusValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/jobposting_schemas_value.rb b/lib/stack_one/models/shared/jobposting_schemas_value.rb index 82ad2201..bda29989 100644 --- a/lib/stack_one/models/shared/jobposting_schemas_value.rb +++ b/lib/stack_one/models/shared/jobposting_schemas_value.rb @@ -29,6 +29,5 @@ class JobPostingSchemasValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/jobposting_value.rb b/lib/stack_one/models/shared/jobposting_value.rb index a7af2c26..6d124ec9 100644 --- a/lib/stack_one/models/shared/jobposting_value.rb +++ b/lib/stack_one/models/shared/jobposting_value.rb @@ -16,6 +16,5 @@ class JobPostingValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/jobpostingcompensation_schemas_type_value.rb b/lib/stack_one/models/shared/jobpostingcompensation_schemas_type_value.rb index d54b6383..c55a6ac5 100644 --- a/lib/stack_one/models/shared/jobpostingcompensation_schemas_type_value.rb +++ b/lib/stack_one/models/shared/jobpostingcompensation_schemas_type_value.rb @@ -19,6 +19,5 @@ class JobPostingCompensationSchemasTypeValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/jobpostingcompensation_schemas_value.rb b/lib/stack_one/models/shared/jobpostingcompensation_schemas_value.rb index 735b6197..639451c8 100644 --- a/lib/stack_one/models/shared/jobpostingcompensation_schemas_value.rb +++ b/lib/stack_one/models/shared/jobpostingcompensation_schemas_value.rb @@ -25,6 +25,5 @@ class JobPostingCompensationSchemasValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/jobpostingcompensation_value.rb b/lib/stack_one/models/shared/jobpostingcompensation_value.rb index d88931ad..deb80468 100644 --- a/lib/stack_one/models/shared/jobpostingcompensation_value.rb +++ b/lib/stack_one/models/shared/jobpostingcompensation_value.rb @@ -27,6 +27,5 @@ class JobPostingCompensationValue < T::Enum DAILY = new('daily') end end - end end diff --git a/lib/stack_one/models/shared/jobpostingcontentsection.rb b/lib/stack_one/models/shared/jobpostingcontentsection.rb new file mode 100644 index 00000000..417a39aa --- /dev/null +++ b/lib/stack_one/models/shared/jobpostingcontentsection.rb @@ -0,0 +1,36 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Shared + + + class JobPostingContentSection < ::StackOne::Utils::FieldAugmented + extend T::Sig + + + field :content, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content') } } + # Unique identifier + field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } } + + field :label, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('label') } } + # Provider's unique identifier + field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } + + field :type, T.nilable(::StackOne::Shared::JobPostingContentSectionType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } } + + + sig { params(content: T.nilable(::String), id: T.nilable(::String), label: T.nilable(::String), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::JobPostingContentSectionType)).void } + def initialize(content: nil, id: nil, label: nil, remote_id: nil, type: nil) + @content = content + @id = id + @label = label + @remote_id = remote_id + @type = type + end + end + end +end diff --git a/lib/stack_one/models/shared/jobpostingcontentsection_type.rb b/lib/stack_one/models/shared/jobpostingcontentsection_type.rb new file mode 100644 index 00000000..d434fba4 --- /dev/null +++ b/lib/stack_one/models/shared/jobpostingcontentsection_type.rb @@ -0,0 +1,27 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Shared + + + class JobPostingContentSectionType < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # The source value of the description type. + field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } } + # The type of the description. + field :value, T.nilable(::StackOne::Shared::JobPostingContentSectionValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::JobPostingContentSectionValue, true) } } + + + sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::JobPostingContentSectionValue)).void } + def initialize(source_value: nil, value: nil) + @source_value = source_value + @value = value + end + end + end +end diff --git a/lib/stack_one/models/shared/jobpostingcontentsection_value.rb b/lib/stack_one/models/shared/jobpostingcontentsection_value.rb new file mode 100644 index 00000000..170fbafb --- /dev/null +++ b/lib/stack_one/models/shared/jobpostingcontentsection_value.rb @@ -0,0 +1,19 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Shared + + # JobPostingContentSectionValue - The type of the description. + class JobPostingContentSectionValue < T::Enum + enums do + RESPONSIBILITIES = new('responsibilities') + SKILLS = new('skills') + BENEFITS = new('benefits') + end + end + end +end diff --git a/lib/stack_one/models/shared/linkedaccount_status.rb b/lib/stack_one/models/shared/linkedaccount_status.rb index be177473..46375eba 100644 --- a/lib/stack_one/models/shared/linkedaccount_status.rb +++ b/lib/stack_one/models/shared/linkedaccount_status.rb @@ -15,6 +15,5 @@ class LinkedAccountStatus < T::Enum ERROR = new('error') end end - end end diff --git a/lib/stack_one/models/shared/linkedaccountmeta_category.rb b/lib/stack_one/models/shared/linkedaccountmeta_category.rb index 7fc9e6ca..6a771688 100644 --- a/lib/stack_one/models/shared/linkedaccountmeta_category.rb +++ b/lib/stack_one/models/shared/linkedaccountmeta_category.rb @@ -20,6 +20,5 @@ class LinkedAccountMetaCategory < T::Enum STACKONE = new('stackone') end end - end end diff --git a/lib/stack_one/models/shared/list.rb b/lib/stack_one/models/shared/list.rb index 435026cb..2b374aab 100644 --- a/lib/stack_one/models/shared/list.rb +++ b/lib/stack_one/models/shared/list.rb @@ -23,18 +23,21 @@ class List < ::StackOne::Utils::FieldAugmented field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } # The list type field :type, T.nilable(::StackOne::Shared::ListType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # Timestamp when the list was last updated field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } - sig { params(created_at: T.nilable(::DateTime), id: T.nilable(::String), items: T.nilable(T::Array[::StackOne::Shared::ListItem]), name: T.nilable(::String), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::ListType), updated_at: T.nilable(::DateTime)).void } - def initialize(created_at: nil, id: nil, items: nil, name: nil, remote_id: nil, type: nil, updated_at: nil) + sig { params(created_at: T.nilable(::DateTime), id: T.nilable(::String), items: T.nilable(T::Array[::StackOne::Shared::ListItem]), name: T.nilable(::String), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::ListType), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void } + def initialize(created_at: nil, id: nil, items: nil, name: nil, remote_id: nil, type: nil, unified_custom_fields: nil, updated_at: nil) @created_at = created_at @id = id @items = items @name = name @remote_id = remote_id @type = type + @unified_custom_fields = unified_custom_fields @updated_at = updated_at end end diff --git a/lib/stack_one/models/shared/list_value.rb b/lib/stack_one/models/shared/list_value.rb index 0a145932..042ab0f7 100644 --- a/lib/stack_one/models/shared/list_value.rb +++ b/lib/stack_one/models/shared/list_value.rb @@ -16,6 +16,5 @@ class ListValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/lmsbatchupsertcontentrequestdto.rb b/lib/stack_one/models/shared/lmsbatchupsertcontentrequestdto.rb new file mode 100644 index 00000000..0751871e --- /dev/null +++ b/lib/stack_one/models/shared/lmsbatchupsertcontentrequestdto.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Shared + + + class LmsBatchUpsertContentRequestDto < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # The batch of items to upsert + field :items, T::Array[::StackOne::Shared::LmsUpsertContentRequestDto], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('items') } } + + + sig { params(items: T::Array[::StackOne::Shared::LmsUpsertContentRequestDto]).void } + def initialize(items: nil) + @items = items + end + end + end +end diff --git a/lib/stack_one/models/shared/lmscreatecompletionrequestdto.rb b/lib/stack_one/models/shared/lmscreatecompletionrequestdto.rb index b3607135..005b7037 100644 --- a/lib/stack_one/models/shared/lmscreatecompletionrequestdto.rb +++ b/lib/stack_one/models/shared/lmscreatecompletionrequestdto.rb @@ -13,6 +13,8 @@ class LmsCreateCompletionRequestDto < ::StackOne::Utils::FieldAugmented # The date the content was completed field :completed_at, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('completed_at') } } + # The external ID associated with this content + field :content_external_reference, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content_external_reference') } } # The content ID associated with this completion field :content_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content_id') } } # The external ID associated with this completion @@ -23,9 +25,10 @@ class LmsCreateCompletionRequestDto < ::StackOne::Utils::FieldAugmented field :result, T.nilable(::StackOne::Shared::LmsCreateCompletionRequestDtoResult), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('result') } } - sig { params(completed_at: T.nilable(::String), content_id: T.nilable(::String), external_id: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), result: T.nilable(::StackOne::Shared::LmsCreateCompletionRequestDtoResult)).void } - def initialize(completed_at: nil, content_id: nil, external_id: nil, passthrough: nil, result: nil) + sig { params(completed_at: T.nilable(::String), content_external_reference: T.nilable(::String), content_id: T.nilable(::String), external_id: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), result: T.nilable(::StackOne::Shared::LmsCreateCompletionRequestDtoResult)).void } + def initialize(completed_at: nil, content_external_reference: nil, content_id: nil, external_id: nil, passthrough: nil, result: nil) @completed_at = completed_at + @content_external_reference = content_external_reference @content_id = content_id @external_id = external_id @passthrough = passthrough diff --git a/lib/stack_one/models/shared/lmscreatecompletionrequestdto_value.rb b/lib/stack_one/models/shared/lmscreatecompletionrequestdto_value.rb index 82cd3bb9..2169f91d 100644 --- a/lib/stack_one/models/shared/lmscreatecompletionrequestdto_value.rb +++ b/lib/stack_one/models/shared/lmscreatecompletionrequestdto_value.rb @@ -14,6 +14,5 @@ class LmsCreateCompletionRequestDtoValue < T::Enum FAIL = new('Fail') end end - end end diff --git a/lib/stack_one/models/shared/lmscreatecontentrequestdto.rb b/lib/stack_one/models/shared/lmscreatecontentrequestdto.rb index a73ece82..5f4a1040 100644 --- a/lib/stack_one/models/shared/lmscreatecontentrequestdto.rb +++ b/lib/stack_one/models/shared/lmscreatecontentrequestdto.rb @@ -35,10 +35,12 @@ class LmsCreateContentRequestDto < ::StackOne::Utils::FieldAugmented field :order, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('order') } } # The title of the content field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } - sig { params(active: T.nilable(::Object), categories: T.nilable(T::Array[::StackOne::Shared::CreateCategoriesApiModel]), content_type: T.nilable(::StackOne::Shared::LmsCreateContentRequestDtoContentType), content_url: T.nilable(::String), course_ids: T.nilable(T::Array[::String]), cover_url: T.nilable(::String), description: T.nilable(::String), duration: T.nilable(::String), external_reference: T.nilable(::String), languages: T.nilable(T::Array[::StackOne::Shared::ContentLanguageEnum]), order: T.nilable(::Float), title: T.nilable(::String)).void } - def initialize(active: nil, categories: nil, content_type: nil, content_url: nil, course_ids: nil, cover_url: nil, description: nil, duration: nil, external_reference: nil, languages: nil, order: nil, title: nil) + sig { params(active: T.nilable(::Object), categories: T.nilable(T::Array[::StackOne::Shared::CreateCategoriesApiModel]), content_type: T.nilable(::StackOne::Shared::LmsCreateContentRequestDtoContentType), content_url: T.nilable(::String), course_ids: T.nilable(T::Array[::String]), cover_url: T.nilable(::String), description: T.nilable(::String), duration: T.nilable(::String), external_reference: T.nilable(::String), languages: T.nilable(T::Array[::StackOne::Shared::ContentLanguageEnum]), order: T.nilable(::Float), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void } + def initialize(active: nil, categories: nil, content_type: nil, content_url: nil, course_ids: nil, cover_url: nil, description: nil, duration: nil, external_reference: nil, languages: nil, order: nil, title: nil, unified_custom_fields: nil) @active = active @categories = categories @content_type = content_type @@ -51,6 +53,7 @@ def initialize(active: nil, categories: nil, content_type: nil, content_url: nil @languages = languages @order = order @title = title + @unified_custom_fields = unified_custom_fields end end end diff --git a/lib/stack_one/models/shared/lmscreatecontentrequestdto_value.rb b/lib/stack_one/models/shared/lmscreatecontentrequestdto_value.rb index 72080a29..b107a96c 100644 --- a/lib/stack_one/models/shared/lmscreatecontentrequestdto_value.rb +++ b/lib/stack_one/models/shared/lmscreatecontentrequestdto_value.rb @@ -15,6 +15,5 @@ class LmsCreateContentRequestDtoValue < T::Enum DOCUMENT = new('document') end end - end end diff --git a/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb b/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb index ed931691..c42873ea 100644 --- a/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb +++ b/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb @@ -35,10 +35,12 @@ class LmsUpsertContentRequestDto < ::StackOne::Utils::FieldAugmented field :order, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('order') } } # The title of the content field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } - sig { params(active: T.nilable(::Object), categories: T.nilable(T::Array[::StackOne::Shared::CreateCategoriesApiModel]), content_type: T.nilable(::StackOne::Shared::LmsUpsertContentRequestDtoContentType), content_url: T.nilable(::String), course_ids: T.nilable(T::Array[::String]), cover_url: T.nilable(::String), description: T.nilable(::String), duration: T.nilable(::String), external_reference: T.nilable(::String), languages: T.nilable(T::Array[::StackOne::Shared::ContentLanguageEnum]), order: T.nilable(::Float), title: T.nilable(::String)).void } - def initialize(active: nil, categories: nil, content_type: nil, content_url: nil, course_ids: nil, cover_url: nil, description: nil, duration: nil, external_reference: nil, languages: nil, order: nil, title: nil) + sig { params(active: T.nilable(::Object), categories: T.nilable(T::Array[::StackOne::Shared::CreateCategoriesApiModel]), content_type: T.nilable(::StackOne::Shared::LmsUpsertContentRequestDtoContentType), content_url: T.nilable(::String), course_ids: T.nilable(T::Array[::String]), cover_url: T.nilable(::String), description: T.nilable(::String), duration: T.nilable(::String), external_reference: T.nilable(::String), languages: T.nilable(T::Array[::StackOne::Shared::ContentLanguageEnum]), order: T.nilable(::Float), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void } + def initialize(active: nil, categories: nil, content_type: nil, content_url: nil, course_ids: nil, cover_url: nil, description: nil, duration: nil, external_reference: nil, languages: nil, order: nil, title: nil, unified_custom_fields: nil) @active = active @categories = categories @content_type = content_type @@ -51,6 +53,7 @@ def initialize(active: nil, categories: nil, content_type: nil, content_url: nil @languages = languages @order = order @title = title + @unified_custom_fields = unified_custom_fields end end end diff --git a/lib/stack_one/models/shared/lmsupsertcontentrequestdto_value.rb b/lib/stack_one/models/shared/lmsupsertcontentrequestdto_value.rb index a09e20d7..8dc196cb 100644 --- a/lib/stack_one/models/shared/lmsupsertcontentrequestdto_value.rb +++ b/lib/stack_one/models/shared/lmsupsertcontentrequestdto_value.rb @@ -15,6 +15,5 @@ class LmsUpsertContentRequestDtoValue < T::Enum DOCUMENT = new('document') end end - end end diff --git a/lib/stack_one/models/shared/lmsuser.rb b/lib/stack_one/models/shared/lmsuser.rb index 34ce5f26..e4a1ae1e 100644 --- a/lib/stack_one/models/shared/lmsuser.rb +++ b/lib/stack_one/models/shared/lmsuser.rb @@ -15,6 +15,8 @@ class LmsUser < ::StackOne::Utils::FieldAugmented field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } } # The user email field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } } + # The external ID associated with this user + field :external_reference, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('external_reference') } } # Unique identifier field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } } # The user name @@ -23,18 +25,22 @@ class LmsUser < ::StackOne::Utils::FieldAugmented field :phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_number') } } # Provider's unique identifier field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # The updated_at date field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } - sig { params(created_at: T.nilable(::DateTime), email: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), phone_number: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void } - def initialize(created_at: nil, email: nil, id: nil, name: nil, phone_number: nil, remote_id: nil, updated_at: nil) + sig { params(created_at: T.nilable(::DateTime), email: T.nilable(::String), external_reference: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), phone_number: T.nilable(::String), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void } + def initialize(created_at: nil, email: nil, external_reference: nil, id: nil, name: nil, phone_number: nil, remote_id: nil, unified_custom_fields: nil, updated_at: nil) @created_at = created_at @email = email + @external_reference = external_reference @id = id @name = name @phone_number = phone_number @remote_id = remote_id + @unified_custom_fields = unified_custom_fields @updated_at = updated_at end end diff --git a/lib/stack_one/models/shared/method.rb b/lib/stack_one/models/shared/method.rb index 97d32c4e..e17670a0 100644 --- a/lib/stack_one/models/shared/method.rb +++ b/lib/stack_one/models/shared/method.rb @@ -17,6 +17,5 @@ class Method < T::Enum PATCH = new('patch') end end - end end diff --git a/lib/stack_one/models/shared/moveapplicationresult.rb b/lib/stack_one/models/shared/moveapplicationresult.rb new file mode 100644 index 00000000..1b12807f --- /dev/null +++ b/lib/stack_one/models/shared/moveapplicationresult.rb @@ -0,0 +1,33 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Shared + + + class MoveApplicationResult < ::StackOne::Utils::FieldAugmented + extend T::Sig + + + field :data, ::StackOne::Shared::CreateResultDataApiModel, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } } + + field :message, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message') } } + + field :status_code, ::Float, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('statusCode') } } + + field :timestamp, ::DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('timestamp'), 'decoder': Utils.datetime_from_iso_format(false) } } + + + sig { params(data: ::StackOne::Shared::CreateResultDataApiModel, message: ::String, status_code: ::Float, timestamp: ::DateTime).void } + def initialize(data: nil, message: nil, status_code: nil, timestamp: nil) + @data = data + @message = message + @status_code = status_code + @timestamp = timestamp + end + end + end +end diff --git a/lib/stack_one/models/shared/note.rb b/lib/stack_one/models/shared/note.rb index 695ef436..d550469d 100644 --- a/lib/stack_one/models/shared/note.rb +++ b/lib/stack_one/models/shared/note.rb @@ -25,14 +25,16 @@ class Note < ::StackOne::Utils::FieldAugmented field :remote_author_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_author_id') } } # Provider's unique identifier field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # Date of last update field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } # Visibility of the note field :visibility, T.nilable(::StackOne::Shared::NoteVisibility), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('visibility') } } - sig { params(author_id: T.nilable(::String), content: T.nilable(T::Array[::StackOne::Shared::NoteContentApiModel]), created_at: T.nilable(::DateTime), deleted_at: T.nilable(::DateTime), id: T.nilable(::String), remote_author_id: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime), visibility: T.nilable(::StackOne::Shared::NoteVisibility)).void } - def initialize(author_id: nil, content: nil, created_at: nil, deleted_at: nil, id: nil, remote_author_id: nil, remote_id: nil, updated_at: nil, visibility: nil) + sig { params(author_id: T.nilable(::String), content: T.nilable(T::Array[::StackOne::Shared::NoteContentApiModel]), created_at: T.nilable(::DateTime), deleted_at: T.nilable(::DateTime), id: T.nilable(::String), remote_author_id: T.nilable(::String), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime), visibility: T.nilable(::StackOne::Shared::NoteVisibility)).void } + def initialize(author_id: nil, content: nil, created_at: nil, deleted_at: nil, id: nil, remote_author_id: nil, remote_id: nil, unified_custom_fields: nil, updated_at: nil, visibility: nil) @author_id = author_id @content = content @created_at = created_at @@ -40,6 +42,7 @@ def initialize(author_id: nil, content: nil, created_at: nil, deleted_at: nil, i @id = id @remote_author_id = remote_author_id @remote_id = remote_id + @unified_custom_fields = unified_custom_fields @updated_at = updated_at @visibility = visibility end diff --git a/lib/stack_one/models/shared/note_value.rb b/lib/stack_one/models/shared/note_value.rb index 362109fd..8774fbca 100644 --- a/lib/stack_one/models/shared/note_value.rb +++ b/lib/stack_one/models/shared/note_value.rb @@ -14,6 +14,5 @@ class NoteValue < T::Enum PUBLIC = new('public') end end - end end diff --git a/lib/stack_one/models/shared/offer.rb b/lib/stack_one/models/shared/offer.rb index 2f22b284..1fb7ee88 100644 --- a/lib/stack_one/models/shared/offer.rb +++ b/lib/stack_one/models/shared/offer.rb @@ -31,12 +31,14 @@ class Offer < ::StackOne::Utils::FieldAugmented field :salary, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('salary') } } # Date of creation field :start_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(true) } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # Date of last update field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } - sig { params(application_id: T.nilable(::String), created_at: T.nilable(::DateTime), currency: T.nilable(::String), id: T.nilable(::String), offer_history: T.nilable(T::Array[::StackOne::Shared::OfferHistory]), offer_status: T.nilable(::StackOne::Shared::OfferOfferStatus), remote_application_id: T.nilable(::String), remote_id: T.nilable(::String), salary: T.nilable(::Float), start_date: T.nilable(::DateTime), updated_at: T.nilable(::DateTime)).void } - def initialize(application_id: nil, created_at: nil, currency: nil, id: nil, offer_history: nil, offer_status: nil, remote_application_id: nil, remote_id: nil, salary: nil, start_date: nil, updated_at: nil) + sig { params(application_id: T.nilable(::String), created_at: T.nilable(::DateTime), currency: T.nilable(::String), id: T.nilable(::String), offer_history: T.nilable(T::Array[::StackOne::Shared::OfferHistory]), offer_status: T.nilable(::StackOne::Shared::OfferOfferStatus), remote_application_id: T.nilable(::String), remote_id: T.nilable(::String), salary: T.nilable(::Float), start_date: T.nilable(::DateTime), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void } + def initialize(application_id: nil, created_at: nil, currency: nil, id: nil, offer_history: nil, offer_status: nil, remote_application_id: nil, remote_id: nil, salary: nil, start_date: nil, unified_custom_fields: nil, updated_at: nil) @application_id = application_id @created_at = created_at @currency = currency @@ -47,6 +49,7 @@ def initialize(application_id: nil, created_at: nil, currency: nil, id: nil, off @remote_id = remote_id @salary = salary @start_date = start_date + @unified_custom_fields = unified_custom_fields @updated_at = updated_at end end diff --git a/lib/stack_one/models/shared/offer_value.rb b/lib/stack_one/models/shared/offer_value.rb index 1efaf059..17d10768 100644 --- a/lib/stack_one/models/shared/offer_value.rb +++ b/lib/stack_one/models/shared/offer_value.rb @@ -20,6 +20,5 @@ class OfferValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/overall_recommendation.rb b/lib/stack_one/models/shared/overall_recommendation.rb index 4d0e0e07..fde0a90a 100644 --- a/lib/stack_one/models/shared/overall_recommendation.rb +++ b/lib/stack_one/models/shared/overall_recommendation.rb @@ -18,6 +18,5 @@ class OverallRecommendation < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/phonenumber_type.rb b/lib/stack_one/models/shared/phonenumber_type.rb index e2862422..7868a114 100644 --- a/lib/stack_one/models/shared/phonenumber_type.rb +++ b/lib/stack_one/models/shared/phonenumber_type.rb @@ -18,6 +18,5 @@ class PhoneNumberType < T::Enum OTHER = new('other') end end - end end diff --git a/lib/stack_one/models/shared/question_value.rb b/lib/stack_one/models/shared/question_value.rb index b4a647bb..8096d9ca 100644 --- a/lib/stack_one/models/shared/question_value.rb +++ b/lib/stack_one/models/shared/question_value.rb @@ -21,6 +21,5 @@ class QuestionValue < T::Enum VIDEO = new('video') end end - end end diff --git a/lib/stack_one/models/shared/rejectapplicationresult.rb b/lib/stack_one/models/shared/rejectapplicationresult.rb new file mode 100644 index 00000000..ffd6e812 --- /dev/null +++ b/lib/stack_one/models/shared/rejectapplicationresult.rb @@ -0,0 +1,33 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Shared + + + class RejectApplicationResult < ::StackOne::Utils::FieldAugmented + extend T::Sig + + + field :data, ::StackOne::Shared::CreateResultDataApiModel, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } } + + field :message, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message') } } + + field :status_code, ::Float, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('statusCode') } } + + field :timestamp, ::DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('timestamp'), 'decoder': Utils.datetime_from_iso_format(false) } } + + + sig { params(data: ::StackOne::Shared::CreateResultDataApiModel, message: ::String, status_code: ::Float, timestamp: ::DateTime).void } + def initialize(data: nil, message: nil, status_code: nil, timestamp: nil) + @data = data + @message = message + @status_code = status_code + @timestamp = timestamp + end + end + end +end diff --git a/lib/stack_one/models/shared/rejectedreason.rb b/lib/stack_one/models/shared/rejectedreason.rb index df86836d..f2cb2b91 100644 --- a/lib/stack_one/models/shared/rejectedreason.rb +++ b/lib/stack_one/models/shared/rejectedreason.rb @@ -23,15 +23,18 @@ class RejectedReason < ::StackOne::Utils::FieldAugmented # # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible. field :type, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } - sig { params(id: T.nilable(::String), label: T.nilable(::String), rejected_reason_type: T.nilable(::StackOne::Shared::RejectedReasonType), remote_id: T.nilable(::String), type: T.nilable(::String)).void } - def initialize(id: nil, label: nil, rejected_reason_type: nil, remote_id: nil, type: nil) + sig { params(id: T.nilable(::String), label: T.nilable(::String), rejected_reason_type: T.nilable(::StackOne::Shared::RejectedReasonType), remote_id: T.nilable(::String), type: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void } + def initialize(id: nil, label: nil, rejected_reason_type: nil, remote_id: nil, type: nil, unified_custom_fields: nil) @id = id @label = label @rejected_reason_type = rejected_reason_type @remote_id = remote_id @type = type + @unified_custom_fields = unified_custom_fields end end end diff --git a/lib/stack_one/models/shared/rejectedreason_value.rb b/lib/stack_one/models/shared/rejectedreason_value.rb index 1bd57f6e..9d7699cd 100644 --- a/lib/stack_one/models/shared/rejectedreason_value.rb +++ b/lib/stack_one/models/shared/rejectedreason_value.rb @@ -17,6 +17,5 @@ class RejectedReasonValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/scheduledinterview_interview_stage.rb b/lib/stack_one/models/shared/scheduledinterview_interview_stage.rb index 1bc8e4ce..92710829 100644 --- a/lib/stack_one/models/shared/scheduledinterview_interview_stage.rb +++ b/lib/stack_one/models/shared/scheduledinterview_interview_stage.rb @@ -21,17 +21,20 @@ class ScheduledInterviewInterviewStage < ::StackOne::Utils::FieldAugmented field :order, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('order') } } # Provider's unique identifier field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # Interview Stage updated date field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } - sig { params(created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), order: T.nilable(::Float), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void } - def initialize(created_at: nil, id: nil, name: nil, order: nil, remote_id: nil, updated_at: nil) + sig { params(created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), order: T.nilable(::Float), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void } + def initialize(created_at: nil, id: nil, name: nil, order: nil, remote_id: nil, unified_custom_fields: nil, updated_at: nil) @created_at = created_at @id = id @name = name @order = order @remote_id = remote_id + @unified_custom_fields = unified_custom_fields @updated_at = updated_at end end diff --git a/lib/stack_one/models/shared/scheduledinterview_value.rb b/lib/stack_one/models/shared/scheduledinterview_value.rb index e6a43aa9..ee46a789 100644 --- a/lib/stack_one/models/shared/scheduledinterview_value.rb +++ b/lib/stack_one/models/shared/scheduledinterview_value.rb @@ -18,6 +18,5 @@ class ScheduledInterviewValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/skillresult.rb b/lib/stack_one/models/shared/skillresult.rb new file mode 100644 index 00000000..b437b033 --- /dev/null +++ b/lib/stack_one/models/shared/skillresult.rb @@ -0,0 +1,27 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Shared + + + class SkillResult < ::StackOne::Utils::FieldAugmented + extend T::Sig + + + field :data, ::StackOne::Shared::Skills, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } } + + field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } } + + + sig { params(data: ::StackOne::Shared::Skills, raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void } + def initialize(data: nil, raw: nil) + @data = data + @raw = raw + end + end + end +end diff --git a/lib/stack_one/models/shared/skills.rb b/lib/stack_one/models/shared/skills.rb index 510fb81c..1221aa05 100644 --- a/lib/stack_one/models/shared/skills.rb +++ b/lib/stack_one/models/shared/skills.rb @@ -11,11 +11,11 @@ module Shared class Skills < ::StackOne::Utils::FieldAugmented extend T::Sig - # Whether the category is active and therefore available for use + # Whether the skill is active and therefore available for use field :active, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('active') } } - # The ID associated with this category + # The ID associated with this skill field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } } - # The name associated with this category + # The name associated with this skill field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } } # Provider's unique identifier field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } diff --git a/lib/stack_one/models/shared/skillspaginated.rb b/lib/stack_one/models/shared/skillspaginated.rb new file mode 100644 index 00000000..e44442a5 --- /dev/null +++ b/lib/stack_one/models/shared/skillspaginated.rb @@ -0,0 +1,30 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Shared + + + class SkillsPaginated < ::StackOne::Utils::FieldAugmented + extend T::Sig + + + field :data, T::Array[::StackOne::Shared::Skills], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } } + + field :next_, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next') } } + + field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } } + + + sig { params(data: T::Array[::StackOne::Shared::Skills], next_: T.nilable(::String), raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void } + def initialize(data: nil, next_: nil, raw: nil) + @data = data + @next_ = next_ + @raw = raw + end + end + end +end diff --git a/lib/stack_one/models/shared/timeoff_schemas_value.rb b/lib/stack_one/models/shared/timeoff_schemas_value.rb index bc1adb30..4a2fd218 100644 --- a/lib/stack_one/models/shared/timeoff_schemas_value.rb +++ b/lib/stack_one/models/shared/timeoff_schemas_value.rb @@ -24,6 +24,5 @@ class TimeOffSchemasValue < T::Enum CHILD_CARE_LEAVE = new('child_care_leave') end end - end end diff --git a/lib/stack_one/models/shared/timeoff_value.rb b/lib/stack_one/models/shared/timeoff_value.rb index c7004fb6..25aed898 100644 --- a/lib/stack_one/models/shared/timeoff_value.rb +++ b/lib/stack_one/models/shared/timeoff_value.rb @@ -17,6 +17,5 @@ class TimeOffValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb b/lib/stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb index b29b2d06..d42e17a9 100644 --- a/lib/stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb +++ b/lib/stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb @@ -1222,6 +1222,5 @@ class UnifiedUploadRequestDtoSchemasValue < T::Enum ICE = new('ice') end end - end end diff --git a/lib/stack_one/models/shared/unifieduploadrequestdto_value.rb b/lib/stack_one/models/shared/unifieduploadrequestdto_value.rb index feaa814a..c1675800 100644 --- a/lib/stack_one/models/shared/unifieduploadrequestdto_value.rb +++ b/lib/stack_one/models/shared/unifieduploadrequestdto_value.rb @@ -14,6 +14,5 @@ class UnifiedUploadRequestDtoValue < T::Enum FALSE = new('false') end end - end end diff --git a/lib/stack_one/models/shared/value.rb b/lib/stack_one/models/shared/value.rb index 1ec1ef68..36a195e5 100644 --- a/lib/stack_one/models/shared/value.rb +++ b/lib/stack_one/models/shared/value.rb @@ -15,6 +15,5 @@ class Value < T::Enum COMPLETED = new('completed') end end - end end diff --git a/lib/stack_one/models/shared/work_location.rb b/lib/stack_one/models/shared/work_location.rb index ff44c755..84917186 100644 --- a/lib/stack_one/models/shared/work_location.rb +++ b/lib/stack_one/models/shared/work_location.rb @@ -37,14 +37,16 @@ class WorkLocation < ::StackOne::Utils::FieldAugmented field :street_1, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('street_1') } } # The second line of the address field :street_2, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('street_2') } } + # Custom Unified Fields configured in your StackOne project + field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } } # The updated_at date field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } # The ZIP code/Postal code of the location field :zip_code, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('zip_code') } } - sig { params(city: T.nilable(::String), country: T.nilable(::StackOne::Shared::EmployeeSchemasCountry), created_at: T.nilable(::DateTime), employee_id: T.nilable(::String), id: T.nilable(::String), location_type: T.nilable(::StackOne::Shared::EmployeeSchemasLocationType), name: T.nilable(::String), phone_number: T.nilable(::String), remote_employee_id: T.nilable(::String), remote_id: T.nilable(::String), state: T.nilable(::String), street_1: T.nilable(::String), street_2: T.nilable(::String), updated_at: T.nilable(::DateTime), zip_code: T.nilable(::String)).void } - def initialize(city: nil, country: nil, created_at: nil, employee_id: nil, id: nil, location_type: nil, name: nil, phone_number: nil, remote_employee_id: nil, remote_id: nil, state: nil, street_1: nil, street_2: nil, updated_at: nil, zip_code: nil) + sig { params(city: T.nilable(::String), country: T.nilable(::StackOne::Shared::EmployeeSchemasCountry), created_at: T.nilable(::DateTime), employee_id: T.nilable(::String), id: T.nilable(::String), location_type: T.nilable(::StackOne::Shared::EmployeeSchemasLocationType), name: T.nilable(::String), phone_number: T.nilable(::String), remote_employee_id: T.nilable(::String), remote_id: T.nilable(::String), state: T.nilable(::String), street_1: T.nilable(::String), street_2: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime), zip_code: T.nilable(::String)).void } + def initialize(city: nil, country: nil, created_at: nil, employee_id: nil, id: nil, location_type: nil, name: nil, phone_number: nil, remote_employee_id: nil, remote_id: nil, state: nil, street_1: nil, street_2: nil, unified_custom_fields: nil, updated_at: nil, zip_code: nil) @city = city @country = country @created_at = created_at @@ -58,6 +60,7 @@ def initialize(city: nil, country: nil, created_at: nil, employee_id: nil, id: n @state = state @street_1 = street_1 @street_2 = street_2 + @unified_custom_fields = unified_custom_fields @updated_at = updated_at @zip_code = zip_code end diff --git a/lib/stack_one/models/shared/workeligibility_schemas_document_value.rb b/lib/stack_one/models/shared/workeligibility_schemas_document_value.rb index 892bf382..cda634f2 100644 --- a/lib/stack_one/models/shared/workeligibility_schemas_document_value.rb +++ b/lib/stack_one/models/shared/workeligibility_schemas_document_value.rb @@ -1222,6 +1222,5 @@ class WorkEligibilitySchemasDocumentValue < T::Enum ICE = new('ice') end end - end end diff --git a/lib/stack_one/models/shared/workeligibility_schemas_value.rb b/lib/stack_one/models/shared/workeligibility_schemas_value.rb index e7d5a71c..482730bc 100644 --- a/lib/stack_one/models/shared/workeligibility_schemas_value.rb +++ b/lib/stack_one/models/shared/workeligibility_schemas_value.rb @@ -17,6 +17,5 @@ class WorkEligibilitySchemasValue < T::Enum OTHER = new('other') end end - end end diff --git a/lib/stack_one/models/shared/workeligibility_value.rb b/lib/stack_one/models/shared/workeligibility_value.rb index 2e566c37..1b5dc5b2 100644 --- a/lib/stack_one/models/shared/workeligibility_value.rb +++ b/lib/stack_one/models/shared/workeligibility_value.rb @@ -261,6 +261,5 @@ class WorkEligibilityValue < T::Enum UNMAPPED_VALUE = new('unmapped_value') end end - end end diff --git a/lib/stack_one/sdkconfiguration.rb b/lib/stack_one/sdkconfiguration.rb index 31a7e7b7..4168bc86 100644 --- a/lib/stack_one/sdkconfiguration.rb +++ b/lib/stack_one/sdkconfiguration.rb @@ -38,9 +38,9 @@ def initialize(client, security, server_url, server_idx) @security = security @language = 'ruby' @openapi_doc_version = '1.0.0' - @sdk_version = '0.2.37' - @gen_version = '2.404.3' - @user_agent = 'speakeasy-sdk/ruby 0.2.37 2.404.3 1.0.0 stackone_client' + @sdk_version = '0.2.38' + @gen_version = '2.415.8' + @user_agent = 'speakeasy-sdk/ruby 0.2.38 2.415.8 1.0.0 stackone_client' end sig { returns([String, T::Hash[Symbol, String]]) } diff --git a/stackone_client.gemspec b/stackone_client.gemspec index 1fac932c..c07d994d 100644 --- a/stackone_client.gemspec +++ b/stackone_client.gemspec @@ -4,7 +4,7 @@ $LOAD_PATH.push File.expand_path('lib', __dir__) Gem::Specification.new do |s| s.name = 'stackone_client' - s.version = '0.2.37' + s.version = '0.2.38' s.platform = Gem::Platform::RUBY s.licenses = ['Apache-2.0'] s.summary = ''