buildium-ruby 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1424) hide show
  1. checksums.yaml +4 -4
  2. data/.gitlab-ci.yml +26 -0
  3. data/.openapi-generator/FILES +732 -116
  4. data/.travis.yml +14 -0
  5. data/DOCS.md +157 -157
  6. data/Dockerfile +34 -0
  7. data/Gemfile.lock +2 -2
  8. data/README.md +1404 -79
  9. data/bin/config.yml +1 -1
  10. data/bin/rebuild.sh +1 -0
  11. data/bin/swagger.json +14128 -10005
  12. data/docker-compose.yml +19 -0
  13. data/docs/AccountInfoMessage.md +2 -2
  14. data/docs/AccountInfoMessageAccountingSettings.md +28 -0
  15. data/docs/AccountInfoMessageContact.md +24 -0
  16. data/docs/AccountingEntityMessage.md +1 -1
  17. data/docs/AccountingEntityMessageUnit.md +20 -0
  18. data/docs/AccountingEntityPatchMessage.md +22 -0
  19. data/docs/AccountingLockPeriodMessage.md +1 -1
  20. data/docs/AccountingLockPeriodMessageGlobal.md +18 -0
  21. data/docs/AdministrationApi.md +157 -6
  22. data/docs/AllTasksMessage.md +4 -4
  23. data/docs/AllTasksMessageCategory.md +24 -0
  24. data/docs/AllTasksMessageProperty.md +22 -0
  25. data/docs/AllTasksMessageRequestedByUserEntity.md +28 -0
  26. data/docs/AllTasksMessageUnitAgreement.md +22 -0
  27. data/docs/AnnouncementMessage.md +1 -1
  28. data/docs/AnnouncementMessageSender.md +22 -0
  29. data/docs/AppliancesApi.md +26 -26
  30. data/docs/ApplicantMessage.md +3 -1
  31. data/docs/ApplicantPostMessage.md +1 -1
  32. data/docs/ApplicantPostMessagePhoneNumbers.md +24 -0
  33. data/docs/ApplicantPutMessage.md +1 -1
  34. data/docs/ApplicantPutMessagePhoneNumbers.md +24 -0
  35. data/docs/ApplicantsApi.md +70 -66
  36. data/docs/ArchitecturalRequestsApi.md +590 -0
  37. data/docs/ArchitecturalRequestsPostMessage.md +28 -0
  38. data/docs/AssociationArchitecturalRequestFileMessage.md +28 -0
  39. data/docs/AssociationArchitecturalRequestMessage.md +38 -0
  40. data/docs/AssociationArchitecturalRequestMessageCreatedByUser.md +24 -0
  41. data/docs/AssociationArchitecturalRequestMessageLastUpdatedByUser.md +26 -0
  42. data/docs/AssociationMessage.md +3 -3
  43. data/docs/AssociationMessageAddress.md +30 -0
  44. data/docs/AssociationMessageAssociationManager.md +32 -0
  45. data/docs/AssociationMessageTaxInformation.md +26 -0
  46. data/docs/AssociationMeterReadingsApi.md +10 -10
  47. data/docs/AssociationOwnerMessage.md +3 -3
  48. data/docs/AssociationOwnerMessageAlternateAddress.md +30 -0
  49. data/docs/AssociationOwnerMessageEmergencyContact.md +24 -0
  50. data/docs/AssociationOwnerMessagePrimaryAddress.md +30 -0
  51. data/docs/AssociationOwnerPostMessage.md +5 -5
  52. data/docs/AssociationOwnerPostMessageAlternateAddress.md +30 -0
  53. data/docs/AssociationOwnerPostMessageBoardMemberTerm.md +22 -0
  54. data/docs/AssociationOwnerPostMessageEmergencyContact.md +24 -0
  55. data/docs/AssociationOwnerPostMessagePhoneNumbers.md +24 -0
  56. data/docs/AssociationOwnerPostMessagePrimaryAddress.md +30 -0
  57. data/docs/AssociationOwnerPutMessage.md +4 -4
  58. data/docs/AssociationOwnerPutMessagePhoneNumbers.md +24 -0
  59. data/docs/AssociationOwnerToExistingOwnershipAccountPostMessage.md +5 -5
  60. data/docs/AssociationOwnerToExistingOwnershipAccountPostMessageEmergencyContact.md +24 -0
  61. data/docs/AssociationOwnerToExistingOwnershipAccountPostMessagePhoneNumbers.md +24 -0
  62. data/docs/AssociationOwnersApi.md +41 -41
  63. data/docs/AssociationPostMessage.md +2 -2
  64. data/docs/AssociationPostMessageAddress.md +30 -0
  65. data/docs/AssociationPostMessageTaxInformation.md +26 -0
  66. data/docs/AssociationPutMessage.md +1 -1
  67. data/docs/AssociationTaxInformationMessage.md +1 -1
  68. data/docs/AssociationTaxInformationMessageAddress.md +30 -0
  69. data/docs/AssociationTenantMessage.md +3 -3
  70. data/docs/AssociationTenantPostMessage.md +4 -4
  71. data/docs/AssociationTenantPostMessageAlternateAddress.md +30 -0
  72. data/docs/AssociationTenantPostMessageEmergencyContact.md +24 -0
  73. data/docs/AssociationTenantPostMessagePhoneNumbers.md +24 -0
  74. data/docs/AssociationTenantPostMessagePrimaryAddress.md +30 -0
  75. data/docs/AssociationTenantPutMessage.md +4 -4
  76. data/docs/AssociationTenantPutMessagePhoneNumbers.md +24 -0
  77. data/docs/AssociationTenantsApi.md +32 -32
  78. data/docs/AssociationUnitMessage.md +1 -1
  79. data/docs/AssociationUnitMessageAddress.md +30 -0
  80. data/docs/AssociationUnitPutMessage.md +1 -1
  81. data/docs/AssociationUnitPutMessageAddress.md +30 -0
  82. data/docs/AssociationUnitsApi.md +32 -32
  83. data/docs/AssociationUnitsPostMessage.md +1 -1
  84. data/docs/AssociationsApi.md +51 -51
  85. data/docs/BankAccountCheckLineMessage.md +1 -1
  86. data/docs/BankAccountCheckLineMessageAccountingEntity.md +24 -0
  87. data/docs/BankAccountCheckLineSaveMessage.md +1 -1
  88. data/docs/BankAccountCheckLineSaveMessageAccountingEntity.md +22 -0
  89. data/docs/BankAccountCheckMessage.md +1 -1
  90. data/docs/BankAccountCheckMessagePayee.md +22 -0
  91. data/docs/BankAccountCheckPostMessage.md +1 -1
  92. data/docs/BankAccountCheckPostMessagePayee.md +20 -0
  93. data/docs/BankAccountCheckPutMessage.md +1 -1
  94. data/docs/BankAccountDepositLineMessage.md +1 -1
  95. data/docs/BankAccountDepositLineMessageAccountingEntity.md +24 -0
  96. data/docs/BankAccountDepositLineSaveMessage.md +1 -1
  97. data/docs/BankAccountDepositLineSaveMessageAccountingEntity.md +22 -0
  98. data/docs/BankAccountMessage.md +3 -3
  99. data/docs/BankAccountMessageCheckPrintingInfo.md +46 -0
  100. data/docs/BankAccountMessageElectronicPayments.md +32 -0
  101. data/docs/BankAccountMessageGLAccount.md +46 -0
  102. data/docs/BankAccountPostMessage.md +1 -1
  103. data/docs/BankAccountPostMessageCheckPrintingInfo.md +46 -0
  104. data/docs/BankAccountPutMessage.md +1 -1
  105. data/docs/BankAccountPutMessageCheckPrintingInfo.md +46 -0
  106. data/docs/BankAccountQuickDepositMessage.md +1 -1
  107. data/docs/BankAccountQuickDepositMessageAccountingEntity.md +24 -0
  108. data/docs/BankAccountQuickDepositSaveMessage.md +1 -1
  109. data/docs/BankAccountQuickDepositSaveMessageAccountingEntity.md +22 -0
  110. data/docs/BankAccountReconciliationBalanceMessage.md +22 -0
  111. data/docs/BankAccountReconciliationBalanceMessageClearedBalance.md +24 -0
  112. data/docs/BankAccountReconciliationBalanceMessageStatementBalance.md +24 -0
  113. data/docs/BankAccountReconciliationBalancePutMessage.md +22 -0
  114. data/docs/BankAccountReconciliationMessage.md +22 -0
  115. data/docs/BankAccountReconciliationTransactionMessage.md +34 -0
  116. data/docs/BankAccountTransferMessage.md +1 -1
  117. data/docs/BankAccountTransferMessageAccountingEntity.md +24 -0
  118. data/docs/BankAccountTransferSaveMessage.md +1 -1
  119. data/docs/BankAccountTransferSaveMessageAccountingEntity.md +22 -0
  120. data/docs/BankAccountWithdrawalMessage.md +1 -1
  121. data/docs/BankAccountWithdrawalMessageAccountingEntity.md +24 -0
  122. data/docs/BankAccountWithdrawalSaveMessage.md +1 -1
  123. data/docs/BankAccountWithdrawalSaveMessageAccountingEntity.md +22 -0
  124. data/docs/BankAccountsApi.md +964 -155
  125. data/docs/BankLockboxDataAssociationOwnerMessage.md +7 -1
  126. data/docs/BankLockboxDataMessage.md +1 -1
  127. data/docs/BankLockboxDataMessageAssociation.md +22 -0
  128. data/docs/BankLockboxDataOwnershipAccountMessage.md +1 -1
  129. data/docs/BankLockboxDataOwnershipAccountMessageUnitAddress.md +30 -0
  130. data/docs/BankPendingReconciliationPostMessage.md +24 -0
  131. data/docs/BankReconciliationClearTransactionsPostMessage.md +18 -0
  132. data/docs/BankReconciliationClearedBalanceMessage.md +24 -0
  133. data/docs/BankReconciliationPutMessage.md +18 -0
  134. data/docs/BankReconciliationStatementBalanceMessage.md +24 -0
  135. data/docs/BankReconciliationUnclearTransactionsPostMessage.md +18 -0
  136. data/docs/BillLineItemPatchMessage.md +28 -0
  137. data/docs/BillLineItemPatchMessageAccountingEntity.md +22 -0
  138. data/docs/BillLineItemPatchMessageMarkup.md +20 -0
  139. data/docs/BillLineMessage.md +3 -3
  140. data/docs/BillLineMessageAccountingEntity.md +24 -0
  141. data/docs/BillLineMessageGLAccount.md +46 -0
  142. data/docs/BillLineMessageMarkup.md +20 -0
  143. data/docs/BillLinePostMessage.md +2 -2
  144. data/docs/BillLinePostMessageAccountingEntity.md +22 -0
  145. data/docs/BillLinePostMessageMarkup.md +20 -0
  146. data/docs/BillLinePutMessage.md +2 -2
  147. data/docs/BillMarkupPatchMessage.md +20 -0
  148. data/docs/BillPatchMessage.md +28 -0
  149. data/docs/BillPaymentLineMessage.md +1 -1
  150. data/docs/BillPaymentLineMessageAccountingEntity.md +22 -0
  151. data/docs/BillsApi.md +143 -64
  152. data/docs/BoardMembersApi.md +17 -17
  153. data/docs/BudgetDetailsMessage.md +1 -1
  154. data/docs/BudgetDetailsMessageMonthlyAmounts.md +40 -0
  155. data/docs/BudgetDetailsSaveMessage.md +1 -1
  156. data/docs/BudgetDetailsSaveMessageMonthlyAmounts.md +40 -0
  157. data/docs/BudgetMessage.md +1 -1
  158. data/docs/BudgetMessageProperty.md +22 -0
  159. data/docs/BudgetsApi.md +21 -21
  160. data/docs/ClearTransactionsRequest.md +18 -0
  161. data/docs/ClientLeadMessage.md +2 -2
  162. data/docs/ClientLeadMessageAddress.md +30 -0
  163. data/docs/ClientLeadMessageCreditRequest.md +24 -0
  164. data/docs/ClientLeadsApi.md +2 -2
  165. data/docs/CommunicationsApi.md +39 -39
  166. data/docs/ContactDetailMessage.md +1 -1
  167. data/docs/ContactDetailMessagePhoneNumbers.md +22 -0
  168. data/docs/ContactDetailSaveMessage.md +1 -1
  169. data/docs/ContactDetailSaveMessagePhoneNumbers.md +22 -0
  170. data/docs/ContactInfoMessage.md +1 -1
  171. data/docs/ContactInfoMessageAddress.md +30 -0
  172. data/docs/ContactRequestTaskMessage.md +3 -3
  173. data/docs/ContactRequestTaskMessageCategory.md +24 -0
  174. data/docs/ContactRequestTaskMessageContactDetail.md +24 -0
  175. data/docs/ContactRequestTaskMessageProperty.md +22 -0
  176. data/docs/ContactRequestTaskPostMessage.md +1 -1
  177. data/docs/ContactRequestTaskPostMessageContactDetail.md +24 -0
  178. data/docs/ContactRequestTaskPutMessage.md +1 -1
  179. data/docs/ContactRequestTaskPutMessageContactDetail.md +24 -0
  180. data/docs/ContactRequestsApi.md +16 -16
  181. data/docs/CosignerMessage.md +2 -2
  182. data/docs/CosignerMessageAddress.md +30 -0
  183. data/docs/CosignerMessageAlternateAddress.md +30 -0
  184. data/docs/CreateAnnouncementRequest.md +28 -0
  185. data/docs/CreateApplicantGroupRequest.md +20 -0
  186. data/docs/CreateApplicantRequest.md +28 -0
  187. data/docs/CreateArchitecturalRequestAsyncRequest.md +28 -0
  188. data/docs/CreateAssociationApplianceRequest.md +32 -0
  189. data/docs/CreateAssociationApplianceServiceHistoryRequest.md +22 -0
  190. data/docs/CreateAssociationOwnerRequest.md +48 -0
  191. data/docs/CreateAssociationOwnershipAccountRequest.md +32 -0
  192. data/docs/CreateAssociationRequest.md +34 -0
  193. data/docs/CreateAssociationTenantRequest.md +42 -0
  194. data/docs/CreateAssociationUnitRequest.md +28 -0
  195. data/docs/CreateBankAccountCheckRequest.md +26 -0
  196. data/docs/CreateBankAccountDepositRequest.md +24 -0
  197. data/docs/CreateBankAccountRequest.md +30 -0
  198. data/docs/CreateBankAccountTransferRequest.md +26 -0
  199. data/docs/CreateBillPaymentRequest.md +26 -0
  200. data/docs/CreateBillRequest.md +30 -0
  201. data/docs/CreateBoardMemberRequest.md +24 -0
  202. data/docs/CreateBudgetAsyncRequest.md +26 -0
  203. data/docs/CreateContactRequestTaskRequest.md +38 -0
  204. data/docs/CreateEmailRequest.md +30 -0
  205. data/docs/CreateFileCategoryRequest.md +18 -0
  206. data/docs/CreateGeneralJournalEntryRequest.md +24 -0
  207. data/docs/CreateGeneralLedgerAccountRequest.md +32 -0
  208. data/docs/CreateLeaseAutoAllocatedPaymentRequest.md +30 -0
  209. data/docs/CreateLeaseCreditRequest.md +26 -0
  210. data/docs/CreateLeaseLedgerChargeRequest.md +24 -0
  211. data/docs/CreateLeaseLedgerDepositWithholdingRequest.md +24 -0
  212. data/docs/CreateLeaseLedgerRefundRequest.md +30 -0
  213. data/docs/CreateLeaseNoteRequest.md +18 -0
  214. data/docs/CreateLeaseRenewalRequest.md +38 -0
  215. data/docs/CreateLeaseRequest.md +42 -0
  216. data/docs/CreateLeaseReversePaymentRequest.md +24 -0
  217. data/docs/CreateListingContactRequest.md +24 -0
  218. data/docs/CreateMoveOutDataRequest.md +22 -0
  219. data/docs/CreateMultipleBillPaymentsRequest.md +26 -0
  220. data/docs/CreateOwnershipAccountAutoAllocatedPaymentRequest.md +30 -0
  221. data/docs/CreateOwnershipAccountCreditRecurringTransactionRequest.md +36 -0
  222. data/docs/CreateOwnershipAccountCreditRequest.md +26 -0
  223. data/docs/CreateOwnershipAccountDepositWithholdingRequest.md +24 -0
  224. data/docs/CreateOwnershipAccountLedgerChargeRequest.md +24 -0
  225. data/docs/CreateOwnershipAccountLedgerPaymentRequest.md +30 -0
  226. data/docs/CreateOwnershipAccountRecurringPaymentRequest.md +34 -0
  227. data/docs/CreateOwnershipAccountRefundRequest.md +30 -0
  228. data/docs/CreateOwnershipAccountsChargeRecurringTransactionRequest.md +32 -0
  229. data/docs/CreatePaymentRequest.md +30 -0
  230. data/docs/CreatePendingReconciliationsRequest.md +24 -0
  231. data/docs/CreatePhoneLogRequest.md +24 -0
  232. data/docs/CreatePropertyGroupRequest.md +22 -0
  233. data/docs/CreateQuickDepositRequest.md +26 -0
  234. data/docs/CreateRentScheduleRequest.md +24 -0
  235. data/docs/CreateRentalApplianceRequest.md +32 -0
  236. data/docs/CreateRentalApplianceServiceHistoryRequest.md +22 -0
  237. data/docs/CreateRentalImageUploadFileRequestAsyncRequest.md +22 -0
  238. data/docs/CreateRentalOwnerRequest.md +44 -0
  239. data/docs/CreateRentalOwnerRequestTaskRequest.md +38 -0
  240. data/docs/CreateRentalPropertyRequest.md +36 -0
  241. data/docs/CreateRentalTenantRequest.md +42 -0
  242. data/docs/CreateRentalUnitRequest.md +32 -0
  243. data/docs/CreateResourceRequest.md +46 -0
  244. data/docs/CreateTaskCategoryRequest.md +18 -0
  245. data/docs/CreateToDoTaskRequest.md +36 -0
  246. data/docs/CreateUploadFileRequestAsyncRequest.md +28 -0
  247. data/docs/CreateUploadFileRequestRequest.md +18 -0
  248. data/docs/CreateVendorCategoryRequest.md +18 -0
  249. data/docs/CreateVendorCreditRequest.md +24 -0
  250. data/docs/CreateVendorRefundRequest.md +28 -0
  251. data/docs/CreateVendorRequest.md +46 -0
  252. data/docs/CreateVideoLinkRequestRequest.md +20 -0
  253. data/docs/CreateWithdrawalForBankAccountRequest.md +26 -0
  254. data/docs/CreateWorkOrderRequest.md +40 -0
  255. data/docs/EPaySettingsMessage.md +3 -3
  256. data/docs/EPaySettingsMessageCreditCardPayments.md +18 -0
  257. data/docs/EPaySettingsMessageEFTPayments.md +18 -0
  258. data/docs/EPaySettingsMessageOfflinePayments.md +22 -0
  259. data/docs/EPaySettingsPutMessage.md +3 -3
  260. data/docs/EPaySettingsPutMessageCreditCardPayments.md +18 -0
  261. data/docs/EPaySettingsPutMessageEFTPayments.md +18 -0
  262. data/docs/EPaySettingsPutMessageOfflinePayments.md +22 -0
  263. data/docs/EmailMessage.md +1 -1
  264. data/docs/EmailMessageSender.md +24 -0
  265. data/docs/EmailPostMessage.md +1 -1
  266. data/docs/FileMessage.md +1 -1
  267. data/docs/FileMessageFileEntity.md +22 -0
  268. data/docs/FileSharingMessage.md +12 -12
  269. data/docs/FileSharingMessageAccount.md +26 -0
  270. data/docs/FileSharingMessageAssociation.md +20 -0
  271. data/docs/FileSharingMessageAssociationOwner.md +18 -0
  272. data/docs/FileSharingMessageAssociationUnit.md +20 -0
  273. data/docs/FileSharingMessageCommittee.md +22 -0
  274. data/docs/FileSharingMessageLease.md +20 -0
  275. data/docs/FileSharingMessageOwnershipAccount.md +20 -0
  276. data/docs/FileSharingMessageRental.md +20 -0
  277. data/docs/FileSharingMessageRentalOwner.md +18 -0
  278. data/docs/FileSharingMessageRentalUnit.md +20 -0
  279. data/docs/FileSharingMessageTenant.md +20 -0
  280. data/docs/FileSharingMessageVendor.md +18 -0
  281. data/docs/FileSharingPutMessage.md +12 -12
  282. data/docs/FileSharingPutMessageAccount.md +26 -0
  283. data/docs/FileSharingPutMessageAssociation.md +20 -0
  284. data/docs/FileSharingPutMessageAssociationOwner.md +18 -0
  285. data/docs/FileSharingPutMessageAssociationUnit.md +20 -0
  286. data/docs/FileSharingPutMessageCommittee.md +22 -0
  287. data/docs/FileSharingPutMessageLease.md +20 -0
  288. data/docs/FileSharingPutMessageOwnershipAccount.md +20 -0
  289. data/docs/FileSharingPutMessageRental.md +20 -0
  290. data/docs/FileSharingPutMessageRentalOwner.md +18 -0
  291. data/docs/FileSharingPutMessageRentalUnit.md +20 -0
  292. data/docs/FileSharingPutMessageTenant.md +20 -0
  293. data/docs/FileSharingPutMessageVendor.md +18 -0
  294. data/docs/FilesApi.md +41 -41
  295. data/docs/GLAccountBalanceItemMessage.md +1 -1
  296. data/docs/GLAccountBalanceItemMessageAccountingEntity.md +24 -0
  297. data/docs/GLAccountBalanceMessage.md +1 -1
  298. data/docs/GLAccountBalanceMessageGLAccount.md +46 -0
  299. data/docs/GeneralJournalEntryPostMessage.md +1 -1
  300. data/docs/GeneralJournalEntryPostMessageAccountingEntity.md +22 -0
  301. data/docs/GeneralJournalEntryPutMessage.md +1 -1
  302. data/docs/GeneralLedgerApi.md +42 -34
  303. data/docs/GeneralLedgerEntryMessage.md +1 -1
  304. data/docs/GeneralLedgerEntryMessageAccountingEntity.md +24 -0
  305. data/docs/GeneralLedgerJournalLineMessage.md +2 -2
  306. data/docs/GeneralLedgerJournalLineMessageAccountingEntity.md +24 -0
  307. data/docs/GeneralLedgerJournalLineMessageGLAccount.md +46 -0
  308. data/docs/GeneralLedgerTransactionMessage.md +7 -5
  309. data/docs/GeneralLedgerTransactionMessageDepositDetails.md +20 -0
  310. data/docs/GeneralLedgerTransactionMessageJournal.md +20 -0
  311. data/docs/GeneralLedgerTransactionMessagePaymentDetail.md +24 -0
  312. data/docs/GeneralLedgerTransactionMessageUnitAgreement.md +22 -0
  313. data/docs/JavaScriptEncoder.md +18 -0
  314. data/docs/JournalLineMessage.md +1 -1
  315. data/docs/LeaseChargeLineMessage.md +20 -0
  316. data/docs/LeaseChargeMessage.md +28 -0
  317. data/docs/LeaseChargePostMessage.md +2 -0
  318. data/docs/LeaseCosignerPostMessage.md +3 -3
  319. data/docs/LeaseCosignerPostMessageAddress.md +30 -0
  320. data/docs/LeaseCosignerPostMessageAlternateAddress.md +30 -0
  321. data/docs/LeaseCosignerPostMessagePhoneNumbers.md +24 -0
  322. data/docs/LeaseLedgerDepositWithholdingLinePutMessage.md +20 -0
  323. data/docs/LeaseLedgerDepositWithholdingPutMessage.md +24 -0
  324. data/docs/LeaseLedgerRefundMessage.md +1 -1
  325. data/docs/LeaseLedgerRefundMessageAddress.md +30 -0
  326. data/docs/LeaseLedgerRefundPostMessage.md +1 -1
  327. data/docs/LeaseLedgerRefundPostMessageAddress.md +30 -0
  328. data/docs/LeaseLedgerReversePaymentPostMessage.md +2 -2
  329. data/docs/LeaseLedgerReversePaymentPostMessageBankFee.md +20 -0
  330. data/docs/LeaseLedgerReversePaymentPostMessageNSFCharge.md +20 -0
  331. data/docs/LeaseMessage.md +1 -1
  332. data/docs/LeaseMessageAccountDetails.md +20 -0
  333. data/docs/LeasePostMessage.md +2 -2
  334. data/docs/LeasePostMessageRent.md +20 -0
  335. data/docs/LeasePostMessageSecurityDeposit.md +20 -0
  336. data/docs/LeaseRecurringPaymentMessage.md +1 -1
  337. data/docs/LeaseRecurringPaymentMessagePayer.md +24 -0
  338. data/docs/LeaseRenewalPostMessage.md +1 -1
  339. data/docs/LeaseRenewalPostMessageRent.md +20 -0
  340. data/docs/LeaseTransactionMessage.md +1 -1
  341. data/docs/LeaseTransactionMessageJournal.md +20 -0
  342. data/docs/LeaseTransactionsApi.md +343 -92
  343. data/docs/LeasesApi.md +380 -64
  344. data/docs/ListingMessage.md +3 -3
  345. data/docs/ListingMessageContact.md +26 -0
  346. data/docs/ListingMessageProperty.md +34 -0
  347. data/docs/ListingMessageUnit.md +36 -0
  348. data/docs/ListingPropertyMessage.md +1 -1
  349. data/docs/ListingPropertyMessageAddress.md +30 -0
  350. data/docs/ListingUnitMessage.md +1 -1
  351. data/docs/ListingUnitMessageAddress.md +30 -0
  352. data/docs/ListingsApi.md +26 -26
  353. data/docs/LockPeriodSettingsOverridesMessage.md +1 -1
  354. data/docs/LockPeriodSettingsOverridesMessageProperty.md +22 -0
  355. data/docs/NoteMessage.md +1 -1
  356. data/docs/NoteMessageLastUpdatedByUser.md +26 -0
  357. data/docs/OwnershipAccountDepositWithholdingLinePutMessage.md +20 -0
  358. data/docs/OwnershipAccountDepositWithholdingPostMessage.md +2 -2
  359. data/docs/OwnershipAccountDepositWithholdingPutMessage.md +24 -0
  360. data/docs/OwnershipAccountLedgerChargeLineMessage.md +20 -0
  361. data/docs/OwnershipAccountLedgerChargeMessage.md +28 -0
  362. data/docs/OwnershipAccountLedgerChargePostMessage.md +2 -0
  363. data/docs/OwnershipAccountRecurringPaymentMessage.md +1 -1
  364. data/docs/OwnershipAccountRefundMessage.md +1 -1
  365. data/docs/OwnershipAccountRefundPostMessage.md +1 -1
  366. data/docs/OwnershipAccountTransactionMessage.md +1 -1
  367. data/docs/OwnershipAccountTransactionsApi.md +336 -85
  368. data/docs/OwnershipAccountsApi.md +188 -32
  369. data/docs/PaidByMessage.md +1 -1
  370. data/docs/PartialPaymentSettingsMessage.md +18 -0
  371. data/docs/PartialPaymentSettingsPatchMessage.md +18 -0
  372. data/docs/ParticipantMessage.md +1 -1
  373. data/docs/ParticipantMessageUnitAgreement.md +22 -0
  374. data/docs/PatchBillRequest.md +28 -0
  375. data/docs/PatchGlobalPartialPaymentSettingsRequest.md +18 -0
  376. data/docs/PaymentDetailMessage.md +2 -2
  377. data/docs/PaymentDetailMessageInternalTransactionStatus.md +22 -0
  378. data/docs/PaymentDetailMessagePayee.md +24 -0
  379. data/docs/PaymentTransactionsMessage.md +1 -1
  380. data/docs/PaymentTransactionsMessageAccountingEntity.md +24 -0
  381. data/docs/PhoneLogMessage.md +2 -2
  382. data/docs/PhoneLogMessageLoggedByStaffUser.md +24 -0
  383. data/docs/PhoneLogMessageParticipant.md +22 -0
  384. data/docs/PhoneLogParticipantPostMessage.md +1 -1
  385. data/docs/PhoneLogParticipantPostMessageUnitAgreement.md +20 -0
  386. data/docs/PhoneLogPostMessage.md +1 -1
  387. data/docs/PhoneLogPostMessageParticipant.md +22 -0
  388. data/docs/PropertyGroupMessage.md +1 -1
  389. data/docs/PropertyGroupMessageCreatedByUser.md +24 -0
  390. data/docs/PropertyGroupsApi.md +16 -16
  391. data/docs/RecurringTransactionMessage.md +2 -0
  392. data/docs/RentScheduleChargePostMessage.md +26 -0
  393. data/docs/RentScheduleChargePutMessage.md +26 -0
  394. data/docs/RentSchedulePostMessage.md +24 -0
  395. data/docs/RentSchedulePutMessage.md +22 -0
  396. data/docs/RentalAppliancesApi.md +26 -26
  397. data/docs/RentalMessage.md +2 -2
  398. data/docs/RentalMessageRentalManager.md +32 -0
  399. data/docs/RentalMeterReadingsApi.md +10 -10
  400. data/docs/RentalOwnerContributionDataMessage.md +1 -1
  401. data/docs/RentalOwnerContributionDataMessageReminderSettings.md +20 -0
  402. data/docs/RentalOwnerContributionDataPutMessage.md +1 -1
  403. data/docs/RentalOwnerContributionDataPutMessageReminderSettings.md +20 -0
  404. data/docs/RentalOwnerMessage.md +2 -2
  405. data/docs/RentalOwnerMessageAddress.md +30 -0
  406. data/docs/RentalOwnerMessageTaxInformation.md +28 -0
  407. data/docs/RentalOwnerPostMessage.md +3 -3
  408. data/docs/RentalOwnerPostMessageAddress.md +30 -0
  409. data/docs/RentalOwnerPostMessagePhoneNumbers.md +24 -0
  410. data/docs/RentalOwnerPostMessageTaxInformation.md +26 -0
  411. data/docs/RentalOwnerPutMessage.md +2 -2
  412. data/docs/RentalOwnerRequestTaskMessage.md +3 -3
  413. data/docs/RentalOwnerRequestTaskMessageRequestedByUserEntity.md +28 -0
  414. data/docs/RentalOwnerRequestsApi.md +25 -31
  415. data/docs/RentalOwnerTaxInformationMessage.md +1 -1
  416. data/docs/RentalOwnersApi.md +32 -32
  417. data/docs/RentalPropertiesApi.md +412 -90
  418. data/docs/RentalPropertyPostMessage.md +1 -1
  419. data/docs/RentalPropertyPostMessageAddress.md +30 -0
  420. data/docs/RentalPropertyPutMessage.md +1 -1
  421. data/docs/RentalPropertyPutMessageAddress.md +30 -0
  422. data/docs/RentalPropertyUnitPostMessage.md +1 -1
  423. data/docs/RentalPropertyUnitPostMessageAddress.md +30 -0
  424. data/docs/RentalTenantPostMessage.md +4 -4
  425. data/docs/RentalTenantPutMessage.md +4 -4
  426. data/docs/RentalTenantRenewalPostMessage.md +4 -4
  427. data/docs/RentalTenantsApi.md +34 -32
  428. data/docs/RentalUnitMessage.md +1 -1
  429. data/docs/RentalUnitPutMessage.md +1 -1
  430. data/docs/RentalUnitsApi.md +56 -378
  431. data/docs/RentalUnitsPostMessage.md +1 -1
  432. data/docs/ReorderRentalImagesRequest.md +18 -0
  433. data/docs/ResidentCenterApi.md +10 -10
  434. data/docs/ResidentCenterUserMessage.md +2 -2
  435. data/docs/ResidentCenterUserMessageUnitAgreement.md +22 -0
  436. data/docs/ResidentCenterUserMessageUser.md +26 -0
  437. data/docs/ResidentRequestTaskMessage.md +5 -5
  438. data/docs/ResidentRequestTaskMessageAppliance.md +26 -0
  439. data/docs/ResidentRequestTaskMessageRequestedByUserEntity.md +28 -0
  440. data/docs/ResidentRequestTaskMessageUnitAgreement.md +22 -0
  441. data/docs/ResidentRequestTaskPostMessage.md +2 -2
  442. data/docs/ResidentRequestsApi.md +16 -16
  443. data/docs/RetailCashUserMessage.md +4 -4
  444. data/docs/RetailCashUserMessageProperty.md +24 -0
  445. data/docs/RetailCashUserMessageUnit.md +22 -0
  446. data/docs/RetailCashUserMessageUnitAgreement.md +22 -0
  447. data/docs/RetailCashUserMessageUser.md +30 -0
  448. data/docs/TaskCategoryResponseMessage.md +1 -1
  449. data/docs/TaskCategoryResponseMessageSubCategory.md +20 -0
  450. data/docs/TaskHistoryMessage.md +2 -2
  451. data/docs/TaskHistoryMessageCreatedByUser.md +26 -0
  452. data/docs/TaskHistoryMessageLastUpdatedByUser.md +26 -0
  453. data/docs/TaskHistoryUserMessage.md +3 -1
  454. data/docs/TasksApi.md +38 -38
  455. data/docs/TaxInformationPostMessage.md +1 -1
  456. data/docs/TaxInformationPostMessageAddress.md +30 -0
  457. data/docs/TaxInformationSaveMessage.md +1 -1
  458. data/docs/TenantMessage.md +3 -3
  459. data/docs/TenantMessageAddress.md +30 -0
  460. data/docs/TenantMessageAlternateAddress.md +30 -0
  461. data/docs/TenantMessageEmergencyContact.md +24 -0
  462. data/docs/ToDoRequestsApi.md +16 -16
  463. data/docs/ToDoTaskMessage.md +2 -2
  464. data/docs/UnclearTransactionsRequest.md +18 -0
  465. data/docs/UndepositedFundsMessage.md +1 -1
  466. data/docs/UndepositedFundsMessageGeneralLedgerTransaction.md +26 -0
  467. data/docs/UpdateApplicantGroupRequest.md +22 -0
  468. data/docs/UpdateApplicantRequest.md +26 -0
  469. data/docs/UpdateApplicationRequest.md +18 -0
  470. data/docs/UpdateAssociationApplianceRequest.md +28 -0
  471. data/docs/UpdateAssociationOwnerOccupancyStatusRequest.md +18 -0
  472. data/docs/UpdateAssociationOwnerRequest.md +38 -0
  473. data/docs/UpdateAssociationOwnershipAccountRequest.md +18 -0
  474. data/docs/UpdateAssociationPreferredVendorsRequest.md +18 -0
  475. data/docs/UpdateAssociationRequest.md +34 -0
  476. data/docs/UpdateAssociationTenantRequest.md +38 -0
  477. data/docs/UpdateAssociationUnitRequest.md +26 -0
  478. data/docs/UpdateBankAccountDepositRequest.md +22 -0
  479. data/docs/UpdateBankAccountRequest.md +30 -0
  480. data/docs/UpdateBillRequest.md +28 -0
  481. data/docs/UpdateBoardMemberRequest.md +22 -0
  482. data/docs/UpdateBudgetRequest.md +20 -0
  483. data/docs/UpdateCheckForBankAccountRequest.md +26 -0
  484. data/docs/UpdateContactRequestTaskRequest.md +38 -0
  485. data/docs/UpdateDepositWithholdingRequest.md +24 -0
  486. data/docs/UpdateEPaySettingsForAssociationRequest.md +22 -0
  487. data/docs/UpdateFileCategoryRequest.md +18 -0
  488. data/docs/UpdateFileRequest.md +22 -0
  489. data/docs/UpdateFileSharingSettingRequest.md +40 -0
  490. data/docs/UpdateGLAccountRequest.md +32 -0
  491. data/docs/UpdateGeneralJournalEntryRequest.md +24 -0
  492. data/docs/UpdateLeaseChargeRequest.md +22 -0
  493. data/docs/UpdateLeaseLedgerPaymentRequest.md +28 -0
  494. data/docs/UpdateLeaseNoteRequest.md +18 -0
  495. data/docs/UpdateLeaseRequest.md +28 -0
  496. data/docs/UpdateOwnershipAccountChargeRequest.md +22 -0
  497. data/docs/UpdateOwnershipAccountDepositWithholdingRequest.md +24 -0
  498. data/docs/UpdateOwnershipAccountLedgerPaymentRequest.md +28 -0
  499. data/docs/UpdatePhoneLogRequest.md +22 -0
  500. data/docs/UpdatePropertyGroupRequest.md +22 -0
  501. data/docs/UpdateReconciliationBalancesRequest.md +22 -0
  502. data/docs/UpdateReconciliationRequest.md +18 -0
  503. data/docs/UpdateRentScheduleRequest.md +22 -0
  504. data/docs/UpdateRentalApplianceRequest.md +28 -0
  505. data/docs/UpdateRentalFeaturesRequest.md +20 -0
  506. data/docs/UpdateRentalImageRequest.md +20 -0
  507. data/docs/UpdateRentalOwnerRequest.md +42 -0
  508. data/docs/UpdateRentalOwnerRequestTaskContributionDataRequest.md +20 -0
  509. data/docs/UpdateRentalOwnerRequestTaskRequest.md +36 -0
  510. data/docs/UpdateRentalPreferredVendorsRequest.md +18 -0
  511. data/docs/UpdateRentalPropertyRequest.md +32 -0
  512. data/docs/UpdateRentalTenantRequest.md +40 -0
  513. data/docs/UpdateRentalUnitFeaturesRequest.md +18 -0
  514. data/docs/UpdateRentalUnitImageRequest.md +20 -0
  515. data/docs/UpdateRentalUnitRequest.md +30 -0
  516. data/docs/UpdateResourceRequest.md +32 -0
  517. data/docs/UpdateRetailCashUserRequest.md +18 -0
  518. data/docs/UpdateTaskCategoryRequest.md +18 -0
  519. data/docs/UpdateTaskHistoryRequest.md +18 -0
  520. data/docs/UpdateToDoTaskRequest.md +36 -0
  521. data/docs/UpdateVendorRequest.md +46 -0
  522. data/docs/UpdateWorkOrderRequest.md +36 -0
  523. data/docs/UploadTaskHistoryFileRequestAsyncRequest.md +18 -0
  524. data/docs/UpsertAssociationMeterReadingDetailsAsyncRequest.md +22 -0
  525. data/docs/UpsertListingsAsyncRequest.md +28 -0
  526. data/docs/UserMessage.md +1 -1
  527. data/docs/UserMessageUserRole.md +24 -0
  528. data/docs/VendorCreditLineItemMessage.md +1 -1
  529. data/docs/VendorCreditLineItemMessageAccountingEntity.md +24 -0
  530. data/docs/VendorCreditLineItemPostMessage.md +1 -1
  531. data/docs/VendorCreditLineItemPostMessageAccountingEntity.md +22 -0
  532. data/docs/VendorMessage.md +4 -4
  533. data/docs/VendorMessageAddress.md +30 -0
  534. data/docs/VendorMessageCategory.md +20 -0
  535. data/docs/VendorMessageTaxInformation.md +28 -0
  536. data/docs/VendorMessageVendorInsurance.md +22 -0
  537. data/docs/VendorPostMessage.md +4 -4
  538. data/docs/VendorPostMessageAddress.md +30 -0
  539. data/docs/VendorPostMessagePhoneNumbers.md +24 -0
  540. data/docs/VendorPostMessageTaxInformation.md +26 -0
  541. data/docs/VendorPostMessageVendorInsurance.md +22 -0
  542. data/docs/VendorPutMessage.md +4 -4
  543. data/docs/VendorPutMessageTaxInformation.md +28 -0
  544. data/docs/VendorRefundLineMessage.md +1 -1
  545. data/docs/VendorRefundLineMessageAccountingEntity.md +24 -0
  546. data/docs/VendorRefundLinePostMessage.md +1 -1
  547. data/docs/VendorRefundLinePostMessageAccountingEntity.md +22 -0
  548. data/docs/VendorTaxInformationMessage.md +1 -1
  549. data/docs/VendorsApi.md +76 -76
  550. data/docs/WorkOrderMessage.md +13 -3
  551. data/docs/WorkOrderMessageEntryContact.md +20 -0
  552. data/docs/WorkOrderMessageTask.md +32 -0
  553. data/docs/WorkOrderPostMessage.md +4 -2
  554. data/docs/WorkOrderPostMessageTask.md +30 -0
  555. data/docs/WorkOrderPutMessage.md +3 -1
  556. data/docs/WorkOrderTaskMessage.md +1 -1
  557. data/docs/WorkOrdersApi.md +16 -16
  558. data/git_push.sh +57 -0
  559. data/lib/buildium-ruby/api/administration_api.rb +137 -12
  560. data/lib/buildium-ruby/api/appliances_api.rb +46 -46
  561. data/lib/buildium-ruby/api/applicants_api.rb +124 -118
  562. data/lib/buildium-ruby/api/architectural_requests_api.rb +547 -0
  563. data/lib/buildium-ruby/api/association_meter_readings_api.rb +18 -18
  564. data/lib/buildium-ruby/api/association_owners_api.rb +72 -72
  565. data/lib/buildium-ruby/api/association_tenants_api.rb +56 -56
  566. data/lib/buildium-ruby/api/association_units_api.rb +56 -56
  567. data/lib/buildium-ruby/api/associations_api.rb +90 -90
  568. data/lib/buildium-ruby/api/bank_accounts_api.rb +981 -230
  569. data/lib/buildium-ruby/api/bills_api.rb +174 -100
  570. data/lib/buildium-ruby/api/board_members_api.rb +30 -30
  571. data/lib/buildium-ruby/api/budgets_api.rb +31 -31
  572. data/lib/buildium-ruby/api/client_leads_api.rb +4 -4
  573. data/lib/buildium-ruby/api/communications_api.rb +70 -70
  574. data/lib/buildium-ruby/api/contact_requests_api.rb +28 -28
  575. data/lib/buildium-ruby/api/files_api.rb +72 -72
  576. data/lib/buildium-ruby/api/general_ledger_api.rb +72 -60
  577. data/lib/buildium-ruby/api/lease_transactions_api.rb +390 -160
  578. data/lib/buildium-ruby/api/leases_api.rb +405 -114
  579. data/lib/buildium-ruby/api/listings_api.rb +46 -46
  580. data/lib/buildium-ruby/api/ownership_account_transactions_api.rb +378 -148
  581. data/lib/buildium-ruby/api/ownership_accounts_api.rb +193 -56
  582. data/lib/buildium-ruby/api/property_groups_api.rb +28 -28
  583. data/lib/buildium-ruby/api/rental_appliances_api.rb +46 -46
  584. data/lib/buildium-ruby/api/rental_meter_readings_api.rb +18 -18
  585. data/lib/buildium-ruby/api/rental_owner_requests_api.rb +42 -51
  586. data/lib/buildium-ruby/api/rental_owners_api.rb +56 -56
  587. data/lib/buildium-ruby/api/rental_properties_api.rb +438 -158
  588. data/lib/buildium-ruby/api/rental_tenants_api.rb +59 -56
  589. data/lib/buildium-ruby/api/rental_units_api.rb +98 -378
  590. data/lib/buildium-ruby/api/resident_center_api.rb +18 -18
  591. data/lib/buildium-ruby/api/resident_requests_api.rb +28 -28
  592. data/lib/buildium-ruby/api/tasks_api.rb +68 -68
  593. data/lib/buildium-ruby/api/to_do_requests_api.rb +28 -28
  594. data/lib/buildium-ruby/api/vendors_api.rb +127 -127
  595. data/lib/buildium-ruby/api/work_orders_api.rb +28 -28
  596. data/lib/buildium-ruby/api_client.rb +3 -3
  597. data/lib/buildium-ruby/configuration.rb +2 -1
  598. data/lib/buildium-ruby/models/account_info_message.rb +4 -3
  599. data/lib/buildium-ruby/models/{gl_account_balance_search_message.rb → account_info_message_accounting_settings.rb} +75 -69
  600. data/lib/buildium-ruby/models/account_info_message_contact.rb +256 -0
  601. data/lib/buildium-ruby/models/accounting_entity_message.rb +3 -2
  602. data/lib/buildium-ruby/models/accounting_entity_message_unit.rb +237 -0
  603. data/lib/buildium-ruby/models/accounting_entity_patch_message.rb +273 -0
  604. data/lib/buildium-ruby/models/accounting_entity_save_message.rb +2 -1
  605. data/lib/buildium-ruby/models/accounting_lock_period_message.rb +3 -2
  606. data/lib/buildium-ruby/models/{association_appliance_search_message.rb → accounting_lock_period_message_global.rb} +21 -26
  607. data/lib/buildium-ruby/models/accounting_settings_message.rb +2 -1
  608. data/lib/buildium-ruby/models/address_message.rb +4 -3
  609. data/lib/buildium-ruby/models/all_tasks_message.rb +6 -5
  610. data/lib/buildium-ruby/models/all_tasks_message_category.rb +256 -0
  611. data/lib/buildium-ruby/models/all_tasks_message_property.rb +281 -0
  612. data/lib/buildium-ruby/models/all_tasks_message_requested_by_user_entity.rb +311 -0
  613. data/lib/buildium-ruby/models/all_tasks_message_unit_agreement.rb +281 -0
  614. data/lib/buildium-ruby/models/announcement_message.rb +3 -2
  615. data/lib/buildium-ruby/models/announcement_message_sender.rb +247 -0
  616. data/lib/buildium-ruby/models/announcement_post_message.rb +40 -1
  617. data/lib/buildium-ruby/models/announcement_sender_message.rb +2 -1
  618. data/lib/buildium-ruby/models/api_error_response.rb +2 -1
  619. data/lib/buildium-ruby/models/appliance_message.rb +2 -1
  620. data/lib/buildium-ruby/models/applicant_application_message.rb +4 -3
  621. data/lib/buildium-ruby/models/applicant_group_message.rb +4 -3
  622. data/lib/buildium-ruby/models/applicant_group_post_message.rb +2 -1
  623. data/lib/buildium-ruby/models/applicant_group_put_message.rb +2 -1
  624. data/lib/buildium-ruby/models/applicant_message.rb +18 -7
  625. data/lib/buildium-ruby/models/applicant_post_message.rb +41 -2
  626. data/lib/buildium-ruby/models/applicant_post_message_phone_numbers.rb +257 -0
  627. data/lib/buildium-ruby/models/applicant_put_message.rb +41 -2
  628. data/lib/buildium-ruby/models/applicant_put_message_phone_numbers.rb +257 -0
  629. data/lib/buildium-ruby/models/application_message.rb +4 -3
  630. data/lib/buildium-ruby/models/application_put_message.rb +2 -1
  631. data/lib/buildium-ruby/models/application_response_field_message.rb +2 -1
  632. data/lib/buildium-ruby/models/application_response_message.rb +2 -1
  633. data/lib/buildium-ruby/models/application_section_response_message.rb +2 -1
  634. data/lib/buildium-ruby/models/applied_vendor_credit_message.rb +2 -1
  635. data/lib/buildium-ruby/models/{vendor_search_message.rb → architectural_requests_post_message.rb} +91 -71
  636. data/lib/buildium-ruby/models/association_appliance_message.rb +2 -1
  637. data/lib/buildium-ruby/models/association_appliance_post_message.rb +21 -1
  638. data/lib/buildium-ruby/models/association_appliance_put_message.rb +21 -1
  639. data/lib/buildium-ruby/models/association_appliance_service_history_message.rb +2 -1
  640. data/lib/buildium-ruby/models/association_appliance_service_history_post_message.rb +2 -1
  641. data/lib/buildium-ruby/models/association_architectural_request_file_message.rb +269 -0
  642. data/lib/buildium-ruby/models/association_architectural_request_message.rb +363 -0
  643. data/lib/buildium-ruby/models/association_architectural_request_message_created_by_user.rb +257 -0
  644. data/lib/buildium-ruby/models/association_architectural_request_message_last_updated_by_user.rb +267 -0
  645. data/lib/buildium-ruby/models/association_board_member_message.rb +2 -1
  646. data/lib/buildium-ruby/models/association_board_member_post_message.rb +2 -1
  647. data/lib/buildium-ruby/models/association_board_member_put_message.rb +2 -1
  648. data/lib/buildium-ruby/models/association_message.rb +5 -4
  649. data/lib/buildium-ruby/models/association_message_address.rb +321 -0
  650. data/lib/buildium-ruby/models/association_message_association_manager.rb +299 -0
  651. data/lib/buildium-ruby/models/association_message_tax_information.rb +300 -0
  652. data/lib/buildium-ruby/models/association_owner_board_term_message.rb +2 -1
  653. data/lib/buildium-ruby/models/association_owner_board_term_post_message.rb +2 -1
  654. data/lib/buildium-ruby/models/association_owner_message.rb +5 -4
  655. data/lib/buildium-ruby/models/association_owner_message_alternate_address.rb +321 -0
  656. data/lib/buildium-ruby/models/{rental_unit_search_message.rb → association_owner_message_emergency_contact.rb} +45 -28
  657. data/lib/buildium-ruby/models/association_owner_message_primary_address.rb +321 -0
  658. data/lib/buildium-ruby/models/association_owner_post_message.rb +45 -6
  659. data/lib/buildium-ruby/models/association_owner_post_message_alternate_address.rb +350 -0
  660. data/lib/buildium-ruby/models/association_owner_post_message_board_member_term.rb +286 -0
  661. data/lib/buildium-ruby/models/association_owner_post_message_emergency_contact.rb +257 -0
  662. data/lib/buildium-ruby/models/association_owner_post_message_phone_numbers.rb +257 -0
  663. data/lib/buildium-ruby/models/association_owner_post_message_primary_address.rb +350 -0
  664. data/lib/buildium-ruby/models/association_owner_put_message.rb +44 -5
  665. data/lib/buildium-ruby/models/association_owner_put_message_phone_numbers.rb +257 -0
  666. data/lib/buildium-ruby/models/association_owner_to_existing_ownership_account_post_message.rb +45 -6
  667. data/lib/buildium-ruby/models/association_owner_to_existing_ownership_account_post_message_emergency_contact.rb +257 -0
  668. data/lib/buildium-ruby/models/association_owner_to_existing_ownership_account_post_message_phone_numbers.rb +257 -0
  669. data/lib/buildium-ruby/models/association_owner_unit_occupancy_put_message.rb +2 -1
  670. data/lib/buildium-ruby/models/association_owner_unit_occupancy_status_message.rb +2 -1
  671. data/lib/buildium-ruby/models/association_ownership_account_message.rb +2 -1
  672. data/lib/buildium-ruby/models/association_ownership_account_post_message.rb +2 -1
  673. data/lib/buildium-ruby/models/association_ownership_account_put_message.rb +2 -1
  674. data/lib/buildium-ruby/models/association_post_message.rb +23 -3
  675. data/lib/buildium-ruby/models/association_post_message_address.rb +350 -0
  676. data/lib/buildium-ruby/models/association_post_message_tax_information.rb +300 -0
  677. data/lib/buildium-ruby/models/association_preferred_vendor_message.rb +2 -1
  678. data/lib/buildium-ruby/models/association_preferred_vendor_put_message.rb +2 -1
  679. data/lib/buildium-ruby/models/association_put_message.rb +22 -2
  680. data/lib/buildium-ruby/models/association_tax_information_message.rb +3 -2
  681. data/lib/buildium-ruby/models/association_tax_information_message_address.rb +321 -0
  682. data/lib/buildium-ruby/models/association_tenant_message.rb +5 -4
  683. data/lib/buildium-ruby/models/association_tenant_post_message.rb +44 -5
  684. data/lib/buildium-ruby/models/association_tenant_post_message_alternate_address.rb +350 -0
  685. data/lib/buildium-ruby/models/association_tenant_post_message_emergency_contact.rb +257 -0
  686. data/lib/buildium-ruby/models/association_tenant_post_message_phone_numbers.rb +257 -0
  687. data/lib/buildium-ruby/models/association_tenant_post_message_primary_address.rb +350 -0
  688. data/lib/buildium-ruby/models/association_tenant_put_message.rb +44 -5
  689. data/lib/buildium-ruby/models/{association_unit_search_message.rb → association_tenant_put_message_phone_numbers.rb} +45 -29
  690. data/lib/buildium-ruby/models/association_unit_message.rb +3 -2
  691. data/lib/buildium-ruby/models/association_unit_message_address.rb +321 -0
  692. data/lib/buildium-ruby/models/association_unit_put_message.rb +22 -2
  693. data/lib/buildium-ruby/models/association_unit_put_message_address.rb +350 -0
  694. data/lib/buildium-ruby/models/association_units_post_message.rb +22 -2
  695. data/lib/buildium-ruby/models/bank_account_check_accounting_entity_save_message.rb +2 -1
  696. data/lib/buildium-ruby/models/bank_account_check_file_message.rb +2 -1
  697. data/lib/buildium-ruby/models/bank_account_check_line_message.rb +3 -2
  698. data/lib/buildium-ruby/models/bank_account_check_line_message_accounting_entity.rb +290 -0
  699. data/lib/buildium-ruby/models/bank_account_check_line_save_message.rb +3 -2
  700. data/lib/buildium-ruby/models/bank_account_check_line_save_message_accounting_entity.rb +291 -0
  701. data/lib/buildium-ruby/models/bank_account_check_message.rb +3 -2
  702. data/lib/buildium-ruby/models/bank_account_check_message_payee.rb +281 -0
  703. data/lib/buildium-ruby/models/bank_account_check_payee_message.rb +2 -1
  704. data/lib/buildium-ruby/models/bank_account_check_payee_save_message.rb +2 -1
  705. data/lib/buildium-ruby/models/bank_account_check_post_message.rb +3 -2
  706. data/lib/buildium-ruby/models/bank_account_check_post_message_payee.rb +281 -0
  707. data/lib/buildium-ruby/models/bank_account_check_put_message.rb +3 -2
  708. data/lib/buildium-ruby/models/bank_account_deposit_line_message.rb +3 -2
  709. data/lib/buildium-ruby/models/bank_account_deposit_line_message_accounting_entity.rb +290 -0
  710. data/lib/buildium-ruby/models/bank_account_deposit_line_save_message.rb +3 -2
  711. data/lib/buildium-ruby/models/bank_account_deposit_line_save_message_accounting_entity.rb +291 -0
  712. data/lib/buildium-ruby/models/bank_account_deposit_message.rb +2 -1
  713. data/lib/buildium-ruby/models/bank_account_deposit_post_message.rb +2 -1
  714. data/lib/buildium-ruby/models/bank_account_deposit_put_message.rb +2 -1
  715. data/lib/buildium-ruby/models/bank_account_message.rb +7 -6
  716. data/lib/buildium-ruby/models/bank_account_message_check_printing_info.rb +401 -0
  717. data/lib/buildium-ruby/models/bank_account_message_electronic_payments.rb +297 -0
  718. data/lib/buildium-ruby/models/{work_order_search_message.rb → bank_account_message_gl_account.rb} +143 -168
  719. data/lib/buildium-ruby/models/bank_account_post_message.rb +24 -4
  720. data/lib/buildium-ruby/models/bank_account_post_message_check_printing_info.rb +401 -0
  721. data/lib/buildium-ruby/models/bank_account_put_message.rb +24 -4
  722. data/lib/buildium-ruby/models/bank_account_put_message_check_printing_info.rb +416 -0
  723. data/lib/buildium-ruby/models/bank_account_quick_deposit_message.rb +3 -2
  724. data/lib/buildium-ruby/models/bank_account_quick_deposit_message_accounting_entity.rb +290 -0
  725. data/lib/buildium-ruby/models/bank_account_quick_deposit_save_message.rb +3 -2
  726. data/lib/buildium-ruby/models/bank_account_quick_deposit_save_message_accounting_entity.rb +291 -0
  727. data/lib/buildium-ruby/models/{bank_account_withdrawal_search_message.rb → bank_account_reconciliation_balance_message.rb} +28 -29
  728. data/lib/buildium-ruby/models/bank_account_reconciliation_balance_message_cleared_balance.rb +257 -0
  729. data/lib/buildium-ruby/models/bank_account_reconciliation_balance_message_statement_balance.rb +257 -0
  730. data/lib/buildium-ruby/models/bank_account_reconciliation_balance_put_message.rb +254 -0
  731. data/lib/buildium-ruby/models/{cancellation_token.rb → bank_account_reconciliation_message.rb} +27 -23
  732. data/lib/buildium-ruby/models/bank_account_reconciliation_transaction_message.rb +357 -0
  733. data/lib/buildium-ruby/models/bank_account_transaction_message.rb +2 -1
  734. data/lib/buildium-ruby/models/bank_account_transfer_accounting_entity_save_message.rb +2 -1
  735. data/lib/buildium-ruby/models/bank_account_transfer_message.rb +3 -2
  736. data/lib/buildium-ruby/models/bank_account_transfer_message_accounting_entity.rb +290 -0
  737. data/lib/buildium-ruby/models/bank_account_transfer_save_message.rb +3 -2
  738. data/lib/buildium-ruby/models/bank_account_transfer_save_message_accounting_entity.rb +291 -0
  739. data/lib/buildium-ruby/models/bank_account_withdrawal_message.rb +3 -2
  740. data/lib/buildium-ruby/models/bank_account_withdrawal_message_accounting_entity.rb +290 -0
  741. data/lib/buildium-ruby/models/bank_account_withdrawal_save_message.rb +3 -2
  742. data/lib/buildium-ruby/models/bank_account_withdrawal_save_message_accounting_entity.rb +291 -0
  743. data/lib/buildium-ruby/models/bank_lockbox_data_association_message.rb +2 -1
  744. data/lib/buildium-ruby/models/bank_lockbox_data_association_owner_message.rb +46 -5
  745. data/lib/buildium-ruby/models/bank_lockbox_data_message.rb +3 -2
  746. data/lib/buildium-ruby/models/bank_lockbox_data_message_association.rb +247 -0
  747. data/lib/buildium-ruby/models/bank_lockbox_data_ownership_account_message.rb +3 -2
  748. data/lib/buildium-ruby/models/bank_lockbox_data_ownership_account_message_unit_address.rb +321 -0
  749. data/lib/buildium-ruby/models/bank_pending_reconciliation_post_message.rb +259 -0
  750. data/lib/buildium-ruby/models/bank_reconciliation_clear_transactions_post_message.rb +226 -0
  751. data/lib/buildium-ruby/models/bank_reconciliation_cleared_balance_message.rb +249 -0
  752. data/lib/buildium-ruby/models/bank_reconciliation_put_message.rb +224 -0
  753. data/lib/buildium-ruby/models/bank_reconciliation_statement_balance_message.rb +249 -0
  754. data/lib/buildium-ruby/models/bank_reconciliation_unclear_transactions_post_message.rb +226 -0
  755. data/lib/buildium-ruby/models/bill_file_message.rb +2 -1
  756. data/lib/buildium-ruby/models/bill_line_item_patch_message.rb +267 -0
  757. data/lib/buildium-ruby/models/bill_line_item_patch_message_accounting_entity.rb +281 -0
  758. data/lib/buildium-ruby/models/{meter_reading_details_put_search_message.rb → bill_line_item_patch_message_markup.rb} +36 -27
  759. data/lib/buildium-ruby/models/bill_line_message.rb +5 -4
  760. data/lib/buildium-ruby/models/{bank_account_search_message.rb → bill_line_message_accounting_entity.rb} +52 -37
  761. data/lib/buildium-ruby/models/bill_line_message_gl_account.rb +427 -0
  762. data/lib/buildium-ruby/models/bill_line_message_markup.rb +271 -0
  763. data/lib/buildium-ruby/models/bill_line_post_message.rb +4 -3
  764. data/lib/buildium-ruby/models/bill_line_post_message_accounting_entity.rb +291 -0
  765. data/lib/buildium-ruby/models/bill_line_post_message_markup.rb +281 -0
  766. data/lib/buildium-ruby/models/bill_line_put_message.rb +4 -3
  767. data/lib/buildium-ruby/models/bill_markup_message.rb +2 -1
  768. data/lib/buildium-ruby/models/bill_markup_patch_message.rb +263 -0
  769. data/lib/buildium-ruby/models/bill_markup_save_message.rb +2 -1
  770. data/lib/buildium-ruby/models/bill_message.rb +2 -1
  771. data/lib/buildium-ruby/models/bill_patch_message.rb +271 -0
  772. data/lib/buildium-ruby/models/bill_payment_accounting_entity_message.rb +2 -1
  773. data/lib/buildium-ruby/models/bill_payment_line_message.rb +3 -2
  774. data/lib/buildium-ruby/models/bill_payment_line_message_accounting_entity.rb +281 -0
  775. data/lib/buildium-ruby/models/bill_payment_line_post_message.rb +2 -1
  776. data/lib/buildium-ruby/models/bill_payment_message.rb +2 -1
  777. data/lib/buildium-ruby/models/bill_payment_post_message.rb +2 -1
  778. data/lib/buildium-ruby/models/bill_post_message.rb +2 -1
  779. data/lib/buildium-ruby/models/bill_put_message.rb +2 -1
  780. data/lib/buildium-ruby/models/budget_details_message.rb +3 -2
  781. data/lib/buildium-ruby/models/budget_details_message_monthly_amounts.rb +337 -0
  782. data/lib/buildium-ruby/models/budget_details_save_message.rb +3 -2
  783. data/lib/buildium-ruby/models/budget_details_save_message_monthly_amounts.rb +397 -0
  784. data/lib/buildium-ruby/models/budget_message.rb +3 -2
  785. data/lib/buildium-ruby/models/budget_message_property.rb +281 -0
  786. data/lib/buildium-ruby/models/budget_monthly_amounts_message.rb +2 -1
  787. data/lib/buildium-ruby/models/budget_monthly_amounts_save_message.rb +2 -1
  788. data/lib/buildium-ruby/models/budget_post_message.rb +21 -1
  789. data/lib/buildium-ruby/models/budget_put_message.rb +21 -1
  790. data/lib/buildium-ruby/models/cc_payments_message.rb +2 -1
  791. data/lib/buildium-ruby/models/cc_payments_put_message.rb +2 -1
  792. data/lib/buildium-ruby/models/charge_recurring_transaction_post_message.rb +2 -1
  793. data/lib/buildium-ruby/models/charge_recurring_transaction_put_message.rb +2 -1
  794. data/lib/buildium-ruby/models/check_printing_info_message.rb +2 -1
  795. data/lib/buildium-ruby/models/check_printing_info_post_message.rb +2 -1
  796. data/lib/buildium-ruby/models/check_printing_info_put_message.rb +2 -1
  797. data/lib/buildium-ruby/models/clear_transactions_request.rb +233 -0
  798. data/lib/buildium-ruby/models/client_lead_credit_request_message.rb +2 -1
  799. data/lib/buildium-ruby/models/client_lead_message.rb +4 -3
  800. data/lib/buildium-ruby/models/client_lead_message_address.rb +321 -0
  801. data/lib/buildium-ruby/models/client_lead_message_credit_request.rb +303 -0
  802. data/lib/buildium-ruby/models/contact_detail_message.rb +3 -2
  803. data/lib/buildium-ruby/models/contact_detail_message_phone_numbers.rb +247 -0
  804. data/lib/buildium-ruby/models/contact_detail_phone_message.rb +2 -1
  805. data/lib/buildium-ruby/models/contact_detail_save_message.rb +22 -2
  806. data/lib/buildium-ruby/models/contact_detail_save_message_phone_numbers.rb +247 -0
  807. data/lib/buildium-ruby/models/contact_detail_save_phone_message.rb +2 -1
  808. data/lib/buildium-ruby/models/contact_info_message.rb +3 -2
  809. data/lib/buildium-ruby/models/contact_info_message_address.rb +321 -0
  810. data/lib/buildium-ruby/models/contact_request_task_message.rb +5 -4
  811. data/lib/buildium-ruby/models/contact_request_task_message_category.rb +256 -0
  812. data/lib/buildium-ruby/models/contact_request_task_message_contact_detail.rb +256 -0
  813. data/lib/buildium-ruby/models/contact_request_task_message_property.rb +281 -0
  814. data/lib/buildium-ruby/models/contact_request_task_post_message.rb +22 -2
  815. data/lib/buildium-ruby/models/contact_request_task_post_message_contact_detail.rb +280 -0
  816. data/lib/buildium-ruby/models/contact_request_task_put_message.rb +22 -2
  817. data/lib/buildium-ruby/models/contact_request_task_put_message_contact_detail.rb +280 -0
  818. data/lib/buildium-ruby/models/cosigner_message.rb +4 -3
  819. data/lib/buildium-ruby/models/cosigner_message_address.rb +321 -0
  820. data/lib/buildium-ruby/models/cosigner_message_alternate_address.rb +321 -0
  821. data/lib/buildium-ruby/models/create_announcement_request.rb +341 -0
  822. data/lib/buildium-ruby/models/create_applicant_group_request.rb +243 -0
  823. data/lib/buildium-ruby/models/create_applicant_request.rb +329 -0
  824. data/lib/buildium-ruby/models/create_architectural_request_async_request.rb +361 -0
  825. data/lib/buildium-ruby/models/create_association_appliance_request.rb +325 -0
  826. data/lib/buildium-ruby/models/create_association_appliance_service_history_request.rb +290 -0
  827. data/lib/buildium-ruby/models/create_association_owner_request.rb +474 -0
  828. data/lib/buildium-ruby/models/create_association_ownership_account_request.rb +354 -0
  829. data/lib/buildium-ruby/models/create_association_request.rb +338 -0
  830. data/lib/buildium-ruby/models/create_association_tenant_request.rb +400 -0
  831. data/lib/buildium-ruby/models/{lease_outstanding_balance_search_message.rb → create_association_unit_request.rb} +99 -89
  832. data/lib/buildium-ruby/models/create_bank_account_check_request.rb +282 -0
  833. data/lib/buildium-ruby/models/create_bank_account_deposit_request.rb +265 -0
  834. data/lib/buildium-ruby/models/create_bank_account_request.rb +365 -0
  835. data/lib/buildium-ruby/models/create_bank_account_transfer_request.rb +285 -0
  836. data/lib/buildium-ruby/models/create_bill_payment_request.rb +283 -0
  837. data/lib/buildium-ruby/models/{vendor_transaction_search_message.rb → create_bill_request.rb} +80 -63
  838. data/lib/buildium-ruby/models/{bank_account_transaction_search_message.rb → create_board_member_request.rb} +44 -35
  839. data/lib/buildium-ruby/models/{association_user_search_message.rb → create_budget_async_request.rb} +96 -74
  840. data/lib/buildium-ruby/models/{task_search_message.rb → create_contact_request_task_request.rb} +143 -126
  841. data/lib/buildium-ruby/models/create_email_request.rb +334 -0
  842. data/lib/buildium-ruby/models/create_file_category_request.rb +251 -0
  843. data/lib/buildium-ruby/models/create_general_journal_entry_request.rb +272 -0
  844. data/lib/buildium-ruby/models/create_general_ledger_account_request.rb +395 -0
  845. data/lib/buildium-ruby/models/{applicant_search_message.rb → create_lease_auto_allocated_payment_request.rb} +90 -76
  846. data/lib/buildium-ruby/models/create_lease_credit_request.rb +317 -0
  847. data/lib/buildium-ruby/models/create_lease_ledger_charge_request.rb +259 -0
  848. data/lib/buildium-ruby/models/create_lease_ledger_deposit_withholding_request.rb +268 -0
  849. data/lib/buildium-ruby/models/{association_ownership_account_search_message.rb → create_lease_ledger_refund_request.rb} +88 -82
  850. data/lib/buildium-ruby/models/create_lease_note_request.rb +250 -0
  851. data/lib/buildium-ruby/models/create_lease_renewal_request.rb +386 -0
  852. data/lib/buildium-ruby/models/create_lease_request.rb +406 -0
  853. data/lib/buildium-ruby/models/create_lease_reverse_payment_request.rb +264 -0
  854. data/lib/buildium-ruby/models/create_listing_contact_request.rb +280 -0
  855. data/lib/buildium-ruby/models/create_move_out_data_request.rb +256 -0
  856. data/lib/buildium-ruby/models/create_multiple_bill_payments_request.rb +285 -0
  857. data/lib/buildium-ruby/models/create_ownership_account_auto_allocated_payment_request.rb +340 -0
  858. data/lib/buildium-ruby/models/create_ownership_account_credit_recurring_transaction_request.rb +396 -0
  859. data/lib/buildium-ruby/models/create_ownership_account_credit_request.rb +317 -0
  860. data/lib/buildium-ruby/models/create_ownership_account_deposit_withholding_request.rb +268 -0
  861. data/lib/buildium-ruby/models/create_ownership_account_ledger_charge_request.rb +268 -0
  862. data/lib/buildium-ruby/models/{bill_search_message.rb → create_ownership_account_ledger_payment_request.rb} +89 -82
  863. data/lib/buildium-ruby/models/create_ownership_account_recurring_payment_request.rb +386 -0
  864. data/lib/buildium-ruby/models/create_ownership_account_refund_request.rb +314 -0
  865. data/lib/buildium-ruby/models/create_ownership_accounts_charge_recurring_transaction_request.rb +367 -0
  866. data/lib/buildium-ruby/models/create_payment_request.rb +343 -0
  867. data/lib/buildium-ruby/models/create_pending_reconciliations_request.rb +266 -0
  868. data/lib/buildium-ruby/models/create_phone_log_request.rb +313 -0
  869. data/lib/buildium-ruby/models/create_property_group_request.rb +277 -0
  870. data/lib/buildium-ruby/models/create_quick_deposit_request.rb +285 -0
  871. data/lib/buildium-ruby/models/create_rent_schedule_request.rb +307 -0
  872. data/lib/buildium-ruby/models/create_rental_appliance_request.rb +325 -0
  873. data/lib/buildium-ruby/models/create_rental_appliance_service_history_request.rb +290 -0
  874. data/lib/buildium-ruby/models/create_rental_image_upload_file_request_async_request.rb +275 -0
  875. data/lib/buildium-ruby/models/create_rental_owner_request.rb +371 -0
  876. data/lib/buildium-ruby/models/create_rental_owner_request_task_request.rb +411 -0
  877. data/lib/buildium-ruby/models/create_rental_property_request.rb +392 -0
  878. data/lib/buildium-ruby/models/create_rental_tenant_request.rb +434 -0
  879. data/lib/buildium-ruby/models/{lease_search_message.rb → create_rental_unit_request.rb} +119 -103
  880. data/lib/buildium-ruby/models/create_resource_request.rb +456 -0
  881. data/lib/buildium-ruby/models/create_task_category_request.rb +251 -0
  882. data/lib/buildium-ruby/models/{resident_request_task_search_message.rb → create_to_do_task_request.rb} +136 -111
  883. data/lib/buildium-ruby/models/{file_search_message.rb → create_upload_file_request_async_request.rb} +107 -54
  884. data/lib/buildium-ruby/models/create_upload_file_request_request.rb +250 -0
  885. data/lib/buildium-ruby/models/{budget_search_message.rb → create_vendor_category_request.rb} +38 -28
  886. data/lib/buildium-ruby/models/create_vendor_credit_request.rb +268 -0
  887. data/lib/buildium-ruby/models/{rental_owners_search_message.rb → create_vendor_refund_request.rb} +85 -67
  888. data/lib/buildium-ruby/models/create_vendor_request.rb +372 -0
  889. data/lib/buildium-ruby/models/{note_search_message.rb → create_video_link_request_request.rb} +56 -29
  890. data/lib/buildium-ruby/models/{email_search_message.rb → create_withdrawal_for_bank_account_request.rb} +63 -46
  891. data/lib/buildium-ruby/models/{contact_request_task_search_message.rb → create_work_order_request.rb} +117 -100
  892. data/lib/buildium-ruby/models/created_by_user_message.rb +2 -1
  893. data/lib/buildium-ruby/models/credit_recurring_transaction_post_message.rb +2 -1
  894. data/lib/buildium-ruby/models/deposit_detail_message.rb +2 -1
  895. data/lib/buildium-ruby/models/e_pay_settings_message.rb +5 -4
  896. data/lib/buildium-ruby/models/e_pay_settings_message_credit_card_payments.rb +227 -0
  897. data/lib/buildium-ruby/models/e_pay_settings_message_eft_payments.rb +227 -0
  898. data/lib/buildium-ruby/models/e_pay_settings_message_offline_payments.rb +247 -0
  899. data/lib/buildium-ruby/models/e_pay_settings_put_message.rb +5 -4
  900. data/lib/buildium-ruby/models/e_pay_settings_put_message_credit_card_payments.rb +232 -0
  901. data/lib/buildium-ruby/models/e_pay_settings_put_message_eft_payments.rb +232 -0
  902. data/lib/buildium-ruby/models/e_pay_settings_put_message_offline_payments.rb +257 -0
  903. data/lib/buildium-ruby/models/eft_payments_message.rb +2 -1
  904. data/lib/buildium-ruby/models/eft_payments_put_message.rb +2 -1
  905. data/lib/buildium-ruby/models/electronic_payments_message.rb +2 -1
  906. data/lib/buildium-ruby/models/email_message.rb +3 -2
  907. data/lib/buildium-ruby/models/email_message_sender.rb +257 -0
  908. data/lib/buildium-ruby/models/email_post_message.rb +22 -2
  909. data/lib/buildium-ruby/models/email_recipient_message.rb +2 -1
  910. data/lib/buildium-ruby/models/email_sender_message.rb +2 -1
  911. data/lib/buildium-ruby/models/emergency_contact_message.rb +2 -1
  912. data/lib/buildium-ruby/models/file_category_message.rb +2 -1
  913. data/lib/buildium-ruby/models/file_category_post_message.rb +21 -1
  914. data/lib/buildium-ruby/models/file_category_put_message.rb +21 -1
  915. data/lib/buildium-ruby/models/file_download_message.rb +2 -1
  916. data/lib/buildium-ruby/models/file_entity_message.rb +2 -1
  917. data/lib/buildium-ruby/models/file_message.rb +3 -2
  918. data/lib/buildium-ruby/models/{listing_search_message.rb → file_message_file_entity.rb} +34 -15
  919. data/lib/buildium-ruby/models/file_name_post_message.rb +21 -1
  920. data/lib/buildium-ruby/models/file_put_message.rb +21 -1
  921. data/lib/buildium-ruby/models/file_sharing_account_message.rb +2 -1
  922. data/lib/buildium-ruby/models/file_sharing_account_put_message.rb +2 -1
  923. data/lib/buildium-ruby/models/file_sharing_association_message.rb +2 -1
  924. data/lib/buildium-ruby/models/file_sharing_association_owner_message.rb +2 -1
  925. data/lib/buildium-ruby/models/file_sharing_association_owner_put_message.rb +2 -1
  926. data/lib/buildium-ruby/models/file_sharing_association_put_message.rb +2 -1
  927. data/lib/buildium-ruby/models/file_sharing_association_unit_message.rb +2 -1
  928. data/lib/buildium-ruby/models/file_sharing_association_unit_put_message.rb +2 -1
  929. data/lib/buildium-ruby/models/file_sharing_committee_message.rb +2 -1
  930. data/lib/buildium-ruby/models/file_sharing_committee_put_message.rb +2 -1
  931. data/lib/buildium-ruby/models/file_sharing_lease_message.rb +2 -1
  932. data/lib/buildium-ruby/models/file_sharing_lease_put_message.rb +2 -1
  933. data/lib/buildium-ruby/models/file_sharing_message.rb +14 -13
  934. data/lib/buildium-ruby/models/{lease_renewal_search_message.rb → file_sharing_message_account.rb} +43 -44
  935. data/lib/buildium-ruby/models/{bank_account_check_search_message.rb → file_sharing_message_association.rb} +28 -29
  936. data/lib/buildium-ruby/models/file_sharing_message_association_owner.rb +227 -0
  937. data/lib/buildium-ruby/models/file_sharing_message_association_unit.rb +237 -0
  938. data/lib/buildium-ruby/models/file_sharing_message_committee.rb +247 -0
  939. data/lib/buildium-ruby/models/file_sharing_message_lease.rb +237 -0
  940. data/lib/buildium-ruby/models/file_sharing_message_ownership_account.rb +237 -0
  941. data/lib/buildium-ruby/models/file_sharing_message_rental.rb +237 -0
  942. data/lib/buildium-ruby/models/file_sharing_message_rental_owner.rb +227 -0
  943. data/lib/buildium-ruby/models/file_sharing_message_rental_unit.rb +237 -0
  944. data/lib/buildium-ruby/models/file_sharing_message_tenant.rb +237 -0
  945. data/lib/buildium-ruby/models/{safe_wait_handle.rb → file_sharing_message_vendor.rb} +21 -20
  946. data/lib/buildium-ruby/models/file_sharing_ownership_account_message.rb +2 -1
  947. data/lib/buildium-ruby/models/file_sharing_ownership_account_put_message.rb +2 -1
  948. data/lib/buildium-ruby/models/file_sharing_put_message.rb +14 -13
  949. data/lib/buildium-ruby/models/file_sharing_put_message_account.rb +271 -0
  950. data/lib/buildium-ruby/models/{bank_account_transfer_search_message.rb → file_sharing_put_message_association.rb} +28 -29
  951. data/lib/buildium-ruby/models/file_sharing_put_message_association_owner.rb +227 -0
  952. data/lib/buildium-ruby/models/{bank_account_quick_deposit_search_message.rb → file_sharing_put_message_association_unit.rb} +28 -29
  953. data/lib/buildium-ruby/models/file_sharing_put_message_committee.rb +247 -0
  954. data/lib/buildium-ruby/models/file_sharing_put_message_lease.rb +237 -0
  955. data/lib/buildium-ruby/models/file_sharing_put_message_ownership_account.rb +237 -0
  956. data/lib/buildium-ruby/models/file_sharing_put_message_rental.rb +237 -0
  957. data/lib/buildium-ruby/models/file_sharing_put_message_rental_owner.rb +227 -0
  958. data/lib/buildium-ruby/models/file_sharing_put_message_rental_unit.rb +237 -0
  959. data/lib/buildium-ruby/models/file_sharing_put_message_tenant.rb +237 -0
  960. data/lib/buildium-ruby/models/file_sharing_put_message_vendor.rb +227 -0
  961. data/lib/buildium-ruby/models/file_sharing_rental_message.rb +2 -1
  962. data/lib/buildium-ruby/models/file_sharing_rental_owner_message.rb +2 -1
  963. data/lib/buildium-ruby/models/file_sharing_rental_owner_put_message.rb +2 -1
  964. data/lib/buildium-ruby/models/file_sharing_rental_put_message.rb +2 -1
  965. data/lib/buildium-ruby/models/file_sharing_rental_unit_mesage.rb +2 -1
  966. data/lib/buildium-ruby/models/file_sharing_rental_unit_put_mesage.rb +2 -1
  967. data/lib/buildium-ruby/models/file_sharing_tenant_message.rb +2 -1
  968. data/lib/buildium-ruby/models/file_sharing_tenant_put_message.rb +2 -1
  969. data/lib/buildium-ruby/models/file_sharing_vendor_message.rb +2 -1
  970. data/lib/buildium-ruby/models/file_sharing_vendor_put_message.rb +2 -1
  971. data/lib/buildium-ruby/models/file_upload_post_message.rb +40 -1
  972. data/lib/buildium-ruby/models/file_upload_ticket_message.rb +2 -1
  973. data/lib/buildium-ruby/models/general_journal_entry_line_save_message.rb +2 -1
  974. data/lib/buildium-ruby/models/general_journal_entry_post_message.rb +3 -2
  975. data/lib/buildium-ruby/models/general_journal_entry_post_message_accounting_entity.rb +291 -0
  976. data/lib/buildium-ruby/models/general_journal_entry_put_message.rb +3 -2
  977. data/lib/buildium-ruby/models/general_ledger_entry_message.rb +3 -2
  978. data/lib/buildium-ruby/models/general_ledger_entry_message_accounting_entity.rb +290 -0
  979. data/lib/buildium-ruby/models/general_ledger_journal_line_message.rb +4 -3
  980. data/lib/buildium-ruby/models/general_ledger_journal_line_message_accounting_entity.rb +290 -0
  981. data/lib/buildium-ruby/models/general_ledger_journal_line_message_gl_account.rb +427 -0
  982. data/lib/buildium-ruby/models/general_ledger_journal_message.rb +2 -1
  983. data/lib/buildium-ruby/models/general_ledger_message.rb +2 -1
  984. data/lib/buildium-ruby/models/general_ledger_transaction_message.rb +19 -8
  985. data/lib/buildium-ruby/models/general_ledger_transaction_message_deposit_details.rb +239 -0
  986. data/lib/buildium-ruby/models/general_ledger_transaction_message_journal.rb +239 -0
  987. data/lib/buildium-ruby/models/general_ledger_transaction_message_payment_detail.rb +289 -0
  988. data/lib/buildium-ruby/models/general_ledger_transaction_message_unit_agreement.rb +281 -0
  989. data/lib/buildium-ruby/models/gl_account_balance_item_message.rb +3 -2
  990. data/lib/buildium-ruby/models/gl_account_balance_item_message_accounting_entity.rb +290 -0
  991. data/lib/buildium-ruby/models/gl_account_balance_message.rb +3 -2
  992. data/lib/buildium-ruby/models/gl_account_balance_message_gl_account.rb +427 -0
  993. data/lib/buildium-ruby/models/gl_account_message.rb +2 -1
  994. data/lib/buildium-ruby/models/gl_account_post_message.rb +40 -1
  995. data/lib/buildium-ruby/models/gl_account_put_message.rb +21 -1
  996. data/lib/buildium-ruby/models/gl_transaction_message_v1.rb +2 -1
  997. data/lib/buildium-ruby/models/image_reorder_request_put_message.rb +2 -1
  998. data/lib/buildium-ruby/models/insured_tenant_message.rb +2 -1
  999. data/lib/buildium-ruby/models/internal_transaction_status_message.rb +2 -1
  1000. data/lib/buildium-ruby/models/java_script_encoder.rb +218 -0
  1001. data/lib/buildium-ruby/models/journal_line_message.rb +3 -2
  1002. data/lib/buildium-ruby/models/journal_message.rb +2 -1
  1003. data/lib/buildium-ruby/models/json_patch_operation.rb +2 -1
  1004. data/lib/buildium-ruby/models/last_updated_by_user_message.rb +2 -1
  1005. data/lib/buildium-ruby/models/lease_account_detail_message.rb +2 -1
  1006. data/lib/buildium-ruby/models/lease_auto_allocated_payment_post_message.rb +2 -1
  1007. data/lib/buildium-ruby/models/lease_charge_line_message.rb +229 -0
  1008. data/lib/buildium-ruby/models/lease_charge_line_save_message.rb +2 -1
  1009. data/lib/buildium-ruby/models/lease_charge_message.rb +271 -0
  1010. data/lib/buildium-ruby/models/lease_charge_post_message.rb +13 -2
  1011. data/lib/buildium-ruby/models/lease_charge_put_message.rb +2 -1
  1012. data/lib/buildium-ruby/models/lease_charge_recurring_transaction_message.rb +2 -1
  1013. data/lib/buildium-ruby/models/lease_cosigner_post_message.rb +43 -4
  1014. data/lib/buildium-ruby/models/lease_cosigner_post_message_address.rb +350 -0
  1015. data/lib/buildium-ruby/models/lease_cosigner_post_message_alternate_address.rb +350 -0
  1016. data/lib/buildium-ruby/models/lease_cosigner_post_message_phone_numbers.rb +257 -0
  1017. data/lib/buildium-ruby/models/lease_ledger_credit_line_post_message.rb +2 -1
  1018. data/lib/buildium-ruby/models/lease_ledger_credit_post_message.rb +2 -1
  1019. data/lib/buildium-ruby/models/lease_ledger_deposit_withholding_line_post_message.rb +2 -1
  1020. data/lib/buildium-ruby/models/lease_ledger_deposit_withholding_line_put_message.rb +239 -0
  1021. data/lib/buildium-ruby/models/lease_ledger_deposit_withholding_post_message.rb +2 -1
  1022. data/lib/buildium-ruby/models/lease_ledger_deposit_withholding_put_message.rb +261 -0
  1023. data/lib/buildium-ruby/models/lease_ledger_payment_line_save_message.rb +2 -1
  1024. data/lib/buildium-ruby/models/lease_ledger_payment_post_message.rb +2 -1
  1025. data/lib/buildium-ruby/models/lease_ledger_payment_put_message.rb +4 -3
  1026. data/lib/buildium-ruby/models/lease_ledger_refund_line_message.rb +2 -1
  1027. data/lib/buildium-ruby/models/lease_ledger_refund_line_post_message.rb +2 -1
  1028. data/lib/buildium-ruby/models/lease_ledger_refund_message.rb +3 -2
  1029. data/lib/buildium-ruby/models/lease_ledger_refund_message_address.rb +321 -0
  1030. data/lib/buildium-ruby/models/lease_ledger_refund_post_message.rb +3 -2
  1031. data/lib/buildium-ruby/models/lease_ledger_refund_post_message_address.rb +350 -0
  1032. data/lib/buildium-ruby/models/lease_ledger_reverse_payment_nsf_charge_post_message.rb +2 -1
  1033. data/lib/buildium-ruby/models/lease_ledger_reverse_payment_other_bank_charge_post_message.rb +2 -1
  1034. data/lib/buildium-ruby/models/lease_ledger_reverse_payment_post_message.rb +4 -3
  1035. data/lib/buildium-ruby/models/lease_ledger_reverse_payment_post_message_bank_fee.rb +247 -0
  1036. data/lib/buildium-ruby/models/lease_ledger_reverse_payment_post_message_nsf_charge.rb +247 -0
  1037. data/lib/buildium-ruby/models/lease_message.rb +3 -2
  1038. data/lib/buildium-ruby/models/lease_message_account_details.rb +237 -0
  1039. data/lib/buildium-ruby/models/lease_move_out_data_message.rb +2 -1
  1040. data/lib/buildium-ruby/models/lease_move_out_data_post_message.rb +2 -1
  1041. data/lib/buildium-ruby/models/lease_outstanding_balance_message.rb +2 -1
  1042. data/lib/buildium-ruby/models/lease_post_message.rb +4 -3
  1043. data/lib/buildium-ruby/models/lease_post_message_rent.rb +283 -0
  1044. data/lib/buildium-ruby/models/{bank_account_deposit_search_message.rb → lease_post_message_security_deposit.rb} +34 -25
  1045. data/lib/buildium-ruby/models/lease_put_message.rb +2 -1
  1046. data/lib/buildium-ruby/models/lease_recurring_credit_message.rb +2 -1
  1047. data/lib/buildium-ruby/models/lease_recurring_payment_message.rb +3 -2
  1048. data/lib/buildium-ruby/models/lease_recurring_payment_message_payer.rb +291 -0
  1049. data/lib/buildium-ruby/models/lease_renewal_message.rb +2 -1
  1050. data/lib/buildium-ruby/models/lease_renewal_post_message.rb +3 -2
  1051. data/lib/buildium-ruby/models/lease_renewal_post_message_rent.rb +283 -0
  1052. data/lib/buildium-ruby/models/lease_rent_charge_message.rb +2 -1
  1053. data/lib/buildium-ruby/models/lease_rent_charge_post_message.rb +2 -1
  1054. data/lib/buildium-ruby/models/lease_rent_message.rb +2 -1
  1055. data/lib/buildium-ruby/models/lease_rent_post_message.rb +2 -1
  1056. data/lib/buildium-ruby/models/lease_security_deposit_post_message.rb +2 -1
  1057. data/lib/buildium-ruby/models/lease_tenant_message.rb +2 -1
  1058. data/lib/buildium-ruby/models/lease_transaction_message.rb +3 -2
  1059. data/lib/buildium-ruby/models/lease_transaction_message_journal.rb +239 -0
  1060. data/lib/buildium-ruby/models/listing_contact_message.rb +2 -1
  1061. data/lib/buildium-ruby/models/listing_contact_save_message.rb +21 -1
  1062. data/lib/buildium-ruby/models/listing_entity_file_post_message.rb +21 -1
  1063. data/lib/buildium-ruby/models/listing_file_message.rb +2 -1
  1064. data/lib/buildium-ruby/models/listing_message.rb +5 -4
  1065. data/lib/buildium-ruby/models/listing_message_contact.rb +267 -0
  1066. data/lib/buildium-ruby/models/{retail_cash_users_search_message.rb → listing_message_property.rb} +88 -58
  1067. data/lib/buildium-ruby/models/{general_ledger_search_message.rb → listing_message_unit.rb} +112 -82
  1068. data/lib/buildium-ruby/models/listing_property_message.rb +3 -2
  1069. data/lib/buildium-ruby/models/listing_property_message_address.rb +321 -0
  1070. data/lib/buildium-ruby/models/listing_put_message.rb +2 -1
  1071. data/lib/buildium-ruby/models/listing_unit_message.rb +3 -2
  1072. data/lib/buildium-ruby/models/listing_unit_message_address.rb +321 -0
  1073. data/lib/buildium-ruby/models/lock_period_settings_global_message.rb +2 -1
  1074. data/lib/buildium-ruby/models/lock_period_settings_overrides_message.rb +3 -2
  1075. data/lib/buildium-ruby/models/lock_period_settings_overrides_message_property.rb +281 -0
  1076. data/lib/buildium-ruby/models/logged_by_staff_user_message.rb +2 -1
  1077. data/lib/buildium-ruby/models/lookup_message.rb +2 -1
  1078. data/lib/buildium-ruby/models/mailing_template_message.rb +2 -1
  1079. data/lib/buildium-ruby/models/meter_reading_detail_message.rb +2 -1
  1080. data/lib/buildium-ruby/models/meter_reading_detail_put_message.rb +2 -1
  1081. data/lib/buildium-ruby/models/meter_reading_details_message.rb +2 -1
  1082. data/lib/buildium-ruby/models/meter_reading_details_put_message.rb +2 -1
  1083. data/lib/buildium-ruby/models/meter_reading_message.rb +2 -1
  1084. data/lib/buildium-ruby/models/multiple_bill_payments_post_message.rb +2 -1
  1085. data/lib/buildium-ruby/models/note_message.rb +3 -2
  1086. data/lib/buildium-ruby/models/note_message_last_updated_by_user.rb +267 -0
  1087. data/lib/buildium-ruby/models/note_post_message.rb +21 -1
  1088. data/lib/buildium-ruby/models/note_put_message.rb +21 -1
  1089. data/lib/buildium-ruby/models/offline_payments_message.rb +2 -1
  1090. data/lib/buildium-ruby/models/offline_payments_put_message.rb +2 -1
  1091. data/lib/buildium-ruby/models/outstanding_balances_line_message.rb +2 -1
  1092. data/lib/buildium-ruby/models/ownership_account_auto_allocated_payment_post_message.rb +2 -1
  1093. data/lib/buildium-ruby/models/ownership_account_charge_recurring_transaction_message.rb +2 -1
  1094. data/lib/buildium-ruby/models/ownership_account_credit_line_post_message.rb +2 -1
  1095. data/lib/buildium-ruby/models/ownership_account_credit_post_message.rb +2 -1
  1096. data/lib/buildium-ruby/models/ownership_account_deposit_withholding_line_post_message.rb +2 -1
  1097. data/lib/buildium-ruby/models/ownership_account_deposit_withholding_line_put_message.rb +239 -0
  1098. data/lib/buildium-ruby/models/ownership_account_deposit_withholding_post_message.rb +4 -3
  1099. data/lib/buildium-ruby/models/ownership_account_deposit_withholding_put_message.rb +261 -0
  1100. data/lib/buildium-ruby/models/ownership_account_ledger_charge_line_message.rb +229 -0
  1101. data/lib/buildium-ruby/models/ownership_account_ledger_charge_lines_put_message.rb +2 -1
  1102. data/lib/buildium-ruby/models/ownership_account_ledger_charge_lines_save_message.rb +2 -1
  1103. data/lib/buildium-ruby/models/ownership_account_ledger_charge_message.rb +271 -0
  1104. data/lib/buildium-ruby/models/ownership_account_ledger_charge_post_message.rb +13 -2
  1105. data/lib/buildium-ruby/models/ownership_account_ledger_charge_put_message.rb +2 -1
  1106. data/lib/buildium-ruby/models/ownership_account_ledger_payment_line_save_message.rb +2 -1
  1107. data/lib/buildium-ruby/models/ownership_account_ledger_payment_post_message.rb +2 -1
  1108. data/lib/buildium-ruby/models/ownership_account_ledger_payment_put_message.rb +4 -3
  1109. data/lib/buildium-ruby/models/ownership_account_outstanding_balance_message.rb +2 -1
  1110. data/lib/buildium-ruby/models/ownership_account_recurring_credit_message.rb +2 -1
  1111. data/lib/buildium-ruby/models/ownership_account_recurring_payment_message.rb +3 -2
  1112. data/lib/buildium-ruby/models/ownership_account_refund_line_message.rb +2 -1
  1113. data/lib/buildium-ruby/models/ownership_account_refund_lines_post_message.rb +2 -1
  1114. data/lib/buildium-ruby/models/ownership_account_refund_message.rb +3 -2
  1115. data/lib/buildium-ruby/models/ownership_account_refund_post_message.rb +3 -2
  1116. data/lib/buildium-ruby/models/ownership_account_transaction_message.rb +3 -2
  1117. data/lib/buildium-ruby/models/paid_by_message.rb +3 -2
  1118. data/lib/buildium-ruby/models/{bank_lockbox_data_search_message.rb → partial_payment_settings_message.rb} +13 -14
  1119. data/lib/buildium-ruby/models/{wait_handle.rb → partial_payment_settings_patch_message.rb} +13 -20
  1120. data/lib/buildium-ruby/models/participant_message.rb +3 -2
  1121. data/lib/buildium-ruby/models/participant_message_unit_agreement.rb +281 -0
  1122. data/lib/buildium-ruby/models/participant_resource_message.rb +2 -1
  1123. data/lib/buildium-ruby/models/patch_bill_request.rb +278 -0
  1124. data/lib/buildium-ruby/models/patch_global_partial_payment_settings_request.rb +226 -0
  1125. data/lib/buildium-ruby/models/payee_message.rb +2 -1
  1126. data/lib/buildium-ruby/models/payment_detail_message.rb +4 -3
  1127. data/lib/buildium-ruby/models/payment_detail_message_internal_transaction_status.rb +247 -0
  1128. data/lib/buildium-ruby/models/{meter_reading_search_message.rb → payment_detail_message_payee.rb} +57 -38
  1129. data/lib/buildium-ruby/models/payment_recurring_transaction_post_message.rb +2 -1
  1130. data/lib/buildium-ruby/models/payment_transactions_message.rb +3 -2
  1131. data/lib/buildium-ruby/models/payment_transactions_message_accounting_entity.rb +290 -0
  1132. data/lib/buildium-ruby/models/phone_log_message.rb +4 -3
  1133. data/lib/buildium-ruby/models/phone_log_message_logged_by_staff_user.rb +257 -0
  1134. data/lib/buildium-ruby/models/phone_log_message_participant.rb +248 -0
  1135. data/lib/buildium-ruby/models/phone_log_participant_post_message.rb +3 -2
  1136. data/lib/buildium-ruby/models/phone_log_participant_post_message_unit_agreement.rb +271 -0
  1137. data/lib/buildium-ruby/models/phone_log_participant_unit_agreement_post_message.rb +2 -1
  1138. data/lib/buildium-ruby/models/phone_log_post_message.rb +41 -2
  1139. data/lib/buildium-ruby/models/{announcement_search_message.rb → phone_log_post_message_participant.rb} +40 -42
  1140. data/lib/buildium-ruby/models/phone_log_put_message.rb +40 -1
  1141. data/lib/buildium-ruby/models/phone_number_message.rb +2 -1
  1142. data/lib/buildium-ruby/models/phone_numbers_message.rb +2 -1
  1143. data/lib/buildium-ruby/models/property_group_message.rb +3 -2
  1144. data/lib/buildium-ruby/models/property_group_message_created_by_user.rb +257 -0
  1145. data/lib/buildium-ruby/models/property_group_post_message.rb +21 -1
  1146. data/lib/buildium-ruby/models/property_group_put_message.rb +21 -1
  1147. data/lib/buildium-ruby/models/property_manager_message.rb +2 -1
  1148. data/lib/buildium-ruby/models/property_message.rb +2 -1
  1149. data/lib/buildium-ruby/models/recurring_transaction_line_message.rb +2 -1
  1150. data/lib/buildium-ruby/models/recurring_transaction_line_post_message.rb +2 -1
  1151. data/lib/buildium-ruby/models/recurring_transaction_message.rb +13 -2
  1152. data/lib/buildium-ruby/models/rent_schedule_charge_post_message.rb +274 -0
  1153. data/lib/buildium-ruby/models/rent_schedule_charge_put_message.rb +274 -0
  1154. data/lib/buildium-ruby/models/{client_lead_search_message.rb → rent_schedule_post_message.rb} +63 -48
  1155. data/lib/buildium-ruby/models/rent_schedule_put_message.rb +290 -0
  1156. data/lib/buildium-ruby/models/rental_appliance_message.rb +2 -1
  1157. data/lib/buildium-ruby/models/rental_appliance_post_message.rb +21 -1
  1158. data/lib/buildium-ruby/models/rental_appliance_put_message.rb +21 -1
  1159. data/lib/buildium-ruby/models/rental_appliance_service_history_message.rb +2 -1
  1160. data/lib/buildium-ruby/models/rental_appliance_service_history_post_message.rb +2 -1
  1161. data/lib/buildium-ruby/models/rental_features_message.rb +2 -1
  1162. data/lib/buildium-ruby/models/rental_features_put_message.rb +2 -1
  1163. data/lib/buildium-ruby/models/rental_image_message.rb +2 -1
  1164. data/lib/buildium-ruby/models/rental_image_put_message.rb +2 -1
  1165. data/lib/buildium-ruby/models/rental_message.rb +4 -3
  1166. data/lib/buildium-ruby/models/rental_message_rental_manager.rb +299 -0
  1167. data/lib/buildium-ruby/models/rental_owner_contribution_data_message.rb +3 -2
  1168. data/lib/buildium-ruby/models/rental_owner_contribution_data_message_reminder_settings.rb +237 -0
  1169. data/lib/buildium-ruby/models/rental_owner_contribution_data_put_message.rb +3 -2
  1170. data/lib/buildium-ruby/models/rental_owner_contribution_data_put_message_reminder_settings.rb +237 -0
  1171. data/lib/buildium-ruby/models/rental_owner_contribution_message.rb +2 -1
  1172. data/lib/buildium-ruby/models/rental_owner_contribution_put_message.rb +2 -1
  1173. data/lib/buildium-ruby/models/rental_owner_contribution_reminder_message.rb +2 -1
  1174. data/lib/buildium-ruby/models/rental_owner_contribution_reminder_put_message.rb +2 -1
  1175. data/lib/buildium-ruby/models/rental_owner_message.rb +4 -3
  1176. data/lib/buildium-ruby/models/rental_owner_message_address.rb +321 -0
  1177. data/lib/buildium-ruby/models/rental_owner_message_tax_information.rb +310 -0
  1178. data/lib/buildium-ruby/models/rental_owner_post_message.rb +5 -4
  1179. data/lib/buildium-ruby/models/rental_owner_post_message_address.rb +350 -0
  1180. data/lib/buildium-ruby/models/rental_owner_post_message_phone_numbers.rb +257 -0
  1181. data/lib/buildium-ruby/models/rental_owner_post_message_tax_information.rb +300 -0
  1182. data/lib/buildium-ruby/models/rental_owner_put_message.rb +4 -3
  1183. data/lib/buildium-ruby/models/rental_owner_request_task_message.rb +5 -4
  1184. data/lib/buildium-ruby/models/rental_owner_request_task_message_requested_by_user_entity.rb +311 -0
  1185. data/lib/buildium-ruby/models/rental_owner_request_task_post_message.rb +21 -1
  1186. data/lib/buildium-ruby/models/rental_owner_request_task_put_message.rb +21 -1
  1187. data/lib/buildium-ruby/models/rental_owner_tax_information_message.rb +3 -2
  1188. data/lib/buildium-ruby/models/rental_preferred_vendor_message.rb +2 -1
  1189. data/lib/buildium-ruby/models/rental_preferred_vendor_put_message.rb +2 -1
  1190. data/lib/buildium-ruby/models/rental_property_post_message.rb +22 -2
  1191. data/lib/buildium-ruby/models/rental_property_post_message_address.rb +350 -0
  1192. data/lib/buildium-ruby/models/rental_property_put_message.rb +22 -2
  1193. data/lib/buildium-ruby/models/rental_property_put_message_address.rb +350 -0
  1194. data/lib/buildium-ruby/models/rental_property_unit_post_message.rb +22 -2
  1195. data/lib/buildium-ruby/models/rental_property_unit_post_message_address.rb +350 -0
  1196. data/lib/buildium-ruby/models/rental_tenant_post_message.rb +44 -5
  1197. data/lib/buildium-ruby/models/rental_tenant_put_message.rb +44 -5
  1198. data/lib/buildium-ruby/models/rental_tenant_renewal_post_message.rb +44 -5
  1199. data/lib/buildium-ruby/models/rental_unit_features_message.rb +2 -1
  1200. data/lib/buildium-ruby/models/rental_unit_features_put_message.rb +2 -1
  1201. data/lib/buildium-ruby/models/rental_unit_image_message.rb +2 -1
  1202. data/lib/buildium-ruby/models/rental_unit_image_put_message.rb +2 -1
  1203. data/lib/buildium-ruby/models/rental_unit_message.rb +3 -2
  1204. data/lib/buildium-ruby/models/rental_unit_put_message.rb +22 -2
  1205. data/lib/buildium-ruby/models/rental_units_post_message.rb +22 -2
  1206. data/lib/buildium-ruby/models/renters_insurance_policy_message.rb +2 -1
  1207. data/lib/buildium-ruby/models/{property_group_search_message.rb → reorder_rental_images_request.rb} +26 -23
  1208. data/lib/buildium-ruby/models/requested_by_user_entity_message.rb +2 -1
  1209. data/lib/buildium-ruby/models/resident_center_user_message.rb +4 -3
  1210. data/lib/buildium-ruby/models/{meter_reading_details_delete_search_message.rb → resident_center_user_message_unit_agreement.rb} +46 -37
  1211. data/lib/buildium-ruby/models/resident_center_user_message_user.rb +301 -0
  1212. data/lib/buildium-ruby/models/resident_center_user_reference_message.rb +2 -1
  1213. data/lib/buildium-ruby/models/resident_request_task_message.rb +7 -6
  1214. data/lib/buildium-ruby/models/resident_request_task_message_appliance.rb +267 -0
  1215. data/lib/buildium-ruby/models/resident_request_task_message_requested_by_user_entity.rb +311 -0
  1216. data/lib/buildium-ruby/models/resident_request_task_message_unit_agreement.rb +281 -0
  1217. data/lib/buildium-ruby/models/resident_request_task_post_message.rb +23 -3
  1218. data/lib/buildium-ruby/models/resident_request_task_put_message.rb +21 -1
  1219. data/lib/buildium-ruby/models/retail_cash_property_message.rb +2 -1
  1220. data/lib/buildium-ruby/models/retail_cash_unit_message.rb +2 -1
  1221. data/lib/buildium-ruby/models/retail_cash_user_data_message.rb +2 -1
  1222. data/lib/buildium-ruby/models/retail_cash_user_message.rb +6 -5
  1223. data/lib/buildium-ruby/models/{lease_transaction_search_message.rb → retail_cash_user_message_property.rb} +57 -29
  1224. data/lib/buildium-ruby/models/retail_cash_user_message_unit.rb +247 -0
  1225. data/lib/buildium-ruby/models/retail_cash_user_message_unit_agreement.rb +281 -0
  1226. data/lib/buildium-ruby/models/retail_cash_user_message_user.rb +321 -0
  1227. data/lib/buildium-ruby/models/retail_cash_user_put_message.rb +2 -1
  1228. data/lib/buildium-ruby/models/save_address_message.rb +23 -3
  1229. data/lib/buildium-ruby/models/save_emergency_contact_message.rb +2 -1
  1230. data/lib/buildium-ruby/models/task_category_message.rb +2 -1
  1231. data/lib/buildium-ruby/models/task_category_put_message.rb +21 -1
  1232. data/lib/buildium-ruby/models/task_category_response_message.rb +3 -2
  1233. data/lib/buildium-ruby/models/task_category_response_message_sub_category.rb +237 -0
  1234. data/lib/buildium-ruby/models/task_category_save_message.rb +21 -1
  1235. data/lib/buildium-ruby/models/task_history_file_message.rb +2 -1
  1236. data/lib/buildium-ruby/models/task_history_file_upload_post_message.rb +21 -1
  1237. data/lib/buildium-ruby/models/task_history_message.rb +4 -3
  1238. data/lib/buildium-ruby/models/{user_search_message.rb → task_history_message_created_by_user.rb} +57 -53
  1239. data/lib/buildium-ruby/models/{association_board_member_search_message.rb → task_history_message_last_updated_by_user.rb} +64 -37
  1240. data/lib/buildium-ruby/models/task_history_put_message.rb +21 -1
  1241. data/lib/buildium-ruby/models/task_history_user_message.rb +50 -5
  1242. data/lib/buildium-ruby/models/task_sub_category_message.rb +2 -1
  1243. data/lib/buildium-ruby/models/tax_information_post_message.rb +3 -2
  1244. data/lib/buildium-ruby/models/tax_information_post_message_address.rb +350 -0
  1245. data/lib/buildium-ruby/models/tax_information_save_message.rb +3 -2
  1246. data/lib/buildium-ruby/models/tenant_message.rb +5 -4
  1247. data/lib/buildium-ruby/models/tenant_message_address.rb +321 -0
  1248. data/lib/buildium-ruby/models/tenant_message_alternate_address.rb +321 -0
  1249. data/lib/buildium-ruby/models/tenant_message_emergency_contact.rb +257 -0
  1250. data/lib/buildium-ruby/models/to_do_task_message.rb +4 -3
  1251. data/lib/buildium-ruby/models/to_do_task_post_message.rb +21 -1
  1252. data/lib/buildium-ruby/models/to_do_task_put_message.rb +21 -1
  1253. data/lib/buildium-ruby/models/unclear_transactions_request.rb +233 -0
  1254. data/lib/buildium-ruby/models/undeposited_funds_message.rb +3 -2
  1255. data/lib/buildium-ruby/models/undeposited_funds_message_general_ledger_transaction.rb +267 -0
  1256. data/lib/buildium-ruby/models/unit_agreement_message.rb +2 -1
  1257. data/lib/buildium-ruby/models/unit_entity_message.rb +2 -1
  1258. data/lib/buildium-ruby/models/update_applicant_group_request.rb +292 -0
  1259. data/lib/buildium-ruby/models/update_applicant_request.rb +313 -0
  1260. data/lib/buildium-ruby/models/update_application_request.rb +265 -0
  1261. data/lib/buildium-ruby/models/update_association_appliance_request.rb +300 -0
  1262. data/lib/buildium-ruby/models/update_association_owner_occupancy_status_request.rb +231 -0
  1263. data/lib/buildium-ruby/models/update_association_owner_request.rb +409 -0
  1264. data/lib/buildium-ruby/models/update_association_ownership_account_request.rb +231 -0
  1265. data/lib/buildium-ruby/models/update_association_preferred_vendors_request.rb +233 -0
  1266. data/lib/buildium-ruby/models/update_association_request.rb +349 -0
  1267. data/lib/buildium-ruby/models/update_association_tenant_request.rb +375 -0
  1268. data/lib/buildium-ruby/models/{tenant_search_message.rb → update_association_unit_request.rb} +93 -92
  1269. data/lib/buildium-ruby/models/update_bank_account_deposit_request.rb +258 -0
  1270. data/lib/buildium-ruby/models/update_bank_account_request.rb +370 -0
  1271. data/lib/buildium-ruby/models/update_bill_request.rb +294 -0
  1272. data/lib/buildium-ruby/models/update_board_member_request.rb +286 -0
  1273. data/lib/buildium-ruby/models/update_budget_request.rb +267 -0
  1274. data/lib/buildium-ruby/models/update_check_for_bank_account_request.rb +282 -0
  1275. data/lib/buildium-ruby/models/update_contact_request_task_request.rb +415 -0
  1276. data/lib/buildium-ruby/models/update_deposit_withholding_request.rb +268 -0
  1277. data/lib/buildium-ruby/models/update_e_pay_settings_for_association_request.rb +258 -0
  1278. data/lib/buildium-ruby/models/update_file_category_request.rb +251 -0
  1279. data/lib/buildium-ruby/models/update_file_request.rb +275 -0
  1280. data/lib/buildium-ruby/models/update_file_sharing_setting_request.rb +324 -0
  1281. data/lib/buildium-ruby/models/update_general_journal_entry_request.rb +272 -0
  1282. data/lib/buildium-ruby/models/update_gl_account_request.rb +371 -0
  1283. data/lib/buildium-ruby/models/update_lease_charge_request.rb +258 -0
  1284. data/lib/buildium-ruby/models/{general_ledger_transaction_search_message.rb → update_lease_ledger_payment_request.rb} +76 -59
  1285. data/lib/buildium-ruby/models/update_lease_note_request.rb +250 -0
  1286. data/lib/buildium-ruby/models/update_lease_request.rb +330 -0
  1287. data/lib/buildium-ruby/models/update_ownership_account_charge_request.rb +258 -0
  1288. data/lib/buildium-ruby/models/update_ownership_account_deposit_withholding_request.rb +268 -0
  1289. data/lib/buildium-ruby/models/{ownership_account_outstanding_balance_search_message.rb → update_ownership_account_ledger_payment_request.rb} +84 -64
  1290. data/lib/buildium-ruby/models/update_phone_log_request.rb +299 -0
  1291. data/lib/buildium-ruby/models/update_property_group_request.rb +277 -0
  1292. data/lib/buildium-ruby/models/update_reconciliation_balances_request.rb +261 -0
  1293. data/lib/buildium-ruby/models/update_reconciliation_request.rb +231 -0
  1294. data/lib/buildium-ruby/models/update_rent_schedule_request.rb +297 -0
  1295. data/lib/buildium-ruby/models/update_rental_appliance_request.rb +300 -0
  1296. data/lib/buildium-ruby/models/update_rental_features_request.rb +262 -0
  1297. data/lib/buildium-ruby/models/update_rental_image_request.rb +241 -0
  1298. data/lib/buildium-ruby/models/update_rental_owner_request.rb +362 -0
  1299. data/lib/buildium-ruby/models/update_rental_owner_request_task_contribution_data_request.rb +237 -0
  1300. data/lib/buildium-ruby/models/{rental_owner_request_task_search_message.rb → update_rental_owner_request_task_request.rb} +133 -103
  1301. data/lib/buildium-ruby/models/update_rental_preferred_vendors_request.rb +233 -0
  1302. data/lib/buildium-ruby/models/update_rental_property_request.rb +368 -0
  1303. data/lib/buildium-ruby/models/update_rental_tenant_request.rb +419 -0
  1304. data/lib/buildium-ruby/models/{gl_accounts_search_message.rb → update_rental_unit_features_request.rb} +21 -14
  1305. data/lib/buildium-ruby/models/update_rental_unit_image_request.rb +241 -0
  1306. data/lib/buildium-ruby/models/update_rental_unit_request.rb +360 -0
  1307. data/lib/buildium-ruby/models/{phone_log_search_message.rb → update_resource_request.rb} +119 -79
  1308. data/lib/buildium-ruby/models/update_retail_cash_user_request.rb +231 -0
  1309. data/lib/buildium-ruby/models/update_task_category_request.rb +251 -0
  1310. data/lib/buildium-ruby/models/update_task_history_request.rb +250 -0
  1311. data/lib/buildium-ruby/models/{to_do_task_search_message.rb → update_to_do_task_request.rb} +138 -103
  1312. data/lib/buildium-ruby/models/update_vendor_request.rb +372 -0
  1313. data/lib/buildium-ruby/models/update_work_order_request.rb +364 -0
  1314. data/lib/buildium-ruby/models/upload_task_history_file_request_async_request.rb +250 -0
  1315. data/lib/buildium-ruby/models/{meter_reading_details_search_message.rb → upsert_association_meter_reading_details_async_request.rb} +35 -10
  1316. data/lib/buildium-ruby/models/upsert_listings_async_request.rb +291 -0
  1317. data/lib/buildium-ruby/models/user_message.rb +3 -2
  1318. data/lib/buildium-ruby/models/user_message_user_role.rb +257 -0
  1319. data/lib/buildium-ruby/models/user_role_message.rb +2 -1
  1320. data/lib/buildium-ruby/models/vehicle_message.rb +2 -1
  1321. data/lib/buildium-ruby/models/vendor_category_message.rb +2 -1
  1322. data/lib/buildium-ruby/models/vendor_category_save_message.rb +21 -1
  1323. data/lib/buildium-ruby/models/vendor_credit_line_item_message.rb +3 -2
  1324. data/lib/buildium-ruby/models/vendor_credit_line_item_message_accounting_entity.rb +290 -0
  1325. data/lib/buildium-ruby/models/vendor_credit_line_item_post_message.rb +3 -2
  1326. data/lib/buildium-ruby/models/vendor_credit_line_item_post_message_accounting_entity.rb +291 -0
  1327. data/lib/buildium-ruby/models/vendor_credit_message.rb +2 -1
  1328. data/lib/buildium-ruby/models/vendor_credit_post_message.rb +2 -1
  1329. data/lib/buildium-ruby/models/vendor_insurance_message.rb +2 -1
  1330. data/lib/buildium-ruby/models/vendor_insurance_save_message.rb +2 -1
  1331. data/lib/buildium-ruby/models/vendor_message.rb +6 -5
  1332. data/lib/buildium-ruby/models/vendor_message_address.rb +321 -0
  1333. data/lib/buildium-ruby/models/vendor_message_category.rb +235 -0
  1334. data/lib/buildium-ruby/models/{applicant_group_search_message.rb → vendor_message_tax_information.rb} +66 -52
  1335. data/lib/buildium-ruby/models/vendor_message_vendor_insurance.rb +247 -0
  1336. data/lib/buildium-ruby/models/vendor_post_message.rb +6 -5
  1337. data/lib/buildium-ruby/models/vendor_post_message_address.rb +350 -0
  1338. data/lib/buildium-ruby/models/vendor_post_message_phone_numbers.rb +257 -0
  1339. data/lib/buildium-ruby/models/{resident_center_user_search_message.rb → vendor_post_message_tax_information.rb} +60 -48
  1340. data/lib/buildium-ruby/models/vendor_post_message_vendor_insurance.rb +247 -0
  1341. data/lib/buildium-ruby/models/vendor_put_message.rb +6 -5
  1342. data/lib/buildium-ruby/models/{association_search_message.rb → vendor_put_message_tax_information.rb} +68 -60
  1343. data/lib/buildium-ruby/models/vendor_refund_line_message.rb +3 -2
  1344. data/lib/buildium-ruby/models/vendor_refund_line_message_accounting_entity.rb +290 -0
  1345. data/lib/buildium-ruby/models/vendor_refund_line_post_message.rb +3 -2
  1346. data/lib/buildium-ruby/models/vendor_refund_line_post_message_accounting_entity.rb +291 -0
  1347. data/lib/buildium-ruby/models/vendor_refund_message.rb +2 -1
  1348. data/lib/buildium-ruby/models/vendor_refund_post_message.rb +2 -1
  1349. data/lib/buildium-ruby/models/vendor_tax_information_message.rb +3 -2
  1350. data/lib/buildium-ruby/models/vendor_transaction_message.rb +2 -1
  1351. data/lib/buildium-ruby/models/video_link_request_post_message.rb +21 -1
  1352. data/lib/buildium-ruby/models/work_order_entry_contact_message.rb +2 -1
  1353. data/lib/buildium-ruby/models/work_order_entry_contact_resource_message.rb +2 -1
  1354. data/lib/buildium-ruby/models/work_order_line_item_message.rb +2 -1
  1355. data/lib/buildium-ruby/models/work_order_line_item_save_message.rb +2 -1
  1356. data/lib/buildium-ruby/models/work_order_message.rb +82 -5
  1357. data/lib/buildium-ruby/models/{rental_appliance_search_message.rb → work_order_message_entry_contact.rb} +29 -22
  1358. data/lib/buildium-ruby/models/{rental_search_message.rb → work_order_message_task.rb} +95 -71
  1359. data/lib/buildium-ruby/models/work_order_post_message.rb +17 -4
  1360. data/lib/buildium-ruby/models/work_order_post_message_task.rb +372 -0
  1361. data/lib/buildium-ruby/models/work_order_put_message.rb +16 -3
  1362. data/lib/buildium-ruby/models/work_order_task_message.rb +3 -2
  1363. data/lib/buildium-ruby/models/work_order_task_post_message.rb +21 -1
  1364. data/lib/buildium-ruby/version.rb +1 -1
  1365. data/lib/buildium-ruby.rb +366 -58
  1366. metadata +739 -118
  1367. data/docs/AnnouncementSearchMessage.md +0 -26
  1368. data/docs/ApplicantGroupSearchMessage.md +0 -26
  1369. data/docs/ApplicantSearchMessage.md +0 -32
  1370. data/docs/AssociationApplianceSearchMessage.md +0 -20
  1371. data/docs/AssociationBoardMemberSearchMessage.md +0 -24
  1372. data/docs/AssociationOwnershipAccountSearchMessage.md +0 -30
  1373. data/docs/AssociationSearchMessage.md +0 -28
  1374. data/docs/AssociationUnitSearchMessage.md +0 -22
  1375. data/docs/AssociationUserSearchMessage.md +0 -34
  1376. data/docs/BankAccountCheckSearchMessage.md +0 -20
  1377. data/docs/BankAccountDepositSearchMessage.md +0 -20
  1378. data/docs/BankAccountQuickDepositSearchMessage.md +0 -20
  1379. data/docs/BankAccountSearchMessage.md +0 -22
  1380. data/docs/BankAccountTransactionSearchMessage.md +0 -24
  1381. data/docs/BankAccountTransferSearchMessage.md +0 -20
  1382. data/docs/BankAccountWithdrawalSearchMessage.md +0 -20
  1383. data/docs/BankLockboxDataSearchMessage.md +0 -18
  1384. data/docs/BillSearchMessage.md +0 -32
  1385. data/docs/BudgetSearchMessage.md +0 -22
  1386. data/docs/CancellationToken.md +0 -22
  1387. data/docs/ClientLeadSearchMessage.md +0 -26
  1388. data/docs/ContactRequestTaskSearchMessage.md +0 -40
  1389. data/docs/EmailSearchMessage.md +0 -26
  1390. data/docs/FileSearchMessage.md +0 -30
  1391. data/docs/GLAccountBalanceSearchMessage.md +0 -26
  1392. data/docs/GLAccountsSearchMessage.md +0 -18
  1393. data/docs/GeneralLedgerSearchMessage.md +0 -28
  1394. data/docs/GeneralLedgerTransactionSearchMessage.md +0 -26
  1395. data/docs/LeaseOutstandingBalanceSearchMessage.md +0 -30
  1396. data/docs/LeaseRenewalSearchMessage.md +0 -22
  1397. data/docs/LeaseSearchMessage.md +0 -40
  1398. data/docs/LeaseTransactionSearchMessage.md +0 -22
  1399. data/docs/ListingSearchMessage.md +0 -20
  1400. data/docs/MeterReadingDetailsDeleteSearchMessage.md +0 -20
  1401. data/docs/MeterReadingDetailsPutSearchMessage.md +0 -20
  1402. data/docs/MeterReadingDetailsSearchMessage.md +0 -20
  1403. data/docs/MeterReadingSearchMessage.md +0 -22
  1404. data/docs/NoteSearchMessage.md +0 -22
  1405. data/docs/OwnershipAccountOutstandingBalanceSearchMessage.md +0 -26
  1406. data/docs/PhoneLogSearchMessage.md +0 -32
  1407. data/docs/PropertyGroupSearchMessage.md +0 -20
  1408. data/docs/RentalApplianceSearchMessage.md +0 -20
  1409. data/docs/RentalOwnerRequestTaskSearchMessage.md +0 -40
  1410. data/docs/RentalOwnersSearchMessage.md +0 -30
  1411. data/docs/RentalSearchMessage.md +0 -32
  1412. data/docs/RentalUnitSearchMessage.md +0 -22
  1413. data/docs/ResidentCenterUserSearchMessage.md +0 -26
  1414. data/docs/ResidentRequestTaskSearchMessage.md +0 -42
  1415. data/docs/RetailCashUsersSearchMessage.md +0 -28
  1416. data/docs/SafeWaitHandle.md +0 -20
  1417. data/docs/TaskSearchMessage.md +0 -44
  1418. data/docs/TenantSearchMessage.md +0 -36
  1419. data/docs/ToDoTaskSearchMessage.md +0 -40
  1420. data/docs/UserSearchMessage.md +0 -26
  1421. data/docs/VendorSearchMessage.md +0 -32
  1422. data/docs/VendorTransactionSearchMessage.md +0 -26
  1423. data/docs/WaitHandle.md +0 -20
  1424. data/docs/WorkOrderSearchMessage.md +0 -54
@@ -20,27 +20,27 @@ module Buildium
20
20
  @api_client = api_client
21
21
  end
22
22
  # Create a bill
23
- # Creates a bill. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bills</span> - `View` `Edit`
24
- # @param bill_post_message [BillPostMessage]
23
+ # Creates a bill. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bills</span> - `View` `Edit`
24
+ # @param create_bill_request [CreateBillRequest]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [BillMessage]
27
- def create_bill(bill_post_message, opts = {})
28
- data, _status_code, _headers = create_bill_with_http_info(bill_post_message, opts)
27
+ def create_bill(create_bill_request, opts = {})
28
+ data, _status_code, _headers = create_bill_with_http_info(create_bill_request, opts)
29
29
  data
30
30
  end
31
31
 
32
32
  # Create a bill
33
- # Creates a bill. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; Bills&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
34
- # @param bill_post_message [BillPostMessage]
33
+ # Creates a bill. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; Bills&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
34
+ # @param create_bill_request [CreateBillRequest]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(BillMessage, Integer, Hash)>] BillMessage data, response status code and response headers
37
- def create_bill_with_http_info(bill_post_message, opts = {})
37
+ def create_bill_with_http_info(create_bill_request, opts = {})
38
38
  if @api_client.config.debugging
39
39
  @api_client.config.logger.debug 'Calling API: BillsApi.create_bill ...'
