buildium-ruby 2.0.1 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1060) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +1 -3
  3. data/.github/workflows/publish.yml +2 -2
  4. data/.openapi-generator/FILES +200 -405
  5. data/.openapi-generator/templates/ruby-client/Gemfile.mustache +3 -0
  6. data/.openapi-generator/templates/ruby-client/gemspec.mustache +1 -3
  7. data/.openapi-generator/templates/ruby-client/rubocop.mustache +1 -1
  8. data/.rubocop.yml +1 -1
  9. data/.tool-versions +1 -0
  10. data/CUSTOMIZATIONS.md +4 -0
  11. data/DOCS.md +404 -112
  12. data/Gemfile +1 -7
  13. data/Gemfile.lock +9 -54
  14. data/README.md +2 -2
  15. data/bin/CUSTOMIZATIONS.md +4 -0
  16. data/bin/README.md +2 -2
  17. data/bin/config.yml +5 -2
  18. data/bin/rebuild.sh +15 -9
  19. data/bin/swagger.json +17251 -8723
  20. data/buildium-ruby.gemspec +2 -4
  21. data/docs/AccountingEntityMessage.md +3 -1
  22. data/docs/AccountingEntitySaveMessage.md +3 -1
  23. data/docs/{AssociationAppliancesApi.md → AppliancesApi.md} +41 -41
  24. data/docs/ApplicantMessage.md +2 -0
  25. data/docs/AppliedVendorCreditMessage.md +20 -0
  26. data/docs/AssociationMessage.md +3 -1
  27. data/docs/AssociationMeterReadingsApi.md +344 -0
  28. data/docs/AssociationOwnershipAccountSearchMessage.md +2 -0
  29. data/docs/AssociationPostMessage.md +3 -1
  30. data/docs/AssociationSearchMessage.md +5 -1
  31. data/docs/AssociationTaxInformationMessage.md +26 -0
  32. data/docs/AssociationsApi.md +204 -217
  33. data/docs/BankAccountCheckAccountingEntitySaveMessage.md +3 -1
  34. data/docs/BankAccountCheckFileMessage.md +28 -0
  35. data/docs/BankAccountDepositPostMessage.md +1 -1
  36. data/docs/BankAccountMessage.md +3 -1
  37. data/docs/BankAccountSearchMessage.md +3 -1
  38. data/docs/BankAccountTransferAccountingEntitySaveMessage.md +3 -1
  39. data/docs/BankAccountsApi.md +412 -0
  40. data/docs/BankLockboxDataAssociationMessage.md +22 -0
  41. data/docs/BankLockboxDataAssociationOwnerMessage.md +30 -0
  42. data/docs/BankLockboxDataMessage.md +20 -0
  43. data/docs/BankLockboxDataOwnershipAccountMessage.md +26 -0
  44. data/docs/BankLockboxDataSearchMessage.md +18 -0
  45. data/docs/BillPaymentAccountingEntityMessage.md +3 -1
  46. data/docs/BillPaymentMessage.md +4 -0
  47. data/docs/BillsApi.md +1059 -0
  48. data/docs/BoardMembersApi.md +417 -0
  49. data/docs/BudgetsApi.md +329 -0
  50. data/docs/CCPaymentsMessage.md +18 -0
  51. data/docs/CCPaymentsPutMessage.md +18 -0
  52. data/docs/CancellationToken.md +22 -0
  53. data/docs/CommunicationsApi.md +39 -39
  54. data/docs/ContactRequestsApi.md +347 -0
  55. data/docs/EFTPaymentsMessage.md +18 -0
  56. data/docs/EFTPaymentsPutMessage.md +18 -0
  57. data/docs/EPaySettingsMessage.md +22 -0
  58. data/docs/EPaySettingsPutMessage.md +22 -0
  59. data/docs/FileSharingAccountMessage.md +26 -0
  60. data/docs/FileSharingAccountPutMessage.md +26 -0
  61. data/docs/FileSharingAssociationMessage.md +20 -0
  62. data/docs/FileSharingAssociationOwnerMessage.md +18 -0
  63. data/docs/FileSharingAssociationOwnerPutMessage.md +18 -0
  64. data/docs/FileSharingAssociationPutMessage.md +20 -0
  65. data/docs/FileSharingAssociationUnitMessage.md +20 -0
  66. data/docs/FileSharingAssociationUnitPutMessage.md +20 -0
  67. data/docs/FileSharingCommitteeMessage.md +22 -0
  68. data/docs/FileSharingCommitteePutMessage.md +22 -0
  69. data/docs/FileSharingLeaseMessage.md +20 -0
  70. data/docs/FileSharingLeasePutMessage.md +20 -0
  71. data/docs/FileSharingMessage.md +40 -0
  72. data/docs/FileSharingOwnershipAccountMessage.md +20 -0
  73. data/docs/FileSharingOwnershipAccountPutMessage.md +20 -0
  74. data/docs/FileSharingPutMessage.md +40 -0
  75. data/docs/FileSharingRentalMessage.md +20 -0
  76. data/docs/FileSharingRentalOwnerMessage.md +18 -0
  77. data/docs/FileSharingRentalOwnerPutMessage.md +18 -0
  78. data/docs/FileSharingRentalPutMessage.md +20 -0
  79. data/docs/FileSharingRentalUnitMesage.md +20 -0
  80. data/docs/FileSharingRentalUnitPutMesage.md +20 -0
  81. data/docs/FileSharingTenantMessage.md +20 -0
  82. data/docs/FileSharingTenantPutMessage.md +20 -0
  83. data/docs/FileSharingVendorMessage.md +18 -0
  84. data/docs/FileSharingVendorPutMessage.md +18 -0
  85. data/docs/FilesApi.md +159 -3
  86. data/docs/GeneralJournalEntryLineSaveMessage.md +1 -1
  87. data/docs/GeneralLedgerApi.md +839 -0
  88. data/docs/GeneralLedgerEntryMessage.md +30 -0
  89. data/docs/GeneralLedgerMessage.md +26 -0
  90. data/docs/GeneralLedgerSearchMessage.md +28 -0
  91. data/docs/ImageReorderRequestPutMessage.md +18 -0
  92. data/docs/InsuredTenantMessage.md +24 -0
  93. data/docs/JournalLineMessage.md +3 -1
  94. data/docs/JsonPatchOperation.md +24 -0
  95. data/docs/LeaseAutoAllocatedPaymentPostMessage.md +30 -0
  96. data/docs/LeaseLedgerPaymentPutMessage.md +28 -0
  97. data/docs/LeasePostMessage.md +5 -1
  98. data/docs/LeaseRenewalSearchMessage.md +22 -0
  99. data/docs/LeaseRentMessage.md +1 -1
  100. data/docs/LeaseTenantMessage.md +3 -1
  101. data/docs/LeaseTransactionMessage.md +3 -1
  102. data/docs/LeaseTransactionsApi.md +1627 -0
  103. data/docs/LeasesApi.md +302 -1353
  104. data/docs/ListingEntityFilePostMessage.md +22 -0
  105. data/docs/ListingsApi.md +5 -5
  106. data/docs/MeterReadingDetailMessage.md +28 -0
  107. data/docs/MeterReadingDetailPutMessage.md +24 -0
  108. data/docs/MeterReadingDetailsDeleteSearchMessage.md +20 -0
  109. data/docs/MeterReadingDetailsMessage.md +22 -0
  110. data/docs/MeterReadingDetailsPutMessage.md +22 -0
  111. data/docs/MeterReadingDetailsPutSearchMessage.md +20 -0
  112. data/docs/MeterReadingDetailsSearchMessage.md +20 -0
  113. data/docs/MeterReadingMessage.md +26 -0
  114. data/docs/MeterReadingSearchMessage.md +22 -0
  115. data/docs/MultipleBillPaymentsPostMessage.md +26 -0
  116. data/docs/OfflinePaymentsMessage.md +22 -0
  117. data/docs/OfflinePaymentsPutMessage.md +22 -0
  118. data/docs/OwnershipAccountAutoAllocatedPaymentPostMessage.md +30 -0
  119. data/docs/OwnershipAccountLedgerPaymentPutMessage.md +28 -0
  120. data/docs/OwnershipAccountTransactionMessage.md +2 -0
  121. data/docs/{AssociationOwnershipAccountsApi.md → OwnershipAccountTransactionsApi.md} +146 -644
  122. data/docs/OwnershipAccountsApi.md +667 -0
  123. data/docs/PropertyGroupsApi.md +1 -1
  124. data/docs/RentalImageMessage.md +26 -0
  125. data/docs/RentalImagePutMessage.md +20 -0
  126. data/docs/RentalMeterReadingsApi.md +344 -0
  127. data/docs/RentalOwnerContributionDataMessage.md +20 -0
  128. data/docs/RentalOwnerContributionDataPutMessage.md +20 -0
  129. data/docs/RentalOwnerContributionMessage.md +20 -0
  130. data/docs/RentalOwnerContributionPutMessage.md +20 -0
  131. data/docs/RentalOwnerContributionReminderMessage.md +20 -0
  132. data/docs/RentalOwnerContributionReminderPutMessage.md +20 -0
  133. data/docs/RentalOwnerRequestsApi.md +503 -0
  134. data/docs/RentalPropertiesApi.md +1123 -176
  135. data/docs/RentalPropertyPostMessage.md +1 -1
  136. data/docs/RentalUnitImageMessage.md +26 -0
  137. data/docs/RentalUnitImagePutMessage.md +20 -0
  138. data/docs/RentalUnitMessage.md +2 -2
  139. data/docs/RentalUnitsApi.md +639 -0
  140. data/docs/RentersInsurancePolicyMessage.md +32 -0
  141. data/docs/ResidentCenterApi.md +255 -0
  142. data/docs/ResidentRequestTaskPostMessage.md +5 -1
  143. data/docs/ResidentRequestsApi.md +349 -0
  144. data/docs/RetailCashPropertyMessage.md +24 -0
  145. data/docs/RetailCashUnitMessage.md +22 -0
  146. data/docs/RetailCashUserDataMessage.md +30 -0
  147. data/docs/RetailCashUserMessage.md +30 -0
  148. data/docs/RetailCashUserPutMessage.md +18 -0
  149. data/docs/RetailCashUsersSearchMessage.md +28 -0
  150. data/docs/SafeWaitHandle.md +20 -0
  151. data/docs/TasksApi.md +230 -1592
  152. data/docs/ToDoRequestsApi.md +347 -0
  153. data/docs/UnitEntityMessage.md +20 -0
  154. data/docs/VendorsApi.md +1 -1
  155. data/docs/VideoLinkRequestPostMessage.md +20 -0
  156. data/docs/WaitHandle.md +20 -0
  157. data/lib/buildium-ruby/api/administration_api.rb +1 -1
  158. data/lib/buildium-ruby/api/{association_appliances_api.rb → appliances_api.rb} +52 -52
  159. data/lib/buildium-ruby/api/applicants_api.rb +1 -1
  160. data/lib/buildium-ruby/api/association_meter_readings_api.rb +363 -0
  161. data/lib/buildium-ruby/api/association_owners_api.rb +1 -1
  162. data/lib/buildium-ruby/api/association_tenants_api.rb +1 -1
  163. data/lib/buildium-ruby/api/association_units_api.rb +1 -1
  164. data/lib/buildium-ruby/api/associations_api.rb +238 -284
  165. data/lib/buildium-ruby/api/bank_accounts_api.rb +387 -1
  166. data/lib/buildium-ruby/api/bills_api.rb +965 -0
  167. data/lib/buildium-ruby/api/board_members_api.rb +406 -0
  168. data/lib/buildium-ruby/api/budgets_api.rb +302 -0
  169. data/lib/buildium-ruby/api/client_leads_api.rb +1 -1
  170. data/lib/buildium-ruby/api/communications_api.rb +49 -49
  171. data/lib/buildium-ruby/api/contact_requests_api.rb +341 -0
  172. data/lib/buildium-ruby/api/files_api.rb +144 -7
  173. data/lib/buildium-ruby/api/general_ledger_api.rb +809 -0
  174. data/lib/buildium-ruby/api/lease_transactions_api.rb +1531 -0
  175. data/lib/buildium-ruby/api/leases_api.rb +193 -1191
  176. data/lib/buildium-ruby/api/listings_api.rb +5 -5
  177. data/lib/buildium-ruby/api/{association_ownership_accounts_api.rb → ownership_account_transactions_api.rb} +166 -613
  178. data/lib/buildium-ruby/api/ownership_accounts_api.rb +626 -0
  179. data/lib/buildium-ruby/api/property_groups_api.rb +3 -3
  180. data/lib/buildium-ruby/api/rental_appliances_api.rb +1 -1
  181. data/lib/buildium-ruby/api/rental_meter_readings_api.rb +363 -0
  182. data/lib/buildium-ruby/api/rental_owner_requests_api.rb +478 -0
  183. data/lib/buildium-ruby/api/rental_owners_api.rb +1 -1
  184. data/lib/buildium-ruby/api/rental_properties_api.rb +898 -54
  185. data/lib/buildium-ruby/api/rental_tenants_api.rb +1 -1
  186. data/lib/buildium-ruby/api/rental_units_api.rb +582 -1
  187. data/lib/buildium-ruby/api/resident_center_api.rb +242 -1
  188. data/lib/buildium-ruby/api/resident_requests_api.rb +344 -0
  189. data/lib/buildium-ruby/api/tasks_api.rb +345 -1624
  190. data/lib/buildium-ruby/api/to_do_requests_api.rb +341 -0
  191. data/lib/buildium-ruby/api/vendors_api.rb +3 -3
  192. data/lib/buildium-ruby/api/work_orders_api.rb +1 -1
  193. data/lib/buildium-ruby/api_client.rb +1 -1
  194. data/lib/buildium-ruby/api_error.rb +1 -1
  195. data/lib/buildium-ruby/configuration.rb +1 -1
  196. data/lib/buildium-ruby/models/account_info_message.rb +1 -1
  197. data/lib/buildium-ruby/models/accounting_entity_message.rb +14 -5
  198. data/lib/buildium-ruby/models/accounting_entity_save_message.rb +15 -5
  199. data/lib/buildium-ruby/models/accounting_lock_period_message.rb +1 -1
  200. data/lib/buildium-ruby/models/accounting_settings_message.rb +1 -1
  201. data/lib/buildium-ruby/models/address_message.rb +1 -1
  202. data/lib/buildium-ruby/models/all_tasks_message.rb +1 -1
  203. data/lib/buildium-ruby/models/announcement_message.rb +1 -1
  204. data/lib/buildium-ruby/models/announcement_post_message.rb +1 -1
  205. data/lib/buildium-ruby/models/announcement_search_message.rb +1 -1
  206. data/lib/buildium-ruby/models/announcement_sender_message.rb +1 -1
  207. data/lib/buildium-ruby/models/api_error_response.rb +1 -1
  208. data/lib/buildium-ruby/models/appliance_message.rb +1 -1
  209. data/lib/buildium-ruby/models/applicant_application_message.rb +1 -1
  210. data/lib/buildium-ruby/models/applicant_group_message.rb +1 -1
  211. data/lib/buildium-ruby/models/applicant_group_post_message.rb +1 -1
  212. data/lib/buildium-ruby/models/applicant_group_put_message.rb +1 -1
  213. data/lib/buildium-ruby/models/applicant_group_search_message.rb +1 -1
  214. data/lib/buildium-ruby/models/applicant_message.rb +46 -2
  215. data/lib/buildium-ruby/models/applicant_post_message.rb +1 -1
  216. data/lib/buildium-ruby/models/applicant_put_message.rb +1 -1
  217. data/lib/buildium-ruby/models/applicant_search_message.rb +1 -1
  218. data/lib/buildium-ruby/models/application_message.rb +1 -1
  219. data/lib/buildium-ruby/models/application_put_message.rb +1 -1
  220. data/lib/buildium-ruby/models/application_response_field_message.rb +3 -3
  221. data/lib/buildium-ruby/models/application_response_message.rb +3 -3
  222. data/lib/buildium-ruby/models/application_section_response_message.rb +1 -1
  223. data/lib/buildium-ruby/models/applied_vendor_credit_message.rb +228 -0
  224. data/lib/buildium-ruby/models/association_appliance_message.rb +1 -1
  225. data/lib/buildium-ruby/models/association_appliance_post_message.rb +1 -1
  226. data/lib/buildium-ruby/models/association_appliance_put_message.rb +1 -1
  227. data/lib/buildium-ruby/models/association_appliance_search_message.rb +1 -1
  228. data/lib/buildium-ruby/models/association_appliance_service_history_message.rb +1 -1
  229. data/lib/buildium-ruby/models/association_appliance_service_history_post_message.rb +1 -1
  230. data/lib/buildium-ruby/models/association_board_member_message.rb +1 -1
  231. data/lib/buildium-ruby/models/association_board_member_post_message.rb +1 -1
  232. data/lib/buildium-ruby/models/association_board_member_put_message.rb +1 -1
  233. data/lib/buildium-ruby/models/association_board_member_search_message.rb +1 -1
  234. data/lib/buildium-ruby/models/association_message.rb +14 -5
  235. data/lib/buildium-ruby/models/association_owner_board_term_message.rb +1 -1
  236. data/lib/buildium-ruby/models/association_owner_board_term_post_message.rb +1 -1
  237. data/lib/buildium-ruby/models/association_owner_message.rb +1 -1
  238. data/lib/buildium-ruby/models/association_owner_post_message.rb +1 -1
  239. data/lib/buildium-ruby/models/association_owner_put_message.rb +1 -1
  240. data/lib/buildium-ruby/models/association_owner_to_existing_ownership_account_post_message.rb +1 -1
  241. data/lib/buildium-ruby/models/association_owner_unit_occupancy_put_message.rb +1 -1
  242. data/lib/buildium-ruby/models/association_owner_unit_occupancy_status_message.rb +1 -1
  243. data/lib/buildium-ruby/models/association_ownership_account_message.rb +1 -1
  244. data/lib/buildium-ruby/models/association_ownership_account_post_message.rb +1 -1
  245. data/lib/buildium-ruby/models/association_ownership_account_put_message.rb +1 -1
  246. data/lib/buildium-ruby/models/association_ownership_account_search_message.rb +14 -2
  247. data/lib/buildium-ruby/models/association_post_message.rb +14 -5
  248. data/lib/buildium-ruby/models/association_preferred_vendor_message.rb +1 -1
  249. data/lib/buildium-ruby/models/association_preferred_vendor_put_message.rb +1 -1
  250. data/lib/buildium-ruby/models/association_put_message.rb +1 -1
  251. data/lib/buildium-ruby/models/association_search_message.rb +29 -5
  252. data/lib/buildium-ruby/models/association_tax_information_message.rb +292 -0
  253. data/lib/buildium-ruby/models/association_tenant_message.rb +1 -1
  254. data/lib/buildium-ruby/models/association_tenant_post_message.rb +1 -1
  255. data/lib/buildium-ruby/models/association_tenant_put_message.rb +1 -1
  256. data/lib/buildium-ruby/models/association_unit_message.rb +1 -1
  257. data/lib/buildium-ruby/models/association_unit_put_message.rb +1 -1
  258. data/lib/buildium-ruby/models/association_unit_search_message.rb +1 -1
  259. data/lib/buildium-ruby/models/association_units_post_message.rb +1 -1
  260. data/lib/buildium-ruby/models/association_user_search_message.rb +1 -1
  261. data/lib/buildium-ruby/models/bank_account_check_accounting_entity_save_message.rb +15 -5
  262. data/lib/buildium-ruby/models/bank_account_check_file_message.rb +268 -0
  263. data/lib/buildium-ruby/models/bank_account_check_line_message.rb +1 -1
  264. data/lib/buildium-ruby/models/bank_account_check_line_save_message.rb +1 -1
  265. data/lib/buildium-ruby/models/bank_account_check_message.rb +1 -1
  266. data/lib/buildium-ruby/models/bank_account_check_payee_message.rb +1 -1
  267. data/lib/buildium-ruby/models/bank_account_check_payee_save_message.rb +1 -1
  268. data/lib/buildium-ruby/models/bank_account_check_post_message.rb +1 -1
  269. data/lib/buildium-ruby/models/bank_account_check_put_message.rb +1 -1
  270. data/lib/buildium-ruby/models/bank_account_check_search_message.rb +1 -1
  271. data/lib/buildium-ruby/models/bank_account_deposit_line_message.rb +1 -1
  272. data/lib/buildium-ruby/models/bank_account_deposit_line_save_message.rb +1 -1
  273. data/lib/buildium-ruby/models/bank_account_deposit_message.rb +1 -1
  274. data/lib/buildium-ruby/models/bank_account_deposit_post_message.rb +2 -2
  275. data/lib/buildium-ruby/models/bank_account_deposit_put_message.rb +1 -1
  276. data/lib/buildium-ruby/models/bank_account_deposit_search_message.rb +1 -1
  277. data/lib/buildium-ruby/models/bank_account_message.rb +15 -5
  278. data/lib/buildium-ruby/models/bank_account_post_message.rb +1 -1
  279. data/lib/buildium-ruby/models/bank_account_put_message.rb +1 -1
  280. data/lib/buildium-ruby/models/bank_account_quick_deposit_message.rb +1 -1
  281. data/lib/buildium-ruby/models/bank_account_quick_deposit_save_message.rb +1 -1
  282. data/lib/buildium-ruby/models/bank_account_quick_deposit_search_message.rb +1 -1
  283. data/lib/buildium-ruby/models/bank_account_search_message.rb +17 -5
  284. data/lib/buildium-ruby/models/bank_account_transaction_message.rb +3 -3
  285. data/lib/buildium-ruby/models/bank_account_transaction_search_message.rb +1 -1
  286. data/lib/buildium-ruby/models/bank_account_transfer_accounting_entity_save_message.rb +15 -5
  287. data/lib/buildium-ruby/models/bank_account_transfer_message.rb +1 -1
  288. data/lib/buildium-ruby/models/bank_account_transfer_save_message.rb +1 -1
  289. data/lib/buildium-ruby/models/bank_account_transfer_search_message.rb +1 -1
  290. data/lib/buildium-ruby/models/bank_account_withdrawal_message.rb +1 -1
  291. data/lib/buildium-ruby/models/bank_account_withdrawal_save_message.rb +1 -1
  292. data/lib/buildium-ruby/models/bank_account_withdrawal_search_message.rb +1 -1
  293. data/lib/buildium-ruby/models/bank_lockbox_data_association_message.rb +238 -0
  294. data/lib/buildium-ruby/models/bank_lockbox_data_association_owner_message.rb +314 -0
  295. data/lib/buildium-ruby/models/bank_lockbox_data_message.rb +229 -0
  296. data/lib/buildium-ruby/models/bank_lockbox_data_ownership_account_message.rb +293 -0
  297. data/lib/buildium-ruby/models/bank_lockbox_data_search_message.rb +220 -0
  298. data/lib/buildium-ruby/models/bill_file_message.rb +1 -1
  299. data/lib/buildium-ruby/models/bill_line_message.rb +1 -1
  300. data/lib/buildium-ruby/models/bill_line_post_message.rb +1 -1
  301. data/lib/buildium-ruby/models/bill_line_put_message.rb +1 -1
  302. data/lib/buildium-ruby/models/bill_markup_message.rb +1 -1
  303. data/lib/buildium-ruby/models/bill_markup_save_message.rb +1 -1
  304. data/lib/buildium-ruby/models/bill_message.rb +1 -1
  305. data/lib/buildium-ruby/models/bill_payment_accounting_entity_message.rb +15 -5
  306. data/lib/buildium-ruby/models/bill_payment_line_message.rb +1 -1
  307. data/lib/buildium-ruby/models/bill_payment_line_post_message.rb +1 -1
  308. data/lib/buildium-ruby/models/bill_payment_message.rb +26 -2
  309. data/lib/buildium-ruby/models/bill_payment_post_message.rb +1 -1
  310. data/lib/buildium-ruby/models/bill_post_message.rb +1 -1
  311. data/lib/buildium-ruby/models/bill_put_message.rb +1 -1
  312. data/lib/buildium-ruby/models/bill_search_message.rb +1 -1
  313. data/lib/buildium-ruby/models/budget_details_message.rb +1 -1
  314. data/lib/buildium-ruby/models/budget_details_save_message.rb +1 -1
  315. data/lib/buildium-ruby/models/budget_message.rb +1 -1
  316. data/lib/buildium-ruby/models/budget_monthly_amounts_message.rb +1 -1
  317. data/lib/buildium-ruby/models/budget_monthly_amounts_save_message.rb +1 -1
  318. data/lib/buildium-ruby/models/budget_post_message.rb +1 -1
  319. data/lib/buildium-ruby/models/budget_put_message.rb +1 -1
  320. data/lib/buildium-ruby/models/budget_search_message.rb +1 -1
  321. data/lib/buildium-ruby/models/cancellation_token.rb +235 -0
  322. data/lib/buildium-ruby/models/cc_payments_message.rb +219 -0
  323. data/lib/buildium-ruby/models/cc_payments_put_message.rb +224 -0
  324. data/lib/buildium-ruby/models/charge_recurring_transaction_post_message.rb +1 -1
  325. data/lib/buildium-ruby/models/charge_recurring_transaction_put_message.rb +1 -1
  326. data/lib/buildium-ruby/models/check_printing_info_message.rb +1 -1
  327. data/lib/buildium-ruby/models/check_printing_info_post_message.rb +1 -1
  328. data/lib/buildium-ruby/models/check_printing_info_put_message.rb +1 -1
  329. data/lib/buildium-ruby/models/client_lead_credit_request_message.rb +1 -1
  330. data/lib/buildium-ruby/models/client_lead_message.rb +1 -1
  331. data/lib/buildium-ruby/models/client_lead_search_message.rb +1 -1
  332. data/lib/buildium-ruby/models/contact_detail_message.rb +1 -1
  333. data/lib/buildium-ruby/models/contact_detail_phone_message.rb +1 -1
  334. data/lib/buildium-ruby/models/contact_detail_save_message.rb +1 -1
  335. data/lib/buildium-ruby/models/contact_detail_save_phone_message.rb +1 -1
  336. data/lib/buildium-ruby/models/contact_info_message.rb +1 -1
  337. data/lib/buildium-ruby/models/contact_request_task_message.rb +1 -1
  338. data/lib/buildium-ruby/models/contact_request_task_post_message.rb +1 -1
  339. data/lib/buildium-ruby/models/contact_request_task_put_message.rb +1 -1
  340. data/lib/buildium-ruby/models/contact_request_task_search_message.rb +1 -1
  341. data/lib/buildium-ruby/models/cosigner_message.rb +1 -1
  342. data/lib/buildium-ruby/models/created_by_user_message.rb +1 -1
  343. data/lib/buildium-ruby/models/credit_recurring_transaction_post_message.rb +1 -1
  344. data/lib/buildium-ruby/models/deposit_detail_message.rb +1 -1
  345. data/lib/buildium-ruby/models/e_pay_settings_message.rb +235 -0
  346. data/lib/buildium-ruby/models/e_pay_settings_put_message.rb +250 -0
  347. data/lib/buildium-ruby/models/eft_payments_message.rb +219 -0
  348. data/lib/buildium-ruby/models/eft_payments_put_message.rb +224 -0
  349. data/lib/buildium-ruby/models/electronic_payments_message.rb +1 -1
  350. data/lib/buildium-ruby/models/email_message.rb +1 -1
  351. data/lib/buildium-ruby/models/email_post_message.rb +1 -1
  352. data/lib/buildium-ruby/models/email_recipient_message.rb +1 -1
  353. data/lib/buildium-ruby/models/email_search_message.rb +1 -1
  354. data/lib/buildium-ruby/models/email_sender_message.rb +1 -1
  355. data/lib/buildium-ruby/models/emergency_contact_message.rb +1 -1
  356. data/lib/buildium-ruby/models/file_category_message.rb +1 -1
  357. data/lib/buildium-ruby/models/file_category_post_message.rb +1 -1
  358. data/lib/buildium-ruby/models/file_category_put_message.rb +1 -1
  359. data/lib/buildium-ruby/models/file_download_message.rb +1 -1
  360. data/lib/buildium-ruby/models/file_entity_message.rb +1 -1
  361. data/lib/buildium-ruby/models/file_message.rb +1 -1
  362. data/lib/buildium-ruby/models/file_name_post_message.rb +1 -1
  363. data/lib/buildium-ruby/models/file_put_message.rb +1 -1
  364. data/lib/buildium-ruby/models/file_search_message.rb +1 -1
  365. data/lib/buildium-ruby/models/file_sharing_account_message.rb +263 -0
  366. data/lib/buildium-ruby/models/file_sharing_account_put_message.rb +263 -0
  367. data/lib/buildium-ruby/models/file_sharing_association_message.rb +229 -0
  368. data/lib/buildium-ruby/models/file_sharing_association_owner_message.rb +219 -0
  369. data/lib/buildium-ruby/models/file_sharing_association_owner_put_message.rb +219 -0
  370. data/lib/buildium-ruby/models/file_sharing_association_put_message.rb +229 -0
  371. data/lib/buildium-ruby/models/file_sharing_association_unit_message.rb +229 -0
  372. data/lib/buildium-ruby/models/file_sharing_association_unit_put_message.rb +229 -0
  373. data/lib/buildium-ruby/models/file_sharing_committee_message.rb +239 -0
  374. data/lib/buildium-ruby/models/file_sharing_committee_put_message.rb +239 -0
  375. data/lib/buildium-ruby/models/file_sharing_lease_message.rb +229 -0
  376. data/lib/buildium-ruby/models/file_sharing_lease_put_message.rb +229 -0
  377. data/lib/buildium-ruby/models/file_sharing_message.rb +316 -0
  378. data/lib/buildium-ruby/models/file_sharing_ownership_account_message.rb +229 -0
  379. data/lib/buildium-ruby/models/file_sharing_ownership_account_put_message.rb +229 -0
  380. data/lib/buildium-ruby/models/file_sharing_put_message.rb +316 -0
  381. data/lib/buildium-ruby/models/file_sharing_rental_message.rb +229 -0
  382. data/lib/buildium-ruby/models/file_sharing_rental_owner_message.rb +219 -0
  383. data/lib/buildium-ruby/models/file_sharing_rental_owner_put_message.rb +219 -0
  384. data/lib/buildium-ruby/models/file_sharing_rental_put_message.rb +229 -0
  385. data/lib/buildium-ruby/models/file_sharing_rental_unit_mesage.rb +229 -0
  386. data/lib/buildium-ruby/models/file_sharing_rental_unit_put_mesage.rb +229 -0
  387. data/lib/buildium-ruby/models/file_sharing_tenant_message.rb +229 -0
  388. data/lib/buildium-ruby/models/file_sharing_tenant_put_message.rb +229 -0
  389. data/lib/buildium-ruby/models/file_sharing_vendor_message.rb +219 -0
  390. data/lib/buildium-ruby/models/file_sharing_vendor_put_message.rb +219 -0
  391. data/lib/buildium-ruby/models/file_upload_post_message.rb +1 -1
  392. data/lib/buildium-ruby/models/file_upload_ticket_message.rb +1 -1
  393. data/lib/buildium-ruby/models/general_journal_entry_line_save_message.rb +2 -2
  394. data/lib/buildium-ruby/models/general_journal_entry_post_message.rb +1 -1
  395. data/lib/buildium-ruby/models/general_journal_entry_put_message.rb +1 -1
  396. data/lib/buildium-ruby/models/general_ledger_entry_message.rb +311 -0
  397. data/lib/buildium-ruby/models/general_ledger_journal_line_message.rb +1 -1
  398. data/lib/buildium-ruby/models/general_ledger_journal_message.rb +1 -1
  399. data/lib/buildium-ruby/models/general_ledger_message.rb +260 -0
  400. data/lib/buildium-ruby/models/general_ledger_search_message.rb +336 -0
  401. data/lib/buildium-ruby/models/general_ledger_transaction_message.rb +1 -1
  402. data/lib/buildium-ruby/models/general_ledger_transaction_search_message.rb +1 -1
  403. data/lib/buildium-ruby/models/gl_account_balance_item_message.rb +1 -1
  404. data/lib/buildium-ruby/models/gl_account_balance_message.rb +1 -1
  405. data/lib/buildium-ruby/models/gl_account_balance_search_message.rb +1 -1
  406. data/lib/buildium-ruby/models/gl_account_message.rb +1 -1
  407. data/lib/buildium-ruby/models/gl_account_post_message.rb +1 -1
  408. data/lib/buildium-ruby/models/gl_account_put_message.rb +1 -1
  409. data/lib/buildium-ruby/models/gl_accounts_search_message.rb +1 -1
  410. data/lib/buildium-ruby/models/gl_transaction_message_v1.rb +1 -1
  411. data/lib/buildium-ruby/models/image_reorder_request_put_message.rb +225 -0
  412. data/lib/buildium-ruby/models/insured_tenant_message.rb +248 -0
  413. data/lib/buildium-ruby/models/internal_transaction_status_message.rb +1 -1
  414. data/lib/buildium-ruby/models/journal_line_message.rb +15 -5
  415. data/lib/buildium-ruby/models/journal_message.rb +1 -1
  416. data/lib/buildium-ruby/models/json_patch_operation.rb +254 -0
  417. data/lib/buildium-ruby/models/last_updated_by_user_message.rb +1 -1
  418. data/lib/buildium-ruby/models/lease_account_detail_message.rb +1 -1
  419. data/lib/buildium-ruby/models/lease_auto_allocated_payment_post_message.rb +332 -0
  420. data/lib/buildium-ruby/models/lease_charge_line_save_message.rb +1 -1
  421. data/lib/buildium-ruby/models/lease_charge_post_message.rb +1 -1
  422. data/lib/buildium-ruby/models/lease_charge_put_message.rb +1 -1
  423. data/lib/buildium-ruby/models/lease_charge_recurring_transaction_message.rb +1 -1
  424. data/lib/buildium-ruby/models/lease_cosigner_post_message.rb +1 -1
  425. data/lib/buildium-ruby/models/lease_ledger_credit_line_post_message.rb +1 -1
  426. data/lib/buildium-ruby/models/lease_ledger_credit_post_message.rb +1 -1
  427. data/lib/buildium-ruby/models/lease_ledger_deposit_withholding_line_post_message.rb +1 -1
  428. data/lib/buildium-ruby/models/lease_ledger_deposit_withholding_post_message.rb +1 -1
  429. data/lib/buildium-ruby/models/lease_ledger_payment_line_save_message.rb +1 -1
  430. data/lib/buildium-ruby/models/lease_ledger_payment_post_message.rb +1 -1
  431. data/lib/buildium-ruby/models/lease_ledger_payment_put_message.rb +319 -0
  432. data/lib/buildium-ruby/models/lease_ledger_refund_line_message.rb +1 -1
  433. data/lib/buildium-ruby/models/lease_ledger_refund_line_post_message.rb +1 -1
  434. data/lib/buildium-ruby/models/lease_ledger_refund_message.rb +1 -1
  435. data/lib/buildium-ruby/models/lease_ledger_refund_post_message.rb +1 -1
  436. data/lib/buildium-ruby/models/lease_ledger_reverse_payment_nsf_charge_post_message.rb +1 -1
  437. data/lib/buildium-ruby/models/lease_ledger_reverse_payment_other_bank_charge_post_message.rb +1 -1
  438. data/lib/buildium-ruby/models/lease_ledger_reverse_payment_post_message.rb +1 -1
  439. data/lib/buildium-ruby/models/lease_message.rb +1 -1
  440. data/lib/buildium-ruby/models/lease_move_out_data_message.rb +1 -1
  441. data/lib/buildium-ruby/models/lease_move_out_data_post_message.rb +1 -1
  442. data/lib/buildium-ruby/models/lease_outstanding_balance_message.rb +1 -1
  443. data/lib/buildium-ruby/models/lease_outstanding_balance_search_message.rb +1 -1
  444. data/lib/buildium-ruby/models/lease_post_message.rb +27 -8
  445. data/lib/buildium-ruby/models/lease_put_message.rb +1 -1
  446. data/lib/buildium-ruby/models/lease_recurring_credit_message.rb +1 -1
  447. data/lib/buildium-ruby/models/lease_recurring_payment_message.rb +1 -1
  448. data/lib/buildium-ruby/models/lease_renewal_message.rb +1 -1
  449. data/lib/buildium-ruby/models/lease_renewal_post_message.rb +1 -1
  450. data/lib/buildium-ruby/models/lease_renewal_search_message.rb +272 -0
  451. data/lib/buildium-ruby/models/lease_rent_charge_message.rb +1 -1
  452. data/lib/buildium-ruby/models/lease_rent_charge_post_message.rb +1 -1
  453. data/lib/buildium-ruby/models/lease_rent_message.rb +2 -2
  454. data/lib/buildium-ruby/models/lease_rent_post_message.rb +1 -1
  455. data/lib/buildium-ruby/models/lease_search_message.rb +1 -1
  456. data/lib/buildium-ruby/models/lease_security_deposit_post_message.rb +1 -1
  457. data/lib/buildium-ruby/models/lease_tenant_message.rb +15 -5
  458. data/lib/buildium-ruby/models/lease_transaction_message.rb +47 -3
  459. data/lib/buildium-ruby/models/lease_transaction_search_message.rb +1 -1
  460. data/lib/buildium-ruby/models/listing_contact_message.rb +1 -1
  461. data/lib/buildium-ruby/models/listing_contact_save_message.rb +1 -1
  462. data/lib/buildium-ruby/models/listing_entity_file_post_message.rb +248 -0
  463. data/lib/buildium-ruby/models/listing_file_message.rb +1 -1
  464. data/lib/buildium-ruby/models/listing_message.rb +1 -1
  465. data/lib/buildium-ruby/models/listing_property_message.rb +1 -1
  466. data/lib/buildium-ruby/models/listing_put_message.rb +1 -1
  467. data/lib/buildium-ruby/models/listing_search_message.rb +1 -1
  468. data/lib/buildium-ruby/models/listing_unit_message.rb +1 -1
  469. data/lib/buildium-ruby/models/lock_period_settings_global_message.rb +1 -1
  470. data/lib/buildium-ruby/models/lock_period_settings_overrides_message.rb +1 -1
  471. data/lib/buildium-ruby/models/logged_by_staff_user_message.rb +1 -1
  472. data/lib/buildium-ruby/models/lookup_message.rb +1 -1
  473. data/lib/buildium-ruby/models/mailing_template_message.rb +1 -1
  474. data/lib/buildium-ruby/models/meter_reading_detail_message.rb +268 -0
  475. data/lib/buildium-ruby/models/meter_reading_detail_put_message.rb +263 -0
  476. data/lib/buildium-ruby/models/meter_reading_details_delete_search_message.rb +272 -0
  477. data/lib/buildium-ruby/models/meter_reading_details_message.rb +274 -0
  478. data/lib/buildium-ruby/models/meter_reading_details_put_message.rb +289 -0
  479. data/lib/buildium-ruby/models/meter_reading_details_put_search_message.rb +262 -0
  480. data/lib/buildium-ruby/models/meter_reading_details_search_message.rb +272 -0
  481. data/lib/buildium-ruby/models/meter_reading_message.rb +292 -0
  482. data/lib/buildium-ruby/models/meter_reading_search_message.rb +272 -0
  483. data/lib/buildium-ruby/models/multiple_bill_payments_post_message.rb +277 -0
  484. data/lib/buildium-ruby/models/note_message.rb +1 -1
  485. data/lib/buildium-ruby/models/note_post_message.rb +1 -1
  486. data/lib/buildium-ruby/models/note_put_message.rb +1 -1
  487. data/lib/buildium-ruby/models/note_search_message.rb +1 -1
  488. data/lib/buildium-ruby/models/offline_payments_message.rb +239 -0
  489. data/lib/buildium-ruby/models/offline_payments_put_message.rb +249 -0
  490. data/lib/buildium-ruby/models/outstanding_balances_line_message.rb +1 -1
  491. data/lib/buildium-ruby/models/ownership_account_auto_allocated_payment_post_message.rb +332 -0
  492. data/lib/buildium-ruby/models/ownership_account_charge_recurring_transaction_message.rb +1 -1
  493. data/lib/buildium-ruby/models/ownership_account_credit_line_post_message.rb +1 -1
  494. data/lib/buildium-ruby/models/ownership_account_credit_post_message.rb +1 -1
  495. data/lib/buildium-ruby/models/ownership_account_deposit_withholding_line_post_message.rb +1 -1
  496. data/lib/buildium-ruby/models/ownership_account_deposit_withholding_post_message.rb +1 -1
  497. data/lib/buildium-ruby/models/ownership_account_ledger_charge_lines_put_message.rb +1 -1
  498. data/lib/buildium-ruby/models/ownership_account_ledger_charge_lines_save_message.rb +1 -1
  499. data/lib/buildium-ruby/models/ownership_account_ledger_charge_post_message.rb +1 -1
  500. data/lib/buildium-ruby/models/ownership_account_ledger_charge_put_message.rb +1 -1
  501. data/lib/buildium-ruby/models/ownership_account_ledger_payment_line_save_message.rb +1 -1
  502. data/lib/buildium-ruby/models/ownership_account_ledger_payment_post_message.rb +1 -1
  503. data/lib/buildium-ruby/models/ownership_account_ledger_payment_put_message.rb +320 -0
  504. data/lib/buildium-ruby/models/ownership_account_outstanding_balance_message.rb +1 -1
  505. data/lib/buildium-ruby/models/ownership_account_outstanding_balance_search_message.rb +1 -1
  506. data/lib/buildium-ruby/models/ownership_account_recurring_credit_message.rb +1 -1
  507. data/lib/buildium-ruby/models/ownership_account_recurring_payment_message.rb +1 -1
  508. data/lib/buildium-ruby/models/ownership_account_refund_line_message.rb +1 -1
  509. data/lib/buildium-ruby/models/ownership_account_refund_lines_post_message.rb +1 -1
  510. data/lib/buildium-ruby/models/ownership_account_refund_message.rb +1 -1
  511. data/lib/buildium-ruby/models/ownership_account_refund_post_message.rb +1 -1
  512. data/lib/buildium-ruby/models/ownership_account_transaction_message.rb +46 -2
  513. data/lib/buildium-ruby/models/paid_by_message.rb +1 -1
  514. data/lib/buildium-ruby/models/participant_message.rb +1 -1
  515. data/lib/buildium-ruby/models/participant_resource_message.rb +1 -1
  516. data/lib/buildium-ruby/models/payee_message.rb +1 -1
  517. data/lib/buildium-ruby/models/payment_detail_message.rb +1 -1
  518. data/lib/buildium-ruby/models/payment_recurring_transaction_post_message.rb +1 -1
  519. data/lib/buildium-ruby/models/payment_transactions_message.rb +1 -1
  520. data/lib/buildium-ruby/models/phone_log_message.rb +1 -1
  521. data/lib/buildium-ruby/models/phone_log_participant_post_message.rb +1 -1
  522. data/lib/buildium-ruby/models/phone_log_participant_unit_agreement_post_message.rb +1 -1
  523. data/lib/buildium-ruby/models/phone_log_post_message.rb +1 -1
  524. data/lib/buildium-ruby/models/phone_log_put_message.rb +1 -1
  525. data/lib/buildium-ruby/models/phone_log_search_message.rb +1 -1
  526. data/lib/buildium-ruby/models/phone_number_message.rb +1 -1
  527. data/lib/buildium-ruby/models/phone_numbers_message.rb +1 -1
  528. data/lib/buildium-ruby/models/property_group_message.rb +1 -1
  529. data/lib/buildium-ruby/models/property_group_post_message.rb +1 -1
  530. data/lib/buildium-ruby/models/property_group_put_message.rb +1 -1
  531. data/lib/buildium-ruby/models/property_group_search_message.rb +1 -1
  532. data/lib/buildium-ruby/models/property_manager_message.rb +1 -1
  533. data/lib/buildium-ruby/models/property_message.rb +1 -1
  534. data/lib/buildium-ruby/models/recurring_transaction_line_message.rb +1 -1
  535. data/lib/buildium-ruby/models/recurring_transaction_line_post_message.rb +1 -1
  536. data/lib/buildium-ruby/models/recurring_transaction_message.rb +1 -1
  537. data/lib/buildium-ruby/models/rental_appliance_message.rb +1 -1
  538. data/lib/buildium-ruby/models/rental_appliance_post_message.rb +1 -1
  539. data/lib/buildium-ruby/models/rental_appliance_put_message.rb +1 -1
  540. data/lib/buildium-ruby/models/rental_appliance_search_message.rb +1 -1
  541. data/lib/buildium-ruby/models/rental_appliance_service_history_message.rb +1 -1
  542. data/lib/buildium-ruby/models/rental_appliance_service_history_post_message.rb +1 -1
  543. data/lib/buildium-ruby/models/rental_features_message.rb +1 -1
  544. data/lib/buildium-ruby/models/rental_features_put_message.rb +1 -1
  545. data/lib/buildium-ruby/models/rental_image_message.rb +292 -0
  546. data/lib/buildium-ruby/models/rental_image_put_message.rb +233 -0
  547. data/lib/buildium-ruby/models/rental_message.rb +1 -1
  548. data/lib/buildium-ruby/models/rental_owner_contribution_data_message.rb +229 -0
  549. data/lib/buildium-ruby/models/rental_owner_contribution_data_put_message.rb +229 -0
  550. data/lib/buildium-ruby/models/rental_owner_contribution_message.rb +229 -0
  551. data/lib/buildium-ruby/models/rental_owner_contribution_put_message.rb +229 -0
  552. data/lib/buildium-ruby/models/rental_owner_contribution_reminder_message.rb +229 -0
  553. data/lib/buildium-ruby/models/rental_owner_contribution_reminder_put_message.rb +229 -0
  554. data/lib/buildium-ruby/models/rental_owner_message.rb +1 -1
  555. data/lib/buildium-ruby/models/rental_owner_post_message.rb +1 -1
  556. data/lib/buildium-ruby/models/rental_owner_put_message.rb +1 -1
  557. data/lib/buildium-ruby/models/rental_owner_request_task_message.rb +1 -1
  558. data/lib/buildium-ruby/models/rental_owner_request_task_post_message.rb +1 -1
  559. data/lib/buildium-ruby/models/rental_owner_request_task_put_message.rb +1 -1
  560. data/lib/buildium-ruby/models/rental_owner_request_task_search_message.rb +1 -1
  561. data/lib/buildium-ruby/models/rental_owner_tax_information_message.rb +1 -1
  562. data/lib/buildium-ruby/models/rental_owners_search_message.rb +1 -1
  563. data/lib/buildium-ruby/models/rental_preferred_vendor_message.rb +1 -1
  564. data/lib/buildium-ruby/models/rental_preferred_vendor_put_message.rb +1 -1
  565. data/lib/buildium-ruby/models/rental_property_post_message.rb +2 -2
  566. data/lib/buildium-ruby/models/rental_property_put_message.rb +1 -1
  567. data/lib/buildium-ruby/models/rental_property_unit_post_message.rb +1 -1
  568. data/lib/buildium-ruby/models/rental_search_message.rb +1 -1
  569. data/lib/buildium-ruby/models/rental_tenant_post_message.rb +1 -1
  570. data/lib/buildium-ruby/models/rental_tenant_put_message.rb +1 -1
  571. data/lib/buildium-ruby/models/rental_tenant_renewal_post_message.rb +1 -1
  572. data/lib/buildium-ruby/models/rental_unit_features_message.rb +1 -1
  573. data/lib/buildium-ruby/models/rental_unit_features_put_message.rb +1 -1
  574. data/lib/buildium-ruby/models/rental_unit_image_message.rb +292 -0
  575. data/lib/buildium-ruby/models/rental_unit_image_put_message.rb +233 -0
  576. data/lib/buildium-ruby/models/rental_unit_message.rb +3 -3
  577. data/lib/buildium-ruby/models/rental_unit_put_message.rb +1 -1
  578. data/lib/buildium-ruby/models/rental_unit_search_message.rb +1 -1
  579. data/lib/buildium-ruby/models/rental_units_post_message.rb +1 -1
  580. data/lib/buildium-ruby/models/renters_insurance_policy_message.rb +324 -0
  581. data/lib/buildium-ruby/models/requested_by_user_entity_message.rb +1 -1
  582. data/lib/buildium-ruby/models/resident_center_user_message.rb +1 -1
  583. data/lib/buildium-ruby/models/resident_center_user_reference_message.rb +1 -1
  584. data/lib/buildium-ruby/models/resident_center_user_search_message.rb +1 -1
  585. data/lib/buildium-ruby/models/resident_request_task_message.rb +1 -1
  586. data/lib/buildium-ruby/models/resident_request_task_post_message.rb +25 -5
  587. data/lib/buildium-ruby/models/resident_request_task_put_message.rb +1 -1
  588. data/lib/buildium-ruby/models/resident_request_task_search_message.rb +1 -1
  589. data/lib/buildium-ruby/models/retail_cash_property_message.rb +282 -0
  590. data/lib/buildium-ruby/models/retail_cash_unit_message.rb +238 -0
  591. data/lib/buildium-ruby/models/retail_cash_user_data_message.rb +312 -0
  592. data/lib/buildium-ruby/models/retail_cash_user_message.rb +274 -0
  593. data/lib/buildium-ruby/models/retail_cash_user_put_message.rb +223 -0
  594. data/lib/buildium-ruby/models/retail_cash_users_search_message.rb +304 -0
  595. data/lib/buildium-ruby/models/safe_wait_handle.rb +226 -0
  596. data/lib/buildium-ruby/models/save_address_message.rb +1 -1
  597. data/lib/buildium-ruby/models/save_emergency_contact_message.rb +1 -1
  598. data/lib/buildium-ruby/models/task_category_message.rb +1 -1
  599. data/lib/buildium-ruby/models/task_category_put_message.rb +1 -1
  600. data/lib/buildium-ruby/models/task_category_response_message.rb +1 -1
  601. data/lib/buildium-ruby/models/task_category_save_message.rb +1 -1
  602. data/lib/buildium-ruby/models/task_history_file_message.rb +1 -1
  603. data/lib/buildium-ruby/models/task_history_file_upload_post_message.rb +1 -1
  604. data/lib/buildium-ruby/models/task_history_message.rb +1 -1
  605. data/lib/buildium-ruby/models/task_history_put_message.rb +1 -1
  606. data/lib/buildium-ruby/models/task_history_user_message.rb +1 -1
  607. data/lib/buildium-ruby/models/task_search_message.rb +1 -1
  608. data/lib/buildium-ruby/models/task_sub_category_message.rb +1 -1
  609. data/lib/buildium-ruby/models/tax_information_post_message.rb +1 -1
  610. data/lib/buildium-ruby/models/tax_information_save_message.rb +1 -1
  611. data/lib/buildium-ruby/models/tenant_message.rb +1 -1
  612. data/lib/buildium-ruby/models/tenant_search_message.rb +1 -1
  613. data/lib/buildium-ruby/models/to_do_task_message.rb +1 -1
  614. data/lib/buildium-ruby/models/to_do_task_post_message.rb +1 -1
  615. data/lib/buildium-ruby/models/to_do_task_put_message.rb +1 -1
  616. data/lib/buildium-ruby/models/to_do_task_search_message.rb +1 -1
  617. data/lib/buildium-ruby/models/undeposited_funds_message.rb +1 -1
  618. data/lib/buildium-ruby/models/unit_agreement_message.rb +1 -1
  619. data/lib/buildium-ruby/models/unit_entity_message.rb +229 -0
  620. data/lib/buildium-ruby/models/user_message.rb +1 -1
  621. data/lib/buildium-ruby/models/user_role_message.rb +1 -1
  622. data/lib/buildium-ruby/models/user_search_message.rb +1 -1
  623. data/lib/buildium-ruby/models/vehicle_message.rb +1 -1
  624. data/lib/buildium-ruby/models/vendor_category_message.rb +1 -1
  625. data/lib/buildium-ruby/models/vendor_category_save_message.rb +1 -1
  626. data/lib/buildium-ruby/models/vendor_credit_line_item_message.rb +1 -1
  627. data/lib/buildium-ruby/models/vendor_credit_line_item_post_message.rb +1 -1
  628. data/lib/buildium-ruby/models/vendor_credit_message.rb +1 -1
  629. data/lib/buildium-ruby/models/vendor_credit_post_message.rb +1 -1
  630. data/lib/buildium-ruby/models/vendor_insurance_message.rb +1 -1
  631. data/lib/buildium-ruby/models/vendor_insurance_save_message.rb +1 -1
  632. data/lib/buildium-ruby/models/vendor_message.rb +1 -1
  633. data/lib/buildium-ruby/models/vendor_post_message.rb +1 -1
  634. data/lib/buildium-ruby/models/vendor_put_message.rb +1 -1
  635. data/lib/buildium-ruby/models/vendor_refund_line_message.rb +1 -1
  636. data/lib/buildium-ruby/models/vendor_refund_line_post_message.rb +1 -1
  637. data/lib/buildium-ruby/models/vendor_refund_message.rb +1 -1
  638. data/lib/buildium-ruby/models/vendor_refund_post_message.rb +1 -1
  639. data/lib/buildium-ruby/models/vendor_search_message.rb +1 -1
  640. data/lib/buildium-ruby/models/vendor_tax_information_message.rb +1 -1
  641. data/lib/buildium-ruby/models/vendor_transaction_message.rb +1 -1
  642. data/lib/buildium-ruby/models/vendor_transaction_search_message.rb +1 -1
  643. data/lib/buildium-ruby/models/video_link_request_post_message.rb +238 -0
  644. data/lib/buildium-ruby/models/wait_handle.rb +226 -0
  645. data/lib/buildium-ruby/models/work_order_entry_contact_message.rb +1 -1
  646. data/lib/buildium-ruby/models/work_order_entry_contact_resource_message.rb +1 -1
  647. data/lib/buildium-ruby/models/work_order_line_item_message.rb +1 -1
  648. data/lib/buildium-ruby/models/work_order_line_item_save_message.rb +1 -1
  649. data/lib/buildium-ruby/models/work_order_message.rb +1 -1
  650. data/lib/buildium-ruby/models/work_order_post_message.rb +1 -1
  651. data/lib/buildium-ruby/models/work_order_put_message.rb +1 -1
  652. data/lib/buildium-ruby/models/work_order_search_message.rb +1 -1
  653. data/lib/buildium-ruby/models/work_order_task_message.rb +1 -1
  654. data/lib/buildium-ruby/models/work_order_task_post_message.rb +1 -1
  655. data/lib/buildium-ruby/version.rb +2 -2
  656. data/lib/buildium-ruby.rb +101 -4
  657. data/spec/api_client_spec.rb +1 -1
  658. data/spec/configuration_spec.rb +1 -1
  659. data/spec/spec_helper.rb +1 -1
  660. metadata +206 -826
  661. data/docs/AccountingApi.md +0 -2041
  662. data/lib/buildium-ruby/api/accounting_api.rb +0 -1855
  663. data/spec/api/accounting_api_spec.rb +0 -383
  664. data/spec/api/administration_api_spec.rb +0 -114
  665. data/spec/api/applicants_api_spec.rb +0 -294
  666. data/spec/api/association_appliances_api_spec.rb +0 -141
  667. data/spec/api/association_owners_api_spec.rb +0 -195
  668. data/spec/api/association_ownership_accounts_api_spec.rb +0 -385
  669. data/spec/api/association_tenants_api_spec.rb +0 -153
  670. data/spec/api/association_units_api_spec.rb +0 -147
  671. data/spec/api/associations_api_spec.rb +0 -248
  672. data/spec/api/bank_accounts_api_spec.rb +0 -420
  673. data/spec/api/client_leads_api_spec.rb +0 -66
  674. data/spec/api/communications_api_spec.rb +0 -248
  675. data/spec/api/files_api_spec.rb +0 -156
  676. data/spec/api/leases_api_spec.rb +0 -529
  677. data/spec/api/listings_api_spec.rb +0 -139
  678. data/spec/api/property_groups_api_spec.rb +0 -88
  679. data/spec/api/rental_appliances_api_spec.rb +0 -141
  680. data/spec/api/rental_owners_api_spec.rb +0 -151
  681. data/spec/api/rental_properties_api_spec.rb +0 -205
  682. data/spec/api/rental_tenants_api_spec.rb +0 -154
  683. data/spec/api/rental_units_api_spec.rb +0 -172
  684. data/spec/api/resident_center_api_spec.rb +0 -54
  685. data/spec/api/tasks_api_spec.rb +0 -493
  686. data/spec/api/vendors_api_spec.rb +0 -275
  687. data/spec/api/work_orders_api_spec.rb +0 -105
  688. data/spec/models/account_info_message_spec.rb +0 -58
  689. data/spec/models/accounting_entity_message_spec.rb +0 -50
  690. data/spec/models/accounting_entity_save_message_spec.rb +0 -44
  691. data/spec/models/accounting_lock_period_message_spec.rb +0 -46
  692. data/spec/models/accounting_settings_message_spec.rb +0 -72
  693. data/spec/models/address_message_spec.rb +0 -74
  694. data/spec/models/all_tasks_message_spec.rb +0 -130
  695. data/spec/models/announcement_message_spec.rb +0 -74
  696. data/spec/models/announcement_post_message_spec.rb +0 -64
  697. data/spec/models/announcement_search_message_spec.rb +0 -62
  698. data/spec/models/announcement_sender_message_spec.rb +0 -46
  699. data/spec/models/api_error_response_spec.rb +0 -46
  700. data/spec/models/appliance_message_spec.rb +0 -58
  701. data/spec/models/applicant_application_message_spec.rb +0 -56
  702. data/spec/models/applicant_group_message_spec.rb +0 -62
  703. data/spec/models/applicant_group_post_message_spec.rb +0 -40
  704. data/spec/models/applicant_group_put_message_spec.rb +0 -50
  705. data/spec/models/applicant_group_search_message_spec.rb +0 -66
  706. data/spec/models/applicant_message_spec.rb +0 -88
  707. data/spec/models/applicant_post_message_spec.rb +0 -64
  708. data/spec/models/applicant_put_message_spec.rb +0 -58
  709. data/spec/models/applicant_search_message_spec.rb +0 -84
  710. data/spec/models/application_message_spec.rb +0 -62
  711. data/spec/models/application_put_message_spec.rb +0 -38
  712. data/spec/models/application_response_field_message_spec.rb +0 -60
  713. data/spec/models/application_response_message_spec.rb +0 -50
  714. data/spec/models/application_section_response_message_spec.rb +0 -34
  715. data/spec/models/association_appliance_message_spec.rb +0 -76
  716. data/spec/models/association_appliance_post_message_spec.rb +0 -76
  717. data/spec/models/association_appliance_put_message_spec.rb +0 -64
  718. data/spec/models/association_appliance_search_message_spec.rb +0 -40
  719. data/spec/models/association_appliance_service_history_message_spec.rb +0 -56
  720. data/spec/models/association_appliance_service_history_post_message_spec.rb +0 -50
  721. data/spec/models/association_board_member_message_spec.rb +0 -92
  722. data/spec/models/association_board_member_post_message_spec.rb +0 -56
  723. data/spec/models/association_board_member_put_message_spec.rb +0 -50
  724. data/spec/models/association_board_member_search_message_spec.rb +0 -60
  725. data/spec/models/association_message_spec.rb +0 -100
  726. data/spec/models/association_owner_board_term_message_spec.rb +0 -68
  727. data/spec/models/association_owner_board_term_post_message_spec.rb +0 -50
  728. data/spec/models/association_owner_message_spec.rb +0 -144
  729. data/spec/models/association_owner_post_message_spec.rb +0 -116
  730. data/spec/models/association_owner_put_message_spec.rb +0 -98
  731. data/spec/models/association_owner_to_existing_ownership_account_post_message_spec.rb +0 -128
  732. data/spec/models/association_owner_unit_occupancy_put_message_spec.rb +0 -34
  733. data/spec/models/association_owner_unit_occupancy_status_message_spec.rb +0 -40
  734. data/spec/models/association_ownership_account_message_spec.rb +0 -90
  735. data/spec/models/association_ownership_account_post_message_spec.rb +0 -80
  736. data/spec/models/association_ownership_account_put_message_spec.rb +0 -34
  737. data/spec/models/association_ownership_account_search_message_spec.rb +0 -72
  738. data/spec/models/association_post_message_spec.rb +0 -76
  739. data/spec/models/association_preferred_vendor_message_spec.rb +0 -82
  740. data/spec/models/association_preferred_vendor_put_message_spec.rb +0 -34
  741. data/spec/models/association_put_message_spec.rb +0 -82
  742. data/spec/models/association_search_message_spec.rb +0 -56
  743. data/spec/models/association_tenant_message_spec.rb +0 -112
  744. data/spec/models/association_tenant_post_message_spec.rb +0 -106
  745. data/spec/models/association_tenant_put_message_spec.rb +0 -94
  746. data/spec/models/association_unit_message_spec.rb +0 -84
  747. data/spec/models/association_unit_put_message_spec.rb +0 -66
  748. data/spec/models/association_unit_search_message_spec.rb +0 -46
  749. data/spec/models/association_units_post_message_spec.rb +0 -72
  750. data/spec/models/association_user_search_message_spec.rb +0 -86
  751. data/spec/models/bank_account_check_accounting_entity_save_message_spec.rb +0 -44
  752. data/spec/models/bank_account_check_line_message_spec.rb +0 -64
  753. data/spec/models/bank_account_check_line_save_message_spec.rb +0 -58
  754. data/spec/models/bank_account_check_message_spec.rb +0 -70
  755. data/spec/models/bank_account_check_payee_message_spec.rb +0 -50
  756. data/spec/models/bank_account_check_payee_save_message_spec.rb +0 -44
  757. data/spec/models/bank_account_check_post_message_spec.rb +0 -58
  758. data/spec/models/bank_account_check_put_message_spec.rb +0 -58
  759. data/spec/models/bank_account_check_search_message_spec.rb +0 -40
  760. data/spec/models/bank_account_deposit_line_message_spec.rb +0 -64
  761. data/spec/models/bank_account_deposit_line_save_message_spec.rb +0 -58
  762. data/spec/models/bank_account_deposit_message_spec.rb +0 -64
  763. data/spec/models/bank_account_deposit_post_message_spec.rb +0 -52
  764. data/spec/models/bank_account_deposit_put_message_spec.rb +0 -46
  765. data/spec/models/bank_account_deposit_search_message_spec.rb +0 -40
  766. data/spec/models/bank_account_message_spec.rb +0 -104
  767. data/spec/models/bank_account_post_message_spec.rb +0 -78
  768. data/spec/models/bank_account_put_message_spec.rb +0 -78
  769. data/spec/models/bank_account_quick_deposit_message_spec.rb +0 -64
  770. data/spec/models/bank_account_quick_deposit_save_message_spec.rb +0 -58
  771. data/spec/models/bank_account_quick_deposit_search_message_spec.rb +0 -40
  772. data/spec/models/bank_account_search_message_spec.rb +0 -44
  773. data/spec/models/bank_account_transaction_message_spec.rb +0 -96
  774. data/spec/models/bank_account_transaction_search_message_spec.rb +0 -56
  775. data/spec/models/bank_account_transfer_accounting_entity_save_message_spec.rb +0 -44
  776. data/spec/models/bank_account_transfer_message_spec.rb +0 -64
  777. data/spec/models/bank_account_transfer_save_message_spec.rb +0 -58
  778. data/spec/models/bank_account_transfer_search_message_spec.rb +0 -40
  779. data/spec/models/bank_account_withdrawal_message_spec.rb +0 -64
  780. data/spec/models/bank_account_withdrawal_save_message_spec.rb +0 -58
  781. data/spec/models/bank_account_withdrawal_search_message_spec.rb +0 -40
  782. data/spec/models/bill_file_message_spec.rb +0 -64
  783. data/spec/models/bill_line_message_spec.rb +0 -64
  784. data/spec/models/bill_line_post_message_spec.rb +0 -58
  785. data/spec/models/bill_line_put_message_spec.rb +0 -64
  786. data/spec/models/bill_markup_message_spec.rb +0 -44
  787. data/spec/models/bill_markup_save_message_spec.rb +0 -44
  788. data/spec/models/bill_message_spec.rb +0 -92
  789. data/spec/models/bill_payment_accounting_entity_message_spec.rb +0 -44
  790. data/spec/models/bill_payment_line_message_spec.rb +0 -46
  791. data/spec/models/bill_payment_line_post_message_spec.rb +0 -40
  792. data/spec/models/bill_payment_message_spec.rb +0 -64
  793. data/spec/models/bill_payment_post_message_spec.rb +0 -58
  794. data/spec/models/bill_post_message_spec.rb +0 -70
  795. data/spec/models/bill_put_message_spec.rb +0 -64
  796. data/spec/models/bill_search_message_spec.rb +0 -88
  797. data/spec/models/budget_details_message_spec.rb +0 -56
  798. data/spec/models/budget_details_save_message_spec.rb +0 -40
  799. data/spec/models/budget_message_spec.rb +0 -64
  800. data/spec/models/budget_monthly_amounts_message_spec.rb +0 -100
  801. data/spec/models/budget_monthly_amounts_save_message_spec.rb +0 -100
  802. data/spec/models/budget_post_message_spec.rb +0 -62
  803. data/spec/models/budget_put_message_spec.rb +0 -40
  804. data/spec/models/budget_search_message_spec.rb +0 -46
  805. data/spec/models/charge_recurring_transaction_post_message_spec.rb +0 -84
  806. data/spec/models/charge_recurring_transaction_put_message_spec.rb +0 -90
  807. data/spec/models/check_printing_info_message_spec.rb +0 -122
  808. data/spec/models/check_printing_info_post_message_spec.rb +0 -122
  809. data/spec/models/check_printing_info_put_message_spec.rb +0 -122
  810. data/spec/models/client_lead_credit_request_message_spec.rb +0 -60
  811. data/spec/models/client_lead_message_spec.rb +0 -102
  812. data/spec/models/client_lead_search_message_spec.rb +0 -66
  813. data/spec/models/contact_detail_message_spec.rb +0 -52
  814. data/spec/models/contact_detail_phone_message_spec.rb +0 -46
  815. data/spec/models/contact_detail_save_message_spec.rb +0 -52
  816. data/spec/models/contact_detail_save_phone_message_spec.rb +0 -46
  817. data/spec/models/contact_info_message_spec.rb +0 -52
  818. data/spec/models/contact_request_task_message_spec.rb +0 -114
  819. data/spec/models/contact_request_task_post_message_spec.rb +0 -102
  820. data/spec/models/contact_request_task_put_message_spec.rb +0 -102
  821. data/spec/models/contact_request_task_search_message_spec.rb +0 -112
  822. data/spec/models/cosigner_message_spec.rb +0 -92
  823. data/spec/models/created_by_user_message_spec.rb +0 -52
  824. data/spec/models/credit_recurring_transaction_post_message_spec.rb +0 -100
  825. data/spec/models/deposit_detail_message_spec.rb +0 -40
  826. data/spec/models/electronic_payments_message_spec.rb +0 -76
  827. data/spec/models/email_message_spec.rb +0 -52
  828. data/spec/models/email_post_message_spec.rb +0 -70
  829. data/spec/models/email_recipient_message_spec.rb +0 -62
  830. data/spec/models/email_search_message_spec.rb +0 -58
  831. data/spec/models/email_sender_message_spec.rb +0 -52
  832. data/spec/models/emergency_contact_message_spec.rb +0 -52
  833. data/spec/models/file_category_message_spec.rb +0 -46
  834. data/spec/models/file_category_post_message_spec.rb +0 -34
  835. data/spec/models/file_category_put_message_spec.rb +0 -34
  836. data/spec/models/file_download_message_spec.rb +0 -34
  837. data/spec/models/file_entity_message_spec.rb +0 -50
  838. data/spec/models/file_message_spec.rb +0 -82
  839. data/spec/models/file_name_post_message_spec.rb +0 -34
  840. data/spec/models/file_put_message_spec.rb +0 -46
  841. data/spec/models/file_search_message_spec.rb +0 -74
  842. data/spec/models/file_upload_post_message_spec.rb +0 -68
  843. data/spec/models/file_upload_ticket_message_spec.rb +0 -46
  844. data/spec/models/general_journal_entry_line_save_message_spec.rb +0 -56
  845. data/spec/models/general_journal_entry_post_message_spec.rb +0 -52
  846. data/spec/models/general_journal_entry_put_message_spec.rb +0 -52
  847. data/spec/models/general_ledger_journal_line_message_spec.rb +0 -64
  848. data/spec/models/general_ledger_journal_message_spec.rb +0 -40
  849. data/spec/models/general_ledger_transaction_message_spec.rb +0 -98
  850. data/spec/models/general_ledger_transaction_search_message_spec.rb +0 -62
  851. data/spec/models/gl_account_balance_item_message_spec.rb +0 -40
  852. data/spec/models/gl_account_balance_message_spec.rb +0 -46
  853. data/spec/models/gl_account_balance_search_message_spec.rb +0 -66
  854. data/spec/models/gl_account_message_spec.rb +0 -130
  855. data/spec/models/gl_account_post_message_spec.rb +0 -84
  856. data/spec/models/gl_account_put_message_spec.rb +0 -84
  857. data/spec/models/gl_accounts_search_message_spec.rb +0 -38
  858. data/spec/models/gl_transaction_message_v1_spec.rb +0 -58
  859. data/spec/models/internal_transaction_status_message_spec.rb +0 -46
  860. data/spec/models/journal_line_message_spec.rb +0 -64
  861. data/spec/models/journal_message_spec.rb +0 -40
  862. data/spec/models/last_updated_by_user_message_spec.rb +0 -58
  863. data/spec/models/lease_account_detail_message_spec.rb +0 -40
  864. data/spec/models/lease_charge_line_save_message_spec.rb +0 -46
  865. data/spec/models/lease_charge_post_message_spec.rb +0 -46
  866. data/spec/models/lease_charge_put_message_spec.rb +0 -46
  867. data/spec/models/lease_charge_recurring_transaction_message_spec.rb +0 -108
  868. data/spec/models/lease_cosigner_post_message_spec.rb +0 -80
  869. data/spec/models/lease_ledger_credit_line_post_message_spec.rb +0 -40
  870. data/spec/models/lease_ledger_credit_post_message_spec.rb +0 -62
  871. data/spec/models/lease_ledger_deposit_withholding_line_post_message_spec.rb +0 -40
  872. data/spec/models/lease_ledger_deposit_withholding_post_message_spec.rb +0 -52
  873. data/spec/models/lease_ledger_payment_line_save_message_spec.rb +0 -40
  874. data/spec/models/lease_ledger_payment_post_message_spec.rb +0 -74
  875. data/spec/models/lease_ledger_refund_line_message_spec.rb +0 -40
  876. data/spec/models/lease_ledger_refund_line_post_message_spec.rb +0 -40
  877. data/spec/models/lease_ledger_refund_message_spec.rb +0 -82
  878. data/spec/models/lease_ledger_refund_post_message_spec.rb +0 -70
  879. data/spec/models/lease_ledger_reverse_payment_nsf_charge_post_message_spec.rb +0 -40
  880. data/spec/models/lease_ledger_reverse_payment_other_bank_charge_post_message_spec.rb +0 -40
  881. data/spec/models/lease_ledger_reverse_payment_post_message_spec.rb +0 -52
  882. data/spec/models/lease_message_spec.rb +0 -170
  883. data/spec/models/lease_move_out_data_message_spec.rb +0 -46
  884. data/spec/models/lease_move_out_data_post_message_spec.rb +0 -46
  885. data/spec/models/lease_outstanding_balance_message_spec.rb +0 -100
  886. data/spec/models/lease_outstanding_balance_search_message_spec.rb +0 -90
  887. data/spec/models/lease_post_message_spec.rb +0 -98
  888. data/spec/models/lease_put_message_spec.rb +0 -68
  889. data/spec/models/lease_recurring_credit_message_spec.rb +0 -124
  890. data/spec/models/lease_recurring_payment_message_spec.rb +0 -118
  891. data/spec/models/lease_renewal_message_spec.rb +0 -84
  892. data/spec/models/lease_renewal_post_message_spec.rb +0 -98
  893. data/spec/models/lease_rent_charge_message_spec.rb +0 -70
  894. data/spec/models/lease_rent_charge_post_message_spec.rb +0 -52
  895. data/spec/models/lease_rent_message_spec.rb +0 -86
  896. data/spec/models/lease_rent_post_message_spec.rb +0 -44
  897. data/spec/models/lease_search_message_spec.rb +0 -108
  898. data/spec/models/lease_security_deposit_post_message_spec.rb +0 -40
  899. data/spec/models/lease_tenant_message_spec.rb +0 -44
  900. data/spec/models/lease_transaction_message_spec.rb +0 -82
  901. data/spec/models/lease_transaction_search_message_spec.rb +0 -50
  902. data/spec/models/listing_contact_message_spec.rb +0 -58
  903. data/spec/models/listing_contact_save_message_spec.rb +0 -52
  904. data/spec/models/listing_file_message_spec.rb +0 -50
  905. data/spec/models/listing_message_spec.rb +0 -88
  906. data/spec/models/listing_property_message_spec.rb +0 -90
  907. data/spec/models/listing_put_message_spec.rb +0 -64
  908. data/spec/models/listing_search_message_spec.rb +0 -44
  909. data/spec/models/listing_unit_message_spec.rb +0 -100
  910. data/spec/models/lock_period_settings_global_message_spec.rb +0 -34
  911. data/spec/models/lock_period_settings_overrides_message_spec.rb +0 -40
  912. data/spec/models/logged_by_staff_user_message_spec.rb +0 -52
  913. data/spec/models/lookup_message_spec.rb +0 -40
  914. data/spec/models/mailing_template_message_spec.rb +0 -56
  915. data/spec/models/note_message_spec.rb +0 -46
  916. data/spec/models/note_post_message_spec.rb +0 -34
  917. data/spec/models/note_put_message_spec.rb +0 -34
  918. data/spec/models/note_search_message_spec.rb +0 -46
  919. data/spec/models/outstanding_balances_line_message_spec.rb +0 -40
  920. data/spec/models/ownership_account_charge_recurring_transaction_message_spec.rb +0 -108
  921. data/spec/models/ownership_account_credit_line_post_message_spec.rb +0 -40
  922. data/spec/models/ownership_account_credit_post_message_spec.rb +0 -62
  923. data/spec/models/ownership_account_deposit_withholding_line_post_message_spec.rb +0 -40
  924. data/spec/models/ownership_account_deposit_withholding_post_message_spec.rb +0 -52
  925. data/spec/models/ownership_account_ledger_charge_lines_put_message_spec.rb +0 -46
  926. data/spec/models/ownership_account_ledger_charge_lines_save_message_spec.rb +0 -40
  927. data/spec/models/ownership_account_ledger_charge_post_message_spec.rb +0 -46
  928. data/spec/models/ownership_account_ledger_charge_put_message_spec.rb +0 -46
  929. data/spec/models/ownership_account_ledger_payment_line_save_message_spec.rb +0 -40
  930. data/spec/models/ownership_account_ledger_payment_post_message_spec.rb +0 -74
  931. data/spec/models/ownership_account_outstanding_balance_message_spec.rb +0 -88
  932. data/spec/models/ownership_account_outstanding_balance_search_message_spec.rb +0 -70
  933. data/spec/models/ownership_account_recurring_credit_message_spec.rb +0 -124
  934. data/spec/models/ownership_account_recurring_payment_message_spec.rb +0 -118
  935. data/spec/models/ownership_account_refund_line_message_spec.rb +0 -40
  936. data/spec/models/ownership_account_refund_lines_post_message_spec.rb +0 -40
  937. data/spec/models/ownership_account_refund_message_spec.rb +0 -82
  938. data/spec/models/ownership_account_refund_post_message_spec.rb +0 -70
  939. data/spec/models/ownership_account_transaction_message_spec.rb +0 -82
  940. data/spec/models/paid_by_message_spec.rb +0 -40
  941. data/spec/models/participant_message_spec.rb +0 -46
  942. data/spec/models/participant_resource_message_spec.rb +0 -44
  943. data/spec/models/payee_message_spec.rb +0 -56
  944. data/spec/models/payment_detail_message_spec.rb +0 -56
  945. data/spec/models/payment_recurring_transaction_post_message_spec.rb +0 -94
  946. data/spec/models/payment_transactions_message_spec.rb +0 -46
  947. data/spec/models/phone_log_message_spec.rb +0 -64
  948. data/spec/models/phone_log_participant_post_message_spec.rb +0 -50
  949. data/spec/models/phone_log_participant_unit_agreement_post_message_spec.rb +0 -44
  950. data/spec/models/phone_log_post_message_spec.rb +0 -52
  951. data/spec/models/phone_log_put_message_spec.rb +0 -46
  952. data/spec/models/phone_log_search_message_spec.rb +0 -84
  953. data/spec/models/phone_number_message_spec.rb +0 -44
  954. data/spec/models/phone_numbers_message_spec.rb +0 -52
  955. data/spec/models/property_group_message_spec.rb +0 -58
  956. data/spec/models/property_group_post_message_spec.rb +0 -46
  957. data/spec/models/property_group_put_message_spec.rb +0 -46
  958. data/spec/models/property_group_search_message_spec.rb +0 -40
  959. data/spec/models/property_manager_message_spec.rb +0 -76
  960. data/spec/models/property_message_spec.rb +0 -50
  961. data/spec/models/recurring_transaction_line_message_spec.rb +0 -40
  962. data/spec/models/recurring_transaction_line_post_message_spec.rb +0 -40
  963. data/spec/models/recurring_transaction_message_spec.rb +0 -112
  964. data/spec/models/rental_appliance_message_spec.rb +0 -76
  965. data/spec/models/rental_appliance_post_message_spec.rb +0 -76
  966. data/spec/models/rental_appliance_put_message_spec.rb +0 -64
  967. data/spec/models/rental_appliance_search_message_spec.rb +0 -40
  968. data/spec/models/rental_appliance_service_history_message_spec.rb +0 -56
  969. data/spec/models/rental_appliance_service_history_post_message_spec.rb +0 -50
  970. data/spec/models/rental_features_message_spec.rb +0 -48
  971. data/spec/models/rental_features_put_message_spec.rb +0 -48
  972. data/spec/models/rental_message_spec.rb +0 -108
  973. data/spec/models/rental_owner_message_spec.rb +0 -118
  974. data/spec/models/rental_owner_post_message_spec.rb +0 -112
  975. data/spec/models/rental_owner_put_message_spec.rb +0 -106
  976. data/spec/models/rental_owner_request_task_message_spec.rb +0 -114
  977. data/spec/models/rental_owner_request_task_post_message_spec.rb +0 -102
  978. data/spec/models/rental_owner_request_task_put_message_spec.rb +0 -96
  979. data/spec/models/rental_owner_request_task_search_message_spec.rb +0 -112
  980. data/spec/models/rental_owner_tax_information_message_spec.rb +0 -68
  981. data/spec/models/rental_owners_search_message_spec.rb +0 -74
  982. data/spec/models/rental_preferred_vendor_message_spec.rb +0 -82
  983. data/spec/models/rental_preferred_vendor_put_message_spec.rb +0 -34
  984. data/spec/models/rental_property_post_message_spec.rb +0 -92
  985. data/spec/models/rental_property_put_message_spec.rb +0 -80
  986. data/spec/models/rental_property_unit_post_message_spec.rb +0 -78
  987. data/spec/models/rental_search_message_spec.rb +0 -88
  988. data/spec/models/rental_tenant_post_message_spec.rb +0 -110
  989. data/spec/models/rental_tenant_put_message_spec.rb +0 -104
  990. data/spec/models/rental_tenant_renewal_post_message_spec.rb +0 -104
  991. data/spec/models/rental_unit_features_message_spec.rb +0 -38
  992. data/spec/models/rental_unit_features_put_message_spec.rb +0 -38
  993. data/spec/models/rental_unit_message_spec.rb +0 -108
  994. data/spec/models/rental_unit_put_message_spec.rb +0 -78
  995. data/spec/models/rental_unit_search_message_spec.rb +0 -46
  996. data/spec/models/rental_units_post_message_spec.rb +0 -84
  997. data/spec/models/requested_by_user_entity_message_spec.rb +0 -68
  998. data/spec/models/resident_center_user_message_spec.rb +0 -56
  999. data/spec/models/resident_center_user_reference_message_spec.rb +0 -62
  1000. data/spec/models/resident_center_user_search_message_spec.rb +0 -66
  1001. data/spec/models/resident_request_task_message_spec.rb +0 -144
  1002. data/spec/models/resident_request_task_post_message_spec.rb +0 -114
  1003. data/spec/models/resident_request_task_put_message_spec.rb +0 -84
  1004. data/spec/models/resident_request_task_search_message_spec.rb +0 -118
  1005. data/spec/models/save_address_message_spec.rb +0 -74
  1006. data/spec/models/save_emergency_contact_message_spec.rb +0 -52
  1007. data/spec/models/task_category_message_spec.rb +0 -52
  1008. data/spec/models/task_category_put_message_spec.rb +0 -34
  1009. data/spec/models/task_category_response_message_spec.rb +0 -52
  1010. data/spec/models/task_category_save_message_spec.rb +0 -34
  1011. data/spec/models/task_history_file_message_spec.rb +0 -64
  1012. data/spec/models/task_history_file_upload_post_message_spec.rb +0 -34
  1013. data/spec/models/task_history_message_spec.rb +0 -112
  1014. data/spec/models/task_history_put_message_spec.rb +0 -34
  1015. data/spec/models/task_history_user_message_spec.rb +0 -52
  1016. data/spec/models/task_search_message_spec.rb +0 -128
  1017. data/spec/models/task_sub_category_message_spec.rb +0 -40
  1018. data/spec/models/tax_information_post_message_spec.rb +0 -62
  1019. data/spec/models/tax_information_save_message_spec.rb +0 -68
  1020. data/spec/models/tenant_message_spec.rb +0 -128
  1021. data/spec/models/tenant_search_message_spec.rb +0 -96
  1022. data/spec/models/to_do_task_message_spec.rb +0 -108
  1023. data/spec/models/to_do_task_post_message_spec.rb +0 -96
  1024. data/spec/models/to_do_task_put_message_spec.rb +0 -96
  1025. data/spec/models/to_do_task_search_message_spec.rb +0 -112
  1026. data/spec/models/undeposited_funds_message_spec.rb +0 -34
  1027. data/spec/models/unit_agreement_message_spec.rb +0 -50
  1028. data/spec/models/user_message_spec.rb +0 -104
  1029. data/spec/models/user_role_message_spec.rb +0 -52
  1030. data/spec/models/user_search_message_spec.rb +0 -66
  1031. data/spec/models/vehicle_message_spec.rb +0 -52
  1032. data/spec/models/vendor_category_message_spec.rb +0 -46
  1033. data/spec/models/vendor_category_save_message_spec.rb +0 -34
  1034. data/spec/models/vendor_credit_line_item_message_spec.rb +0 -58
  1035. data/spec/models/vendor_credit_line_item_post_message_spec.rb +0 -52
  1036. data/spec/models/vendor_credit_message_spec.rb +0 -58
  1037. data/spec/models/vendor_credit_post_message_spec.rb +0 -52
  1038. data/spec/models/vendor_insurance_message_spec.rb +0 -46
  1039. data/spec/models/vendor_insurance_save_message_spec.rb +0 -46
  1040. data/spec/models/vendor_message_spec.rb +0 -130
  1041. data/spec/models/vendor_post_message_spec.rb +0 -118
  1042. data/spec/models/vendor_put_message_spec.rb +0 -118
  1043. data/spec/models/vendor_refund_line_message_spec.rb +0 -58
  1044. data/spec/models/vendor_refund_line_post_message_spec.rb +0 -52
  1045. data/spec/models/vendor_refund_message_spec.rb +0 -74
  1046. data/spec/models/vendor_refund_post_message_spec.rb +0 -68
  1047. data/spec/models/vendor_search_message_spec.rb +0 -84
  1048. data/spec/models/vendor_tax_information_message_spec.rb +0 -68
  1049. data/spec/models/vendor_transaction_message_spec.rb +0 -68
  1050. data/spec/models/vendor_transaction_search_message_spec.rb +0 -62
  1051. data/spec/models/work_order_entry_contact_message_spec.rb +0 -40
  1052. data/spec/models/work_order_entry_contact_resource_message_spec.rb +0 -44
  1053. data/spec/models/work_order_line_item_message_spec.rb +0 -52
  1054. data/spec/models/work_order_line_item_save_message_spec.rb +0 -52
  1055. data/spec/models/work_order_message_spec.rb +0 -110
  1056. data/spec/models/work_order_post_message_spec.rb +0 -98
  1057. data/spec/models/work_order_put_message_spec.rb +0 -86
  1058. data/spec/models/work_order_search_message_spec.rb +0 -158
  1059. data/spec/models/work_order_task_message_spec.rb +0 -88
  1060. data/spec/models/work_order_task_post_message_spec.rb +0 -78
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Open API, powered by Buildium
3
3
 
