dear-inventory-ruby 0.2.0 → 0.2.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8c6ec5eb7b2ab7c0dfab700e6ab66456be10bb8011117d9893352ac2a8ad38f4
4
- data.tar.gz: 203be3d67b0f5981935adfa5f4e2e6e47396f31f5f0e377233db281220543543
3
+ metadata.gz: 84d29c0ced39cf41145beea2c57d0123fe657c214e088769aedaacbfc4c90c6d
4
+ data.tar.gz: 3e7d341b031d925d060ce69fc838d6cf8a5294f64c81ed295d2cc30cce435aa7
5
5
  SHA512:
6
- metadata.gz: 522ad9ae6fb6e4732ff2d96bd6338e3b62cf99c2c4d93957c90e600b7c925a5e98eed7eb9a91ab6173fd33c44fb96d389d00907ea30e960cad74239b447ee6a4
7
- data.tar.gz: 7c6410c95e6ff637f5c8df4d7ea9a26c6c8f4a4d5409d22dbf21cea64ee410345a460cbc217864265eea03614a6dc9cd55bcb1b9ded43d177353e57a57ffd9e0
6
+ metadata.gz: c02d415d3ee35627ba3a67ef18b8d06cfcff79124fbec9b3a1a3f37f44974ede71ccc48ec607ffdffd7507172f4040d6df0607417cc5e3b9e9cfdc22d0260ea3
7
+ data.tar.gz: f24496e8da915bf12e253c214966385a092bac88ca44c5a467e537cffac14eae86ecff392d47da3dceb4f6270cae212dee6b11dc0830c7697d93a41696b1d9cd
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.1] - 2021-10-15
6
+
7
+ - Update param `TaskID` for `DELETE` of the endpoint `/sale/invoice`
8
+
5
9
  ## [0.2.0] - 2021-10-13
6
10
 
7
11
  - Add new endpoint GET, POST, PUT, DELETE `/webhooks` and some related models.
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.0
10
+ - Package version: 0.2.1
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.0.gem
27
+ gem install ./dear-inventory-ruby-0.2.1.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./dear-inventory-ruby-0.2.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./dear-inventory-ruby-0.2.1.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.0'
36
+ gem 'dear-inventory-ruby', '~> 0.2.1'
37
37
 
38
38
  ### Install from Git
39
39
 
data/docs/InventoryApi.md CHANGED
@@ -731,7 +731,7 @@ end
731
731
 
732
732
  api_instance = DearInventoryRuby::InventoryApi.new
733
733
  opts = {
734
- id: 'id_example', # String | Default is nil
734
+ task_id: 'task_id_example', # String | ID of Sale task to Void or Undo
735
735
  void: false # Boolean | Default is false
736
736
  }
737
737
 
@@ -749,7 +749,7 @@ end
749
749
 
750
750
  Name | Type | Description | Notes
751
751
  ------------- | ------------- | ------------- | -------------
752
- **id** | **String**| Default is nil | [optional]
752
+ **task_id** | **String**| ID of Sale task to Void or Undo | [optional]
753
753
  **void** | **Boolean**| Default is false | [optional] [default to false]
754
754
 
755
755
  ### Return type
@@ -720,7 +720,7 @@ module DearInventoryRuby
720
720
 
721
721
  # Allows you to delete a sale invoice
722
722
  # @param [Hash] opts the optional parameters
723
- # @option opts [String] :id Default is nil
723
+ # @option opts [String] :task_id ID of Sale task to Void or Undo
724
724
  # @option opts [Boolean] :void Default is false (default to false)
725
725
  # @return [SaleInvoices]
726
726
  def delete_sale_invoice(opts = {})
@@ -730,7 +730,7 @@ module DearInventoryRuby
730
730
 
731
731
  # Allows you to delete a sale invoice
732
732
  # @param [Hash] opts the optional parameters
733
- # @option opts [String] :id Default is nil
733
+ # @option opts [String] :task_id ID of Sale task to Void or Undo
734
734
  # @option opts [Boolean] :void Default is false
735
735
  # @return [Array<(SaleInvoices, Integer, Hash)>] SaleInvoices data, response status code and response headers
736
736
  def delete_sale_invoice_with_http_info(opts = {})
@@ -742,7 +742,7 @@ module DearInventoryRuby
742
742
 
743
743
  # query parameters
744
744
  query_params = opts[:query_params] || {}
745
- query_params[:'ID'] = opts[:'id'] if !opts[:'id'].nil?
745
+ query_params[:'TaskID'] = opts[:'task_id'] if !opts[:'task_id'].nil?
746
746
  query_params[:'Void'] = opts[:'void'] if !opts[:'void'].nil?
747
747
 
748
748
  # header parameters
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module DearInventoryRuby
14
- VERSION = '0.2.0'
14
+ VERSION = '0.2.1'
15
15
  end
@@ -165,7 +165,7 @@ describe 'InventoryApi' do
165
165
  # unit tests for delete_sale_invoice
166
166
  # Allows you to delete a sale invoice
167
167
  # @param [Hash] opts the optional parameters
168
- # @option opts [String] :id Default is nil
168
+ # @option opts [String] :task_id ID of Sale task to Void or Undo
169
169
  # @option opts [Boolean] :void Default is false
170
170
  # @return [SaleInvoices]
171
171
  describe 'delete_sale_invoice test' 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.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nhan Nguyen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-13 00:00:00.000000000 Z
11
+ date: 2021-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday