vericred_client 0.0.27 → 0.0.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +62 -25
- data/docs/ACAPlan.md +0 -5
- data/docs/ACAPlan2018.md +6 -5
- data/docs/ACAPlan2018Search.md +104 -0
- data/docs/ACAPlan2018SearchResponse.md +1 -1
- data/docs/ACAPlan2018SearchResult.md +6 -0
- data/docs/ACAPlanPre2018.md +0 -5
- data/docs/ACAPlanPre2018Search.md +97 -0
- data/docs/ACAPlanPre2018SearchResponse.md +1 -1
- data/docs/ACAPlanPre2018SearchResult.md +1 -1
- data/docs/AgeBanded.md +10 -0
- data/docs/BulkPlansApi.md +63 -0
- data/docs/DentalPlan.md +0 -4
- data/docs/DentalPlanSearch.md +25 -0
- data/docs/DentalPlanSearchResponse.md +1 -1
- data/docs/DentalPlanUpdate.md +2 -0
- data/docs/FormulariesApi.md +58 -0
- data/docs/FourTierComposite.md +12 -0
- data/docs/MajorMedicalPlansApi.md +8 -8
- data/docs/MedicalPlanBenefits.md +2 -0
- data/docs/{RequestPlanFind.md → MedicalPlanSearchRequest.md} +2 -3
- data/docs/MedicalPlanUpdate.md +6 -1
- data/docs/MedicalPlansApi.md +114 -0
- data/docs/MedicareAdvantagePlan.md +0 -2
- data/docs/MedicareAdvantagePlanSearch.md +30 -0
- data/docs/MedicareAdvantagePlanSearchResponse.md +1 -1
- data/docs/MembersCreateRequest.md +0 -1
- data/docs/Plan.md +0 -4
- data/docs/PlanMedicare.md +0 -4
- data/docs/PlanMedicareBulk.md +0 -4
- data/docs/PlansBulkSearchRequest.md +13 -0
- data/docs/PlansBulkSearchResponse.md +9 -0
- data/docs/Premiums.md +11 -0
- data/docs/ProviderDetails.md +1 -0
- data/docs/ProviderNetworks.md +2 -1
- data/docs/ProviderNetworksAddress.md +15 -0
- data/docs/ProviderPlanNetworkResponse.md +9 -0
- data/docs/ProviderPlanResponse.md +2 -0
- data/docs/ProvidersApi.md +2 -2
- data/docs/QuotingApi.md +9 -8
- data/docs/RateShow.md +4 -3
- data/docs/ServiceAreaUpdate.md +13 -0
- data/docs/ServiceAreaZipCountyUpdate.md +9 -0
- data/docs/ServiceAreasApi.md +65 -0
- data/docs/ThreeTierComposite.md +11 -0
- data/docs/TwoTierComposite.md +10 -0
- data/docs/V7ResponseProvidersProviderDetails.md +1 -0
- data/docs/VisionPlanUpdate.md +1 -0
- data/lib/vericred_client.rb +48 -13
- data/lib/vericred_client/api/{carrier_verification_medical_plans_api.rb → bulk_plans_api.rb} +47 -22
- data/lib/vericred_client/api/carrier_groups_api.rb +30 -5
- data/lib/vericred_client/api/carriers_api.rb +30 -5
- data/lib/vericred_client/api/dental_plans_api.rb +30 -5
- data/lib/vericred_client/api/drugs_api.rb +30 -5
- data/lib/vericred_client/api/embargoes_api.rb +30 -5
- data/lib/vericred_client/api/formularies_api.rb +91 -5
- data/lib/vericred_client/api/issuers_api.rb +30 -5
- data/lib/vericred_client/api/major_medical_plans_api.rb +38 -13
- data/lib/vericred_client/api/medical_plans_api.rb +147 -5
- data/lib/vericred_client/api/medicare_advantage_plans_api.rb +30 -5
- data/lib/vericred_client/api/network_sizes_api.rb +30 -5
- data/lib/vericred_client/api/networks_api.rb +30 -5
- data/lib/vericred_client/api/plans_api.rb +30 -5
- data/lib/vericred_client/api/providers_api.rb +34 -9
- data/lib/vericred_client/api/quoting_api.rb +46 -20
- data/lib/vericred_client/api/rates_api.rb +30 -5
- data/lib/vericred_client/api/{carrier_verification_dental_plans_api.rb → service_areas_api.rb} +53 -25
- data/lib/vericred_client/api/specialties_api.rb +30 -5
- data/lib/vericred_client/api/vision_plans_api.rb +30 -5
- data/lib/vericred_client/api/zip_counties_api.rb +30 -5
- data/lib/vericred_client/api_client.rb +30 -5
- data/lib/vericred_client/api_error.rb +30 -5
- data/lib/vericred_client/configuration.rb +30 -5
- data/lib/vericred_client/models/aca_plan.rb +31 -60
- data/lib/vericred_client/models/aca_plan2018.rb +91 -60
- data/lib/vericred_client/models/aca_plan2018_search.rb +2155 -0
- data/lib/vericred_client/models/aca_plan2018_search_response.rb +31 -6
- data/lib/vericred_client/models/aca_plan2018_search_result.rb +91 -6
- data/lib/vericred_client/models/aca_plan2018_show_response.rb +30 -5
- data/lib/vericred_client/models/aca_plan_pre2018.rb +31 -60
- data/lib/vericred_client/models/aca_plan_pre2018_search.rb +2085 -0
- data/lib/vericred_client/models/aca_plan_pre2018_search_response.rb +31 -6
- data/lib/vericred_client/models/aca_plan_pre2018_search_result.rb +31 -6
- data/lib/vericred_client/models/aca_plan_pre2018_show_response.rb +30 -5
- data/lib/vericred_client/models/address.rb +30 -5
- data/lib/vericred_client/models/age_banded.rb +1205 -0
- data/lib/vericred_client/models/ancillary_plan_identifier.rb +30 -5
- data/lib/vericred_client/models/base.rb +30 -5
- data/lib/vericred_client/models/base_plan_search_response.rb +30 -5
- data/lib/vericred_client/models/carrier.rb +30 -5
- data/lib/vericred_client/models/carrier_group_request.rb +30 -5
- data/lib/vericred_client/models/carrier_request.rb +30 -5
- data/lib/vericred_client/models/carrier_subsidiary.rb +30 -5
- data/lib/vericred_client/models/county.rb +30 -5
- data/lib/vericred_client/models/county_bulk.rb +30 -5
- data/lib/vericred_client/models/dental_plan.rb +31 -50
- data/lib/vericred_client/models/dental_plan_benefits.rb +30 -5
- data/lib/vericred_client/{api/provider_notification_subscriptions_api.rb → models/dental_plan_search.rb} +361 -157
- data/lib/vericred_client/models/dental_plan_search_applicant.rb +30 -5
- data/lib/vericred_client/models/dental_plan_search_request.rb +30 -5
- data/lib/vericred_client/models/dental_plan_search_response.rb +31 -6
- data/lib/vericred_client/models/dental_plan_show_response.rb +30 -5
- data/lib/vericred_client/models/dental_plan_update.rb +54 -9
- data/lib/vericred_client/models/dental_plan_update_request.rb +30 -5
- data/lib/vericred_client/models/dependent_create.rb +30 -5
- data/lib/vericred_client/models/dependent_create_request.rb +30 -5
- data/lib/vericred_client/models/dependent_show.rb +30 -5
- data/lib/vericred_client/models/drug.rb +30 -5
- data/lib/vericred_client/models/drug_coverage.rb +30 -5
- data/lib/vericred_client/models/drug_coverage_base.rb +30 -5
- data/lib/vericred_client/models/drug_coverage_response.rb +30 -5
- data/lib/vericred_client/models/drug_details.rb +30 -5
- data/lib/vericred_client/models/drug_package.rb +30 -5
- data/lib/vericred_client/models/drug_search_drug_package.rb +30 -5
- data/lib/vericred_client/models/drug_search_request.rb +30 -5
- data/lib/vericred_client/models/drug_search_response.rb +30 -5
- data/lib/vericred_client/models/embargo_request.rb +30 -5
- data/lib/vericred_client/models/formulary.rb +30 -5
- data/lib/vericred_client/models/formulary_drug_coverage.rb +30 -5
- data/lib/vericred_client/models/formulary_drug_package_response.rb +30 -5
- data/lib/vericred_client/models/formulary_response.rb +30 -5
- data/lib/vericred_client/models/four_tier_composite.rb +1225 -0
- data/lib/vericred_client/models/group_create.rb +30 -5
- data/lib/vericred_client/models/group_create_request.rb +30 -5
- data/lib/vericred_client/models/group_create_response.rb +30 -5
- data/lib/vericred_client/models/group_show.rb +30 -5
- data/lib/vericred_client/models/group_show_response.rb +30 -5
- data/lib/vericred_client/models/group_update.rb +30 -5
- data/lib/vericred_client/models/group_update_request.rb +30 -5
- data/lib/vericred_client/models/issuer_request.rb +30 -5
- data/lib/vericred_client/models/location_create.rb +30 -5
- data/lib/vericred_client/models/location_show.rb +30 -5
- data/lib/vericred_client/models/location_update.rb +30 -5
- data/lib/vericred_client/models/medical_plan_benefits.rb +51 -6
- data/lib/vericred_client/models/{request_plan_find_carrier_verification.rb → medical_plan_search_request.rb} +40 -35
- data/lib/vericred_client/models/medical_plan_update.rb +91 -16
- data/lib/vericred_client/models/medical_plan_update_request.rb +30 -5
- data/lib/vericred_client/models/medicare_advantage_plan.rb +31 -30
- data/lib/vericred_client/models/medicare_advantage_plan_benefits.rb +30 -5
- data/lib/vericred_client/models/medicare_advantage_plan_search.rb +1413 -0
- data/lib/vericred_client/models/medicare_advantage_plan_search_request.rb +30 -5
- data/lib/vericred_client/models/medicare_advantage_plan_search_response.rb +31 -6
- data/lib/vericred_client/models/medicare_advantage_plan_show_response.rb +30 -5
- data/lib/vericred_client/models/medicare_advantage_plan_update.rb +30 -5
- data/lib/vericred_client/models/medicare_advantage_plan_update_request.rb +30 -5
- data/lib/vericred_client/models/member_create.rb +30 -5
- data/lib/vericred_client/models/member_rate_show.rb +30 -5
- data/lib/vericred_client/models/member_rate_show_request.rb +30 -5
- data/lib/vericred_client/models/member_rates_show_response.rb +30 -5
- data/lib/vericred_client/models/member_show.rb +30 -5
- data/lib/vericred_client/models/members_create_request.rb +31 -16
- data/lib/vericred_client/models/members_create_response.rb +30 -5
- data/lib/vericred_client/models/members_show_response.rb +30 -5
- data/lib/vericred_client/models/meta.rb +30 -5
- data/lib/vericred_client/models/meta_plan_search_response.rb +30 -5
- data/lib/vericred_client/models/network.rb +30 -5
- data/lib/vericred_client/models/network_comparison.rb +30 -5
- data/lib/vericred_client/models/network_comparison_request.rb +30 -5
- data/lib/vericred_client/models/network_comparison_response.rb +30 -5
- data/lib/vericred_client/models/network_details.rb +30 -5
- data/lib/vericred_client/models/network_details_response.rb +30 -5
- data/lib/vericred_client/models/network_disruption_analysis.rb +30 -5
- data/lib/vericred_client/models/network_disruption_analysis_request.rb +30 -5
- data/lib/vericred_client/models/network_disruption_analysis_response.rb +30 -5
- data/lib/vericred_client/models/network_search.rb +30 -5
- data/lib/vericred_client/models/network_search_response.rb +30 -5
- data/lib/vericred_client/models/network_size.rb +30 -5
- data/lib/vericred_client/models/notification_subscription.rb +30 -5
- data/lib/vericred_client/models/notification_subscription_response.rb +30 -5
- data/lib/vericred_client/models/plan.rb +31 -50
- data/lib/vericred_client/models/plan_county.rb +30 -5
- data/lib/vericred_client/models/plan_county_bulk.rb +30 -5
- data/lib/vericred_client/models/plan_deleted.rb +30 -5
- data/lib/vericred_client/models/plan_identifier.rb +30 -5
- data/lib/vericred_client/models/plan_medicare.rb +31 -50
- data/lib/vericred_client/models/plan_medicare_bulk.rb +31 -50
- data/lib/vericred_client/models/plan_network.rb +30 -5
- data/lib/vericred_client/models/plan_pricing_medicare.rb +30 -5
- data/lib/vericred_client/models/plan_search_response.rb +30 -5
- data/lib/vericred_client/models/plan_show_response.rb +30 -5
- data/lib/vericred_client/models/plans_bulk_aca2018.rb +30 -5
- data/lib/vericred_client/models/plans_bulk_aca_pre2018.rb +30 -5
- data/lib/vericred_client/models/plans_bulk_base.rb +30 -5
- data/lib/vericred_client/models/plans_bulk_dental.rb +30 -5
- data/lib/vericred_client/models/{request_plan_find.rb → plans_bulk_search_request.rb} +54 -127
- data/lib/vericred_client/models/plans_bulk_search_response.rb +1197 -0
- data/lib/vericred_client/models/plans_bulk_vision.rb +30 -5
- data/lib/vericred_client/models/premiums.rb +1215 -0
- data/lib/vericred_client/models/provider.rb +30 -5
- data/lib/vericred_client/models/provider_details.rb +43 -6
- data/lib/vericred_client/models/provider_geocode.rb +30 -5
- data/lib/vericred_client/models/provider_network_event_notification.rb +30 -5
- data/lib/vericred_client/models/provider_network_specialty.rb +30 -5
- data/lib/vericred_client/models/provider_networks.rb +45 -10
- data/lib/vericred_client/models/provider_networks_address.rb +1257 -0
- data/lib/vericred_client/models/provider_plan_network_response.rb +1195 -0
- data/lib/vericred_client/models/provider_plan_response.rb +56 -9
- data/lib/vericred_client/models/provider_plans.rb +30 -5
- data/lib/vericred_client/models/provider_plans_request.rb +30 -5
- data/lib/vericred_client/models/provider_show_response.rb +30 -5
- data/lib/vericred_client/models/providers_geocode_response.rb +30 -5
- data/lib/vericred_client/models/providers_search_response.rb +30 -5
- data/lib/vericred_client/models/quote_create.rb +30 -5
- data/lib/vericred_client/models/quote_create_request.rb +30 -5
- data/lib/vericred_client/models/quote_create_response.rb +30 -5
- data/lib/vericred_client/models/quote_show.rb +30 -5
- data/lib/vericred_client/models/quote_show_response.rb +30 -5
- data/lib/vericred_client/models/rate_request.rb +30 -5
- data/lib/vericred_client/models/rate_search.rb +30 -5
- data/lib/vericred_client/models/rate_show.rb +44 -9
- data/lib/vericred_client/models/rate_show_request.rb +30 -5
- data/lib/vericred_client/models/rates_show_response.rb +30 -5
- data/lib/vericred_client/models/rating_area.rb +30 -5
- data/lib/vericred_client/models/request_plan_find_applicant.rb +30 -5
- data/lib/vericred_client/models/request_plan_find_drug_package.rb +30 -5
- data/lib/vericred_client/models/request_plan_find_provider.rb +30 -5
- data/lib/vericred_client/models/request_provider_notification_subscription.rb +30 -5
- data/lib/vericred_client/models/request_providers_search.rb +30 -5
- data/lib/vericred_client/models/request_rates_search.rb +30 -5
- data/lib/vericred_client/models/response_rates_search.rb +30 -5
- data/lib/vericred_client/models/rx_cui_identifier.rb +30 -5
- data/lib/vericred_client/models/rx_cui_identifier_search_response.rb +30 -5
- data/lib/vericred_client/models/service_area.rb +30 -5
- data/lib/vericred_client/models/service_area_update.rb +1237 -0
- data/lib/vericred_client/models/service_area_zip_county.rb +30 -5
- data/lib/vericred_client/models/service_area_zip_county_update.rb +1195 -0
- data/lib/vericred_client/models/specialty_search_response.rb +30 -5
- data/lib/vericred_client/models/specialty_show.rb +30 -5
- data/lib/vericred_client/models/state.rb +30 -5
- data/lib/vericred_client/models/state_network_size_request.rb +30 -5
- data/lib/vericred_client/models/state_network_size_response.rb +30 -5
- data/lib/vericred_client/models/supplemental_options.rb +30 -5
- data/lib/vericred_client/models/supplemental_options_update.rb +30 -5
- data/lib/vericred_client/models/three_tier_composite.rb +1215 -0
- data/lib/vericred_client/models/two_tier_composite.rb +1205 -0
- data/lib/vericred_client/models/v7_network_comparison_response.rb +30 -5
- data/lib/vericred_client/models/v7_response_providers_provider_details.rb +43 -6
- data/lib/vericred_client/models/vision_plan.rb +30 -5
- data/lib/vericred_client/models/vision_plan_benefits.rb +30 -5
- data/lib/vericred_client/models/vision_plan_search_applicant.rb +30 -5
- data/lib/vericred_client/models/vision_plan_search_request.rb +30 -5
- data/lib/vericred_client/models/vision_plan_search_response.rb +30 -5
- data/lib/vericred_client/models/vision_plan_show_response.rb +30 -5
- data/lib/vericred_client/models/vision_plan_update.rb +44 -9
- data/lib/vericred_client/models/vision_plan_update_request.rb +30 -5
- data/lib/vericred_client/models/zip_code.rb +30 -5
- data/lib/vericred_client/models/zip_counties_response.rb +30 -5
- data/lib/vericred_client/models/zip_county.rb +30 -5
- data/lib/vericred_client/models/zip_county_bulk.rb +30 -5
- data/lib/vericred_client/models/zip_county_response.rb +30 -5
- data/lib/vericred_client/version.rb +31 -6
- data/spec/api/bulk_plans_api_spec.rb +1043 -0
- data/spec/api/carrier_groups_api_spec.rb +30 -5
- data/spec/api/carriers_api_spec.rb +30 -5
- data/spec/api/dental_plans_api_spec.rb +30 -5
- data/spec/api/drugs_api_spec.rb +30 -5
- data/spec/api/embargoes_api_spec.rb +30 -5
- data/spec/api/formularies_api_spec.rb +43 -5
- data/spec/api/issuers_api_spec.rb +30 -5
- data/spec/api/major_medical_plans_api_spec.rb +33 -8
- data/spec/api/medical_plans_api_spec.rb +55 -5
- data/spec/api/medicare_advantage_plans_api_spec.rb +30 -5
- data/spec/api/network_sizes_api_spec.rb +30 -5
- data/spec/api/networks_api_spec.rb +30 -5
- data/spec/api/plans_api_spec.rb +30 -5
- data/spec/api/providers_api_spec.rb +32 -7
- data/spec/api/quoting_api_spec.rb +36 -11
- data/spec/api/rates_api_spec.rb +30 -5
- data/spec/api/{carrier_verification_dental_plans_api_spec.rb → service_areas_api_spec.rb} +43 -17
- data/spec/api/specialties_api_spec.rb +30 -5
- data/spec/api/vision_plans_api_spec.rb +30 -5
- data/spec/api/zip_counties_api_spec.rb +30 -5
- data/spec/api_client_spec.rb +30 -5
- data/spec/configuration_spec.rb +30 -5
- data/spec/models/aca_plan2018_search_response_spec.rb +30 -5
- data/spec/models/aca_plan2018_search_result_spec.rb +66 -5
- data/spec/models/aca_plan2018_search_spec.rb +1614 -0
- data/spec/models/aca_plan2018_show_response_spec.rb +30 -5
- data/spec/models/aca_plan2018_spec.rb +60 -29
- data/spec/models/aca_plan_pre2018_search_response_spec.rb +30 -5
- data/spec/models/aca_plan_pre2018_search_result_spec.rb +30 -5
- data/spec/models/aca_plan_pre2018_search_spec.rb +1572 -0
- data/spec/models/aca_plan_pre2018_show_response_spec.rb +30 -5
- data/spec/models/aca_plan_pre2018_spec.rb +30 -35
- data/spec/models/aca_plan_spec.rb +30 -35
- data/spec/models/address_spec.rb +30 -5
- data/spec/models/age_banded_spec.rb +1050 -0
- data/spec/models/ancillary_plan_identifier_spec.rb +30 -5
- data/spec/models/base_plan_search_response_spec.rb +30 -5
- data/spec/models/base_spec.rb +30 -5
- data/spec/models/carrier_group_request_spec.rb +30 -5
- data/spec/models/carrier_request_spec.rb +30 -5
- data/spec/models/carrier_spec.rb +30 -5
- data/spec/models/carrier_subsidiary_spec.rb +30 -5
- data/spec/models/county_bulk_spec.rb +30 -5
- data/spec/models/county_spec.rb +30 -5
- data/spec/models/dental_plan_benefits_spec.rb +30 -5
- data/spec/models/dental_plan_search_applicant_spec.rb +30 -5
- data/spec/models/dental_plan_search_request_spec.rb +30 -5
- data/spec/models/dental_plan_search_response_spec.rb +30 -5
- data/spec/{api/provider_notification_subscriptions_api_spec.rb → models/dental_plan_search_spec.rb} +136 -38
- data/spec/models/dental_plan_show_response_spec.rb +30 -5
- data/spec/models/dental_plan_spec.rb +30 -29
- data/spec/models/dental_plan_update_request_spec.rb +30 -5
- data/spec/models/dental_plan_update_spec.rb +42 -5
- data/spec/models/dependent_create_request_spec.rb +30 -5
- data/spec/models/dependent_create_spec.rb +30 -5
- data/spec/models/dependent_show_spec.rb +30 -5
- data/spec/models/drug_coverage_base_spec.rb +30 -5
- data/spec/models/drug_coverage_response_spec.rb +30 -5
- data/spec/models/drug_coverage_spec.rb +30 -5
- data/spec/models/drug_details_spec.rb +30 -5
- data/spec/models/drug_package_spec.rb +30 -5
- data/spec/models/drug_search_drug_package_spec.rb +30 -5
- data/spec/models/drug_search_request_spec.rb +30 -5
- data/spec/models/drug_search_response_spec.rb +30 -5
- data/spec/models/drug_spec.rb +30 -5
- data/spec/models/embargo_request_spec.rb +30 -5
- data/spec/models/formulary_drug_coverage_spec.rb +30 -5
- data/spec/models/formulary_drug_package_response_spec.rb +30 -5
- data/spec/models/formulary_response_spec.rb +30 -5
- data/spec/models/formulary_spec.rb +30 -5
- data/spec/models/four_tier_composite_spec.rb +1062 -0
- data/spec/models/group_create_request_spec.rb +30 -5
- data/spec/models/group_create_response_spec.rb +30 -5
- data/spec/models/group_create_spec.rb +30 -5
- data/spec/models/group_show_response_spec.rb +30 -5
- data/spec/models/group_show_spec.rb +30 -5
- data/spec/models/group_update_request_spec.rb +30 -5
- data/spec/models/group_update_spec.rb +30 -5
- data/spec/models/issuer_request_spec.rb +30 -5
- data/spec/models/location_create_spec.rb +30 -5
- data/spec/models/location_show_spec.rb +30 -5
- data/spec/models/location_update_spec.rb +30 -5
- data/spec/models/medical_plan_benefits_spec.rb +42 -5
- data/spec/models/{request_plan_find_carrier_verification_spec.rb → medical_plan_search_request_spec.rb} +37 -24
- data/spec/models/medical_plan_update_request_spec.rb +30 -5
- data/spec/models/medical_plan_update_spec.rb +64 -9
- data/spec/models/medicare_advantage_plan_benefits_spec.rb +30 -5
- data/spec/models/medicare_advantage_plan_search_request_spec.rb +30 -5
- data/spec/models/medicare_advantage_plan_search_response_spec.rb +30 -5
- data/spec/models/medicare_advantage_plan_search_spec.rb +1170 -0
- data/spec/models/medicare_advantage_plan_show_response_spec.rb +30 -5
- data/spec/models/medicare_advantage_plan_spec.rb +30 -17
- data/spec/models/medicare_advantage_plan_update_request_spec.rb +30 -5
- data/spec/models/medicare_advantage_plan_update_spec.rb +30 -5
- data/spec/models/member_create_spec.rb +30 -5
- data/spec/models/member_rate_show_request_spec.rb +30 -5
- data/spec/models/member_rate_show_spec.rb +30 -5
- data/spec/models/member_rates_show_response_spec.rb +30 -5
- data/spec/models/member_show_spec.rb +30 -5
- data/spec/models/members_create_request_spec.rb +30 -11
- data/spec/models/members_create_response_spec.rb +30 -5
- data/spec/models/members_show_response_spec.rb +30 -5
- data/spec/models/meta_plan_search_response_spec.rb +30 -5
- data/spec/models/meta_spec.rb +30 -5
- data/spec/models/network_comparison_request_spec.rb +30 -5
- data/spec/models/network_comparison_response_spec.rb +30 -5
- data/spec/models/network_comparison_spec.rb +30 -5
- data/spec/models/network_details_response_spec.rb +30 -5
- data/spec/models/network_details_spec.rb +30 -5
- data/spec/models/network_disruption_analysis_request_spec.rb +30 -5
- data/spec/models/network_disruption_analysis_response_spec.rb +30 -5
- data/spec/models/network_disruption_analysis_spec.rb +30 -5
- data/spec/models/network_search_response_spec.rb +30 -5
- data/spec/models/network_search_spec.rb +30 -5
- data/spec/models/network_size_spec.rb +30 -5
- data/spec/models/network_spec.rb +30 -5
- data/spec/models/notification_subscription_response_spec.rb +30 -5
- data/spec/models/notification_subscription_spec.rb +30 -5
- data/spec/models/plan_county_bulk_spec.rb +30 -5
- data/spec/models/plan_county_spec.rb +30 -5
- data/spec/models/plan_deleted_spec.rb +30 -5
- data/spec/models/plan_identifier_spec.rb +30 -5
- data/spec/models/plan_medicare_bulk_spec.rb +30 -29
- data/spec/models/plan_medicare_spec.rb +30 -29
- data/spec/models/plan_network_spec.rb +30 -5
- data/spec/models/plan_pricing_medicare_spec.rb +30 -5
- data/spec/models/plan_search_response_spec.rb +30 -5
- data/spec/models/plan_show_response_spec.rb +30 -5
- data/spec/models/plan_spec.rb +30 -29
- data/spec/models/plans_bulk_aca2018_spec.rb +30 -5
- data/spec/models/plans_bulk_aca_pre2018_spec.rb +30 -5
- data/spec/models/plans_bulk_base_spec.rb +30 -5
- data/spec/models/plans_bulk_dental_spec.rb +30 -5
- data/spec/models/plans_bulk_search_request_spec.rb +1068 -0
- data/spec/{api/carrier_verification_plans_api_spec.rb → models/plans_bulk_search_response_spec.rb} +46 -20
- data/spec/models/plans_bulk_vision_spec.rb +30 -5
- data/spec/models/premiums_spec.rb +1056 -0
- data/spec/models/provider_details_spec.rb +36 -5
- data/spec/models/provider_geocode_spec.rb +30 -5
- data/spec/models/provider_network_event_notification_spec.rb +30 -5
- data/spec/models/provider_network_specialty_spec.rb +30 -5
- data/spec/models/{request_plan_find_spec.rb → provider_networks_address_spec.rb} +43 -60
- data/spec/models/provider_networks_spec.rb +36 -5
- data/spec/{api/carrier_verification_vision_plans_api_spec.rb → models/provider_plan_network_response_spec.rb} +46 -20
- data/spec/models/provider_plan_response_spec.rb +42 -5
- data/spec/models/provider_plans_request_spec.rb +30 -5
- data/spec/models/provider_plans_spec.rb +30 -5
- data/spec/models/provider_show_response_spec.rb +30 -5
- data/spec/models/provider_spec.rb +30 -5
- data/spec/models/providers_geocode_response_spec.rb +30 -5
- data/spec/models/providers_search_response_spec.rb +30 -5
- data/spec/models/quote_create_request_spec.rb +30 -5
- data/spec/models/quote_create_response_spec.rb +30 -5
- data/spec/models/quote_create_spec.rb +30 -5
- data/spec/models/quote_show_response_spec.rb +30 -5
- data/spec/models/quote_show_spec.rb +30 -5
- data/spec/models/rate_request_spec.rb +30 -5
- data/spec/models/rate_search_spec.rb +30 -5
- data/spec/models/rate_show_request_spec.rb +30 -5
- data/spec/models/rate_show_spec.rb +36 -5
- data/spec/models/rates_show_response_spec.rb +30 -5
- data/spec/models/rating_area_spec.rb +30 -5
- data/spec/models/request_plan_find_applicant_spec.rb +30 -5
- data/spec/models/request_plan_find_drug_package_spec.rb +30 -5
- data/spec/models/request_plan_find_provider_spec.rb +30 -5
- data/spec/models/request_provider_notification_subscription_spec.rb +30 -5
- data/spec/models/request_providers_search_spec.rb +30 -5
- data/spec/models/request_rates_search_spec.rb +30 -5
- data/spec/models/response_rates_search_spec.rb +30 -5
- data/spec/models/rx_cui_identifier_search_response_spec.rb +30 -5
- data/spec/models/rx_cui_identifier_spec.rb +30 -5
- data/spec/models/service_area_spec.rb +30 -5
- data/spec/models/service_area_update_spec.rb +1068 -0
- data/spec/models/service_area_zip_county_spec.rb +30 -5
- data/spec/{api/carrier_verification_medical_plans_api_spec.rb → models/service_area_zip_county_update_spec.rb} +46 -20
- data/spec/models/specialty_search_response_spec.rb +30 -5
- data/spec/models/specialty_show_spec.rb +30 -5
- data/spec/models/state_network_size_request_spec.rb +30 -5
- data/spec/models/state_network_size_response_spec.rb +30 -5
- data/spec/models/state_spec.rb +30 -5
- data/spec/models/supplemental_options_spec.rb +30 -5
- data/spec/models/supplemental_options_update_spec.rb +30 -5
- data/spec/models/three_tier_composite_spec.rb +1056 -0
- data/spec/models/two_tier_composite_spec.rb +1050 -0
- data/spec/models/v7_network_comparison_response_spec.rb +30 -5
- data/spec/models/v7_response_providers_provider_details_spec.rb +36 -5
- data/spec/models/vision_plan_benefits_spec.rb +30 -5
- data/spec/models/vision_plan_search_applicant_spec.rb +30 -5
- data/spec/models/vision_plan_search_request_spec.rb +30 -5
- data/spec/models/vision_plan_search_response_spec.rb +30 -5
- data/spec/models/vision_plan_show_response_spec.rb +30 -5
- data/spec/models/vision_plan_spec.rb +30 -5
- data/spec/models/vision_plan_update_request_spec.rb +30 -5
- data/spec/models/vision_plan_update_spec.rb +36 -5
- data/spec/models/zip_code_spec.rb +30 -5
- data/spec/models/zip_counties_response_spec.rb +30 -5
- data/spec/models/zip_county_bulk_spec.rb +30 -5
- data/spec/models/zip_county_response_spec.rb +30 -5
- data/spec/models/zip_county_spec.rb +30 -5
- data/spec/spec_helper.rb +30 -5
- data/vericred_client.gemspec +30 -5
- metadata +74 -34
- data/docs/CarrierVerificationDentalPlansApi.md +0 -63
- data/docs/CarrierVerificationMedicalPlansApi.md +0 -63
- data/docs/CarrierVerificationPlansApi.md +0 -63
- data/docs/CarrierVerificationVisionPlansApi.md +0 -63
- data/docs/DrugPackagesApi.md +0 -66
- data/docs/ProviderNotificationSubscriptionsApi.md +0 -173
- data/docs/RequestPlanFindCarrierVerification.md +0 -23
- data/lib/vericred_client/api/carrier_verification_plans_api.rb +0 -1051
- data/lib/vericred_client/api/carrier_verification_vision_plans_api.rb +0 -1051
- data/lib/vericred_client/api/drug_packages_api.rb +0 -1055
- data/spec/api/drug_packages_api_spec.rb +0 -1019
@@ -777,11 +777,36 @@ Response
|
|
777
777
|
"rates": [
|
778
778
|
...
|
779
779
|
{
|
780
|
+
"id": "123abc",
|
780
781
|
"plan_id": "12345NY6789012",
|
781
|
-
"total_premium": 2800.
|
782
|
-
"member_premium": 1000.
|
783
|
-
"dependent_premium": 1800.
|
784
|
-
"
|
782
|
+
"total_premium": "2800.00",
|
783
|
+
"member_premium": "1000.00",
|
784
|
+
"dependent_premium": "1800.00",
|
785
|
+
"premiums": {
|
786
|
+
"age_banded": {
|
787
|
+
"total_member": "1000.00",
|
788
|
+
"total_dependent": "1800.00",
|
789
|
+
"total": "2800.00"
|
790
|
+
},
|
791
|
+
"2_tier_composite": {
|
792
|
+
"employee_only": "200.00",
|
793
|
+
"employee_plus_family": "400.00",
|
794
|
+
"total": "2800.00"
|
795
|
+
},
|
796
|
+
"3_tier_composite": {
|
797
|
+
"employee_only": "200.00",
|
798
|
+
"employee_plus_one": "250.00",
|
799
|
+
"employee_plus_family": "330.00",
|
800
|
+
"total": "2800.00"
|
801
|
+
},
|
802
|
+
"4_tier_composite": {
|
803
|
+
"employee_only": "200.00",
|
804
|
+
"employee_plus_child": "220.00",
|
805
|
+
"employee_plus_spouse": "250.00",
|
806
|
+
"employee_plus_family": "330.00",
|
807
|
+
"total": "2800.00"
|
808
|
+
}
|
809
|
+
}
|
785
810
|
}
|
786
811
|
...
|
787
812
|
]
|
@@ -829,7 +854,7 @@ Response
|
|
829
854
|
"member_external_id": "externally-supplied-id",
|
830
855
|
"member_premium": 500.0,
|
831
856
|
"dependent_premium": 600.0,
|
832
|
-
"total_premium": 1100.0
|
857
|
+
"total_premium": 1100.0
|
833
858
|
}
|
834
859
|
...
|
835
860
|
]
|
@@ -992,7 +1017,7 @@ module VericredClient
|
|
992
1017
|
end
|
993
1018
|
|
994
1019
|
# Create a Group
|
995
|
-
#
|
1020
|
+
# Use this endpoint to create a new `Group`. See the [Overview Section](#header-specifying-the-group) for more information. ### Parameters #### Group _(required)_ The `group` key is a required object that contains information related to the group that will be quoted. | Field | Type | Notes | |---------------------------------------|-----------|------------------------------------------------------------------------------| | chamber_association<br />_(required)_ | `boolean` | | | company_name<br />_(required)_ | `string` | | | contact_email<br />_(optional)_ | `string` | | | contact_name<br />_(optional)_ | `string` | | | contact_phone<br />_(optional)_ | `string` | The format is `123-123-1234`. | | external_id<br />_(required)_ | `string` | A field you can use to identify the group with. This can be an empty string. | | sic_code<br />_(required)_ | `string` | | #### Locations _(required)_ The `locations` key is a requied list of objects, each detailing a location in which the group has an office. There should only be one primary location. The primary location is used to determine the plan availability for that group during the quoting process. | Field | Type | Notes | |---------------------------------------|-----------|---------------------------------------------------------------------------------| | external_id<br />_(optional)_ | `string` | A field you can use to identify the location with. This can be an empty string. | | fips_code<br />_(required)_ | `string` | | | name<br />_(required)_ | `string` | | | number_of_employees<br />_(required)_ | `integer` | | | primary<br />_(required)_ | `boolean` | | | zip_code<br />_(required)_ | `string` | |
|
996
1021
|
# @param body
|
997
1022
|
# @param [Hash] opts the optional parameters
|
998
1023
|
# @return [GroupCreateResponse]
|
@@ -1002,7 +1027,7 @@ module VericredClient
|
|
1002
1027
|
end
|
1003
1028
|
|
1004
1029
|
# Create a Group
|
1005
|
-
#
|
1030
|
+
# Use this endpoint to create a new `Group`. See the [Overview Section](#header-specifying-the-group) for more information. ### Parameters #### Group _(required)_ The `group` key is a required object that contains information related to the group that will be quoted. | Field | Type | Notes | |---------------------------------------|-----------|------------------------------------------------------------------------------| | chamber_association<br />_(required)_ | `boolean` | | | company_name<br />_(required)_ | `string` | | | contact_email<br />_(optional)_ | `string` | | | contact_name<br />_(optional)_ | `string` | | | contact_phone<br />_(optional)_ | `string` | The format is `123-123-1234`. | | external_id<br />_(required)_ | `string` | A field you can use to identify the group with. This can be an empty string. | | sic_code<br />_(required)_ | `string` | | #### Locations _(required)_ The `locations` key is a requied list of objects, each detailing a location in which the group has an office. There should only be one primary location. The primary location is used to determine the plan availability for that group during the quoting process. | Field | Type | Notes | |---------------------------------------|-----------|---------------------------------------------------------------------------------| | external_id<br />_(optional)_ | `string` | A field you can use to identify the location with. This can be an empty string. | | fips_code<br />_(required)_ | `string` | | | name<br />_(required)_ | `string` | | | number_of_employees<br />_(required)_ | `integer` | | | primary<br />_(required)_ | `boolean` | | | zip_code<br />_(required)_ | `string` | |
|
1006
1031
|
# @param body
|
1007
1032
|
# @param [Hash] opts the optional parameters
|
1008
1033
|
# @return [Array<(GroupCreateResponse, Fixnum, Hash)>] GroupCreateResponse data, response status code and response headers
|
@@ -1049,7 +1074,7 @@ module VericredClient
|
|
1049
1074
|
end
|
1050
1075
|
|
1051
1076
|
# Create a Quote
|
1052
|
-
# Generate a `Quote` for a `Group`
|
1077
|
+
# Generate a `Quote` for a `Group`. See the [Overview Section](#quoting-quoting-post-1) for more information. ### Parameters #### Quote _(required)_ The `quote` key is required and it contains the criteria below for the quote that is being generated. | Field | Type | Notes | |--------------------------------------------|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | contribution_percentage<br />_(required)_ | `integer` | | | effective_date<br />_(required)_ | `string` | The format is `YYYY-MM-DD`. | | npn<br />_(required)_ | `string` | The National Producer Number | | participation_percentage<br />_(required)_ | `integer` | | | product_line<br />_(required)_ | `string` | The product line you wish to quote for. The options are `medical`, `dental`, or `vision`. | | rating_method<br />_(required)_ | `string` | The options are `age_banded`, `4_tier_composite`, `3_tier_composite`, and `2_tier_composite`. If we do not have a method for a plan, we will use a method we have for that plan. | | voluntary<br />_(required)_ | `boolean` | | | carrier_ids<br />_(optional)_ | `list` | A list of issuer_ids in string format. Only provide this key if you want to limit the carriers quoted. |
|
1053
1078
|
# @param id ID of the Group
|
1054
1079
|
# @param [Hash] opts the optional parameters
|
1055
1080
|
# @option opts [QuoteCreateRequest] :body
|
@@ -1060,7 +1085,7 @@ module VericredClient
|
|
1060
1085
|
end
|
1061
1086
|
|
1062
1087
|
# Create a Quote
|
1063
|
-
# Generate a `Quote` for a `Group`
|
1088
|
+
# Generate a `Quote` for a `Group`. See the [Overview Section](#quoting-quoting-post-1) for more information. ### Parameters #### Quote _(required)_ The `quote` key is required and it contains the criteria below for the quote that is being generated. | Field | Type | Notes | |--------------------------------------------|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | contribution_percentage<br />_(required)_ | `integer` | | | effective_date<br />_(required)_ | `string` | The format is `YYYY-MM-DD`. | | npn<br />_(required)_ | `string` | The National Producer Number | | participation_percentage<br />_(required)_ | `integer` | | | product_line<br />_(required)_ | `string` | The product line you wish to quote for. The options are `medical`, `dental`, or `vision`. | | rating_method<br />_(required)_ | `string` | The options are `age_banded`, `4_tier_composite`, `3_tier_composite`, and `2_tier_composite`. If we do not have a method for a plan, we will use a method we have for that plan. | | voluntary<br />_(required)_ | `boolean` | | | carrier_ids<br />_(optional)_ | `list` | A list of issuer_ids in string format. Only provide this key if you want to limit the carriers quoted. |
|
1064
1089
|
# @param id ID of the Group
|
1065
1090
|
# @param [Hash] opts the optional parameters
|
1066
1091
|
# @option opts [QuoteCreateRequest] :body
|
@@ -1165,7 +1190,7 @@ module VericredClient
|
|
1165
1190
|
end
|
1166
1191
|
|
1167
1192
|
# Display Rates
|
1168
|
-
#
|
1193
|
+
# Retrieve the rates for a `Quote`. **Notice:** Please note that the `premiums` key is currently only available for `medical` Quotes. Please reach out to support@vericred.com for updates on its availability for `dental` and `vision` quotes.
|
1169
1194
|
# @param id ID of the quote
|
1170
1195
|
# @param [Hash] opts the optional parameters
|
1171
1196
|
# @return [RatesShowResponse]
|
@@ -1175,7 +1200,7 @@ module VericredClient
|
|
1175
1200
|
end
|
1176
1201
|
|
1177
1202
|
# Display Rates
|
1178
|
-
#
|
1203
|
+
# Retrieve the rates for a `Quote`. **Notice:** Please note that the `premiums` key is currently only available for `medical` Quotes. Please reach out to support@vericred.com for updates on its availability for `dental` and `vision` quotes.
|
1179
1204
|
# @param id ID of the quote
|
1180
1205
|
# @param [Hash] opts the optional parameters
|
1181
1206
|
# @return [Array<(RatesShowResponse, Fixnum, Hash)>] RatesShowResponse data, response status code and response headers
|
@@ -1222,7 +1247,7 @@ module VericredClient
|
|
1222
1247
|
end
|
1223
1248
|
|
1224
1249
|
# Display Member Rates
|
1225
|
-
#
|
1250
|
+
# Retrieve the member-level rates for a particular `Rate` returned for a `Quote`.
|
1226
1251
|
# @param id ID of the Rate
|
1227
1252
|
# @param [Hash] opts the optional parameters
|
1228
1253
|
# @return [MemberRatesShowResponse]
|
@@ -1232,7 +1257,7 @@ module VericredClient
|
|
1232
1257
|
end
|
1233
1258
|
|
1234
1259
|
# Display Member Rates
|
1235
|
-
#
|
1260
|
+
# Retrieve the member-level rates for a particular `Rate` returned for a `Quote`.
|
1236
1261
|
# @param id ID of the Rate
|
1237
1262
|
# @param [Hash] opts the optional parameters
|
1238
1263
|
# @return [Array<(MemberRatesShowResponse, Fixnum, Hash)>] MemberRatesShowResponse data, response status code and response headers
|
@@ -1279,22 +1304,22 @@ module VericredClient
|
|
1279
1304
|
end
|
1280
1305
|
|
1281
1306
|
# Create or Update Members
|
1282
|
-
#
|
1307
|
+
# Add `Member`s and their `Dependent`s to a `Group`. If called on the same group twice, it will fully replace the members for that group. See the [Overview Section](#quoting-quoting-put) for more information. ### Parameters #### Members _(required)_ The `members` key is a required list containing the `Member`s for the `Group` and their `Dependent`s. | Field | Type | Notes | |---------------------------------------|-----------|------------------------------------------------------------------------------------------------------| | cobra<br />_(required)_ | `boolean` | | | date_of_birth<br />_(required)_ | `string` | The format is `YYYY-MM-DD`. Members cannot be less than 0 years old at the time of quoting. | | dependents<br />_(required)_ | `list` | If the member does not have dependents, please pass an empty list. | | external_id<br />_(required)_ | `string` | A field you can use to identify the member with. This can be an empty string. | | fips_code<br />_(required)_ | `string` | | | gender<br />_(required)_ | `string` | The options are: `M` or `F`. | | last_used_tobacco<br />_(required)_ | `string` | The format is `YYYY-MM-DD`. For those that have never smoked, please pass `null`. | | location_id<br />_(required)_ | `string` | The location where the member works. The identifier comes from the response when creating a `Group`. | | retiree<br />_(required)_ | `boolean` | | | zip_code<br />_(required)_ | `string` | | ##### Dependents The `dependents` key is a required list containing each `Dependent` the `Member` has. If the `Member` has no dependents, an empty list should be passed. | Field | Type | Notes | |---------------------------------------|-----------|-----------------------------------------------------------------------------------------------------------| | date_of_birth<br />_(required)_ | `string` | The format is `YYYY-MM-DD`. Dependents cannot be less than 0 years old at the time of quoting. | | gender<br />_(required)_ | `string` | The options are `M` or `F`. | | last_used_tobacco<br />_(required)_ | `string` | The format is `YYYY-MM-DD`. For those that have never smoked, please pass `null`. | | relationship<br />_(required)_ | `string` | Please see the [Overview Section](#header-dependent-relationships) for a list of allowed relationships. | | same_household<br />_(required)_ | `boolean` | Does the dependent live in the same household as the member? |
|
1283
1308
|
# @param id ID of the Group
|
1284
1309
|
# @param body
|
1285
1310
|
# @param [Hash] opts the optional parameters
|
1286
|
-
# @return [
|
1311
|
+
# @return [MembersCreateResponse]
|
1287
1312
|
def update_group_members(id, body, opts = {})
|
1288
|
-
update_group_members_with_http_info(id, body, opts)
|
1289
|
-
return
|
1313
|
+
data, _status_code, _headers = update_group_members_with_http_info(id, body, opts)
|
1314
|
+
return data
|
1290
1315
|
end
|
1291
1316
|
|
1292
1317
|
# Create or Update Members
|
1293
|
-
#
|
1318
|
+
# Add `Member`s and their `Dependent`s to a `Group`. If called on the same group twice, it will fully replace the members for that group. See the [Overview Section](#quoting-quoting-put) for more information. ### Parameters #### Members _(required)_ The `members` key is a required list containing the `Member`s for the `Group` and their `Dependent`s. | Field | Type | Notes | |---------------------------------------|-----------|------------------------------------------------------------------------------------------------------| | cobra<br />_(required)_ | `boolean` | | | date_of_birth<br />_(required)_ | `string` | The format is `YYYY-MM-DD`. Members cannot be less than 0 years old at the time of quoting. | | dependents<br />_(required)_ | `list` | If the member does not have dependents, please pass an empty list. | | external_id<br />_(required)_ | `string` | A field you can use to identify the member with. This can be an empty string. | | fips_code<br />_(required)_ | `string` | | | gender<br />_(required)_ | `string` | The options are: `M` or `F`. | | last_used_tobacco<br />_(required)_ | `string` | The format is `YYYY-MM-DD`. For those that have never smoked, please pass `null`. | | location_id<br />_(required)_ | `string` | The location where the member works. The identifier comes from the response when creating a `Group`. | | retiree<br />_(required)_ | `boolean` | | | zip_code<br />_(required)_ | `string` | | ##### Dependents The `dependents` key is a required list containing each `Dependent` the `Member` has. If the `Member` has no dependents, an empty list should be passed. | Field | Type | Notes | |---------------------------------------|-----------|-----------------------------------------------------------------------------------------------------------| | date_of_birth<br />_(required)_ | `string` | The format is `YYYY-MM-DD`. Dependents cannot be less than 0 years old at the time of quoting. | | gender<br />_(required)_ | `string` | The options are `M` or `F`. | | last_used_tobacco<br />_(required)_ | `string` | The format is `YYYY-MM-DD`. For those that have never smoked, please pass `null`. | | relationship<br />_(required)_ | `string` | Please see the [Overview Section](#header-dependent-relationships) for a list of allowed relationships. | | same_household<br />_(required)_ | `boolean` | Does the dependent live in the same household as the member? |
|
1294
1319
|
# @param id ID of the Group
|
1295
1320
|
# @param body
|
1296
1321
|
# @param [Hash] opts the optional parameters
|
1297
|
-
# @return [Array<(
|
1322
|
+
# @return [Array<(MembersCreateResponse, Fixnum, Hash)>] MembersCreateResponse data, response status code and response headers
|
1298
1323
|
def update_group_members_with_http_info(id, body, opts = {})
|
1299
1324
|
if @api_client.config.debugging
|
1300
1325
|
@api_client.config.logger.debug "Calling API: QuotingApi.update_group_members ..."
|
@@ -1331,7 +1356,8 @@ module VericredClient
|
|
1331
1356
|
:query_params => query_params,
|
1332
1357
|
:form_params => form_params,
|
1333
1358
|
:body => post_body,
|
1334
|
-
:auth_names => auth_names
|
1359
|
+
:auth_names => auth_names,
|
1360
|
+
:return_type => 'MembersCreateResponse')
|
1335
1361
|
if @api_client.config.debugging
|
1336
1362
|
@api_client.config.logger.debug "API called: QuotingApi#update_group_members\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1337
1363
|
end
|
@@ -777,11 +777,36 @@ Response
|
|
777
777
|
"rates": [
|
778
778
|
...
|
779
779
|
{
|
780
|
+
"id": "123abc",
|
780
781
|
"plan_id": "12345NY6789012",
|
781
|
-
"total_premium": 2800.
|
782
|
-
"member_premium": 1000.
|
783
|
-
"dependent_premium": 1800.
|
784
|
-
"
|
782
|
+
"total_premium": "2800.00",
|
783
|
+
"member_premium": "1000.00",
|
784
|
+
"dependent_premium": "1800.00",
|
785
|
+
"premiums": {
|
786
|
+
"age_banded": {
|
787
|
+
"total_member": "1000.00",
|
788
|
+
"total_dependent": "1800.00",
|
789
|
+
"total": "2800.00"
|
790
|
+
},
|
791
|
+
"2_tier_composite": {
|
792
|
+
"employee_only": "200.00",
|
793
|
+
"employee_plus_family": "400.00",
|
794
|
+
"total": "2800.00"
|
795
|
+
},
|
796
|
+
"3_tier_composite": {
|
797
|
+
"employee_only": "200.00",
|
798
|
+
"employee_plus_one": "250.00",
|
799
|
+
"employee_plus_family": "330.00",
|
800
|
+
"total": "2800.00"
|
801
|
+
},
|
802
|
+
"4_tier_composite": {
|
803
|
+
"employee_only": "200.00",
|
804
|
+
"employee_plus_child": "220.00",
|
805
|
+
"employee_plus_spouse": "250.00",
|
806
|
+
"employee_plus_family": "330.00",
|
807
|
+
"total": "2800.00"
|
808
|
+
}
|
809
|
+
}
|
785
810
|
}
|
786
811
|
...
|
787
812
|
]
|
@@ -829,7 +854,7 @@ Response
|
|
829
854
|
"member_external_id": "externally-supplied-id",
|
830
855
|
"member_premium": 500.0,
|
831
856
|
"dependent_premium": 600.0,
|
832
|
-
"total_premium": 1100.0
|
857
|
+
"total_premium": 1100.0
|
833
858
|
}
|
834
859
|
...
|
835
860
|
]
|
data/lib/vericred_client/api/{carrier_verification_dental_plans_api.rb → service_areas_api.rb}
RENAMED
@@ -777,11 +777,36 @@ Response
|
|
777
777
|
"rates": [
|
778
778
|
...
|
779
779
|
{
|
780
|
+
"id": "123abc",
|
780
781
|
"plan_id": "12345NY6789012",
|
781
|
-
"total_premium": 2800.
|
782
|
-
"member_premium": 1000.
|
783
|
-
"dependent_premium": 1800.
|
784
|
-
"
|
782
|
+
"total_premium": "2800.00",
|
783
|
+
"member_premium": "1000.00",
|
784
|
+
"dependent_premium": "1800.00",
|
785
|
+
"premiums": {
|
786
|
+
"age_banded": {
|
787
|
+
"total_member": "1000.00",
|
788
|
+
"total_dependent": "1800.00",
|
789
|
+
"total": "2800.00"
|
790
|
+
},
|
791
|
+
"2_tier_composite": {
|
792
|
+
"employee_only": "200.00",
|
793
|
+
"employee_plus_family": "400.00",
|
794
|
+
"total": "2800.00"
|
795
|
+
},
|
796
|
+
"3_tier_composite": {
|
797
|
+
"employee_only": "200.00",
|
798
|
+
"employee_plus_one": "250.00",
|
799
|
+
"employee_plus_family": "330.00",
|
800
|
+
"total": "2800.00"
|
801
|
+
},
|
802
|
+
"4_tier_composite": {
|
803
|
+
"employee_only": "200.00",
|
804
|
+
"employee_plus_child": "220.00",
|
805
|
+
"employee_plus_spouse": "250.00",
|
806
|
+
"employee_plus_family": "330.00",
|
807
|
+
"total": "2800.00"
|
808
|
+
}
|
809
|
+
}
|
785
810
|
}
|
786
811
|
...
|
787
812
|
]
|
@@ -829,7 +854,7 @@ Response
|
|
829
854
|
"member_external_id": "externally-supplied-id",
|
830
855
|
"member_premium": 500.0,
|
831
856
|
"dependent_premium": 600.0,
|
832
|
-
"total_premium": 1100.0
|
857
|
+
"total_premium": 1100.0
|
833
858
|
}
|
834
859
|
...
|
835
860
|
]
|
@@ -984,36 +1009,40 @@ limitations under the License.
|
|
984
1009
|
require "uri"
|
985
1010
|
|
986
1011
|
module VericredClient
|
987
|
-
class
|
1012
|
+
class ServiceAreasApi
|
988
1013
|
attr_accessor :api_client
|
989
1014
|
|
990
1015
|
def initialize(api_client = ApiClient.default)
|
991
1016
|
@api_client = api_client
|
992
1017
|
end
|
993
1018
|
|
994
|
-
#
|
995
|
-
#
|
996
|
-
# @param
|
1019
|
+
# Create/update a ServiceArea
|
1020
|
+
# Add or update a ServiceArea to the database.
|
1021
|
+
# @param vericred_id The unique Vericred id
|
1022
|
+
# @param body ServiceArea record
|
997
1023
|
# @param [Hash] opts the optional parameters
|
998
|
-
# @return [
|
999
|
-
def
|
1000
|
-
|
1001
|
-
return
|
1024
|
+
# @return [nil]
|
1025
|
+
def put_service_area(vericred_id, body, opts = {})
|
1026
|
+
put_service_area_with_http_info(vericred_id, body, opts)
|
1027
|
+
return nil
|
1002
1028
|
end
|
1003
1029
|
|
1004
|
-
#
|
1005
|
-
#
|
1006
|
-
# @param
|
1030
|
+
# Create/update a ServiceArea
|
1031
|
+
# Add or update a ServiceArea to the database.
|
1032
|
+
# @param vericred_id The unique Vericred id
|
1033
|
+
# @param body ServiceArea record
|
1007
1034
|
# @param [Hash] opts the optional parameters
|
1008
|
-
# @return [Array<(
|
1009
|
-
def
|
1035
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1036
|
+
def put_service_area_with_http_info(vericred_id, body, opts = {})
|
1010
1037
|
if @api_client.config.debugging
|
1011
|
-
@api_client.config.logger.debug "Calling API:
|
1038
|
+
@api_client.config.logger.debug "Calling API: ServiceAreasApi.put_service_area ..."
|
1012
1039
|
end
|
1040
|
+
# verify the required parameter 'vericred_id' is set
|
1041
|
+
fail ArgumentError, "Missing the required parameter 'vericred_id' when calling ServiceAreasApi.put_service_area" if vericred_id.nil?
|
1013
1042
|
# verify the required parameter 'body' is set
|
1014
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
1043
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ServiceAreasApi.put_service_area" if body.nil?
|
1015
1044
|
# resource path
|
1016
|
-
local_var_path = "/
|
1045
|
+
local_var_path = "/service_areas/{vericred_id}".sub('{format}','json').sub('{' + 'vericred_id' + '}', vericred_id.to_s)
|
1017
1046
|
|
1018
1047
|
# query parameters
|
1019
1048
|
query_params = {}
|
@@ -1035,15 +1064,14 @@ module VericredClient
|
|
1035
1064
|
# http body (model)
|
1036
1065
|
post_body = @api_client.object_to_http_body(body)
|
1037
1066
|
auth_names = ['Vericred-Api-Key']
|
1038
|
-
data, status_code, headers = @api_client.call_api(:
|
1067
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
1039
1068
|
:header_params => header_params,
|
1040
1069
|
:query_params => query_params,
|
1041
1070
|
:form_params => form_params,
|
1042
1071
|
:body => post_body,
|
1043
|
-
:auth_names => auth_names
|
1044
|
-
:return_type => 'DentalPlanSearchResponse')
|
1072
|
+
:auth_names => auth_names)
|
1045
1073
|
if @api_client.config.debugging
|
1046
|
-
@api_client.config.logger.debug "API called:
|
1074
|
+
@api_client.config.logger.debug "API called: ServiceAreasApi#put_service_area\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1047
1075
|
end
|
1048
1076
|
return data, status_code, headers
|
1049
1077
|
end
|
@@ -777,11 +777,36 @@ Response
|
|
777
777
|
"rates": [
|
778
778
|
...
|
779
779
|
{
|
780
|
+
"id": "123abc",
|
780
781
|
"plan_id": "12345NY6789012",
|
781
|
-
"total_premium": 2800.
|
782
|
-
"member_premium": 1000.
|
783
|
-
"dependent_premium": 1800.
|
784
|
-
"
|
782
|
+
"total_premium": "2800.00",
|
783
|
+
"member_premium": "1000.00",
|
784
|
+
"dependent_premium": "1800.00",
|
785
|
+
"premiums": {
|
786
|
+
"age_banded": {
|
787
|
+
"total_member": "1000.00",
|
788
|
+
"total_dependent": "1800.00",
|
789
|
+
"total": "2800.00"
|
790
|
+
},
|
791
|
+
"2_tier_composite": {
|
792
|
+
"employee_only": "200.00",
|
793
|
+
"employee_plus_family": "400.00",
|
794
|
+
"total": "2800.00"
|
795
|
+
},
|
796
|
+
"3_tier_composite": {
|
797
|
+
"employee_only": "200.00",
|
798
|
+
"employee_plus_one": "250.00",
|
799
|
+
"employee_plus_family": "330.00",
|
800
|
+
"total": "2800.00"
|
801
|
+
},
|
802
|
+
"4_tier_composite": {
|
803
|
+
"employee_only": "200.00",
|
804
|
+
"employee_plus_child": "220.00",
|
805
|
+
"employee_plus_spouse": "250.00",
|
806
|
+
"employee_plus_family": "330.00",
|
807
|
+
"total": "2800.00"
|
808
|
+
}
|
809
|
+
}
|
785
810
|
}
|
786
811
|
...
|
787
812
|
]
|
@@ -829,7 +854,7 @@ Response
|
|
829
854
|
"member_external_id": "externally-supplied-id",
|
830
855
|
"member_premium": 500.0,
|
831
856
|
"dependent_premium": 600.0,
|
832
|
-
"total_premium": 1100.0
|
857
|
+
"total_premium": 1100.0
|
833
858
|
}
|
834
859
|
...
|
835
860
|
]
|
@@ -777,11 +777,36 @@ Response
|
|
777
777
|
"rates": [
|
778
778
|
...
|
779
779
|
{
|
780
|
+
"id": "123abc",
|
780
781
|
"plan_id": "12345NY6789012",
|
781
|
-
"total_premium": 2800.
|
782
|
-
"member_premium": 1000.
|
783
|
-
"dependent_premium": 1800.
|
784
|
-
"
|
782
|
+
"total_premium": "2800.00",
|
783
|
+
"member_premium": "1000.00",
|
784
|
+
"dependent_premium": "1800.00",
|
785
|
+
"premiums": {
|
786
|
+
"age_banded": {
|
787
|
+
"total_member": "1000.00",
|
788
|
+
"total_dependent": "1800.00",
|
789
|
+
"total": "2800.00"
|
790
|
+
},
|
791
|
+
"2_tier_composite": {
|
792
|
+
"employee_only": "200.00",
|
793
|
+
"employee_plus_family": "400.00",
|
794
|
+
"total": "2800.00"
|
795
|
+
},
|
796
|
+
"3_tier_composite": {
|
797
|
+
"employee_only": "200.00",
|
798
|
+
"employee_plus_one": "250.00",
|
799
|
+
"employee_plus_family": "330.00",
|
800
|
+
"total": "2800.00"
|
801
|
+
},
|
802
|
+
"4_tier_composite": {
|
803
|
+
"employee_only": "200.00",
|
804
|
+
"employee_plus_child": "220.00",
|
805
|
+
"employee_plus_spouse": "250.00",
|
806
|
+
"employee_plus_family": "330.00",
|
807
|
+
"total": "2800.00"
|
808
|
+
}
|
809
|
+
}
|
785
810
|
}
|
786
811
|
...
|
787
812
|
]
|
@@ -829,7 +854,7 @@ Response
|
|
829
854
|
"member_external_id": "externally-supplied-id",
|
830
855
|
"member_premium": 500.0,
|
831
856
|
"dependent_premium": 600.0,
|
832
|
-
"total_premium": 1100.0
|
857
|
+
"total_premium": 1100.0
|
833
858
|
}
|
834
859
|
...
|
835
860
|
]
|
@@ -777,11 +777,36 @@ Response
|
|
777
777
|
"rates": [
|
778
778
|
...
|
779
779
|
{
|
780
|
+
"id": "123abc",
|
780
781
|
"plan_id": "12345NY6789012",
|
781
|
-
"total_premium": 2800.
|
782
|
-
"member_premium": 1000.
|
783
|
-
"dependent_premium": 1800.
|
784
|
-
"
|
782
|
+
"total_premium": "2800.00",
|
783
|
+
"member_premium": "1000.00",
|
784
|
+
"dependent_premium": "1800.00",
|
785
|
+
"premiums": {
|
786
|
+
"age_banded": {
|
787
|
+
"total_member": "1000.00",
|
788
|
+
"total_dependent": "1800.00",
|
789
|
+
"total": "2800.00"
|
790
|
+
},
|
791
|
+
"2_tier_composite": {
|
792
|
+
"employee_only": "200.00",
|
793
|
+
"employee_plus_family": "400.00",
|
794
|
+
"total": "2800.00"
|
795
|
+
},
|
796
|
+
"3_tier_composite": {
|
797
|
+
"employee_only": "200.00",
|
798
|
+
"employee_plus_one": "250.00",
|
799
|
+
"employee_plus_family": "330.00",
|
800
|
+
"total": "2800.00"
|
801
|
+
},
|
802
|
+
"4_tier_composite": {
|
803
|
+
"employee_only": "200.00",
|
804
|
+
"employee_plus_child": "220.00",
|
805
|
+
"employee_plus_spouse": "250.00",
|
806
|
+
"employee_plus_family": "330.00",
|
807
|
+
"total": "2800.00"
|
808
|
+
}
|
809
|
+
}
|
785
810
|
}
|
786
811
|
...
|
787
812
|
]
|
@@ -829,7 +854,7 @@ Response
|
|
829
854
|
"member_external_id": "externally-supplied-id",
|
830
855
|
"member_premium": 500.0,
|
831
856
|
"dependent_premium": 600.0,
|
832
|
-
"total_premium": 1100.0
|
857
|
+
"total_premium": 1100.0
|
833
858
|
}
|
834
859
|
...
|
835
860
|
]
|