propertyware 1.0.5 → 1.1.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.
- checksums.yaml +4 -4
- data/.openapi-generator/FILES +9 -0
- data/DOCS.md +13 -4
- data/Gemfile.lock +2 -2
- data/bin/config.yml +1 -1
- data/bin/fix_json.rb +8 -7
- data/bin/propertyware.json +1 -1
- data/docs/Building.md +2 -2
- data/docs/CreditMemo.md +42 -0
- data/docs/CustomFieldDefinition.md +26 -0
- data/docs/CustomFieldDefinitionsApi.md +89 -0
- data/docs/DocumentsApi.md +176 -2
- data/docs/LeasesApi.md +102 -0
- data/docs/SaveBuilding.md +2 -2
- data/docs/SaveUnit.md +6 -6
- data/docs/Unit.md +2 -2
- data/lib/propertyware/api/accounting_api.rb +1 -1
- data/lib/propertyware/api/bills_api.rb +1 -1
- data/lib/propertyware/api/buildings_api.rb +1 -1
- data/lib/propertyware/api/contacts_api.rb +1 -1
- data/lib/propertyware/api/custom_field_definitions_api.rb +85 -0
- data/lib/propertyware/api/documents_api.rb +154 -3
- data/lib/propertyware/api/health_check_api.rb +1 -1
- data/lib/propertyware/api/inspections_api.rb +1 -1
- data/lib/propertyware/api/leases_api.rb +88 -1
- data/lib/propertyware/api/portfolios_api.rb +1 -1
- data/lib/propertyware/api/prospects_api.rb +1 -1
- data/lib/propertyware/api/units_api.rb +1 -1
- data/lib/propertyware/api/vendors_api.rb +1 -1
- data/lib/propertyware/api/work_orders_api.rb +1 -1
- data/lib/propertyware/api_client.rb +1 -1
- data/lib/propertyware/api_error.rb +1 -1
- data/lib/propertyware/configuration.rb +1 -1
- data/lib/propertyware/models/account.rb +1 -1
- data/lib/propertyware/models/address.rb +1 -1
- data/lib/propertyware/models/amenity.rb +1 -1
- data/lib/propertyware/models/auto_journal_entry.rb +1 -1
- data/lib/propertyware/models/auto_payment.rb +1 -1
- data/lib/propertyware/models/bank.rb +1 -1
- data/lib/propertyware/models/bank_deposit.rb +1 -1
- data/lib/propertyware/models/basic_vendor.rb +1 -1
- data/lib/propertyware/models/bill.rb +1 -1
- data/lib/propertyware/models/bill_paid.rb +1 -1
- data/lib/propertyware/models/bill_pay.rb +1 -1
- data/lib/propertyware/models/bill_payment.rb +1 -1
- data/lib/propertyware/models/bill_split.rb +1 -1
- data/lib/propertyware/models/building.rb +15 -3
- data/lib/propertyware/models/campaign.rb +1 -1
- data/lib/propertyware/models/campaign_source.rb +1 -1
- data/lib/propertyware/models/charge.rb +1 -1
- data/lib/propertyware/models/charge_tx.rb +1 -1
- data/lib/propertyware/models/check.rb +1 -1
- data/lib/propertyware/models/check_split.rb +1 -1
- data/lib/propertyware/models/comment.rb +1 -1
- data/lib/propertyware/models/contact.rb +1 -1
- data/lib/propertyware/models/conversation.rb +1 -1
- data/lib/propertyware/models/credit_card_account.rb +1 -1
- data/lib/propertyware/models/credit_memo.rb +349 -0
- data/lib/propertyware/models/current_asset.rb +1 -1
- data/lib/propertyware/models/current_liability.rb +1 -1
- data/lib/propertyware/models/custom_field.rb +1 -1
- data/lib/propertyware/models/custom_field_definition.rb +254 -0
- data/lib/propertyware/models/discount.rb +1 -1
- data/lib/propertyware/models/document.rb +1 -1
- data/lib/propertyware/models/entry.rb +1 -1
- data/lib/propertyware/models/equity.rb +1 -1
- data/lib/propertyware/models/error_response.rb +1 -1
- data/lib/propertyware/models/expense.rb +1 -1
- data/lib/propertyware/models/gl_item.rb +1 -1
- data/lib/propertyware/models/income.rb +1 -1
- data/lib/propertyware/models/inspection.rb +1 -1
- data/lib/propertyware/models/inspection_area.rb +1 -1
- data/lib/propertyware/models/inspection_item.rb +1 -1
- data/lib/propertyware/models/journal_entry.rb +1 -1
- data/lib/propertyware/models/journal_entry_split.rb +1 -1
- data/lib/propertyware/models/journal_entry_split_response.rb +1 -1
- data/lib/propertyware/models/late_fee_rule.rb +1 -1
- data/lib/propertyware/models/lease.rb +1 -1
- data/lib/propertyware/models/lease_clause.rb +1 -1
- data/lib/propertyware/models/lease_contact.rb +1 -1
- data/lib/propertyware/models/management_fee.rb +1 -1
- data/lib/propertyware/models/management_settings.rb +1 -1
- data/lib/propertyware/models/marketing.rb +1 -1
- data/lib/propertyware/models/non_current_asset.rb +1 -1
- data/lib/propertyware/models/non_current_liability.rb +1 -1
- data/lib/propertyware/models/non_operating_expense.rb +1 -1
- data/lib/propertyware/models/non_operating_inome.rb +1 -1
- data/lib/propertyware/models/note.rb +1 -1
- data/lib/propertyware/models/owner.rb +1 -1
- data/lib/propertyware/models/owner_contribution.rb +1 -1
- data/lib/propertyware/models/owner_draw.rb +1 -1
- data/lib/propertyware/models/payment.rb +1 -1
- data/lib/propertyware/models/payment_charge.rb +1 -1
- data/lib/propertyware/models/portfolio.rb +1 -1
- data/lib/propertyware/models/property_manager.rb +1 -1
- data/lib/propertyware/models/prospect.rb +1 -1
- data/lib/propertyware/models/refund.rb +1 -1
- data/lib/propertyware/models/response_entity.rb +1 -1
- data/lib/propertyware/models/restapi_bulk_error_response.rb +1 -1
- data/lib/propertyware/models/restapi_bulk_success_response.rb +1 -1
- data/lib/propertyware/models/restapi_error.rb +1 -1
- data/lib/propertyware/models/save_account.rb +1 -1
- data/lib/propertyware/models/save_address.rb +2 -2
- data/lib/propertyware/models/save_adjustment.rb +1 -1
- data/lib/propertyware/models/save_auto_charge.rb +1 -1
- data/lib/propertyware/models/save_bank_deposit.rb +1 -1
- data/lib/propertyware/models/save_bill.rb +1 -1
- data/lib/propertyware/models/save_bill_payment.rb +1 -1
- data/lib/propertyware/models/save_bill_split.rb +1 -1
- data/lib/propertyware/models/save_building.rb +4 -4
- data/lib/propertyware/models/save_charge.rb +1 -1
- data/lib/propertyware/models/save_check.rb +1 -1
- data/lib/propertyware/models/save_check_split.rb +1 -1
- data/lib/propertyware/models/save_comment.rb +1 -1
- data/lib/propertyware/models/save_contact.rb +1 -1
- data/lib/propertyware/models/save_conversation.rb +1 -1
- data/lib/propertyware/models/save_credit.rb +1 -1
- data/lib/propertyware/models/save_discount.rb +1 -1
- data/lib/propertyware/models/save_journal_entry_split.rb +1 -1
- data/lib/propertyware/models/save_lease.rb +1 -1
- data/lib/propertyware/models/save_lease_journal_entry.rb +1 -1
- data/lib/propertyware/models/save_owner.rb +1 -1
- data/lib/propertyware/models/save_owner_contribution.rb +1 -1
- data/lib/propertyware/models/save_owner_draw.rb +1 -1
- data/lib/propertyware/models/save_payment.rb +1 -1
- data/lib/propertyware/models/save_portfolio.rb +1 -1
- data/lib/propertyware/models/save_prospect.rb +1 -1
- data/lib/propertyware/models/save_prospect_contact.rb +1 -1
- data/lib/propertyware/models/save_refund.rb +1 -1
- data/lib/propertyware/models/save_unit.rb +189 -17
- data/lib/propertyware/models/save_vendor.rb +1 -1
- data/lib/propertyware/models/save_work_order.rb +1 -1
- data/lib/propertyware/models/save_work_order_task.rb +1 -1
- data/lib/propertyware/models/split_paid.rb +1 -1
- data/lib/propertyware/models/split_pay.rb +1 -1
- data/lib/propertyware/models/task.rb +1 -1
- data/lib/propertyware/models/transaction.rb +1 -1
- data/lib/propertyware/models/unit.rb +15 -3
- data/lib/propertyware/models/update_lease_journal_entry.rb +1 -1
- data/lib/propertyware/models/vendor.rb +1 -1
- data/lib/propertyware/models/work_order.rb +1 -1
- data/lib/propertyware/version.rb +2 -2
- data/lib/propertyware.rb +4 -1
- data/propertyware.gemspec +1 -1
- data/spec/api/accounting_api_spec.rb +1 -1
- data/spec/api/bills_api_spec.rb +1 -1
- data/spec/api/buildings_api_spec.rb +1 -1
- data/spec/api/contacts_api_spec.rb +1 -1
- data/spec/api/custom_field_definitions_api_spec.rb +47 -0
- data/spec/api/documents_api_spec.rb +30 -2
- data/spec/api/health_check_api_spec.rb +1 -1
- data/spec/api/inspections_api_spec.rb +1 -1
- data/spec/api/leases_api_spec.rb +22 -1
- data/spec/api/portfolios_api_spec.rb +1 -1
- data/spec/api/prospects_api_spec.rb +1 -1
- data/spec/api/units_api_spec.rb +1 -1
- data/spec/api/vendors_api_spec.rb +1 -1
- data/spec/api/work_orders_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/account_spec.rb +1 -1
- data/spec/models/address_spec.rb +1 -1
- data/spec/models/amenity_spec.rb +1 -1
- data/spec/models/auto_journal_entry_spec.rb +1 -1
- data/spec/models/auto_payment_spec.rb +1 -1
- data/spec/models/bank_deposit_spec.rb +1 -1
- data/spec/models/bank_spec.rb +1 -1
- data/spec/models/basic_vendor_spec.rb +1 -1
- data/spec/models/bill_paid_spec.rb +1 -1
- data/spec/models/bill_pay_spec.rb +1 -1
- data/spec/models/bill_payment_spec.rb +1 -1
- data/spec/models/bill_spec.rb +1 -1
- data/spec/models/bill_split_spec.rb +1 -1
- data/spec/models/building_spec.rb +5 -1
- data/spec/models/campaign_source_spec.rb +1 -1
- data/spec/models/campaign_spec.rb +1 -1
- data/spec/models/charge_spec.rb +1 -1
- data/spec/models/charge_tx_spec.rb +1 -1
- data/spec/models/check_spec.rb +1 -1
- data/spec/models/check_split_spec.rb +1 -1
- data/spec/models/comment_spec.rb +1 -1
- data/spec/models/contact_spec.rb +1 -1
- data/spec/models/conversation_spec.rb +1 -1
- data/spec/models/credit_card_account_spec.rb +1 -1
- data/spec/models/credit_memo_spec.rb +106 -0
- data/spec/models/current_asset_spec.rb +1 -1
- data/spec/models/current_liability_spec.rb +1 -1
- data/spec/models/custom_field_definition_spec.rb +58 -0
- data/spec/models/custom_field_spec.rb +1 -1
- data/spec/models/discount_spec.rb +1 -1
- data/spec/models/document_spec.rb +1 -1
- data/spec/models/entry_spec.rb +1 -1
- data/spec/models/equity_spec.rb +1 -1
- data/spec/models/error_response_spec.rb +1 -1
- data/spec/models/expense_spec.rb +1 -1
- data/spec/models/gl_item_spec.rb +1 -1
- data/spec/models/income_spec.rb +1 -1
- data/spec/models/inspection_area_spec.rb +1 -1
- data/spec/models/inspection_item_spec.rb +1 -1
- data/spec/models/inspection_spec.rb +1 -1
- data/spec/models/journal_entry_spec.rb +1 -1
- data/spec/models/journal_entry_split_response_spec.rb +1 -1
- data/spec/models/journal_entry_split_spec.rb +1 -1
- data/spec/models/late_fee_rule_spec.rb +1 -1
- data/spec/models/lease_clause_spec.rb +1 -1
- data/spec/models/lease_contact_spec.rb +1 -1
- data/spec/models/lease_spec.rb +1 -1
- data/spec/models/management_fee_spec.rb +1 -1
- data/spec/models/management_settings_spec.rb +1 -1
- data/spec/models/marketing_spec.rb +1 -1
- data/spec/models/non_current_asset_spec.rb +1 -1
- data/spec/models/non_current_liability_spec.rb +1 -1
- data/spec/models/non_operating_expense_spec.rb +1 -1
- data/spec/models/non_operating_inome_spec.rb +1 -1
- data/spec/models/note_spec.rb +1 -1
- data/spec/models/owner_contribution_spec.rb +1 -1
- data/spec/models/owner_draw_spec.rb +1 -1
- data/spec/models/owner_spec.rb +1 -1
- data/spec/models/payment_charge_spec.rb +1 -1
- data/spec/models/payment_spec.rb +1 -1
- data/spec/models/portfolio_spec.rb +1 -1
- data/spec/models/property_manager_spec.rb +1 -1
- data/spec/models/prospect_spec.rb +1 -1
- data/spec/models/refund_spec.rb +1 -1
- data/spec/models/response_entity_spec.rb +1 -1
- data/spec/models/restapi_bulk_error_response_spec.rb +1 -1
- data/spec/models/restapi_bulk_success_response_spec.rb +1 -1
- data/spec/models/restapi_error_spec.rb +1 -1
- data/spec/models/save_account_spec.rb +1 -1
- data/spec/models/save_address_spec.rb +1 -1
- data/spec/models/save_adjustment_spec.rb +1 -1
- data/spec/models/save_auto_charge_spec.rb +1 -1
- data/spec/models/save_bank_deposit_spec.rb +1 -1
- data/spec/models/save_bill_payment_spec.rb +1 -1
- data/spec/models/save_bill_spec.rb +1 -1
- data/spec/models/save_bill_split_spec.rb +1 -1
- data/spec/models/save_building_spec.rb +1 -1
- data/spec/models/save_charge_spec.rb +1 -1
- data/spec/models/save_check_spec.rb +1 -1
- data/spec/models/save_check_split_spec.rb +1 -1
- data/spec/models/save_comment_spec.rb +1 -1
- data/spec/models/save_contact_spec.rb +1 -1
- data/spec/models/save_conversation_spec.rb +1 -1
- data/spec/models/save_credit_spec.rb +1 -1
- data/spec/models/save_discount_spec.rb +1 -1
- data/spec/models/save_journal_entry_split_spec.rb +1 -1
- data/spec/models/save_lease_journal_entry_spec.rb +1 -1
- data/spec/models/save_lease_spec.rb +1 -1
- data/spec/models/save_owner_contribution_spec.rb +1 -1
- data/spec/models/save_owner_draw_spec.rb +1 -1
- data/spec/models/save_owner_spec.rb +1 -1
- data/spec/models/save_payment_spec.rb +1 -1
- data/spec/models/save_portfolio_spec.rb +1 -1
- data/spec/models/save_prospect_contact_spec.rb +1 -1
- data/spec/models/save_prospect_spec.rb +1 -1
- data/spec/models/save_refund_spec.rb +1 -1
- data/spec/models/save_unit_spec.rb +23 -7
- data/spec/models/save_vendor_spec.rb +1 -1
- data/spec/models/save_work_order_spec.rb +1 -1
- data/spec/models/save_work_order_task_spec.rb +1 -1
- data/spec/models/split_paid_spec.rb +1 -1
- data/spec/models/split_pay_spec.rb +1 -1
- data/spec/models/task_spec.rb +1 -1
- data/spec/models/transaction_spec.rb +1 -1
- data/spec/models/unit_spec.rb +5 -1
- data/spec/models/update_lease_journal_entry_spec.rb +1 -1
- data/spec/models/vendor_spec.rb +1 -1
- data/spec/models/work_order_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +14 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0f618b4789940b7f79163a0e5cec74b498dfcba79683af1444afea0b0c214d68
|
|
4
|
+
data.tar.gz: 29ae1c886185e2a7d913a93f034c54aa6a17685cef3ec4c5bdd22c7e28339ac0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8a006e74a366cd2be0d8296e8279c2d76e626ec19aadba38a31e141ac18fdb01d61adad7ce836368bbada9be3e8cd6e1cb5d4ec63bc5c69f4337caaa8abf700f
|
|
7
|
+
data.tar.gz: a230dbede4741b49da736ed7f5d98b80391c5f941810fe08a51def666a09570722ceb5b329c151820a288697e0edbe607a270f8f4c743e55e2f65279faf54cc0
|
data/.openapi-generator/FILES
CHANGED
|
@@ -34,9 +34,12 @@ docs/Contact.md
|
|
|
34
34
|
docs/ContactsApi.md
|
|
35
35
|
docs/Conversation.md
|
|
36
36
|
docs/CreditCardAccount.md
|
|
37
|
+
docs/CreditMemo.md
|
|
37
38
|
docs/CurrentAsset.md
|
|
38
39
|
docs/CurrentLiability.md
|
|
39
40
|
docs/CustomField.md
|
|
41
|
+
docs/CustomFieldDefinition.md
|
|
42
|
+
docs/CustomFieldDefinitionsApi.md
|
|
40
43
|
docs/Discount.md
|
|
41
44
|
docs/Document.md
|
|
42
45
|
docs/DocumentsApi.md
|
|
@@ -131,6 +134,7 @@ lib/propertyware/api/accounting_api.rb
|
|
|
131
134
|
lib/propertyware/api/bills_api.rb
|
|
132
135
|
lib/propertyware/api/buildings_api.rb
|
|
133
136
|
lib/propertyware/api/contacts_api.rb
|
|
137
|
+
lib/propertyware/api/custom_field_definitions_api.rb
|
|
134
138
|
lib/propertyware/api/documents_api.rb
|
|
135
139
|
lib/propertyware/api/health_check_api.rb
|
|
136
140
|
lib/propertyware/api/inspections_api.rb
|
|
@@ -167,9 +171,11 @@ lib/propertyware/models/comment.rb
|
|
|
167
171
|
lib/propertyware/models/contact.rb
|
|
168
172
|
lib/propertyware/models/conversation.rb
|
|
169
173
|
lib/propertyware/models/credit_card_account.rb
|
|
174
|
+
lib/propertyware/models/credit_memo.rb
|
|
170
175
|
lib/propertyware/models/current_asset.rb
|
|
171
176
|
lib/propertyware/models/current_liability.rb
|
|
172
177
|
lib/propertyware/models/custom_field.rb
|
|
178
|
+
lib/propertyware/models/custom_field_definition.rb
|
|
173
179
|
lib/propertyware/models/discount.rb
|
|
174
180
|
lib/propertyware/models/document.rb
|
|
175
181
|
lib/propertyware/models/entry.rb
|
|
@@ -255,6 +261,7 @@ spec/api/accounting_api_spec.rb
|
|
|
255
261
|
spec/api/bills_api_spec.rb
|
|
256
262
|
spec/api/buildings_api_spec.rb
|
|
257
263
|
spec/api/contacts_api_spec.rb
|
|
264
|
+
spec/api/custom_field_definitions_api_spec.rb
|
|
258
265
|
spec/api/documents_api_spec.rb
|
|
259
266
|
spec/api/health_check_api_spec.rb
|
|
260
267
|
spec/api/inspections_api_spec.rb
|
|
@@ -290,8 +297,10 @@ spec/models/comment_spec.rb
|
|
|
290
297
|
spec/models/contact_spec.rb
|
|
291
298
|
spec/models/conversation_spec.rb
|
|
292
299
|
spec/models/credit_card_account_spec.rb
|
|
300
|
+
spec/models/credit_memo_spec.rb
|
|
293
301
|
spec/models/current_asset_spec.rb
|
|
294
302
|
spec/models/current_liability_spec.rb
|
|
303
|
+
spec/models/custom_field_definition_spec.rb
|
|
295
304
|
spec/models/custom_field_spec.rb
|
|
296
305
|
spec/models/discount_spec.rb
|
|
297
306
|
spec/models/document_spec.rb
|
data/DOCS.md
CHANGED
|
@@ -259,6 +259,9 @@ The Propertyware API supports standard HTTP status codes.
|
|
|
259
259
|
If you are unable to resolve your issue after reviewing the API documentation our support team can assist you.
|
|
260
260
|
|
|
261
261
|
# Changelog
|
|
262
|
+
### 2023-07-11
|
|
263
|
+
* Delete a document
|
|
264
|
+
|
|
262
265
|
### 2023-07-11
|
|
263
266
|
* Retrieve all documents
|
|
264
267
|
* Retrieve a document
|
|
@@ -303,7 +306,7 @@ If you are unable to resolve your issue after reviewing the API documentation ou
|
|
|
303
306
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
304
307
|
|
|
305
308
|
- API version: 1.0
|
|
306
|
-
- Package version: 1.0
|
|
309
|
+
- Package version: 1.1.0
|
|
307
310
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
308
311
|
|
|
309
312
|
## Installation
|
|
@@ -319,16 +322,16 @@ gem build propertyware.gemspec
|
|
|
319
322
|
Then either install the gem locally:
|
|
320
323
|
|
|
321
324
|
```shell
|
|
322
|
-
gem install ./propertyware-1.0.
|
|
325
|
+
gem install ./propertyware-1.1.0.gem
|
|
323
326
|
```
|
|
324
327
|
|
|
325
|
-
(for development, run `gem install --dev ./propertyware-1.0.
|
|
328
|
+
(for development, run `gem install --dev ./propertyware-1.1.0.gem` to install the development dependencies)
|
|
326
329
|
|
|
327
330
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
328
331
|
|
|
329
332
|
Finally add this to the Gemfile:
|
|
330
333
|
|
|
331
|
-
gem 'propertyware', '~> 1.0
|
|
334
|
+
gem 'propertyware', '~> 1.1.0'
|
|
332
335
|
|
|
333
336
|
### Install from Git
|
|
334
337
|
|
|
@@ -446,9 +449,12 @@ Class | Method | HTTP request | Description
|
|
|
446
449
|
*Propertyware::ContactsApi* | [**get_contact_conversations**](docs/ContactsApi.md#get_contact_conversations) | **GET** /contacts/{contactID}/conversations | Retrieve all contact conversations
|
|
447
450
|
*Propertyware::ContactsApi* | [**get_contacts**](docs/ContactsApi.md#get_contacts) | **GET** /contacts | Retrieve all contacts
|
|
448
451
|
*Propertyware::ContactsApi* | [**update_contact**](docs/ContactsApi.md#update_contact) | **PUT** /contacts/{contactID} | Update a contact (BETA)
|
|
452
|
+
*Propertyware::CustomFieldDefinitionsApi* | [**retrieve_custom_field_definitions**](docs/CustomFieldDefinitionsApi.md#retrieve_custom_field_definitions) | **GET** /customfields/{entityType}/definitions | Retrieve list of custom field definitions.
|
|
453
|
+
*Propertyware::DocumentsApi* | [**delete_document**](docs/DocumentsApi.md#delete_document) | **DELETE** /docs/{documentId} | Delete a document (BETA)
|
|
449
454
|
*Propertyware::DocumentsApi* | [**download_document**](docs/DocumentsApi.md#download_document) | **GET** /docs/{documentId}/download | Download a document
|
|
450
455
|
*Propertyware::DocumentsApi* | [**retrieve_all_documents**](docs/DocumentsApi.md#retrieve_all_documents) | **GET** /docs | Retrieve all documents
|
|
451
456
|
*Propertyware::DocumentsApi* | [**retrieve_document**](docs/DocumentsApi.md#retrieve_document) | **GET** /docs/{documentId} | Retrieve a document
|
|
457
|
+
*Propertyware::DocumentsApi* | [**upload_document**](docs/DocumentsApi.md#upload_document) | **POST** /docs | Upload a document (BETA)
|
|
452
458
|
*Propertyware::HealthCheckApi* | [**health**](docs/HealthCheckApi.md#health) | **GET** /health | Health check
|
|
453
459
|
*Propertyware::InspectionsApi* | [**get_inspection**](docs/InspectionsApi.md#get_inspection) | **GET** /inspections/{inspectionId} | Retrieve a inspection
|
|
454
460
|
*Propertyware::InspectionsApi* | [**get_inspections**](docs/InspectionsApi.md#get_inspections) | **GET** /inspections | Retrieve all inspections
|
|
@@ -473,6 +479,7 @@ Class | Method | HTTP request | Description
|
|
|
473
479
|
*Propertyware::LeasesApi* | [**get_lease_contacts**](docs/LeasesApi.md#get_lease_contacts) | **GET** /leases/{leaseId}/contacts | Retrieve all lease contacts
|
|
474
480
|
*Propertyware::LeasesApi* | [**get_lease_conversation**](docs/LeasesApi.md#get_lease_conversation) | **GET** /leases/{leaseID}/conversations/{conversationID} | Retrieve a lease conversation
|
|
475
481
|
*Propertyware::LeasesApi* | [**get_lease_conversations**](docs/LeasesApi.md#get_lease_conversations) | **GET** /leases/{leaseID}/conversations | Retrieve all lease conversations
|
|
482
|
+
*Propertyware::LeasesApi* | [**get_lease_credit_memos**](docs/LeasesApi.md#get_lease_credit_memos) | **GET** /leases/creditmemos | Retrieve all the credit memos
|
|
476
483
|
*Propertyware::LeasesApi* | [**get_lease_custom_fields**](docs/LeasesApi.md#get_lease_custom_fields) | **GET** /leases/{leaseId}/customfields | Retrieve all lease custom fields
|
|
477
484
|
*Propertyware::LeasesApi* | [**get_lease_discounts**](docs/LeasesApi.md#get_lease_discounts) | **GET** /leases/discounts | Retrieve all the lease discounts
|
|
478
485
|
*Propertyware::LeasesApi* | [**get_lease_documents**](docs/LeasesApi.md#get_lease_documents) | **GET** /leases/{leaseId}/document | Retrieve all lease documents
|
|
@@ -562,9 +569,11 @@ Class | Method | HTTP request | Description
|
|
|
562
569
|
- [Propertyware::Contact](docs/Contact.md)
|
|
563
570
|
- [Propertyware::Conversation](docs/Conversation.md)
|
|
564
571
|
- [Propertyware::CreditCardAccount](docs/CreditCardAccount.md)
|
|
572
|
+
- [Propertyware::CreditMemo](docs/CreditMemo.md)
|
|
565
573
|
- [Propertyware::CurrentAsset](docs/CurrentAsset.md)
|
|
566
574
|
- [Propertyware::CurrentLiability](docs/CurrentLiability.md)
|
|
567
575
|
- [Propertyware::CustomField](docs/CustomField.md)
|
|
576
|
+
- [Propertyware::CustomFieldDefinition](docs/CustomFieldDefinition.md)
|
|
568
577
|
- [Propertyware::Discount](docs/Discount.md)
|
|
569
578
|
- [Propertyware::Document](docs/Document.md)
|
|
570
579
|
- [Propertyware::Entry](docs/Entry.md)
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
propertyware (1.0
|
|
4
|
+
propertyware (1.1.0)
|
|
5
5
|
faraday (>= 1.0.1, < 3.0)
|
|
6
6
|
faraday-multipart
|
|
7
7
|
|
|
@@ -12,7 +12,7 @@ GEM
|
|
|
12
12
|
byebug (11.1.3)
|
|
13
13
|
coderay (1.1.3)
|
|
14
14
|
diff-lcs (1.5.0)
|
|
15
|
-
faraday (2.7.
|
|
15
|
+
faraday (2.7.4)
|
|
16
16
|
faraday-net_http (>= 2.0, < 3.1)
|
|
17
17
|
ruby2_keywords (>= 0.0.4)
|
|
18
18
|
faraday-multipart (1.0.4)
|
data/bin/config.yml
CHANGED
data/bin/fix_json.rb
CHANGED
|
@@ -4,6 +4,13 @@ require 'json'
|
|
|
4
4
|
file = File.read('bin/propertyware.json')
|
|
5
5
|
data = JSON.parse(file)
|
|
6
6
|
|
|
7
|
+
# All models have an extra `DTO` suffix, which we are removing here for simplicity sake.
|
|
8
|
+
# To simplify, we are acting directly in the output string, which is not ideal, but it's simpler
|
|
9
|
+
# than handling all cases using `#each` calls
|
|
10
|
+
data_json = data.to_json
|
|
11
|
+
data_json = data_json.gsub(/DTOs? */i, '')
|
|
12
|
+
data = JSON.parse(data_json)
|
|
13
|
+
|
|
7
14
|
# For some reason, the validator fails to properly parse the contact URL,
|
|
8
15
|
# so we are simply removing it becase it has no effect in the final SDK anyway
|
|
9
16
|
data['info']['contact'].delete('url')
|
|
@@ -49,11 +56,5 @@ data['components']['securitySchemes'] = {
|
|
|
49
56
|
# Guarantee we automatically set HTTPS as the schema
|
|
50
57
|
data['servers'][0] = { "url": "https://api.propertyware.com/pw/api/rest/v1" } unless data['servers'].first['url'].start_with?("https://")
|
|
51
58
|
|
|
52
|
-
# All models have an extra `DTO` suffix, which we are removing here for simplicity sake.
|
|
53
|
-
# To simplify, we are acting directly in the output string, which is not ideal, but it's simpler
|
|
54
|
-
# than handling all cases using `#each` calls
|
|
55
|
-
data_json = data.to_json
|
|
56
|
-
data_json = data_json.gsub(/DTOs? */i, '')
|
|
57
|
-
|
|
58
59
|
# Save it back to the file
|
|
59
|
-
File.write('bin/propertyware.json',
|
|
60
|
+
File.write('bin/propertyware.json', data.to_json)
|