40
40
  end
41
- # verify the required parameter 'bill_post_message' is set
42
- if @api_client.config.client_side_validation && bill_post_message.nil?
43
- fail ArgumentError, "Missing the required parameter 'bill_post_message' when calling BillsApi.create_bill"
41
+ # verify the required parameter 'create_bill_request' is set
42
+ if @api_client.config.client_side_validation && create_bill_request.nil?
43
+ fail ArgumentError, "Missing the required parameter 'create_bill_request' when calling BillsApi.create_bill"
44
44
  end
45
45
  # resource path
46
46
  local_var_path = '/v1/bills'
@@ -55,14 +55,14 @@ module Buildium
55
55
  # HTTP header 'Content-Type'
56
56
  content_type = @api_client.select_header_content_type(['application/json'])
57
57
  if !content_type.nil?
58
- header_params['Content-Type'] = content_type
58
+ header_params['Content-Type'] = content_type
59
59
  end
60
60
 
61
61
  # form parameters
62
62
  form_params = opts[:form_params] || {}
63
63
 
64
64
  # http body (model)
65
- post_body = opts[:debug_body] || @api_client.object_to_http_body(bill_post_message)
65
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(create_bill_request)
66
66
 
67
67
  # return_type
68
68
  return_type = opts[:debug_return_type] || 'BillMessage'
