stackone_client 0.2.33 → 0.2.34
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stack_one/accounts.rb +1 -1
- data/lib/stack_one/ats.rb +105 -1
- data/lib/stack_one/connect_sessions.rb +1 -1
- data/lib/stack_one/connectors.rb +1 -1
- data/lib/stack_one/crm.rb +1 -1
- data/lib/stack_one/hris.rb +1 -1
- data/lib/stack_one/iam.rb +305 -0
- data/lib/stack_one/lms.rb +391 -0
- data/lib/stack_one/marketing.rb +347 -1
- data/lib/stack_one/models/operations/ats_create_application_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_create_application_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_create_candidate_note_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_create_candidate_note_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_create_candidate_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_create_candidate_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_create_offer_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_create_offer_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_download_application_document_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_download_application_document_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_application_document_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_application_document_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_application_offer_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_application_offer_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_application_request.rb +6 -3
- data/lib/stack_one/models/operations/ats_get_application_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_application_scorecard_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_application_scorecard_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_assessments_package_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_assessments_package_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_assessments_result_request.rb +36 -0
- data/lib/stack_one/models/operations/ats_get_assessments_result_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_get_candidate_note_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_candidate_note_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_candidate_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_candidate_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_department_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_department_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_interview_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_interview_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_interview_stage_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_interview_stage_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_job_posting_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_job_posting_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_job_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_job_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_list_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_list_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_location_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_location_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_offer_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_offer_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_rejected_reason_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_rejected_reason_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_user_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_user_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_application_custom_field_definitions_request.rb +57 -0
- data/lib/stack_one/models/operations/ats_list_application_custom_field_definitions_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +3 -3
- data/lib/stack_one/models/operations/ats_list_application_documents_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_application_scorecards_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/ats_list_application_scorecards_request.rb +3 -3
- data/lib/stack_one/models/operations/ats_list_application_scorecards_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_applications_offers_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_applications_offers_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_applications_offers_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_applications_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_applications_request.rb +6 -3
- data/lib/stack_one/models/operations/ats_list_applications_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_assessments_packages_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_assessments_packages_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_assessments_packages_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_candidate_custom_field_definitions_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/ats_list_candidate_custom_field_definitions_request.rb +57 -0
- data/lib/stack_one/models/operations/ats_list_candidate_custom_field_definitions_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_list_candidate_notes_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_candidate_notes_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_candidate_notes_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_candidates_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_candidates_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_candidates_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_departments_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_departments_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_departments_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_interview_stages_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_interview_stages_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_interview_stages_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_interviews_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_interviews_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_interviews_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_job_postings_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_job_postings_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_job_postings_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_jobs_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_jobs_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_jobs_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_lists_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_lists_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_lists_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_locations_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_locations_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_locations_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_offers_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_offers_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_offers_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_rejected_reasons_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_rejected_reasons_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_users_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_users_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_users_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_update_application_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_update_application_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_update_candidate_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_update_candidate_response.rb +1 -1
- data/lib/stack_one/models/operations/ats_upload_application_document_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_upload_application_document_response.rb +1 -1
- data/lib/stack_one/models/operations/crm_create_contact_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_create_contact_response.rb +1 -1
- data/lib/stack_one/models/operations/crm_get_account_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_get_account_response.rb +1 -1
- data/lib/stack_one/models/operations/crm_get_contact_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_get_contact_response.rb +1 -1
- data/lib/stack_one/models/operations/crm_get_list_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_get_list_response.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_accounts_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_accounts_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_accounts_response.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_contacts_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_contacts_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_contacts_response.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_lists_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_lists_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_lists_response.rb +1 -1
- data/lib/stack_one/models/operations/crm_update_contact_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_update_contact_response.rb +1 -1
- data/lib/stack_one/models/operations/filter.rb +1 -1
- data/lib/stack_one/models/operations/hris_create_employee_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_create_employee_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_create_employee_time_off_request_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_create_employee_time_off_request_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_create_time_off_request_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_create_time_off_request_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_download_employee_document_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_download_employee_document_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_benefit_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_benefit_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_company_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_company_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_department_group_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_department_group_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employee_document_category_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employee_document_category_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employee_document_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employee_document_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employee_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employee_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employees_time_off_request_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employees_time_off_request_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employment_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employment_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_group_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_group_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_job_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_job_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_location_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_location_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_time_off_request_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_time_off_request_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_benefits_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_benefits_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_benefits_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_companies_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_companies_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_companies_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_department_groups_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_department_groups_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_department_groups_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_categories_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_categories_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_categories_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_documents_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_documents_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_documents_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employees_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employees_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employees_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employments_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employments_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employments_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_groups_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_groups_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_groups_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_jobs_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_jobs_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_jobs_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_locations_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_locations_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_locations_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_time_off_requests_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_time_off_requests_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_update_employee_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_update_employee_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_update_employee_work_eligibility_request_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_update_employee_work_eligibility_request_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_update_time_off_request_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_update_time_off_request_response.rb +1 -1
- data/lib/stack_one/models/operations/hris_upload_employee_document_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_upload_employee_document_response.rb +1 -1
- data/lib/stack_one/models/operations/iam_get_group_request.rb +39 -0
- data/lib/stack_one/models/operations/iam_get_group_response.rb +33 -0
- data/lib/stack_one/models/operations/iam_get_policy_request.rb +39 -0
- data/lib/stack_one/models/operations/iam_get_policy_response.rb +33 -0
- data/lib/stack_one/models/operations/iam_get_role_request.rb +39 -0
- data/lib/stack_one/models/operations/iam_get_role_response.rb +33 -0
- data/lib/stack_one/models/operations/iam_get_user_request.rb +39 -0
- data/lib/stack_one/models/operations/iam_get_user_response.rb +33 -0
- data/lib/stack_one/models/operations/iam_list_groups_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/iam_list_groups_request.rb +55 -0
- data/lib/stack_one/models/operations/iam_list_groups_response.rb +33 -0
- data/lib/stack_one/models/operations/iam_list_policies_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/iam_list_policies_request.rb +55 -0
- data/lib/stack_one/models/operations/iam_list_policies_response.rb +33 -0
- data/lib/stack_one/models/operations/iam_list_roles_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/iam_list_roles_request.rb +55 -0
- data/lib/stack_one/models/operations/iam_list_roles_response.rb +33 -0
- data/lib/stack_one/models/operations/iam_list_users_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/iam_list_users_request.rb +55 -0
- data/lib/stack_one/models/operations/iam_list_users_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_create_completion_request.rb +27 -0
- data/lib/stack_one/models/operations/lms_create_completion_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_create_content_request.rb +27 -0
- data/lib/stack_one/models/operations/lms_create_content_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_get_category_request.rb +36 -0
- data/lib/stack_one/models/operations/lms_get_category_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_get_completion_request.rb +36 -0
- data/lib/stack_one/models/operations/lms_get_completion_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_get_content_request.rb +36 -0
- data/lib/stack_one/models/operations/lms_get_content_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_list_categories_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/lms_list_categories_request.rb +52 -0
- data/lib/stack_one/models/operations/lms_list_categories_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_list_content_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/lms_list_content_request.rb +52 -0
- data/lib/stack_one/models/operations/lms_list_content_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_update_content_request.rb +30 -0
- data/lib/stack_one/models/operations/lms_update_content_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_upsert_content_request.rb +27 -0
- data/lib/stack_one/models/operations/lms_upsert_content_response.rb +33 -0
- data/lib/stack_one/models/operations/marketing_create_content_block_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_create_content_block_response.rb +1 -1
- data/lib/stack_one/models/operations/marketing_create_email_template_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_create_email_template_response.rb +1 -1
- data/lib/stack_one/models/operations/marketing_create_in_app_template_request.rb +27 -0
- data/lib/stack_one/models/operations/marketing_create_in_app_template_response.rb +33 -0
- data/lib/stack_one/models/operations/marketing_create_omni_channel_template_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_create_omni_channel_template_response.rb +1 -1
- data/lib/stack_one/models/operations/marketing_create_push_template_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_create_push_template_response.rb +1 -1
- data/lib/stack_one/models/operations/marketing_create_sms_template_request.rb +27 -0
- data/lib/stack_one/models/operations/marketing_create_sms_template_response.rb +33 -0
- data/lib/stack_one/models/operations/marketing_get_campaign_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_campaign_response.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_content_block_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_content_block_response.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_email_template_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_email_template_response.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_in_app_template_request.rb +36 -0
- data/lib/stack_one/models/operations/marketing_get_in_app_template_response.rb +33 -0
- data/lib/stack_one/models/operations/marketing_get_omni_channel_template_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_omni_channel_template_response.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_push_template_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_push_template_response.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_sms_template_request.rb +36 -0
- data/lib/stack_one/models/operations/marketing_get_sms_template_response.rb +33 -0
- data/lib/stack_one/models/operations/marketing_list_campaigns_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_campaigns_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_campaigns_response.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_content_blocks_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_content_blocks_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_content_blocks_response.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_email_templates_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_email_templates_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_email_templates_response.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_in_app_templates_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/marketing_list_in_app_templates_request.rb +52 -0
- data/lib/stack_one/models/operations/marketing_list_in_app_templates_response.rb +33 -0
- data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_response.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_push_templates_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_push_templates_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_push_templates_response.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_sms_templates_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/marketing_list_sms_templates_request.rb +52 -0
- data/lib/stack_one/models/operations/marketing_list_sms_templates_response.rb +33 -0
- data/lib/stack_one/models/operations/marketing_update_content_block_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_update_content_block_response.rb +1 -1
- data/lib/stack_one/models/operations/marketing_update_email_template_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_update_email_template_response.rb +1 -1
- data/lib/stack_one/models/operations/marketing_update_in_app_template_request.rb +30 -0
- data/lib/stack_one/models/operations/marketing_update_in_app_template_response.rb +33 -0
- data/lib/stack_one/models/operations/marketing_update_omni_channel_template_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_update_omni_channel_template_response.rb +1 -1
- data/lib/stack_one/models/operations/marketing_update_push_template_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_update_push_template_response.rb +1 -1
- data/lib/stack_one/models/operations/marketing_update_sms_template_request.rb +30 -0
- data/lib/stack_one/models/operations/marketing_update_sms_template_response.rb +33 -0
- data/lib/stack_one/models/operations/queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/stackone_authenticate_connect_session_response.rb +1 -1
- data/lib/stack_one/models/operations/stackone_create_connect_session_response.rb +1 -1
- data/lib/stack_one/models/operations/stackone_delete_account_request.rb +1 -1
- data/lib/stack_one/models/operations/stackone_delete_account_response.rb +1 -1
- data/lib/stack_one/models/operations/stackone_get_account_meta_info_request.rb +1 -1
- data/lib/stack_one/models/operations/stackone_get_account_meta_info_response.rb +1 -1
- data/lib/stack_one/models/operations/stackone_get_account_request.rb +1 -1
- data/lib/stack_one/models/operations/stackone_get_account_response.rb +1 -1
- data/lib/stack_one/models/operations/stackone_get_connector_meta_request.rb +1 -1
- data/lib/stack_one/models/operations/stackone_get_connector_meta_response.rb +1 -1
- data/lib/stack_one/models/operations/stackone_list_connectors_meta_request.rb +1 -1
- data/lib/stack_one/models/operations/stackone_list_connectors_meta_response.rb +1 -1
- data/lib/stack_one/models/operations/stackone_list_linked_accounts_request.rb +1 -1
- data/lib/stack_one/models/operations/stackone_list_linked_accounts_response.rb +1 -1
- data/lib/stack_one/models/operations/stackone_proxy_request_request.rb +1 -1
- data/lib/stack_one/models/operations/stackone_proxy_request_response.rb +1 -1
- data/lib/stack_one/models/operations/stackone_update_account_request.rb +1 -1
- data/lib/stack_one/models/operations/stackone_update_account_response.rb +1 -1
- data/lib/stack_one/models/operations.rb +68 -2
- data/lib/stack_one/models/shared/account.rb +1 -1
- data/lib/stack_one/models/shared/accountaddress.rb +1 -1
- data/lib/stack_one/models/shared/accountaddress_schemas_value.rb +1 -1
- data/lib/stack_one/models/shared/accountaddress_value.rb +1 -1
- data/lib/stack_one/models/shared/accountresult.rb +1 -1
- data/lib/stack_one/models/shared/accountspaginated.rb +1 -1
- data/lib/stack_one/models/shared/answer.rb +1 -1
- data/lib/stack_one/models/shared/answer_value.rb +1 -1
- data/lib/stack_one/models/shared/application.rb +6 -3
- data/lib/stack_one/models/shared/application_candidate.rb +1 -1
- data/lib/stack_one/models/shared/application_interview_stage.rb +1 -1
- data/lib/stack_one/models/shared/application_status.rb +1 -1
- data/lib/stack_one/models/shared/application_value.rb +1 -1
- data/lib/stack_one/models/shared/applicationattachment.rb +1 -1
- data/lib/stack_one/models/shared/applicationattachment_value.rb +1 -1
- data/lib/stack_one/models/shared/applicationcustomfields.rb +48 -0
- data/lib/stack_one/models/shared/applicationcustomfields_type.rb +27 -0
- data/lib/stack_one/models/shared/applicationcustomfields_value.rb +23 -0
- data/lib/stack_one/models/shared/applicationresult.rb +1 -1
- data/lib/stack_one/models/shared/applicationspaginated.rb +1 -1
- data/lib/stack_one/models/shared/assessmentspackages.rb +1 -1
- data/lib/stack_one/models/shared/assessmentspackages_type.rb +1 -1
- data/lib/stack_one/models/shared/assessmentspackages_value.rb +1 -1
- data/lib/stack_one/models/shared/assessmentspackagespaginated.rb +1 -1
- data/lib/stack_one/models/shared/assessmentspackagesresult.rb +1 -1
- data/lib/stack_one/models/shared/assessmentsresults.rb +54 -0
- data/lib/stack_one/models/shared/assessmentsresults_candidate.rb +24 -0
- data/lib/stack_one/models/shared/assessmentsresults_content_type.rb +27 -0
- data/lib/stack_one/models/shared/assessmentsresults_value.rb +19 -0
- data/lib/stack_one/models/shared/assessmentsresultsresult.rb +27 -0
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto.rb +1 -1
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto_application_status.rb +1 -1
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb +6 -3
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto_source.rb +1 -1
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto_value.rb +1 -1
- data/lib/stack_one/models/shared/atscreatecandidaterequestdto.rb +6 -3
- data/lib/stack_one/models/shared/atscreatenotesrequestdto.rb +1 -1
- data/lib/stack_one/models/shared/atscreatenotesrequestdto_value.rb +1 -1
- data/lib/stack_one/models/shared/atscreateofferrequestdto.rb +1 -1
- data/lib/stack_one/models/shared/atscreateofferrequestdto_value.rb +1 -1
- data/lib/stack_one/models/shared/atsdocumentapimodel.rb +3 -3
- data/lib/stack_one/models/shared/atsdocumentapimodel_category.rb +27 -0
- data/lib/stack_one/models/shared/atsdocumentapimodel_schemas_value.rb +1 -1
- data/lib/stack_one/models/shared/atsdocumentapimodel_type.rb +1 -1
- data/lib/stack_one/models/shared/atsdocumentapimodel_value.rb +1 -1
- data/lib/stack_one/models/shared/atsdocumentresult.rb +1 -1
- data/lib/stack_one/models/shared/atsdocumentspaginated.rb +1 -1
- data/lib/stack_one/models/shared/atslocation.rb +1 -1
- data/lib/stack_one/models/shared/atslocationresult.rb +1 -1
- data/lib/stack_one/models/shared/atslocationspaginated.rb +1 -1
- data/lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb +1 -1
- data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_application_status.rb +1 -1
- data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_source.rb +1 -1
- data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_value.rb +1 -1
- data/lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb +6 -3
- data/lib/stack_one/models/shared/attachments.rb +27 -0
- data/lib/stack_one/models/shared/avatar.rb +1 -1
- data/lib/stack_one/models/shared/benefit_type.rb +1 -1
- data/lib/stack_one/models/shared/campaign.rb +3 -3
- data/lib/stack_one/models/shared/campaign_schemas_value.rb +1 -1
- data/lib/stack_one/models/shared/campaign_status.rb +27 -0
- data/lib/stack_one/models/shared/campaign_value.rb +1 -1
- data/lib/stack_one/models/shared/campaignresult.rb +1 -1
- data/lib/stack_one/models/shared/campaignspaginated.rb +1 -1
- data/lib/stack_one/models/shared/candidate.rb +1 -1
- data/lib/stack_one/models/shared/candidatecustomfields.rb +1 -1
- data/lib/stack_one/models/shared/candidatecustomfields_type.rb +1 -1
- data/lib/stack_one/models/shared/candidatecustomfields_value.rb +2 -2
- data/lib/stack_one/models/shared/candidateemail.rb +1 -1
- data/lib/stack_one/models/shared/candidateresult.rb +1 -1
- data/lib/stack_one/models/shared/candidatespaginated.rb +1 -1
- data/lib/stack_one/models/shared/categories.rb +1 -1
- data/lib/stack_one/models/shared/categoriespaginated.rb +30 -0
- data/lib/stack_one/models/shared/category.rb +16 -10
- data/lib/stack_one/models/shared/categoryresult.rb +27 -0
- data/lib/stack_one/models/shared/channelsenum.rb +1 -1
- data/lib/stack_one/models/shared/companiespaginated.rb +1 -1
- data/lib/stack_one/models/shared/company.rb +1 -1
- data/lib/stack_one/models/shared/companyresult.rb +1 -1
- data/lib/stack_one/models/shared/completion.rb +54 -0
- data/lib/stack_one/models/shared/completion_value.rb +19 -0
- data/lib/stack_one/models/shared/completionresult.rb +27 -0
- data/lib/stack_one/models/shared/confidential.rb +1 -1
- data/lib/stack_one/models/shared/connectorsmeta.rb +1 -1
- data/lib/stack_one/models/shared/connectorsmeta_category.rb +1 -1
- data/lib/stack_one/models/shared/connectsession.rb +1 -1
- data/lib/stack_one/models/shared/connectsessionauthenticate.rb +1 -1
- data/lib/stack_one/models/shared/connectsessioncreate.rb +1 -1
- data/lib/stack_one/models/shared/connectsessioncreate_categories.rb +1 -1
- data/lib/stack_one/models/shared/connectsessiontoken.rb +1 -1
- data/lib/stack_one/models/shared/connectsessiontoken_categories.rb +1 -1
- data/lib/stack_one/models/shared/contact.rb +1 -1
- data/lib/stack_one/models/shared/contactresult.rb +1 -1
- data/lib/stack_one/models/shared/contactscustomfields.rb +2 -2
- data/lib/stack_one/models/shared/contactscustomfields_type.rb +1 -1
- data/lib/stack_one/models/shared/contactscustomfields_value.rb +2 -6
- data/lib/stack_one/models/shared/contactspaginated.rb +1 -1
- data/lib/stack_one/models/shared/content.rb +1 -1
- data/lib/stack_one/models/shared/content_file_format.rb +1 -1
- data/lib/stack_one/models/shared/content_type.rb +1 -1
- data/lib/stack_one/models/shared/content_value.rb +1 -1
- data/lib/stack_one/models/shared/contentblock.rb +1 -1
- data/lib/stack_one/models/shared/contentblock_schemas_value.rb +1 -1
- data/lib/stack_one/models/shared/contentblock_status.rb +1 -1
- data/lib/stack_one/models/shared/contentblock_type.rb +1 -1
- data/lib/stack_one/models/shared/contentblock_value.rb +1 -1
- data/lib/stack_one/models/shared/contentblockspaginated.rb +1 -1
- data/lib/stack_one/models/shared/contentlanguageenum.rb +27 -0
- data/lib/stack_one/models/shared/contentlanguageenum_value.rb +420 -0
- data/lib/stack_one/models/shared/contentpaginated.rb +33 -0
- data/lib/stack_one/models/shared/contentresult.rb +27 -0
- data/lib/stack_one/models/shared/costcenters.rb +1 -1
- data/lib/stack_one/models/shared/country.rb +1 -1
- data/lib/stack_one/models/shared/countrycodeenum.rb +1 -1
- data/lib/stack_one/models/shared/countrycodeenum_value.rb +1 -1
- data/lib/stack_one/models/shared/createcategoriesapimodel.rb +27 -0
- data/lib/stack_one/models/shared/createresult.rb +1 -1
- data/lib/stack_one/models/shared/createresultdataapimodel.rb +1 -1
- data/lib/stack_one/models/shared/credentials.rb +1 -1
- data/lib/stack_one/models/shared/crmcreatecontactrequestdto.rb +1 -1
- data/lib/stack_one/models/shared/customfielddefinition.rb +39 -0
- data/lib/stack_one/models/shared/customfielddefinition_type.rb +27 -0
- data/lib/stack_one/models/shared/customfielddefinition_value.rb +23 -0
- data/lib/stack_one/models/shared/customfielddefinitionspaginated.rb +33 -0
- data/lib/stack_one/models/shared/department.rb +1 -1
- data/lib/stack_one/models/shared/departmentresult.rb +1 -1
- data/lib/stack_one/models/shared/departmentspaginated.rb +1 -1
- data/lib/stack_one/models/shared/document.rb +1 -1
- data/lib/stack_one/models/shared/emailmessages.rb +1 -1
- data/lib/stack_one/models/shared/emailmessages_value.rb +1 -1
- data/lib/stack_one/models/shared/employee.rb +1 -1
- data/lib/stack_one/models/shared/employee_company.rb +1 -1
- data/lib/stack_one/models/shared/employee_country.rb +1 -1
- data/lib/stack_one/models/shared/employee_location_type.rb +1 -1
- data/lib/stack_one/models/shared/employee_schemas_country.rb +1 -1
- data/lib/stack_one/models/shared/employee_schemas_employment_type_value.rb +1 -1
- data/lib/stack_one/models/shared/employee_schemas_ethnicity_value.rb +1 -1
- data/lib/stack_one/models/shared/employee_schemas_gender_value.rb +1 -1
- data/lib/stack_one/models/shared/employee_schemas_home_location_location_type_value.rb +1 -1
- data/lib/stack_one/models/shared/employee_schemas_home_location_value.rb +1 -1
- data/lib/stack_one/models/shared/employee_schemas_location_type.rb +1 -1
- data/lib/stack_one/models/shared/employee_schemas_marital_status_value.rb +1 -1
- data/lib/stack_one/models/shared/employee_schemas_national_identity_number_value.rb +1 -1
- data/lib/stack_one/models/shared/employee_schemas_preferred_language_value.rb +1 -1
- data/lib/stack_one/models/shared/employee_schemas_value.rb +1 -1
- data/lib/stack_one/models/shared/employee_schemas_work_location_location_type_value.rb +1 -1
- data/lib/stack_one/models/shared/employee_schemas_work_location_value.rb +1 -1
- data/lib/stack_one/models/shared/employee_type.rb +1 -1
- data/lib/stack_one/models/shared/employee_value.rb +1 -1
- data/lib/stack_one/models/shared/employeecustomfields.rb +1 -1
- data/lib/stack_one/models/shared/employeecustomfields_type.rb +1 -1
- data/lib/stack_one/models/shared/employeecustomfields_value.rb +2 -2
- data/lib/stack_one/models/shared/employeeresult.rb +1 -1
- data/lib/stack_one/models/shared/employeespaginated.rb +1 -1
- data/lib/stack_one/models/shared/employment.rb +1 -1
- data/lib/stack_one/models/shared/employment_contract_type.rb +1 -1
- data/lib/stack_one/models/shared/employment_employment_contract_type.rb +1 -1
- data/lib/stack_one/models/shared/employment_employment_type.rb +1 -1
- data/lib/stack_one/models/shared/employment_schemas_pay_frequency_value.rb +1 -1
- data/lib/stack_one/models/shared/employment_schemas_pay_period_value.rb +1 -1
- data/lib/stack_one/models/shared/employment_schemas_value.rb +1 -1
- data/lib/stack_one/models/shared/employment_status.rb +1 -1
- data/lib/stack_one/models/shared/employment_type.rb +1 -1
- data/lib/stack_one/models/shared/employment_value.rb +1 -1
- data/lib/stack_one/models/shared/employmentresult.rb +1 -1
- data/lib/stack_one/models/shared/employmentspaginated.rb +1 -1
- data/lib/stack_one/models/shared/ethnicity.rb +1 -1
- data/lib/stack_one/models/shared/field.rb +1 -1
- data/lib/stack_one/models/shared/field_type.rb +1 -1
- data/lib/stack_one/models/shared/file_format.rb +1 -1
- data/lib/stack_one/models/shared/gender.rb +1 -1
- data/lib/stack_one/models/shared/headers.rb +1 -1
- data/lib/stack_one/models/shared/home_location.rb +1 -1
- data/lib/stack_one/models/shared/hrisbenefit.rb +1 -1
- data/lib/stack_one/models/shared/hrisbenefit_value.rb +1 -1
- data/lib/stack_one/models/shared/hrisbenefitresult.rb +1 -1
- data/lib/stack_one/models/shared/hrisbenefitspaginated.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_avatar.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_country.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_employment_contract_type.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_employment_status.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_employment_type.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_ethnicity.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_gender.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_home_location.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_marital_status.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_preferred_language.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_country.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_ethnicity_value.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_gender_value.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_state_value.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_value.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_marital_status_value.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_preferred_language_value.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_value.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_state_value.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_value.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_state.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_value.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_work_location.rb +1 -1
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto.rb +1 -1
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_schemas_value.rb +1 -1
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_status.rb +1 -1
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_type.rb +1 -1
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_value.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_category.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_file_format.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_document_value.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_value.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_type.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_value.rb +1 -1
- data/lib/stack_one/models/shared/hrisdepartment.rb +1 -1
- data/lib/stack_one/models/shared/hrisdepartment_type.rb +1 -1
- data/lib/stack_one/models/shared/hrisdepartment_value.rb +1 -1
- data/lib/stack_one/models/shared/hrisdepartmentspaginated.rb +1 -1
- data/lib/stack_one/models/shared/hrisdepartmentsresult.rb +1 -1
- data/lib/stack_one/models/shared/hrisdocumentapimodel.rb +1 -1
- data/lib/stack_one/models/shared/hrisdocumentapimodel_category.rb +1 -1
- data/lib/stack_one/models/shared/hrisdocumentapimodel_file_format.rb +1 -1
- data/lib/stack_one/models/shared/hrisdocumentapimodel_schemas_type_value.rb +1 -1
- data/lib/stack_one/models/shared/hrisdocumentapimodel_schemas_value.rb +1 -1
- data/lib/stack_one/models/shared/hrisdocumentapimodel_type.rb +1 -1
- data/lib/stack_one/models/shared/hrisdocumentapimodel_value.rb +1 -1
- data/lib/stack_one/models/shared/hrisdocumentresult.rb +1 -1
- data/lib/stack_one/models/shared/hrisdocumentspaginated.rb +1 -1
- data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto.rb +1 -1
- data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_category.rb +1 -1
- data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_file_format.rb +1 -1
- data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_file_format_value.rb +1 -1
- data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_value.rb +1 -1
- data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_value.rb +1 -1
- data/lib/stack_one/models/shared/hrisgroup.rb +1 -1
- data/lib/stack_one/models/shared/hrisgroup_type.rb +1 -1
- data/lib/stack_one/models/shared/hrisgroup_value.rb +1 -1
- data/lib/stack_one/models/shared/hrisgroupspaginated.rb +1 -1
- data/lib/stack_one/models/shared/hrisgroupsresult.rb +1 -1
- data/lib/stack_one/models/shared/hrislocation.rb +1 -1
- data/lib/stack_one/models/shared/hrislocation_country.rb +1 -1
- data/lib/stack_one/models/shared/hrislocation_location_type.rb +1 -1
- data/lib/stack_one/models/shared/hrislocation_schemas_value.rb +1 -1
- data/lib/stack_one/models/shared/hrislocation_value.rb +1 -1
- data/lib/stack_one/models/shared/hrislocationresult.rb +1 -1
- data/lib/stack_one/models/shared/hrislocationspaginated.rb +1 -1
- data/lib/stack_one/models/shared/iamgroup.rb +51 -0
- data/lib/stack_one/models/shared/iamgroup_type.rb +27 -0
- data/lib/stack_one/models/shared/iamgroup_value.rb +23 -0
- data/lib/stack_one/models/shared/iamgroupresult.rb +27 -0
- data/lib/stack_one/models/shared/iamgroupspaginated.rb +33 -0
- data/lib/stack_one/models/shared/iammfatypeenum.rb +27 -0
- data/lib/stack_one/models/shared/iammfatypeenum_value.rb +23 -0
- data/lib/stack_one/models/shared/iampermission.rb +45 -0
- data/lib/stack_one/models/shared/iampermission_type.rb +27 -0
- data/lib/stack_one/models/shared/iampermission_value.rb +24 -0
- data/lib/stack_one/models/shared/iampoliciespaginated.rb +33 -0
- data/lib/stack_one/models/shared/iampolicy.rb +42 -0
- data/lib/stack_one/models/shared/iampolicyresult.rb +27 -0
- data/lib/stack_one/models/shared/iamresource.rb +45 -0
- data/lib/stack_one/models/shared/iamresource_type.rb +27 -0
- data/lib/stack_one/models/shared/iamresource_value.rb +24 -0
- data/lib/stack_one/models/shared/iamrole.rb +45 -0
- data/lib/stack_one/models/shared/iamrole_type.rb +27 -0
- data/lib/stack_one/models/shared/iamrole_value.rb +25 -0
- data/lib/stack_one/models/shared/iamroleresult.rb +27 -0
- data/lib/stack_one/models/shared/iamrolespaginated.rb +33 -0
- data/lib/stack_one/models/shared/iamuser.rb +72 -0
- data/lib/stack_one/models/shared/iamuser_avatar.rb +53 -0
- data/lib/stack_one/models/shared/iamuser_category.rb +27 -0
- data/lib/stack_one/models/shared/iamuser_file_format.rb +27 -0
- data/lib/stack_one/models/shared/iamuser_schemas_value.rb +1227 -0
- data/lib/stack_one/models/shared/iamuser_status.rb +27 -0
- data/lib/stack_one/models/shared/iamuser_value.rb +21 -0
- data/lib/stack_one/models/shared/iamuserresult.rb +27 -0
- data/lib/stack_one/models/shared/iamuserspaginated.rb +33 -0
- data/lib/stack_one/models/shared/images.rb +1 -1
- data/lib/stack_one/models/shared/inappmessages.rb +36 -0
- data/lib/stack_one/models/shared/inappmessages_message_content.rb +24 -0
- data/lib/stack_one/models/shared/inappmessages_message_type.rb +27 -0
- data/lib/stack_one/models/shared/inappmessages_value.rb +20 -0
- data/lib/stack_one/models/shared/internal.rb +1 -1
- data/lib/stack_one/models/shared/interview.rb +1 -1
- data/lib/stack_one/models/shared/interview_interview_stage.rb +1 -1
- data/lib/stack_one/models/shared/interview_status.rb +1 -1
- data/lib/stack_one/models/shared/interview_value.rb +1 -1
- data/lib/stack_one/models/shared/interviewer.rb +1 -1
- data/lib/stack_one/models/shared/interviewpart.rb +1 -1
- data/lib/stack_one/models/shared/interviewpart_type.rb +1 -1
- data/lib/stack_one/models/shared/interviewpart_value.rb +1 -1
- data/lib/stack_one/models/shared/interviewspaginated.rb +1 -1
- data/lib/stack_one/models/shared/interviewsresult.rb +1 -1
- data/lib/stack_one/models/shared/interviewstage.rb +1 -1
- data/lib/stack_one/models/shared/interviewstageresult.rb +1 -1
- data/lib/stack_one/models/shared/interviewstagespaginated.rb +1 -1
- data/lib/stack_one/models/shared/issued_by.rb +1 -1
- data/lib/stack_one/models/shared/job.rb +1 -1
- data/lib/stack_one/models/shared/job_confidential.rb +1 -1
- data/lib/stack_one/models/shared/job_description.rb +1 -1
- data/lib/stack_one/models/shared/job_status.rb +1 -1
- data/lib/stack_one/models/shared/job_value.rb +1 -1
- data/lib/stack_one/models/shared/jobhiringteam.rb +1 -1
- data/lib/stack_one/models/shared/jobposting.rb +1 -1
- data/lib/stack_one/models/shared/jobposting_content.rb +1 -1
- data/lib/stack_one/models/shared/jobposting_employment_contract_type.rb +1 -1
- data/lib/stack_one/models/shared/jobposting_employment_type.rb +1 -1
- data/lib/stack_one/models/shared/jobposting_schemas_status_value.rb +1 -1
- data/lib/stack_one/models/shared/jobposting_schemas_value.rb +1 -1
- data/lib/stack_one/models/shared/jobposting_status.rb +1 -1
- data/lib/stack_one/models/shared/jobposting_value.rb +1 -1
- data/lib/stack_one/models/shared/jobpostingcompensation.rb +1 -1
- data/lib/stack_one/models/shared/jobpostingcompensation_pay_frequency.rb +1 -1
- data/lib/stack_one/models/shared/jobpostingcompensation_pay_period.rb +1 -1
- data/lib/stack_one/models/shared/jobpostingcompensation_schemas_type_value.rb +1 -1
- data/lib/stack_one/models/shared/jobpostingcompensation_schemas_value.rb +1 -1
- data/lib/stack_one/models/shared/jobpostingcompensation_type.rb +1 -1
- data/lib/stack_one/models/shared/jobpostingcompensation_value.rb +1 -1
- data/lib/stack_one/models/shared/jobpostinglocation.rb +1 -1
- data/lib/stack_one/models/shared/jobpostingquestionnaire.rb +1 -1
- data/lib/stack_one/models/shared/jobpostingresult.rb +1 -1
- data/lib/stack_one/models/shared/jobpostingspaginated.rb +1 -1
- data/lib/stack_one/models/shared/jobresult.rb +1 -1
- data/lib/stack_one/models/shared/jobspaginated.rb +1 -1
- data/lib/stack_one/models/shared/linkedaccount.rb +1 -1
- data/lib/stack_one/models/shared/linkedaccount_status.rb +1 -1
- data/lib/stack_one/models/shared/linkedaccountmeta.rb +1 -1
- data/lib/stack_one/models/shared/linkedaccountmeta_category.rb +1 -1
- data/lib/stack_one/models/shared/list.rb +1 -1
- data/lib/stack_one/models/shared/list_type.rb +1 -1
- data/lib/stack_one/models/shared/list_value.rb +1 -1
- data/lib/stack_one/models/shared/listitem.rb +1 -1
- data/lib/stack_one/models/shared/listresult.rb +1 -1
- data/lib/stack_one/models/shared/listspaginated.rb +1 -1
- data/lib/stack_one/models/shared/lmscreatecompletionrequestdto.rb +45 -0
- data/lib/stack_one/models/shared/lmscreatecompletionrequestdto_result.rb +27 -0
- data/lib/stack_one/models/shared/lmscreatecompletionrequestdto_user.rb +42 -0
- data/lib/stack_one/models/shared/lmscreatecompletionrequestdto_value.rb +19 -0
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto.rb +57 -0
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto_content_type.rb +27 -0
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto_value.rb +20 -0
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb +57 -0
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto_content_type.rb +27 -0
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto_value.rb +20 -0
- data/lib/stack_one/models/shared/location_type.rb +1 -1
- data/lib/stack_one/models/shared/marital_status.rb +1 -1
- data/lib/stack_one/models/shared/marketingcreatecontentblocksrequestdto.rb +1 -1
- data/lib/stack_one/models/shared/marketingcreateemailtemplaterequestdto.rb +1 -1
- data/lib/stack_one/models/shared/marketingcreateinapptemplaterequestdto.rb +33 -0
- data/lib/stack_one/models/shared/marketingcreatepushtemplaterequestdto.rb +1 -1
- data/lib/stack_one/models/shared/marketingcreatesmstemplaterequestdto.rb +33 -0
- data/lib/stack_one/models/shared/marketingcreatetemplaterequestdto.rb +1 -1
- data/lib/stack_one/models/shared/message.rb +1 -1
- data/lib/stack_one/models/shared/message_content.rb +1 -1
- data/lib/stack_one/models/shared/message_message_type.rb +1 -1
- data/lib/stack_one/models/shared/message_type.rb +1 -1
- data/lib/stack_one/models/shared/message_value.rb +1 -1
- data/lib/stack_one/models/shared/metadata.rb +1 -1
- data/lib/stack_one/models/shared/method.rb +1 -1
- data/lib/stack_one/models/shared/national_identity_number.rb +1 -1
- data/lib/stack_one/models/shared/note.rb +1 -1
- data/lib/stack_one/models/shared/note_value.rb +1 -1
- data/lib/stack_one/models/shared/note_visibility.rb +1 -1
- data/lib/stack_one/models/shared/notecontentapimodel.rb +1 -1
- data/lib/stack_one/models/shared/noteresult.rb +1 -1
- data/lib/stack_one/models/shared/notespaginated.rb +1 -1
- data/lib/stack_one/models/shared/offer.rb +1 -1
- data/lib/stack_one/models/shared/offer_offer_status.rb +1 -1
- data/lib/stack_one/models/shared/offer_status.rb +1 -1
- data/lib/stack_one/models/shared/offer_value.rb +1 -1
- data/lib/stack_one/models/shared/offerhistory.rb +1 -1
- data/lib/stack_one/models/shared/offerspaginated.rb +1 -1
- data/lib/stack_one/models/shared/offersresult.rb +1 -1
- data/lib/stack_one/models/shared/overall_recommendation.rb +1 -1
- data/lib/stack_one/models/shared/patchaccountdto.rb +1 -1
- data/lib/stack_one/models/shared/pay_frequency.rb +1 -1
- data/lib/stack_one/models/shared/pay_period.rb +1 -1
- data/lib/stack_one/models/shared/phonenumber.rb +1 -1
- data/lib/stack_one/models/shared/phonenumber_type.rb +1 -1
- data/lib/stack_one/models/shared/preferred_language.rb +1 -1
- data/lib/stack_one/models/shared/providererrorapimodel.rb +1 -1
- data/lib/stack_one/models/shared/proxyrequestbody.rb +1 -1
- data/lib/stack_one/models/shared/pushmessages.rb +1 -1
- data/lib/stack_one/models/shared/pushmessages_message_content.rb +1 -1
- data/lib/stack_one/models/shared/pushmessages_message_type.rb +1 -1
- data/lib/stack_one/models/shared/pushmessages_value.rb +1 -1
- data/lib/stack_one/models/shared/question.rb +1 -1
- data/lib/stack_one/models/shared/question_type.rb +1 -1
- data/lib/stack_one/models/shared/question_value.rb +1 -1
- data/lib/stack_one/models/shared/questionmultiplechoiceanswers.rb +1 -1
- data/lib/stack_one/models/shared/questionnaire.rb +1 -1
- data/lib/stack_one/models/shared/raw.rb +1 -1
- data/lib/stack_one/models/shared/rawresponse.rb +1 -1
- data/lib/stack_one/models/shared/reference.rb +1 -1
- data/lib/stack_one/models/shared/referencepaginated.rb +1 -1
- data/lib/stack_one/models/shared/referenceresult.rb +1 -1
- data/lib/stack_one/models/shared/rejected_reason_type.rb +1 -1
- data/lib/stack_one/models/shared/rejectedreason.rb +1 -1
- data/lib/stack_one/models/shared/rejectedreason_value.rb +1 -1
- data/lib/stack_one/models/shared/rejectedreasonresult.rb +1 -1
- data/lib/stack_one/models/shared/rejectedreasonspaginated.rb +1 -1
- data/lib/stack_one/models/shared/resources.rb +1 -1
- data/lib/stack_one/models/shared/result.rb +27 -0
- data/lib/stack_one/models/shared/resultlink.rb +1 -1
- data/lib/stack_one/models/shared/schedule_type.rb +1 -1
- data/lib/stack_one/models/shared/score.rb +33 -0
- data/lib/stack_one/models/shared/scorecard.rb +1 -1
- data/lib/stack_one/models/shared/scorecardsection.rb +1 -1
- data/lib/stack_one/models/shared/scorecardspaginated.rb +1 -1
- data/lib/stack_one/models/shared/scorecardsresult.rb +1 -1
- data/lib/stack_one/models/shared/security.rb +1 -1
- data/lib/stack_one/models/shared/setup_information.rb +1 -1
- data/lib/stack_one/models/shared/smsmessages.rb +36 -0
- data/lib/stack_one/models/shared/smsmessages_message_content.rb +27 -0
- data/lib/stack_one/models/shared/smsmessages_message_type.rb +27 -0
- data/lib/stack_one/models/shared/smsmessages_value.rb +20 -0
- data/lib/stack_one/models/shared/sociallink.rb +1 -1
- data/lib/stack_one/models/shared/source.rb +1 -1
- data/lib/stack_one/models/shared/state.rb +1 -1
- data/lib/stack_one/models/shared/status.rb +10 -15
- data/lib/stack_one/models/shared/template.rb +1 -1
- data/lib/stack_one/models/shared/templateresult.rb +1 -1
- data/lib/stack_one/models/shared/templatespaginated.rb +1 -1
- data/lib/stack_one/models/shared/timeoff.rb +1 -1
- data/lib/stack_one/models/shared/timeoff_schemas_value.rb +1 -1
- data/lib/stack_one/models/shared/timeoff_status.rb +1 -1
- data/lib/stack_one/models/shared/timeoff_type.rb +1 -1
- data/lib/stack_one/models/shared/timeoff_value.rb +1 -1
- data/lib/stack_one/models/shared/timeoffpaginated.rb +1 -1
- data/lib/stack_one/models/shared/timeoffresult.rb +1 -1
- data/lib/stack_one/models/shared/type.rb +1 -1
- data/lib/stack_one/models/shared/unifieduploadrequestdto.rb +1 -1
- data/lib/stack_one/models/shared/unifieduploadrequestdto_category.rb +1 -1
- data/lib/stack_one/models/shared/unifieduploadrequestdto_confidential.rb +1 -1
- data/lib/stack_one/models/shared/unifieduploadrequestdto_file_format.rb +1 -1
- data/lib/stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb +1 -1
- data/lib/stack_one/models/shared/unifieduploadrequestdto_value.rb +1 -1
- data/lib/stack_one/models/shared/updateresult.rb +1 -1
- data/lib/stack_one/models/shared/user.rb +15 -15
- data/lib/stack_one/models/shared/userresult.rb +1 -1
- data/lib/stack_one/models/shared/userspaginated.rb +1 -1
- data/lib/stack_one/models/shared/value.rb +1 -1
- data/lib/stack_one/models/shared/visibility.rb +1 -1
- data/lib/stack_one/models/shared/work_location.rb +1 -1
- data/lib/stack_one/models/shared/workeligibility.rb +1 -1
- data/lib/stack_one/models/shared/workeligibility_category.rb +1 -1
- data/lib/stack_one/models/shared/workeligibility_document.rb +1 -1
- data/lib/stack_one/models/shared/workeligibility_file_format.rb +1 -1
- data/lib/stack_one/models/shared/workeligibility_issued_by.rb +1 -1
- data/lib/stack_one/models/shared/workeligibility_schemas_document_value.rb +1 -1
- data/lib/stack_one/models/shared/workeligibility_schemas_value.rb +1 -1
- data/lib/stack_one/models/shared/workeligibility_type.rb +1 -1
- data/lib/stack_one/models/shared/workeligibility_value.rb +1 -1
- data/lib/stack_one/models/shared/workeligibilitypaginated.rb +1 -1
- data/lib/stack_one/models/shared/workeligibilityresult.rb +1 -1
- data/lib/stack_one/models/shared/writeresultapimodel.rb +1 -1
- data/lib/stack_one/models/shared.rb +83 -6
- data/lib/stack_one/proxy.rb +1 -1
- data/lib/stack_one/sdkconfiguration.rb +5 -5
- data/lib/stack_one/stackone.rb +4 -2
- data/lib/stack_one/utils/metadata_fields.rb +1 -1
- data/lib/stack_one/utils/t.rb +1 -1
- data/lib/stack_one/utils/utils.rb +1 -1
- data/lib/stackone_client.rb +3 -1
- metadata +147 -2
@@ -0,0 +1,391 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
require 'faraday'
|
7
|
+
require 'faraday/multipart'
|
8
|
+
require 'sorbet-runtime'
|
9
|
+
|
10
|
+
module StackOne
|
11
|
+
extend T::Sig
|
12
|
+
class Lms
|
13
|
+
extend T::Sig
|
14
|
+
|
15
|
+
|
16
|
+
sig { params(sdk_config: SDKConfiguration).void }
|
17
|
+
def initialize(sdk_config)
|
18
|
+
@sdk_configuration = sdk_config
|
19
|
+
end
|
20
|
+
|
21
|
+
|
22
|
+
sig { params(lms_create_completion_request_dto: ::StackOne::Shared::LmsCreateCompletionRequestDto, x_account_id: ::String).returns(::StackOne::Operations::LmsCreateCompletionResponse) }
|
23
|
+
def create_completion(lms_create_completion_request_dto, x_account_id)
|
24
|
+
# create_completion - Create Completion
|
25
|
+
request = ::StackOne::Operations::LmsCreateCompletionRequest.new(
|
26
|
+
|
27
|
+
lms_create_completion_request_dto: lms_create_completion_request_dto,
|
28
|
+
x_account_id: x_account_id
|
29
|
+
)
|
30
|
+
url, params = @sdk_configuration.get_server_details
|
31
|
+
base_url = Utils.template_url(url, params)
|
32
|
+
url = "#{base_url}/unified/lms/completions"
|
33
|
+
headers = Utils.get_headers(request)
|
34
|
+
req_content_type, data, form = Utils.serialize_request_body(request, :lms_create_completion_request_dto, :json)
|
35
|
+
headers['content-type'] = req_content_type
|
36
|
+
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
37
|
+
headers['Accept'] = 'application/json'
|
38
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
39
|
+
|
40
|
+
r = @sdk_configuration.client.post(url) do |req|
|
41
|
+
req.headers = headers
|
42
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
43
|
+
if form
|
44
|
+
req.body = Utils.encode_form(form)
|
45
|
+
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
46
|
+
req.body = URI.encode_www_form(data)
|
47
|
+
else
|
48
|
+
req.body = data
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
53
|
+
|
54
|
+
res = ::StackOne::Operations::LmsCreateCompletionResponse.new(
|
55
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
56
|
+
)
|
57
|
+
if r.status == 201
|
58
|
+
if Utils.match_content_type(content_type, 'application/json')
|
59
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult)
|
60
|
+
res.create_result = out
|
61
|
+
end
|
62
|
+
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
63
|
+
end
|
64
|
+
res
|
65
|
+
end
|
66
|
+
|
67
|
+
|
68
|
+
sig { params(lms_create_content_request_dto: ::StackOne::Shared::LmsCreateContentRequestDto, x_account_id: ::String).returns(::StackOne::Operations::LmsCreateContentResponse) }
|
69
|
+
def create_content(lms_create_content_request_dto, x_account_id)
|
70
|
+
# create_content - Create Content
|
71
|
+
request = ::StackOne::Operations::LmsCreateContentRequest.new(
|
72
|
+
|
73
|
+
lms_create_content_request_dto: lms_create_content_request_dto,
|
74
|
+
x_account_id: x_account_id
|
75
|
+
)
|
76
|
+
url, params = @sdk_configuration.get_server_details
|
77
|
+
base_url = Utils.template_url(url, params)
|
78
|
+
url = "#{base_url}/unified/lms/content"
|
79
|
+
headers = Utils.get_headers(request)
|
80
|
+
req_content_type, data, form = Utils.serialize_request_body(request, :lms_create_content_request_dto, :json)
|
81
|
+
headers['content-type'] = req_content_type
|
82
|
+
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
83
|
+
headers['Accept'] = 'application/json'
|
84
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
85
|
+
|
86
|
+
r = @sdk_configuration.client.post(url) do |req|
|
87
|
+
req.headers = headers
|
88
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
89
|
+
if form
|
90
|
+
req.body = Utils.encode_form(form)
|
91
|
+
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
92
|
+
req.body = URI.encode_www_form(data)
|
93
|
+
else
|
94
|
+
req.body = data
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
99
|
+
|
100
|
+
res = ::StackOne::Operations::LmsCreateContentResponse.new(
|
101
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
102
|
+
)
|
103
|
+
if r.status == 201
|
104
|
+
if Utils.match_content_type(content_type, 'application/json')
|
105
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult)
|
106
|
+
res.create_result = out
|
107
|
+
end
|
108
|
+
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
109
|
+
end
|
110
|
+
res
|
111
|
+
end
|
112
|
+
|
113
|
+
|
114
|
+
sig { params(request: T.nilable(::StackOne::Operations::LmsGetCategoryRequest)).returns(::StackOne::Operations::LmsGetCategoryResponse) }
|
115
|
+
def get_category(request)
|
116
|
+
# get_category - Get Category
|
117
|
+
url, params = @sdk_configuration.get_server_details
|
118
|
+
base_url = Utils.template_url(url, params)
|
119
|
+
url = Utils.generate_url(
|
120
|
+
::StackOne::Operations::LmsGetCategoryRequest,
|
121
|
+
base_url,
|
122
|
+
'/unified/lms/categories/{id}',
|
123
|
+
request
|
124
|
+
)
|
125
|
+
headers = Utils.get_headers(request)
|
126
|
+
query_params = Utils.get_query_params(::StackOne::Operations::LmsGetCategoryRequest, request)
|
127
|
+
headers['Accept'] = 'application/json'
|
128
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
129
|
+
|
130
|
+
r = @sdk_configuration.client.get(url) do |req|
|
131
|
+
req.headers = headers
|
132
|
+
req.params = query_params
|
133
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
134
|
+
end
|
135
|
+
|
136
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
137
|
+
|
138
|
+
res = ::StackOne::Operations::LmsGetCategoryResponse.new(
|
139
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
140
|
+
)
|
141
|
+
if r.status == 200
|
142
|
+
if Utils.match_content_type(content_type, 'application/json')
|
143
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CategoryResult)
|
144
|
+
res.category_result = out
|
145
|
+
end
|
146
|
+
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
147
|
+
end
|
148
|
+
res
|
149
|
+
end
|
150
|
+
|
151
|
+
|
152
|
+
sig { params(request: T.nilable(::StackOne::Operations::LmsGetCompletionRequest)).returns(::StackOne::Operations::LmsGetCompletionResponse) }
|
153
|
+
def get_completion(request)
|
154
|
+
# get_completion - Get Completion
|
155
|
+
url, params = @sdk_configuration.get_server_details
|
156
|
+
base_url = Utils.template_url(url, params)
|
157
|
+
url = Utils.generate_url(
|
158
|
+
::StackOne::Operations::LmsGetCompletionRequest,
|
159
|
+
base_url,
|
160
|
+
'/unified/lms/completions/{id}',
|
161
|
+
request
|
162
|
+
)
|
163
|
+
headers = Utils.get_headers(request)
|
164
|
+
query_params = Utils.get_query_params(::StackOne::Operations::LmsGetCompletionRequest, request)
|
165
|
+
headers['Accept'] = 'application/json'
|
166
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
167
|
+
|
168
|
+
r = @sdk_configuration.client.get(url) do |req|
|
169
|
+
req.headers = headers
|
170
|
+
req.params = query_params
|
171
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
172
|
+
end
|
173
|
+
|
174
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
175
|
+
|
176
|
+
res = ::StackOne::Operations::LmsGetCompletionResponse.new(
|
177
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
178
|
+
)
|
179
|
+
if r.status == 200
|
180
|
+
if Utils.match_content_type(content_type, 'application/json')
|
181
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CompletionResult)
|
182
|
+
res.completion_result = out
|
183
|
+
end
|
184
|
+
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
185
|
+
end
|
186
|
+
res
|
187
|
+
end
|
188
|
+
|
189
|
+
|
190
|
+
sig { params(request: T.nilable(::StackOne::Operations::LmsGetContentRequest)).returns(::StackOne::Operations::LmsGetContentResponse) }
|
191
|
+
def get_content(request)
|
192
|
+
# get_content - Get Content
|
193
|
+
url, params = @sdk_configuration.get_server_details
|
194
|
+
base_url = Utils.template_url(url, params)
|
195
|
+
url = Utils.generate_url(
|
196
|
+
::StackOne::Operations::LmsGetContentRequest,
|
197
|
+
base_url,
|
198
|
+
'/unified/lms/content/{id}',
|
199
|
+
request
|
200
|
+
)
|
201
|
+
headers = Utils.get_headers(request)
|
202
|
+
query_params = Utils.get_query_params(::StackOne::Operations::LmsGetContentRequest, request)
|
203
|
+
headers['Accept'] = 'application/json'
|
204
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
205
|
+
|
206
|
+
r = @sdk_configuration.client.get(url) do |req|
|
207
|
+
req.headers = headers
|
208
|
+
req.params = query_params
|
209
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
210
|
+
end
|
211
|
+
|
212
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
213
|
+
|
214
|
+
res = ::StackOne::Operations::LmsGetContentResponse.new(
|
215
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
216
|
+
)
|
217
|
+
if r.status == 200
|
218
|
+
if Utils.match_content_type(content_type, 'application/json')
|
219
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::ContentResult)
|
220
|
+
res.content_result = out
|
221
|
+
end
|
222
|
+
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
223
|
+
end
|
224
|
+
res
|
225
|
+
end
|
226
|
+
|
227
|
+
|
228
|
+
sig { params(request: T.nilable(::StackOne::Operations::LmsListCategoriesRequest)).returns(::StackOne::Operations::LmsListCategoriesResponse) }
|
229
|
+
def list_categories(request)
|
230
|
+
# list_categories - List Categories
|
231
|
+
url, params = @sdk_configuration.get_server_details
|
232
|
+
base_url = Utils.template_url(url, params)
|
233
|
+
url = "#{base_url}/unified/lms/categories"
|
234
|
+
headers = Utils.get_headers(request)
|
235
|
+
query_params = Utils.get_query_params(::StackOne::Operations::LmsListCategoriesRequest, request)
|
236
|
+
headers['Accept'] = 'application/json'
|
237
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
238
|
+
|
239
|
+
r = @sdk_configuration.client.get(url) do |req|
|
240
|
+
req.headers = headers
|
241
|
+
req.params = query_params
|
242
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
243
|
+
end
|
244
|
+
|
245
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
246
|
+
|
247
|
+
res = ::StackOne::Operations::LmsListCategoriesResponse.new(
|
248
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
249
|
+
)
|
250
|
+
if r.status == 200
|
251
|
+
if Utils.match_content_type(content_type, 'application/json')
|
252
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CategoriesPaginated)
|
253
|
+
res.categories_paginated = out
|
254
|
+
end
|
255
|
+
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
256
|
+
end
|
257
|
+
res
|
258
|
+
end
|
259
|
+
|
260
|
+
|
261
|
+
sig { params(request: T.nilable(::StackOne::Operations::LmsListContentRequest)).returns(::StackOne::Operations::LmsListContentResponse) }
|
262
|
+
def list_content(request)
|
263
|
+
# list_content - List Content
|
264
|
+
url, params = @sdk_configuration.get_server_details
|
265
|
+
base_url = Utils.template_url(url, params)
|
266
|
+
url = "#{base_url}/unified/lms/content"
|
267
|
+
headers = Utils.get_headers(request)
|
268
|
+
query_params = Utils.get_query_params(::StackOne::Operations::LmsListContentRequest, request)
|
269
|
+
headers['Accept'] = 'application/json'
|
270
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
271
|
+
|
272
|
+
r = @sdk_configuration.client.get(url) do |req|
|
273
|
+
req.headers = headers
|
274
|
+
req.params = query_params
|
275
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
276
|
+
end
|
277
|
+
|
278
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
279
|
+
|
280
|
+
res = ::StackOne::Operations::LmsListContentResponse.new(
|
281
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
282
|
+
)
|
283
|
+
if r.status == 200
|
284
|
+
if Utils.match_content_type(content_type, 'application/json')
|
285
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::ContentPaginated)
|
286
|
+
res.content_paginated = out
|
287
|
+
end
|
288
|
+
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
289
|
+
end
|
290
|
+
res
|
291
|
+
end
|
292
|
+
|
293
|
+
|
294
|
+
sig { params(lms_create_content_request_dto: ::StackOne::Shared::LmsCreateContentRequestDto, id: ::String, x_account_id: ::String).returns(::StackOne::Operations::LmsUpdateContentResponse) }
|
295
|
+
def update_content(lms_create_content_request_dto, id, x_account_id)
|
296
|
+
# update_content - Update Content
|
297
|
+
request = ::StackOne::Operations::LmsUpdateContentRequest.new(
|
298
|
+
|
299
|
+
lms_create_content_request_dto: lms_create_content_request_dto,
|
300
|
+
id: id,
|
301
|
+
x_account_id: x_account_id
|
302
|
+
)
|
303
|
+
url, params = @sdk_configuration.get_server_details
|
304
|
+
base_url = Utils.template_url(url, params)
|
305
|
+
url = Utils.generate_url(
|
306
|
+
::StackOne::Operations::LmsUpdateContentRequest,
|
307
|
+
base_url,
|
308
|
+
'/unified/lms/content/{id}',
|
309
|
+
request
|
310
|
+
)
|
311
|
+
headers = Utils.get_headers(request)
|
312
|
+
req_content_type, data, form = Utils.serialize_request_body(request, :lms_create_content_request_dto, :json)
|
313
|
+
headers['content-type'] = req_content_type
|
314
|
+
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
315
|
+
headers['Accept'] = 'application/json'
|
316
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
317
|
+
|
318
|
+
r = @sdk_configuration.client.patch(url) do |req|
|
319
|
+
req.headers = headers
|
320
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
321
|
+
if form
|
322
|
+
req.body = Utils.encode_form(form)
|
323
|
+
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
324
|
+
req.body = URI.encode_www_form(data)
|
325
|
+
else
|
326
|
+
req.body = data
|
327
|
+
end
|
328
|
+
end
|
329
|
+
|
330
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
331
|
+
|
332
|
+
res = ::StackOne::Operations::LmsUpdateContentResponse.new(
|
333
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
334
|
+
)
|
335
|
+
if r.status == 201
|
336
|
+
if Utils.match_content_type(content_type, 'application/json')
|
337
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::UpdateResult)
|
338
|
+
res.update_result = out
|
339
|
+
end
|
340
|
+
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
341
|
+
end
|
342
|
+
res
|
343
|
+
end
|
344
|
+
|
345
|
+
|
346
|
+
sig { params(lms_upsert_content_request_dto: ::StackOne::Shared::LmsUpsertContentRequestDto, x_account_id: ::String).returns(::StackOne::Operations::LmsUpsertContentResponse) }
|
347
|
+
def upsert_content(lms_upsert_content_request_dto, x_account_id)
|
348
|
+
# upsert_content - Upsert Content
|
349
|
+
request = ::StackOne::Operations::LmsUpsertContentRequest.new(
|
350
|
+
|
351
|
+
lms_upsert_content_request_dto: lms_upsert_content_request_dto,
|
352
|
+
x_account_id: x_account_id
|
353
|
+
)
|
354
|
+
url, params = @sdk_configuration.get_server_details
|
355
|
+
base_url = Utils.template_url(url, params)
|
356
|
+
url = "#{base_url}/unified/lms/content"
|
357
|
+
headers = Utils.get_headers(request)
|
358
|
+
req_content_type, data, form = Utils.serialize_request_body(request, :lms_upsert_content_request_dto, :json)
|
359
|
+
headers['content-type'] = req_content_type
|
360
|
+
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
361
|
+
headers['Accept'] = 'application/json'
|
362
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
363
|
+
|
364
|
+
r = @sdk_configuration.client.put(url) do |req|
|
365
|
+
req.headers = headers
|
366
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
367
|
+
if form
|
368
|
+
req.body = Utils.encode_form(form)
|
369
|
+
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
370
|
+
req.body = URI.encode_www_form(data)
|
371
|
+
else
|
372
|
+
req.body = data
|
373
|
+
end
|
374
|
+
end
|
375
|
+
|
376
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
377
|
+
|
378
|
+
res = ::StackOne::Operations::LmsUpsertContentResponse.new(
|
379
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
380
|
+
)
|
381
|
+
if r.status == 201
|
382
|
+
if Utils.match_content_type(content_type, 'application/json')
|
383
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult)
|
384
|
+
res.create_result = out
|
385
|
+
end
|
386
|
+
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
387
|
+
end
|
388
|
+
res
|
389
|
+
end
|
390
|
+
end
|
391
|
+
end
|