tripletex_api3 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/Gemfile.lock +69 -0
- data/README.md +712 -0
- data/Rakefile +8 -0
- data/docs/AbstractDTO.md +9 -0
- data/docs/AccommodationAllowance.md +20 -0
- data/docs/Account.md +29 -0
- data/docs/AccountingPeriod.md +16 -0
- data/docs/Activity.md +18 -0
- data/docs/ActivityApi.md +211 -0
- data/docs/Address.md +18 -0
- data/docs/AddressApi.md +197 -0
- data/docs/AltinnCompanyModule.md +13 -0
- data/docs/AnnualAccount.md +14 -0
- data/docs/ApiConsumer.md +13 -0
- data/docs/ApiError.md +14 -0
- data/docs/ApiValidationMessage.md +9 -0
- data/docs/AppSpecific.md +14 -0
- data/docs/Bank.md +14 -0
- data/docs/BankApi.md +73 -0
- data/docs/BankReconciliation.md +20 -0
- data/docs/BankReconciliationAdjustment.md +13 -0
- data/docs/BankReconciliationMatch.md +15 -0
- data/docs/BankReconciliationPaymentType.md +15 -0
- data/docs/BankStatement.md +16 -0
- data/docs/BankTransaction.md +15 -0
- data/docs/BankreconciliationApi.md +474 -0
- data/docs/BankreconciliationmatchApi.md +351 -0
- data/docs/BankreconciliationpaymentTypeApi.md +131 -0
- data/docs/BankstatementApi.md +243 -0
- data/docs/BankstatementtransactionApi.md +188 -0
- data/docs/Banner.md +18 -0
- data/docs/CSVRecord.md +10 -0
- data/docs/Change.md +10 -0
- data/docs/CloseGroup.md +13 -0
- data/docs/Company.md +21 -0
- data/docs/CompanyApi.md +243 -0
- data/docs/CompanyAutoCompleteDTO.md +23 -0
- data/docs/CompanyHoliday.md +16 -0
- data/docs/CompanyaltinnApi.md +118 -0
- data/docs/ConsumerToken.md +14 -0
- data/docs/Contact.md +16 -0
- data/docs/ContactApi.md +250 -0
- data/docs/Cost.md +27 -0
- data/docs/Country.md +15 -0
- data/docs/CountryApi.md +131 -0
- data/docs/CrmprospectApi.md +155 -0
- data/docs/Currency.md +13 -0
- data/docs/CurrencyApi.md +131 -0
- data/docs/Customer.md +32 -0
- data/docs/CustomerApi.md +364 -0
- data/docs/CustomerCategory.md +15 -0
- data/docs/CustomerTripletexAccount.md +21 -0
- data/docs/CustomercategoryApi.md +250 -0
- data/docs/Department.md +14 -0
- data/docs/DepartmentApi.md +358 -0
- data/docs/Division.md +16 -0
- data/docs/DivisionApi.md +292 -0
- data/docs/Document.md +13 -0
- data/docs/DocumentApi.md +120 -0
- data/docs/Employee.md +29 -0
- data/docs/EmployeeApi.md +311 -0
- data/docs/EmployeeToken.md +15 -0
- data/docs/EmployeeemploymentApi.md +242 -0
- data/docs/EmployeeemploymentdetailsApi.md +242 -0
- data/docs/EmployeeemploymentemploymentTypeApi.md +254 -0
- data/docs/EmployeeemploymentleaveOfAbsenceApi.md +234 -0
- data/docs/EmployeeemploymentleaveOfAbsenceTypeApi.md +69 -0
- data/docs/EmployeeemploymentoccupationCodeApi.md +73 -0
- data/docs/EmployeeemploymentremunerationTypeApi.md +69 -0
- data/docs/EmployeeemploymentworkingHoursSchemeApi.md +69 -0
- data/docs/EmployeeentitlementApi.md +313 -0
- data/docs/EmployeenextOfKinApi.md +242 -0
- data/docs/EmployeestandardTimeApi.md +242 -0
- data/docs/Employment.md +18 -0
- data/docs/EmploymentDetails.md +23 -0
- data/docs/EmploymentType.md +14 -0
- data/docs/Entitlement.md +15 -0
- data/docs/EventApi.md +63 -0
- data/docs/EventInfoDescription.md +9 -0
- data/docs/EventsubscriptionApi.md +293 -0
- data/docs/ExternalProduct.md +25 -0
- data/docs/ImportConfigDTO.md +10 -0
- data/docs/ImportReportDTO.md +22 -0
- data/docs/InternationalId.md +10 -0
- data/docs/Inventory.md +15 -0
- data/docs/InventoryApi.md +135 -0
- data/docs/Invoice.md +36 -0
- data/docs/InvoiceApi.md +518 -0
- data/docs/InvoicedetailsApi.md +135 -0
- data/docs/InvoicepaymentTypeApi.md +131 -0
- data/docs/Job.md +13 -0
- data/docs/JobDetailDTO.md +12 -0
- data/docs/LeaveOfAbsence.md +18 -0
- data/docs/LeaveOfAbsenceType.md +14 -0
- data/docs/LedgerAccount.md +16 -0
- data/docs/LedgerApi.md +169 -0
- data/docs/LedgeraccountApi.md +464 -0
- data/docs/LedgeraccountingPeriodApi.md +141 -0
- data/docs/LedgerannualAccountApi.md +133 -0
- data/docs/LedgercloseGroupApi.md +135 -0
- data/docs/LedgerpaymentTypeOutApi.md +409 -0
- data/docs/LedgerpostingApi.md +227 -0
- data/docs/LedgervatTypeApi.md +131 -0
- data/docs/LedgervoucherApi.md +850 -0
- data/docs/LedgervoucherTypeApi.md +129 -0
- data/docs/Link.md +10 -0
- data/docs/ListResponseAccommodationAllowance.md +12 -0
- data/docs/ListResponseAccount.md +12 -0
- data/docs/ListResponseAccountingPeriod.md +12 -0
- data/docs/ListResponseActivity.md +12 -0
- data/docs/ListResponseAddress.md +12 -0
- data/docs/ListResponseAnnualAccount.md +12 -0
- data/docs/ListResponseBank.md +12 -0
- data/docs/ListResponseBankReconciliation.md +12 -0
- data/docs/ListResponseBankReconciliationAdjustment.md +12 -0
- data/docs/ListResponseBankReconciliationMatch.md +12 -0
- data/docs/ListResponseBankReconciliationPaymentType.md +12 -0
- data/docs/ListResponseBankStatement.md +12 -0
- data/docs/ListResponseBankTransaction.md +12 -0
- data/docs/ListResponseBanner.md +12 -0
- data/docs/ListResponseCloseGroup.md +12 -0
- data/docs/ListResponseCompany.md +12 -0
- data/docs/ListResponseCompanyAutoCompleteDTO.md +12 -0
- data/docs/ListResponseCompanyHoliday.md +12 -0
- data/docs/ListResponseContact.md +12 -0
- data/docs/ListResponseCost.md +12 -0
- data/docs/ListResponseCountry.md +12 -0
- data/docs/ListResponseCurrency.md +12 -0
- data/docs/ListResponseCustomer.md +12 -0
- data/docs/ListResponseCustomerCategory.md +12 -0
- data/docs/ListResponseDepartment.md +12 -0
- data/docs/ListResponseDivision.md +12 -0
- data/docs/ListResponseEmployee.md +12 -0
- data/docs/ListResponseEmployment.md +12 -0
- data/docs/ListResponseEmploymentDetails.md +12 -0
- data/docs/ListResponseEmploymentType.md +12 -0
- data/docs/ListResponseEntitlement.md +12 -0
- data/docs/ListResponseExternalProduct.md +12 -0
- data/docs/ListResponseInventory.md +12 -0
- data/docs/ListResponseInvoice.md +12 -0
- data/docs/ListResponseLeaveOfAbsence.md +12 -0
- data/docs/ListResponseLeaveOfAbsenceType.md +12 -0
- data/docs/ListResponseLedgerAccount.md +12 -0
- data/docs/ListResponseMileageAllowance.md +12 -0
- data/docs/ListResponseMunicipality.md +12 -0
- data/docs/ListResponseNextOfKin.md +12 -0
- data/docs/ListResponseNotification.md +12 -0
- data/docs/ListResponseOccupationCode.md +12 -0
- data/docs/ListResponseOrder.md +12 -0
- data/docs/ListResponseOrderLine.md +12 -0
- data/docs/ListResponseOrderOffer.md +12 -0
- data/docs/ListResponsePassenger.md +12 -0
- data/docs/ListResponsePaymentType.md +12 -0
- data/docs/ListResponsePaymentTypeOut.md +12 -0
- data/docs/ListResponsePayslip.md +12 -0
- data/docs/ListResponsePerDiemCompensation.md +12 -0
- data/docs/ListResponsePersonAutoCompleteDTO.md +12 -0
- data/docs/ListResponsePosting.md +12 -0
- data/docs/ListResponseProduct.md +12 -0
- data/docs/ListResponseProductUnit.md +12 -0
- data/docs/ListResponseProject.md +12 -0
- data/docs/ListResponseProjectCategory.md +12 -0
- data/docs/ListResponseProjectInvoiceDetails.md +12 -0
- data/docs/ListResponseProjectOrderLine.md +12 -0
- data/docs/ListResponseProjectParticipant.md +12 -0
- data/docs/ListResponseProspect.md +12 -0
- data/docs/ListResponseReminder.md +12 -0
- data/docs/ListResponseRemunerationType.md +12 -0
- data/docs/ListResponseSalarySpecification.md +12 -0
- data/docs/ListResponseSalaryTransaction.md +12 -0
- data/docs/ListResponseSalaryType.md +12 -0
- data/docs/ListResponseSearchCompletionDTO.md +12 -0
- data/docs/ListResponseStandardTime.md +12 -0
- data/docs/ListResponseSubscription.md +12 -0
- data/docs/ListResponseSupplier.md +12 -0
- data/docs/ListResponseSupplierBalance.md +12 -0
- data/docs/ListResponseTimeClock.md +12 -0
- data/docs/ListResponseTimesheetEntry.md +12 -0
- data/docs/ListResponseTravelCostCategory.md +12 -0
- data/docs/ListResponseTravelExpense.md +12 -0
- data/docs/ListResponseTravelExpenseRate.md +12 -0
- data/docs/ListResponseTravelExpenseRateCategory.md +12 -0
- data/docs/ListResponseTravelExpenseRateCategoryGroup.md +12 -0
- data/docs/ListResponseTravelPaymentType.md +12 -0
- data/docs/ListResponseVatType.md +12 -0
- data/docs/ListResponseVoucher.md +12 -0
- data/docs/ListResponseVoucherType.md +12 -0
- data/docs/ListResponseWeek.md +12 -0
- data/docs/ListResponseWeeklyStatus.md +12 -0
- data/docs/ListResponseWorkingHoursScheme.md +12 -0
- data/docs/LoggedInUserInfoDTO.md +12 -0
- data/docs/MaritimeEmployment.md +10 -0
- data/docs/MaventaEventDataDTO.md +13 -0
- data/docs/MaventaStatusDTO.md +11 -0
- data/docs/MileageAllowance.md +22 -0
- data/docs/MobileAppLogin.md +11 -0
- data/docs/Modules.md +20 -0
- data/docs/MonthlyStatus.md +21 -0
- data/docs/Municipality.md +14 -0
- data/docs/MunicipalityApi.md +69 -0
- data/docs/NextOfKin.md +16 -0
- data/docs/Notification.md +16 -0
- data/docs/OccupationCode.md +13 -0
- data/docs/Order.md +44 -0
- data/docs/OrderApi.md +319 -0
- data/docs/OrderLine.md +28 -0
- data/docs/OrderOffer.md +15 -0
- data/docs/OrderorderlineApi.md +229 -0
- data/docs/Passenger.md +13 -0
- data/docs/PaymentType.md +17 -0
- data/docs/PaymentTypeOut.md +21 -0
- data/docs/Payslip.md +21 -0
- data/docs/PerDiemCompensation.md +24 -0
- data/docs/PersonAutoCompleteDTO.md +24 -0
- data/docs/Posting.md +32 -0
- data/docs/Product.md +29 -0
- data/docs/ProductApi.md +272 -0
- data/docs/ProductUnit.md +14 -0
- data/docs/ProductexternalApi.md +139 -0
- data/docs/ProductunitApi.md +135 -0
- data/docs/Project.md +32 -0
- data/docs/ProjectApi.md +603 -0
- data/docs/ProjectCategory.md +14 -0
- data/docs/ProjectInvoiceDetails.md +29 -0
- data/docs/ProjectOrderLine.md +26 -0
- data/docs/ProjectParticipant.md +14 -0
- data/docs/ProjectcategoryApi.md +248 -0
- data/docs/ProjectorderlineApi.md +287 -0
- data/docs/ProjectparticipantApi.md +287 -0
- data/docs/Prospect.md +28 -0
- data/docs/Reminder.md +28 -0
- data/docs/ReminderApi.md +143 -0
- data/docs/RemunerationType.md +14 -0
- data/docs/ResponseWrapperAccommodationAllowance.md +8 -0
- data/docs/ResponseWrapperAccount.md +8 -0
- data/docs/ResponseWrapperAccountingPeriod.md +8 -0
- data/docs/ResponseWrapperActivity.md +8 -0
- data/docs/ResponseWrapperAddress.md +8 -0
- data/docs/ResponseWrapperAltinnCompanyModule.md +8 -0
- data/docs/ResponseWrapperAnnualAccount.md +8 -0
- data/docs/ResponseWrapperApiConsumer.md +8 -0
- data/docs/ResponseWrapperAppSpecific.md +8 -0
- data/docs/ResponseWrapperBankReconciliation.md +8 -0
- data/docs/ResponseWrapperBankReconciliationMatch.md +8 -0
- data/docs/ResponseWrapperBankReconciliationPaymentType.md +8 -0
- data/docs/ResponseWrapperBankStatement.md +8 -0
- data/docs/ResponseWrapperBankTransaction.md +8 -0
- data/docs/ResponseWrapperBanner.md +8 -0
- data/docs/ResponseWrapperBoolean.md +8 -0
- data/docs/ResponseWrapperCloseGroup.md +8 -0
- data/docs/ResponseWrapperCompany.md +8 -0
- data/docs/ResponseWrapperCompanyHoliday.md +8 -0
- data/docs/ResponseWrapperConsumerToken.md +8 -0
- data/docs/ResponseWrapperContact.md +8 -0
- data/docs/ResponseWrapperCost.md +8 -0
- data/docs/ResponseWrapperCountry.md +8 -0
- data/docs/ResponseWrapperCurrency.md +8 -0
- data/docs/ResponseWrapperCustomer.md +8 -0
- data/docs/ResponseWrapperCustomerCategory.md +8 -0
- data/docs/ResponseWrapperDepartment.md +8 -0
- data/docs/ResponseWrapperDivision.md +8 -0
- data/docs/ResponseWrapperDocument.md +8 -0
- data/docs/ResponseWrapperDouble.md +8 -0
- data/docs/ResponseWrapperEmployee.md +8 -0
- data/docs/ResponseWrapperEmployeeToken.md +8 -0
- data/docs/ResponseWrapperEmployment.md +8 -0
- data/docs/ResponseWrapperEmploymentDetails.md +8 -0
- data/docs/ResponseWrapperEntitlement.md +8 -0
- data/docs/ResponseWrapperExternalProduct.md +8 -0
- data/docs/ResponseWrapperInteger.md +8 -0
- data/docs/ResponseWrapperInventory.md +8 -0
- data/docs/ResponseWrapperInvoice.md +8 -0
- data/docs/ResponseWrapperLeaveOfAbsence.md +8 -0
- data/docs/ResponseWrapperListJob.md +8 -0
- data/docs/ResponseWrapperLoggedInUserInfoDTO.md +8 -0
- data/docs/ResponseWrapperMapStringEventInfoDescription.md +8 -0
- data/docs/ResponseWrapperMileageAllowance.md +8 -0
- data/docs/ResponseWrapperModules.md +8 -0
- data/docs/ResponseWrapperMonthlyStatus.md +8 -0
- data/docs/ResponseWrapperNextOfKin.md +8 -0
- data/docs/ResponseWrapperNotification.md +8 -0
- data/docs/ResponseWrapperObject.md +8 -0
- data/docs/ResponseWrapperOrder.md +8 -0
- data/docs/ResponseWrapperOrderLine.md +8 -0
- data/docs/ResponseWrapperOrderOffer.md +8 -0
- data/docs/ResponseWrapperPassenger.md +8 -0
- data/docs/ResponseWrapperPaymentType.md +8 -0
- data/docs/ResponseWrapperPaymentTypeOut.md +8 -0
- data/docs/ResponseWrapperPayslip.md +8 -0
- data/docs/ResponseWrapperPerDiemCompensation.md +8 -0
- data/docs/ResponseWrapperPosting.md +8 -0
- data/docs/ResponseWrapperProduct.md +8 -0
- data/docs/ResponseWrapperProductUnit.md +8 -0
- data/docs/ResponseWrapperProject.md +8 -0
- data/docs/ResponseWrapperProjectCategory.md +8 -0
- data/docs/ResponseWrapperProjectInvoiceDetails.md +8 -0
- data/docs/ResponseWrapperProjectOrderLine.md +8 -0
- data/docs/ResponseWrapperProjectParticipant.md +8 -0
- data/docs/ResponseWrapperProspect.md +8 -0
- data/docs/ResponseWrapperReminder.md +8 -0
- data/docs/ResponseWrapperSalarySettings.md +8 -0
- data/docs/ResponseWrapperSalarySpecification.md +8 -0
- data/docs/ResponseWrapperSalaryTransaction.md +8 -0
- data/docs/ResponseWrapperSalaryType.md +8 -0
- data/docs/ResponseWrapperSessionToken.md +8 -0
- data/docs/ResponseWrapperStandardTime.md +8 -0
- data/docs/ResponseWrapperString.md +8 -0
- data/docs/ResponseWrapperSubscription.md +8 -0
- data/docs/ResponseWrapperSupplier.md +8 -0
- data/docs/ResponseWrapperSystemMessage.md +8 -0
- data/docs/ResponseWrapperTimeClock.md +8 -0
- data/docs/ResponseWrapperTimesheetEntry.md +8 -0
- data/docs/ResponseWrapperTimesheetSettings.md +8 -0
- data/docs/ResponseWrapperTravelCostCategory.md +8 -0
- data/docs/ResponseWrapperTravelExpense.md +8 -0
- data/docs/ResponseWrapperTravelExpenseRate.md +8 -0
- data/docs/ResponseWrapperTravelExpenseRateCategory.md +8 -0
- data/docs/ResponseWrapperTravelExpenseRateCategoryGroup.md +8 -0
- data/docs/ResponseWrapperTravelPaymentType.md +8 -0
- data/docs/ResponseWrapperTripDTO.md +8 -0
- data/docs/ResponseWrapperTripletexAccountReturn.md +8 -0
- data/docs/ResponseWrapperUnreadCountDTO.md +8 -0
- data/docs/ResponseWrapperVatType.md +8 -0
- data/docs/ResponseWrapperVoucher.md +8 -0
- data/docs/ResponseWrapperVoucherType.md +8 -0
- data/docs/ResponseWrapperWeek.md +8 -0
- data/docs/ResponseWrapperWeeklyStatus.md +8 -0
- data/docs/Result.md +17 -0
- data/docs/SalarySettings.md +13 -0
- data/docs/SalarySpecification.md +22 -0
- data/docs/SalaryTransaction.md +16 -0
- data/docs/SalaryType.md +14 -0
- data/docs/SalarypayslipApi.md +203 -0
- data/docs/SalarysettingsApi.md +118 -0
- data/docs/SalarysettingsholidayApi.md +345 -0
- data/docs/SalarytransactionApi.md +176 -0
- data/docs/SalarytypeApi.md +135 -0
- data/docs/SearchCompletionDTO.md +18 -0
- data/docs/SessionToken.md +16 -0
- data/docs/SmartScanWebhook.md +10 -0
- data/docs/StandardTime.md +14 -0
- data/docs/Subscription.md +15 -0
- data/docs/Supplier.md +33 -0
- data/docs/SupplierApi.md +370 -0
- data/docs/SupplierBalance.md +13 -0
- data/docs/SystemMessage.md +8 -0
- data/docs/TimeClock.md +19 -0
- data/docs/TimesheetEntry.md +24 -0
- data/docs/TimesheetEntrySearchResponse.md +13 -0
- data/docs/TimesheetSettings.md +13 -0
- data/docs/TimesheetentryApi.md +613 -0
- data/docs/TimesheetsettingsApi.md +63 -0
- data/docs/TimesheettimeClockApi.md +377 -0
- data/docs/TimesheetweekApi.md +313 -0
- data/docs/TokenconsumerApi.md +66 -0
- data/docs/TokenemployeeApi.md +74 -0
- data/docs/TokensessionApi.md +170 -0
- data/docs/TravelCostCategory.md +18 -0
- data/docs/TravelDetails.md +18 -0
- data/docs/TravelExpense.md +47 -0
- data/docs/TravelExpenseApi.md +749 -0
- data/docs/TravelExpenseRate.md +17 -0
- data/docs/TravelExpenseRateCategory.md +23 -0
- data/docs/TravelExpenseRateCategoryGroup.md +15 -0
- data/docs/TravelExpenseaccommodationAllowanceApi.md +315 -0
- data/docs/TravelExpensecostApi.md +315 -0
- data/docs/TravelExpensecostCategoryApi.md +131 -0
- data/docs/TravelExpensemileageAllowanceApi.md +321 -0
- data/docs/TravelExpensepassengerApi.md +297 -0
- data/docs/TravelExpensepaymentTypeApi.md +131 -0
- data/docs/TravelExpenseperDiemCompensationApi.md +323 -0
- data/docs/TravelExpenserateApi.md +147 -0
- data/docs/TravelExpenserateCategoryApi.md +151 -0
- data/docs/TravelExpenserateCategoryGroupApi.md +135 -0
- data/docs/TravelPaymentType.md +16 -0
- data/docs/TriggerDTO.md +13 -0
- data/docs/TripDTO.md +10 -0
- data/docs/TripletexAccount.md +22 -0
- data/docs/TripletexAccountReturn.md +12 -0
- data/docs/UnreadCountDTO.md +9 -0
- data/docs/VNTCStatusDTO.md +13 -0
- data/docs/VatType.md +14 -0
- data/docs/Voucher.md +21 -0
- data/docs/VoucherSearchResponse.md +13 -0
- data/docs/VoucherType.md +12 -0
- data/docs/Week.md +19 -0
- data/docs/WeeklyStatus.md +18 -0
- data/docs/WorkingHoursScheme.md +14 -0
- data/git_push.sh +55 -0
- data/lib/tripletex_api.rb +421 -0
- data/lib/tripletex_api/api/activity_api.rb +228 -0
- data/lib/tripletex_api/api/address_api.rb +207 -0
- data/lib/tripletex_api/api/bank_api.rb +86 -0
- data/lib/tripletex_api/api/bankreconciliation_api.rb +469 -0
- data/lib/tripletex_api/api/bankreconciliationmatch_api.rb +346 -0
- data/lib/tripletex_api/api/bankreconciliationpayment_type_api.rb +140 -0
- data/lib/tripletex_api/api/bankstatement_api.rb +255 -0
- data/lib/tripletex_api/api/bankstatementtransaction_api.rb +197 -0
- data/lib/tripletex_api/api/company_api.rb +240 -0
- data/lib/tripletex_api/api/companyaltinn_api.rb +120 -0
- data/lib/tripletex_api/api/contact_api.rb +253 -0
- data/lib/tripletex_api/api/country_api.rb +140 -0
- data/lib/tripletex_api/api/crmprospect_api.rb +176 -0
- data/lib/tripletex_api/api/currency_api.rb +140 -0
- data/lib/tripletex_api/api/customer_api.rb +357 -0
- data/lib/tripletex_api/api/customercategory_api.rb +253 -0
- data/lib/tripletex_api/api/department_api.rb +348 -0
- data/lib/tripletex_api/api/division_api.rb +282 -0
- data/lib/tripletex_api/api/document_api.rb +130 -0
- data/lib/tripletex_api/api/employee_api.rb +311 -0
- data/lib/tripletex_api/api/employeeemployment_api.rb +241 -0
- data/lib/tripletex_api/api/employeeemploymentdetails_api.rb +241 -0
- data/lib/tripletex_api/api/employeeemploymentemployment_type_api.rb +257 -0
- data/lib/tripletex_api/api/employeeemploymentleave_of_absence_api.rb +230 -0
- data/lib/tripletex_api/api/employeeemploymentleave_of_absence_type_api.rb +80 -0
- data/lib/tripletex_api/api/employeeemploymentoccupation_code_api.rb +86 -0
- data/lib/tripletex_api/api/employeeemploymentremuneration_type_api.rb +80 -0
- data/lib/tripletex_api/api/employeeemploymentworking_hours_scheme_api.rb +80 -0
- data/lib/tripletex_api/api/employeeentitlement_api.rb +334 -0
- data/lib/tripletex_api/api/employeenext_of_kin_api.rb +241 -0
- data/lib/tripletex_api/api/employeestandard_time_api.rb +241 -0
- data/lib/tripletex_api/api/event_api.rb +71 -0
- data/lib/tripletex_api/api/eventsubscription_api.rb +286 -0
- data/lib/tripletex_api/api/inventory_api.rb +146 -0
- data/lib/tripletex_api/api/invoice_api.rb +565 -0
- data/lib/tripletex_api/api/invoicedetails_api.rb +151 -0
- data/lib/tripletex_api/api/invoicepayment_type_api.rb +140 -0
- data/lib/tripletex_api/api/ledger_api.rb +203 -0
- data/lib/tripletex_api/api/ledgeraccount_api.rb +449 -0
- data/lib/tripletex_api/api/ledgeraccounting_period_api.rb +155 -0
- data/lib/tripletex_api/api/ledgerannual_account_api.rb +143 -0
- data/lib/tripletex_api/api/ledgerclose_group_api.rb +151 -0
- data/lib/tripletex_api/api/ledgerpayment_type_out_api.rb +395 -0
- data/lib/tripletex_api/api/ledgerposting_api.rb +257 -0
- data/lib/tripletex_api/api/ledgervat_type_api.rb +140 -0
- data/lib/tripletex_api/api/ledgervoucher_api.rb +873 -0
- data/lib/tripletex_api/api/ledgervoucher_type_api.rb +137 -0
- data/lib/tripletex_api/api/municipality_api.rb +80 -0
- data/lib/tripletex_api/api/order_api.rb +331 -0
- data/lib/tripletex_api/api/orderorderline_api.rb +225 -0
- data/lib/tripletex_api/api/product_api.rb +286 -0
- data/lib/tripletex_api/api/productexternal_api.rb +155 -0
- data/lib/tripletex_api/api/productunit_api.rb +146 -0
- data/lib/tripletex_api/api/project_api.rb +590 -0
- data/lib/tripletex_api/api/projectcategory_api.rb +250 -0
- data/lib/tripletex_api/api/projectorderline_api.rb +280 -0
- data/lib/tripletex_api/api/projectparticipant_api.rb +281 -0
- data/lib/tripletex_api/api/reminder_api.rb +163 -0
- data/lib/tripletex_api/api/salarypayslip_api.rb +220 -0
- data/lib/tripletex_api/api/salarysettings_api.rb +120 -0
- data/lib/tripletex_api/api/salarysettingsholiday_api.rb +333 -0
- data/lib/tripletex_api/api/salarytransaction_api.rb +179 -0
- data/lib/tripletex_api/api/salarytype_api.rb +146 -0
- data/lib/tripletex_api/api/supplier_api.rb +366 -0
- data/lib/tripletex_api/api/timesheetentry_api.rb +602 -0
- data/lib/tripletex_api/api/timesheetsettings_api.rb +71 -0
- data/lib/tripletex_api/api/timesheettime_clock_api.rb +378 -0
- data/lib/tripletex_api/api/timesheetweek_api.rb +308 -0
- data/lib/tripletex_api/api/tokenconsumer_api.rb +78 -0
- data/lib/tripletex_api/api/tokenemployee_api.rb +103 -0
- data/lib/tripletex_api/api/tokensession_api.rb +187 -0
- data/lib/tripletex_api/api/travel_expense_api.rb +727 -0
- data/lib/tripletex_api/api/travel_expenseaccommodation_allowance_api.rb +321 -0
- data/lib/tripletex_api/api/travel_expensecost_api.rb +321 -0
- data/lib/tripletex_api/api/travel_expensecost_category_api.rb +140 -0
- data/lib/tripletex_api/api/travel_expensemileage_allowance_api.rb +330 -0
- data/lib/tripletex_api/api/travel_expensepassenger_api.rb +294 -0
- data/lib/tripletex_api/api/travel_expensepayment_type_api.rb +140 -0
- data/lib/tripletex_api/api/travel_expenseper_diem_compensation_api.rb +336 -0
- data/lib/tripletex_api/api/travel_expenserate_api.rb +167 -0
- data/lib/tripletex_api/api/travel_expenserate_category_api.rb +173 -0
- data/lib/tripletex_api/api/travel_expenserate_category_group_api.rb +146 -0
- data/lib/tripletex_api/api_client.rb +390 -0
- data/lib/tripletex_api/api_error.rb +38 -0
- data/lib/tripletex_api/configuration.rb +209 -0
- data/lib/tripletex_api/models/abstract_dto.rb +197 -0
- data/lib/tripletex_api/models/accommodation_allowance.rb +322 -0
- data/lib/tripletex_api/models/account.rb +545 -0
- data/lib/tripletex_api/models/accounting_period.rb +305 -0
- data/lib/tripletex_api/models/activity.rb +320 -0
- data/lib/tripletex_api/models/address.rb +396 -0
- data/lib/tripletex_api/models/altinn_company_module.rb +273 -0
- data/lib/tripletex_api/models/annual_account.rb +244 -0
- data/lib/tripletex_api/models/api_consumer.rb +292 -0
- data/lib/tripletex_api/models/api_error.rb +244 -0
- data/lib/tripletex_api/models/api_validation_message.rb +197 -0
- data/lib/tripletex_api/models/app_specific.rb +256 -0
- data/lib/tripletex_api/models/bank.rb +288 -0
- data/lib/tripletex_api/models/bank_reconciliation.rb +310 -0
- data/lib/tripletex_api/models/bank_reconciliation_adjustment.rb +258 -0
- data/lib/tripletex_api/models/bank_reconciliation_match.rb +298 -0
- data/lib/tripletex_api/models/bank_reconciliation_payment_type.rb +274 -0
- data/lib/tripletex_api/models/bank_statement.rb +269 -0
- data/lib/tripletex_api/models/bank_transaction.rb +269 -0
- data/lib/tripletex_api/models/banner.rb +374 -0
- data/lib/tripletex_api/models/change.rb +239 -0
- data/lib/tripletex_api/models/close_group.rb +237 -0
- data/lib/tripletex_api/models/company.rb +454 -0
- data/lib/tripletex_api/models/company_auto_complete_dto.rb +346 -0
- data/lib/tripletex_api/models/company_holiday.rb +264 -0
- data/lib/tripletex_api/models/consumer_token.rb +260 -0
- data/lib/tripletex_api/models/contact.rb +369 -0
- data/lib/tripletex_api/models/cost.rb +401 -0
- data/lib/tripletex_api/models/country.rb +272 -0
- data/lib/tripletex_api/models/csv_record.rb +208 -0
- data/lib/tripletex_api/models/currency.rb +267 -0
- data/lib/tripletex_api/models/customer.rb +574 -0
- data/lib/tripletex_api/models/customer_category.rb +318 -0
- data/lib/tripletex_api/models/customer_tripletex_account.rb +429 -0
- data/lib/tripletex_api/models/department.rb +302 -0
- data/lib/tripletex_api/models/division.rb +311 -0
- data/lib/tripletex_api/models/document.rb +285 -0
- data/lib/tripletex_api/models/employee.rb +609 -0
- data/lib/tripletex_api/models/employee_token.rb +269 -0
- data/lib/tripletex_api/models/employment.rb +305 -0
- data/lib/tripletex_api/models/employment_details.rb +391 -0
- data/lib/tripletex_api/models/employment_type.rb +315 -0
- data/lib/tripletex_api/models/entitlement.rb +272 -0
- data/lib/tripletex_api/models/event_info_description.rb +197 -0
- data/lib/tripletex_api/models/external_product.rb +398 -0
- data/lib/tripletex_api/models/import_config_dto.rb +212 -0
- data/lib/tripletex_api/models/import_report_dto.rb +326 -0
- data/lib/tripletex_api/models/international_id.rb +256 -0
- data/lib/tripletex_api/models/inventory.rb +315 -0
- data/lib/tripletex_api/models/invoice.rb +552 -0
- data/lib/tripletex_api/models/job.rb +239 -0
- data/lib/tripletex_api/models/job_detail_dto.rb +226 -0
- data/lib/tripletex_api/models/leave_of_absence.rb +314 -0
- data/lib/tripletex_api/models/leave_of_absence_type.rb +315 -0
- data/lib/tripletex_api/models/ledger_account.rb +263 -0
- data/lib/tripletex_api/models/link.rb +239 -0
- data/lib/tripletex_api/models/list_response_accommodation_allowance.rb +228 -0
- data/lib/tripletex_api/models/list_response_account.rb +228 -0
- data/lib/tripletex_api/models/list_response_accounting_period.rb +228 -0
- data/lib/tripletex_api/models/list_response_activity.rb +228 -0
- data/lib/tripletex_api/models/list_response_address.rb +228 -0
- data/lib/tripletex_api/models/list_response_annual_account.rb +228 -0
- data/lib/tripletex_api/models/list_response_bank.rb +228 -0
- data/lib/tripletex_api/models/list_response_bank_reconciliation.rb +228 -0
- data/lib/tripletex_api/models/list_response_bank_reconciliation_adjustment.rb +228 -0
- data/lib/tripletex_api/models/list_response_bank_reconciliation_match.rb +228 -0
- data/lib/tripletex_api/models/list_response_bank_reconciliation_payment_type.rb +228 -0
- data/lib/tripletex_api/models/list_response_bank_statement.rb +228 -0
- data/lib/tripletex_api/models/list_response_bank_transaction.rb +228 -0
- data/lib/tripletex_api/models/list_response_banner.rb +228 -0
- data/lib/tripletex_api/models/list_response_close_group.rb +228 -0
- data/lib/tripletex_api/models/list_response_company.rb +228 -0
- data/lib/tripletex_api/models/list_response_company_auto_complete_dto.rb +228 -0
- data/lib/tripletex_api/models/list_response_company_holiday.rb +228 -0
- data/lib/tripletex_api/models/list_response_contact.rb +228 -0
- data/lib/tripletex_api/models/list_response_cost.rb +228 -0
- data/lib/tripletex_api/models/list_response_country.rb +228 -0
- data/lib/tripletex_api/models/list_response_currency.rb +228 -0
- data/lib/tripletex_api/models/list_response_customer.rb +228 -0
- data/lib/tripletex_api/models/list_response_customer_category.rb +228 -0
- data/lib/tripletex_api/models/list_response_department.rb +228 -0
- data/lib/tripletex_api/models/list_response_division.rb +228 -0
- data/lib/tripletex_api/models/list_response_employee.rb +228 -0
- data/lib/tripletex_api/models/list_response_employment.rb +228 -0
- data/lib/tripletex_api/models/list_response_employment_details.rb +228 -0
- data/lib/tripletex_api/models/list_response_employment_type.rb +228 -0
- data/lib/tripletex_api/models/list_response_entitlement.rb +228 -0
- data/lib/tripletex_api/models/list_response_external_product.rb +228 -0
- data/lib/tripletex_api/models/list_response_inventory.rb +228 -0
- data/lib/tripletex_api/models/list_response_invoice.rb +228 -0
- data/lib/tripletex_api/models/list_response_leave_of_absence.rb +228 -0
- data/lib/tripletex_api/models/list_response_leave_of_absence_type.rb +228 -0
- data/lib/tripletex_api/models/list_response_ledger_account.rb +228 -0
- data/lib/tripletex_api/models/list_response_mileage_allowance.rb +228 -0
- data/lib/tripletex_api/models/list_response_municipality.rb +228 -0
- data/lib/tripletex_api/models/list_response_next_of_kin.rb +228 -0
- data/lib/tripletex_api/models/list_response_notification.rb +228 -0
- data/lib/tripletex_api/models/list_response_occupation_code.rb +228 -0
- data/lib/tripletex_api/models/list_response_order.rb +228 -0
- data/lib/tripletex_api/models/list_response_order_line.rb +228 -0
- data/lib/tripletex_api/models/list_response_order_offer.rb +228 -0
- data/lib/tripletex_api/models/list_response_passenger.rb +228 -0
- data/lib/tripletex_api/models/list_response_payment_type.rb +228 -0
- data/lib/tripletex_api/models/list_response_payment_type_out.rb +228 -0
- data/lib/tripletex_api/models/list_response_payslip.rb +228 -0
- data/lib/tripletex_api/models/list_response_per_diem_compensation.rb +228 -0
- data/lib/tripletex_api/models/list_response_person_auto_complete_dto.rb +228 -0
- data/lib/tripletex_api/models/list_response_posting.rb +228 -0
- data/lib/tripletex_api/models/list_response_product.rb +228 -0
- data/lib/tripletex_api/models/list_response_product_unit.rb +228 -0
- data/lib/tripletex_api/models/list_response_project.rb +228 -0
- data/lib/tripletex_api/models/list_response_project_category.rb +228 -0
- data/lib/tripletex_api/models/list_response_project_invoice_details.rb +228 -0
- data/lib/tripletex_api/models/list_response_project_order_line.rb +228 -0
- data/lib/tripletex_api/models/list_response_project_participant.rb +228 -0
- data/lib/tripletex_api/models/list_response_prospect.rb +228 -0
- data/lib/tripletex_api/models/list_response_reminder.rb +228 -0
- data/lib/tripletex_api/models/list_response_remuneration_type.rb +228 -0
- data/lib/tripletex_api/models/list_response_salary_specification.rb +228 -0
- data/lib/tripletex_api/models/list_response_salary_transaction.rb +228 -0
- data/lib/tripletex_api/models/list_response_salary_type.rb +228 -0
- data/lib/tripletex_api/models/list_response_search_completion_dto.rb +228 -0
- data/lib/tripletex_api/models/list_response_standard_time.rb +228 -0
- data/lib/tripletex_api/models/list_response_subscription.rb +228 -0
- data/lib/tripletex_api/models/list_response_supplier.rb +228 -0
- data/lib/tripletex_api/models/list_response_supplier_balance.rb +228 -0
- data/lib/tripletex_api/models/list_response_time_clock.rb +228 -0
- data/lib/tripletex_api/models/list_response_timesheet_entry.rb +228 -0
- data/lib/tripletex_api/models/list_response_travel_cost_category.rb +228 -0
- data/lib/tripletex_api/models/list_response_travel_expense.rb +228 -0
- data/lib/tripletex_api/models/list_response_travel_expense_rate.rb +228 -0
- data/lib/tripletex_api/models/list_response_travel_expense_rate_category.rb +228 -0
- data/lib/tripletex_api/models/list_response_travel_expense_rate_category_group.rb +228 -0
- data/lib/tripletex_api/models/list_response_travel_payment_type.rb +228 -0
- data/lib/tripletex_api/models/list_response_vat_type.rb +228 -0
- data/lib/tripletex_api/models/list_response_voucher.rb +228 -0
- data/lib/tripletex_api/models/list_response_voucher_type.rb +228 -0
- data/lib/tripletex_api/models/list_response_week.rb +228 -0
- data/lib/tripletex_api/models/list_response_weekly_status.rb +228 -0
- data/lib/tripletex_api/models/list_response_working_hours_scheme.rb +228 -0
- data/lib/tripletex_api/models/logged_in_user_info_dto.rb +224 -0
- data/lib/tripletex_api/models/maritime_employment.rb +266 -0
- data/lib/tripletex_api/models/maventa_event_data_dto.rb +258 -0
- data/lib/tripletex_api/models/maventa_status_dto.rb +235 -0
- data/lib/tripletex_api/models/mileage_allowance.rb +336 -0
- data/lib/tripletex_api/models/mobile_app_login.rb +239 -0
- data/lib/tripletex_api/models/modules.rb +328 -0
- data/lib/tripletex_api/models/monthly_status.rb +316 -0
- data/lib/tripletex_api/models/municipality.rb +292 -0
- data/lib/tripletex_api/models/next_of_kin.rb +360 -0
- data/lib/tripletex_api/models/notification.rb +355 -0
- data/lib/tripletex_api/models/occupation_code.rb +267 -0
- data/lib/tripletex_api/models/order.rb +788 -0
- data/lib/tripletex_api/models/order_line.rb +385 -0
- data/lib/tripletex_api/models/order_offer.rb +270 -0
- data/lib/tripletex_api/models/passenger.rb +259 -0
- data/lib/tripletex_api/models/payment_type.rb +295 -0
- data/lib/tripletex_api/models/payment_type_out.rb +358 -0
- data/lib/tripletex_api/models/payslip.rb +332 -0
- data/lib/tripletex_api/models/per_diem_compensation.rb +398 -0
- data/lib/tripletex_api/models/person_auto_complete_dto.rb +357 -0
- data/lib/tripletex_api/models/posting.rb +440 -0
- data/lib/tripletex_api/models/product.rb +450 -0
- data/lib/tripletex_api/models/product_unit.rb +292 -0
- data/lib/tripletex_api/models/project.rb +528 -0
- data/lib/tripletex_api/models/project_category.rb +293 -0
- data/lib/tripletex_api/models/project_invoice_details.rb +413 -0
- data/lib/tripletex_api/models/project_order_line.rb +371 -0
- data/lib/tripletex_api/models/project_participant.rb +246 -0
- data/lib/tripletex_api/models/prospect.rb +448 -0
- data/lib/tripletex_api/models/reminder.rb +509 -0
- data/lib/tripletex_api/models/remuneration_type.rb +315 -0
- data/lib/tripletex_api/models/response_wrapper_accommodation_allowance.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_account.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_accounting_period.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_activity.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_address.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_altinn_company_module.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_annual_account.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_api_consumer.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_app_specific.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_bank_reconciliation.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_bank_reconciliation_match.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_bank_reconciliation_payment_type.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_bank_statement.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_bank_transaction.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_banner.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_boolean.rb +190 -0
- data/lib/tripletex_api/models/response_wrapper_close_group.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_company.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_company_holiday.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_consumer_token.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_contact.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_cost.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_country.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_currency.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_customer.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_customer_category.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_department.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_division.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_document.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_double.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_employee.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_employee_token.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_employment.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_employment_details.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_entitlement.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_external_product.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_integer.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_inventory.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_invoice.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_leave_of_absence.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_list_job.rb +190 -0
- data/lib/tripletex_api/models/response_wrapper_logged_in_user_info_dto.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_map_string_event_info_description.rb +190 -0
- data/lib/tripletex_api/models/response_wrapper_mileage_allowance.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_modules.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_monthly_status.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_next_of_kin.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_notification.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_object.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_order.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_order_line.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_order_offer.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_passenger.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_payment_type.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_payment_type_out.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_payslip.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_per_diem_compensation.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_posting.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_product.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_product_unit.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_project.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_project_category.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_project_invoice_details.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_project_order_line.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_project_participant.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_prospect.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_reminder.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_salary_settings.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_salary_specification.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_salary_transaction.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_salary_type.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_session_token.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_standard_time.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_string.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_subscription.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_supplier.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_system_message.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_time_clock.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_timesheet_entry.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_timesheet_settings.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_travel_cost_category.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_travel_expense.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_travel_expense_rate.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_travel_expense_rate_category.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_travel_expense_rate_category_group.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_travel_payment_type.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_trip_dto.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_tripletex_account_return.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_unread_count_dto.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_vat_type.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_voucher.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_voucher_type.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_week.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_weekly_status.rb +188 -0
- data/lib/tripletex_api/models/result.rb +320 -0
- data/lib/tripletex_api/models/salary_settings.rb +279 -0
- data/lib/tripletex_api/models/salary_specification.rb +331 -0
- data/lib/tripletex_api/models/salary_transaction.rb +284 -0
- data/lib/tripletex_api/models/salary_type.rb +276 -0
- data/lib/tripletex_api/models/search_completion_dto.rb +301 -0
- data/lib/tripletex_api/models/session_token.rb +299 -0
- data/lib/tripletex_api/models/smart_scan_webhook.rb +206 -0
- data/lib/tripletex_api/models/standard_time.rb +254 -0
- data/lib/tripletex_api/models/subscription.rb +377 -0
- data/lib/tripletex_api/models/supplier.rb +553 -0
- data/lib/tripletex_api/models/supplier_balance.rb +236 -0
- data/lib/tripletex_api/models/system_message.rb +188 -0
- data/lib/tripletex_api/models/time_clock.rb +320 -0
- data/lib/tripletex_api/models/timesheet_entry.rb +367 -0
- data/lib/tripletex_api/models/timesheet_entry_search_response.rb +237 -0
- data/lib/tripletex_api/models/timesheet_settings.rb +239 -0
- data/lib/tripletex_api/models/travel_cost_category.rb +312 -0
- data/lib/tripletex_api/models/travel_details.rb +348 -0
- data/lib/tripletex_api/models/travel_expense.rb +644 -0
- data/lib/tripletex_api/models/travel_expense_rate.rb +281 -0
- data/lib/tripletex_api/models/travel_expense_rate_category.rb +396 -0
- data/lib/tripletex_api/models/travel_expense_rate_category_group.rb +265 -0
- data/lib/tripletex_api/models/travel_payment_type.rb +292 -0
- data/lib/tripletex_api/models/trigger_dto.rb +233 -0
- data/lib/tripletex_api/models/trip_dto.rb +206 -0
- data/lib/tripletex_api/models/tripletex_account.rb +424 -0
- data/lib/tripletex_api/models/tripletex_account_return.rb +224 -0
- data/lib/tripletex_api/models/unread_count_dto.rb +197 -0
- data/lib/tripletex_api/models/vat_type.rb +276 -0
- data/lib/tripletex_api/models/vntc_status_dto.rb +258 -0
- data/lib/tripletex_api/models/voucher.rb +362 -0
- data/lib/tripletex_api/models/voucher_search_response.rb +238 -0
- data/lib/tripletex_api/models/voucher_type.rb +242 -0
- data/lib/tripletex_api/models/week.rb +295 -0
- data/lib/tripletex_api/models/weekly_status.rb +289 -0
- data/lib/tripletex_api/models/working_hours_scheme.rb +315 -0
- data/lib/tripletex_api/version.rb +15 -0
- data/spec/api/activity_api_spec.rb +89 -0
- data/spec/api/address_api_spec.rb +82 -0
- data/spec/api/bank_api_spec.rb +52 -0
- data/spec/api/bankreconciliation_api_spec.rb +143 -0
- data/spec/api/bankreconciliationmatch_api_spec.rb +114 -0
- data/spec/api/bankreconciliationpayment_type_api_spec.rb +65 -0
- data/spec/api/bankstatement_api_spec.rb +90 -0
- data/spec/api/bankstatementtransaction_api_spec.rb +77 -0
- data/spec/api/company_api_spec.rb +90 -0
- data/spec/api/companyaltinn_api_spec.rb +59 -0
- data/spec/api/contact_api_spec.rb +93 -0
- data/spec/api/country_api_spec.rb +65 -0
- data/spec/api/crmprospect_api_spec.rb +77 -0
- data/spec/api/currency_api_spec.rb +65 -0
- data/spec/api/customer_api_spec.rb +119 -0
- data/spec/api/customercategory_api_spec.rb +93 -0
- data/spec/api/department_api_spec.rb +116 -0
- data/spec/api/division_api_spec.rb +99 -0
- data/spec/api/document_api_spec.rb +60 -0
- data/spec/api/employee_api_spec.rb +108 -0
- data/spec/api/employeeemployment_api_spec.rb +89 -0
- data/spec/api/employeeemploymentdetails_api_spec.rb +89 -0
- data/spec/api/employeeemploymentemployment_type_api_spec.rb +96 -0
- data/spec/api/employeeemploymentleave_of_absence_api_spec.rb +85 -0
- data/spec/api/employeeemploymentleave_of_absence_type_api_spec.rb +50 -0
- data/spec/api/employeeemploymentoccupation_code_api_spec.rb +52 -0
- data/spec/api/employeeemploymentremuneration_type_api_spec.rb +50 -0
- data/spec/api/employeeemploymentworking_hours_scheme_api_spec.rb +50 -0
- data/spec/api/employeeentitlement_api_spec.rb +109 -0
- data/spec/api/employeenext_of_kin_api_spec.rb +89 -0
- data/spec/api/employeestandard_time_api_spec.rb +89 -0
- data/spec/api/event_api_spec.rb +47 -0
- data/spec/api/eventsubscription_api_spec.rb +100 -0
- data/spec/api/inventory_api_spec.rb +67 -0
- data/spec/api/invoice_api_spec.rb +160 -0
- data/spec/api/invoicedetails_api_spec.rb +66 -0
- data/spec/api/invoicepayment_type_api_spec.rb +65 -0
- data/spec/api/ledger_api_spec.rb +83 -0
- data/spec/api/ledgeraccount_api_spec.rb +140 -0
- data/spec/api/ledgeraccounting_period_api_spec.rb +70 -0
- data/spec/api/ledgerannual_account_api_spec.rb +66 -0
- data/spec/api/ledgerclose_group_api_spec.rb +66 -0
- data/spec/api/ledgerpayment_type_out_api_spec.rb +127 -0
- data/spec/api/ledgerposting_api_spec.rb +96 -0
- data/spec/api/ledgervat_type_api_spec.rb +65 -0
- data/spec/api/ledgervoucher_api_spec.rb +236 -0
- data/spec/api/ledgervoucher_type_api_spec.rb +64 -0
- data/spec/api/municipality_api_spec.rb +50 -0
- data/spec/api/order_api_spec.rb +110 -0
- data/spec/api/orderorderline_api_spec.rb +84 -0
- data/spec/api/product_api_spec.rb +104 -0
- data/spec/api/productexternal_api_spec.rb +69 -0
- data/spec/api/productunit_api_spec.rb +67 -0
- data/spec/api/project_api_spec.rb +179 -0
- data/spec/api/projectcategory_api_spec.rb +92 -0
- data/spec/api/projectorderline_api_spec.rb +97 -0
- data/spec/api/projectparticipant_api_spec.rb +97 -0
- data/spec/api/reminder_api_spec.rb +70 -0
- data/spec/api/salarypayslip_api_spec.rb +86 -0
- data/spec/api/salarysettings_api_spec.rb +59 -0
- data/spec/api/salarysettingsholiday_api_spec.rb +111 -0
- data/spec/api/salarytransaction_api_spec.rb +73 -0
- data/spec/api/salarytype_api_spec.rb +67 -0
- data/spec/api/supplier_api_spec.rb +122 -0
- data/spec/api/timesheetentry_api_spec.rb +180 -0
- data/spec/api/timesheetsettings_api_spec.rb +47 -0
- data/spec/api/timesheettime_clock_api_spec.rb +125 -0
- data/spec/api/timesheetweek_api_spec.rb +110 -0
- data/spec/api/tokenconsumer_api_spec.rb +48 -0
- data/spec/api/tokenemployee_api_spec.rb +51 -0
- data/spec/api/tokensession_api_spec.rb +73 -0
- data/spec/api/travel_expense_api_spec.rb +205 -0
- data/spec/api/travel_expenseaccommodation_allowance_api_spec.rb +111 -0
- data/spec/api/travel_expensecost_api_spec.rb +111 -0
- data/spec/api/travel_expensecost_category_api_spec.rb +65 -0
- data/spec/api/travel_expensemileage_allowance_api_spec.rb +114 -0
- data/spec/api/travel_expensepassenger_api_spec.rb +102 -0
- data/spec/api/travel_expensepayment_type_api_spec.rb +65 -0
- data/spec/api/travel_expenseper_diem_compensation_api_spec.rb +115 -0
- data/spec/api/travel_expenserate_api_spec.rb +73 -0
- data/spec/api/travel_expenserate_category_api_spec.rb +75 -0
- data/spec/api/travel_expenserate_category_group_api_spec.rb +67 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/abstract_dto_spec.rb +48 -0
- data/spec/models/accommodation_allowance_spec.rb +114 -0
- data/spec/models/account_spec.rb +172 -0
- data/spec/models/accounting_period_spec.rb +90 -0
- data/spec/models/activity_spec.rb +102 -0
- data/spec/models/address_spec.rb +102 -0
- data/spec/models/altinn_company_module_spec.rb +72 -0
- data/spec/models/annual_account_spec.rb +78 -0
- data/spec/models/api_consumer_spec.rb +72 -0
- data/spec/models/api_error_spec.rb +78 -0
- data/spec/models/api_validation_message_spec.rb +48 -0
- data/spec/models/app_specific_spec.rb +78 -0
- data/spec/models/bank_reconciliation_adjustment_spec.rb +72 -0
- data/spec/models/bank_reconciliation_match_spec.rb +88 -0
- data/spec/models/bank_reconciliation_payment_type_spec.rb +84 -0
- data/spec/models/bank_reconciliation_spec.rb +114 -0
- data/spec/models/bank_spec.rb +82 -0
- data/spec/models/bank_statement_spec.rb +90 -0
- data/spec/models/bank_transaction_spec.rb +84 -0
- data/spec/models/banner_spec.rb +102 -0
- data/spec/models/change_spec.rb +58 -0
- data/spec/models/close_group_spec.rb +72 -0
- data/spec/models/company_auto_complete_dto_spec.rb +136 -0
- data/spec/models/company_holiday_spec.rb +90 -0
- data/spec/models/company_spec.rb +124 -0
- data/spec/models/consumer_token_spec.rb +78 -0
- data/spec/models/contact_spec.rb +90 -0
- data/spec/models/cost_spec.rb +156 -0
- data/spec/models/country_spec.rb +84 -0
- data/spec/models/csv_record_spec.rb +54 -0
- data/spec/models/currency_spec.rb +72 -0
- data/spec/models/customer_category_spec.rb +84 -0
- data/spec/models/customer_spec.rb +186 -0
- data/spec/models/customer_tripletex_account_spec.rb +136 -0
- data/spec/models/department_spec.rb +78 -0
- data/spec/models/division_spec.rb +90 -0
- data/spec/models/document_spec.rb +72 -0
- data/spec/models/employee_spec.rb +172 -0
- data/spec/models/employee_token_spec.rb +84 -0
- data/spec/models/employment_details_spec.rb +144 -0
- data/spec/models/employment_spec.rb +102 -0
- data/spec/models/employment_type_spec.rb +82 -0
- data/spec/models/entitlement_spec.rb +84 -0
- data/spec/models/event_info_description_spec.rb +48 -0
- data/spec/models/external_product_spec.rb +144 -0
- data/spec/models/import_config_dto_spec.rb +54 -0
- data/spec/models/import_report_dto_spec.rb +126 -0
- data/spec/models/international_id_spec.rb +58 -0
- data/spec/models/inventory_spec.rb +84 -0
- data/spec/models/invoice_spec.rb +214 -0
- data/spec/models/job_detail_dto_spec.rb +66 -0
- data/spec/models/job_spec.rb +72 -0
- data/spec/models/leave_of_absence_spec.rb +102 -0
- data/spec/models/leave_of_absence_type_spec.rb +82 -0
- data/spec/models/ledger_account_spec.rb +90 -0
- data/spec/models/link_spec.rb +58 -0
- data/spec/models/list_response_accommodation_allowance_spec.rb +66 -0
- data/spec/models/list_response_account_spec.rb +66 -0
- data/spec/models/list_response_accounting_period_spec.rb +66 -0
- data/spec/models/list_response_activity_spec.rb +66 -0
- data/spec/models/list_response_address_spec.rb +66 -0
- data/spec/models/list_response_annual_account_spec.rb +66 -0
- data/spec/models/list_response_bank_reconciliation_adjustment_spec.rb +66 -0
- data/spec/models/list_response_bank_reconciliation_match_spec.rb +66 -0
- data/spec/models/list_response_bank_reconciliation_payment_type_spec.rb +66 -0
- data/spec/models/list_response_bank_reconciliation_spec.rb +66 -0
- data/spec/models/list_response_bank_spec.rb +66 -0
- data/spec/models/list_response_bank_statement_spec.rb +66 -0
- data/spec/models/list_response_bank_transaction_spec.rb +66 -0
- data/spec/models/list_response_banner_spec.rb +66 -0
- data/spec/models/list_response_close_group_spec.rb +66 -0
- data/spec/models/list_response_company_auto_complete_dto_spec.rb +66 -0
- data/spec/models/list_response_company_holiday_spec.rb +66 -0
- data/spec/models/list_response_company_spec.rb +66 -0
- data/spec/models/list_response_contact_spec.rb +66 -0
- data/spec/models/list_response_cost_spec.rb +66 -0
- data/spec/models/list_response_country_spec.rb +66 -0
- data/spec/models/list_response_currency_spec.rb +66 -0
- data/spec/models/list_response_customer_category_spec.rb +66 -0
- data/spec/models/list_response_customer_spec.rb +66 -0
- data/spec/models/list_response_department_spec.rb +66 -0
- data/spec/models/list_response_division_spec.rb +66 -0
- data/spec/models/list_response_employee_spec.rb +66 -0
- data/spec/models/list_response_employment_details_spec.rb +66 -0
- data/spec/models/list_response_employment_spec.rb +66 -0
- data/spec/models/list_response_employment_type_spec.rb +66 -0
- data/spec/models/list_response_entitlement_spec.rb +66 -0
- data/spec/models/list_response_external_product_spec.rb +66 -0
- data/spec/models/list_response_inventory_spec.rb +66 -0
- data/spec/models/list_response_invoice_spec.rb +66 -0
- data/spec/models/list_response_leave_of_absence_spec.rb +66 -0
- data/spec/models/list_response_leave_of_absence_type_spec.rb +66 -0
- data/spec/models/list_response_ledger_account_spec.rb +66 -0
- data/spec/models/list_response_mileage_allowance_spec.rb +66 -0
- data/spec/models/list_response_municipality_spec.rb +66 -0
- data/spec/models/list_response_next_of_kin_spec.rb +66 -0
- data/spec/models/list_response_notification_spec.rb +66 -0
- data/spec/models/list_response_occupation_code_spec.rb +66 -0
- data/spec/models/list_response_order_line_spec.rb +66 -0
- data/spec/models/list_response_order_offer_spec.rb +66 -0
- data/spec/models/list_response_order_spec.rb +66 -0
- data/spec/models/list_response_passenger_spec.rb +66 -0
- data/spec/models/list_response_payment_type_out_spec.rb +66 -0
- data/spec/models/list_response_payment_type_spec.rb +66 -0
- data/spec/models/list_response_payslip_spec.rb +66 -0
- data/spec/models/list_response_per_diem_compensation_spec.rb +66 -0
- data/spec/models/list_response_person_auto_complete_dto_spec.rb +66 -0
- data/spec/models/list_response_posting_spec.rb +66 -0
- data/spec/models/list_response_product_spec.rb +66 -0
- data/spec/models/list_response_product_unit_spec.rb +66 -0
- data/spec/models/list_response_project_category_spec.rb +66 -0
- data/spec/models/list_response_project_invoice_details_spec.rb +66 -0
- data/spec/models/list_response_project_order_line_spec.rb +66 -0
- data/spec/models/list_response_project_participant_spec.rb +66 -0
- data/spec/models/list_response_project_spec.rb +66 -0
- data/spec/models/list_response_prospect_spec.rb +66 -0
- data/spec/models/list_response_reminder_spec.rb +66 -0
- data/spec/models/list_response_remuneration_type_spec.rb +66 -0
- data/spec/models/list_response_salary_specification_spec.rb +66 -0
- data/spec/models/list_response_salary_transaction_spec.rb +66 -0
- data/spec/models/list_response_salary_type_spec.rb +66 -0
- data/spec/models/list_response_search_completion_dto_spec.rb +66 -0
- data/spec/models/list_response_standard_time_spec.rb +66 -0
- data/spec/models/list_response_subscription_spec.rb +66 -0
- data/spec/models/list_response_supplier_balance_spec.rb +66 -0
- data/spec/models/list_response_supplier_spec.rb +66 -0
- data/spec/models/list_response_time_clock_spec.rb +66 -0
- data/spec/models/list_response_timesheet_entry_spec.rb +66 -0
- data/spec/models/list_response_travel_cost_category_spec.rb +66 -0
- data/spec/models/list_response_travel_expense_rate_category_group_spec.rb +66 -0
- data/spec/models/list_response_travel_expense_rate_category_spec.rb +66 -0
- data/spec/models/list_response_travel_expense_rate_spec.rb +66 -0
- data/spec/models/list_response_travel_expense_spec.rb +66 -0
- data/spec/models/list_response_travel_payment_type_spec.rb +66 -0
- data/spec/models/list_response_vat_type_spec.rb +66 -0
- data/spec/models/list_response_voucher_spec.rb +66 -0
- data/spec/models/list_response_voucher_type_spec.rb +66 -0
- data/spec/models/list_response_week_spec.rb +66 -0
- data/spec/models/list_response_weekly_status_spec.rb +66 -0
- data/spec/models/list_response_working_hours_scheme_spec.rb +66 -0
- data/spec/models/logged_in_user_info_dto_spec.rb +66 -0
- data/spec/models/maritime_employment_spec.rb +66 -0
- data/spec/models/maventa_event_data_dto_spec.rb +72 -0
- data/spec/models/maventa_status_dto_spec.rb +60 -0
- data/spec/models/mileage_allowance_spec.rb +126 -0
- data/spec/models/mobile_app_login_spec.rb +60 -0
- data/spec/models/modules_spec.rb +114 -0
- data/spec/models/monthly_status_spec.rb +120 -0
- data/spec/models/municipality_spec.rb +78 -0
- data/spec/models/next_of_kin_spec.rb +94 -0
- data/spec/models/notification_spec.rb +90 -0
- data/spec/models/occupation_code_spec.rb +72 -0
- data/spec/models/order_line_spec.rb +162 -0
- data/spec/models/order_offer_spec.rb +84 -0
- data/spec/models/order_spec.rb +282 -0
- data/spec/models/passenger_spec.rb +72 -0
- data/spec/models/payment_type_out_spec.rb +120 -0
- data/spec/models/payment_type_spec.rb +96 -0
- data/spec/models/payslip_spec.rb +120 -0
- data/spec/models/per_diem_compensation_spec.rb +142 -0
- data/spec/models/person_auto_complete_dto_spec.rb +142 -0
- data/spec/models/posting_spec.rb +186 -0
- data/spec/models/product_spec.rb +168 -0
- data/spec/models/product_unit_spec.rb +78 -0
- data/spec/models/project_category_spec.rb +78 -0
- data/spec/models/project_invoice_details_spec.rb +168 -0
- data/spec/models/project_order_line_spec.rb +150 -0
- data/spec/models/project_participant_spec.rb +78 -0
- data/spec/models/project_spec.rb +190 -0
- data/spec/models/prospect_spec.rb +162 -0
- data/spec/models/reminder_spec.rb +166 -0
- data/spec/models/remuneration_type_spec.rb +82 -0
- data/spec/models/response_wrapper_accommodation_allowance_spec.rb +42 -0
- data/spec/models/response_wrapper_account_spec.rb +42 -0
- data/spec/models/response_wrapper_accounting_period_spec.rb +42 -0
- data/spec/models/response_wrapper_activity_spec.rb +42 -0
- data/spec/models/response_wrapper_address_spec.rb +42 -0
- data/spec/models/response_wrapper_altinn_company_module_spec.rb +42 -0
- data/spec/models/response_wrapper_annual_account_spec.rb +42 -0
- data/spec/models/response_wrapper_api_consumer_spec.rb +42 -0
- data/spec/models/response_wrapper_app_specific_spec.rb +42 -0
- data/spec/models/response_wrapper_bank_reconciliation_match_spec.rb +42 -0
- data/spec/models/response_wrapper_bank_reconciliation_payment_type_spec.rb +42 -0
- data/spec/models/response_wrapper_bank_reconciliation_spec.rb +42 -0
- data/spec/models/response_wrapper_bank_statement_spec.rb +42 -0
- data/spec/models/response_wrapper_bank_transaction_spec.rb +42 -0
- data/spec/models/response_wrapper_banner_spec.rb +42 -0
- data/spec/models/response_wrapper_boolean_spec.rb +42 -0
- data/spec/models/response_wrapper_close_group_spec.rb +42 -0
- data/spec/models/response_wrapper_company_holiday_spec.rb +42 -0
- data/spec/models/response_wrapper_company_spec.rb +42 -0
- data/spec/models/response_wrapper_consumer_token_spec.rb +42 -0
- data/spec/models/response_wrapper_contact_spec.rb +42 -0
- data/spec/models/response_wrapper_cost_spec.rb +42 -0
- data/spec/models/response_wrapper_country_spec.rb +42 -0
- data/spec/models/response_wrapper_currency_spec.rb +42 -0
- data/spec/models/response_wrapper_customer_category_spec.rb +42 -0
- data/spec/models/response_wrapper_customer_spec.rb +42 -0
- data/spec/models/response_wrapper_department_spec.rb +42 -0
- data/spec/models/response_wrapper_division_spec.rb +42 -0
- data/spec/models/response_wrapper_document_spec.rb +42 -0
- data/spec/models/response_wrapper_double_spec.rb +42 -0
- data/spec/models/response_wrapper_employee_spec.rb +42 -0
- data/spec/models/response_wrapper_employee_token_spec.rb +42 -0
- data/spec/models/response_wrapper_employment_details_spec.rb +42 -0
- data/spec/models/response_wrapper_employment_spec.rb +42 -0
- data/spec/models/response_wrapper_entitlement_spec.rb +42 -0
- data/spec/models/response_wrapper_external_product_spec.rb +42 -0
- data/spec/models/response_wrapper_integer_spec.rb +42 -0
- data/spec/models/response_wrapper_inventory_spec.rb +42 -0
- data/spec/models/response_wrapper_invoice_spec.rb +42 -0
- data/spec/models/response_wrapper_leave_of_absence_spec.rb +42 -0
- data/spec/models/response_wrapper_list_job_spec.rb +42 -0
- data/spec/models/response_wrapper_logged_in_user_info_dto_spec.rb +42 -0
- data/spec/models/response_wrapper_map_string_event_info_description_spec.rb +42 -0
- data/spec/models/response_wrapper_mileage_allowance_spec.rb +42 -0
- data/spec/models/response_wrapper_modules_spec.rb +42 -0
- data/spec/models/response_wrapper_monthly_status_spec.rb +42 -0
- data/spec/models/response_wrapper_next_of_kin_spec.rb +42 -0
- data/spec/models/response_wrapper_notification_spec.rb +42 -0
- data/spec/models/response_wrapper_object_spec.rb +42 -0
- data/spec/models/response_wrapper_order_line_spec.rb +42 -0
- data/spec/models/response_wrapper_order_offer_spec.rb +42 -0
- data/spec/models/response_wrapper_order_spec.rb +42 -0
- data/spec/models/response_wrapper_passenger_spec.rb +42 -0
- data/spec/models/response_wrapper_payment_type_out_spec.rb +42 -0
- data/spec/models/response_wrapper_payment_type_spec.rb +42 -0
- data/spec/models/response_wrapper_payslip_spec.rb +42 -0
- data/spec/models/response_wrapper_per_diem_compensation_spec.rb +42 -0
- data/spec/models/response_wrapper_posting_spec.rb +42 -0
- data/spec/models/response_wrapper_product_spec.rb +42 -0
- data/spec/models/response_wrapper_product_unit_spec.rb +42 -0
- data/spec/models/response_wrapper_project_category_spec.rb +42 -0
- data/spec/models/response_wrapper_project_invoice_details_spec.rb +42 -0
- data/spec/models/response_wrapper_project_order_line_spec.rb +42 -0
- data/spec/models/response_wrapper_project_participant_spec.rb +42 -0
- data/spec/models/response_wrapper_project_spec.rb +42 -0
- data/spec/models/response_wrapper_prospect_spec.rb +42 -0
- data/spec/models/response_wrapper_reminder_spec.rb +42 -0
- data/spec/models/response_wrapper_salary_settings_spec.rb +42 -0
- data/spec/models/response_wrapper_salary_specification_spec.rb +42 -0
- data/spec/models/response_wrapper_salary_transaction_spec.rb +42 -0
- data/spec/models/response_wrapper_salary_type_spec.rb +42 -0
- data/spec/models/response_wrapper_session_token_spec.rb +42 -0
- data/spec/models/response_wrapper_standard_time_spec.rb +42 -0
- data/spec/models/response_wrapper_string_spec.rb +42 -0
- data/spec/models/response_wrapper_subscription_spec.rb +42 -0
- data/spec/models/response_wrapper_supplier_spec.rb +42 -0
- data/spec/models/response_wrapper_system_message_spec.rb +42 -0
- data/spec/models/response_wrapper_time_clock_spec.rb +42 -0
- data/spec/models/response_wrapper_timesheet_entry_spec.rb +42 -0
- data/spec/models/response_wrapper_timesheet_settings_spec.rb +42 -0
- data/spec/models/response_wrapper_travel_cost_category_spec.rb +42 -0
- data/spec/models/response_wrapper_travel_expense_rate_category_group_spec.rb +42 -0
- data/spec/models/response_wrapper_travel_expense_rate_category_spec.rb +42 -0
- data/spec/models/response_wrapper_travel_expense_rate_spec.rb +42 -0
- data/spec/models/response_wrapper_travel_expense_spec.rb +42 -0
- data/spec/models/response_wrapper_travel_payment_type_spec.rb +42 -0
- data/spec/models/response_wrapper_trip_dto_spec.rb +42 -0
- data/spec/models/response_wrapper_tripletex_account_return_spec.rb +42 -0
- data/spec/models/response_wrapper_unread_count_dto_spec.rb +42 -0
- data/spec/models/response_wrapper_vat_type_spec.rb +42 -0
- data/spec/models/response_wrapper_voucher_spec.rb +42 -0
- data/spec/models/response_wrapper_voucher_type_spec.rb +42 -0
- data/spec/models/response_wrapper_week_spec.rb +42 -0
- data/spec/models/response_wrapper_weekly_status_spec.rb +42 -0
- data/spec/models/result_spec.rb +104 -0
- data/spec/models/salary_settings_spec.rb +76 -0
- data/spec/models/salary_specification_spec.rb +126 -0
- data/spec/models/salary_transaction_spec.rb +90 -0
- data/spec/models/salary_type_spec.rb +78 -0
- data/spec/models/search_completion_dto_spec.rb +106 -0
- data/spec/models/session_token_spec.rb +90 -0
- data/spec/models/smart_scan_webhook_spec.rb +54 -0
- data/spec/models/standard_time_spec.rb +78 -0
- data/spec/models/subscription_spec.rb +88 -0
- data/spec/models/supplier_balance_spec.rb +72 -0
- data/spec/models/supplier_spec.rb +192 -0
- data/spec/models/system_message_spec.rb +42 -0
- data/spec/models/time_clock_spec.rb +108 -0
- data/spec/models/timesheet_entry_search_response_spec.rb +72 -0
- data/spec/models/timesheet_entry_spec.rb +138 -0
- data/spec/models/timesheet_settings_spec.rb +72 -0
- data/spec/models/travel_cost_category_spec.rb +102 -0
- data/spec/models/travel_details_spec.rb +102 -0
- data/spec/models/travel_expense_rate_category_group_spec.rb +84 -0
- data/spec/models/travel_expense_rate_category_spec.rb +136 -0
- data/spec/models/travel_expense_rate_spec.rb +96 -0
- data/spec/models/travel_expense_spec.rb +280 -0
- data/spec/models/travel_payment_type_spec.rb +90 -0
- data/spec/models/trigger_dto_spec.rb +72 -0
- data/spec/models/trip_dto_spec.rb +54 -0
- data/spec/models/tripletex_account_return_spec.rb +66 -0
- data/spec/models/tripletex_account_spec.rb +138 -0
- data/spec/models/unread_count_dto_spec.rb +48 -0
- data/spec/models/vat_type_spec.rb +78 -0
- data/spec/models/vntc_status_dto_spec.rb +72 -0
- data/spec/models/voucher_search_response_spec.rb +72 -0
- data/spec/models/voucher_spec.rb +120 -0
- data/spec/models/voucher_type_spec.rb +66 -0
- data/spec/models/week_spec.rb +108 -0
- data/spec/models/working_hours_scheme_spec.rb +82 -0
- data/spec/spec_helper.rb +111 -0
- data/tripletex_api.gemspec +46 -0
- metadata +1862 -0
@@ -0,0 +1,66 @@
|
|
1
|
+
# TripletexApi::TokenconsumerApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://tripletex.no/v2*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**get_by_token**](TokenconsumerApi.md#get_by_token) | **GET** /token/consumer/byToken | Get consumer token by token string.
|
8
|
+
|
9
|
+
|
10
|
+
# **get_by_token**
|
11
|
+
> ResponseWrapperConsumerToken get_by_token(token, opts)
|
12
|
+
|
13
|
+
Get consumer token by token string.
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
### Example
|
18
|
+
```ruby
|
19
|
+
# load the gem
|
20
|
+
require 'tripletex_api'
|
21
|
+
# setup authorization
|
22
|
+
TripletexApi.configure do |config|
|
23
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
24
|
+
config.username = 'YOUR USERNAME'
|
25
|
+
config.password = 'YOUR PASSWORD'
|
26
|
+
end
|
27
|
+
|
28
|
+
api_instance = TripletexApi::TokenconsumerApi.new
|
29
|
+
|
30
|
+
token = "token_example" # String | Element ID
|
31
|
+
|
32
|
+
opts = {
|
33
|
+
fields: "fields_example" # String | Fields filter pattern
|
34
|
+
}
|
35
|
+
|
36
|
+
begin
|
37
|
+
#Get consumer token by token string.
|
38
|
+
result = api_instance.get_by_token(token, opts)
|
39
|
+
p result
|
40
|
+
rescue TripletexApi::ApiError => e
|
41
|
+
puts "Exception when calling TokenconsumerApi->get_by_token: #{e}"
|
42
|
+
end
|
43
|
+
```
|
44
|
+
|
45
|
+
### Parameters
|
46
|
+
|
47
|
+
Name | Type | Description | Notes
|
48
|
+
------------- | ------------- | ------------- | -------------
|
49
|
+
**token** | **String**| Element ID |
|
50
|
+
**fields** | **String**| Fields filter pattern | [optional]
|
51
|
+
|
52
|
+
### Return type
|
53
|
+
|
54
|
+
[**ResponseWrapperConsumerToken**](ResponseWrapperConsumerToken.md)
|
55
|
+
|
56
|
+
### Authorization
|
57
|
+
|
58
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
59
|
+
|
60
|
+
### HTTP request headers
|
61
|
+
|
62
|
+
- **Content-Type**: Not defined
|
63
|
+
- **Accept**: Not defined
|
64
|
+
|
65
|
+
|
66
|
+
|
@@ -0,0 +1,74 @@
|
|
1
|
+
# TripletexApi::TokenemployeeApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://tripletex.no/v2*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**create**](TokenemployeeApi.md#create) | **PUT** /token/employee/:create | Create an employee token. Only selected consumers are allowed
|
8
|
+
|
9
|
+
|
10
|
+
# **create**
|
11
|
+
> ResponseWrapperEmployeeToken create(token_name, consumer_name, employee_id, company_owned, expiration_date)
|
12
|
+
|
13
|
+
Create an employee token. Only selected consumers are allowed
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
### Example
|
18
|
+
```ruby
|
19
|
+
# load the gem
|
20
|
+
require 'tripletex_api'
|
21
|
+
# setup authorization
|
22
|
+
TripletexApi.configure do |config|
|
23
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
24
|
+
config.username = 'YOUR USERNAME'
|
25
|
+
config.password = 'YOUR PASSWORD'
|
26
|
+
end
|
27
|
+
|
28
|
+
api_instance = TripletexApi::TokenemployeeApi.new
|
29
|
+
|
30
|
+
token_name = "token_name_example" # String | A user defined name for the new token
|
31
|
+
|
32
|
+
consumer_name = "consumer_name_example" # String | The name of the consumer
|
33
|
+
|
34
|
+
employee_id = 56 # Integer | The id of the employee
|
35
|
+
|
36
|
+
company_owned = true # BOOLEAN | Is the key company owned
|
37
|
+
|
38
|
+
expiration_date = "expiration_date_example" # String | Expiration date for the employeeToken
|
39
|
+
|
40
|
+
|
41
|
+
begin
|
42
|
+
#Create an employee token. Only selected consumers are allowed
|
43
|
+
result = api_instance.create(token_name, consumer_name, employee_id, company_owned, expiration_date)
|
44
|
+
p result
|
45
|
+
rescue TripletexApi::ApiError => e
|
46
|
+
puts "Exception when calling TokenemployeeApi->create: #{e}"
|
47
|
+
end
|
48
|
+
```
|
49
|
+
|
50
|
+
### Parameters
|
51
|
+
|
52
|
+
Name | Type | Description | Notes
|
53
|
+
------------- | ------------- | ------------- | -------------
|
54
|
+
**token_name** | **String**| A user defined name for the new token |
|
55
|
+
**consumer_name** | **String**| The name of the consumer |
|
56
|
+
**employee_id** | **Integer**| The id of the employee |
|
57
|
+
**company_owned** | **BOOLEAN**| Is the key company owned |
|
58
|
+
**expiration_date** | **String**| Expiration date for the employeeToken |
|
59
|
+
|
60
|
+
### Return type
|
61
|
+
|
62
|
+
[**ResponseWrapperEmployeeToken**](ResponseWrapperEmployeeToken.md)
|
63
|
+
|
64
|
+
### Authorization
|
65
|
+
|
66
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
67
|
+
|
68
|
+
### HTTP request headers
|
69
|
+
|
70
|
+
- **Content-Type**: Not defined
|
71
|
+
- **Accept**: Not defined
|
72
|
+
|
73
|
+
|
74
|
+
|
@@ -0,0 +1,170 @@
|
|
1
|
+
# TripletexApi::TokensessionApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://tripletex.no/v2*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**create**](TokensessionApi.md#create) | **PUT** /token/session/:create | Create session token.
|
8
|
+
[**delete**](TokensessionApi.md#delete) | **DELETE** /token/session/{token} | Delete session token.
|
9
|
+
[**who_am_i**](TokensessionApi.md#who_am_i) | **GET** /token/session/>whoAmI | Find information about the current user.
|
10
|
+
|
11
|
+
|
12
|
+
# **create**
|
13
|
+
> ResponseWrapperSessionToken create(consumer_token, employee_token, expiration_date)
|
14
|
+
|
15
|
+
Create session token.
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
### Example
|
20
|
+
```ruby
|
21
|
+
# load the gem
|
22
|
+
require 'tripletex_api'
|
23
|
+
|
24
|
+
api_instance = TripletexApi::TokensessionApi.new
|
25
|
+
|
26
|
+
consumer_token = "consumer_token_example" # String | Token of the API consumer
|
27
|
+
|
28
|
+
employee_token = "employee_token_example" # String | The employees token
|
29
|
+
|
30
|
+
expiration_date = "expiration_date_example" # String | Expiration date for the combined token
|
31
|
+
|
32
|
+
|
33
|
+
begin
|
34
|
+
#Create session token.
|
35
|
+
result = api_instance.create(consumer_token, employee_token, expiration_date)
|
36
|
+
p result
|
37
|
+
rescue TripletexApi::ApiError => e
|
38
|
+
puts "Exception when calling TokensessionApi->create: #{e}"
|
39
|
+
end
|
40
|
+
```
|
41
|
+
|
42
|
+
### Parameters
|
43
|
+
|
44
|
+
Name | Type | Description | Notes
|
45
|
+
------------- | ------------- | ------------- | -------------
|
46
|
+
**consumer_token** | **String**| Token of the API consumer |
|
47
|
+
**employee_token** | **String**| The employees token |
|
48
|
+
**expiration_date** | **String**| Expiration date for the combined token |
|
49
|
+
|
50
|
+
### Return type
|
51
|
+
|
52
|
+
[**ResponseWrapperSessionToken**](ResponseWrapperSessionToken.md)
|
53
|
+
|
54
|
+
### Authorization
|
55
|
+
|
56
|
+
No authorization required
|
57
|
+
|
58
|
+
### HTTP request headers
|
59
|
+
|
60
|
+
- **Content-Type**: Not defined
|
61
|
+
- **Accept**: Not defined
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
# **delete**
|
66
|
+
> delete(token)
|
67
|
+
|
68
|
+
Delete session token.
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
### Example
|
73
|
+
```ruby
|
74
|
+
# load the gem
|
75
|
+
require 'tripletex_api'
|
76
|
+
# setup authorization
|
77
|
+
TripletexApi.configure do |config|
|
78
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
79
|
+
config.username = 'YOUR USERNAME'
|
80
|
+
config.password = 'YOUR PASSWORD'
|
81
|
+
end
|
82
|
+
|
83
|
+
api_instance = TripletexApi::TokensessionApi.new
|
84
|
+
|
85
|
+
token = "token_example" # String | The login token string to delete
|
86
|
+
|
87
|
+
|
88
|
+
begin
|
89
|
+
#Delete session token.
|
90
|
+
api_instance.delete(token)
|
91
|
+
rescue TripletexApi::ApiError => e
|
92
|
+
puts "Exception when calling TokensessionApi->delete: #{e}"
|
93
|
+
end
|
94
|
+
```
|
95
|
+
|
96
|
+
### Parameters
|
97
|
+
|
98
|
+
Name | Type | Description | Notes
|
99
|
+
------------- | ------------- | ------------- | -------------
|
100
|
+
**token** | **String**| The login token string to delete |
|
101
|
+
|
102
|
+
### Return type
|
103
|
+
|
104
|
+
nil (empty response body)
|
105
|
+
|
106
|
+
### Authorization
|
107
|
+
|
108
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
109
|
+
|
110
|
+
### HTTP request headers
|
111
|
+
|
112
|
+
- **Content-Type**: Not defined
|
113
|
+
- **Accept**: Not defined
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
# **who_am_i**
|
118
|
+
> ResponseWrapperLoggedInUserInfoDTO who_am_i(opts)
|
119
|
+
|
120
|
+
Find information about the current user.
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
### Example
|
125
|
+
```ruby
|
126
|
+
# load the gem
|
127
|
+
require 'tripletex_api'
|
128
|
+
# setup authorization
|
129
|
+
TripletexApi.configure do |config|
|
130
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
131
|
+
config.username = 'YOUR USERNAME'
|
132
|
+
config.password = 'YOUR PASSWORD'
|
133
|
+
end
|
134
|
+
|
135
|
+
api_instance = TripletexApi::TokensessionApi.new
|
136
|
+
|
137
|
+
opts = {
|
138
|
+
fields: "fields_example" # String | Fields filter pattern
|
139
|
+
}
|
140
|
+
|
141
|
+
begin
|
142
|
+
#Find information about the current user.
|
143
|
+
result = api_instance.who_am_i(opts)
|
144
|
+
p result
|
145
|
+
rescue TripletexApi::ApiError => e
|
146
|
+
puts "Exception when calling TokensessionApi->who_am_i: #{e}"
|
147
|
+
end
|
148
|
+
```
|
149
|
+
|
150
|
+
### Parameters
|
151
|
+
|
152
|
+
Name | Type | Description | Notes
|
153
|
+
------------- | ------------- | ------------- | -------------
|
154
|
+
**fields** | **String**| Fields filter pattern | [optional]
|
155
|
+
|
156
|
+
### Return type
|
157
|
+
|
158
|
+
[**ResponseWrapperLoggedInUserInfoDTO**](ResponseWrapperLoggedInUserInfoDTO.md)
|
159
|
+
|
160
|
+
### Authorization
|
161
|
+
|
162
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
163
|
+
|
164
|
+
### HTTP request headers
|
165
|
+
|
166
|
+
- **Content-Type**: Not defined
|
167
|
+
- **Accept**: Not defined
|
168
|
+
|
169
|
+
|
170
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# TripletexApi::TravelCostCategory
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | | [optional]
|
7
|
+
**version** | **Integer** | | [optional]
|
8
|
+
**changes** | [**Array<Change>**](Change.md) | | [optional]
|
9
|
+
**url** | **String** | | [optional]
|
10
|
+
**description** | **String** | |
|
11
|
+
**account** | [**Account**](Account.md) | | [optional]
|
12
|
+
**vat_type** | [**VatType**](VatType.md) | | [optional]
|
13
|
+
**is_vat_locked** | **BOOLEAN** | | [optional] [default to false]
|
14
|
+
**show_on_travel_expenses** | **BOOLEAN** | | [optional] [default to false]
|
15
|
+
**show_on_employee_expenses** | **BOOLEAN** | | [optional] [default to false]
|
16
|
+
**is_inactive** | **BOOLEAN** | | [optional] [default to false]
|
17
|
+
|
18
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# TripletexApi::TravelDetails
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**is_foreign_travel** | **BOOLEAN** | | [optional] [default to false]
|
7
|
+
**is_day_trip** | **BOOLEAN** | | [optional] [default to false]
|
8
|
+
**is_compensation_from_rates** | **BOOLEAN** | | [optional] [default to false]
|
9
|
+
**departure_date** | **String** | | [optional]
|
10
|
+
**return_date** | **String** | | [optional]
|
11
|
+
**detailed_journey_description** | **String** | | [optional]
|
12
|
+
**departure_from** | **String** | | [optional]
|
13
|
+
**destination** | **String** | | [optional]
|
14
|
+
**departure_time** | **String** | | [optional]
|
15
|
+
**return_time** | **String** | | [optional]
|
16
|
+
**purpose** | **String** | | [optional]
|
17
|
+
|
18
|
+
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# TripletexApi::TravelExpense
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | | [optional]
|
7
|
+
**version** | **Integer** | | [optional]
|
8
|
+
**changes** | [**Array<Change>**](Change.md) | | [optional]
|
9
|
+
**url** | **String** | | [optional]
|
10
|
+
**project** | [**Project**](Project.md) | | [optional]
|
11
|
+
**employee** | [**Employee**](Employee.md) | |
|
12
|
+
**approved_by** | [**Employee**](Employee.md) | | [optional]
|
13
|
+
**completed_by** | [**Employee**](Employee.md) | | [optional]
|
14
|
+
**department** | [**Department**](Department.md) | | [optional]
|
15
|
+
**payslip** | [**Payslip**](Payslip.md) | | [optional]
|
16
|
+
**vat_type** | [**VatType**](VatType.md) | | [optional]
|
17
|
+
**payment_currency** | [**Currency**](Currency.md) | | [optional]
|
18
|
+
**travel_details** | [**TravelDetails**](TravelDetails.md) | | [optional]
|
19
|
+
**voucher** | [**Voucher**](Voucher.md) | | [optional]
|
20
|
+
**is_completed** | **BOOLEAN** | | [optional] [default to false]
|
21
|
+
**is_approved** | **BOOLEAN** | | [optional] [default to false]
|
22
|
+
**is_chargeable** | **BOOLEAN** | | [optional] [default to false]
|
23
|
+
**is_fixed_invoiced_amount** | **BOOLEAN** | | [optional] [default to false]
|
24
|
+
**is_include_attached_receipts_when_reinvoicing** | **BOOLEAN** | | [optional] [default to false]
|
25
|
+
**completed_date** | **String** | | [optional]
|
26
|
+
**approved_date** | **String** | | [optional]
|
27
|
+
**date** | **String** | | [optional]
|
28
|
+
**travel_advance** | **Float** | | [optional]
|
29
|
+
**fixed_invoiced_amount** | **Float** | | [optional]
|
30
|
+
**amount** | **Float** | | [optional]
|
31
|
+
**low_rate_vat** | **Float** | | [optional]
|
32
|
+
**medium_rate_vat** | **Float** | | [optional]
|
33
|
+
**high_rate_vat** | **Float** | | [optional]
|
34
|
+
**payment_amount** | **Float** | | [optional]
|
35
|
+
**payment_amount_currency** | **Float** | | [optional]
|
36
|
+
**number** | **Integer** | | [optional]
|
37
|
+
**invoice** | [**Invoice**](Invoice.md) | | [optional]
|
38
|
+
**title** | **String** | | [optional]
|
39
|
+
**per_diem_compensations** | [**Array<PerDiemCompensation>**](PerDiemCompensation.md) | Link to individual per diem compensations. | [optional]
|
40
|
+
**mileage_allowances** | [**Array<MileageAllowance>**](MileageAllowance.md) | Link to individual mileage allowances. | [optional]
|
41
|
+
**accommodation_allowances** | [**Array<AccommodationAllowance>**](AccommodationAllowance.md) | Link to individual accommodation allowances. | [optional]
|
42
|
+
**costs** | [**Array<Cost>**](Cost.md) | Link to individual costs. | [optional]
|
43
|
+
**attachment_count** | **Integer** | | [optional]
|
44
|
+
**state** | **String** | | [optional]
|
45
|
+
**actions** | [**Array<Link>**](Link.md) | | [optional]
|
46
|
+
|
47
|
+
|
@@ -0,0 +1,749 @@
|
|
1
|
+
# TripletexApi::TravelExpenseApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://tripletex.no/v2*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**approve**](TravelExpenseApi.md#approve) | **PUT** /travelExpense/:approve | [BETA] Approve travel expenses.
|
8
|
+
[**copy**](TravelExpenseApi.md#copy) | **PUT** /travelExpense/:copy | [BETA] Copy travel expense.
|
9
|
+
[**create_vouchers**](TravelExpenseApi.md#create_vouchers) | **PUT** /travelExpense/:createVouchers | [BETA] Create vouchers
|
10
|
+
[**delete**](TravelExpenseApi.md#delete) | **DELETE** /travelExpense/{id} | [BETA] Delete travel expense.
|
11
|
+
[**deliver**](TravelExpenseApi.md#deliver) | **PUT** /travelExpense/:deliver | [BETA] Deliver travel expenses.
|
12
|
+
[**download_attachment**](TravelExpenseApi.md#download_attachment) | **GET** /travelExpense/{travelExpenseId}/attachment | Get attachment by travel expense ID.
|
13
|
+
[**get**](TravelExpenseApi.md#get) | **GET** /travelExpense/{id} | [BETA] Get travel expense by ID.
|
14
|
+
[**post**](TravelExpenseApi.md#post) | **POST** /travelExpense | [BETA] Create travel expense.
|
15
|
+
[**put**](TravelExpenseApi.md#put) | **PUT** /travelExpense/{id} | [BETA] Update travel expense.
|
16
|
+
[**search**](TravelExpenseApi.md#search) | **GET** /travelExpense | [BETA] Find travel expenses corresponding with sent data.
|
17
|
+
[**unapprove**](TravelExpenseApi.md#unapprove) | **PUT** /travelExpense/:unapprove | [BETA] Unapprove travel expenses.
|
18
|
+
[**undeliver**](TravelExpenseApi.md#undeliver) | **PUT** /travelExpense/:undeliver | [BETA] Undeliver travel expenses.
|
19
|
+
[**upload_attachment**](TravelExpenseApi.md#upload_attachment) | **POST** /travelExpense/{travelExpenseId}/attachment | Upload attachment to travel expense.
|
20
|
+
|
21
|
+
|
22
|
+
# **approve**
|
23
|
+
> ListResponseTravelExpense approve(opts)
|
24
|
+
|
25
|
+
[BETA] Approve travel expenses.
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
### Example
|
30
|
+
```ruby
|
31
|
+
# load the gem
|
32
|
+
require 'tripletex_api'
|
33
|
+
# setup authorization
|
34
|
+
TripletexApi.configure do |config|
|
35
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
36
|
+
config.username = 'YOUR USERNAME'
|
37
|
+
config.password = 'YOUR PASSWORD'
|
38
|
+
end
|
39
|
+
|
40
|
+
api_instance = TripletexApi::TravelExpenseApi.new
|
41
|
+
|
42
|
+
opts = {
|
43
|
+
id: "id_example" # String | ID of the elements
|
44
|
+
}
|
45
|
+
|
46
|
+
begin
|
47
|
+
#[BETA] Approve travel expenses.
|
48
|
+
result = api_instance.approve(opts)
|
49
|
+
p result
|
50
|
+
rescue TripletexApi::ApiError => e
|
51
|
+
puts "Exception when calling TravelExpenseApi->approve: #{e}"
|
52
|
+
end
|
53
|
+
```
|
54
|
+
|
55
|
+
### Parameters
|
56
|
+
|
57
|
+
Name | Type | Description | Notes
|
58
|
+
------------- | ------------- | ------------- | -------------
|
59
|
+
**id** | **String**| ID of the elements | [optional]
|
60
|
+
|
61
|
+
### Return type
|
62
|
+
|
63
|
+
[**ListResponseTravelExpense**](ListResponseTravelExpense.md)
|
64
|
+
|
65
|
+
### Authorization
|
66
|
+
|
67
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
68
|
+
|
69
|
+
### HTTP request headers
|
70
|
+
|
71
|
+
- **Content-Type**: Not defined
|
72
|
+
- **Accept**: Not defined
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
# **copy**
|
77
|
+
> ResponseWrapperTravelExpense copy(id)
|
78
|
+
|
79
|
+
[BETA] Copy travel expense.
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
### Example
|
84
|
+
```ruby
|
85
|
+
# load the gem
|
86
|
+
require 'tripletex_api'
|
87
|
+
# setup authorization
|
88
|
+
TripletexApi.configure do |config|
|
89
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
90
|
+
config.username = 'YOUR USERNAME'
|
91
|
+
config.password = 'YOUR PASSWORD'
|
92
|
+
end
|
93
|
+
|
94
|
+
api_instance = TripletexApi::TravelExpenseApi.new
|
95
|
+
|
96
|
+
id = 56 # Integer | Element ID
|
97
|
+
|
98
|
+
|
99
|
+
begin
|
100
|
+
#[BETA] Copy travel expense.
|
101
|
+
result = api_instance.copy(id)
|
102
|
+
p result
|
103
|
+
rescue TripletexApi::ApiError => e
|
104
|
+
puts "Exception when calling TravelExpenseApi->copy: #{e}"
|
105
|
+
end
|
106
|
+
```
|
107
|
+
|
108
|
+
### Parameters
|
109
|
+
|
110
|
+
Name | Type | Description | Notes
|
111
|
+
------------- | ------------- | ------------- | -------------
|
112
|
+
**id** | **Integer**| Element ID |
|
113
|
+
|
114
|
+
### Return type
|
115
|
+
|
116
|
+
[**ResponseWrapperTravelExpense**](ResponseWrapperTravelExpense.md)
|
117
|
+
|
118
|
+
### Authorization
|
119
|
+
|
120
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
121
|
+
|
122
|
+
### HTTP request headers
|
123
|
+
|
124
|
+
- **Content-Type**: application/json; charset=utf-8
|
125
|
+
- **Accept**: Not defined
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
# **create_vouchers**
|
130
|
+
> ListResponseTravelExpense create_vouchers(date, opts)
|
131
|
+
|
132
|
+
[BETA] Create vouchers
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
### Example
|
137
|
+
```ruby
|
138
|
+
# load the gem
|
139
|
+
require 'tripletex_api'
|
140
|
+
# setup authorization
|
141
|
+
TripletexApi.configure do |config|
|
142
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
143
|
+
config.username = 'YOUR USERNAME'
|
144
|
+
config.password = 'YOUR PASSWORD'
|
145
|
+
end
|
146
|
+
|
147
|
+
api_instance = TripletexApi::TravelExpenseApi.new
|
148
|
+
|
149
|
+
date = "date_example" # String | yyyy-MM-dd. Defaults to today.
|
150
|
+
|
151
|
+
opts = {
|
152
|
+
id: "id_example" # String | ID of the elements
|
153
|
+
}
|
154
|
+
|
155
|
+
begin
|
156
|
+
#[BETA] Create vouchers
|
157
|
+
result = api_instance.create_vouchers(date, opts)
|
158
|
+
p result
|
159
|
+
rescue TripletexApi::ApiError => e
|
160
|
+
puts "Exception when calling TravelExpenseApi->create_vouchers: #{e}"
|
161
|
+
end
|
162
|
+
```
|
163
|
+
|
164
|
+
### Parameters
|
165
|
+
|
166
|
+
Name | Type | Description | Notes
|
167
|
+
------------- | ------------- | ------------- | -------------
|
168
|
+
**date** | **String**| yyyy-MM-dd. Defaults to today. |
|
169
|
+
**id** | **String**| ID of the elements | [optional]
|
170
|
+
|
171
|
+
### Return type
|
172
|
+
|
173
|
+
[**ListResponseTravelExpense**](ListResponseTravelExpense.md)
|
174
|
+
|
175
|
+
### Authorization
|
176
|
+
|
177
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
178
|
+
|
179
|
+
### HTTP request headers
|
180
|
+
|
181
|
+
- **Content-Type**: application/json; charset=utf-8
|
182
|
+
- **Accept**: Not defined
|
183
|
+
|
184
|
+
|
185
|
+
|
186
|
+
# **delete**
|
187
|
+
> delete(id)
|
188
|
+
|
189
|
+
[BETA] Delete travel expense.
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
### Example
|
194
|
+
```ruby
|
195
|
+
# load the gem
|
196
|
+
require 'tripletex_api'
|
197
|
+
# setup authorization
|
198
|
+
TripletexApi.configure do |config|
|
199
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
200
|
+
config.username = 'YOUR USERNAME'
|
201
|
+
config.password = 'YOUR PASSWORD'
|
202
|
+
end
|
203
|
+
|
204
|
+
api_instance = TripletexApi::TravelExpenseApi.new
|
205
|
+
|
206
|
+
id = 56 # Integer | Element ID
|
207
|
+
|
208
|
+
|
209
|
+
begin
|
210
|
+
#[BETA] Delete travel expense.
|
211
|
+
api_instance.delete(id)
|
212
|
+
rescue TripletexApi::ApiError => e
|
213
|
+
puts "Exception when calling TravelExpenseApi->delete: #{e}"
|
214
|
+
end
|
215
|
+
```
|
216
|
+
|
217
|
+
### Parameters
|
218
|
+
|
219
|
+
Name | Type | Description | Notes
|
220
|
+
------------- | ------------- | ------------- | -------------
|
221
|
+
**id** | **Integer**| Element ID |
|
222
|
+
|
223
|
+
### Return type
|
224
|
+
|
225
|
+
nil (empty response body)
|
226
|
+
|
227
|
+
### Authorization
|
228
|
+
|
229
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
230
|
+
|
231
|
+
### HTTP request headers
|
232
|
+
|
233
|
+
- **Content-Type**: Not defined
|
234
|
+
- **Accept**: Not defined
|
235
|
+
|
236
|
+
|
237
|
+
|
238
|
+
# **deliver**
|
239
|
+
> ListResponseTravelExpense deliver(opts)
|
240
|
+
|
241
|
+
[BETA] Deliver travel expenses.
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
### Example
|
246
|
+
```ruby
|
247
|
+
# load the gem
|
248
|
+
require 'tripletex_api'
|
249
|
+
# setup authorization
|
250
|
+
TripletexApi.configure do |config|
|
251
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
252
|
+
config.username = 'YOUR USERNAME'
|
253
|
+
config.password = 'YOUR PASSWORD'
|
254
|
+
end
|
255
|
+
|
256
|
+
api_instance = TripletexApi::TravelExpenseApi.new
|
257
|
+
|
258
|
+
opts = {
|
259
|
+
id: "id_example" # String | ID of the elements
|
260
|
+
}
|
261
|
+
|
262
|
+
begin
|
263
|
+
#[BETA] Deliver travel expenses.
|
264
|
+
result = api_instance.deliver(opts)
|
265
|
+
p result
|
266
|
+
rescue TripletexApi::ApiError => e
|
267
|
+
puts "Exception when calling TravelExpenseApi->deliver: #{e}"
|
268
|
+
end
|
269
|
+
```
|
270
|
+
|
271
|
+
### Parameters
|
272
|
+
|
273
|
+
Name | Type | Description | Notes
|
274
|
+
------------- | ------------- | ------------- | -------------
|
275
|
+
**id** | **String**| ID of the elements | [optional]
|
276
|
+
|
277
|
+
### Return type
|
278
|
+
|
279
|
+
[**ListResponseTravelExpense**](ListResponseTravelExpense.md)
|
280
|
+
|
281
|
+
### Authorization
|
282
|
+
|
283
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
284
|
+
|
285
|
+
### HTTP request headers
|
286
|
+
|
287
|
+
- **Content-Type**: Not defined
|
288
|
+
- **Accept**: Not defined
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
# **download_attachment**
|
293
|
+
> String download_attachment(travel_expense_id)
|
294
|
+
|
295
|
+
Get attachment by travel expense ID.
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
### Example
|
300
|
+
```ruby
|
301
|
+
# load the gem
|
302
|
+
require 'tripletex_api'
|
303
|
+
# setup authorization
|
304
|
+
TripletexApi.configure do |config|
|
305
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
306
|
+
config.username = 'YOUR USERNAME'
|
307
|
+
config.password = 'YOUR PASSWORD'
|
308
|
+
end
|
309
|
+
|
310
|
+
api_instance = TripletexApi::TravelExpenseApi.new
|
311
|
+
|
312
|
+
travel_expense_id = 56 # Integer | Travel Expense ID from which PDF is downloaded.
|
313
|
+
|
314
|
+
|
315
|
+
begin
|
316
|
+
#Get attachment by travel expense ID.
|
317
|
+
result = api_instance.download_attachment(travel_expense_id)
|
318
|
+
p result
|
319
|
+
rescue TripletexApi::ApiError => e
|
320
|
+
puts "Exception when calling TravelExpenseApi->download_attachment: #{e}"
|
321
|
+
end
|
322
|
+
```
|
323
|
+
|
324
|
+
### Parameters
|
325
|
+
|
326
|
+
Name | Type | Description | Notes
|
327
|
+
------------- | ------------- | ------------- | -------------
|
328
|
+
**travel_expense_id** | **Integer**| Travel Expense ID from which PDF is downloaded. |
|
329
|
+
|
330
|
+
### Return type
|
331
|
+
|
332
|
+
**String**
|
333
|
+
|
334
|
+
### Authorization
|
335
|
+
|
336
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
337
|
+
|
338
|
+
### HTTP request headers
|
339
|
+
|
340
|
+
- **Content-Type**: Not defined
|
341
|
+
- **Accept**: application/octet-stream
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
# **get**
|
346
|
+
> ResponseWrapperTravelExpense get(id, opts)
|
347
|
+
|
348
|
+
[BETA] Get travel expense by ID.
|
349
|
+
|
350
|
+
|
351
|
+
|
352
|
+
### Example
|
353
|
+
```ruby
|
354
|
+
# load the gem
|
355
|
+
require 'tripletex_api'
|
356
|
+
# setup authorization
|
357
|
+
TripletexApi.configure do |config|
|
358
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
359
|
+
config.username = 'YOUR USERNAME'
|
360
|
+
config.password = 'YOUR PASSWORD'
|
361
|
+
end
|
362
|
+
|
363
|
+
api_instance = TripletexApi::TravelExpenseApi.new
|
364
|
+
|
365
|
+
id = 56 # Integer | Element ID
|
366
|
+
|
367
|
+
opts = {
|
368
|
+
fields: "fields_example" # String | Fields filter pattern
|
369
|
+
}
|
370
|
+
|
371
|
+
begin
|
372
|
+
#[BETA] Get travel expense by ID.
|
373
|
+
result = api_instance.get(id, opts)
|
374
|
+
p result
|
375
|
+
rescue TripletexApi::ApiError => e
|
376
|
+
puts "Exception when calling TravelExpenseApi->get: #{e}"
|
377
|
+
end
|
378
|
+
```
|
379
|
+
|
380
|
+
### Parameters
|
381
|
+
|
382
|
+
Name | Type | Description | Notes
|
383
|
+
------------- | ------------- | ------------- | -------------
|
384
|
+
**id** | **Integer**| Element ID |
|
385
|
+
**fields** | **String**| Fields filter pattern | [optional]
|
386
|
+
|
387
|
+
### Return type
|
388
|
+
|
389
|
+
[**ResponseWrapperTravelExpense**](ResponseWrapperTravelExpense.md)
|
390
|
+
|
391
|
+
### Authorization
|
392
|
+
|
393
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
394
|
+
|
395
|
+
### HTTP request headers
|
396
|
+
|
397
|
+
- **Content-Type**: Not defined
|
398
|
+
- **Accept**: Not defined
|
399
|
+
|
400
|
+
|
401
|
+
|
402
|
+
# **post**
|
403
|
+
> ResponseWrapperTravelExpense post(opts)
|
404
|
+
|
405
|
+
[BETA] Create travel expense.
|
406
|
+
|
407
|
+
|
408
|
+
|
409
|
+
### Example
|
410
|
+
```ruby
|
411
|
+
# load the gem
|
412
|
+
require 'tripletex_api'
|
413
|
+
# setup authorization
|
414
|
+
TripletexApi.configure do |config|
|
415
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
416
|
+
config.username = 'YOUR USERNAME'
|
417
|
+
config.password = 'YOUR PASSWORD'
|
418
|
+
end
|
419
|
+
|
420
|
+
api_instance = TripletexApi::TravelExpenseApi.new
|
421
|
+
|
422
|
+
opts = {
|
423
|
+
body: TripletexApi::TravelExpense.new # TravelExpense | JSON representing the new object to be created. Should not have ID and version set.
|
424
|
+
}
|
425
|
+
|
426
|
+
begin
|
427
|
+
#[BETA] Create travel expense.
|
428
|
+
result = api_instance.post(opts)
|
429
|
+
p result
|
430
|
+
rescue TripletexApi::ApiError => e
|
431
|
+
puts "Exception when calling TravelExpenseApi->post: #{e}"
|
432
|
+
end
|
433
|
+
```
|
434
|
+
|
435
|
+
### Parameters
|
436
|
+
|
437
|
+
Name | Type | Description | Notes
|
438
|
+
------------- | ------------- | ------------- | -------------
|
439
|
+
**body** | [**TravelExpense**](TravelExpense.md)| JSON representing the new object to be created. Should not have ID and version set. | [optional]
|
440
|
+
|
441
|
+
### Return type
|
442
|
+
|
443
|
+
[**ResponseWrapperTravelExpense**](ResponseWrapperTravelExpense.md)
|
444
|
+
|
445
|
+
### Authorization
|
446
|
+
|
447
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
448
|
+
|
449
|
+
### HTTP request headers
|
450
|
+
|
451
|
+
- **Content-Type**: application/json; charset=utf-8
|
452
|
+
- **Accept**: Not defined
|
453
|
+
|
454
|
+
|
455
|
+
|
456
|
+
# **put**
|
457
|
+
> ResponseWrapperTravelExpense put(id, opts)
|
458
|
+
|
459
|
+
[BETA] Update travel expense.
|
460
|
+
|
461
|
+
|
462
|
+
|
463
|
+
### Example
|
464
|
+
```ruby
|
465
|
+
# load the gem
|
466
|
+
require 'tripletex_api'
|
467
|
+
# setup authorization
|
468
|
+
TripletexApi.configure do |config|
|
469
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
470
|
+
config.username = 'YOUR USERNAME'
|
471
|
+
config.password = 'YOUR PASSWORD'
|
472
|
+
end
|
473
|
+
|
474
|
+
api_instance = TripletexApi::TravelExpenseApi.new
|
475
|
+
|
476
|
+
id = 56 # Integer | Element ID
|
477
|
+
|
478
|
+
opts = {
|
479
|
+
body: TripletexApi::TravelExpense.new # TravelExpense | Partial object describing what should be updated
|
480
|
+
}
|
481
|
+
|
482
|
+
begin
|
483
|
+
#[BETA] Update travel expense.
|
484
|
+
result = api_instance.put(id, opts)
|
485
|
+
p result
|
486
|
+
rescue TripletexApi::ApiError => e
|
487
|
+
puts "Exception when calling TravelExpenseApi->put: #{e}"
|
488
|
+
end
|
489
|
+
```
|
490
|
+
|
491
|
+
### Parameters
|
492
|
+
|
493
|
+
Name | Type | Description | Notes
|
494
|
+
------------- | ------------- | ------------- | -------------
|
495
|
+
**id** | **Integer**| Element ID |
|
496
|
+
**body** | [**TravelExpense**](TravelExpense.md)| Partial object describing what should be updated | [optional]
|
497
|
+
|
498
|
+
### Return type
|
499
|
+
|
500
|
+
[**ResponseWrapperTravelExpense**](ResponseWrapperTravelExpense.md)
|
501
|
+
|
502
|
+
### Authorization
|
503
|
+
|
504
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
505
|
+
|
506
|
+
### HTTP request headers
|
507
|
+
|
508
|
+
- **Content-Type**: application/json; charset=utf-8
|
509
|
+
- **Accept**: Not defined
|
510
|
+
|
511
|
+
|
512
|
+
|
513
|
+
# **search**
|
514
|
+
> ListResponseTravelExpense search(opts)
|
515
|
+
|
516
|
+
[BETA] Find travel expenses corresponding with sent data.
|
517
|
+
|
518
|
+
|
519
|
+
|
520
|
+
### Example
|
521
|
+
```ruby
|
522
|
+
# load the gem
|
523
|
+
require 'tripletex_api'
|
524
|
+
# setup authorization
|
525
|
+
TripletexApi.configure do |config|
|
526
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
527
|
+
config.username = 'YOUR USERNAME'
|
528
|
+
config.password = 'YOUR PASSWORD'
|
529
|
+
end
|
530
|
+
|
531
|
+
api_instance = TripletexApi::TravelExpenseApi.new
|
532
|
+
|
533
|
+
opts = {
|
534
|
+
employee_id: "employee_id_example", # String | Equals
|
535
|
+
department_id: "department_id_example", # String | Equals
|
536
|
+
project_id: "project_id_example", # String | Equals
|
537
|
+
project_manager_id: "project_manager_id_example", # String | Equals
|
538
|
+
departure_date_from: "departure_date_from_example", # String | From and including
|
539
|
+
return_date_to: "return_date_to_example", # String | To and excluding
|
540
|
+
state: "ALL", # String | category
|
541
|
+
from: 0, # Integer | From index
|
542
|
+
count: 1000, # Integer | Number of elements to return
|
543
|
+
sorting: "sorting_example", # String | Sorting pattern
|
544
|
+
fields: "fields_example" # String | Fields filter pattern
|
545
|
+
}
|
546
|
+
|
547
|
+
begin
|
548
|
+
#[BETA] Find travel expenses corresponding with sent data.
|
549
|
+
result = api_instance.search(opts)
|
550
|
+
p result
|
551
|
+
rescue TripletexApi::ApiError => e
|
552
|
+
puts "Exception when calling TravelExpenseApi->search: #{e}"
|
553
|
+
end
|
554
|
+
```
|
555
|
+
|
556
|
+
### Parameters
|
557
|
+
|
558
|
+
Name | Type | Description | Notes
|
559
|
+
------------- | ------------- | ------------- | -------------
|
560
|
+
**employee_id** | **String**| Equals | [optional]
|
561
|
+
**department_id** | **String**| Equals | [optional]
|
562
|
+
**project_id** | **String**| Equals | [optional]
|
563
|
+
**project_manager_id** | **String**| Equals | [optional]
|
564
|
+
**departure_date_from** | **String**| From and including | [optional]
|
565
|
+
**return_date_to** | **String**| To and excluding | [optional]
|
566
|
+
**state** | **String**| category | [optional] [default to ALL]
|
567
|
+
**from** | **Integer**| From index | [optional] [default to 0]
|
568
|
+
**count** | **Integer**| Number of elements to return | [optional] [default to 1000]
|
569
|
+
**sorting** | **String**| Sorting pattern | [optional]
|
570
|
+
**fields** | **String**| Fields filter pattern | [optional]
|
571
|
+
|
572
|
+
### Return type
|
573
|
+
|
574
|
+
[**ListResponseTravelExpense**](ListResponseTravelExpense.md)
|
575
|
+
|
576
|
+
### Authorization
|
577
|
+
|
578
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
579
|
+
|
580
|
+
### HTTP request headers
|
581
|
+
|
582
|
+
- **Content-Type**: Not defined
|
583
|
+
- **Accept**: Not defined
|
584
|
+
|
585
|
+
|
586
|
+
|
587
|
+
# **unapprove**
|
588
|
+
> ListResponseTravelExpense unapprove(opts)
|
589
|
+
|
590
|
+
[BETA] Unapprove travel expenses.
|
591
|
+
|
592
|
+
|
593
|
+
|
594
|
+
### Example
|
595
|
+
```ruby
|
596
|
+
# load the gem
|
597
|
+
require 'tripletex_api'
|
598
|
+
# setup authorization
|
599
|
+
TripletexApi.configure do |config|
|
600
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
601
|
+
config.username = 'YOUR USERNAME'
|
602
|
+
config.password = 'YOUR PASSWORD'
|
603
|
+
end
|
604
|
+
|
605
|
+
api_instance = TripletexApi::TravelExpenseApi.new
|
606
|
+
|
607
|
+
opts = {
|
608
|
+
id: "id_example" # String | ID of the elements
|
609
|
+
}
|
610
|
+
|
611
|
+
begin
|
612
|
+
#[BETA] Unapprove travel expenses.
|
613
|
+
result = api_instance.unapprove(opts)
|
614
|
+
p result
|
615
|
+
rescue TripletexApi::ApiError => e
|
616
|
+
puts "Exception when calling TravelExpenseApi->unapprove: #{e}"
|
617
|
+
end
|
618
|
+
```
|
619
|
+
|
620
|
+
### Parameters
|
621
|
+
|
622
|
+
Name | Type | Description | Notes
|
623
|
+
------------- | ------------- | ------------- | -------------
|
624
|
+
**id** | **String**| ID of the elements | [optional]
|
625
|
+
|
626
|
+
### Return type
|
627
|
+
|
628
|
+
[**ListResponseTravelExpense**](ListResponseTravelExpense.md)
|
629
|
+
|
630
|
+
### Authorization
|
631
|
+
|
632
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
633
|
+
|
634
|
+
### HTTP request headers
|
635
|
+
|
636
|
+
- **Content-Type**: Not defined
|
637
|
+
- **Accept**: Not defined
|
638
|
+
|
639
|
+
|
640
|
+
|
641
|
+
# **undeliver**
|
642
|
+
> ListResponseTravelExpense undeliver(opts)
|
643
|
+
|
644
|
+
[BETA] Undeliver travel expenses.
|
645
|
+
|
646
|
+
|
647
|
+
|
648
|
+
### Example
|
649
|
+
```ruby
|
650
|
+
# load the gem
|
651
|
+
require 'tripletex_api'
|
652
|
+
# setup authorization
|
653
|
+
TripletexApi.configure do |config|
|
654
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
655
|
+
config.username = 'YOUR USERNAME'
|
656
|
+
config.password = 'YOUR PASSWORD'
|
657
|
+
end
|
658
|
+
|
659
|
+
api_instance = TripletexApi::TravelExpenseApi.new
|
660
|
+
|
661
|
+
opts = {
|
662
|
+
id: "id_example" # String | ID of the elements
|
663
|
+
}
|
664
|
+
|
665
|
+
begin
|
666
|
+
#[BETA] Undeliver travel expenses.
|
667
|
+
result = api_instance.undeliver(opts)
|
668
|
+
p result
|
669
|
+
rescue TripletexApi::ApiError => e
|
670
|
+
puts "Exception when calling TravelExpenseApi->undeliver: #{e}"
|
671
|
+
end
|
672
|
+
```
|
673
|
+
|
674
|
+
### Parameters
|
675
|
+
|
676
|
+
Name | Type | Description | Notes
|
677
|
+
------------- | ------------- | ------------- | -------------
|
678
|
+
**id** | **String**| ID of the elements | [optional]
|
679
|
+
|
680
|
+
### Return type
|
681
|
+
|
682
|
+
[**ListResponseTravelExpense**](ListResponseTravelExpense.md)
|
683
|
+
|
684
|
+
### Authorization
|
685
|
+
|
686
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
687
|
+
|
688
|
+
### HTTP request headers
|
689
|
+
|
690
|
+
- **Content-Type**: Not defined
|
691
|
+
- **Accept**: Not defined
|
692
|
+
|
693
|
+
|
694
|
+
|
695
|
+
# **upload_attachment**
|
696
|
+
> upload_attachment(travel_expense_id, file)
|
697
|
+
|
698
|
+
Upload attachment to travel expense.
|
699
|
+
|
700
|
+
|
701
|
+
|
702
|
+
### Example
|
703
|
+
```ruby
|
704
|
+
# load the gem
|
705
|
+
require 'tripletex_api'
|
706
|
+
# setup authorization
|
707
|
+
TripletexApi.configure do |config|
|
708
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
709
|
+
config.username = 'YOUR USERNAME'
|
710
|
+
config.password = 'YOUR PASSWORD'
|
711
|
+
end
|
712
|
+
|
713
|
+
api_instance = TripletexApi::TravelExpenseApi.new
|
714
|
+
|
715
|
+
travel_expense_id = 56 # Integer | Travel Expense ID to upload attachment to.
|
716
|
+
|
717
|
+
file = File.new("/path/to/file.txt") # File | The file
|
718
|
+
|
719
|
+
|
720
|
+
begin
|
721
|
+
#Upload attachment to travel expense.
|
722
|
+
api_instance.upload_attachment(travel_expense_id, file)
|
723
|
+
rescue TripletexApi::ApiError => e
|
724
|
+
puts "Exception when calling TravelExpenseApi->upload_attachment: #{e}"
|
725
|
+
end
|
726
|
+
```
|
727
|
+
|
728
|
+
### Parameters
|
729
|
+
|
730
|
+
Name | Type | Description | Notes
|
731
|
+
------------- | ------------- | ------------- | -------------
|
732
|
+
**travel_expense_id** | **Integer**| Travel Expense ID to upload attachment to. |
|
733
|
+
**file** | **File**| The file |
|
734
|
+
|
735
|
+
### Return type
|
736
|
+
|
737
|
+
nil (empty response body)
|
738
|
+
|
739
|
+
### Authorization
|
740
|
+
|
741
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
742
|
+
|
743
|
+
### HTTP request headers
|
744
|
+
|
745
|
+
- **Content-Type**: multipart/form-data
|
746
|
+
- **Accept**: Not defined
|
747
|
+
|
748
|
+
|
749
|
+
|