@@ -88,23 +88,23 @@ module Buildium
88
88
  end
89
89
 
90
90
  # Create a bill payment
91
- # Creates a bill payment. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bills</span> - `View` `Edit` <span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` `Edit`
91
+ # Creates a bill payment. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bills</span> - `View` `Edit` <span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
92
92
  # @param bill_id [Integer]
93
- # @param bill_payment_post_message [BillPaymentPostMessage]
93
+ # @param create_bill_payment_request [CreateBillPaymentRequest]
94
94
  # @param [Hash] opts the optional parameters
95
95
  # @return [BillPaymentMessage]
96
- def create_bill_payment(bill_id, bill_payment_post_message, opts = {})
97
- data, _status_code, _headers = create_bill_payment_with_http_info(bill_id, bill_payment_post_message, opts)
96
+ def create_bill_payment(bill_id, create_bill_payment_request, opts = {})
97
+ data, _status_code, _headers = create_bill_payment_with_http_info(bill_id, create_bill_payment_request, opts)
98
98
  data
99
99
  end
100
100
 
101
101
  # Create a bill payment
102
- # Creates a bill payment. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; Bills&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60; &lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
102
+ # Creates a bill payment. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; Bills&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60; &lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
103
103
  # @param bill_id [Integer]
104
- # @param bill_payment_post_message [BillPaymentPostMessage]
104
+ # @param create_bill_payment_request [CreateBillPaymentRequest]
105
105
  # @param [Hash] opts the optional parameters
106
106
  # @return [Array<(BillPaymentMessage, Integer, Hash)>] BillPaymentMessage data, response status code and response headers
107
- def create_bill_payment_with_http_info(bill_id, bill_payment_post_message, opts = {})
107
+ def create_bill_payment_with_http_info(bill_id, create_bill_payment_request, opts = {})
108
108
  if @api_client.config.debugging
109
109
  @api_client.config.logger.debug 'Calling API: BillsApi.create_bill_payment ...'
110
110
  end
@@ -112,9 +112,9 @@ module Buildium
112
112
  if @api_client.config.client_side_validation && bill_id.nil?
113
113
  fail ArgumentError, "Missing the required parameter 'bill_id' when calling BillsApi.create_bill_payment"
114
114
  end
115
- # verify the required parameter 'bill_payment_post_message' is set
116
- if @api_client.config.client_side_validation && bill_payment_post_message.nil?
117
- fail ArgumentError, "Missing the required parameter 'bill_payment_post_message' when calling BillsApi.create_bill_payment"
115
+ # verify the required parameter 'create_bill_payment_request' is set
116
+ if @api_client.config.client_side_validation && create_bill_payment_request.nil?
117
+ fail ArgumentError, "Missing the required parameter 'create_bill_payment_request' when calling BillsApi.create_bill_payment"
118
118
  end
