propertyware 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (289) hide show
  1. checksums.yaml +4 -4
  2. data/.openapi-generator/FILES +15 -3
  3. data/DOCS.md +15 -5
  4. data/Gemfile.lock +1 -1
  5. data/bin/config.yml +1 -1
  6. data/bin/propertyware.json +16549 -1
  7. data/docs/AutoPayment.md +2 -0
  8. data/docs/Charge.md +4 -2
  9. data/docs/{CustomFieldDefinitionsApi.md → CustomFieldFieldsApi.md} +5 -5
  10. data/docs/Document.md +7 -7
  11. data/docs/DocumentsApi.md +86 -2
  12. data/docs/Lease.md +12 -6
  13. data/docs/LeaseStatus.md +28 -0
  14. data/docs/LeasesApi.md +79 -0
  15. data/docs/Note.md +9 -3
  16. data/docs/Prospect.md +4 -0
  17. data/docs/ProspectContact.md +30 -0
  18. data/docs/ProspectStatus.md +24 -0
  19. data/docs/ProspectsApi.md +79 -0
  20. data/docs/SaveContact.md +1 -1
  21. data/docs/SaveLease.md +16 -6
  22. data/docs/SaveVendor.md +31 -1
  23. data/docs/SaveWorkOrder.md +13 -1
  24. data/docs/UpdateDocument.md +24 -0
  25. data/docs/Vendor.md +18 -0
  26. data/docs/WorkOrder.md +8 -0
  27. data/docs/WorkOrdersApi.md +2 -2
  28. data/lib/propertyware/api/accounting_api.rb +1 -1
  29. data/lib/propertyware/api/bills_api.rb +1 -1
  30. data/lib/propertyware/api/buildings_api.rb +1 -1
  31. data/lib/propertyware/api/contacts_api.rb +1 -1
  32. data/lib/propertyware/api/{custom_field_definitions_api.rb → custom_field_fields_api.rb} +6 -6
  33. data/lib/propertyware/api/documents_api.rb +77 -3
  34. data/lib/propertyware/api/health_check_api.rb +1 -1
  35. data/lib/propertyware/api/inspections_api.rb +1 -1
  36. data/lib/propertyware/api/leases_api.rb +58 -1
  37. data/lib/propertyware/api/portfolios_api.rb +1 -1
  38. data/lib/propertyware/api/prospects_api.rb +58 -1
  39. data/lib/propertyware/api/units_api.rb +1 -1
  40. data/lib/propertyware/api/vendors_api.rb +1 -1
  41. data/lib/propertyware/api/work_orders_api.rb +1 -1
  42. data/lib/propertyware/api_client.rb +1 -1
  43. data/lib/propertyware/api_error.rb +1 -1
  44. data/lib/propertyware/configuration.rb +1 -1
  45. data/lib/propertyware/models/account.rb +1 -1
  46. data/lib/propertyware/models/address.rb +1 -1
  47. data/lib/propertyware/models/amenity.rb +1 -1
  48. data/lib/propertyware/models/auto_journal_entry.rb +35 -1
  49. data/lib/propertyware/models/auto_payment.rb +46 -2
  50. data/lib/propertyware/models/bank.rb +1 -1
  51. data/lib/propertyware/models/bank_deposit.rb +1 -1
  52. data/lib/propertyware/models/basic_vendor.rb +1 -1
  53. data/lib/propertyware/models/bill.rb +1 -1
  54. data/lib/propertyware/models/bill_paid.rb +1 -1
  55. data/lib/propertyware/models/bill_pay.rb +1 -1
  56. data/lib/propertyware/models/bill_payment.rb +1 -1
  57. data/lib/propertyware/models/bill_split.rb +1 -1
  58. data/lib/propertyware/models/building.rb +1 -1
  59. data/lib/propertyware/models/campaign.rb +1 -1
  60. data/lib/propertyware/models/campaign_source.rb +1 -1
  61. data/lib/propertyware/models/charge.rb +48 -4
  62. data/lib/propertyware/models/charge_tx.rb +1 -1
  63. data/lib/propertyware/models/check.rb +1 -1
  64. data/lib/propertyware/models/check_split.rb +1 -1
  65. data/lib/propertyware/models/comment.rb +1 -1
  66. data/lib/propertyware/models/contact.rb +1 -1
  67. data/lib/propertyware/models/conversation.rb +1 -1
  68. data/lib/propertyware/models/credit_card_account.rb +1 -1
  69. data/lib/propertyware/models/credit_memo.rb +1 -1
  70. data/lib/propertyware/models/current_asset.rb +1 -1
  71. data/lib/propertyware/models/current_liability.rb +1 -1
  72. data/lib/propertyware/models/custom_field.rb +1 -1
  73. data/lib/propertyware/models/custom_field_definition.rb +1 -1
  74. data/lib/propertyware/models/discount.rb +1 -1
  75. data/lib/propertyware/models/document.rb +35 -35
  76. data/lib/propertyware/models/entry.rb +1 -1
  77. data/lib/propertyware/models/equity.rb +1 -1
  78. data/lib/propertyware/models/error_response.rb +1 -1
  79. data/lib/propertyware/models/expense.rb +1 -1
  80. data/lib/propertyware/models/gl_item.rb +1 -1
  81. data/lib/propertyware/models/income.rb +1 -1
  82. data/lib/propertyware/models/inspection.rb +1 -1
  83. data/lib/propertyware/models/inspection_area.rb +1 -1
  84. data/lib/propertyware/models/inspection_item.rb +1 -1
  85. data/lib/propertyware/models/journal_entry.rb +1 -1
  86. data/lib/propertyware/models/journal_entry_split.rb +1 -1
  87. data/lib/propertyware/models/journal_entry_split_response.rb +1 -1
  88. data/lib/propertyware/models/late_fee_rule.rb +1 -1
  89. data/lib/propertyware/models/lease.rb +38 -8
  90. data/lib/propertyware/models/lease_clause.rb +1 -1
  91. data/lib/propertyware/models/lease_contact.rb +1 -1
  92. data/lib/propertyware/models/lease_status.rb +263 -0
  93. data/lib/propertyware/models/management_fee.rb +1 -1
  94. data/lib/propertyware/models/management_settings.rb +1 -1
  95. data/lib/propertyware/models/marketing.rb +1 -1
  96. data/lib/propertyware/models/non_current_asset.rb +1 -1
  97. data/lib/propertyware/models/non_current_liability.rb +1 -1
  98. data/lib/propertyware/models/non_operating_expense.rb +1 -1
  99. data/lib/propertyware/models/non_operating_inome.rb +1 -1
  100. data/lib/propertyware/models/note.rb +45 -15
  101. data/lib/propertyware/models/owner.rb +1 -1
  102. data/lib/propertyware/models/owner_contribution.rb +1 -1
  103. data/lib/propertyware/models/owner_draw.rb +1 -1
  104. data/lib/propertyware/models/payment.rb +1 -1
  105. data/lib/propertyware/models/payment_charge.rb +1 -1
  106. data/lib/propertyware/models/portfolio.rb +1 -1
  107. data/lib/propertyware/models/property_manager.rb +1 -1
  108. data/lib/propertyware/models/prospect.rb +24 -2
  109. data/lib/propertyware/models/prospect_contact.rb +279 -0
  110. data/lib/propertyware/models/prospect_status.rb +249 -0
  111. data/lib/propertyware/models/refund.rb +1 -1
  112. data/lib/propertyware/models/response_entity.rb +1 -1
  113. data/lib/propertyware/models/restapi_bulk_error_response.rb +1 -1
  114. data/lib/propertyware/models/restapi_bulk_success_response.rb +1 -1
  115. data/lib/propertyware/models/restapi_error.rb +1 -1
  116. data/lib/propertyware/models/save_account.rb +1 -1
  117. data/lib/propertyware/models/save_address.rb +1 -1
  118. data/lib/propertyware/models/save_adjustment.rb +1 -1
  119. data/lib/propertyware/models/save_auto_charge.rb +1 -1
  120. data/lib/propertyware/models/save_bank_deposit.rb +1 -1
  121. data/lib/propertyware/models/save_bill.rb +1 -1
  122. data/lib/propertyware/models/save_bill_payment.rb +1 -1
  123. data/lib/propertyware/models/save_bill_split.rb +1 -1
  124. data/lib/propertyware/models/save_building.rb +1 -1
  125. data/lib/propertyware/models/save_charge.rb +1 -1
  126. data/lib/propertyware/models/save_check.rb +1 -1
  127. data/lib/propertyware/models/save_check_split.rb +1 -1
  128. data/lib/propertyware/models/save_comment.rb +1 -1
  129. data/lib/propertyware/models/save_contact.rb +250 -2
  130. data/lib/propertyware/models/save_conversation.rb +1 -1
  131. data/lib/propertyware/models/save_credit.rb +1 -1
  132. data/lib/propertyware/models/save_discount.rb +1 -1
  133. data/lib/propertyware/models/save_journal_entry_split.rb +1 -1
  134. data/lib/propertyware/models/save_lease.rb +58 -8
  135. data/lib/propertyware/models/save_lease_journal_entry.rb +1 -1
  136. data/lib/propertyware/models/save_owner.rb +1 -1
  137. data/lib/propertyware/models/save_owner_contribution.rb +1 -1
  138. data/lib/propertyware/models/save_owner_draw.rb +1 -1
  139. data/lib/propertyware/models/save_payment.rb +1 -1
  140. data/lib/propertyware/models/save_portfolio.rb +1 -1
  141. data/lib/propertyware/models/save_prospect.rb +1 -1
  142. data/lib/propertyware/models/save_prospect_contact.rb +1 -1
  143. data/lib/propertyware/models/save_refund.rb +1 -1
  144. data/lib/propertyware/models/save_unit.rb +1 -1
  145. data/lib/propertyware/models/save_vendor.rb +187 -3
  146. data/lib/propertyware/models/save_work_order.rb +79 -2
  147. data/lib/propertyware/models/save_work_order_task.rb +1 -1
  148. data/lib/propertyware/models/split_paid.rb +1 -1
  149. data/lib/propertyware/models/split_pay.rb +1 -1
  150. data/lib/propertyware/models/task.rb +1 -1
  151. data/lib/propertyware/models/transaction.rb +1 -1
  152. data/lib/propertyware/models/unit.rb +1 -1
  153. data/lib/propertyware/models/update_document.rb +254 -0
  154. data/lib/propertyware/models/update_lease_journal_entry.rb +1 -1
  155. data/lib/propertyware/models/vendor.rb +92 -2
  156. data/lib/propertyware/models/work_order.rb +54 -2
  157. data/lib/propertyware/version.rb +2 -2
  158. data/lib/propertyware.rb +6 -2
  159. data/propertyware.gemspec +1 -1
  160. data/spec/api/accounting_api_spec.rb +1 -1
  161. data/spec/api/bills_api_spec.rb +1 -1
  162. data/spec/api/buildings_api_spec.rb +1 -1
  163. data/spec/api/contacts_api_spec.rb +1 -1
  164. data/spec/api/{custom_field_definitions_api_spec.rb → custom_field_fields_api_spec.rb} +7 -7
  165. data/spec/api/documents_api_spec.rb +15 -2
  166. data/spec/api/health_check_api_spec.rb +1 -1
  167. data/spec/api/inspections_api_spec.rb +1 -1
  168. data/spec/api/leases_api_spec.rb +12 -1
  169. data/spec/api/portfolios_api_spec.rb +1 -1
  170. data/spec/api/prospects_api_spec.rb +12 -1
  171. data/spec/api/units_api_spec.rb +1 -1
  172. data/spec/api/vendors_api_spec.rb +1 -1
  173. data/spec/api/work_orders_api_spec.rb +1 -1
  174. data/spec/api_client_spec.rb +1 -1
  175. data/spec/configuration_spec.rb +1 -1
  176. data/spec/models/account_spec.rb +1 -1
  177. data/spec/models/address_spec.rb +1 -1
  178. data/spec/models/amenity_spec.rb +1 -1
  179. data/spec/models/auto_journal_entry_spec.rb +5 -1
  180. data/spec/models/auto_payment_spec.rb +11 -1
  181. data/spec/models/bank_deposit_spec.rb +1 -1
  182. data/spec/models/bank_spec.rb +1 -1
  183. data/spec/models/basic_vendor_spec.rb +1 -1
  184. data/spec/models/bill_paid_spec.rb +1 -1
  185. data/spec/models/bill_pay_spec.rb +1 -1
  186. data/spec/models/bill_payment_spec.rb +1 -1
  187. data/spec/models/bill_spec.rb +1 -1
  188. data/spec/models/bill_split_spec.rb +1 -1
  189. data/spec/models/building_spec.rb +1 -1
  190. data/spec/models/campaign_source_spec.rb +1 -1
  191. data/spec/models/campaign_spec.rb +1 -1
  192. data/spec/models/charge_spec.rb +11 -1
  193. data/spec/models/charge_tx_spec.rb +1 -1
  194. data/spec/models/check_spec.rb +1 -1
  195. data/spec/models/check_split_spec.rb +1 -1
  196. data/spec/models/comment_spec.rb +1 -1
  197. data/spec/models/contact_spec.rb +1 -1
  198. data/spec/models/conversation_spec.rb +1 -1
  199. data/spec/models/credit_card_account_spec.rb +1 -1
  200. data/spec/models/credit_memo_spec.rb +1 -1
  201. data/spec/models/current_asset_spec.rb +1 -1
  202. data/spec/models/current_liability_spec.rb +1 -1
  203. data/spec/models/custom_field_definition_spec.rb +1 -1
  204. data/spec/models/custom_field_spec.rb +1 -1
  205. data/spec/models/discount_spec.rb +1 -1
  206. data/spec/models/document_spec.rb +7 -7
  207. data/spec/models/entry_spec.rb +1 -1
  208. data/spec/models/equity_spec.rb +1 -1
  209. data/spec/models/error_response_spec.rb +1 -1
  210. data/spec/models/expense_spec.rb +1 -1
  211. data/spec/models/gl_item_spec.rb +1 -1
  212. data/spec/models/income_spec.rb +1 -1
  213. data/spec/models/inspection_area_spec.rb +1 -1
  214. data/spec/models/inspection_item_spec.rb +1 -1
  215. data/spec/models/inspection_spec.rb +1 -1
  216. data/spec/models/journal_entry_spec.rb +1 -1
  217. data/spec/models/journal_entry_split_response_spec.rb +1 -1
  218. data/spec/models/journal_entry_split_spec.rb +1 -1
  219. data/spec/models/late_fee_rule_spec.rb +1 -1
  220. data/spec/models/lease_clause_spec.rb +1 -1
  221. data/spec/models/lease_contact_spec.rb +1 -1
  222. data/spec/models/lease_spec.rb +19 -1
  223. data/spec/models/lease_status_spec.rb +64 -0
  224. data/spec/models/management_fee_spec.rb +1 -1
  225. data/spec/models/management_settings_spec.rb +1 -1
  226. data/spec/models/marketing_spec.rb +1 -1
  227. data/spec/models/non_current_asset_spec.rb +1 -1
  228. data/spec/models/non_current_liability_spec.rb +1 -1
  229. data/spec/models/non_operating_expense_spec.rb +1 -1
  230. data/spec/models/non_operating_inome_spec.rb +1 -1
  231. data/spec/models/note_spec.rb +22 -4
  232. data/spec/models/owner_contribution_spec.rb +1 -1
  233. data/spec/models/owner_draw_spec.rb +1 -1
  234. data/spec/models/owner_spec.rb +1 -1
  235. data/spec/models/payment_charge_spec.rb +1 -1
  236. data/spec/models/payment_spec.rb +1 -1
  237. data/spec/models/portfolio_spec.rb +1 -1
  238. data/spec/models/property_manager_spec.rb +1 -1
  239. data/spec/models/prospect_contact_spec.rb +70 -0
  240. data/spec/models/prospect_spec.rb +13 -1
  241. data/spec/models/prospect_status_spec.rb +52 -0
  242. data/spec/models/refund_spec.rb +1 -1
  243. data/spec/models/response_entity_spec.rb +1 -1
  244. data/spec/models/restapi_bulk_error_response_spec.rb +1 -1
  245. data/spec/models/restapi_bulk_success_response_spec.rb +1 -1
  246. data/spec/models/restapi_error_spec.rb +1 -1
  247. data/spec/models/save_account_spec.rb +1 -1
  248. data/spec/models/save_address_spec.rb +1 -1
  249. data/spec/models/save_adjustment_spec.rb +1 -1
  250. data/spec/models/save_auto_charge_spec.rb +1 -1
  251. data/spec/models/save_bank_deposit_spec.rb +1 -1
  252. data/spec/models/save_bill_payment_spec.rb +1 -1
  253. data/spec/models/save_bill_spec.rb +1 -1
  254. data/spec/models/save_bill_split_spec.rb +1 -1
  255. data/spec/models/save_building_spec.rb +1 -1
  256. data/spec/models/save_charge_spec.rb +1 -1
  257. data/spec/models/save_check_spec.rb +1 -1
  258. data/spec/models/save_check_split_spec.rb +1 -1
  259. data/spec/models/save_comment_spec.rb +1 -1
  260. data/spec/models/save_contact_spec.rb +1 -1
  261. data/spec/models/save_conversation_spec.rb +1 -1
  262. data/spec/models/save_credit_spec.rb +1 -1
  263. data/spec/models/save_discount_spec.rb +1 -1
  264. data/spec/models/save_journal_entry_split_spec.rb +1 -1
  265. data/spec/models/save_lease_journal_entry_spec.rb +1 -1
  266. data/spec/models/save_lease_spec.rb +31 -1
  267. data/spec/models/save_owner_contribution_spec.rb +1 -1
  268. data/spec/models/save_owner_draw_spec.rb +1 -1
  269. data/spec/models/save_owner_spec.rb +1 -1
  270. data/spec/models/save_payment_spec.rb +1 -1
  271. data/spec/models/save_portfolio_spec.rb +1 -1
  272. data/spec/models/save_prospect_contact_spec.rb +1 -1
  273. data/spec/models/save_prospect_spec.rb +1 -1
  274. data/spec/models/save_refund_spec.rb +1 -1
  275. data/spec/models/save_unit_spec.rb +1 -1
  276. data/spec/models/save_vendor_spec.rb +95 -1
  277. data/spec/models/save_work_order_spec.rb +41 -1
  278. data/spec/models/save_work_order_task_spec.rb +1 -1
  279. data/spec/models/split_paid_spec.rb +1 -1
  280. data/spec/models/split_pay_spec.rb +1 -1
  281. data/spec/models/task_spec.rb +1 -1
  282. data/spec/models/transaction_spec.rb +1 -1
  283. data/spec/models/unit_spec.rb +1 -1
  284. data/spec/models/update_document_spec.rb +52 -0
  285. data/spec/models/update_lease_journal_entry_spec.rb +1 -1
  286. data/spec/models/vendor_spec.rb +55 -1
  287. data/spec/models/work_order_spec.rb +29 -1
  288. data/spec/spec_helper.rb +1 -1
  289. metadata +22 -6
