stackone_client 0.2.1 → 0.2.2
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/ats.rb +1400 -0
- data/lib/stack_one/crm.rb +332 -0
- data/lib/stack_one/hris.rb +71 -0
- 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_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 +2 -2
- 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 +2 -2
- 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/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.rb +168 -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/channelsenum.rb +27 -0
- data/lib/stack_one/models/shared/confidential.rb +19 -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/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/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/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 -1
- data/lib/stack_one/models/shared/employee_schemas_home_location_location_type_value.rb +1 -1
- data/lib/stack_one/models/shared/employee_schemas_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 -1
- 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 +18 -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/hriscreateemployeerequestdto_employment_type.rb +2 -2
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb +1 -1
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto.rb +2 -2
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_status.rb +27 -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/job.rb +57 -0
- 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 +21 -0
- data/lib/stack_one/models/shared/jobposting_schemas_value.rb +35 -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/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/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/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/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/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.rb +180 -18
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- data/lib/stack_one/stackone.rb +4 -1
- data/lib/stackone_client.rb +3 -0
- metadata +337 -6
@@ -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 AtsCreateOfferRequestDto < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :application_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_id') } }
|
16
|
+
|
17
|
+
field :currency, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('currency') } }
|
18
|
+
|
19
|
+
field :offer_history, T.nilable(T::Array[::StackOne::Shared::OfferHistory]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('offer_history') } }
|
20
|
+
|
21
|
+
field :offer_status, T.nilable(::StackOne::Shared::OfferStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('offer_status') } }
|
22
|
+
|
23
|
+
field :salary, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('salary') } }
|
24
|
+
# Date of creation
|
25
|
+
field :start_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(application_id: T.nilable(::String), currency: T.nilable(::String), offer_history: T.nilable(T::Array[::StackOne::Shared::OfferHistory]), offer_status: T.nilable(::StackOne::Shared::OfferStatus), salary: T.nilable(::Float), start_date: T.nilable(::DateTime)).void }
|
29
|
+
def initialize(application_id: nil, currency: nil, offer_history: nil, offer_status: nil, salary: nil, start_date: nil)
|
30
|
+
@application_id = application_id
|
31
|
+
@currency = currency
|
32
|
+
@offer_history = offer_history
|
33
|
+
@offer_status = offer_status
|
34
|
+
@salary = salary
|
35
|
+
@start_date = start_date
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,25 @@
|
|
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
|
+
# AtsCreateOfferRequestDtoValue - The status of the offer.
|
11
|
+
class AtsCreateOfferRequestDtoValue < T::Enum
|
12
|
+
enums do
|
13
|
+
PENDING = new('pending')
|
14
|
+
RETRACTED = new('retracted')
|
15
|
+
ACCEPTED = new('accepted')
|
16
|
+
REJECTED = new('rejected')
|
17
|
+
CREATED = new('created')
|
18
|
+
APPROVED = new('approved')
|
19
|
+
NOT_APPROVED = new('not_approved')
|
20
|
+
UNMAPPED_VALUE = new('unmapped_value')
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
25
|
+
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 ATSLocation < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
16
|
+
|
17
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(id: T.nilable(::String), name: T.nilable(::String)).void }
|
21
|
+
def initialize(id: nil, name: nil)
|
22
|
+
@id = id
|
23
|
+
@name = name
|
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
|
+
|
11
|
+
class ATSLocationResult < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :data, ::StackOne::Shared::ATSLocation, { '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::ATSLocation, 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
|
@@ -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 ATSLocationsPaginated < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :data, T::Array[::StackOne::Shared::ATSLocation], { '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::ATSLocation], 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,47 @@
|
|
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 AtsUpdateApplicationRequestDto < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :application_status, T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoApplicationStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_status') } }
|
16
|
+
# Use `documents` expand instead
|
17
|
+
#
|
18
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
19
|
+
field :attachments, T.nilable(T::Array[::StackOne::Shared::ApplicationAttachment]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('attachments') } }
|
20
|
+
|
21
|
+
field :candidate, T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoCandidate), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('candidate') } }
|
22
|
+
# Unique identifier of the candidate
|
23
|
+
field :candidate_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('candidate_id') } }
|
24
|
+
# The ID of the application to update.
|
25
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
26
|
+
# Unique identifier of the job
|
27
|
+
field :job_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_id') } }
|
28
|
+
# Unique identifiers of the locations
|
29
|
+
field :location_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_ids') } }
|
30
|
+
# Questionnaires associated with the application
|
31
|
+
field :questionnaires, T.nilable(T::Array[::StackOne::Shared::Questionnaire]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('questionnaires') } }
|
32
|
+
|
33
|
+
|
34
|
+
sig { params(application_status: T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoApplicationStatus), attachments: T.nilable(T::Array[::StackOne::Shared::ApplicationAttachment]), candidate: T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoCandidate), candidate_id: T.nilable(::String), id: T.nilable(::String), job_id: T.nilable(::String), location_ids: T.nilable(T::Array[::String]), questionnaires: T.nilable(T::Array[::StackOne::Shared::Questionnaire])).void }
|
35
|
+
def initialize(application_status: nil, attachments: nil, candidate: nil, candidate_id: nil, id: nil, job_id: nil, location_ids: nil, questionnaires: nil)
|
36
|
+
@application_status = application_status
|
37
|
+
@attachments = attachments
|
38
|
+
@candidate = candidate
|
39
|
+
@candidate_id = candidate_id
|
40
|
+
@id = id
|
41
|
+
@job_id = job_id
|
42
|
+
@location_ids = location_ids
|
43
|
+
@questionnaires = questionnaires
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
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 AtsUpdateApplicationRequestDtoApplicationStatus < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# The source value of the application status.
|
15
|
+
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
|
+
# The status of the application.
|
17
|
+
field :value, T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::AtsUpdateApplicationRequestDtoValue, true) } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoValue)).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,30 @@
|
|
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 AtsUpdateApplicationRequestDtoCandidate < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# Email of the candidate
|
15
|
+
field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
|
16
|
+
# First name of the candidate
|
17
|
+
field :first_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
|
18
|
+
# Last name of the candidate
|
19
|
+
field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
|
20
|
+
|
21
|
+
|
22
|
+
sig { params(email: T.nilable(::String), first_name: T.nilable(::String), last_name: T.nilable(::String)).void }
|
23
|
+
def initialize(email: nil, first_name: nil, last_name: nil)
|
24
|
+
@email = email
|
25
|
+
@first_name = first_name
|
26
|
+
@last_name = last_name
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,32 @@
|
|
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
|
+
# AtsUpdateApplicationRequestDtoValue - The status of the application.
|
11
|
+
class AtsUpdateApplicationRequestDtoValue < T::Enum
|
12
|
+
enums do
|
13
|
+
ACTIVE = new('active')
|
14
|
+
ASSESSMENT = new('assessment')
|
15
|
+
BACKGROUND_CHECK = new('background_check')
|
16
|
+
CONVERTED = new('converted')
|
17
|
+
DECLINED_BY_CANDIDATE = new('declined_by_candidate')
|
18
|
+
HIRED = new('hired')
|
19
|
+
INTERVIEW = new('interview')
|
20
|
+
LEAD = new('lead')
|
21
|
+
OFFER = new('offer')
|
22
|
+
REFERENCE_CHECK = new('reference_check')
|
23
|
+
REJECTED = new('rejected')
|
24
|
+
REVIEW = new('review')
|
25
|
+
SCREEN = new('screen')
|
26
|
+
NEW = new('new')
|
27
|
+
UNMAPPED_VALUE = new('unmapped_value')
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,50 @@
|
|
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 AtsUpdateCandidatesRequestDto < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# List of candidate application IDs
|
15
|
+
field :application_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_ids') } }
|
16
|
+
# Candidate company
|
17
|
+
field :company, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('company') } }
|
18
|
+
# List of candidate emails
|
19
|
+
field :emails, T.nilable(T::Array[::StackOne::Shared::CandidateEmail]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('emails') } }
|
20
|
+
# Candidate first name
|
21
|
+
field :first_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
|
22
|
+
# The ID of the candidate to update.
|
23
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
24
|
+
# Candidate last name
|
25
|
+
field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
|
26
|
+
# Candidate name
|
27
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
28
|
+
# Candidate phone number
|
29
|
+
#
|
30
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
31
|
+
field :phone, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone') } }
|
32
|
+
# Candidate title
|
33
|
+
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
|
34
|
+
|
35
|
+
|
36
|
+
sig { params(application_ids: T.nilable(T::Array[::String]), company: T.nilable(::String), emails: T.nilable(T::Array[::StackOne::Shared::CandidateEmail]), first_name: T.nilable(::String), id: T.nilable(::String), last_name: T.nilable(::String), name: T.nilable(::String), phone: T.nilable(::String), title: T.nilable(::String)).void }
|
37
|
+
def initialize(application_ids: nil, company: nil, emails: nil, first_name: nil, id: nil, last_name: nil, name: nil, phone: nil, title: nil)
|
38
|
+
@application_ids = application_ids
|
39
|
+
@company = company
|
40
|
+
@emails = emails
|
41
|
+
@first_name = first_name
|
42
|
+
@id = id
|
43
|
+
@last_name = last_name
|
44
|
+
@name = name
|
45
|
+
@phone = phone
|
46
|
+
@title = title
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
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 type of the benefit
|
11
|
+
class BenefitType < ::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 type of the benefit
|
17
|
+
field :value, T.nilable(::StackOne::Shared::HRISBenefitValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::HRISBenefitValue, true) } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::HRISBenefitValue)).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,63 @@
|
|
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 Campaign < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :archived, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('archived') } }
|
16
|
+
# channels of the Campaign
|
17
|
+
field :channels, T.nilable(T::Array[::StackOne::Shared::ChannelsEnum]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('channels') } }
|
18
|
+
# The created_at 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
|
+
|
21
|
+
field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('description') } }
|
22
|
+
|
23
|
+
field :draft, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('draft') } }
|
24
|
+
# The first_sent_at date
|
25
|
+
field :first_sent_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_sent_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
26
|
+
|
27
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
28
|
+
# The last_sent_at date
|
29
|
+
field :last_sent_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_sent_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
30
|
+
|
31
|
+
field :messages, T.nilable(T::Array[::StackOne::Shared::Message]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('messages') } }
|
32
|
+
|
33
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
34
|
+
# The schedule type
|
35
|
+
field :schedule_type, T.nilable(::StackOne::Shared::ScheduleType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('schedule_type') } }
|
36
|
+
# Status of the Campaign
|
37
|
+
field :status, T.nilable(::StackOne::Shared::Status), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('status') } }
|
38
|
+
|
39
|
+
field :tags, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tags') } }
|
40
|
+
# The updated_at date
|
41
|
+
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
42
|
+
|
43
|
+
|
44
|
+
sig { params(archived: T.nilable(T::Boolean), channels: T.nilable(T::Array[::StackOne::Shared::ChannelsEnum]), created_at: T.nilable(::DateTime), description: T.nilable(::String), draft: T.nilable(T::Boolean), first_sent_at: T.nilable(::DateTime), id: T.nilable(::String), last_sent_at: T.nilable(::DateTime), messages: T.nilable(T::Array[::StackOne::Shared::Message]), name: T.nilable(::String), schedule_type: T.nilable(::StackOne::Shared::ScheduleType), status: T.nilable(::StackOne::Shared::Status), tags: T.nilable(T::Array[::String]), updated_at: T.nilable(::DateTime)).void }
|
45
|
+
def initialize(archived: nil, channels: nil, created_at: nil, description: nil, draft: nil, first_sent_at: nil, id: nil, last_sent_at: nil, messages: nil, name: nil, schedule_type: nil, status: nil, tags: nil, updated_at: nil)
|
46
|
+
@archived = archived
|
47
|
+
@channels = channels
|
48
|
+
@created_at = created_at
|
49
|
+
@description = description
|
50
|
+
@draft = draft
|
51
|
+
@first_sent_at = first_sent_at
|
52
|
+
@id = id
|
53
|
+
@last_sent_at = last_sent_at
|
54
|
+
@messages = messages
|
55
|
+
@name = name
|
56
|
+
@schedule_type = schedule_type
|
57
|
+
@status = status
|
58
|
+
@tags = tags
|
59
|
+
@updated_at = updated_at
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,20 @@
|
|
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
|
+
# CampaignSchemasValue - The Status of the campaign.
|
11
|
+
class CampaignSchemasValue < T::Enum
|
12
|
+
enums do
|
13
|
+
DRAFT = new('draft')
|
14
|
+
ARCHIVED = new('archived')
|
15
|
+
LIVE = new('live')
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,22 @@
|
|
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
|
+
# CampaignValue - The schedule type of the campaign.
|
11
|
+
class CampaignValue < T::Enum
|
12
|
+
enums do
|
13
|
+
IMMEDIATE = new('immediate')
|
14
|
+
SCHEDULED = new('scheduled')
|
15
|
+
RECURRING = new('recurring')
|
16
|
+
CUSTOM = new('custom')
|
17
|
+
TRIGGERED = new('triggered')
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
22
|
+
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 CampaignResult < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :data, ::StackOne::Shared::Campaign, { '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::Campaign, 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
|
@@ -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 CampaignsPaginated < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :data, T::Array[::StackOne::Shared::Campaign], { '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::Campaign], 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,68 @@
|
|
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 Candidate < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# Candidate ID
|
15
|
+
field :id, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
16
|
+
# List of candidate application IDs
|
17
|
+
field :application_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_ids') } }
|
18
|
+
# Candidate company
|
19
|
+
field :company, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('company') } }
|
20
|
+
# Candidate created date
|
21
|
+
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
22
|
+
# Candidate email
|
23
|
+
field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
|
24
|
+
# List of candidate emails
|
25
|
+
field :emails, T.nilable(T::Array[::StackOne::Shared::CandidateEmail]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('emails') } }
|
26
|
+
# Candidate first name
|
27
|
+
field :first_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
|
28
|
+
# Candidate hired date
|
29
|
+
field :hired_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('hired_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
30
|
+
# Candidate last name
|
31
|
+
field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
|
32
|
+
# Candidate name
|
33
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
34
|
+
# Candidate phone number
|
35
|
+
#
|
36
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
37
|
+
field :phone, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone') } }
|
38
|
+
# List of candidate phone numbers including the type of the number when available
|
39
|
+
field :phone_numbers, T.nilable(T::Array[::StackOne::Shared::PhoneNumber]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_numbers') } }
|
40
|
+
# List of candidate social links
|
41
|
+
field :social_links, T.nilable(T::Array[::StackOne::Shared::SocialLink]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('social_links') } }
|
42
|
+
# Candidate title
|
43
|
+
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
|
44
|
+
# Candidate updated date
|
45
|
+
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
46
|
+
|
47
|
+
|
48
|
+
sig { params(id: ::String, application_ids: T.nilable(T::Array[::String]), company: T.nilable(::String), created_at: T.nilable(::DateTime), email: T.nilable(::String), emails: T.nilable(T::Array[::StackOne::Shared::CandidateEmail]), first_name: T.nilable(::String), hired_at: T.nilable(::DateTime), last_name: T.nilable(::String), name: T.nilable(::String), phone: T.nilable(::String), phone_numbers: T.nilable(T::Array[::StackOne::Shared::PhoneNumber]), social_links: T.nilable(T::Array[::StackOne::Shared::SocialLink]), title: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
49
|
+
def initialize(id: nil, application_ids: nil, company: nil, created_at: nil, email: nil, emails: nil, first_name: nil, hired_at: nil, last_name: nil, name: nil, phone: nil, phone_numbers: nil, social_links: nil, title: nil, updated_at: nil)
|
50
|
+
@id = id
|
51
|
+
@application_ids = application_ids
|
52
|
+
@company = company
|
53
|
+
@created_at = created_at
|
54
|
+
@email = email
|
55
|
+
@emails = emails
|
56
|
+
@first_name = first_name
|
57
|
+
@hired_at = hired_at
|
58
|
+
@last_name = last_name
|
59
|
+
@name = name
|
60
|
+
@phone = phone
|
61
|
+
@phone_numbers = phone_numbers
|
62
|
+
@social_links = social_links
|
63
|
+
@title = title
|
64
|
+
@updated_at = updated_at
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
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 CandidateEmail < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# Type of the email
|
15
|
+
field :type, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
|
16
|
+
# Email value
|
17
|
+
field :value, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value') } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(type: T.nilable(::String), value: T.nilable(::String)).void }
|
21
|
+
def initialize(type: nil, value: nil)
|
22
|
+
@type = type
|
23
|
+
@value = value
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|