dear-inventory-ruby 0.2.11 → 0.2.12

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 (54) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/docs/Account.md +15 -15
  4. data/docs/Accounts.md +3 -3
  5. data/docs/Address.md +8 -8
  6. data/docs/AttachmentLine.md +5 -5
  7. data/docs/Bin.md +2 -2
  8. data/docs/Carrier.md +2 -2
  9. data/docs/Carriers.md +3 -3
  10. data/docs/Contact.md +9 -9
  11. data/docs/Customer.md +31 -31
  12. data/docs/Customers.md +3 -3
  13. data/docs/Error.md +2 -2
  14. data/docs/ExternalHeader.md +2 -2
  15. data/docs/InventoryApi.md +64 -64
  16. data/docs/Location.md +12 -12
  17. data/docs/Locations.md +3 -3
  18. data/docs/Me.md +7 -7
  19. data/docs/MeContact.md +8 -8
  20. data/docs/MeContacts.md +3 -3
  21. data/docs/PaymentTerm.md +4 -4
  22. data/docs/PaymentTerms.md +3 -3
  23. data/docs/PriceTier.md +2 -2
  24. data/docs/PriceTiers.md +1 -1
  25. data/docs/Sale.md +43 -43
  26. data/docs/SaleAdditionalCharge.md +8 -8
  27. data/docs/SaleInvoice.md +17 -17
  28. data/docs/SaleInvoiceAdditionalCharge.md +9 -9
  29. data/docs/SaleInvoiceDelete.md +1 -1
  30. data/docs/SaleInvoiceLine.md +12 -12
  31. data/docs/SaleInvoicePartial.md +12 -12
  32. data/docs/SaleInvoicePost.md +12 -12
  33. data/docs/SaleInvoices.md +2 -2
  34. data/docs/SaleItem.md +31 -31
  35. data/docs/SaleList.md +3 -3
  36. data/docs/SaleOrder.md +9 -9
  37. data/docs/SaleOrderLine.md +13 -13
  38. data/docs/SalePayment.md +14 -14
  39. data/docs/SalePaymentLine.md +7 -7
  40. data/docs/SaleQuote.md +8 -8
  41. data/docs/SaleQuoteLine.md +11 -11
  42. data/docs/ShippingAddress.md +11 -11
  43. data/docs/Success.md +1 -1
  44. data/docs/SupplierCustomerAddress.md +9 -9
  45. data/docs/Tax.md +5 -5
  46. data/docs/TaxComponent.md +3 -3
  47. data/docs/Taxes.md +3 -3
  48. data/docs/Webhook.md +10 -10
  49. data/docs/Webhooks.md +1 -1
  50. data/lib/dear-inventory-ruby/models/supplier_customer_address.rb +7 -7
  51. data/lib/dear-inventory-ruby/version.rb +1 -1
  52. data/spec/.DS_Store +0 -0
  53. data/spec/models/supplier_customer_address_spec.rb +1 -1
  54. metadata +3 -7
@@ -4,19 +4,19 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **product_id** | **String** | Product identifier referenced by this Line. Required If CombineAdditionalCharges param exist for this endpoint and it have values = false | [optional]
8
- **sku** | **String** | Product SKU referenced by this Line. Required If CombineAdditionalCharges param exist for this endpoint and it have values = false | [optional]
9
- **name** | **String** | Product Name referenced by this Line |
10
- **quantity** | **Float** | Product or service quantity. Minimal value is 1. |
11
- **price** | **Float** | Price per unit in Customer currency |
12
- **discount** | **Float** | Discount. Value between 0 and 100. For free items discount is 100. Default value is 0 | [optional]
13
- **tax** | **Float** | Tax | [optional]
14
- **average_cost** | **Float** | Average product cost | [optional]
15
- **tax_rule** | **String** | Line Tax Rule name. | [optional]
16
- **comment** | **String** | Comment for this line | [optional]
17
- **drop_ship** | **Boolean** | Required if product is not a service with “Optional Drop Ship” mode. Otherwise it ignored. | [optional]
18
- **backorder_quantity** | **Float** | Quantity of the ordered product on backorder. Read Only for POST | [optional]
19
- **total** | **Float** | Line Total. For validation | [optional]
7
+ **product_id** | **String** | Product identifier referenced by this Line. Required If CombineAdditionalCharges param exist for this endpoint and it have values = false | [optional]
8
+ **sku** | **String** | Product SKU referenced by this Line. Required If CombineAdditionalCharges param exist for this endpoint and it have values = false | [optional]
9
+ **name** | **String** | Product Name referenced by this Line |
10
+ **quantity** | **Float** | Product or service quantity. Minimal value is 1. |
11
+ **price** | **Float** | Price per unit in Customer currency |
12
+ **discount** | **Float** | Discount. Value between 0 and 100. For free items discount is 100. Default value is 0 | [optional]
13
+ **tax** | **Float** | Tax | [optional]
14
+ **average_cost** | **Float** | Average product cost | [optional]
15
+ **tax_rule** | **String** | Line Tax Rule name. | [optional]
16
+ **comment** | **String** | Comment for this line | [optional]
17
+ **drop_ship** | **Boolean** | Required if product is not a service with “Optional Drop Ship” mode. Otherwise it ignored. | [optional]
18
+ **backorder_quantity** | **Float** | Quantity of the ordered product on backorder. Read Only for POST | [optional]
19
+ **total** | **Float** | Line Total. For validation | [optional]
20
20
 