data/docs/AutoPayment.md CHANGED
@@ -12,6 +12,7 @@
12
12
  | **end_date** | **Date** | End date. | [optional] |
13
13
  | **fee_amount** | **Float** | Fee amount. | [optional] |
14
14
  | **frequency** | **String** | Payment frequency. | [optional] |
15
+ | **gl_account_id** | **Integer** | Payment general ledger account ID. | [optional] |
15
16
  | **id** | **Integer** | Unique identifier. | [optional] |
16
17
  | **last_modified_by** | **String** | User who last modified the record. | [optional] |
17
18
  | **last_modified_date_time** | **Time** | Date and time the record was last modified. (Timezone: UTC) | [optional] |
@@ -32,6 +33,7 @@ instance = Propertyware::AutoPayment.new(
32
33
  end_date: null,
33
34
  fee_amount: null,
34
35
  frequency: null,
36
+ gl_account_id: null,
35
37
  id: null,
36
38
  last_modified_by: null,
37
39
  last_modified_date_time: null,
data/docs/Charge.md CHANGED
@@ -5,15 +5,16 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **account** | **String** | General ledger account. | [optional] |
8
- | **amount** | **Float** | Amount. | [optional] |
8
+ | **amount** | **Float** | Auto charge amount. | [optional] |
9
9
  | **description** | **String** | Description of the auto charge. | [optional] |
10
10
  | **due_day** | **String** | Description of the day when the auto charge is due. | [optional] |
11
11
  | **end_date** | **Date** | End date of auto charge. | [optional] |
12
12
  | **frequency** | **String** | Frequency of the auto charge. | |
13
+ | **gl_account_id** | **Integer** | ID of the General Ledger Account associated to this auto charge. | [optional] |
13
14
  | **id** | **Integer** | Unique identifier. | [optional] |
14
15
  | **last_post_date** | **Date** | Last post date. | [optional] |
15
16
  | **reference_number** | **String** | Reference number. | [optional] |
16
- | **start_date** | **Date** | Start date. | |
17
+ | **start_date** | **Date** | Start date of auto charge. | |
17
18
 
18
19
  ## Example
19
20
 
@@ -27,6 +28,7 @@ instance = Propertyware::Charge.new(
27
28
  due_day: null,
28
29
  end_date: null,
29
30
  frequency: null,
31
+ gl_account_id: null,
30
32
  id: null,
31
33
  last_post_date: null,
32
34
  reference_number: null,
@@ -1,10 +1,10 @@
1
- # Propertyware::CustomFieldDefinitionsApi
1
+ # Propertyware::CustomFieldFieldsApi
2
2
 
3
3
  All URIs are relative to *https://api.propertyware.com/pw/api/rest/v1*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**retrieve_custom_field_definitions**](CustomFieldDefinitionsApi.md#retrieve_custom_field_definitions) | **GET** /customfields/{entityType}/definitions | Retrieve list of custom field definitions. |
7
+ | [**retrieve_custom_field_definitions**](CustomFieldFieldsApi.md#retrieve_custom_field_definitions) | **GET** /customfields/{entityType}/definitions | Retrieve list of custom field definitions. |
8
8
 
9
9
 
10
10
  ## retrieve_custom_field_definitions
@@ -38,7 +38,7 @@ Propertyware.configure do |config|
38
38
  # config.api_key_prefix['clientSecret'] = 'Bearer'
39
39
  end
40
40
 
41
- api_instance = Propertyware::CustomFieldDefinitionsApi.new
41
+ api_instance = Propertyware::CustomFieldFieldsApi.new
42
42
  entity_type = 'entity_type_example' # String | Entity type, allowed entity types (Asset, Building, Contact, Lease, Portfolio, Prospect, Unit, Vendor, WorkOrder, ServiceAgreement)
43
43
 
44
44
  begin
@@ -46,7 +46,7 @@ begin
46
46
  result = api_instance.retrieve_custom_field_definitions(entity_type)
47
47
  p result
48
48
  rescue Propertyware::ApiError => e
49
- puts "Error when calling CustomFieldDefinitionsApi->retrieve_custom_field_definitions: #{e}"
49
+ puts "Error when calling CustomFieldFieldsApi->retrieve_custom_field_definitions: #{e}"
50
50
  end
51
51
  ```
52
52
 
@@ -64,7 +64,7 @@ begin
64
64
  p headers # => { ... }
65
65
  p data # => <Array<CustomFieldDefinition>>
66
66
  rescue Propertyware::ApiError => e
67
- puts "Error when calling CustomFieldDefinitionsApi->retrieve_custom_field_definitions_with_http_info: #{e}"
67
+ puts "Error when calling CustomFieldFieldsApi->retrieve_custom_field_definitions_with_http_info: #{e}"
68
68
  end
69
69
  ```
70
70
 
data/docs/Document.md CHANGED
@@ -9,13 +9,13 @@
9
9
  | **description** | **String** | Description of a document. | [optional] |
10
10
  | **entity_id** | **Integer** | Unique identifier of an entity document is attached to. | [optional] |
11
11
  | **entity_type** | **String** | Type of an entity document is attached to. | [optional] |
12
+ | **file_name** | **String** | File name. | [optional] |
12
13
  | **file_type** | **String** | File type. | [optional] |
13
- | **filename** | **String** | File name. | [optional] |
14
14
  | **id** | **Integer** | Unique identifier. | [optional] |
15
- | **indicates_if_publish_to_owner_portal** | **Boolean** | Indicates if the document is published to the owner portal. | [optional] |
16
- | **indicates_if_publish_to_tenant_portal** | **Boolean** | Indicates if the document is published to the tenant portal. | [optional] |
17
15
  | **last_modified_by** | **String** | User who last modified the record. | [optional] |
18
16
  | **last_modified_date_time** | **Time** | Date and time the record was last modified. (Timezone: UTC) | [optional] |
17
+ | **publish_to_owner_portal** | **Boolean** | Indicates if the document is published to the owner portal. | [optional] |
18
+ | **publish_to_tenant_portal** | **Boolean** | Indicates if the document is published to the tenant portal. | [optional] |
19
19
 
20
20
  ## Example
21
21
 
@@ -28,13 +28,13 @@ instance = Propertyware::Document.new(
28
28
  description: null,
29
29
  entity_id: null,
30
30
  entity_type: null,
31
+ file_name: null,
31
32
  file_type: null,
32
- filename: null,
33
33
  id: null,
34
- indicates_if_publish_to_owner_portal: false,
35
- indicates_if_publish_to_tenant_portal: false,
36
34
  last_modified_by: null,
37
- last_modified_date_time: null
35
+ last_modified_date_time: null,
36
+ publish_to_owner_portal: false,
37
+ publish_to_tenant_portal: false
38
38
  )
39
39
  ```
40
40
 
data/docs/DocumentsApi.md CHANGED
@@ -8,6 +8,7 @@ All URIs are relative to *https://api.propertyware.com/pw/api/rest/v1*
8
8
  | [**download_document**](DocumentsApi.md#download_document) | **GET** /docs/{documentId}/download | Download a document |
9
9
  | [**retrieve_all_documents**](DocumentsApi.md#retrieve_all_documents) | **GET** /docs | Retrieve all documents |
10
10
  | [**retrieve_document**](DocumentsApi.md#retrieve_document) | **GET** /docs/{documentId} | Retrieve a document |
11
+ | [**update_document**](DocumentsApi.md#update_document) | **PUT** /docs/{documentId} | Update a document (BETA) |
11
12
  | [**upload_document**](DocumentsApi.md#upload_document) | **POST** /docs | Upload a document (BETA) |
12
13
 
13
14
 
@@ -212,7 +213,7 @@ opts = {
212
213
  last_modified_date_time_start: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filters results to any item modified on or after the date time specified.
213
214
  last_modified_date_time_end: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filters results to any item modified on or prior to the date time specified.
214
215
  orderby: 'orderby_example', # String | Indicates the field(s) and direction to sort the results in the response.
215
- entity_id: 789 # Integer | Filters results to documents associated with a specific entity id. entity ID is not required for DESKTOPand OTHER”. Remaining entities need entity ID”.
216
+ entity_id: 789 # Integer | Filters results to documents associated with a specific entity id. entity ID is not required for “DESKTOP†and “OTHER†. Remaining entities need “entity ID†.
216
217
  }
217
218
 
218
219
  begin
@@ -252,7 +253,7 @@ end
252
253
  | **last_modified_date_time_start** | **Time** | Filters results to any item modified on or after the date time specified. | [optional] |
253
254
  | **last_modified_date_time_end** | **Time** | Filters results to any item modified on or prior to the date time specified. | [optional] |
254
255
  | **orderby** | **String** | Indicates the field(s) and direction to sort the results in the response. | [optional] |
255
- | **entity_id** | **Integer** | Filters results to documents associated with a specific entity id. entity ID is not required for DESKTOPand OTHER”. Remaining entities need entity ID”. | [optional] |
256
+ | **entity_id** | **Integer** | Filters results to documents associated with a specific entity id. entity ID is not required for “DESKTOP†and “OTHER†. Remaining entities need “entity ID†. | [optional] |
256
257
 
257
258
  ### Return type
258
259
 
@@ -349,6 +350,89 @@ end
349
350
  - **Accept**: application/json
350
351
 
351
352
 
353
+ ## update_document
354
+
355
+ > <Document> update_document(document_id, update_document)
356
+
357
+ Update a document (BETA)
358
+
359
+ <p class=\"betaError\"><b>Note: </b>Write access is only available to customers who have opted in to our beta program. Please reach out to support if you'd like to be included.</p> Updates the metadata of a specific document.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">DOCUMENTS</span> - <code>Write</code>
360
+
361
+ ### Examples
362
+
363
+ ```ruby
364
+ require 'time'
365
+ require 'propertyware'
366
+ # setup authorization
367
+ Propertyware.configure do |config|
368
+ # Configure API key authorization: organizationId
369
+ config.api_key['organizationId'] = 'YOUR API KEY'
370
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
371
+ # config.api_key_prefix['organizationId'] = 'Bearer'
372
+
373
+ # Configure API key authorization: clientId
374
+ config.api_key['clientId'] = 'YOUR API KEY'
375
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
376
+ # config.api_key_prefix['clientId'] = 'Bearer'
377
+
378
+ # Configure API key authorization: clientSecret
379
+ config.api_key['clientSecret'] = 'YOUR API KEY'
380
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
381
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
382
+ end
383
+
384
+ api_instance = Propertyware::DocumentsApi.new
385
+ document_id = 789 # Integer | ID of the document to be updated
386
+ update_document = Propertyware::UpdateDocument.new({file_name: 'file_name_example'}) # UpdateDocument | updateDocument
387
+
388
+ begin
389
+ # Update a document (BETA)
390
+ result = api_instance.update_document(document_id, update_document)
391
+ p result
392
+ rescue Propertyware::ApiError => e
393
+ puts "Error when calling DocumentsApi->update_document: #{e}"
394
+ end
395
+ ```
396
+
397
+ #### Using the update_document_with_http_info variant
398
+
399
+ This returns an Array which contains the response data, status code and headers.
400
+
401
+ > <Array(<Document>, Integer, Hash)> update_document_with_http_info(document_id, update_document)
402
+
403
+ ```ruby
404
+ begin
405
+ # Update a document (BETA)
406
+ data, status_code, headers = api_instance.update_document_with_http_info(document_id, update_document)
407
+ p status_code # => 2xx
408
+ p headers # => { ... }
409
+ p data # => <Document>
410
+ rescue Propertyware::ApiError => e
411
+ puts "Error when calling DocumentsApi->update_document_with_http_info: #{e}"
412
+ end
413
+ ```
414
+
415
+ ### Parameters
416
+
417
+ | Name | Type | Description | Notes |
418
+ | ---- | ---- | ----------- | ----- |
419
+ | **document_id** | **Integer** | ID of the document to be updated | |
420
+ | **update_document** | [**UpdateDocument**](UpdateDocument.md) | updateDocument | |
421
+
422
+ ### Return type
423
+
424
+ [**Document**](Document.md)
425
+
426
+ ### Authorization
427
+
428
+ [organizationId](../README.md#organizationId), [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
429
+
430
+ ### HTTP request headers
431
+
432
+ - **Content-Type**: application/json
433
+ - **Accept**: application/json
434
+
435
+
352
436
  ## upload_document
353
437
 
354
438
  > <Document> upload_document(entity_id, entity_type, body, opts)
data/docs/Lease.md CHANGED
@@ -4,11 +4,12 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **active** | **Boolean** | Active | [optional] |
8
- | **addendums** | [**Array&lt;LeaseClause&gt;**](LeaseClause.md) | Lease addendums. | [optional] |
7
+ | **active** | **Boolean** | Indicates if lease is Active. | [optional] |
8
+ | **addendums** | [**Array&lt;LeaseClause&gt;**](LeaseClause.md) | Lease addendum(s). | [optional] |
9
+ | **base_rent** | **Float** | Property base rent. | [optional] |
9
10
  | **building_id** | **Integer** | Id of the building associated with this lease. | [optional] |
10
11
  | **comments** | **String** | Description of the lease. | [optional] |
11
- | **contacts** | [**Array&lt;LeaseContact&gt;**](LeaseContact.md) | Contacts of the lease | [optional] |
12
+ | **contacts** | [**Array&lt;LeaseContact&gt;**](LeaseContact.md) | List of the current tenants on the lease. | [optional] |
12
13
  | **created_by** | **String** | User who created the record. | [optional] |
13
14
  | **created_date_time** | **Time** | Date and time the record was created. (Timezone: UTC) | [optional] |
14
15
  | **custom_fields** | [**Array&lt;CustomField&gt;**](CustomField.md) | Custom fields. | [optional] |
@@ -18,8 +19,8 @@
18
19
  | **last_modified_by** | **String** | User who last modified the record. | [optional] |
19
20
  | **last_modified_date_time** | **Time** | Date and time the record was last modified. (Timezone: UTC) | [optional] |
20
21
  | **late_fee_rule** | **String** | Textual description of the late fee rule applied to delinquent or unpaid lease charges. | [optional] |
21
- | **lease_balance** | **Float** | Lease Balance | [optional] |
22
- | **lease_name** | **String** | Lease Name | [optional] |
22
+ | **lease_balance** | **Float** | Lease Balance. | [optional] |
23
+ | **lease_name** | **String** | Lease Name. | [optional] |
23
24
  | **location** | **String** | Building and/or units the lease is currently attached to. | [optional] |
24
25
  | **move_in_date** | **Date** | Day that the tenant(s) moved into the property. | [optional] |
25
26
  | **move_out_date** | **Date** | Day that the tenant(s) vacated the property. | [optional] |
@@ -29,10 +30,12 @@
29
30
  | **public_assistance_program** | **String** | Indicates if the tenant(s) of the lease receive any aid from a Public Assistance Program. | [optional] |
30
31
  | **reason_for_leaving** | **String** | Reason for vacating the property. | [optional] |
31
32
  | **schedule_move_out_date** | **Date** | Day that the tenant(s) are expected to vacate the property. | [optional] |
33
+ | **search_tag** | **String** | Search tag. | [optional] |
34
+ | **signed_date** | **Date** | Lease signed date. | [optional] |
32
35
  | **start_date** | **Date** | Start date of the lease term. | [optional] |
33
36
  | **status** | **String** | Lease&#39;s current status. | [optional] |
34
37
  | **tenants_opts_into_asset_protection_plan** | **String** | Indicates if the tenants opted into Asset Protection Plan. | [optional] |
35
- | **terminated_date** | **Date** | Terminated Date | [optional] |
38
+ | **terminated_date** | **Date** | Lease Terminated Date. | [optional] |
36
39
  | **unit_id** | **Integer** | Id of the unit associated with this lease. | [optional] |
37
40
 
38
41
  ## Example
@@ -43,6 +46,7 @@ require 'propertyware'
43
46
  instance = Propertyware::Lease.new(
44
47
  active: false,
45
48
  addendums: null,
49
+ base_rent: null,
46
50
  building_id: null,
47
51
  comments: null,
48
52
  contacts: null,
@@ -66,6 +70,8 @@ instance = Propertyware::Lease.new(
66
70
  public_assistance_program: null,
67
71
  reason_for_leaving: null,
68
72
  schedule_move_out_date: null,
73
+ search_tag: null,
74
+ signed_date: null,
69
75
  start_date: null,
70
76
  status: null,
71
77
  tenants_opts_into_asset_protection_plan: null,
@@ -0,0 +1,28 @@
1
+ # Propertyware::LeaseStatus
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **define_active** | **Boolean** | | [optional] |
8
+ | **id** | **Integer** | | [optional] |
9
+ | **order_index** | **Integer** | | [optional] |
10
+ | **portal_login_enabled** | **Boolean** | | [optional] |
11
+ | **readonly** | **Boolean** | | [optional] |
12
+ | **status** | **String** | | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'propertyware'
18
+
19
+ instance = Propertyware::LeaseStatus.new(
20
+ define_active: null,
21
+ id: null,
22
+ order_index: null,
23
+ portal_login_enabled: null,
24
+ readonly: null,
25
+ status: null
26
+ )
27
+ ```
28
+
data/docs/LeasesApi.md CHANGED
@@ -16,6 +16,7 @@ All URIs are relative to *https://api.propertyware.com/pw/api/rest/v1*
16
16
  | [**create_lease_refund**](LeasesApi.md#create_lease_refund) | **POST** /leases/refunds | Create a lease refund (BETA) |
17
17
  | [**delete_lease**](LeasesApi.md#delete_lease) | **DELETE** /leases/{leaseID} | Delete a lease (BETA) |
18
18
  | [**delete_lease_conversation**](LeasesApi.md#delete_lease_conversation) | **DELETE** /leases/{leaseID}/conversations/{conversationID} | Delete a lease conversation (BETA) |
19
+ | [**get_all_lease_statuses**](LeasesApi.md#get_all_lease_statuses) | **GET** /leases/statuses | Retrieve all lease statuses (BETA) |
19
20
  | [**get_lease**](LeasesApi.md#get_lease) | **GET** /leases/{leaseId} | Retrieve a lease |
20
21
  | [**get_lease_adjustments**](LeasesApi.md#get_lease_adjustments) | **GET** /leases/adjustments | Retrieve all the adjustments |
21
22
  | [**get_lease_auto_charges**](LeasesApi.md#get_lease_auto_charges) | **GET** /leases/{leaseId}/autocharges | Retrieve all lease auto charges |
@@ -1025,6 +1026,84 @@ end
1025
1026
  - **Accept**: application/json
1026
1027
 
1027
1028
 
1029
+ ## get_all_lease_statuses
1030
+
1031
+ > <Array<LeaseStatus>> get_all_lease_statuses
1032
+
1033
+ Retrieve all lease statuses (BETA)
1034
+
1035
+ <p class=\"betaWarning\"><b>Note: </b>This operation is still in beta and might be subject to breaking changes. Production integrations should be avoided at this stage.</p> Retrieves a list of all lease statuses<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">LEASES</span> - <code>Read</code>
1036
+
1037
+ ### Examples
1038
+
1039
+ ```ruby
1040
+ require 'time'
1041
+ require 'propertyware'
1042
+ # setup authorization
1043
+ Propertyware.configure do |config|
1044
+ # Configure API key authorization: organizationId
1045
+ config.api_key['organizationId'] = 'YOUR API KEY'
1046
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1047
+ # config.api_key_prefix['organizationId'] = 'Bearer'
1048
+
1049
+ # Configure API key authorization: clientId
1050
+ config.api_key['clientId'] = 'YOUR API KEY'
1051
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1052
+ # config.api_key_prefix['clientId'] = 'Bearer'
1053
+
1054
+ # Configure API key authorization: clientSecret
1055
+ config.api_key['clientSecret'] = 'YOUR API KEY'
1056
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1057
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
1058
+ end
1059
+
1060
+ api_instance = Propertyware::LeasesApi.new
1061
+
1062
+ begin
1063
+ # Retrieve all lease statuses (BETA)
1064
+ result = api_instance.get_all_lease_statuses
1065
+ p result
1066
+ rescue Propertyware::ApiError => e
1067
+ puts "Error when calling LeasesApi->get_all_lease_statuses: #{e}"
1068
+ end
1069
+ ```
1070
+
1071
+ #### Using the get_all_lease_statuses_with_http_info variant
1072
+
1073
+ This returns an Array which contains the response data, status code and headers.
1074
+
1075
+ > <Array(<Array<LeaseStatus>>, Integer, Hash)> get_all_lease_statuses_with_http_info
1076
+
1077
+ ```ruby
1078
+ begin
1079
+ # Retrieve all lease statuses (BETA)
1080
+ data, status_code, headers = api_instance.get_all_lease_statuses_with_http_info
1081
+ p status_code # => 2xx
1082
+ p headers # => { ... }
1083
+ p data # => <Array<LeaseStatus>>
1084
+ rescue Propertyware::ApiError => e
1085
+ puts "Error when calling LeasesApi->get_all_lease_statuses_with_http_info: #{e}"
1086
+ end
1087
+ ```
1088
+
1089
+ ### Parameters
1090
+
1091
+ This endpoint does not need any parameter.
1092
+
1093
+ ### Return type
1094
+
1095
+ [**Array&lt;LeaseStatus&gt;**](LeaseStatus.md)
1096
+
1097
+ ### Authorization
1098
+
1099
+ [organizationId](../README.md#organizationId), [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
1100
+
1101
+ ### HTTP request headers
1102
+
1103
+ - **Content-Type**: Not defined
1104
+ - **Accept**: application/json
1105
+
1106
+
1028
1107
  ## get_lease
1029
1108
 
1030
1109
  > <Lease> get_lease(lease_id, opts)
data/docs/Note.md CHANGED
@@ -5,11 +5,14 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **body** | **String** | Content of the note. | [optional] |
8
+ | **created_by** | **String** | User who created the record. | [optional] |
9
+ | **created_date_time** | **Time** | Date and time the record was created. (Timezone: UTC) | [optional] |
8
10
  | **date** | **Date** | Date the note was created. | [optional] |
9
11
  | **id** | **Integer** | Unique identifier. | [optional] |
12
+ | **last_modified_by** | **String** | User who last modified the record. | [optional] |
13
+ | **last_modified_date_time** | **Time** | Date and time the record was last modified. (Timezone: UTC) | [optional] |
10
14
  | **private** | **Boolean** | | [optional] |
11
15
  | **subject** | **String** | Subject. | [optional] |
12
- | **type** | **String** | Note type. | [optional] |
13
16
 
14
17
  ## Example
15
18
 
@@ -18,11 +21,14 @@ require 'propertyware'
18
21
 
19
22
  instance = Propertyware::Note.new(
20
23
  body: null,
24
+ created_by: null,
25
+ created_date_time: null,
21
26
  date: null,
22
27
  id: null,
28
+ last_modified_by: null,
29
+ last_modified_date_time: null,
23
30
  private: null,
24
- subject: null,
25
- type: null
31
+ subject: null
26
32
  )
27
33
  ```
28
34
 
data/docs/Prospect.md CHANGED
@@ -9,6 +9,7 @@
9
9
  | **building_id** | **Integer** | Id of the building associated with the prospect. | [optional] |
10
10
  | **city_desired** | **String** | Desired city. | [optional] |
11
11
  | **comments** | **String** | Indicates if the prospect has any comments. | [optional] |
12
+ | **contacts** | [**Array&lt;ProspectContact&gt;**](ProspectContact.md) | Contacts of the prospect | [optional] |
12
13
  | **created_by** | **String** | User who created the record. | [optional] |
13
14
  | **created_date_time** | **Time** | Date and time the record was created. (Timezone: UTC) | [optional] |
14
15
  | **current_home_type** | **String** | Current home type. | [optional] |
@@ -51,6 +52,7 @@
51
52
  | **type** | **String** | Prospect type. | [optional] |
52
53
  | **type_of_inquiry** | **String** | Type of inquiry made by the prospect. | [optional] |
53
54
  | **unit_desired** | **String** | Desired unit. | [optional] |
55
+ | **unit_id** | **Integer** | Id of the unit associated with the prospect. | [optional] |
54
56
  | **unit_type_desired** | **String** | Desired unit type. | [optional] |
55
57
  | **zip_desired** | **String** | Desired zip code. | [optional] |
56
58
 
@@ -65,6 +67,7 @@ instance = Propertyware::Prospect.new(
65
67
  building_id: null,
66
68
  city_desired: null,
67
69
  comments: null,
70
+ contacts: null,
68
71
  created_by: null,
69
72
  created_date_time: null,
70
73
  current_home_type: null,
@@ -107,6 +110,7 @@ instance = Propertyware::Prospect.new(
107
110
  type: null,
108
111
  type_of_inquiry: null,
109
112
  unit_desired: null,
113
+ unit_id: null,
110
114
  unit_type_desired: null,
111
115
  zip_desired: null
112
116
  )
@@ -0,0 +1,30 @@
1
+ # Propertyware::ProspectContact
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **email** | **String** | E-mail address. | [optional] |
8
+ | **first_name** | **String** | First name. | [optional] |
9
+ | **home_phone** | **String** | Home phone. | [optional] |
10
+ | **id** | **Integer** | Unique identifier. | [optional] |
11
+ | **last_name** | **String** | Last name. | [optional] |
12
+ | **mobile_phone** | **String** | Mobile phone. | [optional] |
13
+ | **work_phone** | **String** | Work phone. | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'propertyware'
19
+
20
+ instance = Propertyware::ProspectContact.new(
21
+ email: null,
22
+ first_name: null,
23
+ home_phone: null,
24
+ id: null,
25
+ last_name: null,
26
+ mobile_phone: null,
27
+ work_phone: null
28
+ )
29
+ ```
30
+
@@ -0,0 +1,24 @@
1
+ # Propertyware::ProspectStatus
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **Integer** | Unique identifier. | [optional] |
8
+ | **readonly** | **Boolean** | Read Only | [optional] |
9
+ | **status** | **String** | Status | [optional] |
10
+ | **visible_on_portal** | **Boolean** | Status visible On Portal | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'propertyware'
16
+
17
+ instance = Propertyware::ProspectStatus.new(
18
+ id: null,
19
+ readonly: false,
20
+ status: null,
21
+ visible_on_portal: false
22
+ )
23
+ ```
24
+
data/docs/ProspectsApi.md CHANGED
@@ -12,6 +12,7 @@ All URIs are relative to *https://api.propertyware.com/pw/api/rest/v1*
12
12
  | [**get_prospect_campaign**](ProspectsApi.md#get_prospect_campaign) | **GET** /prospects/{prospectID}/campaign | Retrieve prospect campaign |
13
13
  | [**get_prospect_conversation**](ProspectsApi.md#get_prospect_conversation) | **GET** /prospects/{prospectID}/conversations/{conversationID} | Retrieve a prospect conversation |
14
14
  | [**get_prospect_conversations**](ProspectsApi.md#get_prospect_conversations) | **GET** /prospects/{prospectID}/conversations | Retrieve all prospect conversations |
15
+ | [**get_prospect_statuses**](ProspectsApi.md#get_prospect_statuses) | **GET** /prospects/statuses | Retrieve all prospect statuses (BETA) |
15
16
  | [**get_prospects**](ProspectsApi.md#get_prospects) | **GET** /prospects | Retrieve all prospects |
16
17
 
17
18
 
@@ -687,6 +688,84 @@ end
687
688
  - **Accept**: application/json
688
689
 
689
690
 
691
+ ## get_prospect_statuses
692
+
693
+ > <Array<ProspectStatus>> get_prospect_statuses
694
+
695
+ Retrieve all prospect statuses (BETA)
696
+
697
+ <p class=\"betaWarning\"><b>Note: </b>This operation is still in beta and might be subject to breaking changes. Production integrations should be avoided at this stage.</p> Retrieves a list of all prospect statuses<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">PROSPECTS</span> - <code>Read</code>
698
+
699
+ ### Examples
700
+
701
+ ```ruby
702
+ require 'time'
703
+ require 'propertyware'
704
+ # setup authorization
705
+ Propertyware.configure do |config|
706
+ # Configure API key authorization: organizationId
707
+ config.api_key['organizationId'] = 'YOUR API KEY'
708
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
709
+ # config.api_key_prefix['organizationId'] = 'Bearer'
710
+
711
+ # Configure API key authorization: clientId
712
+ config.api_key['clientId'] = 'YOUR API KEY'
713
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
714
+ # config.api_key_prefix['clientId'] = 'Bearer'
715
+
716
+ # Configure API key authorization: clientSecret
717
+ config.api_key['clientSecret'] = 'YOUR API KEY'
718
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
719
+ # config.api_key_prefix['clientSecret'] = 'Bearer'
720
+ end
721
+
722
+ api_instance = Propertyware::ProspectsApi.new
723
+
724
+ begin
725
+ # Retrieve all prospect statuses (BETA)
726
+ result = api_instance.get_prospect_statuses
727
+ p result
728
+ rescue Propertyware::ApiError => e
729
+ puts "Error when calling ProspectsApi->get_prospect_statuses: #{e}"
730
+ end
731
+ ```
732
+
733
+ #### Using the get_prospect_statuses_with_http_info variant
734
+
735
+ This returns an Array which contains the response data, status code and headers.
736
+
737
+ > <Array(<Array<ProspectStatus>>, Integer, Hash)> get_prospect_statuses_with_http_info
738
+
739
+ ```ruby
740
+ begin
741
+ # Retrieve all prospect statuses (BETA)
742
+ data, status_code, headers = api_instance.get_prospect_statuses_with_http_info
743
+ p status_code # => 2xx
744
+ p headers # => { ... }
745
+ p data # => <Array<ProspectStatus>>
746
+ rescue Propertyware::ApiError => e
747
+ puts "Error when calling ProspectsApi->get_prospect_statuses_with_http_info: #{e}"
748
+ end
749
+ ```
750
+
751
+ ### Parameters
752
+
753
+ This endpoint does not need any parameter.
754
+
755
+ ### Return type
756
+
757
+ [**Array&lt;ProspectStatus&gt;**](ProspectStatus.md)
758
+
759
+ ### Authorization
760
+
761
+ [organizationId](../README.md#organizationId), [clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
762
+
763
+ ### HTTP request headers
764
+
765
+ - **Content-Type**: Not defined
766
+ - **Accept**: application/json
767
+
768
+
690
769
  ## get_prospects
691
770
 
692
771
  > <Array<Prospect>> get_prospects(opts)
data/docs/SaveContact.md CHANGED
@@ -17,7 +17,7 @@
17
17
  | **home_phone** | **String** | Home Phone. | [optional] |
18
18
  | **job_title** | **String** | Professional title or position for the contact. | [optional] |
19
19
  | **last_name** | **String** | Last Name. | |
20
- | **middle_name** | **String** | First Name. | [optional] |
20
+ | **middle_name** | **String** | Middle Name. | [optional] |
21
21
  | **mobile_phone** | **String** | Mobile Phone. | [optional] |
22
22
  | **name_on_check** | **String** | Name On Check. | [optional] |
23
23
  | **named_on_lease** | **Boolean** | Is Named On Lease. | [optional] |