dear-inventory-ruby 0.2.2 → 0.2.3
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 +9 -0
- data/README.md +6 -4
- data/docs/AuthorizationType.md +16 -0
- data/docs/InventoryApi.md +5 -5
- data/docs/WebhookType.md +16 -0
- data/lib/dear-inventory-ruby/api/inventory_api.rb +6 -6
- data/lib/dear-inventory-ruby/models/authorization_type.rb +37 -0
- data/lib/dear-inventory-ruby/models/webhook_type.rb +54 -0
- data/lib/dear-inventory-ruby/version.rb +1 -1
- data/lib/dear-inventory-ruby.rb +2 -0
- data/spec/api/inventory_api_spec.rb +2 -2
- data/spec/models/authorization_type_spec.rb +35 -0
- data/spec/models/webhook_type_spec.rb +35 -0
- metadata +10 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6548443c3a747000b4d565792f143837bb32cc147974ed0ac2e96bb29fe86f40
|
4
|
+
data.tar.gz: a74524ffba3f733f9a84b18e7bc20e8117bcb436e19ad5ac7e3c8a72faf8d6e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1b01d683d52ad6fc9005104f3c11d7fcdd323b7da96b94cb3e0a2e541ade53428a723c1101f44bc03bc3d12bd03710aadd21d9d42e2b901914be56d29fba371
|
7
|
+
data.tar.gz: 1f4f254e6262b20ba9375b97e6b6ec78a84b47cd6ee875b6f0df4292089ec9c3f841e5f23a6d7fd48435879ac0cb9ebe6ae15f392e32be2d24884ed2e2ba1e5d
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,15 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
+
## [0.2.3] - 2021-10-15
|
6
|
+
|
7
|
+
- Update `POST` response of the endpoint `/webhooks`
|
8
|
+
- Add some enums `AuthorizationType`, `WebhookType`
|
9
|
+
|
10
|
+
## [0.2.2] - 2021-10-15
|
11
|
+
|
12
|
+
- Update `POST` of the endpoint `/webhooks`
|
13
|
+
|
5
14
|
## [0.2.1] - 2021-10-15
|
6
15
|
|
7
16
|
- Update param `TaskID` for `DELETE` of the endpoint `/sale/invoice`
|
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.3
|
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.3.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.3.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.3'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -130,6 +130,7 @@ Class | Method | HTTP request | Description
|
|
130
130
|
- [DearInventoryRuby::Account](docs/Account.md)
|
131
131
|
- [DearInventoryRuby::Accounts](docs/Accounts.md)
|
132
132
|
- [DearInventoryRuby::Address](docs/Address.md)
|
133
|
+
- [DearInventoryRuby::AuthorizationType](docs/AuthorizationType.md)
|
133
134
|
- [DearInventoryRuby::Contact](docs/Contact.md)
|
134
135
|
- [DearInventoryRuby::Customer](docs/Customer.md)
|
135
136
|
- [DearInventoryRuby::Customers](docs/Customers.md)
|
@@ -159,6 +160,7 @@ Class | Method | HTTP request | Description
|
|
159
160
|
- [DearInventoryRuby::TaxComponent](docs/TaxComponent.md)
|
160
161
|
- [DearInventoryRuby::Taxes](docs/Taxes.md)
|
161
162
|
- [DearInventoryRuby::Webhook](docs/Webhook.md)
|
163
|
+
- [DearInventoryRuby::WebhookType](docs/WebhookType.md)
|
162
164
|
- [DearInventoryRuby::Webhooks](docs/Webhooks.md)
|
163
165
|
|
164
166
|
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# DearInventoryRuby::AuthorizationType
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
|
8
|
+
## Code Sample
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'DearInventoryRuby'
|
12
|
+
|
13
|
+
instance = DearInventoryRuby::AuthorizationType.new()
|
14
|
+
```
|
15
|
+
|
16
|
+
|
data/docs/InventoryApi.md
CHANGED
@@ -528,7 +528,7 @@ Name | Type | Description | Notes
|
|
528
528
|
|
529
529
|
## create_webhook
|
530
530
|
|
531
|
-
>
|
531
|
+
> Webhook create_webhook(webhook, opts)
|
532
532
|
|
533
533
|
Allows you to create a Webhook
|
534
534
|
|
@@ -575,7 +575,7 @@ Name | Type | Description | Notes
|
|
575
575
|
|
576
576
|
### Return type
|
577
577
|
|
578
|
-
[**
|
578
|
+
[**Webhook**](Webhook.md)
|
579
579
|
|
580
580
|
### Authorization
|
581
581
|
|
@@ -1882,7 +1882,7 @@ Name | Type | Description | Notes
|
|
1882
1882
|
|
1883
1883
|
## update_webhook
|
1884
1884
|
|
1885
|
-
>
|
1885
|
+
> Webhook update_webhook(webhook, opts)
|
1886
1886
|
|
1887
1887
|
Allows you to update a webhook
|
1888
1888
|
|
@@ -1905,7 +1905,7 @@ DearInventoryRuby.configure do |config|
|
|
1905
1905
|
end
|
1906
1906
|
|
1907
1907
|
api_instance = DearInventoryRuby::InventoryApi.new
|
1908
|
-
webhook = { "ID": "1cf8cb83-bf39-494b-87f9-1252b684d6d5", "Type": "Sale/OrderAuthorised", "Name": "Sale order has been authorised", "IsActive": true, "ExternalURL": "https://hookb.in/Zn8950P7", "ExternalAuthorizationType": "basicauth", "ExternalUserName": "Hello", "ExternalPassword": "123", "ExternalBearerToken":
|
1908
|
+
webhook = { "ID": "1cf8cb83-bf39-494b-87f9-1252b684d6d5", "Type": "Sale/OrderAuthorised", "Name": "Sale order has been authorised", "IsActive": true, "ExternalURL": "https://hookb.in/Zn8950P7", "ExternalAuthorizationType": "basicauth", "ExternalUserName": "Hello", "ExternalPassword": "123", "ExternalBearerToken": nil, "ExternalHeaders": [ { "Key": "Key", "Value": "123" }, { "Key": "6", "Value": "0" }, { "Key": "New Key", "Value": "New Value" } ] } # Webhook | a webhook object with properties to update
|
1909
1909
|
opts = {
|
1910
1910
|
summarize_errors: false # Boolean | If false return 200 OK and mix of successfully created objects and any with validation errors
|
1911
1911
|
}
|
@@ -1929,7 +1929,7 @@ Name | Type | Description | Notes
|
|
1929
1929
|
|
1930
1930
|
### Return type
|
1931
1931
|
|
1932
|
-
[**
|
1932
|
+
[**Webhook**](Webhook.md)
|
1933
1933
|
|
1934
1934
|
### Authorization
|
1935
1935
|
|
data/docs/WebhookType.md
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
# DearInventoryRuby::WebhookType
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
|
8
|
+
## Code Sample
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'DearInventoryRuby'
|
12
|
+
|
13
|
+
instance = DearInventoryRuby::WebhookType.new()
|
14
|
+
```
|
15
|
+
|
16
|
+
|
@@ -543,7 +543,7 @@ module DearInventoryRuby
|
|
543
543
|
# @param webhook [Webhook] a webhook object with properties to create
|
544
544
|
# @param [Hash] opts the optional parameters
|
545
545
|
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
546
|
-
# @return [
|
546
|
+
# @return [Webhook]
|
547
547
|
def create_webhook(webhook, opts = {})
|
548
548
|
data, _status_code, _headers = create_webhook_with_http_info(webhook, opts)
|
549
549
|
data
|
@@ -553,7 +553,7 @@ module DearInventoryRuby
|
|
553
553
|
# @param webhook [Webhook] a webhook object with properties to create
|
554
554
|
# @param [Hash] opts the optional parameters
|
555
555
|
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
556
|
-
# @return [Array<(
|
556
|
+
# @return [Array<(Webhook, Integer, Hash)>] Webhook data, response status code and response headers
|
557
557
|
def create_webhook_with_http_info(webhook, opts = {})
|
558
558
|
if @api_client.config.debugging
|
559
559
|
@api_client.config.logger.debug 'Calling API: InventoryApi.create_webhook ...'
|
@@ -583,7 +583,7 @@ module DearInventoryRuby
|
|
583
583
|
post_body = opts[:body] || @api_client.object_to_http_body(webhook)
|
584
584
|
|
585
585
|
# return_type
|
586
|
-
return_type = opts[:return_type] || '
|
586
|
+
return_type = opts[:return_type] || 'Webhook'
|
587
587
|
|
588
588
|
# auth_names
|
589
589
|
auth_names = opts[:auth_names] || ['accountID', 'appKey']
|
@@ -1929,7 +1929,7 @@ module DearInventoryRuby
|
|
1929
1929
|
# @param webhook [Webhook] a webhook object with properties to update
|
1930
1930
|
# @param [Hash] opts the optional parameters
|
1931
1931
|
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors (default to false)
|
1932
|
-
# @return [
|
1932
|
+
# @return [Webhook]
|
1933
1933
|
def update_webhook(webhook, opts = {})
|
1934
1934
|
data, _status_code, _headers = update_webhook_with_http_info(webhook, opts)
|
1935
1935
|
data
|
@@ -1939,7 +1939,7 @@ module DearInventoryRuby
|
|
1939
1939
|
# @param webhook [Webhook] a webhook object with properties to update
|
1940
1940
|
# @param [Hash] opts the optional parameters
|
1941
1941
|
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
1942
|
-
# @return [Array<(
|
1942
|
+
# @return [Array<(Webhook, Integer, Hash)>] Webhook data, response status code and response headers
|
1943
1943
|
def update_webhook_with_http_info(webhook, opts = {})
|
1944
1944
|
if @api_client.config.debugging
|
1945
1945
|
@api_client.config.logger.debug 'Calling API: InventoryApi.update_webhook ...'
|
@@ -1969,7 +1969,7 @@ module DearInventoryRuby
|
|
1969
1969
|
post_body = opts[:body] || @api_client.object_to_http_body(webhook)
|
1970
1970
|
|
1971
1971
|
# return_type
|
1972
|
-
return_type = opts[:return_type] || '
|
1972
|
+
return_type = opts[:return_type] || 'Webhook'
|
1973
1973
|
|
1974
1974
|
# auth_names
|
1975
1975
|
auth_names = opts[:auth_names] || ['accountID', 'appKey']
|
@@ -0,0 +1,37 @@
|
|
1
|
+
=begin
|
2
|
+
#DEAR Inventory API
|
3
|
+
|
4
|
+
#This specifing endpoints for DEAR Inventory API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
|
+
Contact: nnhansg@gmail.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module DearInventoryRuby
|
16
|
+
class AuthorizationType
|
17
|
+
BASICAUTH = "basicauth".freeze
|
18
|
+
BEARERAUTH = "bearerauth".freeze
|
19
|
+
NOAUTH = "noauth".freeze
|
20
|
+
|
21
|
+
# Builds the enum from string
|
22
|
+
# @param [String] The enum value in the form of the string
|
23
|
+
# @return [String] The enum value
|
24
|
+
def self.build_from_hash(value)
|
25
|
+
new.build_from_hash(value)
|
26
|
+
end
|
27
|
+
|
28
|
+
# Builds the enum from string
|
29
|
+
# @param [String] The enum value in the form of the string
|
30
|
+
# @return [String] The enum value
|
31
|
+
def build_from_hash(value)
|
32
|
+
constantValues = AuthorizationType.constants.select { |c| AuthorizationType::const_get(c) == value }
|
33
|
+
raise "Invalid ENUM value #{value} for class #AuthorizationType" if constantValues.empty?
|
34
|
+
value
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
=begin
|
2
|
+
#DEAR Inventory API
|
3
|
+
|
4
|
+
#This specifing endpoints for DEAR Inventory API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
|
+
Contact: nnhansg@gmail.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module DearInventoryRuby
|
16
|
+
class WebhookType
|
17
|
+
SALE_QUOTE_AUTHORISED = "Sale/QuoteAuthorised".freeze
|
18
|
+
SALE_ORDER_AUTHORISED = "Sale/OrderAuthorised".freeze
|
19
|
+
SALE_VOIDED = "Sale/Voided".freeze
|
20
|
+
SALE_BACKORDERED = "Sale/Backordered".freeze
|
21
|
+
SALE_SHIPMENT_AUTHORISED = "Sale/ShipmentAuthorised".freeze
|
22
|
+
SALE_INVOICE_AUTHORISED = "Sale/InvoiceAuthorised".freeze
|
23
|
+
SALE_PICK_AUTHORISED = "Sale/PickAuthorised".freeze
|
24
|
+
SALE_PACK_AUTHORISED = "Sale/PackAuthorised".freeze
|
25
|
+
SALE_CREDIT_NOTE_AUTHORISED = "Sale/CreditNoteAuthorised".freeze
|
26
|
+
SALE_UNDO = "Sale/Undo".freeze
|
27
|
+
SALE_PARTIAL_PAYMENT_RECEIVED = "Sale/PartialPaymentReceived".freeze
|
28
|
+
SALE_FULL_PAYMENT_RECEIVED = "Sale/FullPaymentReceived".freeze
|
29
|
+
SALE_SHIPMENT_TRACKING_NUMBER_CHANGED = "Sale/ShipmentTrackingNumberChanged".freeze
|
30
|
+
PURCHASE_ORDER_AUTHORISED = "Purchase/OrderAuthorised".freeze
|
31
|
+
PURCHASE_INVOICE_AUTHORISED = "Purchase/InvoiceAuthorised".freeze
|
32
|
+
PURCHASE_STOCK_RECEIVED_AUTHORISED = "Purchase/StockReceivedAuthorised".freeze
|
33
|
+
PURCHASE_CREDIT_NOTE_AUTHORISED = "Purchase/CreditNoteAuthorised".freeze
|
34
|
+
CUSTOMER_UPDATED = "Customer/Updated".freeze
|
35
|
+
SUPPLIER_UPDATED = "Supplier/Updated".freeze
|
36
|
+
STOCK_AVAILABLE_STOCK_LEVEL_CHANGED = "Stock/AvailableStockLevelChanged".freeze
|
37
|
+
|
38
|
+
# Builds the enum from string
|
39
|
+
# @param [String] The enum value in the form of the string
|
40
|
+
# @return [String] The enum value
|
41
|
+
def self.build_from_hash(value)
|
42
|
+
new.build_from_hash(value)
|
43
|
+
end
|
44
|
+
|
45
|
+
# Builds the enum from string
|
46
|
+
# @param [String] The enum value in the form of the string
|
47
|
+
# @return [String] The enum value
|
48
|
+
def build_from_hash(value)
|
49
|
+
constantValues = WebhookType.constants.select { |c| WebhookType::const_get(c) == value }
|
50
|
+
raise "Invalid ENUM value #{value} for class #WebhookType" if constantValues.empty?
|
51
|
+
value
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
data/lib/dear-inventory-ruby.rb
CHANGED
@@ -20,6 +20,7 @@ require 'dear-inventory-ruby/configuration'
|
|
20
20
|
require 'dear-inventory-ruby/models/account'
|
21
21
|
require 'dear-inventory-ruby/models/accounts'
|
22
22
|
require 'dear-inventory-ruby/models/address'
|
23
|
+
require 'dear-inventory-ruby/models/authorization_type'
|
23
24
|
require 'dear-inventory-ruby/models/contact'
|
24
25
|
require 'dear-inventory-ruby/models/customer'
|
25
26
|
require 'dear-inventory-ruby/models/customers'
|
@@ -49,6 +50,7 @@ require 'dear-inventory-ruby/models/tax'
|
|
49
50
|
require 'dear-inventory-ruby/models/tax_component'
|
50
51
|
require 'dear-inventory-ruby/models/taxes'
|
51
52
|
require 'dear-inventory-ruby/models/webhook'
|
53
|
+
require 'dear-inventory-ruby/models/webhook_type'
|
52
54
|
require 'dear-inventory-ruby/models/webhooks'
|
53
55
|
|
54
56
|
# APIs
|
@@ -133,7 +133,7 @@ describe 'InventoryApi' do
|
|
133
133
|
# @param webhook a webhook object with properties to create
|
134
134
|
# @param [Hash] opts the optional parameters
|
135
135
|
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
136
|
-
# @return [
|
136
|
+
# @return [Webhook]
|
137
137
|
describe 'create_webhook test' do
|
138
138
|
it 'should work' do
|
139
139
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -409,7 +409,7 @@ describe 'InventoryApi' do
|
|
409
409
|
# @param webhook a webhook object with properties to update
|
410
410
|
# @param [Hash] opts the optional parameters
|
411
411
|
# @option opts [Boolean] :summarize_errors If false return 200 OK and mix of successfully created objects and any with validation errors
|
412
|
-
# @return [
|
412
|
+
# @return [Webhook]
|
413
413
|
describe 'update_webhook test' do
|
414
414
|
it 'should work' do
|
415
415
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,35 @@
|
|
1
|
+
=begin
|
2
|
+
#DEAR Inventory API
|
3
|
+
|
4
|
+
#This specifing endpoints for DEAR Inventory API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
|
+
Contact: nnhansg@gmail.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for DearInventoryRuby::AuthorizationType
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'AuthorizationType' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = DearInventoryRuby::AuthorizationType.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of AuthorizationType' do
|
31
|
+
it 'should create an instance of AuthorizationType' do
|
32
|
+
expect(@instance).to be_instance_of(DearInventoryRuby::AuthorizationType)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
=begin
|
2
|
+
#DEAR Inventory API
|
3
|
+
|
4
|
+
#This specifing endpoints for DEAR Inventory API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
|
+
Contact: nnhansg@gmail.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for DearInventoryRuby::WebhookType
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'WebhookType' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = DearInventoryRuby::WebhookType.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of WebhookType' do
|
31
|
+
it 'should create an instance of WebhookType' do
|
32
|
+
expect(@instance).to be_instance_of(DearInventoryRuby::WebhookType)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
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.3
|
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-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -87,6 +87,7 @@ files:
|
|
87
87
|
- docs/Account.md
|
88
88
|
- docs/Accounts.md
|
89
89
|
- docs/Address.md
|
90
|
+
- docs/AuthorizationType.md
|
90
91
|
- docs/Contact.md
|
91
92
|
- docs/Customer.md
|
92
93
|
- docs/Customers.md
|
@@ -117,6 +118,7 @@ files:
|
|
117
118
|
- docs/TaxComponent.md
|
118
119
|
- docs/Taxes.md
|
119
120
|
- docs/Webhook.md
|
121
|
+
- docs/WebhookType.md
|
120
122
|
- docs/Webhooks.md
|
121
123
|
- git_push.sh
|
122
124
|
- lib/dear-inventory-ruby.rb
|
@@ -127,6 +129,7 @@ files:
|
|
127
129
|
- lib/dear-inventory-ruby/models/account.rb
|
128
130
|
- lib/dear-inventory-ruby/models/accounts.rb
|
129
131
|
- lib/dear-inventory-ruby/models/address.rb
|
132
|
+
- lib/dear-inventory-ruby/models/authorization_type.rb
|
130
133
|
- lib/dear-inventory-ruby/models/contact.rb
|
131
134
|
- lib/dear-inventory-ruby/models/customer.rb
|
132
135
|
- lib/dear-inventory-ruby/models/customers.rb
|
@@ -156,6 +159,7 @@ files:
|
|
156
159
|
- lib/dear-inventory-ruby/models/tax_component.rb
|
157
160
|
- lib/dear-inventory-ruby/models/taxes.rb
|
158
161
|
- lib/dear-inventory-ruby/models/webhook.rb
|
162
|
+
- lib/dear-inventory-ruby/models/webhook_type.rb
|
159
163
|
- lib/dear-inventory-ruby/models/webhooks.rb
|
160
164
|
- lib/dear-inventory-ruby/version.rb
|
161
165
|
- spec/api/inventory_api_spec.rb
|
@@ -164,6 +168,7 @@ files:
|
|
164
168
|
- spec/models/account_spec.rb
|
165
169
|
- spec/models/accounts_spec.rb
|
166
170
|
- spec/models/address_spec.rb
|
171
|
+
- spec/models/authorization_type_spec.rb
|
167
172
|
- spec/models/contact_spec.rb
|
168
173
|
- spec/models/customer_spec.rb
|
169
174
|
- spec/models/customers_spec.rb
|
@@ -193,6 +198,7 @@ files:
|
|
193
198
|
- spec/models/tax_spec.rb
|
194
199
|
- spec/models/taxes_spec.rb
|
195
200
|
- spec/models/webhook_spec.rb
|
201
|
+
- spec/models/webhook_type_spec.rb
|
196
202
|
- spec/models/webhooks_spec.rb
|
197
203
|
- spec/spec_helper.rb
|
198
204
|
homepage: https://inventory.dearsystems.com
|
@@ -245,12 +251,14 @@ test_files:
|
|
245
251
|
- spec/models/sale_invoice_delete_spec.rb
|
246
252
|
- spec/models/sale_payment_spec.rb
|
247
253
|
- spec/models/sale_additional_charge_spec.rb
|
254
|
+
- spec/models/webhook_type_spec.rb
|
248
255
|
- spec/models/taxes_spec.rb
|
249
256
|
- spec/models/accounts_spec.rb
|
250
257
|
- spec/models/me_spec.rb
|
251
258
|
- spec/models/shipping_address_spec.rb
|
252
259
|
- spec/models/sale_order_spec.rb
|
253
260
|
- spec/models/sale_invoice_additional_charge_spec.rb
|
261
|
+
- spec/models/authorization_type_spec.rb
|
254
262
|
- spec/models/sale_invoices_spec.rb
|
255
263
|
- spec/models/sale_quote_spec.rb
|
256
264
|
- spec/models/sale_quote_line_spec.rb
|