21
21
  ## Code Sample
22
22
 
data/docs/SalePayment.md CHANGED
@@ -4,20 +4,20 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **sale_id** | **String** | Unique DEAR Sale ID | [optional]
8
- **task_id** | **String** | Unique DEAR Sale Task ID. Available for POST | [optional]
9
- **id** | **String** | Identifier of payment. Available for PUT | [optional]
10
- **sale_order_number** | **String** | Sale Order Number | [optional]
11
- **invoice_number** | **String** | Sale Task Invoice Number | [optional]
12
- **credit_note_number** | **String** | Sale Task Credit Note Number | [optional]
13
- **type** | **String** | Available values are PREPAYMENT,PAYMENT,REFUND. Available for POST | [optional]
14
- **reference** | **String** | Payment reference number. Available for POST/PUT | [optional]
15
- **amount** | **Float** | Payment amount in customer currency. Available for POST/PUT | [optional]
16
- **date_paid** | **Date** | Date when payment has been made. Available for POST/PUT | [optional]
17
- **account** | **String** | Account Code of the bank/payment account from Chart of accounts. Available for POST/PUT | [optional]
18
- **currency_rate** | **Float** | Currency Conversion rate expressed as number of Base currency units for one Customer currency unit. Available for POST/PUT | [optional]
19
- **date_created** | **Date** | Date of creation payment record. | [optional]
20
- **credit_id** | **String** | Id for Sale Credit entry | [optional]
7
+ **sale_id** | **String** | Unique DEAR Sale ID | [optional]
8
+ **task_id** | **String** | Unique DEAR Sale Task ID. Available for POST | [optional]
9
+ **id** | **String** | Identifier of payment. Available for PUT | [optional]
10
+ **sale_order_number** | **String** | Sale Order Number | [optional]
11
+ **invoice_number** | **String** | Sale Task Invoice Number | [optional]
12
+ **credit_note_number** | **String** | Sale Task Credit Note Number | [optional]
13
+ **type** | **String** | Available values are PREPAYMENT,PAYMENT,REFUND. Available for POST | [optional]
14
+ **reference** | **String** | Payment reference number. Available for POST/PUT | [optional]
15
+ **amount** | **Float** | Payment amount in customer currency. Available for POST/PUT | [optional]
16
+ **date_paid** | **Date** | Date when payment has been made. Available for POST/PUT | [optional]
17
+ **account** | **String** | Account Code of the bank/payment account from Chart of accounts. Available for POST/PUT | [optional]
18
+ **currency_rate** | **Float** | Currency Conversion rate expressed as number of Base currency units for one Customer currency unit. Available for POST/PUT | [optional]
19
+ **date_created** | **Date** | Date of creation payment record. | [optional]
20
+ **credit_id** | **String** | Id for Sale Credit entry | [optional]
21
21
 
22
22
  ## Code Sample
23
23
 
@@ -4,13 +4,13 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **id** | **String** | Identifier of payment. | [optional]
8
- **reference** | **String** | Payment reference number. | [optional]
9
- **amount** | **Float** | Decimal with up to 2 decimal places. Payment amount in customer currency. | [optional]
10
- **date_paid** | **Date** | Date when payment has been made. | [optional]
11
- **account** | **String** | Account Code of the bank/payment account from Chart of accounts. | [optional]
12
- **currency_rate** | **Float** | Decimal with up to 4 decimal places. Currency Conversion rate expressed as number of Base currency units for one Customer currency unit. | [optional]
13
- **date_created** | **Date** | Date of creation payment record. | [optional]
7
+ **id** | **String** | Identifier of payment. | [optional]
8
+ **reference** | **String** | Payment reference number. | [optional]
9
+ **amount** | **Float** | Decimal with up to 2 decimal places. Payment amount in customer currency. | [optional]
10
+ **date_paid** | **Date** | Date when payment has been made. | [optional]
11
+ **account** | **String** | Account Code of the bank/payment account from Chart of accounts. | [optional]
12
+ **currency_rate** | **Float** | Decimal with up to 4 decimal places. Currency Conversion rate expressed as number of Base currency units for one Customer currency unit. | [optional]
13
+ **date_created** | **Date** | Date of creation payment record. | [optional]
14
14
 
15
15
  ## Code Sample
16
16
 
data/docs/SaleQuote.md CHANGED
@@ -4,15 +4,15 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **sale_id** | **String** | Unique DEAR Sale ID |
7
+ **sale_id** | **String** | Unique DEAR Sale ID |
8
8
  **combine_additional_charges** | **Boolean** | If `true` then `additional charges` lines displayed in `Lines` array | [default to false]
9
- **memo** | **String** | Additional information for Quote. |
10
- **status** | **String** | Quote Status. Possible Values are values. For POST only `DRAFT` and `AUTHORISED` values accepted |
11
- **lines** | [**Array<SaleQuoteLine>**](SaleQuoteLine.md) | | [optional]
12
- **additional_charges** | [**Array<SaleAdditionalCharge>**](SaleAdditionalCharge.md) | | [optional]
13
- **total_before_tax** | **Float** | Decimal with up to 4 decimal places. Sum of quote lines and additional charges without taxes. Not required for POST. |
14
- **tax** | **Float** | Decimal with up to 4 decimal places. Sum of quote lines and additional charges taxes. Not required for POST. |
15
- **total** | **Float** | Decimal with up to 4 decimal places. Sum of quote lines and additional charges with taxes. Not required for POST. |
9
+ **memo** | **String** | Additional information for Quote. |
10
+ **status** | **String** | Quote Status. Possible Values are values. For POST only `DRAFT` and `AUTHORISED` values accepted |
11
+ **lines** | [**Array<SaleQuoteLine>**](SaleQuoteLine.md) | | [optional]
12
+ **additional_charges** | [**Array<SaleAdditionalCharge>**](SaleAdditionalCharge.md) | | [optional]
13
+ **total_before_tax** | **Float** | Decimal with up to 4 decimal places. Sum of quote lines and additional charges without taxes. Not required for POST. |
14
+ **tax** | **Float** | Decimal with up to 4 decimal places. Sum of quote lines and additional charges taxes. Not required for POST. |
15
+ **total** | **Float** | Decimal with up to 4 decimal places. Sum of quote lines and additional charges with taxes. Not required for POST. |
16
16
 
17
17
  ## Code Sample
18
18
 