119
119
  # resource path
120
120
  local_var_path = '/v1/bills/{billId}/payments'.sub('{' + 'billId' + '}', CGI.escape(bill_id.to_s))
@@ -129,14 +129,14 @@ module Buildium
129
129
  # HTTP header 'Content-Type'
130
130
  content_type = @api_client.select_header_content_type(['application/json'])
131
131
  if !content_type.nil?
132
- header_params['Content-Type'] = content_type
132
+ header_params['Content-Type'] = content_type
133
133
  end
134
134
 
135
135
  # form parameters
136
136
  form_params = opts[:form_params] || {}
137
137
 
138
138
  # http body (model)
139
- post_body = opts[:debug_body] || @api_client.object_to_http_body(bill_payment_post_message)
139
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(create_bill_payment_request)
140
140
 
141
141
  # return_type
142
142
  return_type = opts[:debug_return_type] || 'BillPaymentMessage'
@@ -161,31 +161,37 @@ module Buildium
161
161
  return data, status_code, headers
162
162
  end
163
163
 
164
- # Create a payment for multiple bills with one check
165
- # Creates a payment for multiple bills with one check. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bills</span> - `View` `Edit` <span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` `Edit`
166
- # @param multiple_bill_payments_post_message [MultipleBillPaymentsPostMessage]
164
+ # Upload a bill file
165
+ # Uploads a file and associates it to the specified bill record. <br /><br />Uploading a file requires making two API requests. Each step is outlined below. <br /><br /><strong>Step 1 - Save file metadata</strong><br /> The first step in the file upload process is to submit the file metadata to `/v1/bills/{billId:int}/files/uploadrequests`. The response of this call will contain a URL and a collection of form data that will be used in step 2 to generate the request for the file binary upload. <br /><br /><strong>NOTE:</strong> The response data will expire after 5 minutes. The file metadata will not be saved in the Buildium system if step 2 of this process is not completed successfully. <br /><br /><strong>Step 2 - Upload the file binary</strong><br /> Uploading the file binary will require using the response from step 1 to form a POST request to the Buildium file provider. Follow these steps to create the request: <br /> 1. Form a POST request using the value of the `BucketUrl` property as the URL. <br /><br /> 2. Set the `Content-Type` header to `multipart/form-data`. <br /><br /> 3. Copy the fields from the `FormData` property to this request as form-data key/value pairs. <br /><strong>NOTE:</strong> These values must added to the request form-data in the order they were received in the response. <br /><br /> 4. Lastly create a form-data key named `file` and set the value to the file binary. <br /><strong>NOTE:</strong> This must be the last field in the form-data list. <br /><br />This image shows what the POST request should look like if you're using Postman: <img src=\"file-upload-example.png\" /><br /><br /> 5. Send the POST request! A successful request will return with a `204 - NO CONTENT` HTTP response code. For any failure responses, please refer to <a target=\"_blank\" href=\"https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#RESTErrorResponses\">AWS documentation</a> on REST error responses. <br /><br /><strong>NOTE:</strong> The file identifier is not generated in this response. To retrieve the file identifier, call `/v1/files` and pass the `PhysicalFileName` value received from the response of this endpoint into the `physicalfilenames` query parameter. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bills</span> - `View` `Edit`
166
+ # @param bill_id [Integer]
167
+ # @param create_upload_file_request_request [CreateUploadFileRequestRequest]
167
168
  # @param [Hash] opts the optional parameters
