propertyware 1.2.0 → 1.3.0

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 (69) hide show
  1. checksums.yaml +4 -4
  2. data/.openapi-generator/FILES +6 -3
  3. data/.tool-versions +2 -0
  4. data/DOCS.md +7 -5
  5. data/Gemfile.lock +4 -2
  6. data/bin/config.yml +1 -1
  7. data/bin/fix_json.rb +0 -1
  8. data/bin/propertyware.json +218 -178
  9. data/docs/Adjustment.md +40 -0
  10. data/docs/BankDeposit.md +1 -1
  11. data/docs/ChargeTx.md +1 -5
  12. data/docs/ContactCategory.md +20 -0
  13. data/docs/ContactsApi.md +79 -0
  14. data/docs/DocumentsApi.md +4 -4
  15. data/docs/Inspection.md +8 -0
  16. data/docs/LeasesApi.md +19 -19
  17. data/docs/OwnerContribution.md +5 -5
  18. data/docs/OwnerDraw.md +1 -1
  19. data/docs/Portfolio.md +2 -0
  20. data/docs/Refund.md +5 -5
  21. data/docs/SaveAdjustment.md +2 -2
  22. data/docs/SaveBankDeposit.md +1 -1
  23. data/docs/SaveContact.md +2 -0
  24. data/docs/SaveDiscount.md +1 -1
  25. data/docs/SaveOwnerContribution.md +5 -5
  26. data/docs/SaveOwnerDraw.md +5 -5
  27. data/docs/SavePayment.md +6 -6
  28. data/docs/SavePortfolio.md +6 -0
  29. data/docs/SaveRefund.md +6 -6
  30. data/lib/propertyware/api/contacts_api.rb +57 -0
  31. data/lib/propertyware/api/documents_api.rb +4 -4
  32. data/lib/propertyware/api/leases_api.rb +14 -14
  33. data/lib/propertyware/models/account.rb +1 -1
  34. data/lib/propertyware/models/{transaction.rb → adjustment.rb} +24 -118
  35. data/lib/propertyware/models/auto_journal_entry.rb +2 -2
  36. data/lib/propertyware/models/bank_deposit.rb +1 -1
  37. data/lib/propertyware/models/charge.rb +2 -2
  38. data/lib/propertyware/models/charge_tx.rb +4 -24
  39. data/lib/propertyware/models/contact_category.rb +229 -0
  40. data/lib/propertyware/models/inspection.rb +41 -1
  41. data/lib/propertyware/models/owner_contribution.rb +0 -25
  42. data/lib/propertyware/models/owner_draw.rb +0 -5
  43. data/lib/propertyware/models/portfolio.rb +11 -1
  44. data/lib/propertyware/models/refund.rb +2 -27
  45. data/lib/propertyware/models/save_adjustment.rb +2 -2
  46. data/lib/propertyware/models/save_bank_deposit.rb +1 -1
  47. data/lib/propertyware/models/save_contact.rb +11 -1
  48. data/lib/propertyware/models/save_discount.rb +1 -1
  49. data/lib/propertyware/models/save_owner_contribution.rb +5 -5
  50. data/lib/propertyware/models/save_owner_draw.rb +5 -5
  51. data/lib/propertyware/models/save_payment.rb +6 -6
  52. data/lib/propertyware/models/save_portfolio.rb +31 -1
  53. data/lib/propertyware/models/save_refund.rb +7 -17
  54. data/lib/propertyware/version.rb +1 -1
  55. data/lib/propertyware.rb +2 -1
  56. data/spec/api/contacts_api_spec.rb +11 -0
  57. data/spec/api/documents_api_spec.rb +2 -2
  58. data/spec/api/leases_api_spec.rb +5 -5
  59. data/spec/models/{transaction_spec.rb → adjustment_spec.rb} +6 -52
  60. data/spec/models/auto_journal_entry_spec.rb +1 -1
  61. data/spec/models/charge_spec.rb +1 -1
  62. data/spec/models/charge_tx_spec.rb +0 -12
  63. data/spec/models/contact_category_spec.rb +40 -0
  64. data/spec/models/inspection_spec.rb +24 -0
  65. data/spec/models/portfolio_spec.rb +6 -0
  66. data/spec/models/save_contact_spec.rb +6 -0
  67. data/spec/models/save_portfolio_spec.rb +18 -0
  68. metadata +11 -6
  69. data/docs/Transaction.md +0 -54
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1669c9c23ae0f07666e3cdf4db414966bd1a128a462819dff567675d1583221d
4
- data.tar.gz: 4aac8647075174b0d7c11d9552a7fb8d06bef99cf9b7b65b600587a35a20211a
3
+ metadata.gz: ee0b299a619f282e5be9dc309e1197c16df21157450ececfd07b5fab719da62c
4
+ data.tar.gz: ca30c7cf67c285788f062cbbb273b276cc224f9d8617d1c48be76bfb10826dbb
5
5
  SHA512:
