stackone_client 0.2.36 → 0.2.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stack_one/accounts.rb +4 -4
- data/lib/stack_one/ats.rb +254 -3
- data/lib/stack_one/hris.rb +129 -1
- data/lib/stack_one/lms.rb +461 -11
- data/lib/stack_one/models/operations/ats_get_application_custom_field_definition_request.rb +60 -0
- data/lib/stack_one/models/operations/ats_get_application_custom_field_definition_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_get_assessments_request_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_assessments_result_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_candidate_custom_field_definition_request.rb +60 -0
- data/lib/stack_one/models/operations/ats_get_candidate_custom_field_definition_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_get_job_custom_field_definition_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/ats_get_job_custom_field_definition_request.rb +60 -0
- data/lib/stack_one/models/operations/ats_get_job_custom_field_definition_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_get_job_request.rb +5 -2
- data/lib/stack_one/models/operations/ats_list_application_custom_field_definitions_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/ats_list_application_custom_field_definitions_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_list_application_documents_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_list_applications_queryparam_filter.rb +5 -2
- data/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_request.rb +57 -0
- data/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_list_jobs_request.rb +5 -2
- data/lib/stack_one/models/operations/ats_move_application_request.rb +30 -0
- data/lib/stack_one/models/operations/ats_move_application_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_reject_application_request.rb +30 -0
- data/lib/stack_one/models/operations/ats_reject_application_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_batch_upload_employee_document_request.rb +30 -0
- data/lib/stack_one/models/operations/hris_batch_upload_employee_document_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_get_employee_employment_request.rb +42 -0
- data/lib/stack_one/models/operations/hris_get_employee_employment_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_list_employee_employments_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/hris_list_employee_employments_request.rb +58 -0
- data/lib/stack_one/models/operations/hris_list_employee_employments_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_batch_upsert_content_request.rb +27 -0
- data/lib/stack_one/models/operations/lms_batch_upsert_content_response.rb +33 -0
- data/lib/stack_one/models/operations/{lms_create_completion_request.rb → lms_create_user_completion_request.rb} +6 -3
- data/lib/stack_one/models/operations/{lms_create_completion_response.rb → lms_create_user_completion_response.rb} +1 -1
- data/lib/stack_one/models/operations/lms_get_assignment_request.rb +36 -0
- data/lib/stack_one/models/operations/lms_get_assignment_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_get_course_request.rb +36 -0
- data/lib/stack_one/models/operations/lms_get_course_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_get_skill_request.rb +36 -0
- data/lib/stack_one/models/operations/lms_get_skill_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_get_user_assignment_request.rb +39 -0
- data/lib/stack_one/models/operations/lms_get_user_assignment_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_get_user_completion_request.rb +39 -0
- data/lib/stack_one/models/operations/lms_get_user_completion_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_list_assignments_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/lms_list_assignments_request.rb +58 -0
- data/lib/stack_one/models/operations/lms_list_assignments_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_list_completions_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/lms_list_completions_request.rb +58 -0
- data/lib/stack_one/models/operations/lms_list_completions_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_list_courses_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/lms_list_courses_request.rb +52 -0
- data/lib/stack_one/models/operations/lms_list_courses_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_list_skills_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/lms_list_skills_request.rb +52 -0
- data/lib/stack_one/models/operations/lms_list_skills_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_list_user_assignments_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/lms_list_user_assignments_request.rb +61 -0
- data/lib/stack_one/models/operations/lms_list_user_assignments_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_list_user_completions_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/lms_list_user_completions_request.rb +61 -0
- data/lib/stack_one/models/operations/lms_list_user_completions_response.rb +33 -0
- data/lib/stack_one/models/operations/stackone_update_account_request.rb +4 -4
- data/lib/stack_one/models/operations.rb +57 -4
- data/lib/stack_one/models/shared/account.rb +5 -2
- data/lib/stack_one/models/shared/accountaddress_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/accountaddress_value.rb +0 -1
- data/lib/stack_one/models/shared/{contactscustomfields_type.rb → active.rb} +4 -4
- data/lib/stack_one/models/shared/answer_value.rb +0 -1
- data/lib/stack_one/models/shared/application.rb +5 -2
- data/lib/stack_one/models/shared/application_interview_stage.rb +5 -2
- data/lib/stack_one/models/shared/application_value.rb +0 -1
- data/lib/stack_one/models/shared/applicationattachment_value.rb +0 -1
- data/lib/stack_one/models/shared/applicationcustomfields.rb +2 -11
- data/lib/stack_one/models/shared/assessmentspackages_type.rb +2 -2
- data/lib/stack_one/models/shared/assessmentspackages_value.rb +4 -7
- data/lib/stack_one/models/shared/assessmentsresults.rb +7 -7
- data/lib/stack_one/models/shared/assessmentsresults_candidate.rb +8 -5
- data/lib/stack_one/models/shared/assessmentsresults_content_type.rb +2 -2
- data/lib/stack_one/models/shared/{contactscustomfields_value.rb → assessmentsresults_schemas_value.rb} +3 -8
- data/lib/stack_one/models/shared/assessmentsresults_value.rb +5 -4
- data/lib/stack_one/models/shared/assignment.rb +48 -0
- data/lib/stack_one/models/shared/assignmentresult.rb +27 -0
- data/lib/stack_one/models/shared/assignmentspaginated.rb +30 -0
- data/lib/stack_one/models/shared/{employeecustomfields_type.rb → assignmentstatusenum.rb} +4 -4
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb +5 -2
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/atscreatecandidaterequestdto.rb +5 -2
- data/lib/stack_one/models/shared/atscreatenotesrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/atscreateofferrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/atsdocumentapimodel.rb +8 -2
- data/lib/stack_one/models/shared/atsdocumentapimodel_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/atsdocumentapimodel_value.rb +0 -1
- data/lib/stack_one/models/shared/atslocation.rb +5 -2
- data/lib/stack_one/models/shared/atsmoveapplicationrequestdto.rb +27 -0
- data/lib/stack_one/models/shared/atsrejectapplicationrequestdto.rb +27 -0
- data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb +5 -2
- data/lib/stack_one/models/shared/batchresultapimodel.rb +33 -0
- data/lib/stack_one/models/shared/campaign.rb +2 -2
- data/lib/stack_one/models/shared/campaign_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/campaign_value.rb +0 -1
- data/lib/stack_one/models/shared/candidate.rb +5 -2
- data/lib/stack_one/models/shared/candidatecustomfields.rb +2 -11
- data/lib/stack_one/models/shared/categories.rb +0 -1
- data/lib/stack_one/models/shared/category.rb +5 -2
- data/lib/stack_one/models/shared/channelsenum.rb +2 -2
- data/lib/stack_one/models/shared/channelsenum_value.rb +23 -0
- data/lib/stack_one/models/shared/company.rb +5 -2
- data/lib/stack_one/models/shared/completion.rb +10 -13
- data/lib/stack_one/models/shared/{candidatecustomfields_type.rb → completion_schemas_result.rb} +4 -4
- data/lib/stack_one/models/shared/completion_value.rb +0 -1
- data/lib/stack_one/models/shared/completionspaginated.rb +30 -0
- data/lib/stack_one/models/shared/connectorsmeta_category.rb +0 -1
- data/lib/stack_one/models/shared/connectsessioncreate_categories.rb +0 -1
- data/lib/stack_one/models/shared/connectsessiontoken_categories.rb +0 -1
- data/lib/stack_one/models/shared/contact.rb +5 -2
- data/lib/stack_one/models/shared/contactscustomfields.rb +2 -11
- data/lib/stack_one/models/shared/content_value.rb +0 -1
- data/lib/stack_one/models/shared/contentblock_schemas_value.rb +3 -1
- data/lib/stack_one/models/shared/contentblock_value.rb +3 -2
- data/lib/stack_one/models/shared/contentlanguageenum_value.rb +0 -1
- data/lib/stack_one/models/shared/countrycodeenum_value.rb +0 -1
- data/lib/stack_one/models/shared/course.rb +75 -0
- data/lib/stack_one/models/shared/course_schemas_value.rb +19 -0
- data/lib/stack_one/models/shared/{applicationcustomfields_type.rb → course_type.rb} +4 -4
- data/lib/stack_one/models/shared/course_value.rb +18 -0
- data/lib/stack_one/models/shared/coursepaginated.rb +33 -0
- data/lib/stack_one/models/shared/courseresult.rb +27 -0
- data/lib/stack_one/models/shared/createcategoriesapimodel.rb +5 -2
- data/lib/stack_one/models/shared/createresultdataapimodel.rb +5 -2
- data/lib/stack_one/models/shared/customfielddefinition_value.rb +5 -1
- data/lib/stack_one/models/shared/customfielddefinitionresultapimodel.rb +27 -0
- data/lib/stack_one/models/shared/customfielddefinitionspaginated.rb +2 -2
- data/lib/stack_one/models/shared/department.rb +5 -2
- data/lib/stack_one/models/shared/document.rb +5 -2
- data/lib/stack_one/models/shared/employee.rb +11 -2
- data/lib/stack_one/models/shared/employee_company.rb +5 -2
- data/lib/stack_one/models/shared/employee_schemas_employment_type_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_ethnicity_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_gender_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_home_location_location_type_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_home_location_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_marital_status_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_national_identity_number_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_preferred_language_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_work_location_location_type_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_work_location_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_value.rb +0 -1
- data/lib/stack_one/models/shared/employeecustomfields.rb +2 -11
- data/lib/stack_one/models/shared/employment.rb +5 -2
- data/lib/stack_one/models/shared/employment_schemas_pay_frequency_value.rb +0 -1
- data/lib/stack_one/models/shared/employment_schemas_pay_period_value.rb +0 -1
- data/lib/stack_one/models/shared/employment_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/employment_value.rb +0 -1
- data/lib/stack_one/models/shared/field_type.rb +0 -1
- data/lib/stack_one/models/shared/home_location.rb +5 -2
- data/lib/stack_one/models/shared/hrisbatchdocumentuploadrequestdto.rb +24 -0
- data/lib/stack_one/models/shared/hrisbenefit_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +8 -2
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_home_location.rb +5 -2
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_national_identity_number.rb +27 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_ethnicity_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_gender_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_state_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_marital_status_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_national_identity_number_value.rb +21 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_preferred_language_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_state_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_type.rb +27 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_work_location.rb +5 -2
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_document_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/hrisdepartment.rb +5 -2
- data/lib/stack_one/models/shared/hrisdepartment_value.rb +0 -1
- data/lib/stack_one/models/shared/hrisdocumentapimodel.rb +8 -2
- data/lib/stack_one/models/shared/hrisdocumentapimodel_schemas_type_value.rb +0 -1
- data/lib/stack_one/models/shared/hrisdocumentapimodel_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/hrisdocumentapimodel_value.rb +0 -1
- data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto.rb +5 -2
- data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_file_format_value.rb +0 -1
- data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/hrisgroup.rb +5 -2
- data/lib/stack_one/models/shared/hrisgroup_value.rb +0 -1
- data/lib/stack_one/models/shared/hrislocation.rb +5 -2
- data/lib/stack_one/models/shared/hrislocation_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/hrislocation_value.rb +0 -1
- data/lib/stack_one/models/shared/iamgroup_value.rb +0 -1
- data/lib/stack_one/models/shared/iammfatypeenum_value.rb +0 -1
- data/lib/stack_one/models/shared/iampermission_value.rb +0 -1
- data/lib/stack_one/models/shared/iamresource_value.rb +0 -1
- data/lib/stack_one/models/shared/iamrole_value.rb +0 -1
- data/lib/stack_one/models/shared/iamuser.rb +5 -2
- data/lib/stack_one/models/shared/iamuser_avatar.rb +5 -2
- data/lib/stack_one/models/shared/iamuser_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/iamuser_value.rb +0 -1
- data/lib/stack_one/models/shared/internal.rb +0 -1
- data/lib/stack_one/models/shared/interview.rb +5 -2
- data/lib/stack_one/models/shared/interview_interview_stage.rb +5 -2
- data/lib/stack_one/models/shared/interview_value.rb +0 -1
- data/lib/stack_one/models/shared/interviewpart_value.rb +0 -1
- data/lib/stack_one/models/shared/interviewstage.rb +5 -2
- data/lib/stack_one/models/shared/job.rb +10 -4
- data/lib/stack_one/models/shared/job_confidential.rb +0 -1
- data/lib/stack_one/models/shared/job_value.rb +0 -1
- data/lib/stack_one/models/shared/jobcustomfields.rb +39 -0
- data/lib/stack_one/models/shared/jobposting.rb +5 -2
- data/lib/stack_one/models/shared/jobposting_content.rb +5 -2
- data/lib/stack_one/models/shared/jobposting_schemas_status_value.rb +0 -1
- data/lib/stack_one/models/shared/jobposting_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/jobposting_value.rb +0 -1
- data/lib/stack_one/models/shared/jobpostingcompensation_schemas_type_value.rb +0 -1
- data/lib/stack_one/models/shared/jobpostingcompensation_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/jobpostingcompensation_value.rb +0 -1
- data/lib/stack_one/models/shared/jobpostingcontentsection.rb +36 -0
- data/lib/stack_one/models/shared/jobpostingcontentsection_type.rb +27 -0
- data/lib/stack_one/models/shared/jobpostingcontentsection_value.rb +19 -0
- data/lib/stack_one/models/shared/{patchaccountdto.rb → label.rb} +1 -1
- data/lib/stack_one/models/shared/linkedaccount.rb +2 -2
- data/lib/stack_one/models/shared/linkedaccount_status.rb +0 -1
- data/lib/stack_one/models/shared/linkedaccountmeta_category.rb +0 -1
- data/lib/stack_one/models/shared/list.rb +5 -2
- data/lib/stack_one/models/shared/list_value.rb +0 -1
- data/lib/stack_one/models/shared/lmsbatchupsertcontentrequestdto.rb +24 -0
- data/lib/stack_one/models/shared/lmscreatecompletionrequestdto.rb +5 -11
- data/lib/stack_one/models/shared/lmscreatecompletionrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto.rb +5 -2
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb +5 -2
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/lmsuser.rb +8 -2
- data/lib/stack_one/models/shared/method.rb +0 -1
- data/lib/stack_one/models/shared/moveapplicationresult.rb +33 -0
- data/lib/stack_one/models/shared/note.rb +5 -2
- data/lib/stack_one/models/shared/note_value.rb +0 -1
- data/lib/stack_one/models/shared/offer.rb +5 -2
- data/lib/stack_one/models/shared/offer_value.rb +0 -1
- data/lib/stack_one/models/shared/overall_recommendation.rb +0 -1
- data/lib/stack_one/models/shared/patchaccountexternaldto.rb +51 -0
- data/lib/stack_one/models/shared/patchaccountexternaldto_credentials.rb +20 -0
- data/lib/stack_one/models/shared/patchaccountexternaldto_setup_information.rb +20 -0
- data/lib/stack_one/models/shared/phonenumber_type.rb +0 -1
- data/lib/stack_one/models/shared/question_value.rb +0 -1
- data/lib/stack_one/models/shared/rejectapplicationresult.rb +33 -0
- data/lib/stack_one/models/shared/rejectedreason.rb +5 -2
- data/lib/stack_one/models/shared/rejectedreason_value.rb +0 -1
- data/lib/stack_one/models/shared/result.rb +5 -5
- data/lib/stack_one/models/shared/scheduledinterview_interview_stage.rb +5 -2
- data/lib/stack_one/models/shared/scheduledinterview_value.rb +0 -1
- data/lib/stack_one/models/shared/secrets.rb +20 -0
- data/lib/stack_one/models/shared/skillresult.rb +27 -0
- data/lib/stack_one/models/shared/skills.rb +33 -0
- data/lib/stack_one/models/shared/skillspaginated.rb +30 -0
- data/lib/stack_one/models/shared/status.rb +14 -9
- data/lib/stack_one/models/shared/statusreason.rb +30 -0
- data/lib/stack_one/models/shared/timeoff_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/timeoff_value.rb +0 -1
- data/lib/stack_one/models/shared/unifieduploadrequestdto.rb +5 -2
- data/lib/stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/unifieduploadrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/value.rb +4 -9
- data/lib/stack_one/models/shared/work_location.rb +5 -2
- data/lib/stack_one/models/shared/workeligibility_document.rb +5 -2
- data/lib/stack_one/models/shared/workeligibility_schemas_document_value.rb +0 -1
- data/lib/stack_one/models/shared/workeligibility_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/workeligibility_value.rb +0 -1
- data/lib/stack_one/models/shared.rb +64 -36
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- metadata +96 -15
- data/lib/stack_one/models/shared/applicationcustomfields_value.rb +0 -23
- data/lib/stack_one/models/shared/campaign_status.rb +0 -27
- data/lib/stack_one/models/shared/candidatecustomfields_value.rb +0 -23
- data/lib/stack_one/models/shared/employeecustomfields_value.rb +0 -23
- data/lib/stack_one/models/shared/user.rb +0 -42
@@ -0,0 +1,30 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class HrisBatchUploadEmployeeDocumentRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :hris_batch_document_upload_request_dto, ::StackOne::Shared::HrisBatchDocumentUploadRequestDto, { 'request': { 'media_type': 'application/json' } }
|
16
|
+
|
17
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
18
|
+
# The account identifier
|
19
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
20
|
+
|
21
|
+
|
22
|
+
sig { params(hris_batch_document_upload_request_dto: ::StackOne::Shared::HrisBatchDocumentUploadRequestDto, id: ::String, x_account_id: ::String).void }
|
23
|
+
def initialize(hris_batch_document_upload_request_dto: nil, id: nil, x_account_id: nil)
|
24
|
+
@hris_batch_document_upload_request_dto = hris_batch_document_upload_request_dto
|
25
|
+
@id = id
|
26
|
+
@x_account_id = x_account_id
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class HrisBatchUploadEmployeeDocumentResponse < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# HTTP response content type for this operation
|
15
|
+
field :content_type, ::String
|
16
|
+
# Raw HTTP response; suitable for custom response parsing
|
17
|
+
field :raw_response, ::Faraday::Response
|
18
|
+
# HTTP response status code for this operation
|
19
|
+
field :status_code, ::Integer
|
20
|
+
# Batch operation accepted
|
21
|
+
field :batch_result_api_model, T.nilable(::StackOne::Shared::BatchResultApiModel)
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, batch_result_api_model: T.nilable(::StackOne::Shared::BatchResultApiModel)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, batch_result_api_model: nil)
|
26
|
+
@content_type = content_type
|
27
|
+
@raw_response = raw_response
|
28
|
+
@status_code = status_code
|
29
|
+
@batch_result_api_model = batch_result_api_model
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class HrisGetEmployeeEmploymentRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
|
+
|
17
|
+
field :sub_resource_id, ::String, { 'path_param': { 'field_name': 'subResourceId', 'style': 'simple', 'explode': false } }
|
18
|
+
# The account identifier
|
19
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
20
|
+
# The comma separated list of fields that will be expanded in the response
|
21
|
+
field :expand, T.nilable(::String), { 'query_param': { 'field_name': 'expand', 'style': 'form', 'explode': true } }
|
22
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
23
|
+
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
24
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
25
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
26
|
+
# Indicates that the raw request result is returned
|
27
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
28
|
+
|
29
|
+
|
30
|
+
sig { params(id: ::String, sub_resource_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 }
|
31
|
+
def initialize(id: nil, sub_resource_id: nil, x_account_id: nil, expand: nil, fields_: nil, proxy: nil, raw: nil)
|
32
|
+
@id = id
|
33
|
+
@sub_resource_id = sub_resource_id
|
34
|
+
@x_account_id = x_account_id
|
35
|
+
@expand = expand
|
36
|
+
@fields_ = fields_
|
37
|
+
@proxy = proxy
|
38
|
+
@raw = raw
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class HrisGetEmployeeEmploymentResponse < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# HTTP response content type for this operation
|
15
|
+
field :content_type, ::String
|
16
|
+
# Raw HTTP response; suitable for custom response parsing
|
17
|
+
field :raw_response, ::Faraday::Response
|
18
|
+
# HTTP response status code for this operation
|
19
|
+
field :status_code, ::Integer
|
20
|
+
# The Employee Employment with the given identifier was retrieved.
|
21
|
+
field :employment_result, T.nilable(::StackOne::Shared::EmploymentResult)
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, employment_result: T.nilable(::StackOne::Shared::EmploymentResult)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, employment_result: nil)
|
26
|
+
@content_type = content_type
|
27
|
+
@raw_response = raw_response
|
28
|
+
@status_code = status_code
|
29
|
+
@employment_result = employment_result
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
# Filter parameters that allow greater customisation of the list response
|
11
|
+
class HrisListEmployeeEmploymentsQueryParamFilter < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# Use a string with a date to only select results updated after that given date
|
15
|
+
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
|
16
|
+
|
17
|
+
|
18
|
+
sig { params(updated_after: T.nilable(::String)).void }
|
19
|
+
def initialize(updated_after: nil)
|
20
|
+
@updated_after = updated_after
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class HrisListEmployeeEmploymentsRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
|
+
# The account identifier
|
17
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
|
+
# The comma separated list of fields that will be expanded in the response
|
19
|
+
field :expand, T.nilable(::String), { 'query_param': { 'field_name': 'expand', 'style': 'form', 'explode': true } }
|
20
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
21
|
+
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
22
|
+
# Filter parameters that allow greater customisation of the list response
|
23
|
+
field :filter, T.nilable(::StackOne::Operations::HrisListEmployeeEmploymentsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
|
24
|
+
# The unified cursor
|
25
|
+
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
26
|
+
# The page number of the results to fetch
|
27
|
+
#
|
28
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
29
|
+
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
30
|
+
# The number of results per page
|
31
|
+
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
32
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
33
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
34
|
+
# Indicates that the raw request result is returned
|
35
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
36
|
+
# Use a string with a date to only select results updated after that given date
|
37
|
+
#
|
38
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
39
|
+
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
40
|
+
|
41
|
+
|
42
|
+
sig { params(id: ::String, x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::HrisListEmployeeEmploymentsQueryParamFilter), 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 }
|
43
|
+
def initialize(id: nil, x_account_id: nil, expand: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
44
|
+
@id = id
|
45
|
+
@x_account_id = x_account_id
|
46
|
+
@expand = expand
|
47
|
+
@fields_ = fields_
|
48
|
+
@filter = filter
|
49
|
+
@next_ = next_
|
50
|
+
@page = page
|
51
|
+
@page_size = page_size
|
52
|
+
@proxy = proxy
|
53
|
+
@raw = raw
|
54
|
+
@updated_after = updated_after
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class HrisListEmployeeEmploymentsResponse < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# HTTP response content type for this operation
|
15
|
+
field :content_type, ::String
|
16
|
+
# Raw HTTP response; suitable for custom response parsing
|
17
|
+
field :raw_response, ::Faraday::Response
|
18
|
+
# HTTP response status code for this operation
|
19
|
+
field :status_code, ::Integer
|
20
|
+
# The list of Employee Employments was retrieved.
|
21
|
+
field :employments_paginated, T.nilable(::StackOne::Shared::EmploymentsPaginated)
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, employments_paginated: T.nilable(::StackOne::Shared::EmploymentsPaginated)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, employments_paginated: nil)
|
26
|
+
@content_type = content_type
|
27
|
+
@raw_response = raw_response
|
28
|
+
@status_code = status_code
|
29
|
+
@employments_paginated = employments_paginated
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class LmsBatchUpsertContentRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :lms_batch_upsert_content_request_dto, ::StackOne::Shared::LmsBatchUpsertContentRequestDto, { 'request': { 'media_type': 'application/json' } }
|
16
|
+
# The account identifier
|
17
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(lms_batch_upsert_content_request_dto: ::StackOne::Shared::LmsBatchUpsertContentRequestDto, x_account_id: ::String).void }
|
21
|
+
def initialize(lms_batch_upsert_content_request_dto: nil, x_account_id: nil)
|
22
|
+
@lms_batch_upsert_content_request_dto = lms_batch_upsert_content_request_dto
|
23
|
+
@x_account_id = x_account_id
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class LmsBatchUpsertContentResponse < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# HTTP response content type for this operation
|
15
|
+
field :content_type, ::String
|
16
|
+
# Raw HTTP response; suitable for custom response parsing
|
17
|
+
field :raw_response, ::Faraday::Response
|
18
|
+
# HTTP response status code for this operation
|
19
|
+
field :status_code, ::Integer
|
20
|
+
# Batch operation accepted
|
21
|
+
field :batch_result_api_model, T.nilable(::StackOne::Shared::BatchResultApiModel)
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, batch_result_api_model: T.nilable(::StackOne::Shared::BatchResultApiModel)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, batch_result_api_model: nil)
|
26
|
+
@content_type = content_type
|
27
|
+
@raw_response = raw_response
|
28
|
+
@status_code = status_code
|
29
|
+
@batch_result_api_model = batch_result_api_model
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -8,17 +8,20 @@ module StackOne
|
|
8
8
|
module Operations
|
9
9
|
|
10
10
|
|
11
|
-
class
|
11
|
+
class LmsCreateUserCompletionRequest < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
|
+
|
15
17
|
field :lms_create_completion_request_dto, ::StackOne::Shared::LmsCreateCompletionRequestDto, { 'request': { 'media_type': 'application/json' } }
|
16
18
|
# The account identifier
|
17
19
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
20
|
|
19
21
|
|
20
|
-
sig { params(lms_create_completion_request_dto: ::StackOne::Shared::LmsCreateCompletionRequestDto, x_account_id: ::String).void }
|
21
|
-
def initialize(lms_create_completion_request_dto: nil, x_account_id: nil)
|
22
|
+
sig { params(id: ::String, lms_create_completion_request_dto: ::StackOne::Shared::LmsCreateCompletionRequestDto, x_account_id: ::String).void }
|
23
|
+
def initialize(id: nil, lms_create_completion_request_dto: nil, x_account_id: nil)
|
24
|
+
@id = id
|
22
25
|
@lms_create_completion_request_dto = lms_create_completion_request_dto
|
23
26
|
@x_account_id = x_account_id
|
24
27
|
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class LmsGetAssignmentRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
|
+
# The account identifier
|
17
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
|
+
# The comma separated list of fields to return in the response (if empty, all fields are returned)
|
19
|
+
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
21
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
22
|
+
# Indicates that the raw request result is returned
|
23
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
24
|
+
|
25
|
+
|
26
|
+
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 }
|
27
|
+
def initialize(id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
|
28
|
+
@id = id
|
29
|
+
@x_account_id = x_account_id
|
30
|
+
@fields_ = fields_
|
31
|
+
@proxy = proxy
|
32
|
+
@raw = raw
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class LmsGetAssignmentResponse < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# HTTP response content type for this operation
|
15
|
+
field :content_type, ::String
|
16
|
+
# Raw HTTP response; suitable for custom response parsing
|
17
|
+
field :raw_response, ::Faraday::Response
|
18
|
+
# HTTP response status code for this operation
|
19
|
+
field :status_code, ::Integer
|
20
|
+
# The assignment with the given identifier was retrieved.
|
21
|
+
field :assignment_result, T.nilable(::StackOne::Shared::AssignmentResult)
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, assignment_result: T.nilable(::StackOne::Shared::AssignmentResult)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, assignment_result: nil)
|
26
|
+
@content_type = content_type
|
27
|
+
@raw_response = raw_response
|
28
|
+
@status_code = status_code
|
29
|
+
@assignment_result = assignment_result
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class LmsGetCourseRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
|
+
# The account identifier
|
17
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
|
+
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
21
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
22
|
+
# Indicates that the raw request result is returned
|
23
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
24
|
+
|
25
|
+
|
26
|
+
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 }
|
27
|
+
def initialize(id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
|
28
|
+
@id = id
|
29
|
+
@x_account_id = x_account_id
|
30
|
+
@fields_ = fields_
|
31
|
+
@proxy = proxy
|
32
|
+
@raw = raw
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class LmsGetCourseResponse < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# HTTP response content type for this operation
|
15
|
+
field :content_type, ::String
|
16
|
+
# Raw HTTP response; suitable for custom response parsing
|
17
|
+
field :raw_response, ::Faraday::Response
|
18
|
+
# HTTP response status code for this operation
|
19
|
+
field :status_code, ::Integer
|
20
|
+
# The course with the given identifier was retrieved.
|
21
|
+
field :course_result, T.nilable(::StackOne::Shared::CourseResult)
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, course_result: T.nilable(::StackOne::Shared::CourseResult)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, course_result: nil)
|
26
|
+
@content_type = content_type
|
27
|
+
@raw_response = raw_response
|
28
|
+
@status_code = status_code
|
29
|
+
@course_result = course_result
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class LmsGetSkillRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
|
+
# The account identifier
|
17
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
|
+
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
21
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
22
|
+
# Indicates that the raw request result is returned
|
23
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
24
|
+
|
25
|
+
|
26
|
+
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 }
|
27
|
+
def initialize(id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
|
28
|
+
@id = id
|
29
|
+
@x_account_id = x_account_id
|
30
|
+
@fields_ = fields_
|
31
|
+
@proxy = proxy
|
32
|
+
@raw = raw
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class LmsGetSkillResponse < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# HTTP response content type for this operation
|
15
|
+
field :content_type, ::String
|
16
|
+
# Raw HTTP response; suitable for custom response parsing
|
17
|
+
field :raw_response, ::Faraday::Response
|
18
|
+
# HTTP response status code for this operation
|
19
|
+
field :status_code, ::Integer
|
20
|
+
# The skill with the given identifier was retrieved.
|
21
|
+
field :skill_result, T.nilable(::StackOne::Shared::SkillResult)
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, skill_result: T.nilable(::StackOne::Shared::SkillResult)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, skill_result: nil)
|
26
|
+
@content_type = content_type
|
27
|
+
@raw_response = raw_response
|
28
|
+
@status_code = status_code
|
29
|
+
@skill_result = skill_result
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class LmsGetUserAssignmentRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
|
+
|
17
|
+
field :sub_resource_id, ::String, { 'path_param': { 'field_name': 'subResourceId', 'style': 'simple', 'explode': false } }
|
18
|
+
# The account identifier
|
19
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
20
|
+
# The comma separated list of fields to return in the response (if empty, all fields are returned)
|
21
|
+
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
22
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
23
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
24
|
+
# Indicates that the raw request result is returned
|
25
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
26
|
+
|
27
|
+
|
28
|
+
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 }
|
29
|
+
def initialize(id: nil, sub_resource_id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
|
30
|
+
@id = id
|
31
|
+
@sub_resource_id = sub_resource_id
|
32
|
+
@x_account_id = x_account_id
|
33
|
+
@fields_ = fields_
|
34
|
+
@proxy = proxy
|
35
|
+
@raw = raw
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class LmsGetUserAssignmentResponse < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# HTTP response content type for this operation
|
15
|
+
field :content_type, ::String
|
16
|
+
# Raw HTTP response; suitable for custom response parsing
|
17
|
+
field :raw_response, ::Faraday::Response
|
18
|
+
# HTTP response status code for this operation
|
19
|
+
field :status_code, ::Integer
|
20
|
+
# The assignment with the given identifier was retrieved.
|
21
|
+
field :assignment_result, T.nilable(::StackOne::Shared::AssignmentResult)
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, assignment_result: T.nilable(::StackOne::Shared::AssignmentResult)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, assignment_result: nil)
|
26
|
+
@content_type = content_type
|
27
|
+
@raw_response = raw_response
|
28
|
+
@status_code = status_code
|
29
|
+
@assignment_result = assignment_result
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|