@@ -4,17 +4,17 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **product_id** | **String** | Product identifier referenced by this Line. Required If CombineAdditionalCharges param exist for this endpoint and it have values = false | [optional]
8
- **sku** | **String** | Product SKU referenced by this Line. Required If CombineAdditionalCharges param exist for this endpoint and it have values = false | [optional]
9
- **name** | **String** | Product Name referenced by this Line |
10
- **quantity** | **Float** | Product or service quantity. Minimal value is 1. |
11
- **price** | **Float** | Price per unit in Customer currency |
12
- **discount** | **Float** | Discount. Value between 0 and 100. For free items discount is 100. Default value is 0 | [optional]
13
- **tax** | **Float** | Tax | [optional]
14
- **average_cost** | **Float** | Average product cost | [optional]
15
- **tax_rule** | **String** | Line Tax Rule name. | [optional]
16
- **comment** | **String** | Comment for this line | [optional]
17
- **total** | **Float** | Line Total. For validation | [optional]
7
+ **product_id** | **String** | Product identifier referenced by this Line. Required If CombineAdditionalCharges param exist for this endpoint and it have values = false | [optional]
8
+ **sku** | **String** | Product SKU referenced by this Line. Required If CombineAdditionalCharges param exist for this endpoint and it have values = false | [optional]
9
+ **name** | **String** | Product Name referenced by this Line |
10
+ **quantity** | **Float** | Product or service quantity. Minimal value is 1. |
11
+ **price** | **Float** | Price per unit in Customer currency |
12
+ **discount** | **Float** | Discount. Value between 0 and 100. For free items discount is 100. Default value is 0 | [optional]
13
+ **tax** | **Float** | Tax | [optional]
14
+ **average_cost** | **Float** | Average product cost | [optional]
15
+ **tax_rule** | **String** | Line Tax Rule name. | [optional]
16
+ **comment** | **String** | Comment for this line | [optional]
17
+ **total** | **Float** | Line Total. For validation | [optional]
18
18
 
19
19
  ## Code Sample
20
20
 
@@ -4,17 +4,17 @@
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** | Post code | [optional]
14
- **country** | **String** | Country |
15
- **company** | **String** | Company Name | [optional]
16
- **contact** | **String** | Contact | [optional]
17
- **ship_to_other** | **Boolean** | If false and Customer's address matching Line 1 not found, than new customer shipping address will be created. | [optional]
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** | Post code | [optional]
14
+ **country** | **String** | Country |
15
+ **company** | **String** | Company Name | [optional]
16
+ **contact** | **String** | Contact | [optional]
17
+ **ship_to_other** | **Boolean** | If false and Customer's address matching Line 1 not found, than new customer shipping address will be created. | [optional]
18
18
 
19
19
  ## Code Sample
20
20
 
data/docs/Success.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **success** | **Boolean** | Success | [optional]
7
+ **success** | **Boolean** | Success | [optional]
8
8
 
9
9
  ## Code Sample
10
10
 
@@ -4,14 +4,14 @@
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
- **line1** | **String** | Address Line 1 | [optional]
9
- **line2** | **String** | Address Line 2 | [optional]
10
- **city** | **String** | City / Suburb | [optional]
11
- **state** | **String** | State / Province | [optional]
12
- **post_code** | **String** | Zip / PostCode | [optional]
13
- **country** | **String** | Country name |
14
- **type** | **String** | Address Type. Should be one of the following values: `Billing`, `Business` or `Shipping`. |
7
+ **id** | **String** | If passed in PUT method, entry will be searched by id, found entry will be updated, otherwise created | [optional]
8
+ **line1** | **String** | Address Line 1 | [optional]
9
+ **line2** | **String** | Address Line 2 | [optional]
10
+ **city** | **String** | City / Suburb | [optional]
11
+ **state** | **String** | State / Province | [optional]
12
+ **postcode** | **String** | Zip / PostCode | [optional]
13
+ **country** | **String** | Country name |
14
+ **type** | **String** | Address Type. Should be one of the following values: `Billing`, `Business` or `Shipping`. |
15
15
  **default_for_type** | **Boolean** | Points that Address is used as default for chosen Type. `false` as default. | [optional] [default to false]
16
16
 
17
17
  ## Code Sample
@@ -24,7 +24,7 @@ instance = DearInventoryRuby::SupplierCustomerAddress.new(id: nil,
24
24
  line2: nil,
25
25
  city: nil,
26
26
  state: nil,
27
- post_code: nil,
27
+ postcode: nil,
28
28
  country: nil,
29
29
  type: nil,
30
30
  default_for_type: nil)
data/docs/Tax.md CHANGED
@@ -4,15 +4,15 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **id** | **String** | Unique ID | [optional]
8
- **name** | **String** | Tax Name |
9
- **account** | **String** | ChartOfAccount Code with Class == `LIABILITY` && Status == `ACTIVE` |
7
+ **id** | **String** | Unique ID | [optional]
8
+ **name** | **String** | Tax Name |
9
+ **account** | **String** | ChartOfAccount Code with Class == `LIABILITY` && Status == `ACTIVE` |
10
10
  **is_active** | **Boolean** | Points that tax is Active | [default to true]
