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
@@ -19,28 +19,108 @@ module Buildium
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
+ # Clear transactions for a reconciliation
23
+ # Clears transactions for a reconciliation. Reconciliation transactions can only be cleared for bank accounts that are not linked externally. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View` `Edit`
24
+ # @param bank_account_id [Integer]
25
+ # @param reconciliation_id [Integer]
26
+ # @param clear_transactions_request [ClearTransactionsRequest]
27
+ # @param [Hash] opts the optional parameters
28
+ # @return [nil]
29
+ def clear_transactions(bank_account_id, reconciliation_id, clear_transactions_request, opts = {})
30
+ clear_transactions_with_http_info(bank_account_id, reconciliation_id, clear_transactions_request, opts)
31
+ nil
32
+ end
33
+
34
+ # Clear transactions for a reconciliation
35
+ # Clears transactions for a reconciliation. Reconciliation transactions can only be cleared for bank accounts that are not linked externally. &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; BankAccount&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
36
+ # @param bank_account_id [Integer]
37
+ # @param reconciliation_id [Integer]
38
+ # @param clear_transactions_request [ClearTransactionsRequest]
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
41
+ def clear_transactions_with_http_info(bank_account_id, reconciliation_id, clear_transactions_request, opts = {})
42
+ if @api_client.config.debugging
43
+ @api_client.config.logger.debug 'Calling API: BankAccountsApi.clear_transactions ...'
44
+ end
45
+ # verify the required parameter 'bank_account_id' is set
46
+ if @api_client.config.client_side_validation && bank_account_id.nil?
47
+ fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.clear_transactions"
48
+ end
49
+ # verify the required parameter 'reconciliation_id' is set
50
+ if @api_client.config.client_side_validation && reconciliation_id.nil?
51
+ fail ArgumentError, "Missing the required parameter 'reconciliation_id' when calling BankAccountsApi.clear_transactions"
52
+ end
53
+ # verify the required parameter 'clear_transactions_request' is set
54
+ if @api_client.config.client_side_validation && clear_transactions_request.nil?
55
+ fail ArgumentError, "Missing the required parameter 'clear_transactions_request' when calling BankAccountsApi.clear_transactions"
56
+ end
57
+ # resource path
58
+ local_var_path = '/v1/bankaccounts/{bankAccountId}/reconciliations/{reconciliationId}/cleartransactionsrequest'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s)).sub('{' + 'reconciliationId' + '}', CGI.escape(reconciliation_id.to_s))
59
+
60
+ # query parameters
61
+ query_params = opts[:query_params] || {}
62
+
63
+ # header parameters
64
+ header_params = opts[:header_params] || {}
65
+ # HTTP header 'Accept' (if needed)
66
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
67
+ # HTTP header 'Content-Type'
68
+ content_type = @api_client.select_header_content_type(['application/json'])
69
+ if !content_type.nil?
70
+ header_params['Content-Type'] = content_type
71
+ end
72
+
73
+ # form parameters
74
+ form_params = opts[:form_params] || {}
75
+
76
+ # http body (model)
77
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(clear_transactions_request)
78
+
79
+ # return_type
80
+ return_type = opts[:debug_return_type]
81
+
82
+ # auth_names
83
+ auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
84
+
85
+ new_options = opts.merge(
86
+ :operation => :"BankAccountsApi.clear_transactions",
87
+ :header_params => header_params,
88
+ :query_params => query_params,
89
+ :form_params => form_params,
90
+ :body => post_body,
91
+ :auth_names => auth_names,
92
+ :return_type => return_type
93
+ )
94
+
95
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
96
+ if @api_client.config.debugging
97
+ @api_client.config.logger.debug "API called: BankAccountsApi#clear_transactions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
98
+ end
99
+ return data, status_code, headers
100
+ end
101
+
22
102
  # Create a bank account
23
- # Creates a bank account. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Banking</span> - `View` `Edit`
24
- # @param bank_account_post_message [BankAccountPostMessage]
103
+ # Creates a bank account. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Banking</span> - `View` `Edit`
104
+ # @param create_bank_account_request [CreateBankAccountRequest]
25
105
  # @param [Hash] opts the optional parameters
26
106
  # @return [BankAccountMessage]
27
- def create_bank_account(bank_account_post_message, opts = {})
28
- data, _status_code, _headers = create_bank_account_with_http_info(bank_account_post_message, opts)
107
+ def create_bank_account(create_bank_account_request, opts = {})
108
+ data, _status_code, _headers = create_bank_account_with_http_info(create_bank_account_request, opts)
29
109
  data
30
110
  end
31
111
 
32
112
  # Create a bank account
33
- # Creates a bank account. &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; Banking&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
34
- # @param bank_account_post_message [BankAccountPostMessage]
113
+ # Creates a bank account. &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; Banking&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
114
+ # @param create_bank_account_request [CreateBankAccountRequest]
35
115
  # @param [Hash] opts the optional parameters
36
116
  # @return [Array<(BankAccountMessage, Integer, Hash)>] BankAccountMessage data, response status code and response headers
37
- def create_bank_account_with_http_info(bank_account_post_message, opts = {})
117
+ def create_bank_account_with_http_info(create_bank_account_request, opts = {})
38
118
  if @api_client.config.debugging
39
119
  @api_client.config.logger.debug 'Calling API: BankAccountsApi.create_bank_account ...'
40
120
  end
41
- # verify the required parameter 'bank_account_post_message' is set
42
- if @api_client.config.client_side_validation && bank_account_post_message.nil?
43
- fail ArgumentError, "Missing the required parameter 'bank_account_post_message' when calling BankAccountsApi.create_bank_account"
121
+ # verify the required parameter 'create_bank_account_request' is set
122
+ if @api_client.config.client_side_validation && create_bank_account_request.nil?
123
+ fail ArgumentError, "Missing the required parameter 'create_bank_account_request' when calling BankAccountsApi.create_bank_account"
44
124
  end
45
125
  # resource path
46
126
  local_var_path = '/v1/bankaccounts'
@@ -55,14 +135,14 @@ module Buildium
55
135
  # HTTP header 'Content-Type'
56
136
  content_type = @api_client.select_header_content_type(['application/json'])
57
137
  if !content_type.nil?
58
- header_params['Content-Type'] = content_type
138
+ header_params['Content-Type'] = content_type
59
139
  end
60
140
 
61
141
  # form parameters
62
142
  form_params = opts[:form_params] || {}
63
143
 
64
144
  # http body (model)
65
- post_body = opts[:debug_body] || @api_client.object_to_http_body(bank_account_post_message)
145
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(create_bank_account_request)
66
146
 
67
147
  # return_type
68
148
  return_type = opts[:debug_return_type] || 'BankAccountMessage'
@@ -88,23 +168,23 @@ module Buildium
88
168
  end
89
169
 
90
170
  # Create a check
91
- # Creates a check. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` `Edit`
171
+ # Creates a check. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
92
172
  # @param bank_account_id [Integer]
93
- # @param bank_account_check_post_message [BankAccountCheckPostMessage]
173
+ # @param create_bank_account_check_request [CreateBankAccountCheckRequest]
94
174
  # @param [Hash] opts the optional parameters
95
175
  # @return [BankAccountCheckMessage]
96
- def create_bank_account_check(bank_account_id, bank_account_check_post_message, opts = {})
97
- data, _status_code, _headers = create_bank_account_check_with_http_info(bank_account_id, bank_account_check_post_message, opts)
176
+ def create_bank_account_check(bank_account_id, create_bank_account_check_request, opts = {})
177
+ data, _status_code, _headers = create_bank_account_check_with_http_info(bank_account_id, create_bank_account_check_request, opts)
98
178
  data
99
179
  end
100
180
 
101
181
  # Create a check
102
- # Creates a 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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
182
+ # Creates a 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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
103
183
  # @param bank_account_id [Integer]
104
- # @param bank_account_check_post_message [BankAccountCheckPostMessage]
184
+ # @param create_bank_account_check_request [CreateBankAccountCheckRequest]
105
185
  # @param [Hash] opts the optional parameters
106
186
  # @return [Array<(BankAccountCheckMessage, Integer, Hash)>] BankAccountCheckMessage data, response status code and response headers
107
- def create_bank_account_check_with_http_info(bank_account_id, bank_account_check_post_message, opts = {})
187
+ def create_bank_account_check_with_http_info(bank_account_id, create_bank_account_check_request, opts = {})
108
188
  if @api_client.config.debugging
109
189
  @api_client.config.logger.debug 'Calling API: BankAccountsApi.create_bank_account_check ...'
110
190
  end
@@ -112,9 +192,9 @@ module Buildium
112
192
  if @api_client.config.client_side_validation && bank_account_id.nil?
113
193
  fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.create_bank_account_check"
114
194
  end
115
- # verify the required parameter 'bank_account_check_post_message' is set
116
- if @api_client.config.client_side_validation && bank_account_check_post_message.nil?
117
- fail ArgumentError, "Missing the required parameter 'bank_account_check_post_message' when calling BankAccountsApi.create_bank_account_check"
195
+ # verify the required parameter 'create_bank_account_check_request' is set
196
+ if @api_client.config.client_side_validation && create_bank_account_check_request.nil?
197
+ fail ArgumentError, "Missing the required parameter 'create_bank_account_check_request' when calling BankAccountsApi.create_bank_account_check"
118
198
  end
119
199
  # resource path
120
200
  local_var_path = '/v1/bankaccounts/{bankAccountId}/checks'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s))
@@ -129,14 +209,14 @@ module Buildium
129
209
  # HTTP header 'Content-Type'
130
210
  content_type = @api_client.select_header_content_type(['application/json'])
131
211
  if !content_type.nil?
132
- header_params['Content-Type'] = content_type
212
+ header_params['Content-Type'] = content_type
133
213
  end
134
214
 
135
215
  # form parameters
136
216
  form_params = opts[:form_params] || {}
137
217
 
138
218
  # http body (model)
139
- post_body = opts[:debug_body] || @api_client.object_to_http_body(bank_account_check_post_message)
219
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(create_bank_account_check_request)
140
220
 
141
221
  # return_type
142
222
  return_type = opts[:debug_return_type] || 'BankAccountCheckMessage'
@@ -162,23 +242,23 @@ module Buildium
162
242
  end
163
243
 
164
244
  # Create a deposit
165
- # Creates a deposit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` `Edit`
245
+ # Creates a deposit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
166
246
  # @param bank_account_id [Integer]
167
- # @param bank_account_deposit_post_message [BankAccountDepositPostMessage]
247
+ # @param create_bank_account_deposit_request [CreateBankAccountDepositRequest]
168
248
  # @param [Hash] opts the optional parameters
169
249
  # @return [BankAccountDepositMessage]
170
- def create_bank_account_deposit(bank_account_id, bank_account_deposit_post_message, opts = {})
171
- data, _status_code, _headers = create_bank_account_deposit_with_http_info(bank_account_id, bank_account_deposit_post_message, opts)
250
+ def create_bank_account_deposit(bank_account_id, create_bank_account_deposit_request, opts = {})
251
+ data, _status_code, _headers = create_bank_account_deposit_with_http_info(bank_account_id, create_bank_account_deposit_request, opts)
172
252
  data
173
253
  end
174
254
 
175
255
  # Create a deposit
176
- # Creates a deposit. &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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
256
+ # Creates a deposit. &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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
177
257
  # @param bank_account_id [Integer]
178
- # @param bank_account_deposit_post_message [BankAccountDepositPostMessage]
258
+ # @param create_bank_account_deposit_request [CreateBankAccountDepositRequest]
179
259
  # @param [Hash] opts the optional parameters
180
260
  # @return [Array<(BankAccountDepositMessage, Integer, Hash)>] BankAccountDepositMessage data, response status code and response headers
181
- def create_bank_account_deposit_with_http_info(bank_account_id, bank_account_deposit_post_message, opts = {})
261
+ def create_bank_account_deposit_with_http_info(bank_account_id, create_bank_account_deposit_request, opts = {})
182
262
  if @api_client.config.debugging
183
263
  @api_client.config.logger.debug 'Calling API: BankAccountsApi.create_bank_account_deposit ...'
184
264
  end
@@ -186,9 +266,9 @@ module Buildium
186
266
  if @api_client.config.client_side_validation && bank_account_id.nil?
187
267
  fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.create_bank_account_deposit"
188
268
  end
189
- # verify the required parameter 'bank_account_deposit_post_message' is set
190
- if @api_client.config.client_side_validation && bank_account_deposit_post_message.nil?
191
- fail ArgumentError, "Missing the required parameter 'bank_account_deposit_post_message' when calling BankAccountsApi.create_bank_account_deposit"
269
+ # verify the required parameter 'create_bank_account_deposit_request' is set
270
+ if @api_client.config.client_side_validation && create_bank_account_deposit_request.nil?
271
+ fail ArgumentError, "Missing the required parameter 'create_bank_account_deposit_request' when calling BankAccountsApi.create_bank_account_deposit"
192
272
  end
193
273
  # resource path
194
274
  local_var_path = '/v1/bankaccounts/{bankAccountId}/deposits'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s))
@@ -203,14 +283,14 @@ module Buildium
203
283
  # HTTP header 'Content-Type'
204
284
  content_type = @api_client.select_header_content_type(['application/json'])
205
285
  if !content_type.nil?
206
- header_params['Content-Type'] = content_type
286
+ header_params['Content-Type'] = content_type
207
287
  end
208
288
 
209
289
  # form parameters
210
290
  form_params = opts[:form_params] || {}
211
291
 
212
292
  # http body (model)
213
- post_body = opts[:debug_body] || @api_client.object_to_http_body(bank_account_deposit_post_message)
293
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(create_bank_account_deposit_request)
214
294
 
215
295
  # return_type
216
296
  return_type = opts[:debug_return_type] || 'BankAccountDepositMessage'
@@ -236,23 +316,23 @@ module Buildium
236
316
  end
237
317
 
238
318
  # Create a transfer
239
- # Creates a bank account transfer. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` `Edit`
319
+ # Creates a bank account transfer. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
240
320
  # @param bank_account_id [Integer]
241
- # @param bank_account_transfer_save_message [BankAccountTransferSaveMessage]
321
+ # @param create_bank_account_transfer_request [CreateBankAccountTransferRequest]
242
322
  # @param [Hash] opts the optional parameters
243
323
  # @return [BankAccountTransferMessage]
244
- def create_bank_account_transfer(bank_account_id, bank_account_transfer_save_message, opts = {})
245
- data, _status_code, _headers = create_bank_account_transfer_with_http_info(bank_account_id, bank_account_transfer_save_message, opts)
324
+ def create_bank_account_transfer(bank_account_id, create_bank_account_transfer_request, opts = {})
325
+ data, _status_code, _headers = create_bank_account_transfer_with_http_info(bank_account_id, create_bank_account_transfer_request, opts)
246
326
  data
247
327
  end
248
328
 
249
329
  # Create a transfer
250
- # Creates a bank account transfer. &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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
330
+ # Creates a bank account transfer. &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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
251
331
  # @param bank_account_id [Integer]
252
- # @param bank_account_transfer_save_message [BankAccountTransferSaveMessage]
332
+ # @param create_bank_account_transfer_request [CreateBankAccountTransferRequest]
253
333
  # @param [Hash] opts the optional parameters
254
334
  # @return [Array<(BankAccountTransferMessage, Integer, Hash)>] BankAccountTransferMessage data, response status code and response headers
255
- def create_bank_account_transfer_with_http_info(bank_account_id, bank_account_transfer_save_message, opts = {})
335
+ def create_bank_account_transfer_with_http_info(bank_account_id, create_bank_account_transfer_request, opts = {})
256
336
  if @api_client.config.debugging
257
337
  @api_client.config.logger.debug 'Calling API: BankAccountsApi.create_bank_account_transfer ...'
258
338
  end
@@ -260,9 +340,9 @@ module Buildium
260
340
  if @api_client.config.client_side_validation && bank_account_id.nil?
261
341
  fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.create_bank_account_transfer"
262
342
  end
263
- # verify the required parameter 'bank_account_transfer_save_message' is set
264
- if @api_client.config.client_side_validation && bank_account_transfer_save_message.nil?
265
- fail ArgumentError, "Missing the required parameter 'bank_account_transfer_save_message' when calling BankAccountsApi.create_bank_account_transfer"
343
+ # verify the required parameter 'create_bank_account_transfer_request' is set
344
+ if @api_client.config.client_side_validation && create_bank_account_transfer_request.nil?
345
+ fail ArgumentError, "Missing the required parameter 'create_bank_account_transfer_request' when calling BankAccountsApi.create_bank_account_transfer"
266
346
  end
267
347
  # resource path
268
348
  local_var_path = '/v1/bankaccounts/{bankAccountId}/transfers'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s))
@@ -277,14 +357,14 @@ module Buildium
277
357
  # HTTP header 'Content-Type'
278
358
  content_type = @api_client.select_header_content_type(['application/json'])
279
359
  if !content_type.nil?
280
- header_params['Content-Type'] = content_type
360
+ header_params['Content-Type'] = content_type
281
361
  end
282
362
 
283
363
  # form parameters
284
364
  form_params = opts[:form_params] || {}
285
365
 
286
366
  # http body (model)
287
- post_body = opts[:debug_body] || @api_client.object_to_http_body(bank_account_transfer_save_message)
367
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(create_bank_account_transfer_request)
288
368
 
289
369
  # return_type
290
370
  return_type = opts[:debug_return_type] || 'BankAccountTransferMessage'
@@ -310,25 +390,25 @@ module Buildium
310
390
  end
311
391
 
312
392
  # Upload a file for a check
313
- # Uploads a file and associates it to the specified check 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/bankaccounts/{bankAccountId:int}/checks/{checkId: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; Checks</span> - `View` `Edit` <span class=\"permissionBlock\">Accounting &gt; General Ledger Transactions</span> - `View` <span class=\"permissionBlock\">(Required for checks associated with a Company) </span>
393
+ # Uploads a file and associates it to the specified check 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/bankaccounts/{bankAccountId:int}/checks/{checkId: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 > Checks</span> - `View` `Edit` <span class=\"permissionBlock\">Accounting > General Ledger Transactions</span> - `View` <span class=\"permissionBlock\">(Required for checks associated with a Company) </span>
314
394
  # @param bank_account_id [Integer]
315
395
  # @param check_id [Integer]
316
- # @param file_name_post_message [FileNamePostMessage]
396
+ # @param create_upload_file_request_request [CreateUploadFileRequestRequest]
317
397
  # @param [Hash] opts the optional parameters
318
398
  # @return [FileUploadTicketMessage]
319
- def create_check_upload_file_request(bank_account_id, check_id, file_name_post_message, opts = {})
320
- data, _status_code, _headers = create_check_upload_file_request_with_http_info(bank_account_id, check_id, file_name_post_message, opts)
399
+ def create_check_upload_file_request(bank_account_id, check_id, create_upload_file_request_request, opts = {})
400
+ data, _status_code, _headers = create_check_upload_file_request_with_http_info(bank_account_id, check_id, create_upload_file_request_request, opts)
321
401
  data
322
402
  end
323
403
 
324
404
  # Upload a file for a check
325
- # Uploads a file and associates it to the specified check 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/bankaccounts/{bankAccountId:int}/checks/{checkId: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; Checks&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60; &lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; General Ledger Transactions&lt;/span&gt; - &#x60;View&#x60; &lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;(Required for checks associated with a Company) &lt;/span&gt;
405
+ # Uploads a file and associates it to the specified check 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/bankaccounts/{bankAccountId:int}/checks/{checkId: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; Checks&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60; &lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; General Ledger Transactions&lt;/span&gt; - &#x60;View&#x60; &lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;(Required for checks associated with a Company) &lt;/span&gt;
326
406
  # @param bank_account_id [Integer]
327
407
  # @param check_id [Integer]
328
- # @param file_name_post_message [FileNamePostMessage]
408
+ # @param create_upload_file_request_request [CreateUploadFileRequestRequest]
329
409
  # @param [Hash] opts the optional parameters
330
410
  # @return [Array<(FileUploadTicketMessage, Integer, Hash)>] FileUploadTicketMessage data, response status code and response headers
331
- def create_check_upload_file_request_with_http_info(bank_account_id, check_id, file_name_post_message, opts = {})
411
+ def create_check_upload_file_request_with_http_info(bank_account_id, check_id, create_upload_file_request_request, opts = {})
332
412
  if @api_client.config.debugging
333
413
  @api_client.config.logger.debug 'Calling API: BankAccountsApi.create_check_upload_file_request ...'
334
414
  end
@@ -340,9 +420,9 @@ module Buildium
340
420
  if @api_client.config.client_side_validation && check_id.nil?
341
421
  fail ArgumentError, "Missing the required parameter 'check_id' when calling BankAccountsApi.create_check_upload_file_request"
342
422
  end
343
- # verify the required parameter 'file_name_post_message' is set
344
- if @api_client.config.client_side_validation && file_name_post_message.nil?
345
- fail ArgumentError, "Missing the required parameter 'file_name_post_message' when calling BankAccountsApi.create_check_upload_file_request"
423
+ # verify the required parameter 'create_upload_file_request_request' is set
424
+ if @api_client.config.client_side_validation && create_upload_file_request_request.nil?
425
+ fail ArgumentError, "Missing the required parameter 'create_upload_file_request_request' when calling BankAccountsApi.create_check_upload_file_request"
346
426
  end
347
427
  # resource path
348
428
  local_var_path = '/v1/bankaccounts/{bankAccountId}/checks/{checkId}/files/uploadrequests'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s)).sub('{' + 'checkId' + '}', CGI.escape(check_id.to_s))
@@ -357,14 +437,14 @@ module Buildium
357
437
  # HTTP header 'Content-Type'
358
438
  content_type = @api_client.select_header_content_type(['application/json'])
359
439
  if !content_type.nil?
360
- header_params['Content-Type'] = content_type
440
+ header_params['Content-Type'] = content_type
361
441
  end
362
442
 
363
443
  # form parameters
364
444
  form_params = opts[:form_params] || {}
365
445
 
366
446
  # http body (model)
367
- post_body = opts[:debug_body] || @api_client.object_to_http_body(file_name_post_message)
447
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(create_upload_file_request_request)
368
448
 
369
449
  # return_type
370
450
  return_type = opts[:debug_return_type] || 'FileUploadTicketMessage'
@@ -389,24 +469,98 @@ module Buildium
389
469
  return data, status_code, headers
390
470
  end
391
471
 
472
+ # Create a reconciliation
473
+ # Creates a reconciliation. Reconciliations can only be created for bank accounts that are not linked externally. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View` `Edit`
474
+ # @param bank_account_id [Integer]
475
+ # @param create_pending_reconciliations_request [CreatePendingReconciliationsRequest]
476
+ # @param [Hash] opts the optional parameters
477
+ # @return [BankAccountReconciliationMessage]
478
+ def create_pending_reconciliations(bank_account_id, create_pending_reconciliations_request, opts = {})
479
+ data, _status_code, _headers = create_pending_reconciliations_with_http_info(bank_account_id, create_pending_reconciliations_request, opts)
480
+ data
481
+ end
482
+
483
+ # Create a reconciliation
484
+ # Creates a reconciliation. Reconciliations can only be created for bank accounts that are not linked externally. &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; BankAccount&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
485
+ # @param bank_account_id [Integer]
486
+ # @param create_pending_reconciliations_request [CreatePendingReconciliationsRequest]
487
+ # @param [Hash] opts the optional parameters
488
+ # @return [Array<(BankAccountReconciliationMessage, Integer, Hash)>] BankAccountReconciliationMessage data, response status code and response headers
489
+ def create_pending_reconciliations_with_http_info(bank_account_id, create_pending_reconciliations_request, opts = {})
490
+ if @api_client.config.debugging
491
+ @api_client.config.logger.debug 'Calling API: BankAccountsApi.create_pending_reconciliations ...'
492
+ end
493
+ # verify the required parameter 'bank_account_id' is set
494
+ if @api_client.config.client_side_validation && bank_account_id.nil?
495
+ fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.create_pending_reconciliations"
496
+ end
497
+ # verify the required parameter 'create_pending_reconciliations_request' is set
498
+ if @api_client.config.client_side_validation && create_pending_reconciliations_request.nil?
499
+ fail ArgumentError, "Missing the required parameter 'create_pending_reconciliations_request' when calling BankAccountsApi.create_pending_reconciliations"
500
+ end
501
+ # resource path
502
+ local_var_path = '/v1/bankaccounts/{bankAccountId}/reconciliations'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s))
503
+
504
+ # query parameters
505
+ query_params = opts[:query_params] || {}
506
+
507
+ # header parameters
508
+ header_params = opts[:header_params] || {}
509
+ # HTTP header 'Accept' (if needed)
510
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
511
+ # HTTP header 'Content-Type'
512
+ content_type = @api_client.select_header_content_type(['application/json'])
513
+ if !content_type.nil?
514
+ header_params['Content-Type'] = content_type
515
+ end
516
+
517
+ # form parameters
518
+ form_params = opts[:form_params] || {}
519
+
520
+ # http body (model)
521
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(create_pending_reconciliations_request)
522
+
523
+ # return_type
524
+ return_type = opts[:debug_return_type] || 'BankAccountReconciliationMessage'
525
+
526
+ # auth_names
527
+ auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
528
+
529
+ new_options = opts.merge(
530
+ :operation => :"BankAccountsApi.create_pending_reconciliations",
531
+ :header_params => header_params,
532
+ :query_params => query_params,
533
+ :form_params => form_params,
534
+ :body => post_body,
535
+ :auth_names => auth_names,
536
+ :return_type => return_type
537
+ )
538
+
539
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
540
+ if @api_client.config.debugging
541
+ @api_client.config.logger.debug "API called: BankAccountsApi#create_pending_reconciliations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
542
+ end
543
+ return data, status_code, headers
544
+ end
545
+
392
546
  # Create a quick deposit
393
- # Creates a quick deposit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; BankAccount</span> - `View` `Edit`
547
+ # Creates a quick deposit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View` `Edit`
394
548
  # @param bank_account_id [Integer]
395
- # @param bank_account_quick_deposit_save_message [BankAccountQuickDepositSaveMessage]
549
+ # @param create_quick_deposit_request [CreateQuickDepositRequest]
396
550
  # @param [Hash] opts the optional parameters
397
551
  # @return [BankAccountQuickDepositMessage]
398
- def create_quick_deposit(bank_account_id, bank_account_quick_deposit_save_message, opts = {})
399
- data, _status_code, _headers = create_quick_deposit_with_http_info(bank_account_id, bank_account_quick_deposit_save_message, opts)
552
+ def create_quick_deposit(bank_account_id, create_quick_deposit_request, opts = {})
553
+ data, _status_code, _headers = create_quick_deposit_with_http_info(bank_account_id, create_quick_deposit_request, opts)
400
554
  data
401
555
  end
402
556
 
403
557
  # Create a quick deposit
404
- # Creates a quick deposit. &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; BankAccount&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
558
+ # Creates a quick deposit. &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; BankAccount&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
405
559
  # @param bank_account_id [Integer]
406
- # @param bank_account_quick_deposit_save_message [BankAccountQuickDepositSaveMessage]
560
+ # @param create_quick_deposit_request [CreateQuickDepositRequest]
407
561
  # @param [Hash] opts the optional parameters
408
562
  # @return [Array<(BankAccountQuickDepositMessage, Integer, Hash)>] BankAccountQuickDepositMessage data, response status code and response headers
409
- def create_quick_deposit_with_http_info(bank_account_id, bank_account_quick_deposit_save_message, opts = {})
563
+ def create_quick_deposit_with_http_info(bank_account_id, create_quick_deposit_request, opts = {})
410
564
  if @api_client.config.debugging
411
565
  @api_client.config.logger.debug 'Calling API: BankAccountsApi.create_quick_deposit ...'
412
566
  end
@@ -414,9 +568,9 @@ module Buildium
414
568
  if @api_client.config.client_side_validation && bank_account_id.nil?
415
569
  fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.create_quick_deposit"
416
570
  end
417
- # verify the required parameter 'bank_account_quick_deposit_save_message' is set
418
- if @api_client.config.client_side_validation && bank_account_quick_deposit_save_message.nil?
419
- fail ArgumentError, "Missing the required parameter 'bank_account_quick_deposit_save_message' when calling BankAccountsApi.create_quick_deposit"
571
+ # verify the required parameter 'create_quick_deposit_request' is set
572
+ if @api_client.config.client_side_validation && create_quick_deposit_request.nil?
573
+ fail ArgumentError, "Missing the required parameter 'create_quick_deposit_request' when calling BankAccountsApi.create_quick_deposit"
420
574
  end
421
575
  # resource path
422
576
  local_var_path = '/v1/bankaccounts/{bankAccountId}/quickdeposits'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s))
@@ -431,14 +585,14 @@ module Buildium
431
585
  # HTTP header 'Content-Type'
432
586
  content_type = @api_client.select_header_content_type(['application/json'])
433
587
  if !content_type.nil?
434
- header_params['Content-Type'] = content_type
588
+ header_params['Content-Type'] = content_type
435
589
  end
436
590
 
437
591
  # form parameters
438
592
  form_params = opts[:form_params] || {}
439
593
 
440
594
  # http body (model)
441
- post_body = opts[:debug_body] || @api_client.object_to_http_body(bank_account_quick_deposit_save_message)
595
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(create_quick_deposit_request)
442
596
 
443
597
  # return_type
444
598
  return_type = opts[:debug_return_type] || 'BankAccountQuickDepositMessage'
@@ -464,23 +618,23 @@ module Buildium
464
618
  end
465
619
 
466
620
  # Create a withdrawal
467
- # Creates a bank account withdrawal. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` `Edit`
621
+ # Creates a bank account withdrawal. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
468
622
  # @param bank_account_id [Integer]
469
- # @param bank_account_withdrawal_save_message [BankAccountWithdrawalSaveMessage]
623
+ # @param create_withdrawal_for_bank_account_request [CreateWithdrawalForBankAccountRequest]
470
624
  # @param [Hash] opts the optional parameters
471
625
  # @return [BankAccountWithdrawalMessage]
472
- def create_withdrawal_for_bank_account(bank_account_id, bank_account_withdrawal_save_message, opts = {})
473
- data, _status_code, _headers = create_withdrawal_for_bank_account_with_http_info(bank_account_id, bank_account_withdrawal_save_message, opts)
626
+ def create_withdrawal_for_bank_account(bank_account_id, create_withdrawal_for_bank_account_request, opts = {})
627
+ data, _status_code, _headers = create_withdrawal_for_bank_account_with_http_info(bank_account_id, create_withdrawal_for_bank_account_request, opts)
474
628
  data
475
629
  end
476
630
 
477
631
  # Create a withdrawal
478
- # Creates a bank account withdrawal. &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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
632
+ # Creates a bank account withdrawal. &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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
479
633
  # @param bank_account_id [Integer]
480
- # @param bank_account_withdrawal_save_message [BankAccountWithdrawalSaveMessage]
634
+ # @param create_withdrawal_for_bank_account_request [CreateWithdrawalForBankAccountRequest]
481
635
  # @param [Hash] opts the optional parameters
482
636
  # @return [Array<(BankAccountWithdrawalMessage, Integer, Hash)>] BankAccountWithdrawalMessage data, response status code and response headers
483
- def create_withdrawal_for_bank_account_with_http_info(bank_account_id, bank_account_withdrawal_save_message, opts = {})
637
+ def create_withdrawal_for_bank_account_with_http_info(bank_account_id, create_withdrawal_for_bank_account_request, opts = {})
484
638
  if @api_client.config.debugging
485
639
  @api_client.config.logger.debug 'Calling API: BankAccountsApi.create_withdrawal_for_bank_account ...'
486
640
  end
@@ -488,9 +642,9 @@ module Buildium
488
642
  if @api_client.config.client_side_validation && bank_account_id.nil?
489
643
  fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.create_withdrawal_for_bank_account"
490
644
  end
491
- # verify the required parameter 'bank_account_withdrawal_save_message' is set
492
- if @api_client.config.client_side_validation && bank_account_withdrawal_save_message.nil?
493
- fail ArgumentError, "Missing the required parameter 'bank_account_withdrawal_save_message' when calling BankAccountsApi.create_withdrawal_for_bank_account"
645
+ # verify the required parameter 'create_withdrawal_for_bank_account_request' is set
646
+ if @api_client.config.client_side_validation && create_withdrawal_for_bank_account_request.nil?
647
+ fail ArgumentError, "Missing the required parameter 'create_withdrawal_for_bank_account_request' when calling BankAccountsApi.create_withdrawal_for_bank_account"
494
648
  end
495
649
  # resource path
496
650
  local_var_path = '/v1/bankaccounts/{bankAccountId}/withdrawals'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s))
@@ -505,14 +659,14 @@ module Buildium
505
659
  # HTTP header 'Content-Type'
506
660
  content_type = @api_client.select_header_content_type(['application/json'])
507
661
  if !content_type.nil?
508
- header_params['Content-Type'] = content_type
662
+ header_params['Content-Type'] = content_type
509
663
  end
510
664
 
511
665
  # form parameters
512
666
  form_params = opts[:form_params] || {}
513
667
 
514
668
  # http body (model)
515
- post_body = opts[:debug_body] || @api_client.object_to_http_body(bank_account_withdrawal_save_message)
669
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(create_withdrawal_for_bank_account_request)
516
670
 
517
671
  # return_type
518
672
  return_type = opts[:debug_return_type] || 'BankAccountWithdrawalMessage'
@@ -538,7 +692,7 @@ module Buildium
538
692
  end
539
693
 
540
694
  # Delete a file for a check
541
- # Deletes a file for a check <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; BankAccounts</span> - `View` `Edit` `Delete` <br /><span class=\"permissionBlock\">Accounting &gt; General Ledger Transactions</span> - `View` <span class=\"permissionBlock\">(Required for checks associated with a Company) </span>
695
+ # Deletes a file for a check <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccounts</span> - `View` `Edit` `Delete` <br /><span class=\"permissionBlock\">Accounting > General Ledger Transactions</span> - `View` <span class=\"permissionBlock\">(Required for checks associated with a Company) </span>
542
696
  # @param bank_account_id [Integer]
543
697
  # @param check_id [Integer]
544
698
  # @param file_id [Integer]
@@ -550,7 +704,7 @@ module Buildium
550
704
  end
551
705
 
552
706
  # Delete a file for a check
553
- # Deletes a file for a 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; BankAccounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60; &#x60;Delete&#x60; &lt;br /&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; General Ledger Transactions&lt;/span&gt; - &#x60;View&#x60; &lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;(Required for checks associated with a Company) &lt;/span&gt;
707
+ # Deletes a file for a 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; BankAccounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60; &#x60;Delete&#x60; &lt;br /&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; General Ledger Transactions&lt;/span&gt; - &#x60;View&#x60; &lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;(Required for checks associated with a Company) &lt;/span&gt;
554
708
  # @param bank_account_id [Integer]
555
709
  # @param check_id [Integer]
556
710
  # @param file_id [Integer]
@@ -613,7 +767,7 @@ module Buildium
613
767
  end
614
768
 
615
769
  # Download a file for a check
616
- # Downloads a specific file associated to the check. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` <br /><span class=\"permissionBlock\">Accounting &gt; General Ledger Transactions</span> - `View` <span class=\"permissionBlock\">(Required for checks associated with a Company) </span>
770
+ # Downloads a specific file associated to the check. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` <br /><span class=\"permissionBlock\">Accounting > General Ledger Transactions</span> - `View` <span class=\"permissionBlock\">(Required for checks associated with a Company) </span>
617
771
  # @param bank_account_id [Integer]
618
772
  # @param check_id [Integer]
619
773
  # @param file_id [Integer]
@@ -625,7 +779,7 @@ module Buildium
625
779
  end
626
780
 
627
781
  # Download a file for a check
628
- # Downloads a specific file associated to the 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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &lt;br /&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; General Ledger Transactions&lt;/span&gt; - &#x60;View&#x60; &lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;(Required for checks associated with a Company) &lt;/span&gt;
782
+ # Downloads a specific file associated to the 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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &lt;br /&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; General Ledger Transactions&lt;/span&gt; - &#x60;View&#x60; &lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;(Required for checks associated with a Company) &lt;/span&gt;
629
783
  # @param bank_account_id [Integer]
630
784
  # @param check_id [Integer]
631
785
  # @param file_id [Integer]
@@ -687,8 +841,77 @@ module Buildium
687
841
  return data, status_code, headers
688
842
  end
689
843
 
844
+ # Finalize a manual reconciliation
845
+ # Finalizes a manual reconciliation. Reconciliations can only be finalized for bank accounts that are not linked externally. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View` `Edit`
846
+ # @param bank_account_id [Integer]
847
+ # @param reconciliation_id [Integer]
848
+ # @param [Hash] opts the optional parameters
849
+ # @return [nil]
850
+ def finalize_reconciliation(bank_account_id, reconciliation_id, opts = {})
851
+ finalize_reconciliation_with_http_info(bank_account_id, reconciliation_id, opts)
852
+ nil
853
+ end
854
+
855
+ # Finalize a manual reconciliation
856
+ # Finalizes a manual reconciliation. Reconciliations can only be finalized for bank accounts that are not linked externally. &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; BankAccount&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
857
+ # @param bank_account_id [Integer]
858
+ # @param reconciliation_id [Integer]
859
+ # @param [Hash] opts the optional parameters
860
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
861
+ def finalize_reconciliation_with_http_info(bank_account_id, reconciliation_id, opts = {})
862
+ if @api_client.config.debugging
863
+ @api_client.config.logger.debug 'Calling API: BankAccountsApi.finalize_reconciliation ...'
864
+ end
865
+ # verify the required parameter 'bank_account_id' is set
866
+ if @api_client.config.client_side_validation && bank_account_id.nil?
867
+ fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.finalize_reconciliation"
868
+ end
869
+ # verify the required parameter 'reconciliation_id' is set
870
+ if @api_client.config.client_side_validation && reconciliation_id.nil?
871
+ fail ArgumentError, "Missing the required parameter 'reconciliation_id' when calling BankAccountsApi.finalize_reconciliation"
872
+ end
873
+ # resource path
874
+ local_var_path = '/v1/bankaccounts/{bankAccountId}/reconciliations/{reconciliationId}/finalizerequest'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s)).sub('{' + 'reconciliationId' + '}', CGI.escape(reconciliation_id.to_s))
875
+
876
+ # query parameters
877
+ query_params = opts[:query_params] || {}
878
+
879
+ # header parameters
880
+ header_params = opts[:header_params] || {}
881
+ # HTTP header 'Accept' (if needed)
882
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
883
+
884
+ # form parameters
885
+ form_params = opts[:form_params] || {}
886
+
887
+ # http body (model)
888
+ post_body = opts[:debug_body]
889
+
890
+ # return_type
891
+ return_type = opts[:debug_return_type]
892
+
893
+ # auth_names
894
+ auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
895
+
896
+ new_options = opts.merge(
897
+ :operation => :"BankAccountsApi.finalize_reconciliation",
898
+ :header_params => header_params,
899
+ :query_params => query_params,
900
+ :form_params => form_params,
901
+ :body => post_body,
902
+ :auth_names => auth_names,
903
+ :return_type => return_type
904
+ )
905
+
906
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
907
+ if @api_client.config.debugging
908
+ @api_client.config.logger.debug "API called: BankAccountsApi#finalize_reconciliation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
909
+ end
910
+ return data, status_code, headers
911
+ end
912
+
690
913
  # Retrieve all bank accounts
691
- # Retrieves a list of bank accounts. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View`
914
+ # Retrieves a list of bank accounts. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View`
692
915
  # @param [Hash] opts the optional parameters
693
916
  # @option opts [String] :bankaccountstatus Filters results by the status of the bank account. If no status is specified, bank accounts with any status will be returned.
694
917
  # @option opts [String] :bankname Filters results to any bank account whose name *contains* the specified value.
@@ -703,7 +926,7 @@ module Buildium
703
926
  end
704
927
 
705
928
  # Retrieve all bank accounts
706
- # Retrieves a list of bank accounts. &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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60;
929
+ # Retrieves a list of bank accounts. &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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60;
707
930
  # @param [Hash] opts the optional parameters
708
931
  # @option opts [String] :bankaccountstatus Filters results by the status of the bank account. If no status is specified, bank accounts with any status will be returned.
709
932
  # @option opts [String] :bankname Filters results to any bank account whose name *contains* the specified value.
@@ -767,7 +990,7 @@ module Buildium
767
990
  end
768
991
 
769
992
  # Retrieve all quick deposits
770
- # Retrieves all quick deposits. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; BankAccount</span> - `View`
993
+ # Retrieves all quick deposits. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View`
771
994
  # @param bank_account_id [Integer]
772
995
  # @param startdate [Date] Filters results to any transactions that were recorded on or after the specified date. The value must be formatted as YYYY-MM-DD.
773
996
  # @param enddate [Date] Filters results to any transactions that were recorded on or before the specified date. The value must be formatted as YYYY-MM-DD.
@@ -782,7 +1005,7 @@ module Buildium
782
1005
  end
783
1006
 
784
1007
  # Retrieve all quick deposits
785
- # Retrieves all quick deposits. &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; BankAccount&lt;/span&gt; - &#x60;View&#x60;
1008
+ # Retrieves all quick deposits. &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; BankAccount&lt;/span&gt; - &#x60;View&#x60;
786
1009
  # @param bank_account_id [Integer]
787
1010
  # @param startdate [Date] Filters results to any transactions that were recorded on or after the specified date. The value must be formatted as YYYY-MM-DD.
788
1011
  # @param enddate [Date] Filters results to any transactions that were recorded on or before the specified date. The value must be formatted as YYYY-MM-DD.
@@ -853,7 +1076,7 @@ module Buildium
853
1076
  end
854
1077
 
855
1078
  # Retrieve a bank account
856
- # Retrieves a specific bank account. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View`
1079
+ # Retrieves a specific bank account. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View`
857
1080
  # @param bank_account_id [Integer] The bank account identifier.
858
1081
  # @param [Hash] opts the optional parameters
859
1082
  # @return [BankAccountMessage]
@@ -863,7 +1086,7 @@ module Buildium
863
1086
  end
864
1087
 
865
1088
  # Retrieve a bank account
866
- # Retrieves a specific bank account. &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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60;
1089
+ # Retrieves a specific bank account. &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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60;
867
1090
  # @param bank_account_id [Integer] The bank account identifier.
868
1091
  # @param [Hash] opts the optional parameters
869
1092
  # @return [Array<(BankAccountMessage, Integer, Hash)>] BankAccountMessage data, response status code and response headers
@@ -916,7 +1139,7 @@ module Buildium
916
1139
  end
917
1140
 
918
1141
  # Retrieve a file for a check
919
- # Retrieves the metadata for a specific file associated with the specified check. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` <br /><span class=\"permissionBlock\">Accounting &gt; General Ledger Transactions</span> - `View` <span class=\"permissionBlock\">(Required for checks associated with a Company) </span>
1142
+ # Retrieves the metadata for a specific file associated with the specified check. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` <br /><span class=\"permissionBlock\">Accounting > General Ledger Transactions</span> - `View` <span class=\"permissionBlock\">(Required for checks associated with a Company) </span>
920
1143
  # @param bank_account_id [Integer]
921
1144
  # @param check_id [Integer]
922
1145
  # @param file_id [Integer]
@@ -928,7 +1151,7 @@ module Buildium
928
1151
  end
929
1152
 
930
1153
  # Retrieve a file for a check
931
- # Retrieves the metadata for a specific file associated with the specified 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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &lt;br /&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; General Ledger Transactions&lt;/span&gt; - &#x60;View&#x60; &lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;(Required for checks associated with a Company) &lt;/span&gt;
1154
+ # Retrieves the metadata for a specific file associated with the specified 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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &lt;br /&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; General Ledger Transactions&lt;/span&gt; - &#x60;View&#x60; &lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;(Required for checks associated with a Company) &lt;/span&gt;
932
1155
  # @param bank_account_id [Integer]
933
1156
  # @param check_id [Integer]
934
1157
  # @param file_id [Integer]
@@ -991,7 +1214,7 @@ module Buildium
991
1214
  end
992
1215
 
993
1216
  # Retrieve all checks
994
- # Retrieves all bank account checks. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` <br /><span class=\"permissionBlock\">Accounting &gt; General Ledger Transactions</span> - `View` <span class=\"permissionBlock\">(Required for checks associated with a Company) </span>
1217
+ # Retrieves all bank account checks. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` <br /><span class=\"permissionBlock\">Accounting > General Ledger Transactions</span> - `View` <span class=\"permissionBlock\">(Required for checks associated with a Company) </span>
995
1218
  # @param bank_account_id [Integer]
996
1219
  # @param startdate [Date] Filters results to any transactions that were recorded on or after the specified date. The value must be formatted as YYYY-MM-DD.
997
1220
  # @param enddate [Date] Filters results to any transactions that were recorded on or before the specified date. The value must be formatted as YYYY-MM-DD.
@@ -1006,7 +1229,7 @@ module Buildium
1006
1229
  end
1007
1230
 
1008
1231
  # Retrieve all checks
1009
- # Retrieves all bank account checks. &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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &lt;br /&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; General Ledger Transactions&lt;/span&gt; - &#x60;View&#x60; &lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;(Required for checks associated with a Company) &lt;/span&gt;
1232
+ # Retrieves all bank account checks. &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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &lt;br /&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; General Ledger Transactions&lt;/span&gt; - &#x60;View&#x60; &lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;(Required for checks associated with a Company) &lt;/span&gt;
1010
1233
  # @param bank_account_id [Integer]
1011
1234
  # @param startdate [Date] Filters results to any transactions that were recorded on or after the specified date. The value must be formatted as YYYY-MM-DD.
1012
1235
  # @param enddate [Date] Filters results to any transactions that were recorded on or before the specified date. The value must be formatted as YYYY-MM-DD.
@@ -1077,7 +1300,7 @@ module Buildium
1077
1300
  end
1078
1301
 
1079
1302
  # Retrieve a deposit
1080
- # Retrieves a bank account deposit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; BankAccount</span> - `View` <br /><span class=\"permissionBlock\">Accounting &gt; General Ledger Transactions</span> - `View` <span class=\"permissionBlock\">(Required for deposits associated with a Company) </span>
1303
+ # Retrieves a bank account deposit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View` <br /><span class=\"permissionBlock\">Accounting > General Ledger Transactions</span> - `View` <span class=\"permissionBlock\">(Required for deposits associated with a Company) </span>
1081
1304
  # @param bank_account_id [Integer]
1082
1305
  # @param deposit_id [Integer]
1083
1306
  # @param [Hash] opts the optional parameters
@@ -1088,7 +1311,7 @@ module Buildium
1088
1311
  end
1089
1312
 
1090
1313
  # Retrieve a deposit
1091
- # Retrieves a bank account deposit. &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; BankAccount&lt;/span&gt; - &#x60;View&#x60; &lt;br /&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; General Ledger Transactions&lt;/span&gt; - &#x60;View&#x60; &lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;(Required for deposits associated with a Company) &lt;/span&gt;
1314
+ # Retrieves a bank account deposit. &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; BankAccount&lt;/span&gt; - &#x60;View&#x60; &lt;br /&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; General Ledger Transactions&lt;/span&gt; - &#x60;View&#x60; &lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;(Required for deposits associated with a Company) &lt;/span&gt;
1092
1315
  # @param bank_account_id [Integer]
1093
1316
  # @param deposit_id [Integer]
1094
1317
  # @param [Hash] opts the optional parameters
@@ -1146,7 +1369,7 @@ module Buildium
1146
1369
  end
1147
1370
 
1148
1371
  # Retrieve all deposits
1149
- # Retrieves all bank account deposits. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; BankAccount</span> - `View` <br /><span class=\"permissionBlock\">Accounting &gt; General Ledger Transactions</span> - `View` <span class=\"permissionBlock\">(Required for deposits associated with a Company) </span>
1372
+ # Retrieves all bank account deposits. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View` <br /><span class=\"permissionBlock\">Accounting > General Ledger Transactions</span> - `View` <span class=\"permissionBlock\">(Required for deposits associated with a Company) </span>
1150
1373
  # @param bank_account_id [Integer]
1151
1374
  # @param startdate [Date] Filters results to any deposits that were recorded on or after the specified date. The value must be formatted as YYYY-MM-DD.
1152
1375
  # @param enddate [Date] Filters results to any deposits that were recorded on or before the specified date. The value must be formatted as YYYY-MM-DD.
@@ -1161,7 +1384,7 @@ module Buildium
1161
1384
  end
1162
1385
 
1163
1386
  # Retrieve all deposits
1164
- # Retrieves all bank account deposits. &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; BankAccount&lt;/span&gt; - &#x60;View&#x60; &lt;br /&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; General Ledger Transactions&lt;/span&gt; - &#x60;View&#x60; &lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;(Required for deposits associated with a Company) &lt;/span&gt;
1387
+ # Retrieves all bank account deposits. &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; BankAccount&lt;/span&gt; - &#x60;View&#x60; &lt;br /&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; General Ledger Transactions&lt;/span&gt; - &#x60;View&#x60; &lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;(Required for deposits associated with a Company) &lt;/span&gt;
1165
1388
  # @param bank_account_id [Integer]
1166
1389
  # @param startdate [Date] Filters results to any deposits that were recorded on or after the specified date. The value must be formatted as YYYY-MM-DD.
1167
1390
  # @param enddate [Date] Filters results to any deposits that were recorded on or before the specified date. The value must be formatted as YYYY-MM-DD.
@@ -1231,8 +1454,86 @@ module Buildium
1231
1454
  return data, status_code, headers
1232
1455
  end
1233
1456
 
1457
+ # Retrieve all transactions for a reconciliation
1458
+ # Retrieves all transactions, both cleared and uncleared, up to the Statement Ending Date of the related reconciliation. This is true for pending and completed reconciliations. Transactions can only be retrieved for bank accounts that are not linked externally. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View`
1459
+ # @param bank_account_id [Integer]
1460
+ # @param reconciliation_id [Integer]
1461
+ # @param [Hash] opts the optional parameters
1462
+ # @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.
1463
+ # @option opts [Integer] :offset &#x60;offset&#x60; indicates the position of the first record to return. The &#x60;offset&#x60; is zero-based and the default is 0.
1464
+ # @option opts [Integer] :limit &#x60;limit&#x60; indicates the maximum number of results to be returned in the response. &#x60;limit&#x60; can range between 1 and 1000 and the default is 50.
1465
+ # @return [Array<BankAccountReconciliationTransactionMessage>]
1466
+ def get_bank_account_reconciliation_transactions(bank_account_id, reconciliation_id, opts = {})
1467
+ data, _status_code, _headers = get_bank_account_reconciliation_transactions_with_http_info(bank_account_id, reconciliation_id, opts)
1468
+ data
1469
+ end
1470
+
1471
+ # Retrieve all transactions for a reconciliation
1472
+ # Retrieves all transactions, both cleared and uncleared, up to the Statement Ending Date of the related reconciliation. This is true for pending and completed reconciliations. Transactions can only be retrieved for bank accounts that are not linked externally. &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; BankAccount&lt;/span&gt; - &#x60;View&#x60;
1473
+ # @param bank_account_id [Integer]
1474
+ # @param reconciliation_id [Integer]
1475
+ # @param [Hash] opts the optional parameters
1476
+ # @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.
1477
+ # @option opts [Integer] :offset &#x60;offset&#x60; indicates the position of the first record to return. The &#x60;offset&#x60; is zero-based and the default is 0.
1478
+ # @option opts [Integer] :limit &#x60;limit&#x60; indicates the maximum number of results to be returned in the response. &#x60;limit&#x60; can range between 1 and 1000 and the default is 50.
1479
+ # @return [Array<(Array<BankAccountReconciliationTransactionMessage>, Integer, Hash)>] Array<BankAccountReconciliationTransactionMessage> data, response status code and response headers
1480
+ def get_bank_account_reconciliation_transactions_with_http_info(bank_account_id, reconciliation_id, opts = {})
1481
+ if @api_client.config.debugging
1482
+ @api_client.config.logger.debug 'Calling API: BankAccountsApi.get_bank_account_reconciliation_transactions ...'
1483
+ end
1484
+ # verify the required parameter 'bank_account_id' is set
1485
+ if @api_client.config.client_side_validation && bank_account_id.nil?
1486
+ fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.get_bank_account_reconciliation_transactions"
1487
+ end
1488
+ # verify the required parameter 'reconciliation_id' is set
1489
+ if @api_client.config.client_side_validation && reconciliation_id.nil?
1490
+ fail ArgumentError, "Missing the required parameter 'reconciliation_id' when calling BankAccountsApi.get_bank_account_reconciliation_transactions"
1491
+ end
1492
+ # resource path
1493
+ local_var_path = '/v1/bankaccounts/{bankAccountId}/reconciliations/{reconciliationId}/transactions'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s)).sub('{' + 'reconciliationId' + '}', CGI.escape(reconciliation_id.to_s))
1494
+
1495
+ # query parameters
1496
+ query_params = opts[:query_params] || {}
1497
+ query_params[:'orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
1498
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
1499
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1500
+
1501
+ # header parameters
1502
+ header_params = opts[:header_params] || {}
1503
+ # HTTP header 'Accept' (if needed)
1504
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1505
+
1506
+ # form parameters
1507
+ form_params = opts[:form_params] || {}
1508
+
1509
+ # http body (model)
1510
+ post_body = opts[:debug_body]
1511
+
1512
+ # return_type
1513
+ return_type = opts[:debug_return_type] || 'Array<BankAccountReconciliationTransactionMessage>'
1514
+
1515
+ # auth_names
1516
+ auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
1517
+
1518
+ new_options = opts.merge(
1519
+ :operation => :"BankAccountsApi.get_bank_account_reconciliation_transactions",
1520
+ :header_params => header_params,
1521
+ :query_params => query_params,
1522
+ :form_params => form_params,
1523
+ :body => post_body,
1524
+ :auth_names => auth_names,
1525
+ :return_type => return_type
1526
+ )
1527
+
1528
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1529
+ if @api_client.config.debugging
1530
+ @api_client.config.logger.debug "API called: BankAccountsApi#get_bank_account_reconciliation_transactions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1531
+ end
1532
+ return data, status_code, headers
1533
+ end
1534
+
1234
1535
  # Retrieve a transaction
1235
- # Retrieves a specific bank account transaction. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Account</span> - `View`
1536
+ # Retrieves a specific bank account transaction. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Account</span> - `View`
1236
1537
  # @param bank_account_id [Integer]
1237
1538
  # @param transaction_id [Integer]
1238
1539
  # @param [Hash] opts the optional parameters
@@ -1243,7 +1544,7 @@ module Buildium
1243
1544
  end
1244
1545
 
1245
1546
  # Retrieve a transaction
1246
- # Retrieves a specific bank account transaction. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; Bank Account&lt;/span&gt; - &#x60;View&#x60;
1547
+ # Retrieves a specific bank account transaction. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; Bank Account&lt;/span&gt; - &#x60;View&#x60;
1247
1548
  # @param bank_account_id [Integer]
1248
1549
  # @param transaction_id [Integer]
1249
1550
  # @param [Hash] opts the optional parameters
@@ -1301,7 +1602,7 @@ module Buildium
1301
1602
  end
1302
1603
 
1303
1604
  # Retrieve all transactions
1304
- # Retrieves all bank account transactions. <br /><br /> Note: When using the `orderby` query string parameter, the only supported parameter is `EntryDate`. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View`
1605
+ # Retrieves all bank account transactions. <br /><br /> Note: When using the `orderby` query string parameter, the only supported parameter is `EntryDate`. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View`
1305
1606
  # @param bank_account_id [Integer]
1306
1607
  # @param startdate [Date] Filters results to any transactions that were recorded on or after the specified date. The value must be formatted as YYYY-MM-DD.
1307
1608
  # @param enddate [Date] Filters results to any transactions that were recorded on or before the specified date. The value must be formatted as YYYY-MM-DD.
@@ -1318,7 +1619,7 @@ module Buildium
1318
1619
  end
1319
1620
 
1320
1621
  # Retrieve all transactions
1321
- # Retrieves all bank account transactions. &lt;br /&gt;&lt;br /&gt; Note: When using the &#x60;orderby&#x60; query string parameter, the only supported parameter is &#x60;EntryDate&#x60;. &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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60;
1622
+ # Retrieves all bank account transactions. &lt;br /&gt;&lt;br /&gt; Note: When using the &#x60;orderby&#x60; query string parameter, the only supported parameter is &#x60;EntryDate&#x60;. &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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60;
1322
1623
  # @param bank_account_id [Integer]
1323
1624
  # @param startdate [Date] Filters results to any transactions that were recorded on or after the specified date. The value must be formatted as YYYY-MM-DD.
1324
1625
  # @param enddate [Date] Filters results to any transactions that were recorded on or before the specified date. The value must be formatted as YYYY-MM-DD.
@@ -1397,7 +1698,7 @@ module Buildium
1397
1698
  end
1398
1699
 
1399
1700
  # Retrieve a transfer
1400
- # Retrieves a bank account transfer. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View`
1701
+ # Retrieves a bank account transfer. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View`
1401
1702
  # @param bank_account_id [Integer] The bank account identifier.
1402
1703
  # @param transfer_id [Integer] The transfer identifier.
1403
1704
  # @param [Hash] opts the optional parameters
@@ -1408,7 +1709,7 @@ module Buildium
1408
1709
  end
1409
1710
 
1410
1711
  # Retrieve a transfer
1411
- # Retrieves a bank account transfer. &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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60;
1712
+ # Retrieves a bank account transfer. &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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60;
1412
1713
  # @param bank_account_id [Integer] The bank account identifier.
1413
1714
  # @param transfer_id [Integer] The transfer identifier.
1414
1715
  # @param [Hash] opts the optional parameters
@@ -1466,7 +1767,7 @@ module Buildium
1466
1767
  end
1467
1768
 
1468
1769
  # Retrieve all transfers
1469
- # Retrieves all bank account transfers. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; BankAccount</span> - `View`
1770
+ # Retrieves all bank account transfers. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View`
1470
1771
  # @param bank_account_id [Integer]
1471
1772
  # @param startdate [Date] Filters results to any transfers that were recorded on or after the specified date. The value must be formatted as YYYY-MM-DD.
1472
1773
  # @param enddate [Date] Filters results to any transfers that were recorded on or before the specified date. The value must be formatted as YYYY-MM-DD.
@@ -1481,7 +1782,7 @@ module Buildium
1481
1782
  end
1482
1783
 
1483
1784
  # Retrieve all transfers
1484
- # Retrieves all bank account transfers. &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; BankAccount&lt;/span&gt; - &#x60;View&#x60;
1785
+ # Retrieves all bank account transfers. &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; BankAccount&lt;/span&gt; - &#x60;View&#x60;
1485
1786
  # @param bank_account_id [Integer]
1486
1787
  # @param startdate [Date] Filters results to any transfers that were recorded on or after the specified date. The value must be formatted as YYYY-MM-DD.
1487
1788
  # @param enddate [Date] Filters results to any transfers that were recorded on or before the specified date. The value must be formatted as YYYY-MM-DD.
@@ -1552,7 +1853,7 @@ module Buildium
1552
1853
  end
1553
1854
 
1554
1855
  # Retrieve a withdrawal
1555
- # Retrieves a bank account withdrawal. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; BankAccounts</span> - `View`
1856
+ # Retrieves a bank account withdrawal. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccounts</span> - `View`
1556
1857
  # @param bank_account_id [Integer]
1557
1858
  # @param withdrawal_id [Integer]
1558
1859
  # @param [Hash] opts the optional parameters
@@ -1563,7 +1864,7 @@ module Buildium
1563
1864
  end
1564
1865
 
1565
1866
  # Retrieve a withdrawal
1566
- # Retrieves a bank account withdrawal. &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; BankAccounts&lt;/span&gt; - &#x60;View&#x60;
1867
+ # Retrieves a bank account withdrawal. &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; BankAccounts&lt;/span&gt; - &#x60;View&#x60;
1567
1868
  # @param bank_account_id [Integer]
1568
1869
  # @param withdrawal_id [Integer]
1569
1870
  # @param [Hash] opts the optional parameters
@@ -1621,7 +1922,7 @@ module Buildium
1621
1922
  end
1622
1923
 
1623
1924
  # Retrieve all withdrawals
1624
- # Retrieves all bank account withdrawals. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; BankAccounts</span> - `View`
1925
+ # Retrieves all bank account withdrawals. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccounts</span> - `View`
1625
1926
  # @param bank_account_id [Integer]
1626
1927
  # @param startdate [Date] Filters results to any transactions that were recorded on or after the specified date. The value must be formatted as YYYY-MM-DD.
1627
1928
  # @param enddate [Date] Filters results to any transactions that were recorded on or before the specified date. The value must be formatted as YYYY-MM-DD.
@@ -1636,7 +1937,7 @@ module Buildium
1636
1937
  end
1637
1938
 
1638
1939
  # Retrieve all withdrawals
1639
- # Retrieves all bank account withdrawals. &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; BankAccounts&lt;/span&gt; - &#x60;View&#x60;
1940
+ # Retrieves all bank account withdrawals. &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; BankAccounts&lt;/span&gt; - &#x60;View&#x60;
1640
1941
  # @param bank_account_id [Integer]
1641
1942
  # @param startdate [Date] Filters results to any transactions that were recorded on or after the specified date. The value must be formatted as YYYY-MM-DD.
1642
1943
  # @param enddate [Date] Filters results to any transactions that were recorded on or before the specified date. The value must be formatted as YYYY-MM-DD.
@@ -1707,7 +2008,7 @@ module Buildium
1707
2008
  end
1708
2009
 
1709
2010
  # Retrieve a check
1710
- # Retrieves a bank account check. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` <br /><span class=\"permissionBlock\">Accounting &gt; General Ledger Transactions</span> - `View` <span class=\"permissionBlock\">(Required for checks associated with a Company) </span>
2011
+ # Retrieves a bank account check. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` <br /><span class=\"permissionBlock\">Accounting > General Ledger Transactions</span> - `View` <span class=\"permissionBlock\">(Required for checks associated with a Company) </span>
1711
2012
  # @param bank_account_id [Integer]
1712
2013
  # @param check_id [Integer]
1713
2014
  # @param [Hash] opts the optional parameters
@@ -1718,7 +2019,7 @@ module Buildium
1718
2019
  end
1719
2020
 
1720
2021
  # Retrieve a check
1721
- # Retrieves a bank account 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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &lt;br /&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; General Ledger Transactions&lt;/span&gt; - &#x60;View&#x60; &lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;(Required for checks associated with a Company) &lt;/span&gt;
2022
+ # Retrieves a bank account 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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &lt;br /&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; General Ledger Transactions&lt;/span&gt; - &#x60;View&#x60; &lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;(Required for checks associated with a Company) &lt;/span&gt;
1722
2023
  # @param bank_account_id [Integer]
1723
2024
  # @param check_id [Integer]
1724
2025
  # @param [Hash] opts the optional parameters
@@ -1776,7 +2077,7 @@ module Buildium
1776
2077
  end
1777
2078
 
1778
2079
  # Retrieve all files for a check
1779
- # Retrieves the metadata for all files associated to the specified check. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` <br /><span class=\"permissionBlock\">Accounting &gt; General Ledger Transactions</span> - `View` <span class=\"permissionBlock\">(Required for checks associated with a Company) </span>
2080
+ # Retrieves the metadata for all files associated to the specified check. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` <br /><span class=\"permissionBlock\">Accounting > General Ledger Transactions</span> - `View` <span class=\"permissionBlock\">(Required for checks associated with a Company) </span>
1780
2081
  # @param bank_account_id [Integer]
1781
2082
  # @param check_id [Integer]
1782
2083
  # @param [Hash] opts the optional parameters
@@ -1790,7 +2091,7 @@ module Buildium
1790
2091
  end
1791
2092
 
1792
2093
  # Retrieve all files for a check
1793
- # Retrieves the metadata for all files associated to the specified 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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &lt;br /&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; General Ledger Transactions&lt;/span&gt; - &#x60;View&#x60; &lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;(Required for checks associated with a Company) &lt;/span&gt;
2094
+ # Retrieves the metadata for all files associated to the specified 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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &lt;br /&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; General Ledger Transactions&lt;/span&gt; - &#x60;View&#x60; &lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;(Required for checks associated with a Company) &lt;/span&gt;
1794
2095
  # @param bank_account_id [Integer]
1795
2096
  # @param check_id [Integer]
1796
2097
  # @param [Hash] opts the optional parameters
@@ -1854,7 +2155,7 @@ module Buildium
1854
2155
  end
1855
2156
 
1856
2157
  # Retrieve a quick deposit
1857
- # Retrieves a quick deposit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; BankAccount</span> - `View`
2158
+ # Retrieves a quick deposit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View`
1858
2159
  # @param bank_account_id [Integer]
1859
2160
  # @param quick_deposit_id [Integer]
1860
2161
  # @param [Hash] opts the optional parameters
@@ -1865,7 +2166,7 @@ module Buildium
1865
2166
  end
1866
2167
 
1867
2168
  # Retrieve a quick deposit
1868
- # Retrieves a quick deposit. &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; BankAccount&lt;/span&gt; - &#x60;View&#x60;
2169
+ # Retrieves a quick deposit. &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; BankAccount&lt;/span&gt; - &#x60;View&#x60;
1869
2170
  # @param bank_account_id [Integer]
1870
2171
  # @param quick_deposit_id [Integer]
1871
2172
  # @param [Hash] opts the optional parameters
@@ -1922,43 +2223,40 @@ module Buildium
1922
2223
  return data, status_code, headers
1923
2224
  end
1924
2225
 
1925
- # Retrieve all undeposited funds
1926
- # Retrieve all bank account undeposited funds. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View`
2226
+ # Retrieve a reconciliation's balance
2227
+ # Retrieves a bank account reconciliation's balance. Reconciliation balances can only be retrieved for bank accounts that are not linked externally. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View`
1927
2228
  # @param bank_account_id [Integer]
2229
+ # @param reconciliation_id [Integer]
1928
2230
  # @param [Hash] opts the optional parameters
1929
- # @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.
1930
- # @option opts [Integer] :offset &#x60;offset&#x60; indicates the position of the first record to return. The &#x60;offset&#x60; is zero-based and the default is 0.
1931
- # @option opts [Integer] :limit &#x60;limit&#x60; indicates the maximum number of results to be returned in the response. &#x60;limit&#x60; can range between 1 and 1000 and the default is 50.
1932
- # @return [Array<UndepositedFundsMessage>]
1933
- def get_undeposited_funds(bank_account_id, opts = {})
1934
- data, _status_code, _headers = get_undeposited_funds_with_http_info(bank_account_id, opts)
2231
+ # @return [BankAccountReconciliationBalanceMessage]
2232
+ def get_reconciliation_balance_by_id(bank_account_id, reconciliation_id, opts = {})
2233
+ data, _status_code, _headers = get_reconciliation_balance_by_id_with_http_info(bank_account_id, reconciliation_id, opts)
1935
2234
  data
1936
2235
  end
1937
2236
 
1938
- # Retrieve all undeposited funds
1939
- # Retrieve all bank account undeposited funds. &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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60;
2237
+ # Retrieve a reconciliation&#39;s balance
2238
+ # Retrieves a bank account reconciliation&#39;s balance. Reconciliation balances can only be retrieved for bank accounts that are not linked externally. &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; BankAccount&lt;/span&gt; - &#x60;View&#x60;
1940
2239
  # @param bank_account_id [Integer]
2240
+ # @param reconciliation_id [Integer]
1941
2241
  # @param [Hash] opts the optional parameters
1942
- # @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.
1943
- # @option opts [Integer] :offset &#x60;offset&#x60; indicates the position of the first record to return. The &#x60;offset&#x60; is zero-based and the default is 0.
1944
- # @option opts [Integer] :limit &#x60;limit&#x60; indicates the maximum number of results to be returned in the response. &#x60;limit&#x60; can range between 1 and 1000 and the default is 50.
1945
- # @return [Array<(Array<UndepositedFundsMessage>, Integer, Hash)>] Array<UndepositedFundsMessage> data, response status code and response headers
1946
- def get_undeposited_funds_with_http_info(bank_account_id, opts = {})
2242
+ # @return [Array<(BankAccountReconciliationBalanceMessage, Integer, Hash)>] BankAccountReconciliationBalanceMessage data, response status code and response headers
2243
+ def get_reconciliation_balance_by_id_with_http_info(bank_account_id, reconciliation_id, opts = {})
1947
2244
  if @api_client.config.debugging
1948
- @api_client.config.logger.debug 'Calling API: BankAccountsApi.get_undeposited_funds ...'
2245
+ @api_client.config.logger.debug 'Calling API: BankAccountsApi.get_reconciliation_balance_by_id ...'
1949
2246
  end
1950
2247
  # verify the required parameter 'bank_account_id' is set
1951
2248
  if @api_client.config.client_side_validation && bank_account_id.nil?
1952
- fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.get_undeposited_funds"
2249
+ fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.get_reconciliation_balance_by_id"
2250
+ end
2251
+ # verify the required parameter 'reconciliation_id' is set
2252
+ if @api_client.config.client_side_validation && reconciliation_id.nil?
2253
+ fail ArgumentError, "Missing the required parameter 'reconciliation_id' when calling BankAccountsApi.get_reconciliation_balance_by_id"
1953
2254
  end
1954
2255
  # resource path
1955
- local_var_path = '/v1/bankaccounts/{bankAccountId}/undepositedfunds'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s))
2256
+ local_var_path = '/v1/bankaccounts/{bankAccountId}/reconciliations/{reconciliationId}/balances'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s)).sub('{' + 'reconciliationId' + '}', CGI.escape(reconciliation_id.to_s))
1956
2257
 
1957
2258
  # query parameters
1958
2259
  query_params = opts[:query_params] || {}
1959
- query_params[:'orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
1960
- query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
1961
- query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1962
2260
 
1963
2261
  # header parameters
1964
2262
  header_params = opts[:header_params] || {}
@@ -1972,13 +2270,13 @@ module Buildium
1972
2270
  post_body = opts[:debug_body]
1973
2271
 
1974
2272
  # return_type
1975
- return_type = opts[:debug_return_type] || 'Array<UndepositedFundsMessage>'
2273
+ return_type = opts[:debug_return_type] || 'BankAccountReconciliationBalanceMessage'
1976
2274
 
1977
2275
  # auth_names
1978
2276
  auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
1979
2277
 
1980
2278
  new_options = opts.merge(
1981
- :operation => :"BankAccountsApi.get_undeposited_funds",
2279
+ :operation => :"BankAccountsApi.get_reconciliation_balance_by_id",
1982
2280
  :header_params => header_params,
1983
2281
  :query_params => query_params,
1984
2282
  :form_params => form_params,
@@ -1989,42 +2287,42 @@ module Buildium
1989
2287
 
1990
2288
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1991
2289
  if @api_client.config.debugging
1992
- @api_client.config.logger.debug "API called: BankAccountsApi#get_undeposited_funds\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2290
+ @api_client.config.logger.debug "API called: BankAccountsApi#get_reconciliation_balance_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1993
2291
  end
1994
2292
  return data, status_code, headers
1995
2293
  end
1996
2294
 
1997
- # Update a bank account
1998
- # Updates a bank account. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Banking</span> - `View` `Edit`
2295
+ # Retrieve a reconciliation
2296
+ # Retrieves a bank account reconciliation. Reconciliations can only be retrieved for bank accounts that are not linked externally. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View`
1999
2297
  # @param bank_account_id [Integer]
2000
- # @param bank_account_put_message [BankAccountPutMessage]
2298
+ # @param reconciliation_id [Integer]
2001
2299
  # @param [Hash] opts the optional parameters
2002
- # @return [BankAccountMessage]
2003
- def update_bank_account(bank_account_id, bank_account_put_message, opts = {})
2004
- data, _status_code, _headers = update_bank_account_with_http_info(bank_account_id, bank_account_put_message, opts)
2300
+ # @return [BankAccountReconciliationMessage]
2301
+ def get_reconciliation_by_id(bank_account_id, reconciliation_id, opts = {})
2302
+ data, _status_code, _headers = get_reconciliation_by_id_with_http_info(bank_account_id, reconciliation_id, opts)
2005
2303
  data
2006
2304
  end
2007
2305
 
2008
- # Update a bank account
2009
- # Updates a bank account. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Any field not included in the update request will be set to either an empty string or &#x60;null&#x60; in the database depending on the field definition. &lt;br /&gt;The recommended workflow to ensure no data is inadvertently overwritten is to execute a &#x60;GET&#x60; request for the resource you&#39;re about to update and then use this response to fill any of the fields that are not being updated. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; Banking&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
2306
+ # Retrieve a reconciliation
2307
+ # Retrieves a bank account reconciliation. Reconciliations can only be retrieved for bank accounts that are not linked externally. &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; BankAccount&lt;/span&gt; - &#x60;View&#x60;
2010
2308
  # @param bank_account_id [Integer]
2011
- # @param bank_account_put_message [BankAccountPutMessage]
2309
+ # @param reconciliation_id [Integer]
2012
2310
  # @param [Hash] opts the optional parameters
2013
- # @return [Array<(BankAccountMessage, Integer, Hash)>] BankAccountMessage data, response status code and response headers
2014
- def update_bank_account_with_http_info(bank_account_id, bank_account_put_message, opts = {})
2311
+ # @return [Array<(BankAccountReconciliationMessage, Integer, Hash)>] BankAccountReconciliationMessage data, response status code and response headers
2312
+ def get_reconciliation_by_id_with_http_info(bank_account_id, reconciliation_id, opts = {})
2015
2313
  if @api_client.config.debugging
2016
- @api_client.config.logger.debug 'Calling API: BankAccountsApi.update_bank_account ...'
2314
+ @api_client.config.logger.debug 'Calling API: BankAccountsApi.get_reconciliation_by_id ...'
2017
2315
  end
2018
2316
  # verify the required parameter 'bank_account_id' is set
2019
2317
  if @api_client.config.client_side_validation && bank_account_id.nil?
2020
- fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.update_bank_account"
2318
+ fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.get_reconciliation_by_id"
2021
2319
  end
2022
- # verify the required parameter 'bank_account_put_message' is set
2023
- if @api_client.config.client_side_validation && bank_account_put_message.nil?
2024
- fail ArgumentError, "Missing the required parameter 'bank_account_put_message' when calling BankAccountsApi.update_bank_account"
2320
+ # verify the required parameter 'reconciliation_id' is set
2321
+ if @api_client.config.client_side_validation && reconciliation_id.nil?
2322
+ fail ArgumentError, "Missing the required parameter 'reconciliation_id' when calling BankAccountsApi.get_reconciliation_by_id"
2025
2323
  end
2026
2324
  # resource path
2027
- local_var_path = '/v1/bankaccounts/{bankAccountId}'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s))
2325
+ local_var_path = '/v1/bankaccounts/{bankAccountId}/reconciliations/{reconciliationId}'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s)).sub('{' + 'reconciliationId' + '}', CGI.escape(reconciliation_id.to_s))
2028
2326
 
2029
2327
  # query parameters
2030
2328
  query_params = opts[:query_params] || {}
@@ -2033,26 +2331,21 @@ module Buildium
2033
2331
  header_params = opts[:header_params] || {}
2034
2332
  # HTTP header 'Accept' (if needed)
2035
2333
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2036
- # HTTP header 'Content-Type'
2037
- content_type = @api_client.select_header_content_type(['application/json'])
2038
- if !content_type.nil?
2039
- header_params['Content-Type'] = content_type
2040
- end
2041
2334
 
2042
2335
  # form parameters
2043
2336
  form_params = opts[:form_params] || {}
2044
2337
 
2045
2338
  # http body (model)
2046
- post_body = opts[:debug_body] || @api_client.object_to_http_body(bank_account_put_message)
2339
+ post_body = opts[:debug_body]
2047
2340
 
2048
2341
  # return_type
2049
- return_type = opts[:debug_return_type] || 'BankAccountMessage'
2342
+ return_type = opts[:debug_return_type] || 'BankAccountReconciliationMessage'
2050
2343
 
2051
2344
  # auth_names
2052
2345
  auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
2053
2346
 
2054
2347
  new_options = opts.merge(
2055
- :operation => :"BankAccountsApi.update_bank_account",
2348
+ :operation => :"BankAccountsApi.get_reconciliation_by_id",
2056
2349
  :header_params => header_params,
2057
2350
  :query_params => query_params,
2058
2351
  :form_params => form_params,
@@ -2061,7 +2354,305 @@ module Buildium
2061
2354
  :return_type => return_type
2062
2355
  )
2063
2356
 
