dear-inventory-ruby 0.1.8 → 0.1.13
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/CHANGELOG.md +28 -0
- data/Gemfile +1 -1
- data/README.md +11 -4
- data/dear-inventory-ruby.gemspec +1 -1
- data/docs/Account.md +15 -15
- data/docs/Accounts.md +3 -3
- data/docs/Address.md +9 -9
- data/docs/Contact.md +13 -9
- data/docs/Customer.md +33 -31
- data/docs/Customers.md +3 -3
- data/docs/DimensionsUnit.md +16 -0
- data/docs/Error.md +2 -2
- data/docs/InventoryApi.md +108 -0
- data/docs/Me.md +29 -0
- data/docs/PaymentTerm.md +6 -6
- data/docs/PaymentTerms.md +3 -3
- data/docs/PriceTier.md +19 -0
- data/docs/PriceTiers.md +17 -0
- data/docs/Success.md +1 -1
- data/docs/Tax.md +9 -9
- data/docs/TaxComponent.md +4 -4
- data/docs/Taxes.md +3 -3
- data/docs/WeightUnit.md +16 -0
- data/lib/dear-inventory-ruby.rb +6 -1
- data/lib/dear-inventory-ruby/api/inventory_api.rb +109 -1
- data/lib/dear-inventory-ruby/api_client.rb +8 -6
- data/lib/dear-inventory-ruby/api_error.rb +1 -1
- data/lib/dear-inventory-ruby/configuration.rb +1 -1
- data/lib/dear-inventory-ruby/models/account.rb +1 -1
- data/lib/dear-inventory-ruby/models/accounts.rb +1 -1
- data/lib/dear-inventory-ruby/models/address.rb +1 -35
- data/lib/dear-inventory-ruby/models/contact.rb +22 -2
- data/lib/dear-inventory-ruby/models/currency_code.rb +1 -1
- data/lib/dear-inventory-ruby/models/customer.rb +19 -7
- data/lib/dear-inventory-ruby/models/customers.rb +1 -1
- data/lib/dear-inventory-ruby/models/dimensions_unit.rb +42 -0
- data/lib/dear-inventory-ruby/models/error.rb +1 -1
- data/lib/dear-inventory-ruby/models/me.rb +264 -0
- data/lib/dear-inventory-ruby/models/payment_term.rb +1 -1
- data/lib/dear-inventory-ruby/models/payment_terms.rb +1 -1
- data/lib/dear-inventory-ruby/models/price_tier.rb +217 -0
- data/lib/dear-inventory-ruby/models/price_tiers.rb +209 -0
- data/lib/dear-inventory-ruby/models/success.rb +1 -1
- data/lib/dear-inventory-ruby/models/tax.rb +1 -1
- data/lib/dear-inventory-ruby/models/tax_component.rb +1 -1
- data/lib/dear-inventory-ruby/models/taxes.rb +1 -1
- data/lib/dear-inventory-ruby/models/weight_unit.rb +39 -0
- data/lib/dear-inventory-ruby/version.rb +2 -2
- data/pkg/dear-inventory-ruby-0.1.13.gem +0 -0
- data/spec/api/inventory_api_spec.rb +21 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/account_spec.rb +1 -1
- data/spec/models/accounts_spec.rb +1 -1
- data/spec/models/address_spec.rb +1 -5
- data/spec/models/contact_spec.rb +13 -1
- data/spec/models/currency_code_spec.rb +1 -1
- data/spec/models/customer_spec.rb +7 -1
- data/spec/models/customers_spec.rb +1 -1
- data/spec/models/dimensions_unit_spec.rb +35 -0
- data/spec/models/error_spec.rb +1 -1
- data/spec/models/me_spec.rb +77 -0
- data/spec/models/payment_term_spec.rb +1 -1
- data/spec/models/payment_terms_spec.rb +1 -1
- data/spec/models/price_tier_spec.rb +47 -0
- data/spec/models/price_tiers_spec.rb +41 -0
- data/spec/models/success_spec.rb +1 -1
- data/spec/models/tax_component_spec.rb +1 -1
- data/spec/models/tax_spec.rb +1 -1
- data/spec/models/taxes_spec.rb +1 -1
- data/spec/models/weight_unit_spec.rb +35 -0
- data/spec/spec_helper.rb +1 -1
- metadata +36 -15
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 0af23156a4744800a3c923beb2fe310fa2f5974554353272c795a183348848c9
         | 