11
11
  **tax_inclusive** | **Boolean** | Points that tax is Inclusive | [default to true]
12
- **tax_percent** | **Float** | Tax percentage, should be between 0 and 100. Read-only | [optional]
12
+ **tax_percent** | **Float** | Tax percentage, should be between 0 and 100. Read-only | [optional]
13
13
  **is_tax_for_sale** | **Boolean** | Points that tax is used for Sale | [optional] [default to true]
14
14
  **is_tax_for_purchase** | **Boolean** | Points that tax is used for Purchase | [optional] [default to true]
15
- **components** | [**Array<TaxComponent>**](TaxComponent.md) | List of Tax Components | [optional]
15
+ **components** | [**Array<TaxComponent>**](TaxComponent.md) | List of Tax Components | [optional]
16
16
 
17
17
  ## Code Sample
18
18
 
data/docs/TaxComponent.md CHANGED
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **name** | **String** | Name of product. Read-only. |
7
+ **name** | **String** | Name of product. Read-only. |
8
8
  **percent** | **Float** | Cost. Required if product type is `Service`. Default value = 0. | [default to 0]
9
- **account_code** | **String** | ChartOfAccount Code with Class == `LIABILITY` && Status == `ACTIVE` |
10
- **component_order** | **Integer** | The order of sequence taxes components. |
9
+ **account_code** | **String** | ChartOfAccount Code with Class == `LIABILITY` && Status == `ACTIVE` |
10
+ **component_order** | **Integer** | The order of sequence taxes components. |
11
11
 
12
12
  ## Code Sample
13
13
 
data/docs/Taxes.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
- **tax_rule_list** | [**Array<Tax>**](Tax.md) | Array of Taxes | [optional]
7
+ **total** | **String** | Total | [optional]
8
+ **page** | **String** | Page | [optional]
9
+ **tax_rule_list** | [**Array<Tax>**](Tax.md) | Array of Taxes | [optional]
10
10
 
11
11
  ## Code Sample
12
12
 
data/docs/Webhook.md CHANGED
@@ -4,16 +4,16 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **id** | **String** | Unique ID. Required for PUT | [optional]
8
- **type** | **String** | Webhook Type. Available values are values |
9
- **name** | **String** | Webhook Friendly Name. Read-only. | [optional]
10
- **is_active** | **Boolean** | Is webhook active. |
11
- **external_url** | **String** | Callback url. |
12
- **external_authorization_type** | **String** | Authorisation type. Available values are `noauth`, `basicauth` and `bearerauth` |
13
- **external_user_name** | **String** | User name. Required if `ExternalAuthorizationType` is `basicauth` | [optional]
14
- **external_password** | **String** | Password. Required if `ExternalAuthorizationType` is `basicauth` | [optional]
15
- **external_bearer_token** | **String** | Bearer token. Required if `ExternalAuthorizationType` is `bearerauth` | [optional]
16
- **external_headers** | [**Array<ExternalHeader>**](ExternalHeader.md) | Additional headers. | [optional]
7
+ **id** | **String** | Unique ID. Required for PUT | [optional]
8
+ **type** | **String** | Webhook Type. Available values are values |
9
+ **name** | **String** | Webhook Friendly Name. Read-only. | [optional]
10
+ **is_active** | **Boolean** | Is webhook active. |
11
+ **external_url** | **String** | Callback url. |
12
+ **external_authorization_type** | **String** | Authorisation type. Available values are `noauth`, `basicauth` and `bearerauth` |
13
+ **external_user_name** | **String** | User name. Required if `ExternalAuthorizationType` is `basicauth` | [optional]
14
+ **external_password** | **String** | Password. Required if `ExternalAuthorizationType` is `basicauth` | [optional]
15
+ **external_bearer_token** | **String** | Bearer token. Required if `ExternalAuthorizationType` is `bearerauth` | [optional]
16
+ **external_headers** | [**Array<ExternalHeader>**](ExternalHeader.md) | Additional headers. | [optional]
17
17
 
18
18
  ## Code Sample
