dear-inventory-ruby 0.1.13 → 0.1.14
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 +5 -1
- data/README.md +4 -4
- data/docs/Customer.md +1 -1
- data/docs/Me.md +1 -1
- data/lib/dear-inventory-ruby/models/customer.rb +2 -1
- data/lib/dear-inventory-ruby/models/me.rb +2 -1
- data/lib/dear-inventory-ruby/version.rb +1 -1
- data/spec/.DS_Store +0 -0
- metadata +3 -3
- data/pkg/dear-inventory-ruby-0.1.13.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9ffbd271d3c715cef93bb33ce9a2f24c53c2decb1ecd1dcdfb15efc1929caf79
|
|
4
|
+
data.tar.gz: ba565c2f1ff6c1784d015e782bfbeb673e5540dce0120035854a4e16e939cff0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b284bec84a7a1cd777cda1c0d085446f4fefb4e8244b9f8e08796291d7a4ceacb52e4fd2e00f0d636f7226f22a0952502180bfd0223b7e8230ca41ff574e4b88
|
|
7
|
+
data.tar.gz: 9953f21dc71d78792c23c307965ff6d878e4684a075c5b9d25afbac53bdd6cc5dde695676e32a551cf7803e1c020a5d0298e90f0202d2303618c7483599c0503
|
data/CHANGELOG.md
CHANGED
|
@@ -2,9 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.1.14] - 2021-05-01
|
|
6
|
+
|
|
7
|
+
- Remove validation `Currency` for `Customer` and `Me` models.
|
|
8
|
+
|
|
5
9
|
## [0.1.13] - 2020-10-28
|
|
6
10
|
|
|
7
|
-
- Update `PriceTiersList` to `PriceTiers
|
|
11
|
+
- Update `PriceTiersList` to `PriceTiers`.
|
|
8
12
|
|
|
9
13
|
## [0.1.12] - 2020-10-28
|
|
10
14
|
|
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.14
|
|
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.14.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.14.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.14'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
data/docs/Customer.md
CHANGED
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**id** | **String** | Unique Customer ID | [optional]
|
|
8
8
|
**name** | **String** | Name of Customer |
|
|
9
9
|
**status** | **String** | Points that Customer is Active. Available values are Active and Deprecated. Required for POST |
|
|
10
|
-
**currency** |
|
|
10
|
+
**currency** | **String** | Currency code of Customer |
|
|
11
11
|
**payment_term** | **String** | Payment term |
|
|
12
12
|
**account_receivable** | **String** | Account receivable code of Customer |
|
|
13
13
|
**revenue_account** | **String** | Sale account code of Customer |
|
data/docs/Me.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**company** | **String** | Your company name | [optional]
|
|
8
|
-
**currency** |
|
|
8
|
+
**currency** | **String** | Your company base currency | [optional]
|
|
9
9
|
**time_zone** | **String** | Time Zone where your company located | [optional]
|
|
10
10
|
**default_weight_units** | [**WeightUnit**](WeightUnit.md) | | [optional]
|
|
11
11
|
**default_dimensions_units** | [**DimensionsUnit**](DimensionsUnit.md) | | [optional]
|
|
@@ -23,6 +23,7 @@ module DearInventoryRuby
|
|
|
23
23
|
# Points that Customer is Active. Available values are Active and Deprecated. Required for POST
|
|
24
24
|
attr_accessor :status
|
|
25
25
|
|
|
26
|
+
# Currency code of Customer
|
|
26
27
|
attr_accessor :currency
|
|
27
28
|
|
|
28
29
|
# Payment term
|
|
@@ -175,7 +176,7 @@ module DearInventoryRuby
|
|
|
175
176
|
:'id' => :'String',
|
|
176
177
|
:'name' => :'String',
|
|
177
178
|
:'status' => :'String',
|
|
178
|
-
:'currency' => :'
|
|
179
|
+
:'currency' => :'String',
|
|
179
180
|
:'payment_term' => :'String',
|
|
180
181
|
:'account_receivable' => :'String',
|
|
181
182
|
:'revenue_account' => :'String',
|
|
@@ -17,6 +17,7 @@ module DearInventoryRuby
|
|
|
17
17
|
# Your company name
|
|
18
18
|
attr_accessor :company
|
|
19
19
|
|
|
20
|
+
# Your company base currency
|
|
20
21
|
attr_accessor :currency
|
|
21
22
|
|
|
22
23
|
# Time Zone where your company located
|
|
@@ -49,7 +50,7 @@ module DearInventoryRuby
|
|
|
49
50
|
def self.openapi_types
|
|
50
51
|
{
|
|
51
52
|
:'company' => :'String',
|
|
52
|
-
:'currency' => :'
|
|
53
|
+
:'currency' => :'String',
|
|
53
54
|
:'time_zone' => :'String',
|
|
54
55
|
:'default_weight_units' => :'WeightUnit',
|
|
55
56
|
:'default_dimensions_units' => :'DimensionsUnit',
|
data/spec/.DS_Store
ADDED
|
Binary file
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dear-inventory-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.14
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nhan Nguyen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-01-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -124,7 +124,7 @@ files:
|
|
|
124
124
|
- lib/dear-inventory-ruby/models/taxes.rb
|
|
125
125
|
- lib/dear-inventory-ruby/models/weight_unit.rb
|
|
126
126
|
- lib/dear-inventory-ruby/version.rb
|
|
127
|
-
-
|
|
127
|
+
- spec/.DS_Store
|
|
128
128
|
- spec/api/inventory_api_spec.rb
|
|
129
129
|
- spec/api_client_spec.rb
|
|
130
130
|
- spec/configuration_spec.rb
|
|
Binary file
|