| 4 | 
            +
              data.tar.gz: 655be8b59ad6e919d15aeac99580014fcff3673dcbe5e466639ddf502d504f61
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 7b132a8a063cdc4d2e49ba2aaf7474d9155d96e1379e79a31ec68f25bf3d0a63559267b86876db90665907c279f3631bdbb101896e35ae77724069ee3afd2be6
         | 
| 7 | 
            +
              data.tar.gz: 5bdcc0d48eb6c3d1c8ad191156ca7a09c82d993b13031697ad602d9fc11b6e4c137ca89d31759b2a03c0750b577526cafe5d8d8b3d6398f7f5ca9a0351b63304
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -2,6 +2,34 @@ | |
| 2 2 |  | 
| 3 3 | 
             
            All notable changes to this project will be documented in this file.
         | 
| 4 4 |  | 
| 5 | 
            +
            ## [0.1.13] - 2020-10-28
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            - Update `PriceTiersList` to `PriceTiers`
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            ## [0.1.12] - 2020-10-28
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            - Add new endpoint and model: `PriceTier`
         | 
| 12 | 
            +
            - Endpoint GET `PriceTiers`
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            ## [0.1.11] - 2020-09-21
         | 
| 15 | 
            +
             | 
| 16 | 
            +
            - Update limit of Comments in Customer model.
         | 
| 17 | 
            +
            - Remove required conditions of Address Type in Customer Address model.
         | 
| 18 | 
            +
             | 
| 19 | 
            +
            ## [0.1.10] - 2020-09-04
         | 
| 20 | 
            +
             | 
| 21 | 
            +
            - Add some fields to Contact and Customer models.
         | 
| 22 | 
            +
            - Update OpenAPI Generator version 4.3.1
         | 
| 23 | 
            +
             | 
| 24 | 
            +
            ## [0.1.9] - 2020-04-12
         | 
| 25 | 
            +
             | 
| 26 | 
            +
            - Add new endpoint and model: Me
         | 
| 27 | 
            +
            - Update OpenAPI Generator version 4.3.0
         | 
| 28 | 
            +
             | 
| 29 | 
            +
            ## [0.1.8] - 2020-02-16
         | 
| 30 | 
            +
             | 
| 31 | 
            +
            - Remove the validations of attributes: Type, SystemAccount because Dear API docs is not mapping for the result of API returned
         | 
| 32 | 
            +
             | 
| 5 33 | 
             
            ## [0.1.7] - 2020-02-16
         | 
| 6 34 |  | 
| 7 35 | 
             
            - Fix params of /account GET
         | 
    
        data/Gemfile
    CHANGED
    
    
    
        data/README.md
    CHANGED
    
    | @@ -7,7 +7,7 @@ This specifing endpoints for DEAR Inventory API | |
| 7 7 | 
             
            This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
         | 
| 8 8 |  | 
| 9 9 | 
             
            - API version: 2.0.0
         | 
| 10 | 
            -
            - Package version: 0.1. | 
| 10 | 
            +
            - Package version: 0.1.13
         | 
| 11 11 | 
             
            - Build package: org.openapitools.codegen.languages.RubyClientCodegen
         | 
| 12 12 | 
             
            For more information, please visit [https://www.nnhan.me](https://www.nnhan.me)
         | 
| 13 13 |  | 
| @@ -24,16 +24,16 @@ gem build dear-inventory-ruby.gemspec | |
| 24 24 | 
             
            Then either install the gem locally:
         | 
| 25 25 |  | 
| 26 26 | 
             
            ```shell
         | 
| 27 | 
            -
            gem install ./dear-inventory-ruby-0.1. | 
| 27 | 
            +
            gem install ./dear-inventory-ruby-0.1.13.gem
         | 
| 28 28 | 
             
            ```
         | 
| 29 29 |  | 
| 30 | 
            -
            (for development, run `gem install --dev ./dear-inventory-ruby-0.1. | 
| 30 | 
            +
            (for development, run `gem install --dev ./dear-inventory-ruby-0.1.13.gem` to install the development dependencies)
         | 
| 31 31 |  | 
| 32 32 | 
             
            or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
         | 
| 33 33 |  | 
| 34 34 | 
             
            Finally add this to the Gemfile:
         | 
| 35 35 |  | 
| 36 | 
            -
                gem 'dear-inventory-ruby', '~> 0.1. | 
| 36 | 
            +
                gem 'dear-inventory-ruby', '~> 0.1.13'
         | 
| 37 37 |  | 
| 38 38 | 
             
            ### Install from Git
         | 
| 39 39 |  | 
| @@ -100,7 +100,9 @@ Class | Method | HTTP request | Description | |
| 100 100 | 
             
            *DearInventoryRuby::InventoryApi* | [**delete_payment_term**](docs/InventoryApi.md#delete_payment_term) | **DELETE** /ref/paymentterm | Allows you to delete a payment term
         | 
| 101 101 | 
             
            *DearInventoryRuby::InventoryApi* | [**get_accounts**](docs/InventoryApi.md#get_accounts) | **GET** /ref/account | Allows you to retrieve the Chart of Accounts
         | 
| 102 102 | 
             
            *DearInventoryRuby::InventoryApi* | [**get_customers**](docs/InventoryApi.md#get_customers) | **GET** /customer | Allows you to retrieve the customers
         | 
| 103 | 
            +
            *DearInventoryRuby::InventoryApi* | [**get_me**](docs/InventoryApi.md#get_me) | **GET** /me | Allows you to retrieve your information
         | 
| 103 104 | 
             
            *DearInventoryRuby::InventoryApi* | [**get_payment_terms**](docs/InventoryApi.md#get_payment_terms) | **GET** /ref/paymentterm | Allows you to retrieve the payment terms
         | 
| 105 | 
            +
            *DearInventoryRuby::InventoryApi* | [**get_price_tiers**](docs/InventoryApi.md#get_price_tiers) | **GET** /ref/priceTier | Allows you to retrieve the Price Tiers
         | 
| 104 106 | 
             
            *DearInventoryRuby::InventoryApi* | [**get_taxes**](docs/InventoryApi.md#get_taxes) | **GET** /ref/tax | Allows you to retrieve the taxes
         | 
| 105 107 | 
             
            *DearInventoryRuby::InventoryApi* | [**update_account**](docs/InventoryApi.md#update_account) | **PUT** /ref/account | Allows you to update an Account
         | 
| 106 108 | 
             
            *DearInventoryRuby::InventoryApi* | [**update_customer**](docs/InventoryApi.md#update_customer) | **PUT** /customer | Allows you to update a customer
         | 
| @@ -117,13 +119,18 @@ Class | Method | HTTP request | Description | |
| 117 119 | 
             
             - [DearInventoryRuby::CurrencyCode](docs/CurrencyCode.md)
         | 
| 118 120 | 
             
             - [DearInventoryRuby::Customer](docs/Customer.md)
         | 
| 119 121 | 
             
             - [DearInventoryRuby::Customers](docs/Customers.md)
         | 
| 122 | 
            +
             - [DearInventoryRuby::DimensionsUnit](docs/DimensionsUnit.md)
         | 
| 120 123 | 
             
             - [DearInventoryRuby::Error](docs/Error.md)
         | 
| 124 | 
            +
             - [DearInventoryRuby::Me](docs/Me.md)
         | 
| 121 125 | 
             
             - [DearInventoryRuby::PaymentTerm](docs/PaymentTerm.md)
         | 
| 122 126 | 
             
             - [DearInventoryRuby::PaymentTerms](docs/PaymentTerms.md)
         | 
| 127 | 
            +
             - [DearInventoryRuby::PriceTier](docs/PriceTier.md)
         | 
| 128 | 
            +
             - [DearInventoryRuby::PriceTiers](docs/PriceTiers.md)
         | 
| 123 129 | 
             
             - [DearInventoryRuby::Success](docs/Success.md)
         | 
| 124 130 | 
             
             - [DearInventoryRuby::Tax](docs/Tax.md)
         | 
| 125 131 | 
             
             - [DearInventoryRuby::TaxComponent](docs/TaxComponent.md)
         | 
| 126 132 | 
             
             - [DearInventoryRuby::Taxes](docs/Taxes.md)
         | 
| 133 | 
            +
             - [DearInventoryRuby::WeightUnit](docs/WeightUnit.md)
         | 
| 127 134 |  | 
| 128 135 |  | 
| 129 136 | 
             
            ## Documentation for Authorization
         | 
    
        data/dear-inventory-ruby.gemspec
    CHANGED
    
    
    
        data/docs/Account.md
    CHANGED
    
    | @@ -25,21 +25,21 @@ Name | Type | Description | Notes | |
| 25 25 | 
             
            ```ruby
         | 
| 26 26 | 
             
            require 'DearInventoryRuby'
         | 
| 27 27 |  | 
| 28 | 
            -
            instance = DearInventoryRuby::Account.new(code:  | 
| 29 | 
            -
                                             name:  | 
| 30 | 
            -
                                             type:  | 
| 31 | 
            -
                                             status:  | 
| 32 | 
            -
                                             description:  | 
| 33 | 
            -
                                             _class:  | 
| 34 | 
            -
                                             system_account:  | 
| 35 | 
            -
                                             system_account_code:  | 
| 36 | 
            -
                                             for_payments:  | 
| 37 | 
            -
                                             display_name:  | 
| 38 | 
            -
                                             old_code:  | 
| 39 | 
            -
                                             bank:  | 
| 40 | 
            -
                                             bank_account_number:  | 
| 41 | 
            -
                                             bank_account_id:  | 
| 42 | 
            -
                                             currency:  | 
| 28 | 
            +
            instance = DearInventoryRuby::Account.new(code: nil,
         | 
| 29 | 
            +
                                             name: nil,
         | 
| 30 | 
            +
                                             type: nil,
         | 
| 31 | 
            +
                                             status: nil,
         | 
| 32 | 
            +
                                             description: nil,
         | 
| 33 | 
            +
                                             _class: nil,
         | 
| 34 | 
            +
                                             system_account: nil,
         | 
| 35 | 
            +
                                             system_account_code: nil,
         | 
| 36 | 
            +
                                             for_payments: nil,
         | 
| 37 | 
            +
                                             display_name: nil,
         | 
| 38 | 
            +
                                             old_code: nil,
         | 
| 39 | 
            +
                                             bank: nil,
         | 
| 40 | 
            +
                                             bank_account_number: nil,
         | 
| 41 | 
            +
                                             bank_account_id: nil,
         | 
| 42 | 
            +
                                             currency: nil)
         | 
| 43 43 | 
             
            ```
         | 
| 44 44 |  | 
| 45 45 |  | 
    
        data/docs/Accounts.md
    CHANGED
    
    | @@ -13,9 +13,9 @@ Name | Type | Description | Notes | |
| 13 13 | 
             
            ```ruby
         | 
| 14 14 | 
             
            require 'DearInventoryRuby'
         | 
| 15 15 |  | 
| 16 | 
            -
            instance = DearInventoryRuby::Accounts.new(total:  | 
| 17 | 
            -
                                             page:  | 
| 18 | 
            -
                                             accounts_list:  | 
| 16 | 
            +
            instance = DearInventoryRuby::Accounts.new(total: nil,
         | 
| 17 | 
            +
                                             page: nil,
         | 
| 18 | 
            +
                                             accounts_list: nil)
         | 
| 19 19 | 
             
            ```
         | 
| 20 20 |  | 
| 21 21 |  | 
    
        data/docs/Address.md
    CHANGED
    
    | @@ -19,15 +19,15 @@ Name | Type | Description | Notes | |
| 19 19 | 
             
            ```ruby
         | 
| 20 20 | 
             
            require 'DearInventoryRuby'
         | 
| 21 21 |  | 
| 22 | 
            -
            instance = DearInventoryRuby::Address.new(id:  | 
| 23 | 
            -
                                             line1:  | 
| 24 | 
            -
                                             line2:  | 
| 25 | 
            -
                                             city:  | 
| 26 | 
            -
                                             state:  | 
| 27 | 
            -
                                             post_code:  | 
| 28 | 
            -
                                             country:  | 
| 29 | 
            -
                                             type:  | 
| 30 | 
            -
                                             default_for_type:  | 
| 22 | 
            +
            instance = DearInventoryRuby::Address.new(id: nil,
         | 
| 23 | 
            +
                                             line1: nil,
         | 
| 24 | 
            +
                                             line2: nil,
         | 
| 25 | 
            +
                                             city: nil,
         | 
| 26 | 
            +
                                             state: nil,
         | 
| 27 | 
            +
                                             post_code: nil,
         | 
| 28 | 
            +
                                             country: nil,
         | 
| 29 | 
            +
                                             type: nil,
         | 
| 30 | 
            +
                                             default_for_type: nil)
         | 
| 31 31 | 
             
            ```
         | 
| 32 32 |  | 
| 33 33 |  | 
    
        data/docs/Contact.md
    CHANGED
    
    | @@ -6,7 +6,9 @@ Name | Type | Description | Notes | |
| 6 6 | 
             
            ------------ | ------------- | ------------- | -------------
         | 
| 7 7 | 
             
            **id** | **String** | If passed in PUT method, entry will be searched by id, found entry will be updated, otherwise created | [optional] 
         | 
| 8 8 | 
             
            **name** | **String** | Name of Contact | 
         | 
| 9 | 
            +
            **job_title** | **String** | Job Title | [optional] 
         | 
| 9 10 | 
             
            **phone** | **String** | Phone | [optional] 
         | 
| 11 | 
            +
            **mobile_phone** | **String** | Mobile Phone | [optional] 
         | 
| 10 12 | 
             
            **fax** | **String** | Fax | [optional] 
         | 
| 11 13 | 
             
            **email** | **String** | Email | [optional] 
         | 
| 12 14 | 
             
            **website** | **String** | Website | [optional] 
         | 
| @@ -19,15 +21,17 @@ Name | Type | Description | Notes | |
| 19 21 | 
             
            ```ruby
         | 
| 20 22 | 
             
            require 'DearInventoryRuby'
         | 
| 21 23 |  | 
| 22 | 
            -
            instance = DearInventoryRuby::Contact.new(id:  | 
| 23 | 
            -
                                             name:  | 
| 24 | 
            -
                                              | 
| 25 | 
            -
                                              | 
| 26 | 
            -
                                              | 
| 27 | 
            -
                                              | 
| 28 | 
            -
                                              | 
| 29 | 
            -
                                              | 
| 30 | 
            -
                                              | 
| 24 | 
            +
            instance = DearInventoryRuby::Contact.new(id: nil,
         | 
| 25 | 
            +
                                             name: nil,
         | 
| 26 | 
            +
                                             job_title: nil,
         | 
| 27 | 
            +
                                             phone: nil,
         | 
| 28 | 
            +
                                             mobile_phone: nil,
         | 
| 29 | 
            +
                                             fax: nil,
         | 
| 30 | 
            +
                                             email: nil,
         | 
| 31 | 
            +
                                             website: nil,
         | 
| 32 | 
            +
                                             comment: nil,
         | 
| 33 | 
            +
                                             default: nil,
         | 
| 34 | 
            +
                                             include_in_email: nil)
         | 
| 31 35 | 
             
            ```
         | 
| 32 36 |  | 
| 33 37 |  | 
    
        data/docs/Customer.md
    CHANGED
    
    | @@ -20,6 +20,7 @@ Name | Type | Description | Notes | |
| 20 20 | 
             
            **comments** | **String** | Comments | [optional] 
         | 
| 21 21 | 
             
            **tax_number** | **String** | Tax number | [optional] 
         | 
| 22 22 | 
             
            **credit_limit** | **Float** | Credit limit | [optional] 
         | 
| 23 | 
            +
            **is_on_credit_hold** | **Boolean** | boolean to indicate if a customer is on credit hold | [optional] [default to false]
         | 
| 23 24 | 
             
            **tags** | **String** | Tags string | [optional] 
         | 
| 24 25 | 
             
            **attribute_set** | **String** | AttributeSet name | [optional] 
         | 
| 25 26 | 
             
            **additional_attribute1** | **String** | Additional attribute 1 value | [optional] 
         | 
| @@ -41,37 +42,38 @@ Name | Type | Description | Notes | |
| 41 42 | 
             
            ```ruby
         | 
| 42 43 | 
             
            require 'DearInventoryRuby'
         | 
| 43 44 |  | 
| 44 | 
            -
            instance = DearInventoryRuby::Customer.new(id:  | 
| 45 | 
            -
                                             name:  | 
| 46 | 
            -
                                             status:  | 
| 47 | 
            -
                                             currency:  | 
| 48 | 
            -
                                             payment_term:  | 
| 49 | 
            -
                                             account_receivable:  | 
| 50 | 
            -
                                             revenue_account:  | 
| 51 | 
            -
                                             tax_rule:  | 
| 52 | 
            -
                                             price_tier:  | 
| 53 | 
            -
                                             carrier:  | 
| 54 | 
            -
                                             sales_representative:  | 
| 55 | 
            -
                                             location:  | 
| 56 | 
            -
                                             discount:  | 
| 57 | 
            -
                                             comments:  | 
| 58 | 
            -
                                             tax_number:  | 
| 59 | 
            -
                                             credit_limit:  | 
| 60 | 
            -
                                              | 
| 61 | 
            -
                                              | 
| 62 | 
            -
                                              | 
| 63 | 
            -
                                              | 
| 64 | 
            -
                                              | 
| 65 | 
            -
                                              | 
| 66 | 
            -
                                              | 
| 67 | 
            -
                                              | 
| 68 | 
            -
                                              | 
| 69 | 
            -
                                              | 
| 70 | 
            -
                                              | 
| 71 | 
            -
                                              | 
| 72 | 
            -
                                              | 
| 73 | 
            -
                                              | 
| 74 | 
            -
                                              | 
| 45 | 
            +
            instance = DearInventoryRuby::Customer.new(id: nil,
         | 
| 46 | 
            +
                                             name: nil,
         | 
| 47 | 
            +
                                             status: nil,
         | 
| 48 | 
            +
                                             currency: nil,
         | 
| 49 | 
            +
                                             payment_term: nil,
         | 
| 50 | 
            +
                                             account_receivable: nil,
         | 
| 51 | 
            +
                                             revenue_account: nil,
         | 
| 52 | 
            +
                                             tax_rule: nil,
         | 
| 53 | 
            +
                                             price_tier: nil,
         | 
| 54 | 
            +
                                             carrier: nil,
         | 
| 55 | 
            +
                                             sales_representative: nil,
         | 
| 56 | 
            +
                                             location: nil,
         | 
| 57 | 
            +
                                             discount: nil,
         | 
| 58 | 
            +
                                             comments: nil,
         | 
| 59 | 
            +
                                             tax_number: nil,
         | 
| 60 | 
            +
                                             credit_limit: nil,
         | 
| 61 | 
            +
                                             is_on_credit_hold: nil,
         | 
| 62 | 
            +
                                             tags: nil,
         | 
| 63 | 
            +
                                             attribute_set: nil,
         | 
| 64 | 
            +
                                             additional_attribute1: nil,
         | 
| 65 | 
            +
                                             additional_attribute2: nil,
         | 
| 66 | 
            +
                                             additional_attribute3: nil,
         | 
| 67 | 
            +
                                             additional_attribute4: nil,
         | 
| 68 | 
            +
                                             additional_attribute5: nil,
         | 
| 69 | 
            +
                                             additional_attribute6: nil,
         | 
| 70 | 
            +
                                             additional_attribute7: nil,
         | 
| 71 | 
            +
                                             additional_attribute8: nil,
         | 
| 72 | 
            +
                                             additional_attribute9: nil,
         | 
| 73 | 
            +
                                             additional_attribute10: nil,
         | 
| 74 | 
            +
                                             last_modified_on: nil,
         | 
| 75 | 
            +
                                             addresses: nil,
         | 
| 76 | 
            +
                                             contacts: nil)
         | 
| 75 77 | 
             
            ```
         | 
| 76 78 |  | 
| 77 79 |  | 
    
        data/docs/Customers.md
    CHANGED
    
    | @@ -13,9 +13,9 @@ Name | Type | Description | Notes | |
| 13 13 | 
             
            ```ruby
         | 
| 14 14 | 
             
            require 'DearInventoryRuby'
         | 
| 15 15 |  | 
| 16 | 
            -
            instance = DearInventoryRuby::Customers.new(total:  | 
| 17 | 
            -
                                             page:  | 
| 18 | 
            -
                                             customer_list:  | 
| 16 | 
            +
            instance = DearInventoryRuby::Customers.new(total: nil,
         | 
| 17 | 
            +
                                             page: nil,
         | 
| 18 | 
            +
                                             customer_list: nil)
         | 
| 19 19 | 
             
            ```
         | 
| 20 20 |  | 
| 21 21 |  | 
| @@ -0,0 +1,16 @@ | |
| 1 | 
            +
            # DearInventoryRuby::DimensionsUnit
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            ## Properties
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            Name | Type | Description | Notes
         | 
| 6 | 
            +
            ------------ | ------------- | ------------- | -------------
         | 
| 7 | 
            +
             | 
| 8 | 
            +
            ## Code Sample
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            ```ruby
         | 
| 11 | 
            +
            require 'DearInventoryRuby'
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            instance = DearInventoryRuby::DimensionsUnit.new()
         | 
| 14 | 
            +
            ```
         | 
| 15 | 
            +
             | 
| 16 | 
            +
             | 
    
        data/docs/Error.md
    CHANGED
    
    
    
        data/docs/InventoryApi.md
    CHANGED
    
    | @@ -12,7 +12,9 @@ Method | HTTP request | Description | |
| 12 12 | 
             
            [**delete_payment_term**](InventoryApi.md#delete_payment_term) | **DELETE** /ref/paymentterm | Allows you to delete a payment term
         | 
| 13 13 | 
             
            [**get_accounts**](InventoryApi.md#get_accounts) | **GET** /ref/account | Allows you to retrieve the Chart of Accounts
         | 
| 14 14 | 
             
            [**get_customers**](InventoryApi.md#get_customers) | **GET** /customer | Allows you to retrieve the customers
         | 
| 15 | 
            +
            [**get_me**](InventoryApi.md#get_me) | **GET** /me | Allows you to retrieve your information
         | 
| 15 16 | 
             
            [**get_payment_terms**](InventoryApi.md#get_payment_terms) | **GET** /ref/paymentterm | Allows you to retrieve the payment terms
         | 
| 17 | 
            +
            [**get_price_tiers**](InventoryApi.md#get_price_tiers) | **GET** /ref/priceTier | Allows you to retrieve the Price Tiers
         | 
| 16 18 | 
             
            [**get_taxes**](InventoryApi.md#get_taxes) | **GET** /ref/tax | Allows you to retrieve the taxes
         | 
| 17 19 | 
             
            [**update_account**](InventoryApi.md#update_account) | **PUT** /ref/account | Allows you to update an Account
         | 
| 18 20 | 
             
            [**update_customer**](InventoryApi.md#update_customer) | **PUT** /customer | Allows you to update a customer
         | 
| @@ -521,6 +523,59 @@ Name | Type | Description  | Notes | |
| 521 523 | 
             
            - **Accept**: application/json
         | 
| 522 524 |  | 
| 523 525 |  | 
| 526 | 
            +
            ## get_me
         | 
| 527 | 
            +
             | 
| 528 | 
            +
            > Me get_me
         | 
| 529 | 
            +
             | 
| 530 | 
            +
            Allows you to retrieve your information
         | 
| 531 | 
            +
             | 
| 532 | 
            +
            ### Example
         | 
| 533 | 
            +
             | 
| 534 | 
            +
            ```ruby
         | 
| 535 | 
            +
            # load the gem
         | 
| 536 | 
            +
            require 'dear-inventory-ruby'
         | 
| 537 | 
            +
            # setup authorization
         | 
| 538 | 
            +
            DearInventoryRuby.configure do |config|
         | 
| 539 | 
            +
              # Configure API key authorization: accountID
         | 
| 540 | 
            +
              config.api_key['api-auth-accountid'] = 'YOUR API KEY'
         | 
| 541 | 
            +
              # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
         | 
| 542 | 
            +
              #config.api_key_prefix['api-auth-accountid'] = 'Bearer'
         | 
| 543 | 
            +
             | 
| 544 | 
            +
              # Configure API key authorization: appKey
         | 
| 545 | 
            +
              config.api_key['api-auth-applicationkey'] = 'YOUR API KEY'
         | 
| 546 | 
            +
              # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
         | 
| 547 | 
            +
              #config.api_key_prefix['api-auth-applicationkey'] = 'Bearer'
         | 
| 548 | 
            +
            end
         | 
| 549 | 
            +
             | 
| 550 | 
            +
            api_instance = DearInventoryRuby::InventoryApi.new
         | 
| 551 | 
            +
             | 
| 552 | 
            +
            begin
         | 
| 553 | 
            +
              #Allows you to retrieve your information
         | 
| 554 | 
            +
              result = api_instance.get_me
         | 
| 555 | 
            +
              p result
         | 
| 556 | 
            +
            rescue DearInventoryRuby::ApiError => e
         | 
| 557 | 
            +
              puts "Exception when calling InventoryApi->get_me: #{e}"
         | 
| 558 | 
            +
            end
         | 
| 559 | 
            +
            ```
         | 
| 560 | 
            +
             | 
| 561 | 
            +
            ### Parameters
         | 
| 562 | 
            +
             | 
| 563 | 
            +
            This endpoint does not need any parameter.
         | 
| 564 | 
            +
             | 
| 565 | 
            +
            ### Return type
         | 
| 566 | 
            +
             | 
| 567 | 
            +
            [**Me**](Me.md)
         | 
| 568 | 
            +
             | 
| 569 | 
            +
            ### Authorization
         | 
| 570 | 
            +
             | 
| 571 | 
            +
            [accountID](../README.md#accountID), [appKey](../README.md#appKey)
         | 
| 572 | 
            +
             | 
| 573 | 
            +
            ### HTTP request headers
         | 
| 574 | 
            +
             | 
| 575 | 
            +
            - **Content-Type**: Not defined
         | 
| 576 | 
            +
            - **Accept**: application/json
         | 
| 577 | 
            +
             | 
| 578 | 
            +
             | 
| 524 579 | 
             
            ## get_payment_terms
         | 
| 525 580 |  | 
| 526 581 | 
             
            > PaymentTerms get_payment_terms(opts)
         | 
| @@ -592,6 +647,59 @@ Name | Type | Description  | Notes | |
| 592 647 | 
             
            - **Accept**: application/json
         | 
| 593 648 |  | 
| 594 649 |  | 
| 650 | 
            +
            ## get_price_tiers
         | 
| 651 | 
            +
             | 
| 652 | 
            +
            > PriceTiers get_price_tiers
         | 
| 653 | 
            +
             | 
| 654 | 
            +
            Allows you to retrieve the Price Tiers
         | 
| 655 | 
            +
             | 
| 656 | 
            +
            ### Example
         | 
| 657 | 
            +
             | 
| 658 | 
            +
            ```ruby
         | 
| 659 | 
            +
            # load the gem
         | 
| 660 | 
            +
            require 'dear-inventory-ruby'
         | 
| 661 | 
            +
            # setup authorization
         | 
| 662 | 
            +
            DearInventoryRuby.configure do |config|
         | 
| 663 | 
            +
              # Configure API key authorization: accountID
         | 
| 664 | 
            +
              config.api_key['api-auth-accountid'] = 'YOUR API KEY'
         | 
| 665 | 
            +
              # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
         | 
| 666 | 
            +
              #config.api_key_prefix['api-auth-accountid'] = 'Bearer'
         | 
| 667 | 
            +
             | 
| 668 | 
            +
              # Configure API key authorization: appKey
         | 
| 669 | 
            +
              config.api_key['api-auth-applicationkey'] = 'YOUR API KEY'
         | 
| 670 | 
            +
              # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
         | 
| 671 | 
            +
              #config.api_key_prefix['api-auth-applicationkey'] = 'Bearer'
         | 
| 672 | 
            +
            end
         | 
| 673 | 
            +
             | 
| 674 | 
            +
            api_instance = DearInventoryRuby::InventoryApi.new
         | 
| 675 | 
            +
             | 
| 676 | 
            +
            begin
         | 
| 677 | 
            +
              #Allows you to retrieve the Price Tiers
         | 
| 678 | 
            +
              result = api_instance.get_price_tiers
         | 
| 679 | 
            +
              p result
         | 
| 680 | 
            +
            rescue DearInventoryRuby::ApiError => e
         | 
| 681 | 
            +
              puts "Exception when calling InventoryApi->get_price_tiers: #{e}"
         | 
| 682 | 
            +
            end
         | 
| 683 | 
            +
            ```
         | 
| 684 | 
            +
             | 
| 685 | 
            +
            ### Parameters
         | 
| 686 | 
            +
             | 
| 687 | 
            +
            This endpoint does not need any parameter.
         | 
| 688 | 
            +
             | 
| 689 | 
            +
            ### Return type
         | 
| 690 | 
            +
             | 
| 691 | 
            +
            [**PriceTiers**](PriceTiers.md)
         | 
| 692 | 
            +
             | 
| 693 | 
            +
            ### Authorization
         | 
| 694 | 
            +
             | 
| 695 | 
            +
            [accountID](../README.md#accountID), [appKey](../README.md#appKey)
         | 
| 696 | 
            +
             | 
| 697 | 
            +
            ### HTTP request headers
         | 
| 698 | 
            +
             | 
| 699 | 
            +
            - **Content-Type**: Not defined
         | 
| 700 | 
            +
            - **Accept**: application/json
         | 
| 701 | 
            +
             | 
| 702 | 
            +
             | 
| 595 703 | 
             
            ## get_taxes
         | 
| 596 704 |  | 
| 597 705 | 
             
            > Taxes get_taxes(opts)
         |