6
- metadata.gz: 5ecda309a51e560be127330a6a2560d201985868099c914853797dd41ac65e5f25e6e0c1ac3844d0ee8a7c7149a328cb9de5767acc12f4adb9d97d3d25760c31
7
- data.tar.gz: 995e2f611cb95dea68403d7a6584734da5584750558a2efc0093c10ea7f49eef4ac6053b694644ef6f5ec0c9973a84dd8d0d77193735977599af44269f7b4ff1
6
+ metadata.gz: b369827269af4ab79e4034c863397561e913b8a22c0e970595031ff712e6aed59b33d63ca44ef8f71359a493391543e7e1b860b37b213b79b7cff5c698a736c1
7
+ data.tar.gz: 2e81c80d7615e179253058849f10d97580332c1efbf746592266ea8fd5cc09452f6619b63fa9012bb34423924e501467c39afbfaa8ade10a7be5c1fb3b9288d0
@@ -9,6 +9,7 @@ Rakefile
9
9
  docs/Account.md
10
10
  docs/AccountingApi.md
11
11
  docs/Address.md
12
+ docs/Adjustment.md
12
13
  docs/Amenity.md
13
14
  docs/AutoJournalEntry.md
14
15
  docs/AutoPayment.md
@@ -31,6 +32,7 @@ docs/Check.md
31
32
  docs/CheckSplit.md
32
33
  docs/Comment.md
33
34
  docs/Contact.md
35
+ docs/ContactCategory.md
34
36
  docs/ContactsApi.md
35
37
  docs/Conversation.md
36
38
  docs/CreditCardAccount.md
@@ -123,7 +125,6 @@ docs/SaveWorkOrderTask.md
123
125
  docs/SplitPaid.md
124
126
  docs/SplitPay.md
125
127
  docs/Task.md
126
- docs/Transaction.md
127
128
  docs/Unit.md
128
129
  docs/UnitsApi.md
129
130
  docs/UpdateDocument.md
@@ -153,6 +154,7 @@ lib/propertyware/api_error.rb
153
154
  lib/propertyware/configuration.rb
154
155
  lib/propertyware/models/account.rb
155
156
  lib/propertyware/models/address.rb
157
+ lib/propertyware/models/adjustment.rb
156
158
  lib/propertyware/models/amenity.rb
157
159
  lib/propertyware/models/auto_journal_entry.rb
158
160
  lib/propertyware/models/auto_payment.rb
@@ -173,6 +175,7 @@ lib/propertyware/models/check.rb
173
175
  lib/propertyware/models/check_split.rb
174
176
  lib/propertyware/models/comment.rb
175
177
  lib/propertyware/models/contact.rb
178
+ lib/propertyware/models/contact_category.rb
176
179
  lib/propertyware/models/conversation.rb
177
180
  lib/propertyware/models/credit_card_account.rb
178
181
  lib/propertyware/models/credit_memo.rb
@@ -257,7 +260,6 @@ lib/propertyware/models/save_work_order_task.rb
257
260
  lib/propertyware/models/split_paid.rb
258
261
  lib/propertyware/models/split_pay.rb
259
262
  lib/propertyware/models/task.rb
260
- lib/propertyware/models/transaction.rb
261
263
  lib/propertyware/models/unit.rb
262
264
  lib/propertyware/models/update_document.rb
263
265
  lib/propertyware/models/update_lease_journal_entry.rb
@@ -283,6 +285,7 @@ spec/api_client_spec.rb
283
285
  spec/configuration_spec.rb
284
286
  spec/models/account_spec.rb
285
287
  spec/models/address_spec.rb
288
+ spec/models/adjustment_spec.rb
286
289
  spec/models/amenity_spec.rb
287
290
  spec/models/auto_journal_entry_spec.rb
288
291
  spec/models/auto_payment_spec.rb
@@ -302,6 +305,7 @@ spec/models/charge_tx_spec.rb
302
305
  spec/models/check_spec.rb
303
306
  spec/models/check_split_spec.rb
304
307
  spec/models/comment_spec.rb
308
+ spec/models/contact_category_spec.rb
305
309
  spec/models/contact_spec.rb
306
310
  spec/models/conversation_spec.rb
307
311
  spec/models/credit_card_account_spec.rb
@@ -387,7 +391,6 @@ spec/models/save_work_order_task_spec.rb
387
391
  spec/models/split_paid_spec.rb
388
392
  spec/models/split_pay_spec.rb
389
393
  spec/models/task_spec.rb
390
- spec/models/transaction_spec.rb
391
394
  spec/models/unit_spec.rb
392
395
  spec/models/update_document_spec.rb
393
396
  spec/models/update_lease_journal_entry_spec.rb
data/.tool-versions ADDED
@@ -0,0 +1,2 @@
1
+ nodejs 18.18.0
2
+ ruby 3.1.2
data/DOCS.md CHANGED
@@ -309,7 +309,7 @@ If you are unable to resolve your issue after reviewing the API documentation ou
309
309
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
310
310
 
311
311
  - API version: 1.0
312
- - Package version: 1.2.0
312
+ - Package version: 1.3.0
313
313
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
314
314
 
315
315
  ## Installation
@@ -325,16 +325,16 @@ gem build propertyware.gemspec
325
325
  Then either install the gem locally:
326
326
 
