dear-inventory-ruby 0.1.5 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +31 -0
  3. data/Gemfile +1 -1
  4. data/README.md +32 -9
  5. data/dear-inventory-ruby.gemspec +1 -1
  6. data/docs/Account.md +45 -0
  7. data/docs/Accounts.md +21 -0
  8. data/docs/Address.md +11 -11
  9. data/docs/Contact.md +14 -10
  10. data/docs/Customer.md +40 -38
  11. data/docs/Customers.md +3 -3
  12. data/docs/DimensionsUnit.md +16 -0
  13. data/docs/Error.md +2 -2
  14. data/docs/InventoryApi.md +788 -26
  15. data/docs/Me.md +29 -0
  16. data/docs/PaymentTerm.md +27 -0
  17. data/docs/PaymentTerms.md +21 -0
  18. data/docs/Success.md +17 -0
  19. data/docs/Tax.md +33 -0
  20. data/docs/TaxComponent.md +23 -0
  21. data/docs/Taxes.md +21 -0
  22. data/docs/WeightUnit.md +16 -0
  23. data/lib/dear-inventory-ruby.rb +12 -1
  24. data/lib/dear-inventory-ruby/api/inventory_api.rb +827 -44
  25. data/lib/dear-inventory-ruby/api_client.rb +8 -6
  26. data/lib/dear-inventory-ruby/api_error.rb +1 -1
  27. data/lib/dear-inventory-ruby/configuration.rb +1 -1
  28. data/lib/dear-inventory-ruby/models/account.rb +477 -0
  29. data/lib/dear-inventory-ruby/models/accounts.rb +229 -0
  30. data/lib/dear-inventory-ruby/models/address.rb +11 -1
  31. data/lib/dear-inventory-ruby/models/contact.rb +34 -5
  32. data/lib/dear-inventory-ruby/models/currency_code.rb +1 -1
  33. data/lib/dear-inventory-ruby/models/customer.rb +56 -5
  34. data/lib/dear-inventory-ruby/models/customers.rb +1 -1
  35. data/lib/dear-inventory-ruby/models/dimensions_unit.rb +42 -0
  36. data/lib/dear-inventory-ruby/models/error.rb +1 -1
  37. data/lib/dear-inventory-ruby/models/me.rb +264 -0
  38. data/lib/dear-inventory-ruby/models/payment_term.rb +319 -0
  39. data/lib/dear-inventory-ruby/models/payment_terms.rb +229 -0
  40. data/lib/dear-inventory-ruby/models/success.rb +207 -0
  41. data/lib/dear-inventory-ruby/models/tax.rb +360 -0
  42. data/lib/dear-inventory-ruby/models/tax_component.rb +306 -0
  43. data/lib/dear-inventory-ruby/models/taxes.rb +229 -0
  44. data/lib/dear-inventory-ruby/models/weight_unit.rb +39 -0
  45. data/lib/dear-inventory-ruby/version.rb +2 -2
  46. data/spec/api/inventory_api_spec.rb +160 -5
  47. data/spec/api_client_spec.rb +2 -2
  48. data/spec/configuration_spec.rb +1 -1
  49. data/spec/models/account_spec.rb +129 -0
  50. data/spec/models/accounts_spec.rb +53 -0
  51. data/spec/models/address_spec.rb +1 -1
  52. data/spec/models/contact_spec.rb +13 -1
  53. data/spec/models/currency_code_spec.rb +1 -1
  54. data/spec/models/customer_spec.rb +7 -1
  55. data/spec/models/customers_spec.rb +1 -1
  56. data/spec/models/dimensions_unit_spec.rb +35 -0
  57. data/spec/models/error_spec.rb +1 -1
  58. data/spec/models/me_spec.rb +77 -0
  59. data/spec/models/payment_term_spec.rb +75 -0
  60. data/spec/models/payment_terms_spec.rb +53 -0
  61. data/spec/models/success_spec.rb +41 -0
  62. data/spec/models/tax_component_spec.rb +59 -0
  63. data/spec/models/tax_spec.rb +89 -0
  64. data/spec/models/taxes_spec.rb +53 -0
  65. data/spec/models/weight_unit_spec.rb +35 -0
  66. data/spec/spec_helper.rb +1 -1
  67. metadata +59 -15
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 727a014b9815bd76c254c9f6315951458046e0808bb811db5a0bc6690bb7ddf0
4
- data.tar.gz: 51138ec20b08a7b2875f65b6016532a441cac28dc797a4dae022c02a2ceb7cc4
3
+ metadata.gz: c201f6b324bf74ee44d1049342dd858cd6db92262aa2a98471e78a8db6b4bcbf
4
+ data.tar.gz: 304fc570a210489e24c1574d40f71d1975961e66dab65aa42807d0909a62730d
5
5
  SHA512:
6
- metadata.gz: ead27d454433630290c7dc828838d7754dcd1b23b7c229be23c45ff7fb30ff4f47f7877399cdcfbeff45c013345784d1e6669e5f2fd87e889cbba3bde5ac58aa
7
- data.tar.gz: bd46592e998eedc10c53b9c149cbc32385c6f651bc7a4fa32dff46aa4c2ec06586daaf328787d2a1a4e7867c1d2d21399edd570de4e7d185ac7daf29fc74ede4
6
+ metadata.gz: dd7c10e2e6c7a5fafd8288cd1cd59ea7548229a978f5076df85e505e53c4e13f2af24ded11100c1e5ce8b4b6fe1ecbd8ac7f79ee242af27fefa39abddf3758ea
7
+ data.tar.gz: 3c4d88bddd1cf9fc255a71c35ce15857abd3f49e297747c96ccecd31ed65f44061c2dd18700a967b7f0cc7d921c006c4655538f42ffd3c1a8597f3ace5f6363b
@@ -2,6 +2,37 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [0.1.10] - 2020-09-04
6
+
7
+ - Add some fields to Contact and Customer models.
8
+ - Update OpenAPI Generator version 4.3.1
9
+
10
+ ## [0.1.9] - 2020-04-12
11
+
12
+ - Add new endpoint and model: Me
13
+ - Update OpenAPI Generator version 4.3.0
14
+
15
+ ## [0.1.8] - 2020-02-16
16
+
17
+ - Remove the validations of attributes: Type, SystemAccount because Dear API docs is not mapping for the result of API returned
18
+
19
+ ## [0.1.7] - 2020-02-16
20
+
21
+ - Fix params of /account GET
22
+
23
+ ## [0.1.6] - 2020-02-15
24
+
25
+ - Add new endpoints and models: Account, PaymentTerm, Success, Tax, TaxComponent
26
+ - Update some models: Address, Contact, Customer
27
+
28
+ ## [0.1.5] - 2020-02-13
29
+
30
+ - Show basic log when calling API
31
+
32
+ ## [0.1.4] - 2020-02-13
33
+
34
+ - Rename CustomerApi to InventoryApi
35
+
5
36
  ## [0.1.3] - 2020-02-12
6
37
 
7
38
  - Add POST, PUT for customer endpoint.
data/Gemfile CHANGED
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development, :test do
6
- gem 'rake', '~> 12.0.0'
6
+ gem 'rake', '~> 13.0.1'
7
7
  gem 'pry-byebug'
8
8
  gem 'rubocop', '~> 0.66.0'
9
9
  end
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.5
10
+ - Package version: 0.1.10
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.5.gem
27
+ gem install ./dear-inventory-ruby-0.1.10.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./dear-inventory-ruby-0.1.5.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./dear-inventory-ruby-0.1.10.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.5'
36
+ gem 'dear-inventory-ruby', '~> 0.1.10'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -71,17 +71,17 @@ DearInventoryRuby.configure do |config|
71
71
  end
72
72
 
73
73
  api_instance = DearInventoryRuby::InventoryApi.new
