dear-inventory-ruby 0.2.11 → 0.2.13

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.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +4 -4
  4. data/docs/Account.md +15 -15
  5. data/docs/Accounts.md +3 -3
  6. data/docs/Address.md +8 -8
  7. data/docs/AttachmentLine.md +5 -5
  8. data/docs/Bin.md +2 -2
  9. data/docs/Carrier.md +2 -2
  10. data/docs/Carriers.md +3 -3
  11. data/docs/Contact.md +9 -9
  12. data/docs/Customer.md +31 -31
  13. data/docs/Customers.md +3 -3
  14. data/docs/Error.md +2 -2
  15. data/docs/ExternalHeader.md +2 -2
  16. data/docs/InventoryApi.md +64 -64
  17. data/docs/Location.md +12 -12
  18. data/docs/Locations.md +3 -3
  19. data/docs/Me.md +7 -7
  20. data/docs/MeContact.md +8 -8
  21. data/docs/MeContacts.md +3 -3
  22. data/docs/PaymentTerm.md +4 -4
  23. data/docs/PaymentTerms.md +3 -3
  24. data/docs/PriceTier.md +2 -2
  25. data/docs/PriceTiers.md +1 -1
  26. data/docs/Sale.md +43 -43
  27. data/docs/SaleAdditionalCharge.md +8 -8
  28. data/docs/SaleInvoice.md +17 -17
  29. data/docs/SaleInvoiceAdditionalCharge.md +9 -9
  30. data/docs/SaleInvoiceDelete.md +1 -1
  31. data/docs/SaleInvoiceLine.md +12 -12
  32. data/docs/SaleInvoicePartial.md +12 -12
  33. data/docs/SaleInvoicePost.md +12 -12
  34. data/docs/SaleInvoices.md +2 -2
  35. data/docs/SaleItem.md +31 -31
  36. data/docs/SaleList.md +3 -3
  37. data/docs/SaleOrder.md +9 -9
  38. data/docs/SaleOrderLine.md +13 -13
  39. data/docs/SalePayment.md +14 -14
  40. data/docs/SalePaymentLine.md +7 -7
  41. data/docs/SaleQuote.md +8 -8
  42. data/docs/SaleQuoteLine.md +11 -11
  43. data/docs/ShippingAddress.md +11 -11
  44. data/docs/Success.md +1 -1
  45. data/docs/SupplierCustomerAddress.md +9 -9
  46. data/docs/Tax.md +5 -5
  47. data/docs/TaxComponent.md +3 -3
  48. data/docs/Taxes.md +3 -3
  49. data/docs/Webhook.md +10 -10
  50. data/docs/Webhooks.md +1 -1
  51. data/lib/dear-inventory-ruby/models/supplier_customer_address.rb +7 -7
  52. data/lib/dear-inventory-ruby/version.rb +1 -1
  53. data/spec/.DS_Store +0 -0
  54. data/spec/models/supplier_customer_address_spec.rb +1 -1
  55. metadata +3 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 784c9c2d581cdb49797edb13ad15f7cc1a26a1854a9134db021894879df9cac8
4
- data.tar.gz: 518147a06737463f51381764479b67c44b60496baf44c142570b7f3683471773
3
+ metadata.gz: 70662a2d612396531c805a4c85a70b12150ef851763def1c6a9a2ec2b90e08b5
4
+ data.tar.gz: 4a663721fec1f276d1456cacf5210910ff137219e96d941945c5178c163a2a2a
5
5
  SHA512:
6
- metadata.gz: 665d6760d0dcddb08b86f42ea176416c42dbf1590ef7e711a2afb5839d226480e89f2cde0800e94eed05711042e90bec8b5ba37e12ba4909f92da26de540a916
7
- data.tar.gz: 4099384656dc34f0142301986378a053666790682cb19236f42cdc8b9d8761489331397602ffbfbfeeff764d9c099a5a160cf9d308187cca6aa399052b563209
6
+ metadata.gz: fc4dbeb474d05b00fd1fa47bc745c3841236e480814258315528e4507ad1ab82b44819ef4f024d2c84b4d6f4198655e5d137a211c4b4b7a565c9397afac936cc
7
+ data.tar.gz: 88e22eb5f621884c386b01be653890cd416f6fb8cbfe4452dba41f39dbac36650b6d8e9fa45d041eedd36b4117a870dd695897b98e71ce00b7d690ad9a6724a2
data/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [0.2.13] - 2025-03-15
6
+
7
+ - Update version
8
+
9
+ ## [0.2.12] - 2025-03-15
10
+
11
+ - Update `Postcode` for `SupplierCustomerAddress`
12
+
5
13
  ## [0.2.11] - 2024-02-21
6
14
 
