stackone_client 0.7.0 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stack_one/accounts.rb +275 -15
- data/lib/stack_one/ats.rb +4349 -245
- data/lib/stack_one/connect_sessions.rb +110 -6
- data/lib/stack_one/connectors.rb +110 -6
- data/lib/stack_one/crm.rb +600 -30
- data/lib/stack_one/hris.rb +3752 -225
- data/lib/stack_one/iam.rb +602 -32
- data/lib/stack_one/lms.rb +1628 -89
- data/lib/stack_one/marketing.rb +1560 -78
- data/lib/stack_one/models/operations/ats_create_application_note_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_create_application_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_create_background_check_package_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_create_candidate_note_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_create_candidate_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_create_job_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_create_offer_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_delete_background_check_package_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_download_application_document_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_application_custom_field_definition_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/ats_get_application_custom_field_definition_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_get_application_custom_field_definition_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_application_document_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_application_note_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_application_offer_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_application_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_application_scheduled_interview_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_application_scorecard_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_assessments_package_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_assessments_request_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_assessments_result_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_background_check_package_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_background_check_request_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_background_check_result_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_candidate_custom_field_definition_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/ats_get_candidate_custom_field_definition_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_get_candidate_custom_field_definition_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_candidate_note_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_candidate_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_department_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_interview_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_interview_stage_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_job_custom_field_definition_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_job_posting_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_job_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_list_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_location_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_offer_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_rejected_reason_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_get_user_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_list_application_custom_field_definitions_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_list_application_documents_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_list_application_notes_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_list_application_scorecards_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_list_applications_offers_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_list_applications_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_list_applications_scheduled_interviews_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_list_assessments_packages_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_list_background_check_packages_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_list_background_check_request_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_list_candidate_custom_field_definitions_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_list_candidate_notes_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_list_candidates_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_list_departments_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_list_interview_stages_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_list_interviews_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_list_job_postings_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_list_jobs_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_list_lists_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_list_locations_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_list_offers_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_list_rejected_reasons_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_list_users_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_move_application_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_order_assessments_request_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_order_background_check_request_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_reject_application_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_update_application_note_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_update_application_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_update_assessments_result_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_update_background_check_package_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_update_background_check_result_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_update_candidate_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_update_job_response.rb +38 -2
- data/lib/stack_one/models/operations/ats_upload_application_document_response.rb +38 -2
- data/lib/stack_one/models/operations/crm_create_contact_response.rb +38 -2
- data/lib/stack_one/models/operations/crm_get_account_response.rb +38 -2
- data/lib/stack_one/models/operations/crm_get_contact_custom_field_definition_response.rb +38 -2
- data/lib/stack_one/models/operations/crm_get_contact_response.rb +38 -2
- data/lib/stack_one/models/operations/crm_get_list_response.rb +38 -2
- data/lib/stack_one/models/operations/crm_list_accounts_response.rb +38 -2
- data/lib/stack_one/models/operations/crm_list_contact_custom_field_definitions_response.rb +38 -2
- data/lib/stack_one/models/operations/crm_list_contacts_response.rb +38 -2
- data/lib/stack_one/models/operations/crm_list_lists_response.rb +38 -2
- data/lib/stack_one/models/operations/crm_update_contact_response.rb +38 -2
- data/lib/stack_one/models/operations/filter.rb +56 -5
- data/lib/stack_one/models/operations/hris_batch_upload_employee_document_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_create_employee_employment_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_create_employee_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_create_employee_skill_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_create_employee_time_off_request_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_create_time_off_request_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_download_employee_document_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_get_benefit_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_get_company_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_get_cost_center_group_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_get_department_group_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_get_employee_custom_field_definition_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_get_employee_document_category_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_get_employee_document_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_get_employee_employment_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_get_employee_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_get_employee_skill_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_get_employee_time_off_balance_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_get_employees_time_off_request_request.rb +5 -2
- data/lib/stack_one/models/operations/hris_get_employees_time_off_request_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_get_employment_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_get_group_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_get_job_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_get_location_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_get_team_group_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_get_time_entries_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_get_time_off_policy_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_get_time_off_request_request.rb +5 -2
- data/lib/stack_one/models/operations/hris_get_time_off_request_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_get_time_off_type_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_invite_employee_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_list_benefits_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_list_companies_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_list_cost_center_groups_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_list_department_groups_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_list_employee_categories_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_list_employee_custom_field_definitions_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_list_employee_documents_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_list_employee_employments_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_list_employee_skills_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_list_employee_time_off_balances_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_list_employee_time_off_policies_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/hris_list_employee_time_off_policies_request.rb +55 -0
- data/lib/stack_one/models/operations/hris_list_employee_time_off_policies_response.rb +72 -0
- data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb +5 -2
- data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_list_employees_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_list_employments_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_list_groups_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_list_jobs_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_list_locations_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_list_team_groups_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_list_time_entries_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_list_time_off_policies_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb +5 -2
- data/lib/stack_one/models/operations/hris_list_time_off_requests_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_list_time_off_types_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_update_employee_employment_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_update_employee_response.rb +40 -4
- data/lib/stack_one/models/operations/hris_update_employee_time_off_request_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_update_employee_work_eligibility_request_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_update_time_off_request_response.rb +38 -2
- data/lib/stack_one/models/operations/hris_upload_employee_document_response.rb +38 -2
- data/lib/stack_one/models/operations/iam_delete_user_response.rb +38 -2
- data/lib/stack_one/models/operations/iam_get_group_response.rb +38 -2
- data/lib/stack_one/models/operations/iam_get_policy_response.rb +38 -2
- data/lib/stack_one/models/operations/iam_get_role_response.rb +38 -2
- data/lib/stack_one/models/operations/iam_get_user_response.rb +38 -2
- data/lib/stack_one/models/operations/iam_list_groups_response.rb +38 -2
- data/lib/stack_one/models/operations/iam_list_policies_response.rb +38 -2
- data/lib/stack_one/models/operations/iam_list_roles_response.rb +38 -2
- data/lib/stack_one/models/operations/iam_list_users_response.rb +38 -2
- data/lib/stack_one/models/operations/iam_update_user_response.rb +40 -4
- data/lib/stack_one/models/operations/include.rb +18 -0
- data/lib/stack_one/models/operations/lms_batch_upsert_content_response.rb +38 -2
- data/lib/stack_one/models/operations/lms_batch_upsert_course_response.rb +38 -2
- data/lib/stack_one/models/operations/lms_create_collection_response.rb +38 -2
- data/lib/stack_one/models/operations/lms_create_user_assignment_response.rb +38 -2
- data/lib/stack_one/models/operations/lms_create_user_completion_response.rb +38 -2
- data/lib/stack_one/models/operations/lms_delete_user_completion_response.rb +38 -2
- data/lib/stack_one/models/operations/lms_get_assignment_response.rb +38 -2
- data/lib/stack_one/models/operations/lms_get_category_response.rb +38 -2
- data/lib/stack_one/models/operations/lms_get_completion_response.rb +38 -2
- data/lib/stack_one/models/operations/lms_get_content_response.rb +38 -2
- data/lib/stack_one/models/operations/lms_get_course_response.rb +38 -2
- data/lib/stack_one/models/operations/lms_get_skill_response.rb +38 -2
- data/lib/stack_one/models/operations/lms_get_user_assignment_response.rb +38 -2
- data/lib/stack_one/models/operations/lms_get_user_completion_response.rb +38 -2
- data/lib/stack_one/models/operations/lms_get_user_response.rb +38 -2
- data/lib/stack_one/models/operations/lms_list_assignments_response.rb +38 -2
- data/lib/stack_one/models/operations/lms_list_categories_response.rb +38 -2
- data/lib/stack_one/models/operations/lms_list_completions_response.rb +38 -2
- data/lib/stack_one/models/operations/lms_list_content_response.rb +38 -2
- data/lib/stack_one/models/operations/lms_list_courses_queryparam_filter.rb +6 -3
- data/lib/stack_one/models/operations/lms_list_courses_request.rb +1 -1
- data/lib/stack_one/models/operations/lms_list_courses_response.rb +38 -2
- data/lib/stack_one/models/operations/lms_list_skills_response.rb +38 -2
- data/lib/stack_one/models/operations/lms_list_user_assignments_response.rb +38 -2
- data/lib/stack_one/models/operations/lms_list_user_completions_response.rb +38 -2
- data/lib/stack_one/models/operations/lms_list_users_response.rb +38 -2
- data/lib/stack_one/models/operations/lms_update_collection_response.rb +38 -2
- data/lib/stack_one/models/operations/lms_upsert_content_response.rb +38 -2
- data/lib/stack_one/models/operations/lms_upsert_course_response.rb +38 -2
- data/lib/stack_one/models/operations/marketing_create_content_block_response.rb +38 -2
- data/lib/stack_one/models/operations/marketing_create_email_template_response.rb +38 -2
- data/lib/stack_one/models/operations/marketing_create_in_app_template_response.rb +38 -2
- data/lib/stack_one/models/operations/marketing_create_omni_channel_template_response.rb +38 -2
- data/lib/stack_one/models/operations/marketing_create_push_template_response.rb +38 -2
- data/lib/stack_one/models/operations/marketing_create_sms_template_response.rb +38 -2
- data/lib/stack_one/models/operations/marketing_get_campaign_response.rb +38 -2
- data/lib/stack_one/models/operations/marketing_get_content_block_response.rb +38 -2
- data/lib/stack_one/models/operations/marketing_get_email_template_response.rb +38 -2
- data/lib/stack_one/models/operations/marketing_get_in_app_template_response.rb +38 -2
- data/lib/stack_one/models/operations/marketing_get_omni_channel_template_response.rb +38 -2
- data/lib/stack_one/models/operations/marketing_get_push_template_response.rb +38 -2
- data/lib/stack_one/models/operations/marketing_get_sms_template_response.rb +38 -2
- data/lib/stack_one/models/operations/marketing_list_campaigns_response.rb +38 -2
- data/lib/stack_one/models/operations/marketing_list_content_blocks_response.rb +38 -2
- data/lib/stack_one/models/operations/marketing_list_email_templates_response.rb +38 -2
- data/lib/stack_one/models/operations/marketing_list_in_app_templates_response.rb +38 -2
- data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_response.rb +38 -2
- data/lib/stack_one/models/operations/marketing_list_push_templates_response.rb +38 -2
- data/lib/stack_one/models/operations/marketing_list_sms_templates_response.rb +38 -2
- data/lib/stack_one/models/operations/marketing_update_content_block_response.rb +38 -2
- data/lib/stack_one/models/operations/marketing_update_email_template_response.rb +38 -2
- data/lib/stack_one/models/operations/marketing_update_in_app_template_response.rb +38 -2
- data/lib/stack_one/models/operations/marketing_update_omni_channel_template_response.rb +38 -2
- data/lib/stack_one/models/operations/marketing_update_push_template_response.rb +38 -2
- data/lib/stack_one/models/operations/marketing_update_sms_template_response.rb +38 -2
- data/lib/stack_one/models/operations/order_by.rb +21 -0
- data/lib/stack_one/models/operations/order_direction.rb +18 -0
- data/lib/stack_one/models/operations/queryparam_filter.rb +47 -5
- data/lib/stack_one/models/operations/queryparam_include.rb +17 -0
- data/lib/stack_one/models/operations/queryparam_order_by.rb +21 -0
- data/lib/stack_one/models/operations/queryparam_order_direction.rb +18 -0
- data/lib/stack_one/models/operations/stackone_authenticate_connect_session_response.rb +35 -2
- data/lib/stack_one/models/operations/stackone_create_connect_session_response.rb +35 -2
- data/lib/stack_one/models/operations/stackone_delete_account_response.rb +35 -2
- data/lib/stack_one/models/operations/stackone_get_account_meta_info_response.rb +35 -2
- data/lib/stack_one/models/operations/stackone_get_account_response.rb +35 -2
- data/lib/stack_one/models/operations/stackone_get_connector_meta_response.rb +35 -2
- data/lib/stack_one/models/operations/stackone_get_log_request.rb +27 -0
- data/lib/stack_one/models/operations/stackone_get_log_response.rb +69 -0
- data/lib/stack_one/models/operations/stackone_list_connectors_meta_response.rb +35 -2
- data/lib/stack_one/models/operations/stackone_list_linked_accounts_response.rb +35 -2
- data/lib/stack_one/models/operations/stackone_list_logs_request.rb +39 -0
- data/lib/stack_one/models/operations/stackone_list_logs_response.rb +69 -0
- data/lib/stack_one/models/operations/stackone_list_step_logs_queryparam_include.rb +18 -0
- data/lib/stack_one/models/operations/stackone_list_step_logs_queryparam_order_by.rb +21 -0
- data/lib/stack_one/models/operations/stackone_list_step_logs_queryparam_order_direction.rb +18 -0
- data/lib/stack_one/models/operations/stackone_list_step_logs_queryparam_request_logs_order_by.rb +21 -0
- data/lib/stack_one/models/operations/stackone_list_step_logs_queryparam_request_logs_order_direction.rb +18 -0
- data/lib/stack_one/models/operations/stackone_list_step_logs_request.rb +39 -0
- data/lib/stack_one/models/operations/stackone_list_step_logs_response.rb +69 -0
- data/lib/stack_one/models/operations/stackone_proxy_request_response.rb +38 -2
- data/lib/stack_one/models/operations/stackone_update_account_response.rb +35 -2
- data/lib/stack_one/models/operations.rb +24 -2
- data/lib/stack_one/models/shared/badgatewayresponse.rb +30 -0
- data/lib/stack_one/models/shared/badrequestresponse.rb +36 -0
- data/lib/stack_one/models/shared/badrequestresponse_headers.rb +20 -0
- data/lib/stack_one/models/shared/conflictresponse.rb +30 -0
- data/lib/stack_one/models/shared/connectsession.rb +5 -2
- data/lib/stack_one/models/shared/connectsessiontokenauthlink.rb +5 -2
- data/lib/stack_one/models/shared/custommappingerror.rb +30 -0
- data/lib/stack_one/models/shared/data.rb +30 -0
- data/lib/stack_one/models/shared/employee_schemas_national_identity_number_type_value.rb +1 -0
- data/lib/stack_one/models/shared/forbiddenresponse.rb +30 -0
- data/lib/stack_one/models/shared/headers.rb +1 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_national_identity_number_type_value.rb +1 -0
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_value.rb +1 -0
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_national_identity_number_type_value.rb +1 -0
- data/lib/stack_one/models/shared/internalservererrorresponse.rb +30 -0
- data/lib/stack_one/models/shared/nationalidentitynumberapimodel_schemas_value.rb +1 -0
- data/lib/stack_one/models/shared/notfoundresponse.rb +30 -0
- data/lib/stack_one/models/shared/notimplementedresponse.rb +30 -0
- data/lib/stack_one/models/shared/policy.rb +4 -4
- data/lib/stack_one/models/shared/preconditionfailedresponse.rb +30 -0
- data/lib/stack_one/models/shared/providererror.rb +33 -0
- data/lib/stack_one/models/shared/providererrorapimodel.rb +3 -3
- data/lib/stack_one/models/shared/providererrorapimodel_headers.rb +20 -0
- data/lib/stack_one/models/shared/providererrorapimodel_raw.rb +20 -0
- data/lib/stack_one/models/shared/raw.rb +1 -1
- data/lib/stack_one/models/shared/request.rb +36 -0
- data/lib/stack_one/models/shared/requesttimedoutresponse.rb +30 -0
- data/lib/stack_one/models/shared/response.rb +36 -0
- data/lib/stack_one/models/shared/steplogsapimodel.rb +84 -0
- data/lib/stack_one/models/shared/steplogspaginated.rb +27 -0
- data/lib/stack_one/models/shared/timeoff.rb +5 -2
- data/lib/stack_one/models/shared/timeoff_duration_unit.rb +27 -0
- data/lib/stack_one/models/shared/timeoff_schemas_policy_type_value.rb +26 -0
- data/lib/stack_one/models/shared/timeoff_schemas_policy_value.rb +23 -0
- data/lib/stack_one/models/shared/timeoff_schemas_type.rb +27 -0
- data/lib/stack_one/models/shared/timeoff_value.rb +1 -0
- data/lib/stack_one/models/shared/timeoffbalances.rb +2 -2
- data/lib/stack_one/models/shared/timeoffbalances_policy.rb +48 -0
- data/lib/stack_one/models/shared/toomanyrequestsresponse.rb +30 -0
- data/lib/stack_one/models/shared/unauthorizedresponse.rb +30 -0
- data/lib/stack_one/models/shared/unifiedlogresult.rb +24 -0
- data/lib/stack_one/models/shared/unifiedlogs.rb +96 -0
- data/lib/stack_one/models/shared/unifiedlogs_request.rb +36 -0
- data/lib/stack_one/models/shared/unifiedlogs_response.rb +36 -0
- data/lib/stack_one/models/shared/unifiedlogs_url.rb +33 -0
- data/lib/stack_one/models/shared/unifiedlogspaginated.rb +27 -0
- data/lib/stack_one/models/shared/unprocessableentityresponse.rb +30 -0
- data/lib/stack_one/models/shared/url.rb +33 -0
- data/lib/stack_one/models/shared.rb +38 -45
- data/lib/stack_one/proxy.rb +61 -4
- data/lib/stack_one/request_logs.rb +496 -0
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- data/lib/stack_one/stackone.rb +2 -1
- data/lib/stackone_client.rb +1 -0
- metadata +59 -43
- data/lib/stack_one/models/shared/updateemployeeapimodel.rb +0 -142
- data/lib/stack_one/models/shared/updateemployeeapimodel_avatar.rb +0 -27
- data/lib/stack_one/models/shared/updateemployeeapimodel_country.rb +0 -27
- data/lib/stack_one/models/shared/updateemployeeapimodel_employment.rb +0 -56
- data/lib/stack_one/models/shared/updateemployeeapimodel_employment_contract_type.rb +0 -27
- data/lib/stack_one/models/shared/updateemployeeapimodel_employment_status.rb +0 -27
- data/lib/stack_one/models/shared/updateemployeeapimodel_employment_type.rb +0 -27
- data/lib/stack_one/models/shared/updateemployeeapimodel_ethnicity.rb +0 -27
- data/lib/stack_one/models/shared/updateemployeeapimodel_gender.rb +0 -27
- data/lib/stack_one/models/shared/updateemployeeapimodel_home_location.rb +0 -51
- data/lib/stack_one/models/shared/updateemployeeapimodel_marital_status.rb +0 -27
- data/lib/stack_one/models/shared/updateemployeeapimodel_national_identity_number.rb +0 -32
- data/lib/stack_one/models/shared/updateemployeeapimodel_pay_frequency.rb +0 -27
- data/lib/stack_one/models/shared/updateemployeeapimodel_pay_period.rb +0 -27
- data/lib/stack_one/models/shared/updateemployeeapimodel_preferred_language.rb +0 -27
- data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_country.rb +0 -27
- data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_employment_contract_type.rb +0 -27
- data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_employment_employment_contract_type_value.rb +0 -20
- data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_employment_employment_type_value.rb +0 -33
- data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_employment_pay_period_value.rb +0 -29
- data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_employment_type.rb +0 -27
- data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_employment_type_value.rb +0 -33
- data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_employment_value.rb +0 -31
- data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_ethnicity_value.rb +0 -26
- data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_gender_value.rb +0 -23
- data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_home_location_value.rb +0 -265
- data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_marital_status_value.rb +0 -26
- data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_national_identity_number_type_value.rb +0 -159
- data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_national_identity_number_value.rb +0 -265
- data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_preferred_language_value.rb +0 -115
- data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_state.rb +0 -27
- data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_value.rb +0 -23
- data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_work_location_country.rb +0 -27
- data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_work_location_value.rb +0 -265
- data/lib/stack_one/models/shared/updateemployeeapimodel_state.rb +0 -27
- data/lib/stack_one/models/shared/updateemployeeapimodel_type.rb +0 -27
- data/lib/stack_one/models/shared/updateemployeeapimodel_value.rb +0 -20
- data/lib/stack_one/models/shared/updateemployeeapimodel_work_location.rb +0 -51
- data/lib/stack_one/models/shared/updateuserapimodel.rb +0 -45
- data/lib/stack_one/models/shared/updateuserapimodel_status.rb +0 -27
- data/lib/stack_one/models/shared/updateuserapimodel_value.rb +0 -20
@@ -19,17 +19,53 @@ module StackOne
|
|
19
19
|
field :raw_response, ::Faraday::Response
|
20
20
|
# HTTP response status code for this operation
|
21
21
|
field :status_code, ::Integer
|
22
|
+
# Bad gateway error.
|
23
|
+
field :bad_gateway_response, T.nilable(::StackOne::Shared::BadGatewayResponse)
|
24
|
+
# Invalid request.
|
25
|
+
field :bad_request_response, T.nilable(::StackOne::Shared::BadRequestResponse)
|
26
|
+
# Conflict with current state.
|
27
|
+
field :conflict_response, T.nilable(::StackOne::Shared::ConflictResponse)
|
22
28
|
# Record created successfully.
|
23
29
|
field :create_result, T.nilable(::StackOne::Shared::CreateResult)
|
30
|
+
# Forbidden.
|
31
|
+
field :forbidden_response, T.nilable(::StackOne::Shared::ForbiddenResponse)
|
32
|
+
# Server error while executing the request.
|
33
|
+
field :internal_server_error_response, T.nilable(::StackOne::Shared::InternalServerErrorResponse)
|
34
|
+
# Resource not found.
|
35
|
+
field :not_found_response, T.nilable(::StackOne::Shared::NotFoundResponse)
|
36
|
+
# This functionality is not implemented.
|
37
|
+
field :not_implemented_response, T.nilable(::StackOne::Shared::NotImplementedResponse)
|
38
|
+
# Precondition failed: linked account belongs to a disabled integration.
|
39
|
+
field :precondition_failed_response, T.nilable(::StackOne::Shared::PreconditionFailedResponse)
|
40
|
+
# The request has timed out.
|
41
|
+
field :request_timed_out_response, T.nilable(::StackOne::Shared::RequestTimedOutResponse)
|
42
|
+
# Too many requests.
|
43
|
+
field :too_many_requests_response, T.nilable(::StackOne::Shared::TooManyRequestsResponse)
|
44
|
+
# Unauthorized access.
|
45
|
+
field :unauthorized_response, T.nilable(::StackOne::Shared::UnauthorizedResponse)
|
46
|
+
# Validation error.
|
47
|
+
field :unprocessable_entity_response, T.nilable(::StackOne::Shared::UnprocessableEntityResponse)
|
24
48
|
|
25
49
|
|
26
|
-
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
|
27
|
-
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, create_result: nil)
|
50
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, bad_gateway_response: T.nilable(::StackOne::Shared::BadGatewayResponse), bad_request_response: T.nilable(::StackOne::Shared::BadRequestResponse), conflict_response: T.nilable(::StackOne::Shared::ConflictResponse), create_result: T.nilable(::StackOne::Shared::CreateResult), forbidden_response: T.nilable(::StackOne::Shared::ForbiddenResponse), internal_server_error_response: T.nilable(::StackOne::Shared::InternalServerErrorResponse), not_found_response: T.nilable(::StackOne::Shared::NotFoundResponse), not_implemented_response: T.nilable(::StackOne::Shared::NotImplementedResponse), precondition_failed_response: T.nilable(::StackOne::Shared::PreconditionFailedResponse), request_timed_out_response: T.nilable(::StackOne::Shared::RequestTimedOutResponse), too_many_requests_response: T.nilable(::StackOne::Shared::TooManyRequestsResponse), unauthorized_response: T.nilable(::StackOne::Shared::UnauthorizedResponse), unprocessable_entity_response: T.nilable(::StackOne::Shared::UnprocessableEntityResponse)).void }
|
51
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, bad_gateway_response: nil, bad_request_response: nil, conflict_response: nil, create_result: nil, forbidden_response: nil, internal_server_error_response: nil, not_found_response: nil, not_implemented_response: nil, precondition_failed_response: nil, request_timed_out_response: nil, too_many_requests_response: nil, unauthorized_response: nil, unprocessable_entity_response: nil)
|
28
52
|
@content_type = content_type
|
29
53
|
@headers = headers
|
30
54
|
@raw_response = raw_response
|
31
55
|
@status_code = status_code
|
56
|
+
@bad_gateway_response = bad_gateway_response
|
57
|
+
@bad_request_response = bad_request_response
|
58
|
+
@conflict_response = conflict_response
|
32
59
|
@create_result = create_result
|
60
|
+
@forbidden_response = forbidden_response
|
61
|
+
@internal_server_error_response = internal_server_error_response
|
62
|
+
@not_found_response = not_found_response
|
63
|
+
@not_implemented_response = not_implemented_response
|
64
|
+
@precondition_failed_response = precondition_failed_response
|
65
|
+
@request_timed_out_response = request_timed_out_response
|
66
|
+
@too_many_requests_response = too_many_requests_response
|
67
|
+
@unauthorized_response = unauthorized_response
|
68
|
+
@unprocessable_entity_response = unprocessable_entity_response
|
33
69
|
end
|
34
70
|
end
|
35
71
|
end
|
@@ -19,17 +19,53 @@ module StackOne
|
|
19
19
|
field :raw_response, ::Faraday::Response
|
20
20
|
# HTTP response status code for this operation
|
21
21
|
field :status_code, ::Integer
|
22
|
+
# Bad gateway error.
|
23
|
+
field :bad_gateway_response, T.nilable(::StackOne::Shared::BadGatewayResponse)
|
24
|
+
# Invalid request.
|
25
|
+
field :bad_request_response, T.nilable(::StackOne::Shared::BadRequestResponse)
|
26
|
+
# Conflict with current state.
|
27
|
+
field :conflict_response, T.nilable(::StackOne::Shared::ConflictResponse)
|
22
28
|
# The application was created successfully.
|
23
29
|
field :create_result, T.nilable(::StackOne::Shared::CreateResult)
|
30
|
+
# Forbidden.
|
31
|
+
field :forbidden_response, T.nilable(::StackOne::Shared::ForbiddenResponse)
|
32
|
+
# Server error while executing the request.
|
33
|
+
field :internal_server_error_response, T.nilable(::StackOne::Shared::InternalServerErrorResponse)
|
34
|
+
# Resource not found.
|
35
|
+
field :not_found_response, T.nilable(::StackOne::Shared::NotFoundResponse)
|
36
|
+
# This functionality is not implemented.
|
37
|
+
field :not_implemented_response, T.nilable(::StackOne::Shared::NotImplementedResponse)
|
38
|
+
# Precondition failed: linked account belongs to a disabled integration.
|
39
|
+
field :precondition_failed_response, T.nilable(::StackOne::Shared::PreconditionFailedResponse)
|
40
|
+
# The request has timed out.
|
41
|
+
field :request_timed_out_response, T.nilable(::StackOne::Shared::RequestTimedOutResponse)
|
42
|
+
# Too many requests.
|
43
|
+
field :too_many_requests_response, T.nilable(::StackOne::Shared::TooManyRequestsResponse)
|
44
|
+
# Unauthorized access.
|
45
|
+
field :unauthorized_response, T.nilable(::StackOne::Shared::UnauthorizedResponse)
|
46
|
+
# Validation error.
|
47
|
+
field :unprocessable_entity_response, T.nilable(::StackOne::Shared::UnprocessableEntityResponse)
|
24
48
|
|
25
49
|
|
26
|
-
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
|
27
|
-
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, create_result: nil)
|
50
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, bad_gateway_response: T.nilable(::StackOne::Shared::BadGatewayResponse), bad_request_response: T.nilable(::StackOne::Shared::BadRequestResponse), conflict_response: T.nilable(::StackOne::Shared::ConflictResponse), create_result: T.nilable(::StackOne::Shared::CreateResult), forbidden_response: T.nilable(::StackOne::Shared::ForbiddenResponse), internal_server_error_response: T.nilable(::StackOne::Shared::InternalServerErrorResponse), not_found_response: T.nilable(::StackOne::Shared::NotFoundResponse), not_implemented_response: T.nilable(::StackOne::Shared::NotImplementedResponse), precondition_failed_response: T.nilable(::StackOne::Shared::PreconditionFailedResponse), request_timed_out_response: T.nilable(::StackOne::Shared::RequestTimedOutResponse), too_many_requests_response: T.nilable(::StackOne::Shared::TooManyRequestsResponse), unauthorized_response: T.nilable(::StackOne::Shared::UnauthorizedResponse), unprocessable_entity_response: T.nilable(::StackOne::Shared::UnprocessableEntityResponse)).void }
|
51
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, bad_gateway_response: nil, bad_request_response: nil, conflict_response: nil, create_result: nil, forbidden_response: nil, internal_server_error_response: nil, not_found_response: nil, not_implemented_response: nil, precondition_failed_response: nil, request_timed_out_response: nil, too_many_requests_response: nil, unauthorized_response: nil, unprocessable_entity_response: nil)
|
28
52
|
@content_type = content_type
|
29
53
|
@headers = headers
|
30
54
|
@raw_response = raw_response
|
31
55
|
@status_code = status_code
|
56
|
+
@bad_gateway_response = bad_gateway_response
|
57
|
+
@bad_request_response = bad_request_response
|
58
|
+
@conflict_response = conflict_response
|
32
59
|
@create_result = create_result
|
60
|
+
@forbidden_response = forbidden_response
|
61
|
+
@internal_server_error_response = internal_server_error_response
|
62
|
+
@not_found_response = not_found_response
|
63
|
+
@not_implemented_response = not_implemented_response
|
64
|
+
@precondition_failed_response = precondition_failed_response
|
65
|
+
@request_timed_out_response = request_timed_out_response
|
66
|
+
@too_many_requests_response = too_many_requests_response
|
67
|
+
@unauthorized_response = unauthorized_response
|
68
|
+
@unprocessable_entity_response = unprocessable_entity_response
|
33
69
|
end
|
34
70
|
end
|
35
71
|
end
|
@@ -19,17 +19,53 @@ module StackOne
|
|
19
19
|
field :raw_response, ::Faraday::Response
|
20
20
|
# HTTP response status code for this operation
|
21
21
|
field :status_code, ::Integer
|
22
|
+
# Bad gateway error.
|
23
|
+
field :bad_gateway_response, T.nilable(::StackOne::Shared::BadGatewayResponse)
|
24
|
+
# Invalid request.
|
25
|
+
field :bad_request_response, T.nilable(::StackOne::Shared::BadRequestResponse)
|
26
|
+
# Conflict with current state.
|
27
|
+
field :conflict_response, T.nilable(::StackOne::Shared::ConflictResponse)
|
22
28
|
# Record created successfully.
|
23
29
|
field :create_result, T.nilable(::StackOne::Shared::CreateResult)
|
30
|
+
# Forbidden.
|
31
|
+
field :forbidden_response, T.nilable(::StackOne::Shared::ForbiddenResponse)
|
32
|
+
# Server error while executing the request.
|
33
|
+
field :internal_server_error_response, T.nilable(::StackOne::Shared::InternalServerErrorResponse)
|
34
|
+
# Resource not found.
|
35
|
+
field :not_found_response, T.nilable(::StackOne::Shared::NotFoundResponse)
|
36
|
+
# This functionality is not implemented.
|
37
|
+
field :not_implemented_response, T.nilable(::StackOne::Shared::NotImplementedResponse)
|
38
|
+
# Precondition failed: linked account belongs to a disabled integration.
|
39
|
+
field :precondition_failed_response, T.nilable(::StackOne::Shared::PreconditionFailedResponse)
|
40
|
+
# The request has timed out.
|
41
|
+
field :request_timed_out_response, T.nilable(::StackOne::Shared::RequestTimedOutResponse)
|
42
|
+
# Too many requests.
|
43
|
+
field :too_many_requests_response, T.nilable(::StackOne::Shared::TooManyRequestsResponse)
|
44
|
+
# Unauthorized access.
|
45
|
+
field :unauthorized_response, T.nilable(::StackOne::Shared::UnauthorizedResponse)
|
46
|
+
# Validation error.
|
47
|
+
field :unprocessable_entity_response, T.nilable(::StackOne::Shared::UnprocessableEntityResponse)
|
24
48
|
|
25
49
|
|
26
|
-
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
|
27
|
-
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, create_result: nil)
|
50
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, bad_gateway_response: T.nilable(::StackOne::Shared::BadGatewayResponse), bad_request_response: T.nilable(::StackOne::Shared::BadRequestResponse), conflict_response: T.nilable(::StackOne::Shared::ConflictResponse), create_result: T.nilable(::StackOne::Shared::CreateResult), forbidden_response: T.nilable(::StackOne::Shared::ForbiddenResponse), internal_server_error_response: T.nilable(::StackOne::Shared::InternalServerErrorResponse), not_found_response: T.nilable(::StackOne::Shared::NotFoundResponse), not_implemented_response: T.nilable(::StackOne::Shared::NotImplementedResponse), precondition_failed_response: T.nilable(::StackOne::Shared::PreconditionFailedResponse), request_timed_out_response: T.nilable(::StackOne::Shared::RequestTimedOutResponse), too_many_requests_response: T.nilable(::StackOne::Shared::TooManyRequestsResponse), unauthorized_response: T.nilable(::StackOne::Shared::UnauthorizedResponse), unprocessable_entity_response: T.nilable(::StackOne::Shared::UnprocessableEntityResponse)).void }
|
51
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, bad_gateway_response: nil, bad_request_response: nil, conflict_response: nil, create_result: nil, forbidden_response: nil, internal_server_error_response: nil, not_found_response: nil, not_implemented_response: nil, precondition_failed_response: nil, request_timed_out_response: nil, too_many_requests_response: nil, unauthorized_response: nil, unprocessable_entity_response: nil)
|
28
52
|
@content_type = content_type
|
29
53
|
@headers = headers
|
30
54
|
@raw_response = raw_response
|
31
55
|
@status_code = status_code
|
56
|
+
@bad_gateway_response = bad_gateway_response
|
57
|
+
@bad_request_response = bad_request_response
|
58
|
+
@conflict_response = conflict_response
|
32
59
|
@create_result = create_result
|
60
|
+
@forbidden_response = forbidden_response
|
61
|
+
@internal_server_error_response = internal_server_error_response
|
62
|
+
@not_found_response = not_found_response
|
63
|
+
@not_implemented_response = not_implemented_response
|
64
|
+
@precondition_failed_response = precondition_failed_response
|
65
|
+
@request_timed_out_response = request_timed_out_response
|
66
|
+
@too_many_requests_response = too_many_requests_response
|
67
|
+
@unauthorized_response = unauthorized_response
|
68
|
+
@unprocessable_entity_response = unprocessable_entity_response
|
33
69
|
end
|
34
70
|
end
|
35
71
|
end
|
@@ -19,17 +19,53 @@ module StackOne
|
|
19
19
|
field :raw_response, ::Faraday::Response
|
20
20
|
# HTTP response status code for this operation
|
21
21
|
field :status_code, ::Integer
|
22
|
+
# Bad gateway error.
|
23
|
+
field :bad_gateway_response, T.nilable(::StackOne::Shared::BadGatewayResponse)
|
24
|
+
# Invalid request.
|
25
|
+
field :bad_request_response, T.nilable(::StackOne::Shared::BadRequestResponse)
|
26
|
+
# Conflict with current state.
|
27
|
+
field :conflict_response, T.nilable(::StackOne::Shared::ConflictResponse)
|
22
28
|
# Record created successfully.
|
23
29
|
field :create_result, T.nilable(::StackOne::Shared::CreateResult)
|
30
|
+
# Forbidden.
|
31
|
+
field :forbidden_response, T.nilable(::StackOne::Shared::ForbiddenResponse)
|
32
|
+
# Server error while executing the request.
|
33
|
+
field :internal_server_error_response, T.nilable(::StackOne::Shared::InternalServerErrorResponse)
|
34
|
+
# Resource not found.
|
35
|
+
field :not_found_response, T.nilable(::StackOne::Shared::NotFoundResponse)
|
36
|
+
# This functionality is not implemented.
|
37
|
+
field :not_implemented_response, T.nilable(::StackOne::Shared::NotImplementedResponse)
|
38
|
+
# Precondition failed: linked account belongs to a disabled integration.
|
39
|
+
field :precondition_failed_response, T.nilable(::StackOne::Shared::PreconditionFailedResponse)
|
40
|
+
# The request has timed out.
|
41
|
+
field :request_timed_out_response, T.nilable(::StackOne::Shared::RequestTimedOutResponse)
|
42
|
+
# Too many requests.
|
43
|
+
field :too_many_requests_response, T.nilable(::StackOne::Shared::TooManyRequestsResponse)
|
44
|
+
# Unauthorized access.
|
45
|
+
field :unauthorized_response, T.nilable(::StackOne::Shared::UnauthorizedResponse)
|
46
|
+
# Validation error.
|
47
|
+
field :unprocessable_entity_response, T.nilable(::StackOne::Shared::UnprocessableEntityResponse)
|
24
48
|
|
25
49
|
|
26
|
-
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
|
27
|
-
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, create_result: nil)
|
50
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, bad_gateway_response: T.nilable(::StackOne::Shared::BadGatewayResponse), bad_request_response: T.nilable(::StackOne::Shared::BadRequestResponse), conflict_response: T.nilable(::StackOne::Shared::ConflictResponse), create_result: T.nilable(::StackOne::Shared::CreateResult), forbidden_response: T.nilable(::StackOne::Shared::ForbiddenResponse), internal_server_error_response: T.nilable(::StackOne::Shared::InternalServerErrorResponse), not_found_response: T.nilable(::StackOne::Shared::NotFoundResponse), not_implemented_response: T.nilable(::StackOne::Shared::NotImplementedResponse), precondition_failed_response: T.nilable(::StackOne::Shared::PreconditionFailedResponse), request_timed_out_response: T.nilable(::StackOne::Shared::RequestTimedOutResponse), too_many_requests_response: T.nilable(::StackOne::Shared::TooManyRequestsResponse), unauthorized_response: T.nilable(::StackOne::Shared::UnauthorizedResponse), unprocessable_entity_response: T.nilable(::StackOne::Shared::UnprocessableEntityResponse)).void }
|
51
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, bad_gateway_response: nil, bad_request_response: nil, conflict_response: nil, create_result: nil, forbidden_response: nil, internal_server_error_response: nil, not_found_response: nil, not_implemented_response: nil, precondition_failed_response: nil, request_timed_out_response: nil, too_many_requests_response: nil, unauthorized_response: nil, unprocessable_entity_response: nil)
|
28
52
|
@content_type = content_type
|
29
53
|
@headers = headers
|
30
54
|
@raw_response = raw_response
|
31
55
|
@status_code = status_code
|
56
|
+
@bad_gateway_response = bad_gateway_response
|
57
|
+
@bad_request_response = bad_request_response
|
58
|
+
@conflict_response = conflict_response
|
32
59
|
@create_result = create_result
|
60
|
+
@forbidden_response = forbidden_response
|
61
|
+
@internal_server_error_response = internal_server_error_response
|
62
|
+
@not_found_response = not_found_response
|
63
|
+
@not_implemented_response = not_implemented_response
|
64
|
+
@precondition_failed_response = precondition_failed_response
|
65
|
+
@request_timed_out_response = request_timed_out_response
|
66
|
+
@too_many_requests_response = too_many_requests_response
|
67
|
+
@unauthorized_response = unauthorized_response
|
68
|
+
@unprocessable_entity_response = unprocessable_entity_response
|
33
69
|
end
|
34
70
|
end
|
35
71
|
end
|
@@ -19,17 +19,53 @@ module StackOne
|
|
19
19
|
field :raw_response, ::Faraday::Response
|
20
20
|
# HTTP response status code for this operation
|
21
21
|
field :status_code, ::Integer
|
22
|
+
# Bad gateway error.
|
23
|
+
field :bad_gateway_response, T.nilable(::StackOne::Shared::BadGatewayResponse)
|
24
|
+
# Invalid request.
|
25
|
+
field :bad_request_response, T.nilable(::StackOne::Shared::BadRequestResponse)
|
26
|
+
# Conflict with current state.
|
27
|
+
field :conflict_response, T.nilable(::StackOne::Shared::ConflictResponse)
|
22
28
|
# The candidate was successfully created.
|
23
29
|
field :create_result, T.nilable(::StackOne::Shared::CreateResult)
|
30
|
+
# Forbidden.
|
31
|
+
field :forbidden_response, T.nilable(::StackOne::Shared::ForbiddenResponse)
|
32
|
+
# Server error while executing the request.
|
33
|
+
field :internal_server_error_response, T.nilable(::StackOne::Shared::InternalServerErrorResponse)
|
34
|
+
# Resource not found.
|
35
|
+
field :not_found_response, T.nilable(::StackOne::Shared::NotFoundResponse)
|
36
|
+
# This functionality is not implemented.
|
37
|
+
field :not_implemented_response, T.nilable(::StackOne::Shared::NotImplementedResponse)
|
38
|
+
# Precondition failed: linked account belongs to a disabled integration.
|
39
|
+
field :precondition_failed_response, T.nilable(::StackOne::Shared::PreconditionFailedResponse)
|
40
|
+
# The request has timed out.
|
41
|
+
field :request_timed_out_response, T.nilable(::StackOne::Shared::RequestTimedOutResponse)
|
42
|
+
# Too many requests.
|
43
|
+
field :too_many_requests_response, T.nilable(::StackOne::Shared::TooManyRequestsResponse)
|
44
|
+
# Unauthorized access.
|
45
|
+
field :unauthorized_response, T.nilable(::StackOne::Shared::UnauthorizedResponse)
|
46
|
+
# Validation error.
|
47
|
+
field :unprocessable_entity_response, T.nilable(::StackOne::Shared::UnprocessableEntityResponse)
|
24
48
|
|
25
49
|
|
26
|
-
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
|
27
|
-
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, create_result: nil)
|
50
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, bad_gateway_response: T.nilable(::StackOne::Shared::BadGatewayResponse), bad_request_response: T.nilable(::StackOne::Shared::BadRequestResponse), conflict_response: T.nilable(::StackOne::Shared::ConflictResponse), create_result: T.nilable(::StackOne::Shared::CreateResult), forbidden_response: T.nilable(::StackOne::Shared::ForbiddenResponse), internal_server_error_response: T.nilable(::StackOne::Shared::InternalServerErrorResponse), not_found_response: T.nilable(::StackOne::Shared::NotFoundResponse), not_implemented_response: T.nilable(::StackOne::Shared::NotImplementedResponse), precondition_failed_response: T.nilable(::StackOne::Shared::PreconditionFailedResponse), request_timed_out_response: T.nilable(::StackOne::Shared::RequestTimedOutResponse), too_many_requests_response: T.nilable(::StackOne::Shared::TooManyRequestsResponse), unauthorized_response: T.nilable(::StackOne::Shared::UnauthorizedResponse), unprocessable_entity_response: T.nilable(::StackOne::Shared::UnprocessableEntityResponse)).void }
|
51
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, bad_gateway_response: nil, bad_request_response: nil, conflict_response: nil, create_result: nil, forbidden_response: nil, internal_server_error_response: nil, not_found_response: nil, not_implemented_response: nil, precondition_failed_response: nil, request_timed_out_response: nil, too_many_requests_response: nil, unauthorized_response: nil, unprocessable_entity_response: nil)
|
28
52
|
@content_type = content_type
|
29
53
|
@headers = headers
|
30
54
|
@raw_response = raw_response
|
31
55
|
@status_code = status_code
|
56
|
+
@bad_gateway_response = bad_gateway_response
|
57
|
+
@bad_request_response = bad_request_response
|
58
|
+
@conflict_response = conflict_response
|
32
59
|
@create_result = create_result
|
60
|
+
@forbidden_response = forbidden_response
|
61
|
+
@internal_server_error_response = internal_server_error_response
|
62
|
+
@not_found_response = not_found_response
|
63
|
+
@not_implemented_response = not_implemented_response
|
64
|
+
@precondition_failed_response = precondition_failed_response
|
65
|
+
@request_timed_out_response = request_timed_out_response
|
66
|
+
@too_many_requests_response = too_many_requests_response
|
67
|
+
@unauthorized_response = unauthorized_response
|
68
|
+
@unprocessable_entity_response = unprocessable_entity_response
|
33
69
|
end
|
34
70
|
end
|
35
71
|
end
|
@@ -19,17 +19,53 @@ module StackOne
|
|
19
19
|
field :raw_response, ::Faraday::Response
|
20
20
|
# HTTP response status code for this operation
|
21
21
|
field :status_code, ::Integer
|
22
|
+
# Bad gateway error.
|
23
|
+
field :bad_gateway_response, T.nilable(::StackOne::Shared::BadGatewayResponse)
|
24
|
+
# Invalid request.
|
25
|
+
field :bad_request_response, T.nilable(::StackOne::Shared::BadRequestResponse)
|
26
|
+
# Conflict with current state.
|
27
|
+
field :conflict_response, T.nilable(::StackOne::Shared::ConflictResponse)
|
22
28
|
# The job was successfully created.
|
23
29
|
field :create_result, T.nilable(::StackOne::Shared::CreateResult)
|
30
|
+
# Forbidden.
|
31
|
+
field :forbidden_response, T.nilable(::StackOne::Shared::ForbiddenResponse)
|
32
|
+
# Server error while executing the request.
|
33
|
+
field :internal_server_error_response, T.nilable(::StackOne::Shared::InternalServerErrorResponse)
|
34
|
+
# Resource not found.
|
35
|
+
field :not_found_response, T.nilable(::StackOne::Shared::NotFoundResponse)
|
36
|
+
# This functionality is not implemented.
|
37
|
+
field :not_implemented_response, T.nilable(::StackOne::Shared::NotImplementedResponse)
|
38
|
+
# Precondition failed: linked account belongs to a disabled integration.
|
39
|
+
field :precondition_failed_response, T.nilable(::StackOne::Shared::PreconditionFailedResponse)
|
40
|
+
# The request has timed out.
|
41
|
+
field :request_timed_out_response, T.nilable(::StackOne::Shared::RequestTimedOutResponse)
|
42
|
+
# Too many requests.
|
43
|
+
field :too_many_requests_response, T.nilable(::StackOne::Shared::TooManyRequestsResponse)
|
44
|
+
# Unauthorized access.
|
45
|
+
field :unauthorized_response, T.nilable(::StackOne::Shared::UnauthorizedResponse)
|
46
|
+
# Validation error.
|
47
|
+
field :unprocessable_entity_response, T.nilable(::StackOne::Shared::UnprocessableEntityResponse)
|
24
48
|
|
25
49
|
|
26
|
-
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
|
27
|
-
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, create_result: nil)
|
50
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, bad_gateway_response: T.nilable(::StackOne::Shared::BadGatewayResponse), bad_request_response: T.nilable(::StackOne::Shared::BadRequestResponse), conflict_response: T.nilable(::StackOne::Shared::ConflictResponse), create_result: T.nilable(::StackOne::Shared::CreateResult), forbidden_response: T.nilable(::StackOne::Shared::ForbiddenResponse), internal_server_error_response: T.nilable(::StackOne::Shared::InternalServerErrorResponse), not_found_response: T.nilable(::StackOne::Shared::NotFoundResponse), not_implemented_response: T.nilable(::StackOne::Shared::NotImplementedResponse), precondition_failed_response: T.nilable(::StackOne::Shared::PreconditionFailedResponse), request_timed_out_response: T.nilable(::StackOne::Shared::RequestTimedOutResponse), too_many_requests_response: T.nilable(::StackOne::Shared::TooManyRequestsResponse), unauthorized_response: T.nilable(::StackOne::Shared::UnauthorizedResponse), unprocessable_entity_response: T.nilable(::StackOne::Shared::UnprocessableEntityResponse)).void }
|
51
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, bad_gateway_response: nil, bad_request_response: nil, conflict_response: nil, create_result: nil, forbidden_response: nil, internal_server_error_response: nil, not_found_response: nil, not_implemented_response: nil, precondition_failed_response: nil, request_timed_out_response: nil, too_many_requests_response: nil, unauthorized_response: nil, unprocessable_entity_response: nil)
|
28
52
|
@content_type = content_type
|
29
53
|
@headers = headers
|
30
54
|
@raw_response = raw_response
|
31
55
|
@status_code = status_code
|
56
|
+
@bad_gateway_response = bad_gateway_response
|
57
|
+
@bad_request_response = bad_request_response
|
58
|
+
@conflict_response = conflict_response
|
32
59
|
@create_result = create_result
|
60
|
+
@forbidden_response = forbidden_response
|
61
|
+
@internal_server_error_response = internal_server_error_response
|
62
|
+
@not_found_response = not_found_response
|
63
|
+
@not_implemented_response = not_implemented_response
|
64
|
+
@precondition_failed_response = precondition_failed_response
|
65
|
+
@request_timed_out_response = request_timed_out_response
|
66
|
+
@too_many_requests_response = too_many_requests_response
|
67
|
+
@unauthorized_response = unauthorized_response
|
68
|
+
@unprocessable_entity_response = unprocessable_entity_response
|
33
69
|
end
|
34
70
|
end
|
35
71
|
end
|
@@ -19,17 +19,53 @@ module StackOne
|
|
19
19
|
field :raw_response, ::Faraday::Response
|
20
20
|
# HTTP response status code for this operation
|
21
21
|
field :status_code, ::Integer
|
22
|
+
# Bad gateway error.
|
23
|
+
field :bad_gateway_response, T.nilable(::StackOne::Shared::BadGatewayResponse)
|
24
|
+
# Invalid request.
|
25
|
+
field :bad_request_response, T.nilable(::StackOne::Shared::BadRequestResponse)
|
26
|
+
# Conflict with current state.
|
27
|
+
field :conflict_response, T.nilable(::StackOne::Shared::ConflictResponse)
|
22
28
|
# The offer was created successfully.
|
23
29
|
field :create_result, T.nilable(::StackOne::Shared::CreateResult)
|
30
|
+
# Forbidden.
|
31
|
+
field :forbidden_response, T.nilable(::StackOne::Shared::ForbiddenResponse)
|
32
|
+
# Server error while executing the request.
|
33
|
+
field :internal_server_error_response, T.nilable(::StackOne::Shared::InternalServerErrorResponse)
|
34
|
+
# Resource not found.
|
35
|
+
field :not_found_response, T.nilable(::StackOne::Shared::NotFoundResponse)
|
36
|
+
# This functionality is not implemented.
|
37
|
+
field :not_implemented_response, T.nilable(::StackOne::Shared::NotImplementedResponse)
|
38
|
+
# Precondition failed: linked account belongs to a disabled integration.
|
39
|
+
field :precondition_failed_response, T.nilable(::StackOne::Shared::PreconditionFailedResponse)
|
40
|
+
# The request has timed out.
|
41
|
+
field :request_timed_out_response, T.nilable(::StackOne::Shared::RequestTimedOutResponse)
|
42
|
+
# Too many requests.
|
43
|
+
field :too_many_requests_response, T.nilable(::StackOne::Shared::TooManyRequestsResponse)
|
44
|
+
# Unauthorized access.
|
45
|
+
field :unauthorized_response, T.nilable(::StackOne::Shared::UnauthorizedResponse)
|
46
|
+
# Validation error.
|
47
|
+
field :unprocessable_entity_response, T.nilable(::StackOne::Shared::UnprocessableEntityResponse)
|
24
48
|
|
25
49
|
|
26
|
-
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
|
27
|
-
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, create_result: nil)
|
50
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, bad_gateway_response: T.nilable(::StackOne::Shared::BadGatewayResponse), bad_request_response: T.nilable(::StackOne::Shared::BadRequestResponse), conflict_response: T.nilable(::StackOne::Shared::ConflictResponse), create_result: T.nilable(::StackOne::Shared::CreateResult), forbidden_response: T.nilable(::StackOne::Shared::ForbiddenResponse), internal_server_error_response: T.nilable(::StackOne::Shared::InternalServerErrorResponse), not_found_response: T.nilable(::StackOne::Shared::NotFoundResponse), not_implemented_response: T.nilable(::StackOne::Shared::NotImplementedResponse), precondition_failed_response: T.nilable(::StackOne::Shared::PreconditionFailedResponse), request_timed_out_response: T.nilable(::StackOne::Shared::RequestTimedOutResponse), too_many_requests_response: T.nilable(::StackOne::Shared::TooManyRequestsResponse), unauthorized_response: T.nilable(::StackOne::Shared::UnauthorizedResponse), unprocessable_entity_response: T.nilable(::StackOne::Shared::UnprocessableEntityResponse)).void }
|
51
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, bad_gateway_response: nil, bad_request_response: nil, conflict_response: nil, create_result: nil, forbidden_response: nil, internal_server_error_response: nil, not_found_response: nil, not_implemented_response: nil, precondition_failed_response: nil, request_timed_out_response: nil, too_many_requests_response: nil, unauthorized_response: nil, unprocessable_entity_response: nil)
|
28
52
|
@content_type = content_type
|
29
53
|
@headers = headers
|
30
54
|
@raw_response = raw_response
|
31
55
|
@status_code = status_code
|
56
|
+
@bad_gateway_response = bad_gateway_response
|
57
|
+
@bad_request_response = bad_request_response
|
58
|
+
@conflict_response = conflict_response
|
32
59
|
@create_result = create_result
|
60
|
+
@forbidden_response = forbidden_response
|
61
|
+
@internal_server_error_response = internal_server_error_response
|
62
|
+
@not_found_response = not_found_response
|
63
|
+
@not_implemented_response = not_implemented_response
|
64
|
+
@precondition_failed_response = precondition_failed_response
|
65
|
+
@request_timed_out_response = request_timed_out_response
|
66
|
+
@too_many_requests_response = too_many_requests_response
|
67
|
+
@unauthorized_response = unauthorized_response
|
68
|
+
@unprocessable_entity_response = unprocessable_entity_response
|
33
69
|
end
|
34
70
|
end
|
35
71
|
end
|
@@ -19,17 +19,53 @@ module StackOne
|
|
19
19
|
field :raw_response, ::Faraday::Response
|
20
20
|
# HTTP response status code for this operation
|
21
21
|
field :status_code, ::Integer
|
22
|
+
# Bad gateway error.
|
23
|
+
field :bad_gateway_response, T.nilable(::StackOne::Shared::BadGatewayResponse)
|
24
|
+
# Invalid request.
|
25
|
+
field :bad_request_response, T.nilable(::StackOne::Shared::BadRequestResponse)
|
26
|
+
# Conflict with current state.
|
27
|
+
field :conflict_response, T.nilable(::StackOne::Shared::ConflictResponse)
|
22
28
|
# Record deleted successfully.
|
23
29
|
field :delete_result, T.nilable(::StackOne::Shared::DeleteResult)
|
30
|
+
# Forbidden.
|
31
|
+
field :forbidden_response, T.nilable(::StackOne::Shared::ForbiddenResponse)
|
32
|
+
# Server error while executing the request.
|
33
|
+
field :internal_server_error_response, T.nilable(::StackOne::Shared::InternalServerErrorResponse)
|
34
|
+
# Resource not found.
|
35
|
+
field :not_found_response, T.nilable(::StackOne::Shared::NotFoundResponse)
|
36
|
+
# This functionality is not implemented.
|
37
|
+
field :not_implemented_response, T.nilable(::StackOne::Shared::NotImplementedResponse)
|
38
|
+
# Precondition failed: linked account belongs to a disabled integration.
|
39
|
+
field :precondition_failed_response, T.nilable(::StackOne::Shared::PreconditionFailedResponse)
|
40
|
+
# The request has timed out.
|
41
|
+
field :request_timed_out_response, T.nilable(::StackOne::Shared::RequestTimedOutResponse)
|
42
|
+
# Too many requests.
|
43
|
+
field :too_many_requests_response, T.nilable(::StackOne::Shared::TooManyRequestsResponse)
|
44
|
+
# Unauthorized access.
|
45
|
+
field :unauthorized_response, T.nilable(::StackOne::Shared::UnauthorizedResponse)
|
46
|
+
# Validation error.
|
47
|
+
field :unprocessable_entity_response, T.nilable(::StackOne::Shared::UnprocessableEntityResponse)
|
24
48
|
|
25
49
|
|
26
|
-
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, delete_result: T.nilable(::StackOne::Shared::DeleteResult)).void }
|
27
|
-
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, delete_result: nil)
|
50
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, bad_gateway_response: T.nilable(::StackOne::Shared::BadGatewayResponse), bad_request_response: T.nilable(::StackOne::Shared::BadRequestResponse), conflict_response: T.nilable(::StackOne::Shared::ConflictResponse), delete_result: T.nilable(::StackOne::Shared::DeleteResult), forbidden_response: T.nilable(::StackOne::Shared::ForbiddenResponse), internal_server_error_response: T.nilable(::StackOne::Shared::InternalServerErrorResponse), not_found_response: T.nilable(::StackOne::Shared::NotFoundResponse), not_implemented_response: T.nilable(::StackOne::Shared::NotImplementedResponse), precondition_failed_response: T.nilable(::StackOne::Shared::PreconditionFailedResponse), request_timed_out_response: T.nilable(::StackOne::Shared::RequestTimedOutResponse), too_many_requests_response: T.nilable(::StackOne::Shared::TooManyRequestsResponse), unauthorized_response: T.nilable(::StackOne::Shared::UnauthorizedResponse), unprocessable_entity_response: T.nilable(::StackOne::Shared::UnprocessableEntityResponse)).void }
|
51
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, bad_gateway_response: nil, bad_request_response: nil, conflict_response: nil, delete_result: nil, forbidden_response: nil, internal_server_error_response: nil, not_found_response: nil, not_implemented_response: nil, precondition_failed_response: nil, request_timed_out_response: nil, too_many_requests_response: nil, unauthorized_response: nil, unprocessable_entity_response: nil)
|
28
52
|
@content_type = content_type
|
29
53
|
@headers = headers
|
30
54
|
@raw_response = raw_response
|
31
55
|
@status_code = status_code
|
56
|
+
@bad_gateway_response = bad_gateway_response
|
57
|
+
@bad_request_response = bad_request_response
|
58
|
+
@conflict_response = conflict_response
|
32
59
|
@delete_result = delete_result
|
60
|
+
@forbidden_response = forbidden_response
|
61
|
+
@internal_server_error_response = internal_server_error_response
|
62
|
+
@not_found_response = not_found_response
|
63
|
+
@not_implemented_response = not_implemented_response
|
64
|
+
@precondition_failed_response = precondition_failed_response
|
65
|
+
@request_timed_out_response = request_timed_out_response
|
66
|
+
@too_many_requests_response = too_many_requests_response
|
67
|
+
@unauthorized_response = unauthorized_response
|
68
|
+
@unprocessable_entity_response = unprocessable_entity_response
|
33
69
|
end
|
34
70
|
end
|
35
71
|
end
|
@@ -19,17 +19,53 @@ module StackOne
|
|
19
19
|
field :raw_response, ::Faraday::Response
|
20
20
|
# HTTP response status code for this operation
|
21
21
|
field :status_code, ::Integer
|
22
|
+
# Bad gateway error.
|
23
|
+
field :bad_gateway_response, T.nilable(::StackOne::Shared::BadGatewayResponse)
|
24
|
+
# Invalid request.
|
25
|
+
field :bad_request_response, T.nilable(::StackOne::Shared::BadRequestResponse)
|
22
26
|
# The document related to the application with the given identifiers was retrieved.
|
23
27
|
field :bytes, T.nilable(::String)
|
28
|
+
# Conflict with current state.
|
29
|
+
field :conflict_response, T.nilable(::StackOne::Shared::ConflictResponse)
|
30
|
+
# Forbidden.
|
31
|
+
field :forbidden_response, T.nilable(::StackOne::Shared::ForbiddenResponse)
|
32
|
+
# Server error while executing the request.
|
33
|
+
field :internal_server_error_response, T.nilable(::StackOne::Shared::InternalServerErrorResponse)
|
34
|
+
# Resource not found.
|
35
|
+
field :not_found_response, T.nilable(::StackOne::Shared::NotFoundResponse)
|
36
|
+
# This functionality is not implemented.
|
37
|
+
field :not_implemented_response, T.nilable(::StackOne::Shared::NotImplementedResponse)
|
38
|
+
# Precondition failed: linked account belongs to a disabled integration.
|
39
|
+
field :precondition_failed_response, T.nilable(::StackOne::Shared::PreconditionFailedResponse)
|
40
|
+
# The request has timed out.
|
41
|
+
field :request_timed_out_response, T.nilable(::StackOne::Shared::RequestTimedOutResponse)
|
42
|
+
# Too many requests.
|
43
|
+
field :too_many_requests_response, T.nilable(::StackOne::Shared::TooManyRequestsResponse)
|
44
|
+
# Unauthorized access.
|
45
|
+
field :unauthorized_response, T.nilable(::StackOne::Shared::UnauthorizedResponse)
|
46
|
+
# Validation error.
|
47
|
+
field :unprocessable_entity_response, T.nilable(::StackOne::Shared::UnprocessableEntityResponse)
|
24
48
|
|
25
49
|
|
26
|
-
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, bytes: T.nilable(::String)).void }
|
27
|
-
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, bytes: nil)
|
50
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, bad_gateway_response: T.nilable(::StackOne::Shared::BadGatewayResponse), bad_request_response: T.nilable(::StackOne::Shared::BadRequestResponse), bytes: T.nilable(::String), conflict_response: T.nilable(::StackOne::Shared::ConflictResponse), forbidden_response: T.nilable(::StackOne::Shared::ForbiddenResponse), internal_server_error_response: T.nilable(::StackOne::Shared::InternalServerErrorResponse), not_found_response: T.nilable(::StackOne::Shared::NotFoundResponse), not_implemented_response: T.nilable(::StackOne::Shared::NotImplementedResponse), precondition_failed_response: T.nilable(::StackOne::Shared::PreconditionFailedResponse), request_timed_out_response: T.nilable(::StackOne::Shared::RequestTimedOutResponse), too_many_requests_response: T.nilable(::StackOne::Shared::TooManyRequestsResponse), unauthorized_response: T.nilable(::StackOne::Shared::UnauthorizedResponse), unprocessable_entity_response: T.nilable(::StackOne::Shared::UnprocessableEntityResponse)).void }
|
51
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, bad_gateway_response: nil, bad_request_response: nil, bytes: nil, conflict_response: nil, forbidden_response: nil, internal_server_error_response: nil, not_found_response: nil, not_implemented_response: nil, precondition_failed_response: nil, request_timed_out_response: nil, too_many_requests_response: nil, unauthorized_response: nil, unprocessable_entity_response: nil)
|
28
52
|
@content_type = content_type
|
29
53
|
@headers = headers
|
30
54
|
@raw_response = raw_response
|
31
55
|
@status_code = status_code
|
56
|
+
@bad_gateway_response = bad_gateway_response
|
57
|
+
@bad_request_response = bad_request_response
|
32
58
|
@bytes = bytes
|
59
|
+
@conflict_response = conflict_response
|
60
|
+
@forbidden_response = forbidden_response
|
61
|
+
@internal_server_error_response = internal_server_error_response
|
62
|
+
@not_found_response = not_found_response
|
63
|
+
@not_implemented_response = not_implemented_response
|
64
|
+
@precondition_failed_response = precondition_failed_response
|
65
|
+
@request_timed_out_response = request_timed_out_response
|
66
|
+
@too_many_requests_response = too_many_requests_response
|
67
|
+
@unauthorized_response = unauthorized_response
|
68
|
+
@unprocessable_entity_response = unprocessable_entity_response
|
33
69
|
end
|
34
70
|
end
|
35
71
|
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
# Filter parameters that allow greater customisation of the list response
|
11
|
+
class AtsGetApplicationCustomFieldDefinitionQueryParamFilter < ::Crystalline::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# Use a string with a date to only select results updated after that given date
|
15
|
+
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
|
16
|
+
|
17
|
+
|
18
|
+
sig { params(updated_after: T.nilable(::String)).void }
|
19
|
+
def initialize(updated_after: nil)
|
20
|
+
@updated_after = updated_after
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -18,7 +18,7 @@ module StackOne
|
|
18
18
|
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
19
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
20
|
# Filter parameters that allow greater customisation of the list response
|
21
|
-
field :filter, T.nilable(::StackOne::Operations::
|
21
|
+
field :filter, T.nilable(::StackOne::Operations::AtsGetApplicationCustomFieldDefinitionQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
|
22
22
|
# The unified cursor
|
23
23
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
24
24
|
# The page number of the results to fetch
|
@@ -37,7 +37,7 @@ module StackOne
|
|
37
37
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
38
38
|
|
39
39
|
|
40
|
-
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::
|
40
|
+
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsGetApplicationCustomFieldDefinitionQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
41
41
|
def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
42
42
|
@id = id
|
43
43
|
@x_account_id = x_account_id
|
data/lib/stack_one/models/operations/ats_get_application_custom_field_definition_response.rb
CHANGED
@@ -19,17 +19,53 @@ module StackOne
|
|
19
19
|
field :raw_response, ::Faraday::Response
|
20
20
|
# HTTP response status code for this operation
|
21
21
|
field :status_code, ::Integer
|
22
|
+
# Bad gateway error.
|
23
|
+
field :bad_gateway_response, T.nilable(::StackOne::Shared::BadGatewayResponse)
|
24
|
+
# Invalid request.
|
25
|
+
field :bad_request_response, T.nilable(::StackOne::Shared::BadRequestResponse)
|
26
|
+
# Conflict with current state.
|
27
|
+
field :conflict_response, T.nilable(::StackOne::Shared::ConflictResponse)
|
22
28
|
# The application custom field definition was retrieved.
|
23
29
|
field :custom_field_definition_result_api_model, T.nilable(::StackOne::Shared::CustomFieldDefinitionResultApiModel)
|
30
|
+
# Forbidden.
|
31
|
+
field :forbidden_response, T.nilable(::StackOne::Shared::ForbiddenResponse)
|
32
|
+
# Server error while executing the request.
|
33
|
+
field :internal_server_error_response, T.nilable(::StackOne::Shared::InternalServerErrorResponse)
|
34
|
+
# Resource not found.
|
35
|
+
field :not_found_response, T.nilable(::StackOne::Shared::NotFoundResponse)
|
36
|
+
# This functionality is not implemented.
|
37
|
+
field :not_implemented_response, T.nilable(::StackOne::Shared::NotImplementedResponse)
|
38
|
+
# Precondition failed: linked account belongs to a disabled integration.
|
39
|
+
field :precondition_failed_response, T.nilable(::StackOne::Shared::PreconditionFailedResponse)
|
40
|
+
# The request has timed out.
|
41
|
+
field :request_timed_out_response, T.nilable(::StackOne::Shared::RequestTimedOutResponse)
|
42
|
+
# Too many requests.
|
43
|
+
field :too_many_requests_response, T.nilable(::StackOne::Shared::TooManyRequestsResponse)
|
44
|
+
# Unauthorized access.
|
45
|
+
field :unauthorized_response, T.nilable(::StackOne::Shared::UnauthorizedResponse)
|
46
|
+
# Validation error.
|
47
|
+
field :unprocessable_entity_response, T.nilable(::StackOne::Shared::UnprocessableEntityResponse)
|
24
48
|
|
25
49
|
|
26
|
-
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, custom_field_definition_result_api_model: T.nilable(::StackOne::Shared::CustomFieldDefinitionResultApiModel)).void }
|
27
|
-
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, custom_field_definition_result_api_model: nil)
|
50
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, bad_gateway_response: T.nilable(::StackOne::Shared::BadGatewayResponse), bad_request_response: T.nilable(::StackOne::Shared::BadRequestResponse), conflict_response: T.nilable(::StackOne::Shared::ConflictResponse), custom_field_definition_result_api_model: T.nilable(::StackOne::Shared::CustomFieldDefinitionResultApiModel), forbidden_response: T.nilable(::StackOne::Shared::ForbiddenResponse), internal_server_error_response: T.nilable(::StackOne::Shared::InternalServerErrorResponse), not_found_response: T.nilable(::StackOne::Shared::NotFoundResponse), not_implemented_response: T.nilable(::StackOne::Shared::NotImplementedResponse), precondition_failed_response: T.nilable(::StackOne::Shared::PreconditionFailedResponse), request_timed_out_response: T.nilable(::StackOne::Shared::RequestTimedOutResponse), too_many_requests_response: T.nilable(::StackOne::Shared::TooManyRequestsResponse), unauthorized_response: T.nilable(::StackOne::Shared::UnauthorizedResponse), unprocessable_entity_response: T.nilable(::StackOne::Shared::UnprocessableEntityResponse)).void }
|
51
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, bad_gateway_response: nil, bad_request_response: nil, conflict_response: nil, custom_field_definition_result_api_model: nil, forbidden_response: nil, internal_server_error_response: nil, not_found_response: nil, not_implemented_response: nil, precondition_failed_response: nil, request_timed_out_response: nil, too_many_requests_response: nil, unauthorized_response: nil, unprocessable_entity_response: nil)
|
28
52
|
@content_type = content_type
|
29
53
|
@headers = headers
|
30
54
|
@raw_response = raw_response
|
31
55
|
@status_code = status_code
|
56
|
+
@bad_gateway_response = bad_gateway_response
|
57
|
+
@bad_request_response = bad_request_response
|
58
|
+
@conflict_response = conflict_response
|
32
59
|
@custom_field_definition_result_api_model = custom_field_definition_result_api_model
|
60
|
+
@forbidden_response = forbidden_response
|
61
|
+
@internal_server_error_response = internal_server_error_response
|
62
|
+
@not_found_response = not_found_response
|
63
|
+
@not_implemented_response = not_implemented_response
|
64
|
+
@precondition_failed_response = precondition_failed_response
|
65
|
+
@request_timed_out_response = request_timed_out_response
|
66
|
+
@too_many_requests_response = too_many_requests_response
|
67
|
+
@unauthorized_response = unauthorized_response
|
68
|
+
@unprocessable_entity_response = unprocessable_entity_response
|
33
69
|
end
|
34
70
|
end
|
35
71
|
end
|