74
- customer = { "Name": "DIISR - Small Business Services customer", "Currency": "AUD", "PaymentTerm": "30 days", "Discount": 0, "TaxRule": "GST Free Exports", "Carrier": "DEFAULT Carrier", "SalesRepresentative": nil, "Location": "Main Warehouse", "Comments": nil, "AccountReceivable": "610", "RevenueAccount": "200", "PriceTier": "Tier 1", "TaxNumber": nil, "AdditionalAttribute1": nil, "AdditionalAttribute2": nil, "AdditionalAttribute3": nil, "AdditionalAttribute4": nil, "AdditionalAttribute5": nil, "AdditionalAttribute6": nil, "AdditionalAttribute7": nil, "AdditionalAttribute8": nil, "AdditionalAttribute9": nil, "AdditionalAttribute10": nil, "AttributeSet": nil, "Tags": nil, "Status": "Active", "Addresses": [ { "ID": "4bc4e423-d8af-454d-a186-4a827c15bd0b", "CustomerID": "4978c3ff-4382-4045-819b-2971480ddaf1", "Line1": "L3, Southbank House", "Line2": "13 Gallery Ave", "City": "Melbourne", "State": "VIC", "Postcode": "3131", "Country": nil, "Type": "Business", "DefaultForType": true }, { "ID": "35cec087-04da-46b5-b3c8-c3a7311f2417", "CustomerID": "4978c3ff-4382-4045-819b-2971480ddaf1", "Line1": "L3, Southbank House", "Line2": "13 Gallery Ave", "City": "Melbourne", "State": "VIC", "Postcode": "3131", "Country": nil, "Type": "Billing", "DefaultForType": true } ], "Contacts": [ { "ID": "1d62f59b-657d-423f-ad95-9ad9ec4f29a3", "CustomerID": "4978c3ff-4382-4045-819b-2971480ddaf1", "Name": "Sheree Bond", "JobTitle": nil, "Phone": "0800 4389376", "MobilePhone": nil, "Fax": "03 4389379", "Email": "accounts@diisr.govt", "Website": nil, "Default": true, "Comment": nil, "IncludeInEmail": false } ] } # Customer | a Contact object with properties to create
74
+ account = { "Code": "001", "Status": "ACTIVE", "Name": "Accounts Payable test", "Type": "CURRLIAB", "Description": "Outstanding invoices the company has received from suppliers but has not yet paid at balance date", "Class": "LIABILITY", "SystemAccount": "CREDITORS", } # Account | an Account object with properties to create
75
75
  opts = {
76
- summarize_errors: false # Boolean | If false return 200 OK and mix of successfully created obejcts and any with validation errors
76
+ summarize_errors: false # Boolean | If false return 200 OK and mix of successfully created objects and any with validation errors
77
77
  }
78
78
 
79
79
  begin
80
- #Allows you to create a customer
81
- result = api_instance.create_customer(customer, opts)
80
+ #Allows you to create an Account
81
+ result = api_instance.create_account(account, opts)
82
82
  p result
83
83
  rescue DearInventoryRuby::ApiError => e
84
- puts "Exception when calling InventoryApi->create_customer: #{e}"
84
+ puts "Exception when calling InventoryApi->create_account: #{e}"
85
85
  end
86
86
 
