stackone_client 0.2.1 → 0.2.3
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 +5 -5
- data/lib/stack_one/ats.rb +1400 -0
- data/lib/stack_one/connect_sessions.rb +2 -2
- data/lib/stack_one/connectors.rb +2 -2
- data/lib/stack_one/crm.rb +332 -0
- data/lib/stack_one/hris.rb +317 -19
- data/lib/stack_one/marketing.rb +599 -0
- data/lib/stack_one/models/operations/ats_create_application_request.rb +27 -0
- data/lib/stack_one/models/operations/ats_create_application_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_create_candidate_note_request.rb +30 -0
- data/lib/stack_one/models/operations/ats_create_candidate_note_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_create_candidate_request.rb +27 -0
- data/lib/stack_one/models/operations/ats_create_candidate_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_create_offer_request.rb +27 -0
- data/lib/stack_one/models/operations/ats_create_offer_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_get_application_document_request.rb +58 -0
- data/lib/stack_one/models/operations/ats_get_application_document_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_get_application_offer_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_get_application_offer_request.rb +58 -0
- data/lib/stack_one/models/operations/ats_get_application_offer_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_get_application_request.rb +58 -0
- data/lib/stack_one/models/operations/ats_get_application_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_get_application_scorecard_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_get_application_scorecard_request.rb +58 -0
- data/lib/stack_one/models/operations/ats_get_application_scorecard_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_get_candidate_note_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_get_candidate_note_request.rb +58 -0
- data/lib/stack_one/models/operations/ats_get_candidate_note_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_get_candidate_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_get_candidate_request.rb +55 -0
- data/lib/stack_one/models/operations/ats_get_candidate_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_get_department_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_get_department_request.rb +55 -0
- data/lib/stack_one/models/operations/ats_get_department_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_get_interview_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_get_interview_request.rb +55 -0
- data/lib/stack_one/models/operations/ats_get_interview_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_get_interview_stage_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_get_interview_stage_request.rb +55 -0
- data/lib/stack_one/models/operations/ats_get_interview_stage_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_get_job_posting_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_get_job_posting_request.rb +58 -0
- data/lib/stack_one/models/operations/ats_get_job_posting_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_get_job_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_get_job_request.rb +58 -0
- data/lib/stack_one/models/operations/ats_get_job_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_get_location_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_get_location_request.rb +55 -0
- data/lib/stack_one/models/operations/ats_get_location_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_get_offer_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_get_offer_request.rb +55 -0
- data/lib/stack_one/models/operations/ats_get_offer_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_get_rejected_reason_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_get_rejected_reason_request.rb +55 -0
- data/lib/stack_one/models/operations/ats_get_rejected_reason_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_get_user_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_get_user_request.rb +55 -0
- data/lib/stack_one/models/operations/ats_get_user_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_list_application_documents_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +55 -0
- data/lib/stack_one/models/operations/ats_list_application_documents_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_list_application_scorecards_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_list_application_scorecards_request.rb +55 -0
- data/lib/stack_one/models/operations/ats_list_application_scorecards_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_list_applications_offers_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_list_applications_offers_request.rb +55 -0
- data/lib/stack_one/models/operations/ats_list_applications_offers_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_list_applications_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_list_applications_request.rb +55 -0
- data/lib/stack_one/models/operations/ats_list_applications_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_list_candidate_notes_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_list_candidate_notes_request.rb +55 -0
- data/lib/stack_one/models/operations/ats_list_candidate_notes_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_list_candidates_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_list_candidates_request.rb +52 -0
- data/lib/stack_one/models/operations/ats_list_candidates_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_list_departments_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_list_departments_request.rb +52 -0
- data/lib/stack_one/models/operations/ats_list_departments_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_list_interview_stages_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_list_interview_stages_request.rb +52 -0
- data/lib/stack_one/models/operations/ats_list_interview_stages_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_list_interviews_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_list_interviews_request.rb +52 -0
- data/lib/stack_one/models/operations/ats_list_interviews_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_list_job_postings_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_list_job_postings_request.rb +55 -0
- data/lib/stack_one/models/operations/ats_list_job_postings_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_list_jobs_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_list_jobs_request.rb +55 -0
- data/lib/stack_one/models/operations/ats_list_jobs_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_list_locations_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_list_locations_request.rb +52 -0
- data/lib/stack_one/models/operations/ats_list_locations_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_list_offers_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_list_offers_request.rb +52 -0
- data/lib/stack_one/models/operations/ats_list_offers_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_list_rejected_reasons_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb +52 -0
- data/lib/stack_one/models/operations/ats_list_rejected_reasons_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_list_users_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/ats_list_users_request.rb +52 -0
- data/lib/stack_one/models/operations/ats_list_users_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_update_application_request.rb +30 -0
- data/lib/stack_one/models/operations/ats_update_application_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_update_candidate_request.rb +30 -0
- data/lib/stack_one/models/operations/ats_update_candidate_response.rb +33 -0
- data/lib/stack_one/models/operations/crm_create_contact_request.rb +27 -0
- data/lib/stack_one/models/operations/crm_create_contact_response.rb +33 -0
- data/lib/stack_one/models/operations/crm_get_account_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/crm_get_account_request.rb +50 -0
- data/lib/stack_one/models/operations/crm_get_account_response.rb +33 -0
- data/lib/stack_one/models/operations/crm_get_contact_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/crm_get_contact_request.rb +50 -0
- data/lib/stack_one/models/operations/crm_get_contact_response.rb +33 -0
- data/lib/stack_one/models/operations/crm_get_list_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/crm_get_list_request.rb +50 -0
- data/lib/stack_one/models/operations/crm_get_list_response.rb +33 -0
- data/lib/stack_one/models/operations/crm_list_accounts_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/crm_list_accounts_request.rb +47 -0
- data/lib/stack_one/models/operations/crm_list_accounts_response.rb +33 -0
- data/lib/stack_one/models/operations/crm_list_contacts_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/crm_list_contacts_request.rb +47 -0
- data/lib/stack_one/models/operations/crm_list_contacts_response.rb +33 -0
- data/lib/stack_one/models/operations/crm_list_lists_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/crm_list_lists_request.rb +47 -0
- data/lib/stack_one/models/operations/crm_list_lists_response.rb +33 -0
- data/lib/stack_one/models/operations/crm_update_contact_request.rb +30 -0
- data/lib/stack_one/models/operations/crm_update_contact_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_create_employee_document_request.rb +30 -0
- data/lib/stack_one/models/operations/hris_create_employee_document_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_request.rb +30 -0
- data/lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_get_benefit_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/hris_get_benefit_request.rb +50 -0
- data/lib/stack_one/models/operations/hris_get_benefit_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_get_company_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/hris_get_company_request.rb +3 -3
- data/lib/stack_one/models/operations/hris_get_employee_document_queryparam_proxy.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_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/hris_get_employee_request.rb +3 -3
- data/lib/stack_one/models/operations/hris_get_employees_time_off_request_queryparam_proxy.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_work_eligibility_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_request.rb +53 -0
- data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_get_employment_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employment_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_location_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_location_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_time_off_request_queryparam_proxy.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_list_benefits_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/hris_list_benefits_request.rb +47 -0
- data/lib/stack_one/models/operations/hris_list_benefits_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_list_companies_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_companies_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_documents_queryparam_proxy.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_time_off_requests_queryparam_proxy.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_work_eligibility_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb +50 -0
- data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_list_employees_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employees_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employments_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employments_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_locations_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_locations_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_time_off_requests_queryparam_proxy.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_update_employee_work_eligibility_request_request.rb +33 -0
- data/lib/stack_one/models/operations/hris_update_employee_work_eligibility_request_response.rb +30 -0
- data/lib/stack_one/models/operations/marketing_create_email_template_request.rb +27 -0
- data/lib/stack_one/models/operations/marketing_create_email_template_response.rb +33 -0
- data/lib/stack_one/models/operations/marketing_create_omni_channel_template_request.rb +27 -0
- data/lib/stack_one/models/operations/marketing_create_omni_channel_template_response.rb +33 -0
- data/lib/stack_one/models/operations/marketing_create_push_template_request.rb +27 -0
- data/lib/stack_one/models/operations/marketing_create_push_template_response.rb +33 -0
- data/lib/stack_one/models/operations/marketing_get_campaign_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/marketing_get_campaign_request.rb +50 -0
- data/lib/stack_one/models/operations/marketing_get_campaign_response.rb +33 -0
- data/lib/stack_one/models/operations/marketing_get_email_template_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/marketing_get_email_template_request.rb +50 -0
- data/lib/stack_one/models/operations/marketing_get_email_template_response.rb +33 -0
- data/lib/stack_one/models/operations/marketing_get_omni_channel_template_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/marketing_get_omni_channel_template_request.rb +50 -0
- data/lib/stack_one/models/operations/marketing_get_omni_channel_template_response.rb +33 -0
- data/lib/stack_one/models/operations/marketing_get_push_template_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/marketing_get_push_template_request.rb +50 -0
- data/lib/stack_one/models/operations/marketing_get_push_template_response.rb +33 -0
- data/lib/stack_one/models/operations/marketing_list_campaigns_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/marketing_list_campaigns_request.rb +47 -0
- data/lib/stack_one/models/operations/marketing_list_campaigns_response.rb +33 -0
- data/lib/stack_one/models/operations/marketing_list_email_templates_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/marketing_list_email_templates_request.rb +47 -0
- data/lib/stack_one/models/operations/marketing_list_email_templates_response.rb +33 -0
- data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_request.rb +47 -0
- data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_response.rb +33 -0
- data/lib/stack_one/models/operations/marketing_list_push_templates_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/marketing_list_push_templates_request.rb +47 -0
- data/lib/stack_one/models/operations/marketing_list_push_templates_response.rb +33 -0
- data/lib/stack_one/models/operations/marketing_update_email_template_request.rb +30 -0
- data/lib/stack_one/models/operations/marketing_update_email_template_response.rb +33 -0
- data/lib/stack_one/models/operations/marketing_update_omni_channel_template_request.rb +30 -0
- data/lib/stack_one/models/operations/marketing_update_omni_channel_template_response.rb +33 -0
- data/lib/stack_one/models/operations/marketing_update_push_template_request.rb +30 -0
- data/lib/stack_one/models/operations/marketing_update_push_template_response.rb +33 -0
- data/lib/stack_one/models/operations/proxy.rb +1 -1
- data/lib/stack_one/models/operations/queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations.rb +180 -2
- data/lib/stack_one/models/shared/account.rb +54 -0
- data/lib/stack_one/models/shared/accountaddress.rb +42 -0
- data/lib/stack_one/models/shared/accountaddress_schemas_value.rb +265 -0
- data/lib/stack_one/models/shared/accountaddress_value.rb +20 -0
- data/lib/stack_one/models/shared/accountresult.rb +27 -0
- data/lib/stack_one/models/shared/accountspaginated.rb +33 -0
- data/lib/stack_one/models/shared/answer.rb +30 -0
- data/lib/stack_one/models/shared/answer_value.rb +26 -0
- data/lib/stack_one/models/shared/application.rb +77 -0
- data/lib/stack_one/models/shared/application_candidate.rb +30 -0
- data/lib/stack_one/models/shared/application_interview_stage.rb +36 -0
- data/lib/stack_one/models/shared/application_status.rb +27 -0
- data/lib/stack_one/models/shared/application_value.rb +32 -0
- data/lib/stack_one/models/shared/applicationattachment.rb +33 -0
- data/lib/stack_one/models/shared/applicationattachment_value.rb +19 -0
- data/lib/stack_one/models/shared/applicationresult.rb +27 -0
- data/lib/stack_one/models/shared/applicationspaginated.rb +33 -0
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto.rb +44 -0
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto_application_status.rb +27 -0
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb +30 -0
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto_value.rb +32 -0
- data/lib/stack_one/models/shared/atscreatecandidaterequestdto.rb +47 -0
- data/lib/stack_one/models/shared/atscreatenotesrequestdto.rb +30 -0
- data/lib/stack_one/models/shared/atscreatenotesrequestdto_value.rb +19 -0
- data/lib/stack_one/models/shared/atscreateofferrequestdto.rb +39 -0
- data/lib/stack_one/models/shared/atscreateofferrequestdto_value.rb +25 -0
- data/lib/stack_one/models/shared/atslocation.rb +27 -0
- data/lib/stack_one/models/shared/atslocationresult.rb +27 -0
- data/lib/stack_one/models/shared/atslocationspaginated.rb +33 -0
- data/lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb +47 -0
- data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_application_status.rb +27 -0
- data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_candidate.rb +30 -0
- data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_value.rb +32 -0
- data/lib/stack_one/models/shared/atsupdatecandidatesrequestdto.rb +50 -0
- data/lib/stack_one/models/shared/benefit_type.rb +27 -0
- data/lib/stack_one/models/shared/campaign.rb +63 -0
- data/lib/stack_one/models/shared/campaign_schemas_value.rb +20 -0
- data/lib/stack_one/models/shared/campaign_value.rb +22 -0
- data/lib/stack_one/models/shared/campaignresult.rb +27 -0
- data/lib/stack_one/models/shared/campaignspaginated.rb +33 -0
- data/lib/stack_one/models/shared/candidate.rb +68 -0
- data/lib/stack_one/models/shared/candidateemail.rb +27 -0
- data/lib/stack_one/models/shared/candidateresult.rb +27 -0
- data/lib/stack_one/models/shared/candidatespaginated.rb +33 -0
- data/lib/stack_one/models/shared/categories.rb +1 -0
- data/lib/stack_one/models/shared/category.rb +1 -0
- data/lib/stack_one/models/shared/channelsenum.rb +27 -0
- data/lib/stack_one/models/shared/company.rb +3 -3
- data/lib/stack_one/models/shared/confidential.rb +19 -0
- data/lib/stack_one/models/shared/connectsessioncreate_categories.rb +1 -0
- data/lib/stack_one/models/shared/connectsessiontoken_categories.rb +1 -0
- data/lib/stack_one/models/shared/contact.rb +51 -0
- data/lib/stack_one/models/shared/contactresult.rb +27 -0
- data/lib/stack_one/models/shared/contactspaginated.rb +33 -0
- data/lib/stack_one/models/shared/content_type.rb +27 -0
- data/lib/stack_one/models/shared/country.rb +4 -4
- data/lib/stack_one/models/shared/countrycodeenum.rb +2 -2
- data/lib/stack_one/models/shared/countrycodeenum_value.rb +266 -0
- data/lib/stack_one/models/shared/createcandidatenoteresult.rb +30 -0
- data/lib/stack_one/models/shared/createdocumentresult.rb +30 -0
- data/lib/stack_one/models/shared/createofferresult.rb +30 -0
- data/lib/stack_one/models/shared/createresult.rb +30 -0
- data/lib/stack_one/models/shared/createtemplateresult.rb +30 -0
- data/lib/stack_one/models/shared/createworkeligibilityresult.rb +30 -0
- data/lib/stack_one/models/shared/crmcreatecontactrequestdto.rb +42 -0
- data/lib/stack_one/models/shared/department.rb +27 -0
- data/lib/stack_one/models/shared/departmentresult.rb +27 -0
- data/lib/stack_one/models/shared/departmentspaginated.rb +33 -0
- data/lib/stack_one/models/shared/documentapimodel.rb +2 -2
- data/lib/stack_one/models/shared/documentapimodel_type.rb +27 -0
- data/lib/stack_one/models/shared/documentapimodel_value.rb +7 -14
- data/lib/stack_one/models/shared/emailmessages.rb +33 -0
- data/lib/stack_one/models/shared/emailmessages_value.rb +20 -0
- data/lib/stack_one/models/shared/employee.rb +8 -5
- data/lib/stack_one/models/shared/employee_company.rb +36 -0
- data/lib/stack_one/models/shared/employee_country.rb +2 -2
- data/lib/stack_one/models/shared/employee_location_type.rb +4 -4
- data/lib/stack_one/models/shared/employee_schemas_country.rb +2 -2
- data/lib/stack_one/models/shared/employee_schemas_employment_type_value.rb +1 -3
- data/lib/stack_one/models/shared/employee_schemas_home_location_location_type_value.rb +1 -1
- data/lib/stack_one/models/shared/employee_schemas_location_type.rb +4 -4
- data/lib/stack_one/models/shared/employee_schemas_work_location_location_type_value.rb +1 -1
- data/lib/stack_one/models/shared/employment_employment_type.rb +2 -2
- data/lib/stack_one/models/shared/employment_schemas_pay_frequency_value.rb +1 -3
- data/lib/stack_one/models/shared/employment_schemas_pay_period_value.rb +2 -1
- data/lib/stack_one/models/shared/employment_schemas_value.rb +1 -3
- data/lib/stack_one/models/shared/employment_type.rb +2 -2
- data/lib/stack_one/models/shared/field.rb +36 -0
- data/lib/stack_one/models/shared/field_type.rb +29 -0
- data/lib/stack_one/models/shared/fileformatenum_value.rb +1203 -11
- data/lib/stack_one/models/shared/home_location.rb +3 -3
- data/lib/stack_one/models/shared/hrisbenefit.rb +42 -0
- data/lib/stack_one/models/shared/hrisbenefit_value.rb +22 -0
- data/lib/stack_one/models/shared/hrisbenefitresult.rb +27 -0
- data/lib/stack_one/models/shared/hrisbenefitspaginated.rb +33 -0
- data/lib/stack_one/models/shared/hriscreatedocumentrequestdto.rb +33 -0
- data/lib/stack_one/models/shared/hriscreatedocumentrequestdto_type.rb +27 -0
- data/lib/stack_one/models/shared/hriscreatedocumentrequestdto_value.rb +28 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +5 -2
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_employment_type.rb +2 -2
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb +1 -3
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto.rb +2 -2
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_schemas_value.rb +8 -0
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_status.rb +27 -0
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_value.rb +3 -0
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto.rb +42 -0
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_value.rb +22 -0
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_type.rb +27 -0
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_value.rb +266 -0
- data/lib/stack_one/models/shared/hrislocation.rb +3 -3
- data/lib/stack_one/models/shared/hrislocation_country.rb +27 -0
- data/lib/stack_one/models/shared/hrislocation_location_type.rb +27 -0
- data/lib/stack_one/models/shared/hrislocation_schemas_value.rb +1 -1
- data/lib/stack_one/models/shared/internal.rb +19 -0
- data/lib/stack_one/models/shared/interview.rb +60 -0
- data/lib/stack_one/models/shared/interview_interview_stage.rb +36 -0
- data/lib/stack_one/models/shared/interview_status.rb +27 -0
- data/lib/stack_one/models/shared/interview_value.rb +23 -0
- data/lib/stack_one/models/shared/interviewer.rb +36 -0
- data/lib/stack_one/models/shared/interviewpart.rb +39 -0
- data/lib/stack_one/models/shared/interviewspaginated.rb +33 -0
- data/lib/stack_one/models/shared/interviewsresult.rb +27 -0
- data/lib/stack_one/models/shared/interviewstage.rb +36 -0
- data/lib/stack_one/models/shared/interviewstageresult.rb +27 -0
- data/lib/stack_one/models/shared/interviewstagespaginated.rb +33 -0
- data/lib/stack_one/models/shared/issued_by.rb +27 -0
- data/lib/stack_one/models/shared/job.rb +57 -0
- data/lib/stack_one/models/shared/{response.rb → job_schemas_status.rb} +1 -1
- data/lib/stack_one/models/shared/job_status.rb +27 -0
- data/lib/stack_one/models/shared/job_value.rb +25 -0
- data/lib/stack_one/models/shared/jobhiringteam.rb +36 -0
- data/lib/stack_one/models/shared/jobposting.rb +66 -0
- data/lib/stack_one/models/shared/jobposting_content.rb +27 -0
- data/lib/stack_one/models/shared/jobposting_employment_contract_type.rb +27 -0
- data/lib/stack_one/models/shared/jobposting_employment_type.rb +27 -0
- data/lib/stack_one/models/shared/jobposting_schemas_status_value.rb +22 -0
- data/lib/stack_one/models/shared/jobposting_schemas_value.rb +33 -0
- data/lib/stack_one/models/shared/jobposting_status.rb +27 -0
- data/lib/stack_one/models/shared/jobposting_value.rb +21 -0
- data/lib/stack_one/models/shared/jobpostingcompensation.rb +45 -0
- data/lib/stack_one/models/shared/jobpostingcompensation_pay_frequency.rb +27 -0
- data/lib/stack_one/models/shared/jobpostingcompensation_pay_period.rb +27 -0
- data/lib/stack_one/models/shared/jobpostingcompensation_schemas_type_value.rb +24 -0
- data/lib/stack_one/models/shared/jobpostingcompensation_schemas_value.rb +27 -0
- data/lib/stack_one/models/shared/jobpostingcompensation_type.rb +27 -0
- data/lib/stack_one/models/shared/jobpostingcompensation_value.rb +31 -0
- data/lib/stack_one/models/shared/jobpostinglocation.rb +27 -0
- data/lib/stack_one/models/shared/jobpostingquestionnaire.rb +33 -0
- data/lib/stack_one/models/shared/jobpostingresult.rb +27 -0
- data/lib/stack_one/models/shared/jobpostingspaginated.rb +33 -0
- data/lib/stack_one/models/shared/jobresult.rb +27 -0
- data/lib/stack_one/models/shared/jobspaginated.rb +33 -0
- data/lib/stack_one/models/shared/linkedaccountmeta_category.rb +1 -0
- data/lib/stack_one/models/shared/list.rb +39 -0
- data/lib/stack_one/models/shared/list_type.rb +27 -0
- data/lib/stack_one/models/shared/list_value.rb +20 -0
- data/lib/stack_one/models/shared/listresult.rb +27 -0
- data/lib/stack_one/models/shared/listspaginated.rb +33 -0
- data/lib/stack_one/models/shared/location_type.rb +4 -4
- data/lib/stack_one/models/shared/marketingcreateemailtemplaterequestdto.rb +33 -0
- data/lib/stack_one/models/shared/marketingcreatepushtemplaterequestdto.rb +33 -0
- data/lib/stack_one/models/shared/marketingcreatetemplaterequestdto.rb +33 -0
- data/lib/stack_one/models/shared/message.rb +33 -0
- data/lib/stack_one/models/shared/message_content.rb +36 -0
- data/lib/stack_one/models/shared/message_message_type.rb +27 -0
- data/lib/stack_one/models/shared/message_type.rb +27 -0
- data/lib/stack_one/models/shared/message_value.rb +20 -0
- data/lib/stack_one/models/shared/note.rb +42 -0
- data/lib/stack_one/models/shared/note_value.rb +19 -0
- data/lib/stack_one/models/shared/note_visibility.rb +27 -0
- data/lib/stack_one/models/shared/notecontentapimodel.rb +24 -0
- data/lib/stack_one/models/shared/noteresult.rb +27 -0
- data/lib/stack_one/models/shared/notespaginated.rb +33 -0
- data/lib/stack_one/models/shared/offer.rb +48 -0
- data/lib/stack_one/models/shared/offer_offer_status.rb +27 -0
- data/lib/stack_one/models/shared/offer_status.rb +27 -0
- data/lib/stack_one/models/shared/offer_value.rb +25 -0
- data/lib/stack_one/models/shared/offerhistory.rb +36 -0
- data/lib/stack_one/models/shared/offerspaginated.rb +33 -0
- data/lib/stack_one/models/shared/offersresult.rb +27 -0
- data/lib/stack_one/models/shared/overall_recommendation.rb +23 -0
- data/lib/stack_one/models/shared/pay_frequency.rb +2 -2
- data/lib/stack_one/models/shared/pay_period.rb +2 -2
- data/lib/stack_one/models/shared/phonenumber.rb +27 -0
- data/lib/stack_one/models/shared/phonenumber_type.rb +23 -0
- data/lib/stack_one/models/shared/pushmessages.rb +33 -0
- data/lib/stack_one/models/shared/pushmessages_message_content.rb +24 -0
- data/lib/stack_one/models/shared/pushmessages_message_type.rb +27 -0
- data/lib/stack_one/models/shared/pushmessages_value.rb +20 -0
- data/lib/stack_one/models/shared/question.rb +39 -0
- data/lib/stack_one/models/shared/question_type.rb +27 -0
- data/lib/stack_one/models/shared/question_value.rb +26 -0
- data/lib/stack_one/models/shared/questionmultiplechoiceanswers.rb +27 -0
- data/lib/stack_one/models/shared/questionnaire.rb +27 -0
- data/lib/stack_one/models/shared/rawresponse.rb +2 -2
- data/lib/stack_one/models/shared/rejected_reason_type.rb +27 -0
- data/lib/stack_one/models/shared/rejectedreason.rb +33 -0
- data/lib/stack_one/models/shared/rejectedreason_value.rb +22 -0
- data/lib/stack_one/models/shared/rejectedreasonresult.rb +27 -0
- data/lib/stack_one/models/shared/rejectedreasonspaginated.rb +33 -0
- data/lib/stack_one/models/shared/resultlink.rb +27 -0
- data/lib/stack_one/models/shared/schedule_type.rb +27 -0
- data/lib/stack_one/models/shared/scorecard.rb +51 -0
- data/lib/stack_one/models/shared/scorecardsection.rb +30 -0
- data/lib/stack_one/models/shared/scorecardspaginated.rb +33 -0
- data/lib/stack_one/models/shared/sociallink.rb +27 -0
- data/lib/stack_one/models/shared/status.rb +5 -5
- data/lib/stack_one/models/shared/template.rb +36 -0
- data/lib/stack_one/models/shared/templateresult.rb +27 -0
- data/lib/stack_one/models/shared/templatespaginated.rb +33 -0
- data/lib/stack_one/models/shared/timeoff_schemas_value.rb +8 -0
- data/lib/stack_one/models/shared/timeoff_value.rb +3 -0
- data/lib/stack_one/models/shared/type.rb +5 -5
- data/lib/stack_one/models/shared/updateresult.rb +30 -0
- data/lib/stack_one/models/shared/user.rb +39 -0
- data/lib/stack_one/models/shared/userresult.rb +27 -0
- data/lib/stack_one/models/shared/userspaginated.rb +33 -0
- data/lib/stack_one/models/shared/value.rb +7 -249
- data/lib/stack_one/models/shared/visibility.rb +27 -0
- data/lib/stack_one/models/shared/work_location.rb +3 -3
- data/lib/stack_one/models/shared/workeligibility.rb +8 -5
- data/lib/stack_one/models/shared/workeligibility_document.rb +39 -0
- data/lib/stack_one/models/shared/workeligibility_issued_by.rb +27 -0
- data/lib/stack_one/models/shared/workeligibility_schemas_value.rb +22 -0
- data/lib/stack_one/models/shared/workeligibility_type.rb +2 -2
- data/lib/stack_one/models/shared/workeligibility_value.rb +250 -6
- data/lib/stack_one/models/shared/workeligibilitypaginated.rb +33 -0
- data/lib/stack_one/models/shared/workeligibilityresult.rb +27 -0
- data/lib/stack_one/models/shared.rb +203 -22
- data/lib/stack_one/proxy.rb +1 -1
- data/lib/stack_one/sdkconfiguration.rb +10 -11
- data/lib/stack_one/stackone.rb +25 -21
- data/lib/stack_one/utils/metadata_fields.rb +8 -12
- data/lib/stack_one/utils/t.rb +59 -0
- data/lib/stack_one/utils/utils.rb +8 -13
- data/lib/stackone_client.rb +8 -3
- metadata +370 -7
@@ -0,0 +1,266 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
# HrisCreateWorkEligibilityRequestDtoValue - The ISO3166-1 Alpha2 Code of the Country
|
11
|
+
class HrisCreateWorkEligibilityRequestDtoValue < T::Enum
|
12
|
+
enums do
|
13
|
+
AF = new('AF')
|
14
|
+
AL = new('AL')
|
15
|
+
DZ = new('DZ')
|
16
|
+
AS = new('AS')
|
17
|
+
AD = new('AD')
|
18
|
+
AO = new('AO')
|
19
|
+
AI = new('AI')
|
20
|
+
AQ = new('AQ')
|
21
|
+
AG = new('AG')
|
22
|
+
AR = new('AR')
|
23
|
+
AM = new('AM')
|
24
|
+
AW = new('AW')
|
25
|
+
AU = new('AU')
|
26
|
+
AT = new('AT')
|
27
|
+
AZ = new('AZ')
|
28
|
+
BS = new('BS')
|
29
|
+
BH = new('BH')
|
30
|
+
BD = new('BD')
|
31
|
+
BB = new('BB')
|
32
|
+
BY = new('BY')
|
33
|
+
BE = new('BE')
|
34
|
+
BZ = new('BZ')
|
35
|
+
BJ = new('BJ')
|
36
|
+
BM = new('BM')
|
37
|
+
BT = new('BT')
|
38
|
+
BO = new('BO')
|
39
|
+
BQ = new('BQ')
|
40
|
+
BA = new('BA')
|
41
|
+
BW = new('BW')
|
42
|
+
BV = new('BV')
|
43
|
+
BR = new('BR')
|
44
|
+
IO = new('IO')
|
45
|
+
BN = new('BN')
|
46
|
+
BG = new('BG')
|
47
|
+
BF = new('BF')
|
48
|
+
BI = new('BI')
|
49
|
+
KH = new('KH')
|
50
|
+
CM = new('CM')
|
51
|
+
CA = new('CA')
|
52
|
+
CV = new('CV')
|
53
|
+
KY = new('KY')
|
54
|
+
CF = new('CF')
|
55
|
+
TD = new('TD')
|
56
|
+
CL = new('CL')
|
57
|
+
CN = new('CN')
|
58
|
+
CX = new('CX')
|
59
|
+
CC = new('CC')
|
60
|
+
CO = new('CO')
|
61
|
+
KM = new('KM')
|
62
|
+
CG = new('CG')
|
63
|
+
CD = new('CD')
|
64
|
+
CK = new('CK')
|
65
|
+
CR = new('CR')
|
66
|
+
HR = new('HR')
|
67
|
+
CU = new('CU')
|
68
|
+
CW = new('CW')
|
69
|
+
CY = new('CY')
|
70
|
+
CZ = new('CZ')
|
71
|
+
CI = new('CI')
|
72
|
+
DK = new('DK')
|
73
|
+
DJ = new('DJ')
|
74
|
+
DM = new('DM')
|
75
|
+
DO = new('DO')
|
76
|
+
EC = new('EC')
|
77
|
+
EG = new('EG')
|
78
|
+
SV = new('SV')
|
79
|
+
GQ = new('GQ')
|
80
|
+
ER = new('ER')
|
81
|
+
EE = new('EE')
|
82
|
+
ET = new('ET')
|
83
|
+
FK = new('FK')
|
84
|
+
FO = new('FO')
|
85
|
+
FJ = new('FJ')
|
86
|
+
FI = new('FI')
|
87
|
+
FR = new('FR')
|
88
|
+
GF = new('GF')
|
89
|
+
PF = new('PF')
|
90
|
+
TF = new('TF')
|
91
|
+
GA = new('GA')
|
92
|
+
GM = new('GM')
|
93
|
+
GE = new('GE')
|
94
|
+
DE = new('DE')
|
95
|
+
GH = new('GH')
|
96
|
+
GI = new('GI')
|
97
|
+
GR = new('GR')
|
98
|
+
GL = new('GL')
|
99
|
+
GD = new('GD')
|
100
|
+
GP = new('GP')
|
101
|
+
GU = new('GU')
|
102
|
+
GT = new('GT')
|
103
|
+
GG = new('GG')
|
104
|
+
GN = new('GN')
|
105
|
+
GW = new('GW')
|
106
|
+
GY = new('GY')
|
107
|
+
HT = new('HT')
|
108
|
+
HM = new('HM')
|
109
|
+
VA = new('VA')
|
110
|
+
HN = new('HN')
|
111
|
+
HK = new('HK')
|
112
|
+
HU = new('HU')
|
113
|
+
IS = new('IS')
|
114
|
+
IN = new('IN')
|
115
|
+
ID = new('ID')
|
116
|
+
IR = new('IR')
|
117
|
+
IQ = new('IQ')
|
118
|
+
IE = new('IE')
|
119
|
+
IM = new('IM')
|
120
|
+
IL = new('IL')
|
121
|
+
IT = new('IT')
|
122
|
+
JM = new('JM')
|
123
|
+
JP = new('JP')
|
124
|
+
JE = new('JE')
|
125
|
+
JO = new('JO')
|
126
|
+
KZ = new('KZ')
|
127
|
+
KE = new('KE')
|
128
|
+
KI = new('KI')
|
129
|
+
KP = new('KP')
|
130
|
+
KR = new('KR')
|
131
|
+
KW = new('KW')
|
132
|
+
KG = new('KG')
|
133
|
+
LA = new('LA')
|
134
|
+
LV = new('LV')
|
135
|
+
LB = new('LB')
|
136
|
+
LS = new('LS')
|
137
|
+
LR = new('LR')
|
138
|
+
LY = new('LY')
|
139
|
+
LI = new('LI')
|
140
|
+
LT = new('LT')
|
141
|
+
LU = new('LU')
|
142
|
+
MO = new('MO')
|
143
|
+
MK = new('MK')
|
144
|
+
MG = new('MG')
|
145
|
+
MW = new('MW')
|
146
|
+
MY = new('MY')
|
147
|
+
MV = new('MV')
|
148
|
+
ML = new('ML')
|
149
|
+
MT = new('MT')
|
150
|
+
MH = new('MH')
|
151
|
+
MQ = new('MQ')
|
152
|
+
MR = new('MR')
|
153
|
+
MU = new('MU')
|
154
|
+
YT = new('YT')
|
155
|
+
MX = new('MX')
|
156
|
+
FM = new('FM')
|
157
|
+
MD = new('MD')
|
158
|
+
MC = new('MC')
|
159
|
+
MN = new('MN')
|
160
|
+
ME = new('ME')
|
161
|
+
MS = new('MS')
|
162
|
+
MA = new('MA')
|
163
|
+
MZ = new('MZ')
|
164
|
+
MM = new('MM')
|
165
|
+
NA = new('NA')
|
166
|
+
NR = new('NR')
|
167
|
+
NP = new('NP')
|
168
|
+
NL = new('NL')
|
169
|
+
NC = new('NC')
|
170
|
+
NZ = new('NZ')
|
171
|
+
NI = new('NI')
|
172
|
+
NE = new('NE')
|
173
|
+
NG = new('NG')
|
174
|
+
NU = new('NU')
|
175
|
+
NF = new('NF')
|
176
|
+
MP = new('MP')
|
177
|
+
NO = new('NO')
|
178
|
+
OM = new('OM')
|
179
|
+
PK = new('PK')
|
180
|
+
PW = new('PW')
|
181
|
+
PS = new('PS')
|
182
|
+
PA = new('PA')
|
183
|
+
PG = new('PG')
|
184
|
+
PY = new('PY')
|
185
|
+
PE = new('PE')
|
186
|
+
PH = new('PH')
|
187
|
+
PN = new('PN')
|
188
|
+
PL = new('PL')
|
189
|
+
PT = new('PT')
|
190
|
+
PR = new('PR')
|
191
|
+
QA = new('QA')
|
192
|
+
RO = new('RO')
|
193
|
+
RU = new('RU')
|
194
|
+
RW = new('RW')
|
195
|
+
RE = new('RE')
|
196
|
+
BL = new('BL')
|
197
|
+
SH = new('SH')
|
198
|
+
KN = new('KN')
|
199
|
+
LC = new('LC')
|
200
|
+
MF = new('MF')
|
201
|
+
PM = new('PM')
|
202
|
+
VC = new('VC')
|
203
|
+
WS = new('WS')
|
204
|
+
SM = new('SM')
|
205
|
+
ST = new('ST')
|
206
|
+
SA = new('SA')
|
207
|
+
SN = new('SN')
|
208
|
+
RS = new('RS')
|
209
|
+
SC = new('SC')
|
210
|
+
SL = new('SL')
|
211
|
+
SG = new('SG')
|
212
|
+
SX = new('SX')
|
213
|
+
SK = new('SK')
|
214
|
+
SI = new('SI')
|
215
|
+
SB = new('SB')
|
216
|
+
SO = new('SO')
|
217
|
+
ZA = new('ZA')
|
218
|
+
GS = new('GS')
|
219
|
+
SS = new('SS')
|
220
|
+
ES = new('ES')
|
221
|
+
LK = new('LK')
|
222
|
+
SD = new('SD')
|
223
|
+
SR = new('SR')
|
224
|
+
SJ = new('SJ')
|
225
|
+
SZ = new('SZ')
|
226
|
+
SE = new('SE')
|
227
|
+
CH = new('CH')
|
228
|
+
SY = new('SY')
|
229
|
+
TW = new('TW')
|
230
|
+
TJ = new('TJ')
|
231
|
+
TZ = new('TZ')
|
232
|
+
TH = new('TH')
|
233
|
+
TL = new('TL')
|
234
|
+
TG = new('TG')
|
235
|
+
TK = new('TK')
|
236
|
+
TO = new('TO')
|
237
|
+
TT = new('TT')
|
238
|
+
TN = new('TN')
|
239
|
+
TR = new('TR')
|
240
|
+
TM = new('TM')
|
241
|
+
TC = new('TC')
|
242
|
+
TV = new('TV')
|
243
|
+
UG = new('UG')
|
244
|
+
UA = new('UA')
|
245
|
+
AE = new('AE')
|
246
|
+
GB = new('GB')
|
247
|
+
US = new('US')
|
248
|
+
UM = new('UM')
|
249
|
+
UY = new('UY')
|
250
|
+
UZ = new('UZ')
|
251
|
+
VU = new('VU')
|
252
|
+
VE = new('VE')
|
253
|
+
VN = new('VN')
|
254
|
+
VG = new('VG')
|
255
|
+
VI = new('VI')
|
256
|
+
WF = new('WF')
|
257
|
+
EH = new('EH')
|
258
|
+
YE = new('YE')
|
259
|
+
ZM = new('ZM')
|
260
|
+
ZW = new('ZW')
|
261
|
+
UNMAPPED_VALUE = new('unmapped_value')
|
262
|
+
end
|
263
|
+
end
|
264
|
+
|
265
|
+
end
|
266
|
+
end
|
@@ -14,7 +14,7 @@ module StackOne
|
|
14
14
|
# The city where the location is situated
|
15
15
|
field :city, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('city') } }
|
16
16
|
# The country code
|
17
|
-
field :country, T.nilable(::StackOne::Shared::
|
17
|
+
field :country, T.nilable(::StackOne::Shared::HRISLocationCountry), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('country') } }
|
18
18
|
# The created_at date
|
19
19
|
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
20
20
|
# The employee ID
|
@@ -22,7 +22,7 @@ module StackOne
|
|
22
22
|
# The unique ID of the location
|
23
23
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
24
24
|
# The location type
|
25
|
-
field :location_type, T.nilable(::StackOne::Shared::
|
25
|
+
field :location_type, T.nilable(::StackOne::Shared::HRISLocationLocationType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_type') } }
|
26
26
|
# The name of the location
|
27
27
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
28
28
|
# The phone number of the location
|
@@ -39,7 +39,7 @@ module StackOne
|
|
39
39
|
field :zip_code, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('zip_code') } }
|
40
40
|
|
41
41
|
|
42
|
-
sig { params(city: T.nilable(::String), country: T.nilable(::StackOne::Shared::
|
42
|
+
sig { params(city: T.nilable(::String), country: T.nilable(::StackOne::Shared::HRISLocationCountry), created_at: T.nilable(::DateTime), employee_id: T.nilable(::String), id: T.nilable(::String), location_type: T.nilable(::StackOne::Shared::HRISLocationLocationType), name: T.nilable(::String), phone_number: T.nilable(::String), state: T.nilable(::String), street_1: T.nilable(::String), street_2: T.nilable(::String), updated_at: T.nilable(::DateTime), zip_code: T.nilable(::String)).void }
|
43
43
|
def initialize(city: nil, country: nil, created_at: nil, employee_id: nil, id: nil, location_type: nil, name: nil, phone_number: nil, state: nil, street_1: nil, street_2: nil, updated_at: nil, zip_code: nil)
|
44
44
|
@city = city
|
45
45
|
@country = country
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
# The country code
|
11
|
+
class HRISLocationCountry < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
|
+
# The ISO3166-1 Alpha2 Code of the Country
|
17
|
+
field :value, T.nilable(::StackOne::Shared::HRISLocationValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::HRISLocationValue, true) } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::HRISLocationValue)).void }
|
21
|
+
def initialize(source_value: nil, value: nil)
|
22
|
+
@source_value = source_value
|
23
|
+
@value = value
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
# The location type
|
11
|
+
class HRISLocationLocationType < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# The source value of the location type.
|
15
|
+
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
|
+
# The type of the location.
|
17
|
+
field :value, T.nilable(::StackOne::Shared::HRISLocationSchemasValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::HRISLocationSchemasValue, true) } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::HRISLocationSchemasValue)).void }
|
21
|
+
def initialize(source_value: nil, value: nil)
|
22
|
+
@source_value = source_value
|
23
|
+
@value = value
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
|
11
|
+
class Internal < T::Enum
|
12
|
+
enums do
|
13
|
+
TRUE = new('true')
|
14
|
+
FALSE = new('false')
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,60 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
|
11
|
+
class Interview < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :id, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
16
|
+
|
17
|
+
field :application_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_id') } }
|
18
|
+
# Interview created date
|
19
|
+
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
20
|
+
# Interview end date
|
21
|
+
field :end_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('end_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
22
|
+
|
23
|
+
field :interview_parts, T.nilable(T::Array[::StackOne::Shared::InterviewPart]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_parts') } }
|
24
|
+
|
25
|
+
field :interview_stage, T.nilable(::StackOne::Shared::InterviewInterviewStage), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_stage') } }
|
26
|
+
|
27
|
+
field :interview_stage_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_stage_id') } }
|
28
|
+
|
29
|
+
field :interview_status, T.nilable(::StackOne::Shared::InterviewStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_status') } }
|
30
|
+
|
31
|
+
field :interviewer_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interviewer_ids') } }
|
32
|
+
|
33
|
+
field :interviewers, T.nilable(T::Array[::StackOne::Shared::Interviewer]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interviewers') } }
|
34
|
+
|
35
|
+
field :meeting_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('meeting_url') } }
|
36
|
+
# Interview start date
|
37
|
+
field :start_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
38
|
+
# Interview updated date
|
39
|
+
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
40
|
+
|
41
|
+
|
42
|
+
sig { params(id: ::String, application_id: T.nilable(::String), created_at: T.nilable(::DateTime), end_at: T.nilable(::DateTime), interview_parts: T.nilable(T::Array[::StackOne::Shared::InterviewPart]), interview_stage: T.nilable(::StackOne::Shared::InterviewInterviewStage), interview_stage_id: T.nilable(::String), interview_status: T.nilable(::StackOne::Shared::InterviewStatus), interviewer_ids: T.nilable(T::Array[::String]), interviewers: T.nilable(T::Array[::StackOne::Shared::Interviewer]), meeting_url: T.nilable(::String), start_at: T.nilable(::DateTime), updated_at: T.nilable(::DateTime)).void }
|
43
|
+
def initialize(id: nil, application_id: nil, created_at: nil, end_at: nil, interview_parts: nil, interview_stage: nil, interview_stage_id: nil, interview_status: nil, interviewer_ids: nil, interviewers: nil, meeting_url: nil, start_at: nil, updated_at: nil)
|
44
|
+
@id = id
|
45
|
+
@application_id = application_id
|
46
|
+
@created_at = created_at
|
47
|
+
@end_at = end_at
|
48
|
+
@interview_parts = interview_parts
|
49
|
+
@interview_stage = interview_stage
|
50
|
+
@interview_stage_id = interview_stage_id
|
51
|
+
@interview_status = interview_status
|
52
|
+
@interviewer_ids = interviewer_ids
|
53
|
+
@interviewers = interviewers
|
54
|
+
@meeting_url = meeting_url
|
55
|
+
@start_at = start_at
|
56
|
+
@updated_at = updated_at
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
|
11
|
+
class InterviewInterviewStage < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# Interview Stage created date
|
15
|
+
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
16
|
+
|
17
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
18
|
+
|
19
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
20
|
+
|
21
|
+
field :order, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('order') } }
|
22
|
+
# Interview Stage updated date
|
23
|
+
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
24
|
+
|
25
|
+
|
26
|
+
sig { params(created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), order: T.nilable(::Float), updated_at: T.nilable(::DateTime)).void }
|
27
|
+
def initialize(created_at: nil, id: nil, name: nil, order: nil, updated_at: nil)
|
28
|
+
@created_at = created_at
|
29
|
+
@id = id
|
30
|
+
@name = name
|
31
|
+
@order = order
|
32
|
+
@updated_at = updated_at
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
|
11
|
+
class InterviewStatus < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# The source value of the interview status.
|
15
|
+
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
|
+
# The status of the interview.
|
17
|
+
field :value, T.nilable(::StackOne::Shared::InterviewValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::InterviewValue, true) } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::InterviewValue)).void }
|
21
|
+
def initialize(source_value: nil, value: nil)
|
22
|
+
@source_value = source_value
|
23
|
+
@value = value
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
# InterviewValue - The status of the interview.
|
11
|
+
class InterviewValue < T::Enum
|
12
|
+
enums do
|
13
|
+
UNSCHEDULED = new('unscheduled')
|
14
|
+
SCHEDULED = new('scheduled')
|
15
|
+
COMPLETED = new('completed')
|
16
|
+
CANCELLED = new('cancelled')
|
17
|
+
PENDING_FEEDBACK = new('pending_feedback')
|
18
|
+
UNMAPPED_VALUE = new('unmapped_value')
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
|
11
|
+
class Interviewer < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
|
16
|
+
|
17
|
+
field :first_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
|
18
|
+
|
19
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
20
|
+
|
21
|
+
field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
|
22
|
+
|
23
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
24
|
+
|
25
|
+
|
26
|
+
sig { params(email: T.nilable(::String), first_name: T.nilable(::String), id: T.nilable(::String), last_name: T.nilable(::String), name: T.nilable(::String)).void }
|
27
|
+
def initialize(email: nil, first_name: nil, id: nil, last_name: nil, name: nil)
|
28
|
+
@email = email
|
29
|
+
@first_name = first_name
|
30
|
+
@id = id
|
31
|
+
@last_name = last_name
|
32
|
+
@name = name
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
|
11
|
+
class InterviewPart < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# Interview part created date
|
15
|
+
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
16
|
+
|
17
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
18
|
+
|
19
|
+
field :interviewer_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interviewer_ids') } }
|
20
|
+
|
21
|
+
field :meeting_provider, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('meeting_provider') } }
|
22
|
+
|
23
|
+
field :meeting_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('meeting_url') } }
|
24
|
+
# Interview part updated date
|
25
|
+
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(created_at: T.nilable(::DateTime), id: T.nilable(::String), interviewer_ids: T.nilable(T::Array[::String]), meeting_provider: T.nilable(::String), meeting_url: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
29
|
+
def initialize(created_at: nil, id: nil, interviewer_ids: nil, meeting_provider: nil, meeting_url: nil, updated_at: nil)
|
30
|
+
@created_at = created_at
|
31
|
+
@id = id
|
32
|
+
@interviewer_ids = interviewer_ids
|
33
|
+
@meeting_provider = meeting_provider
|
34
|
+
@meeting_url = meeting_url
|
35
|
+
@updated_at = updated_at
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
|
11
|
+
class InterviewsPaginated < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :data, T::Array[::StackOne::Shared::Interview], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
|
16
|
+
|
17
|
+
field :next_, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next') } }
|
18
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
19
|
+
field :next_page, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next_page') } }
|
20
|
+
|
21
|
+
field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(data: T::Array[::StackOne::Shared::Interview], next_: T.nilable(::String), next_page: T.nilable(::String), raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
|
25
|
+
def initialize(data: nil, next_: nil, next_page: nil, raw: nil)
|
26
|
+
@data = data
|
27
|
+
@next_ = next_
|
28
|
+
@next_page = next_page
|
29
|
+
@raw = raw
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
|
11
|
+
class InterviewsResult < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :data, ::StackOne::Shared::Interview, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
|
16
|
+
|
17
|
+
field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(data: ::StackOne::Shared::Interview, raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
|
21
|
+
def initialize(data: nil, raw: nil)
|
22
|
+
@data = data
|
23
|
+
@raw = raw
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|