4
- #GetAllGLAccounts) response message now includes the property `IsBankAccount`. This is a boolean property that indicates whether the general ledger account is also a bank account. * A `Country` property has been added to all Address messages. This property contains an enumeration indicating the country of the address.
4
+ # # Introduction ### Welcome! Welcome to Buildium’s API—a powerful, RESTful programming interface that lets you leverage valuable Buildium data. Using HTTP requests, you can create integrations with applications that specialize in accounting, lead tracking, and more. Enjoy greater flexibility, transparency, and control over your business! ### What's in this Guide? This guide is full of simple, easy-to-follow instructions that’ll help you use Buildium’s API like a pro. Topics include: * choosing the right resources for your use case * making HTTP requests to any resource * understanding data and response codes <br /> # Getting Started Excited to get going? We’ll walk you through the setup process. > **Note:** To take advantage of the Buildium Open API you must have a <a target=\"_blank\" href=\"https://www.buildium.com/pricing/\">**Premium Subscription**</a>. ## Account Configuration Before you can use Buildium’s API, you’ll need to make some tweaks to your account settings. <br /> ### Enabling the API In order to start creating your keys and making requests, you’ll need to enable the API. > **Tip:** You’ll need an administrator user role with access to ***Application settings*** to set things up properly. <br /> ​ **Let's Begin!** 1. Sign in to your [Buildium](https://signin.managebuilding.com/manager/public/authentication/login?ReturnUrl=%2Fmanager%2F) account from your browser. 2. Open the ***Settings*** menu and click ***Application settings***. 3. Under ***System preferences***, click ***Api settings***. A modal will appear. 4. Click the ***Open API*** toggle to turn it on. Then click ***Save***. <video width=\"100%\" autoplay loop muted> <source src=\"enable_open_api.mp4\" type=\"video/mp4\" /> </video> Congratulations! Your account's enabled. Now, you’re ready to start managing API keys. <br /> <br /> If you are having issues enabling the API within your account you can submit a [Support](#section/API-Overview/Support) request for assistance. <br /> ## API Keys Account-level API keys authenticate every request and keep things secure. API keys have two components: a “client ID” and a “secret”. * **Client IDs** are similar to usernames. They’re used to identify your Buildium account and are safe to share. * **Secrets** are similar to passwords. They must be kept confidential. Whenever you make a request, you’ll need the API key’s client ID and secret. If you forget it, make a mistake, or try to use information that’s linked to a deleted key, the API will return a `401` response code. > **Tip:** We compiled a list of best practices that detail how securely store API keys. [Give it a read](#section/Getting-Started/Keeping-API-Keys-Safe)! ## Creating API Keys Now that the Open APi is enabled, you’ll be able to create API keys. You’re almost there! > **Tip:** You’ll need an administrator user role to complete this step, too. <br /> **How to create an API key** 1. Sign in to your [Buildium](https://signin.managebuilding.com/manager/public/authentication/login?ReturnUrl=%2Fmanager%2F) account from your browser. 2. Open the ***Settings*** menu and click ***Developer Tools***. The page will open automatically. 3. Click the ***Create API Key*** button. A modal will appear. 4. Enter a clear, memorable name and description for your API key. It’ll make it easier to locate the right key when you make a request. Once finished, click **Next**. 5. Now, choose which pieces of Buildium data you want this API key to have access to by marking the corresponding checkboxes. Once finished, click **Next**. 6. You successfully created an API key! > **Important:** This is your only chance to record the secret. Make sure it’s stored somewhere secure! If it’s forgotten, you’ll need to delete this key and start from scratch. <br /> <video width=\"100%\" autoplay loop muted> <source src=\"generate_open_api_key.mp4\" type=\"video/mp4\" /> </video> <br /> You have now successfully created an API key and have everything you need to send requests to the Buildium API! Before moving on to [making your first request](#section/Getting-Started/How-to-Make-a-Request) please review [Keeping your Keys Safe](#section/Getting-Started/Keeping-your-Keys-Safe) for an overview on securely storing your API keys. <br /> If you are having issues creating API keys you can submit a [Support](#section/API-Overview/Support) request for assistance. <br /> ## Keeping API Keys Safe Based on their permissions, API keys could have full access to your account’s Buildium data. It’s important that you only grant access to trusted applications, securely record secrets, and consider a password manager to stay organized. ### Recommended Practices - Avoid hard-coding client IDs and secrets inside source files. - Avoid storing client IDs and secrets in any files that may be committed to source control, particularly cloud-based source control platforms. - Apply restrictions to client IDs and secrets shared with your staff. You can restrict a key to particular Buildium entities or to read-only access (GET resources only). - Avoid sharing client IDs and secrets across public, insecure platforms. - Establish a process to regularly recreate your client IDs and secrets from your Buildium account. <br /> <br /> ## How to Make a Request You’ve done a great job setting up your account, Now, we’ll walk you through how to access your data. It’s very straightforward and should only take a few minutes! > **Tip:** Looking for the right HTTP client? If you’re just getting started, we recommend Postman. <br /> ### Let's Get Started! #### Step 1: Get Your API Key If you haven't yet done so, obtain your API key client ID and secret from your Buildium account. Your API key is how the Buildium API authenticates requests and ensures only you can access your data. See [Getting Started](#section/Getting-Started) for a deeper dive into enabling the API and creating keys. #### Step 2: Install a HTTP client The Buildium API supports any standard HTTP client. If you're looking for a user-friendly HTTP client application, we recommend [Postman](https://www.postman.com/product/api-client) – it allows you to access the Buildium API without writing code. We’ll use Postman for our example below to demonstrate sending an API request. #### Step 3: Make a Sample Request Let's dive in and make a simple request to get all the [Rental Properties](#operation/RentalsGetAllGLAccounts) response message now includes the property `IsBankAccount`. This is a boolean property that indicates whether the general ledger account is also a bank account. * A `Country` property has been added to all Address messages. This property contains an enumeration indicating the country of the address.
5
5
 
