dear-inventory-ruby 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 665772a1eec52c5945c0e6106d4d169e9b310a2046d1974d67f18f4044d779af
4
- data.tar.gz: 914df67acb8c2358a21af9ecbf1aafd575cfa2ea01b17f4b3468ddab1489bd38
3
+ metadata.gz: 50a4ae53097c27d0470642a55cb37231e9979631a80c840fc2a942910ef28c64
4
+ data.tar.gz: 579d16e845ce5eb75d6ce150c17f65356bbed78ead663ed9e7dba55309a98bb3
5
5
  SHA512:
6
- metadata.gz: 6ac843e11c132abf8137314fa384f9fe68c1e3fb18db81b115a08a8a06681fa77d349e7e392e35717043b31a6915c3854938faff85df2c8d90654a04b8ff5244
7
- data.tar.gz: 5a14e0e4c109c10847ec9996ee656427021d46abe4dd1bad6e4708fe91e15078d775881dea00b561cdc1b0059b775bd737f3b0342c526c9d03ae39b8c40f3c59
6
+ metadata.gz: e4c1f0fb8b4d565c519a78211c466a920752e85efe1d8686f9fdf75f6138fab24fa1266cc9bd19bf372e938455f3134b90cefea2a97a24682fdc23935d653155
7
+ data.tar.gz: ebe9b20decd6f28ecc4e84f0a3e32b7995001200751c72f2f34ddbdcb6a1ccf171d96dc0930fba813b426902455852ddba9519492fc6928d8d604f15809cf001
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [0.2.7] - 2022-08-17
6
+
7
+ - Support parameter `ContactFilter` and `IncludeProductPrices` for the endpoint GET `/customer`
8
+
5
9
  ## [0.2.6] - 2022-07-14
6
10
 
7
11
  - Update final totals of each invoice for the endpoint GET `/sale`
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.2.6
10
+ - Package version: 0.2.7
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://www.nhansg.com](https://www.nhansg.com)
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.2.6.gem
27
+ gem install ./dear-inventory-ruby-0.2.7.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./dear-inventory-ruby-0.2.6.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./dear-inventory-ruby-0.2.7.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.2.6'
36
+ gem 'dear-inventory-ruby', '~> 0.2.7'
37
37
 
38
38
  ### Install from Git
39
39
 
data/docs/InventoryApi.md CHANGED
@@ -987,8 +987,10 @@ opts = {
987
987
  limit: '100', # String | Default is 100
988
988
  id: 'id_example', # String | Default is nil
989
989
  name: 'name_example', # String | Default is nil
990
+ contact_filter: 'contact_filter_example', # String | Default is nil
990
991
  modified_since: 'modified_since_example', # String | Default is nil
991
- include_deprecated: 'false' # String | Default is false
992
+ include_deprecated: 'false', # String | Default is false
993
+ include_product_prices: 'false' # String | Default is false
992
994
  }
993
995
 
994
996
  begin
@@ -1009,8 +1011,10 @@ Name | Type | Description | Notes
1009
1011
  **limit** | **String**| Default is 100 | [optional] [default to '100']
1010
1012
  **id** | **String**| Default is nil | [optional]
1011
1013
  **name** | **String**| Default is nil | [optional]
1014
+ **contact_filter** | **String**| Default is nil | [optional]
1012
1015
  **modified_since** | **String**| Default is nil | [optional]
1013
1016
  **include_deprecated** | **String**| Default is false | [optional] [default to 'false']
1017
+ **include_product_prices** | **String**| Default is false | [optional] [default to 'false']
1014
1018
 
1015
1019
  ### Return type
1016
1020
 
@@ -973,8 +973,10 @@ module DearInventoryRuby
973
973
  # @option opts [String] :limit Default is 100 (default to '100')
974
974
  # @option opts [String] :id Default is nil
975
975
  # @option opts [String] :name Default is nil
976
+ # @option opts [String] :contact_filter Default is nil
976
977
  # @option opts [String] :modified_since Default is nil
977
978
  # @option opts [String] :include_deprecated Default is false (default to 'false')
979
+ # @option opts [String] :include_product_prices Default is false (default to 'false')
978
980
  # @return [Customers]
979
981
  def get_customers(opts = {})
980
982
  data, _status_code, _headers = get_customers_with_http_info(opts)
@@ -987,8 +989,10 @@ module DearInventoryRuby
987
989
  # @option opts [String] :limit Default is 100
988
990
  # @option opts [String] :id Default is nil
989
991
  # @option opts [String] :name Default is nil
992
+ # @option opts [String] :contact_filter Default is nil
990
993
  # @option opts [String] :modified_since Default is nil
991
994
  # @option opts [String] :include_deprecated Default is false
995
+ # @option opts [String] :include_product_prices Default is false
992
996
  # @return [Array<(Customers, Integer, Hash)>] Customers data, response status code and response headers
993
997
  def get_customers_with_http_info(opts = {})
994
998
  if @api_client.config.debugging
@@ -1003,8 +1007,10 @@ module DearInventoryRuby
1003
1007
  query_params[:'Limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1004
1008
  query_params[:'ID'] = opts[:'id'] if !opts[:'id'].nil?
1005
1009
  query_params[:'Name'] = opts[:'name'] if !opts[:'name'].nil?
1010
+ query_params[:'ContactFilter'] = opts[:'contact_filter'] if !opts[:'contact_filter'].nil?
1006
1011
  query_params[:'ModifiedSince'] = opts[:'modified_since'] if !opts[:'modified_since'].nil?
1007
1012
  query_params[:'IncludeDeprecated'] = opts[:'include_deprecated'] if !opts[:'include_deprecated'].nil?
1013
+ query_params[:'IncludeProductPrices'] = opts[:'include_product_prices'] if !opts[:'include_product_prices'].nil?
1008
1014
 
1009
1015
  # header parameters
1010
1016
  header_params = opts[:header_params] || {}
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module DearInventoryRuby
14
- VERSION = '0.2.6'
14
+ VERSION = '0.2.7'
15
15
  end
data/spec/.DS_Store CHANGED
Binary file
@@ -220,8 +220,10 @@ describe 'InventoryApi' do
220
220
  # @option opts [String] :limit Default is 100
221
221
  # @option opts [String] :id Default is nil
222
222
  # @option opts [String] :name Default is nil
223
+ # @option opts [String] :contact_filter Default is nil
223
224
  # @option opts [String] :modified_since Default is nil
224
225
  # @option opts [String] :include_deprecated Default is false
226
+ # @option opts [String] :include_product_prices Default is false
225
227
  # @return [Customers]
226
228
  describe 'get_customers test' do
227
229
  it 'should work' do
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.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nhan Nguyen
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-14 00:00:00.000000000 Z
11
+ date: 2022-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -225,7 +225,7 @@ metadata:
225
225
  source_code_uri: https://github.com/nnhansg/dear-ruby
226
226
  changelog_uri: https://github.com/nnhansg/dear-ruby/blob/master/CHANGELOG.md
227
227
  bug_tracker_uri: https://github.com/nnhansg/dear-ruby/issues
228
- post_install_message:
228
+ post_install_message:
229
229
  rdoc_options: []
230
230
  require_paths:
231
231
  - lib
@@ -240,8 +240,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
240
240
  - !ruby/object:Gem::Version
241
241
  version: '0'
242
242
  requirements: []
243
- rubygems_version: 3.1.6
244
- signing_key:
243
+ rubygems_version: 3.3.10
244
+ signing_key:
245
245
  specification_version: 4
246
246
  summary: DEAR Inventory Ruby SDK generated from DEAR-OpenAPI Spec 3.0 for https://inventory.dearsystems.com
247
247
  test_files: