candidhealth 0.17.1
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 +7 -0
- data/lib/candidhealth/auth/client.rb +28 -0
- data/lib/candidhealth/auth/v_2/client.rb +90 -0
- data/lib/candidhealth/auth/v_2/types/auth_get_token_request.rb +54 -0
- data/lib/candidhealth/auth/v_2/types/auth_get_token_response.rb +59 -0
- data/lib/candidhealth/auth/v_2/types/too_many_requests_error_type.rb +49 -0
- data/lib/candidhealth/billing_notes/client.rb +28 -0
- data/lib/candidhealth/billing_notes/v_2/client.rb +76 -0
- data/lib/candidhealth/billing_notes/v_2/types/billing_note.rb +89 -0
- data/lib/candidhealth/billing_notes/v_2/types/billing_note_base.rb +49 -0
- data/lib/candidhealth/billing_notes/v_2/types/billing_note_id.rb +9 -0
- data/lib/candidhealth/claim_submission/v_1/types/claim_frequency_type_code.rb +14 -0
- data/lib/candidhealth/claim_submission/v_1/types/claim_submission_record_create.rb +68 -0
- data/lib/candidhealth/claim_submission/v_1/types/external_claim_submission_create.rb +75 -0
- data/lib/candidhealth/claims/types/claim.rb +98 -0
- data/lib/candidhealth/claims/types/claim_status.rb +23 -0
- data/lib/candidhealth/commons/types/claim_adjustment_group_codes.rb +17 -0
- data/lib/candidhealth/commons/types/claim_id.rb +7 -0
- data/lib/candidhealth/commons/types/claim_submission_payer_responsibility_type.rb +10 -0
- data/lib/candidhealth/commons/types/date.rb +7 -0
- data/lib/candidhealth/commons/types/date_range_optional_end.rb +53 -0
- data/lib/candidhealth/commons/types/decimal.rb +7 -0
- data/lib/candidhealth/commons/types/delay_reason_code.rb +23 -0
- data/lib/candidhealth/commons/types/email.rb +7 -0
- data/lib/candidhealth/commons/types/emr_payer_crosswalk.rb +10 -0
- data/lib/candidhealth/commons/types/encounter_external_id.rb +7 -0
- data/lib/candidhealth/commons/types/encounter_id.rb +7 -0
- data/lib/candidhealth/commons/types/entity_not_found_error_message.rb +47 -0
- data/lib/candidhealth/commons/types/error_message.rb +7 -0
- data/lib/candidhealth/commons/types/facility_type_code.rb +61 -0
- data/lib/candidhealth/commons/types/http_service_unavailable_error_message.rb +47 -0
- data/lib/candidhealth/commons/types/insurance_type_code.rb +79 -0
- data/lib/candidhealth/commons/types/invoice_id.rb +7 -0
- data/lib/candidhealth/commons/types/link_url.rb +7 -0
- data/lib/candidhealth/commons/types/npi.rb +7 -0
- data/lib/candidhealth/commons/types/organization_id.rb +7 -0
- data/lib/candidhealth/commons/types/organization_not_authorized_error_message.rb +47 -0
- data/lib/candidhealth/commons/types/page_token.rb +7 -0
- data/lib/candidhealth/commons/types/patient_external_id.rb +7 -0
- data/lib/candidhealth/commons/types/patient_relationship_to_insured_code_all.rb +32 -0
- data/lib/candidhealth/commons/types/phone_number.rb +53 -0
- data/lib/candidhealth/commons/types/phone_number_type.rb +11 -0
- data/lib/candidhealth/commons/types/procedure_modifier.rb +395 -0
- data/lib/candidhealth/commons/types/provider_id.rb +7 -0
- data/lib/candidhealth/commons/types/region_national.rb +41 -0
- data/lib/candidhealth/commons/types/region_states.rb +48 -0
- data/lib/candidhealth/commons/types/regions.rb +92 -0
- data/lib/candidhealth/commons/types/removable_date_range_optional_end.rb +90 -0
- data/lib/candidhealth/commons/types/request_validation_error.rb +52 -0
- data/lib/candidhealth/commons/types/resource_page.rb +53 -0
- data/lib/candidhealth/commons/types/service_line_id.rb +7 -0
- data/lib/candidhealth/commons/types/service_line_units.rb +10 -0
- data/lib/candidhealth/commons/types/sort_direction.rb +10 -0
- data/lib/candidhealth/commons/types/source_of_payment_code.rb +31 -0
- data/lib/candidhealth/commons/types/state.rb +70 -0
- data/lib/candidhealth/commons/types/street_address_base.rb +75 -0
- data/lib/candidhealth/commons/types/street_address_long_zip.rb +82 -0
- data/lib/candidhealth/commons/types/street_address_short_zip.rb +82 -0
- data/lib/candidhealth/commons/types/task_assignment_id.rb +7 -0
- data/lib/candidhealth/commons/types/task_id.rb +7 -0
- data/lib/candidhealth/commons/types/task_note_id.rb +7 -0
- data/lib/candidhealth/commons/types/tax_id.rb +7 -0
- data/lib/candidhealth/commons/types/unauthorized_error_message.rb +47 -0
- data/lib/candidhealth/commons/types/unprocessable_entity_error_message.rb +47 -0
- data/lib/candidhealth/commons/types/updates_disabled_due_to_external_system_integration_error_message.rb +47 -0
- data/lib/candidhealth/commons/types/user_id.rb +7 -0
- data/lib/candidhealth/commons/types/work_queue_id.rb +7 -0
- data/lib/candidhealth/contracts/client.rb +28 -0
- data/lib/candidhealth/contracts/v_2/client.rb +336 -0
- data/lib/candidhealth/contracts/v_2/types/authorized_signatory.rb +83 -0
- data/lib/candidhealth/contracts/v_2/types/authorized_signatory_update.rb +92 -0
- data/lib/candidhealth/contracts/v_2/types/contract.rb +165 -0
- data/lib/candidhealth/contracts/v_2/types/contract_base.rb +128 -0
- data/lib/candidhealth/contracts/v_2/types/contract_id.rb +9 -0
- data/lib/candidhealth/contracts/v_2/types/contract_is_linked_to_fee_schedule_error.rb +49 -0
- data/lib/candidhealth/contracts/v_2/types/contract_status.rb +13 -0
- data/lib/candidhealth/contracts/v_2/types/contract_with_providers.rb +177 -0
- data/lib/candidhealth/contracts/v_2/types/contracting_provider_id.rb +9 -0
- data/lib/candidhealth/contracts/v_2/types/contracts_page.rb +65 -0
- data/lib/candidhealth/contracts/v_2/types/date_update.rb +92 -0
- data/lib/candidhealth/contracts/v_2/types/insurance_types.rb +103 -0
- data/lib/candidhealth/contracts/v_2/types/regions_update.rb +92 -0
- data/lib/candidhealth/contracts/v_2/types/rendering_providerid.rb +9 -0
- data/lib/candidhealth/diagnoses/types/diagnosis.rb +106 -0
- data/lib/candidhealth/diagnoses/types/diagnosis_create.rb +72 -0
- data/lib/candidhealth/diagnoses/types/diagnosis_id.rb +7 -0
- data/lib/candidhealth/diagnoses/types/diagnosis_type_code.rb +18 -0
- data/lib/candidhealth/diagnoses/types/standalone_diagnosis_create.rb +78 -0
- data/lib/candidhealth/eligibility/client.rb +28 -0
- data/lib/candidhealth/eligibility/v_2/client.rb +136 -0
- data/lib/candidhealth/encounter_providers/v_2/types/billing_provider.rb +104 -0
- data/lib/candidhealth/encounter_providers/v_2/types/encounter_provider.rb +103 -0
- data/lib/candidhealth/encounter_providers/v_2/types/encounter_provider_base.rb +60 -0
- data/lib/candidhealth/encounter_providers/v_2/types/provider_id.rb +9 -0
- data/lib/candidhealth/encounter_providers/v_2/types/referring_provider.rb +91 -0
- data/lib/candidhealth/encounter_providers/v_2/types/rendering_provider.rb +91 -0
- data/lib/candidhealth/encounters/client.rb +28 -0
- data/lib/candidhealth/encounters/v_4/client.rb +1125 -0
- data/lib/candidhealth/encounters/v_4/types/billable_status_type.rb +12 -0
- data/lib/candidhealth/encounters/v_4/types/cash_pay_payer_error_message.rb +49 -0
- data/lib/candidhealth/encounters/v_4/types/clinical_note.rb +67 -0
- data/lib/candidhealth/encounters/v_4/types/clinical_note_category.rb +64 -0
- data/lib/candidhealth/encounters/v_4/types/clinical_note_category_create.rb +59 -0
- data/lib/candidhealth/encounters/v_4/types/coding_attribution_type.rb +14 -0
- data/lib/candidhealth/encounters/v_4/types/encounter.rb +515 -0
- data/lib/candidhealth/encounters/v_4/types/encounter_base.rb +274 -0
- data/lib/candidhealth/encounters/v_4/types/encounter_external_id_uniqueness_error_type.rb +50 -0
- data/lib/candidhealth/encounters/v_4/types/encounter_guarantor_missing_contact_info_error_type.rb +49 -0
- data/lib/candidhealth/encounters/v_4/types/encounter_owner_of_next_action_type.rb +14 -0
- data/lib/candidhealth/encounters/v_4/types/encounter_page.rb +65 -0
- data/lib/candidhealth/encounters/v_4/types/encounter_patient_control_number_uniqueness_error_type.rb +49 -0
- data/lib/candidhealth/encounters/v_4/types/encounter_sort_options.rb +14 -0
- data/lib/candidhealth/encounters/v_4/types/encounter_submission_origin_type.rb +12 -0
- data/lib/candidhealth/encounters/v_4/types/intake_follow_up.rb +60 -0
- data/lib/candidhealth/encounters/v_4/types/intake_follow_up_id.rb +9 -0
- data/lib/candidhealth/encounters/v_4/types/intake_question.rb +64 -0
- data/lib/candidhealth/encounters/v_4/types/intake_question_id.rb +9 -0
- data/lib/candidhealth/encounters/v_4/types/intake_response_and_follow_ups.rb +58 -0
- data/lib/candidhealth/encounters/v_4/types/intervention.rb +87 -0
- data/lib/candidhealth/encounters/v_4/types/intervention_category.rb +14 -0
- data/lib/candidhealth/encounters/v_4/types/lab.rb +60 -0
- data/lib/candidhealth/encounters/v_4/types/lab_code_type.rb +12 -0
- data/lib/candidhealth/encounters/v_4/types/medication.rb +84 -0
- data/lib/candidhealth/encounters/v_4/types/note_category.rb +24 -0
- data/lib/candidhealth/encounters/v_4/types/patient_history_category.rb +59 -0
- data/lib/candidhealth/encounters/v_4/types/patient_history_category_enum.rb +14 -0
- data/lib/candidhealth/encounters/v_4/types/prior_authorization_number.rb +9 -0
- data/lib/candidhealth/encounters/v_4/types/responsible_party_type.rb +13 -0
- data/lib/candidhealth/encounters/v_4/types/rx_cui.rb +9 -0
- data/lib/candidhealth/encounters/v_4/types/service_authorization_exception_code.rb +19 -0
- data/lib/candidhealth/encounters/v_4/types/synchronicity_type.rb +12 -0
- data/lib/candidhealth/encounters/v_4/types/vitals.rb +78 -0
- data/lib/candidhealth/era/types/era.rb +59 -0
- data/lib/candidhealth/era/types/era_base.rb +53 -0
- data/lib/candidhealth/era/types/era_id.rb +7 -0
- data/lib/candidhealth/era/types/era_not_fully_processed_error_message.rb +53 -0
- data/lib/candidhealth/era_commons/types/claim_status_code_create.rb +18 -0
- data/lib/candidhealth/expected_network_status/client.rb +31 -0
- data/lib/candidhealth/expected_network_status/v_1/client.rb +112 -0
- data/lib/candidhealth/expected_network_status/v_1/types/expected_network_status.rb +13 -0
- data/lib/candidhealth/expected_network_status/v_1/types/expected_network_status_response.rb +66 -0
- data/lib/candidhealth/expected_network_status/v_2/client.rb +183 -0
- data/lib/candidhealth/expected_network_status/v_2/types/compute_all_in_network_providers_request.rb +119 -0
- data/lib/candidhealth/expected_network_status/v_2/types/compute_all_in_network_providers_response.rb +65 -0
- data/lib/candidhealth/expected_network_status/v_2/types/compute_all_in_network_rendering_providers_result.rb +107 -0
- data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_check_error_message.rb +49 -0
- data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_request_v_2.rb +119 -0
- data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_response_v_2.rb +62 -0
- data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_subscriber_information.rb +67 -0
- data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_v_2.rb +107 -0
- data/lib/candidhealth/expected_network_status/v_2/types/explanation.rb +18 -0
- data/lib/candidhealth/expected_network_status/v_2/types/in_network_rendering_providers_detail.rb +67 -0
- data/lib/candidhealth/expected_network_status/v_2/types/in_network_status.rb +57 -0
- data/lib/candidhealth/expected_network_status/v_2/types/indeterminate_network_status.rb +74 -0
- data/lib/candidhealth/expected_network_status/v_2/types/insurance_type.rb +62 -0
- data/lib/candidhealth/expected_network_status/v_2/types/insurance_type_codes.rb +103 -0
- data/lib/candidhealth/expected_network_status/v_2/types/line_of_business.rb +13 -0
- data/lib/candidhealth/expected_network_status/v_2/types/network_status_check_id.rb +9 -0
- data/lib/candidhealth/expected_network_status/v_2/types/out_of_network_status.rb +67 -0
- data/lib/candidhealth/expected_network_status/v_2/types/service_type.rb +51 -0
- data/lib/candidhealth/exports/client.rb +28 -0
- data/lib/candidhealth/exports/v_3/client.rb +102 -0
- data/lib/candidhealth/exports/v_3/types/get_exports_response.rb +75 -0
- data/lib/candidhealth/financials/types/account_type.rb +10 -0
- data/lib/candidhealth/financials/types/allocation.rb +58 -0
- data/lib/candidhealth/financials/types/allocation_create.rb +60 -0
- data/lib/candidhealth/financials/types/allocation_target.rb +118 -0
- data/lib/candidhealth/financials/types/allocation_target_create.rb +118 -0
- data/lib/candidhealth/financials/types/billing_provider_allocation_target.rb +48 -0
- data/lib/candidhealth/financials/types/claim_allocation_target.rb +54 -0
- data/lib/candidhealth/financials/types/invoice_update.rb +90 -0
- data/lib/candidhealth/financials/types/note_update.rb +89 -0
- data/lib/candidhealth/financials/types/patient_transaction_source.rb +15 -0
- data/lib/candidhealth/financials/types/refund_reason.rb +9 -0
- data/lib/candidhealth/financials/types/refund_reason_update.rb +90 -0
- data/lib/candidhealth/financials/types/service_line_allocation_target.rb +61 -0
- data/lib/candidhealth/guarantor/client.rb +28 -0
- data/lib/candidhealth/guarantor/v_1/client.rb +224 -0
- data/lib/candidhealth/guarantor/v_1/types/encounter_has_existing_guarantor_error_type.rb +49 -0
- data/lib/candidhealth/guarantor/v_1/types/guarantor.rb +121 -0
- data/lib/candidhealth/guarantor/v_1/types/guarantor_base.rb +84 -0
- data/lib/candidhealth/guarantor/v_1/types/guarantor_create.rb +114 -0
- data/lib/candidhealth/guarantor/v_1/types/guarantor_id.rb +9 -0
- data/lib/candidhealth/identifiers/types/identifier.rb +82 -0
- data/lib/candidhealth/identifiers/types/identifier_base.rb +71 -0
- data/lib/candidhealth/identifiers/types/identifier_code.rb +10 -0
- data/lib/candidhealth/identifiers/types/identifier_create.rb +71 -0
- data/lib/candidhealth/identifiers/types/identifier_id.rb +7 -0
- data/lib/candidhealth/identifiers/types/identifier_update.rb +83 -0
- data/lib/candidhealth/identifiers/types/identifier_value.rb +92 -0
- data/lib/candidhealth/identifiers/types/medicaid_provider_identifier.rb +53 -0
- data/lib/candidhealth/identifiers/types/medicare_provider_identifier.rb +53 -0
- data/lib/candidhealth/identifiers/types/updatable_identifier.rb +105 -0
- data/lib/candidhealth/individual/types/gender.rb +13 -0
- data/lib/candidhealth/individual/types/individual_base.rb +58 -0
- data/lib/candidhealth/individual/types/individual_id.rb +7 -0
- data/lib/candidhealth/individual/types/patient.rb +126 -0
- data/lib/candidhealth/individual/types/patient_base.rb +89 -0
- data/lib/candidhealth/individual/types/patient_create.rb +119 -0
- data/lib/candidhealth/individual/types/subscriber.rb +110 -0
- data/lib/candidhealth/individual/types/subscriber_base.rb +91 -0
- data/lib/candidhealth/individual/types/subscriber_create.rb +103 -0
- data/lib/candidhealth/insurance_adjudications/client.rb +28 -0
- data/lib/candidhealth/insurance_adjudications/v_1/client.rb +143 -0
- data/lib/candidhealth/insurance_adjudications/v_1/types/claim_adjudication.rb +101 -0
- data/lib/candidhealth/insurance_adjudications/v_1/types/claim_adjudication_create.rb +95 -0
- data/lib/candidhealth/insurance_adjudications/v_1/types/insurance_adjudication.rb +99 -0
- data/lib/candidhealth/insurance_adjudications/v_1/types/insurance_adjudication_create.rb +109 -0
- data/lib/candidhealth/insurance_adjudications/v_1/types/insurance_adjudication_id.rb +9 -0
- data/lib/candidhealth/insurance_adjudications/v_1/types/service_line_adjudication.rb +112 -0
- data/lib/candidhealth/insurance_adjudications/v_1/types/service_line_adjudication_create.rb +105 -0
- data/lib/candidhealth/insurance_adjudications/v_1/types/service_line_adjudication_id.rb +9 -0
- data/lib/candidhealth/insurance_cards/v_2/types/insurance_card.rb +123 -0
- data/lib/candidhealth/insurance_cards/v_2/types/insurance_card_base.rb +73 -0
- data/lib/candidhealth/insurance_cards/v_2/types/insurance_card_create.rb +123 -0
- data/lib/candidhealth/insurance_cards/v_2/types/insurance_card_id.rb +9 -0
- data/lib/candidhealth/insurance_payments/client.rb +28 -0
- data/lib/candidhealth/insurance_payments/v_1/client.rb +269 -0
- data/lib/candidhealth/insurance_payments/v_1/types/insurance_payment.rb +98 -0
- data/lib/candidhealth/insurance_payments/v_1/types/insurance_payment_create.rb +91 -0
- data/lib/candidhealth/insurance_payments/v_1/types/insurance_payment_id.rb +9 -0
- data/lib/candidhealth/insurance_payments/v_1/types/insurance_payment_sort_field.rb +13 -0
- data/lib/candidhealth/insurance_payments/v_1/types/insurance_payments_page.rb +65 -0
- data/lib/candidhealth/insurance_refunds/client.rb +28 -0
- data/lib/candidhealth/insurance_refunds/v_1/client.rb +280 -0
- data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refund.rb +105 -0
- data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refund_create.rb +98 -0
- data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refund_id.rb +9 -0
- data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refund_sort_field.rb +14 -0
- data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refunds_page.rb +65 -0
- data/lib/candidhealth/invoices/types/invoice.rb +134 -0
- data/lib/candidhealth/invoices/types/invoice_item.rb +53 -0
- data/lib/candidhealth/invoices/types/invoice_status.rb +13 -0
- data/lib/candidhealth/organization_providers/client.rb +28 -0
- data/lib/candidhealth/organization_providers/v_2/types/address_type.rb +11 -0
- data/lib/candidhealth/organization_providers/v_2/types/employment_status.rb +12 -0
- data/lib/candidhealth/organization_providers/v_2/types/license_type.rb +78 -0
- data/lib/candidhealth/organization_providers/v_2/types/organization_provider.rb +159 -0
- data/lib/candidhealth/organization_providers/v_2/types/organization_provider_address.rb +61 -0
- data/lib/candidhealth/organization_providers/v_2/types/organization_provider_base.rb +132 -0
- data/lib/candidhealth/organization_providers/v_2/types/organization_provider_id.rb +9 -0
- data/lib/candidhealth/organization_providers/v_2/types/organization_provider_sort_options.rb +14 -0
- data/lib/candidhealth/organization_providers/v_2/types/provider_type.rb +12 -0
- data/lib/candidhealth/organization_providers/v_3/client.rb +239 -0
- data/lib/candidhealth/organization_providers/v_3/types/organization_provider_create_v_2.rb +147 -0
- data/lib/candidhealth/organization_providers/v_3/types/organization_provider_page_v_2.rb +65 -0
- data/lib/candidhealth/organization_providers/v_3/types/organization_provider_update_v_2.rb +143 -0
- data/lib/candidhealth/organization_providers/v_3/types/organization_provider_v_2.rb +154 -0
- data/lib/candidhealth/organization_service_facilities/client.rb +28 -0
- data/lib/candidhealth/organization_service_facilities/v_2/client.rb +256 -0
- data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility.rb +134 -0
- data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility_create.rb +127 -0
- data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility_id.rb +9 -0
- data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility_page.rb +65 -0
- data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility_update.rb +127 -0
- data/lib/candidhealth/organization_service_facilities/v_2/types/service_facility_mode.rb +12 -0
- data/lib/candidhealth/organization_service_facilities/v_2/types/service_facility_operational_status.rb +16 -0
- data/lib/candidhealth/organization_service_facilities/v_2/types/service_facility_physical_type.rb +24 -0
- data/lib/candidhealth/organization_service_facilities/v_2/types/service_facility_status.rb +13 -0
- data/lib/candidhealth/organization_service_facilities/v_2/types/service_facility_type.rb +133 -0
- data/lib/candidhealth/patient_payments/client.rb +28 -0
- data/lib/candidhealth/patient_payments/v_3/types/patient_payment.rb +130 -0
- data/lib/candidhealth/patient_payments/v_3/types/patient_payment_id.rb +9 -0
- data/lib/candidhealth/patient_payments/v_3/types/patient_payment_source.rb +19 -0
- data/lib/candidhealth/patient_payments/v_3/types/patient_payment_status.rb +21 -0
- data/lib/candidhealth/patient_payments/v_4/client.rb +304 -0
- data/lib/candidhealth/patient_payments/v_4/types/patient_payment.rb +120 -0
- data/lib/candidhealth/patient_payments/v_4/types/patient_payment_id.rb +9 -0
- data/lib/candidhealth/patient_payments/v_4/types/patient_payment_sort_field.rb +14 -0
- data/lib/candidhealth/patient_payments/v_4/types/patient_payments_page.rb +65 -0
- data/lib/candidhealth/patient_refunds/client.rb +28 -0
- data/lib/candidhealth/patient_refunds/v_1/client.rb +316 -0
- data/lib/candidhealth/patient_refunds/v_1/types/patient_refund.rb +127 -0
- data/lib/candidhealth/patient_refunds/v_1/types/patient_refund_id.rb +9 -0
- data/lib/candidhealth/patient_refunds/v_1/types/patient_refund_sort_field.rb +15 -0
- data/lib/candidhealth/patient_refunds/v_1/types/patient_refunds_page.rb +65 -0
- data/lib/candidhealth/payers/client.rb +28 -0
- data/lib/candidhealth/payers/v_3/client.rb +104 -0
- data/lib/candidhealth/payers/v_3/types/payer.rb +60 -0
- data/lib/candidhealth/payers/v_3/types/payer_id.rb +9 -0
- data/lib/candidhealth/payers/v_3/types/payer_identifier.rb +94 -0
- data/lib/candidhealth/payers/v_3/types/payer_info.rb +56 -0
- data/lib/candidhealth/payers/v_3/types/payer_name.rb +9 -0
- data/lib/candidhealth/payers/v_3/types/payer_page.rb +65 -0
- data/lib/candidhealth/payers/v_3/types/payer_uuid.rb +9 -0
- data/lib/candidhealth/remits/v_1/types/payee.rb +60 -0
- data/lib/candidhealth/remits/v_1/types/payee_identifier.rb +102 -0
- data/lib/candidhealth/service_facility/client.rb +89 -0
- data/lib/candidhealth/service_facility/types/encounter_service_facility.rb +77 -0
- data/lib/candidhealth/service_facility/types/encounter_service_facility_base.rb +72 -0
- data/lib/candidhealth/service_facility/types/service_facility_id.rb +7 -0
- data/lib/candidhealth/service_lines/v_2/types/denial_reason_content.rb +40 -0
- data/lib/candidhealth/service_lines/v_2/types/drug_identification.rb +86 -0
- data/lib/candidhealth/service_lines/v_2/types/measurement_unit_code.rb +15 -0
- data/lib/candidhealth/service_lines/v_2/types/service_id_qualifier.rb +17 -0
- data/lib/candidhealth/service_lines/v_2/types/service_line.rb +225 -0
- data/lib/candidhealth/service_lines/v_2/types/service_line_adjustment.rb +79 -0
- data/lib/candidhealth/service_lines/v_2/types/service_line_create.rb +120 -0
- data/lib/candidhealth/service_lines/v_2/types/service_line_denial_reason.rb +52 -0
- data/lib/candidhealth/service_lines/v_2/types/service_line_era_data.rb +62 -0
- data/lib/candidhealth/tags/types/tag.rb +65 -0
- data/lib/candidhealth/tags/types/tag_color_enum.rb +18 -0
- data/lib/candidhealth/tags/types/tag_create.rb +59 -0
- data/lib/candidhealth/tags/types/tag_id.rb +7 -0
- data/lib/candidhealth/tasks/client.rb +28 -0
- data/lib/candidhealth/tasks/commons/types/task_category.rb +50 -0
- data/lib/candidhealth/tasks/commons/types/task_status.rb +17 -0
- data/lib/candidhealth/tasks/commons/types/task_type.rb +22 -0
- data/lib/candidhealth/tasks/v_3/client.rb +259 -0
- data/lib/candidhealth/tasks/v_3/types/task.rb +170 -0
- data/lib/candidhealth/tasks/v_3/types/task_action.rb +66 -0
- data/lib/candidhealth/tasks/v_3/types/task_action_execution_method.rb +79 -0
- data/lib/candidhealth/tasks/v_3/types/task_action_type.rb +12 -0
- data/lib/candidhealth/tasks/v_3/types/task_actions.rb +53 -0
- data/lib/candidhealth/tasks/v_3/types/task_assignment.rb +56 -0
- data/lib/candidhealth/tasks/v_3/types/task_create_v_3.rb +95 -0
- data/lib/candidhealth/tasks/v_3/types/task_note.rb +79 -0
- data/lib/candidhealth/tasks/v_3/types/task_page.rb +65 -0
- data/lib/candidhealth/tasks/v_3/types/task_sort_options.rb +32 -0
- data/lib/candidhealth/tasks/v_3/types/task_update_v_3.rb +66 -0
- data/lib/candidhealth/tasks/v_3/types/task_updated_to_deprecated_status_error_type.rb +50 -0
- data/lib/candidhealth/write_offs/client.rb +28 -0
- data/lib/candidhealth/write_offs/v_1/client.rb +218 -0
- data/lib/candidhealth/write_offs/v_1/types/create_write_offs_response.rb +53 -0
- data/lib/candidhealth/write_offs/v_1/types/insurance_write_off.rb +119 -0
- data/lib/candidhealth/write_offs/v_1/types/insurance_write_off_create.rb +100 -0
- data/lib/candidhealth/write_offs/v_1/types/insurance_write_off_reason.rb +25 -0
- data/lib/candidhealth/write_offs/v_1/types/insurance_write_off_target.rb +103 -0
- data/lib/candidhealth/write_offs/v_1/types/patient_write_off.rb +102 -0
- data/lib/candidhealth/write_offs/v_1/types/patient_write_off_create.rb +83 -0
- data/lib/candidhealth/write_offs/v_1/types/patient_write_off_reason.rb +19 -0
- data/lib/candidhealth/write_offs/v_1/types/write_off.rb +94 -0
- data/lib/candidhealth/write_offs/v_1/types/write_off_create.rb +94 -0
- data/lib/candidhealth/write_offs/v_1/types/write_off_id.rb +9 -0
- data/lib/candidhealth/write_offs/v_1/types/write_off_sort_field.rb +13 -0
- data/lib/candidhealth/write_offs/v_1/types/write_offs_page.rb +65 -0
- data/lib/candidhealth/x_12/v_1/types/carc.rb +412 -0
- data/lib/candidhealth/x_12/v_1/types/claim_adjustment_reason_code.rb +62 -0
- data/lib/candidhealth/x_12/v_1/types/rarc.rb +1070 -0
- data/lib/candidhealth/x_12/v_1/types/remittance_advice_remark_code.rb +50 -0
- data/lib/candidhealth.rb +129 -0
- data/lib/environment.rb +8 -0
- data/lib/gemconfig.rb +14 -0
- data/lib/requests.rb +113 -0
- data/lib/types_export.rb +303 -0
- metadata +468 -0
@@ -0,0 +1,47 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "json"
|
4
|
+
|
5
|
+
module CandidApiClient
|
6
|
+
class Commons
|
7
|
+
class OrganizationNotAuthorizedErrorMessage
|
8
|
+
attr_reader :message, :additional_properties
|
9
|
+
|
10
|
+
# @param message [String]
|
11
|
+
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
12
|
+
# @return [Commons::OrganizationNotAuthorizedErrorMessage]
|
13
|
+
def initialize(message:, additional_properties: nil)
|
14
|
+
# @type [String]
|
15
|
+
@message = message
|
16
|
+
# @type [OpenStruct] Additional properties unmapped to the current class definition
|
17
|
+
@additional_properties = additional_properties
|
18
|
+
end
|
19
|
+
|
20
|
+
# Deserialize a JSON object to an instance of OrganizationNotAuthorizedErrorMessage
|
21
|
+
#
|
22
|
+
# @param json_object [JSON]
|
23
|
+
# @return [Commons::OrganizationNotAuthorizedErrorMessage]
|
24
|
+
def self.from_json(json_object:)
|
25
|
+
struct = JSON.parse(json_object, object_class: OpenStruct)
|
26
|
+
JSON.parse(json_object)
|
27
|
+
message = struct.message
|
28
|
+
new(message: message, additional_properties: struct)
|
29
|
+
end
|
30
|
+
|
31
|
+
# Serialize an instance of OrganizationNotAuthorizedErrorMessage to a JSON object
|
32
|
+
#
|
33
|
+
# @return [JSON]
|
34
|
+
def to_json(*_args)
|
35
|
+
{ "message": @message }.to_json
|
36
|
+
end
|
37
|
+
|
38
|
+
# Leveraged for Union-type generation, validate_raw attempts to parse the given hash and check each fields type against the current object's property definitions.
|
39
|
+
#
|
40
|
+
# @param obj [Object]
|
41
|
+
# @return [Void]
|
42
|
+
def self.validate_raw(obj:)
|
43
|
+
obj.message.is_a?(String) != false || raise("Passed value for field obj.message is not the expected type, validation failed.")
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module CandidApiClient
|
4
|
+
class Commons
|
5
|
+
class PatientRelationshipToInsuredCodeAll
|
6
|
+
SPOUSE = "01"
|
7
|
+
GRANDPARENT = "04"
|
8
|
+
GRANDCHILD = "05"
|
9
|
+
NIECE_NEPHEW = "07"
|
10
|
+
FOSTER_CHILD = "10"
|
11
|
+
WARD_OF_THE_COURT = "15"
|
12
|
+
STEPCHILD = "17"
|
13
|
+
SELF = "18"
|
14
|
+
CHILD = "19"
|
15
|
+
EMPLOYEE = "20"
|
16
|
+
UNKNOWN = "21"
|
17
|
+
HANDICAPPED_DEPENDENT = "22"
|
18
|
+
SPONSORED_DEPENDENT = "23"
|
19
|
+
DEPENDENT_OF_MINOR_DEPENDENT = "24"
|
20
|
+
SIGNIFICANT_OTHER = "29"
|
21
|
+
MOTHER = "32"
|
22
|
+
FATHER = "33"
|
23
|
+
EMANCIPATED_MINOR = "36"
|
24
|
+
ORGAN_DONOR = "39"
|
25
|
+
CADAVER_DONOR = "40"
|
26
|
+
INJURED_PLAINTIFF = "41"
|
27
|
+
CHILD_NO_FINANCIAL_RESPONSIBILITY = "43"
|
28
|
+
LIFE_PARTNER = "53"
|
29
|
+
OTHER_RELATIONSHIP = "G8"
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "phone_number_type"
|
4
|
+
require "json"
|
5
|
+
|
6
|
+
module CandidApiClient
|
7
|
+
class Commons
|
8
|
+
class PhoneNumber
|
9
|
+
attr_reader :number, :type, :additional_properties
|
10
|
+
|
11
|
+
# @param number [String]
|
12
|
+
# @param type [Commons::PhoneNumberType]
|
13
|
+
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
14
|
+
# @return [Commons::PhoneNumber]
|
15
|
+
def initialize(number:, type:, additional_properties: nil)
|
16
|
+
# @type [String]
|
17
|
+
@number = number
|
18
|
+
# @type [Commons::PhoneNumberType]
|
19
|
+
@type = type
|
20
|
+
# @type [OpenStruct] Additional properties unmapped to the current class definition
|
21
|
+
@additional_properties = additional_properties
|
22
|
+
end
|
23
|
+
|
24
|
+
# Deserialize a JSON object to an instance of PhoneNumber
|
25
|
+
#
|
26
|
+
# @param json_object [JSON]
|
27
|
+
# @return [Commons::PhoneNumber]
|
28
|
+
def self.from_json(json_object:)
|
29
|
+
struct = JSON.parse(json_object, object_class: OpenStruct)
|
30
|
+
JSON.parse(json_object)
|
31
|
+
number = struct.number
|
32
|
+
type = struct.type
|
33
|
+
new(number: number, type: type, additional_properties: struct)
|
34
|
+
end
|
35
|
+
|
36
|
+
# Serialize an instance of PhoneNumber to a JSON object
|
37
|
+
#
|
38
|
+
# @return [JSON]
|
39
|
+
def to_json(*_args)
|
40
|
+
{ "number": @number, "type": @type }.to_json
|
41
|
+
end
|
42
|
+
|
43
|
+
# Leveraged for Union-type generation, validate_raw attempts to parse the given hash and check each fields type against the current object's property definitions.
|
44
|
+
#
|
45
|
+
# @param obj [Object]
|
46
|
+
# @return [Void]
|
47
|
+
def self.validate_raw(obj:)
|
48
|
+
obj.number.is_a?(String) != false || raise("Passed value for field obj.number is not the expected type, validation failed.")
|
49
|
+
obj.type.is_a?(Commons::PhoneNumberType) != false || raise("Passed value for field obj.type is not the expected type, validation failed.")
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -0,0 +1,395 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module CandidApiClient
|
4
|
+
class Commons
|
5
|
+
class ProcedureModifier
|
6
|
+
TWENTY_TWO = "22"
|
7
|
+
TWENTY_THREE = "23"
|
8
|
+
TWENTY_FOUR = "24"
|
9
|
+
TWENTY_FIVE = "25"
|
10
|
+
TWENTY_SIX = "26"
|
11
|
+
TWENTY_SEVEN = "27"
|
12
|
+
THIRTY_TWO = "32"
|
13
|
+
THIRTY_THREE = "33"
|
14
|
+
FORTY_SEVEN = "47"
|
15
|
+
FIFTY = "50"
|
16
|
+
FIFTY_ONE = "51"
|
17
|
+
FIFTY_TWO = "52"
|
18
|
+
FIFTY_THREE = "53"
|
19
|
+
FIFTY_FOUR = "54"
|
20
|
+
FIFTY_FIVE = "55"
|
21
|
+
FIFTY_SIX = "56"
|
22
|
+
FIFTY_SEVEN = "57"
|
23
|
+
FIFTY_EIGHT = "58"
|
24
|
+
FIFTY_NINE = "59"
|
25
|
+
SIXTY_TWO = "62"
|
26
|
+
SIXTY_THREE = "63"
|
27
|
+
SIXTY_SIX = "66"
|
28
|
+
SEVENTY_FOUR = "74"
|
29
|
+
SEVENTY_SIX = "76"
|
30
|
+
SEVENTY_SEVEN = "77"
|
31
|
+
SEVENTY_EIGHT = "78"
|
32
|
+
SEVENTY_NINE = "79"
|
33
|
+
EIGHTY = "80"
|
34
|
+
EIGHTY_ONE = "81"
|
35
|
+
EIGHTY_TWO = "82"
|
36
|
+
NINETY = "90"
|
37
|
+
NINETY_ONE = "91"
|
38
|
+
NINETY_TWO = "92"
|
39
|
+
NINETY_THREE = "93"
|
40
|
+
NINETY_FIVE = "95"
|
41
|
+
NINETY_SIX = "96"
|
42
|
+
NINETY_SEVEN = "97"
|
43
|
+
NINETY_NINE = "99"
|
44
|
+
A_1 = "A1"
|
45
|
+
A_2 = "A2"
|
46
|
+
A_3 = "A3"
|
47
|
+
A_4 = "A4"
|
48
|
+
A_5 = "A5"
|
49
|
+
A_6 = "A6"
|
50
|
+
A_7 = "A7"
|
51
|
+
A_8 = "A8"
|
52
|
+
A_9 = "A9"
|
53
|
+
AA = "AA"
|
54
|
+
AB = "AB"
|
55
|
+
AD = "AD"
|
56
|
+
AE = "AE"
|
57
|
+
AF = "AF"
|
58
|
+
AG = "AG"
|
59
|
+
AH = "AH"
|
60
|
+
AI = "AI"
|
61
|
+
AJ = "AJ"
|
62
|
+
AK = "AK"
|
63
|
+
AM = "AM"
|
64
|
+
AO = "AO"
|
65
|
+
AP = "AP"
|
66
|
+
AQ = "AQ"
|
67
|
+
AR = "AR"
|
68
|
+
AS = "AS"
|
69
|
+
AT = "AT"
|
70
|
+
AZ = "AZ"
|
71
|
+
BA = "BA"
|
72
|
+
BL = "BL"
|
73
|
+
BO = "BO"
|
74
|
+
BP = "BP"
|
75
|
+
BR = "BR"
|
76
|
+
BU = "BU"
|
77
|
+
CA = "CA"
|
78
|
+
CB = "CB"
|
79
|
+
CC = "CC"
|
80
|
+
CD = "CD"
|
81
|
+
CE = "CE"
|
82
|
+
CF = "CF"
|
83
|
+
CG = "CG"
|
84
|
+
CH = "CH"
|
85
|
+
CI = "CI"
|
86
|
+
CJ = "CJ"
|
87
|
+
CK = "CK"
|
88
|
+
CL = "CL"
|
89
|
+
CM = "CM"
|
90
|
+
CN = "CN"
|
91
|
+
CR = "CR"
|
92
|
+
CS = "CS"
|
93
|
+
CT = "CT"
|
94
|
+
CO = "CO"
|
95
|
+
CQ = "CQ"
|
96
|
+
E_1 = "E1"
|
97
|
+
E_2 = "E2"
|
98
|
+
E_3 = "E3"
|
99
|
+
E_4 = "E4"
|
100
|
+
EA = "EA"
|
101
|
+
EB = "EB"
|
102
|
+
EC = "EC"
|
103
|
+
ED = "ED"
|
104
|
+
EE = "EE"
|
105
|
+
EJ = "EJ"
|
106
|
+
EM = "EM"
|
107
|
+
EP = "EP"
|
108
|
+
ER = "ER"
|
109
|
+
ET = "ET"
|
110
|
+
EX = "EX"
|
111
|
+
EY = "EY"
|
112
|
+
F_1 = "F1"
|
113
|
+
F_2 = "F2"
|
114
|
+
F_3 = "F3"
|
115
|
+
F_4 = "F4"
|
116
|
+
F_5 = "F5"
|
117
|
+
F_6 = "F6"
|
118
|
+
F_7 = "F7"
|
119
|
+
F_8 = "F8"
|
120
|
+
F_9 = "F9"
|
121
|
+
FA = "FA"
|
122
|
+
FB = "FB"
|
123
|
+
FC = "FC"
|
124
|
+
FP = "FP"
|
125
|
+
FQ = "FQ"
|
126
|
+
FR = "FR"
|
127
|
+
FS = "FS"
|
128
|
+
FT = "FT"
|
129
|
+
FX = "FX"
|
130
|
+
FY = "FY"
|
131
|
+
G_0 = "G0"
|
132
|
+
G_1 = "G1"
|
133
|
+
G_2 = "G2"
|
134
|
+
G_3 = "G3"
|
135
|
+
G_4 = "G4"
|
136
|
+
G_5 = "G5"
|
137
|
+
G_6 = "G6"
|
138
|
+
G_7 = "G7"
|
139
|
+
G_8 = "G8"
|
140
|
+
G_9 = "G9"
|
141
|
+
GA = "GA"
|
142
|
+
GB = "GB"
|
143
|
+
GC = "GC"
|
144
|
+
GE = "GE"
|
145
|
+
GF = "GF"
|
146
|
+
GG = "GG"
|
147
|
+
GH = "GH"
|
148
|
+
GJ = "GJ"
|
149
|
+
GK = "GK"
|
150
|
+
GL = "GL"
|
151
|
+
GM = "GM"
|
152
|
+
GN = "GN"
|
153
|
+
GO = "GO"
|
154
|
+
GP = "GP"
|
155
|
+
GQ = "GQ"
|
156
|
+
GR = "GR"
|
157
|
+
GS = "GS"
|
158
|
+
GT = "GT"
|
159
|
+
GU = "GU"
|
160
|
+
GV = "GV"
|
161
|
+
GW = "GW"
|
162
|
+
GX = "GX"
|
163
|
+
GY = "GY"
|
164
|
+
GZ = "GZ"
|
165
|
+
HA = "HA"
|
166
|
+
HB = "HB"
|
167
|
+
HC = "HC"
|
168
|
+
HD = "HD"
|
169
|
+
HE = "HE"
|
170
|
+
HF = "HF"
|
171
|
+
HG = "HG"
|
172
|
+
HH = "HH"
|
173
|
+
HI = "HI"
|
174
|
+
HJ = "HJ"
|
175
|
+
HK = "HK"
|
176
|
+
HL = "HL"
|
177
|
+
HM = "HM"
|
178
|
+
HN = "HN"
|
179
|
+
HO = "HO"
|
180
|
+
HP = "HP"
|
181
|
+
HQ = "HQ"
|
182
|
+
HR = "HR"
|
183
|
+
HS = "HS"
|
184
|
+
HT = "HT"
|
185
|
+
HU = "HU"
|
186
|
+
HV = "HV"
|
187
|
+
HW = "HW"
|
188
|
+
HX = "HX"
|
189
|
+
HY = "HY"
|
190
|
+
HZ = "HZ"
|
191
|
+
J_1 = "J1"
|
192
|
+
J_2 = "J2"
|
193
|
+
J_3 = "J3"
|
194
|
+
J_4 = "J4"
|
195
|
+
J_5 = "J5"
|
196
|
+
JA = "JA"
|
197
|
+
JB = "JB"
|
198
|
+
JC = "JC"
|
199
|
+
JD = "JD"
|
200
|
+
JE = "JE"
|
201
|
+
JG = "JG"
|
202
|
+
JW = "JW"
|
203
|
+
JZ = "JZ"
|
204
|
+
K_0 = "K0"
|
205
|
+
K_1 = "K1"
|
206
|
+
K_2 = "K2"
|
207
|
+
K_3 = "K3"
|
208
|
+
K_4 = "K4"
|
209
|
+
KA = "KA"
|
210
|
+
KB = "KB"
|
211
|
+
KC = "KC"
|
212
|
+
KD = "KD"
|
213
|
+
KE = "KE"
|
214
|
+
KF = "KF"
|
215
|
+
KG = "KG"
|
216
|
+
KH = "KH"
|
217
|
+
KI = "KI"
|
218
|
+
KJ = "KJ"
|
219
|
+
KK = "KK"
|
220
|
+
KL = "KL"
|
221
|
+
KM = "KM"
|
222
|
+
KN = "KN"
|
223
|
+
KO = "KO"
|
224
|
+
KP = "KP"
|
225
|
+
KQ = "KQ"
|
226
|
+
KR = "KR"
|
227
|
+
KS = "KS"
|
228
|
+
KT = "KT"
|
229
|
+
KU = "KU"
|
230
|
+
KV = "KV"
|
231
|
+
KW = "KW"
|
232
|
+
KX = "KX"
|
233
|
+
KY = "KY"
|
234
|
+
KZ = "KZ"
|
235
|
+
LC = "LC"
|
236
|
+
LD = "LD"
|
237
|
+
LL = "LL"
|
238
|
+
LM = "LM"
|
239
|
+
LR = "LR"
|
240
|
+
LS = "LS"
|
241
|
+
LT = "LT"
|
242
|
+
LU = "LU"
|
243
|
+
M_2 = "M2"
|
244
|
+
MA = "MA"
|
245
|
+
MB = "MB"
|
246
|
+
MC = "MC"
|
247
|
+
MD = "MD"
|
248
|
+
ME = "ME"
|
249
|
+
MF = "MF"
|
250
|
+
MG = "MG"
|
251
|
+
MH = "MH"
|
252
|
+
MS = "MS"
|
253
|
+
N_1 = "N1"
|
254
|
+
N_2 = "N2"
|
255
|
+
N_3 = "N3"
|
256
|
+
NB = "NB"
|
257
|
+
NR = "NR"
|
258
|
+
NU = "NU"
|
259
|
+
P_1 = "P1"
|
260
|
+
P_2 = "P2"
|
261
|
+
P_3 = "P3"
|
262
|
+
P_4 = "P4"
|
263
|
+
P_5 = "P5"
|
264
|
+
P_6 = "P6"
|
265
|
+
PA = "PA"
|
266
|
+
PB = "PB"
|
267
|
+
PC = "PC"
|
268
|
+
PD = "PD"
|
269
|
+
PI = "PI"
|
270
|
+
PL = "PL"
|
271
|
+
PM = "PM"
|
272
|
+
PN = "PN"
|
273
|
+
PO = "PO"
|
274
|
+
PS = "PS"
|
275
|
+
PT = "PT"
|
276
|
+
Q_0 = "Q0"
|
277
|
+
Q_1 = "Q1"
|
278
|
+
Q_2 = "Q2"
|
279
|
+
Q_3 = "Q3"
|
280
|
+
Q_4 = "Q4"
|
281
|
+
Q_5 = "Q5"
|
282
|
+
Q_6 = "Q6"
|
283
|
+
Q_7 = "Q7"
|
284
|
+
Q_8 = "Q8"
|
285
|
+
Q_9 = "Q9"
|
286
|
+
QA = "QA"
|
287
|
+
QB = "QB"
|
288
|
+
QC = "QC"
|
289
|
+
QD = "QD"
|
290
|
+
QE = "QE"
|
291
|
+
QF = "QF"
|
292
|
+
QG = "QG"
|
293
|
+
QH = "QH"
|
294
|
+
QJ = "QJ"
|
295
|
+
QK = "QK"
|
296
|
+
QL = "QL"
|
297
|
+
QM = "QM"
|
298
|
+
QN = "QN"
|
299
|
+
QP = "QP"
|
300
|
+
QQ = "QQ"
|
301
|
+
QR = "QR"
|
302
|
+
QS = "QS"
|
303
|
+
QT = "QT"
|
304
|
+
QW = "QW"
|
305
|
+
QX = "QX"
|
306
|
+
QY = "QY"
|
307
|
+
QZ = "QZ"
|
308
|
+
RA = "RA"
|
309
|
+
RB = "RB"
|
310
|
+
RC = "RC"
|
311
|
+
RD = "RD"
|
312
|
+
RE = "RE"
|
313
|
+
RI = "RI"
|
314
|
+
RR = "RR"
|
315
|
+
RT = "RT"
|
316
|
+
SA = "SA"
|
317
|
+
SB = "SB"
|
318
|
+
SC = "SC"
|
319
|
+
SD = "SD"
|
320
|
+
SE = "SE"
|
321
|
+
SF = "SF"
|
322
|
+
SG = "SG"
|
323
|
+
SH = "SH"
|
324
|
+
SJ = "SJ"
|
325
|
+
SL = "SL"
|
326
|
+
SM = "SM"
|
327
|
+
SN = "SN"
|
328
|
+
SQ = "SQ"
|
329
|
+
SS = "SS"
|
330
|
+
ST = "ST"
|
331
|
+
SU = "SU"
|
332
|
+
SV = "SV"
|
333
|
+
SW = "SW"
|
334
|
+
SY = "SY"
|
335
|
+
T_1 = "T1"
|
336
|
+
T_2 = "T2"
|
337
|
+
T_3 = "T3"
|
338
|
+
T_4 = "T4"
|
339
|
+
T_5 = "T5"
|
340
|
+
T_6 = "T6"
|
341
|
+
T_7 = "T7"
|
342
|
+
T_8 = "T8"
|
343
|
+
T_9 = "T9"
|
344
|
+
TA = "TA"
|
345
|
+
TB = "TB"
|
346
|
+
TC = "TC"
|
347
|
+
TD = "TD"
|
348
|
+
TE = "TE"
|
349
|
+
TF = "TF"
|
350
|
+
TG = "TG"
|
351
|
+
TH = "TH"
|
352
|
+
TJ = "TJ"
|
353
|
+
TK = "TK"
|
354
|
+
TL = "TL"
|
355
|
+
TM = "TM"
|
356
|
+
TN = "TN"
|
357
|
+
TP = "TP"
|
358
|
+
TQ = "TQ"
|
359
|
+
TR = "TR"
|
360
|
+
TS = "TS"
|
361
|
+
TT = "TT"
|
362
|
+
TU = "TU"
|
363
|
+
TV = "TV"
|
364
|
+
TW = "TW"
|
365
|
+
U_1 = "U1"
|
366
|
+
U_2 = "U2"
|
367
|
+
U_3 = "U3"
|
368
|
+
U_4 = "U4"
|
369
|
+
U_5 = "U5"
|
370
|
+
U_6 = "U6"
|
371
|
+
U_7 = "U7"
|
372
|
+
U_8 = "U8"
|
373
|
+
U_9 = "U9"
|
374
|
+
UA = "UA"
|
375
|
+
UB = "UB"
|
376
|
+
UC = "UC"
|
377
|
+
UD = "UD"
|
378
|
+
UE = "UE"
|
379
|
+
UF = "UF"
|
380
|
+
UG = "UG"
|
381
|
+
UH = "UH"
|
382
|
+
UJ = "UJ"
|
383
|
+
UK = "UK"
|
384
|
+
UN = "UN"
|
385
|
+
UP = "UP"
|
386
|
+
UQ = "UQ"
|
387
|
+
UR = "UR"
|
388
|
+
US = "US"
|
389
|
+
V_1 = "V1"
|
390
|
+
V_2 = "V2"
|
391
|
+
V_3 = "V3"
|
392
|
+
XE = "XE"
|
393
|
+
end
|
394
|
+
end
|
395
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "json"
|
4
|
+
|
5
|
+
module CandidApiClient
|
6
|
+
class Commons
|
7
|
+
class RegionNational
|
8
|
+
attr_reader :additional_properties
|
9
|
+
|
10
|
+
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
11
|
+
# @return [Commons::RegionNational]
|
12
|
+
def initialize(additional_properties: nil)
|
13
|
+
# @type [OpenStruct] Additional properties unmapped to the current class definition
|
14
|
+
@additional_properties = additional_properties
|
15
|
+
end
|
16
|
+
|
17
|
+
# Deserialize a JSON object to an instance of RegionNational
|
18
|
+
#
|
19
|
+
# @param json_object [JSON]
|
20
|
+
# @return [Commons::RegionNational]
|
21
|
+
def self.from_json(json_object:)
|
22
|
+
struct = JSON.parse(json_object, object_class: OpenStruct)
|
23
|
+
JSON.parse(json_object)
|
24
|
+
new(additional_properties: struct)
|
25
|
+
end
|
26
|
+
|
27
|
+
# Serialize an instance of RegionNational to a JSON object
|
28
|
+
#
|
29
|
+
# @return [JSON]
|
30
|
+
def to_json(*_args)
|
31
|
+
{}.to_json
|
32
|
+
end
|
33
|
+
|
34
|
+
# Leveraged for Union-type generation, validate_raw attempts to parse the given hash and check each fields type against the current object's property definitions.
|
35
|
+
#
|
36
|
+
# @param obj [Object]
|
37
|
+
# @return [Void]
|
38
|
+
def self.validate_raw(obj:); end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "state"
|
4
|
+
require "json"
|
5
|
+
|
6
|
+
module CandidApiClient
|
7
|
+
class Commons
|
8
|
+
class RegionStates
|
9
|
+
attr_reader :states, :additional_properties
|
10
|
+
|
11
|
+
# @param states [Array<Commons::State>]
|
12
|
+
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
13
|
+
# @return [Commons::RegionStates]
|
14
|
+
def initialize(states:, additional_properties: nil)
|
15
|
+
# @type [Array<Commons::State>]
|
16
|
+
@states = states
|
17
|
+
# @type [OpenStruct] Additional properties unmapped to the current class definition
|
18
|
+
@additional_properties = additional_properties
|
19
|
+
end
|
20
|
+
|
21
|
+
# Deserialize a JSON object to an instance of RegionStates
|
22
|
+
#
|
23
|
+
# @param json_object [JSON]
|
24
|
+
# @return [Commons::RegionStates]
|
25
|
+
def self.from_json(json_object:)
|
26
|
+
struct = JSON.parse(json_object, object_class: OpenStruct)
|
27
|
+
JSON.parse(json_object)
|
28
|
+
states = struct.states
|
29
|
+
new(states: states, additional_properties: struct)
|
30
|
+
end
|
31
|
+
|
32
|
+
# Serialize an instance of RegionStates to a JSON object
|
33
|
+
#
|
34
|
+
# @return [JSON]
|
35
|
+
def to_json(*_args)
|
36
|
+
{ "states": @states }.to_json
|
37
|
+
end
|
38
|
+
|
39
|
+
# Leveraged for Union-type generation, validate_raw attempts to parse the given hash and check each fields type against the current object's property definitions.
|
40
|
+
#
|
41
|
+
# @param obj [Object]
|
42
|
+
# @return [Void]
|
43
|
+
def self.validate_raw(obj:)
|
44
|
+
obj.states.is_a?(Array) != false || raise("Passed value for field obj.states is not the expected type, validation failed.")
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|