6
6
  The version of the OpenAPI document: v1
7
7
 
@@ -13,111 +13,43 @@ OpenAPI Generator version: 6.0.1
13
13
  require 'cgi'
14
14
 
15
15
  module Buildium
16
- class AssociationOwnershipAccountsApi
16
+ class OwnershipAccountTransactionsApi
17
17
  attr_accessor :api_client
18
18
 
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # Create an ownership account
23
- # Creates an ownership account. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership accounts</span> - `View` `Edit` <br /><span class=\"permissionBlock\">Associations &gt; Owners</span> - `View` `Edit`
24
- # @param association_ownership_account_post_message [AssociationOwnershipAccountPostMessage]
25
- # @param [Hash] opts the optional parameters
26
- # @return [AssociationOwnershipAccountMessage]
27
- def create_association_ownership_account(association_ownership_account_post_message, opts = {})
28
- data, _status_code, _headers = create_association_ownership_account_with_http_info(association_ownership_account_post_message, opts)
29
- data
30
- end
31
-
32
- # Create an ownership account
33
- # Creates an ownership account. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Associations &amp;gt; Ownership accounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60; &lt;br /&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Associations &amp;gt; Owners&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
34
- # @param association_ownership_account_post_message [AssociationOwnershipAccountPostMessage]
35
- # @param [Hash] opts the optional parameters
36
- # @return [Array<(AssociationOwnershipAccountMessage, Integer, Hash)>] AssociationOwnershipAccountMessage data, response status code and response headers
37
- def create_association_ownership_account_with_http_info(association_ownership_account_post_message, opts = {})
38
- if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.create_association_ownership_account ...'
40
- end
41
- # verify the required parameter 'association_ownership_account_post_message' is set
42
- if @api_client.config.client_side_validation && association_ownership_account_post_message.nil?
43
- fail ArgumentError, "Missing the required parameter 'association_ownership_account_post_message' when calling AssociationOwnershipAccountsApi.create_association_ownership_account"
44
- end
45
- # resource path
46
- local_var_path = '/v1/associations/ownershipaccounts'
47
-
48
- # query parameters
49
- query_params = opts[:query_params] || {}
50
-
51
- # header parameters
52
- header_params = opts[:header_params] || {}
53
- # HTTP header 'Accept' (if needed)
54
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
55
- # HTTP header 'Content-Type'
56
- content_type = @api_client.select_header_content_type(['application/json'])
57
- if !content_type.nil?
58
- header_params['Content-Type'] = content_type
59
- end
60
-
61
- # form parameters
62
- form_params = opts[:form_params] || {}
63
-
64
- # http body (model)
65
- post_body = opts[:debug_body] || @api_client.object_to_http_body(association_ownership_account_post_message)
66
-
67
- # return_type
68
- return_type = opts[:debug_return_type] || 'AssociationOwnershipAccountMessage'
69
-
70
- # auth_names
71
- auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
72
-
73
- new_options = opts.merge(
74
- :operation => :"AssociationOwnershipAccountsApi.create_association_ownership_account",
75
- :header_params => header_params,
76
- :query_params => query_params,
77
- :form_params => form_params,
78
- :body => post_body,
79
- :auth_names => auth_names,
80
- :return_type => return_type
81
- )
82
-
83
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
84
- if @api_client.config.debugging
85
- @api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#create_association_ownership_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
86
- end
87
- return data, status_code, headers
88
- end
89
-
90
- # Create a note
91
- # Creates a new ownership account note. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership accounts</span> - `View` `Edit`
22
+ # Create a payment (auto allocated)
23
+ # Creates a payment on the ownership account ledger. Note that the recorded payment will be automatically allocated to the general ledger accounts based on the payment allocation settings. These settings can be found under the Settings &gt; Application Settings &gt; Residents page in your account. If you'd like to specify the general ledger accounts the payment should apply to, please use the <a href=\"#operation/CreateOwnershipAccountLedgerPayment\">Create a payment</a> endpoint. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership account transactions</span> - `View` `Edit`
92
24
  # @param ownership_account_id [Integer]