7
15
  - Add the new endpoints
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.11
10
+ - Package version: 0.2.13
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.11.gem
27
+ gem install ./dear-inventory-ruby-0.2.13.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./dear-inventory-ruby-0.2.11.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./dear-inventory-ruby-0.2.13.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.11'
36
+ gem 'dear-inventory-ruby', '~> 0.2.13'
37
37
 
38
38
  ### Install from Git
39
39
 
data/docs/Account.md CHANGED
@@ -4,21 +4,21 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **code** | **String** | Unique code of Account |
8
- **name** | **String** | Account Name |
9
- **type** | **String** | Type |
10
- **status** | **String** | Account status |
11
- **description** | **String** | Account description | [optional]
12
- **_class** | **String** | Should be one of the following values: `ASSET`, `LIABILITY`, `EXPENSE`, `EQUITY`, `REVENUE` | [optional]
13
- **system_account** | **String** | SystemAccount | [optional]
14
- **system_account_code** | **String** | SystemAccountCode | [optional]
15
- **for_payments** | **String** | Account status | [optional]
16
- **display_name** | **String** | Account display name. Read-only. | [optional]
17
- **old_code** | **String** | Read-only. | [optional]
18
- **bank** | **String** | Name of the Bank. Only for PUT and POST. Required if Account Type is BANK. | [optional]
19
- **bank_account_number** | **String** | Bank Account Number. Only for PUT and POST. Required if Account Type is BANK. | [optional]
20
- **bank_account_id** | **String** | Bank Account ID to which the Account is linked. Read-only. | [optional]
21
- **currency** | **String** | Currency. Read-only. | [optional]
7
+ **code** | **String** | Unique code of Account |
8
+ **name** | **String** | Account Name |
9
+ **type** | **String** | Type |
10
+ **status** | **String** | Account status |
11
+ **description** | **String** | Account description | [optional]
12
+ **_class** | **String** | Should be one of the following values: `ASSET`, `LIABILITY`, `EXPENSE`, `EQUITY`, `REVENUE` | [optional]
13
+ **system_account** | **String** | SystemAccount | [optional]
14
+ **system_account_code** | **String** | SystemAccountCode | [optional]
15
+ **for_payments** | **String** | Account status | [optional]
16
+ **display_name** | **String** | Account display name. Read-only. | [optional]
17
+ **old_code** | **String** | Read-only. | [optional]
18
+ **bank** | **String** | Name of the Bank. Only for PUT and POST. Required if Account Type is BANK. | [optional]
19
+ **bank_account_number** | **String** | Bank Account Number. Only for PUT and POST. Required if Account Type is BANK. | [optional]
20
+ **bank_account_id** | **String** | Bank Account ID to which the Account is linked. Read-only. | [optional]
21
+ **currency** | **String** | Currency. Read-only. | [optional]
22
22
 
23
23
  ## Code Sample
24
24
 
data/docs/Accounts.md CHANGED
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **total** | **String** | Total | [optional]
8
- **page** | **String** | Page | [optional]
9
- **accounts_list** | [**Array<Account>**](Account.md) | Array of Accounts | [optional]
7
+ **total** | **String** | Total | [optional]
8
+ **page** | **String** | Page | [optional]
9
+ **accounts_list** | [**Array<Account>**](Account.md) | Array of Accounts | [optional]
10
10
 
11
11
  ## Code Sample
12
12
 
data/docs/Address.md CHANGED
@@ -4,14 +4,14 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **display_address_line1** | **String** | Address Line 1 as displayed on Sale form. = Line1 + Line2 | [optional]
8
- **display_address_line2** | **String** | Address Line 2 as displayed on Sale form. = City + State/Region + Zip/Postcode + Country | [optional]
9
- **line1** | **String** | Address Line 1 |
10
- **line2** | **String** | Address Line 2 | [optional]
11
- **city** | **String** | City | [optional]
12
- **state** | **String** | State | [optional]
13
- **post_code** | **String** | PostCode | [optional]
14
- **country** | **String** | Country |
7
+ **display_address_line1** | **String** | Address Line 1 as displayed on Sale form. = Line1 + Line2 | [optional]
8
+ **display_address_line2** | **String** | Address Line 2 as displayed on Sale form. = City + State/Region + Zip/Postcode + Country | [optional]
9
+ **line1** | **String** | Address Line 1 |
10
+ **line2** | **String** | Address Line 2 | [optional]
11
+ **city** | **String** | City | [optional]
12
+ **state** | **String** | State | [optional]
13
+ **post_code** | **String** | PostCode | [optional]
14
+ **country** | **String** | Country |
15
15
 
16
16
  ## Code Sample
17
17
 
