propertyware 1.0.5 → 1.2.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 +21 -0
- data/DOCS.md +23 -4
- data/Gemfile.lock +2 -2
- data/bin/config.yml +1 -1
- data/bin/fix_json.rb +8 -7
- data/bin/propertyware.json +16549 -1
- data/docs/AutoPayment.md +2 -0
- data/docs/Building.md +2 -2
- data/docs/Charge.md +4 -2
- data/docs/CreditMemo.md +42 -0
- data/docs/CustomFieldDefinition.md +26 -0
- data/docs/CustomFieldFieldsApi.md +89 -0
- data/docs/Document.md +7 -7
- data/docs/DocumentsApi.md +260 -2
- data/docs/Lease.md +12 -6
- data/docs/LeaseStatus.md +28 -0
- data/docs/LeasesApi.md +181 -0
- data/docs/Note.md +9 -3
- data/docs/Prospect.md +4 -0
- data/docs/ProspectContact.md +30 -0
- data/docs/ProspectStatus.md +24 -0
- data/docs/ProspectsApi.md +79 -0
- data/docs/SaveBuilding.md +2 -2
- data/docs/SaveContact.md +1 -1
- data/docs/SaveLease.md +16 -6
- data/docs/SaveUnit.md +6 -6
- data/docs/SaveVendor.md +31 -1
- data/docs/SaveWorkOrder.md +13 -1
- data/docs/Unit.md +2 -2
- data/docs/UpdateDocument.md +24 -0
- data/docs/Vendor.md +18 -0
- data/docs/WorkOrder.md +8 -0
- data/docs/WorkOrdersApi.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_fields_api.rb +85 -0
- data/lib/propertyware/api/documents_api.rb +228 -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 +145 -1
- data/lib/propertyware/api/portfolios_api.rb +1 -1
- data/lib/propertyware/api/prospects_api.rb +58 -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 +35 -1
- data/lib/propertyware/models/auto_payment.rb +46 -2
- 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 +48 -4
- 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 +35 -35
- 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 +38 -8
- data/lib/propertyware/models/lease_clause.rb +1 -1
- data/lib/propertyware/models/lease_contact.rb +1 -1
- data/lib/propertyware/models/lease_status.rb +263 -0
- 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 +45 -15
- 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 +24 -2
- data/lib/propertyware/models/prospect_contact.rb +279 -0
- data/lib/propertyware/models/prospect_status.rb +249 -0
- 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 +250 -2
- 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 +58 -8
- 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 +187 -3
- data/lib/propertyware/models/save_work_order.rb +79 -2
- 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_document.rb +254 -0
- data/lib/propertyware/models/update_lease_journal_entry.rb +1 -1
- data/lib/propertyware/models/vendor.rb +92 -2
- data/lib/propertyware/models/work_order.rb +54 -2
- data/lib/propertyware/version.rb +2 -2
- data/lib/propertyware.rb +8 -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_fields_api_spec.rb +47 -0
- data/spec/api/documents_api_spec.rb +43 -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 +33 -1
- data/spec/api/portfolios_api_spec.rb +1 -1
- data/spec/api/prospects_api_spec.rb +12 -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 +5 -1
- data/spec/models/auto_payment_spec.rb +11 -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 +11 -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 +7 -7
- 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 +19 -1
- data/spec/models/lease_status_spec.rb +64 -0
- 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 +22 -4
- 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_contact_spec.rb +70 -0
- data/spec/models/prospect_spec.rb +13 -1
- data/spec/models/prospect_status_spec.rb +52 -0
- 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 +31 -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 +95 -1
- data/spec/models/save_work_order_spec.rb +41 -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_document_spec.rb +52 -0
- data/spec/models/update_lease_journal_entry_spec.rb +1 -1
- data/spec/models/vendor_spec.rb +55 -1
- data/spec/models/work_order_spec.rb +29 -1
- data/spec/spec_helper.rb +1 -1
- metadata +30 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1669c9c23ae0f07666e3cdf4db414966bd1a128a462819dff567675d1583221d
|
4
|
+
data.tar.gz: 4aac8647075174b0d7c11d9552a7fb8d06bef99cf9b7b65b600587a35a20211a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ecda309a51e560be127330a6a2560d201985868099c914853797dd41ac65e5f25e6e0c1ac3844d0ee8a7c7149a328cb9de5767acc12f4adb9d97d3d25760c31
|
7
|
+
data.tar.gz: 995e2f611cb95dea68403d7a6584734da5584750558a2efc0093c10ea7f49eef4ac6053b694644ef6f5ec0c9973a84dd8d0d77193735977599af44269f7b4ff1
|
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/CustomFieldFieldsApi.md
|
40
43
|
docs/Discount.md
|
41
44
|
docs/Document.md
|
42
45
|
docs/DocumentsApi.md
|
@@ -58,6 +61,7 @@ docs/LateFeeRule.md
|
|
58
61
|
docs/Lease.md
|
59
62
|
docs/LeaseClause.md
|
60
63
|
docs/LeaseContact.md
|
64
|
+
docs/LeaseStatus.md
|
61
65
|
docs/LeasesApi.md
|
62
66
|
docs/ManagementFee.md
|
63
67
|
docs/ManagementSettings.md
|
@@ -76,6 +80,8 @@ docs/Portfolio.md
|
|
76
80
|
docs/PortfoliosApi.md
|
77
81
|
docs/PropertyManager.md
|
78
82
|
docs/Prospect.md
|
83
|
+
docs/ProspectContact.md
|
84
|
+
docs/ProspectStatus.md
|
79
85
|
docs/ProspectsApi.md
|
80
86
|
docs/RESTAPIBulkErrorResponse.md
|
81
87
|
docs/RESTAPIBulkSuccessResponse.md
|
@@ -120,6 +126,7 @@ docs/Task.md
|
|
120
126
|
docs/Transaction.md
|
121
127
|
docs/Unit.md
|
122
128
|
docs/UnitsApi.md
|
129
|
+
docs/UpdateDocument.md
|
123
130
|
docs/UpdateLeaseJournalEntry.md
|
124
131
|
docs/Vendor.md
|
125
132
|
docs/VendorsApi.md
|
@@ -131,6 +138,7 @@ lib/propertyware/api/accounting_api.rb
|
|
131
138
|
lib/propertyware/api/bills_api.rb
|
132
139
|
lib/propertyware/api/buildings_api.rb
|
133
140
|
lib/propertyware/api/contacts_api.rb
|
141
|
+
lib/propertyware/api/custom_field_fields_api.rb
|
134
142
|
lib/propertyware/api/documents_api.rb
|
135
143
|
lib/propertyware/api/health_check_api.rb
|
136
144
|
lib/propertyware/api/inspections_api.rb
|
@@ -167,9 +175,11 @@ lib/propertyware/models/comment.rb
|
|
167
175
|
lib/propertyware/models/contact.rb
|
168
176
|
lib/propertyware/models/conversation.rb
|
169
177
|
lib/propertyware/models/credit_card_account.rb
|
178
|
+
lib/propertyware/models/credit_memo.rb
|
170
179
|
lib/propertyware/models/current_asset.rb
|
171
180
|
lib/propertyware/models/current_liability.rb
|
172
181
|
lib/propertyware/models/custom_field.rb
|
182
|
+
lib/propertyware/models/custom_field_definition.rb
|
173
183
|
lib/propertyware/models/discount.rb
|
174
184
|
lib/propertyware/models/document.rb
|
175
185
|
lib/propertyware/models/entry.rb
|
@@ -188,6 +198,7 @@ lib/propertyware/models/late_fee_rule.rb
|
|
188
198
|
lib/propertyware/models/lease.rb
|
189
199
|
lib/propertyware/models/lease_clause.rb
|
190
200
|
lib/propertyware/models/lease_contact.rb
|
201
|
+
lib/propertyware/models/lease_status.rb
|
191
202
|
lib/propertyware/models/management_fee.rb
|
192
203
|
lib/propertyware/models/management_settings.rb
|
193
204
|
lib/propertyware/models/marketing.rb
|
@@ -204,6 +215,8 @@ lib/propertyware/models/payment_charge.rb
|
|
204
215
|
lib/propertyware/models/portfolio.rb
|
205
216
|
lib/propertyware/models/property_manager.rb
|
206
217
|
lib/propertyware/models/prospect.rb
|
218
|
+
lib/propertyware/models/prospect_contact.rb
|
219
|
+
lib/propertyware/models/prospect_status.rb
|
207
220
|
lib/propertyware/models/refund.rb
|
208
221
|
lib/propertyware/models/response_entity.rb
|
209
222
|
lib/propertyware/models/restapi_bulk_error_response.rb
|
@@ -246,6 +259,7 @@ lib/propertyware/models/split_pay.rb
|
|
246
259
|
lib/propertyware/models/task.rb
|
247
260
|
lib/propertyware/models/transaction.rb
|
248
261
|
lib/propertyware/models/unit.rb
|
262
|
+
lib/propertyware/models/update_document.rb
|
249
263
|
lib/propertyware/models/update_lease_journal_entry.rb
|
250
264
|
lib/propertyware/models/vendor.rb
|
251
265
|
lib/propertyware/models/work_order.rb
|
@@ -255,6 +269,7 @@ spec/api/accounting_api_spec.rb
|
|
255
269
|
spec/api/bills_api_spec.rb
|
256
270
|
spec/api/buildings_api_spec.rb
|
257
271
|
spec/api/contacts_api_spec.rb
|
272
|
+
spec/api/custom_field_fields_api_spec.rb
|
258
273
|
spec/api/documents_api_spec.rb
|
259
274
|
spec/api/health_check_api_spec.rb
|
260
275
|
spec/api/inspections_api_spec.rb
|
@@ -290,8 +305,10 @@ spec/models/comment_spec.rb
|
|
290
305
|
spec/models/contact_spec.rb
|
291
306
|
spec/models/conversation_spec.rb
|
292
307
|
spec/models/credit_card_account_spec.rb
|
308
|
+
spec/models/credit_memo_spec.rb
|
293
309
|
spec/models/current_asset_spec.rb
|
294
310
|
spec/models/current_liability_spec.rb
|
311
|
+
spec/models/custom_field_definition_spec.rb
|
295
312
|
spec/models/custom_field_spec.rb
|
296
313
|
spec/models/discount_spec.rb
|
297
314
|
spec/models/document_spec.rb
|
@@ -311,6 +328,7 @@ spec/models/late_fee_rule_spec.rb
|
|
311
328
|
spec/models/lease_clause_spec.rb
|
312
329
|
spec/models/lease_contact_spec.rb
|
313
330
|
spec/models/lease_spec.rb
|
331
|
+
spec/models/lease_status_spec.rb
|
314
332
|
spec/models/management_fee_spec.rb
|
315
333
|
spec/models/management_settings_spec.rb
|
316
334
|
spec/models/marketing_spec.rb
|
@@ -326,7 +344,9 @@ spec/models/payment_charge_spec.rb
|
|
326
344
|
spec/models/payment_spec.rb
|
327
345
|
spec/models/portfolio_spec.rb
|
328
346
|
spec/models/property_manager_spec.rb
|
347
|
+
spec/models/prospect_contact_spec.rb
|
329
348
|
spec/models/prospect_spec.rb
|
349
|
+
spec/models/prospect_status_spec.rb
|
330
350
|
spec/models/refund_spec.rb
|
331
351
|
spec/models/response_entity_spec.rb
|
332
352
|
spec/models/restapi_bulk_error_response_spec.rb
|
@@ -369,6 +389,7 @@ spec/models/split_pay_spec.rb
|
|
369
389
|
spec/models/task_spec.rb
|
370
390
|
spec/models/transaction_spec.rb
|
371
391
|
spec/models/unit_spec.rb
|
392
|
+
spec/models/update_document_spec.rb
|
372
393
|
spec/models/update_lease_journal_entry_spec.rb
|
373
394
|
spec/models/vendor_spec.rb
|
374
395
|
spec/models/work_order_spec.rb
|
data/DOCS.md
CHANGED
@@ -259,6 +259,12 @@ 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-08-28
|
263
|
+
* Update a document
|
264
|
+
|
265
|
+
### 2023-07-11
|
266
|
+
* Delete a document
|
267
|
+
|
262
268
|
### 2023-07-11
|
263
269
|
* Retrieve all documents
|
264
270
|
* Retrieve a document
|
@@ -303,7 +309,7 @@ If you are unable to resolve your issue after reviewing the API documentation ou
|
|
303
309
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
304
310
|
|
305
311
|
- API version: 1.0
|
306
|
-
- Package version: 1.0
|
312
|
+
- Package version: 1.2.0
|
307
313
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
308
314
|
|
309
315
|
## Installation
|
@@ -319,16 +325,16 @@ gem build propertyware.gemspec
|
|
319
325
|
Then either install the gem locally:
|
320
326
|
|
321
327
|
```shell
|
322
|
-
gem install ./propertyware-1.0.
|
328
|
+
gem install ./propertyware-1.2.0.gem
|
323
329
|
```
|
324
330
|
|
325
|
-
(for development, run `gem install --dev ./propertyware-1.0.
|
331
|
+
(for development, run `gem install --dev ./propertyware-1.2.0.gem` to install the development dependencies)
|
326
332
|
|
327
333
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
328
334
|
|
329
335
|
Finally add this to the Gemfile:
|
330
336
|
|
331
|
-
gem 'propertyware', '~> 1.0
|
337
|
+
gem 'propertyware', '~> 1.2.0'
|
332
338
|
|
333
339
|
### Install from Git
|
334
340
|
|
@@ -446,9 +452,13 @@ Class | Method | HTTP request | Description
|
|
446
452
|
*Propertyware::ContactsApi* | [**get_contact_conversations**](docs/ContactsApi.md#get_contact_conversations) | **GET** /contacts/{contactID}/conversations | Retrieve all contact conversations
|
447
453
|
*Propertyware::ContactsApi* | [**get_contacts**](docs/ContactsApi.md#get_contacts) | **GET** /contacts | Retrieve all contacts
|
448
454
|
*Propertyware::ContactsApi* | [**update_contact**](docs/ContactsApi.md#update_contact) | **PUT** /contacts/{contactID} | Update a contact (BETA)
|
455
|
+
*Propertyware::CustomFieldFieldsApi* | [**retrieve_custom_field_definitions**](docs/CustomFieldFieldsApi.md#retrieve_custom_field_definitions) | **GET** /customfields/{entityType}/definitions | Retrieve list of custom field definitions.
|
456
|
+
*Propertyware::DocumentsApi* | [**delete_document**](docs/DocumentsApi.md#delete_document) | **DELETE** /docs/{documentId} | Delete a document (BETA)
|
449
457
|
*Propertyware::DocumentsApi* | [**download_document**](docs/DocumentsApi.md#download_document) | **GET** /docs/{documentId}/download | Download a document
|
450
458
|
*Propertyware::DocumentsApi* | [**retrieve_all_documents**](docs/DocumentsApi.md#retrieve_all_documents) | **GET** /docs | Retrieve all documents
|
451
459
|
*Propertyware::DocumentsApi* | [**retrieve_document**](docs/DocumentsApi.md#retrieve_document) | **GET** /docs/{documentId} | Retrieve a document
|
460
|
+
*Propertyware::DocumentsApi* | [**update_document**](docs/DocumentsApi.md#update_document) | **PUT** /docs/{documentId} | Update a document (BETA)
|
461
|
+
*Propertyware::DocumentsApi* | [**upload_document**](docs/DocumentsApi.md#upload_document) | **POST** /docs | Upload a document (BETA)
|
452
462
|
*Propertyware::HealthCheckApi* | [**health**](docs/HealthCheckApi.md#health) | **GET** /health | Health check
|
453
463
|
*Propertyware::InspectionsApi* | [**get_inspection**](docs/InspectionsApi.md#get_inspection) | **GET** /inspections/{inspectionId} | Retrieve a inspection
|
454
464
|
*Propertyware::InspectionsApi* | [**get_inspections**](docs/InspectionsApi.md#get_inspections) | **GET** /inspections | Retrieve all inspections
|
@@ -464,6 +474,7 @@ Class | Method | HTTP request | Description
|
|
464
474
|
*Propertyware::LeasesApi* | [**create_lease_refund**](docs/LeasesApi.md#create_lease_refund) | **POST** /leases/refunds | Create a lease refund (BETA)
|
465
475
|
*Propertyware::LeasesApi* | [**delete_lease**](docs/LeasesApi.md#delete_lease) | **DELETE** /leases/{leaseID} | Delete a lease (BETA)
|
466
476
|
*Propertyware::LeasesApi* | [**delete_lease_conversation**](docs/LeasesApi.md#delete_lease_conversation) | **DELETE** /leases/{leaseID}/conversations/{conversationID} | Delete a lease conversation (BETA)
|
477
|
+
*Propertyware::LeasesApi* | [**get_all_lease_statuses**](docs/LeasesApi.md#get_all_lease_statuses) | **GET** /leases/statuses | Retrieve all lease statuses (BETA)
|
467
478
|
*Propertyware::LeasesApi* | [**get_lease**](docs/LeasesApi.md#get_lease) | **GET** /leases/{leaseId} | Retrieve a lease
|
468
479
|
*Propertyware::LeasesApi* | [**get_lease_adjustments**](docs/LeasesApi.md#get_lease_adjustments) | **GET** /leases/adjustments | Retrieve all the adjustments
|
469
480
|
*Propertyware::LeasesApi* | [**get_lease_auto_charges**](docs/LeasesApi.md#get_lease_auto_charges) | **GET** /leases/{leaseId}/autocharges | Retrieve all lease auto charges
|
@@ -473,6 +484,7 @@ Class | Method | HTTP request | Description
|
|
473
484
|
*Propertyware::LeasesApi* | [**get_lease_contacts**](docs/LeasesApi.md#get_lease_contacts) | **GET** /leases/{leaseId}/contacts | Retrieve all lease contacts
|
474
485
|
*Propertyware::LeasesApi* | [**get_lease_conversation**](docs/LeasesApi.md#get_lease_conversation) | **GET** /leases/{leaseID}/conversations/{conversationID} | Retrieve a lease conversation
|
475
486
|
*Propertyware::LeasesApi* | [**get_lease_conversations**](docs/LeasesApi.md#get_lease_conversations) | **GET** /leases/{leaseID}/conversations | Retrieve all lease conversations
|
487
|
+
*Propertyware::LeasesApi* | [**get_lease_credit_memos**](docs/LeasesApi.md#get_lease_credit_memos) | **GET** /leases/creditmemos | Retrieve all the credit memos
|
476
488
|
*Propertyware::LeasesApi* | [**get_lease_custom_fields**](docs/LeasesApi.md#get_lease_custom_fields) | **GET** /leases/{leaseId}/customfields | Retrieve all lease custom fields
|
477
489
|
*Propertyware::LeasesApi* | [**get_lease_discounts**](docs/LeasesApi.md#get_lease_discounts) | **GET** /leases/discounts | Retrieve all the lease discounts
|
478
490
|
*Propertyware::LeasesApi* | [**get_lease_documents**](docs/LeasesApi.md#get_lease_documents) | **GET** /leases/{leaseId}/document | Retrieve all lease documents
|
@@ -506,6 +518,7 @@ Class | Method | HTTP request | Description
|
|
506
518
|
*Propertyware::ProspectsApi* | [**get_prospect_campaign**](docs/ProspectsApi.md#get_prospect_campaign) | **GET** /prospects/{prospectID}/campaign | Retrieve prospect campaign
|
507
519
|
*Propertyware::ProspectsApi* | [**get_prospect_conversation**](docs/ProspectsApi.md#get_prospect_conversation) | **GET** /prospects/{prospectID}/conversations/{conversationID} | Retrieve a prospect conversation
|
508
520
|
*Propertyware::ProspectsApi* | [**get_prospect_conversations**](docs/ProspectsApi.md#get_prospect_conversations) | **GET** /prospects/{prospectID}/conversations | Retrieve all prospect conversations
|
521
|
+
*Propertyware::ProspectsApi* | [**get_prospect_statuses**](docs/ProspectsApi.md#get_prospect_statuses) | **GET** /prospects/statuses | Retrieve all prospect statuses (BETA)
|
509
522
|
*Propertyware::ProspectsApi* | [**get_prospects**](docs/ProspectsApi.md#get_prospects) | **GET** /prospects | Retrieve all prospects
|
510
523
|
*Propertyware::UnitsApi* | [**create_contacts_using_post4**](docs/UnitsApi.md#create_contacts_using_post4) | **POST** /units/bulk | Create units in bulk (BETA)
|
511
524
|
*Propertyware::UnitsApi* | [**create_unit**](docs/UnitsApi.md#create_unit) | **POST** /units | Create a unit (BETA)
|
@@ -562,9 +575,11 @@ Class | Method | HTTP request | Description
|
|
562
575
|
- [Propertyware::Contact](docs/Contact.md)
|
563
576
|
- [Propertyware::Conversation](docs/Conversation.md)
|
564
577
|
- [Propertyware::CreditCardAccount](docs/CreditCardAccount.md)
|
578
|
+
- [Propertyware::CreditMemo](docs/CreditMemo.md)
|
565
579
|
- [Propertyware::CurrentAsset](docs/CurrentAsset.md)
|
566
580
|
- [Propertyware::CurrentLiability](docs/CurrentLiability.md)
|
567
581
|
- [Propertyware::CustomField](docs/CustomField.md)
|
582
|
+
- [Propertyware::CustomFieldDefinition](docs/CustomFieldDefinition.md)
|
568
583
|
- [Propertyware::Discount](docs/Discount.md)
|
569
584
|
- [Propertyware::Document](docs/Document.md)
|
570
585
|
- [Propertyware::Entry](docs/Entry.md)
|
@@ -583,6 +598,7 @@ Class | Method | HTTP request | Description
|
|
583
598
|
- [Propertyware::Lease](docs/Lease.md)
|
584
599
|
- [Propertyware::LeaseClause](docs/LeaseClause.md)
|
585
600
|
- [Propertyware::LeaseContact](docs/LeaseContact.md)
|
601
|
+
- [Propertyware::LeaseStatus](docs/LeaseStatus.md)
|
586
602
|
- [Propertyware::ManagementFee](docs/ManagementFee.md)
|
587
603
|
- [Propertyware::ManagementSettings](docs/ManagementSettings.md)
|
588
604
|
- [Propertyware::Marketing](docs/Marketing.md)
|
@@ -599,6 +615,8 @@ Class | Method | HTTP request | Description
|
|
599
615
|
- [Propertyware::Portfolio](docs/Portfolio.md)
|
600
616
|
- [Propertyware::PropertyManager](docs/PropertyManager.md)
|
601
617
|
- [Propertyware::Prospect](docs/Prospect.md)
|
618
|
+
- [Propertyware::ProspectContact](docs/ProspectContact.md)
|
619
|
+
- [Propertyware::ProspectStatus](docs/ProspectStatus.md)
|
602
620
|
- [Propertyware::RESTAPIBulkErrorResponse](docs/RESTAPIBulkErrorResponse.md)
|
603
621
|
- [Propertyware::RESTAPIBulkSuccessResponse](docs/RESTAPIBulkSuccessResponse.md)
|
604
622
|
- [Propertyware::RESTAPIError](docs/RESTAPIError.md)
|
@@ -641,6 +659,7 @@ Class | Method | HTTP request | Description
|
|
641
659
|
- [Propertyware::Task](docs/Task.md)
|
642
660
|
- [Propertyware::Transaction](docs/Transaction.md)
|
643
661
|
- [Propertyware::Unit](docs/Unit.md)
|
662
|
+
- [Propertyware::UpdateDocument](docs/UpdateDocument.md)
|
644
663
|
- [Propertyware::UpdateLeaseJournalEntry](docs/UpdateLeaseJournalEntry.md)
|
645
664
|
- [Propertyware::Vendor](docs/Vendor.md)
|
646
665
|
- [Propertyware::WorkOrder](docs/WorkOrder.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.2.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)
|