93
- # @param note_post_message [NotePostMessage]
25
+ # @param ownership_account_auto_allocated_payment_post_message [OwnershipAccountAutoAllocatedPaymentPostMessage]
94
26
  # @param [Hash] opts the optional parameters
95
- # @return [NoteMessage]
96
- def create_association_ownership_account_note(ownership_account_id, note_post_message, opts = {})
97
- data, _status_code, _headers = create_association_ownership_account_note_with_http_info(ownership_account_id, note_post_message, opts)
27
+ # @return [OwnershipAccountTransactionMessage]
28
+ def create_ownership_account_auto_allocated_payment(ownership_account_id, ownership_account_auto_allocated_payment_post_message, opts = {})
29
+ data, _status_code, _headers = create_ownership_account_auto_allocated_payment_with_http_info(ownership_account_id, ownership_account_auto_allocated_payment_post_message, opts)
98
30
  data
99
31
  end
100
32
 
101
- # Create a note
102
- # Creates a new ownership account note. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Associations &amp;gt; Ownership accounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
33
+ # Create a payment (auto allocated)
34
+ # Creates a payment on the ownership account ledger. Note that the recorded payment will be automatically allocated to the general ledger accounts based on the payment allocation settings. These settings can be found under the Settings &amp;gt; Application Settings &amp;gt; Residents page in your account. If you&#39;d like to specify the general ledger accounts the payment should apply to, please use the &lt;a href&#x3D;\&quot;#operation/CreateOwnershipAccountLedgerPayment\&quot;&gt;Create a payment&lt;/a&gt; endpoint. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Associations &amp;gt; Ownership account transactions&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
103
35
  # @param ownership_account_id [Integer]