@@ -4,11 +4,11 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **id** | **String** | Attached file ID | [optional]
8
- **content_type** | **String** | Attached file content type | [optional]
9
- **is_default** | **Boolean** | Is this attachment will be used as default product image. Is visible only for product Attachment Endpoint. | [optional]
10
- **file_name** | **String** | Attached file name | [optional]
11
- **download_url** | **String** | Url to download attached File | [optional]
7
+ **id** | **String** | Attached file ID | [optional]
8
+ **content_type** | **String** | Attached file content type | [optional]
9
+ **is_default** | **Boolean** | Is this attachment will be used as default product image. Is visible only for product Attachment Endpoint. | [optional]
10
+ **file_name** | **String** | Attached file name | [optional]
11
+ **download_url** | **String** | Url to download attached File | [optional]
12
12
 
13
13
  ## Code Sample
14
14
 
data/docs/Bin.md CHANGED
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **id** | **String** | Unique ID | [optional]
8
- **name** | **String** | Name of `Bin` | [optional]
7
+ **id** | **String** | Unique ID | [optional]
8
+ **name** | **String** | Name of `Bin` | [optional]
9
9
 
10
10
  ## Code Sample
11
11
 
data/docs/Carrier.md CHANGED
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **carrier_id** | **String** | Unique `Carrier` ID | [optional]
8
- **description** | **String** | Name of `Carrier` | [optional]
7
+ **carrier_id** | **String** | Unique `Carrier` ID | [optional]
8
+ **description** | **String** | Name of `Carrier` | [optional]
9
9
 
10
10
  ## Code Sample
11
11
 
data/docs/Carriers.md CHANGED
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **total** | **Float** | Total | [optional]
8
- **page** | **Float** | Page | [optional]
9
- **carrier_list** | [**Array<Carrier>**](Carrier.md) | Array of Carriers | [optional]
7
+ **total** | **Float** | Total | [optional]
8
+ **page** | **Float** | Page | [optional]
9
+ **carrier_list** | [**Array<Carrier>**](Carrier.md) | Array of Carriers | [optional]
10
10
 
11
11
  ## Code Sample
12
12
 
data/docs/Contact.md CHANGED
@@ -4,15 +4,15 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **id** | **String** | If passed in PUT method, entry will be searched by id, found entry will be updated, otherwise created | [optional]
8
- **name** | **String** | Name of Contact |
9
- **job_title** | **String** | Job Title | [optional]
10
- **phone** | **String** | Phone | [optional]
11
- **mobile_phone** | **String** | Mobile Phone | [optional]
12
- **fax** | **String** | Fax | [optional]
13
- **email** | **String** | Email | [optional]
14
- **website** | **String** | Website | [optional]
15
- **comment** | **String** | Comment | [optional]
7
+ **id** | **String** | If passed in PUT method, entry will be searched by id, found entry will be updated, otherwise created | [optional]
8
+ **name** | **String** | Name of Contact |
9
+ **job_title** | **String** | Job Title | [optional]
10
+ **phone** | **String** | Phone | [optional]
11
+ **mobile_phone** | **String** | Mobile Phone | [optional]
12
+ **fax** | **String** | Fax | [optional]
13
+ **email** | **String** | Email | [optional]
14
+ **website** | **String** | Website | [optional]
15
+ **comment** | **String** | Comment | [optional]
16
16
  **default** | **Boolean** | Points that Contact is used as default. `false` as default. | [optional] [default to false]
17
17
  **include_in_email** | **Boolean** | Points that Contact is included in Email. `false` as default. | [optional] [default to false]
18
18
 
data/docs/Customer.md CHANGED
@@ -4,38 +4,38 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **id** | **String** | Unique Customer ID | [optional]
8
- **name** | **String** | Name of Customer |
9
- **status** | **String** | Points that Customer is Active. Available values are Active and Deprecated. Required for POST |
10
- **currency** | **String** | Currency code of Customer |
11
- **payment_term** | **String** | Payment term |
12
- **account_receivable** | **String** | Account receivable code of Customer |
13
- **revenue_account** | **String** | Sale account code of Customer |
14
- **tax_rule** | **String** | Tax rule name |
15
- **price_tier** | **String** | Price tier | [optional]
16
- **carrier** | **String** | Carrier name | [optional]
17
- **sales_representative** | **String** | Sales representative | [optional]
18
- **location** | **String** | Location | [optional]
19
- **discount** | **Float** | Discount must be between 0% and 100% | [optional]
20
- **comments** | **String** | Comments | [optional]
21
- **tax_number** | **String** | Tax number | [optional]
22
- **credit_limit** | **Float** | Credit limit | [optional]
7
+ **id** | **String** | Unique Customer ID | [optional]
8
+ **name** | **String** | Name of Customer |
9
+ **status** | **String** | Points that Customer is Active. Available values are Active and Deprecated. Required for POST |
10
+ **currency** | **String** | Currency code of Customer |
11
+ **payment_term** | **String** | Payment term |
12
+ **account_receivable** | **String** | Account receivable code of Customer |
13
+ **revenue_account** | **String** | Sale account code of Customer |
14
+ **tax_rule** | **String** | Tax rule name |
15
+ **price_tier** | **String** | Price tier | [optional]
16
+ **carrier** | **String** | Carrier name | [optional]
17
+ **sales_representative** | **String** | Sales representative | [optional]
18
+ **location** | **String** | Location | [optional]
19
+ **discount** | **Float** | Discount must be between 0% and 100% | [optional]
20
+ **comments** | **String** | Comments | [optional]
21
+ **tax_number** | **String** | Tax number | [optional]
22
+ **credit_limit** | **Float** | Credit limit | [optional]
23
23
  **is_on_credit_hold** | **Boolean** | boolean to indicate if a customer is on credit hold | [optional] [default to false]
24
- **tags** | **String** | Tags string | [optional]
25
- **attribute_set** | **String** | AttributeSet name | [optional]
26
- **additional_attribute1** | **String** | Additional attribute 1 value | [optional]
27
- **additional_attribute2** | **String** | Additional attribute 2 value | [optional]
28
- **additional_attribute3** | **String** | Additional attribute 3 value | [optional]
29
- **additional_attribute4** | **String** | Additional attribute 4 value | [optional]
30
- **additional_attribute5** | **String** | Additional attribute 5 value | [optional]
31
- **additional_attribute6** | **String** | Additional attribute 6 value | [optional]
32
- **additional_attribute7** | **String** | Additional attribute 7 value | [optional]
33
- **additional_attribute8** | **String** | Additional attribute 8 value | [optional]
34
- **additional_attribute9** | **String** | Additional attribute 9 value | [optional]
35
- **additional_attribute10** | **String** | Additional attribute 10 value | [optional]
36
- **last_modified_on** | **String** | Date of last modification | [optional]
37
- **addresses** | [**Array<SupplierCustomerAddress>**](SupplierCustomerAddress.md) | List of addresses | [optional]
38
- **contacts** | [**Array<Contact>**](Contact.md) | List of contacts | [optional]
24
+ **tags** | **String** | Tags string | [optional]
25
+ **attribute_set** | **String** | AttributeSet name | [optional]
26
+ **additional_attribute1** | **String** | Additional attribute 1 value | [optional]
27
+ **additional_attribute2** | **String** | Additional attribute 2 value | [optional]
28
+ **additional_attribute3** | **String** | Additional attribute 3 value | [optional]
29
+ **additional_attribute4** | **String** | Additional attribute 4 value | [optional]
30
+ **additional_attribute5** | **String** | Additional attribute 5 value | [optional]
31
+ **additional_attribute6** | **String** | Additional attribute 6 value | [optional]
32
+ **additional_attribute7** | **String** | Additional attribute 7 value | [optional]
33
+ **additional_attribute8** | **String** | Additional attribute 8 value | [optional]
34
+ **additional_attribute9** | **String** | Additional attribute 9 value | [optional]
35
+ **additional_attribute10** | **String** | Additional attribute 10 value | [optional]
36
+ **last_modified_on** | **String** | Date of last modification | [optional]
37
+ **addresses** | [**Array<SupplierCustomerAddress>**](SupplierCustomerAddress.md) | List of addresses | [optional]
38
+ **contacts** | [**Array<Contact>**](Contact.md) | List of contacts | [optional]
39
39
 
40
40
  ## Code Sample
41
41
 
data/docs/Customers.md CHANGED
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **total** | **String** | Total | [optional]
8
- **page** | **String** | Page | [optional]
9
- **customer_list** | [**Array<Customer>**](Customer.md) | Array of Customers | [optional]
7
+ **total** | **String** | Total | [optional]
8
+ **page** | **String** | Page | [optional]
9
+ **customer_list** | [**Array<Customer>**](Customer.md) | Array of Customers | [optional]
10
10
 
11
11
  ## Code Sample
12
12
 
data/docs/Error.md CHANGED
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **error_code** | **Integer** | Exception number | [optional]
8
- **exception** | **String** | Exception message | [optional]
7
+ **error_code** | **Integer** | Exception number | [optional]
8
+ **exception** | **String** | Exception message | [optional]
9
9
 
10
10
  ## Code Sample
11
11
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **key** | **String** | Key | [optional]
8
- **value** | **String** | Value | [optional]
7
+ **key** | **String** | Key | [optional]
8
+ **value** | **String** | Value | [optional]
9
9
 
10
10
  ## Code Sample
11
11