87
87
  ```
@@ -92,19 +92,42 @@ All URIs are relative to *https://inventory.dearsystems.com/ExternalApi/v2*
92
92
 
93
93
  Class | Method | HTTP request | Description
94
94
  ------------ | ------------- | ------------- | -------------
95
+ *DearInventoryRuby::InventoryApi* | [**create_account**](docs/InventoryApi.md#create_account) | **POST** /ref/account | Allows you to create an Account
95
96
  *DearInventoryRuby::InventoryApi* | [**create_customer**](docs/InventoryApi.md#create_customer) | **POST** /customer | Allows you to create a customer
97
+ *DearInventoryRuby::InventoryApi* | [**create_payment_term**](docs/InventoryApi.md#create_payment_term) | **POST** /ref/paymentterm | Allows you to create a payment term
98
+ *DearInventoryRuby::InventoryApi* | [**create_tax**](docs/InventoryApi.md#create_tax) | **POST** /ref/tax | Allows you to create a tax
99
+ *DearInventoryRuby::InventoryApi* | [**delete_account**](docs/InventoryApi.md#delete_account) | **DELETE** /ref/account | Allows you to delete an Account
100
+ *DearInventoryRuby::InventoryApi* | [**delete_payment_term**](docs/InventoryApi.md#delete_payment_term) | **DELETE** /ref/paymentterm | Allows you to delete a payment term
101
+ *DearInventoryRuby::InventoryApi* | [**get_accounts**](docs/InventoryApi.md#get_accounts) | **GET** /ref/account | Allows you to retrieve the Chart of Accounts
96
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
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_taxes**](docs/InventoryApi.md#get_taxes) | **GET** /ref/tax | Allows you to retrieve the taxes
106
+ *DearInventoryRuby::InventoryApi* | [**update_account**](docs/InventoryApi.md#update_account) | **PUT** /ref/account | Allows you to update an Account
97
107
  *DearInventoryRuby::InventoryApi* | [**update_customer**](docs/InventoryApi.md#update_customer) | **PUT** /customer | Allows you to update a customer
108
+ *DearInventoryRuby::InventoryApi* | [**update_payment_term**](docs/InventoryApi.md#update_payment_term) | **PUT** /ref/paymentterm | Allows you to update a payment term
109
+ *DearInventoryRuby::InventoryApi* | [**update_tax**](docs/InventoryApi.md#update_tax) | **PUT** /ref/tax | Allows you to update a tax
98
110
 
99
111
 
100
112
  ## Documentation for Models
101
113
 
114
+ - [DearInventoryRuby::Account](docs/Account.md)
115
+ - [DearInventoryRuby::Accounts](docs/Accounts.md)
102
116
  - [DearInventoryRuby::Address](docs/Address.md)
103
117
  - [DearInventoryRuby::Contact](docs/Contact.md)
104
118
  - [DearInventoryRuby::CurrencyCode](docs/CurrencyCode.md)
105
119
  - [DearInventoryRuby::Customer](docs/Customer.md)
106
120
  - [DearInventoryRuby::Customers](docs/Customers.md)
121
+ - [DearInventoryRuby::DimensionsUnit](docs/DimensionsUnit.md)
107
122
  - [DearInventoryRuby::Error](docs/Error.md)
123
+ - [DearInventoryRuby::Me](docs/Me.md)
124
+ - [DearInventoryRuby::PaymentTerm](docs/PaymentTerm.md)
125
+ - [DearInventoryRuby::PaymentTerms](docs/PaymentTerms.md)
126
+ - [DearInventoryRuby::Success](docs/Success.md)
127
+ - [DearInventoryRuby::Tax](docs/Tax.md)
128
+ - [DearInventoryRuby::TaxComponent](docs/TaxComponent.md)
129
+ - [DearInventoryRuby::Taxes](docs/Taxes.md)
130
+ - [DearInventoryRuby::WeightUnit](docs/WeightUnit.md)
108
131
 
109
132
 
110
133
  ## Documentation for Authorization
@@ -8,7 +8,7 @@
8
8
  The version of the OpenAPI document: 2.0.0
9
9
  Contact: nnhansg@gmail.com
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 4.2.3
11
+ OpenAPI Generator version: 4.3.1
12
12
 
13
13
  =end
14
14
 
@@ -0,0 +1,45 @@
1
+ # DearInventoryRuby::Account
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **code** | **String** | Unique code of Account |
8
+ **name** | **String** | Account Name |
9
+ **type** | **String** | Type |
10
+ **status** | **String** | Account status |
11
+ **description** | **String** | Account description | [optional]
12
+ **_class** | **String** | Should be one of the following values: `ASSET`, `LIABILITY`, `EXPENSE`, `EQUITY`, `REVENUE` | [optional]
13
+ **system_account** | **String** | SystemAccount | [optional]
14
+ **system_account_code** | **String** | SystemAccountCode | [optional]
15
+ **for_payments** | **String** | Account status | [optional]
16
+ **display_name** | **String** | Account display name. Read-only. | [optional]
17
+ **old_code** | **String** | Read-only. | [optional]
18
+ **bank** | **String** | Name of the Bank. Only for PUT and POST. Required if Account Type is BANK. | [optional]
19
+ **bank_account_number** | **String** | Bank Account Number. Only for PUT and POST. Required if Account Type is BANK. | [optional]
20
+ **bank_account_id** | **String** | Bank Account ID to which the Account is linked. Read-only. | [optional]
21
+ **currency** | **String** | Currency. Read-only. | [optional]
22
+
23
+ ## Code Sample
24
+
25
+ ```ruby
26
+ require 'DearInventoryRuby'
27
+
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
+ ```
44
+
45
+
@@ -0,0 +1,21 @@
1
+ # DearInventoryRuby::Accounts
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **total** | **String** | Total | [optional]
8
+ **page** | **String** | Page | [optional]
9
+ **accounts_list** | [**Array<Account>**](Account.md) | Array of Accounts | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'DearInventoryRuby'
15
+
16
+ instance = DearInventoryRuby::Accounts.new(total: nil,
17
+ page: nil,
18
+ accounts_list: nil)
19
+ ```
20
+
21
+
@@ -10,8 +10,8 @@ Name | Type | Description | Notes
10
10
  **city** | **String** | City / Suburb | [optional]
11
11
  **state** | **String** | State / Province | [optional]
12
12
  **post_code** | **String** | Zip / PostCode | [optional]
13
- **country** | **String** | Country name | [optional]
14
- **type** | **String** | Address Type. Should be one of the following values: `Billing`, `Business` or `Shipping`. | [optional]
13
+ **country** | **String** | Country name |
14
+ **type** | **String** | Address Type. Should be one of the following values: `Billing`, `Business` or `Shipping`. |
15
15
  **default_for_type** | **Boolean** | Points that Address is used as default for chosen Type. `false` as default. | [optional] [default to false]
16
16
 
17
17
  ## Code Sample
@@ -19,15 +19,15 @@ Name | Type | Description | Notes
19
19
  ```ruby
20
20
  require 'DearInventoryRuby'
21
21
 
22
- instance = DearInventoryRuby::Address.new(id: null,
23
- line1: null,
24
- line2: null,
25
- city: null,
26
- state: null,
27
- post_code: null,
28
- country: null,
29
- type: null,
30
- default_for_type: null)
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
 
@@ -5,8 +5,10 @@
5
5
  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
- **name** | **String** | Name of Contact | [optional]
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: null,
23
- name: null,
24
- phone: null,
25
- fax: null,
26
- email: null,
27
- website: null,
28
- comment: null,
29
- default: null,
30
- include_in_email: null)
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
 
@@ -5,13 +5,13 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **id** | **String** | Unique Customer ID | [optional]
8
- **name** | **String** | Name of Customer | [optional]
9
- **status** | **String** | Points that Customer is Active. Available values are Active and Deprecated. Required for POST | [optional]
10
- **currency** | [**CurrencyCode**](CurrencyCode.md) | | [optional]
11
- **payment_term** | **String** | Payment term | [optional]
12
- **account_receivable** | **String** | Account receivable code of Customer | [optional]
13
- **revenue_account** | **String** | Sale account code of Customer | [optional]
14
- **tax_rule** | **String** | Tax rule name | [optional]
8
+ **name** | **String** | Name of Customer |
9
+ **status** | **String** | Points that Customer is Active. Available values are Active and Deprecated. Required for POST |
10
+ **currency** | [**CurrencyCode**](CurrencyCode.md) | |
11
+ **payment_term** | **String** | Payment term |
12
+ **account_receivable** | **String** | Account receivable code of Customer |
13
+ **revenue_account** | **String** | Sale account code of Customer |
14
+ **tax_rule** | **String** | Tax rule name |
15
15
  **price_tier** | **String** | Price tier | [optional]
16
16
  **carrier** | **String** | Carrier name | [optional]
17
17
  **sales_representative** | **String** | Sales representative | [optional]
@@ -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: null,
45
- name: null,
46
- status: null,
47
- currency: null,
48
- payment_term: null,
49
- account_receivable: null,
50
- revenue_account: null,
51
- tax_rule: null,
52
- price_tier: null,
53
- carrier: null,
54
- sales_representative: null,
55
- location: null,
56
- discount: null,
57
- comments: null,
58
- tax_number: null,
59
- credit_limit: null,
60
- tags: null,
61
- attribute_set: null,
62
- additional_attribute1: null,
63
- additional_attribute2: null,
64
- additional_attribute3: null,
65
- additional_attribute4: null,
66
- additional_attribute5: null,
67
- additional_attribute6: null,
68
- additional_attribute7: null,
69
- additional_attribute8: null,
70
- additional_attribute9: null,
71
- additional_attribute10: null,
72
- last_modified_on: null,
73
- addresses: null,
74
- contacts: null)
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
 
@@ -13,9 +13,9 @@ Name | Type | Description | Notes
13
13
  ```ruby
14
14
  require 'DearInventoryRuby'
15
15
 
16
- instance = DearInventoryRuby::Customers.new(total: null,
17
- page: null,
18
- customer_list: null)
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
+
@@ -12,8 +12,8 @@ Name | Type | Description | Notes
12
12
  ```ruby
13
13
  require 'DearInventoryRuby'
14
14
 
15
- instance = DearInventoryRuby::Error.new(error_code: null,
16
- exception: null)
15
+ instance = DearInventoryRuby::Error.new(error_code: nil,
16
+ exception: nil)
17
17
  ```
18
18
 
19
19