104
- # @param note_post_message [NotePostMessage]
36
+ # @param ownership_account_auto_allocated_payment_post_message [OwnershipAccountAutoAllocatedPaymentPostMessage]
105
37
  # @param [Hash] opts the optional parameters
106
- # @return [Array<(NoteMessage, Integer, Hash)>] NoteMessage data, response status code and response headers
107
- def create_association_ownership_account_note_with_http_info(ownership_account_id, note_post_message, opts = {})
38
+ # @return [Array<(OwnershipAccountTransactionMessage, Integer, Hash)>] OwnershipAccountTransactionMessage data, response status code and response headers
39
+ def create_ownership_account_auto_allocated_payment_with_http_info(ownership_account_id, ownership_account_auto_allocated_payment_post_message, opts = {})
108
40
  if @api_client.config.debugging
109
- @api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.create_association_ownership_account_note ...'
41
+ @api_client.config.logger.debug 'Calling API: OwnershipAccountTransactionsApi.create_ownership_account_auto_allocated_payment ...'
110
42
  end
111
43
  # verify the required parameter 'ownership_account_id' is set
112
44
  if @api_client.config.client_side_validation && ownership_account_id.nil?
113
- fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.create_association_ownership_account_note"
45
+ fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling OwnershipAccountTransactionsApi.create_ownership_account_auto_allocated_payment"
114
46
  end
115
- # verify the required parameter 'note_post_message' is set
116
- if @api_client.config.client_side_validation && note_post_message.nil?
117
- fail ArgumentError, "Missing the required parameter 'note_post_message' when calling AssociationOwnershipAccountsApi.create_association_ownership_account_note"
47
+ # verify the required parameter 'ownership_account_auto_allocated_payment_post_message' is set
48
+ if @api_client.config.client_side_validation && ownership_account_auto_allocated_payment_post_message.nil?
49
+ fail ArgumentError, "Missing the required parameter 'ownership_account_auto_allocated_payment_post_message' when calling OwnershipAccountTransactionsApi.create_ownership_account_auto_allocated_payment"
118
50
  end
119
51
  # resource path
120
- local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/notes'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
52
+ local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/autoallocatedpayments'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
121
53
 
122
54
  # query parameters
123
55
  query_params = opts[:query_params] || {}
@@ -136,16 +68,16 @@ module Buildium
136
68
  form_params = opts[:form_params] || {}
137
69
 
138
70
  # http body (model)
139
- post_body = opts[:debug_body] || @api_client.object_to_http_body(note_post_message)
71
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(ownership_account_auto_allocated_payment_post_message)
140
72
 
141
73
  # return_type
142
- return_type = opts[:debug_return_type] || 'NoteMessage'
74
+ return_type = opts[:debug_return_type] || 'OwnershipAccountTransactionMessage'
143
75
 
144
76
  # auth_names
145
77
  auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
146
78
 