2064
- data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
2357
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2358
+ if @api_client.config.debugging
2359
+ @api_client.config.logger.debug "API called: BankAccountsApi#get_reconciliation_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2360
+ end
2361
+ return data, status_code, headers
2362
+ end
2363
+
2364
+ # Retrieve all reconciliations
2365
+ # Retrieves all bank account reconciliations. Reconciliations can only be retrieved for bank accounts that are not linked externally. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View`
2366
+ # @param bank_account_id [Integer]
2367
+ # @param [Hash] opts the optional parameters
2368
+ # @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.
2369
+ # @option opts [Integer] :offset &#x60;offset&#x60; indicates the position of the first record to return. The &#x60;offset&#x60; is zero-based and the default is 0.
2370
+ # @option opts [Integer] :limit &#x60;limit&#x60; indicates the maximum number of results to be returned in the response. &#x60;limit&#x60; can range between 1 and 1000 and the default is 50.
2371
+ # @return [Array<BankAccountReconciliationMessage>]
2372
+ def get_reconciliations(bank_account_id, opts = {})
2373
+ data, _status_code, _headers = get_reconciliations_with_http_info(bank_account_id, opts)
2374
+ data
2375
+ end
2376
+
2377
+ # Retrieve all reconciliations
2378
+ # Retrieves all bank account reconciliations. Reconciliations can only be retrieved for bank accounts that are not linked externally. &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; BankAccount&lt;/span&gt; - &#x60;View&#x60;
2379
+ # @param bank_account_id [Integer]
2380
+ # @param [Hash] opts the optional parameters
2381
+ # @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.
2382
+ # @option opts [Integer] :offset &#x60;offset&#x60; indicates the position of the first record to return. The &#x60;offset&#x60; is zero-based and the default is 0.
2383
+ # @option opts [Integer] :limit &#x60;limit&#x60; indicates the maximum number of results to be returned in the response. &#x60;limit&#x60; can range between 1 and 1000 and the default is 50.
2384
+ # @return [Array<(Array<BankAccountReconciliationMessage>, Integer, Hash)>] Array<BankAccountReconciliationMessage> data, response status code and response headers
2385
+ def get_reconciliations_with_http_info(bank_account_id, opts = {})
2386
+ if @api_client.config.debugging
2387
+ @api_client.config.logger.debug 'Calling API: BankAccountsApi.get_reconciliations ...'
2388
+ end
2389
+ # verify the required parameter 'bank_account_id' is set
2390
+ if @api_client.config.client_side_validation && bank_account_id.nil?
2391
+ fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.get_reconciliations"
2392
+ end
2393
+ # resource path
2394
+ local_var_path = '/v1/bankaccounts/{bankAccountId}/reconciliations'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s))
2395
+
2396
+ # query parameters
2397
+ query_params = opts[:query_params] || {}
2398
+ query_params[:'orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
2399
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
2400
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
2401
+
2402
+ # header parameters
2403
+ header_params = opts[:header_params] || {}
2404
+ # HTTP header 'Accept' (if needed)
2405
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2406
+
2407
+ # form parameters
2408
+ form_params = opts[:form_params] || {}
2409
+
2410
+ # http body (model)
2411
+ post_body = opts[:debug_body]
2412
+
2413
+ # return_type
2414
+ return_type = opts[:debug_return_type] || 'Array<BankAccountReconciliationMessage>'
2415
+
2416
+ # auth_names
2417
+ auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
2418
+
2419
+ new_options = opts.merge(
2420
+ :operation => :"BankAccountsApi.get_reconciliations",
2421
+ :header_params => header_params,
2422
+ :query_params => query_params,
2423
+ :form_params => form_params,
2424
+ :body => post_body,
2425
+ :auth_names => auth_names,
2426
+ :return_type => return_type
2427
+ )
2428
+
2429
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2430
+ if @api_client.config.debugging
2431
+ @api_client.config.logger.debug "API called: BankAccountsApi#get_reconciliations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2432
+ end
2433
+ return data, status_code, headers
2434
+ end
2435
+
2436
+ # Retrieve all undeposited funds
2437
+ # Retrieve all bank account undeposited funds. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View`
2438
+ # @param bank_account_id [Integer]
2439
+ # @param [Hash] opts the optional parameters
2440
+ # @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.
2441
+ # @option opts [Integer] :offset &#x60;offset&#x60; indicates the position of the first record to return. The &#x60;offset&#x60; is zero-based and the default is 0.
2442
+ # @option opts [Integer] :limit &#x60;limit&#x60; indicates the maximum number of results to be returned in the response. &#x60;limit&#x60; can range between 1 and 1000 and the default is 50.
2443
+ # @return [Array<UndepositedFundsMessage>]
2444
+ def get_undeposited_funds(bank_account_id, opts = {})
2445
+ data, _status_code, _headers = get_undeposited_funds_with_http_info(bank_account_id, opts)
2446
+ data
2447
+ end
2448
+
2449
+ # Retrieve all undeposited funds
2450
+ # Retrieve all bank account undeposited funds. &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; Bank Accounts&lt;/span&gt; - &#x60;View&#x60;
2451
+ # @param bank_account_id [Integer]
2452
+ # @param [Hash] opts the optional parameters
2453
+ # @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.
2454
+ # @option opts [Integer] :offset &#x60;offset&#x60; indicates the position of the first record to return. The &#x60;offset&#x60; is zero-based and the default is 0.
2455
+ # @option opts [Integer] :limit &#x60;limit&#x60; indicates the maximum number of results to be returned in the response. &#x60;limit&#x60; can range between 1 and 1000 and the default is 50.
2456
+ # @return [Array<(Array<UndepositedFundsMessage>, Integer, Hash)>] Array<UndepositedFundsMessage> data, response status code and response headers
2457
+ def get_undeposited_funds_with_http_info(bank_account_id, opts = {})
2458
+ if @api_client.config.debugging
2459
+ @api_client.config.logger.debug 'Calling API: BankAccountsApi.get_undeposited_funds ...'
2460
+ end
2461
+ # verify the required parameter 'bank_account_id' is set
2462
+ if @api_client.config.client_side_validation && bank_account_id.nil?
2463
+ fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.get_undeposited_funds"
2464
+ end
2465
+ # resource path
2466
+ local_var_path = '/v1/bankaccounts/{bankAccountId}/undepositedfunds'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s))
2467
+
2468
+ # query parameters
2469
+ query_params = opts[:query_params] || {}
2470
+ query_params[:'orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
2471
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
2472
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
2473
+
2474
+ # header parameters
2475
+ header_params = opts[:header_params] || {}
2476
+ # HTTP header 'Accept' (if needed)
2477
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2478
+
2479
+ # form parameters
2480
+ form_params = opts[:form_params] || {}
2481
+
2482
+ # http body (model)
2483
+ post_body = opts[:debug_body]
2484
+
2485
+ # return_type
2486
+ return_type = opts[:debug_return_type] || 'Array<UndepositedFundsMessage>'
2487
+
2488
+ # auth_names
2489
+ auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
2490
+
2491
+ new_options = opts.merge(
2492
+ :operation => :"BankAccountsApi.get_undeposited_funds",
2493
+ :header_params => header_params,
2494
+ :query_params => query_params,
2495
+ :form_params => form_params,
2496
+ :body => post_body,
2497
+ :auth_names => auth_names,
2498
+ :return_type => return_type
2499
+ )
2500
+
2501
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2502
+ if @api_client.config.debugging
2503
+ @api_client.config.logger.debug "API called: BankAccountsApi#get_undeposited_funds\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2504
+ end
2505
+ return data, status_code, headers
2506
+ end
2507
+
2508
+ # Un-clear transactions for a reconciliation
2509
+ # Un-clears transactions for a reconciliation. Reconciliation transactions can only be un-cleared for bank accounts that are not linked externally. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View` `Edit`
2510
+ # @param bank_account_id [Integer]
2511
+ # @param reconciliation_id [Integer]
2512
+ # @param unclear_transactions_request [UnclearTransactionsRequest]
2513
+ # @param [Hash] opts the optional parameters
2514
+ # @return [nil]
2515
+ def unclear_transactions(bank_account_id, reconciliation_id, unclear_transactions_request, opts = {})
2516
+ unclear_transactions_with_http_info(bank_account_id, reconciliation_id, unclear_transactions_request, opts)
2517
+ nil
2518
+ end
2519
+
2520
+ # Un-clear transactions for a reconciliation
2521
+ # Un-clears transactions for a reconciliation. Reconciliation transactions can only be un-cleared for bank accounts that are not linked externally. &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; BankAccount&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
2522
+ # @param bank_account_id [Integer]
2523
+ # @param reconciliation_id [Integer]
2524
+ # @param unclear_transactions_request [UnclearTransactionsRequest]
2525
+ # @param [Hash] opts the optional parameters
2526
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
2527
+ def unclear_transactions_with_http_info(bank_account_id, reconciliation_id, unclear_transactions_request, opts = {})
2528
+ if @api_client.config.debugging
2529
+ @api_client.config.logger.debug 'Calling API: BankAccountsApi.unclear_transactions ...'
2530
+ end
2531
+ # verify the required parameter 'bank_account_id' is set
2532
+ if @api_client.config.client_side_validation && bank_account_id.nil?
2533
+ fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.unclear_transactions"
2534
+ end
2535
+ # verify the required parameter 'reconciliation_id' is set
2536
+ if @api_client.config.client_side_validation && reconciliation_id.nil?
2537
+ fail ArgumentError, "Missing the required parameter 'reconciliation_id' when calling BankAccountsApi.unclear_transactions"
2538
+ end
2539
+ # verify the required parameter 'unclear_transactions_request' is set
2540
+ if @api_client.config.client_side_validation && unclear_transactions_request.nil?
2541
+ fail ArgumentError, "Missing the required parameter 'unclear_transactions_request' when calling BankAccountsApi.unclear_transactions"
2542
+ end
2543
+ # resource path
2544
+ local_var_path = '/v1/bankaccounts/{bankAccountId}/reconciliations/{reconciliationId}/uncleartransactionsrequest'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s)).sub('{' + 'reconciliationId' + '}', CGI.escape(reconciliation_id.to_s))
2545
+
2546
+ # query parameters
2547
+ query_params = opts[:query_params] || {}
2548
+
2549
+ # header parameters
2550
+ header_params = opts[:header_params] || {}
2551
+ # HTTP header 'Accept' (if needed)
2552
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2553
+ # HTTP header 'Content-Type'
2554
+ content_type = @api_client.select_header_content_type(['application/json'])
2555
+ if !content_type.nil?
2556
+ header_params['Content-Type'] = content_type
2557
+ end
2558
+
2559
+ # form parameters
2560
+ form_params = opts[:form_params] || {}
2561
+
2562
+ # http body (model)
2563
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(unclear_transactions_request)
2564
+
2565
+ # return_type
2566
+ return_type = opts[:debug_return_type]
2567
+
2568
+ # auth_names
2569
+ auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
2570
+
2571
+ new_options = opts.merge(
2572
+ :operation => :"BankAccountsApi.unclear_transactions",
2573
+ :header_params => header_params,
2574
+ :query_params => query_params,
2575
+ :form_params => form_params,
2576
+ :body => post_body,
2577
+ :auth_names => auth_names,
2578
+ :return_type => return_type
2579
+ )
2580
+
2581
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
2582
+ if @api_client.config.debugging
2583
+ @api_client.config.logger.debug "API called: BankAccountsApi#unclear_transactions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2584
+ end
2585
+ return data, status_code, headers
2586
+ end
2587
+
2588
+ # Update a bank account
2589
+ # Updates a bank account.; <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Banking</span> - `View` `Edit`
2590
+ # @param bank_account_id [Integer]
2591
+ # @param update_bank_account_request [UpdateBankAccountRequest]
2592
+ # @param [Hash] opts the optional parameters
2593
+ # @return [BankAccountMessage]
2594
+ def update_bank_account(bank_account_id, update_bank_account_request, opts = {})
2595
+ data, _status_code, _headers = update_bank_account_with_http_info(bank_account_id, update_bank_account_request, opts)
2596
+ data
2597
+ end
2598
+
2599
+ # Update a bank account
2600
+ # Updates a bank account.; &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Any field not included in the update request will be set to either an empty string or &#x60;null&#x60; in the database depending on the field definition. &lt;br /&gt;The recommended workflow to ensure no data is inadvertently overwritten is to execute a &#x60;GET&#x60; request for the resource you&#39;re about to update and then use this response to fill any of the fields that are not being updated. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; Banking&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
2601
+ # @param bank_account_id [Integer]
2602
+ # @param update_bank_account_request [UpdateBankAccountRequest]
2603
+ # @param [Hash] opts the optional parameters
2604
+ # @return [Array<(BankAccountMessage, Integer, Hash)>] BankAccountMessage data, response status code and response headers
2605
+ def update_bank_account_with_http_info(bank_account_id, update_bank_account_request, opts = {})
2606
+ if @api_client.config.debugging
2607
+ @api_client.config.logger.debug 'Calling API: BankAccountsApi.update_bank_account ...'
2608
+ end
2609
+ # verify the required parameter 'bank_account_id' is set
2610
+ if @api_client.config.client_side_validation && bank_account_id.nil?
2611
+ fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.update_bank_account"
2612
+ end
2613
+ # verify the required parameter 'update_bank_account_request' is set
2614
+ if @api_client.config.client_side_validation && update_bank_account_request.nil?
2615
+ fail ArgumentError, "Missing the required parameter 'update_bank_account_request' when calling BankAccountsApi.update_bank_account"
2616
+ end
2617
+ # resource path
2618
+ local_var_path = '/v1/bankaccounts/{bankAccountId}'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s))
2619
+
2620
+ # query parameters
2621
+ query_params = opts[:query_params] || {}
2622
+
2623
+ # header parameters
2624
+ header_params = opts[:header_params] || {}
2625
+ # HTTP header 'Accept' (if needed)
2626
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2627
+ # HTTP header 'Content-Type'
2628
+ content_type = @api_client.select_header_content_type(['application/json'])
2629
+ if !content_type.nil?
2630
+ header_params['Content-Type'] = content_type
2631
+ end
2632
+
2633
+ # form parameters
2634
+ form_params = opts[:form_params] || {}
2635
+
2636
+ # http body (model)
2637
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(update_bank_account_request)
2638
+
2639
+ # return_type
2640
+ return_type = opts[:debug_return_type] || 'BankAccountMessage'
2641
+
2642
+ # auth_names
2643
+ auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
2644
+
2645
+ new_options = opts.merge(
2646
+ :operation => :"BankAccountsApi.update_bank_account",
2647
+ :header_params => header_params,
2648
+ :query_params => query_params,
2649
+ :form_params => form_params,
2650
+ :body => post_body,
2651
+ :auth_names => auth_names,
2652
+ :return_type => return_type
2653
+ )
2654
+
2655
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
2065
2656
  if @api_client.config.debugging
2066
2657
  @api_client.config.logger.debug "API called: BankAccountsApi#update_bank_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2067
2658
  end
@@ -2069,25 +2660,25 @@ module Buildium
2069
2660
  end
2070
2661
 
2071
2662
  # Update a deposit
2072
- # Updates a deposit. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` `Edit`
2663
+ # Updates a deposit. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
2073
2664
  # @param bank_account_id [Integer]
2074
2665
  # @param deposit_id [Integer]
2075
- # @param bank_account_deposit_put_message [BankAccountDepositPutMessage]
2666
+ # @param update_bank_account_deposit_request [UpdateBankAccountDepositRequest]
2076
2667
  # @param [Hash] opts the optional parameters
2077
2668
  # @return [BankAccountDepositMessage]
2078
- def update_bank_account_deposit(bank_account_id, deposit_id, bank_account_deposit_put_message, opts = {})
2079
- data, _status_code, _headers = update_bank_account_deposit_with_http_info(bank_account_id, deposit_id, bank_account_deposit_put_message, opts)
2669
+ def update_bank_account_deposit(bank_account_id, deposit_id, update_bank_account_deposit_request, opts = {})
2670
+ data, _status_code, _headers = update_bank_account_deposit_with_http_info(bank_account_id, deposit_id, update_bank_account_deposit_request, opts)
2080
2671
  data
2081
2672
  end
2082
2673
 
2083
2674
  # Update a deposit
2084
- # Updates a deposit. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Any field not included in the update request will be set to either an empty string or &#x60;null&#x60; in the database depending on the field definition. &lt;br /&gt;The recommended workflow to ensure no data is inadvertently overwritten is to execute a &#x60;GET&#x60; request for the resource you&#39;re about to update and then use this response to fill any of the fields that are not being updated. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
2675
+ # Updates a deposit. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Any field not included in the update request will be set to either an empty string or &#x60;null&#x60; in the database depending on the field definition. &lt;br /&gt;The recommended workflow to ensure no data is inadvertently overwritten is to execute a &#x60;GET&#x60; request for the resource you&#39;re about to update and then use this response to fill any of the fields that are not being updated. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
2085
2676
  # @param bank_account_id [Integer]
2086
2677
  # @param deposit_id [Integer]
2087
- # @param bank_account_deposit_put_message [BankAccountDepositPutMessage]
2678
+ # @param update_bank_account_deposit_request [UpdateBankAccountDepositRequest]
2088
2679
  # @param [Hash] opts the optional parameters
2089
2680
  # @return [Array<(BankAccountDepositMessage, Integer, Hash)>] BankAccountDepositMessage data, response status code and response headers
2090
- def update_bank_account_deposit_with_http_info(bank_account_id, deposit_id, bank_account_deposit_put_message, opts = {})
2681
+ def update_bank_account_deposit_with_http_info(bank_account_id, deposit_id, update_bank_account_deposit_request, opts = {})
2091
2682
  if @api_client.config.debugging
2092
2683
  @api_client.config.logger.debug 'Calling API: BankAccountsApi.update_bank_account_deposit ...'
2093
2684
  end
@@ -2099,9 +2690,9 @@ module Buildium
2099
2690
  if @api_client.config.client_side_validation && deposit_id.nil?
2100
2691
  fail ArgumentError, "Missing the required parameter 'deposit_id' when calling BankAccountsApi.update_bank_account_deposit"
2101
2692
  end
2102
- # verify the required parameter 'bank_account_deposit_put_message' is set
2103
- if @api_client.config.client_side_validation && bank_account_deposit_put_message.nil?
2104
- fail ArgumentError, "Missing the required parameter 'bank_account_deposit_put_message' when calling BankAccountsApi.update_bank_account_deposit"
2693
+ # verify the required parameter 'update_bank_account_deposit_request' is set
2694
+ if @api_client.config.client_side_validation && update_bank_account_deposit_request.nil?
2695
+ fail ArgumentError, "Missing the required parameter 'update_bank_account_deposit_request' when calling BankAccountsApi.update_bank_account_deposit"
2105
2696
  end
2106
2697
  # resource path
2107
2698
  local_var_path = '/v1/bankaccounts/{bankAccountId}/deposits/{depositId}'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s)).sub('{' + 'depositId' + '}', CGI.escape(deposit_id.to_s))
@@ -2116,14 +2707,14 @@ module Buildium
2116
2707
  # HTTP header 'Content-Type'
2117
2708
  content_type = @api_client.select_header_content_type(['application/json'])
2118
2709
  if !content_type.nil?
2119
- header_params['Content-Type'] = content_type
2710
+ header_params['Content-Type'] = content_type
2120
2711
  end
2121
2712
 
2122
2713
  # form parameters
2123
2714
  form_params = opts[:form_params] || {}
2124
2715
 
2125
2716
  # http body (model)
2126
- post_body = opts[:debug_body] || @api_client.object_to_http_body(bank_account_deposit_put_message)
2717
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(update_bank_account_deposit_request)
2127
2718
 
2128
2719
  # return_type
2129
2720
  return_type = opts[:debug_return_type] || 'BankAccountDepositMessage'
@@ -2149,25 +2740,25 @@ module Buildium
2149
2740
  end
2150
2741
 
2151
2742
  # Update a transfer
2152
- # Updates a bank account transfer. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` `Edit`
2743
+ # Updates a bank account transfer. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
2153
2744
  # @param bank_account_id [Integer]
2154
2745
  # @param transfer_id [Integer]
2155
- # @param bank_account_transfer_save_message [BankAccountTransferSaveMessage]
2746
+ # @param create_bank_account_transfer_request [CreateBankAccountTransferRequest]
2156
2747
  # @param [Hash] opts the optional parameters
2157
2748
  # @return [BankAccountTransferMessage]
2158
- def update_bank_account_transfer(bank_account_id, transfer_id, bank_account_transfer_save_message, opts = {})
2159
- data, _status_code, _headers = update_bank_account_transfer_with_http_info(bank_account_id, transfer_id, bank_account_transfer_save_message, opts)
2749
+ def update_bank_account_transfer(bank_account_id, transfer_id, create_bank_account_transfer_request, opts = {})
2750
+ data, _status_code, _headers = update_bank_account_transfer_with_http_info(bank_account_id, transfer_id, create_bank_account_transfer_request, opts)
2160
2751
  data
2161
2752
  end
2162
2753
 
2163
2754
  # Update a transfer
2164
- # Updates a bank account transfer. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Any field not included in the update request will be set to either an empty string or &#x60;null&#x60; in the database depending on the field definition. &lt;br /&gt;The recommended workflow to ensure no data is inadvertently overwritten is to execute a &#x60;GET&#x60; request for the resource you&#39;re about to update and then use this response to fill any of the fields that are not being updated. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
2755
+ # Updates a bank account transfer. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Any field not included in the update request will be set to either an empty string or &#x60;null&#x60; in the database depending on the field definition. &lt;br /&gt;The recommended workflow to ensure no data is inadvertently overwritten is to execute a &#x60;GET&#x60; request for the resource you&#39;re about to update and then use this response to fill any of the fields that are not being updated. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
2165
2756
  # @param bank_account_id [Integer]
2166
2757
  # @param transfer_id [Integer]
2167
- # @param bank_account_transfer_save_message [BankAccountTransferSaveMessage]
2758
+ # @param create_bank_account_transfer_request [CreateBankAccountTransferRequest]
2168
2759
  # @param [Hash] opts the optional parameters
2169
2760
  # @return [Array<(BankAccountTransferMessage, Integer, Hash)>] BankAccountTransferMessage data, response status code and response headers
2170
- def update_bank_account_transfer_with_http_info(bank_account_id, transfer_id, bank_account_transfer_save_message, opts = {})
2761
+ def update_bank_account_transfer_with_http_info(bank_account_id, transfer_id, create_bank_account_transfer_request, opts = {})
2171
2762
  if @api_client.config.debugging
2172
2763
  @api_client.config.logger.debug 'Calling API: BankAccountsApi.update_bank_account_transfer ...'
2173
2764
  end
@@ -2179,9 +2770,9 @@ module Buildium
2179
2770
  if @api_client.config.client_side_validation && transfer_id.nil?
2180
2771
  fail ArgumentError, "Missing the required parameter 'transfer_id' when calling BankAccountsApi.update_bank_account_transfer"
2181
2772
  end
2182
- # verify the required parameter 'bank_account_transfer_save_message' is set
2183
- if @api_client.config.client_side_validation && bank_account_transfer_save_message.nil?
2184
- fail ArgumentError, "Missing the required parameter 'bank_account_transfer_save_message' when calling BankAccountsApi.update_bank_account_transfer"
2773
+ # verify the required parameter 'create_bank_account_transfer_request' is set
2774
+ if @api_client.config.client_side_validation && create_bank_account_transfer_request.nil?
2775
+ fail ArgumentError, "Missing the required parameter 'create_bank_account_transfer_request' when calling BankAccountsApi.update_bank_account_transfer"
2185
2776
  end
2186
2777
  # resource path
2187
2778
  local_var_path = '/v1/bankaccounts/{bankAccountId}/transfers/{transferId}'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s)).sub('{' + 'transferId' + '}', CGI.escape(transfer_id.to_s))
@@ -2196,14 +2787,14 @@ module Buildium
2196
2787
  # HTTP header 'Content-Type'
2197
2788
  content_type = @api_client.select_header_content_type(['application/json'])
2198
2789
  if !content_type.nil?
2199
- header_params['Content-Type'] = content_type
2790
+ header_params['Content-Type'] = content_type
2200
2791
  end
2201
2792
 
2202
2793
  # form parameters
2203
2794
  form_params = opts[:form_params] || {}
2204
2795
 
2205
2796
  # http body (model)
2206
- post_body = opts[:debug_body] || @api_client.object_to_http_body(bank_account_transfer_save_message)
2797
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(create_bank_account_transfer_request)
2207
2798
 
2208
2799
  # return_type
2209
2800
  return_type = opts[:debug_return_type] || 'BankAccountTransferMessage'
@@ -2229,25 +2820,25 @@ module Buildium
2229
2820
  end
2230
2821
 
2231
2822
  # Update a withdrawal
2232
- # Updates a bank account withdrawal. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` `Edit`
2823
+ # Updates a bank account withdrawal. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
2233
2824
  # @param bank_account_id [Integer]
2234
2825
  # @param withdrawal_id [Integer]
2235
- # @param bank_account_withdrawal_save_message [BankAccountWithdrawalSaveMessage]
2826
+ # @param create_withdrawal_for_bank_account_request [CreateWithdrawalForBankAccountRequest]
2236
2827
  # @param [Hash] opts the optional parameters
2237
2828
  # @return [BankAccountWithdrawalMessage]
2238
- def update_bank_account_withdrawal(bank_account_id, withdrawal_id, bank_account_withdrawal_save_message, opts = {})
2239
- data, _status_code, _headers = update_bank_account_withdrawal_with_http_info(bank_account_id, withdrawal_id, bank_account_withdrawal_save_message, opts)
2829
+ def update_bank_account_withdrawal(bank_account_id, withdrawal_id, create_withdrawal_for_bank_account_request, opts = {})
2830
+ data, _status_code, _headers = update_bank_account_withdrawal_with_http_info(bank_account_id, withdrawal_id, create_withdrawal_for_bank_account_request, opts)
2240
2831
  data
2241
2832
  end
2242
2833
 
2243
2834
  # Update a withdrawal
2244
- # Updates a bank account withdrawal. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Any field not included in the update request will be set to either an empty string or &#x60;null&#x60; in the database depending on the field definition. &lt;br /&gt;The recommended workflow to ensure no data is inadvertently overwritten is to execute a &#x60;GET&#x60; request for the resource you&#39;re about to update and then use this response to fill any of the fields that are not being updated. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
2835
+ # Updates a bank account withdrawal. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Any field not included in the update request will be set to either an empty string or &#x60;null&#x60; in the database depending on the field definition. &lt;br /&gt;The recommended workflow to ensure no data is inadvertently overwritten is to execute a &#x60;GET&#x60; request for the resource you&#39;re about to update and then use this response to fill any of the fields that are not being updated. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
2245
2836
  # @param bank_account_id [Integer]
2246
2837
  # @param withdrawal_id [Integer]
2247
- # @param bank_account_withdrawal_save_message [BankAccountWithdrawalSaveMessage]
2838
+ # @param create_withdrawal_for_bank_account_request [CreateWithdrawalForBankAccountRequest]
2248
2839
  # @param [Hash] opts the optional parameters
2249
2840
  # @return [Array<(BankAccountWithdrawalMessage, Integer, Hash)>] BankAccountWithdrawalMessage data, response status code and response headers
2250
- def update_bank_account_withdrawal_with_http_info(bank_account_id, withdrawal_id, bank_account_withdrawal_save_message, opts = {})
2841
+ def update_bank_account_withdrawal_with_http_info(bank_account_id, withdrawal_id, create_withdrawal_for_bank_account_request, opts = {})
2251
2842
  if @api_client.config.debugging
2252
2843
  @api_client.config.logger.debug 'Calling API: BankAccountsApi.update_bank_account_withdrawal ...'
2253
2844
  end
@@ -2259,9 +2850,9 @@ module Buildium
2259
2850
  if @api_client.config.client_side_validation && withdrawal_id.nil?
2260
2851
  fail ArgumentError, "Missing the required parameter 'withdrawal_id' when calling BankAccountsApi.update_bank_account_withdrawal"
2261
2852
  end
2262
- # verify the required parameter 'bank_account_withdrawal_save_message' is set
2263
- if @api_client.config.client_side_validation && bank_account_withdrawal_save_message.nil?
2264
- fail ArgumentError, "Missing the required parameter 'bank_account_withdrawal_save_message' when calling BankAccountsApi.update_bank_account_withdrawal"
2853
+ # verify the required parameter 'create_withdrawal_for_bank_account_request' is set
2854
+ if @api_client.config.client_side_validation && create_withdrawal_for_bank_account_request.nil?
2855
+ fail ArgumentError, "Missing the required parameter 'create_withdrawal_for_bank_account_request' when calling BankAccountsApi.update_bank_account_withdrawal"
2265
2856
  end
2266
2857
  # resource path
2267
2858
  local_var_path = '/v1/bankaccounts/{bankAccountId}/withdrawals/{withdrawalId}'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s)).sub('{' + 'withdrawalId' + '}', CGI.escape(withdrawal_id.to_s))
@@ -2276,14 +2867,14 @@ module Buildium
2276
2867
  # HTTP header 'Content-Type'
2277
2868
  content_type = @api_client.select_header_content_type(['application/json'])
2278
2869
  if !content_type.nil?
2279
- header_params['Content-Type'] = content_type
2870
+ header_params['Content-Type'] = content_type
2280
2871
  end
2281
2872
 
2282
2873
  # form parameters
2283
2874
  form_params = opts[:form_params] || {}
2284
2875
 
2285
2876
  # http body (model)
2286
- post_body = opts[:debug_body] || @api_client.object_to_http_body(bank_account_withdrawal_save_message)
2877
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(create_withdrawal_for_bank_account_request)
2287
2878
 
2288
2879
  # return_type
2289
2880
  return_type = opts[:debug_return_type] || 'BankAccountWithdrawalMessage'
@@ -2309,25 +2900,25 @@ module Buildium
2309
2900
  end
2310
2901
 
2311
2902
  # Update a check
2312
- # Updates a check. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` `Edit`
2903
+ # Updates a check. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
2313
2904
  # @param bank_account_id [Integer]
2314
2905
  # @param check_id [Integer]
2315
- # @param bank_account_check_put_message [BankAccountCheckPutMessage]
2906
+ # @param update_check_for_bank_account_request [UpdateCheckForBankAccountRequest]
2316
2907
  # @param [Hash] opts the optional parameters
2317
2908
  # @return [BankAccountCheckMessage]
2318
- def update_check_for_bank_account(bank_account_id, check_id, bank_account_check_put_message, opts = {})
2319
- data, _status_code, _headers = update_check_for_bank_account_with_http_info(bank_account_id, check_id, bank_account_check_put_message, opts)
2909
+ def update_check_for_bank_account(bank_account_id, check_id, update_check_for_bank_account_request, opts = {})
2910
+ data, _status_code, _headers = update_check_for_bank_account_with_http_info(bank_account_id, check_id, update_check_for_bank_account_request, opts)
2320
2911
  data
2321
2912
  end
2322
2913
 
2323
2914
  # Update a check
2324
- # Updates a check. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Any field not included in the update request will be set to either an empty string or &#x60;null&#x60; in the database depending on the field definition. &lt;br /&gt;The recommended workflow to ensure no data is inadvertently overwritten is to execute a &#x60;GET&#x60; request for the resource you&#39;re about to update and then use this response to fill any of the fields that are not being updated. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
2915
+ # Updates a check. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Any field not included in the update request will be set to either an empty string or &#x60;null&#x60; in the database depending on the field definition. &lt;br /&gt;The recommended workflow to ensure no data is inadvertently overwritten is to execute a &#x60;GET&#x60; request for the resource you&#39;re about to update and then use this response to fill any of the fields that are not being updated. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
2325
2916
  # @param bank_account_id [Integer]
2326
2917
  # @param check_id [Integer]
2327
- # @param bank_account_check_put_message [BankAccountCheckPutMessage]
2918
+ # @param update_check_for_bank_account_request [UpdateCheckForBankAccountRequest]
2328
2919
  # @param [Hash] opts the optional parameters
2329
2920
  # @return [Array<(BankAccountCheckMessage, Integer, Hash)>] BankAccountCheckMessage data, response status code and response headers
2330
- def update_check_for_bank_account_with_http_info(bank_account_id, check_id, bank_account_check_put_message, opts = {})
2921
+ def update_check_for_bank_account_with_http_info(bank_account_id, check_id, update_check_for_bank_account_request, opts = {})
2331
2922
  if @api_client.config.debugging
2332
2923
  @api_client.config.logger.debug 'Calling API: BankAccountsApi.update_check_for_bank_account ...'
2333
2924
  end
@@ -2339,9 +2930,9 @@ module Buildium
2339
2930
  if @api_client.config.client_side_validation && check_id.nil?
2340
2931
  fail ArgumentError, "Missing the required parameter 'check_id' when calling BankAccountsApi.update_check_for_bank_account"
2341
2932
  end
2342
- # verify the required parameter 'bank_account_check_put_message' is set
2343
- if @api_client.config.client_side_validation && bank_account_check_put_message.nil?
2344
- fail ArgumentError, "Missing the required parameter 'bank_account_check_put_message' when calling BankAccountsApi.update_check_for_bank_account"
2933
+ # verify the required parameter 'update_check_for_bank_account_request' is set
2934
+ if @api_client.config.client_side_validation && update_check_for_bank_account_request.nil?
2935
+ fail ArgumentError, "Missing the required parameter 'update_check_for_bank_account_request' when calling BankAccountsApi.update_check_for_bank_account"
2345
2936
  end
2346
2937
  # resource path
2347
2938
  local_var_path = '/v1/bankaccounts/{bankAccountId}/checks/{checkId}'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s)).sub('{' + 'checkId' + '}', CGI.escape(check_id.to_s))
@@ -2356,14 +2947,14 @@ module Buildium
2356
2947
  # HTTP header 'Content-Type'
2357
2948
  content_type = @api_client.select_header_content_type(['application/json'])
2358
2949
  if !content_type.nil?
2359
- header_params['Content-Type'] = content_type
2950
+ header_params['Content-Type'] = content_type
2360
2951
  end
2361
2952
 
2362
2953
  # form parameters
2363
2954
  form_params = opts[:form_params] || {}
2364
2955
 
2365
2956
  # http body (model)
2366
- post_body = opts[:debug_body] || @api_client.object_to_http_body(bank_account_check_put_message)
2957
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(update_check_for_bank_account_request)
2367
2958
 
2368
2959
  # return_type
2369
2960
  return_type = opts[:debug_return_type] || 'BankAccountCheckMessage'
@@ -2389,25 +2980,25 @@ module Buildium
2389
2980
  end
2390
2981
 
2391
2982
  # Update a quick deposit
2392
- # Updates a quick deposit. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` `Edit`
2983
+ # Updates a quick deposit. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
2393
2984
  # @param bank_account_id [Integer]
2394
2985
  # @param quick_deposit_id [Integer]
2395
- # @param bank_account_quick_deposit_save_message [BankAccountQuickDepositSaveMessage]
2986
+ # @param create_quick_deposit_request [CreateQuickDepositRequest]
2396
2987
  # @param [Hash] opts the optional parameters
2397
2988
  # @return [BankAccountQuickDepositMessage]
2398
- def update_quick_deposit(bank_account_id, quick_deposit_id, bank_account_quick_deposit_save_message, opts = {})
2399
- data, _status_code, _headers = update_quick_deposit_with_http_info(bank_account_id, quick_deposit_id, bank_account_quick_deposit_save_message, opts)
2989
+ def update_quick_deposit(bank_account_id, quick_deposit_id, create_quick_deposit_request, opts = {})
2990
+ data, _status_code, _headers = update_quick_deposit_with_http_info(bank_account_id, quick_deposit_id, create_quick_deposit_request, opts)
2400
2991
  data
2401
2992
  end
2402
2993
 
2403
2994
  # Update a quick deposit
2404
- # Updates a quick deposit. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Any field not included in the update request will be set to either an empty string or &#x60;null&#x60; in the database depending on the field definition. &lt;br /&gt;The recommended workflow to ensure no data is inadvertently overwritten is to execute a &#x60;GET&#x60; request for the resource you&#39;re about to update and then use this response to fill any of the fields that are not being updated. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &amp;gt; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
2995
+ # Updates a quick deposit. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Any field not included in the update request will be set to either an empty string or &#x60;null&#x60; in the database depending on the field definition. &lt;br /&gt;The recommended workflow to ensure no data is inadvertently overwritten is to execute a &#x60;GET&#x60; request for the resource you&#39;re about to update and then use this response to fill any of the fields that are not being updated. &lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Required permission(s):&lt;/h4&gt;&lt;span class&#x3D;\&quot;permissionBlock\&quot;&gt;Accounting &gt; Bank Accounts&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
2405
2996
  # @param bank_account_id [Integer]
2406
2997
  # @param quick_deposit_id [Integer]
2407
- # @param bank_account_quick_deposit_save_message [BankAccountQuickDepositSaveMessage]
2998
+ # @param create_quick_deposit_request [CreateQuickDepositRequest]
2408
2999
  # @param [Hash] opts the optional parameters
2409
3000
  # @return [Array<(BankAccountQuickDepositMessage, Integer, Hash)>] BankAccountQuickDepositMessage data, response status code and response headers
2410
- def update_quick_deposit_with_http_info(bank_account_id, quick_deposit_id, bank_account_quick_deposit_save_message, opts = {})
3001
+ def update_quick_deposit_with_http_info(bank_account_id, quick_deposit_id, create_quick_deposit_request, opts = {})
2411
3002
  if @api_client.config.debugging
2412
3003
  @api_client.config.logger.debug 'Calling API: BankAccountsApi.update_quick_deposit ...'
2413
3004
  end
@@ -2419,9 +3010,9 @@ module Buildium
2419
3010
  if @api_client.config.client_side_validation && quick_deposit_id.nil?
2420
3011
  fail ArgumentError, "Missing the required parameter 'quick_deposit_id' when calling BankAccountsApi.update_quick_deposit"
2421
3012
  end
2422
- # verify the required parameter 'bank_account_quick_deposit_save_message' is set
2423
- if @api_client.config.client_side_validation && bank_account_quick_deposit_save_message.nil?
2424
- fail ArgumentError, "Missing the required parameter 'bank_account_quick_deposit_save_message' when calling BankAccountsApi.update_quick_deposit"
3013
+ # verify the required parameter 'create_quick_deposit_request' is set
3014
+ if @api_client.config.client_side_validation && create_quick_deposit_request.nil?
3015
+ fail ArgumentError, "Missing the required parameter 'create_quick_deposit_request' when calling BankAccountsApi.update_quick_deposit"
2425
3016
  end
2426
3017
  # resource path
2427
3018
  local_var_path = '/v1/bankaccounts/{bankAccountId}/quickdeposits/{quickDepositId}'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s)).sub('{' + 'quickDepositId' + '}', CGI.escape(quick_deposit_id.to_s))
@@ -2436,14 +3027,14 @@ module Buildium
2436
3027
  # HTTP header 'Content-Type'
2437
3028
  content_type = @api_client.select_header_content_type(['application/json'])
2438
3029
  if !content_type.nil?
2439
- header_params['Content-Type'] = content_type
3030
+ header_params['Content-Type'] = content_type
2440
3031
  end
2441
3032
 
2442
3033
  # form parameters
2443
3034
  form_params = opts[:form_params] || {}
2444
3035
 
2445
3036
  # http body (model)
2446
- post_body = opts[:debug_body] || @api_client.object_to_http_body(bank_account_quick_deposit_save_message)
3037
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(create_quick_deposit_request)
2447
3038
 
2448
3039
  # return_type
2449
3040
  return_type = opts[:debug_return_type] || 'BankAccountQuickDepositMessage'
@@ -2467,5 +3058,165 @@ module Buildium
2467
3058
  end
2468
3059
  return data, status_code, headers
2469
3060
  end
3061
+
3062
+ # Update a reconciliation
3063
+ # Updates a reconciliation. Reconciliations can only be updated for bank accounts that are not linked externally. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View` `Edit`
3064
+ # @param bank_account_id [Integer]
3065
+ # @param reconciliation_id [Integer]
3066
+ # @param update_reconciliation_request [UpdateReconciliationRequest]
3067
+ # @param [Hash] opts the optional parameters
3068
+ # @return [BankAccountReconciliationMessage]
3069
+ def update_reconciliation(bank_account_id, reconciliation_id, update_reconciliation_request, opts = {})
3070
+ data, _status_code, _headers = update_reconciliation_with_http_info(bank_account_id, reconciliation_id, update_reconciliation_request, opts)
3071
+ data
3072
+ end
3073
+
3074
+ # Update a reconciliation
3075
+ # Updates a reconciliation. Reconciliations can only be updated for bank accounts that are not linked externally. &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; BankAccount&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
3076
+ # @param bank_account_id [Integer]
3077
+ # @param reconciliation_id [Integer]
3078
+ # @param update_reconciliation_request [UpdateReconciliationRequest]
3079
+ # @param [Hash] opts the optional parameters
3080
+ # @return [Array<(BankAccountReconciliationMessage, Integer, Hash)>] BankAccountReconciliationMessage data, response status code and response headers
3081
+ def update_reconciliation_with_http_info(bank_account_id, reconciliation_id, update_reconciliation_request, opts = {})
3082
+ if @api_client.config.debugging
3083
+ @api_client.config.logger.debug 'Calling API: BankAccountsApi.update_reconciliation ...'
3084
+ end
3085
+ # verify the required parameter 'bank_account_id' is set
3086
+ if @api_client.config.client_side_validation && bank_account_id.nil?
3087
+ fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.update_reconciliation"
3088
+ end
3089
+ # verify the required parameter 'reconciliation_id' is set
3090
+ if @api_client.config.client_side_validation && reconciliation_id.nil?
3091
+ fail ArgumentError, "Missing the required parameter 'reconciliation_id' when calling BankAccountsApi.update_reconciliation"
3092
+ end
3093
+ # verify the required parameter 'update_reconciliation_request' is set
3094
+ if @api_client.config.client_side_validation && update_reconciliation_request.nil?
3095
+ fail ArgumentError, "Missing the required parameter 'update_reconciliation_request' when calling BankAccountsApi.update_reconciliation"
3096
+ end
3097
+ # resource path
3098
+ local_var_path = '/v1/bankaccounts/{bankAccountId}/reconciliations/{reconciliationId}'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s)).sub('{' + 'reconciliationId' + '}', CGI.escape(reconciliation_id.to_s))
3099
+
3100
+ # query parameters
3101
+ query_params = opts[:query_params] || {}
3102
+
3103
+ # header parameters
3104
+ header_params = opts[:header_params] || {}
3105
+ # HTTP header 'Accept' (if needed)
3106
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3107
+ # HTTP header 'Content-Type'
3108
+ content_type = @api_client.select_header_content_type(['application/json'])
3109
+ if !content_type.nil?
3110
+ header_params['Content-Type'] = content_type
3111
+ end
3112
+
3113
+ # form parameters
3114
+ form_params = opts[:form_params] || {}
3115
+
3116
+ # http body (model)
3117
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(update_reconciliation_request)
3118
+
3119
+ # return_type
3120
+ return_type = opts[:debug_return_type] || 'BankAccountReconciliationMessage'
3121
+
3122
+ # auth_names
3123
+ auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
3124
+
3125
+ new_options = opts.merge(
3126
+ :operation => :"BankAccountsApi.update_reconciliation",
3127
+ :header_params => header_params,
3128
+ :query_params => query_params,
3129
+ :form_params => form_params,
3130
+ :body => post_body,
3131
+ :auth_names => auth_names,
3132
+ :return_type => return_type
3133
+ )
3134
+
3135
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
3136
+ if @api_client.config.debugging
3137
+ @api_client.config.logger.debug "API called: BankAccountsApi#update_reconciliation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3138
+ end
3139
+ return data, status_code, headers
3140
+ end
3141
+
3142
+ # Update a reconciliation's balance
3143
+ # Updates a bank account reconciliation's balance. Reconciliation balances can only be updated for bank accounts that are not linked externally. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View` `Edit`
3144
+ # @param bank_account_id [Integer]
3145
+ # @param reconciliation_id [Integer]
3146
+ # @param update_reconciliation_balances_request [UpdateReconciliationBalancesRequest]
3147
+ # @param [Hash] opts the optional parameters
3148
+ # @return [BankAccountReconciliationBalanceMessage]
3149
+ def update_reconciliation_balances(bank_account_id, reconciliation_id, update_reconciliation_balances_request, opts = {})
3150
+ data, _status_code, _headers = update_reconciliation_balances_with_http_info(bank_account_id, reconciliation_id, update_reconciliation_balances_request, opts)
3151
+ data
3152
+ end
3153
+
3154
+ # Update a reconciliation&#39;s balance
3155
+ # Updates a bank account reconciliation&#39;s balance. Reconciliation balances can only be updated for bank accounts that are not linked externally. &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; BankAccount&lt;/span&gt; - &#x60;View&#x60; &#x60;Edit&#x60;
3156
+ # @param bank_account_id [Integer]
3157
+ # @param reconciliation_id [Integer]
3158
+ # @param update_reconciliation_balances_request [UpdateReconciliationBalancesRequest]
3159
+ # @param [Hash] opts the optional parameters
3160
+ # @return [Array<(BankAccountReconciliationBalanceMessage, Integer, Hash)>] BankAccountReconciliationBalanceMessage data, response status code and response headers
3161
+ def update_reconciliation_balances_with_http_info(bank_account_id, reconciliation_id, update_reconciliation_balances_request, opts = {})
3162
+ if @api_client.config.debugging
3163
+ @api_client.config.logger.debug 'Calling API: BankAccountsApi.update_reconciliation_balances ...'
3164
+ end
3165
+ # verify the required parameter 'bank_account_id' is set
3166
+ if @api_client.config.client_side_validation && bank_account_id.nil?
3167
+ fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.update_reconciliation_balances"
3168
+ end
3169
+ # verify the required parameter 'reconciliation_id' is set
3170
+ if @api_client.config.client_side_validation && reconciliation_id.nil?
3171
+ fail ArgumentError, "Missing the required parameter 'reconciliation_id' when calling BankAccountsApi.update_reconciliation_balances"
3172
+ end
3173
+ # verify the required parameter 'update_reconciliation_balances_request' is set
3174
+ if @api_client.config.client_side_validation && update_reconciliation_balances_request.nil?
3175
+ fail ArgumentError, "Missing the required parameter 'update_reconciliation_balances_request' when calling BankAccountsApi.update_reconciliation_balances"
3176
+ end
3177
+ # resource path
3178
+ local_var_path = '/v1/bankaccounts/{bankAccountId}/reconciliations/{reconciliationId}/balances'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s)).sub('{' + 'reconciliationId' + '}', CGI.escape(reconciliation_id.to_s))
3179
+
3180
+ # query parameters
3181
+ query_params = opts[:query_params] || {}
3182
+
3183
+ # header parameters
3184
+ header_params = opts[:header_params] || {}
3185
+ # HTTP header 'Accept' (if needed)
3186
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3187
+ # HTTP header 'Content-Type'
3188
+ content_type = @api_client.select_header_content_type(['application/json'])
3189
+ if !content_type.nil?
3190
+ header_params['Content-Type'] = content_type
3191
+ end
3192
+
3193
+ # form parameters
3194
+ form_params = opts[:form_params] || {}
3195
+
3196
+ # http body (model)
3197
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(update_reconciliation_balances_request)
3198
+
3199
+ # return_type
3200
+ return_type = opts[:debug_return_type] || 'BankAccountReconciliationBalanceMessage'
3201
+
3202
+ # auth_names
3203
+ auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
3204
+
3205
+ new_options = opts.merge(
3206
+ :operation => :"BankAccountsApi.update_reconciliation_balances",
3207
+ :header_params => header_params,
3208
+ :query_params => query_params,
3209
+ :form_params => form_params,
3210
+ :body => post_body,
3211
+ :auth_names => auth_names,
3212
+ :return_type => return_type
3213
+ )
3214
+
3215
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
3216
+ if @api_client.config.debugging
3217
+ @api_client.config.logger.debug "API called: BankAccountsApi#update_reconciliation_balances\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3218
+ end
3219
+ return data, status_code, headers
3220
+ end
2470
3221
  end
2471
3222
  end