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.
- checksums.yaml +4 -4
- data/.gitlab-ci.yml +26 -0
- data/.openapi-generator/FILES +732 -116
- data/.travis.yml +14 -0
- data/DOCS.md +157 -157
- data/Dockerfile +34 -0
- data/Gemfile.lock +2 -2
- data/README.md +1404 -79
- data/bin/config.yml +1 -1
- data/bin/rebuild.sh +1 -0
- data/bin/swagger.json +14128 -10005
- data/docker-compose.yml +19 -0
- data/docs/AccountInfoMessage.md +2 -2
- data/docs/AccountInfoMessageAccountingSettings.md +28 -0
- data/docs/AccountInfoMessageContact.md +24 -0
- data/docs/AccountingEntityMessage.md +1 -1
- data/docs/AccountingEntityMessageUnit.md +20 -0
- data/docs/AccountingEntityPatchMessage.md +22 -0
- data/docs/AccountingLockPeriodMessage.md +1 -1
- data/docs/AccountingLockPeriodMessageGlobal.md +18 -0
- data/docs/AdministrationApi.md +157 -6
- data/docs/AllTasksMessage.md +4 -4
- data/docs/AllTasksMessageCategory.md +24 -0
- data/docs/AllTasksMessageProperty.md +22 -0
- data/docs/AllTasksMessageRequestedByUserEntity.md +28 -0
- data/docs/AllTasksMessageUnitAgreement.md +22 -0
- data/docs/AnnouncementMessage.md +1 -1
- data/docs/AnnouncementMessageSender.md +22 -0
- data/docs/AppliancesApi.md +26 -26
- data/docs/ApplicantMessage.md +3 -1
- data/docs/ApplicantPostMessage.md +1 -1
- data/docs/ApplicantPostMessagePhoneNumbers.md +24 -0
- data/docs/ApplicantPutMessage.md +1 -1
- data/docs/ApplicantPutMessagePhoneNumbers.md +24 -0
- data/docs/ApplicantsApi.md +70 -66
- data/docs/ArchitecturalRequestsApi.md +590 -0
- data/docs/ArchitecturalRequestsPostMessage.md +28 -0
- data/docs/AssociationArchitecturalRequestFileMessage.md +28 -0
- data/docs/AssociationArchitecturalRequestMessage.md +38 -0
- data/docs/AssociationArchitecturalRequestMessageCreatedByUser.md +24 -0
- data/docs/AssociationArchitecturalRequestMessageLastUpdatedByUser.md +26 -0
- data/docs/AssociationMessage.md +3 -3
- data/docs/AssociationMessageAddress.md +30 -0
- data/docs/AssociationMessageAssociationManager.md +32 -0
- data/docs/AssociationMessageTaxInformation.md +26 -0
- data/docs/AssociationMeterReadingsApi.md +10 -10
- data/docs/AssociationOwnerMessage.md +3 -3
- data/docs/AssociationOwnerMessageAlternateAddress.md +30 -0
- data/docs/AssociationOwnerMessageEmergencyContact.md +24 -0
- data/docs/AssociationOwnerMessagePrimaryAddress.md +30 -0
- data/docs/AssociationOwnerPostMessage.md +5 -5
- data/docs/AssociationOwnerPostMessageAlternateAddress.md +30 -0
- data/docs/AssociationOwnerPostMessageBoardMemberTerm.md +22 -0
- data/docs/AssociationOwnerPostMessageEmergencyContact.md +24 -0
- data/docs/AssociationOwnerPostMessagePhoneNumbers.md +24 -0
- data/docs/AssociationOwnerPostMessagePrimaryAddress.md +30 -0
- data/docs/AssociationOwnerPutMessage.md +4 -4
- data/docs/AssociationOwnerPutMessagePhoneNumbers.md +24 -0
- data/docs/AssociationOwnerToExistingOwnershipAccountPostMessage.md +5 -5
- data/docs/AssociationOwnerToExistingOwnershipAccountPostMessageEmergencyContact.md +24 -0
- data/docs/AssociationOwnerToExistingOwnershipAccountPostMessagePhoneNumbers.md +24 -0
- data/docs/AssociationOwnersApi.md +41 -41
- data/docs/AssociationPostMessage.md +2 -2
- data/docs/AssociationPostMessageAddress.md +30 -0
- data/docs/AssociationPostMessageTaxInformation.md +26 -0
- data/docs/AssociationPutMessage.md +1 -1
- data/docs/AssociationTaxInformationMessage.md +1 -1
- data/docs/AssociationTaxInformationMessageAddress.md +30 -0
- data/docs/AssociationTenantMessage.md +3 -3
- data/docs/AssociationTenantPostMessage.md +4 -4
- data/docs/AssociationTenantPostMessageAlternateAddress.md +30 -0
- data/docs/AssociationTenantPostMessageEmergencyContact.md +24 -0
- data/docs/AssociationTenantPostMessagePhoneNumbers.md +24 -0
- data/docs/AssociationTenantPostMessagePrimaryAddress.md +30 -0
- data/docs/AssociationTenantPutMessage.md +4 -4
- data/docs/AssociationTenantPutMessagePhoneNumbers.md +24 -0
- data/docs/AssociationTenantsApi.md +32 -32
- data/docs/AssociationUnitMessage.md +1 -1
- data/docs/AssociationUnitMessageAddress.md +30 -0
- data/docs/AssociationUnitPutMessage.md +1 -1
- data/docs/AssociationUnitPutMessageAddress.md +30 -0
- data/docs/AssociationUnitsApi.md +32 -32
- data/docs/AssociationUnitsPostMessage.md +1 -1
- data/docs/AssociationsApi.md +51 -51
- data/docs/BankAccountCheckLineMessage.md +1 -1
- data/docs/BankAccountCheckLineMessageAccountingEntity.md +24 -0
- data/docs/BankAccountCheckLineSaveMessage.md +1 -1
- data/docs/BankAccountCheckLineSaveMessageAccountingEntity.md +22 -0
- data/docs/BankAccountCheckMessage.md +1 -1
- data/docs/BankAccountCheckMessagePayee.md +22 -0
- data/docs/BankAccountCheckPostMessage.md +1 -1
- data/docs/BankAccountCheckPostMessagePayee.md +20 -0
- data/docs/BankAccountCheckPutMessage.md +1 -1
- data/docs/BankAccountDepositLineMessage.md +1 -1
- data/docs/BankAccountDepositLineMessageAccountingEntity.md +24 -0
- data/docs/BankAccountDepositLineSaveMessage.md +1 -1
- data/docs/BankAccountDepositLineSaveMessageAccountingEntity.md +22 -0
- data/docs/BankAccountMessage.md +3 -3
- data/docs/BankAccountMessageCheckPrintingInfo.md +46 -0
- data/docs/BankAccountMessageElectronicPayments.md +32 -0
- data/docs/BankAccountMessageGLAccount.md +46 -0
- data/docs/BankAccountPostMessage.md +1 -1
- data/docs/BankAccountPostMessageCheckPrintingInfo.md +46 -0
- data/docs/BankAccountPutMessage.md +1 -1
- data/docs/BankAccountPutMessageCheckPrintingInfo.md +46 -0
- data/docs/BankAccountQuickDepositMessage.md +1 -1
- data/docs/BankAccountQuickDepositMessageAccountingEntity.md +24 -0
- data/docs/BankAccountQuickDepositSaveMessage.md +1 -1
- data/docs/BankAccountQuickDepositSaveMessageAccountingEntity.md +22 -0
- data/docs/BankAccountReconciliationBalanceMessage.md +22 -0
- data/docs/BankAccountReconciliationBalanceMessageClearedBalance.md +24 -0
- data/docs/BankAccountReconciliationBalanceMessageStatementBalance.md +24 -0
- data/docs/BankAccountReconciliationBalancePutMessage.md +22 -0
- data/docs/BankAccountReconciliationMessage.md +22 -0
- data/docs/BankAccountReconciliationTransactionMessage.md +34 -0
- data/docs/BankAccountTransferMessage.md +1 -1
- data/docs/BankAccountTransferMessageAccountingEntity.md +24 -0
- data/docs/BankAccountTransferSaveMessage.md +1 -1
- data/docs/BankAccountTransferSaveMessageAccountingEntity.md +22 -0
- data/docs/BankAccountWithdrawalMessage.md +1 -1
- data/docs/BankAccountWithdrawalMessageAccountingEntity.md +24 -0
- data/docs/BankAccountWithdrawalSaveMessage.md +1 -1
- data/docs/BankAccountWithdrawalSaveMessageAccountingEntity.md +22 -0
- data/docs/BankAccountsApi.md +964 -155
- data/docs/BankLockboxDataAssociationOwnerMessage.md +7 -1
- data/docs/BankLockboxDataMessage.md +1 -1
- data/docs/BankLockboxDataMessageAssociation.md +22 -0
- data/docs/BankLockboxDataOwnershipAccountMessage.md +1 -1
- data/docs/BankLockboxDataOwnershipAccountMessageUnitAddress.md +30 -0
- data/docs/BankPendingReconciliationPostMessage.md +24 -0
- data/docs/BankReconciliationClearTransactionsPostMessage.md +18 -0
- data/docs/BankReconciliationClearedBalanceMessage.md +24 -0
- data/docs/BankReconciliationPutMessage.md +18 -0
- data/docs/BankReconciliationStatementBalanceMessage.md +24 -0
- data/docs/BankReconciliationUnclearTransactionsPostMessage.md +18 -0
- data/docs/BillLineItemPatchMessage.md +28 -0
- data/docs/BillLineItemPatchMessageAccountingEntity.md +22 -0
- data/docs/BillLineItemPatchMessageMarkup.md +20 -0
- data/docs/BillLineMessage.md +3 -3
- data/docs/BillLineMessageAccountingEntity.md +24 -0
- data/docs/BillLineMessageGLAccount.md +46 -0
- data/docs/BillLineMessageMarkup.md +20 -0
- data/docs/BillLinePostMessage.md +2 -2
- data/docs/BillLinePostMessageAccountingEntity.md +22 -0
- data/docs/BillLinePostMessageMarkup.md +20 -0
- data/docs/BillLinePutMessage.md +2 -2
- data/docs/BillMarkupPatchMessage.md +20 -0
- data/docs/BillPatchMessage.md +28 -0
- data/docs/BillPaymentLineMessage.md +1 -1
- data/docs/BillPaymentLineMessageAccountingEntity.md +22 -0
- data/docs/BillsApi.md +143 -64
- data/docs/BoardMembersApi.md +17 -17
- data/docs/BudgetDetailsMessage.md +1 -1
- data/docs/BudgetDetailsMessageMonthlyAmounts.md +40 -0
- data/docs/BudgetDetailsSaveMessage.md +1 -1
- data/docs/BudgetDetailsSaveMessageMonthlyAmounts.md +40 -0
- data/docs/BudgetMessage.md +1 -1
- data/docs/BudgetMessageProperty.md +22 -0
- data/docs/BudgetsApi.md +21 -21
- data/docs/ClearTransactionsRequest.md +18 -0
- data/docs/ClientLeadMessage.md +2 -2
- data/docs/ClientLeadMessageAddress.md +30 -0
- data/docs/ClientLeadMessageCreditRequest.md +24 -0
- data/docs/ClientLeadsApi.md +2 -2
- data/docs/CommunicationsApi.md +39 -39
- data/docs/ContactDetailMessage.md +1 -1
- data/docs/ContactDetailMessagePhoneNumbers.md +22 -0
- data/docs/ContactDetailSaveMessage.md +1 -1
- data/docs/ContactDetailSaveMessagePhoneNumbers.md +22 -0
- data/docs/ContactInfoMessage.md +1 -1
- data/docs/ContactInfoMessageAddress.md +30 -0
- data/docs/ContactRequestTaskMessage.md +3 -3
- data/docs/ContactRequestTaskMessageCategory.md +24 -0
- data/docs/ContactRequestTaskMessageContactDetail.md +24 -0
- data/docs/ContactRequestTaskMessageProperty.md +22 -0
- data/docs/ContactRequestTaskPostMessage.md +1 -1
- data/docs/ContactRequestTaskPostMessageContactDetail.md +24 -0
- data/docs/ContactRequestTaskPutMessage.md +1 -1
- data/docs/ContactRequestTaskPutMessageContactDetail.md +24 -0
- data/docs/ContactRequestsApi.md +16 -16
- data/docs/CosignerMessage.md +2 -2
- data/docs/CosignerMessageAddress.md +30 -0
- data/docs/CosignerMessageAlternateAddress.md +30 -0
- data/docs/CreateAnnouncementRequest.md +28 -0
- data/docs/CreateApplicantGroupRequest.md +20 -0
- data/docs/CreateApplicantRequest.md +28 -0
- data/docs/CreateArchitecturalRequestAsyncRequest.md +28 -0
- data/docs/CreateAssociationApplianceRequest.md +32 -0
- data/docs/CreateAssociationApplianceServiceHistoryRequest.md +22 -0
- data/docs/CreateAssociationOwnerRequest.md +48 -0
- data/docs/CreateAssociationOwnershipAccountRequest.md +32 -0
- data/docs/CreateAssociationRequest.md +34 -0
- data/docs/CreateAssociationTenantRequest.md +42 -0
- data/docs/CreateAssociationUnitRequest.md +28 -0
- data/docs/CreateBankAccountCheckRequest.md +26 -0
- data/docs/CreateBankAccountDepositRequest.md +24 -0
- data/docs/CreateBankAccountRequest.md +30 -0
- data/docs/CreateBankAccountTransferRequest.md +26 -0
- data/docs/CreateBillPaymentRequest.md +26 -0
- data/docs/CreateBillRequest.md +30 -0
- data/docs/CreateBoardMemberRequest.md +24 -0
- data/docs/CreateBudgetAsyncRequest.md +26 -0
- data/docs/CreateContactRequestTaskRequest.md +38 -0
- data/docs/CreateEmailRequest.md +30 -0
- data/docs/CreateFileCategoryRequest.md +18 -0
- data/docs/CreateGeneralJournalEntryRequest.md +24 -0
- data/docs/CreateGeneralLedgerAccountRequest.md +32 -0
- data/docs/CreateLeaseAutoAllocatedPaymentRequest.md +30 -0
- data/docs/CreateLeaseCreditRequest.md +26 -0
- data/docs/CreateLeaseLedgerChargeRequest.md +24 -0
- data/docs/CreateLeaseLedgerDepositWithholdingRequest.md +24 -0
- data/docs/CreateLeaseLedgerRefundRequest.md +30 -0
- data/docs/CreateLeaseNoteRequest.md +18 -0
- data/docs/CreateLeaseRenewalRequest.md +38 -0
- data/docs/CreateLeaseRequest.md +42 -0
- data/docs/CreateLeaseReversePaymentRequest.md +24 -0
- data/docs/CreateListingContactRequest.md +24 -0
- data/docs/CreateMoveOutDataRequest.md +22 -0
- data/docs/CreateMultipleBillPaymentsRequest.md +26 -0
- data/docs/CreateOwnershipAccountAutoAllocatedPaymentRequest.md +30 -0
- data/docs/CreateOwnershipAccountCreditRecurringTransactionRequest.md +36 -0
- data/docs/CreateOwnershipAccountCreditRequest.md +26 -0
- data/docs/CreateOwnershipAccountDepositWithholdingRequest.md +24 -0
- data/docs/CreateOwnershipAccountLedgerChargeRequest.md +24 -0
- data/docs/CreateOwnershipAccountLedgerPaymentRequest.md +30 -0
- data/docs/CreateOwnershipAccountRecurringPaymentRequest.md +34 -0
- data/docs/CreateOwnershipAccountRefundRequest.md +30 -0
- data/docs/CreateOwnershipAccountsChargeRecurringTransactionRequest.md +32 -0
- data/docs/CreatePaymentRequest.md +30 -0
- data/docs/CreatePendingReconciliationsRequest.md +24 -0
- data/docs/CreatePhoneLogRequest.md +24 -0
- data/docs/CreatePropertyGroupRequest.md +22 -0
- data/docs/CreateQuickDepositRequest.md +26 -0
- data/docs/CreateRentScheduleRequest.md +24 -0
- data/docs/CreateRentalApplianceRequest.md +32 -0
- data/docs/CreateRentalApplianceServiceHistoryRequest.md +22 -0
- data/docs/CreateRentalImageUploadFileRequestAsyncRequest.md +22 -0
- data/docs/CreateRentalOwnerRequest.md +44 -0
- data/docs/CreateRentalOwnerRequestTaskRequest.md +38 -0
- data/docs/CreateRentalPropertyRequest.md +36 -0
- data/docs/CreateRentalTenantRequest.md +42 -0
- data/docs/CreateRentalUnitRequest.md +32 -0
- data/docs/CreateResourceRequest.md +46 -0
- data/docs/CreateTaskCategoryRequest.md +18 -0
- data/docs/CreateToDoTaskRequest.md +36 -0
- data/docs/CreateUploadFileRequestAsyncRequest.md +28 -0
- data/docs/CreateUploadFileRequestRequest.md +18 -0
- data/docs/CreateVendorCategoryRequest.md +18 -0
- data/docs/CreateVendorCreditRequest.md +24 -0
- data/docs/CreateVendorRefundRequest.md +28 -0
- data/docs/CreateVendorRequest.md +46 -0
- data/docs/CreateVideoLinkRequestRequest.md +20 -0
- data/docs/CreateWithdrawalForBankAccountRequest.md +26 -0
- data/docs/CreateWorkOrderRequest.md +40 -0
- data/docs/EPaySettingsMessage.md +3 -3
- data/docs/EPaySettingsMessageCreditCardPayments.md +18 -0
- data/docs/EPaySettingsMessageEFTPayments.md +18 -0
- data/docs/EPaySettingsMessageOfflinePayments.md +22 -0
- data/docs/EPaySettingsPutMessage.md +3 -3
- data/docs/EPaySettingsPutMessageCreditCardPayments.md +18 -0
- data/docs/EPaySettingsPutMessageEFTPayments.md +18 -0
- data/docs/EPaySettingsPutMessageOfflinePayments.md +22 -0
- data/docs/EmailMessage.md +1 -1
- data/docs/EmailMessageSender.md +24 -0
- data/docs/EmailPostMessage.md +1 -1
- data/docs/FileMessage.md +1 -1
- data/docs/FileMessageFileEntity.md +22 -0
- data/docs/FileSharingMessage.md +12 -12
- data/docs/FileSharingMessageAccount.md +26 -0
- data/docs/FileSharingMessageAssociation.md +20 -0
- data/docs/FileSharingMessageAssociationOwner.md +18 -0
- data/docs/FileSharingMessageAssociationUnit.md +20 -0
- data/docs/FileSharingMessageCommittee.md +22 -0
- data/docs/FileSharingMessageLease.md +20 -0
- data/docs/FileSharingMessageOwnershipAccount.md +20 -0
- data/docs/FileSharingMessageRental.md +20 -0
- data/docs/FileSharingMessageRentalOwner.md +18 -0
- data/docs/FileSharingMessageRentalUnit.md +20 -0
- data/docs/FileSharingMessageTenant.md +20 -0
- data/docs/FileSharingMessageVendor.md +18 -0
- data/docs/FileSharingPutMessage.md +12 -12
- data/docs/FileSharingPutMessageAccount.md +26 -0
- data/docs/FileSharingPutMessageAssociation.md +20 -0
- data/docs/FileSharingPutMessageAssociationOwner.md +18 -0
- data/docs/FileSharingPutMessageAssociationUnit.md +20 -0
- data/docs/FileSharingPutMessageCommittee.md +22 -0
- data/docs/FileSharingPutMessageLease.md +20 -0
- data/docs/FileSharingPutMessageOwnershipAccount.md +20 -0
- data/docs/FileSharingPutMessageRental.md +20 -0
- data/docs/FileSharingPutMessageRentalOwner.md +18 -0
- data/docs/FileSharingPutMessageRentalUnit.md +20 -0
- data/docs/FileSharingPutMessageTenant.md +20 -0
- data/docs/FileSharingPutMessageVendor.md +18 -0
- data/docs/FilesApi.md +41 -41
- data/docs/GLAccountBalanceItemMessage.md +1 -1
- data/docs/GLAccountBalanceItemMessageAccountingEntity.md +24 -0
- data/docs/GLAccountBalanceMessage.md +1 -1
- data/docs/GLAccountBalanceMessageGLAccount.md +46 -0
- data/docs/GeneralJournalEntryPostMessage.md +1 -1
- data/docs/GeneralJournalEntryPostMessageAccountingEntity.md +22 -0
- data/docs/GeneralJournalEntryPutMessage.md +1 -1
- data/docs/GeneralLedgerApi.md +42 -34
- data/docs/GeneralLedgerEntryMessage.md +1 -1
- data/docs/GeneralLedgerEntryMessageAccountingEntity.md +24 -0
- data/docs/GeneralLedgerJournalLineMessage.md +2 -2
- data/docs/GeneralLedgerJournalLineMessageAccountingEntity.md +24 -0
- data/docs/GeneralLedgerJournalLineMessageGLAccount.md +46 -0
- data/docs/GeneralLedgerTransactionMessage.md +7 -5
- data/docs/GeneralLedgerTransactionMessageDepositDetails.md +20 -0
- data/docs/GeneralLedgerTransactionMessageJournal.md +20 -0
- data/docs/GeneralLedgerTransactionMessagePaymentDetail.md +24 -0
- data/docs/GeneralLedgerTransactionMessageUnitAgreement.md +22 -0
- data/docs/JavaScriptEncoder.md +18 -0
- data/docs/JournalLineMessage.md +1 -1
- data/docs/LeaseChargeLineMessage.md +20 -0
- data/docs/LeaseChargeMessage.md +28 -0
- data/docs/LeaseChargePostMessage.md +2 -0
- data/docs/LeaseCosignerPostMessage.md +3 -3
- data/docs/LeaseCosignerPostMessageAddress.md +30 -0
- data/docs/LeaseCosignerPostMessageAlternateAddress.md +30 -0
- data/docs/LeaseCosignerPostMessagePhoneNumbers.md +24 -0
- data/docs/LeaseLedgerDepositWithholdingLinePutMessage.md +20 -0
- data/docs/LeaseLedgerDepositWithholdingPutMessage.md +24 -0
- data/docs/LeaseLedgerRefundMessage.md +1 -1
- data/docs/LeaseLedgerRefundMessageAddress.md +30 -0
- data/docs/LeaseLedgerRefundPostMessage.md +1 -1
- data/docs/LeaseLedgerRefundPostMessageAddress.md +30 -0
- data/docs/LeaseLedgerReversePaymentPostMessage.md +2 -2
- data/docs/LeaseLedgerReversePaymentPostMessageBankFee.md +20 -0
- data/docs/LeaseLedgerReversePaymentPostMessageNSFCharge.md +20 -0
- data/docs/LeaseMessage.md +1 -1
- data/docs/LeaseMessageAccountDetails.md +20 -0
- data/docs/LeasePostMessage.md +2 -2
- data/docs/LeasePostMessageRent.md +20 -0
- data/docs/LeasePostMessageSecurityDeposit.md +20 -0
- data/docs/LeaseRecurringPaymentMessage.md +1 -1
- data/docs/LeaseRecurringPaymentMessagePayer.md +24 -0
- data/docs/LeaseRenewalPostMessage.md +1 -1
- data/docs/LeaseRenewalPostMessageRent.md +20 -0
- data/docs/LeaseTransactionMessage.md +1 -1
- data/docs/LeaseTransactionMessageJournal.md +20 -0
- data/docs/LeaseTransactionsApi.md +343 -92
- data/docs/LeasesApi.md +380 -64
- data/docs/ListingMessage.md +3 -3
- data/docs/ListingMessageContact.md +26 -0
- data/docs/ListingMessageProperty.md +34 -0
- data/docs/ListingMessageUnit.md +36 -0
- data/docs/ListingPropertyMessage.md +1 -1
- data/docs/ListingPropertyMessageAddress.md +30 -0
- data/docs/ListingUnitMessage.md +1 -1
- data/docs/ListingUnitMessageAddress.md +30 -0
- data/docs/ListingsApi.md +26 -26
- data/docs/LockPeriodSettingsOverridesMessage.md +1 -1
- data/docs/LockPeriodSettingsOverridesMessageProperty.md +22 -0
- data/docs/NoteMessage.md +1 -1
- data/docs/NoteMessageLastUpdatedByUser.md +26 -0
- data/docs/OwnershipAccountDepositWithholdingLinePutMessage.md +20 -0
- data/docs/OwnershipAccountDepositWithholdingPostMessage.md +2 -2
- data/docs/OwnershipAccountDepositWithholdingPutMessage.md +24 -0
- data/docs/OwnershipAccountLedgerChargeLineMessage.md +20 -0
- data/docs/OwnershipAccountLedgerChargeMessage.md +28 -0
- data/docs/OwnershipAccountLedgerChargePostMessage.md +2 -0
- data/docs/OwnershipAccountRecurringPaymentMessage.md +1 -1
- data/docs/OwnershipAccountRefundMessage.md +1 -1
- data/docs/OwnershipAccountRefundPostMessage.md +1 -1
- data/docs/OwnershipAccountTransactionMessage.md +1 -1
- data/docs/OwnershipAccountTransactionsApi.md +336 -85
- data/docs/OwnershipAccountsApi.md +188 -32
- data/docs/PaidByMessage.md +1 -1
- data/docs/PartialPaymentSettingsMessage.md +18 -0
- data/docs/PartialPaymentSettingsPatchMessage.md +18 -0
- data/docs/ParticipantMessage.md +1 -1
- data/docs/ParticipantMessageUnitAgreement.md +22 -0
- data/docs/PatchBillRequest.md +28 -0
- data/docs/PatchGlobalPartialPaymentSettingsRequest.md +18 -0
- data/docs/PaymentDetailMessage.md +2 -2
- data/docs/PaymentDetailMessageInternalTransactionStatus.md +22 -0
- data/docs/PaymentDetailMessagePayee.md +24 -0
- data/docs/PaymentTransactionsMessage.md +1 -1
- data/docs/PaymentTransactionsMessageAccountingEntity.md +24 -0
- data/docs/PhoneLogMessage.md +2 -2
- data/docs/PhoneLogMessageLoggedByStaffUser.md +24 -0
- data/docs/PhoneLogMessageParticipant.md +22 -0
- data/docs/PhoneLogParticipantPostMessage.md +1 -1
- data/docs/PhoneLogParticipantPostMessageUnitAgreement.md +20 -0
- data/docs/PhoneLogPostMessage.md +1 -1
- data/docs/PhoneLogPostMessageParticipant.md +22 -0
- data/docs/PropertyGroupMessage.md +1 -1
- data/docs/PropertyGroupMessageCreatedByUser.md +24 -0
- data/docs/PropertyGroupsApi.md +16 -16
- data/docs/RecurringTransactionMessage.md +2 -0
- data/docs/RentScheduleChargePostMessage.md +26 -0
- data/docs/RentScheduleChargePutMessage.md +26 -0
- data/docs/RentSchedulePostMessage.md +24 -0
- data/docs/RentSchedulePutMessage.md +22 -0
- data/docs/RentalAppliancesApi.md +26 -26
- data/docs/RentalMessage.md +2 -2
- data/docs/RentalMessageRentalManager.md +32 -0
- data/docs/RentalMeterReadingsApi.md +10 -10
- data/docs/RentalOwnerContributionDataMessage.md +1 -1
- data/docs/RentalOwnerContributionDataMessageReminderSettings.md +20 -0
- data/docs/RentalOwnerContributionDataPutMessage.md +1 -1
- data/docs/RentalOwnerContributionDataPutMessageReminderSettings.md +20 -0
- data/docs/RentalOwnerMessage.md +2 -2
- data/docs/RentalOwnerMessageAddress.md +30 -0
- data/docs/RentalOwnerMessageTaxInformation.md +28 -0
- data/docs/RentalOwnerPostMessage.md +3 -3
- data/docs/RentalOwnerPostMessageAddress.md +30 -0
- data/docs/RentalOwnerPostMessagePhoneNumbers.md +24 -0
- data/docs/RentalOwnerPostMessageTaxInformation.md +26 -0
- data/docs/RentalOwnerPutMessage.md +2 -2
- data/docs/RentalOwnerRequestTaskMessage.md +3 -3
- data/docs/RentalOwnerRequestTaskMessageRequestedByUserEntity.md +28 -0
- data/docs/RentalOwnerRequestsApi.md +25 -31
- data/docs/RentalOwnerTaxInformationMessage.md +1 -1
- data/docs/RentalOwnersApi.md +32 -32
- data/docs/RentalPropertiesApi.md +412 -90
- data/docs/RentalPropertyPostMessage.md +1 -1
- data/docs/RentalPropertyPostMessageAddress.md +30 -0
- data/docs/RentalPropertyPutMessage.md +1 -1
- data/docs/RentalPropertyPutMessageAddress.md +30 -0
- data/docs/RentalPropertyUnitPostMessage.md +1 -1
- data/docs/RentalPropertyUnitPostMessageAddress.md +30 -0
- data/docs/RentalTenantPostMessage.md +4 -4
- data/docs/RentalTenantPutMessage.md +4 -4
- data/docs/RentalTenantRenewalPostMessage.md +4 -4
- data/docs/RentalTenantsApi.md +34 -32
- data/docs/RentalUnitMessage.md +1 -1
- data/docs/RentalUnitPutMessage.md +1 -1
- data/docs/RentalUnitsApi.md +56 -378
- data/docs/RentalUnitsPostMessage.md +1 -1
- data/docs/ReorderRentalImagesRequest.md +18 -0
- data/docs/ResidentCenterApi.md +10 -10
- data/docs/ResidentCenterUserMessage.md +2 -2
- data/docs/ResidentCenterUserMessageUnitAgreement.md +22 -0
- data/docs/ResidentCenterUserMessageUser.md +26 -0
- data/docs/ResidentRequestTaskMessage.md +5 -5
- data/docs/ResidentRequestTaskMessageAppliance.md +26 -0
- data/docs/ResidentRequestTaskMessageRequestedByUserEntity.md +28 -0
- data/docs/ResidentRequestTaskMessageUnitAgreement.md +22 -0
- data/docs/ResidentRequestTaskPostMessage.md +2 -2
- data/docs/ResidentRequestsApi.md +16 -16
- data/docs/RetailCashUserMessage.md +4 -4
- data/docs/RetailCashUserMessageProperty.md +24 -0
- data/docs/RetailCashUserMessageUnit.md +22 -0
- data/docs/RetailCashUserMessageUnitAgreement.md +22 -0
- data/docs/RetailCashUserMessageUser.md +30 -0
- data/docs/TaskCategoryResponseMessage.md +1 -1
- data/docs/TaskCategoryResponseMessageSubCategory.md +20 -0
- data/docs/TaskHistoryMessage.md +2 -2
- data/docs/TaskHistoryMessageCreatedByUser.md +26 -0
- data/docs/TaskHistoryMessageLastUpdatedByUser.md +26 -0
- data/docs/TaskHistoryUserMessage.md +3 -1
- data/docs/TasksApi.md +38 -38
- data/docs/TaxInformationPostMessage.md +1 -1
- data/docs/TaxInformationPostMessageAddress.md +30 -0
- data/docs/TaxInformationSaveMessage.md +1 -1
- data/docs/TenantMessage.md +3 -3
- data/docs/TenantMessageAddress.md +30 -0
- data/docs/TenantMessageAlternateAddress.md +30 -0
- data/docs/TenantMessageEmergencyContact.md +24 -0
- data/docs/ToDoRequestsApi.md +16 -16
- data/docs/ToDoTaskMessage.md +2 -2
- data/docs/UnclearTransactionsRequest.md +18 -0
- data/docs/UndepositedFundsMessage.md +1 -1
- data/docs/UndepositedFundsMessageGeneralLedgerTransaction.md +26 -0
- data/docs/UpdateApplicantGroupRequest.md +22 -0
- data/docs/UpdateApplicantRequest.md +26 -0
- data/docs/UpdateApplicationRequest.md +18 -0
- data/docs/UpdateAssociationApplianceRequest.md +28 -0
- data/docs/UpdateAssociationOwnerOccupancyStatusRequest.md +18 -0
- data/docs/UpdateAssociationOwnerRequest.md +38 -0
- data/docs/UpdateAssociationOwnershipAccountRequest.md +18 -0
- data/docs/UpdateAssociationPreferredVendorsRequest.md +18 -0
- data/docs/UpdateAssociationRequest.md +34 -0
- data/docs/UpdateAssociationTenantRequest.md +38 -0
- data/docs/UpdateAssociationUnitRequest.md +26 -0
- data/docs/UpdateBankAccountDepositRequest.md +22 -0
- data/docs/UpdateBankAccountRequest.md +30 -0
- data/docs/UpdateBillRequest.md +28 -0
- data/docs/UpdateBoardMemberRequest.md +22 -0
- data/docs/UpdateBudgetRequest.md +20 -0
- data/docs/UpdateCheckForBankAccountRequest.md +26 -0
- data/docs/UpdateContactRequestTaskRequest.md +38 -0
- data/docs/UpdateDepositWithholdingRequest.md +24 -0
- data/docs/UpdateEPaySettingsForAssociationRequest.md +22 -0
- data/docs/UpdateFileCategoryRequest.md +18 -0
- data/docs/UpdateFileRequest.md +22 -0
- data/docs/UpdateFileSharingSettingRequest.md +40 -0
- data/docs/UpdateGLAccountRequest.md +32 -0
- data/docs/UpdateGeneralJournalEntryRequest.md +24 -0
- data/docs/UpdateLeaseChargeRequest.md +22 -0
- data/docs/UpdateLeaseLedgerPaymentRequest.md +28 -0
- data/docs/UpdateLeaseNoteRequest.md +18 -0
- data/docs/UpdateLeaseRequest.md +28 -0
- data/docs/UpdateOwnershipAccountChargeRequest.md +22 -0
- data/docs/UpdateOwnershipAccountDepositWithholdingRequest.md +24 -0
- data/docs/UpdateOwnershipAccountLedgerPaymentRequest.md +28 -0
- data/docs/UpdatePhoneLogRequest.md +22 -0
- data/docs/UpdatePropertyGroupRequest.md +22 -0
- data/docs/UpdateReconciliationBalancesRequest.md +22 -0
- data/docs/UpdateReconciliationRequest.md +18 -0
- data/docs/UpdateRentScheduleRequest.md +22 -0
- data/docs/UpdateRentalApplianceRequest.md +28 -0
- data/docs/UpdateRentalFeaturesRequest.md +20 -0
- data/docs/UpdateRentalImageRequest.md +20 -0
- data/docs/UpdateRentalOwnerRequest.md +42 -0
- data/docs/UpdateRentalOwnerRequestTaskContributionDataRequest.md +20 -0
- data/docs/UpdateRentalOwnerRequestTaskRequest.md +36 -0
- data/docs/UpdateRentalPreferredVendorsRequest.md +18 -0
- data/docs/UpdateRentalPropertyRequest.md +32 -0
- data/docs/UpdateRentalTenantRequest.md +40 -0
- data/docs/UpdateRentalUnitFeaturesRequest.md +18 -0
- data/docs/UpdateRentalUnitImageRequest.md +20 -0
- data/docs/UpdateRentalUnitRequest.md +30 -0
- data/docs/UpdateResourceRequest.md +32 -0
- data/docs/UpdateRetailCashUserRequest.md +18 -0
- data/docs/UpdateTaskCategoryRequest.md +18 -0
- data/docs/UpdateTaskHistoryRequest.md +18 -0
- data/docs/UpdateToDoTaskRequest.md +36 -0
- data/docs/UpdateVendorRequest.md +46 -0
- data/docs/UpdateWorkOrderRequest.md +36 -0
- data/docs/UploadTaskHistoryFileRequestAsyncRequest.md +18 -0
- data/docs/UpsertAssociationMeterReadingDetailsAsyncRequest.md +22 -0
- data/docs/UpsertListingsAsyncRequest.md +28 -0
- data/docs/UserMessage.md +1 -1
- data/docs/UserMessageUserRole.md +24 -0
- data/docs/VendorCreditLineItemMessage.md +1 -1
- data/docs/VendorCreditLineItemMessageAccountingEntity.md +24 -0
- data/docs/VendorCreditLineItemPostMessage.md +1 -1
- data/docs/VendorCreditLineItemPostMessageAccountingEntity.md +22 -0
- data/docs/VendorMessage.md +4 -4
- data/docs/VendorMessageAddress.md +30 -0
- data/docs/VendorMessageCategory.md +20 -0
- data/docs/VendorMessageTaxInformation.md +28 -0
- data/docs/VendorMessageVendorInsurance.md +22 -0
- data/docs/VendorPostMessage.md +4 -4
- data/docs/VendorPostMessageAddress.md +30 -0
- data/docs/VendorPostMessagePhoneNumbers.md +24 -0
- data/docs/VendorPostMessageTaxInformation.md +26 -0
- data/docs/VendorPostMessageVendorInsurance.md +22 -0
- data/docs/VendorPutMessage.md +4 -4
- data/docs/VendorPutMessageTaxInformation.md +28 -0
- data/docs/VendorRefundLineMessage.md +1 -1
- data/docs/VendorRefundLineMessageAccountingEntity.md +24 -0
- data/docs/VendorRefundLinePostMessage.md +1 -1
- data/docs/VendorRefundLinePostMessageAccountingEntity.md +22 -0
- data/docs/VendorTaxInformationMessage.md +1 -1
- data/docs/VendorsApi.md +76 -76
- data/docs/WorkOrderMessage.md +13 -3
- data/docs/WorkOrderMessageEntryContact.md +20 -0
- data/docs/WorkOrderMessageTask.md +32 -0
- data/docs/WorkOrderPostMessage.md +4 -2
- data/docs/WorkOrderPostMessageTask.md +30 -0
- data/docs/WorkOrderPutMessage.md +3 -1
- data/docs/WorkOrderTaskMessage.md +1 -1
- data/docs/WorkOrdersApi.md +16 -16
- data/git_push.sh +57 -0
- data/lib/buildium-ruby/api/administration_api.rb +137 -12
- data/lib/buildium-ruby/api/appliances_api.rb +46 -46
- data/lib/buildium-ruby/api/applicants_api.rb +124 -118
- data/lib/buildium-ruby/api/architectural_requests_api.rb +547 -0
- data/lib/buildium-ruby/api/association_meter_readings_api.rb +18 -18
- data/lib/buildium-ruby/api/association_owners_api.rb +72 -72
- data/lib/buildium-ruby/api/association_tenants_api.rb +56 -56
- data/lib/buildium-ruby/api/association_units_api.rb +56 -56
- data/lib/buildium-ruby/api/associations_api.rb +90 -90
- data/lib/buildium-ruby/api/bank_accounts_api.rb +981 -230
- data/lib/buildium-ruby/api/bills_api.rb +174 -100
- data/lib/buildium-ruby/api/board_members_api.rb +30 -30
- data/lib/buildium-ruby/api/budgets_api.rb +31 -31
- data/lib/buildium-ruby/api/client_leads_api.rb +4 -4
- data/lib/buildium-ruby/api/communications_api.rb +70 -70
- data/lib/buildium-ruby/api/contact_requests_api.rb +28 -28
- data/lib/buildium-ruby/api/files_api.rb +72 -72
- data/lib/buildium-ruby/api/general_ledger_api.rb +72 -60
- data/lib/buildium-ruby/api/lease_transactions_api.rb +390 -160
- data/lib/buildium-ruby/api/leases_api.rb +405 -114
- data/lib/buildium-ruby/api/listings_api.rb +46 -46
- data/lib/buildium-ruby/api/ownership_account_transactions_api.rb +378 -148
- data/lib/buildium-ruby/api/ownership_accounts_api.rb +193 -56
- data/lib/buildium-ruby/api/property_groups_api.rb +28 -28
- data/lib/buildium-ruby/api/rental_appliances_api.rb +46 -46
- data/lib/buildium-ruby/api/rental_meter_readings_api.rb +18 -18
- data/lib/buildium-ruby/api/rental_owner_requests_api.rb +42 -51
- data/lib/buildium-ruby/api/rental_owners_api.rb +56 -56
- data/lib/buildium-ruby/api/rental_properties_api.rb +438 -158
- data/lib/buildium-ruby/api/rental_tenants_api.rb +59 -56
- data/lib/buildium-ruby/api/rental_units_api.rb +98 -378
- data/lib/buildium-ruby/api/resident_center_api.rb +18 -18
- data/lib/buildium-ruby/api/resident_requests_api.rb +28 -28
- data/lib/buildium-ruby/api/tasks_api.rb +68 -68
- data/lib/buildium-ruby/api/to_do_requests_api.rb +28 -28
- data/lib/buildium-ruby/api/vendors_api.rb +127 -127
- data/lib/buildium-ruby/api/work_orders_api.rb +28 -28
- data/lib/buildium-ruby/api_client.rb +3 -3
- data/lib/buildium-ruby/configuration.rb +2 -1
- data/lib/buildium-ruby/models/account_info_message.rb +4 -3
- data/lib/buildium-ruby/models/{gl_account_balance_search_message.rb → account_info_message_accounting_settings.rb} +75 -69
- data/lib/buildium-ruby/models/account_info_message_contact.rb +256 -0
- data/lib/buildium-ruby/models/accounting_entity_message.rb +3 -2
- data/lib/buildium-ruby/models/accounting_entity_message_unit.rb +237 -0
- data/lib/buildium-ruby/models/accounting_entity_patch_message.rb +273 -0
- data/lib/buildium-ruby/models/accounting_entity_save_message.rb +2 -1
- data/lib/buildium-ruby/models/accounting_lock_period_message.rb +3 -2
- data/lib/buildium-ruby/models/{association_appliance_search_message.rb → accounting_lock_period_message_global.rb} +21 -26
- data/lib/buildium-ruby/models/accounting_settings_message.rb +2 -1
- data/lib/buildium-ruby/models/address_message.rb +4 -3
- data/lib/buildium-ruby/models/all_tasks_message.rb +6 -5
- data/lib/buildium-ruby/models/all_tasks_message_category.rb +256 -0
- data/lib/buildium-ruby/models/all_tasks_message_property.rb +281 -0
- data/lib/buildium-ruby/models/all_tasks_message_requested_by_user_entity.rb +311 -0
- data/lib/buildium-ruby/models/all_tasks_message_unit_agreement.rb +281 -0
- data/lib/buildium-ruby/models/announcement_message.rb +3 -2
- data/lib/buildium-ruby/models/announcement_message_sender.rb +247 -0
- data/lib/buildium-ruby/models/announcement_post_message.rb +40 -1
- data/lib/buildium-ruby/models/announcement_sender_message.rb +2 -1
- data/lib/buildium-ruby/models/api_error_response.rb +2 -1
- data/lib/buildium-ruby/models/appliance_message.rb +2 -1
- data/lib/buildium-ruby/models/applicant_application_message.rb +4 -3
- data/lib/buildium-ruby/models/applicant_group_message.rb +4 -3
- data/lib/buildium-ruby/models/applicant_group_post_message.rb +2 -1
- data/lib/buildium-ruby/models/applicant_group_put_message.rb +2 -1
- data/lib/buildium-ruby/models/applicant_message.rb +18 -7
- data/lib/buildium-ruby/models/applicant_post_message.rb +41 -2
- data/lib/buildium-ruby/models/applicant_post_message_phone_numbers.rb +257 -0
- data/lib/buildium-ruby/models/applicant_put_message.rb +41 -2
- data/lib/buildium-ruby/models/applicant_put_message_phone_numbers.rb +257 -0
- data/lib/buildium-ruby/models/application_message.rb +4 -3
- data/lib/buildium-ruby/models/application_put_message.rb +2 -1
- data/lib/buildium-ruby/models/application_response_field_message.rb +2 -1
- data/lib/buildium-ruby/models/application_response_message.rb +2 -1
- data/lib/buildium-ruby/models/application_section_response_message.rb +2 -1
- data/lib/buildium-ruby/models/applied_vendor_credit_message.rb +2 -1
- data/lib/buildium-ruby/models/{vendor_search_message.rb → architectural_requests_post_message.rb} +91 -71
- data/lib/buildium-ruby/models/association_appliance_message.rb +2 -1
- data/lib/buildium-ruby/models/association_appliance_post_message.rb +21 -1
- data/lib/buildium-ruby/models/association_appliance_put_message.rb +21 -1
- data/lib/buildium-ruby/models/association_appliance_service_history_message.rb +2 -1
- data/lib/buildium-ruby/models/association_appliance_service_history_post_message.rb +2 -1
- data/lib/buildium-ruby/models/association_architectural_request_file_message.rb +269 -0
- data/lib/buildium-ruby/models/association_architectural_request_message.rb +363 -0
- data/lib/buildium-ruby/models/association_architectural_request_message_created_by_user.rb +257 -0
- data/lib/buildium-ruby/models/association_architectural_request_message_last_updated_by_user.rb +267 -0
- data/lib/buildium-ruby/models/association_board_member_message.rb +2 -1
- data/lib/buildium-ruby/models/association_board_member_post_message.rb +2 -1
- data/lib/buildium-ruby/models/association_board_member_put_message.rb +2 -1
- data/lib/buildium-ruby/models/association_message.rb +5 -4
- data/lib/buildium-ruby/models/association_message_address.rb +321 -0
- data/lib/buildium-ruby/models/association_message_association_manager.rb +299 -0
- data/lib/buildium-ruby/models/association_message_tax_information.rb +300 -0
- data/lib/buildium-ruby/models/association_owner_board_term_message.rb +2 -1
- data/lib/buildium-ruby/models/association_owner_board_term_post_message.rb +2 -1
- data/lib/buildium-ruby/models/association_owner_message.rb +5 -4
- data/lib/buildium-ruby/models/association_owner_message_alternate_address.rb +321 -0
- data/lib/buildium-ruby/models/{rental_unit_search_message.rb → association_owner_message_emergency_contact.rb} +45 -28
- data/lib/buildium-ruby/models/association_owner_message_primary_address.rb +321 -0
- data/lib/buildium-ruby/models/association_owner_post_message.rb +45 -6
- data/lib/buildium-ruby/models/association_owner_post_message_alternate_address.rb +350 -0
- data/lib/buildium-ruby/models/association_owner_post_message_board_member_term.rb +286 -0
- data/lib/buildium-ruby/models/association_owner_post_message_emergency_contact.rb +257 -0
- data/lib/buildium-ruby/models/association_owner_post_message_phone_numbers.rb +257 -0
- data/lib/buildium-ruby/models/association_owner_post_message_primary_address.rb +350 -0
- data/lib/buildium-ruby/models/association_owner_put_message.rb +44 -5
- data/lib/buildium-ruby/models/association_owner_put_message_phone_numbers.rb +257 -0
- data/lib/buildium-ruby/models/association_owner_to_existing_ownership_account_post_message.rb +45 -6
- data/lib/buildium-ruby/models/association_owner_to_existing_ownership_account_post_message_emergency_contact.rb +257 -0
- data/lib/buildium-ruby/models/association_owner_to_existing_ownership_account_post_message_phone_numbers.rb +257 -0
- data/lib/buildium-ruby/models/association_owner_unit_occupancy_put_message.rb +2 -1
- data/lib/buildium-ruby/models/association_owner_unit_occupancy_status_message.rb +2 -1
- data/lib/buildium-ruby/models/association_ownership_account_message.rb +2 -1
- data/lib/buildium-ruby/models/association_ownership_account_post_message.rb +2 -1
- data/lib/buildium-ruby/models/association_ownership_account_put_message.rb +2 -1
- data/lib/buildium-ruby/models/association_post_message.rb +23 -3
- data/lib/buildium-ruby/models/association_post_message_address.rb +350 -0
- data/lib/buildium-ruby/models/association_post_message_tax_information.rb +300 -0
- data/lib/buildium-ruby/models/association_preferred_vendor_message.rb +2 -1
- data/lib/buildium-ruby/models/association_preferred_vendor_put_message.rb +2 -1
- data/lib/buildium-ruby/models/association_put_message.rb +22 -2
- data/lib/buildium-ruby/models/association_tax_information_message.rb +3 -2
- data/lib/buildium-ruby/models/association_tax_information_message_address.rb +321 -0
- data/lib/buildium-ruby/models/association_tenant_message.rb +5 -4
- data/lib/buildium-ruby/models/association_tenant_post_message.rb +44 -5
- data/lib/buildium-ruby/models/association_tenant_post_message_alternate_address.rb +350 -0
- data/lib/buildium-ruby/models/association_tenant_post_message_emergency_contact.rb +257 -0
- data/lib/buildium-ruby/models/association_tenant_post_message_phone_numbers.rb +257 -0
- data/lib/buildium-ruby/models/association_tenant_post_message_primary_address.rb +350 -0
- data/lib/buildium-ruby/models/association_tenant_put_message.rb +44 -5
- data/lib/buildium-ruby/models/{association_unit_search_message.rb → association_tenant_put_message_phone_numbers.rb} +45 -29
- data/lib/buildium-ruby/models/association_unit_message.rb +3 -2
- data/lib/buildium-ruby/models/association_unit_message_address.rb +321 -0
- data/lib/buildium-ruby/models/association_unit_put_message.rb +22 -2
- data/lib/buildium-ruby/models/association_unit_put_message_address.rb +350 -0
- data/lib/buildium-ruby/models/association_units_post_message.rb +22 -2
- data/lib/buildium-ruby/models/bank_account_check_accounting_entity_save_message.rb +2 -1
- data/lib/buildium-ruby/models/bank_account_check_file_message.rb +2 -1
- data/lib/buildium-ruby/models/bank_account_check_line_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_account_check_line_message_accounting_entity.rb +290 -0
- data/lib/buildium-ruby/models/bank_account_check_line_save_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_account_check_line_save_message_accounting_entity.rb +291 -0
- data/lib/buildium-ruby/models/bank_account_check_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_account_check_message_payee.rb +281 -0
- data/lib/buildium-ruby/models/bank_account_check_payee_message.rb +2 -1
- data/lib/buildium-ruby/models/bank_account_check_payee_save_message.rb +2 -1
- data/lib/buildium-ruby/models/bank_account_check_post_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_account_check_post_message_payee.rb +281 -0
- data/lib/buildium-ruby/models/bank_account_check_put_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_account_deposit_line_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_account_deposit_line_message_accounting_entity.rb +290 -0
- data/lib/buildium-ruby/models/bank_account_deposit_line_save_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_account_deposit_line_save_message_accounting_entity.rb +291 -0
- data/lib/buildium-ruby/models/bank_account_deposit_message.rb +2 -1
- data/lib/buildium-ruby/models/bank_account_deposit_post_message.rb +2 -1
- data/lib/buildium-ruby/models/bank_account_deposit_put_message.rb +2 -1
- data/lib/buildium-ruby/models/bank_account_message.rb +7 -6
- data/lib/buildium-ruby/models/bank_account_message_check_printing_info.rb +401 -0
- data/lib/buildium-ruby/models/bank_account_message_electronic_payments.rb +297 -0
- data/lib/buildium-ruby/models/{work_order_search_message.rb → bank_account_message_gl_account.rb} +143 -168
- data/lib/buildium-ruby/models/bank_account_post_message.rb +24 -4
- data/lib/buildium-ruby/models/bank_account_post_message_check_printing_info.rb +401 -0
- data/lib/buildium-ruby/models/bank_account_put_message.rb +24 -4
- data/lib/buildium-ruby/models/bank_account_put_message_check_printing_info.rb +416 -0
- data/lib/buildium-ruby/models/bank_account_quick_deposit_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_account_quick_deposit_message_accounting_entity.rb +290 -0
- data/lib/buildium-ruby/models/bank_account_quick_deposit_save_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_account_quick_deposit_save_message_accounting_entity.rb +291 -0
- data/lib/buildium-ruby/models/{bank_account_withdrawal_search_message.rb → bank_account_reconciliation_balance_message.rb} +28 -29
- data/lib/buildium-ruby/models/bank_account_reconciliation_balance_message_cleared_balance.rb +257 -0
- data/lib/buildium-ruby/models/bank_account_reconciliation_balance_message_statement_balance.rb +257 -0
- data/lib/buildium-ruby/models/bank_account_reconciliation_balance_put_message.rb +254 -0
- data/lib/buildium-ruby/models/{cancellation_token.rb → bank_account_reconciliation_message.rb} +27 -23
- data/lib/buildium-ruby/models/bank_account_reconciliation_transaction_message.rb +357 -0
- data/lib/buildium-ruby/models/bank_account_transaction_message.rb +2 -1
- data/lib/buildium-ruby/models/bank_account_transfer_accounting_entity_save_message.rb +2 -1
- data/lib/buildium-ruby/models/bank_account_transfer_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_account_transfer_message_accounting_entity.rb +290 -0
- data/lib/buildium-ruby/models/bank_account_transfer_save_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_account_transfer_save_message_accounting_entity.rb +291 -0
- data/lib/buildium-ruby/models/bank_account_withdrawal_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_account_withdrawal_message_accounting_entity.rb +290 -0
- data/lib/buildium-ruby/models/bank_account_withdrawal_save_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_account_withdrawal_save_message_accounting_entity.rb +291 -0
- data/lib/buildium-ruby/models/bank_lockbox_data_association_message.rb +2 -1
- data/lib/buildium-ruby/models/bank_lockbox_data_association_owner_message.rb +46 -5
- data/lib/buildium-ruby/models/bank_lockbox_data_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_lockbox_data_message_association.rb +247 -0
- data/lib/buildium-ruby/models/bank_lockbox_data_ownership_account_message.rb +3 -2
- data/lib/buildium-ruby/models/bank_lockbox_data_ownership_account_message_unit_address.rb +321 -0
- data/lib/buildium-ruby/models/bank_pending_reconciliation_post_message.rb +259 -0
- data/lib/buildium-ruby/models/bank_reconciliation_clear_transactions_post_message.rb +226 -0
- data/lib/buildium-ruby/models/bank_reconciliation_cleared_balance_message.rb +249 -0
- data/lib/buildium-ruby/models/bank_reconciliation_put_message.rb +224 -0
- data/lib/buildium-ruby/models/bank_reconciliation_statement_balance_message.rb +249 -0
- data/lib/buildium-ruby/models/bank_reconciliation_unclear_transactions_post_message.rb +226 -0
- data/lib/buildium-ruby/models/bill_file_message.rb +2 -1
- data/lib/buildium-ruby/models/bill_line_item_patch_message.rb +267 -0
- data/lib/buildium-ruby/models/bill_line_item_patch_message_accounting_entity.rb +281 -0
- data/lib/buildium-ruby/models/{meter_reading_details_put_search_message.rb → bill_line_item_patch_message_markup.rb} +36 -27
- data/lib/buildium-ruby/models/bill_line_message.rb +5 -4
- data/lib/buildium-ruby/models/{bank_account_search_message.rb → bill_line_message_accounting_entity.rb} +52 -37
- data/lib/buildium-ruby/models/bill_line_message_gl_account.rb +427 -0
- data/lib/buildium-ruby/models/bill_line_message_markup.rb +271 -0
- data/lib/buildium-ruby/models/bill_line_post_message.rb +4 -3
- data/lib/buildium-ruby/models/bill_line_post_message_accounting_entity.rb +291 -0
- data/lib/buildium-ruby/models/bill_line_post_message_markup.rb +281 -0
- data/lib/buildium-ruby/models/bill_line_put_message.rb +4 -3
- data/lib/buildium-ruby/models/bill_markup_message.rb +2 -1
- data/lib/buildium-ruby/models/bill_markup_patch_message.rb +263 -0
- data/lib/buildium-ruby/models/bill_markup_save_message.rb +2 -1
- data/lib/buildium-ruby/models/bill_message.rb +2 -1
- data/lib/buildium-ruby/models/bill_patch_message.rb +271 -0
- data/lib/buildium-ruby/models/bill_payment_accounting_entity_message.rb +2 -1
- data/lib/buildium-ruby/models/bill_payment_line_message.rb +3 -2
- data/lib/buildium-ruby/models/bill_payment_line_message_accounting_entity.rb +281 -0
- data/lib/buildium-ruby/models/bill_payment_line_post_message.rb +2 -1
- data/lib/buildium-ruby/models/bill_payment_message.rb +2 -1
- data/lib/buildium-ruby/models/bill_payment_post_message.rb +2 -1
- data/lib/buildium-ruby/models/bill_post_message.rb +2 -1
- data/lib/buildium-ruby/models/bill_put_message.rb +2 -1
- data/lib/buildium-ruby/models/budget_details_message.rb +3 -2
- data/lib/buildium-ruby/models/budget_details_message_monthly_amounts.rb +337 -0
- data/lib/buildium-ruby/models/budget_details_save_message.rb +3 -2
- data/lib/buildium-ruby/models/budget_details_save_message_monthly_amounts.rb +397 -0
- data/lib/buildium-ruby/models/budget_message.rb +3 -2
- data/lib/buildium-ruby/models/budget_message_property.rb +281 -0
- data/lib/buildium-ruby/models/budget_monthly_amounts_message.rb +2 -1
- data/lib/buildium-ruby/models/budget_monthly_amounts_save_message.rb +2 -1
- data/lib/buildium-ruby/models/budget_post_message.rb +21 -1
- data/lib/buildium-ruby/models/budget_put_message.rb +21 -1
- data/lib/buildium-ruby/models/cc_payments_message.rb +2 -1
- data/lib/buildium-ruby/models/cc_payments_put_message.rb +2 -1
- data/lib/buildium-ruby/models/charge_recurring_transaction_post_message.rb +2 -1
- data/lib/buildium-ruby/models/charge_recurring_transaction_put_message.rb +2 -1
- data/lib/buildium-ruby/models/check_printing_info_message.rb +2 -1
- data/lib/buildium-ruby/models/check_printing_info_post_message.rb +2 -1
- data/lib/buildium-ruby/models/check_printing_info_put_message.rb +2 -1
- data/lib/buildium-ruby/models/clear_transactions_request.rb +233 -0
- data/lib/buildium-ruby/models/client_lead_credit_request_message.rb +2 -1
- data/lib/buildium-ruby/models/client_lead_message.rb +4 -3
- data/lib/buildium-ruby/models/client_lead_message_address.rb +321 -0
- data/lib/buildium-ruby/models/client_lead_message_credit_request.rb +303 -0
- data/lib/buildium-ruby/models/contact_detail_message.rb +3 -2
- data/lib/buildium-ruby/models/contact_detail_message_phone_numbers.rb +247 -0
- data/lib/buildium-ruby/models/contact_detail_phone_message.rb +2 -1
- data/lib/buildium-ruby/models/contact_detail_save_message.rb +22 -2
- data/lib/buildium-ruby/models/contact_detail_save_message_phone_numbers.rb +247 -0
- data/lib/buildium-ruby/models/contact_detail_save_phone_message.rb +2 -1
- data/lib/buildium-ruby/models/contact_info_message.rb +3 -2
- data/lib/buildium-ruby/models/contact_info_message_address.rb +321 -0
- data/lib/buildium-ruby/models/contact_request_task_message.rb +5 -4
- data/lib/buildium-ruby/models/contact_request_task_message_category.rb +256 -0
- data/lib/buildium-ruby/models/contact_request_task_message_contact_detail.rb +256 -0
- data/lib/buildium-ruby/models/contact_request_task_message_property.rb +281 -0
- data/lib/buildium-ruby/models/contact_request_task_post_message.rb +22 -2
- data/lib/buildium-ruby/models/contact_request_task_post_message_contact_detail.rb +280 -0
- data/lib/buildium-ruby/models/contact_request_task_put_message.rb +22 -2
- data/lib/buildium-ruby/models/contact_request_task_put_message_contact_detail.rb +280 -0
- data/lib/buildium-ruby/models/cosigner_message.rb +4 -3
- data/lib/buildium-ruby/models/cosigner_message_address.rb +321 -0
- data/lib/buildium-ruby/models/cosigner_message_alternate_address.rb +321 -0
- data/lib/buildium-ruby/models/create_announcement_request.rb +341 -0
- data/lib/buildium-ruby/models/create_applicant_group_request.rb +243 -0
- data/lib/buildium-ruby/models/create_applicant_request.rb +329 -0
- data/lib/buildium-ruby/models/create_architectural_request_async_request.rb +361 -0
- data/lib/buildium-ruby/models/create_association_appliance_request.rb +325 -0
- data/lib/buildium-ruby/models/create_association_appliance_service_history_request.rb +290 -0
- data/lib/buildium-ruby/models/create_association_owner_request.rb +474 -0
- data/lib/buildium-ruby/models/create_association_ownership_account_request.rb +354 -0
- data/lib/buildium-ruby/models/create_association_request.rb +338 -0
- data/lib/buildium-ruby/models/create_association_tenant_request.rb +400 -0
- data/lib/buildium-ruby/models/{lease_outstanding_balance_search_message.rb → create_association_unit_request.rb} +99 -89
- data/lib/buildium-ruby/models/create_bank_account_check_request.rb +282 -0
- data/lib/buildium-ruby/models/create_bank_account_deposit_request.rb +265 -0
- data/lib/buildium-ruby/models/create_bank_account_request.rb +365 -0
- data/lib/buildium-ruby/models/create_bank_account_transfer_request.rb +285 -0
- data/lib/buildium-ruby/models/create_bill_payment_request.rb +283 -0
- data/lib/buildium-ruby/models/{vendor_transaction_search_message.rb → create_bill_request.rb} +80 -63
- data/lib/buildium-ruby/models/{bank_account_transaction_search_message.rb → create_board_member_request.rb} +44 -35
- data/lib/buildium-ruby/models/{association_user_search_message.rb → create_budget_async_request.rb} +96 -74
- data/lib/buildium-ruby/models/{task_search_message.rb → create_contact_request_task_request.rb} +143 -126
- data/lib/buildium-ruby/models/create_email_request.rb +334 -0
- data/lib/buildium-ruby/models/create_file_category_request.rb +251 -0
- data/lib/buildium-ruby/models/create_general_journal_entry_request.rb +272 -0
- data/lib/buildium-ruby/models/create_general_ledger_account_request.rb +395 -0
- data/lib/buildium-ruby/models/{applicant_search_message.rb → create_lease_auto_allocated_payment_request.rb} +90 -76
- data/lib/buildium-ruby/models/create_lease_credit_request.rb +317 -0
- data/lib/buildium-ruby/models/create_lease_ledger_charge_request.rb +259 -0
- data/lib/buildium-ruby/models/create_lease_ledger_deposit_withholding_request.rb +268 -0
- data/lib/buildium-ruby/models/{association_ownership_account_search_message.rb → create_lease_ledger_refund_request.rb} +88 -82
- data/lib/buildium-ruby/models/create_lease_note_request.rb +250 -0
- data/lib/buildium-ruby/models/create_lease_renewal_request.rb +386 -0
- data/lib/buildium-ruby/models/create_lease_request.rb +406 -0
- data/lib/buildium-ruby/models/create_lease_reverse_payment_request.rb +264 -0
- data/lib/buildium-ruby/models/create_listing_contact_request.rb +280 -0
- data/lib/buildium-ruby/models/create_move_out_data_request.rb +256 -0
- data/lib/buildium-ruby/models/create_multiple_bill_payments_request.rb +285 -0
- data/lib/buildium-ruby/models/create_ownership_account_auto_allocated_payment_request.rb +340 -0
- data/lib/buildium-ruby/models/create_ownership_account_credit_recurring_transaction_request.rb +396 -0
- data/lib/buildium-ruby/models/create_ownership_account_credit_request.rb +317 -0
- data/lib/buildium-ruby/models/create_ownership_account_deposit_withholding_request.rb +268 -0
- data/lib/buildium-ruby/models/create_ownership_account_ledger_charge_request.rb +268 -0
- data/lib/buildium-ruby/models/{bill_search_message.rb → create_ownership_account_ledger_payment_request.rb} +89 -82
- data/lib/buildium-ruby/models/create_ownership_account_recurring_payment_request.rb +386 -0
- data/lib/buildium-ruby/models/create_ownership_account_refund_request.rb +314 -0
- data/lib/buildium-ruby/models/create_ownership_accounts_charge_recurring_transaction_request.rb +367 -0
- data/lib/buildium-ruby/models/create_payment_request.rb +343 -0
- data/lib/buildium-ruby/models/create_pending_reconciliations_request.rb +266 -0
- data/lib/buildium-ruby/models/create_phone_log_request.rb +313 -0
- data/lib/buildium-ruby/models/create_property_group_request.rb +277 -0
- data/lib/buildium-ruby/models/create_quick_deposit_request.rb +285 -0
- data/lib/buildium-ruby/models/create_rent_schedule_request.rb +307 -0
- data/lib/buildium-ruby/models/create_rental_appliance_request.rb +325 -0
- data/lib/buildium-ruby/models/create_rental_appliance_service_history_request.rb +290 -0
- data/lib/buildium-ruby/models/create_rental_image_upload_file_request_async_request.rb +275 -0
- data/lib/buildium-ruby/models/create_rental_owner_request.rb +371 -0
- data/lib/buildium-ruby/models/create_rental_owner_request_task_request.rb +411 -0
- data/lib/buildium-ruby/models/create_rental_property_request.rb +392 -0
- data/lib/buildium-ruby/models/create_rental_tenant_request.rb +434 -0
- data/lib/buildium-ruby/models/{lease_search_message.rb → create_rental_unit_request.rb} +119 -103
- data/lib/buildium-ruby/models/create_resource_request.rb +456 -0
- data/lib/buildium-ruby/models/create_task_category_request.rb +251 -0
- data/lib/buildium-ruby/models/{resident_request_task_search_message.rb → create_to_do_task_request.rb} +136 -111
- data/lib/buildium-ruby/models/{file_search_message.rb → create_upload_file_request_async_request.rb} +107 -54
- data/lib/buildium-ruby/models/create_upload_file_request_request.rb +250 -0
- data/lib/buildium-ruby/models/{budget_search_message.rb → create_vendor_category_request.rb} +38 -28
- data/lib/buildium-ruby/models/create_vendor_credit_request.rb +268 -0
- data/lib/buildium-ruby/models/{rental_owners_search_message.rb → create_vendor_refund_request.rb} +85 -67
- data/lib/buildium-ruby/models/create_vendor_request.rb +372 -0
- data/lib/buildium-ruby/models/{note_search_message.rb → create_video_link_request_request.rb} +56 -29
- data/lib/buildium-ruby/models/{email_search_message.rb → create_withdrawal_for_bank_account_request.rb} +63 -46
- data/lib/buildium-ruby/models/{contact_request_task_search_message.rb → create_work_order_request.rb} +117 -100
- data/lib/buildium-ruby/models/created_by_user_message.rb +2 -1
- data/lib/buildium-ruby/models/credit_recurring_transaction_post_message.rb +2 -1
- data/lib/buildium-ruby/models/deposit_detail_message.rb +2 -1
- data/lib/buildium-ruby/models/e_pay_settings_message.rb +5 -4
- data/lib/buildium-ruby/models/e_pay_settings_message_credit_card_payments.rb +227 -0
- data/lib/buildium-ruby/models/e_pay_settings_message_eft_payments.rb +227 -0
- data/lib/buildium-ruby/models/e_pay_settings_message_offline_payments.rb +247 -0
- data/lib/buildium-ruby/models/e_pay_settings_put_message.rb +5 -4
- data/lib/buildium-ruby/models/e_pay_settings_put_message_credit_card_payments.rb +232 -0
- data/lib/buildium-ruby/models/e_pay_settings_put_message_eft_payments.rb +232 -0
- data/lib/buildium-ruby/models/e_pay_settings_put_message_offline_payments.rb +257 -0
- data/lib/buildium-ruby/models/eft_payments_message.rb +2 -1
- data/lib/buildium-ruby/models/eft_payments_put_message.rb +2 -1
- data/lib/buildium-ruby/models/electronic_payments_message.rb +2 -1
- data/lib/buildium-ruby/models/email_message.rb +3 -2
- data/lib/buildium-ruby/models/email_message_sender.rb +257 -0
- data/lib/buildium-ruby/models/email_post_message.rb +22 -2
- data/lib/buildium-ruby/models/email_recipient_message.rb +2 -1
- data/lib/buildium-ruby/models/email_sender_message.rb +2 -1
- data/lib/buildium-ruby/models/emergency_contact_message.rb +2 -1
- data/lib/buildium-ruby/models/file_category_message.rb +2 -1
- data/lib/buildium-ruby/models/file_category_post_message.rb +21 -1
- data/lib/buildium-ruby/models/file_category_put_message.rb +21 -1
- data/lib/buildium-ruby/models/file_download_message.rb +2 -1
- data/lib/buildium-ruby/models/file_entity_message.rb +2 -1
- data/lib/buildium-ruby/models/file_message.rb +3 -2
- data/lib/buildium-ruby/models/{listing_search_message.rb → file_message_file_entity.rb} +34 -15
- data/lib/buildium-ruby/models/file_name_post_message.rb +21 -1
- data/lib/buildium-ruby/models/file_put_message.rb +21 -1
- data/lib/buildium-ruby/models/file_sharing_account_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_account_put_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_association_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_association_owner_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_association_owner_put_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_association_put_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_association_unit_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_association_unit_put_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_committee_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_committee_put_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_lease_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_lease_put_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_message.rb +14 -13
- data/lib/buildium-ruby/models/{lease_renewal_search_message.rb → file_sharing_message_account.rb} +43 -44
- data/lib/buildium-ruby/models/{bank_account_check_search_message.rb → file_sharing_message_association.rb} +28 -29
- data/lib/buildium-ruby/models/file_sharing_message_association_owner.rb +227 -0
- data/lib/buildium-ruby/models/file_sharing_message_association_unit.rb +237 -0
- data/lib/buildium-ruby/models/file_sharing_message_committee.rb +247 -0
- data/lib/buildium-ruby/models/file_sharing_message_lease.rb +237 -0
- data/lib/buildium-ruby/models/file_sharing_message_ownership_account.rb +237 -0
- data/lib/buildium-ruby/models/file_sharing_message_rental.rb +237 -0
- data/lib/buildium-ruby/models/file_sharing_message_rental_owner.rb +227 -0
- data/lib/buildium-ruby/models/file_sharing_message_rental_unit.rb +237 -0
- data/lib/buildium-ruby/models/file_sharing_message_tenant.rb +237 -0
- data/lib/buildium-ruby/models/{safe_wait_handle.rb → file_sharing_message_vendor.rb} +21 -20
- data/lib/buildium-ruby/models/file_sharing_ownership_account_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_ownership_account_put_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_put_message.rb +14 -13
- data/lib/buildium-ruby/models/file_sharing_put_message_account.rb +271 -0
- data/lib/buildium-ruby/models/{bank_account_transfer_search_message.rb → file_sharing_put_message_association.rb} +28 -29
- data/lib/buildium-ruby/models/file_sharing_put_message_association_owner.rb +227 -0
- data/lib/buildium-ruby/models/{bank_account_quick_deposit_search_message.rb → file_sharing_put_message_association_unit.rb} +28 -29
- data/lib/buildium-ruby/models/file_sharing_put_message_committee.rb +247 -0
- data/lib/buildium-ruby/models/file_sharing_put_message_lease.rb +237 -0
- data/lib/buildium-ruby/models/file_sharing_put_message_ownership_account.rb +237 -0
- data/lib/buildium-ruby/models/file_sharing_put_message_rental.rb +237 -0
- data/lib/buildium-ruby/models/file_sharing_put_message_rental_owner.rb +227 -0
- data/lib/buildium-ruby/models/file_sharing_put_message_rental_unit.rb +237 -0
- data/lib/buildium-ruby/models/file_sharing_put_message_tenant.rb +237 -0
- data/lib/buildium-ruby/models/file_sharing_put_message_vendor.rb +227 -0
- data/lib/buildium-ruby/models/file_sharing_rental_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_rental_owner_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_rental_owner_put_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_rental_put_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_rental_unit_mesage.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_rental_unit_put_mesage.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_tenant_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_tenant_put_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_vendor_message.rb +2 -1
- data/lib/buildium-ruby/models/file_sharing_vendor_put_message.rb +2 -1
- data/lib/buildium-ruby/models/file_upload_post_message.rb +40 -1
- data/lib/buildium-ruby/models/file_upload_ticket_message.rb +2 -1
- data/lib/buildium-ruby/models/general_journal_entry_line_save_message.rb +2 -1
- data/lib/buildium-ruby/models/general_journal_entry_post_message.rb +3 -2
- data/lib/buildium-ruby/models/general_journal_entry_post_message_accounting_entity.rb +291 -0
- data/lib/buildium-ruby/models/general_journal_entry_put_message.rb +3 -2
- data/lib/buildium-ruby/models/general_ledger_entry_message.rb +3 -2
- data/lib/buildium-ruby/models/general_ledger_entry_message_accounting_entity.rb +290 -0
- data/lib/buildium-ruby/models/general_ledger_journal_line_message.rb +4 -3
- data/lib/buildium-ruby/models/general_ledger_journal_line_message_accounting_entity.rb +290 -0
- data/lib/buildium-ruby/models/general_ledger_journal_line_message_gl_account.rb +427 -0
- data/lib/buildium-ruby/models/general_ledger_journal_message.rb +2 -1
- data/lib/buildium-ruby/models/general_ledger_message.rb +2 -1
- data/lib/buildium-ruby/models/general_ledger_transaction_message.rb +19 -8
- data/lib/buildium-ruby/models/general_ledger_transaction_message_deposit_details.rb +239 -0
- data/lib/buildium-ruby/models/general_ledger_transaction_message_journal.rb +239 -0
- data/lib/buildium-ruby/models/general_ledger_transaction_message_payment_detail.rb +289 -0
- data/lib/buildium-ruby/models/general_ledger_transaction_message_unit_agreement.rb +281 -0
- data/lib/buildium-ruby/models/gl_account_balance_item_message.rb +3 -2
- data/lib/buildium-ruby/models/gl_account_balance_item_message_accounting_entity.rb +290 -0
- data/lib/buildium-ruby/models/gl_account_balance_message.rb +3 -2
- data/lib/buildium-ruby/models/gl_account_balance_message_gl_account.rb +427 -0
- data/lib/buildium-ruby/models/gl_account_message.rb +2 -1
- data/lib/buildium-ruby/models/gl_account_post_message.rb +40 -1
- data/lib/buildium-ruby/models/gl_account_put_message.rb +21 -1
- data/lib/buildium-ruby/models/gl_transaction_message_v1.rb +2 -1
- data/lib/buildium-ruby/models/image_reorder_request_put_message.rb +2 -1
- data/lib/buildium-ruby/models/insured_tenant_message.rb +2 -1
- data/lib/buildium-ruby/models/internal_transaction_status_message.rb +2 -1
- data/lib/buildium-ruby/models/java_script_encoder.rb +218 -0
- data/lib/buildium-ruby/models/journal_line_message.rb +3 -2
- data/lib/buildium-ruby/models/journal_message.rb +2 -1
- data/lib/buildium-ruby/models/json_patch_operation.rb +2 -1
- data/lib/buildium-ruby/models/last_updated_by_user_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_account_detail_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_auto_allocated_payment_post_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_charge_line_message.rb +229 -0
- data/lib/buildium-ruby/models/lease_charge_line_save_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_charge_message.rb +271 -0
- data/lib/buildium-ruby/models/lease_charge_post_message.rb +13 -2
- data/lib/buildium-ruby/models/lease_charge_put_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_charge_recurring_transaction_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_cosigner_post_message.rb +43 -4
- data/lib/buildium-ruby/models/lease_cosigner_post_message_address.rb +350 -0
- data/lib/buildium-ruby/models/lease_cosigner_post_message_alternate_address.rb +350 -0
- data/lib/buildium-ruby/models/lease_cosigner_post_message_phone_numbers.rb +257 -0
- data/lib/buildium-ruby/models/lease_ledger_credit_line_post_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_ledger_credit_post_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_ledger_deposit_withholding_line_post_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_ledger_deposit_withholding_line_put_message.rb +239 -0
- data/lib/buildium-ruby/models/lease_ledger_deposit_withholding_post_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_ledger_deposit_withholding_put_message.rb +261 -0
- data/lib/buildium-ruby/models/lease_ledger_payment_line_save_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_ledger_payment_post_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_ledger_payment_put_message.rb +4 -3
- data/lib/buildium-ruby/models/lease_ledger_refund_line_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_ledger_refund_line_post_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_ledger_refund_message.rb +3 -2
- data/lib/buildium-ruby/models/lease_ledger_refund_message_address.rb +321 -0
- data/lib/buildium-ruby/models/lease_ledger_refund_post_message.rb +3 -2
- data/lib/buildium-ruby/models/lease_ledger_refund_post_message_address.rb +350 -0
- data/lib/buildium-ruby/models/lease_ledger_reverse_payment_nsf_charge_post_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_ledger_reverse_payment_other_bank_charge_post_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_ledger_reverse_payment_post_message.rb +4 -3
- data/lib/buildium-ruby/models/lease_ledger_reverse_payment_post_message_bank_fee.rb +247 -0
- data/lib/buildium-ruby/models/lease_ledger_reverse_payment_post_message_nsf_charge.rb +247 -0
- data/lib/buildium-ruby/models/lease_message.rb +3 -2
- data/lib/buildium-ruby/models/lease_message_account_details.rb +237 -0
- data/lib/buildium-ruby/models/lease_move_out_data_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_move_out_data_post_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_outstanding_balance_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_post_message.rb +4 -3
- data/lib/buildium-ruby/models/lease_post_message_rent.rb +283 -0
- data/lib/buildium-ruby/models/{bank_account_deposit_search_message.rb → lease_post_message_security_deposit.rb} +34 -25
- data/lib/buildium-ruby/models/lease_put_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_recurring_credit_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_recurring_payment_message.rb +3 -2
- data/lib/buildium-ruby/models/lease_recurring_payment_message_payer.rb +291 -0
- data/lib/buildium-ruby/models/lease_renewal_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_renewal_post_message.rb +3 -2
- data/lib/buildium-ruby/models/lease_renewal_post_message_rent.rb +283 -0
- data/lib/buildium-ruby/models/lease_rent_charge_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_rent_charge_post_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_rent_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_rent_post_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_security_deposit_post_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_tenant_message.rb +2 -1
- data/lib/buildium-ruby/models/lease_transaction_message.rb +3 -2
- data/lib/buildium-ruby/models/lease_transaction_message_journal.rb +239 -0
- data/lib/buildium-ruby/models/listing_contact_message.rb +2 -1
- data/lib/buildium-ruby/models/listing_contact_save_message.rb +21 -1
- data/lib/buildium-ruby/models/listing_entity_file_post_message.rb +21 -1
- data/lib/buildium-ruby/models/listing_file_message.rb +2 -1
- data/lib/buildium-ruby/models/listing_message.rb +5 -4
- data/lib/buildium-ruby/models/listing_message_contact.rb +267 -0
- data/lib/buildium-ruby/models/{retail_cash_users_search_message.rb → listing_message_property.rb} +88 -58
- data/lib/buildium-ruby/models/{general_ledger_search_message.rb → listing_message_unit.rb} +112 -82
- data/lib/buildium-ruby/models/listing_property_message.rb +3 -2
- data/lib/buildium-ruby/models/listing_property_message_address.rb +321 -0
- data/lib/buildium-ruby/models/listing_put_message.rb +2 -1
- data/lib/buildium-ruby/models/listing_unit_message.rb +3 -2
- data/lib/buildium-ruby/models/listing_unit_message_address.rb +321 -0
- data/lib/buildium-ruby/models/lock_period_settings_global_message.rb +2 -1
- data/lib/buildium-ruby/models/lock_period_settings_overrides_message.rb +3 -2
- data/lib/buildium-ruby/models/lock_period_settings_overrides_message_property.rb +281 -0
- data/lib/buildium-ruby/models/logged_by_staff_user_message.rb +2 -1
- data/lib/buildium-ruby/models/lookup_message.rb +2 -1
- data/lib/buildium-ruby/models/mailing_template_message.rb +2 -1
- data/lib/buildium-ruby/models/meter_reading_detail_message.rb +2 -1
- data/lib/buildium-ruby/models/meter_reading_detail_put_message.rb +2 -1
- data/lib/buildium-ruby/models/meter_reading_details_message.rb +2 -1
- data/lib/buildium-ruby/models/meter_reading_details_put_message.rb +2 -1
- data/lib/buildium-ruby/models/meter_reading_message.rb +2 -1
- data/lib/buildium-ruby/models/multiple_bill_payments_post_message.rb +2 -1
- data/lib/buildium-ruby/models/note_message.rb +3 -2
- data/lib/buildium-ruby/models/note_message_last_updated_by_user.rb +267 -0
- data/lib/buildium-ruby/models/note_post_message.rb +21 -1
- data/lib/buildium-ruby/models/note_put_message.rb +21 -1
- data/lib/buildium-ruby/models/offline_payments_message.rb +2 -1
- data/lib/buildium-ruby/models/offline_payments_put_message.rb +2 -1
- data/lib/buildium-ruby/models/outstanding_balances_line_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_auto_allocated_payment_post_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_charge_recurring_transaction_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_credit_line_post_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_credit_post_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_deposit_withholding_line_post_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_deposit_withholding_line_put_message.rb +239 -0
- data/lib/buildium-ruby/models/ownership_account_deposit_withholding_post_message.rb +4 -3
- data/lib/buildium-ruby/models/ownership_account_deposit_withholding_put_message.rb +261 -0
- data/lib/buildium-ruby/models/ownership_account_ledger_charge_line_message.rb +229 -0
- data/lib/buildium-ruby/models/ownership_account_ledger_charge_lines_put_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_ledger_charge_lines_save_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_ledger_charge_message.rb +271 -0
- data/lib/buildium-ruby/models/ownership_account_ledger_charge_post_message.rb +13 -2
- data/lib/buildium-ruby/models/ownership_account_ledger_charge_put_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_ledger_payment_line_save_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_ledger_payment_post_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_ledger_payment_put_message.rb +4 -3
- data/lib/buildium-ruby/models/ownership_account_outstanding_balance_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_recurring_credit_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_recurring_payment_message.rb +3 -2
- data/lib/buildium-ruby/models/ownership_account_refund_line_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_refund_lines_post_message.rb +2 -1
- data/lib/buildium-ruby/models/ownership_account_refund_message.rb +3 -2
- data/lib/buildium-ruby/models/ownership_account_refund_post_message.rb +3 -2
- data/lib/buildium-ruby/models/ownership_account_transaction_message.rb +3 -2
- data/lib/buildium-ruby/models/paid_by_message.rb +3 -2
- data/lib/buildium-ruby/models/{bank_lockbox_data_search_message.rb → partial_payment_settings_message.rb} +13 -14
- data/lib/buildium-ruby/models/{wait_handle.rb → partial_payment_settings_patch_message.rb} +13 -20
- data/lib/buildium-ruby/models/participant_message.rb +3 -2
- data/lib/buildium-ruby/models/participant_message_unit_agreement.rb +281 -0
- data/lib/buildium-ruby/models/participant_resource_message.rb +2 -1
- data/lib/buildium-ruby/models/patch_bill_request.rb +278 -0
- data/lib/buildium-ruby/models/patch_global_partial_payment_settings_request.rb +226 -0
- data/lib/buildium-ruby/models/payee_message.rb +2 -1
- data/lib/buildium-ruby/models/payment_detail_message.rb +4 -3
- data/lib/buildium-ruby/models/payment_detail_message_internal_transaction_status.rb +247 -0
- data/lib/buildium-ruby/models/{meter_reading_search_message.rb → payment_detail_message_payee.rb} +57 -38
- data/lib/buildium-ruby/models/payment_recurring_transaction_post_message.rb +2 -1
- data/lib/buildium-ruby/models/payment_transactions_message.rb +3 -2
- data/lib/buildium-ruby/models/payment_transactions_message_accounting_entity.rb +290 -0
- data/lib/buildium-ruby/models/phone_log_message.rb +4 -3
- data/lib/buildium-ruby/models/phone_log_message_logged_by_staff_user.rb +257 -0
- data/lib/buildium-ruby/models/phone_log_message_participant.rb +248 -0
- data/lib/buildium-ruby/models/phone_log_participant_post_message.rb +3 -2
- data/lib/buildium-ruby/models/phone_log_participant_post_message_unit_agreement.rb +271 -0
- data/lib/buildium-ruby/models/phone_log_participant_unit_agreement_post_message.rb +2 -1
- data/lib/buildium-ruby/models/phone_log_post_message.rb +41 -2
- data/lib/buildium-ruby/models/{announcement_search_message.rb → phone_log_post_message_participant.rb} +40 -42
- data/lib/buildium-ruby/models/phone_log_put_message.rb +40 -1
- data/lib/buildium-ruby/models/phone_number_message.rb +2 -1
- data/lib/buildium-ruby/models/phone_numbers_message.rb +2 -1
- data/lib/buildium-ruby/models/property_group_message.rb +3 -2
- data/lib/buildium-ruby/models/property_group_message_created_by_user.rb +257 -0
- data/lib/buildium-ruby/models/property_group_post_message.rb +21 -1
- data/lib/buildium-ruby/models/property_group_put_message.rb +21 -1
- data/lib/buildium-ruby/models/property_manager_message.rb +2 -1
- data/lib/buildium-ruby/models/property_message.rb +2 -1
- data/lib/buildium-ruby/models/recurring_transaction_line_message.rb +2 -1
- data/lib/buildium-ruby/models/recurring_transaction_line_post_message.rb +2 -1
- data/lib/buildium-ruby/models/recurring_transaction_message.rb +13 -2
- data/lib/buildium-ruby/models/rent_schedule_charge_post_message.rb +274 -0
- data/lib/buildium-ruby/models/rent_schedule_charge_put_message.rb +274 -0
- data/lib/buildium-ruby/models/{client_lead_search_message.rb → rent_schedule_post_message.rb} +63 -48
- data/lib/buildium-ruby/models/rent_schedule_put_message.rb +290 -0
- data/lib/buildium-ruby/models/rental_appliance_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_appliance_post_message.rb +21 -1
- data/lib/buildium-ruby/models/rental_appliance_put_message.rb +21 -1
- data/lib/buildium-ruby/models/rental_appliance_service_history_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_appliance_service_history_post_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_features_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_features_put_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_image_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_image_put_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_message.rb +4 -3
- data/lib/buildium-ruby/models/rental_message_rental_manager.rb +299 -0
- data/lib/buildium-ruby/models/rental_owner_contribution_data_message.rb +3 -2
- data/lib/buildium-ruby/models/rental_owner_contribution_data_message_reminder_settings.rb +237 -0
- data/lib/buildium-ruby/models/rental_owner_contribution_data_put_message.rb +3 -2
- data/lib/buildium-ruby/models/rental_owner_contribution_data_put_message_reminder_settings.rb +237 -0
- data/lib/buildium-ruby/models/rental_owner_contribution_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_owner_contribution_put_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_owner_contribution_reminder_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_owner_contribution_reminder_put_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_owner_message.rb +4 -3
- data/lib/buildium-ruby/models/rental_owner_message_address.rb +321 -0
- data/lib/buildium-ruby/models/rental_owner_message_tax_information.rb +310 -0
- data/lib/buildium-ruby/models/rental_owner_post_message.rb +5 -4
- data/lib/buildium-ruby/models/rental_owner_post_message_address.rb +350 -0
- data/lib/buildium-ruby/models/rental_owner_post_message_phone_numbers.rb +257 -0
- data/lib/buildium-ruby/models/rental_owner_post_message_tax_information.rb +300 -0
- data/lib/buildium-ruby/models/rental_owner_put_message.rb +4 -3
- data/lib/buildium-ruby/models/rental_owner_request_task_message.rb +5 -4
- data/lib/buildium-ruby/models/rental_owner_request_task_message_requested_by_user_entity.rb +311 -0
- data/lib/buildium-ruby/models/rental_owner_request_task_post_message.rb +21 -1
- data/lib/buildium-ruby/models/rental_owner_request_task_put_message.rb +21 -1
- data/lib/buildium-ruby/models/rental_owner_tax_information_message.rb +3 -2
- data/lib/buildium-ruby/models/rental_preferred_vendor_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_preferred_vendor_put_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_property_post_message.rb +22 -2
- data/lib/buildium-ruby/models/rental_property_post_message_address.rb +350 -0
- data/lib/buildium-ruby/models/rental_property_put_message.rb +22 -2
- data/lib/buildium-ruby/models/rental_property_put_message_address.rb +350 -0
- data/lib/buildium-ruby/models/rental_property_unit_post_message.rb +22 -2
- data/lib/buildium-ruby/models/rental_property_unit_post_message_address.rb +350 -0
- data/lib/buildium-ruby/models/rental_tenant_post_message.rb +44 -5
- data/lib/buildium-ruby/models/rental_tenant_put_message.rb +44 -5
- data/lib/buildium-ruby/models/rental_tenant_renewal_post_message.rb +44 -5
- data/lib/buildium-ruby/models/rental_unit_features_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_unit_features_put_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_unit_image_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_unit_image_put_message.rb +2 -1
- data/lib/buildium-ruby/models/rental_unit_message.rb +3 -2
- data/lib/buildium-ruby/models/rental_unit_put_message.rb +22 -2
- data/lib/buildium-ruby/models/rental_units_post_message.rb +22 -2
- data/lib/buildium-ruby/models/renters_insurance_policy_message.rb +2 -1
- data/lib/buildium-ruby/models/{property_group_search_message.rb → reorder_rental_images_request.rb} +26 -23
- data/lib/buildium-ruby/models/requested_by_user_entity_message.rb +2 -1
- data/lib/buildium-ruby/models/resident_center_user_message.rb +4 -3
- data/lib/buildium-ruby/models/{meter_reading_details_delete_search_message.rb → resident_center_user_message_unit_agreement.rb} +46 -37
- data/lib/buildium-ruby/models/resident_center_user_message_user.rb +301 -0
- data/lib/buildium-ruby/models/resident_center_user_reference_message.rb +2 -1
- data/lib/buildium-ruby/models/resident_request_task_message.rb +7 -6
- data/lib/buildium-ruby/models/resident_request_task_message_appliance.rb +267 -0
- data/lib/buildium-ruby/models/resident_request_task_message_requested_by_user_entity.rb +311 -0
- data/lib/buildium-ruby/models/resident_request_task_message_unit_agreement.rb +281 -0
- data/lib/buildium-ruby/models/resident_request_task_post_message.rb +23 -3
- data/lib/buildium-ruby/models/resident_request_task_put_message.rb +21 -1
- data/lib/buildium-ruby/models/retail_cash_property_message.rb +2 -1
- data/lib/buildium-ruby/models/retail_cash_unit_message.rb +2 -1
- data/lib/buildium-ruby/models/retail_cash_user_data_message.rb +2 -1
- data/lib/buildium-ruby/models/retail_cash_user_message.rb +6 -5
- data/lib/buildium-ruby/models/{lease_transaction_search_message.rb → retail_cash_user_message_property.rb} +57 -29
- data/lib/buildium-ruby/models/retail_cash_user_message_unit.rb +247 -0
- data/lib/buildium-ruby/models/retail_cash_user_message_unit_agreement.rb +281 -0
- data/lib/buildium-ruby/models/retail_cash_user_message_user.rb +321 -0
- data/lib/buildium-ruby/models/retail_cash_user_put_message.rb +2 -1
- data/lib/buildium-ruby/models/save_address_message.rb +23 -3
- data/lib/buildium-ruby/models/save_emergency_contact_message.rb +2 -1
- data/lib/buildium-ruby/models/task_category_message.rb +2 -1
- data/lib/buildium-ruby/models/task_category_put_message.rb +21 -1
- data/lib/buildium-ruby/models/task_category_response_message.rb +3 -2
- data/lib/buildium-ruby/models/task_category_response_message_sub_category.rb +237 -0
- data/lib/buildium-ruby/models/task_category_save_message.rb +21 -1
- data/lib/buildium-ruby/models/task_history_file_message.rb +2 -1
- data/lib/buildium-ruby/models/task_history_file_upload_post_message.rb +21 -1
- data/lib/buildium-ruby/models/task_history_message.rb +4 -3
- data/lib/buildium-ruby/models/{user_search_message.rb → task_history_message_created_by_user.rb} +57 -53
- data/lib/buildium-ruby/models/{association_board_member_search_message.rb → task_history_message_last_updated_by_user.rb} +64 -37
- data/lib/buildium-ruby/models/task_history_put_message.rb +21 -1
- data/lib/buildium-ruby/models/task_history_user_message.rb +50 -5
- data/lib/buildium-ruby/models/task_sub_category_message.rb +2 -1
- data/lib/buildium-ruby/models/tax_information_post_message.rb +3 -2
- data/lib/buildium-ruby/models/tax_information_post_message_address.rb +350 -0
- data/lib/buildium-ruby/models/tax_information_save_message.rb +3 -2
- data/lib/buildium-ruby/models/tenant_message.rb +5 -4
- data/lib/buildium-ruby/models/tenant_message_address.rb +321 -0
- data/lib/buildium-ruby/models/tenant_message_alternate_address.rb +321 -0
- data/lib/buildium-ruby/models/tenant_message_emergency_contact.rb +257 -0
- data/lib/buildium-ruby/models/to_do_task_message.rb +4 -3
- data/lib/buildium-ruby/models/to_do_task_post_message.rb +21 -1
- data/lib/buildium-ruby/models/to_do_task_put_message.rb +21 -1
- data/lib/buildium-ruby/models/unclear_transactions_request.rb +233 -0
- data/lib/buildium-ruby/models/undeposited_funds_message.rb +3 -2
- data/lib/buildium-ruby/models/undeposited_funds_message_general_ledger_transaction.rb +267 -0
- data/lib/buildium-ruby/models/unit_agreement_message.rb +2 -1
- data/lib/buildium-ruby/models/unit_entity_message.rb +2 -1
- data/lib/buildium-ruby/models/update_applicant_group_request.rb +292 -0
- data/lib/buildium-ruby/models/update_applicant_request.rb +313 -0
- data/lib/buildium-ruby/models/update_application_request.rb +265 -0
- data/lib/buildium-ruby/models/update_association_appliance_request.rb +300 -0
- data/lib/buildium-ruby/models/update_association_owner_occupancy_status_request.rb +231 -0
- data/lib/buildium-ruby/models/update_association_owner_request.rb +409 -0
- data/lib/buildium-ruby/models/update_association_ownership_account_request.rb +231 -0
- data/lib/buildium-ruby/models/update_association_preferred_vendors_request.rb +233 -0
- data/lib/buildium-ruby/models/update_association_request.rb +349 -0
- data/lib/buildium-ruby/models/update_association_tenant_request.rb +375 -0
- data/lib/buildium-ruby/models/{tenant_search_message.rb → update_association_unit_request.rb} +93 -92
- data/lib/buildium-ruby/models/update_bank_account_deposit_request.rb +258 -0
- data/lib/buildium-ruby/models/update_bank_account_request.rb +370 -0
- data/lib/buildium-ruby/models/update_bill_request.rb +294 -0
- data/lib/buildium-ruby/models/update_board_member_request.rb +286 -0
- data/lib/buildium-ruby/models/update_budget_request.rb +267 -0
- data/lib/buildium-ruby/models/update_check_for_bank_account_request.rb +282 -0
- data/lib/buildium-ruby/models/update_contact_request_task_request.rb +415 -0
- data/lib/buildium-ruby/models/update_deposit_withholding_request.rb +268 -0
- data/lib/buildium-ruby/models/update_e_pay_settings_for_association_request.rb +258 -0
- data/lib/buildium-ruby/models/update_file_category_request.rb +251 -0
- data/lib/buildium-ruby/models/update_file_request.rb +275 -0
- data/lib/buildium-ruby/models/update_file_sharing_setting_request.rb +324 -0
- data/lib/buildium-ruby/models/update_general_journal_entry_request.rb +272 -0
- data/lib/buildium-ruby/models/update_gl_account_request.rb +371 -0
- data/lib/buildium-ruby/models/update_lease_charge_request.rb +258 -0
- data/lib/buildium-ruby/models/{general_ledger_transaction_search_message.rb → update_lease_ledger_payment_request.rb} +76 -59
- data/lib/buildium-ruby/models/update_lease_note_request.rb +250 -0
- data/lib/buildium-ruby/models/update_lease_request.rb +330 -0
- data/lib/buildium-ruby/models/update_ownership_account_charge_request.rb +258 -0
- data/lib/buildium-ruby/models/update_ownership_account_deposit_withholding_request.rb +268 -0
- data/lib/buildium-ruby/models/{ownership_account_outstanding_balance_search_message.rb → update_ownership_account_ledger_payment_request.rb} +84 -64
- data/lib/buildium-ruby/models/update_phone_log_request.rb +299 -0
- data/lib/buildium-ruby/models/update_property_group_request.rb +277 -0
- data/lib/buildium-ruby/models/update_reconciliation_balances_request.rb +261 -0
- data/lib/buildium-ruby/models/update_reconciliation_request.rb +231 -0
- data/lib/buildium-ruby/models/update_rent_schedule_request.rb +297 -0
- data/lib/buildium-ruby/models/update_rental_appliance_request.rb +300 -0
- data/lib/buildium-ruby/models/update_rental_features_request.rb +262 -0
- data/lib/buildium-ruby/models/update_rental_image_request.rb +241 -0
- data/lib/buildium-ruby/models/update_rental_owner_request.rb +362 -0
- data/lib/buildium-ruby/models/update_rental_owner_request_task_contribution_data_request.rb +237 -0
- data/lib/buildium-ruby/models/{rental_owner_request_task_search_message.rb → update_rental_owner_request_task_request.rb} +133 -103
- data/lib/buildium-ruby/models/update_rental_preferred_vendors_request.rb +233 -0
- data/lib/buildium-ruby/models/update_rental_property_request.rb +368 -0
- data/lib/buildium-ruby/models/update_rental_tenant_request.rb +419 -0
- data/lib/buildium-ruby/models/{gl_accounts_search_message.rb → update_rental_unit_features_request.rb} +21 -14
- data/lib/buildium-ruby/models/update_rental_unit_image_request.rb +241 -0
- data/lib/buildium-ruby/models/update_rental_unit_request.rb +360 -0
- data/lib/buildium-ruby/models/{phone_log_search_message.rb → update_resource_request.rb} +119 -79
- data/lib/buildium-ruby/models/update_retail_cash_user_request.rb +231 -0
- data/lib/buildium-ruby/models/update_task_category_request.rb +251 -0
- data/lib/buildium-ruby/models/update_task_history_request.rb +250 -0
- data/lib/buildium-ruby/models/{to_do_task_search_message.rb → update_to_do_task_request.rb} +138 -103
- data/lib/buildium-ruby/models/update_vendor_request.rb +372 -0
- data/lib/buildium-ruby/models/update_work_order_request.rb +364 -0
- data/lib/buildium-ruby/models/upload_task_history_file_request_async_request.rb +250 -0
- data/lib/buildium-ruby/models/{meter_reading_details_search_message.rb → upsert_association_meter_reading_details_async_request.rb} +35 -10
- data/lib/buildium-ruby/models/upsert_listings_async_request.rb +291 -0
- data/lib/buildium-ruby/models/user_message.rb +3 -2
- data/lib/buildium-ruby/models/user_message_user_role.rb +257 -0
- data/lib/buildium-ruby/models/user_role_message.rb +2 -1
- data/lib/buildium-ruby/models/vehicle_message.rb +2 -1
- data/lib/buildium-ruby/models/vendor_category_message.rb +2 -1
- data/lib/buildium-ruby/models/vendor_category_save_message.rb +21 -1
- data/lib/buildium-ruby/models/vendor_credit_line_item_message.rb +3 -2
- data/lib/buildium-ruby/models/vendor_credit_line_item_message_accounting_entity.rb +290 -0
- data/lib/buildium-ruby/models/vendor_credit_line_item_post_message.rb +3 -2
- data/lib/buildium-ruby/models/vendor_credit_line_item_post_message_accounting_entity.rb +291 -0
- data/lib/buildium-ruby/models/vendor_credit_message.rb +2 -1
- data/lib/buildium-ruby/models/vendor_credit_post_message.rb +2 -1
- data/lib/buildium-ruby/models/vendor_insurance_message.rb +2 -1
- data/lib/buildium-ruby/models/vendor_insurance_save_message.rb +2 -1
- data/lib/buildium-ruby/models/vendor_message.rb +6 -5
- data/lib/buildium-ruby/models/vendor_message_address.rb +321 -0
- data/lib/buildium-ruby/models/vendor_message_category.rb +235 -0
- data/lib/buildium-ruby/models/{applicant_group_search_message.rb → vendor_message_tax_information.rb} +66 -52
- data/lib/buildium-ruby/models/vendor_message_vendor_insurance.rb +247 -0
- data/lib/buildium-ruby/models/vendor_post_message.rb +6 -5
- data/lib/buildium-ruby/models/vendor_post_message_address.rb +350 -0
- data/lib/buildium-ruby/models/vendor_post_message_phone_numbers.rb +257 -0
- data/lib/buildium-ruby/models/{resident_center_user_search_message.rb → vendor_post_message_tax_information.rb} +60 -48
- data/lib/buildium-ruby/models/vendor_post_message_vendor_insurance.rb +247 -0
- data/lib/buildium-ruby/models/vendor_put_message.rb +6 -5
- data/lib/buildium-ruby/models/{association_search_message.rb → vendor_put_message_tax_information.rb} +68 -60
- data/lib/buildium-ruby/models/vendor_refund_line_message.rb +3 -2
- data/lib/buildium-ruby/models/vendor_refund_line_message_accounting_entity.rb +290 -0
- data/lib/buildium-ruby/models/vendor_refund_line_post_message.rb +3 -2
- data/lib/buildium-ruby/models/vendor_refund_line_post_message_accounting_entity.rb +291 -0
- data/lib/buildium-ruby/models/vendor_refund_message.rb +2 -1
- data/lib/buildium-ruby/models/vendor_refund_post_message.rb +2 -1
- data/lib/buildium-ruby/models/vendor_tax_information_message.rb +3 -2
- data/lib/buildium-ruby/models/vendor_transaction_message.rb +2 -1
- data/lib/buildium-ruby/models/video_link_request_post_message.rb +21 -1
- data/lib/buildium-ruby/models/work_order_entry_contact_message.rb +2 -1
- data/lib/buildium-ruby/models/work_order_entry_contact_resource_message.rb +2 -1
- data/lib/buildium-ruby/models/work_order_line_item_message.rb +2 -1
- data/lib/buildium-ruby/models/work_order_line_item_save_message.rb +2 -1
- data/lib/buildium-ruby/models/work_order_message.rb +82 -5
- data/lib/buildium-ruby/models/{rental_appliance_search_message.rb → work_order_message_entry_contact.rb} +29 -22
- data/lib/buildium-ruby/models/{rental_search_message.rb → work_order_message_task.rb} +95 -71
- data/lib/buildium-ruby/models/work_order_post_message.rb +17 -4
- data/lib/buildium-ruby/models/work_order_post_message_task.rb +372 -0
- data/lib/buildium-ruby/models/work_order_put_message.rb +16 -3
- data/lib/buildium-ruby/models/work_order_task_message.rb +3 -2
- data/lib/buildium-ruby/models/work_order_task_post_message.rb +21 -1
- data/lib/buildium-ruby/version.rb +1 -1
- data/lib/buildium-ruby.rb +366 -58
- metadata +739 -118
- data/docs/AnnouncementSearchMessage.md +0 -26
- data/docs/ApplicantGroupSearchMessage.md +0 -26
- data/docs/ApplicantSearchMessage.md +0 -32
- data/docs/AssociationApplianceSearchMessage.md +0 -20
- data/docs/AssociationBoardMemberSearchMessage.md +0 -24
- data/docs/AssociationOwnershipAccountSearchMessage.md +0 -30
- data/docs/AssociationSearchMessage.md +0 -28
- data/docs/AssociationUnitSearchMessage.md +0 -22
- data/docs/AssociationUserSearchMessage.md +0 -34
- data/docs/BankAccountCheckSearchMessage.md +0 -20
- data/docs/BankAccountDepositSearchMessage.md +0 -20
- data/docs/BankAccountQuickDepositSearchMessage.md +0 -20
- data/docs/BankAccountSearchMessage.md +0 -22
- data/docs/BankAccountTransactionSearchMessage.md +0 -24
- data/docs/BankAccountTransferSearchMessage.md +0 -20
- data/docs/BankAccountWithdrawalSearchMessage.md +0 -20
- data/docs/BankLockboxDataSearchMessage.md +0 -18
- data/docs/BillSearchMessage.md +0 -32
- data/docs/BudgetSearchMessage.md +0 -22
- data/docs/CancellationToken.md +0 -22
- data/docs/ClientLeadSearchMessage.md +0 -26
- data/docs/ContactRequestTaskSearchMessage.md +0 -40
- data/docs/EmailSearchMessage.md +0 -26
- data/docs/FileSearchMessage.md +0 -30
- data/docs/GLAccountBalanceSearchMessage.md +0 -26
- data/docs/GLAccountsSearchMessage.md +0 -18
- data/docs/GeneralLedgerSearchMessage.md +0 -28
- data/docs/GeneralLedgerTransactionSearchMessage.md +0 -26
- data/docs/LeaseOutstandingBalanceSearchMessage.md +0 -30
- data/docs/LeaseRenewalSearchMessage.md +0 -22
- data/docs/LeaseSearchMessage.md +0 -40
- data/docs/LeaseTransactionSearchMessage.md +0 -22
- data/docs/ListingSearchMessage.md +0 -20
- data/docs/MeterReadingDetailsDeleteSearchMessage.md +0 -20
- data/docs/MeterReadingDetailsPutSearchMessage.md +0 -20
- data/docs/MeterReadingDetailsSearchMessage.md +0 -20
- data/docs/MeterReadingSearchMessage.md +0 -22
- data/docs/NoteSearchMessage.md +0 -22
- data/docs/OwnershipAccountOutstandingBalanceSearchMessage.md +0 -26
- data/docs/PhoneLogSearchMessage.md +0 -32
- data/docs/PropertyGroupSearchMessage.md +0 -20
- data/docs/RentalApplianceSearchMessage.md +0 -20
- data/docs/RentalOwnerRequestTaskSearchMessage.md +0 -40
- data/docs/RentalOwnersSearchMessage.md +0 -30
- data/docs/RentalSearchMessage.md +0 -32
- data/docs/RentalUnitSearchMessage.md +0 -22
- data/docs/ResidentCenterUserSearchMessage.md +0 -26
- data/docs/ResidentRequestTaskSearchMessage.md +0 -42
- data/docs/RetailCashUsersSearchMessage.md +0 -28
- data/docs/SafeWaitHandle.md +0 -20
- data/docs/TaskSearchMessage.md +0 -44
- data/docs/TenantSearchMessage.md +0 -36
- data/docs/ToDoTaskSearchMessage.md +0 -40
- data/docs/UserSearchMessage.md +0 -26
- data/docs/VendorSearchMessage.md +0 -32
- data/docs/VendorTransactionSearchMessage.md +0 -26
- data/docs/WaitHandle.md +0 -20
- 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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View` `Edit`
|
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
|
24
|
-
# @param
|
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(
|
28
|
-
data, _status_code, _headers = create_bank_account_with_http_info(
|
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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &
|
34
|
-
# @param
|
113
|
+
# Creates a bank account. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Banking</span> - `View` `Edit`
|
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(
|
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 '
|
42
|
-
if @api_client.config.client_side_validation &&
|
43
|
-
fail ArgumentError, "Missing the required parameter '
|
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
|
-
|
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(
|
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
|
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
|
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,
|
97
|
-
data, _status_code, _headers = create_bank_account_check_with_http_info(bank_account_id,
|
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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &
|
182
|
+
# Creates a check. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
|
103
183
|
# @param bank_account_id [Integer]
|
104
|
-
# @param
|
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,
|
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 '
|
116
|
-
if @api_client.config.client_side_validation &&
|
117
|
-
fail ArgumentError, "Missing the required parameter '
|
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
|
-
|
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(
|
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
|
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
|
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,
|
171
|
-
data, _status_code, _headers = create_bank_account_deposit_with_http_info(bank_account_id,
|
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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &
|
256
|
+
# Creates a deposit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
|
177
257
|
# @param bank_account_id [Integer]
|
178
|
-
# @param
|
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,
|
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 '
|
190
|
-
if @api_client.config.client_side_validation &&
|
191
|
-
fail ArgumentError, "Missing the required parameter '
|
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
|
-
|
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(
|
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
|
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
|
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,
|
245
|
-
data, _status_code, _headers = create_bank_account_transfer_with_http_info(bank_account_id,
|
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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &
|
330
|
+
# Creates a bank account transfer. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
|
251
331
|
# @param bank_account_id [Integer]
|
252
|
-
# @param
|
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,
|
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 '
|
264
|
-
if @api_client.config.client_side_validation &&
|
265
|
-
fail ArgumentError, "Missing the required parameter '
|
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
|
-
|
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(
|
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
|
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
|
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,
|
320
|
-
data, _status_code, _headers = create_check_upload_file_request_with_http_info(bank_account_id, check_id,
|
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. <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 &
|
405
|
+
# 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>
|
326
406
|
# @param bank_account_id [Integer]
|
327
407
|
# @param check_id [Integer]
|
328
|
-
# @param
|
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,
|
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 '
|
344
|
-
if @api_client.config.client_side_validation &&
|
345
|
-
fail ArgumentError, "Missing the required parameter '
|
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
|
-
|
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(
|
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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View` `Edit`
|
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
|
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
|
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,
|
399
|
-
data, _status_code, _headers = create_quick_deposit_with_http_info(bank_account_id,
|
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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &
|
558
|
+
# Creates a quick deposit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View` `Edit`
|
405
559
|
# @param bank_account_id [Integer]
|
406
|
-
# @param
|
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,
|
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 '
|
418
|
-
if @api_client.config.client_side_validation &&
|
419
|
-
fail ArgumentError, "Missing the required parameter '
|
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
|
-
|
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(
|
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
|
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
|
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,
|
473
|
-
data, _status_code, _headers = create_withdrawal_for_bank_account_with_http_info(bank_account_id,
|
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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &
|
632
|
+
# Creates a bank account withdrawal. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
|
479
633
|
# @param bank_account_id [Integer]
|
480
|
-
# @param
|
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,
|
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 '
|
492
|
-
if @api_client.config.client_side_validation &&
|
493
|
-
fail ArgumentError, "Missing the required parameter '
|
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
|
-
|
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(
|
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
|
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 <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &
|
707
|
+
# 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>
|
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
|
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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &
|
782
|
+
# 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>
|
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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View` `Edit`
|
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
|
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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &
|
929
|
+
# Retrieves a list of bank accounts. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View`
|
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
|
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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &
|
1008
|
+
# Retrieves all quick deposits. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View`
|
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
|
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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &
|
1089
|
+
# Retrieves a specific bank account. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View`
|
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
|
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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &
|
1154
|
+
# 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>
|
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
|
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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &
|
1232
|
+
# 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>
|
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
|
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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &
|
1314
|
+
# 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>
|
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
|
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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &
|
1387
|
+
# 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>
|
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 `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
|
1463
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
1464
|
+
# @option opts [Integer] :limit `limit` indicates the maximum number of results to be returned in the response. `limit` 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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View`
|
1473
|
+
# @param bank_account_id [Integer]
|
1474
|
+
# @param reconciliation_id [Integer]
|
1475
|
+
# @param [Hash] opts the optional parameters
|
1476
|
+
# @option opts [String] :orderby `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
|
1477
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
1478
|
+
# @option opts [Integer] :limit `limit` indicates the maximum number of results to be returned in the response. `limit` 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
|
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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &
|
1547
|
+
# Retrieves a specific bank account transaction. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Account</span> - `View`
|
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
|
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. <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 &
|
1622
|
+
# 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`
|
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
|
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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &
|
1712
|
+
# Retrieves a bank account transfer. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View`
|
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
|
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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &
|
1785
|
+
# Retrieves all bank account transfers. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View`
|
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
|
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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &
|
1867
|
+
# Retrieves a bank account withdrawal. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccounts</span> - `View`
|
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
|
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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &
|
1940
|
+
# Retrieves all bank account withdrawals. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccounts</span> - `View`
|
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
|
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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &
|
2022
|
+
# 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>
|
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
|
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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &
|
2094
|
+
# 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>
|
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
|
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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &
|
2169
|
+
# Retrieves a quick deposit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View`
|
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
|
1926
|
-
#
|
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
|
-
# @
|
1930
|
-
|
1931
|
-
|
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
|
1939
|
-
#
|
2237
|
+
# Retrieve a reconciliation's balance
|
2238
|
+
# 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`
|
1940
2239
|
# @param bank_account_id [Integer]
|
2240
|
+
# @param reconciliation_id [Integer]
|
1941
2241
|
# @param [Hash] opts the optional parameters
|
1942
|
-
# @
|
1943
|
-
|
1944
|
-
# @option opts [Integer] :limit `limit` indicates the maximum number of results to be returned in the response. `limit` 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.
|
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.
|
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}/
|
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] || '
|
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.
|
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#
|
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
|
-
#
|
1998
|
-
#
|
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
|
2298
|
+
# @param reconciliation_id [Integer]
|
2001
2299
|
# @param [Hash] opts the optional parameters
|
2002
|
-
# @return [
|
2003
|
-
def
|
2004
|
-
data, _status_code, _headers =
|
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
|
-
#
|
2009
|
-
#
|
2306
|
+
# Retrieve a reconciliation
|
2307
|
+
# 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`
|
2010
2308
|
# @param bank_account_id [Integer]
|
2011
|
-
# @param
|
2309
|
+
# @param reconciliation_id [Integer]
|
2012
2310
|
# @param [Hash] opts the optional parameters
|
2013
|
-
# @return [Array<(
|
2014
|
-
def
|
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.
|
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.
|
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 '
|
2023
|
-
if @api_client.config.client_side_validation &&
|
2024
|
-
fail ArgumentError, "Missing the required parameter '
|
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]
|
2339
|
+
post_body = opts[:debug_body]
|
2047
2340
|
|
2048
2341
|
# return_type
|
2049
|
-
return_type = opts[:debug_return_type] || '
|
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.
|
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(:
|
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 `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
|
2369
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
2370
|
+
# @option opts [Integer] :limit `limit` indicates the maximum number of results to be returned in the response. `limit` 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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View`
|
2379
|
+
# @param bank_account_id [Integer]
|
2380
|
+
# @param [Hash] opts the optional parameters
|
2381
|
+
# @option opts [String] :orderby `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
|
2382
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
2383
|
+
# @option opts [Integer] :limit `limit` indicates the maximum number of results to be returned in the response. `limit` 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 `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
|
2441
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
2442
|
+
# @option opts [Integer] :limit `limit` indicates the maximum number of results to be returned in the response. `limit` 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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View`
|
2451
|
+
# @param bank_account_id [Integer]
|
2452
|
+
# @param [Hash] opts the optional parameters
|
2453
|
+
# @option opts [String] :orderby `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
|
2454
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
2455
|
+
# @option opts [Integer] :limit `limit` indicates the maximum number of results to be returned in the response. `limit` 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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View` `Edit`
|
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.; <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`
|
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
|
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
|
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,
|
2079
|
-
data, _status_code, _headers = update_bank_account_deposit_with_http_info(bank_account_id, deposit_id,
|
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. <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 &
|
2675
|
+
# 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`
|
2085
2676
|
# @param bank_account_id [Integer]
|
2086
2677
|
# @param deposit_id [Integer]
|
2087
|
-
# @param
|
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,
|
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 '
|
2103
|
-
if @api_client.config.client_side_validation &&
|
2104
|
-
fail ArgumentError, "Missing the required parameter '
|
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
|
-
|
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(
|
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
|
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
|
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,
|
2159
|
-
data, _status_code, _headers = update_bank_account_transfer_with_http_info(bank_account_id, transfer_id,
|
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. <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 &
|
2755
|
+
# 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`
|
2165
2756
|
# @param bank_account_id [Integer]
|
2166
2757
|
# @param transfer_id [Integer]
|
2167
|
-
# @param
|
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,
|
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 '
|
2183
|
-
if @api_client.config.client_side_validation &&
|
2184
|
-
fail ArgumentError, "Missing the required parameter '
|
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
|
-
|
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(
|
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
|
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
|
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,
|
2239
|
-
data, _status_code, _headers = update_bank_account_withdrawal_with_http_info(bank_account_id, withdrawal_id,
|
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. <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 &
|
2835
|
+
# 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`
|
2245
2836
|
# @param bank_account_id [Integer]
|
2246
2837
|
# @param withdrawal_id [Integer]
|
2247
|
-
# @param
|
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,
|
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 '
|
2263
|
-
if @api_client.config.client_side_validation &&
|
2264
|
-
fail ArgumentError, "Missing the required parameter '
|
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
|
-
|
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(
|
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
|
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
|
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,
|
2319
|
-
data, _status_code, _headers = update_check_for_bank_account_with_http_info(bank_account_id, check_id,
|
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. <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 &
|
2915
|
+
# 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`
|
2325
2916
|
# @param bank_account_id [Integer]
|
2326
2917
|
# @param check_id [Integer]
|
2327
|
-
# @param
|
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,
|
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 '
|
2343
|
-
if @api_client.config.client_side_validation &&
|
2344
|
-
fail ArgumentError, "Missing the required parameter '
|
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
|
-
|
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(
|
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
|
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
|
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,
|
2399
|
-
data, _status_code, _headers = update_quick_deposit_with_http_info(bank_account_id, quick_deposit_id,
|
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. <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 &
|
2995
|
+
# 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`
|
2405
2996
|
# @param bank_account_id [Integer]
|
2406
2997
|
# @param quick_deposit_id [Integer]
|
2407
|
-
# @param
|
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,
|
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 '
|
2423
|
-
if @api_client.config.client_side_validation &&
|
2424
|
-
fail ArgumentError, "Missing the required parameter '
|
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
|
-
|
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(
|
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. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View` `Edit`
|
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's balance
|
3155
|
+
# 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`
|
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
|