327
327
  ```shell
328
- gem install ./propertyware-1.2.0.gem
328
+ gem install ./propertyware-1.3.0.gem
329
329
  ```
330
330
 
331
- (for development, run `gem install --dev ./propertyware-1.2.0.gem` to install the development dependencies)
331
+ (for development, run `gem install --dev ./propertyware-1.3.0.gem` to install the development dependencies)
332
332
 
333
333
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
334
334
 
335
335
  Finally add this to the Gemfile:
336
336
 
337
- gem 'propertyware', '~> 1.2.0'
337
+ gem 'propertyware', '~> 1.3.0'
338
338
 
339
339
  ### Install from Git
340
340
 
@@ -448,6 +448,7 @@ Class | Method | HTTP request | Description
448
448
  *Propertyware::ContactsApi* | [**delete_contact**](docs/ContactsApi.md#delete_contact) | **DELETE** /contacts/{contactID} | Delete a contact (BETA)
449
449
  *Propertyware::ContactsApi* | [**delete_contact_conversation**](docs/ContactsApi.md#delete_contact_conversation) | **DELETE** /contacts/{contactID}/conversations/{conversationID} | Delete a contact conversation (BETA)
450
450
  *Propertyware::ContactsApi* | [**get_contact**](docs/ContactsApi.md#get_contact) | **GET** /contacts/{contactID} | Retrieve a contact
451
+ *Propertyware::ContactsApi* | [**get_contact_categories**](docs/ContactsApi.md#get_contact_categories) | **GET** /contacts/categories | Retrieve all contact categories
451
452
  *Propertyware::ContactsApi* | [**get_contact_conversation**](docs/ContactsApi.md#get_contact_conversation) | **GET** /contacts/{contactID}/conversations/{conversationID} | Retrieve a contact conversation
452
453
  *Propertyware::ContactsApi* | [**get_contact_conversations**](docs/ContactsApi.md#get_contact_conversations) | **GET** /contacts/{contactID}/conversations | Retrieve all contact conversations
453
454
  *Propertyware::ContactsApi* | [**get_contacts**](docs/ContactsApi.md#get_contacts) | **GET** /contacts | Retrieve all contacts
@@ -553,6 +554,7 @@ Class | Method | HTTP request | Description
553
554
 
554
555
  - [Propertyware::Account](docs/Account.md)
555
556
  - [Propertyware::Address](docs/Address.md)
557
+ - [Propertyware::Adjustment](docs/Adjustment.md)
556
558
  - [Propertyware::Amenity](docs/Amenity.md)
557
559
  - [Propertyware::AutoJournalEntry](docs/AutoJournalEntry.md)
558
560
  - [Propertyware::AutoPayment](docs/AutoPayment.md)
@@ -573,6 +575,7 @@ Class | Method | HTTP request | Description
573
575
  - [Propertyware::CheckSplit](docs/CheckSplit.md)
574
576
  - [Propertyware::Comment](docs/Comment.md)
575
577
  - [Propertyware::Contact](docs/Contact.md)
578
+ - [Propertyware::ContactCategory](docs/ContactCategory.md)
576
579
  - [Propertyware::Conversation](docs/Conversation.md)
577
580
  - [Propertyware::CreditCardAccount](docs/CreditCardAccount.md)
578
581
  - [Propertyware::CreditMemo](docs/CreditMemo.md)
@@ -657,7 +660,6 @@ Class | Method | HTTP request | Description
657
660
  - [Propertyware::SplitPaid](docs/SplitPaid.md)
658
661
  - [Propertyware::SplitPay](docs/SplitPay.md)
659
662
  - [Propertyware::Task](docs/Task.md)
660
- - [Propertyware::Transaction](docs/Transaction.md)
661
663
  - [Propertyware::Unit](docs/Unit.md)
662
664
  - [Propertyware::UpdateDocument](docs/UpdateDocument.md)
663
665
  - [Propertyware::UpdateLeaseJournalEntry](docs/UpdateLeaseJournalEntry.md)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- propertyware (1.2.0)
4
+ propertyware (1.3.0)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart
7
7
 
@@ -9,10 +9,12 @@ GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
11
  ast (2.4.2)
12
+ base64 (0.1.1)
12
13
  byebug (11.1.3)
13
14
  coderay (1.1.3)
14
15
  diff-lcs (1.5.0)
15
- faraday (2.7.4)
16
+ faraday (2.7.11)
17
+ base64
16
18
  faraday-net_http (>= 2.0, < 3.1)
17
19
  ruby2_keywords (>= 0.0.4)
18
20
  faraday-multipart (1.0.4)
data/bin/config.yml CHANGED
@@ -4,4 +4,4 @@ additionalProperties:
4
4
  gemHomepage: https://github.com/LeadSimple/propertyware
5
5
  gemDescription: API client library for Propertyware
6
6
  gemRequiredRubyVersion: "> 2.6.0"
7
- gemVersion: 1.2.0
7
+ gemVersion: 1.3.0
data/bin/fix_json.rb CHANGED
@@ -1,4 +1,3 @@
1
- require 'pry'
2
1
  require 'json'
3
2
 
4
3
  file = File.read('bin/propertyware.json')