dear-inventory-ruby 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +4 -4
- data/docs/InventoryApi.md +2 -2
- data/lib/dear-inventory-ruby/api/inventory_api.rb +3 -3
- data/lib/dear-inventory-ruby/version.rb +1 -1
- data/spec/api/inventory_api_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84d29c0ced39cf41145beea2c57d0123fe657c214e088769aedaacbfc4c90c6d
|
4
|
+
data.tar.gz: 3e7d341b031d925d060ce69fc838d6cf8a5294f64c81ed295d2cc30cce435aa7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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.
|
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.
|
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
|
-
|
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
|
-
**
|
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] :
|
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] :
|
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[:'
|
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
|
@@ -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] :
|
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.
|
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-
|
11
|
+
date: 2021-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|