19
19
 
data/docs/Webhooks.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **webhooks** | [**Array<Webhook>**](Webhook.md) | Array of Webhooks | [optional]
7
+ **webhooks** | [**Array<Webhook>**](Webhook.md) | Array of Webhooks | [optional]
8
8
 
9
9
  ## Code Sample
10
10
 
@@ -30,7 +30,7 @@ module DearInventoryRuby
30
30
  attr_accessor :state
31
31
 
32
32
  # Zip / PostCode
33
- attr_accessor :post_code
33
+ attr_accessor :postcode
34
34
 
35
35
  # Country name
36
36
  attr_accessor :country
@@ -49,7 +49,7 @@ module DearInventoryRuby
49
49
  :'line2' => :'Line2',
50
50
  :'city' => :'City',
51
51
  :'state' => :'State',
52
- :'post_code' => :'PostCode',
52
+ :'postcode' => :'Postcode',
53
53
  :'country' => :'Country',
54
54
  :'type' => :'Type',
55
55
  :'default_for_type' => :'DefaultForType'
@@ -64,7 +64,7 @@ module DearInventoryRuby
64
64
  :'line2' => :'String',
65
65
  :'city' => :'String',
66
66
  :'state' => :'String',
67
- :'post_code' => :'String',
67
+ :'postcode' => :'String',
68
68
  :'country' => :'String',
69
69
  :'type' => :'String',
70
70
  :'default_for_type' => :'Boolean'
@@ -112,8 +112,8 @@ module DearInventoryRuby
112
112
  self.state = attributes[:'state']
113
113
  end
114
114
 
115
- if attributes.key?(:'post_code')
116
- self.post_code = attributes[:'post_code']
115
+ if attributes.key?(:'postcode')
116
+ self.postcode = attributes[:'postcode']
117
117
  end
118
118
 
119
119
  if attributes.key?(:'country')
@@ -164,7 +164,7 @@ module DearInventoryRuby
164
164
  line2 == o.line2 &&
165
165
  city == o.city &&
166
166
  state == o.state &&
167
- post_code == o.post_code &&
167
+ postcode == o.postcode &&
168
168
  country == o.country &&
169
169
  type == o.type &&
170
170
  default_for_type == o.default_for_type
@@ -179,7 +179,7 @@ module DearInventoryRuby
179
179
  # Calculates hash code according to all attributes.
180
180
  # @return [Integer] Hash code
181
181
  def hash
182
- [id, line1, line2, city, state, post_code, country, type, default_for_type].hash
182
+ [id, line1, line2, city, state, postcode, country, type, default_for_type].hash
183
183
  end
184
184
 
185
185
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module DearInventoryRuby
14
- VERSION = '0.2.11'
14
+ VERSION = '0.2.12'
15
15
  end
data/spec/.DS_Store CHANGED
Binary file
@@ -62,7 +62,7 @@ describe 'SupplierCustomerAddress' do
62
62
  end
63
63
  end
64
64
 
65
- describe 'test attribute "post_code"' do
65
+ describe 'test attribute "postcode"' do
66
66
  it 'should work' do
67
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
68
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dear-inventory-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.11
4
+ version: 0.2.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nhan Nguyen
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-02-22 00:00:00.000000000 Z
10
+ date: 2025-03-15 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: faraday
@@ -249,7 +248,6 @@ metadata:
249
248
  source_code_uri: https://github.com/nnhansg/dear-ruby
250
249
  changelog_uri: https://github.com/nnhansg/dear-ruby/blob/master/CHANGELOG.md
251
250
  bug_tracker_uri: https://github.com/nnhansg/dear-ruby/issues
252
- post_install_message:
253
251
  rdoc_options: []
254
252
  require_paths:
255
253
  - lib
@@ -264,9 +262,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
264
262
  - !ruby/object:Gem::Version
265
263
  version: '0'
266
264
  requirements: []
267
- rubyforge_project:
268
- rubygems_version: 2.7.3
269
- signing_key:
265
+ rubygems_version: 3.6.2
270
266
  specification_version: 4
271
267
  summary: DEAR Inventory Ruby SDK generated from DEAR-OpenAPI Spec 3.0 for https://inventory.dearsystems.com
272
268
  test_files: