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,2085 @@
|
|
|
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 BankAccountsApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Create a bank account
|
|
23
|
+
# Creates a bank account. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Banking</span> - `View` `Edit`
|
|
24
|
+
# @param bank_account_post_message [BankAccountPostMessage]
|
|
25
|
+
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @return [BankAccountMessage]
|
|
27
|
+
def create_bank_account(bank_account_post_message, opts = {})
|
|
28
|
+
data, _status_code, _headers = create_bank_account_with_http_info(bank_account_post_message, opts)
|
|
29
|
+
data
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Create a bank account
|
|
33
|
+
# Creates a bank account. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Banking</span> - `View` `Edit`
|
|
34
|
+
# @param bank_account_post_message [BankAccountPostMessage]
|
|
35
|
+
# @param [Hash] opts the optional parameters
|
|
36
|
+
# @return [Array<(BankAccountMessage, Integer, Hash)>] BankAccountMessage data, response status code and response headers
|
|
37
|
+
def create_bank_account_with_http_info(bank_account_post_message, opts = {})
|
|
38
|
+
if @api_client.config.debugging
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.create_bank_account ...'
|
|
40
|
+
end
|
|
41
|
+
# verify the required parameter 'bank_account_post_message' is set
|
|
42
|
+
if @api_client.config.client_side_validation && bank_account_post_message.nil?
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_post_message' when calling BankAccountsApi.create_bank_account"
|
|
44
|
+
end
|
|
45
|
+
# resource path
|
|
46
|
+
local_var_path = '/v1/bankaccounts'
|
|
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(bank_account_post_message)
|
|
66
|
+
|
|
67
|
+
# return_type
|
|
68
|
+
return_type = opts[:debug_return_type] || 'BankAccountMessage'
|
|
69
|
+
|
|
70
|
+
# auth_names
|
|
71
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
72
|
+
|
|
73
|
+
new_options = opts.merge(
|
|
74
|
+
:operation => :"BankAccountsApi.create_bank_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: BankAccountsApi#create_bank_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
86
|
+
end
|
|
87
|
+
return data, status_code, headers
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# Create a check
|
|
91
|
+
# Creates a check. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
|
|
92
|
+
# @param bank_account_id [Integer]
|
|
93
|
+
# @param bank_account_check_post_message [BankAccountCheckPostMessage]
|
|
94
|
+
# @param [Hash] opts the optional parameters
|
|
95
|
+
# @return [BankAccountCheckMessage]
|
|
96
|
+
def create_bank_account_check(bank_account_id, bank_account_check_post_message, opts = {})
|
|
97
|
+
data, _status_code, _headers = create_bank_account_check_with_http_info(bank_account_id, bank_account_check_post_message, opts)
|
|
98
|
+
data
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# Create a check
|
|
102
|
+
# Creates a check. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` `Edit`
|
|
103
|
+
# @param bank_account_id [Integer]
|
|
104
|
+
# @param bank_account_check_post_message [BankAccountCheckPostMessage]
|
|
105
|
+
# @param [Hash] opts the optional parameters
|
|
106
|
+
# @return [Array<(BankAccountCheckMessage, Integer, Hash)>] BankAccountCheckMessage data, response status code and response headers
|
|
107
|
+
def create_bank_account_check_with_http_info(bank_account_id, bank_account_check_post_message, opts = {})
|
|
108
|
+
if @api_client.config.debugging
|
|
109
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.create_bank_account_check ...'
|
|
110
|
+
end
|
|
111
|
+
# verify the required parameter 'bank_account_id' is set
|
|
112
|
+
if @api_client.config.client_side_validation && bank_account_id.nil?
|
|
113
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.create_bank_account_check"
|
|
114
|
+
end
|
|
115
|
+
# verify the required parameter 'bank_account_check_post_message' is set
|
|
116
|
+
if @api_client.config.client_side_validation && bank_account_check_post_message.nil?
|
|
117
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_check_post_message' when calling BankAccountsApi.create_bank_account_check"
|
|
118
|
+
end
|
|
119
|
+
# resource path
|
|
120
|
+
local_var_path = '/v1/bankaccounts/{bankAccountId}/checks'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_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(bank_account_check_post_message)
|
|
140
|
+
|
|
141
|
+
# return_type
|
|
142
|
+
return_type = opts[:debug_return_type] || 'BankAccountCheckMessage'
|
|
143
|
+
|
|
144
|
+
# auth_names
|
|
145
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
146
|
+
|
|
147
|
+
new_options = opts.merge(
|
|
148
|
+
:operation => :"BankAccountsApi.create_bank_account_check",
|
|
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: BankAccountsApi#create_bank_account_check\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
160
|
+
end
|
|
161
|
+
return data, status_code, headers
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
# Create a deposit
|
|
165
|
+
# Creates a deposit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
|
|
166
|
+
# @param bank_account_id [Integer]
|
|
167
|
+
# @param bank_account_deposit_post_message [BankAccountDepositPostMessage]
|
|
168
|
+
# @param [Hash] opts the optional parameters
|
|
169
|
+
# @return [BankAccountDepositMessage]
|
|
170
|
+
def create_bank_account_deposit(bank_account_id, bank_account_deposit_post_message, opts = {})
|
|
171
|
+
data, _status_code, _headers = create_bank_account_deposit_with_http_info(bank_account_id, bank_account_deposit_post_message, opts)
|
|
172
|
+
data
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
# Create a deposit
|
|
176
|
+
# Creates a deposit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` `Edit`
|
|
177
|
+
# @param bank_account_id [Integer]
|
|
178
|
+
# @param bank_account_deposit_post_message [BankAccountDepositPostMessage]
|
|
179
|
+
# @param [Hash] opts the optional parameters
|
|
180
|
+
# @return [Array<(BankAccountDepositMessage, Integer, Hash)>] BankAccountDepositMessage data, response status code and response headers
|
|
181
|
+
def create_bank_account_deposit_with_http_info(bank_account_id, bank_account_deposit_post_message, opts = {})
|
|
182
|
+
if @api_client.config.debugging
|
|
183
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.create_bank_account_deposit ...'
|
|
184
|
+
end
|
|
185
|
+
# verify the required parameter 'bank_account_id' is set
|
|
186
|
+
if @api_client.config.client_side_validation && bank_account_id.nil?
|
|
187
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.create_bank_account_deposit"
|
|
188
|
+
end
|
|
189
|
+
# verify the required parameter 'bank_account_deposit_post_message' is set
|
|
190
|
+
if @api_client.config.client_side_validation && bank_account_deposit_post_message.nil?
|
|
191
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_deposit_post_message' when calling BankAccountsApi.create_bank_account_deposit"
|
|
192
|
+
end
|
|
193
|
+
# resource path
|
|
194
|
+
local_var_path = '/v1/bankaccounts/{bankAccountId}/deposits'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_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(bank_account_deposit_post_message)
|
|
214
|
+
|
|
215
|
+
# return_type
|
|
216
|
+
return_type = opts[:debug_return_type] || 'BankAccountDepositMessage'
|
|
217
|
+
|
|
218
|
+
# auth_names
|
|
219
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
220
|
+
|
|
221
|
+
new_options = opts.merge(
|
|
222
|
+
:operation => :"BankAccountsApi.create_bank_account_deposit",
|
|
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: BankAccountsApi#create_bank_account_deposit\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
234
|
+
end
|
|
235
|
+
return data, status_code, headers
|
|
236
|
+
end
|
|
237
|
+
|
|
238
|
+
# Create a transfer
|
|
239
|
+
# Creates a bank account transfer. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
|
|
240
|
+
# @param bank_account_id [Integer]
|
|
241
|
+
# @param bank_account_transfer_save_message [BankAccountTransferSaveMessage]
|
|
242
|
+
# @param [Hash] opts the optional parameters
|
|
243
|
+
# @return [BankAccountTransferMessage]
|
|
244
|
+
def create_bank_account_transfer(bank_account_id, bank_account_transfer_save_message, opts = {})
|
|
245
|
+
data, _status_code, _headers = create_bank_account_transfer_with_http_info(bank_account_id, bank_account_transfer_save_message, opts)
|
|
246
|
+
data
|
|
247
|
+
end
|
|
248
|
+
|
|
249
|
+
# Create a transfer
|
|
250
|
+
# Creates a bank account transfer. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` `Edit`
|
|
251
|
+
# @param bank_account_id [Integer]
|
|
252
|
+
# @param bank_account_transfer_save_message [BankAccountTransferSaveMessage]
|
|
253
|
+
# @param [Hash] opts the optional parameters
|
|
254
|
+
# @return [Array<(BankAccountTransferMessage, Integer, Hash)>] BankAccountTransferMessage data, response status code and response headers
|
|
255
|
+
def create_bank_account_transfer_with_http_info(bank_account_id, bank_account_transfer_save_message, opts = {})
|
|
256
|
+
if @api_client.config.debugging
|
|
257
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.create_bank_account_transfer ...'
|
|
258
|
+
end
|
|
259
|
+
# verify the required parameter 'bank_account_id' is set
|
|
260
|
+
if @api_client.config.client_side_validation && bank_account_id.nil?
|
|
261
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.create_bank_account_transfer"
|
|
262
|
+
end
|
|
263
|
+
# verify the required parameter 'bank_account_transfer_save_message' is set
|
|
264
|
+
if @api_client.config.client_side_validation && bank_account_transfer_save_message.nil?
|
|
265
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_transfer_save_message' when calling BankAccountsApi.create_bank_account_transfer"
|
|
266
|
+
end
|
|
267
|
+
# resource path
|
|
268
|
+
local_var_path = '/v1/bankaccounts/{bankAccountId}/transfers'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_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(bank_account_transfer_save_message)
|
|
288
|
+
|
|
289
|
+
# return_type
|
|
290
|
+
return_type = opts[:debug_return_type] || 'BankAccountTransferMessage'
|
|
291
|
+
|
|
292
|
+
# auth_names
|
|
293
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
294
|
+
|
|
295
|
+
new_options = opts.merge(
|
|
296
|
+
:operation => :"BankAccountsApi.create_bank_account_transfer",
|
|
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: BankAccountsApi#create_bank_account_transfer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
308
|
+
end
|
|
309
|
+
return data, status_code, headers
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
# Create a quick deposit
|
|
313
|
+
# Creates a quick deposit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View` `Edit`
|
|
314
|
+
# @param bank_account_id [Integer]
|
|
315
|
+
# @param bank_account_quick_deposit_save_message [BankAccountQuickDepositSaveMessage]
|
|
316
|
+
# @param [Hash] opts the optional parameters
|
|
317
|
+
# @return [BankAccountQuickDepositMessage]
|
|
318
|
+
def create_quick_deposit(bank_account_id, bank_account_quick_deposit_save_message, opts = {})
|
|
319
|
+
data, _status_code, _headers = create_quick_deposit_with_http_info(bank_account_id, bank_account_quick_deposit_save_message, opts)
|
|
320
|
+
data
|
|
321
|
+
end
|
|
322
|
+
|
|
323
|
+
# Create a quick deposit
|
|
324
|
+
# Creates a quick deposit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; BankAccount</span> - `View` `Edit`
|
|
325
|
+
# @param bank_account_id [Integer]
|
|
326
|
+
# @param bank_account_quick_deposit_save_message [BankAccountQuickDepositSaveMessage]
|
|
327
|
+
# @param [Hash] opts the optional parameters
|
|
328
|
+
# @return [Array<(BankAccountQuickDepositMessage, Integer, Hash)>] BankAccountQuickDepositMessage data, response status code and response headers
|
|
329
|
+
def create_quick_deposit_with_http_info(bank_account_id, bank_account_quick_deposit_save_message, opts = {})
|
|
330
|
+
if @api_client.config.debugging
|
|
331
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.create_quick_deposit ...'
|
|
332
|
+
end
|
|
333
|
+
# verify the required parameter 'bank_account_id' is set
|
|
334
|
+
if @api_client.config.client_side_validation && bank_account_id.nil?
|
|
335
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.create_quick_deposit"
|
|
336
|
+
end
|
|
337
|
+
# verify the required parameter 'bank_account_quick_deposit_save_message' is set
|
|
338
|
+
if @api_client.config.client_side_validation && bank_account_quick_deposit_save_message.nil?
|
|
339
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_quick_deposit_save_message' when calling BankAccountsApi.create_quick_deposit"
|
|
340
|
+
end
|
|
341
|
+
# resource path
|
|
342
|
+
local_var_path = '/v1/bankaccounts/{bankAccountId}/quickdeposits'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_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(bank_account_quick_deposit_save_message)
|
|
362
|
+
|
|
363
|
+
# return_type
|
|
364
|
+
return_type = opts[:debug_return_type] || 'BankAccountQuickDepositMessage'
|
|
365
|
+
|
|
366
|
+
# auth_names
|
|
367
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
368
|
+
|
|
369
|
+
new_options = opts.merge(
|
|
370
|
+
:operation => :"BankAccountsApi.create_quick_deposit",
|
|
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: BankAccountsApi#create_quick_deposit\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
382
|
+
end
|
|
383
|
+
return data, status_code, headers
|
|
384
|
+
end
|
|
385
|
+
|
|
386
|
+
# Create a withdrawal
|
|
387
|
+
# Creates a bank account withdrawal. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
|
|
388
|
+
# @param bank_account_id [Integer]
|
|
389
|
+
# @param bank_account_withdrawal_save_message [BankAccountWithdrawalSaveMessage]
|
|
390
|
+
# @param [Hash] opts the optional parameters
|
|
391
|
+
# @return [BankAccountWithdrawalMessage]
|
|
392
|
+
def create_withdrawal_for_bank_account(bank_account_id, bank_account_withdrawal_save_message, opts = {})
|
|
393
|
+
data, _status_code, _headers = create_withdrawal_for_bank_account_with_http_info(bank_account_id, bank_account_withdrawal_save_message, opts)
|
|
394
|
+
data
|
|
395
|
+
end
|
|
396
|
+
|
|
397
|
+
# Create a withdrawal
|
|
398
|
+
# Creates a bank account withdrawal. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` `Edit`
|
|
399
|
+
# @param bank_account_id [Integer]
|
|
400
|
+
# @param bank_account_withdrawal_save_message [BankAccountWithdrawalSaveMessage]
|
|
401
|
+
# @param [Hash] opts the optional parameters
|
|
402
|
+
# @return [Array<(BankAccountWithdrawalMessage, Integer, Hash)>] BankAccountWithdrawalMessage data, response status code and response headers
|
|
403
|
+
def create_withdrawal_for_bank_account_with_http_info(bank_account_id, bank_account_withdrawal_save_message, opts = {})
|
|
404
|
+
if @api_client.config.debugging
|
|
405
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.create_withdrawal_for_bank_account ...'
|
|
406
|
+
end
|
|
407
|
+
# verify the required parameter 'bank_account_id' is set
|
|
408
|
+
if @api_client.config.client_side_validation && bank_account_id.nil?
|
|
409
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.create_withdrawal_for_bank_account"
|
|
410
|
+
end
|
|
411
|
+
# verify the required parameter 'bank_account_withdrawal_save_message' is set
|
|
412
|
+
if @api_client.config.client_side_validation && bank_account_withdrawal_save_message.nil?
|
|
413
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_withdrawal_save_message' when calling BankAccountsApi.create_withdrawal_for_bank_account"
|
|
414
|
+
end
|
|
415
|
+
# resource path
|
|
416
|
+
local_var_path = '/v1/bankaccounts/{bankAccountId}/withdrawals'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_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(bank_account_withdrawal_save_message)
|
|
436
|
+
|
|
437
|
+
# return_type
|
|
438
|
+
return_type = opts[:debug_return_type] || 'BankAccountWithdrawalMessage'
|
|
439
|
+
|
|
440
|
+
# auth_names
|
|
441
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
442
|
+
|
|
443
|
+
new_options = opts.merge(
|
|
444
|
+
:operation => :"BankAccountsApi.create_withdrawal_for_bank_account",
|
|
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: BankAccountsApi#create_withdrawal_for_bank_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
456
|
+
end
|
|
457
|
+
return data, status_code, headers
|
|
458
|
+
end
|
|
459
|
+
|
|
460
|
+
# Retrieve all bank accounts
|
|
461
|
+
# Retrieves a list of bank accounts. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View`
|
|
462
|
+
# @param [Hash] opts the optional parameters
|
|
463
|
+
# @option opts [String] :bankaccountstatus Filters results by the status of the bank account. If no status is specified, bank accounts with any status will be returned.
|
|
464
|
+
# @option opts [String] :bankname Filters results to any bank account whose name *contains* the specified value.
|
|
465
|
+
# @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.
|
|
466
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
467
|
+
# @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.
|
|
468
|
+
# @return [Array<BankAccountMessage>]
|
|
469
|
+
def get_all_bank_accounts(opts = {})
|
|
470
|
+
data, _status_code, _headers = get_all_bank_accounts_with_http_info(opts)
|
|
471
|
+
data
|
|
472
|
+
end
|
|
473
|
+
|
|
474
|
+
# Retrieve all bank accounts
|
|
475
|
+
# Retrieves a list of bank accounts. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View`
|
|
476
|
+
# @param [Hash] opts the optional parameters
|
|
477
|
+
# @option opts [String] :bankaccountstatus Filters results by the status of the bank account. If no status is specified, bank accounts with any status will be returned.
|
|
478
|
+
# @option opts [String] :bankname Filters results to any bank account whose name *contains* the specified value.
|
|
479
|
+
# @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.
|
|
480
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
481
|
+
# @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.
|
|
482
|
+
# @return [Array<(Array<BankAccountMessage>, Integer, Hash)>] Array<BankAccountMessage> data, response status code and response headers
|
|
483
|
+
def get_all_bank_accounts_with_http_info(opts = {})
|
|
484
|
+
if @api_client.config.debugging
|
|
485
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.get_all_bank_accounts ...'
|
|
486
|
+
end
|
|
487
|
+
allowable_values = ["Active", "InActive"]
|
|
488
|
+
if @api_client.config.client_side_validation && opts[:'bankaccountstatus'] && !allowable_values.include?(opts[:'bankaccountstatus'])
|
|
489
|
+
fail ArgumentError, "invalid value for \"bankaccountstatus\", must be one of #{allowable_values}"
|
|
490
|
+
end
|
|
491
|
+
# resource path
|
|
492
|
+
local_var_path = '/v1/bankaccounts'
|
|
493
|
+
|
|
494
|
+
# query parameters
|
|
495
|
+
query_params = opts[:query_params] || {}
|
|
496
|
+
query_params[:'bankaccountstatus'] = opts[:'bankaccountstatus'] if !opts[:'bankaccountstatus'].nil?
|
|
497
|
+
query_params[:'bankname'] = opts[:'bankname'] if !opts[:'bankname'].nil?
|
|
498
|
+
query_params[:'orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
|
|
499
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
500
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
501
|
+
|
|
502
|
+
# header parameters
|
|
503
|
+
header_params = opts[:header_params] || {}
|
|
504
|
+
# HTTP header 'Accept' (if needed)
|
|
505
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
506
|
+
|
|
507
|
+
# form parameters
|
|
508
|
+
form_params = opts[:form_params] || {}
|
|
509
|
+
|
|
510
|
+
# http body (model)
|
|
511
|
+
post_body = opts[:debug_body]
|
|
512
|
+
|
|
513
|
+
# return_type
|
|
514
|
+
return_type = opts[:debug_return_type] || 'Array<BankAccountMessage>'
|
|
515
|
+
|
|
516
|
+
# auth_names
|
|
517
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
518
|
+
|
|
519
|
+
new_options = opts.merge(
|
|
520
|
+
:operation => :"BankAccountsApi.get_all_bank_accounts",
|
|
521
|
+
:header_params => header_params,
|
|
522
|
+
:query_params => query_params,
|
|
523
|
+
:form_params => form_params,
|
|
524
|
+
:body => post_body,
|
|
525
|
+
:auth_names => auth_names,
|
|
526
|
+
:return_type => return_type
|
|
527
|
+
)
|
|
528
|
+
|
|
529
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
530
|
+
if @api_client.config.debugging
|
|
531
|
+
@api_client.config.logger.debug "API called: BankAccountsApi#get_all_bank_accounts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
532
|
+
end
|
|
533
|
+
return data, status_code, headers
|
|
534
|
+
end
|
|
535
|
+
|
|
536
|
+
# Retrieve all quick deposits
|
|
537
|
+
# Retrieves all quick deposits. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View`
|
|
538
|
+
# @param bank_account_id [Integer]
|
|
539
|
+
# @param startdate [Date] Filters results to any transactions that were recorded on or after the specified date. The value must be formatted as YYYY-MM-DD.
|
|
540
|
+
# @param enddate [Date] Filters results to any transactions that were recorded on or before the specified date. The value must be formatted as YYYY-MM-DD.
|
|
541
|
+
# @param [Hash] opts the optional parameters
|
|
542
|
+
# @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.
|
|
543
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
544
|
+
# @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.
|
|
545
|
+
# @return [Array<BankAccountQuickDepositMessage>]
|
|
546
|
+
def get_all_quick_deposits(bank_account_id, startdate, enddate, opts = {})
|
|
547
|
+
data, _status_code, _headers = get_all_quick_deposits_with_http_info(bank_account_id, startdate, enddate, opts)
|
|
548
|
+
data
|
|
549
|
+
end
|
|
550
|
+
|
|
551
|
+
# Retrieve all quick deposits
|
|
552
|
+
# Retrieves all quick deposits. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; BankAccount</span> - `View`
|
|
553
|
+
# @param bank_account_id [Integer]
|
|
554
|
+
# @param startdate [Date] Filters results to any transactions that were recorded on or after the specified date. The value must be formatted as YYYY-MM-DD.
|
|
555
|
+
# @param enddate [Date] Filters results to any transactions that were recorded on or before the specified date. The value must be formatted as YYYY-MM-DD.
|
|
556
|
+
# @param [Hash] opts the optional parameters
|
|
557
|
+
# @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.
|
|
558
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
559
|
+
# @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.
|
|
560
|
+
# @return [Array<(Array<BankAccountQuickDepositMessage>, Integer, Hash)>] Array<BankAccountQuickDepositMessage> data, response status code and response headers
|
|
561
|
+
def get_all_quick_deposits_with_http_info(bank_account_id, startdate, enddate, opts = {})
|
|
562
|
+
if @api_client.config.debugging
|
|
563
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.get_all_quick_deposits ...'
|
|
564
|
+
end
|
|
565
|
+
# verify the required parameter 'bank_account_id' is set
|
|
566
|
+
if @api_client.config.client_side_validation && bank_account_id.nil?
|
|
567
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.get_all_quick_deposits"
|
|
568
|
+
end
|
|
569
|
+
# verify the required parameter 'startdate' is set
|
|
570
|
+
if @api_client.config.client_side_validation && startdate.nil?
|
|
571
|
+
fail ArgumentError, "Missing the required parameter 'startdate' when calling BankAccountsApi.get_all_quick_deposits"
|
|
572
|
+
end
|
|
573
|
+
# verify the required parameter 'enddate' is set
|
|
574
|
+
if @api_client.config.client_side_validation && enddate.nil?
|
|
575
|
+
fail ArgumentError, "Missing the required parameter 'enddate' when calling BankAccountsApi.get_all_quick_deposits"
|
|
576
|
+
end
|
|
577
|
+
# resource path
|
|
578
|
+
local_var_path = '/v1/bankaccounts/{bankAccountId}/quickdeposits'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s))
|
|
579
|
+
|
|
580
|
+
# query parameters
|
|
581
|
+
query_params = opts[:query_params] || {}
|
|
582
|
+
query_params[:'startdate'] = startdate
|
|
583
|
+
query_params[:'enddate'] = enddate
|
|
584
|
+
query_params[:'orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
|
|
585
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
586
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
587
|
+
|
|
588
|
+
# header parameters
|
|
589
|
+
header_params = opts[:header_params] || {}
|
|
590
|
+
# HTTP header 'Accept' (if needed)
|
|
591
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
592
|
+
|
|
593
|
+
# form parameters
|
|
594
|
+
form_params = opts[:form_params] || {}
|
|
595
|
+
|
|
596
|
+
# http body (model)
|
|
597
|
+
post_body = opts[:debug_body]
|
|
598
|
+
|
|
599
|
+
# return_type
|
|
600
|
+
return_type = opts[:debug_return_type] || 'Array<BankAccountQuickDepositMessage>'
|
|
601
|
+
|
|
602
|
+
# auth_names
|
|
603
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
604
|
+
|
|
605
|
+
new_options = opts.merge(
|
|
606
|
+
:operation => :"BankAccountsApi.get_all_quick_deposits",
|
|
607
|
+
:header_params => header_params,
|
|
608
|
+
:query_params => query_params,
|
|
609
|
+
:form_params => form_params,
|
|
610
|
+
:body => post_body,
|
|
611
|
+
:auth_names => auth_names,
|
|
612
|
+
:return_type => return_type
|
|
613
|
+
)
|
|
614
|
+
|
|
615
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
616
|
+
if @api_client.config.debugging
|
|
617
|
+
@api_client.config.logger.debug "API called: BankAccountsApi#get_all_quick_deposits\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
618
|
+
end
|
|
619
|
+
return data, status_code, headers
|
|
620
|
+
end
|
|
621
|
+
|
|
622
|
+
# Retrieve a bank account
|
|
623
|
+
# Retrieves a specific bank account. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View`
|
|
624
|
+
# @param bank_account_id [Integer] The bank account identifier.
|
|
625
|
+
# @param [Hash] opts the optional parameters
|
|
626
|
+
# @return [BankAccountMessage]
|
|
627
|
+
def get_bank_account(bank_account_id, opts = {})
|
|
628
|
+
data, _status_code, _headers = get_bank_account_with_http_info(bank_account_id, opts)
|
|
629
|
+
data
|
|
630
|
+
end
|
|
631
|
+
|
|
632
|
+
# Retrieve a bank account
|
|
633
|
+
# Retrieves a specific bank account. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View`
|
|
634
|
+
# @param bank_account_id [Integer] The bank account identifier.
|
|
635
|
+
# @param [Hash] opts the optional parameters
|
|
636
|
+
# @return [Array<(BankAccountMessage, Integer, Hash)>] BankAccountMessage data, response status code and response headers
|
|
637
|
+
def get_bank_account_with_http_info(bank_account_id, opts = {})
|
|
638
|
+
if @api_client.config.debugging
|
|
639
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.get_bank_account ...'
|
|
640
|
+
end
|
|
641
|
+
# verify the required parameter 'bank_account_id' is set
|
|
642
|
+
if @api_client.config.client_side_validation && bank_account_id.nil?
|
|
643
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.get_bank_account"
|
|
644
|
+
end
|
|
645
|
+
# resource path
|
|
646
|
+
local_var_path = '/v1/bankaccounts/{bankAccountId}'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s))
|
|
647
|
+
|
|
648
|
+
# query parameters
|
|
649
|
+
query_params = opts[:query_params] || {}
|
|
650
|
+
|
|
651
|
+
# header parameters
|
|
652
|
+
header_params = opts[:header_params] || {}
|
|
653
|
+
# HTTP header 'Accept' (if needed)
|
|
654
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
655
|
+
|
|
656
|
+
# form parameters
|
|
657
|
+
form_params = opts[:form_params] || {}
|
|
658
|
+
|
|
659
|
+
# http body (model)
|
|
660
|
+
post_body = opts[:debug_body]
|
|
661
|
+
|
|
662
|
+
# return_type
|
|
663
|
+
return_type = opts[:debug_return_type] || 'BankAccountMessage'
|
|
664
|
+
|
|
665
|
+
# auth_names
|
|
666
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
667
|
+
|
|
668
|
+
new_options = opts.merge(
|
|
669
|
+
:operation => :"BankAccountsApi.get_bank_account",
|
|
670
|
+
:header_params => header_params,
|
|
671
|
+
:query_params => query_params,
|
|
672
|
+
:form_params => form_params,
|
|
673
|
+
:body => post_body,
|
|
674
|
+
:auth_names => auth_names,
|
|
675
|
+
:return_type => return_type
|
|
676
|
+
)
|
|
677
|
+
|
|
678
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
679
|
+
if @api_client.config.debugging
|
|
680
|
+
@api_client.config.logger.debug "API called: BankAccountsApi#get_bank_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
681
|
+
end
|
|
682
|
+
return data, status_code, headers
|
|
683
|
+
end
|
|
684
|
+
|
|
685
|
+
# Retrieve all checks
|
|
686
|
+
# Retrieves all bank account checks. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` <br /><span class=\"permissionBlock\">Accounting > General Ledger Transactions</span> - `View` <span class=\"permissionBlock\">(Required for checks associated with a Company) </span>
|
|
687
|
+
# @param bank_account_id [Integer]
|
|
688
|
+
# @param startdate [Date] Filters results to any transactions that were recorded on or after the specified date. The value must be formatted as YYYY-MM-DD.
|
|
689
|
+
# @param enddate [Date] Filters results to any transactions that were recorded on or before the specified date. The value must be formatted as YYYY-MM-DD.
|
|
690
|
+
# @param [Hash] opts the optional parameters
|
|
691
|
+
# @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.
|
|
692
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
693
|
+
# @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.
|
|
694
|
+
# @return [Array<BankAccountCheckMessage>]
|
|
695
|
+
def get_bank_account_checks(bank_account_id, startdate, enddate, opts = {})
|
|
696
|
+
data, _status_code, _headers = get_bank_account_checks_with_http_info(bank_account_id, startdate, enddate, opts)
|
|
697
|
+
data
|
|
698
|
+
end
|
|
699
|
+
|
|
700
|
+
# Retrieve all checks
|
|
701
|
+
# Retrieves all bank account checks. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` <br /><span class=\"permissionBlock\">Accounting &gt; General Ledger Transactions</span> - `View` <span class=\"permissionBlock\">(Required for checks associated with a Company) </span>
|
|
702
|
+
# @param bank_account_id [Integer]
|
|
703
|
+
# @param startdate [Date] Filters results to any transactions that were recorded on or after the specified date. The value must be formatted as YYYY-MM-DD.
|
|
704
|
+
# @param enddate [Date] Filters results to any transactions that were recorded on or before the specified date. The value must be formatted as YYYY-MM-DD.
|
|
705
|
+
# @param [Hash] opts the optional parameters
|
|
706
|
+
# @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.
|
|
707
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
708
|
+
# @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.
|
|
709
|
+
# @return [Array<(Array<BankAccountCheckMessage>, Integer, Hash)>] Array<BankAccountCheckMessage> data, response status code and response headers
|
|
710
|
+
def get_bank_account_checks_with_http_info(bank_account_id, startdate, enddate, opts = {})
|
|
711
|
+
if @api_client.config.debugging
|
|
712
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.get_bank_account_checks ...'
|
|
713
|
+
end
|
|
714
|
+
# verify the required parameter 'bank_account_id' is set
|
|
715
|
+
if @api_client.config.client_side_validation && bank_account_id.nil?
|
|
716
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.get_bank_account_checks"
|
|
717
|
+
end
|
|
718
|
+
# verify the required parameter 'startdate' is set
|
|
719
|
+
if @api_client.config.client_side_validation && startdate.nil?
|
|
720
|
+
fail ArgumentError, "Missing the required parameter 'startdate' when calling BankAccountsApi.get_bank_account_checks"
|
|
721
|
+
end
|
|
722
|
+
# verify the required parameter 'enddate' is set
|
|
723
|
+
if @api_client.config.client_side_validation && enddate.nil?
|
|
724
|
+
fail ArgumentError, "Missing the required parameter 'enddate' when calling BankAccountsApi.get_bank_account_checks"
|
|
725
|
+
end
|
|
726
|
+
# resource path
|
|
727
|
+
local_var_path = '/v1/bankaccounts/{bankAccountId}/checks'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s))
|
|
728
|
+
|
|
729
|
+
# query parameters
|
|
730
|
+
query_params = opts[:query_params] || {}
|
|
731
|
+
query_params[:'startdate'] = startdate
|
|
732
|
+
query_params[:'enddate'] = enddate
|
|
733
|
+
query_params[:'orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
|
|
734
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
735
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
736
|
+
|
|
737
|
+
# header parameters
|
|
738
|
+
header_params = opts[:header_params] || {}
|
|
739
|
+
# HTTP header 'Accept' (if needed)
|
|
740
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
741
|
+
|
|
742
|
+
# form parameters
|
|
743
|
+
form_params = opts[:form_params] || {}
|
|
744
|
+
|
|
745
|
+
# http body (model)
|
|
746
|
+
post_body = opts[:debug_body]
|
|
747
|
+
|
|
748
|
+
# return_type
|
|
749
|
+
return_type = opts[:debug_return_type] || 'Array<BankAccountCheckMessage>'
|
|
750
|
+
|
|
751
|
+
# auth_names
|
|
752
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
753
|
+
|
|
754
|
+
new_options = opts.merge(
|
|
755
|
+
:operation => :"BankAccountsApi.get_bank_account_checks",
|
|
756
|
+
:header_params => header_params,
|
|
757
|
+
:query_params => query_params,
|
|
758
|
+
:form_params => form_params,
|
|
759
|
+
:body => post_body,
|
|
760
|
+
:auth_names => auth_names,
|
|
761
|
+
:return_type => return_type
|
|
762
|
+
)
|
|
763
|
+
|
|
764
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
765
|
+
if @api_client.config.debugging
|
|
766
|
+
@api_client.config.logger.debug "API called: BankAccountsApi#get_bank_account_checks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
767
|
+
end
|
|
768
|
+
return data, status_code, headers
|
|
769
|
+
end
|
|
770
|
+
|
|
771
|
+
# Retrieve a deposit
|
|
772
|
+
# Retrieves a bank account deposit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View` <br /><span class=\"permissionBlock\">Accounting > General Ledger Transactions</span> - `View` <span class=\"permissionBlock\">(Required for deposits associated with a Company) </span>
|
|
773
|
+
# @param bank_account_id [Integer]
|
|
774
|
+
# @param deposit_id [Integer]
|
|
775
|
+
# @param [Hash] opts the optional parameters
|
|
776
|
+
# @return [BankAccountDepositMessage]
|
|
777
|
+
def get_bank_account_deposit_by_id(bank_account_id, deposit_id, opts = {})
|
|
778
|
+
data, _status_code, _headers = get_bank_account_deposit_by_id_with_http_info(bank_account_id, deposit_id, opts)
|
|
779
|
+
data
|
|
780
|
+
end
|
|
781
|
+
|
|
782
|
+
# Retrieve a deposit
|
|
783
|
+
# Retrieves a bank account deposit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; BankAccount</span> - `View` <br /><span class=\"permissionBlock\">Accounting &gt; General Ledger Transactions</span> - `View` <span class=\"permissionBlock\">(Required for deposits associated with a Company) </span>
|
|
784
|
+
# @param bank_account_id [Integer]
|
|
785
|
+
# @param deposit_id [Integer]
|
|
786
|
+
# @param [Hash] opts the optional parameters
|
|
787
|
+
# @return [Array<(BankAccountDepositMessage, Integer, Hash)>] BankAccountDepositMessage data, response status code and response headers
|
|
788
|
+
def get_bank_account_deposit_by_id_with_http_info(bank_account_id, deposit_id, opts = {})
|
|
789
|
+
if @api_client.config.debugging
|
|
790
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.get_bank_account_deposit_by_id ...'
|
|
791
|
+
end
|
|
792
|
+
# verify the required parameter 'bank_account_id' is set
|
|
793
|
+
if @api_client.config.client_side_validation && bank_account_id.nil?
|
|
794
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.get_bank_account_deposit_by_id"
|
|
795
|
+
end
|
|
796
|
+
# verify the required parameter 'deposit_id' is set
|
|
797
|
+
if @api_client.config.client_side_validation && deposit_id.nil?
|
|
798
|
+
fail ArgumentError, "Missing the required parameter 'deposit_id' when calling BankAccountsApi.get_bank_account_deposit_by_id"
|
|
799
|
+
end
|
|
800
|
+
# resource path
|
|
801
|
+
local_var_path = '/v1/bankaccounts/{bankAccountId}/deposits/{depositId}'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s)).sub('{' + 'depositId' + '}', CGI.escape(deposit_id.to_s))
|
|
802
|
+
|
|
803
|
+
# query parameters
|
|
804
|
+
query_params = opts[:query_params] || {}
|
|
805
|
+
|
|
806
|
+
# header parameters
|
|
807
|
+
header_params = opts[:header_params] || {}
|
|
808
|
+
# HTTP header 'Accept' (if needed)
|
|
809
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
810
|
+
|
|
811
|
+
# form parameters
|
|
812
|
+
form_params = opts[:form_params] || {}
|
|
813
|
+
|
|
814
|
+
# http body (model)
|
|
815
|
+
post_body = opts[:debug_body]
|
|
816
|
+
|
|
817
|
+
# return_type
|
|
818
|
+
return_type = opts[:debug_return_type] || 'BankAccountDepositMessage'
|
|
819
|
+
|
|
820
|
+
# auth_names
|
|
821
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
822
|
+
|
|
823
|
+
new_options = opts.merge(
|
|
824
|
+
:operation => :"BankAccountsApi.get_bank_account_deposit_by_id",
|
|
825
|
+
:header_params => header_params,
|
|
826
|
+
:query_params => query_params,
|
|
827
|
+
:form_params => form_params,
|
|
828
|
+
:body => post_body,
|
|
829
|
+
:auth_names => auth_names,
|
|
830
|
+
:return_type => return_type
|
|
831
|
+
)
|
|
832
|
+
|
|
833
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
834
|
+
if @api_client.config.debugging
|
|
835
|
+
@api_client.config.logger.debug "API called: BankAccountsApi#get_bank_account_deposit_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
836
|
+
end
|
|
837
|
+
return data, status_code, headers
|
|
838
|
+
end
|
|
839
|
+
|
|
840
|
+
# Retrieve all deposits
|
|
841
|
+
# Retrieves all bank account deposits. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View` <br /><span class=\"permissionBlock\">Accounting > General Ledger Transactions</span> - `View` <span class=\"permissionBlock\">(Required for deposits associated with a Company) </span>
|
|
842
|
+
# @param bank_account_id [Integer]
|
|
843
|
+
# @param startdate [Date] Filters results to any deposits that were recorded on or after the specified date. The value must be formatted as YYYY-MM-DD.
|
|
844
|
+
# @param enddate [Date] Filters results to any deposits that were recorded on or before the specified date. The value must be formatted as YYYY-MM-DD.
|
|
845
|
+
# @param [Hash] opts the optional parameters
|
|
846
|
+
# @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.
|
|
847
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
848
|
+
# @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.
|
|
849
|
+
# @return [Array<BankAccountDepositMessage>]
|
|
850
|
+
def get_bank_account_deposits(bank_account_id, startdate, enddate, opts = {})
|
|
851
|
+
data, _status_code, _headers = get_bank_account_deposits_with_http_info(bank_account_id, startdate, enddate, opts)
|
|
852
|
+
data
|
|
853
|
+
end
|
|
854
|
+
|
|
855
|
+
# Retrieve all deposits
|
|
856
|
+
# Retrieves all bank account deposits. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; BankAccount</span> - `View` <br /><span class=\"permissionBlock\">Accounting &gt; General Ledger Transactions</span> - `View` <span class=\"permissionBlock\">(Required for deposits associated with a Company) </span>
|
|
857
|
+
# @param bank_account_id [Integer]
|
|
858
|
+
# @param startdate [Date] Filters results to any deposits that were recorded on or after the specified date. The value must be formatted as YYYY-MM-DD.
|
|
859
|
+
# @param enddate [Date] Filters results to any deposits that were recorded on or before the specified date. The value must be formatted as YYYY-MM-DD.
|
|
860
|
+
# @param [Hash] opts the optional parameters
|
|
861
|
+
# @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.
|
|
862
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
863
|
+
# @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.
|
|
864
|
+
# @return [Array<(Array<BankAccountDepositMessage>, Integer, Hash)>] Array<BankAccountDepositMessage> data, response status code and response headers
|
|
865
|
+
def get_bank_account_deposits_with_http_info(bank_account_id, startdate, enddate, opts = {})
|
|
866
|
+
if @api_client.config.debugging
|
|
867
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.get_bank_account_deposits ...'
|
|
868
|
+
end
|
|
869
|
+
# verify the required parameter 'bank_account_id' is set
|
|
870
|
+
if @api_client.config.client_side_validation && bank_account_id.nil?
|
|
871
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.get_bank_account_deposits"
|
|
872
|
+
end
|
|
873
|
+
# verify the required parameter 'startdate' is set
|
|
874
|
+
if @api_client.config.client_side_validation && startdate.nil?
|
|
875
|
+
fail ArgumentError, "Missing the required parameter 'startdate' when calling BankAccountsApi.get_bank_account_deposits"
|
|
876
|
+
end
|
|
877
|
+
# verify the required parameter 'enddate' is set
|
|
878
|
+
if @api_client.config.client_side_validation && enddate.nil?
|
|
879
|
+
fail ArgumentError, "Missing the required parameter 'enddate' when calling BankAccountsApi.get_bank_account_deposits"
|
|
880
|
+
end
|
|
881
|
+
# resource path
|
|
882
|
+
local_var_path = '/v1/bankaccounts/{bankAccountId}/deposits'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s))
|
|
883
|
+
|
|
884
|
+
# query parameters
|
|
885
|
+
query_params = opts[:query_params] || {}
|
|
886
|
+
query_params[:'startdate'] = startdate
|
|
887
|
+
query_params[:'enddate'] = enddate
|
|
888
|
+
query_params[:'orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
|
|
889
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
890
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
891
|
+
|
|
892
|
+
# header parameters
|
|
893
|
+
header_params = opts[:header_params] || {}
|
|
894
|
+
# HTTP header 'Accept' (if needed)
|
|
895
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
896
|
+
|
|
897
|
+
# form parameters
|
|
898
|
+
form_params = opts[:form_params] || {}
|
|
899
|
+
|
|
900
|
+
# http body (model)
|
|
901
|
+
post_body = opts[:debug_body]
|
|
902
|
+
|
|
903
|
+
# return_type
|
|
904
|
+
return_type = opts[:debug_return_type] || 'Array<BankAccountDepositMessage>'
|
|
905
|
+
|
|
906
|
+
# auth_names
|
|
907
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
908
|
+
|
|
909
|
+
new_options = opts.merge(
|
|
910
|
+
:operation => :"BankAccountsApi.get_bank_account_deposits",
|
|
911
|
+
:header_params => header_params,
|
|
912
|
+
:query_params => query_params,
|
|
913
|
+
:form_params => form_params,
|
|
914
|
+
:body => post_body,
|
|
915
|
+
:auth_names => auth_names,
|
|
916
|
+
:return_type => return_type
|
|
917
|
+
)
|
|
918
|
+
|
|
919
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
920
|
+
if @api_client.config.debugging
|
|
921
|
+
@api_client.config.logger.debug "API called: BankAccountsApi#get_bank_account_deposits\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
922
|
+
end
|
|
923
|
+
return data, status_code, headers
|
|
924
|
+
end
|
|
925
|
+
|
|
926
|
+
# Retrieve a transaction
|
|
927
|
+
# Retrieves a specific bank account transaction. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Account</span> - `View`
|
|
928
|
+
# @param bank_account_id [Integer]
|
|
929
|
+
# @param transaction_id [Integer]
|
|
930
|
+
# @param [Hash] opts the optional parameters
|
|
931
|
+
# @return [BankAccountTransactionMessage]
|
|
932
|
+
def get_bank_account_transaction_by_id(bank_account_id, transaction_id, opts = {})
|
|
933
|
+
data, _status_code, _headers = get_bank_account_transaction_by_id_with_http_info(bank_account_id, transaction_id, opts)
|
|
934
|
+
data
|
|
935
|
+
end
|
|
936
|
+
|
|
937
|
+
# Retrieve a transaction
|
|
938
|
+
# Retrieves a specific bank account transaction. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Account</span> - `View`
|
|
939
|
+
# @param bank_account_id [Integer]
|
|
940
|
+
# @param transaction_id [Integer]
|
|
941
|
+
# @param [Hash] opts the optional parameters
|
|
942
|
+
# @return [Array<(BankAccountTransactionMessage, Integer, Hash)>] BankAccountTransactionMessage data, response status code and response headers
|
|
943
|
+
def get_bank_account_transaction_by_id_with_http_info(bank_account_id, transaction_id, opts = {})
|
|
944
|
+
if @api_client.config.debugging
|
|
945
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.get_bank_account_transaction_by_id ...'
|
|
946
|
+
end
|
|
947
|
+
# verify the required parameter 'bank_account_id' is set
|
|
948
|
+
if @api_client.config.client_side_validation && bank_account_id.nil?
|
|
949
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.get_bank_account_transaction_by_id"
|
|
950
|
+
end
|
|
951
|
+
# verify the required parameter 'transaction_id' is set
|
|
952
|
+
if @api_client.config.client_side_validation && transaction_id.nil?
|
|
953
|
+
fail ArgumentError, "Missing the required parameter 'transaction_id' when calling BankAccountsApi.get_bank_account_transaction_by_id"
|
|
954
|
+
end
|
|
955
|
+
# resource path
|
|
956
|
+
local_var_path = '/v1/bankaccounts/{bankAccountId}/transactions/{transactionId}'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s)).sub('{' + 'transactionId' + '}', CGI.escape(transaction_id.to_s))
|
|
957
|
+
|
|
958
|
+
# query parameters
|
|
959
|
+
query_params = opts[:query_params] || {}
|
|
960
|
+
|
|
961
|
+
# header parameters
|
|
962
|
+
header_params = opts[:header_params] || {}
|
|
963
|
+
# HTTP header 'Accept' (if needed)
|
|
964
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
965
|
+
|
|
966
|
+
# form parameters
|
|
967
|
+
form_params = opts[:form_params] || {}
|
|
968
|
+
|
|
969
|
+
# http body (model)
|
|
970
|
+
post_body = opts[:debug_body]
|
|
971
|
+
|
|
972
|
+
# return_type
|
|
973
|
+
return_type = opts[:debug_return_type] || 'BankAccountTransactionMessage'
|
|
974
|
+
|
|
975
|
+
# auth_names
|
|
976
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
977
|
+
|
|
978
|
+
new_options = opts.merge(
|
|
979
|
+
:operation => :"BankAccountsApi.get_bank_account_transaction_by_id",
|
|
980
|
+
:header_params => header_params,
|
|
981
|
+
:query_params => query_params,
|
|
982
|
+
:form_params => form_params,
|
|
983
|
+
:body => post_body,
|
|
984
|
+
:auth_names => auth_names,
|
|
985
|
+
:return_type => return_type
|
|
986
|
+
)
|
|
987
|
+
|
|
988
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
989
|
+
if @api_client.config.debugging
|
|
990
|
+
@api_client.config.logger.debug "API called: BankAccountsApi#get_bank_account_transaction_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
991
|
+
end
|
|
992
|
+
return data, status_code, headers
|
|
993
|
+
end
|
|
994
|
+
|
|
995
|
+
# Retrieve all transactions
|
|
996
|
+
# Retrieves all bank account transactions. <br /><br /> Note: When using the `orderby` query string parameter, the only supported parameter is `EntryDate`. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View`
|
|
997
|
+
# @param bank_account_id [Integer]
|
|
998
|
+
# @param startdate [Date] Filters results to any transactions that were recorded on or after the specified date. The value must be formatted as YYYY-MM-DD.
|
|
999
|
+
# @param enddate [Date] Filters results to any transactions that were recorded on or before the specified date. The value must be formatted as YYYY-MM-DD.
|
|
1000
|
+
# @param [Hash] opts the optional parameters
|
|
1001
|
+
# @option opts [Integer] :selectionentityid Filters results to any transaction containing journal lines for an entity associated with the specified entity id value. The id must be of the type specified in SelectionEntityType.
|
|
1002
|
+
# @option opts [String] :selectionentitytype Specifies the type of entity that SelectionEntityId refers to.
|
|
1003
|
+
# @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.
|
|
1004
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
1005
|
+
# @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.
|
|
1006
|
+
# @return [Array<BankAccountTransactionMessage>]
|
|
1007
|
+
def get_bank_account_transactions(bank_account_id, startdate, enddate, opts = {})
|
|
1008
|
+
data, _status_code, _headers = get_bank_account_transactions_with_http_info(bank_account_id, startdate, enddate, opts)
|
|
1009
|
+
data
|
|
1010
|
+
end
|
|
1011
|
+
|
|
1012
|
+
# Retrieve all transactions
|
|
1013
|
+
# Retrieves all bank account transactions. <br /><br /> Note: When using the `orderby` query string parameter, the only supported parameter is `EntryDate`. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View`
|
|
1014
|
+
# @param bank_account_id [Integer]
|
|
1015
|
+
# @param startdate [Date] Filters results to any transactions that were recorded on or after the specified date. The value must be formatted as YYYY-MM-DD.
|
|
1016
|
+
# @param enddate [Date] Filters results to any transactions that were recorded on or before the specified date. The value must be formatted as YYYY-MM-DD.
|
|
1017
|
+
# @param [Hash] opts the optional parameters
|
|
1018
|
+
# @option opts [Integer] :selectionentityid Filters results to any transaction containing journal lines for an entity associated with the specified entity id value. The id must be of the type specified in SelectionEntityType.
|
|
1019
|
+
# @option opts [String] :selectionentitytype Specifies the type of entity that SelectionEntityId refers to.
|
|
1020
|
+
# @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.
|
|
1021
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
1022
|
+
# @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.
|
|
1023
|
+
# @return [Array<(Array<BankAccountTransactionMessage>, Integer, Hash)>] Array<BankAccountTransactionMessage> data, response status code and response headers
|
|
1024
|
+
def get_bank_account_transactions_with_http_info(bank_account_id, startdate, enddate, opts = {})
|
|
1025
|
+
if @api_client.config.debugging
|
|
1026
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.get_bank_account_transactions ...'
|
|
1027
|
+
end
|
|
1028
|
+
# verify the required parameter 'bank_account_id' is set
|
|
1029
|
+
if @api_client.config.client_side_validation && bank_account_id.nil?
|
|
1030
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.get_bank_account_transactions"
|
|
1031
|
+
end
|
|
1032
|
+
# verify the required parameter 'startdate' is set
|
|
1033
|
+
if @api_client.config.client_side_validation && startdate.nil?
|
|
1034
|
+
fail ArgumentError, "Missing the required parameter 'startdate' when calling BankAccountsApi.get_bank_account_transactions"
|
|
1035
|
+
end
|
|
1036
|
+
# verify the required parameter 'enddate' is set
|
|
1037
|
+
if @api_client.config.client_side_validation && enddate.nil?
|
|
1038
|
+
fail ArgumentError, "Missing the required parameter 'enddate' when calling BankAccountsApi.get_bank_account_transactions"
|
|
1039
|
+
end
|
|
1040
|
+
allowable_values = ["Company", "Rental", "RentalOwner", "Association"]
|
|
1041
|
+
if @api_client.config.client_side_validation && opts[:'selectionentitytype'] && !allowable_values.include?(opts[:'selectionentitytype'])
|
|
1042
|
+
fail ArgumentError, "invalid value for \"selectionentitytype\", must be one of #{allowable_values}"
|
|
1043
|
+
end
|
|
1044
|
+
# resource path
|
|
1045
|
+
local_var_path = '/v1/bankaccounts/{bankAccountId}/transactions'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s))
|
|
1046
|
+
|
|
1047
|
+
# query parameters
|
|
1048
|
+
query_params = opts[:query_params] || {}
|
|
1049
|
+
query_params[:'startdate'] = startdate
|
|
1050
|
+
query_params[:'enddate'] = enddate
|
|
1051
|
+
query_params[:'selectionentityid'] = opts[:'selectionentityid'] if !opts[:'selectionentityid'].nil?
|
|
1052
|
+
query_params[:'selectionentitytype'] = opts[:'selectionentitytype'] if !opts[:'selectionentitytype'].nil?
|
|
1053
|
+
query_params[:'orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
|
|
1054
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
1055
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
1056
|
+
|
|
1057
|
+
# header parameters
|
|
1058
|
+
header_params = opts[:header_params] || {}
|
|
1059
|
+
# HTTP header 'Accept' (if needed)
|
|
1060
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1061
|
+
|
|
1062
|
+
# form parameters
|
|
1063
|
+
form_params = opts[:form_params] || {}
|
|
1064
|
+
|
|
1065
|
+
# http body (model)
|
|
1066
|
+
post_body = opts[:debug_body]
|
|
1067
|
+
|
|
1068
|
+
# return_type
|
|
1069
|
+
return_type = opts[:debug_return_type] || 'Array<BankAccountTransactionMessage>'
|
|
1070
|
+
|
|
1071
|
+
# auth_names
|
|
1072
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
1073
|
+
|
|
1074
|
+
new_options = opts.merge(
|
|
1075
|
+
:operation => :"BankAccountsApi.get_bank_account_transactions",
|
|
1076
|
+
:header_params => header_params,
|
|
1077
|
+
:query_params => query_params,
|
|
1078
|
+
:form_params => form_params,
|
|
1079
|
+
:body => post_body,
|
|
1080
|
+
:auth_names => auth_names,
|
|
1081
|
+
:return_type => return_type
|
|
1082
|
+
)
|
|
1083
|
+
|
|
1084
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1085
|
+
if @api_client.config.debugging
|
|
1086
|
+
@api_client.config.logger.debug "API called: BankAccountsApi#get_bank_account_transactions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1087
|
+
end
|
|
1088
|
+
return data, status_code, headers
|
|
1089
|
+
end
|
|
1090
|
+
|
|
1091
|
+
# Retrieve a transfer
|
|
1092
|
+
# Retrieves a bank account transfer. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View`
|
|
1093
|
+
# @param bank_account_id [Integer] The bank account identifier.
|
|
1094
|
+
# @param transfer_id [Integer] The transfer identifier.
|
|
1095
|
+
# @param [Hash] opts the optional parameters
|
|
1096
|
+
# @return [BankAccountMessage]
|
|
1097
|
+
def get_bank_account_transfer_by_id(bank_account_id, transfer_id, opts = {})
|
|
1098
|
+
data, _status_code, _headers = get_bank_account_transfer_by_id_with_http_info(bank_account_id, transfer_id, opts)
|
|
1099
|
+
data
|
|
1100
|
+
end
|
|
1101
|
+
|
|
1102
|
+
# Retrieve a transfer
|
|
1103
|
+
# Retrieves a bank account transfer. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View`
|
|
1104
|
+
# @param bank_account_id [Integer] The bank account identifier.
|
|
1105
|
+
# @param transfer_id [Integer] The transfer identifier.
|
|
1106
|
+
# @param [Hash] opts the optional parameters
|
|
1107
|
+
# @return [Array<(BankAccountMessage, Integer, Hash)>] BankAccountMessage data, response status code and response headers
|
|
1108
|
+
def get_bank_account_transfer_by_id_with_http_info(bank_account_id, transfer_id, opts = {})
|
|
1109
|
+
if @api_client.config.debugging
|
|
1110
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.get_bank_account_transfer_by_id ...'
|
|
1111
|
+
end
|
|
1112
|
+
# verify the required parameter 'bank_account_id' is set
|
|
1113
|
+
if @api_client.config.client_side_validation && bank_account_id.nil?
|
|
1114
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.get_bank_account_transfer_by_id"
|
|
1115
|
+
end
|
|
1116
|
+
# verify the required parameter 'transfer_id' is set
|
|
1117
|
+
if @api_client.config.client_side_validation && transfer_id.nil?
|
|
1118
|
+
fail ArgumentError, "Missing the required parameter 'transfer_id' when calling BankAccountsApi.get_bank_account_transfer_by_id"
|
|
1119
|
+
end
|
|
1120
|
+
# resource path
|
|
1121
|
+
local_var_path = '/v1/bankaccounts/{bankAccountId}/transfers/{transferId}'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s)).sub('{' + 'transferId' + '}', CGI.escape(transfer_id.to_s))
|
|
1122
|
+
|
|
1123
|
+
# query parameters
|
|
1124
|
+
query_params = opts[:query_params] || {}
|
|
1125
|
+
|
|
1126
|
+
# header parameters
|
|
1127
|
+
header_params = opts[:header_params] || {}
|
|
1128
|
+
# HTTP header 'Accept' (if needed)
|
|
1129
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1130
|
+
|
|
1131
|
+
# form parameters
|
|
1132
|
+
form_params = opts[:form_params] || {}
|
|
1133
|
+
|
|
1134
|
+
# http body (model)
|
|
1135
|
+
post_body = opts[:debug_body]
|
|
1136
|
+
|
|
1137
|
+
# return_type
|
|
1138
|
+
return_type = opts[:debug_return_type] || 'BankAccountMessage'
|
|
1139
|
+
|
|
1140
|
+
# auth_names
|
|
1141
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
1142
|
+
|
|
1143
|
+
new_options = opts.merge(
|
|
1144
|
+
:operation => :"BankAccountsApi.get_bank_account_transfer_by_id",
|
|
1145
|
+
:header_params => header_params,
|
|
1146
|
+
:query_params => query_params,
|
|
1147
|
+
:form_params => form_params,
|
|
1148
|
+
:body => post_body,
|
|
1149
|
+
:auth_names => auth_names,
|
|
1150
|
+
:return_type => return_type
|
|
1151
|
+
)
|
|
1152
|
+
|
|
1153
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1154
|
+
if @api_client.config.debugging
|
|
1155
|
+
@api_client.config.logger.debug "API called: BankAccountsApi#get_bank_account_transfer_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1156
|
+
end
|
|
1157
|
+
return data, status_code, headers
|
|
1158
|
+
end
|
|
1159
|
+
|
|
1160
|
+
# Retrieve all transfers
|
|
1161
|
+
# Retrieves all bank account transfers. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View`
|
|
1162
|
+
# @param bank_account_id [Integer]
|
|
1163
|
+
# @param startdate [Date] Filters results to any transfers that were recorded on or after the specified date. The value must be formatted as YYYY-MM-DD.
|
|
1164
|
+
# @param enddate [Date] Filters results to any transfers that were recorded on or before the specified date. The value must be formatted as YYYY-MM-DD.
|
|
1165
|
+
# @param [Hash] opts the optional parameters
|
|
1166
|
+
# @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.
|
|
1167
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
1168
|
+
# @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.
|
|
1169
|
+
# @return [Array<BankAccountTransferMessage>]
|
|
1170
|
+
def get_bank_account_transfers(bank_account_id, startdate, enddate, opts = {})
|
|
1171
|
+
data, _status_code, _headers = get_bank_account_transfers_with_http_info(bank_account_id, startdate, enddate, opts)
|
|
1172
|
+
data
|
|
1173
|
+
end
|
|
1174
|
+
|
|
1175
|
+
# Retrieve all transfers
|
|
1176
|
+
# Retrieves all bank account transfers. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; BankAccount</span> - `View`
|
|
1177
|
+
# @param bank_account_id [Integer]
|
|
1178
|
+
# @param startdate [Date] Filters results to any transfers that were recorded on or after the specified date. The value must be formatted as YYYY-MM-DD.
|
|
1179
|
+
# @param enddate [Date] Filters results to any transfers that were recorded on or before the specified date. The value must be formatted as YYYY-MM-DD.
|
|
1180
|
+
# @param [Hash] opts the optional parameters
|
|
1181
|
+
# @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.
|
|
1182
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
1183
|
+
# @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.
|
|
1184
|
+
# @return [Array<(Array<BankAccountTransferMessage>, Integer, Hash)>] Array<BankAccountTransferMessage> data, response status code and response headers
|
|
1185
|
+
def get_bank_account_transfers_with_http_info(bank_account_id, startdate, enddate, opts = {})
|
|
1186
|
+
if @api_client.config.debugging
|
|
1187
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.get_bank_account_transfers ...'
|
|
1188
|
+
end
|
|
1189
|
+
# verify the required parameter 'bank_account_id' is set
|
|
1190
|
+
if @api_client.config.client_side_validation && bank_account_id.nil?
|
|
1191
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.get_bank_account_transfers"
|
|
1192
|
+
end
|
|
1193
|
+
# verify the required parameter 'startdate' is set
|
|
1194
|
+
if @api_client.config.client_side_validation && startdate.nil?
|
|
1195
|
+
fail ArgumentError, "Missing the required parameter 'startdate' when calling BankAccountsApi.get_bank_account_transfers"
|
|
1196
|
+
end
|
|
1197
|
+
# verify the required parameter 'enddate' is set
|
|
1198
|
+
if @api_client.config.client_side_validation && enddate.nil?
|
|
1199
|
+
fail ArgumentError, "Missing the required parameter 'enddate' when calling BankAccountsApi.get_bank_account_transfers"
|
|
1200
|
+
end
|
|
1201
|
+
# resource path
|
|
1202
|
+
local_var_path = '/v1/bankaccounts/{bankAccountId}/transfers'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s))
|
|
1203
|
+
|
|
1204
|
+
# query parameters
|
|
1205
|
+
query_params = opts[:query_params] || {}
|
|
1206
|
+
query_params[:'startdate'] = startdate
|
|
1207
|
+
query_params[:'enddate'] = enddate
|
|
1208
|
+
query_params[:'orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
|
|
1209
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
1210
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
1211
|
+
|
|
1212
|
+
# header parameters
|
|
1213
|
+
header_params = opts[:header_params] || {}
|
|
1214
|
+
# HTTP header 'Accept' (if needed)
|
|
1215
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1216
|
+
|
|
1217
|
+
# form parameters
|
|
1218
|
+
form_params = opts[:form_params] || {}
|
|
1219
|
+
|
|
1220
|
+
# http body (model)
|
|
1221
|
+
post_body = opts[:debug_body]
|
|
1222
|
+
|
|
1223
|
+
# return_type
|
|
1224
|
+
return_type = opts[:debug_return_type] || 'Array<BankAccountTransferMessage>'
|
|
1225
|
+
|
|
1226
|
+
# auth_names
|
|
1227
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
1228
|
+
|
|
1229
|
+
new_options = opts.merge(
|
|
1230
|
+
:operation => :"BankAccountsApi.get_bank_account_transfers",
|
|
1231
|
+
:header_params => header_params,
|
|
1232
|
+
:query_params => query_params,
|
|
1233
|
+
:form_params => form_params,
|
|
1234
|
+
:body => post_body,
|
|
1235
|
+
:auth_names => auth_names,
|
|
1236
|
+
:return_type => return_type
|
|
1237
|
+
)
|
|
1238
|
+
|
|
1239
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1240
|
+
if @api_client.config.debugging
|
|
1241
|
+
@api_client.config.logger.debug "API called: BankAccountsApi#get_bank_account_transfers\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1242
|
+
end
|
|
1243
|
+
return data, status_code, headers
|
|
1244
|
+
end
|
|
1245
|
+
|
|
1246
|
+
# Retrieve a withdrawal
|
|
1247
|
+
# Retrieves a bank account withdrawal. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccounts</span> - `View`
|
|
1248
|
+
# @param bank_account_id [Integer]
|
|
1249
|
+
# @param withdrawal_id [Integer]
|
|
1250
|
+
# @param [Hash] opts the optional parameters
|
|
1251
|
+
# @return [BankAccountWithdrawalMessage]
|
|
1252
|
+
def get_bank_account_withdrawal_by_id(bank_account_id, withdrawal_id, opts = {})
|
|
1253
|
+
data, _status_code, _headers = get_bank_account_withdrawal_by_id_with_http_info(bank_account_id, withdrawal_id, opts)
|
|
1254
|
+
data
|
|
1255
|
+
end
|
|
1256
|
+
|
|
1257
|
+
# Retrieve a withdrawal
|
|
1258
|
+
# Retrieves a bank account withdrawal. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; BankAccounts</span> - `View`
|
|
1259
|
+
# @param bank_account_id [Integer]
|
|
1260
|
+
# @param withdrawal_id [Integer]
|
|
1261
|
+
# @param [Hash] opts the optional parameters
|
|
1262
|
+
# @return [Array<(BankAccountWithdrawalMessage, Integer, Hash)>] BankAccountWithdrawalMessage data, response status code and response headers
|
|
1263
|
+
def get_bank_account_withdrawal_by_id_with_http_info(bank_account_id, withdrawal_id, opts = {})
|
|
1264
|
+
if @api_client.config.debugging
|
|
1265
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.get_bank_account_withdrawal_by_id ...'
|
|
1266
|
+
end
|
|
1267
|
+
# verify the required parameter 'bank_account_id' is set
|
|
1268
|
+
if @api_client.config.client_side_validation && bank_account_id.nil?
|
|
1269
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.get_bank_account_withdrawal_by_id"
|
|
1270
|
+
end
|
|
1271
|
+
# verify the required parameter 'withdrawal_id' is set
|
|
1272
|
+
if @api_client.config.client_side_validation && withdrawal_id.nil?
|
|
1273
|
+
fail ArgumentError, "Missing the required parameter 'withdrawal_id' when calling BankAccountsApi.get_bank_account_withdrawal_by_id"
|
|
1274
|
+
end
|
|
1275
|
+
# resource path
|
|
1276
|
+
local_var_path = '/v1/bankaccounts/{bankAccountId}/withdrawals/{withdrawalId}'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s)).sub('{' + 'withdrawalId' + '}', CGI.escape(withdrawal_id.to_s))
|
|
1277
|
+
|
|
1278
|
+
# query parameters
|
|
1279
|
+
query_params = opts[:query_params] || {}
|
|
1280
|
+
|
|
1281
|
+
# header parameters
|
|
1282
|
+
header_params = opts[:header_params] || {}
|
|
1283
|
+
# HTTP header 'Accept' (if needed)
|
|
1284
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1285
|
+
|
|
1286
|
+
# form parameters
|
|
1287
|
+
form_params = opts[:form_params] || {}
|
|
1288
|
+
|
|
1289
|
+
# http body (model)
|
|
1290
|
+
post_body = opts[:debug_body]
|
|
1291
|
+
|
|
1292
|
+
# return_type
|
|
1293
|
+
return_type = opts[:debug_return_type] || 'BankAccountWithdrawalMessage'
|
|
1294
|
+
|
|
1295
|
+
# auth_names
|
|
1296
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
1297
|
+
|
|
1298
|
+
new_options = opts.merge(
|
|
1299
|
+
:operation => :"BankAccountsApi.get_bank_account_withdrawal_by_id",
|
|
1300
|
+
:header_params => header_params,
|
|
1301
|
+
:query_params => query_params,
|
|
1302
|
+
:form_params => form_params,
|
|
1303
|
+
:body => post_body,
|
|
1304
|
+
:auth_names => auth_names,
|
|
1305
|
+
:return_type => return_type
|
|
1306
|
+
)
|
|
1307
|
+
|
|
1308
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1309
|
+
if @api_client.config.debugging
|
|
1310
|
+
@api_client.config.logger.debug "API called: BankAccountsApi#get_bank_account_withdrawal_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1311
|
+
end
|
|
1312
|
+
return data, status_code, headers
|
|
1313
|
+
end
|
|
1314
|
+
|
|
1315
|
+
# Retrieve all withdrawals
|
|
1316
|
+
# Retrieves all bank account withdrawals. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccounts</span> - `View`
|
|
1317
|
+
# @param bank_account_id [Integer]
|
|
1318
|
+
# @param startdate [Date] Filters results to any transactions that were recorded on or after the specified date. The value must be formatted as YYYY-MM-DD.
|
|
1319
|
+
# @param enddate [Date] Filters results to any transactions that were recorded on or before the specified date. The value must be formatted as YYYY-MM-DD.
|
|
1320
|
+
# @param [Hash] opts the optional parameters
|
|
1321
|
+
# @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.
|
|
1322
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
1323
|
+
# @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.
|
|
1324
|
+
# @return [Array<BankAccountWithdrawalMessage>]
|
|
1325
|
+
def get_bank_account_withdrawals(bank_account_id, startdate, enddate, opts = {})
|
|
1326
|
+
data, _status_code, _headers = get_bank_account_withdrawals_with_http_info(bank_account_id, startdate, enddate, opts)
|
|
1327
|
+
data
|
|
1328
|
+
end
|
|
1329
|
+
|
|
1330
|
+
# Retrieve all withdrawals
|
|
1331
|
+
# Retrieves all bank account withdrawals. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; BankAccounts</span> - `View`
|
|
1332
|
+
# @param bank_account_id [Integer]
|
|
1333
|
+
# @param startdate [Date] Filters results to any transactions that were recorded on or after the specified date. The value must be formatted as YYYY-MM-DD.
|
|
1334
|
+
# @param enddate [Date] Filters results to any transactions that were recorded on or before the specified date. The value must be formatted as YYYY-MM-DD.
|
|
1335
|
+
# @param [Hash] opts the optional parameters
|
|
1336
|
+
# @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.
|
|
1337
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
1338
|
+
# @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.
|
|
1339
|
+
# @return [Array<(Array<BankAccountWithdrawalMessage>, Integer, Hash)>] Array<BankAccountWithdrawalMessage> data, response status code and response headers
|
|
1340
|
+
def get_bank_account_withdrawals_with_http_info(bank_account_id, startdate, enddate, opts = {})
|
|
1341
|
+
if @api_client.config.debugging
|
|
1342
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.get_bank_account_withdrawals ...'
|
|
1343
|
+
end
|
|
1344
|
+
# verify the required parameter 'bank_account_id' is set
|
|
1345
|
+
if @api_client.config.client_side_validation && bank_account_id.nil?
|
|
1346
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.get_bank_account_withdrawals"
|
|
1347
|
+
end
|
|
1348
|
+
# verify the required parameter 'startdate' is set
|
|
1349
|
+
if @api_client.config.client_side_validation && startdate.nil?
|
|
1350
|
+
fail ArgumentError, "Missing the required parameter 'startdate' when calling BankAccountsApi.get_bank_account_withdrawals"
|
|
1351
|
+
end
|
|
1352
|
+
# verify the required parameter 'enddate' is set
|
|
1353
|
+
if @api_client.config.client_side_validation && enddate.nil?
|
|
1354
|
+
fail ArgumentError, "Missing the required parameter 'enddate' when calling BankAccountsApi.get_bank_account_withdrawals"
|
|
1355
|
+
end
|
|
1356
|
+
# resource path
|
|
1357
|
+
local_var_path = '/v1/bankaccounts/{bankAccountId}/withdrawals'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s))
|
|
1358
|
+
|
|
1359
|
+
# query parameters
|
|
1360
|
+
query_params = opts[:query_params] || {}
|
|
1361
|
+
query_params[:'startdate'] = startdate
|
|
1362
|
+
query_params[:'enddate'] = enddate
|
|
1363
|
+
query_params[:'orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
|
|
1364
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
1365
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
1366
|
+
|
|
1367
|
+
# header parameters
|
|
1368
|
+
header_params = opts[:header_params] || {}
|
|
1369
|
+
# HTTP header 'Accept' (if needed)
|
|
1370
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1371
|
+
|
|
1372
|
+
# form parameters
|
|
1373
|
+
form_params = opts[:form_params] || {}
|
|
1374
|
+
|
|
1375
|
+
# http body (model)
|
|
1376
|
+
post_body = opts[:debug_body]
|
|
1377
|
+
|
|
1378
|
+
# return_type
|
|
1379
|
+
return_type = opts[:debug_return_type] || 'Array<BankAccountWithdrawalMessage>'
|
|
1380
|
+
|
|
1381
|
+
# auth_names
|
|
1382
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
1383
|
+
|
|
1384
|
+
new_options = opts.merge(
|
|
1385
|
+
:operation => :"BankAccountsApi.get_bank_account_withdrawals",
|
|
1386
|
+
:header_params => header_params,
|
|
1387
|
+
:query_params => query_params,
|
|
1388
|
+
:form_params => form_params,
|
|
1389
|
+
:body => post_body,
|
|
1390
|
+
:auth_names => auth_names,
|
|
1391
|
+
:return_type => return_type
|
|
1392
|
+
)
|
|
1393
|
+
|
|
1394
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1395
|
+
if @api_client.config.debugging
|
|
1396
|
+
@api_client.config.logger.debug "API called: BankAccountsApi#get_bank_account_withdrawals\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1397
|
+
end
|
|
1398
|
+
return data, status_code, headers
|
|
1399
|
+
end
|
|
1400
|
+
|
|
1401
|
+
# Retrieve a check
|
|
1402
|
+
# Retrieves a bank account check. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` <br /><span class=\"permissionBlock\">Accounting > General Ledger Transactions</span> - `View` <span class=\"permissionBlock\">(Required for checks associated with a Company) </span>
|
|
1403
|
+
# @param bank_account_id [Integer]
|
|
1404
|
+
# @param check_id [Integer]
|
|
1405
|
+
# @param [Hash] opts the optional parameters
|
|
1406
|
+
# @return [BankAccountCheckMessage]
|
|
1407
|
+
def get_check_for_bank_account(bank_account_id, check_id, opts = {})
|
|
1408
|
+
data, _status_code, _headers = get_check_for_bank_account_with_http_info(bank_account_id, check_id, opts)
|
|
1409
|
+
data
|
|
1410
|
+
end
|
|
1411
|
+
|
|
1412
|
+
# Retrieve a check
|
|
1413
|
+
# Retrieves a bank account check. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` <br /><span class=\"permissionBlock\">Accounting &gt; General Ledger Transactions</span> - `View` <span class=\"permissionBlock\">(Required for checks associated with a Company) </span>
|
|
1414
|
+
# @param bank_account_id [Integer]
|
|
1415
|
+
# @param check_id [Integer]
|
|
1416
|
+
# @param [Hash] opts the optional parameters
|
|
1417
|
+
# @return [Array<(BankAccountCheckMessage, Integer, Hash)>] BankAccountCheckMessage data, response status code and response headers
|
|
1418
|
+
def get_check_for_bank_account_with_http_info(bank_account_id, check_id, opts = {})
|
|
1419
|
+
if @api_client.config.debugging
|
|
1420
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.get_check_for_bank_account ...'
|
|
1421
|
+
end
|
|
1422
|
+
# verify the required parameter 'bank_account_id' is set
|
|
1423
|
+
if @api_client.config.client_side_validation && bank_account_id.nil?
|
|
1424
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.get_check_for_bank_account"
|
|
1425
|
+
end
|
|
1426
|
+
# verify the required parameter 'check_id' is set
|
|
1427
|
+
if @api_client.config.client_side_validation && check_id.nil?
|
|
1428
|
+
fail ArgumentError, "Missing the required parameter 'check_id' when calling BankAccountsApi.get_check_for_bank_account"
|
|
1429
|
+
end
|
|
1430
|
+
# resource path
|
|
1431
|
+
local_var_path = '/v1/bankaccounts/{bankAccountId}/checks/{checkId}'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s)).sub('{' + 'checkId' + '}', CGI.escape(check_id.to_s))
|
|
1432
|
+
|
|
1433
|
+
# query parameters
|
|
1434
|
+
query_params = opts[:query_params] || {}
|
|
1435
|
+
|
|
1436
|
+
# header parameters
|
|
1437
|
+
header_params = opts[:header_params] || {}
|
|
1438
|
+
# HTTP header 'Accept' (if needed)
|
|
1439
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1440
|
+
|
|
1441
|
+
# form parameters
|
|
1442
|
+
form_params = opts[:form_params] || {}
|
|
1443
|
+
|
|
1444
|
+
# http body (model)
|
|
1445
|
+
post_body = opts[:debug_body]
|
|
1446
|
+
|
|
1447
|
+
# return_type
|
|
1448
|
+
return_type = opts[:debug_return_type] || 'BankAccountCheckMessage'
|
|
1449
|
+
|
|
1450
|
+
# auth_names
|
|
1451
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
1452
|
+
|
|
1453
|
+
new_options = opts.merge(
|
|
1454
|
+
:operation => :"BankAccountsApi.get_check_for_bank_account",
|
|
1455
|
+
:header_params => header_params,
|
|
1456
|
+
:query_params => query_params,
|
|
1457
|
+
:form_params => form_params,
|
|
1458
|
+
:body => post_body,
|
|
1459
|
+
:auth_names => auth_names,
|
|
1460
|
+
:return_type => return_type
|
|
1461
|
+
)
|
|
1462
|
+
|
|
1463
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1464
|
+
if @api_client.config.debugging
|
|
1465
|
+
@api_client.config.logger.debug "API called: BankAccountsApi#get_check_for_bank_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1466
|
+
end
|
|
1467
|
+
return data, status_code, headers
|
|
1468
|
+
end
|
|
1469
|
+
|
|
1470
|
+
# Retrieve a quick deposit
|
|
1471
|
+
# Retrieves a quick deposit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > BankAccount</span> - `View`
|
|
1472
|
+
# @param bank_account_id [Integer]
|
|
1473
|
+
# @param quick_deposit_id [Integer]
|
|
1474
|
+
# @param [Hash] opts the optional parameters
|
|
1475
|
+
# @return [BankAccountQuickDepositMessage]
|
|
1476
|
+
def get_quick_deposit_by_id(bank_account_id, quick_deposit_id, opts = {})
|
|
1477
|
+
data, _status_code, _headers = get_quick_deposit_by_id_with_http_info(bank_account_id, quick_deposit_id, opts)
|
|
1478
|
+
data
|
|
1479
|
+
end
|
|
1480
|
+
|
|
1481
|
+
# Retrieve a quick deposit
|
|
1482
|
+
# Retrieves a quick deposit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; BankAccount</span> - `View`
|
|
1483
|
+
# @param bank_account_id [Integer]
|
|
1484
|
+
# @param quick_deposit_id [Integer]
|
|
1485
|
+
# @param [Hash] opts the optional parameters
|
|
1486
|
+
# @return [Array<(BankAccountQuickDepositMessage, Integer, Hash)>] BankAccountQuickDepositMessage data, response status code and response headers
|
|
1487
|
+
def get_quick_deposit_by_id_with_http_info(bank_account_id, quick_deposit_id, opts = {})
|
|
1488
|
+
if @api_client.config.debugging
|
|
1489
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.get_quick_deposit_by_id ...'
|
|
1490
|
+
end
|
|
1491
|
+
# verify the required parameter 'bank_account_id' is set
|
|
1492
|
+
if @api_client.config.client_side_validation && bank_account_id.nil?
|
|
1493
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.get_quick_deposit_by_id"
|
|
1494
|
+
end
|
|
1495
|
+
# verify the required parameter 'quick_deposit_id' is set
|
|
1496
|
+
if @api_client.config.client_side_validation && quick_deposit_id.nil?
|
|
1497
|
+
fail ArgumentError, "Missing the required parameter 'quick_deposit_id' when calling BankAccountsApi.get_quick_deposit_by_id"
|
|
1498
|
+
end
|
|
1499
|
+
# resource path
|
|
1500
|
+
local_var_path = '/v1/bankaccounts/{bankAccountId}/quickdeposits/{quickDepositId}'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s)).sub('{' + 'quickDepositId' + '}', CGI.escape(quick_deposit_id.to_s))
|
|
1501
|
+
|
|
1502
|
+
# query parameters
|
|
1503
|
+
query_params = opts[:query_params] || {}
|
|
1504
|
+
|
|
1505
|
+
# header parameters
|
|
1506
|
+
header_params = opts[:header_params] || {}
|
|
1507
|
+
# HTTP header 'Accept' (if needed)
|
|
1508
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1509
|
+
|
|
1510
|
+
# form parameters
|
|
1511
|
+
form_params = opts[:form_params] || {}
|
|
1512
|
+
|
|
1513
|
+
# http body (model)
|
|
1514
|
+
post_body = opts[:debug_body]
|
|
1515
|
+
|
|
1516
|
+
# return_type
|
|
1517
|
+
return_type = opts[:debug_return_type] || 'BankAccountQuickDepositMessage'
|
|
1518
|
+
|
|
1519
|
+
# auth_names
|
|
1520
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
1521
|
+
|
|
1522
|
+
new_options = opts.merge(
|
|
1523
|
+
:operation => :"BankAccountsApi.get_quick_deposit_by_id",
|
|
1524
|
+
:header_params => header_params,
|
|
1525
|
+
:query_params => query_params,
|
|
1526
|
+
:form_params => form_params,
|
|
1527
|
+
:body => post_body,
|
|
1528
|
+
:auth_names => auth_names,
|
|
1529
|
+
:return_type => return_type
|
|
1530
|
+
)
|
|
1531
|
+
|
|
1532
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1533
|
+
if @api_client.config.debugging
|
|
1534
|
+
@api_client.config.logger.debug "API called: BankAccountsApi#get_quick_deposit_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1535
|
+
end
|
|
1536
|
+
return data, status_code, headers
|
|
1537
|
+
end
|
|
1538
|
+
|
|
1539
|
+
# Retrieve all undeposited funds
|
|
1540
|
+
# Retrieve all bank account undeposited funds. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View`
|
|
1541
|
+
# @param bank_account_id [Integer]
|
|
1542
|
+
# @param [Hash] opts the optional parameters
|
|
1543
|
+
# @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.
|
|
1544
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
1545
|
+
# @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.
|
|
1546
|
+
# @return [Array<UndepositedFundsMessage>]
|
|
1547
|
+
def get_undeposited_funds(bank_account_id, opts = {})
|
|
1548
|
+
data, _status_code, _headers = get_undeposited_funds_with_http_info(bank_account_id, opts)
|
|
1549
|
+
data
|
|
1550
|
+
end
|
|
1551
|
+
|
|
1552
|
+
# Retrieve all undeposited funds
|
|
1553
|
+
# Retrieve all bank account undeposited funds. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View`
|
|
1554
|
+
# @param bank_account_id [Integer]
|
|
1555
|
+
# @param [Hash] opts the optional parameters
|
|
1556
|
+
# @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.
|
|
1557
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
|
1558
|
+
# @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.
|
|
1559
|
+
# @return [Array<(Array<UndepositedFundsMessage>, Integer, Hash)>] Array<UndepositedFundsMessage> data, response status code and response headers
|
|
1560
|
+
def get_undeposited_funds_with_http_info(bank_account_id, opts = {})
|
|
1561
|
+
if @api_client.config.debugging
|
|
1562
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.get_undeposited_funds ...'
|
|
1563
|
+
end
|
|
1564
|
+
# verify the required parameter 'bank_account_id' is set
|
|
1565
|
+
if @api_client.config.client_side_validation && bank_account_id.nil?
|
|
1566
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.get_undeposited_funds"
|
|
1567
|
+
end
|
|
1568
|
+
# resource path
|
|
1569
|
+
local_var_path = '/v1/bankaccounts/{bankAccountId}/undepositedfunds'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s))
|
|
1570
|
+
|
|
1571
|
+
# query parameters
|
|
1572
|
+
query_params = opts[:query_params] || {}
|
|
1573
|
+
query_params[:'orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
|
|
1574
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
1575
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
1576
|
+
|
|
1577
|
+
# header parameters
|
|
1578
|
+
header_params = opts[:header_params] || {}
|
|
1579
|
+
# HTTP header 'Accept' (if needed)
|
|
1580
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1581
|
+
|
|
1582
|
+
# form parameters
|
|
1583
|
+
form_params = opts[:form_params] || {}
|
|
1584
|
+
|
|
1585
|
+
# http body (model)
|
|
1586
|
+
post_body = opts[:debug_body]
|
|
1587
|
+
|
|
1588
|
+
# return_type
|
|
1589
|
+
return_type = opts[:debug_return_type] || 'Array<UndepositedFundsMessage>'
|
|
1590
|
+
|
|
1591
|
+
# auth_names
|
|
1592
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
1593
|
+
|
|
1594
|
+
new_options = opts.merge(
|
|
1595
|
+
:operation => :"BankAccountsApi.get_undeposited_funds",
|
|
1596
|
+
:header_params => header_params,
|
|
1597
|
+
:query_params => query_params,
|
|
1598
|
+
:form_params => form_params,
|
|
1599
|
+
:body => post_body,
|
|
1600
|
+
:auth_names => auth_names,
|
|
1601
|
+
:return_type => return_type
|
|
1602
|
+
)
|
|
1603
|
+
|
|
1604
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1605
|
+
if @api_client.config.debugging
|
|
1606
|
+
@api_client.config.logger.debug "API called: BankAccountsApi#get_undeposited_funds\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1607
|
+
end
|
|
1608
|
+
return data, status_code, headers
|
|
1609
|
+
end
|
|
1610
|
+
|
|
1611
|
+
# Update a bank account
|
|
1612
|
+
# Updates a bank account. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Banking</span> - `View` `Edit`
|
|
1613
|
+
# @param bank_account_id [Integer]
|
|
1614
|
+
# @param bank_account_put_message [BankAccountPutMessage]
|
|
1615
|
+
# @param [Hash] opts the optional parameters
|
|
1616
|
+
# @return [BankAccountMessage]
|
|
1617
|
+
def update_bank_account(bank_account_id, bank_account_put_message, opts = {})
|
|
1618
|
+
data, _status_code, _headers = update_bank_account_with_http_info(bank_account_id, bank_account_put_message, opts)
|
|
1619
|
+
data
|
|
1620
|
+
end
|
|
1621
|
+
|
|
1622
|
+
# Update a bank account
|
|
1623
|
+
# Updates a bank account. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Banking</span> - `View` `Edit`
|
|
1624
|
+
# @param bank_account_id [Integer]
|
|
1625
|
+
# @param bank_account_put_message [BankAccountPutMessage]
|
|
1626
|
+
# @param [Hash] opts the optional parameters
|
|
1627
|
+
# @return [Array<(BankAccountMessage, Integer, Hash)>] BankAccountMessage data, response status code and response headers
|
|
1628
|
+
def update_bank_account_with_http_info(bank_account_id, bank_account_put_message, opts = {})
|
|
1629
|
+
if @api_client.config.debugging
|
|
1630
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.update_bank_account ...'
|
|
1631
|
+
end
|
|
1632
|
+
# verify the required parameter 'bank_account_id' is set
|
|
1633
|
+
if @api_client.config.client_side_validation && bank_account_id.nil?
|
|
1634
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.update_bank_account"
|
|
1635
|
+
end
|
|
1636
|
+
# verify the required parameter 'bank_account_put_message' is set
|
|
1637
|
+
if @api_client.config.client_side_validation && bank_account_put_message.nil?
|
|
1638
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_put_message' when calling BankAccountsApi.update_bank_account"
|
|
1639
|
+
end
|
|
1640
|
+
# resource path
|
|
1641
|
+
local_var_path = '/v1/bankaccounts/{bankAccountId}'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s))
|
|
1642
|
+
|
|
1643
|
+
# query parameters
|
|
1644
|
+
query_params = opts[:query_params] || {}
|
|
1645
|
+
|
|
1646
|
+
# header parameters
|
|
1647
|
+
header_params = opts[:header_params] || {}
|
|
1648
|
+
# HTTP header 'Accept' (if needed)
|
|
1649
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1650
|
+
# HTTP header 'Content-Type'
|
|
1651
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1652
|
+
if !content_type.nil?
|
|
1653
|
+
header_params['Content-Type'] = content_type
|
|
1654
|
+
end
|
|
1655
|
+
|
|
1656
|
+
# form parameters
|
|
1657
|
+
form_params = opts[:form_params] || {}
|
|
1658
|
+
|
|
1659
|
+
# http body (model)
|
|
1660
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(bank_account_put_message)
|
|
1661
|
+
|
|
1662
|
+
# return_type
|
|
1663
|
+
return_type = opts[:debug_return_type] || 'BankAccountMessage'
|
|
1664
|
+
|
|
1665
|
+
# auth_names
|
|
1666
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
1667
|
+
|
|
1668
|
+
new_options = opts.merge(
|
|
1669
|
+
:operation => :"BankAccountsApi.update_bank_account",
|
|
1670
|
+
:header_params => header_params,
|
|
1671
|
+
:query_params => query_params,
|
|
1672
|
+
:form_params => form_params,
|
|
1673
|
+
:body => post_body,
|
|
1674
|
+
:auth_names => auth_names,
|
|
1675
|
+
:return_type => return_type
|
|
1676
|
+
)
|
|
1677
|
+
|
|
1678
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1679
|
+
if @api_client.config.debugging
|
|
1680
|
+
@api_client.config.logger.debug "API called: BankAccountsApi#update_bank_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1681
|
+
end
|
|
1682
|
+
return data, status_code, headers
|
|
1683
|
+
end
|
|
1684
|
+
|
|
1685
|
+
# Update a deposit
|
|
1686
|
+
# Updates a deposit. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
|
|
1687
|
+
# @param bank_account_id [Integer]
|
|
1688
|
+
# @param deposit_id [Integer]
|
|
1689
|
+
# @param bank_account_deposit_put_message [BankAccountDepositPutMessage]
|
|
1690
|
+
# @param [Hash] opts the optional parameters
|
|
1691
|
+
# @return [BankAccountDepositMessage]
|
|
1692
|
+
def update_bank_account_deposit(bank_account_id, deposit_id, bank_account_deposit_put_message, opts = {})
|
|
1693
|
+
data, _status_code, _headers = update_bank_account_deposit_with_http_info(bank_account_id, deposit_id, bank_account_deposit_put_message, opts)
|
|
1694
|
+
data
|
|
1695
|
+
end
|
|
1696
|
+
|
|
1697
|
+
# Update a deposit
|
|
1698
|
+
# Updates a deposit. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` `Edit`
|
|
1699
|
+
# @param bank_account_id [Integer]
|
|
1700
|
+
# @param deposit_id [Integer]
|
|
1701
|
+
# @param bank_account_deposit_put_message [BankAccountDepositPutMessage]
|
|
1702
|
+
# @param [Hash] opts the optional parameters
|
|
1703
|
+
# @return [Array<(BankAccountDepositMessage, Integer, Hash)>] BankAccountDepositMessage data, response status code and response headers
|
|
1704
|
+
def update_bank_account_deposit_with_http_info(bank_account_id, deposit_id, bank_account_deposit_put_message, opts = {})
|
|
1705
|
+
if @api_client.config.debugging
|
|
1706
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.update_bank_account_deposit ...'
|
|
1707
|
+
end
|
|
1708
|
+
# verify the required parameter 'bank_account_id' is set
|
|
1709
|
+
if @api_client.config.client_side_validation && bank_account_id.nil?
|
|
1710
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.update_bank_account_deposit"
|
|
1711
|
+
end
|
|
1712
|
+
# verify the required parameter 'deposit_id' is set
|
|
1713
|
+
if @api_client.config.client_side_validation && deposit_id.nil?
|
|
1714
|
+
fail ArgumentError, "Missing the required parameter 'deposit_id' when calling BankAccountsApi.update_bank_account_deposit"
|
|
1715
|
+
end
|
|
1716
|
+
# verify the required parameter 'bank_account_deposit_put_message' is set
|
|
1717
|
+
if @api_client.config.client_side_validation && bank_account_deposit_put_message.nil?
|
|
1718
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_deposit_put_message' when calling BankAccountsApi.update_bank_account_deposit"
|
|
1719
|
+
end
|
|
1720
|
+
# resource path
|
|
1721
|
+
local_var_path = '/v1/bankaccounts/{bankAccountId}/deposits/{depositId}'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s)).sub('{' + 'depositId' + '}', CGI.escape(deposit_id.to_s))
|
|
1722
|
+
|
|
1723
|
+
# query parameters
|
|
1724
|
+
query_params = opts[:query_params] || {}
|
|
1725
|
+
|
|
1726
|
+
# header parameters
|
|
1727
|
+
header_params = opts[:header_params] || {}
|
|
1728
|
+
# HTTP header 'Accept' (if needed)
|
|
1729
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1730
|
+
# HTTP header 'Content-Type'
|
|
1731
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1732
|
+
if !content_type.nil?
|
|
1733
|
+
header_params['Content-Type'] = content_type
|
|
1734
|
+
end
|
|
1735
|
+
|
|
1736
|
+
# form parameters
|
|
1737
|
+
form_params = opts[:form_params] || {}
|
|
1738
|
+
|
|
1739
|
+
# http body (model)
|
|
1740
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(bank_account_deposit_put_message)
|
|
1741
|
+
|
|
1742
|
+
# return_type
|
|
1743
|
+
return_type = opts[:debug_return_type] || 'BankAccountDepositMessage'
|
|
1744
|
+
|
|
1745
|
+
# auth_names
|
|
1746
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
1747
|
+
|
|
1748
|
+
new_options = opts.merge(
|
|
1749
|
+
:operation => :"BankAccountsApi.update_bank_account_deposit",
|
|
1750
|
+
:header_params => header_params,
|
|
1751
|
+
:query_params => query_params,
|
|
1752
|
+
:form_params => form_params,
|
|
1753
|
+
:body => post_body,
|
|
1754
|
+
:auth_names => auth_names,
|
|
1755
|
+
:return_type => return_type
|
|
1756
|
+
)
|
|
1757
|
+
|
|
1758
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1759
|
+
if @api_client.config.debugging
|
|
1760
|
+
@api_client.config.logger.debug "API called: BankAccountsApi#update_bank_account_deposit\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1761
|
+
end
|
|
1762
|
+
return data, status_code, headers
|
|
1763
|
+
end
|
|
1764
|
+
|
|
1765
|
+
# Update a transfer
|
|
1766
|
+
# Updates a bank account transfer. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
|
|
1767
|
+
# @param bank_account_id [Integer]
|
|
1768
|
+
# @param transfer_id [Integer]
|
|
1769
|
+
# @param bank_account_transfer_save_message [BankAccountTransferSaveMessage]
|
|
1770
|
+
# @param [Hash] opts the optional parameters
|
|
1771
|
+
# @return [BankAccountTransferMessage]
|
|
1772
|
+
def update_bank_account_transfer(bank_account_id, transfer_id, bank_account_transfer_save_message, opts = {})
|
|
1773
|
+
data, _status_code, _headers = update_bank_account_transfer_with_http_info(bank_account_id, transfer_id, bank_account_transfer_save_message, opts)
|
|
1774
|
+
data
|
|
1775
|
+
end
|
|
1776
|
+
|
|
1777
|
+
# Update a transfer
|
|
1778
|
+
# Updates a bank account transfer. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` `Edit`
|
|
1779
|
+
# @param bank_account_id [Integer]
|
|
1780
|
+
# @param transfer_id [Integer]
|
|
1781
|
+
# @param bank_account_transfer_save_message [BankAccountTransferSaveMessage]
|
|
1782
|
+
# @param [Hash] opts the optional parameters
|
|
1783
|
+
# @return [Array<(BankAccountTransferMessage, Integer, Hash)>] BankAccountTransferMessage data, response status code and response headers
|
|
1784
|
+
def update_bank_account_transfer_with_http_info(bank_account_id, transfer_id, bank_account_transfer_save_message, opts = {})
|
|
1785
|
+
if @api_client.config.debugging
|
|
1786
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.update_bank_account_transfer ...'
|
|
1787
|
+
end
|
|
1788
|
+
# verify the required parameter 'bank_account_id' is set
|
|
1789
|
+
if @api_client.config.client_side_validation && bank_account_id.nil?
|
|
1790
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.update_bank_account_transfer"
|
|
1791
|
+
end
|
|
1792
|
+
# verify the required parameter 'transfer_id' is set
|
|
1793
|
+
if @api_client.config.client_side_validation && transfer_id.nil?
|
|
1794
|
+
fail ArgumentError, "Missing the required parameter 'transfer_id' when calling BankAccountsApi.update_bank_account_transfer"
|
|
1795
|
+
end
|
|
1796
|
+
# verify the required parameter 'bank_account_transfer_save_message' is set
|
|
1797
|
+
if @api_client.config.client_side_validation && bank_account_transfer_save_message.nil?
|
|
1798
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_transfer_save_message' when calling BankAccountsApi.update_bank_account_transfer"
|
|
1799
|
+
end
|
|
1800
|
+
# resource path
|
|
1801
|
+
local_var_path = '/v1/bankaccounts/{bankAccountId}/transfers/{transferId}'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s)).sub('{' + 'transferId' + '}', CGI.escape(transfer_id.to_s))
|
|
1802
|
+
|
|
1803
|
+
# query parameters
|
|
1804
|
+
query_params = opts[:query_params] || {}
|
|
1805
|
+
|
|
1806
|
+
# header parameters
|
|
1807
|
+
header_params = opts[:header_params] || {}
|
|
1808
|
+
# HTTP header 'Accept' (if needed)
|
|
1809
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1810
|
+
# HTTP header 'Content-Type'
|
|
1811
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1812
|
+
if !content_type.nil?
|
|
1813
|
+
header_params['Content-Type'] = content_type
|
|
1814
|
+
end
|
|
1815
|
+
|
|
1816
|
+
# form parameters
|
|
1817
|
+
form_params = opts[:form_params] || {}
|
|
1818
|
+
|
|
1819
|
+
# http body (model)
|
|
1820
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(bank_account_transfer_save_message)
|
|
1821
|
+
|
|
1822
|
+
# return_type
|
|
1823
|
+
return_type = opts[:debug_return_type] || 'BankAccountTransferMessage'
|
|
1824
|
+
|
|
1825
|
+
# auth_names
|
|
1826
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
1827
|
+
|
|
1828
|
+
new_options = opts.merge(
|
|
1829
|
+
:operation => :"BankAccountsApi.update_bank_account_transfer",
|
|
1830
|
+
:header_params => header_params,
|
|
1831
|
+
:query_params => query_params,
|
|
1832
|
+
:form_params => form_params,
|
|
1833
|
+
:body => post_body,
|
|
1834
|
+
:auth_names => auth_names,
|
|
1835
|
+
:return_type => return_type
|
|
1836
|
+
)
|
|
1837
|
+
|
|
1838
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1839
|
+
if @api_client.config.debugging
|
|
1840
|
+
@api_client.config.logger.debug "API called: BankAccountsApi#update_bank_account_transfer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1841
|
+
end
|
|
1842
|
+
return data, status_code, headers
|
|
1843
|
+
end
|
|
1844
|
+
|
|
1845
|
+
# Update a withdrawal
|
|
1846
|
+
# Updates a bank account withdrawal. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
|
|
1847
|
+
# @param bank_account_id [Integer]
|
|
1848
|
+
# @param withdrawal_id [Integer]
|
|
1849
|
+
# @param bank_account_withdrawal_save_message [BankAccountWithdrawalSaveMessage]
|
|
1850
|
+
# @param [Hash] opts the optional parameters
|
|
1851
|
+
# @return [BankAccountWithdrawalMessage]
|
|
1852
|
+
def update_bank_account_withdrawal(bank_account_id, withdrawal_id, bank_account_withdrawal_save_message, opts = {})
|
|
1853
|
+
data, _status_code, _headers = update_bank_account_withdrawal_with_http_info(bank_account_id, withdrawal_id, bank_account_withdrawal_save_message, opts)
|
|
1854
|
+
data
|
|
1855
|
+
end
|
|
1856
|
+
|
|
1857
|
+
# Update a withdrawal
|
|
1858
|
+
# Updates a bank account withdrawal. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` `Edit`
|
|
1859
|
+
# @param bank_account_id [Integer]
|
|
1860
|
+
# @param withdrawal_id [Integer]
|
|
1861
|
+
# @param bank_account_withdrawal_save_message [BankAccountWithdrawalSaveMessage]
|
|
1862
|
+
# @param [Hash] opts the optional parameters
|
|
1863
|
+
# @return [Array<(BankAccountWithdrawalMessage, Integer, Hash)>] BankAccountWithdrawalMessage data, response status code and response headers
|
|
1864
|
+
def update_bank_account_withdrawal_with_http_info(bank_account_id, withdrawal_id, bank_account_withdrawal_save_message, opts = {})
|
|
1865
|
+
if @api_client.config.debugging
|
|
1866
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.update_bank_account_withdrawal ...'
|
|
1867
|
+
end
|
|
1868
|
+
# verify the required parameter 'bank_account_id' is set
|
|
1869
|
+
if @api_client.config.client_side_validation && bank_account_id.nil?
|
|
1870
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.update_bank_account_withdrawal"
|
|
1871
|
+
end
|
|
1872
|
+
# verify the required parameter 'withdrawal_id' is set
|
|
1873
|
+
if @api_client.config.client_side_validation && withdrawal_id.nil?
|
|
1874
|
+
fail ArgumentError, "Missing the required parameter 'withdrawal_id' when calling BankAccountsApi.update_bank_account_withdrawal"
|
|
1875
|
+
end
|
|
1876
|
+
# verify the required parameter 'bank_account_withdrawal_save_message' is set
|
|
1877
|
+
if @api_client.config.client_side_validation && bank_account_withdrawal_save_message.nil?
|
|
1878
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_withdrawal_save_message' when calling BankAccountsApi.update_bank_account_withdrawal"
|
|
1879
|
+
end
|
|
1880
|
+
# resource path
|
|
1881
|
+
local_var_path = '/v1/bankaccounts/{bankAccountId}/withdrawals/{withdrawalId}'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s)).sub('{' + 'withdrawalId' + '}', CGI.escape(withdrawal_id.to_s))
|
|
1882
|
+
|
|
1883
|
+
# query parameters
|
|
1884
|
+
query_params = opts[:query_params] || {}
|
|
1885
|
+
|
|
1886
|
+
# header parameters
|
|
1887
|
+
header_params = opts[:header_params] || {}
|
|
1888
|
+
# HTTP header 'Accept' (if needed)
|
|
1889
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1890
|
+
# HTTP header 'Content-Type'
|
|
1891
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1892
|
+
if !content_type.nil?
|
|
1893
|
+
header_params['Content-Type'] = content_type
|
|
1894
|
+
end
|
|
1895
|
+
|
|
1896
|
+
# form parameters
|
|
1897
|
+
form_params = opts[:form_params] || {}
|
|
1898
|
+
|
|
1899
|
+
# http body (model)
|
|
1900
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(bank_account_withdrawal_save_message)
|
|
1901
|
+
|
|
1902
|
+
# return_type
|
|
1903
|
+
return_type = opts[:debug_return_type] || 'BankAccountWithdrawalMessage'
|
|
1904
|
+
|
|
1905
|
+
# auth_names
|
|
1906
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
1907
|
+
|
|
1908
|
+
new_options = opts.merge(
|
|
1909
|
+
:operation => :"BankAccountsApi.update_bank_account_withdrawal",
|
|
1910
|
+
:header_params => header_params,
|
|
1911
|
+
:query_params => query_params,
|
|
1912
|
+
:form_params => form_params,
|
|
1913
|
+
:body => post_body,
|
|
1914
|
+
:auth_names => auth_names,
|
|
1915
|
+
:return_type => return_type
|
|
1916
|
+
)
|
|
1917
|
+
|
|
1918
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1919
|
+
if @api_client.config.debugging
|
|
1920
|
+
@api_client.config.logger.debug "API called: BankAccountsApi#update_bank_account_withdrawal\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1921
|
+
end
|
|
1922
|
+
return data, status_code, headers
|
|
1923
|
+
end
|
|
1924
|
+
|
|
1925
|
+
# Update a check
|
|
1926
|
+
# Updates a check. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
|
|
1927
|
+
# @param bank_account_id [Integer]
|
|
1928
|
+
# @param check_id [Integer]
|
|
1929
|
+
# @param bank_account_check_put_message [BankAccountCheckPutMessage]
|
|
1930
|
+
# @param [Hash] opts the optional parameters
|
|
1931
|
+
# @return [BankAccountCheckMessage]
|
|
1932
|
+
def update_check_for_bank_account(bank_account_id, check_id, bank_account_check_put_message, opts = {})
|
|
1933
|
+
data, _status_code, _headers = update_check_for_bank_account_with_http_info(bank_account_id, check_id, bank_account_check_put_message, opts)
|
|
1934
|
+
data
|
|
1935
|
+
end
|
|
1936
|
+
|
|
1937
|
+
# Update a check
|
|
1938
|
+
# Updates a check. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` `Edit`
|
|
1939
|
+
# @param bank_account_id [Integer]
|
|
1940
|
+
# @param check_id [Integer]
|
|
1941
|
+
# @param bank_account_check_put_message [BankAccountCheckPutMessage]
|
|
1942
|
+
# @param [Hash] opts the optional parameters
|
|
1943
|
+
# @return [Array<(BankAccountCheckMessage, Integer, Hash)>] BankAccountCheckMessage data, response status code and response headers
|
|
1944
|
+
def update_check_for_bank_account_with_http_info(bank_account_id, check_id, bank_account_check_put_message, opts = {})
|
|
1945
|
+
if @api_client.config.debugging
|
|
1946
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.update_check_for_bank_account ...'
|
|
1947
|
+
end
|
|
1948
|
+
# verify the required parameter 'bank_account_id' is set
|
|
1949
|
+
if @api_client.config.client_side_validation && bank_account_id.nil?
|
|
1950
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.update_check_for_bank_account"
|
|
1951
|
+
end
|
|
1952
|
+
# verify the required parameter 'check_id' is set
|
|
1953
|
+
if @api_client.config.client_side_validation && check_id.nil?
|
|
1954
|
+
fail ArgumentError, "Missing the required parameter 'check_id' when calling BankAccountsApi.update_check_for_bank_account"
|
|
1955
|
+
end
|
|
1956
|
+
# verify the required parameter 'bank_account_check_put_message' is set
|
|
1957
|
+
if @api_client.config.client_side_validation && bank_account_check_put_message.nil?
|
|
1958
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_check_put_message' when calling BankAccountsApi.update_check_for_bank_account"
|
|
1959
|
+
end
|
|
1960
|
+
# resource path
|
|
1961
|
+
local_var_path = '/v1/bankaccounts/{bankAccountId}/checks/{checkId}'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s)).sub('{' + 'checkId' + '}', CGI.escape(check_id.to_s))
|
|
1962
|
+
|
|
1963
|
+
# query parameters
|
|
1964
|
+
query_params = opts[:query_params] || {}
|
|
1965
|
+
|
|
1966
|
+
# header parameters
|
|
1967
|
+
header_params = opts[:header_params] || {}
|
|
1968
|
+
# HTTP header 'Accept' (if needed)
|
|
1969
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1970
|
+
# HTTP header 'Content-Type'
|
|
1971
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1972
|
+
if !content_type.nil?
|
|
1973
|
+
header_params['Content-Type'] = content_type
|
|
1974
|
+
end
|
|
1975
|
+
|
|
1976
|
+
# form parameters
|
|
1977
|
+
form_params = opts[:form_params] || {}
|
|
1978
|
+
|
|
1979
|
+
# http body (model)
|
|
1980
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(bank_account_check_put_message)
|
|
1981
|
+
|
|
1982
|
+
# return_type
|
|
1983
|
+
return_type = opts[:debug_return_type] || 'BankAccountCheckMessage'
|
|
1984
|
+
|
|
1985
|
+
# auth_names
|
|
1986
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
1987
|
+
|
|
1988
|
+
new_options = opts.merge(
|
|
1989
|
+
:operation => :"BankAccountsApi.update_check_for_bank_account",
|
|
1990
|
+
:header_params => header_params,
|
|
1991
|
+
:query_params => query_params,
|
|
1992
|
+
:form_params => form_params,
|
|
1993
|
+
:body => post_body,
|
|
1994
|
+
:auth_names => auth_names,
|
|
1995
|
+
:return_type => return_type
|
|
1996
|
+
)
|
|
1997
|
+
|
|
1998
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1999
|
+
if @api_client.config.debugging
|
|
2000
|
+
@api_client.config.logger.debug "API called: BankAccountsApi#update_check_for_bank_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2001
|
+
end
|
|
2002
|
+
return data, status_code, headers
|
|
2003
|
+
end
|
|
2004
|
+
|
|
2005
|
+
# Update a quick deposit
|
|
2006
|
+
# Updates a quick deposit. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
|
|
2007
|
+
# @param bank_account_id [Integer]
|
|
2008
|
+
# @param quick_deposit_id [Integer]
|
|
2009
|
+
# @param bank_account_quick_deposit_save_message [BankAccountQuickDepositSaveMessage]
|
|
2010
|
+
# @param [Hash] opts the optional parameters
|
|
2011
|
+
# @return [BankAccountQuickDepositMessage]
|
|
2012
|
+
def update_quick_deposit(bank_account_id, quick_deposit_id, bank_account_quick_deposit_save_message, opts = {})
|
|
2013
|
+
data, _status_code, _headers = update_quick_deposit_with_http_info(bank_account_id, quick_deposit_id, bank_account_quick_deposit_save_message, opts)
|
|
2014
|
+
data
|
|
2015
|
+
end
|
|
2016
|
+
|
|
2017
|
+
# Update a quick deposit
|
|
2018
|
+
# Updates a quick deposit. <br /><br /><strong>NOTE:</strong> Any field not included in the update request will be set to either an empty string or `null` in the database depending on the field definition. <br />The recommended workflow to ensure no data is inadvertently overwritten is to execute a `GET` request for the resource you're about to update and then use this response to fill any of the fields that are not being updated. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` `Edit`
|
|
2019
|
+
# @param bank_account_id [Integer]
|
|
2020
|
+
# @param quick_deposit_id [Integer]
|
|
2021
|
+
# @param bank_account_quick_deposit_save_message [BankAccountQuickDepositSaveMessage]
|
|
2022
|
+
# @param [Hash] opts the optional parameters
|
|
2023
|
+
# @return [Array<(BankAccountQuickDepositMessage, Integer, Hash)>] BankAccountQuickDepositMessage data, response status code and response headers
|
|
2024
|
+
def update_quick_deposit_with_http_info(bank_account_id, quick_deposit_id, bank_account_quick_deposit_save_message, opts = {})
|
|
2025
|
+
if @api_client.config.debugging
|
|
2026
|
+
@api_client.config.logger.debug 'Calling API: BankAccountsApi.update_quick_deposit ...'
|
|
2027
|
+
end
|
|
2028
|
+
# verify the required parameter 'bank_account_id' is set
|
|
2029
|
+
if @api_client.config.client_side_validation && bank_account_id.nil?
|
|
2030
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_id' when calling BankAccountsApi.update_quick_deposit"
|
|
2031
|
+
end
|
|
2032
|
+
# verify the required parameter 'quick_deposit_id' is set
|
|
2033
|
+
if @api_client.config.client_side_validation && quick_deposit_id.nil?
|
|
2034
|
+
fail ArgumentError, "Missing the required parameter 'quick_deposit_id' when calling BankAccountsApi.update_quick_deposit"
|
|
2035
|
+
end
|
|
2036
|
+
# verify the required parameter 'bank_account_quick_deposit_save_message' is set
|
|
2037
|
+
if @api_client.config.client_side_validation && bank_account_quick_deposit_save_message.nil?
|
|
2038
|
+
fail ArgumentError, "Missing the required parameter 'bank_account_quick_deposit_save_message' when calling BankAccountsApi.update_quick_deposit"
|
|
2039
|
+
end
|
|
2040
|
+
# resource path
|
|
2041
|
+
local_var_path = '/v1/bankaccounts/{bankAccountId}/quickdeposits/{quickDepositId}'.sub('{' + 'bankAccountId' + '}', CGI.escape(bank_account_id.to_s)).sub('{' + 'quickDepositId' + '}', CGI.escape(quick_deposit_id.to_s))
|
|
2042
|
+
|
|
2043
|
+
# query parameters
|
|
2044
|
+
query_params = opts[:query_params] || {}
|
|
2045
|
+
|
|
2046
|
+
# header parameters
|
|
2047
|
+
header_params = opts[:header_params] || {}
|
|
2048
|
+
# HTTP header 'Accept' (if needed)
|
|
2049
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2050
|
+
# HTTP header 'Content-Type'
|
|
2051
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
2052
|
+
if !content_type.nil?
|
|
2053
|
+
header_params['Content-Type'] = content_type
|
|
2054
|
+
end
|
|
2055
|
+
|
|
2056
|
+
# form parameters
|
|
2057
|
+
form_params = opts[:form_params] || {}
|
|
2058
|
+
|
|
2059
|
+
# http body (model)
|
|
2060
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(bank_account_quick_deposit_save_message)
|
|
2061
|
+
|
|
2062
|
+
# return_type
|
|
2063
|
+
return_type = opts[:debug_return_type] || 'BankAccountQuickDepositMessage'
|
|
2064
|
+
|
|
2065
|
+
# auth_names
|
|
2066
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
|
2067
|
+
|
|
2068
|
+
new_options = opts.merge(
|
|
2069
|
+
:operation => :"BankAccountsApi.update_quick_deposit",
|
|
2070
|
+
:header_params => header_params,
|
|
2071
|
+
:query_params => query_params,
|
|
2072
|
+
:form_params => form_params,
|
|
2073
|
+
:body => post_body,
|
|
2074
|
+
:auth_names => auth_names,
|
|
2075
|
+
:return_type => return_type
|
|
2076
|
+
)
|
|
2077
|
+
|
|
2078
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
2079
|
+
if @api_client.config.debugging
|
|
2080
|
+
@api_client.config.logger.debug "API called: BankAccountsApi#update_quick_deposit\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2081
|
+
end
|
|
2082
|
+
return data, status_code, headers
|
|
2083
|
+
end
|
|
2084
|
+
end
|
|
2085
|
+
end
|