vericred_client 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/README.md +30 -20
 - data/docs/Applicant.md +2 -2
 - data/docs/{InlineResponse2001.md → Base.md} +2 -2
 - data/docs/Carrier.md +1 -1
 - data/docs/County.md +3 -3
 - data/docs/CountyBulk.md +10 -0
 - data/docs/Drug.md +2 -1
 - data/docs/DrugCoverage.md +4 -4
 - data/docs/DrugCoverageResponse.md +9 -0
 - data/docs/DrugPackage.md +9 -0
 - data/docs/DrugSearchResponse.md +9 -0
 - data/docs/DrugsApi.md +59 -0
 - data/docs/Meta.md +8 -0
 - data/docs/Plan.md +22 -6
 - data/docs/PlanCounty.md +1 -1
 - data/docs/PlanCountyBulk.md +10 -0
 - data/docs/PlanFindResponse.md +9 -0
 - data/docs/PlanSearchResult.md +26 -8
 - data/docs/PlansApi.md +11 -11
 - data/docs/Pricing.md +7 -1
 - data/docs/Provider.md +9 -6
 - data/docs/ProviderResponse.md +10 -0
 - data/docs/ProvidersApi.md +19 -21
 - data/docs/RatingArea.md +2 -2
 - data/docs/RequestPlanFind.md +15 -0
 - data/docs/State.md +4 -4
 - data/docs/ZipCountiesApi.md +7 -8
 - data/docs/ZipCountyBulk.md +11 -0
 - data/docs/ZipCountyResponse.md +10 -0
 - data/lib/vericred_client.rb +14 -6
 - data/lib/vericred_client/api/{drug_coverage_api.rb → drugs_api.rb} +25 -19
 - data/lib/vericred_client/api/plans_api.rb +14 -16
 - data/lib/vericred_client/api/providers_api.rb +29 -29
 - data/lib/vericred_client/api/zip_counties_api.rb +12 -12
 - data/lib/vericred_client/api_client.rb +1 -1
 - data/lib/vericred_client/api_error.rb +1 -1
 - data/lib/vericred_client/models/applicant.rb +14 -12
 - data/lib/vericred_client/models/{inline_response_200_1.rb → base.rb} +10 -9
 - data/lib/vericred_client/models/carrier.rb +15 -15
 - data/lib/vericred_client/models/carrier_subsidiary.rb +1 -1
 - data/lib/vericred_client/models/county.rb +18 -14
 - data/lib/vericred_client/models/county_bulk.rb +318 -0
 - data/lib/vericred_client/models/drug.rb +27 -15
 - data/lib/vericred_client/models/drug_coverage.rb +38 -32
 - data/lib/vericred_client/models/drug_coverage_response.rb +310 -0
 - data/lib/vericred_client/models/drug_package.rb +308 -0
 - data/lib/vericred_client/models/drug_search_response.rb +310 -0
 - data/lib/vericred_client/models/meta.rb +298 -0
 - data/lib/vericred_client/models/plan.rb +196 -22
 - data/lib/vericred_client/models/plan_county.rb +15 -15
 - data/lib/vericred_client/models/plan_county_bulk.rb +318 -0
 - data/lib/vericred_client/models/{inline_response_200.rb → plan_find_response.rb} +13 -11
 - data/lib/vericred_client/models/plan_search_result.rb +236 -42
 - data/lib/vericred_client/models/pricing.rb +63 -3
 - data/lib/vericred_client/models/provider.rb +51 -9
 - data/lib/vericred_client/models/provider_response.rb +322 -0
 - data/lib/vericred_client/models/rating_area.rb +5 -5
 - data/lib/vericred_client/models/{query.rb → request_plan_find.rb} +14 -6
 - data/lib/vericred_client/models/state.rb +29 -25
 - data/lib/vericred_client/models/zip_code.rb +1 -1
 - data/lib/vericred_client/models/zip_county.rb +1 -1
 - data/lib/vericred_client/models/zip_county_bulk.rb +328 -0
 - data/lib/vericred_client/models/{inline_response_200_2.rb → zip_county_response.rb} +20 -17
 - data/lib/vericred_client/version.rb +2 -2
 - data/spec/api/{drug_coverage_api_spec.rb → drugs_api_spec.rb} +14 -17
 - data/spec/api/plans_api_spec.rb +7 -69
 - data/spec/api/providers_api_spec.rb +12 -28
 - data/spec/api/zip_counties_api_spec.rb +6 -13
 - metadata +31 -15
 - data/docs/DrugCoverageApi.md +0 -54
 - data/docs/InlineResponse200.md +0 -9
 - data/docs/InlineResponse2002.md +0 -10
 - data/docs/Query.md +0 -15
 
    
        data/docs/PlansApi.md
    CHANGED
    
    | 
         @@ -4,13 +4,13 @@ All URIs are relative to *https://api.vericred.com/* 
     | 
|
| 
       4 
4 
     | 
    
         | 
| 
       5 
5 
     | 
    
         
             
            Method | HTTP request | Description
         
     | 
| 
       6 
6 
     | 
    
         
             
            ------------- | ------------- | -------------
         
     | 
| 
       7 
     | 
    
         
            -
            [** 
     | 
| 
      
 7 
     | 
    
         
            +
            [**post_plans_find**](PlansApi.md#post_plans_find) | **POST** /plans/find | 
         
     | 
| 
       8 
8 
     | 
    
         | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
            # ** 
     | 
| 
       11 
     | 
    
         
            -
            >  
     | 
| 
      
 10 
     | 
    
         
            +
            # **post_plans_find**
         
     | 
| 
      
 11 
     | 
    
         
            +
            > PlanFindResponse post_plans_find(opts)
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
       12 
13 
     | 
    
         | 
| 
       13 
     | 
    
         
            -
            Find a set of plans for a Zip Code and County
         
     | 
| 
       14 
14 
     | 
    
         | 
| 
       15 
15 
     | 
    
         
             
            ### Example
         
     | 
| 
       16 
16 
     | 
    
         
             
            ```ruby
         
     | 
| 
         @@ -19,15 +19,15 @@ require 'vericred_client' 
     | 
|
| 
       19 
19 
     | 
    
         | 
| 
       20 
20 
     | 
    
         
             
            api_instance = VericredClient::PlansApi.new
         
     | 
| 
       21 
21 
     | 
    
         | 
| 
       22 
     | 
    
         
            -
             
     | 
| 
       23 
     | 
    
         
            -
             
     | 
| 
      
 22 
     | 
    
         
            +
            opts = { 
         
     | 
| 
      
 23 
     | 
    
         
            +
              body: VericredClient::RequestPlanFind.new # RequestPlanFind | 
         
     | 
| 
      
 24 
     | 
    
         
            +
            }
         
     | 
| 
       24 
25 
     | 
    
         | 
| 
       25 
26 
     | 
    
         
             
            begin
         
     | 
| 
       26 
     | 
    
         
            -
               
     | 
| 
       27 
     | 
    
         
            -
              result = api_instance.plans_find_post(query)
         
     | 
| 
      
 27 
     | 
    
         
            +
              result = api_instance.post_plans_find(opts)
         
     | 
| 
       28 
28 
     | 
    
         
             
              p result
         
     | 
| 
       29 
29 
     | 
    
         
             
            rescue VericredClient::ApiError => e
         
     | 
| 
       30 
     | 
    
         
            -
              puts "Exception when calling PlansApi-> 
     | 
| 
      
 30 
     | 
    
         
            +
              puts "Exception when calling PlansApi->post_plans_find: #{e}"
         
     | 
| 
       31 
31 
     | 
    
         
             
            end
         
     | 
| 
       32 
32 
     | 
    
         
             
            ```
         
     | 
| 
       33 
33 
     | 
    
         | 
| 
         @@ -35,11 +35,11 @@ end 
     | 
|
| 
       35 
35 
     | 
    
         | 
| 
       36 
36 
     | 
    
         
             
            Name | Type | Description  | Notes
         
     | 
| 
       37 
37 
     | 
    
         
             
            ------------- | ------------- | ------------- | -------------
         
     | 
| 
       38 
     | 
    
         
            -
             ** 
     | 
| 
      
 38 
     | 
    
         
            +
             **body** | [**RequestPlanFind**](RequestPlanFind.md)|  | [optional] 
         
     | 
| 
       39 
39 
     | 
    
         | 
| 
       40 
40 
     | 
    
         
             
            ### Return type
         
     | 
| 
       41 
41 
     | 
    
         | 
| 
       42 
     | 
    
         
            -
            [** 
     | 
| 
      
 42 
     | 
    
         
            +
            [**PlanFindResponse**](PlanFindResponse.md)
         
     | 
| 
       43 
43 
     | 
    
         | 
| 
       44 
44 
     | 
    
         
             
            ### Authorization
         
     | 
| 
       45 
45 
     | 
    
         | 
    
        data/docs/Pricing.md
    CHANGED
    
    | 
         @@ -7,6 +7,12 @@ Name | Type | Description | Notes 
     | 
|
| 
       7 
7 
     | 
    
         
             
            **effective_date** | **Date** | Effective date of plan | [optional] 
         
     | 
| 
       8 
8 
     | 
    
         
             
            **expiration_date** | **Date** | Plan expiration date | [optional] 
         
     | 
| 
       9 
9 
     | 
    
         
             
            **plan_id** | **Integer** | Foreign key to plans | [optional] 
         
     | 
| 
       10 
     | 
    
         
            -
            ** 
     | 
| 
      
 10 
     | 
    
         
            +
            **premium_child_only** | **Float** | Child-only premium | [optional] 
         
     | 
| 
      
 11 
     | 
    
         
            +
            **premium_family** | **Float** | Family premium | [optional] 
         
     | 
| 
      
 12 
     | 
    
         
            +
            **premium_single** | **Float** | Single-person premium | [optional] 
         
     | 
| 
      
 13 
     | 
    
         
            +
            **premium_single_and_children** | **Float** | Single person including children premium | [optional] 
         
     | 
| 
      
 14 
     | 
    
         
            +
            **premium_single_and_spouse** | **Float** | Person with spouse premium | [optional] 
         
     | 
| 
      
 15 
     | 
    
         
            +
            **premium_single_smoker** | **Float** | Premium for single smoker | [optional] 
         
     | 
| 
      
 16 
     | 
    
         
            +
            **rating_area_id** | **String** | Foreign key to rating areas | [optional] 
         
     | 
| 
       11 
17 
     | 
    
         | 
| 
       12 
18 
     | 
    
         | 
    
        data/docs/Provider.md
    CHANGED
    
    | 
         @@ -3,17 +3,20 @@ 
     | 
|
| 
       3 
3 
     | 
    
         
             
            ## Properties
         
     | 
| 
       4 
4 
     | 
    
         
             
            Name | Type | Description | Notes
         
     | 
| 
       5 
5 
     | 
    
         
             
            ------------ | ------------- | ------------- | -------------
         
     | 
| 
       6 
     | 
    
         
            -
            **accepting_change_of_payor_patients** | **BOOLEAN** | Is this provider accepting patients with a change of insurance? | [optional] 
         
     | 
| 
       7 
     | 
    
         
            -
            **accepting_medicaid_patients** | **BOOLEAN** | Is this provider accepting new Medicaid patients? | [optional] 
         
     | 
| 
       8 
     | 
    
         
            -
            **accepting_medicare_patients** | **BOOLEAN** | Is this provider accepting new Medicare patients? | [optional] 
         
     | 
| 
       9 
     | 
    
         
            -
            **accepting_private_patients** | **BOOLEAN** | Is this provider accepting new patients with private insurance? | [optional] 
         
     | 
| 
       10 
     | 
    
         
            -
            **accepting_referral_patients** | **BOOLEAN** | Is this provider accepting new patients via referrals? | [optional] 
         
     | 
| 
      
 6 
     | 
    
         
            +
            **accepting_change_of_payor_patients** | **BOOLEAN** | Is this provider accepting patients with a change of insurance? | [optional] [default to false]
         
     | 
| 
      
 7 
     | 
    
         
            +
            **accepting_medicaid_patients** | **BOOLEAN** | Is this provider accepting new Medicaid patients? | [optional] [default to false]
         
     | 
| 
      
 8 
     | 
    
         
            +
            **accepting_medicare_patients** | **BOOLEAN** | Is this provider accepting new Medicare patients? | [optional] [default to false]
         
     | 
| 
      
 9 
     | 
    
         
            +
            **accepting_private_patients** | **BOOLEAN** | Is this provider accepting new patients with private insurance? | [optional] [default to false]
         
     | 
| 
      
 10 
     | 
    
         
            +
            **accepting_referral_patients** | **BOOLEAN** | Is this provider accepting new patients via referrals? | [optional] [default to false]
         
     | 
| 
       11 
11 
     | 
    
         
             
            **city** | **String** | City name (e.g. Springfield). | [optional] 
         
     | 
| 
       12 
12 
     | 
    
         
             
            **email** | **String** | Primary email address to contact the provider. | [optional] 
         
     | 
| 
       13 
     | 
    
         
            -
            **gender** | **String** | Provider's gender (M or F) | [optional] 
         
     | 
| 
       14 
13 
     | 
    
         
             
            **first_name** | **String** | Given name for the provider. | [optional] 
         
     | 
| 
      
 14 
     | 
    
         
            +
            **gender** | **String** | Provider's gender (M or F) | [optional] 
         
     | 
| 
      
 15 
     | 
    
         
            +
            **hios_ids** | **Array<String>** | List of HIOS ids for this provider | [optional] 
         
     | 
| 
       15 
16 
     | 
    
         
             
            **id** | **Integer** | National Provider Index (NPI) number | [optional] 
         
     | 
| 
       16 
17 
     | 
    
         
             
            **last_name** | **String** | Family name for the provider. | [optional] 
         
     | 
| 
      
 18 
     | 
    
         
            +
            **latitude** | **Float** | Latitude of provider | [optional] 
         
     | 
| 
      
 19 
     | 
    
         
            +
            **longitude** | **Float** | Longitude of provider | [optional] 
         
     | 
| 
       17 
20 
     | 
    
         
             
            **middle_name** | **String** | Middle name for the provider. | [optional] 
         
     | 
| 
       18 
21 
     | 
    
         
             
            **personal_phone** | **String** | Personal contact phone for the provider. | [optional] 
         
     | 
| 
       19 
22 
     | 
    
         
             
            **phone** | **String** | Office phone for the provider | [optional] 
         
     | 
| 
         @@ -0,0 +1,10 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # VericredClient::ProviderResponse
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            ## Properties
         
     | 
| 
      
 4 
     | 
    
         
            +
            Name | Type | Description | Notes
         
     | 
| 
      
 5 
     | 
    
         
            +
            ------------ | ------------- | ------------- | -------------
         
     | 
| 
      
 6 
     | 
    
         
            +
            **meta** | [**Meta**](Meta.md) | Metadata for query | [optional] 
         
     | 
| 
      
 7 
     | 
    
         
            +
            **providers** | [**Array<Provider>**](Provider.md) | Providers that fit the requested criterion. | [optional] 
         
     | 
| 
      
 8 
     | 
    
         
            +
            **states** | [**Array<State>**](State.md) | States that fit the requested criterion. | [optional] 
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
    
        data/docs/ProvidersApi.md
    CHANGED
    
    | 
         @@ -4,14 +4,14 @@ All URIs are relative to *https://api.vericred.com/* 
     | 
|
| 
       4 
4 
     | 
    
         | 
| 
       5 
5 
     | 
    
         
             
            Method | HTTP request | Description
         
     | 
| 
       6 
6 
     | 
    
         
             
            ------------- | ------------- | -------------
         
     | 
| 
       7 
     | 
    
         
            -
            [** 
     | 
| 
       8 
     | 
    
         
            -
            [** 
     | 
| 
      
 7 
     | 
    
         
            +
            [**get_providers**](ProvidersApi.md#get_providers) | **GET** /providers | 
         
     | 
| 
      
 8 
     | 
    
         
            +
            [**get_providers_npi**](ProvidersApi.md#get_providers_npi) | **GET** /providers/{npi} | 
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
10 
     | 
    
         | 
| 
       11 
     | 
    
         
            -
            # ** 
     | 
| 
       12 
     | 
    
         
            -
            >  
     | 
| 
      
 11 
     | 
    
         
            +
            # **get_providers**
         
     | 
| 
      
 12 
     | 
    
         
            +
            > ProviderResponse get_providers(search_term, zip_code, opts)
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
       13 
14 
     | 
    
         | 
| 
       14 
     | 
    
         
            -
            Find providers by term and zip code
         
     | 
| 
       15 
15 
     | 
    
         | 
| 
       16 
16 
     | 
    
         
             
            ### Example
         
     | 
| 
       17 
17 
     | 
    
         
             
            ```ruby
         
     | 
| 
         @@ -25,19 +25,18 @@ search_term = "search_term_example" # String | String to search by 
     | 
|
| 
       25 
25 
     | 
    
         
             
            zip_code = "zip_code_example" # String | Zip Code to search near
         
     | 
| 
       26 
26 
     | 
    
         | 
| 
       27 
27 
     | 
    
         
             
            opts = { 
         
     | 
| 
       28 
     | 
    
         
            -
              accepts_insurance: "accepts_insurance_example", # String | Limit results to Providers who accept at least one insurance 
     | 
| 
       29 
     | 
    
         
            -
              hios_ids: ["hios_ids_example"], # Array<String> | HIOS id of one or more plans
         
     | 
| 
      
 28 
     | 
    
         
            +
              accepts_insurance: "accepts_insurance_example", # String | Limit results to Providers who accept at least one insurance plan.  Note that the inverse of this filter is not supported and any value will evaluate to true
         
     | 
| 
       30 
29 
     | 
    
         
             
              page: "page_example", # String | Page number
         
     | 
| 
       31 
30 
     | 
    
         
             
              per_page: "per_page_example", # String | Number of records to return per page
         
     | 
| 
       32 
     | 
    
         
            -
              radius: "radius_example" # String | Radius (in miles) to use to limit results
         
     | 
| 
      
 31 
     | 
    
         
            +
              radius: "radius_example", # String | Radius (in miles) to use to limit results
         
     | 
| 
      
 32 
     | 
    
         
            +
              type: "type_example" # String | Either organization or individual
         
     | 
| 
       33 
33 
     | 
    
         
             
            }
         
     | 
| 
       34 
34 
     | 
    
         | 
| 
       35 
35 
     | 
    
         
             
            begin
         
     | 
| 
       36 
     | 
    
         
            -
               
     | 
| 
       37 
     | 
    
         
            -
              result = api_instance.providers_get(search_term, zip_code, opts)
         
     | 
| 
      
 36 
     | 
    
         
            +
              result = api_instance.get_providers(search_term, zip_code, opts)
         
     | 
| 
       38 
37 
     | 
    
         
             
              p result
         
     | 
| 
       39 
38 
     | 
    
         
             
            rescue VericredClient::ApiError => e
         
     | 
| 
       40 
     | 
    
         
            -
              puts "Exception when calling ProvidersApi-> 
     | 
| 
      
 39 
     | 
    
         
            +
              puts "Exception when calling ProvidersApi->get_providers: #{e}"
         
     | 
| 
       41 
40 
     | 
    
         
             
            end
         
     | 
| 
       42 
41 
     | 
    
         
             
            ```
         
     | 
| 
       43 
42 
     | 
    
         | 
| 
         @@ -47,15 +46,15 @@ Name | Type | Description  | Notes 
     | 
|
| 
       47 
46 
     | 
    
         
             
            ------------- | ------------- | ------------- | -------------
         
     | 
| 
       48 
47 
     | 
    
         
             
             **search_term** | **String**| String to search by | 
         
     | 
| 
       49 
48 
     | 
    
         
             
             **zip_code** | **String**| Zip Code to search near | 
         
     | 
| 
       50 
     | 
    
         
            -
             **accepts_insurance** | **String**| Limit results to Providers who accept at least one insurance 
     | 
| 
       51 
     | 
    
         
            -
             **hios_ids** | [**Array<String>**](String.md)| HIOS id of one or more plans | [optional] 
         
     | 
| 
      
 49 
     | 
    
         
            +
             **accepts_insurance** | **String**| Limit results to Providers who accept at least one insurance plan.  Note that the inverse of this filter is not supported and any value will evaluate to true | [optional] 
         
     | 
| 
       52 
50 
     | 
    
         
             
             **page** | **String**| Page number | [optional] 
         
     | 
| 
       53 
51 
     | 
    
         
             
             **per_page** | **String**| Number of records to return per page | [optional] 
         
     | 
| 
       54 
52 
     | 
    
         
             
             **radius** | **String**| Radius (in miles) to use to limit results | [optional] 
         
     | 
| 
      
 53 
     | 
    
         
            +
             **type** | **String**| Either organization or individual | [optional] 
         
     | 
| 
       55 
54 
     | 
    
         | 
| 
       56 
55 
     | 
    
         
             
            ### Return type
         
     | 
| 
       57 
56 
     | 
    
         | 
| 
       58 
     | 
    
         
            -
            [** 
     | 
| 
      
 57 
     | 
    
         
            +
            [**ProviderResponse**](ProviderResponse.md)
         
     | 
| 
       59 
58 
     | 
    
         | 
| 
       60 
59 
     | 
    
         
             
            ### Authorization
         
     | 
| 
       61 
60 
     | 
    
         | 
| 
         @@ -68,10 +67,10 @@ No authorization required 
     | 
|
| 
       68 
67 
     | 
    
         | 
| 
       69 
68 
     | 
    
         | 
| 
       70 
69 
     | 
    
         | 
| 
       71 
     | 
    
         
            -
            # ** 
     | 
| 
       72 
     | 
    
         
            -
            >  
     | 
| 
      
 70 
     | 
    
         
            +
            # **get_providers_npi**
         
     | 
| 
      
 71 
     | 
    
         
            +
            > ProviderResponse get_providers_npi(npi)
         
     | 
| 
      
 72 
     | 
    
         
            +
             
     | 
| 
       73 
73 
     | 
    
         | 
| 
       74 
     | 
    
         
            -
            Find a specific Provider
         
     | 
| 
       75 
74 
     | 
    
         | 
| 
       76 
75 
     | 
    
         
             
            ### Example
         
     | 
| 
       77 
76 
     | 
    
         
             
            ```ruby
         
     | 
| 
         @@ -84,11 +83,10 @@ npi = "npi_example" # String | NPI number 
     | 
|
| 
       84 
83 
     | 
    
         | 
| 
       85 
84 
     | 
    
         | 
| 
       86 
85 
     | 
    
         
             
            begin
         
     | 
| 
       87 
     | 
    
         
            -
               
     | 
| 
       88 
     | 
    
         
            -
              result = api_instance.providers_npi_get(npi)
         
     | 
| 
      
 86 
     | 
    
         
            +
              result = api_instance.get_providers_npi(npi)
         
     | 
| 
       89 
87 
     | 
    
         
             
              p result
         
     | 
| 
       90 
88 
     | 
    
         
             
            rescue VericredClient::ApiError => e
         
     | 
| 
       91 
     | 
    
         
            -
              puts "Exception when calling ProvidersApi-> 
     | 
| 
      
 89 
     | 
    
         
            +
              puts "Exception when calling ProvidersApi->get_providers_npi: #{e}"
         
     | 
| 
       92 
90 
     | 
    
         
             
            end
         
     | 
| 
       93 
91 
     | 
    
         
             
            ```
         
     | 
| 
       94 
92 
     | 
    
         | 
| 
         @@ -100,7 +98,7 @@ Name | Type | Description  | Notes 
     | 
|
| 
       100 
98 
     | 
    
         | 
| 
       101 
99 
     | 
    
         
             
            ### Return type
         
     | 
| 
       102 
100 
     | 
    
         | 
| 
       103 
     | 
    
         
            -
            [** 
     | 
| 
      
 101 
     | 
    
         
            +
            [**ProviderResponse**](ProviderResponse.md)
         
     | 
| 
       104 
102 
     | 
    
         | 
| 
       105 
103 
     | 
    
         
             
            ### Authorization
         
     | 
| 
       106 
104 
     | 
    
         | 
    
        data/docs/RatingArea.md
    CHANGED
    
    | 
         @@ -3,7 +3,7 @@ 
     | 
|
| 
       3 
3 
     | 
    
         
             
            ## Properties
         
     | 
| 
       4 
4 
     | 
    
         
             
            Name | Type | Description | Notes
         
     | 
| 
       5 
5 
     | 
    
         
             
            ------------ | ------------- | ------------- | -------------
         
     | 
| 
       6 
     | 
    
         
            -
            **id** | ** 
     | 
| 
       7 
     | 
    
         
            -
            **state_id** | ** 
     | 
| 
      
 6 
     | 
    
         
            +
            **id** | **String** | Name of the Rating Area | [optional] 
         
     | 
| 
      
 7 
     | 
    
         
            +
            **state_id** | **String** | State Code | [optional] 
         
     | 
| 
       8 
8 
     | 
    
         | 
| 
       9 
9 
     | 
    
         | 
| 
         @@ -0,0 +1,15 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # VericredClient::RequestPlanFind
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            ## Properties
         
     | 
| 
      
 4 
     | 
    
         
            +
            Name | Type | Description | Notes
         
     | 
| 
      
 5 
     | 
    
         
            +
            ------------ | ------------- | ------------- | -------------
         
     | 
| 
      
 6 
     | 
    
         
            +
            **applicants** | [**Array<Applicant>**](Applicant.md) | Applicants for desired plans. | [optional] 
         
     | 
| 
      
 7 
     | 
    
         
            +
            **enrollment_date** | **String** | Date of enrollment | [optional] 
         
     | 
| 
      
 8 
     | 
    
         
            +
            **fips_code** | **String** | County code to determine eligibility | [optional] 
         
     | 
| 
      
 9 
     | 
    
         
            +
            **household_income** | **Integer** | Total household income. | [optional] 
         
     | 
| 
      
 10 
     | 
    
         
            +
            **household_size** | **Integer** | Number of people living in household. | [optional] 
         
     | 
| 
      
 11 
     | 
    
         
            +
            **market** | **String** | Type of plan to search for. | [optional] 
         
     | 
| 
      
 12 
     | 
    
         
            +
            **providers** | [**Array<Provider>**](Provider.md) | List of providers to search for. | [optional] 
         
     | 
| 
      
 13 
     | 
    
         
            +
            **zip_code** | **String** | 5-digit zip code - this helps determine pricing. | [optional] 
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
    
        data/docs/State.md
    CHANGED
    
    | 
         @@ -3,13 +3,13 @@ 
     | 
|
| 
       3 
3 
     | 
    
         
             
            ## Properties
         
     | 
| 
       4 
4 
     | 
    
         
             
            Name | Type | Description | Notes
         
     | 
| 
       5 
5 
     | 
    
         
             
            ------------ | ------------- | ------------- | -------------
         
     | 
| 
       6 
     | 
    
         
            -
            **id** | **Integer** | Primary Key of State | [optional] 
         
     | 
| 
       7 
     | 
    
         
            -
            **name** | **String** | Name of state | [optional] 
         
     | 
| 
       8 
6 
     | 
    
         
             
            **code** | **String** | 2 letter code for state | [optional] 
         
     | 
| 
       9 
7 
     | 
    
         
             
            **fips_number** | **String** | National FIPs number | [optional] 
         
     | 
| 
      
 8 
     | 
    
         
            +
            **id** | **Integer** | Primary Key of State | [optional] 
         
     | 
| 
       10 
9 
     | 
    
         
             
            **last_date_for_individual** | **Date** | Last date this state is live for individuals | [optional] 
         
     | 
| 
       11 
10 
     | 
    
         
             
            **last_date_for_shop** | **Date** | Last date this state is live for shop | [optional] 
         
     | 
| 
       12 
     | 
    
         
            -
            **live_for_business** | **BOOLEAN** | Is this State available for businesses | [optional] 
         
     | 
| 
       13 
     | 
    
         
            -
            **live_for_consumers** | **BOOLEAN** | Is this State available for individuals | [optional] 
         
     | 
| 
      
 11 
     | 
    
         
            +
            **live_for_business** | **BOOLEAN** | Is this State available for businesses | [optional] [default to false]
         
     | 
| 
      
 12 
     | 
    
         
            +
            **live_for_consumers** | **BOOLEAN** | Is this State available for individuals | [optional] [default to false]
         
     | 
| 
      
 13 
     | 
    
         
            +
            **name** | **String** | Name of state | [optional] 
         
     | 
| 
       14 
14 
     | 
    
         | 
| 
       15 
15 
     | 
    
         | 
    
        data/docs/ZipCountiesApi.md
    CHANGED
    
    | 
         @@ -4,13 +4,13 @@ All URIs are relative to *https://api.vericred.com/* 
     | 
|
| 
       4 
4 
     | 
    
         | 
| 
       5 
5 
     | 
    
         
             
            Method | HTTP request | Description
         
     | 
| 
       6 
6 
     | 
    
         
             
            ------------- | ------------- | -------------
         
     | 
| 
       7 
     | 
    
         
            -
            [** 
     | 
| 
      
 7 
     | 
    
         
            +
            [**get_zip_counties**](ZipCountiesApi.md#get_zip_counties) | **GET** /zip_counties | 
         
     | 
| 
       8 
8 
     | 
    
         | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
            # ** 
     | 
| 
       11 
     | 
    
         
            -
            >  
     | 
| 
      
 10 
     | 
    
         
            +
            # **get_zip_counties**
         
     | 
| 
      
 11 
     | 
    
         
            +
            > ZipCountyResponse get_zip_counties(zip_prefix)
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
       12 
13 
     | 
    
         | 
| 
       13 
     | 
    
         
            -
            Find Zip Counties by Zip Code
         
     | 
| 
       14 
14 
     | 
    
         | 
| 
       15 
15 
     | 
    
         
             
            ### Example
         
     | 
| 
       16 
16 
     | 
    
         
             
            ```ruby
         
     | 
| 
         @@ -23,11 +23,10 @@ zip_prefix = "zip_prefix_example" # String | Partial five-digit Zip 
     | 
|
| 
       23 
23 
     | 
    
         | 
| 
       24 
24 
     | 
    
         | 
| 
       25 
25 
     | 
    
         
             
            begin
         
     | 
| 
       26 
     | 
    
         
            -
               
     | 
| 
       27 
     | 
    
         
            -
              result = api_instance.zip_counties_get(zip_prefix)
         
     | 
| 
      
 26 
     | 
    
         
            +
              result = api_instance.get_zip_counties(zip_prefix)
         
     | 
| 
       28 
27 
     | 
    
         
             
              p result
         
     | 
| 
       29 
28 
     | 
    
         
             
            rescue VericredClient::ApiError => e
         
     | 
| 
       30 
     | 
    
         
            -
              puts "Exception when calling ZipCountiesApi-> 
     | 
| 
      
 29 
     | 
    
         
            +
              puts "Exception when calling ZipCountiesApi->get_zip_counties: #{e}"
         
     | 
| 
       31 
30 
     | 
    
         
             
            end
         
     | 
| 
       32 
31 
     | 
    
         
             
            ```
         
     | 
| 
       33 
32 
     | 
    
         | 
| 
         @@ -39,7 +38,7 @@ Name | Type | Description  | Notes 
     | 
|
| 
       39 
38 
     | 
    
         | 
| 
       40 
39 
     | 
    
         
             
            ### Return type
         
     | 
| 
       41 
40 
     | 
    
         | 
| 
       42 
     | 
    
         
            -
            [** 
     | 
| 
      
 41 
     | 
    
         
            +
            [**ZipCountyResponse**](ZipCountyResponse.md)
         
     | 
| 
       43 
42 
     | 
    
         | 
| 
       44 
43 
     | 
    
         
             
            ### Authorization
         
     | 
| 
       45 
44 
     | 
    
         | 
| 
         @@ -0,0 +1,11 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # VericredClient::ZipCountyBulk
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            ## Properties
         
     | 
| 
      
 4 
     | 
    
         
            +
            Name | Type | Description | Notes
         
     | 
| 
      
 5 
     | 
    
         
            +
            ------------ | ------------- | ------------- | -------------
         
     | 
| 
      
 6 
     | 
    
         
            +
            **county_id** | **String** | Foreign key for county (fips code) | [optional] 
         
     | 
| 
      
 7 
     | 
    
         
            +
            **id** | **Integer** | Primary key | [optional] 
         
     | 
| 
      
 8 
     | 
    
         
            +
            **rating_area_id** | **String** | Foreign key for rating area | [optional] 
         
     | 
| 
      
 9 
     | 
    
         
            +
            **zip_code_id** | **String** | Foreign key for zip code (zip code) | [optional] 
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
         @@ -0,0 +1,10 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # VericredClient::ZipCountyResponse
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            ## Properties
         
     | 
| 
      
 4 
     | 
    
         
            +
            Name | Type | Description | Notes
         
     | 
| 
      
 5 
     | 
    
         
            +
            ------------ | ------------- | ------------- | -------------
         
     | 
| 
      
 6 
     | 
    
         
            +
            **counties** | [**Array<County>**](County.md) | Counties that exist in the provided zip prefix. | [optional] 
         
     | 
| 
      
 7 
     | 
    
         
            +
            **zip_codes** | [**Array<ZipCode>**](ZipCode.md) | ZipCodes that exist in the provided zip prefix. | [optional] 
         
     | 
| 
      
 8 
     | 
    
         
            +
            **zip_counties** | [**Array<ZipCounty>**](ZipCounty.md) | ZipCounties that exist in the provided zip prefix. | [optional] 
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
    
        data/lib/vericred_client.rb
    CHANGED
    
    | 
         @@ -116,7 +116,7 @@ The response would be 
     | 
|
| 
       116 
116 
     | 
    
         | 
| 
       117 
117 
     | 
    
         | 
| 
       118 
118 
     | 
    
         | 
| 
       119 
     | 
    
         
            -
            OpenAPI spec version: 
         
     | 
| 
      
 119 
     | 
    
         
            +
            OpenAPI spec version: 1.0.0
         
     | 
| 
       120 
120 
     | 
    
         | 
| 
       121 
121 
     | 
    
         
             
            Generated by: https://github.com/swagger-api/swagger-codegen.git
         
     | 
| 
       122 
122 
     | 
    
         | 
| 
         @@ -131,27 +131,35 @@ require 'vericred_client/configuration' 
     | 
|
| 
       131 
131 
     | 
    
         | 
| 
       132 
132 
     | 
    
         
             
            # Models
         
     | 
| 
       133 
133 
     | 
    
         
             
            require 'vericred_client/models/applicant'
         
     | 
| 
      
 134 
     | 
    
         
            +
            require 'vericred_client/models/base'
         
     | 
| 
       134 
135 
     | 
    
         
             
            require 'vericred_client/models/carrier'
         
     | 
| 
       135 
136 
     | 
    
         
             
            require 'vericred_client/models/carrier_subsidiary'
         
     | 
| 
       136 
137 
     | 
    
         
             
            require 'vericred_client/models/county'
         
     | 
| 
      
 138 
     | 
    
         
            +
            require 'vericred_client/models/county_bulk'
         
     | 
| 
       137 
139 
     | 
    
         
             
            require 'vericred_client/models/drug'
         
     | 
| 
       138 
140 
     | 
    
         
             
            require 'vericred_client/models/drug_coverage'
         
     | 
| 
       139 
     | 
    
         
            -
            require 'vericred_client/models/ 
     | 
| 
       140 
     | 
    
         
            -
            require 'vericred_client/models/ 
     | 
| 
       141 
     | 
    
         
            -
            require 'vericred_client/models/ 
     | 
| 
      
 141 
     | 
    
         
            +
            require 'vericred_client/models/drug_coverage_response'
         
     | 
| 
      
 142 
     | 
    
         
            +
            require 'vericred_client/models/drug_package'
         
     | 
| 
      
 143 
     | 
    
         
            +
            require 'vericred_client/models/drug_search_response'
         
     | 
| 
      
 144 
     | 
    
         
            +
            require 'vericred_client/models/meta'
         
     | 
| 
       142 
145 
     | 
    
         
             
            require 'vericred_client/models/plan'
         
     | 
| 
       143 
146 
     | 
    
         
             
            require 'vericred_client/models/plan_county'
         
     | 
| 
      
 147 
     | 
    
         
            +
            require 'vericred_client/models/plan_county_bulk'
         
     | 
| 
      
 148 
     | 
    
         
            +
            require 'vericred_client/models/plan_find_response'
         
     | 
| 
       144 
149 
     | 
    
         
             
            require 'vericred_client/models/plan_search_result'
         
     | 
| 
       145 
150 
     | 
    
         
             
            require 'vericred_client/models/pricing'
         
     | 
| 
       146 
151 
     | 
    
         
             
            require 'vericred_client/models/provider'
         
     | 
| 
       147 
     | 
    
         
            -
            require 'vericred_client/models/ 
     | 
| 
      
 152 
     | 
    
         
            +
            require 'vericred_client/models/provider_response'
         
     | 
| 
       148 
153 
     | 
    
         
             
            require 'vericred_client/models/rating_area'
         
     | 
| 
      
 154 
     | 
    
         
            +
            require 'vericred_client/models/request_plan_find'
         
     | 
| 
       149 
155 
     | 
    
         
             
            require 'vericred_client/models/state'
         
     | 
| 
       150 
156 
     | 
    
         
             
            require 'vericred_client/models/zip_code'
         
     | 
| 
       151 
157 
     | 
    
         
             
            require 'vericred_client/models/zip_county'
         
     | 
| 
      
 158 
     | 
    
         
            +
            require 'vericred_client/models/zip_county_bulk'
         
     | 
| 
      
 159 
     | 
    
         
            +
            require 'vericred_client/models/zip_county_response'
         
     | 
| 
       152 
160 
     | 
    
         | 
| 
       153 
161 
     | 
    
         
             
            # APIs
         
     | 
| 
       154 
     | 
    
         
            -
            require 'vericred_client/api/ 
     | 
| 
      
 162 
     | 
    
         
            +
            require 'vericred_client/api/drugs_api'
         
     | 
| 
       155 
163 
     | 
    
         
             
            require 'vericred_client/api/plans_api'
         
     | 
| 
       156 
164 
     | 
    
         
             
            require 'vericred_client/api/providers_api'
         
     | 
| 
       157 
165 
     | 
    
         
             
            require 'vericred_client/api/zip_counties_api'
         
     | 
| 
         @@ -116,7 +116,7 @@ The response would be 
     | 
|
| 
       116 
116 
     | 
    
         | 
| 
       117 
117 
     | 
    
         | 
| 
       118 
118 
     | 
    
         | 
| 
       119 
     | 
    
         
            -
            OpenAPI spec version: 
         
     | 
| 
      
 119 
     | 
    
         
            +
            OpenAPI spec version: 1.0.0
         
     | 
| 
       120 
120 
     | 
    
         | 
| 
       121 
121 
     | 
    
         
             
            Generated by: https://github.com/swagger-api/swagger-codegen.git
         
     | 
| 
       122 
122 
     | 
    
         | 
| 
         @@ -126,39 +126,45 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git 
     | 
|
| 
       126 
126 
     | 
    
         
             
            require "uri"
         
     | 
| 
       127 
127 
     | 
    
         | 
| 
       128 
128 
     | 
    
         
             
            module VericredClient
         
     | 
| 
       129 
     | 
    
         
            -
              class  
     | 
| 
      
 129 
     | 
    
         
            +
              class DrugsApi
         
     | 
| 
       130 
130 
     | 
    
         
             
                attr_accessor :api_client
         
     | 
| 
       131 
131 
     | 
    
         | 
| 
       132 
132 
     | 
    
         
             
                def initialize(api_client = ApiClient.default)
         
     | 
| 
       133 
133 
     | 
    
         
             
                  @api_client = api_client
         
     | 
| 
       134 
134 
     | 
    
         
             
                end
         
     | 
| 
       135 
135 
     | 
    
         | 
| 
       136 
     | 
    
         
            -
                #  
     | 
| 
       137 
     | 
    
         
            -
                # 
         
     | 
| 
       138 
     | 
    
         
            -
                # @param  
     | 
| 
      
 136 
     | 
    
         
            +
                # Drug Coverages are the specific tier level, quantity limit, prior authorization and step therapy for a given Drug/Plan
         
     | 
| 
      
 137 
     | 
    
         
            +
                # Drug Coverages are the specific tier level, quantity limit, prior authorization and step therapy for a given Drug/Plan combination. This endpoint returns all DrugCoverages for a given Drug
         
     | 
| 
      
 138 
     | 
    
         
            +
                # @param ndc_package_code NDC package code
         
     | 
| 
      
 139 
     | 
    
         
            +
                # @param state_code Two-character state code
         
     | 
| 
       139 
140 
     | 
    
         
             
                # @param [Hash] opts the optional parameters
         
     | 
| 
       140 
     | 
    
         
            -
                # @return [ 
     | 
| 
       141 
     | 
    
         
            -
                def  
     | 
| 
       142 
     | 
    
         
            -
                  data, _status_code, _headers =  
     | 
| 
      
 141 
     | 
    
         
            +
                # @return [DrugCoverageResponse]
         
     | 
| 
      
 142 
     | 
    
         
            +
                def get_drugs_coverages_ndc(ndc_package_code, state_code, opts = {})
         
     | 
| 
      
 143 
     | 
    
         
            +
                  data, _status_code, _headers = get_drugs_coverages_ndc_with_http_info(ndc_package_code, state_code, opts)
         
     | 
| 
       143 
144 
     | 
    
         
             
                  return data
         
     | 
| 
       144 
145 
     | 
    
         
             
                end
         
     | 
| 
       145 
146 
     | 
    
         | 
| 
       146 
     | 
    
         
            -
                #  
     | 
| 
       147 
     | 
    
         
            -
                # 
         
     | 
| 
       148 
     | 
    
         
            -
                # @param  
     | 
| 
      
 147 
     | 
    
         
            +
                # Drug Coverages are the specific tier level, quantity limit, prior authorization and step therapy for a given Drug/Plan
         
     | 
| 
      
 148 
     | 
    
         
            +
                # Drug Coverages are the specific tier level, quantity limit, prior authorization and step therapy for a given Drug/Plan combination. This endpoint returns all DrugCoverages for a given Drug
         
     | 
| 
      
 149 
     | 
    
         
            +
                # @param ndc_package_code NDC package code
         
     | 
| 
      
 150 
     | 
    
         
            +
                # @param state_code Two-character state code
         
     | 
| 
       149 
151 
     | 
    
         
             
                # @param [Hash] opts the optional parameters
         
     | 
| 
       150 
     | 
    
         
            -
                # @return [Array<( 
     | 
| 
       151 
     | 
    
         
            -
                def  
     | 
| 
      
 152 
     | 
    
         
            +
                # @return [Array<(DrugCoverageResponse, Fixnum, Hash)>] DrugCoverageResponse data, response status code and response headers
         
     | 
| 
      
 153 
     | 
    
         
            +
                def get_drugs_coverages_ndc_with_http_info(ndc_package_code, state_code, opts = {})
         
     | 
| 
       152 
154 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       153 
     | 
    
         
            -
                    @api_client.config.logger.debug "Calling API:  
     | 
| 
      
 155 
     | 
    
         
            +
                    @api_client.config.logger.debug "Calling API: DrugsApi.get_drugs_coverages_ndc ..."
         
     | 
| 
       154 
156 
     | 
    
         
             
                  end
         
     | 
| 
       155 
     | 
    
         
            -
                  # verify the required parameter ' 
     | 
| 
       156 
     | 
    
         
            -
                  fail ArgumentError, "Missing the required parameter ' 
     | 
| 
      
 157 
     | 
    
         
            +
                  # verify the required parameter 'ndc_package_code' is set
         
     | 
| 
      
 158 
     | 
    
         
            +
                  fail ArgumentError, "Missing the required parameter 'ndc_package_code' when calling DrugsApi.get_drugs_coverages_ndc" if ndc_package_code.nil?
         
     | 
| 
      
 159 
     | 
    
         
            +
                  # verify the required parameter 'state_code' is set
         
     | 
| 
      
 160 
     | 
    
         
            +
                  fail ArgumentError, "Missing the required parameter 'state_code' when calling DrugsApi.get_drugs_coverages_ndc" if state_code.nil?
         
     | 
| 
       157 
161 
     | 
    
         
             
                  # resource path
         
     | 
| 
       158 
     | 
    
         
            -
                  local_var_path = "/drugs/ 
     | 
| 
      
 162 
     | 
    
         
            +
                  local_var_path = "/drugs/coverages".sub('{format}','json')
         
     | 
| 
       159 
163 
     | 
    
         | 
| 
       160 
164 
     | 
    
         
             
                  # query parameters
         
     | 
| 
       161 
165 
     | 
    
         
             
                  query_params = {}
         
     | 
| 
      
 166 
     | 
    
         
            +
                  query_params[:'ndc_package_code'] = ndc_package_code
         
     | 
| 
      
 167 
     | 
    
         
            +
                  query_params[:'state_code'] = state_code
         
     | 
| 
       162 
168 
     | 
    
         | 
| 
       163 
169 
     | 
    
         
             
                  # header parameters
         
     | 
| 
       164 
170 
     | 
    
         
             
                  header_params = {}
         
     | 
| 
         @@ -183,9 +189,9 @@ module VericredClient 
     | 
|
| 
       183 
189 
     | 
    
         
             
                    :form_params => form_params,
         
     | 
| 
       184 
190 
     | 
    
         
             
                    :body => post_body,
         
     | 
| 
       185 
191 
     | 
    
         
             
                    :auth_names => auth_names,
         
     | 
| 
       186 
     | 
    
         
            -
                    :return_type => ' 
     | 
| 
      
 192 
     | 
    
         
            +
                    :return_type => 'DrugCoverageResponse')
         
     | 
| 
       187 
193 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       188 
     | 
    
         
            -
                    @api_client.config.logger.debug "API called:  
     | 
| 
      
 194 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: DrugsApi#get_drugs_coverages_ndc\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
       189 
195 
     | 
    
         
             
                  end
         
     | 
| 
       190 
196 
     | 
    
         
             
                  return data, status_code, headers
         
     | 
| 
       191 
197 
     | 
    
         
             
                end
         
     |