buildium-ruby 2.0.1
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 +7 -0
- data/.github/workflows/ci.yml +27 -0
- data/.github/workflows/publish.yml +48 -0
- data/.gitignore +39 -0
- data/.openapi-generator/FILES +1215 -0
- data/.openapi-generator/VERSION +1 -0
- data/.openapi-generator/templates/ruby-client/gemspec.mustache +37 -0
- data/.openapi-generator/templates/ruby-client/partial_model_generic.mustache +371 -0
- data/.openapi-generator/templates/ruby-client/rubocop.mustache +124 -0
- data/.openapi-generator-ignore +26 -0
- data/.rspec +2 -0
- data/.rubocop.yml +124 -0
- data/CUSTOMIZATIONS.md +11 -0
- data/DOCS.md +811 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +75 -0
- data/README.md +118 -0
- data/Rakefile +10 -0
- data/bin/CUSTOMIZATIONS.md +11 -0
- data/bin/README.md +118 -0
- data/bin/config.yml +9 -0
- data/bin/rebuild.sh +49 -0
- data/bin/swagger.json +52218 -0
- data/buildium-ruby.gemspec +39 -0
- data/docs/AccountInfoMessage.md +26 -0
- data/docs/AccountingApi.md +2041 -0
- data/docs/AccountingEntityMessage.md +22 -0
- data/docs/AccountingEntitySaveMessage.md +20 -0
- data/docs/AccountingLockPeriodMessage.md +22 -0
- data/docs/AccountingSettingsMessage.md +28 -0
- data/docs/AddressMessage.md +30 -0
- data/docs/AdministrationApi.md +485 -0
- data/docs/AllTasksMessage.md +46 -0
- data/docs/AnnouncementMessage.md +30 -0
- data/docs/AnnouncementPostMessage.md +28 -0
- data/docs/AnnouncementSearchMessage.md +26 -0
- data/docs/AnnouncementSenderMessage.md +22 -0
- data/docs/ApiError.md +20 -0
- data/docs/ApiErrorResponse.md +22 -0
- data/docs/ApplianceMessage.md +26 -0
- data/docs/ApplicantApplicationMessage.md +24 -0
- data/docs/ApplicantGroupMessage.md +26 -0
- data/docs/ApplicantGroupPostMessage.md +20 -0
- data/docs/ApplicantGroupPutMessage.md +22 -0
- data/docs/ApplicantGroupSearchMessage.md +26 -0
- data/docs/ApplicantMessage.md +36 -0
- data/docs/ApplicantPostMessage.md +28 -0
- data/docs/ApplicantPutMessage.md +26 -0
- data/docs/ApplicantSearchMessage.md +32 -0
- data/docs/ApplicantsApi.md +1489 -0
- data/docs/ApplicationMessage.md +26 -0
- data/docs/ApplicationPutMessage.md +18 -0
- data/docs/ApplicationResponseFieldMessage.md +24 -0
- data/docs/ApplicationResponseMessage.md +22 -0
- data/docs/ApplicationSectionResponseMessage.md +18 -0
- data/docs/AssociationApplianceMessage.md +32 -0
- data/docs/AssociationAppliancePostMessage.md +32 -0
- data/docs/AssociationAppliancePutMessage.md +28 -0
- data/docs/AssociationApplianceSearchMessage.md +20 -0
- data/docs/AssociationApplianceServiceHistoryMessage.md +24 -0
- data/docs/AssociationApplianceServiceHistoryPostMessage.md +22 -0
- data/docs/AssociationAppliancesApi.md +646 -0
- data/docs/AssociationBoardMemberMessage.md +36 -0
- data/docs/AssociationBoardMemberPostMessage.md +24 -0
- data/docs/AssociationBoardMemberPutMessage.md +22 -0
- data/docs/AssociationBoardMemberSearchMessage.md +24 -0
- data/docs/AssociationMessage.md +40 -0
- data/docs/AssociationOwnerBoardTermMessage.md +28 -0
- data/docs/AssociationOwnerBoardTermPostMessage.md +22 -0
- data/docs/AssociationOwnerMessage.md +52 -0
- data/docs/AssociationOwnerPostMessage.md +44 -0
- data/docs/AssociationOwnerPutMessage.md +38 -0
- data/docs/AssociationOwnerToExistingOwnershipAccountPostMessage.md +48 -0
- data/docs/AssociationOwnerUnitOccupancyPutMessage.md +18 -0
- data/docs/AssociationOwnerUnitOccupancyStatusMessage.md +20 -0
- data/docs/AssociationOwnersApi.md +916 -0
- data/docs/AssociationOwnershipAccountMessage.md +34 -0
- data/docs/AssociationOwnershipAccountPostMessage.md +32 -0
- data/docs/AssociationOwnershipAccountPutMessage.md +18 -0
- data/docs/AssociationOwnershipAccountSearchMessage.md +28 -0
- data/docs/AssociationOwnershipAccountsApi.md +2042 -0
- data/docs/AssociationPostMessage.md +32 -0
- data/docs/AssociationPreferredVendorMessage.md +34 -0
- data/docs/AssociationPreferredVendorPutMessage.md +18 -0
- data/docs/AssociationPutMessage.md +34 -0
- data/docs/AssociationSearchMessage.md +24 -0
- data/docs/AssociationTenantMessage.md +44 -0
- data/docs/AssociationTenantPostMessage.md +42 -0
- data/docs/AssociationTenantPutMessage.md +38 -0
- data/docs/AssociationTenantsApi.md +671 -0
- data/docs/AssociationUnitMessage.md +32 -0
- data/docs/AssociationUnitPutMessage.md +26 -0
- data/docs/AssociationUnitSearchMessage.md +22 -0
- data/docs/AssociationUnitsApi.md +659 -0
- data/docs/AssociationUnitsPostMessage.md +28 -0
- data/docs/AssociationUserSearchMessage.md +34 -0
- data/docs/AssociationsApi.md +1235 -0
- data/docs/BankAccountCheckAccountingEntitySaveMessage.md +20 -0
- data/docs/BankAccountCheckLineMessage.md +28 -0
- data/docs/BankAccountCheckLineSaveMessage.md +26 -0
- data/docs/BankAccountCheckMessage.md +30 -0
- data/docs/BankAccountCheckPayeeMessage.md +22 -0
- data/docs/BankAccountCheckPayeeSaveMessage.md +20 -0
- data/docs/BankAccountCheckPostMessage.md +26 -0
- data/docs/BankAccountCheckPutMessage.md +26 -0
- data/docs/BankAccountCheckSearchMessage.md +20 -0
- data/docs/BankAccountDepositLineMessage.md +28 -0
- data/docs/BankAccountDepositLineSaveMessage.md +26 -0
- data/docs/BankAccountDepositMessage.md +28 -0
- data/docs/BankAccountDepositPostMessage.md +24 -0
- data/docs/BankAccountDepositPutMessage.md +22 -0
- data/docs/BankAccountDepositSearchMessage.md +20 -0
- data/docs/BankAccountMessage.md +40 -0
- data/docs/BankAccountPostMessage.md +30 -0
- data/docs/BankAccountPutMessage.md +30 -0
- data/docs/BankAccountQuickDepositMessage.md +28 -0
- data/docs/BankAccountQuickDepositSaveMessage.md +26 -0
- data/docs/BankAccountQuickDepositSearchMessage.md +20 -0
- data/docs/BankAccountSearchMessage.md +20 -0
- data/docs/BankAccountTransactionMessage.md +36 -0
- data/docs/BankAccountTransactionSearchMessage.md +24 -0
- data/docs/BankAccountTransferAccountingEntitySaveMessage.md +20 -0
- data/docs/BankAccountTransferMessage.md +28 -0
- data/docs/BankAccountTransferSaveMessage.md +26 -0
- data/docs/BankAccountTransferSearchMessage.md +20 -0
- data/docs/BankAccountWithdrawalMessage.md +28 -0
- data/docs/BankAccountWithdrawalSaveMessage.md +26 -0
- data/docs/BankAccountWithdrawalSearchMessage.md +20 -0
- data/docs/BankAccountsApi.md +2224 -0
- data/docs/BillFileMessage.md +28 -0
- data/docs/BillLineMessage.md +28 -0
- data/docs/BillLinePostMessage.md +26 -0
- data/docs/BillLinePutMessage.md +28 -0
- data/docs/BillMarkupMessage.md +20 -0
- data/docs/BillMarkupSaveMessage.md +20 -0
- data/docs/BillMessage.md +36 -0
- data/docs/BillPaymentAccountingEntityMessage.md +20 -0
- data/docs/BillPaymentLineMessage.md +22 -0
- data/docs/BillPaymentLinePostMessage.md +20 -0
- data/docs/BillPaymentMessage.md +28 -0
- data/docs/BillPaymentPostMessage.md +26 -0
- data/docs/BillPostMessage.md +30 -0
- data/docs/BillPutMessage.md +28 -0
- data/docs/BillSearchMessage.md +32 -0
- data/docs/BudgetDetailsMessage.md +24 -0
- data/docs/BudgetDetailsSaveMessage.md +20 -0
- data/docs/BudgetMessage.md +28 -0
- data/docs/BudgetMonthlyAmountsMessage.md +40 -0
- data/docs/BudgetMonthlyAmountsSaveMessage.md +40 -0
- data/docs/BudgetPostMessage.md +26 -0
- data/docs/BudgetPutMessage.md +20 -0
- data/docs/BudgetSearchMessage.md +22 -0
- data/docs/ChargeRecurringTransactionPostMessage.md +32 -0
- data/docs/ChargeRecurringTransactionPutMessage.md +34 -0
- data/docs/CheckPrintingInfoMessage.md +46 -0
- data/docs/CheckPrintingInfoPostMessage.md +46 -0
- data/docs/CheckPrintingInfoPutMessage.md +46 -0
- data/docs/ClientLeadCreditRequestMessage.md +24 -0
- data/docs/ClientLeadMessage.md +38 -0
- data/docs/ClientLeadSearchMessage.md +26 -0
- data/docs/ClientLeadsApi.md +177 -0
- data/docs/CommunicationsApi.md +1238 -0
- data/docs/ContactDetailMessage.md +24 -0
- data/docs/ContactDetailPhoneMessage.md +22 -0
- data/docs/ContactDetailSaveMessage.md +24 -0
- data/docs/ContactDetailSavePhoneMessage.md +22 -0
- data/docs/ContactInfoMessage.md +24 -0
- data/docs/ContactRequestTaskMessage.md +42 -0
- data/docs/ContactRequestTaskPostMessage.md +38 -0
- data/docs/ContactRequestTaskPutMessage.md +38 -0
- data/docs/ContactRequestTaskSearchMessage.md +40 -0
- data/docs/CosignerMessage.md +36 -0
- data/docs/CreatedByUserMessage.md +24 -0
- data/docs/CreditRecurringTransactionPostMessage.md +36 -0
- data/docs/DepositDetailMessage.md +20 -0
- data/docs/ElectronicPaymentsMessage.md +32 -0
- data/docs/EmailMessage.md +24 -0
- data/docs/EmailPostMessage.md +30 -0
- data/docs/EmailRecipientMessage.md +26 -0
- data/docs/EmailSearchMessage.md +26 -0
- data/docs/EmailSenderMessage.md +24 -0
- data/docs/EmergencyContactMessage.md +24 -0
- data/docs/FileCategoryMessage.md +22 -0
- data/docs/FileCategoryPostMessage.md +18 -0
- data/docs/FileCategoryPutMessage.md +18 -0
- data/docs/FileDownloadMessage.md +18 -0
- data/docs/FileEntityMessage.md +22 -0
- data/docs/FileMessage.md +34 -0
- data/docs/FileNamePostMessage.md +18 -0
- data/docs/FilePutMessage.md +22 -0
- data/docs/FileSearchMessage.md +30 -0
- data/docs/FileUploadPostMessage.md +28 -0
- data/docs/FileUploadTicketMessage.md +22 -0
- data/docs/FilesApi.md +730 -0
- data/docs/GLAccountBalanceItemMessage.md +20 -0
- data/docs/GLAccountBalanceMessage.md +22 -0
- data/docs/GLAccountBalanceSearchMessage.md +26 -0
- data/docs/GLAccountMessage.md +46 -0
- data/docs/GLAccountPostMessage.md +32 -0
- data/docs/GLAccountPutMessage.md +32 -0
- data/docs/GLAccountsSearchMessage.md +18 -0
- data/docs/GLTransactionMessageV1.md +26 -0
- data/docs/GeneralJournalEntryLineSaveMessage.md +24 -0
- data/docs/GeneralJournalEntryPostMessage.md +24 -0
- data/docs/GeneralJournalEntryPutMessage.md +24 -0
- data/docs/GeneralLedgerJournalLineMessage.md +28 -0
- data/docs/GeneralLedgerJournalMessage.md +20 -0
- data/docs/GeneralLedgerTransactionMessage.md +38 -0
- data/docs/GeneralLedgerTransactionSearchMessage.md +26 -0
- data/docs/InternalTransactionStatusMessage.md +22 -0
- data/docs/JournalLineMessage.md +28 -0
- data/docs/JournalMessage.md +20 -0
- data/docs/LastUpdatedByUserMessage.md +26 -0
- data/docs/LeaseAccountDetailMessage.md +20 -0
- data/docs/LeaseChargeLineSaveMessage.md +22 -0
- data/docs/LeaseChargePostMessage.md +22 -0
- data/docs/LeaseChargePutMessage.md +22 -0
- data/docs/LeaseChargeRecurringTransactionMessage.md +40 -0
- data/docs/LeaseCosignerPostMessage.md +32 -0
- data/docs/LeaseLedgerCreditLinePostMessage.md +20 -0
- data/docs/LeaseLedgerCreditPostMessage.md +26 -0
- data/docs/LeaseLedgerDepositWithholdingLinePostMessage.md +20 -0
- data/docs/LeaseLedgerDepositWithholdingPostMessage.md +24 -0
- data/docs/LeaseLedgerPaymentLineSaveMessage.md +20 -0
- data/docs/LeaseLedgerPaymentPostMessage.md +30 -0
- data/docs/LeaseLedgerRefundLineMessage.md +20 -0
- data/docs/LeaseLedgerRefundLinePostMessage.md +20 -0
- data/docs/LeaseLedgerRefundMessage.md +34 -0
- data/docs/LeaseLedgerRefundPostMessage.md +30 -0
- data/docs/LeaseLedgerReversePaymentNSFChargePostMessage.md +20 -0
- data/docs/LeaseLedgerReversePaymentOtherBankChargePostMessage.md +20 -0
- data/docs/LeaseLedgerReversePaymentPostMessage.md +24 -0
- data/docs/LeaseMessage.md +58 -0
- data/docs/LeaseMoveOutDataMessage.md +22 -0
- data/docs/LeaseMoveOutDataPostMessage.md +22 -0
- data/docs/LeaseOutstandingBalanceMessage.md +40 -0
- data/docs/LeaseOutstandingBalanceSearchMessage.md +30 -0
- data/docs/LeasePostMessage.md +38 -0
- data/docs/LeasePutMessage.md +28 -0
- data/docs/LeaseRecurringCreditMessage.md +44 -0
- data/docs/LeaseRecurringPaymentMessage.md +42 -0
- data/docs/LeaseRenewalMessage.md +32 -0
- data/docs/LeaseRenewalPostMessage.md +38 -0
- data/docs/LeaseRentChargeMessage.md +30 -0
- data/docs/LeaseRentChargePostMessage.md +24 -0
- data/docs/LeaseRentMessage.md +34 -0
- data/docs/LeaseRentPostMessage.md +20 -0
- data/docs/LeaseSearchMessage.md +40 -0
- data/docs/LeaseSecurityDepositPostMessage.md +20 -0
- data/docs/LeaseTenantMessage.md +20 -0
- data/docs/LeaseTransactionMessage.md +34 -0
- data/docs/LeaseTransactionSearchMessage.md +22 -0
- data/docs/LeasesApi.md +2865 -0
- data/docs/ListingContactMessage.md +26 -0
- data/docs/ListingContactSaveMessage.md +24 -0
- data/docs/ListingFileMessage.md +22 -0
- data/docs/ListingMessage.md +36 -0
- data/docs/ListingPropertyMessage.md +34 -0
- data/docs/ListingPutMessage.md +28 -0
- data/docs/ListingSearchMessage.md +20 -0
- data/docs/ListingUnitMessage.md +36 -0
- data/docs/ListingsApi.md +642 -0
- data/docs/LockPeriodSettingsGlobalMessage.md +18 -0
- data/docs/LockPeriodSettingsOverridesMessage.md +20 -0
- data/docs/LoggedByStaffUserMessage.md +24 -0
- data/docs/LookupMessage.md +20 -0
- data/docs/MailingTemplateMessage.md +24 -0
- data/docs/NoteMessage.md +22 -0
- data/docs/NotePostMessage.md +18 -0
- data/docs/NotePutMessage.md +18 -0
- data/docs/NoteSearchMessage.md +22 -0
- data/docs/OutstandingBalancesLineMessage.md +20 -0
- data/docs/OwnershipAccountChargeRecurringTransactionMessage.md +40 -0
- data/docs/OwnershipAccountCreditLinePostMessage.md +20 -0
- data/docs/OwnershipAccountCreditPostMessage.md +26 -0
- data/docs/OwnershipAccountDepositWithholdingLinePostMessage.md +20 -0
- data/docs/OwnershipAccountDepositWithholdingPostMessage.md +24 -0
- data/docs/OwnershipAccountLedgerChargeLinesPutMessage.md +22 -0
- data/docs/OwnershipAccountLedgerChargeLinesSaveMessage.md +20 -0
- data/docs/OwnershipAccountLedgerChargePostMessage.md +22 -0
- data/docs/OwnershipAccountLedgerChargePutMessage.md +22 -0
- data/docs/OwnershipAccountLedgerPaymentLineSaveMessage.md +20 -0
- data/docs/OwnershipAccountLedgerPaymentPostMessage.md +30 -0
- data/docs/OwnershipAccountOutstandingBalanceMessage.md +36 -0
- data/docs/OwnershipAccountOutstandingBalanceSearchMessage.md +26 -0
- data/docs/OwnershipAccountRecurringCreditMessage.md +44 -0
- data/docs/OwnershipAccountRecurringPaymentMessage.md +42 -0
- data/docs/OwnershipAccountRefundLineMessage.md +20 -0
- data/docs/OwnershipAccountRefundLinesPostMessage.md +20 -0
- data/docs/OwnershipAccountRefundMessage.md +34 -0
- data/docs/OwnershipAccountRefundPostMessage.md +30 -0
- data/docs/OwnershipAccountTransactionMessage.md +34 -0
- data/docs/PaidByMessage.md +20 -0
- data/docs/ParticipantMessage.md +22 -0
- data/docs/ParticipantResourceMessage.md +20 -0
- data/docs/PayeeMessage.md +24 -0
- data/docs/PaymentDetailMessage.md +24 -0
- data/docs/PaymentRecurringTransactionPostMessage.md +34 -0
- data/docs/PaymentTransactionsMessage.md +22 -0
- data/docs/PhoneLogMessage.md +28 -0
- data/docs/PhoneLogParticipantPostMessage.md +22 -0
- data/docs/PhoneLogParticipantUnitAgreementPostMessage.md +20 -0
- data/docs/PhoneLogPostMessage.md +24 -0
- data/docs/PhoneLogPutMessage.md +22 -0
- data/docs/PhoneLogSearchMessage.md +32 -0
- data/docs/PhoneNumberMessage.md +20 -0
- data/docs/PhoneNumbersMessage.md +24 -0
- data/docs/PropertyGroupMessage.md +26 -0
- data/docs/PropertyGroupPostMessage.md +22 -0
- data/docs/PropertyGroupPutMessage.md +22 -0
- data/docs/PropertyGroupSearchMessage.md +20 -0
- data/docs/PropertyGroupsApi.md +327 -0
- data/docs/PropertyManagerMessage.md +32 -0
- data/docs/PropertyMessage.md +22 -0
- data/docs/RecurringTransactionLineMessage.md +20 -0
- data/docs/RecurringTransactionLinePostMessage.md +20 -0
- data/docs/RecurringTransactionMessage.md +40 -0
- data/docs/RentalApplianceMessage.md +32 -0
- data/docs/RentalAppliancePostMessage.md +32 -0
- data/docs/RentalAppliancePutMessage.md +28 -0
- data/docs/RentalApplianceSearchMessage.md +20 -0
- data/docs/RentalApplianceServiceHistoryMessage.md +24 -0
- data/docs/RentalApplianceServiceHistoryPostMessage.md +22 -0
- data/docs/RentalAppliancesApi.md +646 -0
- data/docs/RentalFeaturesMessage.md +20 -0
- data/docs/RentalFeaturesPutMessage.md +20 -0
- data/docs/RentalMessage.md +40 -0
- data/docs/RentalOwnerMessage.md +46 -0
- data/docs/RentalOwnerPostMessage.md +44 -0
- data/docs/RentalOwnerPutMessage.md +42 -0
- data/docs/RentalOwnerRequestTaskMessage.md +42 -0
- data/docs/RentalOwnerRequestTaskPostMessage.md +38 -0
- data/docs/RentalOwnerRequestTaskPutMessage.md +36 -0
- data/docs/RentalOwnerRequestTaskSearchMessage.md +40 -0
- data/docs/RentalOwnerTaxInformationMessage.md +28 -0
- data/docs/RentalOwnersApi.md +667 -0
- data/docs/RentalOwnersSearchMessage.md +30 -0
- data/docs/RentalPreferredVendorMessage.md +34 -0
- data/docs/RentalPreferredVendorPutMessage.md +18 -0
- data/docs/RentalPropertiesApi.md +989 -0
- data/docs/RentalPropertyPostMessage.md +36 -0
- data/docs/RentalPropertyPutMessage.md +32 -0
- data/docs/RentalPropertyUnitPostMessage.md +30 -0
- data/docs/RentalSearchMessage.md +32 -0
- data/docs/RentalTenantPostMessage.md +42 -0
- data/docs/RentalTenantPutMessage.md +40 -0
- data/docs/RentalTenantRenewalPostMessage.md +40 -0
- data/docs/RentalTenantsApi.md +673 -0
- data/docs/RentalUnitFeaturesMessage.md +18 -0
- data/docs/RentalUnitFeaturesPutMessage.md +18 -0
- data/docs/RentalUnitMessage.md +40 -0
- data/docs/RentalUnitPutMessage.md +30 -0
- data/docs/RentalUnitSearchMessage.md +22 -0
- data/docs/RentalUnitsApi.md +815 -0
- data/docs/RentalUnitsPostMessage.md +32 -0
- data/docs/RequestedByUserEntityMessage.md +28 -0
- data/docs/ResidentCenterApi.md +100 -0
- data/docs/ResidentCenterUserMessage.md +24 -0
- data/docs/ResidentCenterUserReferenceMessage.md +26 -0
- data/docs/ResidentCenterUserSearchMessage.md +26 -0
- data/docs/ResidentRequestTaskMessage.md +52 -0
- data/docs/ResidentRequestTaskPostMessage.md +42 -0
- data/docs/ResidentRequestTaskPutMessage.md +32 -0
- data/docs/ResidentRequestTaskSearchMessage.md +42 -0
- data/docs/SaveAddressMessage.md +30 -0
- data/docs/SaveEmergencyContactMessage.md +24 -0
- data/docs/TaskCategoryMessage.md +24 -0
- data/docs/TaskCategoryPutMessage.md +18 -0
- data/docs/TaskCategoryResponseMessage.md +24 -0
- data/docs/TaskCategorySaveMessage.md +18 -0
- data/docs/TaskHistoryFileMessage.md +28 -0
- data/docs/TaskHistoryFileUploadPostMessage.md +18 -0
- data/docs/TaskHistoryMessage.md +40 -0
- data/docs/TaskHistoryPutMessage.md +18 -0
- data/docs/TaskHistoryUserMessage.md +24 -0
- data/docs/TaskSearchMessage.md +44 -0
- data/docs/TaskSubCategoryMessage.md +20 -0
- data/docs/TasksApi.md +2528 -0
- data/docs/TaxInformationPostMessage.md +26 -0
- data/docs/TaxInformationSaveMessage.md +28 -0
- data/docs/TenantMessage.md +48 -0
- data/docs/TenantSearchMessage.md +36 -0
- data/docs/ToDoTaskMessage.md +40 -0
- data/docs/ToDoTaskPostMessage.md +36 -0
- data/docs/ToDoTaskPutMessage.md +36 -0
- data/docs/ToDoTaskSearchMessage.md +40 -0
- data/docs/UndepositedFundsMessage.md +18 -0
- data/docs/UnitAgreementMessage.md +22 -0
- data/docs/UserMessage.md +40 -0
- data/docs/UserRoleMessage.md +24 -0
- data/docs/UserSearchMessage.md +26 -0
- data/docs/VehicleMessage.md +24 -0
- data/docs/VendorCategoryMessage.md +22 -0
- data/docs/VendorCategorySaveMessage.md +18 -0
- data/docs/VendorCreditLineItemMessage.md +26 -0
- data/docs/VendorCreditLineItemPostMessage.md +24 -0
- data/docs/VendorCreditMessage.md +26 -0
- data/docs/VendorCreditPostMessage.md +24 -0
- data/docs/VendorInsuranceMessage.md +22 -0
- data/docs/VendorInsuranceSaveMessage.md +22 -0
- data/docs/VendorMessage.md +50 -0
- data/docs/VendorPostMessage.md +46 -0
- data/docs/VendorPutMessage.md +46 -0
- data/docs/VendorRefundLineMessage.md +26 -0
- data/docs/VendorRefundLinePostMessage.md +24 -0
- data/docs/VendorRefundMessage.md +30 -0
- data/docs/VendorRefundPostMessage.md +28 -0
- data/docs/VendorSearchMessage.md +32 -0
- data/docs/VendorTaxInformationMessage.md +28 -0
- data/docs/VendorTransactionMessage.md +28 -0
- data/docs/VendorTransactionSearchMessage.md +26 -0
- data/docs/VendorsApi.md +1396 -0
- data/docs/WorkOrderEntryContactMessage.md +20 -0
- data/docs/WorkOrderEntryContactResourceMessage.md +20 -0
- data/docs/WorkOrderLineItemMessage.md +24 -0
- data/docs/WorkOrderLineItemSaveMessage.md +24 -0
- data/docs/WorkOrderMessage.md +42 -0
- data/docs/WorkOrderPostMessage.md +38 -0
- data/docs/WorkOrderPutMessage.md +34 -0
- data/docs/WorkOrderSearchMessage.md +54 -0
- data/docs/WorkOrderTaskMessage.md +32 -0
- data/docs/WorkOrderTaskPostMessage.md +30 -0
- data/docs/WorkOrdersApi.md +361 -0
- data/lib/buildium-ruby/api/accounting_api.rb +1855 -0
- data/lib/buildium-ruby/api/administration_api.rb +417 -0
- data/lib/buildium-ruby/api/applicants_api.rb +1368 -0
- data/lib/buildium-ruby/api/association_appliances_api.rb +577 -0
- data/lib/buildium-ruby/api/association_owners_api.rb +849 -0
- data/lib/buildium-ruby/api/association_ownership_accounts_api.rb +1890 -0
- data/lib/buildium-ruby/api/association_tenants_api.rb +628 -0
- data/lib/buildium-ruby/api/association_units_api.rb +606 -0
- data/lib/buildium-ruby/api/associations_api.rb +1143 -0
- data/lib/buildium-ruby/api/bank_accounts_api.rb +2085 -0
- data/lib/buildium-ruby/api/client_leads_api.rb +174 -0
- data/lib/buildium-ruby/api/communications_api.rb +1097 -0
- data/lib/buildium-ruby/api/files_api.rb +652 -0
- data/lib/buildium-ruby/api/leases_api.rb +2636 -0
- data/lib/buildium-ruby/api/listings_api.rb +569 -0
- data/lib/buildium-ruby/api/property_groups_api.rb +299 -0
- data/lib/buildium-ruby/api/rental_appliances_api.rb +577 -0
- data/lib/buildium-ruby/api/rental_owners_api.rb +622 -0
- data/lib/buildium-ruby/api/rental_properties_api.rb +916 -0
- data/lib/buildium-ruby/api/rental_tenants_api.rb +635 -0
- data/lib/buildium-ruby/api/rental_units_api.rb +743 -0
- data/lib/buildium-ruby/api/resident_center_api.rb +111 -0
- data/lib/buildium-ruby/api/tasks_api.rb +2363 -0
- data/lib/buildium-ruby/api/vendors_api.rb +1285 -0
- data/lib/buildium-ruby/api/work_orders_api.rb +366 -0
- data/lib/buildium-ruby/api_client.rb +426 -0
- data/lib/buildium-ruby/api_error.rb +57 -0
- data/lib/buildium-ruby/configuration.rb +319 -0
- data/lib/buildium-ruby/models/account_info_message.rb +257 -0
- data/lib/buildium-ruby/models/accounting_entity_message.rb +273 -0
- data/lib/buildium-ruby/models/accounting_entity_save_message.rb +273 -0
- data/lib/buildium-ruby/models/accounting_lock_period_message.rb +242 -0
- data/lib/buildium-ruby/models/accounting_settings_message.rb +314 -0
- data/lib/buildium-ruby/models/address_message.rb +313 -0
- data/lib/buildium-ruby/models/all_tasks_message.rb +413 -0
- data/lib/buildium-ruby/models/announcement_message.rb +301 -0
- data/lib/buildium-ruby/models/announcement_post_message.rb +295 -0
- data/lib/buildium-ruby/models/announcement_search_message.rb +292 -0
- data/lib/buildium-ruby/models/announcement_sender_message.rb +239 -0
- data/lib/buildium-ruby/models/api_error_response.rb +237 -0
- data/lib/buildium-ruby/models/appliance_message.rb +259 -0
- data/lib/buildium-ruby/models/applicant_application_message.rb +282 -0
- data/lib/buildium-ruby/models/applicant_group_message.rb +294 -0
- data/lib/buildium-ruby/models/applicant_group_post_message.rb +235 -0
- data/lib/buildium-ruby/models/applicant_group_put_message.rb +284 -0
- data/lib/buildium-ruby/models/applicant_group_search_message.rb +296 -0
- data/lib/buildium-ruby/models/applicant_message.rb +312 -0
- data/lib/buildium-ruby/models/applicant_post_message.rb +283 -0
- data/lib/buildium-ruby/models/applicant_put_message.rb +267 -0
- data/lib/buildium-ruby/models/applicant_search_message.rb +326 -0
- data/lib/buildium-ruby/models/application_message.rb +294 -0
- data/lib/buildium-ruby/models/application_put_message.rb +257 -0
- data/lib/buildium-ruby/models/application_response_field_message.rb +294 -0
- data/lib/buildium-ruby/models/application_response_message.rb +274 -0
- data/lib/buildium-ruby/models/application_section_response_message.rb +219 -0
- data/lib/buildium-ruby/models/association_appliance_message.rb +288 -0
- data/lib/buildium-ruby/models/association_appliance_post_message.rb +298 -0
- data/lib/buildium-ruby/models/association_appliance_put_message.rb +273 -0
- data/lib/buildium-ruby/models/association_appliance_search_message.rb +232 -0
- data/lib/buildium-ruby/models/association_appliance_service_history_message.rb +282 -0
- data/lib/buildium-ruby/models/association_appliance_service_history_post_message.rb +282 -0
- data/lib/buildium-ruby/models/association_board_member_message.rb +344 -0
- data/lib/buildium-ruby/models/association_board_member_post_message.rb +293 -0
- data/lib/buildium-ruby/models/association_board_member_put_message.rb +278 -0
- data/lib/buildium-ruby/models/association_board_member_search_message.rb +274 -0
- data/lib/buildium-ruby/models/association_message.rb +327 -0
- data/lib/buildium-ruby/models/association_owner_board_term_message.rb +303 -0
- data/lib/buildium-ruby/models/association_owner_board_term_post_message.rb +278 -0
- data/lib/buildium-ruby/models/association_owner_message.rb +440 -0
- data/lib/buildium-ruby/models/association_owner_post_message.rb +398 -0
- data/lib/buildium-ruby/models/association_owner_put_message.rb +363 -0
- data/lib/buildium-ruby/models/association_owner_to_existing_ownership_account_post_message.rb +428 -0
- data/lib/buildium-ruby/models/association_owner_unit_occupancy_put_message.rb +223 -0
- data/lib/buildium-ruby/models/association_owner_unit_occupancy_status_message.rb +228 -0
- data/lib/buildium-ruby/models/association_ownership_account_message.rb +347 -0
- data/lib/buildium-ruby/models/association_ownership_account_post_message.rb +346 -0
- data/lib/buildium-ruby/models/association_ownership_account_put_message.rb +223 -0
- data/lib/buildium-ruby/models/association_ownership_account_search_message.rb +296 -0
- data/lib/buildium-ruby/models/association_post_message.rb +302 -0
- data/lib/buildium-ruby/models/association_preferred_vendor_message.rb +300 -0
- data/lib/buildium-ruby/models/association_preferred_vendor_put_message.rb +225 -0
- data/lib/buildium-ruby/models/association_put_message.rb +322 -0
- data/lib/buildium-ruby/models/association_search_message.rb +283 -0
- data/lib/buildium-ruby/models/association_tenant_message.rb +350 -0
- data/lib/buildium-ruby/models/association_tenant_post_message.rb +354 -0
- data/lib/buildium-ruby/models/association_tenant_put_message.rb +329 -0
- data/lib/buildium-ruby/models/association_unit_message.rb +334 -0
- data/lib/buildium-ruby/models/association_unit_put_message.rb +313 -0
- data/lib/buildium-ruby/models/association_unit_search_message.rb +241 -0
- data/lib/buildium-ruby/models/association_units_post_message.rb +328 -0
- data/lib/buildium-ruby/models/association_user_search_message.rb +324 -0
- data/lib/buildium-ruby/models/bank_account_check_accounting_entity_save_message.rb +272 -0
- data/lib/buildium-ruby/models/bank_account_check_line_message.rb +267 -0
- data/lib/buildium-ruby/models/bank_account_check_line_save_message.rb +272 -0
- data/lib/buildium-ruby/models/bank_account_check_message.rb +279 -0
- data/lib/buildium-ruby/models/bank_account_check_payee_message.rb +272 -0
- data/lib/buildium-ruby/models/bank_account_check_payee_save_message.rb +272 -0
- data/lib/buildium-ruby/models/bank_account_check_post_message.rb +274 -0
- data/lib/buildium-ruby/models/bank_account_check_put_message.rb +274 -0
- data/lib/buildium-ruby/models/bank_account_check_search_message.rb +238 -0
- data/lib/buildium-ruby/models/bank_account_deposit_line_message.rb +267 -0
- data/lib/buildium-ruby/models/bank_account_deposit_line_save_message.rb +257 -0
- data/lib/buildium-ruby/models/bank_account_deposit_message.rb +272 -0
- data/lib/buildium-ruby/models/bank_account_deposit_post_message.rb +257 -0
- data/lib/buildium-ruby/models/bank_account_deposit_put_message.rb +250 -0
- data/lib/buildium-ruby/models/bank_account_deposit_search_message.rb +238 -0
- data/lib/buildium-ruby/models/bank_account_message.rb +360 -0
- data/lib/buildium-ruby/models/bank_account_post_message.rb +338 -0
- data/lib/buildium-ruby/models/bank_account_put_message.rb +343 -0
- data/lib/buildium-ruby/models/bank_account_quick_deposit_message.rb +267 -0
- data/lib/buildium-ruby/models/bank_account_quick_deposit_save_message.rb +277 -0
- data/lib/buildium-ruby/models/bank_account_quick_deposit_search_message.rb +238 -0
- data/lib/buildium-ruby/models/bank_account_search_message.rb +263 -0
- data/lib/buildium-ruby/models/bank_account_transaction_message.rb +359 -0
- data/lib/buildium-ruby/models/bank_account_transaction_search_message.rb +292 -0
- data/lib/buildium-ruby/models/bank_account_transfer_accounting_entity_save_message.rb +272 -0
- data/lib/buildium-ruby/models/bank_account_transfer_message.rb +267 -0
- data/lib/buildium-ruby/models/bank_account_transfer_save_message.rb +277 -0
- data/lib/buildium-ruby/models/bank_account_transfer_search_message.rb +238 -0
- data/lib/buildium-ruby/models/bank_account_withdrawal_message.rb +267 -0
- data/lib/buildium-ruby/models/bank_account_withdrawal_save_message.rb +277 -0
- data/lib/buildium-ruby/models/bank_account_withdrawal_search_message.rb +238 -0
- data/lib/buildium-ruby/models/bill_file_message.rb +268 -0
- data/lib/buildium-ruby/models/bill_line_message.rb +266 -0
- data/lib/buildium-ruby/models/bill_line_post_message.rb +272 -0
- data/lib/buildium-ruby/models/bill_line_put_message.rb +282 -0
- data/lib/buildium-ruby/models/bill_markup_message.rb +263 -0
- data/lib/buildium-ruby/models/bill_markup_save_message.rb +273 -0
- data/lib/buildium-ruby/models/bill_message.rb +344 -0
- data/lib/buildium-ruby/models/bill_payment_accounting_entity_message.rb +263 -0
- data/lib/buildium-ruby/models/bill_payment_line_message.rb +238 -0
- data/lib/buildium-ruby/models/bill_payment_line_post_message.rb +238 -0
- data/lib/buildium-ruby/models/bill_payment_message.rb +270 -0
- data/lib/buildium-ruby/models/bill_payment_post_message.rb +275 -0
- data/lib/buildium-ruby/models/bill_post_message.rb +301 -0
- data/lib/buildium-ruby/models/bill_put_message.rb +286 -0
- data/lib/buildium-ruby/models/bill_search_message.rb +336 -0
- data/lib/buildium-ruby/models/budget_details_message.rb +281 -0
- data/lib/buildium-ruby/models/budget_details_save_message.rb +237 -0
- data/lib/buildium-ruby/models/budget_message.rb +269 -0
- data/lib/buildium-ruby/models/budget_monthly_amounts_message.rb +328 -0
- data/lib/buildium-ruby/models/budget_monthly_amounts_save_message.rb +388 -0
- data/lib/buildium-ruby/models/budget_post_message.rb +319 -0
- data/lib/buildium-ruby/models/budget_put_message.rb +240 -0
- data/lib/buildium-ruby/models/budget_search_message.rb +240 -0
- data/lib/buildium-ruby/models/charge_recurring_transaction_post_message.rb +359 -0
- data/lib/buildium-ruby/models/charge_recurring_transaction_put_message.rb +374 -0
- data/lib/buildium-ruby/models/check_printing_info_message.rb +392 -0
- data/lib/buildium-ruby/models/check_printing_info_post_message.rb +392 -0
- data/lib/buildium-ruby/models/check_printing_info_put_message.rb +407 -0
- data/lib/buildium-ruby/models/client_lead_credit_request_message.rb +295 -0
- data/lib/buildium-ruby/models/client_lead_message.rb +363 -0
- data/lib/buildium-ruby/models/client_lead_search_message.rb +285 -0
- data/lib/buildium-ruby/models/contact_detail_message.rb +248 -0
- data/lib/buildium-ruby/models/contact_detail_phone_message.rb +239 -0
- data/lib/buildium-ruby/models/contact_detail_save_message.rb +253 -0
- data/lib/buildium-ruby/models/contact_detail_save_phone_message.rb +239 -0
- data/lib/buildium-ruby/models/contact_info_message.rb +248 -0
- data/lib/buildium-ruby/models/contact_request_task_message.rb +381 -0
- data/lib/buildium-ruby/models/contact_request_task_post_message.rb +388 -0
- data/lib/buildium-ruby/models/contact_request_task_put_message.rb +388 -0
- data/lib/buildium-ruby/models/contact_request_task_search_message.rb +366 -0
- data/lib/buildium-ruby/models/cosigner_message.rb +343 -0
- data/lib/buildium-ruby/models/created_by_user_message.rb +248 -0
- data/lib/buildium-ruby/models/credit_recurring_transaction_post_message.rb +388 -0
- data/lib/buildium-ruby/models/deposit_detail_message.rb +231 -0
- data/lib/buildium-ruby/models/electronic_payments_message.rb +288 -0
- data/lib/buildium-ruby/models/email_message.rb +247 -0
- data/lib/buildium-ruby/models/email_post_message.rb +307 -0
- data/lib/buildium-ruby/models/email_recipient_message.rb +292 -0
- data/lib/buildium-ruby/models/email_search_message.rb +268 -0
- data/lib/buildium-ruby/models/email_sender_message.rb +248 -0
- data/lib/buildium-ruby/models/emergency_contact_message.rb +249 -0
- data/lib/buildium-ruby/models/file_category_message.rb +239 -0
- data/lib/buildium-ruby/models/file_category_post_message.rb +224 -0
- data/lib/buildium-ruby/models/file_category_put_message.rb +224 -0
- data/lib/buildium-ruby/models/file_download_message.rb +218 -0
- data/lib/buildium-ruby/models/file_entity_message.rb +273 -0
- data/lib/buildium-ruby/models/file_message.rb +297 -0
- data/lib/buildium-ruby/models/file_name_post_message.rb +223 -0
- data/lib/buildium-ruby/models/file_put_message.rb +248 -0
- data/lib/buildium-ruby/models/file_search_message.rb +315 -0
- data/lib/buildium-ruby/models/file_upload_post_message.rb +322 -0
- data/lib/buildium-ruby/models/file_upload_ticket_message.rb +240 -0
- data/lib/buildium-ruby/models/general_journal_entry_line_save_message.rb +297 -0
- data/lib/buildium-ruby/models/general_journal_entry_post_message.rb +264 -0
- data/lib/buildium-ruby/models/general_journal_entry_put_message.rb +264 -0
- data/lib/buildium-ruby/models/general_ledger_journal_line_message.rb +267 -0
- data/lib/buildium-ruby/models/general_ledger_journal_message.rb +230 -0
- data/lib/buildium-ruby/models/general_ledger_transaction_message.rb +349 -0
- data/lib/buildium-ruby/models/general_ledger_transaction_search_message.rb +310 -0
- data/lib/buildium-ruby/models/gl_account_balance_item_message.rb +228 -0
- data/lib/buildium-ruby/models/gl_account_balance_message.rb +240 -0
- data/lib/buildium-ruby/models/gl_account_balance_search_message.rb +317 -0
- data/lib/buildium-ruby/models/gl_account_message.rb +419 -0
- data/lib/buildium-ruby/models/gl_account_post_message.rb +349 -0
- data/lib/buildium-ruby/models/gl_account_put_message.rb +344 -0
- data/lib/buildium-ruby/models/gl_accounts_search_message.rb +243 -0
- data/lib/buildium-ruby/models/gl_transaction_message_v1.rb +258 -0
- data/lib/buildium-ruby/models/internal_transaction_status_message.rb +239 -0
- data/lib/buildium-ruby/models/journal_line_message.rb +268 -0
- data/lib/buildium-ruby/models/journal_message.rb +230 -0
- data/lib/buildium-ruby/models/last_updated_by_user_message.rb +259 -0
- data/lib/buildium-ruby/models/lease_account_detail_message.rb +229 -0
- data/lib/buildium-ruby/models/lease_charge_line_save_message.rb +249 -0
- data/lib/buildium-ruby/models/lease_charge_post_message.rb +241 -0
- data/lib/buildium-ruby/models/lease_charge_put_message.rb +250 -0
- data/lib/buildium-ruby/models/lease_charge_recurring_transaction_message.rb +374 -0
- data/lib/buildium-ruby/models/lease_cosigner_post_message.rb +330 -0
- data/lib/buildium-ruby/models/lease_ledger_credit_line_post_message.rb +239 -0
- data/lib/buildium-ruby/models/lease_ledger_credit_post_message.rb +309 -0
- data/lib/buildium-ruby/models/lease_ledger_deposit_withholding_line_post_message.rb +238 -0
- data/lib/buildium-ruby/models/lease_ledger_deposit_withholding_post_message.rb +260 -0
- data/lib/buildium-ruby/models/lease_ledger_payment_line_save_message.rb +239 -0
- data/lib/buildium-ruby/models/lease_ledger_payment_post_message.rb +335 -0
- data/lib/buildium-ruby/models/lease_ledger_refund_line_message.rb +228 -0
- data/lib/buildium-ruby/models/lease_ledger_refund_line_post_message.rb +238 -0
- data/lib/buildium-ruby/models/lease_ledger_refund_message.rb +301 -0
- data/lib/buildium-ruby/models/lease_ledger_refund_post_message.rb +306 -0
- data/lib/buildium-ruby/models/lease_ledger_reverse_payment_nsf_charge_post_message.rb +239 -0
- data/lib/buildium-ruby/models/lease_ledger_reverse_payment_other_bank_charge_post_message.rb +239 -0
- data/lib/buildium-ruby/models/lease_ledger_reverse_payment_post_message.rb +256 -0
- data/lib/buildium-ruby/models/lease_message.rb +496 -0
- data/lib/buildium-ruby/models/lease_move_out_data_message.rb +238 -0
- data/lib/buildium-ruby/models/lease_move_out_data_post_message.rb +248 -0
- data/lib/buildium-ruby/models/lease_outstanding_balance_message.rb +330 -0
- data/lib/buildium-ruby/models/lease_outstanding_balance_search_message.rb +345 -0
- data/lib/buildium-ruby/models/lease_post_message.rb +379 -0
- data/lib/buildium-ruby/models/lease_put_message.rb +322 -0
- data/lib/buildium-ruby/models/lease_recurring_credit_message.rb +408 -0
- data/lib/buildium-ruby/models/lease_recurring_payment_message.rb +397 -0
- data/lib/buildium-ruby/models/lease_renewal_message.rb +336 -0
- data/lib/buildium-ruby/models/lease_renewal_post_message.rb +378 -0
- data/lib/buildium-ruby/models/lease_rent_charge_message.rb +278 -0
- data/lib/buildium-ruby/models/lease_rent_charge_post_message.rb +263 -0
- data/lib/buildium-ruby/models/lease_rent_message.rb +334 -0
- data/lib/buildium-ruby/models/lease_rent_post_message.rb +275 -0
- data/lib/buildium-ruby/models/lease_search_message.rb +359 -0
- data/lib/buildium-ruby/models/lease_security_deposit_post_message.rb +239 -0
- data/lib/buildium-ruby/models/lease_tenant_message.rb +262 -0
- data/lib/buildium-ruby/models/lease_transaction_message.rb +298 -0
- data/lib/buildium-ruby/models/lease_transaction_search_message.rb +263 -0
- data/lib/buildium-ruby/models/listing_contact_message.rb +259 -0
- data/lib/buildium-ruby/models/listing_contact_save_message.rb +253 -0
- data/lib/buildium-ruby/models/listing_file_message.rb +272 -0
- data/lib/buildium-ruby/models/listing_message.rb +305 -0
- data/lib/buildium-ruby/models/listing_property_message.rb +326 -0
- data/lib/buildium-ruby/models/listing_put_message.rb +283 -0
- data/lib/buildium-ruby/models/listing_search_message.rb +262 -0
- data/lib/buildium-ruby/models/listing_unit_message.rb +358 -0
- data/lib/buildium-ruby/models/lock_period_settings_global_message.rb +218 -0
- data/lib/buildium-ruby/models/lock_period_settings_overrides_message.rb +227 -0
- data/lib/buildium-ruby/models/logged_by_staff_user_message.rb +249 -0
- data/lib/buildium-ruby/models/lookup_message.rb +226 -0
- data/lib/buildium-ruby/models/mailing_template_message.rb +282 -0
- data/lib/buildium-ruby/models/note_message.rb +237 -0
- data/lib/buildium-ruby/models/note_post_message.rb +223 -0
- data/lib/buildium-ruby/models/note_put_message.rb +223 -0
- data/lib/buildium-ruby/models/note_search_message.rb +238 -0
- data/lib/buildium-ruby/models/outstanding_balances_line_message.rb +228 -0
- data/lib/buildium-ruby/models/ownership_account_charge_recurring_transaction_message.rb +374 -0
- data/lib/buildium-ruby/models/ownership_account_credit_line_post_message.rb +238 -0
- data/lib/buildium-ruby/models/ownership_account_credit_post_message.rb +309 -0
- data/lib/buildium-ruby/models/ownership_account_deposit_withholding_line_post_message.rb +238 -0
- data/lib/buildium-ruby/models/ownership_account_deposit_withholding_post_message.rb +260 -0
- data/lib/buildium-ruby/models/ownership_account_ledger_charge_lines_put_message.rb +248 -0
- data/lib/buildium-ruby/models/ownership_account_ledger_charge_lines_save_message.rb +238 -0
- data/lib/buildium-ruby/models/ownership_account_ledger_charge_post_message.rb +250 -0
- data/lib/buildium-ruby/models/ownership_account_ledger_charge_put_message.rb +250 -0
- data/lib/buildium-ruby/models/ownership_account_ledger_payment_line_save_message.rb +239 -0
- data/lib/buildium-ruby/models/ownership_account_ledger_payment_post_message.rb +335 -0
- data/lib/buildium-ruby/models/ownership_account_outstanding_balance_message.rb +310 -0
- data/lib/buildium-ruby/models/ownership_account_outstanding_balance_search_message.rb +308 -0
- data/lib/buildium-ruby/models/ownership_account_recurring_credit_message.rb +408 -0
- data/lib/buildium-ruby/models/ownership_account_recurring_payment_message.rb +397 -0
- data/lib/buildium-ruby/models/ownership_account_refund_line_message.rb +228 -0
- data/lib/buildium-ruby/models/ownership_account_refund_lines_post_message.rb +238 -0
- data/lib/buildium-ruby/models/ownership_account_refund_message.rb +301 -0
- data/lib/buildium-ruby/models/ownership_account_refund_post_message.rb +306 -0
- data/lib/buildium-ruby/models/ownership_account_transaction_message.rb +298 -0
- data/lib/buildium-ruby/models/paid_by_message.rb +228 -0
- data/lib/buildium-ruby/models/participant_message.rb +240 -0
- data/lib/buildium-ruby/models/participant_resource_message.rb +263 -0
- data/lib/buildium-ruby/models/payee_message.rb +283 -0
- data/lib/buildium-ruby/models/payment_detail_message.rb +281 -0
- data/lib/buildium-ruby/models/payment_recurring_transaction_post_message.rb +378 -0
- data/lib/buildium-ruby/models/payment_transactions_message.rb +237 -0
- data/lib/buildium-ruby/models/phone_log_message.rb +266 -0
- data/lib/buildium-ruby/models/phone_log_participant_post_message.rb +282 -0
- data/lib/buildium-ruby/models/phone_log_participant_unit_agreement_post_message.rb +263 -0
- data/lib/buildium-ruby/models/phone_log_post_message.rb +267 -0
- data/lib/buildium-ruby/models/phone_log_put_message.rb +253 -0
- data/lib/buildium-ruby/models/phone_log_search_message.rb +336 -0
- data/lib/buildium-ruby/models/phone_number_message.rb +263 -0
- data/lib/buildium-ruby/models/phone_numbers_message.rb +249 -0
- data/lib/buildium-ruby/models/property_group_message.rb +259 -0
- data/lib/buildium-ruby/models/property_group_post_message.rb +250 -0
- data/lib/buildium-ruby/models/property_group_put_message.rb +250 -0
- data/lib/buildium-ruby/models/property_group_search_message.rb +230 -0
- data/lib/buildium-ruby/models/property_manager_message.rb +291 -0
- data/lib/buildium-ruby/models/property_message.rb +273 -0
- data/lib/buildium-ruby/models/recurring_transaction_line_message.rb +228 -0
- data/lib/buildium-ruby/models/recurring_transaction_line_post_message.rb +238 -0
- data/lib/buildium-ruby/models/recurring_transaction_message.rb +388 -0
- data/lib/buildium-ruby/models/rental_appliance_message.rb +288 -0
- data/lib/buildium-ruby/models/rental_appliance_post_message.rb +298 -0
- data/lib/buildium-ruby/models/rental_appliance_put_message.rb +273 -0
- data/lib/buildium-ruby/models/rental_appliance_search_message.rb +232 -0
- data/lib/buildium-ruby/models/rental_appliance_service_history_message.rb +282 -0
- data/lib/buildium-ruby/models/rental_appliance_service_history_post_message.rb +282 -0
- data/lib/buildium-ruby/models/rental_features_message.rb +255 -0
- data/lib/buildium-ruby/models/rental_features_put_message.rb +254 -0
- data/lib/buildium-ruby/models/rental_message.rb +373 -0
- data/lib/buildium-ruby/models/rental_owner_message.rb +361 -0
- data/lib/buildium-ruby/models/rental_owner_post_message.rb +363 -0
- data/lib/buildium-ruby/models/rental_owner_put_message.rb +354 -0
- data/lib/buildium-ruby/models/rental_owner_request_task_message.rb +381 -0
- data/lib/buildium-ruby/models/rental_owner_request_task_post_message.rb +384 -0
- data/lib/buildium-ruby/models/rental_owner_request_task_put_message.rb +369 -0
- data/lib/buildium-ruby/models/rental_owner_request_task_search_message.rb +366 -0
- data/lib/buildium-ruby/models/rental_owner_tax_information_message.rb +302 -0
- data/lib/buildium-ruby/models/rental_owners_search_message.rb +314 -0
- data/lib/buildium-ruby/models/rental_preferred_vendor_message.rb +300 -0
- data/lib/buildium-ruby/models/rental_preferred_vendor_put_message.rb +225 -0
- data/lib/buildium-ruby/models/rental_property_post_message.rb +365 -0
- data/lib/buildium-ruby/models/rental_property_put_message.rb +341 -0
- data/lib/buildium-ruby/models/rental_property_unit_post_message.rb +333 -0
- data/lib/buildium-ruby/models/rental_search_message.rb +330 -0
- data/lib/buildium-ruby/models/rental_tenant_post_message.rb +388 -0
- data/lib/buildium-ruby/models/rental_tenant_put_message.rb +373 -0
- data/lib/buildium-ruby/models/rental_tenant_renewal_post_message.rb +373 -0
- data/lib/buildium-ruby/models/rental_unit_features_message.rb +243 -0
- data/lib/buildium-ruby/models/rental_unit_features_put_message.rb +242 -0
- data/lib/buildium-ruby/models/rental_unit_message.rb +374 -0
- data/lib/buildium-ruby/models/rental_unit_put_message.rb +333 -0
- data/lib/buildium-ruby/models/rental_unit_search_message.rb +240 -0
- data/lib/buildium-ruby/models/rental_units_post_message.rb +348 -0
- data/lib/buildium-ruby/models/requested_by_user_entity_message.rb +303 -0
- data/lib/buildium-ruby/models/resident_center_user_message.rb +280 -0
- data/lib/buildium-ruby/models/resident_center_user_reference_message.rb +292 -0
- data/lib/buildium-ruby/models/resident_center_user_search_message.rb +288 -0
- data/lib/buildium-ruby/models/resident_request_task_message.rb +429 -0
- data/lib/buildium-ruby/models/resident_request_task_post_message.rb +409 -0
- data/lib/buildium-ruby/models/resident_request_task_put_message.rb +349 -0
- data/lib/buildium-ruby/models/resident_request_task_search_message.rb +376 -0
- data/lib/buildium-ruby/models/save_address_message.rb +323 -0
- data/lib/buildium-ruby/models/save_emergency_contact_message.rb +248 -0
- data/lib/buildium-ruby/models/task_category_message.rb +251 -0
- data/lib/buildium-ruby/models/task_category_put_message.rb +224 -0
- data/lib/buildium-ruby/models/task_category_response_message.rb +248 -0
- data/lib/buildium-ruby/models/task_category_save_message.rb +224 -0
- data/lib/buildium-ruby/models/task_history_file_message.rb +268 -0
- data/lib/buildium-ruby/models/task_history_file_upload_post_message.rb +223 -0
- data/lib/buildium-ruby/models/task_history_message.rb +376 -0
- data/lib/buildium-ruby/models/task_history_put_message.rb +223 -0
- data/lib/buildium-ruby/models/task_history_user_message.rb +249 -0
- data/lib/buildium-ruby/models/task_search_message.rb +398 -0
- data/lib/buildium-ruby/models/task_sub_category_message.rb +229 -0
- data/lib/buildium-ruby/models/tax_information_post_message.rb +292 -0
- data/lib/buildium-ruby/models/tax_information_save_message.rb +307 -0
- data/lib/buildium-ruby/models/tenant_message.rb +404 -0
- data/lib/buildium-ruby/models/tenant_search_message.rb +339 -0
- data/lib/buildium-ruby/models/to_do_task_message.rb +372 -0
- data/lib/buildium-ruby/models/to_do_task_post_message.rb +374 -0
- data/lib/buildium-ruby/models/to_do_task_put_message.rb +374 -0
- data/lib/buildium-ruby/models/to_do_task_search_message.rb +366 -0
- data/lib/buildium-ruby/models/undeposited_funds_message.rb +217 -0
- data/lib/buildium-ruby/models/unit_agreement_message.rb +273 -0
- data/lib/buildium-ruby/models/user_message.rb +354 -0
- data/lib/buildium-ruby/models/user_role_message.rb +249 -0
- data/lib/buildium-ruby/models/user_search_message.rb +297 -0
- data/lib/buildium-ruby/models/vehicle_message.rb +249 -0
- data/lib/buildium-ruby/models/vendor_category_message.rb +239 -0
- data/lib/buildium-ruby/models/vendor_category_save_message.rb +223 -0
- data/lib/buildium-ruby/models/vendor_credit_line_item_message.rb +257 -0
- data/lib/buildium-ruby/models/vendor_credit_line_item_post_message.rb +262 -0
- data/lib/buildium-ruby/models/vendor_credit_message.rb +260 -0
- data/lib/buildium-ruby/models/vendor_credit_post_message.rb +260 -0
- data/lib/buildium-ruby/models/vendor_insurance_message.rb +239 -0
- data/lib/buildium-ruby/models/vendor_insurance_save_message.rb +239 -0
- data/lib/buildium-ruby/models/vendor_message.rb +377 -0
- data/lib/buildium-ruby/models/vendor_post_message.rb +364 -0
- data/lib/buildium-ruby/models/vendor_put_message.rb +364 -0
- data/lib/buildium-ruby/models/vendor_refund_line_message.rb +257 -0
- data/lib/buildium-ruby/models/vendor_refund_line_post_message.rb +262 -0
- data/lib/buildium-ruby/models/vendor_refund_message.rb +314 -0
- data/lib/buildium-ruby/models/vendor_refund_post_message.rb +324 -0
- data/lib/buildium-ruby/models/vendor_search_message.rb +334 -0
- data/lib/buildium-ruby/models/vendor_tax_information_message.rb +302 -0
- data/lib/buildium-ruby/models/vendor_transaction_message.rb +302 -0
- data/lib/buildium-ruby/models/vendor_transaction_search_message.rb +292 -0
- data/lib/buildium-ruby/models/work_order_entry_contact_message.rb +231 -0
- data/lib/buildium-ruby/models/work_order_entry_contact_resource_message.rb +263 -0
- data/lib/buildium-ruby/models/work_order_line_item_message.rb +249 -0
- data/lib/buildium-ruby/models/work_order_line_item_save_message.rb +258 -0
- data/lib/buildium-ruby/models/work_order_message.rb +372 -0
- data/lib/buildium-ruby/models/work_order_post_message.rb +363 -0
- data/lib/buildium-ruby/models/work_order_put_message.rb +344 -0
- data/lib/buildium-ruby/models/work_order_search_message.rb +452 -0
- data/lib/buildium-ruby/models/work_order_task_message.rb +346 -0
- data/lib/buildium-ruby/models/work_order_task_post_message.rb +345 -0
- data/lib/buildium-ruby/version.rb +15 -0
- data/lib/buildium-ruby.rb +438 -0
- data/openapitools.json +7 -0
- data/spec/api/accounting_api_spec.rb +383 -0
- data/spec/api/administration_api_spec.rb +114 -0
- data/spec/api/applicants_api_spec.rb +294 -0
- data/spec/api/association_appliances_api_spec.rb +141 -0
- data/spec/api/association_owners_api_spec.rb +195 -0
- data/spec/api/association_ownership_accounts_api_spec.rb +385 -0
- data/spec/api/association_tenants_api_spec.rb +153 -0
- data/spec/api/association_units_api_spec.rb +147 -0
- data/spec/api/associations_api_spec.rb +248 -0
- data/spec/api/bank_accounts_api_spec.rb +420 -0
- data/spec/api/client_leads_api_spec.rb +66 -0
- data/spec/api/communications_api_spec.rb +248 -0
- data/spec/api/files_api_spec.rb +156 -0
- data/spec/api/leases_api_spec.rb +529 -0
- data/spec/api/listings_api_spec.rb +139 -0
- data/spec/api/property_groups_api_spec.rb +88 -0
- data/spec/api/rental_appliances_api_spec.rb +141 -0
- data/spec/api/rental_owners_api_spec.rb +151 -0
- data/spec/api/rental_properties_api_spec.rb +205 -0
- data/spec/api/rental_tenants_api_spec.rb +154 -0
- data/spec/api/rental_units_api_spec.rb +172 -0
- data/spec/api/resident_center_api_spec.rb +54 -0
- data/spec/api/tasks_api_spec.rb +493 -0
- data/spec/api/vendors_api_spec.rb +275 -0
- data/spec/api/work_orders_api_spec.rb +105 -0
- data/spec/api_client_spec.rb +188 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/account_info_message_spec.rb +58 -0
- data/spec/models/accounting_entity_message_spec.rb +50 -0
- data/spec/models/accounting_entity_save_message_spec.rb +44 -0
- data/spec/models/accounting_lock_period_message_spec.rb +46 -0
- data/spec/models/accounting_settings_message_spec.rb +72 -0
- data/spec/models/address_message_spec.rb +74 -0
- data/spec/models/all_tasks_message_spec.rb +130 -0
- data/spec/models/announcement_message_spec.rb +74 -0
- data/spec/models/announcement_post_message_spec.rb +64 -0
- data/spec/models/announcement_search_message_spec.rb +62 -0
- data/spec/models/announcement_sender_message_spec.rb +46 -0
- data/spec/models/api_error_response_spec.rb +46 -0
- data/spec/models/appliance_message_spec.rb +58 -0
- data/spec/models/applicant_application_message_spec.rb +56 -0
- data/spec/models/applicant_group_message_spec.rb +62 -0
- data/spec/models/applicant_group_post_message_spec.rb +40 -0
- data/spec/models/applicant_group_put_message_spec.rb +50 -0
- data/spec/models/applicant_group_search_message_spec.rb +66 -0
- data/spec/models/applicant_message_spec.rb +88 -0
- data/spec/models/applicant_post_message_spec.rb +64 -0
- data/spec/models/applicant_put_message_spec.rb +58 -0
- data/spec/models/applicant_search_message_spec.rb +84 -0
- data/spec/models/application_message_spec.rb +62 -0
- data/spec/models/application_put_message_spec.rb +38 -0
- data/spec/models/application_response_field_message_spec.rb +60 -0
- data/spec/models/application_response_message_spec.rb +50 -0
- data/spec/models/application_section_response_message_spec.rb +34 -0
- data/spec/models/association_appliance_message_spec.rb +76 -0
- data/spec/models/association_appliance_post_message_spec.rb +76 -0
- data/spec/models/association_appliance_put_message_spec.rb +64 -0
- data/spec/models/association_appliance_search_message_spec.rb +40 -0
- data/spec/models/association_appliance_service_history_message_spec.rb +56 -0
- data/spec/models/association_appliance_service_history_post_message_spec.rb +50 -0
- data/spec/models/association_board_member_message_spec.rb +92 -0
- data/spec/models/association_board_member_post_message_spec.rb +56 -0
- data/spec/models/association_board_member_put_message_spec.rb +50 -0
- data/spec/models/association_board_member_search_message_spec.rb +60 -0
- data/spec/models/association_message_spec.rb +100 -0
- data/spec/models/association_owner_board_term_message_spec.rb +68 -0
- data/spec/models/association_owner_board_term_post_message_spec.rb +50 -0
- data/spec/models/association_owner_message_spec.rb +144 -0
- data/spec/models/association_owner_post_message_spec.rb +116 -0
- data/spec/models/association_owner_put_message_spec.rb +98 -0
- data/spec/models/association_owner_to_existing_ownership_account_post_message_spec.rb +128 -0
- data/spec/models/association_owner_unit_occupancy_put_message_spec.rb +34 -0
- data/spec/models/association_owner_unit_occupancy_status_message_spec.rb +40 -0
- data/spec/models/association_ownership_account_message_spec.rb +90 -0
- data/spec/models/association_ownership_account_post_message_spec.rb +80 -0
- data/spec/models/association_ownership_account_put_message_spec.rb +34 -0
- data/spec/models/association_ownership_account_search_message_spec.rb +72 -0
- data/spec/models/association_post_message_spec.rb +76 -0
- data/spec/models/association_preferred_vendor_message_spec.rb +82 -0
- data/spec/models/association_preferred_vendor_put_message_spec.rb +34 -0
- data/spec/models/association_put_message_spec.rb +82 -0
- data/spec/models/association_search_message_spec.rb +56 -0
- data/spec/models/association_tenant_message_spec.rb +112 -0
- data/spec/models/association_tenant_post_message_spec.rb +106 -0
- data/spec/models/association_tenant_put_message_spec.rb +94 -0
- data/spec/models/association_unit_message_spec.rb +84 -0
- data/spec/models/association_unit_put_message_spec.rb +66 -0
- data/spec/models/association_unit_search_message_spec.rb +46 -0
- data/spec/models/association_units_post_message_spec.rb +72 -0
- data/spec/models/association_user_search_message_spec.rb +86 -0
- data/spec/models/bank_account_check_accounting_entity_save_message_spec.rb +44 -0
- data/spec/models/bank_account_check_line_message_spec.rb +64 -0
- data/spec/models/bank_account_check_line_save_message_spec.rb +58 -0
- data/spec/models/bank_account_check_message_spec.rb +70 -0
- data/spec/models/bank_account_check_payee_message_spec.rb +50 -0
- data/spec/models/bank_account_check_payee_save_message_spec.rb +44 -0
- data/spec/models/bank_account_check_post_message_spec.rb +58 -0
- data/spec/models/bank_account_check_put_message_spec.rb +58 -0
- data/spec/models/bank_account_check_search_message_spec.rb +40 -0
- data/spec/models/bank_account_deposit_line_message_spec.rb +64 -0
- data/spec/models/bank_account_deposit_line_save_message_spec.rb +58 -0
- data/spec/models/bank_account_deposit_message_spec.rb +64 -0
- data/spec/models/bank_account_deposit_post_message_spec.rb +52 -0
- data/spec/models/bank_account_deposit_put_message_spec.rb +46 -0
- data/spec/models/bank_account_deposit_search_message_spec.rb +40 -0
- data/spec/models/bank_account_message_spec.rb +104 -0
- data/spec/models/bank_account_post_message_spec.rb +78 -0
- data/spec/models/bank_account_put_message_spec.rb +78 -0
- data/spec/models/bank_account_quick_deposit_message_spec.rb +64 -0
- data/spec/models/bank_account_quick_deposit_save_message_spec.rb +58 -0
- data/spec/models/bank_account_quick_deposit_search_message_spec.rb +40 -0
- data/spec/models/bank_account_search_message_spec.rb +44 -0
- data/spec/models/bank_account_transaction_message_spec.rb +96 -0
- data/spec/models/bank_account_transaction_search_message_spec.rb +56 -0
- data/spec/models/bank_account_transfer_accounting_entity_save_message_spec.rb +44 -0
- data/spec/models/bank_account_transfer_message_spec.rb +64 -0
- data/spec/models/bank_account_transfer_save_message_spec.rb +58 -0
- data/spec/models/bank_account_transfer_search_message_spec.rb +40 -0
- data/spec/models/bank_account_withdrawal_message_spec.rb +64 -0
- data/spec/models/bank_account_withdrawal_save_message_spec.rb +58 -0
- data/spec/models/bank_account_withdrawal_search_message_spec.rb +40 -0
- data/spec/models/bill_file_message_spec.rb +64 -0
- data/spec/models/bill_line_message_spec.rb +64 -0
- data/spec/models/bill_line_post_message_spec.rb +58 -0
- data/spec/models/bill_line_put_message_spec.rb +64 -0
- data/spec/models/bill_markup_message_spec.rb +44 -0
- data/spec/models/bill_markup_save_message_spec.rb +44 -0
- data/spec/models/bill_message_spec.rb +92 -0
- data/spec/models/bill_payment_accounting_entity_message_spec.rb +44 -0
- data/spec/models/bill_payment_line_message_spec.rb +46 -0
- data/spec/models/bill_payment_line_post_message_spec.rb +40 -0
- data/spec/models/bill_payment_message_spec.rb +64 -0
- data/spec/models/bill_payment_post_message_spec.rb +58 -0
- data/spec/models/bill_post_message_spec.rb +70 -0
- data/spec/models/bill_put_message_spec.rb +64 -0
- data/spec/models/bill_search_message_spec.rb +88 -0
- data/spec/models/budget_details_message_spec.rb +56 -0
- data/spec/models/budget_details_save_message_spec.rb +40 -0
- data/spec/models/budget_message_spec.rb +64 -0
- data/spec/models/budget_monthly_amounts_message_spec.rb +100 -0
- data/spec/models/budget_monthly_amounts_save_message_spec.rb +100 -0
- data/spec/models/budget_post_message_spec.rb +62 -0
- data/spec/models/budget_put_message_spec.rb +40 -0
- data/spec/models/budget_search_message_spec.rb +46 -0
- data/spec/models/charge_recurring_transaction_post_message_spec.rb +84 -0
- data/spec/models/charge_recurring_transaction_put_message_spec.rb +90 -0
- data/spec/models/check_printing_info_message_spec.rb +122 -0
- data/spec/models/check_printing_info_post_message_spec.rb +122 -0
- data/spec/models/check_printing_info_put_message_spec.rb +122 -0
- data/spec/models/client_lead_credit_request_message_spec.rb +60 -0
- data/spec/models/client_lead_message_spec.rb +102 -0
- data/spec/models/client_lead_search_message_spec.rb +66 -0
- data/spec/models/contact_detail_message_spec.rb +52 -0
- data/spec/models/contact_detail_phone_message_spec.rb +46 -0
- data/spec/models/contact_detail_save_message_spec.rb +52 -0
- data/spec/models/contact_detail_save_phone_message_spec.rb +46 -0
- data/spec/models/contact_info_message_spec.rb +52 -0
- data/spec/models/contact_request_task_message_spec.rb +114 -0
- data/spec/models/contact_request_task_post_message_spec.rb +102 -0
- data/spec/models/contact_request_task_put_message_spec.rb +102 -0
- data/spec/models/contact_request_task_search_message_spec.rb +112 -0
- data/spec/models/cosigner_message_spec.rb +92 -0
- data/spec/models/created_by_user_message_spec.rb +52 -0
- data/spec/models/credit_recurring_transaction_post_message_spec.rb +100 -0
- data/spec/models/deposit_detail_message_spec.rb +40 -0
- data/spec/models/electronic_payments_message_spec.rb +76 -0
- data/spec/models/email_message_spec.rb +52 -0
- data/spec/models/email_post_message_spec.rb +70 -0
- data/spec/models/email_recipient_message_spec.rb +62 -0
- data/spec/models/email_search_message_spec.rb +58 -0
- data/spec/models/email_sender_message_spec.rb +52 -0
- data/spec/models/emergency_contact_message_spec.rb +52 -0
- data/spec/models/file_category_message_spec.rb +46 -0
- data/spec/models/file_category_post_message_spec.rb +34 -0
- data/spec/models/file_category_put_message_spec.rb +34 -0
- data/spec/models/file_download_message_spec.rb +34 -0
- data/spec/models/file_entity_message_spec.rb +50 -0
- data/spec/models/file_message_spec.rb +82 -0
- data/spec/models/file_name_post_message_spec.rb +34 -0
- data/spec/models/file_put_message_spec.rb +46 -0
- data/spec/models/file_search_message_spec.rb +74 -0
- data/spec/models/file_upload_post_message_spec.rb +68 -0
- data/spec/models/file_upload_ticket_message_spec.rb +46 -0
- data/spec/models/general_journal_entry_line_save_message_spec.rb +56 -0
- data/spec/models/general_journal_entry_post_message_spec.rb +52 -0
- data/spec/models/general_journal_entry_put_message_spec.rb +52 -0
- data/spec/models/general_ledger_journal_line_message_spec.rb +64 -0
- data/spec/models/general_ledger_journal_message_spec.rb +40 -0
- data/spec/models/general_ledger_transaction_message_spec.rb +98 -0
- data/spec/models/general_ledger_transaction_search_message_spec.rb +62 -0
- data/spec/models/gl_account_balance_item_message_spec.rb +40 -0
- data/spec/models/gl_account_balance_message_spec.rb +46 -0
- data/spec/models/gl_account_balance_search_message_spec.rb +66 -0
- data/spec/models/gl_account_message_spec.rb +130 -0
- data/spec/models/gl_account_post_message_spec.rb +84 -0
- data/spec/models/gl_account_put_message_spec.rb +84 -0
- data/spec/models/gl_accounts_search_message_spec.rb +38 -0
- data/spec/models/gl_transaction_message_v1_spec.rb +58 -0
- data/spec/models/internal_transaction_status_message_spec.rb +46 -0
- data/spec/models/journal_line_message_spec.rb +64 -0
- data/spec/models/journal_message_spec.rb +40 -0
- data/spec/models/last_updated_by_user_message_spec.rb +58 -0
- data/spec/models/lease_account_detail_message_spec.rb +40 -0
- data/spec/models/lease_charge_line_save_message_spec.rb +46 -0
- data/spec/models/lease_charge_post_message_spec.rb +46 -0
- data/spec/models/lease_charge_put_message_spec.rb +46 -0
- data/spec/models/lease_charge_recurring_transaction_message_spec.rb +108 -0
- data/spec/models/lease_cosigner_post_message_spec.rb +80 -0
- data/spec/models/lease_ledger_credit_line_post_message_spec.rb +40 -0
- data/spec/models/lease_ledger_credit_post_message_spec.rb +62 -0
- data/spec/models/lease_ledger_deposit_withholding_line_post_message_spec.rb +40 -0
- data/spec/models/lease_ledger_deposit_withholding_post_message_spec.rb +52 -0
- data/spec/models/lease_ledger_payment_line_save_message_spec.rb +40 -0
- data/spec/models/lease_ledger_payment_post_message_spec.rb +74 -0
- data/spec/models/lease_ledger_refund_line_message_spec.rb +40 -0
- data/spec/models/lease_ledger_refund_line_post_message_spec.rb +40 -0
- data/spec/models/lease_ledger_refund_message_spec.rb +82 -0
- data/spec/models/lease_ledger_refund_post_message_spec.rb +70 -0
- data/spec/models/lease_ledger_reverse_payment_nsf_charge_post_message_spec.rb +40 -0
- data/spec/models/lease_ledger_reverse_payment_other_bank_charge_post_message_spec.rb +40 -0
- data/spec/models/lease_ledger_reverse_payment_post_message_spec.rb +52 -0
- data/spec/models/lease_message_spec.rb +170 -0
- data/spec/models/lease_move_out_data_message_spec.rb +46 -0
- data/spec/models/lease_move_out_data_post_message_spec.rb +46 -0
- data/spec/models/lease_outstanding_balance_message_spec.rb +100 -0
- data/spec/models/lease_outstanding_balance_search_message_spec.rb +90 -0
- data/spec/models/lease_post_message_spec.rb +98 -0
- data/spec/models/lease_put_message_spec.rb +68 -0
- data/spec/models/lease_recurring_credit_message_spec.rb +124 -0
- data/spec/models/lease_recurring_payment_message_spec.rb +118 -0
- data/spec/models/lease_renewal_message_spec.rb +84 -0
- data/spec/models/lease_renewal_post_message_spec.rb +98 -0
- data/spec/models/lease_rent_charge_message_spec.rb +70 -0
- data/spec/models/lease_rent_charge_post_message_spec.rb +52 -0
- data/spec/models/lease_rent_message_spec.rb +86 -0
- data/spec/models/lease_rent_post_message_spec.rb +44 -0
- data/spec/models/lease_search_message_spec.rb +108 -0
- data/spec/models/lease_security_deposit_post_message_spec.rb +40 -0
- data/spec/models/lease_tenant_message_spec.rb +44 -0
- data/spec/models/lease_transaction_message_spec.rb +82 -0
- data/spec/models/lease_transaction_search_message_spec.rb +50 -0
- data/spec/models/listing_contact_message_spec.rb +58 -0
- data/spec/models/listing_contact_save_message_spec.rb +52 -0
- data/spec/models/listing_file_message_spec.rb +50 -0
- data/spec/models/listing_message_spec.rb +88 -0
- data/spec/models/listing_property_message_spec.rb +90 -0
- data/spec/models/listing_put_message_spec.rb +64 -0
- data/spec/models/listing_search_message_spec.rb +44 -0
- data/spec/models/listing_unit_message_spec.rb +100 -0
- data/spec/models/lock_period_settings_global_message_spec.rb +34 -0
- data/spec/models/lock_period_settings_overrides_message_spec.rb +40 -0
- data/spec/models/logged_by_staff_user_message_spec.rb +52 -0
- data/spec/models/lookup_message_spec.rb +40 -0
- data/spec/models/mailing_template_message_spec.rb +56 -0
- data/spec/models/note_message_spec.rb +46 -0
- data/spec/models/note_post_message_spec.rb +34 -0
- data/spec/models/note_put_message_spec.rb +34 -0
- data/spec/models/note_search_message_spec.rb +46 -0
- data/spec/models/outstanding_balances_line_message_spec.rb +40 -0
- data/spec/models/ownership_account_charge_recurring_transaction_message_spec.rb +108 -0
- data/spec/models/ownership_account_credit_line_post_message_spec.rb +40 -0
- data/spec/models/ownership_account_credit_post_message_spec.rb +62 -0
- data/spec/models/ownership_account_deposit_withholding_line_post_message_spec.rb +40 -0
- data/spec/models/ownership_account_deposit_withholding_post_message_spec.rb +52 -0
- data/spec/models/ownership_account_ledger_charge_lines_put_message_spec.rb +46 -0
- data/spec/models/ownership_account_ledger_charge_lines_save_message_spec.rb +40 -0
- data/spec/models/ownership_account_ledger_charge_post_message_spec.rb +46 -0
- data/spec/models/ownership_account_ledger_charge_put_message_spec.rb +46 -0
- data/spec/models/ownership_account_ledger_payment_line_save_message_spec.rb +40 -0
- data/spec/models/ownership_account_ledger_payment_post_message_spec.rb +74 -0
- data/spec/models/ownership_account_outstanding_balance_message_spec.rb +88 -0
- data/spec/models/ownership_account_outstanding_balance_search_message_spec.rb +70 -0
- data/spec/models/ownership_account_recurring_credit_message_spec.rb +124 -0
- data/spec/models/ownership_account_recurring_payment_message_spec.rb +118 -0
- data/spec/models/ownership_account_refund_line_message_spec.rb +40 -0
- data/spec/models/ownership_account_refund_lines_post_message_spec.rb +40 -0
- data/spec/models/ownership_account_refund_message_spec.rb +82 -0
- data/spec/models/ownership_account_refund_post_message_spec.rb +70 -0
- data/spec/models/ownership_account_transaction_message_spec.rb +82 -0
- data/spec/models/paid_by_message_spec.rb +40 -0
- data/spec/models/participant_message_spec.rb +46 -0
- data/spec/models/participant_resource_message_spec.rb +44 -0
- data/spec/models/payee_message_spec.rb +56 -0
- data/spec/models/payment_detail_message_spec.rb +56 -0
- data/spec/models/payment_recurring_transaction_post_message_spec.rb +94 -0
- data/spec/models/payment_transactions_message_spec.rb +46 -0
- data/spec/models/phone_log_message_spec.rb +64 -0
- data/spec/models/phone_log_participant_post_message_spec.rb +50 -0
- data/spec/models/phone_log_participant_unit_agreement_post_message_spec.rb +44 -0
- data/spec/models/phone_log_post_message_spec.rb +52 -0
- data/spec/models/phone_log_put_message_spec.rb +46 -0
- data/spec/models/phone_log_search_message_spec.rb +84 -0
- data/spec/models/phone_number_message_spec.rb +44 -0
- data/spec/models/phone_numbers_message_spec.rb +52 -0
- data/spec/models/property_group_message_spec.rb +58 -0
- data/spec/models/property_group_post_message_spec.rb +46 -0
- data/spec/models/property_group_put_message_spec.rb +46 -0
- data/spec/models/property_group_search_message_spec.rb +40 -0
- data/spec/models/property_manager_message_spec.rb +76 -0
- data/spec/models/property_message_spec.rb +50 -0
- data/spec/models/recurring_transaction_line_message_spec.rb +40 -0
- data/spec/models/recurring_transaction_line_post_message_spec.rb +40 -0
- data/spec/models/recurring_transaction_message_spec.rb +112 -0
- data/spec/models/rental_appliance_message_spec.rb +76 -0
- data/spec/models/rental_appliance_post_message_spec.rb +76 -0
- data/spec/models/rental_appliance_put_message_spec.rb +64 -0
- data/spec/models/rental_appliance_search_message_spec.rb +40 -0
- data/spec/models/rental_appliance_service_history_message_spec.rb +56 -0
- data/spec/models/rental_appliance_service_history_post_message_spec.rb +50 -0
- data/spec/models/rental_features_message_spec.rb +48 -0
- data/spec/models/rental_features_put_message_spec.rb +48 -0
- data/spec/models/rental_message_spec.rb +108 -0
- data/spec/models/rental_owner_message_spec.rb +118 -0
- data/spec/models/rental_owner_post_message_spec.rb +112 -0
- data/spec/models/rental_owner_put_message_spec.rb +106 -0
- data/spec/models/rental_owner_request_task_message_spec.rb +114 -0
- data/spec/models/rental_owner_request_task_post_message_spec.rb +102 -0
- data/spec/models/rental_owner_request_task_put_message_spec.rb +96 -0
- data/spec/models/rental_owner_request_task_search_message_spec.rb +112 -0
- data/spec/models/rental_owner_tax_information_message_spec.rb +68 -0
- data/spec/models/rental_owners_search_message_spec.rb +74 -0
- data/spec/models/rental_preferred_vendor_message_spec.rb +82 -0
- data/spec/models/rental_preferred_vendor_put_message_spec.rb +34 -0
- data/spec/models/rental_property_post_message_spec.rb +92 -0
- data/spec/models/rental_property_put_message_spec.rb +80 -0
- data/spec/models/rental_property_unit_post_message_spec.rb +78 -0
- data/spec/models/rental_search_message_spec.rb +88 -0
- data/spec/models/rental_tenant_post_message_spec.rb +110 -0
- data/spec/models/rental_tenant_put_message_spec.rb +104 -0
- data/spec/models/rental_tenant_renewal_post_message_spec.rb +104 -0
- data/spec/models/rental_unit_features_message_spec.rb +38 -0
- data/spec/models/rental_unit_features_put_message_spec.rb +38 -0
- data/spec/models/rental_unit_message_spec.rb +108 -0
- data/spec/models/rental_unit_put_message_spec.rb +78 -0
- data/spec/models/rental_unit_search_message_spec.rb +46 -0
- data/spec/models/rental_units_post_message_spec.rb +84 -0
- data/spec/models/requested_by_user_entity_message_spec.rb +68 -0
- data/spec/models/resident_center_user_message_spec.rb +56 -0
- data/spec/models/resident_center_user_reference_message_spec.rb +62 -0
- data/spec/models/resident_center_user_search_message_spec.rb +66 -0
- data/spec/models/resident_request_task_message_spec.rb +144 -0
- data/spec/models/resident_request_task_post_message_spec.rb +114 -0
- data/spec/models/resident_request_task_put_message_spec.rb +84 -0
- data/spec/models/resident_request_task_search_message_spec.rb +118 -0
- data/spec/models/save_address_message_spec.rb +74 -0
- data/spec/models/save_emergency_contact_message_spec.rb +52 -0
- data/spec/models/task_category_message_spec.rb +52 -0
- data/spec/models/task_category_put_message_spec.rb +34 -0
- data/spec/models/task_category_response_message_spec.rb +52 -0
- data/spec/models/task_category_save_message_spec.rb +34 -0
- data/spec/models/task_history_file_message_spec.rb +64 -0
- data/spec/models/task_history_file_upload_post_message_spec.rb +34 -0
- data/spec/models/task_history_message_spec.rb +112 -0
- data/spec/models/task_history_put_message_spec.rb +34 -0
- data/spec/models/task_history_user_message_spec.rb +52 -0
- data/spec/models/task_search_message_spec.rb +128 -0
- data/spec/models/task_sub_category_message_spec.rb +40 -0
- data/spec/models/tax_information_post_message_spec.rb +62 -0
- data/spec/models/tax_information_save_message_spec.rb +68 -0
- data/spec/models/tenant_message_spec.rb +128 -0
- data/spec/models/tenant_search_message_spec.rb +96 -0
- data/spec/models/to_do_task_message_spec.rb +108 -0
- data/spec/models/to_do_task_post_message_spec.rb +96 -0
- data/spec/models/to_do_task_put_message_spec.rb +96 -0
- data/spec/models/to_do_task_search_message_spec.rb +112 -0
- data/spec/models/undeposited_funds_message_spec.rb +34 -0
- data/spec/models/unit_agreement_message_spec.rb +50 -0
- data/spec/models/user_message_spec.rb +104 -0
- data/spec/models/user_role_message_spec.rb +52 -0
- data/spec/models/user_search_message_spec.rb +66 -0
- data/spec/models/vehicle_message_spec.rb +52 -0
- data/spec/models/vendor_category_message_spec.rb +46 -0
- data/spec/models/vendor_category_save_message_spec.rb +34 -0
- data/spec/models/vendor_credit_line_item_message_spec.rb +58 -0
- data/spec/models/vendor_credit_line_item_post_message_spec.rb +52 -0
- data/spec/models/vendor_credit_message_spec.rb +58 -0
- data/spec/models/vendor_credit_post_message_spec.rb +52 -0
- data/spec/models/vendor_insurance_message_spec.rb +46 -0
- data/spec/models/vendor_insurance_save_message_spec.rb +46 -0
- data/spec/models/vendor_message_spec.rb +130 -0
- data/spec/models/vendor_post_message_spec.rb +118 -0
- data/spec/models/vendor_put_message_spec.rb +118 -0
- data/spec/models/vendor_refund_line_message_spec.rb +58 -0
- data/spec/models/vendor_refund_line_post_message_spec.rb +52 -0
- data/spec/models/vendor_refund_message_spec.rb +74 -0
- data/spec/models/vendor_refund_post_message_spec.rb +68 -0
- data/spec/models/vendor_search_message_spec.rb +84 -0
- data/spec/models/vendor_tax_information_message_spec.rb +68 -0
- data/spec/models/vendor_transaction_message_spec.rb +68 -0
- data/spec/models/vendor_transaction_search_message_spec.rb +62 -0
- data/spec/models/work_order_entry_contact_message_spec.rb +40 -0
- data/spec/models/work_order_entry_contact_resource_message_spec.rb +44 -0
- data/spec/models/work_order_line_item_message_spec.rb +52 -0
- data/spec/models/work_order_line_item_save_message_spec.rb +52 -0
- data/spec/models/work_order_message_spec.rb +110 -0
- data/spec/models/work_order_post_message_spec.rb +98 -0
- data/spec/models/work_order_put_message_spec.rb +86 -0
- data/spec/models/work_order_search_message_spec.rb +158 -0
- data/spec/models/work_order_task_message_spec.rb +88 -0
- data/spec/models/work_order_task_post_message_spec.rb +78 -0
- data/spec/spec_helper.rb +111 -0
- metadata +1725 -0
|
@@ -0,0 +1,1890 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Open API, powered by Buildium
|
|
3
|
+
|
|
4
|
+
#GetAllGLAccounts) response message now includes the property `IsBankAccount`. This is a boolean property that indicates whether the general ledger account is also a bank account. * A `Country` property has been added to all Address messages. This property contains an enumeration indicating the country of the address.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 6.0.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'cgi'
|
|
14
|
+
|
|
15
|
+
module Buildium
|
|
16
|
+
class AssociationOwnershipAccountsApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Create an ownership account
|
|
23
|
+
# Creates an ownership account. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations > Ownership accounts</span> - `View` `Edit` <br /><span class=\"permissionBlock\">Associations > Owners</span> - `View` `Edit`
|
|
24
|
+
# @param association_ownership_account_post_message [AssociationOwnershipAccountPostMessage]
|
|
25
|
+
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @return [AssociationOwnershipAccountMessage]
|
|
27
|
+
def create_association_ownership_account(association_ownership_account_post_message, opts = {})
|
|
28
|
+
data, _status_code, _headers = create_association_ownership_account_with_http_info(association_ownership_account_post_message, opts)
|
|
29
|
+
data
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Create an ownership account
|
|
33
|
+
# Creates an ownership account. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership accounts</span> - `View` `Edit` <br /><span class=\"permissionBlock\">Associations &gt; Owners</span> - `View` `Edit`
|
|
34
|
+
# @param association_ownership_account_post_message [AssociationOwnershipAccountPostMessage]
|
|
35
|
+
# @param [Hash] opts the optional parameters
|
|
36
|
+
# @return [Array<(AssociationOwnershipAccountMessage, Integer, Hash)>] AssociationOwnershipAccountMessage data, response status code and response headers
|
|
37
|
+
def create_association_ownership_account_with_http_info(association_ownership_account_post_message, opts = {})
|
|
38
|
+
if @api_client.config.debugging
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.create_association_ownership_account ...'
|
|
40
|
+
end
|
|
41
|
+
# verify the required parameter 'association_ownership_account_post_message' is set
|
|
42
|
+
if @api_client.config.client_side_validation && association_ownership_account_post_message.nil?
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'association_ownership_account_post_message' when calling AssociationOwnershipAccountsApi.create_association_ownership_account"
|
|
44
|
+
end
|
|
45
|
+
# resource path
|
|
46
|
+
local_var_path = '/v1/associations/ownershipaccounts'
|
|
47
|
+
|
|
48
|
+
# query parameters
|
|
49
|
+
query_params = opts[:query_params] || {}
|
|
50
|
+
|
|
51
|
+
# header parameters
|
|
52
|
+
header_params = opts[:header_params] || {}
|
|
53
|
+
# HTTP header 'Accept' (if needed)
|
|
54
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
55
|
+
# HTTP header 'Content-Type'
|
|
56
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
57
|
+
if !content_type.nil?
|
|
58
|
+
header_params['Content-Type'] = content_type
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# form parameters
|
|
62
|
+
form_params = opts[:form_params] || {}
|
|
63
|
+
|
|
64
|
+
# http body (model)
|
|
65
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(association_ownership_account_post_message)
|
|
66
|
+
|
|
67
|
+
# return_type
|
|
68
|
+
return_type = opts[:debug_return_type] || 'AssociationOwnershipAccountMessage'
|
|
69
|
+
|
|
70
|
+
# auth_names
|
|
71
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
72
|
+
|
|
73
|
+
new_options = opts.merge(
|
|
74
|
+
:operation => :"AssociationOwnershipAccountsApi.create_association_ownership_account",
|
|
75
|
+
:header_params => header_params,
|
|
76
|
+
:query_params => query_params,
|
|
77
|
+
:form_params => form_params,
|
|
78
|
+
:body => post_body,
|
|
79
|
+
:auth_names => auth_names,
|
|
80
|
+
:return_type => return_type
|
|
81
|
+
)
|
|
82
|
+
|
|
83
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
84
|
+
if @api_client.config.debugging
|
|
85
|
+
@api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#create_association_ownership_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
86
|
+
end
|
|
87
|
+
return data, status_code, headers
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# Create a note
|
|
91
|
+
# Creates a new ownership account note. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations > Ownership accounts</span> - `View` `Edit`
|
|
92
|
+
# @param ownership_account_id [Integer]
|
|
93
|
+
# @param note_post_message [NotePostMessage]
|
|
94
|
+
# @param [Hash] opts the optional parameters
|
|
95
|
+
# @return [NoteMessage]
|
|
96
|
+
def create_association_ownership_account_note(ownership_account_id, note_post_message, opts = {})
|
|
97
|
+
data, _status_code, _headers = create_association_ownership_account_note_with_http_info(ownership_account_id, note_post_message, opts)
|
|
98
|
+
data
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# Create a note
|
|
102
|
+
# Creates a new ownership account note. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership accounts</span> - `View` `Edit`
|
|
103
|
+
# @param ownership_account_id [Integer]
|
|
104
|
+
# @param note_post_message [NotePostMessage]
|
|
105
|
+
# @param [Hash] opts the optional parameters
|
|
106
|
+
# @return [Array<(NoteMessage, Integer, Hash)>] NoteMessage data, response status code and response headers
|
|
107
|
+
def create_association_ownership_account_note_with_http_info(ownership_account_id, note_post_message, opts = {})
|
|
108
|
+
if @api_client.config.debugging
|
|
109
|
+
@api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.create_association_ownership_account_note ...'
|
|
110
|
+
end
|
|
111
|
+
# verify the required parameter 'ownership_account_id' is set
|
|
112
|
+
if @api_client.config.client_side_validation && ownership_account_id.nil?
|
|
113
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.create_association_ownership_account_note"
|
|
114
|
+
end
|
|
115
|
+
# verify the required parameter 'note_post_message' is set
|
|
116
|
+
if @api_client.config.client_side_validation && note_post_message.nil?
|
|
117
|
+
fail ArgumentError, "Missing the required parameter 'note_post_message' when calling AssociationOwnershipAccountsApi.create_association_ownership_account_note"
|
|
118
|
+
end
|
|
119
|
+
# resource path
|
|
120
|
+
local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/notes'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
|
|
121
|
+
|
|
122
|
+
# query parameters
|
|
123
|
+
query_params = opts[:query_params] || {}
|
|
124
|
+
|
|
125
|
+
# header parameters
|
|
126
|
+
header_params = opts[:header_params] || {}
|
|
127
|
+
# HTTP header 'Accept' (if needed)
|
|
128
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
129
|
+
# HTTP header 'Content-Type'
|
|
130
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
131
|
+
if !content_type.nil?
|
|
132
|
+
header_params['Content-Type'] = content_type
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
# form parameters
|
|
136
|
+
form_params = opts[:form_params] || {}
|
|
137
|
+
|
|
138
|
+
# http body (model)
|
|
139
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(note_post_message)
|
|
140
|
+
|
|
141
|
+
# return_type
|
|
142
|
+
return_type = opts[:debug_return_type] || 'NoteMessage'
|
|
143
|
+
|
|
144
|
+
# auth_names
|
|
145
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
146
|
+
|
|
147
|
+
new_options = opts.merge(
|
|
148
|
+
:operation => :"AssociationOwnershipAccountsApi.create_association_ownership_account_note",
|
|
149
|
+
:header_params => header_params,
|
|
150
|
+
:query_params => query_params,
|
|
151
|
+
:form_params => form_params,
|
|
152
|
+
:body => post_body,
|
|
153
|
+
:auth_names => auth_names,
|
|
154
|
+
:return_type => return_type
|
|
155
|
+
)
|
|
156
|
+
|
|
157
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
158
|
+
if @api_client.config.debugging
|
|
159
|
+
@api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#create_association_ownership_account_note\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
160
|
+
end
|
|
161
|
+
return data, status_code, headers
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
# Create a ledger credit
|
|
165
|
+
# Creates a ledger credit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations > Ownership account transactions</span> - `View` `Edit`
|
|
166
|
+
# @param ownership_account_id [Integer]
|
|
167
|
+
# @param ownership_account_credit_post_message [OwnershipAccountCreditPostMessage]
|
|
168
|
+
# @param [Hash] opts the optional parameters
|
|
169
|
+
# @return [OwnershipAccountTransactionMessage]
|
|
170
|
+
def create_ownership_account_credit(ownership_account_id, ownership_account_credit_post_message, opts = {})
|
|
171
|
+
data, _status_code, _headers = create_ownership_account_credit_with_http_info(ownership_account_id, ownership_account_credit_post_message, opts)
|
|
172
|
+
data
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
# Create a ledger credit
|
|
176
|
+
# Creates a ledger credit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership account transactions</span> - `View` `Edit`
|
|
177
|
+
# @param ownership_account_id [Integer]
|
|
178
|
+
# @param ownership_account_credit_post_message [OwnershipAccountCreditPostMessage]
|
|
179
|
+
# @param [Hash] opts the optional parameters
|
|
180
|
+
# @return [Array<(OwnershipAccountTransactionMessage, Integer, Hash)>] OwnershipAccountTransactionMessage data, response status code and response headers
|
|
181
|
+
def create_ownership_account_credit_with_http_info(ownership_account_id, ownership_account_credit_post_message, opts = {})
|
|
182
|
+
if @api_client.config.debugging
|
|
183
|
+
@api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.create_ownership_account_credit ...'
|
|
184
|
+
end
|
|
185
|
+
# verify the required parameter 'ownership_account_id' is set
|
|
186
|
+
if @api_client.config.client_side_validation && ownership_account_id.nil?
|
|
187
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.create_ownership_account_credit"
|
|
188
|
+
end
|
|
189
|
+
# verify the required parameter 'ownership_account_credit_post_message' is set
|
|
190
|
+
if @api_client.config.client_side_validation && ownership_account_credit_post_message.nil?
|
|
191
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_credit_post_message' when calling AssociationOwnershipAccountsApi.create_ownership_account_credit"
|
|
192
|
+
end
|
|
193
|
+
# resource path
|
|
194
|
+
local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/credits'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
|
|
195
|
+
|
|
196
|
+
# query parameters
|
|
197
|
+
query_params = opts[:query_params] || {}
|
|
198
|
+
|
|
199
|
+
# header parameters
|
|
200
|
+
header_params = opts[:header_params] || {}
|
|
201
|
+
# HTTP header 'Accept' (if needed)
|
|
202
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
203
|
+
# HTTP header 'Content-Type'
|
|
204
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
205
|
+
if !content_type.nil?
|
|
206
|
+
header_params['Content-Type'] = content_type
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
# form parameters
|
|
210
|
+
form_params = opts[:form_params] || {}
|
|
211
|
+
|
|
212
|
+
# http body (model)
|
|
213
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(ownership_account_credit_post_message)
|
|
214
|
+
|
|
215
|
+
# return_type
|
|
216
|
+
return_type = opts[:debug_return_type] || 'OwnershipAccountTransactionMessage'
|
|
217
|
+
|
|
218
|
+
# auth_names
|
|
219
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
220
|
+
|
|
221
|
+
new_options = opts.merge(
|
|
222
|
+
:operation => :"AssociationOwnershipAccountsApi.create_ownership_account_credit",
|
|
223
|
+
:header_params => header_params,
|
|
224
|
+
:query_params => query_params,
|
|
225
|
+
:form_params => form_params,
|
|
226
|
+
:body => post_body,
|
|
227
|
+
:auth_names => auth_names,
|
|
228
|
+
:return_type => return_type
|
|
229
|
+
)
|
|
230
|
+
|
|
231
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
232
|
+
if @api_client.config.debugging
|
|
233
|
+
@api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#create_ownership_account_credit\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
234
|
+
end
|
|
235
|
+
return data, status_code, headers
|
|
236
|
+
end
|
|
237
|
+
|
|
238
|
+
# Create a recurring credit
|
|
239
|
+
# Creates a recurring credit transaction that will post automatically on the specified ownership account ledger. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations > Ownership account transactions</span> - `View` `Edit`
|
|
240
|
+
# @param ownership_account_id [Integer]
|
|
241
|
+
# @param credit_recurring_transaction_post_message [CreditRecurringTransactionPostMessage]
|
|
242
|
+
# @param [Hash] opts the optional parameters
|
|
243
|
+
# @return [OwnershipAccountRecurringCreditMessage]
|
|
244
|
+
def create_ownership_account_credit_recurring_transaction(ownership_account_id, credit_recurring_transaction_post_message, opts = {})
|
|
245
|
+
data, _status_code, _headers = create_ownership_account_credit_recurring_transaction_with_http_info(ownership_account_id, credit_recurring_transaction_post_message, opts)
|
|
246
|
+
data
|
|
247
|
+
end
|
|
248
|
+
|
|
249
|
+
# Create a recurring credit
|
|
250
|
+
# Creates a recurring credit transaction that will post automatically on the specified ownership account ledger. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership account transactions</span> - `View` `Edit`
|
|
251
|
+
# @param ownership_account_id [Integer]
|
|
252
|
+
# @param credit_recurring_transaction_post_message [CreditRecurringTransactionPostMessage]
|
|
253
|
+
# @param [Hash] opts the optional parameters
|
|
254
|
+
# @return [Array<(OwnershipAccountRecurringCreditMessage, Integer, Hash)>] OwnershipAccountRecurringCreditMessage data, response status code and response headers
|
|
255
|
+
def create_ownership_account_credit_recurring_transaction_with_http_info(ownership_account_id, credit_recurring_transaction_post_message, opts = {})
|
|
256
|
+
if @api_client.config.debugging
|
|
257
|
+
@api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.create_ownership_account_credit_recurring_transaction ...'
|
|
258
|
+
end
|
|
259
|
+
# verify the required parameter 'ownership_account_id' is set
|
|
260
|
+
if @api_client.config.client_side_validation && ownership_account_id.nil?
|
|
261
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.create_ownership_account_credit_recurring_transaction"
|
|
262
|
+
end
|
|
263
|
+
# verify the required parameter 'credit_recurring_transaction_post_message' is set
|
|
264
|
+
if @api_client.config.client_side_validation && credit_recurring_transaction_post_message.nil?
|
|
265
|
+
fail ArgumentError, "Missing the required parameter 'credit_recurring_transaction_post_message' when calling AssociationOwnershipAccountsApi.create_ownership_account_credit_recurring_transaction"
|
|
266
|
+
end
|
|
267
|
+
# resource path
|
|
268
|
+
local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/recurringcredits'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
|
|
269
|
+
|
|
270
|
+
# query parameters
|
|
271
|
+
query_params = opts[:query_params] || {}
|
|
272
|
+
|
|
273
|
+
# header parameters
|
|
274
|
+
header_params = opts[:header_params] || {}
|
|
275
|
+
# HTTP header 'Accept' (if needed)
|
|
276
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
277
|
+
# HTTP header 'Content-Type'
|
|
278
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
279
|
+
if !content_type.nil?
|
|
280
|
+
header_params['Content-Type'] = content_type
|
|
281
|
+
end
|
|
282
|
+
|
|
283
|
+
# form parameters
|
|
284
|
+
form_params = opts[:form_params] || {}
|
|
285
|
+
|
|
286
|
+
# http body (model)
|
|
287
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(credit_recurring_transaction_post_message)
|
|
288
|
+
|
|
289
|
+
# return_type
|
|
290
|
+
return_type = opts[:debug_return_type] || 'OwnershipAccountRecurringCreditMessage'
|
|
291
|
+
|
|
292
|
+
# auth_names
|
|
293
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
294
|
+
|
|
295
|
+
new_options = opts.merge(
|
|
296
|
+
:operation => :"AssociationOwnershipAccountsApi.create_ownership_account_credit_recurring_transaction",
|
|
297
|
+
:header_params => header_params,
|
|
298
|
+
:query_params => query_params,
|
|
299
|
+
:form_params => form_params,
|
|
300
|
+
:body => post_body,
|
|
301
|
+
:auth_names => auth_names,
|
|
302
|
+
:return_type => return_type
|
|
303
|
+
)
|
|
304
|
+
|
|
305
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
306
|
+
if @api_client.config.debugging
|
|
307
|
+
@api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#create_ownership_account_credit_recurring_transaction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
308
|
+
end
|
|
309
|
+
return data, status_code, headers
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
# Create a deposit withholding
|
|
313
|
+
# Withholds an association owner deposit by reallocating the funds from a liability account to an income account to cover an expense(s). <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations > Ownership account transactions</span> - `View` `Edit` <span class=\"permissionBlock\">Accounting > General Ledger Accounts</span> - `View`
|
|
314
|
+
# @param ownership_account_id [Integer]
|
|
315
|
+
# @param ownership_account_deposit_withholding_post_message [OwnershipAccountDepositWithholdingPostMessage]
|
|
316
|
+
# @param [Hash] opts the optional parameters
|
|
317
|
+
# @return [OwnershipAccountTransactionMessage]
|
|
318
|
+
def create_ownership_account_deposit_withholding(ownership_account_id, ownership_account_deposit_withholding_post_message, opts = {})
|
|
319
|
+
data, _status_code, _headers = create_ownership_account_deposit_withholding_with_http_info(ownership_account_id, ownership_account_deposit_withholding_post_message, opts)
|
|
320
|
+
data
|
|
321
|
+
end
|
|
322
|
+
|
|
323
|
+
# Create a deposit withholding
|
|
324
|
+
# Withholds an association owner deposit by reallocating the funds from a liability account to an income account to cover an expense(s). <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership account transactions</span> - `View` `Edit` <span class=\"permissionBlock\">Accounting &gt; General Ledger Accounts</span> - `View`
|
|
325
|
+
# @param ownership_account_id [Integer]
|
|
326
|
+
# @param ownership_account_deposit_withholding_post_message [OwnershipAccountDepositWithholdingPostMessage]
|
|
327
|
+
# @param [Hash] opts the optional parameters
|
|
328
|
+
# @return [Array<(OwnershipAccountTransactionMessage, Integer, Hash)>] OwnershipAccountTransactionMessage data, response status code and response headers
|
|
329
|
+
def create_ownership_account_deposit_withholding_with_http_info(ownership_account_id, ownership_account_deposit_withholding_post_message, opts = {})
|
|
330
|
+
if @api_client.config.debugging
|
|
331
|
+
@api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.create_ownership_account_deposit_withholding ...'
|
|
332
|
+
end
|
|
333
|
+
# verify the required parameter 'ownership_account_id' is set
|
|
334
|
+
if @api_client.config.client_side_validation && ownership_account_id.nil?
|
|
335
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.create_ownership_account_deposit_withholding"
|
|
336
|
+
end
|
|
337
|
+
# verify the required parameter 'ownership_account_deposit_withholding_post_message' is set
|
|
338
|
+
if @api_client.config.client_side_validation && ownership_account_deposit_withholding_post_message.nil?
|
|
339
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_deposit_withholding_post_message' when calling AssociationOwnershipAccountsApi.create_ownership_account_deposit_withholding"
|
|
340
|
+
end
|
|
341
|
+
# resource path
|
|
342
|
+
local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/applieddeposits'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
|
|
343
|
+
|
|
344
|
+
# query parameters
|
|
345
|
+
query_params = opts[:query_params] || {}
|
|
346
|
+
|
|
347
|
+
# header parameters
|
|
348
|
+
header_params = opts[:header_params] || {}
|
|
349
|
+
# HTTP header 'Accept' (if needed)
|
|
350
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
351
|
+
# HTTP header 'Content-Type'
|
|
352
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
353
|
+
if !content_type.nil?
|
|
354
|
+
header_params['Content-Type'] = content_type
|
|
355
|
+
end
|
|
356
|
+
|
|
357
|
+
# form parameters
|
|
358
|
+
form_params = opts[:form_params] || {}
|
|
359
|
+
|
|
360
|
+
# http body (model)
|
|
361
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(ownership_account_deposit_withholding_post_message)
|
|
362
|
+
|
|
363
|
+
# return_type
|
|
364
|
+
return_type = opts[:debug_return_type] || 'OwnershipAccountTransactionMessage'
|
|
365
|
+
|
|
366
|
+
# auth_names
|
|
367
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
368
|
+
|
|
369
|
+
new_options = opts.merge(
|
|
370
|
+
:operation => :"AssociationOwnershipAccountsApi.create_ownership_account_deposit_withholding",
|
|
371
|
+
:header_params => header_params,
|
|
372
|
+
:query_params => query_params,
|
|
373
|
+
:form_params => form_params,
|
|
374
|
+
:body => post_body,
|
|
375
|
+
:auth_names => auth_names,
|
|
376
|
+
:return_type => return_type
|
|
377
|
+
)
|
|
378
|
+
|
|
379
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
380
|
+
if @api_client.config.debugging
|
|
381
|
+
@api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#create_ownership_account_deposit_withholding\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
382
|
+
end
|
|
383
|
+
return data, status_code, headers
|
|
384
|
+
end
|
|
385
|
+
|
|
386
|
+
# Create a ledger charge
|
|
387
|
+
# Creates a ledger charge. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations > Ownership account transactions</span> - `View` `Edit` <br />
|
|
388
|
+
# @param ownership_account_id [Integer] The ownership account identifier.
|
|
389
|
+
# @param ownership_account_ledger_charge_post_message [OwnershipAccountLedgerChargePostMessage]
|
|
390
|
+
# @param [Hash] opts the optional parameters
|
|
391
|
+
# @return [OwnershipAccountTransactionMessage]
|
|
392
|
+
def create_ownership_account_ledger_charge(ownership_account_id, ownership_account_ledger_charge_post_message, opts = {})
|
|
393
|
+
data, _status_code, _headers = create_ownership_account_ledger_charge_with_http_info(ownership_account_id, ownership_account_ledger_charge_post_message, opts)
|
|
394
|
+
data
|
|
395
|
+
end
|
|
396
|
+
|
|
397
|
+
# Create a ledger charge
|
|
398
|
+
# Creates a ledger charge. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership account transactions</span> - `View` `Edit` <br />
|
|
399
|
+
# @param ownership_account_id [Integer] The ownership account identifier.
|
|
400
|
+
# @param ownership_account_ledger_charge_post_message [OwnershipAccountLedgerChargePostMessage]
|
|
401
|
+
# @param [Hash] opts the optional parameters
|
|
402
|
+
# @return [Array<(OwnershipAccountTransactionMessage, Integer, Hash)>] OwnershipAccountTransactionMessage data, response status code and response headers
|
|
403
|
+
def create_ownership_account_ledger_charge_with_http_info(ownership_account_id, ownership_account_ledger_charge_post_message, opts = {})
|
|
404
|
+
if @api_client.config.debugging
|
|
405
|
+
@api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.create_ownership_account_ledger_charge ...'
|
|
406
|
+
end
|
|
407
|
+
# verify the required parameter 'ownership_account_id' is set
|
|
408
|
+
if @api_client.config.client_side_validation && ownership_account_id.nil?
|
|
409
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.create_ownership_account_ledger_charge"
|
|
410
|
+
end
|
|
411
|
+
# verify the required parameter 'ownership_account_ledger_charge_post_message' is set
|
|
412
|
+
if @api_client.config.client_side_validation && ownership_account_ledger_charge_post_message.nil?
|
|
413
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_ledger_charge_post_message' when calling AssociationOwnershipAccountsApi.create_ownership_account_ledger_charge"
|
|
414
|
+
end
|
|
415
|
+
# resource path
|
|
416
|
+
local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/charges'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
|
|
417
|
+
|
|
418
|
+
# query parameters
|
|
419
|
+
query_params = opts[:query_params] || {}
|
|
420
|
+
|
|
421
|
+
# header parameters
|
|
422
|
+
header_params = opts[:header_params] || {}
|
|
423
|
+
# HTTP header 'Accept' (if needed)
|
|
424
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
425
|
+
# HTTP header 'Content-Type'
|
|
426
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
427
|
+
if !content_type.nil?
|
|
428
|
+
header_params['Content-Type'] = content_type
|
|
429
|
+
end
|
|
430
|
+
|
|
431
|
+
# form parameters
|
|
432
|
+
form_params = opts[:form_params] || {}
|
|
433
|
+
|
|
434
|
+
# http body (model)
|
|
435
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(ownership_account_ledger_charge_post_message)
|
|
436
|
+
|
|
437
|
+
# return_type
|
|
438
|
+
return_type = opts[:debug_return_type] || 'OwnershipAccountTransactionMessage'
|
|
439
|
+
|
|
440
|
+
# auth_names
|
|
441
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
442
|
+
|
|
443
|
+
new_options = opts.merge(
|
|
444
|
+
:operation => :"AssociationOwnershipAccountsApi.create_ownership_account_ledger_charge",
|
|
445
|
+
:header_params => header_params,
|
|
446
|
+
:query_params => query_params,
|
|
447
|
+
:form_params => form_params,
|
|
448
|
+
:body => post_body,
|
|
449
|
+
:auth_names => auth_names,
|
|
450
|
+
:return_type => return_type
|
|
451
|
+
)
|
|
452
|
+
|
|
453
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
454
|
+
if @api_client.config.debugging
|
|
455
|
+
@api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#create_ownership_account_ledger_charge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
456
|
+
end
|
|
457
|
+
return data, status_code, headers
|
|
458
|
+
end
|
|
459
|
+
|
|
460
|
+
# Create a ledger payment
|
|
461
|
+
# Creates a ledger payment. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations > Ownership account transactions</span> - `View` `Edit`
|
|
462
|
+
# @param ownership_account_id [Integer]
|
|
463
|
+
# @param ownership_account_ledger_payment_post_message [OwnershipAccountLedgerPaymentPostMessage]
|
|
464
|
+
# @param [Hash] opts the optional parameters
|
|
465
|
+
# @return [OwnershipAccountTransactionMessage]
|
|
466
|
+
def create_ownership_account_ledger_payment(ownership_account_id, ownership_account_ledger_payment_post_message, opts = {})
|
|
467
|
+
data, _status_code, _headers = create_ownership_account_ledger_payment_with_http_info(ownership_account_id, ownership_account_ledger_payment_post_message, opts)
|
|
468
|
+
data
|
|
469
|
+
end
|
|
470
|
+
|
|
471
|
+
# Create a ledger payment
|
|
472
|
+
# Creates a ledger payment. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership account transactions</span> - `View` `Edit`
|
|
473
|
+
# @param ownership_account_id [Integer]
|
|
474
|
+
# @param ownership_account_ledger_payment_post_message [OwnershipAccountLedgerPaymentPostMessage]
|
|
475
|
+
# @param [Hash] opts the optional parameters
|
|
476
|
+
# @return [Array<(OwnershipAccountTransactionMessage, Integer, Hash)>] OwnershipAccountTransactionMessage data, response status code and response headers
|
|
477
|
+
def create_ownership_account_ledger_payment_with_http_info(ownership_account_id, ownership_account_ledger_payment_post_message, opts = {})
|
|
478
|
+
if @api_client.config.debugging
|
|
479
|
+
@api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.create_ownership_account_ledger_payment ...'
|
|
480
|
+
end
|
|
481
|
+
# verify the required parameter 'ownership_account_id' is set
|
|
482
|
+
if @api_client.config.client_side_validation && ownership_account_id.nil?
|
|
483
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.create_ownership_account_ledger_payment"
|
|
484
|
+
end
|
|
485
|
+
# verify the required parameter 'ownership_account_ledger_payment_post_message' is set
|
|
486
|
+
if @api_client.config.client_side_validation && ownership_account_ledger_payment_post_message.nil?
|
|
487
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_ledger_payment_post_message' when calling AssociationOwnershipAccountsApi.create_ownership_account_ledger_payment"
|
|
488
|
+
end
|
|
489
|
+
# resource path
|
|
490
|
+
local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/payments'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
|
|
491
|
+
|
|
492
|
+
# query parameters
|
|
493
|
+
query_params = opts[:query_params] || {}
|
|
494
|
+
|
|
495
|
+
# header parameters
|
|
496
|
+
header_params = opts[:header_params] || {}
|
|
497
|
+
# HTTP header 'Accept' (if needed)
|
|
498
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
499
|
+
# HTTP header 'Content-Type'
|
|
500
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
501
|
+
if !content_type.nil?
|
|
502
|
+
header_params['Content-Type'] = content_type
|
|
503
|
+
end
|
|
504
|
+
|
|
505
|
+
# form parameters
|
|
506
|
+
form_params = opts[:form_params] || {}
|
|
507
|
+
|
|
508
|
+
# http body (model)
|
|
509
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(ownership_account_ledger_payment_post_message)
|
|
510
|
+
|
|
511
|
+
# return_type
|
|
512
|
+
return_type = opts[:debug_return_type] || 'OwnershipAccountTransactionMessage'
|
|
513
|
+
|
|
514
|
+
# auth_names
|
|
515
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
516
|
+
|
|
517
|
+
new_options = opts.merge(
|
|
518
|
+
:operation => :"AssociationOwnershipAccountsApi.create_ownership_account_ledger_payment",
|
|
519
|
+
:header_params => header_params,
|
|
520
|
+
:query_params => query_params,
|
|
521
|
+
:form_params => form_params,
|
|
522
|
+
:body => post_body,
|
|
523
|
+
:auth_names => auth_names,
|
|
524
|
+
:return_type => return_type
|
|
525
|
+
)
|
|
526
|
+
|
|
527
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
528
|
+
if @api_client.config.debugging
|
|
529
|
+
@api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#create_ownership_account_ledger_payment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
530
|
+
end
|
|
531
|
+
return data, status_code, headers
|
|
532
|
+
end
|
|
533
|
+
|
|
534
|
+
# Create a recurring payment
|
|
535
|
+
# Creates a recurring payment that will post automatically on the specified ownership account ledger. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations > Ownership account transactions</span> - `View` `Edit`
|
|
536
|
+
# @param ownership_account_id [Integer]
|
|
537
|
+
# @param payment_recurring_transaction_post_message [PaymentRecurringTransactionPostMessage]
|
|
538
|
+
# @param [Hash] opts the optional parameters
|
|
539
|
+
# @return [OwnershipAccountRecurringPaymentMessage]
|
|
540
|
+
def create_ownership_account_recurring_payment(ownership_account_id, payment_recurring_transaction_post_message, opts = {})
|
|
541
|
+
data, _status_code, _headers = create_ownership_account_recurring_payment_with_http_info(ownership_account_id, payment_recurring_transaction_post_message, opts)
|
|
542
|
+
data
|
|
543
|
+
end
|
|
544
|
+
|
|
545
|
+
# Create a recurring payment
|
|
546
|
+
# Creates a recurring payment that will post automatically on the specified ownership account ledger. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership account transactions</span> - `View` `Edit`
|
|
547
|
+
# @param ownership_account_id [Integer]
|
|
548
|
+
# @param payment_recurring_transaction_post_message [PaymentRecurringTransactionPostMessage]
|
|
549
|
+
# @param [Hash] opts the optional parameters
|
|
550
|
+
# @return [Array<(OwnershipAccountRecurringPaymentMessage, Integer, Hash)>] OwnershipAccountRecurringPaymentMessage data, response status code and response headers
|
|
551
|
+
def create_ownership_account_recurring_payment_with_http_info(ownership_account_id, payment_recurring_transaction_post_message, opts = {})
|
|
552
|
+
if @api_client.config.debugging
|
|
553
|
+
@api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.create_ownership_account_recurring_payment ...'
|
|
554
|
+
end
|
|
555
|
+
# verify the required parameter 'ownership_account_id' is set
|
|
556
|
+
if @api_client.config.client_side_validation && ownership_account_id.nil?
|
|
557
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.create_ownership_account_recurring_payment"
|
|
558
|
+
end
|
|
559
|
+
# verify the required parameter 'payment_recurring_transaction_post_message' is set
|
|
560
|
+
if @api_client.config.client_side_validation && payment_recurring_transaction_post_message.nil?
|
|
561
|
+
fail ArgumentError, "Missing the required parameter 'payment_recurring_transaction_post_message' when calling AssociationOwnershipAccountsApi.create_ownership_account_recurring_payment"
|
|
562
|
+
end
|
|
563
|
+
# resource path
|
|
564
|
+
local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/recurringpayments'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
|
|
565
|
+
|
|
566
|
+
# query parameters
|
|
567
|
+
query_params = opts[:query_params] || {}
|
|
568
|
+
|
|
569
|
+
# header parameters
|
|
570
|
+
header_params = opts[:header_params] || {}
|
|
571
|
+
# HTTP header 'Accept' (if needed)
|
|
572
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
573
|
+
# HTTP header 'Content-Type'
|
|
574
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
575
|
+
if !content_type.nil?
|
|
576
|
+
header_params['Content-Type'] = content_type
|
|
577
|
+
end
|
|
578
|
+
|
|
579
|
+
# form parameters
|
|
580
|
+
form_params = opts[:form_params] || {}
|
|
581
|
+
|
|
582
|
+
# http body (model)
|
|
583
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(payment_recurring_transaction_post_message)
|
|
584
|
+
|
|
585
|
+
# return_type
|
|
586
|
+
return_type = opts[:debug_return_type] || 'OwnershipAccountRecurringPaymentMessage'
|
|
587
|
+
|
|
588
|
+
# auth_names
|
|
589
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
590
|
+
|
|
591
|
+
new_options = opts.merge(
|
|
592
|
+
:operation => :"AssociationOwnershipAccountsApi.create_ownership_account_recurring_payment",
|
|
593
|
+
:header_params => header_params,
|
|
594
|
+
:query_params => query_params,
|
|
595
|
+
:form_params => form_params,
|
|
596
|
+
:body => post_body,
|
|
597
|
+
:auth_names => auth_names,
|
|
598
|
+
:return_type => return_type
|
|
599
|
+
)
|
|
600
|
+
|
|
601
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
602
|
+
if @api_client.config.debugging
|
|
603
|
+
@api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#create_ownership_account_recurring_payment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
604
|
+
end
|
|
605
|
+
return data, status_code, headers
|
|
606
|
+
end
|
|
607
|
+
|
|
608
|
+
# Create a refund
|
|
609
|
+
# Creates a refund. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
|
|
610
|
+
# @param ownership_account_id [Integer]
|
|
611
|
+
# @param ownership_account_refund_post_message [OwnershipAccountRefundPostMessage]
|
|
612
|
+
# @param [Hash] opts the optional parameters
|
|
613
|
+
# @return [OwnershipAccountRefundMessage]
|
|
614
|
+
def create_ownership_account_refund(ownership_account_id, ownership_account_refund_post_message, opts = {})
|
|
615
|
+
data, _status_code, _headers = create_ownership_account_refund_with_http_info(ownership_account_id, ownership_account_refund_post_message, opts)
|
|
616
|
+
data
|
|
617
|
+
end
|
|
618
|
+
|
|
619
|
+
# Create a refund
|
|
620
|
+
# Creates a refund. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` `Edit`
|
|
621
|
+
# @param ownership_account_id [Integer]
|
|
622
|
+
# @param ownership_account_refund_post_message [OwnershipAccountRefundPostMessage]
|
|
623
|
+
# @param [Hash] opts the optional parameters
|
|
624
|
+
# @return [Array<(OwnershipAccountRefundMessage, Integer, Hash)>] OwnershipAccountRefundMessage data, response status code and response headers
|
|
625
|
+
def create_ownership_account_refund_with_http_info(ownership_account_id, ownership_account_refund_post_message, opts = {})
|
|
626
|
+
if @api_client.config.debugging
|
|
627
|
+
@api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.create_ownership_account_refund ...'
|
|
628
|
+
end
|
|
629
|
+
# verify the required parameter 'ownership_account_id' is set
|
|
630
|
+
if @api_client.config.client_side_validation && ownership_account_id.nil?
|
|
631
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.create_ownership_account_refund"
|
|
632
|
+
end
|
|
633
|
+
# verify the required parameter 'ownership_account_refund_post_message' is set
|
|
634
|
+
if @api_client.config.client_side_validation && ownership_account_refund_post_message.nil?
|
|
635
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_refund_post_message' when calling AssociationOwnershipAccountsApi.create_ownership_account_refund"
|
|
636
|
+
end
|
|
637
|
+
# resource path
|
|
638
|
+
local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/refunds'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
|
|
639
|
+
|
|
640
|
+
# query parameters
|
|
641
|
+
query_params = opts[:query_params] || {}
|
|
642
|
+
|
|
643
|
+
# header parameters
|
|
644
|
+
header_params = opts[:header_params] || {}
|
|
645
|
+
# HTTP header 'Accept' (if needed)
|
|
646
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
647
|
+
# HTTP header 'Content-Type'
|
|
648
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
649
|
+
if !content_type.nil?
|
|
650
|
+
header_params['Content-Type'] = content_type
|
|
651
|
+
end
|
|
652
|
+
|
|
653
|
+
# form parameters
|
|
654
|
+
form_params = opts[:form_params] || {}
|
|
655
|
+
|
|
656
|
+
# http body (model)
|
|
657
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(ownership_account_refund_post_message)
|
|
658
|
+
|
|
659
|
+
# return_type
|
|
660
|
+
return_type = opts[:debug_return_type] || 'OwnershipAccountRefundMessage'
|
|
661
|
+
|
|
662
|
+
# auth_names
|
|
663
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
664
|
+
|
|
665
|
+
new_options = opts.merge(
|
|
666
|
+
:operation => :"AssociationOwnershipAccountsApi.create_ownership_account_refund",
|
|
667
|
+
:header_params => header_params,
|
|
668
|
+
:query_params => query_params,
|
|
669
|
+
:form_params => form_params,
|
|
670
|
+
:body => post_body,
|
|
671
|
+
:auth_names => auth_names,
|
|
672
|
+
:return_type => return_type
|
|
673
|
+
)
|
|
674
|
+
|
|
675
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
676
|
+
if @api_client.config.debugging
|
|
677
|
+
@api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#create_ownership_account_refund\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
678
|
+
end
|
|
679
|
+
return data, status_code, headers
|
|
680
|
+
end
|
|
681
|
+
|
|
682
|
+
# Create a recurring charge
|
|
683
|
+
# Creates a recurring charge transaction that will post automatically on the specified ownership account ledger. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations > Ownership account transactions</span> - `View` `Edit`
|
|
684
|
+
# @param ownership_account_id [Integer]
|
|
685
|
+
# @param charge_recurring_transaction_post_message [ChargeRecurringTransactionPostMessage]
|
|
686
|
+
# @param [Hash] opts the optional parameters
|
|
687
|
+
# @return [OwnershipAccountChargeRecurringTransactionMessage]
|
|
688
|
+
def create_ownership_accounts_charge_recurring_transaction(ownership_account_id, charge_recurring_transaction_post_message, opts = {})
|
|
689
|
+
data, _status_code, _headers = create_ownership_accounts_charge_recurring_transaction_with_http_info(ownership_account_id, charge_recurring_transaction_post_message, opts)
|
|
690
|
+
data
|
|
691
|
+
end
|
|
692
|
+
|
|
693
|
+
# Create a recurring charge
|
|
694
|
+
# Creates a recurring charge transaction that will post automatically on the specified ownership account ledger. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership account transactions</span> - `View` `Edit`
|
|
695
|
+
# @param ownership_account_id [Integer]
|
|
696
|
+
# @param charge_recurring_transaction_post_message [ChargeRecurringTransactionPostMessage]
|
|
697
|
+
# @param [Hash] opts the optional parameters
|
|
698
|
+
# @return [Array<(OwnershipAccountChargeRecurringTransactionMessage, Integer, Hash)>] OwnershipAccountChargeRecurringTransactionMessage data, response status code and response headers
|
|
699
|
+
def create_ownership_accounts_charge_recurring_transaction_with_http_info(ownership_account_id, charge_recurring_transaction_post_message, opts = {})
|
|
700
|
+
if @api_client.config.debugging
|
|
701
|
+
@api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.create_ownership_accounts_charge_recurring_transaction ...'
|
|
702
|
+
end
|
|
703
|
+
# verify the required parameter 'ownership_account_id' is set
|
|
704
|
+
if @api_client.config.client_side_validation && ownership_account_id.nil?
|
|
705
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.create_ownership_accounts_charge_recurring_transaction"
|
|
706
|
+
end
|
|
707
|
+
# verify the required parameter 'charge_recurring_transaction_post_message' is set
|
|
708
|
+
if @api_client.config.client_side_validation && charge_recurring_transaction_post_message.nil?
|
|
709
|
+
fail ArgumentError, "Missing the required parameter 'charge_recurring_transaction_post_message' when calling AssociationOwnershipAccountsApi.create_ownership_accounts_charge_recurring_transaction"
|
|
710
|
+
end
|
|
711
|
+
# resource path
|
|
712
|
+
local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/recurringcharges'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
|
|
713
|
+
|
|
714
|
+
# query parameters
|
|
715
|
+
query_params = opts[:query_params] || {}
|
|
716
|
+
|
|
717
|
+
# header parameters
|
|
718
|
+
header_params = opts[:header_params] || {}
|
|
719
|
+
# HTTP header 'Accept' (if needed)
|
|
720
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
721
|
+
# HTTP header 'Content-Type'
|
|
722
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
723
|
+
if !content_type.nil?
|
|
724
|
+
header_params['Content-Type'] = content_type
|
|
725
|
+
end
|
|
726
|
+
|
|
727
|
+
# form parameters
|
|
728
|
+
form_params = opts[:form_params] || {}
|
|
729
|
+
|
|
730
|
+
# http body (model)
|
|
731
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(charge_recurring_transaction_post_message)
|
|
732
|
+
|
|
733
|
+
# return_type
|
|
734
|
+
return_type = opts[:debug_return_type] || 'OwnershipAccountChargeRecurringTransactionMessage'
|
|
735
|
+
|
|
736
|
+
# auth_names
|
|
737
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
738
|
+
|
|
739
|
+
new_options = opts.merge(
|
|
740
|
+
:operation => :"AssociationOwnershipAccountsApi.create_ownership_accounts_charge_recurring_transaction",
|
|
741
|
+
:header_params => header_params,
|
|
742
|
+
:query_params => query_params,
|
|
743
|
+
:form_params => form_params,
|
|
744
|
+
:body => post_body,
|
|
745
|
+
:auth_names => auth_names,
|
|
746
|
+
:return_type => return_type
|
|
747
|
+
)
|
|
748
|
+
|
|
749
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
750
|
+
if @api_client.config.debugging
|
|
751
|
+
@api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#create_ownership_accounts_charge_recurring_transaction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
752
|
+
end
|
|
753
|
+
return data, status_code, headers
|
|
754
|
+
end
|
|
755
|
+
|
|
756
|
+
# Retrieve all ownership accounts
|
|
757
|
+
# Retrieves a list of ownership accounts. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations > Ownership accounts</span> - `View`
|
|
758
|
+
# @param [Hash] opts the optional parameters
|
|
759
|
+
# @option opts [Array<Integer>] :associationids Filters results to any ownership accounts who belong to the specified set of association ids.
|
|
760
|
+
# @option opts [String] :unitorowner Filters results to any association whose unit or owner *contains* the specified value.
|
|
761
|
+
# @option opts [Date] :datefrom Filters results to any ownership account whose start date is greater than or equal to the specified value.
|
|
762
|
+
# @option opts [Date] :dateto Filters results to any ownership account whose start date is less than or equal to the specified value.
|
|
763
|
+
# @option opts [Array<String>] :status Filters results by the status of the association. If no status is specified, `active`, `past` and `future` associations will be returned.
|
|
764
|
+
# @option opts [Array<String>] :delinquencystatuses Filters results by the delinquency status of the ownership account. If no status is specified, ownership accounts of any delinquency status will be returned.
|
|
765
|
+
# @option opts [String] :orderby `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.
|
|
766
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
767
|
+
# @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.
|
|
768
|
+
# @return [Array<AssociationOwnershipAccountMessage>]
|
|
769
|
+
def get_all_ownership_accounts(opts = {})
|
|
770
|
+
data, _status_code, _headers = get_all_ownership_accounts_with_http_info(opts)
|
|
771
|
+
data
|
|
772
|
+
end
|
|
773
|
+
|
|
774
|
+
# Retrieve all ownership accounts
|
|
775
|
+
# Retrieves a list of ownership accounts. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership accounts</span> - `View`
|
|
776
|
+
# @param [Hash] opts the optional parameters
|
|
777
|
+
# @option opts [Array<Integer>] :associationids Filters results to any ownership accounts who belong to the specified set of association ids.
|
|
778
|
+
# @option opts [String] :unitorowner Filters results to any association whose unit or owner *contains* the specified value.
|
|
779
|
+
# @option opts [Date] :datefrom Filters results to any ownership account whose start date is greater than or equal to the specified value.
|
|
780
|
+
# @option opts [Date] :dateto Filters results to any ownership account whose start date is less than or equal to the specified value.
|
|
781
|
+
# @option opts [Array<String>] :status Filters results by the status of the association. If no status is specified, `active`, `past` and `future` associations will be returned.
|
|
782
|
+
# @option opts [Array<String>] :delinquencystatuses Filters results by the delinquency status of the ownership account. If no status is specified, ownership accounts of any delinquency status will be returned.
|
|
783
|
+
# @option opts [String] :orderby `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.
|
|
784
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
785
|
+
# @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.
|
|
786
|
+
# @return [Array<(Array<AssociationOwnershipAccountMessage>, Integer, Hash)>] Array<AssociationOwnershipAccountMessage> data, response status code and response headers
|
|
787
|
+
def get_all_ownership_accounts_with_http_info(opts = {})
|
|
788
|
+
if @api_client.config.debugging
|
|
789
|
+
@api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.get_all_ownership_accounts ...'
|
|
790
|
+
end
|
|
791
|
+
allowable_values = ["Active", "Past", "Future"]
|
|
792
|
+
if @api_client.config.client_side_validation && opts[:'status'] && !opts[:'status'].all? { |item| allowable_values.include?(item) }
|
|
793
|
+
fail ArgumentError, "invalid value for \"status\", must include one of #{allowable_values}"
|
|
794
|
+
end
|
|
795
|
+
allowable_values = ["NoDelinquency", "InCollections", "InForeclosure", "Foreclosed"]
|
|
796
|
+
if @api_client.config.client_side_validation && opts[:'delinquencystatuses'] && !opts[:'delinquencystatuses'].all? { |item| allowable_values.include?(item) }
|
|
797
|
+
fail ArgumentError, "invalid value for \"delinquencystatuses\", must include one of #{allowable_values}"
|
|
798
|
+
end
|
|
799
|
+
# resource path
|
|
800
|
+
local_var_path = '/v1/associations/ownershipaccounts'
|
|
801
|
+
|
|
802
|
+
# query parameters
|
|
803
|
+
query_params = opts[:query_params] || {}
|
|
804
|
+
query_params[:'associationids'] = @api_client.build_collection_param(opts[:'associationids'], :multi) if !opts[:'associationids'].nil?
|
|
805
|
+
query_params[:'unitorowner'] = opts[:'unitorowner'] if !opts[:'unitorowner'].nil?
|
|
806
|
+
query_params[:'datefrom'] = opts[:'datefrom'] if !opts[:'datefrom'].nil?
|
|
807
|
+
query_params[:'dateto'] = opts[:'dateto'] if !opts[:'dateto'].nil?
|
|
808
|
+
query_params[:'status'] = @api_client.build_collection_param(opts[:'status'], :multi) if !opts[:'status'].nil?
|
|
809
|
+
query_params[:'delinquencystatuses'] = @api_client.build_collection_param(opts[:'delinquencystatuses'], :multi) if !opts[:'delinquencystatuses'].nil?
|
|
810
|
+
query_params[:'orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
|
|
811
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
812
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
813
|
+
|
|
814
|
+
# header parameters
|
|
815
|
+
header_params = opts[:header_params] || {}
|
|
816
|
+
# HTTP header 'Accept' (if needed)
|
|
817
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
818
|
+
|
|
819
|
+
# form parameters
|
|
820
|
+
form_params = opts[:form_params] || {}
|
|
821
|
+
|
|
822
|
+
# http body (model)
|
|
823
|
+
post_body = opts[:debug_body]
|
|
824
|
+
|
|
825
|
+
# return_type
|
|
826
|
+
return_type = opts[:debug_return_type] || 'Array<AssociationOwnershipAccountMessage>'
|
|
827
|
+
|
|
828
|
+
# auth_names
|
|
829
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
830
|
+
|
|
831
|
+
new_options = opts.merge(
|
|
832
|
+
:operation => :"AssociationOwnershipAccountsApi.get_all_ownership_accounts",
|
|
833
|
+
:header_params => header_params,
|
|
834
|
+
:query_params => query_params,
|
|
835
|
+
:form_params => form_params,
|
|
836
|
+
:body => post_body,
|
|
837
|
+
:auth_names => auth_names,
|
|
838
|
+
:return_type => return_type
|
|
839
|
+
)
|
|
840
|
+
|
|
841
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
842
|
+
if @api_client.config.debugging
|
|
843
|
+
@api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#get_all_ownership_accounts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
844
|
+
end
|
|
845
|
+
return data, status_code, headers
|
|
846
|
+
end
|
|
847
|
+
|
|
848
|
+
# Retrieve a note
|
|
849
|
+
# Retrieves an ownership account note. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations > OwnershipAccounts</span> - `View`
|
|
850
|
+
# @param ownership_account_id [Integer]
|
|
851
|
+
# @param note_id [Integer]
|
|
852
|
+
# @param [Hash] opts the optional parameters
|
|
853
|
+
# @return [NoteMessage]
|
|
854
|
+
def get_association_ownership_account_note_by_note_id(ownership_account_id, note_id, opts = {})
|
|
855
|
+
data, _status_code, _headers = get_association_ownership_account_note_by_note_id_with_http_info(ownership_account_id, note_id, opts)
|
|
856
|
+
data
|
|
857
|
+
end
|
|
858
|
+
|
|
859
|
+
# Retrieve a note
|
|
860
|
+
# Retrieves an ownership account note. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; OwnershipAccounts</span> - `View`
|
|
861
|
+
# @param ownership_account_id [Integer]
|
|
862
|
+
# @param note_id [Integer]
|
|
863
|
+
# @param [Hash] opts the optional parameters
|
|
864
|
+
# @return [Array<(NoteMessage, Integer, Hash)>] NoteMessage data, response status code and response headers
|
|
865
|
+
def get_association_ownership_account_note_by_note_id_with_http_info(ownership_account_id, note_id, opts = {})
|
|
866
|
+
if @api_client.config.debugging
|
|
867
|
+
@api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.get_association_ownership_account_note_by_note_id ...'
|
|
868
|
+
end
|
|
869
|
+
# verify the required parameter 'ownership_account_id' is set
|
|
870
|
+
if @api_client.config.client_side_validation && ownership_account_id.nil?
|
|
871
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.get_association_ownership_account_note_by_note_id"
|
|
872
|
+
end
|
|
873
|
+
# verify the required parameter 'note_id' is set
|
|
874
|
+
if @api_client.config.client_side_validation && note_id.nil?
|
|
875
|
+
fail ArgumentError, "Missing the required parameter 'note_id' when calling AssociationOwnershipAccountsApi.get_association_ownership_account_note_by_note_id"
|
|
876
|
+
end
|
|
877
|
+
# resource path
|
|
878
|
+
local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/notes/{noteId}'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s)).sub('{' + 'noteId' + '}', CGI.escape(note_id.to_s))
|
|
879
|
+
|
|
880
|
+
# query parameters
|
|
881
|
+
query_params = opts[:query_params] || {}
|
|
882
|
+
|
|
883
|
+
# header parameters
|
|
884
|
+
header_params = opts[:header_params] || {}
|
|
885
|
+
# HTTP header 'Accept' (if needed)
|
|
886
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
887
|
+
|
|
888
|
+
# form parameters
|
|
889
|
+
form_params = opts[:form_params] || {}
|
|
890
|
+
|
|
891
|
+
# http body (model)
|
|
892
|
+
post_body = opts[:debug_body]
|
|
893
|
+
|
|
894
|
+
# return_type
|
|
895
|
+
return_type = opts[:debug_return_type] || 'NoteMessage'
|
|
896
|
+
|
|
897
|
+
# auth_names
|
|
898
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
899
|
+
|
|
900
|
+
new_options = opts.merge(
|
|
901
|
+
:operation => :"AssociationOwnershipAccountsApi.get_association_ownership_account_note_by_note_id",
|
|
902
|
+
:header_params => header_params,
|
|
903
|
+
:query_params => query_params,
|
|
904
|
+
:form_params => form_params,
|
|
905
|
+
:body => post_body,
|
|
906
|
+
:auth_names => auth_names,
|
|
907
|
+
:return_type => return_type
|
|
908
|
+
)
|
|
909
|
+
|
|
910
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
911
|
+
if @api_client.config.debugging
|
|
912
|
+
@api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#get_association_ownership_account_note_by_note_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
913
|
+
end
|
|
914
|
+
return data, status_code, headers
|
|
915
|
+
end
|
|
916
|
+
|
|
917
|
+
# Retrieve all notes
|
|
918
|
+
# Retrieves notes for an ownership account. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations > OwnershipAccounts</span> - `View`
|
|
919
|
+
# @param ownership_account_id [Integer]
|
|
920
|
+
# @param [Hash] opts the optional parameters
|
|
921
|
+
# @option opts [Time] :updateddatetimefrom Filters results to any note whose updated date and time are greater than or equal to the specified value. The value must be formatted as YYYY-MM-DD HH:MM:SS.
|
|
922
|
+
# @option opts [Time] :updateddatetimeto Filters results to any note whose updated date and time are less than or equal to the specified value. The value must be formatted as YYYY-MM-DD HH:MM:SS.
|
|
923
|
+
# @option opts [Integer] :lastupdatedbyuserid Filters results to only notes that were last updated by the specified user identifier.
|
|
924
|
+
# @option opts [String] :orderby `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.
|
|
925
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
926
|
+
# @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.
|
|
927
|
+
# @return [Array<NoteMessage>]
|
|
928
|
+
def get_association_ownership_account_notes(ownership_account_id, opts = {})
|
|
929
|
+
data, _status_code, _headers = get_association_ownership_account_notes_with_http_info(ownership_account_id, opts)
|
|
930
|
+
data
|
|
931
|
+
end
|
|
932
|
+
|
|
933
|
+
# Retrieve all notes
|
|
934
|
+
# Retrieves notes for an ownership account. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; OwnershipAccounts</span> - `View`
|
|
935
|
+
# @param ownership_account_id [Integer]
|
|
936
|
+
# @param [Hash] opts the optional parameters
|
|
937
|
+
# @option opts [Time] :updateddatetimefrom Filters results to any note whose updated date and time are greater than or equal to the specified value. The value must be formatted as YYYY-MM-DD HH:MM:SS.
|
|
938
|
+
# @option opts [Time] :updateddatetimeto Filters results to any note whose updated date and time are less than or equal to the specified value. The value must be formatted as YYYY-MM-DD HH:MM:SS.
|
|
939
|
+
# @option opts [Integer] :lastupdatedbyuserid Filters results to only notes that were last updated by the specified user identifier.
|
|
940
|
+
# @option opts [String] :orderby `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.
|
|
941
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
942
|
+
# @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.
|
|
943
|
+
# @return [Array<(Array<NoteMessage>, Integer, Hash)>] Array<NoteMessage> data, response status code and response headers
|
|
944
|
+
def get_association_ownership_account_notes_with_http_info(ownership_account_id, opts = {})
|
|
945
|
+
if @api_client.config.debugging
|
|
946
|
+
@api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.get_association_ownership_account_notes ...'
|
|
947
|
+
end
|
|
948
|
+
# verify the required parameter 'ownership_account_id' is set
|
|
949
|
+
if @api_client.config.client_side_validation && ownership_account_id.nil?
|
|
950
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.get_association_ownership_account_notes"
|
|
951
|
+
end
|
|
952
|
+
# resource path
|
|
953
|
+
local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/notes'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
|
|
954
|
+
|
|
955
|
+
# query parameters
|
|
956
|
+
query_params = opts[:query_params] || {}
|
|
957
|
+
query_params[:'updateddatetimefrom'] = opts[:'updateddatetimefrom'] if !opts[:'updateddatetimefrom'].nil?
|
|
958
|
+
query_params[:'updateddatetimeto'] = opts[:'updateddatetimeto'] if !opts[:'updateddatetimeto'].nil?
|
|
959
|
+
query_params[:'lastupdatedbyuserid'] = opts[:'lastupdatedbyuserid'] if !opts[:'lastupdatedbyuserid'].nil?
|
|
960
|
+
query_params[:'orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
|
|
961
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
962
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
963
|
+
|
|
964
|
+
# header parameters
|
|
965
|
+
header_params = opts[:header_params] || {}
|
|
966
|
+
# HTTP header 'Accept' (if needed)
|
|
967
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
968
|
+
|
|
969
|
+
# form parameters
|
|
970
|
+
form_params = opts[:form_params] || {}
|
|
971
|
+
|
|
972
|
+
# http body (model)
|
|
973
|
+
post_body = opts[:debug_body]
|
|
974
|
+
|
|
975
|
+
# return_type
|
|
976
|
+
return_type = opts[:debug_return_type] || 'Array<NoteMessage>'
|
|
977
|
+
|
|
978
|
+
# auth_names
|
|
979
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
980
|
+
|
|
981
|
+
new_options = opts.merge(
|
|
982
|
+
:operation => :"AssociationOwnershipAccountsApi.get_association_ownership_account_notes",
|
|
983
|
+
:header_params => header_params,
|
|
984
|
+
:query_params => query_params,
|
|
985
|
+
:form_params => form_params,
|
|
986
|
+
:body => post_body,
|
|
987
|
+
:auth_names => auth_names,
|
|
988
|
+
:return_type => return_type
|
|
989
|
+
)
|
|
990
|
+
|
|
991
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
992
|
+
if @api_client.config.debugging
|
|
993
|
+
@api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#get_association_ownership_account_notes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
994
|
+
end
|
|
995
|
+
return data, status_code, headers
|
|
996
|
+
end
|
|
997
|
+
|
|
998
|
+
# Retrieve all recurring transactions
|
|
999
|
+
# Retrieves all recurring transactions for an ownership account. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations > Ownership account transactions</span> - `View`
|
|
1000
|
+
# @param ownership_account_id [Integer]
|
|
1001
|
+
# @param [Hash] opts the optional parameters
|
|
1002
|
+
# @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.
|
|
1003
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
1004
|
+
# @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.
|
|
1005
|
+
# @return [Array<RecurringTransactionMessage>]
|
|
1006
|
+
def get_association_recurring_transaction(ownership_account_id, opts = {})
|
|
1007
|
+
data, _status_code, _headers = get_association_recurring_transaction_with_http_info(ownership_account_id, opts)
|
|
1008
|
+
data
|
|
1009
|
+
end
|
|
1010
|
+
|
|
1011
|
+
# Retrieve all recurring transactions
|
|
1012
|
+
# Retrieves all recurring transactions for an ownership account. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership account transactions</span> - `View`
|
|
1013
|
+
# @param ownership_account_id [Integer]
|
|
1014
|
+
# @param [Hash] opts the optional parameters
|
|
1015
|
+
# @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.
|
|
1016
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
1017
|
+
# @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.
|
|
1018
|
+
# @return [Array<(Array<RecurringTransactionMessage>, Integer, Hash)>] Array<RecurringTransactionMessage> data, response status code and response headers
|
|
1019
|
+
def get_association_recurring_transaction_with_http_info(ownership_account_id, opts = {})
|
|
1020
|
+
if @api_client.config.debugging
|
|
1021
|
+
@api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.get_association_recurring_transaction ...'
|
|
1022
|
+
end
|
|
1023
|
+
# verify the required parameter 'ownership_account_id' is set
|
|
1024
|
+
if @api_client.config.client_side_validation && ownership_account_id.nil?
|
|
1025
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.get_association_recurring_transaction"
|
|
1026
|
+
end
|
|
1027
|
+
# resource path
|
|
1028
|
+
local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/recurringtransactions'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
|
|
1029
|
+
|
|
1030
|
+
# query parameters
|
|
1031
|
+
query_params = opts[:query_params] || {}
|
|
1032
|
+
query_params[:'orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
|
|
1033
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
1034
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
1035
|
+
|
|
1036
|
+
# header parameters
|
|
1037
|
+
header_params = opts[:header_params] || {}
|
|
1038
|
+
# HTTP header 'Accept' (if needed)
|
|
1039
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1040
|
+
|
|
1041
|
+
# form parameters
|
|
1042
|
+
form_params = opts[:form_params] || {}
|
|
1043
|
+
|
|
1044
|
+
# http body (model)
|
|
1045
|
+
post_body = opts[:debug_body]
|
|
1046
|
+
|
|
1047
|
+
# return_type
|
|
1048
|
+
return_type = opts[:debug_return_type] || 'Array<RecurringTransactionMessage>'
|
|
1049
|
+
|
|
1050
|
+
# auth_names
|
|
1051
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
1052
|
+
|
|
1053
|
+
new_options = opts.merge(
|
|
1054
|
+
:operation => :"AssociationOwnershipAccountsApi.get_association_recurring_transaction",
|
|
1055
|
+
:header_params => header_params,
|
|
1056
|
+
:query_params => query_params,
|
|
1057
|
+
:form_params => form_params,
|
|
1058
|
+
:body => post_body,
|
|
1059
|
+
:auth_names => auth_names,
|
|
1060
|
+
:return_type => return_type
|
|
1061
|
+
)
|
|
1062
|
+
|
|
1063
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1064
|
+
if @api_client.config.debugging
|
|
1065
|
+
@api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#get_association_recurring_transaction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1066
|
+
end
|
|
1067
|
+
return data, status_code, headers
|
|
1068
|
+
end
|
|
1069
|
+
|
|
1070
|
+
# Retrieve an ownership account
|
|
1071
|
+
# Retrieves a specific ownership account. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations > Ownership accounts</span> - `View`
|
|
1072
|
+
# @param ownership_account_id [Integer] The ownership account identifier.
|
|
1073
|
+
# @param [Hash] opts the optional parameters
|
|
1074
|
+
# @return [AssociationOwnershipAccountMessage]
|
|
1075
|
+
def get_ownership_account_by_id(ownership_account_id, opts = {})
|
|
1076
|
+
data, _status_code, _headers = get_ownership_account_by_id_with_http_info(ownership_account_id, opts)
|
|
1077
|
+
data
|
|
1078
|
+
end
|
|
1079
|
+
|
|
1080
|
+
# Retrieve an ownership account
|
|
1081
|
+
# Retrieves a specific ownership account. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership accounts</span> - `View`
|
|
1082
|
+
# @param ownership_account_id [Integer] The ownership account identifier.
|
|
1083
|
+
# @param [Hash] opts the optional parameters
|
|
1084
|
+
# @return [Array<(AssociationOwnershipAccountMessage, Integer, Hash)>] AssociationOwnershipAccountMessage data, response status code and response headers
|
|
1085
|
+
def get_ownership_account_by_id_with_http_info(ownership_account_id, opts = {})
|
|
1086
|
+
if @api_client.config.debugging
|
|
1087
|
+
@api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.get_ownership_account_by_id ...'
|
|
1088
|
+
end
|
|
1089
|
+
# verify the required parameter 'ownership_account_id' is set
|
|
1090
|
+
if @api_client.config.client_side_validation && ownership_account_id.nil?
|
|
1091
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.get_ownership_account_by_id"
|
|
1092
|
+
end
|
|
1093
|
+
# resource path
|
|
1094
|
+
local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
|
|
1095
|
+
|
|
1096
|
+
# query parameters
|
|
1097
|
+
query_params = opts[:query_params] || {}
|
|
1098
|
+
|
|
1099
|
+
# header parameters
|
|
1100
|
+
header_params = opts[:header_params] || {}
|
|
1101
|
+
# HTTP header 'Accept' (if needed)
|
|
1102
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1103
|
+
|
|
1104
|
+
# form parameters
|
|
1105
|
+
form_params = opts[:form_params] || {}
|
|
1106
|
+
|
|
1107
|
+
# http body (model)
|
|
1108
|
+
post_body = opts[:debug_body]
|
|
1109
|
+
|
|
1110
|
+
# return_type
|
|
1111
|
+
return_type = opts[:debug_return_type] || 'AssociationOwnershipAccountMessage'
|
|
1112
|
+
|
|
1113
|
+
# auth_names
|
|
1114
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
1115
|
+
|
|
1116
|
+
new_options = opts.merge(
|
|
1117
|
+
:operation => :"AssociationOwnershipAccountsApi.get_ownership_account_by_id",
|
|
1118
|
+
:header_params => header_params,
|
|
1119
|
+
:query_params => query_params,
|
|
1120
|
+
:form_params => form_params,
|
|
1121
|
+
:body => post_body,
|
|
1122
|
+
:auth_names => auth_names,
|
|
1123
|
+
:return_type => return_type
|
|
1124
|
+
)
|
|
1125
|
+
|
|
1126
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1127
|
+
if @api_client.config.debugging
|
|
1128
|
+
@api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#get_ownership_account_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1129
|
+
end
|
|
1130
|
+
return data, status_code, headers
|
|
1131
|
+
end
|
|
1132
|
+
|
|
1133
|
+
# Retrieve ownership account transactions
|
|
1134
|
+
# Retrieves all transactions for a specific ownership account. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations > Ownership account transactions</span> - `View`
|
|
1135
|
+
# @param ownership_account_id [Integer] The ownership account identifier.
|
|
1136
|
+
# @param [Hash] opts the optional parameters
|
|
1137
|
+
# @option opts [Date] :transactiondatefrom Filters results to any lease transaction whose start date is greater than or equal to the specified value.
|
|
1138
|
+
# @option opts [Date] :transactiondateto Filters results to any lease transaction whose end date is less than or equal to the specified value.
|
|
1139
|
+
# @option opts [Array<String>] :transactiontypes Filters results to any lease transaction whose lease transaction type matches the specified status. If no type is specified, lease transactions with any type will be returned.
|
|
1140
|
+
# @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.
|
|
1141
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
1142
|
+
# @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.
|
|
1143
|
+
# @return [Array<OwnershipAccountTransactionMessage>]
|
|
1144
|
+
def get_ownership_account_ledger(ownership_account_id, opts = {})
|
|
1145
|
+
data, _status_code, _headers = get_ownership_account_ledger_with_http_info(ownership_account_id, opts)
|
|
1146
|
+
data
|
|
1147
|
+
end
|
|
1148
|
+
|
|
1149
|
+
# Retrieve ownership account transactions
|
|
1150
|
+
# Retrieves all transactions for a specific ownership account. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership account transactions</span> - `View`
|
|
1151
|
+
# @param ownership_account_id [Integer] The ownership account identifier.
|
|
1152
|
+
# @param [Hash] opts the optional parameters
|
|
1153
|
+
# @option opts [Date] :transactiondatefrom Filters results to any lease transaction whose start date is greater than or equal to the specified value.
|
|
1154
|
+
# @option opts [Date] :transactiondateto Filters results to any lease transaction whose end date is less than or equal to the specified value.
|
|
1155
|
+
# @option opts [Array<String>] :transactiontypes Filters results to any lease transaction whose lease transaction type matches the specified status. If no type is specified, lease transactions with any type will be returned.
|
|
1156
|
+
# @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.
|
|
1157
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
1158
|
+
# @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.
|
|
1159
|
+
# @return [Array<(Array<OwnershipAccountTransactionMessage>, Integer, Hash)>] Array<OwnershipAccountTransactionMessage> data, response status code and response headers
|
|
1160
|
+
def get_ownership_account_ledger_with_http_info(ownership_account_id, opts = {})
|
|
1161
|
+
if @api_client.config.debugging
|
|
1162
|
+
@api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.get_ownership_account_ledger ...'
|
|
1163
|
+
end
|
|
1164
|
+
# verify the required parameter 'ownership_account_id' is set
|
|
1165
|
+
if @api_client.config.client_side_validation && ownership_account_id.nil?
|
|
1166
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.get_ownership_account_ledger"
|
|
1167
|
+
end
|
|
1168
|
+
allowable_values = ["Bill", "Check", "Charge", "Payment", "Credit", "Refund", "ApplyDeposit", "ElectronicFundsTransfer", "Other", "Deposit", "GeneralJournalEntry", "OwnerContribution", "ReversePayment", "ReverseElectronicFundsTransfer", "VendorCredit", "RentalApplicationFeePayment", "ReverseRentalApplicationFeePayment", "ReverseOwnerContribution", "VendorRefund", "UnreversedPayment", "UnreversedElectronicFundsTransfer", "UnreversedOwnerContribution", "UnreversedRentalApplicationFeePayment"]
|
|
1169
|
+
if @api_client.config.client_side_validation && opts[:'transactiontypes'] && !opts[:'transactiontypes'].all? { |item| allowable_values.include?(item) }
|
|
1170
|
+
fail ArgumentError, "invalid value for \"transactiontypes\", must include one of #{allowable_values}"
|
|
1171
|
+
end
|
|
1172
|
+
# resource path
|
|
1173
|
+
local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/transactions'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
|
|
1174
|
+
|
|
1175
|
+
# query parameters
|
|
1176
|
+
query_params = opts[:query_params] || {}
|
|
1177
|
+
query_params[:'transactiondatefrom'] = opts[:'transactiondatefrom'] if !opts[:'transactiondatefrom'].nil?
|
|
1178
|
+
query_params[:'transactiondateto'] = opts[:'transactiondateto'] if !opts[:'transactiondateto'].nil?
|
|
1179
|
+
query_params[:'transactiontypes'] = @api_client.build_collection_param(opts[:'transactiontypes'], :multi) if !opts[:'transactiontypes'].nil?
|
|
1180
|
+
query_params[:'orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
|
|
1181
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
1182
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
1183
|
+
|
|
1184
|
+
# header parameters
|
|
1185
|
+
header_params = opts[:header_params] || {}
|
|
1186
|
+
# HTTP header 'Accept' (if needed)
|
|
1187
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1188
|
+
|
|
1189
|
+
# form parameters
|
|
1190
|
+
form_params = opts[:form_params] || {}
|
|
1191
|
+
|
|
1192
|
+
# http body (model)
|
|
1193
|
+
post_body = opts[:debug_body]
|
|
1194
|
+
|
|
1195
|
+
# return_type
|
|
1196
|
+
return_type = opts[:debug_return_type] || 'Array<OwnershipAccountTransactionMessage>'
|
|
1197
|
+
|
|
1198
|
+
# auth_names
|
|
1199
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
1200
|
+
|
|
1201
|
+
new_options = opts.merge(
|
|
1202
|
+
:operation => :"AssociationOwnershipAccountsApi.get_ownership_account_ledger",
|
|
1203
|
+
:header_params => header_params,
|
|
1204
|
+
:query_params => query_params,
|
|
1205
|
+
:form_params => form_params,
|
|
1206
|
+
:body => post_body,
|
|
1207
|
+
:auth_names => auth_names,
|
|
1208
|
+
:return_type => return_type
|
|
1209
|
+
)
|
|
1210
|
+
|
|
1211
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1212
|
+
if @api_client.config.debugging
|
|
1213
|
+
@api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#get_ownership_account_ledger\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1214
|
+
end
|
|
1215
|
+
return data, status_code, headers
|
|
1216
|
+
end
|
|
1217
|
+
|
|
1218
|
+
# Retrieve all outstanding balances
|
|
1219
|
+
# Retrieves a list of ownership account outstanding balances. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations > Outstanding Balances</span> - `View`
|
|
1220
|
+
# @param [Hash] opts the optional parameters
|
|
1221
|
+
# @option opts [Integer] :associationid Association unique identifier
|
|
1222
|
+
# @option opts [Array<String>] :ownershipaccountstatuses List of ownership account statuses
|
|
1223
|
+
# @option opts [Array<Integer>] :ownershipaccountids List of ownership account ids
|
|
1224
|
+
# @option opts [String] :pastdueemail Status of notification of outstanding balances
|
|
1225
|
+
# @option opts [String] :balanceduration Duration of outstanding balances
|
|
1226
|
+
# @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.
|
|
1227
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
1228
|
+
# @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.
|
|
1229
|
+
# @return [Array<OwnershipAccountOutstandingBalanceMessage>]
|
|
1230
|
+
def get_ownership_account_outstanding_balances(opts = {})
|
|
1231
|
+
data, _status_code, _headers = get_ownership_account_outstanding_balances_with_http_info(opts)
|
|
1232
|
+
data
|
|
1233
|
+
end
|
|
1234
|
+
|
|
1235
|
+
# Retrieve all outstanding balances
|
|
1236
|
+
# Retrieves a list of ownership account outstanding balances. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Outstanding Balances</span> - `View`
|
|
1237
|
+
# @param [Hash] opts the optional parameters
|
|
1238
|
+
# @option opts [Integer] :associationid Association unique identifier
|
|
1239
|
+
# @option opts [Array<String>] :ownershipaccountstatuses List of ownership account statuses
|
|
1240
|
+
# @option opts [Array<Integer>] :ownershipaccountids List of ownership account ids
|
|
1241
|
+
# @option opts [String] :pastdueemail Status of notification of outstanding balances
|
|
1242
|
+
# @option opts [String] :balanceduration Duration of outstanding balances
|
|
1243
|
+
# @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.
|
|
1244
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
1245
|
+
# @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.
|
|
1246
|
+
# @return [Array<(Array<OwnershipAccountOutstandingBalanceMessage>, Integer, Hash)>] Array<OwnershipAccountOutstandingBalanceMessage> data, response status code and response headers
|
|
1247
|
+
def get_ownership_account_outstanding_balances_with_http_info(opts = {})
|
|
1248
|
+
if @api_client.config.debugging
|
|
1249
|
+
@api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.get_ownership_account_outstanding_balances ...'
|
|
1250
|
+
end
|
|
1251
|
+
allowable_values = ["Active", "Past", "Future"]
|
|
1252
|
+
if @api_client.config.client_side_validation && opts[:'ownershipaccountstatuses'] && !opts[:'ownershipaccountstatuses'].all? { |item| allowable_values.include?(item) }
|
|
1253
|
+
fail ArgumentError, "invalid value for \"ownershipaccountstatuses\", must include one of #{allowable_values}"
|
|
1254
|
+
end
|
|
1255
|
+
allowable_values = ["NoEmailAddress", "Sent"]
|
|
1256
|
+
if @api_client.config.client_side_validation && opts[:'pastdueemail'] && !allowable_values.include?(opts[:'pastdueemail'])
|
|
1257
|
+
fail ArgumentError, "invalid value for \"pastdueemail\", must be one of #{allowable_values}"
|
|
1258
|
+
end
|
|
1259
|
+
allowable_values = ["TotalBalance", "Balance0to30Days", "Balance31to60Days", "Balance61to90Days", "BalanceOver90Days"]
|
|
1260
|
+
if @api_client.config.client_side_validation && opts[:'balanceduration'] && !allowable_values.include?(opts[:'balanceduration'])
|
|
1261
|
+
fail ArgumentError, "invalid value for \"balanceduration\", must be one of #{allowable_values}"
|
|
1262
|
+
end
|
|
1263
|
+
# resource path
|
|
1264
|
+
local_var_path = '/v1/associations/ownershipaccounts/outstandingbalances'
|
|
1265
|
+
|
|
1266
|
+
# query parameters
|
|
1267
|
+
query_params = opts[:query_params] || {}
|
|
1268
|
+
query_params[:'associationid'] = opts[:'associationid'] if !opts[:'associationid'].nil?
|
|
1269
|
+
query_params[:'ownershipaccountstatuses'] = @api_client.build_collection_param(opts[:'ownershipaccountstatuses'], :multi) if !opts[:'ownershipaccountstatuses'].nil?
|
|
1270
|
+
query_params[:'ownershipaccountids'] = @api_client.build_collection_param(opts[:'ownershipaccountids'], :multi) if !opts[:'ownershipaccountids'].nil?
|
|
1271
|
+
query_params[:'pastdueemail'] = opts[:'pastdueemail'] if !opts[:'pastdueemail'].nil?
|
|
1272
|
+
query_params[:'balanceduration'] = opts[:'balanceduration'] if !opts[:'balanceduration'].nil?
|
|
1273
|
+
query_params[:'orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
|
|
1274
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
1275
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
1276
|
+
|
|
1277
|
+
# header parameters
|
|
1278
|
+
header_params = opts[:header_params] || {}
|
|
1279
|
+
# HTTP header 'Accept' (if needed)
|
|
1280
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1281
|
+
|
|
1282
|
+
# form parameters
|
|
1283
|
+
form_params = opts[:form_params] || {}
|
|
1284
|
+
|
|
1285
|
+
# http body (model)
|
|
1286
|
+
post_body = opts[:debug_body]
|
|
1287
|
+
|
|
1288
|
+
# return_type
|
|
1289
|
+
return_type = opts[:debug_return_type] || 'Array<OwnershipAccountOutstandingBalanceMessage>'
|
|
1290
|
+
|
|
1291
|
+
# auth_names
|
|
1292
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
1293
|
+
|
|
1294
|
+
new_options = opts.merge(
|
|
1295
|
+
:operation => :"AssociationOwnershipAccountsApi.get_ownership_account_outstanding_balances",
|
|
1296
|
+
:header_params => header_params,
|
|
1297
|
+
:query_params => query_params,
|
|
1298
|
+
:form_params => form_params,
|
|
1299
|
+
:body => post_body,
|
|
1300
|
+
:auth_names => auth_names,
|
|
1301
|
+
:return_type => return_type
|
|
1302
|
+
)
|
|
1303
|
+
|
|
1304
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1305
|
+
if @api_client.config.debugging
|
|
1306
|
+
@api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#get_ownership_account_outstanding_balances\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1307
|
+
end
|
|
1308
|
+
return data, status_code, headers
|
|
1309
|
+
end
|
|
1310
|
+
|
|
1311
|
+
# Retrieve a recurring credit
|
|
1312
|
+
# Retrieves a recurring credit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations > Ownership account transactions</span> - `View`
|
|
1313
|
+
# @param ownership_account_id [Integer]
|
|
1314
|
+
# @param transaction_id [Integer]
|
|
1315
|
+
# @param [Hash] opts the optional parameters
|
|
1316
|
+
# @return [OwnershipAccountRecurringCreditMessage]
|
|
1317
|
+
def get_ownership_account_recurring_credit_by_id(ownership_account_id, transaction_id, opts = {})
|
|
1318
|
+
data, _status_code, _headers = get_ownership_account_recurring_credit_by_id_with_http_info(ownership_account_id, transaction_id, opts)
|
|
1319
|
+
data
|
|
1320
|
+
end
|
|
1321
|
+
|
|
1322
|
+
# Retrieve a recurring credit
|
|
1323
|
+
# Retrieves a recurring credit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership account transactions</span> - `View`
|
|
1324
|
+
# @param ownership_account_id [Integer]
|
|
1325
|
+
# @param transaction_id [Integer]
|
|
1326
|
+
# @param [Hash] opts the optional parameters
|
|
1327
|
+
# @return [Array<(OwnershipAccountRecurringCreditMessage, Integer, Hash)>] OwnershipAccountRecurringCreditMessage data, response status code and response headers
|
|
1328
|
+
def get_ownership_account_recurring_credit_by_id_with_http_info(ownership_account_id, transaction_id, opts = {})
|
|
1329
|
+
if @api_client.config.debugging
|
|
1330
|
+
@api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.get_ownership_account_recurring_credit_by_id ...'
|
|
1331
|
+
end
|
|
1332
|
+
# verify the required parameter 'ownership_account_id' is set
|
|
1333
|
+
if @api_client.config.client_side_validation && ownership_account_id.nil?
|
|
1334
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.get_ownership_account_recurring_credit_by_id"
|
|
1335
|
+
end
|
|
1336
|
+
# verify the required parameter 'transaction_id' is set
|
|
1337
|
+
if @api_client.config.client_side_validation && transaction_id.nil?
|
|
1338
|
+
fail ArgumentError, "Missing the required parameter 'transaction_id' when calling AssociationOwnershipAccountsApi.get_ownership_account_recurring_credit_by_id"
|
|
1339
|
+
end
|
|
1340
|
+
# resource path
|
|
1341
|
+
local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/recurringcredits/{transactionId}'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s)).sub('{' + 'transactionId' + '}', CGI.escape(transaction_id.to_s))
|
|
1342
|
+
|
|
1343
|
+
# query parameters
|
|
1344
|
+
query_params = opts[:query_params] || {}
|
|
1345
|
+
|
|
1346
|
+
# header parameters
|
|
1347
|
+
header_params = opts[:header_params] || {}
|
|
1348
|
+
# HTTP header 'Accept' (if needed)
|
|
1349
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1350
|
+
|
|
1351
|
+
# form parameters
|
|
1352
|
+
form_params = opts[:form_params] || {}
|
|
1353
|
+
|
|
1354
|
+
# http body (model)
|
|
1355
|
+
post_body = opts[:debug_body]
|
|
1356
|
+
|
|
1357
|
+
# return_type
|
|
1358
|
+
return_type = opts[:debug_return_type] || 'OwnershipAccountRecurringCreditMessage'
|
|
1359
|
+
|
|
1360
|
+
# auth_names
|
|
1361
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
1362
|
+
|
|
1363
|
+
new_options = opts.merge(
|
|
1364
|
+
:operation => :"AssociationOwnershipAccountsApi.get_ownership_account_recurring_credit_by_id",
|
|
1365
|
+
:header_params => header_params,
|
|
1366
|
+
:query_params => query_params,
|
|
1367
|
+
:form_params => form_params,
|
|
1368
|
+
:body => post_body,
|
|
1369
|
+
:auth_names => auth_names,
|
|
1370
|
+
:return_type => return_type
|
|
1371
|
+
)
|
|
1372
|
+
|
|
1373
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1374
|
+
if @api_client.config.debugging
|
|
1375
|
+
@api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#get_ownership_account_recurring_credit_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1376
|
+
end
|
|
1377
|
+
return data, status_code, headers
|
|
1378
|
+
end
|
|
1379
|
+
|
|
1380
|
+
# Retrieve a refund
|
|
1381
|
+
# Retrieves a refund. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View`
|
|
1382
|
+
# @param ownership_account_id [Integer]
|
|
1383
|
+
# @param refund_id [Integer]
|
|
1384
|
+
# @param [Hash] opts the optional parameters
|
|
1385
|
+
# @return [OwnershipAccountRefundMessage]
|
|
1386
|
+
def get_ownership_account_refund_by_id(ownership_account_id, refund_id, opts = {})
|
|
1387
|
+
data, _status_code, _headers = get_ownership_account_refund_by_id_with_http_info(ownership_account_id, refund_id, opts)
|
|
1388
|
+
data
|
|
1389
|
+
end
|
|
1390
|
+
|
|
1391
|
+
# Retrieve a refund
|
|
1392
|
+
# Retrieves a refund. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View`
|
|
1393
|
+
# @param ownership_account_id [Integer]
|
|
1394
|
+
# @param refund_id [Integer]
|
|
1395
|
+
# @param [Hash] opts the optional parameters
|
|
1396
|
+
# @return [Array<(OwnershipAccountRefundMessage, Integer, Hash)>] OwnershipAccountRefundMessage data, response status code and response headers
|
|
1397
|
+
def get_ownership_account_refund_by_id_with_http_info(ownership_account_id, refund_id, opts = {})
|
|
1398
|
+
if @api_client.config.debugging
|
|
1399
|
+
@api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.get_ownership_account_refund_by_id ...'
|
|
1400
|
+
end
|
|
1401
|
+
# verify the required parameter 'ownership_account_id' is set
|
|
1402
|
+
if @api_client.config.client_side_validation && ownership_account_id.nil?
|
|
1403
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.get_ownership_account_refund_by_id"
|
|
1404
|
+
end
|
|
1405
|
+
# verify the required parameter 'refund_id' is set
|
|
1406
|
+
if @api_client.config.client_side_validation && refund_id.nil?
|
|
1407
|
+
fail ArgumentError, "Missing the required parameter 'refund_id' when calling AssociationOwnershipAccountsApi.get_ownership_account_refund_by_id"
|
|
1408
|
+
end
|
|
1409
|
+
# resource path
|
|
1410
|
+
local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/refunds/{refundId}'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s)).sub('{' + 'refundId' + '}', CGI.escape(refund_id.to_s))
|
|
1411
|
+
|
|
1412
|
+
# query parameters
|
|
1413
|
+
query_params = opts[:query_params] || {}
|
|
1414
|
+
|
|
1415
|
+
# header parameters
|
|
1416
|
+
header_params = opts[:header_params] || {}
|
|
1417
|
+
# HTTP header 'Accept' (if needed)
|
|
1418
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1419
|
+
|
|
1420
|
+
# form parameters
|
|
1421
|
+
form_params = opts[:form_params] || {}
|
|
1422
|
+
|
|
1423
|
+
# http body (model)
|
|
1424
|
+
post_body = opts[:debug_body]
|
|
1425
|
+
|
|
1426
|
+
# return_type
|
|
1427
|
+
return_type = opts[:debug_return_type] || 'OwnershipAccountRefundMessage'
|
|
1428
|
+
|
|
1429
|
+
# auth_names
|
|
1430
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
1431
|
+
|
|
1432
|
+
new_options = opts.merge(
|
|
1433
|
+
:operation => :"AssociationOwnershipAccountsApi.get_ownership_account_refund_by_id",
|
|
1434
|
+
:header_params => header_params,
|
|
1435
|
+
:query_params => query_params,
|
|
1436
|
+
:form_params => form_params,
|
|
1437
|
+
:body => post_body,
|
|
1438
|
+
:auth_names => auth_names,
|
|
1439
|
+
:return_type => return_type
|
|
1440
|
+
)
|
|
1441
|
+
|
|
1442
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1443
|
+
if @api_client.config.debugging
|
|
1444
|
+
@api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#get_ownership_account_refund_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1445
|
+
end
|
|
1446
|
+
return data, status_code, headers
|
|
1447
|
+
end
|
|
1448
|
+
|
|
1449
|
+
# Retrieve an ownership account transaction
|
|
1450
|
+
# Retrieves a single ownership account transaction. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations > Ownership account transactions</span> - `View`
|
|
1451
|
+
# @param ownership_account_id [Integer] The ownership account identifier.
|
|
1452
|
+
# @param transaction_id [Integer] The transaction identifier.
|
|
1453
|
+
# @param [Hash] opts the optional parameters
|
|
1454
|
+
# @return [OwnershipAccountTransactionMessage]
|
|
1455
|
+
def get_ownership_account_transaction_by_id(ownership_account_id, transaction_id, opts = {})
|
|
1456
|
+
data, _status_code, _headers = get_ownership_account_transaction_by_id_with_http_info(ownership_account_id, transaction_id, opts)
|
|
1457
|
+
data
|
|
1458
|
+
end
|
|
1459
|
+
|
|
1460
|
+
# Retrieve an ownership account transaction
|
|
1461
|
+
# Retrieves a single ownership account transaction. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership account transactions</span> - `View`
|
|
1462
|
+
# @param ownership_account_id [Integer] The ownership account identifier.
|
|
1463
|
+
# @param transaction_id [Integer] The transaction identifier.
|
|
1464
|
+
# @param [Hash] opts the optional parameters
|
|
1465
|
+
# @return [Array<(OwnershipAccountTransactionMessage, Integer, Hash)>] OwnershipAccountTransactionMessage data, response status code and response headers
|
|
1466
|
+
def get_ownership_account_transaction_by_id_with_http_info(ownership_account_id, transaction_id, opts = {})
|
|
1467
|
+
if @api_client.config.debugging
|
|
1468
|
+
@api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.get_ownership_account_transaction_by_id ...'
|
|
1469
|
+
end
|
|
1470
|
+
# verify the required parameter 'ownership_account_id' is set
|
|
1471
|
+
if @api_client.config.client_side_validation && ownership_account_id.nil?
|
|
1472
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.get_ownership_account_transaction_by_id"
|
|
1473
|
+
end
|
|
1474
|
+
# verify the required parameter 'transaction_id' is set
|
|
1475
|
+
if @api_client.config.client_side_validation && transaction_id.nil?
|
|
1476
|
+
fail ArgumentError, "Missing the required parameter 'transaction_id' when calling AssociationOwnershipAccountsApi.get_ownership_account_transaction_by_id"
|
|
1477
|
+
end
|
|
1478
|
+
# resource path
|
|
1479
|
+
local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/transactions/{transactionId}'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s)).sub('{' + 'transactionId' + '}', CGI.escape(transaction_id.to_s))
|
|
1480
|
+
|
|
1481
|
+
# query parameters
|
|
1482
|
+
query_params = opts[:query_params] || {}
|
|
1483
|
+
|
|
1484
|
+
# header parameters
|
|
1485
|
+
header_params = opts[:header_params] || {}
|
|
1486
|
+
# HTTP header 'Accept' (if needed)
|
|
1487
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1488
|
+
|
|
1489
|
+
# form parameters
|
|
1490
|
+
form_params = opts[:form_params] || {}
|
|
1491
|
+
|
|
1492
|
+
# http body (model)
|
|
1493
|
+
post_body = opts[:debug_body]
|
|
1494
|
+
|
|
1495
|
+
# return_type
|
|
1496
|
+
return_type = opts[:debug_return_type] || 'OwnershipAccountTransactionMessage'
|
|
1497
|
+
|
|
1498
|
+
# auth_names
|
|
1499
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
1500
|
+
|
|
1501
|
+
new_options = opts.merge(
|
|
1502
|
+
:operation => :"AssociationOwnershipAccountsApi.get_ownership_account_transaction_by_id",
|
|
1503
|
+
:header_params => header_params,
|
|
1504
|
+
:query_params => query_params,
|
|
1505
|
+
:form_params => form_params,
|
|
1506
|
+
:body => post_body,
|
|
1507
|
+
:auth_names => auth_names,
|
|
1508
|
+
:return_type => return_type
|
|
1509
|
+
)
|
|
1510
|
+
|
|
1511
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1512
|
+
if @api_client.config.debugging
|
|
1513
|
+
@api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#get_ownership_account_transaction_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1514
|
+
end
|
|
1515
|
+
return data, status_code, headers
|
|
1516
|
+
end
|
|
1517
|
+
|
|
1518
|
+
# Retrieve a recurring charge
|
|
1519
|
+
# Retrieves a recurring charge. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations > Ownership account transactions</span> - `View`
|
|
1520
|
+
# @param ownership_account_id [Integer]
|
|
1521
|
+
# @param transaction_id [Integer]
|
|
1522
|
+
# @param [Hash] opts the optional parameters
|
|
1523
|
+
# @return [OwnershipAccountChargeRecurringTransactionMessage]
|
|
1524
|
+
def get_ownership_accounts_charge_recurring_transaction_by_id(ownership_account_id, transaction_id, opts = {})
|
|
1525
|
+
data, _status_code, _headers = get_ownership_accounts_charge_recurring_transaction_by_id_with_http_info(ownership_account_id, transaction_id, opts)
|
|
1526
|
+
data
|
|
1527
|
+
end
|
|
1528
|
+
|
|
1529
|
+
# Retrieve a recurring charge
|
|
1530
|
+
# Retrieves a recurring charge. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership account transactions</span> - `View`
|
|
1531
|
+
# @param ownership_account_id [Integer]
|
|
1532
|
+
# @param transaction_id [Integer]
|
|
1533
|
+
# @param [Hash] opts the optional parameters
|
|
1534
|
+
# @return [Array<(OwnershipAccountChargeRecurringTransactionMessage, Integer, Hash)>] OwnershipAccountChargeRecurringTransactionMessage data, response status code and response headers
|
|
1535
|
+
def get_ownership_accounts_charge_recurring_transaction_by_id_with_http_info(ownership_account_id, transaction_id, opts = {})
|
|
1536
|
+
if @api_client.config.debugging
|
|
1537
|
+
@api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.get_ownership_accounts_charge_recurring_transaction_by_id ...'
|
|
1538
|
+
end
|
|
1539
|
+
# verify the required parameter 'ownership_account_id' is set
|
|
1540
|
+
if @api_client.config.client_side_validation && ownership_account_id.nil?
|
|
1541
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.get_ownership_accounts_charge_recurring_transaction_by_id"
|
|
1542
|
+
end
|
|
1543
|
+
# verify the required parameter 'transaction_id' is set
|
|
1544
|
+
if @api_client.config.client_side_validation && transaction_id.nil?
|
|
1545
|
+
fail ArgumentError, "Missing the required parameter 'transaction_id' when calling AssociationOwnershipAccountsApi.get_ownership_accounts_charge_recurring_transaction_by_id"
|
|
1546
|
+
end
|
|
1547
|
+
# resource path
|
|
1548
|
+
local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/recurringcharges/{transactionId}'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s)).sub('{' + 'transactionId' + '}', CGI.escape(transaction_id.to_s))
|
|
1549
|
+
|
|
1550
|
+
# query parameters
|
|
1551
|
+
query_params = opts[:query_params] || {}
|
|
1552
|
+
|
|
1553
|
+
# header parameters
|
|
1554
|
+
header_params = opts[:header_params] || {}
|
|
1555
|
+
# HTTP header 'Accept' (if needed)
|
|
1556
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1557
|
+
|
|
1558
|
+
# form parameters
|
|
1559
|
+
form_params = opts[:form_params] || {}
|
|
1560
|
+
|
|
1561
|
+
# http body (model)
|
|
1562
|
+
post_body = opts[:debug_body]
|
|
1563
|
+
|
|
1564
|
+
# return_type
|
|
1565
|
+
return_type = opts[:debug_return_type] || 'OwnershipAccountChargeRecurringTransactionMessage'
|
|
1566
|
+
|
|
1567
|
+
# auth_names
|
|
1568
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
1569
|
+
|
|
1570
|
+
new_options = opts.merge(
|
|
1571
|
+
:operation => :"AssociationOwnershipAccountsApi.get_ownership_accounts_charge_recurring_transaction_by_id",
|
|
1572
|
+
:header_params => header_params,
|
|
1573
|
+
:query_params => query_params,
|
|
1574
|
+
:form_params => form_params,
|
|
1575
|
+
:body => post_body,
|
|
1576
|
+
:auth_names => auth_names,
|
|
1577
|
+
:return_type => return_type
|
|
1578
|
+
)
|
|
1579
|
+
|
|
1580
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1581
|
+
if @api_client.config.debugging
|
|
1582
|
+
@api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#get_ownership_accounts_charge_recurring_transaction_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1583
|
+
end
|
|
1584
|
+
return data, status_code, headers
|
|
1585
|
+
end
|
|
1586
|
+
|
|
1587
|
+
# Retrieve a recurring payment
|
|
1588
|
+
# Retrieves a recurring payment. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations > Ownership account transactions</span> - `View`
|
|
1589
|
+
# @param ownership_account_id [Integer]
|
|
1590
|
+
# @param payment_id [Integer]
|
|
1591
|
+
# @param [Hash] opts the optional parameters
|
|
1592
|
+
# @return [OwnershipAccountRecurringPaymentMessage]
|
|
1593
|
+
def get_recurring_ownership_account_payments_by_id(ownership_account_id, payment_id, opts = {})
|
|
1594
|
+
data, _status_code, _headers = get_recurring_ownership_account_payments_by_id_with_http_info(ownership_account_id, payment_id, opts)
|
|
1595
|
+
data
|
|
1596
|
+
end
|
|
1597
|
+
|
|
1598
|
+
# Retrieve a recurring payment
|
|
1599
|
+
# Retrieves a recurring payment. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership account transactions</span> - `View`
|
|
1600
|
+
# @param ownership_account_id [Integer]
|
|
1601
|
+
# @param payment_id [Integer]
|
|
1602
|
+
# @param [Hash] opts the optional parameters
|
|
1603
|
+
# @return [Array<(OwnershipAccountRecurringPaymentMessage, Integer, Hash)>] OwnershipAccountRecurringPaymentMessage data, response status code and response headers
|
|
1604
|
+
def get_recurring_ownership_account_payments_by_id_with_http_info(ownership_account_id, payment_id, opts = {})
|
|
1605
|
+
if @api_client.config.debugging
|
|
1606
|
+
@api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.get_recurring_ownership_account_payments_by_id ...'
|
|
1607
|
+
end
|
|
1608
|
+
# verify the required parameter 'ownership_account_id' is set
|
|
1609
|
+
if @api_client.config.client_side_validation && ownership_account_id.nil?
|
|
1610
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.get_recurring_ownership_account_payments_by_id"
|
|
1611
|
+
end
|
|
1612
|
+
# verify the required parameter 'payment_id' is set
|
|
1613
|
+
if @api_client.config.client_side_validation && payment_id.nil?
|
|
1614
|
+
fail ArgumentError, "Missing the required parameter 'payment_id' when calling AssociationOwnershipAccountsApi.get_recurring_ownership_account_payments_by_id"
|
|
1615
|
+
end
|
|
1616
|
+
# resource path
|
|
1617
|
+
local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/recurringpayments/{paymentId}'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s)).sub('{' + 'paymentId' + '}', CGI.escape(payment_id.to_s))
|
|
1618
|
+
|
|
1619
|
+
# query parameters
|
|
1620
|
+
query_params = opts[:query_params] || {}
|
|
1621
|
+
|
|
1622
|
+
# header parameters
|
|
1623
|
+
header_params = opts[:header_params] || {}
|
|
1624
|
+
# HTTP header 'Accept' (if needed)
|
|
1625
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1626
|
+
|
|
1627
|
+
# form parameters
|
|
1628
|
+
form_params = opts[:form_params] || {}
|
|
1629
|
+
|
|
1630
|
+
# http body (model)
|
|
1631
|
+
post_body = opts[:debug_body]
|
|
1632
|
+
|
|
1633
|
+
# return_type
|
|
1634
|
+
return_type = opts[:debug_return_type] || 'OwnershipAccountRecurringPaymentMessage'
|
|
1635
|
+
|
|
1636
|
+
# auth_names
|
|
1637
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
1638
|
+
|
|
1639
|
+
new_options = opts.merge(
|
|
1640
|
+
:operation => :"AssociationOwnershipAccountsApi.get_recurring_ownership_account_payments_by_id",
|
|
1641
|
+
:header_params => header_params,
|
|
1642
|
+
:query_params => query_params,
|
|
1643
|
+
:form_params => form_params,
|
|
1644
|
+
:body => post_body,
|
|
1645
|
+
:auth_names => auth_names,
|
|
1646
|
+
:return_type => return_type
|
|
1647
|
+
)
|
|
1648
|
+
|
|
1649
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1650
|
+
if @api_client.config.debugging
|
|
1651
|
+
@api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#get_recurring_ownership_account_payments_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1652
|
+
end
|
|
1653
|
+
return data, status_code, headers
|
|
1654
|
+
end
|
|
1655
|
+
|
|
1656
|
+
# Update an ownership account
|
|
1657
|
+
# Updates an ownership account. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations > Ownership accounts</span> - `View` `Edit`
|
|
1658
|
+
# @param ownership_account_id [Integer]
|
|
1659
|
+
# @param association_ownership_account_put_message [AssociationOwnershipAccountPutMessage]
|
|
1660
|
+
# @param [Hash] opts the optional parameters
|
|
1661
|
+
# @return [AssociationOwnershipAccountMessage]
|
|
1662
|
+
def update_association_ownership_account(ownership_account_id, association_ownership_account_put_message, opts = {})
|
|
1663
|
+
data, _status_code, _headers = update_association_ownership_account_with_http_info(ownership_account_id, association_ownership_account_put_message, opts)
|
|
1664
|
+
data
|
|
1665
|
+
end
|
|
1666
|
+
|
|
1667
|
+
# Update an ownership account
|
|
1668
|
+
# Updates an ownership account. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership accounts</span> - `View` `Edit`
|
|
1669
|
+
# @param ownership_account_id [Integer]
|
|
1670
|
+
# @param association_ownership_account_put_message [AssociationOwnershipAccountPutMessage]
|
|
1671
|
+
# @param [Hash] opts the optional parameters
|
|
1672
|
+
# @return [Array<(AssociationOwnershipAccountMessage, Integer, Hash)>] AssociationOwnershipAccountMessage data, response status code and response headers
|
|
1673
|
+
def update_association_ownership_account_with_http_info(ownership_account_id, association_ownership_account_put_message, opts = {})
|
|
1674
|
+
if @api_client.config.debugging
|
|
1675
|
+
@api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.update_association_ownership_account ...'
|
|
1676
|
+
end
|
|
1677
|
+
# verify the required parameter 'ownership_account_id' is set
|
|
1678
|
+
if @api_client.config.client_side_validation && ownership_account_id.nil?
|
|
1679
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.update_association_ownership_account"
|
|
1680
|
+
end
|
|
1681
|
+
# verify the required parameter 'association_ownership_account_put_message' is set
|
|
1682
|
+
if @api_client.config.client_side_validation && association_ownership_account_put_message.nil?
|
|
1683
|
+
fail ArgumentError, "Missing the required parameter 'association_ownership_account_put_message' when calling AssociationOwnershipAccountsApi.update_association_ownership_account"
|
|
1684
|
+
end
|
|
1685
|
+
# resource path
|
|
1686
|
+
local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s))
|
|
1687
|
+
|
|
1688
|
+
# query parameters
|
|
1689
|
+
query_params = opts[:query_params] || {}
|
|
1690
|
+
|
|
1691
|
+
# header parameters
|
|
1692
|
+
header_params = opts[:header_params] || {}
|
|
1693
|
+
# HTTP header 'Accept' (if needed)
|
|
1694
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1695
|
+
# HTTP header 'Content-Type'
|
|
1696
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1697
|
+
if !content_type.nil?
|
|
1698
|
+
header_params['Content-Type'] = content_type
|
|
1699
|
+
end
|
|
1700
|
+
|
|
1701
|
+
# form parameters
|
|
1702
|
+
form_params = opts[:form_params] || {}
|
|
1703
|
+
|
|
1704
|
+
# http body (model)
|
|
1705
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(association_ownership_account_put_message)
|
|
1706
|
+
|
|
1707
|
+
# return_type
|
|
1708
|
+
return_type = opts[:debug_return_type] || 'AssociationOwnershipAccountMessage'
|
|
1709
|
+
|
|
1710
|
+
# auth_names
|
|
1711
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
1712
|
+
|
|
1713
|
+
new_options = opts.merge(
|
|
1714
|
+
:operation => :"AssociationOwnershipAccountsApi.update_association_ownership_account",
|
|
1715
|
+
:header_params => header_params,
|
|
1716
|
+
:query_params => query_params,
|
|
1717
|
+
:form_params => form_params,
|
|
1718
|
+
:body => post_body,
|
|
1719
|
+
:auth_names => auth_names,
|
|
1720
|
+
:return_type => return_type
|
|
1721
|
+
)
|
|
1722
|
+
|
|
1723
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1724
|
+
if @api_client.config.debugging
|
|
1725
|
+
@api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#update_association_ownership_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1726
|
+
end
|
|
1727
|
+
return data, status_code, headers
|
|
1728
|
+
end
|
|
1729
|
+
|
|
1730
|
+
# Update a note
|
|
1731
|
+
# Updates an association ownership account note. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations > Ownership Accounts</span> - `View` `Edit`
|
|
1732
|
+
# @param ownership_account_id [Integer]
|
|
1733
|
+
# @param note_id [Integer]
|
|
1734
|
+
# @param note_put_message [NotePutMessage]
|
|
1735
|
+
# @param [Hash] opts the optional parameters
|
|
1736
|
+
# @return [NoteMessage]
|
|
1737
|
+
def update_association_ownership_account_note(ownership_account_id, note_id, note_put_message, opts = {})
|
|
1738
|
+
data, _status_code, _headers = update_association_ownership_account_note_with_http_info(ownership_account_id, note_id, note_put_message, opts)
|
|
1739
|
+
data
|
|
1740
|
+
end
|
|
1741
|
+
|
|
1742
|
+
# Update a note
|
|
1743
|
+
# Updates an association ownership account note. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership Accounts</span> - `View` `Edit`
|
|
1744
|
+
# @param ownership_account_id [Integer]
|
|
1745
|
+
# @param note_id [Integer]
|
|
1746
|
+
# @param note_put_message [NotePutMessage]
|
|
1747
|
+
# @param [Hash] opts the optional parameters
|
|
1748
|
+
# @return [Array<(NoteMessage, Integer, Hash)>] NoteMessage data, response status code and response headers
|
|
1749
|
+
def update_association_ownership_account_note_with_http_info(ownership_account_id, note_id, note_put_message, opts = {})
|
|
1750
|
+
if @api_client.config.debugging
|
|
1751
|
+
@api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.update_association_ownership_account_note ...'
|
|
1752
|
+
end
|
|
1753
|
+
# verify the required parameter 'ownership_account_id' is set
|
|
1754
|
+
if @api_client.config.client_side_validation && ownership_account_id.nil?
|
|
1755
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.update_association_ownership_account_note"
|
|
1756
|
+
end
|
|
1757
|
+
# verify the required parameter 'note_id' is set
|
|
1758
|
+
if @api_client.config.client_side_validation && note_id.nil?
|
|
1759
|
+
fail ArgumentError, "Missing the required parameter 'note_id' when calling AssociationOwnershipAccountsApi.update_association_ownership_account_note"
|
|
1760
|
+
end
|
|
1761
|
+
# verify the required parameter 'note_put_message' is set
|
|
1762
|
+
if @api_client.config.client_side_validation && note_put_message.nil?
|
|
1763
|
+
fail ArgumentError, "Missing the required parameter 'note_put_message' when calling AssociationOwnershipAccountsApi.update_association_ownership_account_note"
|
|
1764
|
+
end
|
|
1765
|
+
# resource path
|
|
1766
|
+
local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/notes/{noteId}'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s)).sub('{' + 'noteId' + '}', CGI.escape(note_id.to_s))
|
|
1767
|
+
|
|
1768
|
+
# query parameters
|
|
1769
|
+
query_params = opts[:query_params] || {}
|
|
1770
|
+
|
|
1771
|
+
# header parameters
|
|
1772
|
+
header_params = opts[:header_params] || {}
|
|
1773
|
+
# HTTP header 'Accept' (if needed)
|
|
1774
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1775
|
+
# HTTP header 'Content-Type'
|
|
1776
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1777
|
+
if !content_type.nil?
|
|
1778
|
+
header_params['Content-Type'] = content_type
|
|
1779
|
+
end
|
|
1780
|
+
|
|
1781
|
+
# form parameters
|
|
1782
|
+
form_params = opts[:form_params] || {}
|
|
1783
|
+
|
|
1784
|
+
# http body (model)
|
|
1785
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(note_put_message)
|
|
1786
|
+
|
|
1787
|
+
# return_type
|
|
1788
|
+
return_type = opts[:debug_return_type] || 'NoteMessage'
|
|
1789
|
+
|
|
1790
|
+
# auth_names
|
|
1791
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
1792
|
+
|
|
1793
|
+
new_options = opts.merge(
|
|
1794
|
+
:operation => :"AssociationOwnershipAccountsApi.update_association_ownership_account_note",
|
|
1795
|
+
:header_params => header_params,
|
|
1796
|
+
:query_params => query_params,
|
|
1797
|
+
:form_params => form_params,
|
|
1798
|
+
:body => post_body,
|
|
1799
|
+
:auth_names => auth_names,
|
|
1800
|
+
:return_type => return_type
|
|
1801
|
+
)
|
|
1802
|
+
|
|
1803
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1804
|
+
if @api_client.config.debugging
|
|
1805
|
+
@api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#update_association_ownership_account_note\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1806
|
+
end
|
|
1807
|
+
return data, status_code, headers
|
|
1808
|
+
end
|
|
1809
|
+
|
|
1810
|
+
# Update a charge
|
|
1811
|
+
# Updates a charge. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations > Ownership account transactions</span> - `View` `Edit` <br />
|
|
1812
|
+
# @param ownership_account_id [Integer] The ownership account identifier.
|
|
1813
|
+
# @param charge_id [Integer] The charge identifier.
|
|
1814
|
+
# @param ownership_account_ledger_charge_put_message [OwnershipAccountLedgerChargePutMessage]
|
|
1815
|
+
# @param [Hash] opts the optional parameters
|
|
1816
|
+
# @return [OwnershipAccountTransactionMessage]
|
|
1817
|
+
def update_ownership_account_charge(ownership_account_id, charge_id, ownership_account_ledger_charge_put_message, opts = {})
|
|
1818
|
+
data, _status_code, _headers = update_ownership_account_charge_with_http_info(ownership_account_id, charge_id, ownership_account_ledger_charge_put_message, opts)
|
|
1819
|
+
data
|
|
1820
|
+
end
|
|
1821
|
+
|
|
1822
|
+
# Update a charge
|
|
1823
|
+
# Updates a charge. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Associations &gt; Ownership account transactions</span> - `View` `Edit` <br />
|
|
1824
|
+
# @param ownership_account_id [Integer] The ownership account identifier.
|
|
1825
|
+
# @param charge_id [Integer] The charge identifier.
|
|
1826
|
+
# @param ownership_account_ledger_charge_put_message [OwnershipAccountLedgerChargePutMessage]
|
|
1827
|
+
# @param [Hash] opts the optional parameters
|
|
1828
|
+
# @return [Array<(OwnershipAccountTransactionMessage, Integer, Hash)>] OwnershipAccountTransactionMessage data, response status code and response headers
|
|
1829
|
+
def update_ownership_account_charge_with_http_info(ownership_account_id, charge_id, ownership_account_ledger_charge_put_message, opts = {})
|
|
1830
|
+
if @api_client.config.debugging
|
|
1831
|
+
@api_client.config.logger.debug 'Calling API: AssociationOwnershipAccountsApi.update_ownership_account_charge ...'
|
|
1832
|
+
end
|
|
1833
|
+
# verify the required parameter 'ownership_account_id' is set
|
|
1834
|
+
if @api_client.config.client_side_validation && ownership_account_id.nil?
|
|
1835
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_id' when calling AssociationOwnershipAccountsApi.update_ownership_account_charge"
|
|
1836
|
+
end
|
|
1837
|
+
# verify the required parameter 'charge_id' is set
|
|
1838
|
+
if @api_client.config.client_side_validation && charge_id.nil?
|
|
1839
|
+
fail ArgumentError, "Missing the required parameter 'charge_id' when calling AssociationOwnershipAccountsApi.update_ownership_account_charge"
|
|
1840
|
+
end
|
|
1841
|
+
# verify the required parameter 'ownership_account_ledger_charge_put_message' is set
|
|
1842
|
+
if @api_client.config.client_side_validation && ownership_account_ledger_charge_put_message.nil?
|
|
1843
|
+
fail ArgumentError, "Missing the required parameter 'ownership_account_ledger_charge_put_message' when calling AssociationOwnershipAccountsApi.update_ownership_account_charge"
|
|
1844
|
+
end
|
|
1845
|
+
# resource path
|
|
1846
|
+
local_var_path = '/v1/associations/ownershipaccounts/{ownershipAccountId}/charges/{chargeId}'.sub('{' + 'ownershipAccountId' + '}', CGI.escape(ownership_account_id.to_s)).sub('{' + 'chargeId' + '}', CGI.escape(charge_id.to_s))
|
|
1847
|
+
|
|
1848
|
+
# query parameters
|
|
1849
|
+
query_params = opts[:query_params] || {}
|
|
1850
|
+
|
|
1851
|
+
# header parameters
|
|
1852
|
+
header_params = opts[:header_params] || {}
|
|
1853
|
+
# HTTP header 'Accept' (if needed)
|
|
1854
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1855
|
+
# HTTP header 'Content-Type'
|
|
1856
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1857
|
+
if !content_type.nil?
|
|
1858
|
+
header_params['Content-Type'] = content_type
|
|
1859
|
+
end
|
|
1860
|
+
|
|
1861
|
+
# form parameters
|
|
1862
|
+
form_params = opts[:form_params] || {}
|
|
1863
|
+
|
|
1864
|
+
# http body (model)
|
|
1865
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(ownership_account_ledger_charge_put_message)
|
|
1866
|
+
|
|
1867
|
+
# return_type
|
|
1868
|
+
return_type = opts[:debug_return_type] || 'OwnershipAccountTransactionMessage'
|
|
1869
|
+
|
|
1870
|
+
# auth_names
|
|
1871
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
1872
|
+
|
|
1873
|
+
new_options = opts.merge(
|
|
1874
|
+
:operation => :"AssociationOwnershipAccountsApi.update_ownership_account_charge",
|
|
1875
|
+
:header_params => header_params,
|
|
1876
|
+
:query_params => query_params,
|
|
1877
|
+
:form_params => form_params,
|
|
1878
|
+
:body => post_body,
|
|
1879
|
+
:auth_names => auth_names,
|
|
1880
|
+
:return_type => return_type
|
|
1881
|
+
)
|
|
1882
|
+
|
|
1883
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1884
|
+
if @api_client.config.debugging
|
|
1885
|
+
@api_client.config.logger.debug "API called: AssociationOwnershipAccountsApi#update_ownership_account_charge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1886
|
+
end
|
|
1887
|
+
return data, status_code, headers
|
|
1888
|
+
end
|
|
1889
|
+
end
|
|
1890
|
+
end
|