147
79
  new_options = opts.merge(
148
- :operation => :"AssociationOwnershipAccountsApi.create_association_ownership_account_note",
80
+ :operation => :"OwnershipAccountTransactionsApi.create_ownership_account_auto_allocated_payment",
149
81
  :header_params => header_params,
150
82
  :query_params => query_params,
151
83
  :form_params => form_params,
@@ -156,12 +88,12 @@ module Buildium
156
88
 
157
89
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
158
90
  if @api_client.config.debugging
159
- @api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#create_association_ownership_account_note\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
91
+ @api_client.config.logger.debug "API called: OwnershipAccountTransactionsApi#create_ownership_account_auto_allocated_payment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
160
92
  end
161
93
  return data, status_code, headers
162
94
  end
163
95
 
164
- # Create a ledger credit
96
+ # Create a credit
165
97
  # Creates a ledger credit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership account transactions</span> - `View` `Edit`
166
98
  # @param ownership_account_id [Integer]
167
99
  # @param ownership_account_credit_post_message [OwnershipAccountCreditPostMessage]
@@ -172,7 +104,7 @@ module Buildium
172
104
  data
173
105
  end
174
106
 
175
- # Create a ledger credit
107
+ # Create a credit
176
108
  # Creates a ledger credit. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Associations &amp;gt; Ownership account transactions&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
177
109
  # @param ownership_account_id [Integer]
178
110
  # @param ownership_account_credit_post_message [OwnershipAccountCreditPostMessage]
@@ -180,15 +112,15 @@ module Buildium
180
112
  # @return [Array<(OwnershipAccountTransactionMessage, Integer, Hash)>] OwnershipAccountTransactionMessage data, response status code and response headers
181
113
  def create_ownership_account_credit_with_http_info(ownership_account_id, ownership_account_credit_post_message, opts = {})
182
114
  if @api_client.config.debugging
183
- @api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.create_ownership_account_credit ...'
115
+ @api_client.config.logger.debug 'Calling API: OwnershipAccountTransactionsApi.create_ownership_account_credit ...'
184
116
  end
185
117
  # verify the required parameter 'ownership_account_id' is set
186
118
  if @api_client.config.client_side_validation && ownership_account_id.nil?
187
- fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.create_ownership_account_credit"
119
+ fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling OwnershipAccountTransactionsApi.create_ownership_account_credit"
188
120
  end
189
121
  # verify the required parameter 'ownership_account_credit_post_message' is set
190
122
  if @api_client.config.client_side_validation && ownership_account_credit_post_message.nil?
191
- fail ArgumentError, "Missing the required parameter 'ownership_account_credit_post_message' when calling AssociationOwnershipAccountsApi.create_ownership_account_credit"
123
+ fail ArgumentError, "Missing the required parameter 'ownership_account_credit_post_message' when calling OwnershipAccountTransactionsApi.create_ownership_account_credit"
192
124
  end
193
125
  # resource path
194
126
  local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/credits'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
@@ -219,7 +151,7 @@ module Buildium
219
151
  auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
220
152
 
221
153
  new_options = opts.merge(
222
- :operation => :"AssociationOwnershipAccountsApi.create_ownership_account_credit",
154
+ :operation => :"OwnershipAccountTransactionsApi.create_ownership_account_credit",
223
155
  :header_params => header_params,
224
156
  :query_params => query_params,
225
157
  :form_params => form_params,
@@ -230,7 +162,7 @@ module Buildium
230
162
 
231
163
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
232
164
  if @api_client.config.debugging
233
- @api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#create_ownership_account_credit\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
165
+ @api_client.config.logger.debug "API called: OwnershipAccountTransactionsApi#create_ownership_account_credit\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
234
166
  end
235
167
  return data, status_code, headers
236
168
  end
@@ -254,15 +186,15 @@ module Buildium
254
186
  # @return [Array<(OwnershipAccountRecurringCreditMessage, Integer, Hash)>] OwnershipAccountRecurringCreditMessage data, response status code and response headers
255
187
  def create_ownership_account_credit_recurring_transaction_with_http_info(ownership_account_id, credit_recurring_transaction_post_message, opts = {})
256
188
  if @api_client.config.debugging
257
- @api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.create_ownership_account_credit_recurring_transaction ...'
189
+ @api_client.config.logger.debug 'Calling API: OwnershipAccountTransactionsApi.create_ownership_account_credit_recurring_transaction ...'
258
190
  end
259
191
  # verify the required parameter 'ownership_account_id' is set
260
192
  if @api_client.config.client_side_validation && ownership_account_id.nil?
261
- fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.create_ownership_account_credit_recurring_transaction"
193
+ fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling OwnershipAccountTransactionsApi.create_ownership_account_credit_recurring_transaction"
262
194
  end
263
195
  # verify the required parameter 'credit_recurring_transaction_post_message' is set
264
196
  if @api_client.config.client_side_validation && credit_recurring_transaction_post_message.nil?
265
- fail ArgumentError, "Missing the required parameter 'credit_recurring_transaction_post_message' when calling AssociationOwnershipAccountsApi.create_ownership_account_credit_recurring_transaction"
197
+ fail ArgumentError, "Missing the required parameter 'credit_recurring_transaction_post_message' when calling OwnershipAccountTransactionsApi.create_ownership_account_credit_recurring_transaction"
266
198
  end
267
199
  # resource path
268
200
  local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/recurringcredits'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
@@ -293,7 +225,7 @@ module Buildium
293
225
  auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
294
226
 
295
227
  new_options = opts.merge(
296
- :operation => :"AssociationOwnershipAccountsApi.create_ownership_account_credit_recurring_transaction",
228
+ :operation => :"OwnershipAccountTransactionsApi.create_ownership_account_credit_recurring_transaction",
297
229
  :header_params => header_params,
298
230
  :query_params => query_params,
299
231
  :form_params => form_params,
@@ -304,7 +236,7 @@ module Buildium
304
236
 
305
237
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
306
238
  if @api_client.config.debugging
307
- @api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#create_ownership_account_credit_recurring_transaction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
239
+ @api_client.config.logger.debug "API called: OwnershipAccountTransactionsApi#create_ownership_account_credit_recurring_transaction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
308
240
  end
309
241
  return data, status_code, headers
310
242
  end
@@ -328,15 +260,15 @@ module Buildium
328
260
  # @return [Array<(OwnershipAccountTransactionMessage, Integer, Hash)>] OwnershipAccountTransactionMessage data, response status code and response headers
329
261
  def create_ownership_account_deposit_withholding_with_http_info(ownership_account_id, ownership_account_deposit_withholding_post_message, opts = {})
330
262
  if @api_client.config.debugging
331
- @api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.create_ownership_account_deposit_withholding ...'
263
+ @api_client.config.logger.debug 'Calling API: OwnershipAccountTransactionsApi.create_ownership_account_deposit_withholding ...'
332
264
  end
333
265
  # verify the required parameter 'ownership_account_id' is set
334
266
  if @api_client.config.client_side_validation && ownership_account_id.nil?
335
- fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.create_ownership_account_deposit_withholding"
267
+ fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling OwnershipAccountTransactionsApi.create_ownership_account_deposit_withholding"
336
268
  end
337
269
  # verify the required parameter 'ownership_account_deposit_withholding_post_message' is set
338
270
  if @api_client.config.client_side_validation && ownership_account_deposit_withholding_post_message.nil?
339
- fail ArgumentError, "Missing the required parameter 'ownership_account_deposit_withholding_post_message' when calling AssociationOwnershipAccountsApi.create_ownership_account_deposit_withholding"
271
+ fail ArgumentError, "Missing the required parameter 'ownership_account_deposit_withholding_post_message' when calling OwnershipAccountTransactionsApi.create_ownership_account_deposit_withholding"
340
272
  end
341
273
  # resource path
342
274
  local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/applieddeposits'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
@@ -367,7 +299,7 @@ module Buildium
367
299
  auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
368
300
 
369
301
  new_options = opts.merge(
370
- :operation => :"AssociationOwnershipAccountsApi.create_ownership_account_deposit_withholding",
302
+ :operation => :"OwnershipAccountTransactionsApi.create_ownership_account_deposit_withholding",
371
303
  :header_params => header_params,
372
304
  :query_params => query_params,
373
305
  :form_params => form_params,
@@ -378,12 +310,12 @@ module Buildium
378
310
 
379
311
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
380
312
  if @api_client.config.debugging
381
- @api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#create_ownership_account_deposit_withholding\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
313
+ @api_client.config.logger.debug "API called: OwnershipAccountTransactionsApi#create_ownership_account_deposit_withholding\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
382
314
  end
383
315
  return data, status_code, headers
384
316
  end
385
317
 
386
- # Create a ledger charge
318
+ # Create a charge
387
319
  # Creates a ledger charge. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership account transactions</span> - `View` `Edit` <br />
388
320
  # @param ownership_account_id [Integer] The ownership account identifier.
389
321
  # @param ownership_account_ledger_charge_post_message [OwnershipAccountLedgerChargePostMessage]
@@ -394,7 +326,7 @@ module Buildium
394
326
  data
395
327
  end
396
328
 
397
- # Create a ledger charge
329
+ # Create a charge
398
330
  # Creates a ledger charge. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Associations &amp;gt; Ownership account transactions&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60; &lt;br /&gt;
399
331
  # @param ownership_account_id [Integer] The ownership account identifier.
400
332
  # @param ownership_account_ledger_charge_post_message [OwnershipAccountLedgerChargePostMessage]
@@ -402,15 +334,15 @@ module Buildium
402
334
  # @return [Array<(OwnershipAccountTransactionMessage, Integer, Hash)>] OwnershipAccountTransactionMessage data, response status code and response headers
403
335
  def create_ownership_account_ledger_charge_with_http_info(ownership_account_id, ownership_account_ledger_charge_post_message, opts = {})
404
336
  if @api_client.config.debugging
405
- @api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.create_ownership_account_ledger_charge ...'
337
+ @api_client.config.logger.debug 'Calling API: OwnershipAccountTransactionsApi.create_ownership_account_ledger_charge ...'
406
338
  end
407
339
  # verify the required parameter 'ownership_account_id' is set
408
340
  if @api_client.config.client_side_validation && ownership_account_id.nil?
409
- fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.create_ownership_account_ledger_charge"
341
+ fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling OwnershipAccountTransactionsApi.create_ownership_account_ledger_charge"
410
342
  end
411
343
  # verify the required parameter 'ownership_account_ledger_charge_post_message' is set
412
344
  if @api_client.config.client_side_validation && ownership_account_ledger_charge_post_message.nil?
413
- fail ArgumentError, "Missing the required parameter 'ownership_account_ledger_charge_post_message' when calling AssociationOwnershipAccountsApi.create_ownership_account_ledger_charge"
345
+ fail ArgumentError, "Missing the required parameter 'ownership_account_ledger_charge_post_message' when calling OwnershipAccountTransactionsApi.create_ownership_account_ledger_charge"
414
346
  end
415
347
  # resource path
416
348
  local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/charges'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
@@ -441,7 +373,7 @@ module Buildium
441
373
  auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
442
374
 
443
375
  new_options = opts.merge(
444
- :operation => :"AssociationOwnershipAccountsApi.create_ownership_account_ledger_charge",
376
+ :operation => :"OwnershipAccountTransactionsApi.create_ownership_account_ledger_charge",
445
377
  :header_params => header_params,
446
378
  :query_params => query_params,
447
379
  :form_params => form_params,
@@ -452,12 +384,12 @@ module Buildium
452
384
 
453
385
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
454
386
  if @api_client.config.debugging
455
- @api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#create_ownership_account_ledger_charge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
387
+ @api_client.config.logger.debug "API called: OwnershipAccountTransactionsApi#create_ownership_account_ledger_charge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
456
388
  end
457
389
  return data, status_code, headers
458
390
  end
459
391
 
460
- # Create a ledger payment
392
+ # Create a payment
461
393
  # Creates a ledger payment. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership account transactions</span> - `View` `Edit`
462
394
  # @param ownership_account_id [Integer]
463
395
  # @param ownership_account_ledger_payment_post_message [OwnershipAccountLedgerPaymentPostMessage]
@@ -468,7 +400,7 @@ module Buildium
468
400
  data
469
401
  end
470
402
 
471
- # Create a ledger payment
403
+ # Create a payment
472
404
  # Creates a ledger payment. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Associations &amp;gt; Ownership account transactions&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
473
405
  # @param ownership_account_id [Integer]
474
406
  # @param ownership_account_ledger_payment_post_message [OwnershipAccountLedgerPaymentPostMessage]
@@ -476,15 +408,15 @@ module Buildium
476
408
  # @return [Array<(OwnershipAccountTransactionMessage, Integer, Hash)>] OwnershipAccountTransactionMessage data, response status code and response headers
477
409
  def create_ownership_account_ledger_payment_with_http_info(ownership_account_id, ownership_account_ledger_payment_post_message, opts = {})
478
410
  if @api_client.config.debugging
479
- @api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.create_ownership_account_ledger_payment ...'
411
+ @api_client.config.logger.debug 'Calling API: OwnershipAccountTransactionsApi.create_ownership_account_ledger_payment ...'
480
412
  end
481
413
  # verify the required parameter 'ownership_account_id' is set
482
414
  if @api_client.config.client_side_validation && ownership_account_id.nil?
483
- fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.create_ownership_account_ledger_payment"
415
+ fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling OwnershipAccountTransactionsApi.create_ownership_account_ledger_payment"
484
416
  end
485
417
  # verify the required parameter 'ownership_account_ledger_payment_post_message' is set
486
418
  if @api_client.config.client_side_validation && ownership_account_ledger_payment_post_message.nil?
487
- fail ArgumentError, "Missing the required parameter 'ownership_account_ledger_payment_post_message' when calling AssociationOwnershipAccountsApi.create_ownership_account_ledger_payment"
419
+ fail ArgumentError, "Missing the required parameter 'ownership_account_ledger_payment_post_message' when calling OwnershipAccountTransactionsApi.create_ownership_account_ledger_payment"
488
420
  end
489
421
  # resource path
490
422
  local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/payments'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
@@ -515,7 +447,7 @@ module Buildium
515
447
  auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
516
448
 
517
449
  new_options = opts.merge(
518
- :operation => :"AssociationOwnershipAccountsApi.create_ownership_account_ledger_payment",
450
+ :operation => :"OwnershipAccountTransactionsApi.create_ownership_account_ledger_payment",
519
451
  :header_params => header_params,
520
452
  :query_params => query_params,
521
453
  :form_params => form_params,
@@ -526,7 +458,7 @@ module Buildium
526
458
 
527
459
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
528
460
  if @api_client.config.debugging
529
- @api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#create_ownership_account_ledger_payment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
461
+ @api_client.config.logger.debug "API called: OwnershipAccountTransactionsApi#create_ownership_account_ledger_payment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
530
462
  end
531
463
  return data, status_code, headers
532
464
  end
@@ -550,15 +482,15 @@ module Buildium
550
482
  # @return [Array<(OwnershipAccountRecurringPaymentMessage, Integer, Hash)>] OwnershipAccountRecurringPaymentMessage data, response status code and response headers
551
483
  def create_ownership_account_recurring_payment_with_http_info(ownership_account_id, payment_recurring_transaction_post_message, opts = {})
552
484
  if @api_client.config.debugging
553
- @api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.create_ownership_account_recurring_payment ...'
485
+ @api_client.config.logger.debug 'Calling API: OwnershipAccountTransactionsApi.create_ownership_account_recurring_payment ...'
554
486
  end
555
487
  # verify the required parameter 'ownership_account_id' is set
556
488
  if @api_client.config.client_side_validation && ownership_account_id.nil?
557
- fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.create_ownership_account_recurring_payment"
489
+ fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling OwnershipAccountTransactionsApi.create_ownership_account_recurring_payment"
558
490
  end
559
491
  # verify the required parameter 'payment_recurring_transaction_post_message' is set
560
492
  if @api_client.config.client_side_validation && payment_recurring_transaction_post_message.nil?
561
- fail ArgumentError, "Missing the required parameter 'payment_recurring_transaction_post_message' when calling AssociationOwnershipAccountsApi.create_ownership_account_recurring_payment"
493
+ fail ArgumentError, "Missing the required parameter 'payment_recurring_transaction_post_message' when calling OwnershipAccountTransactionsApi.create_ownership_account_recurring_payment"
562
494
  end
563
495
  # resource path
564
496
  local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/recurringpayments'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
@@ -589,7 +521,7 @@ module Buildium
589
521
  auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
590
522
 
591
523
  new_options = opts.merge(
592
- :operation => :"AssociationOwnershipAccountsApi.create_ownership_account_recurring_payment",
524
+ :operation => :"OwnershipAccountTransactionsApi.create_ownership_account_recurring_payment",
593
525
  :header_params => header_params,
594
526
  :query_params => query_params,
595
527
  :form_params => form_params,
@@ -600,7 +532,7 @@ module Buildium
600
532
 
601
533
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
602
534
  if @api_client.config.debugging
603
- @api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#create_ownership_account_recurring_payment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
535
+ @api_client.config.logger.debug "API called: OwnershipAccountTransactionsApi#create_ownership_account_recurring_payment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
604
536
  end
605
537
  return data, status_code, headers
606
538
  end
@@ -624,15 +556,15 @@ module Buildium
624
556
  # @return [Array<(OwnershipAccountRefundMessage, Integer, Hash)>] OwnershipAccountRefundMessage data, response status code and response headers
625
557
  def create_ownership_account_refund_with_http_info(ownership_account_id, ownership_account_refund_post_message, opts = {})
626
558
  if @api_client.config.debugging
627
- @api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.create_ownership_account_refund ...'
559
+ @api_client.config.logger.debug 'Calling API: OwnershipAccountTransactionsApi.create_ownership_account_refund ...'
628
560
  end
629
561
  # verify the required parameter 'ownership_account_id' is set
630
562
  if @api_client.config.client_side_validation && ownership_account_id.nil?
631
- fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.create_ownership_account_refund"
563
+ fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling OwnershipAccountTransactionsApi.create_ownership_account_refund"
632
564
  end
633
565
  # verify the required parameter 'ownership_account_refund_post_message' is set
634
566
  if @api_client.config.client_side_validation && ownership_account_refund_post_message.nil?
635
- fail ArgumentError, "Missing the required parameter 'ownership_account_refund_post_message' when calling AssociationOwnershipAccountsApi.create_ownership_account_refund"
567
+ fail ArgumentError, "Missing the required parameter 'ownership_account_refund_post_message' when calling OwnershipAccountTransactionsApi.create_ownership_account_refund"
636
568
  end
637
569
  # resource path
638
570
  local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/refunds'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
@@ -663,7 +595,7 @@ module Buildium
663
595
  auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
664
596
 
665
597
  new_options = opts.merge(
666
- :operation => :"AssociationOwnershipAccountsApi.create_ownership_account_refund",
598
+ :operation => :"OwnershipAccountTransactionsApi.create_ownership_account_refund",
667
599
  :header_params => header_params,
668
600
  :query_params => query_params,
669
601
  :form_params => form_params,
@@ -674,7 +606,7 @@ module Buildium
674
606
 
675
607
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
676
608
  if @api_client.config.debugging
677
- @api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#create_ownership_account_refund\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
609
+ @api_client.config.logger.debug "API called: OwnershipAccountTransactionsApi#create_ownership_account_refund\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
678
610
  end
679
611
  return data, status_code, headers
680
612
  end
@@ -698,15 +630,15 @@ module Buildium
698
630
  # @return [Array<(OwnershipAccountChargeRecurringTransactionMessage, Integer, Hash)>] OwnershipAccountChargeRecurringTransactionMessage data, response status code and response headers
699
631
  def create_ownership_accounts_charge_recurring_transaction_with_http_info(ownership_account_id, charge_recurring_transaction_post_message, opts = {})
700
632
  if @api_client.config.debugging
701
- @api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.create_ownership_accounts_charge_recurring_transaction ...'
633
+ @api_client.config.logger.debug 'Calling API: OwnershipAccountTransactionsApi.create_ownership_accounts_charge_recurring_transaction ...'
702
634
  end
703
635
  # verify the required parameter 'ownership_account_id' is set
704
636
  if @api_client.config.client_side_validation && ownership_account_id.nil?
705
- fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.create_ownership_accounts_charge_recurring_transaction"
637
+ fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling OwnershipAccountTransactionsApi.create_ownership_accounts_charge_recurring_transaction"
706
638
  end
707
639
  # verify the required parameter 'charge_recurring_transaction_post_message' is set
708
640
  if @api_client.config.client_side_validation && charge_recurring_transaction_post_message.nil?
709
- fail ArgumentError, "Missing the required parameter 'charge_recurring_transaction_post_message' when calling AssociationOwnershipAccountsApi.create_ownership_accounts_charge_recurring_transaction"
641
+ fail ArgumentError, "Missing the required parameter 'charge_recurring_transaction_post_message' when calling OwnershipAccountTransactionsApi.create_ownership_accounts_charge_recurring_transaction"
710
642
  end
711
643
  # resource path
712
644
  local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/recurringcharges'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
@@ -737,7 +669,7 @@ module Buildium
737
669
  auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
738
670
 
739
671
  new_options = opts.merge(
740
- :operation => :"AssociationOwnershipAccountsApi.create_ownership_accounts_charge_recurring_transaction",
672
+ :operation => :"OwnershipAccountTransactionsApi.create_ownership_accounts_charge_recurring_transaction",
741
673
  :header_params => header_params,
742
674
  :query_params => query_params,
743
675
  :form_params => form_params,
@@ -748,249 +680,7 @@ module Buildium
748
680
 
749
681
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
750
682
  if @api_client.config.debugging
751
- @api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#create_ownership_accounts_charge_recurring_transaction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
752
- end
753
- return data, status_code, headers
754
- end
755
-
756
- # Retrieve all ownership accounts
757
- # Retrieves a list of ownership accounts. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership accounts</span> - `View`
758
- # @param [Hash] opts the optional parameters
759
- # @option opts [Array<Integer>] :associationids Filters results to any ownership accounts who belong to the specified set of association ids.
760
- # @option opts [String] :unitorowner Filters results to any association whose unit or owner *contains* the specified value.
761
- # @option opts [Date] :datefrom Filters results to any ownership account whose start date is greater than or equal to the specified value.
762
- # @option opts [Date] :dateto Filters results to any ownership account whose start date is less than or equal to the specified value.
763
- # @option opts [Array<String>] :status Filters results by the status of the association. If no status is specified, &#x60;active&#x60;, &#x60;past&#x60; and &#x60;future&#x60; associations will be returned.
764
- # @option opts [Array<String>] :delinquencystatuses Filters results by the delinquency status of the ownership account. If no status is specified, ownership accounts of any delinquency status will be returned.
765
- # @option opts [String] :orderby &#x60;orderby&#x60; indicates the field(s) and direction to sort the results in the response. See &lt;a href&#x3D;\&quot;#section/API-Overview/Bulk-Request-Options\&quot;&gt;Bulk Request Options&lt;/a&gt; for more information.
766
- # @option opts [Integer] :offset &#x60;offset&#x60; indicates the position of the first record to return. The &#x60;offset&#x60; is zero-based and the default is 0.
767
- # @option opts [Integer] :limit &#x60;limit&#x60; indicates the maximum number of results to be returned in the response. &#x60;limit&#x60; can range between 1 and 1000 and the default is 50.
768
- # @return [Array<AssociationOwnershipAccountMessage>]
769
- def get_all_ownership_accounts(opts = {})
770
- data, _status_code, _headers = get_all_ownership_accounts_with_http_info(opts)
771
- data
772
- end
773
-
774
- # Retrieve all ownership accounts
775
- # Retrieves a list of ownership accounts. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Associations &amp;gt; Ownership accounts&lt;/span&gt; - &#x60;View&#x60;
776
- # @param [Hash] opts the optional parameters
777
- # @option opts [Array<Integer>] :associationids Filters results to any ownership accounts who belong to the specified set of association ids.
778
- # @option opts [String] :unitorowner Filters results to any association whose unit or owner *contains* the specified value.
779
- # @option opts [Date] :datefrom Filters results to any ownership account whose start date is greater than or equal to the specified value.
780
- # @option opts [Date] :dateto Filters results to any ownership account whose start date is less than or equal to the specified value.
781
- # @option opts [Array<String>] :status Filters results by the status of the association. If no status is specified, &#x60;active&#x60;, &#x60;past&#x60; and &#x60;future&#x60; associations will be returned.
782
- # @option opts [Array<String>] :delinquencystatuses Filters results by the delinquency status of the ownership account. If no status is specified, ownership accounts of any delinquency status will be returned.
783
- # @option opts [String] :orderby &#x60;orderby&#x60; indicates the field(s) and direction to sort the results in the response. See &lt;a href&#x3D;\&quot;#section/API-Overview/Bulk-Request-Options\&quot;&gt;Bulk Request Options&lt;/a&gt; for more information.
784
- # @option opts [Integer] :offset &#x60;offset&#x60; indicates the position of the first record to return. The &#x60;offset&#x60; is zero-based and the default is 0.
785
- # @option opts [Integer] :limit &#x60;limit&#x60; indicates the maximum number of results to be returned in the response. &#x60;limit&#x60; can range between 1 and 1000 and the default is 50.
786
- # @return [Array<(Array<AssociationOwnershipAccountMessage>, Integer, Hash)>] Array<AssociationOwnershipAccountMessage> data, response status code and response headers
787
- def get_all_ownership_accounts_with_http_info(opts = {})
788
- if @api_client.config.debugging
789
- @api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.get_all_ownership_accounts ...'
790
- end
791
- allowable_values = ["Active", "Past", "Future"]
792
- if @api_client.config.client_side_validation && opts[:'status'] && !opts[:'status'].all? { |item| allowable_values.include?(item) }
793
- fail ArgumentError, "invalid value for \"status\", must include one of #{allowable_values}"
794
- end
795
- allowable_values = ["NoDelinquency", "InCollections", "InForeclosure", "Foreclosed"]
796
- if @api_client.config.client_side_validation && opts[:'delinquencystatuses'] && !opts[:'delinquencystatuses'].all? { |item| allowable_values.include?(item) }
797
- fail ArgumentError, "invalid value for \"delinquencystatuses\", must include one of #{allowable_values}"
798
- end
799
- # resource path
800
- local_var_path = '/v1/associations/ownershipaccounts'
801
-
802
- # query parameters
803
- query_params = opts[:query_params] || {}
804
- query_params[:'associationids'] = @api_client.build_collection_param(opts[:'associationids'], :multi) if !opts[:'associationids'].nil?
805
- query_params[:'unitorowner'] = opts[:'unitorowner'] if !opts[:'unitorowner'].nil?
806
- query_params[:'datefrom'] = opts[:'datefrom'] if !opts[:'datefrom'].nil?
807
- query_params[:'dateto'] = opts[:'dateto'] if !opts[:'dateto'].nil?
808
- query_params[:'status'] = @api_client.build_collection_param(opts[:'status'], :multi) if !opts[:'status'].nil?
809
- query_params[:'delinquencystatuses'] = @api_client.build_collection_param(opts[:'delinquencystatuses'], :multi) if !opts[:'delinquencystatuses'].nil?
810
- query_params[:'orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
811
- query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
812
- query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
813
-
814
- # header parameters
815
- header_params = opts[:header_params] || {}
816
- # HTTP header 'Accept' (if needed)
817
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
818
-
819
- # form parameters
820
- form_params = opts[:form_params] || {}
821
-
822
- # http body (model)
823
- post_body = opts[:debug_body]
824
-
825
- # return_type
826
- return_type = opts[:debug_return_type] || 'Array<AssociationOwnershipAccountMessage>'
827
-
828
- # auth_names
829
- auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
830
-
831
- new_options = opts.merge(
832
- :operation => :"AssociationOwnershipAccountsApi.get_all_ownership_accounts",
833
- :header_params => header_params,
834
- :query_params => query_params,
835
- :form_params => form_params,
836
- :body => post_body,
837
- :auth_names => auth_names,
838
- :return_type => return_type
839
- )
840
-
841
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
842
- if @api_client.config.debugging
843
- @api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#get_all_ownership_accounts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
844
- end
845
- return data, status_code, headers
846
- end
847
-
848
- # Retrieve a note
849
- # Retrieves an ownership account note. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; OwnershipAccounts</span> - `View`
850
- # @param ownership_account_id [Integer]
851
- # @param note_id [Integer]
852
- # @param [Hash] opts the optional parameters
853
- # @return [NoteMessage]
854
- def get_association_ownership_account_note_by_note_id(ownership_account_id, note_id, opts = {})
855
- data, _status_code, _headers = get_association_ownership_account_note_by_note_id_with_http_info(ownership_account_id, note_id, opts)
856
- data
857
- end
858
-
859
- # Retrieve a note
860
- # Retrieves an ownership account note. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Associations &amp;gt; OwnershipAccounts&lt;/span&gt; - &#x60;View&#x60;
861
- # @param ownership_account_id [Integer]
862
- # @param note_id [Integer]
863
- # @param [Hash] opts the optional parameters
864
- # @return [Array<(NoteMessage, Integer, Hash)>] NoteMessage data, response status code and response headers
865
- def get_association_ownership_account_note_by_note_id_with_http_info(ownership_account_id, note_id, opts = {})
866
- if @api_client.config.debugging
867
- @api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.get_association_ownership_account_note_by_note_id ...'
868
- end
869
- # verify the required parameter 'ownership_account_id' is set
870
- if @api_client.config.client_side_validation && ownership_account_id.nil?
871
- fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.get_association_ownership_account_note_by_note_id"
872
- end
873
- # verify the required parameter 'note_id' is set
874
- if @api_client.config.client_side_validation && note_id.nil?
875
- fail ArgumentError, "Missing the required parameter 'note_id' when calling AssociationOwnershipAccountsApi.get_association_ownership_account_note_by_note_id"
876
- end
877
- # resource path
878
- local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/notes/{noteId}'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s)).sub('{' + 'noteId' + '}', CGI.escape(note_id.to_s))
879
-
880
- # query parameters
881
- query_params = opts[:query_params] || {}
882
-
883
- # header parameters
884
- header_params = opts[:header_params] || {}
885
- # HTTP header 'Accept' (if needed)
886
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
887
-
888
- # form parameters
889
- form_params = opts[:form_params] || {}
890
-
891
- # http body (model)
892
- post_body = opts[:debug_body]
893
-
894
- # return_type
895
- return_type = opts[:debug_return_type] || 'NoteMessage'
896
-
897
- # auth_names
898
- auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
899
-
900
- new_options = opts.merge(
901
- :operation => :"AssociationOwnershipAccountsApi.get_association_ownership_account_note_by_note_id",
902
- :header_params => header_params,
903
- :query_params => query_params,
904
- :form_params => form_params,
905
- :body => post_body,
906
- :auth_names => auth_names,
907
- :return_type => return_type
908
- )
909
-
910
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
911
- if @api_client.config.debugging
912
- @api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#get_association_ownership_account_note_by_note_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
913
- end
914
- return data, status_code, headers
915
- end
916
-
917
- # Retrieve all notes
918
- # Retrieves notes for an ownership account. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; OwnershipAccounts</span> - `View`
919
- # @param ownership_account_id [Integer]
920
- # @param [Hash] opts the optional parameters
921
- # @option opts [Time] :updateddatetimefrom Filters results to any note whose updated date and time are greater than or equal to the specified value. The value must be formatted as YYYY-MM-DD HH:MM:SS.
922
- # @option opts [Time] :updateddatetimeto Filters results to any note whose updated date and time are less than or equal to the specified value. The value must be formatted as YYYY-MM-DD HH:MM:SS.
923
- # @option opts [Integer] :lastupdatedbyuserid Filters results to only notes that were last updated by the specified user identifier.
924
- # @option opts [String] :orderby &#x60;orderby&#x60; indicates the field(s) and direction to sort the results in the response. See &lt;a href&#x3D;\&quot;#section/API-Overview/Bulk-Request-Options\&quot;&gt;Bulk Request Options&lt;/a&gt; for more information.
925
- # @option opts [Integer] :offset &#x60;offset&#x60; indicates the position of the first record to return. The &#x60;offset&#x60; is zero-based and the default is 0.
926
- # @option opts [Integer] :limit &#x60;limit&#x60; indicates the maximum number of results to be returned in the response. &#x60;limit&#x60; can range between 1 and 1000 and the default is 50.
927
- # @return [Array<NoteMessage>]
928
- def get_association_ownership_account_notes(ownership_account_id, opts = {})
929
- data, _status_code, _headers = get_association_ownership_account_notes_with_http_info(ownership_account_id, opts)
930
- data
931
- end
932
-
933
- # Retrieve all notes
934
- # Retrieves notes for an ownership account. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Associations &amp;gt; OwnershipAccounts&lt;/span&gt; - &#x60;View&#x60;
935
- # @param ownership_account_id [Integer]
936
- # @param [Hash] opts the optional parameters
937
- # @option opts [Time] :updateddatetimefrom Filters results to any note whose updated date and time are greater than or equal to the specified value. The value must be formatted as YYYY-MM-DD HH:MM:SS.
938
- # @option opts [Time] :updateddatetimeto Filters results to any note whose updated date and time are less than or equal to the specified value. The value must be formatted as YYYY-MM-DD HH:MM:SS.
939
- # @option opts [Integer] :lastupdatedbyuserid Filters results to only notes that were last updated by the specified user identifier.
940
- # @option opts [String] :orderby &#x60;orderby&#x60; indicates the field(s) and direction to sort the results in the response. See &lt;a href&#x3D;\&quot;#section/API-Overview/Bulk-Request-Options\&quot;&gt;Bulk Request Options&lt;/a&gt; for more information.
941
- # @option opts [Integer] :offset &#x60;offset&#x60; indicates the position of the first record to return. The &#x60;offset&#x60; is zero-based and the default is 0.
942
- # @option opts [Integer] :limit &#x60;limit&#x60; indicates the maximum number of results to be returned in the response. &#x60;limit&#x60; can range between 1 and 1000 and the default is 50.
943
- # @return [Array<(Array<NoteMessage>, Integer, Hash)>] Array<NoteMessage> data, response status code and response headers
944
- def get_association_ownership_account_notes_with_http_info(ownership_account_id, opts = {})
945
- if @api_client.config.debugging
946
- @api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.get_association_ownership_account_notes ...'
947
- end
948
- # verify the required parameter 'ownership_account_id' is set
949
- if @api_client.config.client_side_validation && ownership_account_id.nil?
950
- fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.get_association_ownership_account_notes"
951
- end
952
- # resource path
953
- local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/notes'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
954
-
955
- # query parameters
956
- query_params = opts[:query_params] || {}
957
- query_params[:'updateddatetimefrom'] = opts[:'updateddatetimefrom'] if !opts[:'updateddatetimefrom'].nil?
958
- query_params[:'updateddatetimeto'] = opts[:'updateddatetimeto'] if !opts[:'updateddatetimeto'].nil?
959
- query_params[:'lastupdatedbyuserid'] = opts[:'lastupdatedbyuserid'] if !opts[:'lastupdatedbyuserid'].nil?
960
- query_params[:'orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
961
- query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
962
- query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
963
-
964
- # header parameters
965
- header_params = opts[:header_params] || {}
966
- # HTTP header 'Accept' (if needed)
967
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
968
-
969
- # form parameters
970
- form_params = opts[:form_params] || {}
971
-
972
- # http body (model)
973
- post_body = opts[:debug_body]
974
-
975
- # return_type
976
- return_type = opts[:debug_return_type] || 'Array<NoteMessage>'
977
-
978
- # auth_names
979
- auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
980
-
981
- new_options = opts.merge(
982
- :operation => :"AssociationOwnershipAccountsApi.get_association_ownership_account_notes",
983
- :header_params => header_params,
984
- :query_params => query_params,
985
- :form_params => form_params,
986
- :body => post_body,
987
- :auth_names => auth_names,
988
- :return_type => return_type
989
- )
990
-
991
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
992
- if @api_client.config.debugging
993
- @api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#get_association_ownership_account_notes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
683
+ @api_client.config.logger.debug "API called: OwnershipAccountTransactionsApi#create_ownership_accounts_charge_recurring_transaction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
994
684
  end
995
685
  return data, status_code, headers
996
686
  end
@@ -1018,11 +708,11 @@ module Buildium
1018
708
  # @return [Array<(Array<RecurringTransactionMessage>, Integer, Hash)>] Array<RecurringTransactionMessage> data, response status code and response headers
1019
709
  def get_association_recurring_transaction_with_http_info(ownership_account_id, opts = {})
1020
710
  if @api_client.config.debugging
1021
- @api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.get_association_recurring_transaction ...'
711
+ @api_client.config.logger.debug 'Calling API: OwnershipAccountTransactionsApi.get_association_recurring_transaction ...'
1022
712
  end
1023
713
  # verify the required parameter 'ownership_account_id' is set
1024
714
  if @api_client.config.client_side_validation && ownership_account_id.nil?
1025
- fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.get_association_recurring_transaction"
715
+ fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling OwnershipAccountTransactionsApi.get_association_recurring_transaction"
1026
716
  end
1027
717
  # resource path
1028
718
  local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/recurringtransactions'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
@@ -1051,7 +741,7 @@ module Buildium
1051
741
  auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
1052
742
 
1053
743
  new_options = opts.merge(
1054
- :operation => :"AssociationOwnershipAccountsApi.get_association_recurring_transaction",
744
+ :operation => :"OwnershipAccountTransactionsApi.get_association_recurring_transaction",
1055
745
  :header_params => header_params,
1056
746
  :query_params => query_params,
1057
747
  :form_params => form_params,
@@ -1062,76 +752,13 @@ module Buildium
1062
752
 
1063
753
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1064
754
  if @api_client.config.debugging
1065
- @api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#get_association_recurring_transaction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
755
+ @api_client.config.logger.debug "API called: OwnershipAccountTransactionsApi#get_association_recurring_transaction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1066
756
  end
1067
757
  return data, status_code, headers
1068
758
  end
1069
759
 
1070
- # Retrieve an ownership account
1071
- # Retrieves a specific ownership account. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership accounts</span> - `View`
1072
- # @param ownership_account_id [Integer] The ownership account identifier.
1073
- # @param [Hash] opts the optional parameters
1074
- # @return [AssociationOwnershipAccountMessage]
1075
- def get_ownership_account_by_id(ownership_account_id, opts = {})
1076
- data, _status_code, _headers = get_ownership_account_by_id_with_http_info(ownership_account_id, opts)
1077
- data
1078
- end
1079
-
1080
- # Retrieve an ownership account
1081
- # Retrieves a specific ownership account. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Associations &amp;gt; Ownership accounts&lt;/span&gt; - &#x60;View&#x60;
1082
- # @param ownership_account_id [Integer] The ownership account identifier.
1083
- # @param [Hash] opts the optional parameters
1084
- # @return [Array<(AssociationOwnershipAccountMessage, Integer, Hash)>] AssociationOwnershipAccountMessage data, response status code and response headers
1085
- def get_ownership_account_by_id_with_http_info(ownership_account_id, opts = {})
1086
- if @api_client.config.debugging
1087
- @api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.get_ownership_account_by_id ...'
1088
- end
1089
- # verify the required parameter 'ownership_account_id' is set
1090
- if @api_client.config.client_side_validation && ownership_account_id.nil?
1091
- fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.get_ownership_account_by_id"
1092
- end
1093
- # resource path
1094
- local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
1095
-
1096
- # query parameters
1097
- query_params = opts[:query_params] || {}
1098
-
1099
- # header parameters
1100
- header_params = opts[:header_params] || {}
1101
- # HTTP header 'Accept' (if needed)
1102
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1103
-
1104
- # form parameters
1105
- form_params = opts[:form_params] || {}
1106
-
1107
- # http body (model)
1108
- post_body = opts[:debug_body]
1109
-
1110
- # return_type
1111
- return_type = opts[:debug_return_type] || 'AssociationOwnershipAccountMessage'
1112
-
1113
- # auth_names
1114
- auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
1115
-
1116
- new_options = opts.merge(
1117
- :operation => :"AssociationOwnershipAccountsApi.get_ownership_account_by_id",
1118
- :header_params => header_params,
1119
- :query_params => query_params,
1120
- :form_params => form_params,
1121
- :body => post_body,
1122
- :auth_names => auth_names,
1123
- :return_type => return_type
1124
- )
1125
-
1126
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1127
- if @api_client.config.debugging
1128
- @api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#get_ownership_account_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1129
- end
1130
- return data, status_code, headers
1131
- end
1132
-
1133
- # Retrieve ownership account transactions
1134
- # Retrieves all transactions for a specific ownership account. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership account transactions</span> - `View`
760
+ # Retrieve all transactions
761
+ # Retrieves all ledger transactions for a specific ownership account. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership account transactions</span> - `View`
1135
762
  # @param ownership_account_id [Integer] The ownership account identifier.
1136
763
  # @param [Hash] opts the optional parameters
1137
764
  # @option opts [Date] :transactiondatefrom Filters results to any lease transaction whose start date is greater than or equal to the specified value.
@@ -1146,8 +773,8 @@ module Buildium
1146
773
  data
1147
774
  end
1148
775
 
1149
- # Retrieve ownership account transactions
1150
- # Retrieves all transactions for a specific ownership account. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Associations &amp;gt; Ownership account transactions&lt;/span&gt; - &#x60;View&#x60;
776
+ # Retrieve all transactions
777
+ # Retrieves all ledger transactions for a specific ownership account. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Associations &amp;gt; Ownership account transactions&lt;/span&gt; - &#x60;View&#x60;
1151
778
  # @param ownership_account_id [Integer] The ownership account identifier.
1152
779
  # @param [Hash] opts the optional parameters
1153
780
  # @option opts [Date] :transactiondatefrom Filters results to any lease transaction whose start date is greater than or equal to the specified value.
@@ -1159,11 +786,11 @@ module Buildium
1159
786
  # @return [Array<(Array<OwnershipAccountTransactionMessage>, Integer, Hash)>] Array<OwnershipAccountTransactionMessage> data, response status code and response headers
1160
787
  def get_ownership_account_ledger_with_http_info(ownership_account_id, opts = {})
1161
788
  if @api_client.config.debugging
1162
- @api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.get_ownership_account_ledger ...'
789
+ @api_client.config.logger.debug 'Calling API: OwnershipAccountTransactionsApi.get_ownership_account_ledger ...'
1163
790
  end
1164
791
  # verify the required parameter 'ownership_account_id' is set
1165
792
  if @api_client.config.client_side_validation && ownership_account_id.nil?
1166
- fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.get_ownership_account_ledger"
793
+ fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling OwnershipAccountTransactionsApi.get_ownership_account_ledger"
1167
794
  end
1168
795
  allowable_values = ["Bill", "Check", "Charge", "Payment", "Credit", "Refund", "ApplyDeposit", "ElectronicFundsTransfer", "Other", "Deposit", "GeneralJournalEntry", "OwnerContribution", "ReversePayment", "ReverseElectronicFundsTransfer", "VendorCredit", "RentalApplicationFeePayment", "ReverseRentalApplicationFeePayment", "ReverseOwnerContribution", "VendorRefund", "UnreversedPayment", "UnreversedElectronicFundsTransfer", "UnreversedOwnerContribution", "UnreversedRentalApplicationFeePayment"]
1169
796
  if @api_client.config.client_side_validation && opts[:'transactiontypes'] && !opts[:'transactiontypes'].all? { |item| allowable_values.include?(item) }
@@ -1199,7 +826,7 @@ module Buildium
1199
826
  auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
1200
827
 
1201
828
  new_options = opts.merge(
1202
- :operation => :"AssociationOwnershipAccountsApi.get_ownership_account_ledger",
829
+ :operation => :"OwnershipAccountTransactionsApi.get_ownership_account_ledger",
1203
830
  :header_params => header_params,
1204
831
  :query_params => query_params,
1205
832
  :form_params => form_params,
@@ -1210,7 +837,7 @@ module Buildium
1210
837
 
1211
838
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1212
839
  if @api_client.config.debugging
1213
- @api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#get_ownership_account_ledger\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
840
+ @api_client.config.logger.debug "API called: OwnershipAccountTransactionsApi#get_ownership_account_ledger\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1214
841
  end
1215
842
  return data, status_code, headers
1216
843
  end
@@ -1246,7 +873,7 @@ module Buildium
1246
873
  # @return [Array<(Array<OwnershipAccountOutstandingBalanceMessage>, Integer, Hash)>] Array<OwnershipAccountOutstandingBalanceMessage> data, response status code and response headers
1247
874
  def get_ownership_account_outstanding_balances_with_http_info(opts = {})
1248
875
  if @api_client.config.debugging
1249
- @api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.get_ownership_account_outstanding_balances ...'
876
+ @api_client.config.logger.debug 'Calling API: OwnershipAccountTransactionsApi.get_ownership_account_outstanding_balances ...'
1250
877
  end
1251
878
  allowable_values = ["Active", "Past", "Future"]
1252
879
  if @api_client.config.client_side_validation && opts[:'ownershipaccountstatuses'] && !opts[:'ownershipaccountstatuses'].all? { |item| allowable_values.include?(item) }
@@ -1292,7 +919,7 @@ module Buildium
1292
919
  auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
1293
920
 
1294
921
  new_options = opts.merge(
1295
- :operation => :"AssociationOwnershipAccountsApi.get_ownership_account_outstanding_balances",
922
+ :operation => :"OwnershipAccountTransactionsApi.get_ownership_account_outstanding_balances",
1296
923
  :header_params => header_params,
1297
924
  :query_params => query_params,
1298
925
  :form_params => form_params,
@@ -1303,7 +930,7 @@ module Buildium
1303
930
 
1304
931
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1305
932
  if @api_client.config.debugging
1306
- @api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#get_ownership_account_outstanding_balances\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
933
+ @api_client.config.logger.debug "API called: OwnershipAccountTransactionsApi#get_ownership_account_outstanding_balances\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1307
934
  end
1308
935
  return data, status_code, headers
1309
936
  end
@@ -1327,15 +954,15 @@ module Buildium
1327
954
  # @return [Array<(OwnershipAccountRecurringCreditMessage, Integer, Hash)>] OwnershipAccountRecurringCreditMessage data, response status code and response headers
1328
955
  def get_ownership_account_recurring_credit_by_id_with_http_info(ownership_account_id, transaction_id, opts = {})
1329
956
  if @api_client.config.debugging
1330
- @api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.get_ownership_account_recurring_credit_by_id ...'
957
+ @api_client.config.logger.debug 'Calling API: OwnershipAccountTransactionsApi.get_ownership_account_recurring_credit_by_id ...'
1331
958
  end
1332
959
  # verify the required parameter 'ownership_account_id' is set
1333
960
  if @api_client.config.client_side_validation && ownership_account_id.nil?
1334
- fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.get_ownership_account_recurring_credit_by_id"
961
+ fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling OwnershipAccountTransactionsApi.get_ownership_account_recurring_credit_by_id"
1335
962
  end
1336
963
  # verify the required parameter 'transaction_id' is set
1337
964
  if @api_client.config.client_side_validation && transaction_id.nil?
1338
- fail ArgumentError, "Missing the required parameter 'transaction_id' when calling AssociationOwnershipAccountsApi.get_ownership_account_recurring_credit_by_id"
965
+ fail ArgumentError, "Missing the required parameter 'transaction_id' when calling OwnershipAccountTransactionsApi.get_ownership_account_recurring_credit_by_id"
1339
966
  end
1340
967
  # resource path
1341
968
  local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/recurringcredits/{transactionId}'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s)).sub('{' + 'transactionId' + '}', CGI.escape(transaction_id.to_s))
@@ -1361,7 +988,7 @@ module Buildium
1361
988
  auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
1362
989
 
1363
990
  new_options = opts.merge(
1364
- :operation => :"AssociationOwnershipAccountsApi.get_ownership_account_recurring_credit_by_id",
991
+ :operation => :"OwnershipAccountTransactionsApi.get_ownership_account_recurring_credit_by_id",
1365
992
  :header_params => header_params,
1366
993
  :query_params => query_params,
1367
994
  :form_params => form_params,
@@ -1372,7 +999,7 @@ module Buildium
1372
999
 
1373
1000
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1374
1001
  if @api_client.config.debugging
1375
- @api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#get_ownership_account_recurring_credit_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1002
+ @api_client.config.logger.debug "API called: OwnershipAccountTransactionsApi#get_ownership_account_recurring_credit_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1376
1003
  end
1377
1004
  return data, status_code, headers
1378
1005
  end
@@ -1396,15 +1023,15 @@ module Buildium
1396
1023
  # @return [Array<(OwnershipAccountRefundMessage, Integer, Hash)>] OwnershipAccountRefundMessage data, response status code and response headers
1397
1024
  def get_ownership_account_refund_by_id_with_http_info(ownership_account_id, refund_id, opts = {})
1398
1025
  if @api_client.config.debugging
1399
- @api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.get_ownership_account_refund_by_id ...'
1026
+ @api_client.config.logger.debug 'Calling API: OwnershipAccountTransactionsApi.get_ownership_account_refund_by_id ...'
1400
1027
  end
1401
1028
  # verify the required parameter 'ownership_account_id' is set
1402
1029
  if @api_client.config.client_side_validation && ownership_account_id.nil?
1403
- fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.get_ownership_account_refund_by_id"
1030
+ fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling OwnershipAccountTransactionsApi.get_ownership_account_refund_by_id"
1404
1031
  end
1405
1032
  # verify the required parameter 'refund_id' is set
1406
1033
  if @api_client.config.client_side_validation && refund_id.nil?
1407
- fail ArgumentError, "Missing the required parameter 'refund_id' when calling AssociationOwnershipAccountsApi.get_ownership_account_refund_by_id"
1034
+ fail ArgumentError, "Missing the required parameter 'refund_id' when calling OwnershipAccountTransactionsApi.get_ownership_account_refund_by_id"
1408
1035
  end
1409
1036
  # resource path
1410
1037
  local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/refunds/{refundId}'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s)).sub('{' + 'refundId' + '}', CGI.escape(refund_id.to_s))
@@ -1430,7 +1057,7 @@ module Buildium
1430
1057
  auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
1431
1058
 
1432
1059
  new_options = opts.merge(
1433
- :operation => :"AssociationOwnershipAccountsApi.get_ownership_account_refund_by_id",
1060
+ :operation => :"OwnershipAccountTransactionsApi.get_ownership_account_refund_by_id",
1434
1061
  :header_params => header_params,
1435
1062
  :query_params => query_params,
1436
1063
  :form_params => form_params,
@@ -1441,13 +1068,13 @@ module Buildium
1441
1068
 
1442
1069
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1443
1070
  if @api_client.config.debugging
1444
- @api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#get_ownership_account_refund_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1071
+ @api_client.config.logger.debug "API called: OwnershipAccountTransactionsApi#get_ownership_account_refund_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1445
1072
  end
1446
1073
  return data, status_code, headers
1447
1074
  end
1448
1075
 
1449
- # Retrieve an ownership account transaction
1450
- # Retrieves a single ownership account transaction. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership account transactions</span> - `View`
1076
+ # Retrieve a transaction
1077
+ # Retrieves a specific ownership account ledger transaction. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership account transactions</span> - `View`
1451
1078
  # @param ownership_account_id [Integer] The ownership account identifier.
1452
1079
  # @param transaction_id [Integer] The transaction identifier.
1453
1080
  # @param [Hash] opts the optional parameters
@@ -1457,23 +1084,23 @@ module Buildium
1457
1084
  data
1458
1085
  end
1459
1086
 
1460
- # Retrieve an ownership account transaction
1461
- # Retrieves a single ownership account transaction. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Associations &amp;gt; Ownership account transactions&lt;/span&gt; - &#x60;View&#x60;
1087
+ # Retrieve a transaction
1088
+ # Retrieves a specific ownership account ledger transaction. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Associations &amp;gt; Ownership account transactions&lt;/span&gt; - &#x60;View&#x60;
1462
1089
  # @param ownership_account_id [Integer] The ownership account identifier.
1463
1090
  # @param transaction_id [Integer] The transaction identifier.
1464
1091
  # @param [Hash] opts the optional parameters
1465
1092
  # @return [Array<(OwnershipAccountTransactionMessage, Integer, Hash)>] OwnershipAccountTransactionMessage data, response status code and response headers
1466
1093
  def get_ownership_account_transaction_by_id_with_http_info(ownership_account_id, transaction_id, opts = {})
1467
1094
  if @api_client.config.debugging
1468
- @api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.get_ownership_account_transaction_by_id ...'
1095
+ @api_client.config.logger.debug 'Calling API: OwnershipAccountTransactionsApi.get_ownership_account_transaction_by_id ...'
1469
1096
  end
1470
1097
  # verify the required parameter 'ownership_account_id' is set
1471
1098
  if @api_client.config.client_side_validation && ownership_account_id.nil?
1472
- fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.get_ownership_account_transaction_by_id"
1099
+ fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling OwnershipAccountTransactionsApi.get_ownership_account_transaction_by_id"
1473
1100
  end
1474
1101
  # verify the required parameter 'transaction_id' is set
1475
1102
  if @api_client.config.client_side_validation && transaction_id.nil?
1476
- fail ArgumentError, "Missing the required parameter 'transaction_id' when calling AssociationOwnershipAccountsApi.get_ownership_account_transaction_by_id"
1103
+ fail ArgumentError, "Missing the required parameter 'transaction_id' when calling OwnershipAccountTransactionsApi.get_ownership_account_transaction_by_id"
1477
1104
  end
1478
1105
  # resource path
1479
1106
  local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/transactions/{transactionId}'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s)).sub('{' + 'transactionId' + '}', CGI.escape(transaction_id.to_s))
@@ -1499,7 +1126,7 @@ module Buildium
1499
1126
  auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
1500
1127
 
1501
1128
  new_options = opts.merge(
1502
- :operation => :"AssociationOwnershipAccountsApi.get_ownership_account_transaction_by_id",
1129
+ :operation => :"OwnershipAccountTransactionsApi.get_ownership_account_transaction_by_id",
1503
1130
  :header_params => header_params,
1504
1131
  :query_params => query_params,
1505
1132
  :form_params => form_params,
@@ -1510,7 +1137,7 @@ module Buildium
1510
1137
 
1511
1138
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1512
1139
  if @api_client.config.debugging
1513
- @api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#get_ownership_account_transaction_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1140
+ @api_client.config.logger.debug "API called: OwnershipAccountTransactionsApi#get_ownership_account_transaction_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1514
1141
  end
1515
1142
  return data, status_code, headers
1516
1143
  end
@@ -1534,15 +1161,15 @@ module Buildium
1534
1161
  # @return [Array<(OwnershipAccountChargeRecurringTransactionMessage, Integer, Hash)>] OwnershipAccountChargeRecurringTransactionMessage data, response status code and response headers
1535
1162
  def get_ownership_accounts_charge_recurring_transaction_by_id_with_http_info(ownership_account_id, transaction_id, opts = {})
1536
1163
  if @api_client.config.debugging
1537
- @api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.get_ownership_accounts_charge_recurring_transaction_by_id ...'
1164
+ @api_client.config.logger.debug 'Calling API: OwnershipAccountTransactionsApi.get_ownership_accounts_charge_recurring_transaction_by_id ...'
1538
1165
  end
1539
1166
  # verify the required parameter 'ownership_account_id' is set
1540
1167
  if @api_client.config.client_side_validation && ownership_account_id.nil?
1541
- fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.get_ownership_accounts_charge_recurring_transaction_by_id"
1168
+ fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling OwnershipAccountTransactionsApi.get_ownership_accounts_charge_recurring_transaction_by_id"
1542
1169
  end
1543
1170
  # verify the required parameter 'transaction_id' is set
1544
1171
  if @api_client.config.client_side_validation && transaction_id.nil?
1545
- fail ArgumentError, "Missing the required parameter 'transaction_id' when calling AssociationOwnershipAccountsApi.get_ownership_accounts_charge_recurring_transaction_by_id"
1172
+ fail ArgumentError, "Missing the required parameter 'transaction_id' when calling OwnershipAccountTransactionsApi.get_ownership_accounts_charge_recurring_transaction_by_id"
1546
1173
  end
1547
1174
  # resource path
1548
1175
  local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/recurringcharges/{transactionId}'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s)).sub('{' + 'transactionId' + '}', CGI.escape(transaction_id.to_s))
@@ -1568,7 +1195,7 @@ module Buildium
1568
1195
  auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
1569
1196
 
1570
1197
  new_options = opts.merge(
1571
- :operation => :"AssociationOwnershipAccountsApi.get_ownership_accounts_charge_recurring_transaction_by_id",
1198
+ :operation => :"OwnershipAccountTransactionsApi.get_ownership_accounts_charge_recurring_transaction_by_id",
1572
1199
  :header_params => header_params,
1573
1200
  :query_params => query_params,
1574
1201
  :form_params => form_params,
@@ -1579,7 +1206,7 @@ module Buildium
1579
1206
 
1580
1207
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1581
1208
  if @api_client.config.debugging
1582
- @api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#get_ownership_accounts_charge_recurring_transaction_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1209
+ @api_client.config.logger.debug "API called: OwnershipAccountTransactionsApi#get_ownership_accounts_charge_recurring_transaction_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1583
1210
  end
1584
1211
  return data, status_code, headers
1585
1212
  end
@@ -1603,15 +1230,15 @@ module Buildium
1603
1230
  # @return [Array<(OwnershipAccountRecurringPaymentMessage, Integer, Hash)>] OwnershipAccountRecurringPaymentMessage data, response status code and response headers
1604
1231
  def get_recurring_ownership_account_payments_by_id_with_http_info(ownership_account_id, payment_id, opts = {})
1605
1232
  if @api_client.config.debugging
1606
- @api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.get_recurring_ownership_account_payments_by_id ...'
1233
+ @api_client.config.logger.debug 'Calling API: OwnershipAccountTransactionsApi.get_recurring_ownership_account_payments_by_id ...'
1607
1234
  end
1608
1235
  # verify the required parameter 'ownership_account_id' is set
1609
1236
  if @api_client.config.client_side_validation && ownership_account_id.nil?
1610
- fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.get_recurring_ownership_account_payments_by_id"
1237
+ fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling OwnershipAccountTransactionsApi.get_recurring_ownership_account_payments_by_id"
1611
1238
  end
1612
1239
  # verify the required parameter 'payment_id' is set
1613
1240
  if @api_client.config.client_side_validation && payment_id.nil?
1614
- fail ArgumentError, "Missing the required parameter 'payment_id' when calling AssociationOwnershipAccountsApi.get_recurring_ownership_account_payments_by_id"
1241
+ fail ArgumentError, "Missing the required parameter 'payment_id' when calling OwnershipAccountTransactionsApi.get_recurring_ownership_account_payments_by_id"
1615
1242
  end
1616
1243
  # resource path
1617
1244
  local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/recurringpayments/{paymentId}'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s)).sub('{' + 'paymentId' + '}', CGI.escape(payment_id.to_s))
@@ -1637,7 +1264,7 @@ module Buildium
1637
1264
  auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
1638
1265
 
1639
1266
  new_options = opts.merge(
1640
- :operation => :"AssociationOwnershipAccountsApi.get_recurring_ownership_account_payments_by_id",
1267
+ :operation => :"OwnershipAccountTransactionsApi.get_recurring_ownership_account_payments_by_id",
1641
1268
  :header_params => header_params,
1642
1269
  :query_params => query_params,
1643
1270
  :form_params => form_params,
@@ -1648,122 +1275,48 @@ module Buildium
1648
1275
 
1649
1276
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1650
1277
  if @api_client.config.debugging
1651
- @api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#get_recurring_ownership_account_payments_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1278
+ @api_client.config.logger.debug "API called: OwnershipAccountTransactionsApi#get_recurring_ownership_account_payments_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1652
1279
  end
1653
1280
  return data, status_code, headers
1654
1281
  end
1655
1282
 
1656
- # Update an ownership account
1657
- # Updates an ownership account. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership accounts</span> - `View` `Edit`
1658
- # @param ownership_account_id [Integer]
1659
- # @param association_ownership_account_put_message [AssociationOwnershipAccountPutMessage]
1660
- # @param [Hash] opts the optional parameters
1661
- # @return [AssociationOwnershipAccountMessage]
1662
- def update_association_ownership_account(ownership_account_id, association_ownership_account_put_message, opts = {})
1663
- data, _status_code, _headers = update_association_ownership_account_with_http_info(ownership_account_id, association_ownership_account_put_message, opts)
1664
- data
1665
- end
1666
-
1667
- # Update an ownership account
1668
- # Updates an ownership account. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Any field not included in the update request will be set to either an empty string or &#x60;null&#x60; in the database depending on the field definition. &lt;br /&gt;The recommended workflow to ensure no data is inadvertently overwritten is to execute a &#x60;GET&#x60; request for the resource you&#39;re about to update and then use this response to fill any of the fields that are not being updated. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Associations &amp;gt; Ownership accounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
1669
- # @param ownership_account_id [Integer]
1670
- # @param association_ownership_account_put_message [AssociationOwnershipAccountPutMessage]
1671
- # @param [Hash] opts the optional parameters
1672
- # @return [Array<(AssociationOwnershipAccountMessage, Integer, Hash)>] AssociationOwnershipAccountMessage data, response status code and response headers
1673
- def update_association_ownership_account_with_http_info(ownership_account_id, association_ownership_account_put_message, opts = {})
1674
- if @api_client.config.debugging
1675
- @api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.update_association_ownership_account ...'
1676
- end
1677
- # verify the required parameter 'ownership_account_id' is set
1678
- if @api_client.config.client_side_validation && ownership_account_id.nil?
1679
- fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.update_association_ownership_account"
1680
- end
1681
- # verify the required parameter 'association_ownership_account_put_message' is set
1682
- if @api_client.config.client_side_validation && association_ownership_account_put_message.nil?
1683
- fail ArgumentError, "Missing the required parameter 'association_ownership_account_put_message' when calling AssociationOwnershipAccountsApi.update_association_ownership_account"
1684
- end
1685
- # resource path
1686
- local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
1687
-
1688
- # query parameters
1689
- query_params = opts[:query_params] || {}
1690
-
1691
- # header parameters
1692
- header_params = opts[:header_params] || {}
1693
- # HTTP header 'Accept' (if needed)
1694
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1695
- # HTTP header 'Content-Type'
1696
- content_type = @api_client.select_header_content_type(['application/json'])
1697
- if !content_type.nil?
1698
- header_params['Content-Type'] = content_type
1699
- end
1700
-
1701
- # form parameters
1702
- form_params = opts[:form_params] || {}
1703
-
1704
- # http body (model)
1705
- post_body = opts[:debug_body] || @api_client.object_to_http_body(association_ownership_account_put_message)
1706
-
1707
- # return_type
1708
- return_type = opts[:debug_return_type] || 'AssociationOwnershipAccountMessage'
1709
-
1710
- # auth_names
1711
- auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
1712
-
1713
- new_options = opts.merge(
1714
- :operation => :"AssociationOwnershipAccountsApi.update_association_ownership_account",
1715
- :header_params => header_params,
1716
- :query_params => query_params,
1717
- :form_params => form_params,
1718
- :body => post_body,
1719
- :auth_names => auth_names,
1720
- :return_type => return_type
1721
- )
1722
-
1723
- data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
1724
- if @api_client.config.debugging
1725
- @api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#update_association_ownership_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1726
- end
1727
- return data, status_code, headers
1728
- end
1729
-
1730
- # Update a note
1731
- # Updates an association ownership account note. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership Accounts</span> - `View` `Edit`
1732
- # @param ownership_account_id [Integer]
1733
- # @param note_id [Integer]
1734
- # @param note_put_message [NotePutMessage]
1283
+ # Update a charge
1284
+ # Updates a charge. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership account transactions</span> - `View` `Edit` <br />
1285
+ # @param ownership_account_id [Integer] The ownership account identifier.
1286
+ # @param charge_id [Integer] The charge identifier.
1287
+ # @param ownership_account_ledger_charge_put_message [OwnershipAccountLedgerChargePutMessage]
1735
1288
  # @param [Hash] opts the optional parameters
1736
- # @return [NoteMessage]
1737
- def update_association_ownership_account_note(ownership_account_id, note_id, note_put_message, opts = {})
1738
- data, _status_code, _headers = update_association_ownership_account_note_with_http_info(ownership_account_id, note_id, note_put_message, opts)
1289
+ # @return [OwnershipAccountTransactionMessage]
1290
+ def update_ownership_account_charge(ownership_account_id, charge_id, ownership_account_ledger_charge_put_message, opts = {})
1291
+ data, _status_code, _headers = update_ownership_account_charge_with_http_info(ownership_account_id, charge_id, ownership_account_ledger_charge_put_message, opts)
1739
1292
  data
1740
1293
  end
1741
1294
 
1742
- # Update a note
1743
- # Updates an association ownership account note. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Any field not included in the update request will be set to either an empty string or &#x60;null&#x60; in the database depending on the field definition. &lt;br /&gt;The recommended workflow to ensure no data is inadvertently overwritten is to execute a &#x60;GET&#x60; request for the resource you&#39;re about to update and then use this response to fill any of the fields that are not being updated. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Associations &amp;gt; Ownership Accounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
1744
- # @param ownership_account_id [Integer]
1745
- # @param note_id [Integer]
1746
- # @param note_put_message [NotePutMessage]
1295
+ # Update a charge
1296
+ # Updates a charge. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Associations &amp;gt; Ownership account transactions&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60; &lt;br /&gt;
1297
+ # @param ownership_account_id [Integer] The ownership account identifier.
1298
+ # @param charge_id [Integer] The charge identifier.
1299
+ # @param ownership_account_ledger_charge_put_message [OwnershipAccountLedgerChargePutMessage]
1747
1300
  # @param [Hash] opts the optional parameters
1748
- # @return [Array<(NoteMessage, Integer, Hash)>] NoteMessage data, response status code and response headers
1749
- def update_association_ownership_account_note_with_http_info(ownership_account_id, note_id, note_put_message, opts = {})
1301
+ # @return [Array<(OwnershipAccountTransactionMessage, Integer, Hash)>] OwnershipAccountTransactionMessage data, response status code and response headers
1302
+ def update_ownership_account_charge_with_http_info(ownership_account_id, charge_id, ownership_account_ledger_charge_put_message, opts = {})
1750
1303
  if @api_client.config.debugging
1751
- @api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.update_association_ownership_account_note ...'
1304
+ @api_client.config.logger.debug 'Calling API: OwnershipAccountTransactionsApi.update_ownership_account_charge ...'
1752
1305
  end
1753
1306
  # verify the required parameter 'ownership_account_id' is set
1754
1307
  if @api_client.config.client_side_validation && ownership_account_id.nil?
1755
- fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.update_association_ownership_account_note"
1308
+ fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling OwnershipAccountTransactionsApi.update_ownership_account_charge"
1756
1309
  end
1757
- # verify the required parameter 'note_id' is set
1758
- if @api_client.config.client_side_validation && note_id.nil?
1759
- fail ArgumentError, "Missing the required parameter 'note_id' when calling AssociationOwnershipAccountsApi.update_association_ownership_account_note"
1310
+ # verify the required parameter 'charge_id' is set
1311
+ if @api_client.config.client_side_validation && charge_id.nil?
1312
+ fail ArgumentError, "Missing the required parameter 'charge_id' when calling OwnershipAccountTransactionsApi.update_ownership_account_charge"
1760
1313
  end
1761
- # verify the required parameter 'note_put_message' is set
1762
- if @api_client.config.client_side_validation && note_put_message.nil?
1763
- fail ArgumentError, "Missing the required parameter 'note_put_message' when calling AssociationOwnershipAccountsApi.update_association_ownership_account_note"
1314
+ # verify the required parameter 'ownership_account_ledger_charge_put_message' is set
1315
+ if @api_client.config.client_side_validation && ownership_account_ledger_charge_put_message.nil?
1316
+ fail ArgumentError, "Missing the required parameter 'ownership_account_ledger_charge_put_message' when calling OwnershipAccountTransactionsApi.update_ownership_account_charge"
1764
1317
  end
1765
1318
  # resource path
1766
- local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/notes/{noteId}'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s)).sub('{' + 'noteId' + '}', CGI.escape(note_id.to_s))
1319
+ local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/charges/{chargeId}'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s)).sub('{' + 'chargeId' + '}', CGI.escape(charge_id.to_s))
1767
1320
 
1768
1321
  # query parameters
1769
1322
  query_params = opts[:query_params] || {}
@@ -1782,16 +1335,16 @@ module Buildium
1782
1335
  form_params = opts[:form_params] || {}
1783
1336
 
1784
1337
  # http body (model)
1785
- post_body = opts[:debug_body] || @api_client.object_to_http_body(note_put_message)
1338
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(ownership_account_ledger_charge_put_message)
1786
1339
 
1787
1340
  # return_type
1788
- return_type = opts[:debug_return_type] || 'NoteMessage'
1341
+ return_type = opts[:debug_return_type] || 'OwnershipAccountTransactionMessage'
1789
1342
 
1790
1343
  # auth_names
1791
1344
  auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
1792
1345
 
1793
1346
  new_options = opts.merge(
1794
- :operation => :"AssociationOwnershipAccountsApi.update_association_ownership_account_note",
1347
+ :operation => :"OwnershipAccountTransactionsApi.update_ownership_account_charge",
1795
1348
  :header_params => header_params,
1796
1349
  :query_params => query_params,
1797
1350
  :form_params => form_params,
@@ -1802,48 +1355,48 @@ module Buildium
1802
1355
 
1803
1356
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
1804
1357
  if @api_client.config.debugging
1805
- @api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#update_association_ownership_account_note\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1358
+ @api_client.config.logger.debug "API called: OwnershipAccountTransactionsApi#update_ownership_account_charge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1806
1359
  end
1807
1360
  return data, status_code, headers
1808
1361
  end
1809
1362
 
1810
- # Update a charge
1811
- # Updates a charge. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership account transactions</span> - `View` `Edit` <br />
1812
- # @param ownership_account_id [Integer] The ownership account identifier.
1813
- # @param charge_id [Integer] The charge identifier.
1814
- # @param ownership_account_ledger_charge_put_message [OwnershipAccountLedgerChargePutMessage]
1363
+ # Update a payment
1364
+ # Updates a ledger payment. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership account transactions</span> - `View` `Edit`
1365
+ # @param ownership_account_id [Integer]
1366
+ # @param payment_id [Integer]
1367
+ # @param ownership_account_ledger_payment_put_message [OwnershipAccountLedgerPaymentPutMessage]
1815
1368
  # @param [Hash] opts the optional parameters
1816
1369
  # @return [OwnershipAccountTransactionMessage]
1817
- def update_ownership_account_charge(ownership_account_id, charge_id, ownership_account_ledger_charge_put_message, opts = {})
1818
- data, _status_code, _headers = update_ownership_account_charge_with_http_info(ownership_account_id, charge_id, ownership_account_ledger_charge_put_message, opts)
1370
+ def update_ownership_account_ledger_payment(ownership_account_id, payment_id, ownership_account_ledger_payment_put_message, opts = {})
1371
+ data, _status_code, _headers = update_ownership_account_ledger_payment_with_http_info(ownership_account_id, payment_id, ownership_account_ledger_payment_put_message, opts)
1819
1372
  data
1820
1373
  end
1821
1374
 
1822
- # Update a charge
1823
- # Updates a charge. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Associations &amp;gt; Ownership account transactions&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60; &lt;br /&gt;
1824
- # @param ownership_account_id [Integer] The ownership account identifier.
1825
- # @param charge_id [Integer] The charge identifier.
1826
- # @param ownership_account_ledger_charge_put_message [OwnershipAccountLedgerChargePutMessage]
1375
+ # Update a payment
1376
+ # Updates a ledger payment. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Associations &amp;gt; Ownership account transactions&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
1377
+ # @param ownership_account_id [Integer]
1378
+ # @param payment_id [Integer]
1379
+ # @param ownership_account_ledger_payment_put_message [OwnershipAccountLedgerPaymentPutMessage]
1827
1380
  # @param [Hash] opts the optional parameters
1828
1381
  # @return [Array<(OwnershipAccountTransactionMessage, Integer, Hash)>] OwnershipAccountTransactionMessage data, response status code and response headers
1829
- def update_ownership_account_charge_with_http_info(ownership_account_id, charge_id, ownership_account_ledger_charge_put_message, opts = {})
1382
+ def update_ownership_account_ledger_payment_with_http_info(ownership_account_id, payment_id, ownership_account_ledger_payment_put_message, opts = {})
1830
1383
  if @api_client.config.debugging
1831
- @api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.update_ownership_account_charge ...'
1384
+ @api_client.config.logger.debug 'Calling API: OwnershipAccountTransactionsApi.update_ownership_account_ledger_payment ...'
1832
1385
  end
1833
1386
  # verify the required parameter 'ownership_account_id' is set
1834
1387
  if @api_client.config.client_side_validation && ownership_account_id.nil?
1835
- fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.update_ownership_account_charge"
1388
+ fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling OwnershipAccountTransactionsApi.update_ownership_account_ledger_payment"
1836
1389
  end
1837
- # verify the required parameter 'charge_id' is set
1838
- if @api_client.config.client_side_validation && charge_id.nil?
1839
- fail ArgumentError, "Missing the required parameter 'charge_id' when calling AssociationOwnershipAccountsApi.update_ownership_account_charge"
1390
+ # verify the required parameter 'payment_id' is set
1391
+ if @api_client.config.client_side_validation && payment_id.nil?
1392
+ fail ArgumentError, "Missing the required parameter 'payment_id' when calling OwnershipAccountTransactionsApi.update_ownership_account_ledger_payment"
1840
1393
  end
1841
- # verify the required parameter 'ownership_account_ledger_charge_put_message' is set
1842
- if @api_client.config.client_side_validation && ownership_account_ledger_charge_put_message.nil?
1843
- fail ArgumentError, "Missing the required parameter 'ownership_account_ledger_charge_put_message' when calling AssociationOwnershipAccountsApi.update_ownership_account_charge"
1394
+ # verify the required parameter 'ownership_account_ledger_payment_put_message' is set
1395
+ if @api_client.config.client_side_validation && ownership_account_ledger_payment_put_message.nil?
1396
+ fail ArgumentError, "Missing the required parameter 'ownership_account_ledger_payment_put_message' when calling OwnershipAccountTransactionsApi.update_ownership_account_ledger_payment"
1844
1397
  end
1845
1398
  # resource path
1846
- local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/charges/{chargeId}'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s)).sub('{' + 'chargeId' + '}', CGI.escape(charge_id.to_s))
1399
+ local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/payments/{paymentId}'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s)).sub('{' + 'paymentId' + '}', CGI.escape(payment_id.to_s))
1847
1400
 
1848
1401
  # query parameters
1849
1402
  query_params = opts[:query_params] || {}
@@ -1862,7 +1415,7 @@ module Buildium
1862
1415
  form_params = opts[:form_params] || {}
1863
1416
 
1864
1417
  # http body (model)
1865
- post_body = opts[:debug_body] || @api_client.object_to_http_body(ownership_account_ledger_charge_put_message)
1418
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(ownership_account_ledger_payment_put_message)
1866
1419
 
1867
1420
  # return_type
1868
1421
  return_type = opts[:debug_return_type] || 'OwnershipAccountTransactionMessage'
@@ -1871,7 +1424,7 @@ module Buildium
1871
1424
  auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
1872
1425
 
1873
1426
  new_options = opts.merge(
1874
- :operation => :"AssociationOwnershipAccountsApi.update_ownership_account_charge",
1427
+ :operation => :"OwnershipAccountTransactionsApi.update_ownership_account_ledger_payment",
1875
1428
  :header_params => header_params,
1876
1429
  :query_params => query_params,
1877
1430
  :form_params => form_params,
@@ -1882,7 +1435,7 @@ module Buildium
1882
1435
 
1883
1436
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
1884
1437
  if @api_client.config.debugging
1885
- @api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#update_ownership_account_charge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1438
+ @api_client.config.logger.debug "API called: OwnershipAccountTransactionsApi#update_ownership_account_ledger_payment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1886
1439
  end
1887
1440
  return data, status_code, headers
1888
1441
  end