168
- # @return [BillPaymentMessage]
169
- def create_multiple_bill_payments(multiple_bill_payments_post_message, opts = {})
170
- data, _status_code, _headers = create_multiple_bill_payments_with_http_info(multiple_bill_payments_post_message, opts)
169
+ # @return [FileUploadTicketMessage]
170
+ def create_bill_upload_file_request(bill_id, create_upload_file_request_request, opts = {})
171
+ data, _status_code, _headers = create_bill_upload_file_request_with_http_info(bill_id, create_upload_file_request_request, opts)
171
172
  data
172
173
  end
173
174
 
174
- # Create a payment for multiple bills with one check
175
- # Creates a payment for multiple bills with one check. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; Bills&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60; &lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
176
- # @param multiple_bill_payments_post_message [MultipleBillPaymentsPostMessage]
175
+ # Upload a bill file
176
+ # Uploads a file and associates it to the specified bill record. &lt;br /&gt;&lt;br /&gt;Uploading a file requires making two API requests. Each step is outlined below. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 1 - Save file metadata&lt;/strong&gt;&lt;br /&gt; The first step in the file upload process is to submit the file metadata to &#x60;/v1/bills/{billId:int}/files/uploadrequests&#x60;. The response of this call will contain a URL and a collection of form data that will be used in step 2 to generate the request for the file binary upload. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; The response data will expire after 5 minutes. The file metadata will not be saved in the Buildium system if step 2 of this process is not completed successfully. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 2 - Upload the file binary&lt;/strong&gt;&lt;br /&gt; Uploading the file binary will require using the response from step 1 to form a POST request to the Buildium file provider. Follow these steps to create the request: &lt;br /&gt; 1. Form a POST request using the value of the &#x60;BucketUrl&#x60; property as the URL. &lt;br /&gt;&lt;br /&gt; 2. Set the &#x60;Content-Type&#x60; header to &#x60;multipart/form-data&#x60;. &lt;br /&gt;&lt;br /&gt; 3. Copy the fields from the &#x60;FormData&#x60; property to this request as form-data key/value pairs. &lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; These values must added to the request form-data in the order they were received in the response. &lt;br /&gt;&lt;br /&gt; 4. Lastly create a form-data key named &#x60;file&#x60; and set the value to the file binary. &lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; This must be the last field in the form-data list. &lt;br /&gt;&lt;br /&gt;This image shows what the POST request should look like if you&#39;re using Postman: &lt;img src&#x3D;\&quot;file-upload-example.png\&quot; /&gt;&lt;br /&gt;&lt;br /&gt; 5. Send the POST request! A successful request will return with a &#x60;204 - NO CONTENT&#x60; HTTP response code. For any failure responses, please refer to &lt;a target&#x3D;\&quot;_blank\&quot; href&#x3D;\&quot;https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#RESTErrorResponses\&quot;&gt;AWS documentation&lt;/a&gt; on REST error responses. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; The file identifier is not generated in this response. To retrieve the file identifier, call &#x60;/v1/files&#x60; and pass the &#x60;PhysicalFileName&#x60; value received from the response of this endpoint into the &#x60;physicalfilenames&#x60; query parameter. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; Bills&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
177
+ # @param bill_id [Integer]
178
+ # @param create_upload_file_request_request [CreateUploadFileRequestRequest]
177
179
  # @param [Hash] opts the optional parameters
178
- # @return [Array<(BillPaymentMessage, Integer, Hash)>] BillPaymentMessage data, response status code and response headers
179
- def create_multiple_bill_payments_with_http_info(multiple_bill_payments_post_message, opts = {})
180
+ # @return [Array<(FileUploadTicketMessage, Integer, Hash)>] FileUploadTicketMessage data, response status code and response headers
181
+ def create_bill_upload_file_request_with_http_info(bill_id, create_upload_file_request_request, opts = {})
180
182
  if @api_client.config.debugging
181
- @api_client.config.logger.debug 'Calling API: BillsApi.create_multiple_bill_payments ...'
183
+ @api_client.config.logger.debug 'Calling API: BillsApi.create_bill_upload_file_request ...'
184
+ end
185
+ # verify the required parameter 'bill_id' is set
186
+ if @api_client.config.client_side_validation && bill_id.nil?
187
+ fail ArgumentError, "Missing the required parameter 'bill_id' when calling BillsApi.create_bill_upload_file_request"
182
188
  end
183
- # verify the required parameter 'multiple_bill_payments_post_message' is set
184
- if @api_client.config.client_side_validation && multiple_bill_payments_post_message.nil?
185
- fail ArgumentError, "Missing the required parameter 'multiple_bill_payments_post_message' when calling BillsApi.create_multiple_bill_payments"
189
+ # verify the required parameter 'create_upload_file_request_request' is set
190
+ if @api_client.config.client_side_validation && create_upload_file_request_request.nil?
191
+ fail ArgumentError, "Missing the required parameter 'create_upload_file_request_request' when calling BillsApi.create_bill_upload_file_request"
186
192
  end
187
193
  # resource path
188
- local_var_path = '/v1/bills/payments'
194
+ local_var_path = '/v1/bills/{billId}/files/uploadrequests'.sub('{' + 'billId' + '}', CGI.escape(bill_id.to_s))
189
195
 
190
196
  # query parameters
191
197
  query_params = opts[:query_params] || {}
@@ -197,23 +203,23 @@ module Buildium
197
203
  # HTTP header 'Content-Type'
198
204
  content_type = @api_client.select_header_content_type(['application/json'])
199
205
  if !content_type.nil?
200
- header_params['Content-Type'] = content_type
206
+ header_params['Content-Type'] = content_type
201
207
  end
202
208
 
203
209
  # form parameters
204
210
  form_params = opts[:form_params] || {}
205
211
 
206
212
  # http body (model)
207
- post_body = opts[:debug_body] || @api_client.object_to_http_body(multiple_bill_payments_post_message)
213
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(create_upload_file_request_request)
208
214
 
209
215
  # return_type
210
- return_type = opts[:debug_return_type] || 'BillPaymentMessage'
216
+ return_type = opts[:debug_return_type] || 'FileUploadTicketMessage'
211
217
 
212
218
  # auth_names
213
219
  auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
214
220
 
215
221
  new_options = opts.merge(
216
- :operation => :"BillsApi.create_multiple_bill_payments",
222
+ :operation => :"BillsApi.create_bill_upload_file_request",
217
223
  :header_params => header_params,
218
224
  :query_params => query_params,
219
225
  :form_params => form_params,
@@ -224,42 +230,36 @@ module Buildium
224
230
 
225
231
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
226
232
  if @api_client.config.debugging
227
- @api_client.config.logger.debug "API called: BillsApi#create_multiple_bill_payments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
233
+ @api_client.config.logger.debug "API called: BillsApi#create_bill_upload_file_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
228
234
  end
229
235
  return data, status_code, headers
230
236
  end
231
237
 
232
- # Upload a bill file
233
- # Uploads a file and associates it to the specified bill record. <br /><br />Uploading a file requires making two API requests. Each step is outlined below. <br /><br /><strong>Step 1 - Save file metadata</strong><br /> The first step in the file upload process is to submit the file metadata to `/v1/bills/{billId:int}/files/uploadrequests`. The response of this call will contain a URL and a collection of form data that will be used in step 2 to generate the request for the file binary upload. <br /><br /><strong>NOTE:</strong> The response data will expire after 5 minutes. The file metadata will not be saved in the Buildium system if step 2 of this process is not completed successfully. <br /><br /><strong>Step 2 - Upload the file binary</strong><br /> Uploading the file binary will require using the response from step 1 to form a POST request to the Buildium file provider. Follow these steps to create the request: <br /> 1. Form a POST request using the value of the `BucketUrl` property as the URL. <br /><br /> 2. Set the `Content-Type` header to `multipart/form-data`. <br /><br /> 3. Copy the fields from the `FormData` property to this request as form-data key/value pairs. <br /><strong>NOTE:</strong> These values must added to the request form-data in the order they were received in the response. <br /><br /> 4. Lastly create a form-data key named `file` and set the value to the file binary. <br /><strong>NOTE:</strong> This must be the last field in the form-data list. <br /><br />This image shows what the POST request should look like if you're using Postman: <img src=\"file-upload-example.png\" /><br /><br /> 5. Send the POST request! A successful request will return with a `204 - NO CONTENT` HTTP response code. For any failure responses, please refer to <a target=\"_blank\" href=\"https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#RESTErrorResponses\">AWS documentation</a> on REST error responses. <br /><br /><strong>NOTE:</strong> The file identifier is not generated in this response. To retrieve the file identifier, call `/v1/files` and pass the `PhysicalFileName` value received from the response of this endpoint into the `physicalfilenames` query parameter. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bills</span> - `View` `Edit`
234
- # @param bill_id [Integer]
235
- # @param file_name_post_message [FileNamePostMessage]
238
+ # Create a payment for multiple bills with one check
239
+ # Creates a payment for multiple bills with one check. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bills</span> - `View` `Edit` <span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
240
+ # @param create_multiple_bill_payments_request [CreateMultipleBillPaymentsRequest]
236
241
  # @param [Hash] opts the optional parameters
237
- # @return [FileUploadTicketMessage]
238
- def create_upload_file_request(bill_id, file_name_post_message, opts = {})
239
- data, _status_code, _headers = create_upload_file_request_with_http_info(bill_id, file_name_post_message, opts)
242
+ # @return [BillPaymentMessage]
243
+ def create_multiple_bill_payments(create_multiple_bill_payments_request, opts = {})
244
+ data, _status_code, _headers = create_multiple_bill_payments_with_http_info(create_multiple_bill_payments_request, opts)
240
245
  data
241
246
  end
242
247
 
243
- # Upload a bill file
244
- # Uploads a file and associates it to the specified bill record. &lt;br /&gt;&lt;br /&gt;Uploading a file requires making two API requests. Each step is outlined below. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 1 - Save file metadata&lt;/strong&gt;&lt;br /&gt; The first step in the file upload process is to submit the file metadata to &#x60;/v1/bills/{billId:int}/files/uploadrequests&#x60;. The response of this call will contain a URL and a collection of form data that will be used in step 2 to generate the request for the file binary upload. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; The response data will expire after 5 minutes. The file metadata will not be saved in the Buildium system if step 2 of this process is not completed successfully. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 2 - Upload the file binary&lt;/strong&gt;&lt;br /&gt; Uploading the file binary will require using the response from step 1 to form a POST request to the Buildium file provider. Follow these steps to create the request: &lt;br /&gt; 1. Form a POST request using the value of the &#x60;BucketUrl&#x60; property as the URL. &lt;br /&gt;&lt;br /&gt; 2. Set the &#x60;Content-Type&#x60; header to &#x60;multipart/form-data&#x60;. &lt;br /&gt;&lt;br /&gt; 3. Copy the fields from the &#x60;FormData&#x60; property to this request as form-data key/value pairs. &lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; These values must added to the request form-data in the order they were received in the response. &lt;br /&gt;&lt;br /&gt; 4. Lastly create a form-data key named &#x60;file&#x60; and set the value to the file binary. &lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; This must be the last field in the form-data list. &lt;br /&gt;&lt;br /&gt;This image shows what the POST request should look like if you&#39;re using Postman: &lt;img src&#x3D;\&quot;file-upload-example.png\&quot; /&gt;&lt;br /&gt;&lt;br /&gt; 5. Send the POST request! A successful request will return with a &#x60;204 - NO CONTENT&#x60; HTTP response code. For any failure responses, please refer to &lt;a target&#x3D;\&quot;_blank\&quot; href&#x3D;\&quot;https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#RESTErrorResponses\&quot;&gt;AWS documentation&lt;/a&gt; on REST error responses. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; The file identifier is not generated in this response. To retrieve the file identifier, call &#x60;/v1/files&#x60; and pass the &#x60;PhysicalFileName&#x60; value received from the response of this endpoint into the &#x60;physicalfilenames&#x60; query parameter. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; Bills&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
245
- # @param bill_id [Integer]
246
- # @param file_name_post_message [FileNamePostMessage]
248
+ # Create a payment for multiple bills with one check
249
+ # Creates a payment for multiple bills with one check. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; Bills&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60; &lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
250
+ # @param create_multiple_bill_payments_request [CreateMultipleBillPaymentsRequest]
247
251
  # @param [Hash] opts the optional parameters
248
- # @return [Array<(FileUploadTicketMessage, Integer, Hash)>] FileUploadTicketMessage data, response status code and response headers
249
- def create_upload_file_request_with_http_info(bill_id, file_name_post_message, opts = {})
252
+ # @return [Array<(BillPaymentMessage, Integer, Hash)>] BillPaymentMessage data, response status code and response headers
253
+ def create_multiple_bill_payments_with_http_info(create_multiple_bill_payments_request, opts = {})
250
254
  if @api_client.config.debugging
251
- @api_client.config.logger.debug 'Calling API: BillsApi.create_upload_file_request ...'
252
- end
253
- # verify the required parameter 'bill_id' is set
254
- if @api_client.config.client_side_validation && bill_id.nil?
255
- fail ArgumentError, "Missing the required parameter 'bill_id' when calling BillsApi.create_upload_file_request"
255
+ @api_client.config.logger.debug 'Calling API: BillsApi.create_multiple_bill_payments ...'
256
256
  end
257
- # verify the required parameter 'file_name_post_message' is set
258
- if @api_client.config.client_side_validation && file_name_post_message.nil?
259
- fail ArgumentError, "Missing the required parameter 'file_name_post_message' when calling BillsApi.create_upload_file_request"
257
+ # verify the required parameter 'create_multiple_bill_payments_request' is set
258
+ if @api_client.config.client_side_validation && create_multiple_bill_payments_request.nil?
259
+ fail ArgumentError, "Missing the required parameter 'create_multiple_bill_payments_request' when calling BillsApi.create_multiple_bill_payments"
260
260
  end
261
261
  # resource path
262
- local_var_path = '/v1/bills/{billId}/files/uploadrequests'.sub('{' + 'billId' + '}', CGI.escape(bill_id.to_s))
262
+ local_var_path = '/v1/bills/payments'
263
263
 
264
264
  # query parameters
265
265
  query_params = opts[:query_params] || {}
@@ -271,23 +271,23 @@ module Buildium
271
271
  # HTTP header 'Content-Type'
272
272
  content_type = @api_client.select_header_content_type(['application/json'])
273
273
  if !content_type.nil?
274
- header_params['Content-Type'] = content_type
274
+ header_params['Content-Type'] = content_type
275
275
  end
276
276
 
277
277
  # form parameters
278
278
  form_params = opts[:form_params] || {}
279
279
 
280
280
  # http body (model)
281
- post_body = opts[:debug_body] || @api_client.object_to_http_body(file_name_post_message)
281
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(create_multiple_bill_payments_request)
282
282
 
283
283
  # return_type
284
- return_type = opts[:debug_return_type] || 'FileUploadTicketMessage'
284
+ return_type = opts[:debug_return_type] || 'BillPaymentMessage'
285
285
 
286
286
  # auth_names
287
287
  auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
288
288
 
289
289
  new_options = opts.merge(
290
- :operation => :"BillsApi.create_upload_file_request",
290
+ :operation => :"BillsApi.create_multiple_bill_payments",
291
291
  :header_params => header_params,
292
292
  :query_params => query_params,
293
293
  :form_params => form_params,
@@ -298,13 +298,13 @@ module Buildium
298
298
 
299
299
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
300
300
  if @api_client.config.debugging
301
- @api_client.config.logger.debug "API called: BillsApi#create_upload_file_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
301
+ @api_client.config.logger.debug "API called: BillsApi#create_multiple_bill_payments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
302
302
  end
303
303
  return data, status_code, headers
304
304
  end
305
305
 
306
306
  # Delete a bill file
307
- # Deletes the specified file from a bill. The file will be permanently deleted from the Buildium platform and can not be recovered. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bills</span> - `View` `Edit` `Delete`
307
+ # Deletes the specified file from a bill. The file will be permanently deleted from the Buildium platform and can not be recovered. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bills</span> - `View` `Edit` `Delete`
308
308
  # @param bill_id [Integer]
309
309
  # @param file_id [Integer]
310
310
  # @param [Hash] opts the optional parameters
@@ -315,7 +315,7 @@ module Buildium
315
315
  end
316
316
 
317
317
  # Delete a bill file
318
- # Deletes the specified file from a bill. The file will be permanently deleted from the Buildium platform and can not be recovered. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; Bills&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60; &#x60;Delete&#x60;
318
+ # Deletes the specified file from a bill. The file will be permanently deleted from the Buildium platform and can not be recovered. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; Bills&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60; &#x60;Delete&#x60;
319
319
  # @param bill_id [Integer]
320
320
  # @param file_id [Integer]
321
321
  # @param [Hash] opts the optional parameters
@@ -373,7 +373,7 @@ module Buildium
373
373
  end
374
374
 
375
375
  # Download a bill file
376
- # Downloads a specific file associated to the bill. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bills</span> - `View`
376
+ # Downloads a specific file associated to the bill. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bills</span> - `View`
377
377
  # @param bill_id [Integer]
378
378
  # @param file_id [Integer]
379
379
  # @param [Hash] opts the optional parameters
@@ -384,7 +384,7 @@ module Buildium
384
384
  end
385
385
 
386
386
  # Download a bill file
387
- # Downloads a specific file associated to the bill. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; Bills&lt;/span&gt; - &#x60;View&#x60;
387
+ # Downloads a specific file associated to the bill. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; Bills&lt;/span&gt; - &#x60;View&#x60;
388
388
  # @param bill_id [Integer]
389
389
  # @param file_id [Integer]
390
390
  # @param [Hash] opts the optional parameters
@@ -442,7 +442,7 @@ module Buildium
442
442
  end
443
443
 
444
444
  # Retrieve all files for a bill
445
- # Retrieves the metadata for all files associated to the specified bill. To download the actual file view the [Download a bill file](#tag/Bills/operation/DownloadBillFile). <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bills</span> - `View`
445
+ # Retrieves the metadata for all files associated to the specified bill. To download the actual file view the [Download a bill file](#tag/Bills/operation/DownloadBillFile). <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bills</span> - `View`
446
446
  # @param bill_id [Integer]
447
447
  # @param [Hash] opts the optional parameters
448
448
  # @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.
@@ -455,7 +455,7 @@ module Buildium
455
455
  end
456
456
 
457
457
  # Retrieve all files for a bill
458
- # Retrieves the metadata for all files associated to the specified bill. To download the actual file view the [Download a bill file](#tag/Bills/operation/DownloadBillFile). &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; Bills&lt;/span&gt; - &#x60;View&#x60;
458
+ # Retrieves the metadata for all files associated to the specified bill. To download the actual file view the [Download a bill file](#tag/Bills/operation/DownloadBillFile). &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; Bills&lt;/span&gt; - &#x60;View&#x60;
459
459
  # @param bill_id [Integer]
460
460
  # @param [Hash] opts the optional parameters
461
461
  # @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.
@@ -514,7 +514,7 @@ module Buildium
514
514
  end
515
515
 
516
516
  # Retrieve a bill
517
- # Retrieves a single bill. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bills</span> - `View`
517
+ # Retrieves a single bill. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bills</span> - `View`
518
518
  # @param bill_id [Integer]
519
519
  # @param [Hash] opts the optional parameters
520
520
  # @return [BillMessage]
@@ -524,7 +524,7 @@ module Buildium
524
524
  end
525
525
 
526
526
  # Retrieve a bill
527
- # Retrieves a single bill. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; Bills&lt;/span&gt; - &#x60;View&#x60;
527
+ # Retrieves a single bill. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; Bills&lt;/span&gt; - &#x60;View&#x60;
528
528
  # @param bill_id [Integer]
529
529
  # @param [Hash] opts the optional parameters
530
530
  # @return [Array<(BillMessage, Integer, Hash)>] BillMessage data, response status code and response headers
@@ -577,7 +577,7 @@ module Buildium
577
577
  end
578
578
 
579
579
  # Retrieve a file for a bill
580
- # Retrieves the metadata for a specific file associated with the specified bill. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bills</span> - `View`
580
+ # Retrieves the metadata for a specific file associated with the specified bill. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bills</span> - `View`
581
581
  # @param bill_id [Integer]
582
582
  # @param file_id [Integer]
583
583
  # @param [Hash] opts the optional parameters
@@ -588,7 +588,7 @@ module Buildium
588
588
  end
589
589
 
590
590
  # Retrieve a file for a bill
591
- # Retrieves the metadata for a specific file associated with the specified bill. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; Bills&lt;/span&gt; - &#x60;View&#x60;
591
+ # Retrieves the metadata for a specific file associated with the specified bill. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; Bills&lt;/span&gt; - &#x60;View&#x60;
592
592
  # @param bill_id [Integer]
593
593
  # @param file_id [Integer]
594
594
  # @param [Hash] opts the optional parameters
@@ -646,7 +646,7 @@ module Buildium
646
646
  end
647
647
 
648
648
  # Retrieve a bill payment
649
- # Retrieves specific bill payment. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bills</span> - `View`
649
+ # Retrieves specific bill payment. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bills</span> - `View`
650
650
  # @param bill_id [Integer]
651
651
  # @param payment_id [Integer]
652
652
  # @param [Hash] opts the optional parameters
@@ -657,7 +657,7 @@ module Buildium
657
657
  end
658
658
 
659
659
  # Retrieve a bill payment
660
- # Retrieves specific bill payment. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; Bills&lt;/span&gt; - &#x60;View&#x60;
660
+ # Retrieves specific bill payment. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; Bills&lt;/span&gt; - &#x60;View&#x60;
661
661
  # @param bill_id [Integer]
662
662
  # @param payment_id [Integer]
663
663
  # @param [Hash] opts the optional parameters
@@ -715,7 +715,7 @@ module Buildium
715
715
  end
716
716
 
717
717
  # Retrieve all bill payments
718
- # Retrieves a list of bill payments for a specific bill. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bills</span> - `View`
718
+ # Retrieves a list of bill payments for a specific bill. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bills</span> - `View`
719
719
  # @param bill_id [Integer]
720
720
  # @param [Hash] opts the optional parameters
721
721
  # @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.
@@ -728,7 +728,7 @@ module Buildium
728
728
  end
729
729
 
730
730
  # Retrieve all bill payments
731
- # Retrieves a list of bill payments for a specific bill. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; Bills&lt;/span&gt; - &#x60;View&#x60;
731
+ # Retrieves a list of bill payments for a specific bill. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; Bills&lt;/span&gt; - &#x60;View&#x60;
732
732
  # @param bill_id [Integer]
733
733
  # @param [Hash] opts the optional parameters
734
734
  # @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.
@@ -787,7 +787,7 @@ module Buildium
787
787
  end
788
788
 
789
789
  # Retrieve all bills
790
- # Retrieves a list of bills. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bills</span> - `View`
790
+ # Retrieves a list of bills. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bills</span> - `View`
791
791
  # @param [Hash] opts the optional parameters
792
792
  # @option opts [Integer] :entityid Filters results to any bill containing line items associated with the specified entity identifier. This filter is used in conjunction with the &#x60;EntityType&#x60; field which must be set to the type of entity this identifier references.
793
793
  # @option opts [String] :entitytype Specifies the type of entity that &#x60;EntityId&#x60; refers to. This field is required if &#x60;EntityId&#x60; is specified.
@@ -807,7 +807,7 @@ module Buildium
807
807
  end
808
808
 
809
809
  # Retrieve all bills
810
- # Retrieves a list of bills. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; Bills&lt;/span&gt; - &#x60;View&#x60;
810
+ # Retrieves a list of bills. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; Bills&lt;/span&gt; - &#x60;View&#x60;
811
811
  # @param [Hash] opts the optional parameters
812
812
  # @option opts [Integer] :entityid Filters results to any bill containing line items associated with the specified entity identifier. This filter is used in conjunction with the &#x60;EntityType&#x60; field which must be set to the type of entity this identifier references.
813
813
  # @option opts [String] :entitytype Specifies the type of entity that &#x60;EntityId&#x60; refers to. This field is required if &#x60;EntityId&#x60; is specified.
@@ -889,23 +889,97 @@ module Buildium
889
889
  end
890
890
 
891
891
  # Update a bill
892
- # Use this operation to update any of the writable fields of an existing bill resource. When updating this resource keep the following in mind: <br /><ul><li>Writable fields omitted from the request or that do not have a value in the request message are set to `NULL`. If you do not want to update the field, submit the original field value.</li><li>When a bill has an existing payment any edits to the line items that change the total bill amount must result in the new total bill amount being equal to or greater than the amount paid.</li><li>When adding a new line item leave the `LineItem.Id` field empty.</li></ul><br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bills</span> - `View` `Edit`
892
+ # Updates a bill. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bills</span> - `View` `Edit`
893
+ # @param bill_id [Integer]
894
+ # @param patch_bill_request [PatchBillRequest] &lt;span&gt;Represents the structure of the data that can be provided to a &lt;a target&#x3D;\&quot;_blank\&quot; href&#x3D;\&quot;https://datatracker.ietf.org/doc/html/rfc6902\&quot;&gt;JSON patch document&lt;/a&gt; as path values via &lt;a target&#x3D;\&quot;_blank\&quot; href&#x3D;\&quot;https://datatracker.ietf.org/doc/html/rfc6901/\&quot;&gt;JSON pointer&lt;/a&gt; syntax.&lt;/span&gt;
895
+ # @param [Hash] opts the optional parameters
896
+ # @return [BillMessage]
897
+ def patch_bill(bill_id, patch_bill_request, opts = {})
898
+ data, _status_code, _headers = patch_bill_with_http_info(bill_id, patch_bill_request, opts)
899
+ data
900
+ end
901
+
902
+ # Update a bill
903
+ # Updates a bill. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; Bills&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
904
+ # @param bill_id [Integer]
905
+ # @param patch_bill_request [PatchBillRequest] &lt;span&gt;Represents the structure of the data that can be provided to a &lt;a target&#x3D;\&quot;_blank\&quot; href&#x3D;\&quot;https://datatracker.ietf.org/doc/html/rfc6902\&quot;&gt;JSON patch document&lt;/a&gt; as path values via &lt;a target&#x3D;\&quot;_blank\&quot; href&#x3D;\&quot;https://datatracker.ietf.org/doc/html/rfc6901/\&quot;&gt;JSON pointer&lt;/a&gt; syntax.&lt;/span&gt;
906
+ # @param [Hash] opts the optional parameters
907
+ # @return [Array<(BillMessage, Integer, Hash)>] BillMessage data, response status code and response headers
908
+ def patch_bill_with_http_info(bill_id, patch_bill_request, opts = {})
909
+ if @api_client.config.debugging
910
+ @api_client.config.logger.debug 'Calling API: BillsApi.patch_bill ...'
911
+ end
912
+ # verify the required parameter 'bill_id' is set
913
+ if @api_client.config.client_side_validation && bill_id.nil?
914
+ fail ArgumentError, "Missing the required parameter 'bill_id' when calling BillsApi.patch_bill"
915
+ end
916
+ # verify the required parameter 'patch_bill_request' is set
917
+ if @api_client.config.client_side_validation && patch_bill_request.nil?
918
+ fail ArgumentError, "Missing the required parameter 'patch_bill_request' when calling BillsApi.patch_bill"
919
+ end
920
+ # resource path
921
+ local_var_path = '/v1/bills/{billId}'.sub('{' + 'billId' + '}', CGI.escape(bill_id.to_s))
922
+
923
+ # query parameters
924
+ query_params = opts[:query_params] || {}
925
+
926
+ # header parameters
927
+ header_params = opts[:header_params] || {}
928
+ # HTTP header 'Accept' (if needed)
929
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
930
+ # HTTP header 'Content-Type'
931
+ content_type = @api_client.select_header_content_type(['application/json', 'application/json-patch+json'])
932
+ if !content_type.nil?
933
+ header_params['Content-Type'] = content_type
934
+ end
935
+
936
+ # form parameters
937
+ form_params = opts[:form_params] || {}
938
+
939
+ # http body (model)
940
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(patch_bill_request)
941
+
942
+ # return_type
943
+ return_type = opts[:debug_return_type] || 'BillMessage'
944
+
945
+ # auth_names
946
+ auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
947
+
948
+ new_options = opts.merge(
949
+ :operation => :"BillsApi.patch_bill",
950
+ :header_params => header_params,
951
+ :query_params => query_params,
952
+ :form_params => form_params,
953
+ :body => post_body,
954
+ :auth_names => auth_names,
955
+ :return_type => return_type
956
+ )
957
+
958
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
959
+ if @api_client.config.debugging
960
+ @api_client.config.logger.debug "API called: BillsApi#patch_bill\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
961
+ end
962
+ return data, status_code, headers
963
+ end
964
+
965
+ # Update a bill
966
+ # Use this operation to update any of the writable fields of an existing bill resource. When updating this resource keep the following in mind: <br /><ul><li>Writable fields omitted from the request or that do not have a value in the request message are set to `NULL`. If you do not want to update the field, submit the original field value.</li><li>When a bill has an existing payment any edits to the line items that change the total bill amount must result in the new total bill amount being equal to or greater than the amount paid.</li><li>When adding a new line item leave the `LineItem.Id` field empty.</li><li>You cannot update a bill that has a pending EFT associated with it.</li></ul><br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bills</span> - `View` `Edit`
893
967
  # @param bill_id [Integer]
894
- # @param bill_put_message [BillPutMessage]
968
+ # @param update_bill_request [UpdateBillRequest]
895
969
  # @param [Hash] opts the optional parameters
896
970
  # @return [BillMessage]
897
- def update_bill(bill_id, bill_put_message, opts = {})
898
- data, _status_code, _headers = update_bill_with_http_info(bill_id, bill_put_message, opts)
971
+ def update_bill(bill_id, update_bill_request, opts = {})
972
+ data, _status_code, _headers = update_bill_with_http_info(bill_id, update_bill_request, opts)
899
973
  data
900
974
  end
901
975
 
902
976
  # Update a bill
903
- # Use this operation to update any of the writable fields of an existing bill resource. When updating this resource keep the following in mind: &lt;br /&gt;&lt;ul&gt;&lt;li&gt;Writable fields omitted from the request or that do not have a value in the request message are set to &#x60;NULL&#x60;. If you do not want to update the field, submit the original field value.&lt;/li&gt;&lt;li&gt;When a bill has an existing payment any edits to the line items that change the total bill amount must result in the new total bill amount being equal to or greater than the amount paid.&lt;/li&gt;&lt;li&gt;When adding a new line item leave the &#x60;LineItem.Id&#x60; field empty.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; Bills&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
977
+ # Use this operation to update any of the writable fields of an existing bill resource. When updating this resource keep the following in mind: &lt;br /&gt;&lt;ul&gt;&lt;li&gt;Writable fields omitted from the request or that do not have a value in the request message are set to &#x60;NULL&#x60;. If you do not want to update the field, submit the original field value.&lt;/li&gt;&lt;li&gt;When a bill has an existing payment any edits to the line items that change the total bill amount must result in the new total bill amount being equal to or greater than the amount paid.&lt;/li&gt;&lt;li&gt;When adding a new line item leave the &#x60;LineItem.Id&#x60; field empty.&lt;/li&gt;&lt;li&gt;You cannot update a bill that has a pending EFT associated with it.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; Bills&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
904
978
  # @param bill_id [Integer]
905
- # @param bill_put_message [BillPutMessage]
979
+ # @param update_bill_request [UpdateBillRequest]
906
980
  # @param [Hash] opts the optional parameters
907
981
  # @return [Array<(BillMessage, Integer, Hash)>] BillMessage data, response status code and response headers
908
- def update_bill_with_http_info(bill_id, bill_put_message, opts = {})
982
+ def update_bill_with_http_info(bill_id, update_bill_request, opts = {})
909
983
  if @api_client.config.debugging
910
984
  @api_client.config.logger.debug 'Calling API: BillsApi.update_bill ...'
911
985
  end
@@ -913,9 +987,9 @@ module Buildium
913
987
  if @api_client.config.client_side_validation && bill_id.nil?
914
988
  fail ArgumentError, "Missing the required parameter 'bill_id' when calling BillsApi.update_bill"
915
989
  end
916
- # verify the required parameter 'bill_put_message' is set
917
- if @api_client.config.client_side_validation && bill_put_message.nil?
918
- fail ArgumentError, "Missing the required parameter 'bill_put_message' when calling BillsApi.update_bill"
990
+ # verify the required parameter 'update_bill_request' is set
991
+ if @api_client.config.client_side_validation && update_bill_request.nil?
992
+ fail ArgumentError, "Missing the required parameter 'update_bill_request' when calling BillsApi.update_bill"
919
993
  end
920
994
  # resource path
921
995
  local_var_path = '/v1/bills/{billId}'.sub('{' + 'billId' + '}', CGI.escape(bill_id.to_s))
@@ -930,14 +1004,14 @@ module Buildium
930
1004
  # HTTP header 'Content-Type'
931
1005
  content_type = @api_client.select_header_content_type(['application/json'])
932
1006
  if !content_type.nil?
933
- header_params['Content-Type'] = content_type
1007
+ header_params['Content-Type'] = content_type
934
1008
  end
935
1009
 
936
1010
  # form parameters
937
1011
  form_params = opts[:form_params] || {}
938
1012
 
939
1013
  # http body (model)
940
- post_body = opts[:debug_body] || @api_client.object_to_http_body(bill_put_message)
1014
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(update_bill_request)
941
1015
 
942
1016
  # return_type
943
1017
  return_type = opts[:debug_return_type] || 'BillMessage'