tripletex_api 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1057) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/Gemfile.lock +64 -0
  4. data/README.md +649 -0
  5. data/Rakefile +8 -0
  6. data/docs/AbstractDTO.md +9 -0
  7. data/docs/AccommodationAllowance.md +20 -0
  8. data/docs/Account.md +29 -0
  9. data/docs/AccountingPeriod.md +16 -0
  10. data/docs/Activity.md +18 -0
  11. data/docs/ActivityApi.md +211 -0
  12. data/docs/Address.md +18 -0
  13. data/docs/AddressApi.md +197 -0
  14. data/docs/AnnualAccount.md +14 -0
  15. data/docs/ApiConsumer.md +13 -0
  16. data/docs/ApiError.md +14 -0
  17. data/docs/ApiValidationMessage.md +9 -0
  18. data/docs/AppSpecific.md +13 -0
  19. data/docs/Bank.md +14 -0
  20. data/docs/BankApi.md +73 -0
  21. data/docs/BankReconciliation.md +20 -0
  22. data/docs/BankReconciliationMatch.md +15 -0
  23. data/docs/BankReconciliationPaymentType.md +15 -0
  24. data/docs/BankStatement.md +15 -0
  25. data/docs/BankTransaction.md +15 -0
  26. data/docs/BankreconciliationApi.md +422 -0
  27. data/docs/BankreconciliationmatchApi.md +351 -0
  28. data/docs/BankreconciliationpaymentTypeApi.md +131 -0
  29. data/docs/BankstatementApi.md +243 -0
  30. data/docs/BankstatementtransactionApi.md +188 -0
  31. data/docs/Banner.md +18 -0
  32. data/docs/CSVRecord.md +10 -0
  33. data/docs/Change.md +10 -0
  34. data/docs/CloseGroup.md +13 -0
  35. data/docs/Company.md +21 -0
  36. data/docs/CompanyApi.md +188 -0
  37. data/docs/CompanyAutoCompleteDTO.md +23 -0
  38. data/docs/ConsumerToken.md +14 -0
  39. data/docs/Contact.md +16 -0
  40. data/docs/ContactApi.md +250 -0
  41. data/docs/Cost.md +27 -0
  42. data/docs/Country.md +12 -0
  43. data/docs/CountryApi.md +131 -0
  44. data/docs/CrmprospectApi.md +155 -0
  45. data/docs/Currency.md +13 -0
  46. data/docs/CurrencyApi.md +131 -0
  47. data/docs/Customer.md +32 -0
  48. data/docs/CustomerApi.md +364 -0
  49. data/docs/CustomerCategory.md +15 -0
  50. data/docs/CustomerTripletexAccount.md +20 -0
  51. data/docs/CustomercategoryApi.md +250 -0
  52. data/docs/Department.md +14 -0
  53. data/docs/DepartmentApi.md +358 -0
  54. data/docs/Document.md +13 -0
  55. data/docs/DocumentApi.md +120 -0
  56. data/docs/Employee.md +26 -0
  57. data/docs/EmployeeApi.md +311 -0
  58. data/docs/EmployeeToken.md +15 -0
  59. data/docs/EmployeeemploymentApi.md +242 -0
  60. data/docs/EmployeeemploymentdetailsApi.md +242 -0
  61. data/docs/EmployeeemploymentemploymentTypeApi.md +69 -0
  62. data/docs/EmployeeemploymentleaveOfAbsenceApi.md +179 -0
  63. data/docs/EmployeeemploymentleaveOfAbsenceTypeApi.md +69 -0
  64. data/docs/EmployeeemploymentoccupationCodeApi.md +73 -0
  65. data/docs/EmployeeemploymentremunerationTypeApi.md +69 -0
  66. data/docs/EmployeeemploymentworkingHoursSchemeApi.md +69 -0
  67. data/docs/EmployeeentitlementApi.md +313 -0
  68. data/docs/EmployeestandardTimeApi.md +242 -0
  69. data/docs/Employment.md +18 -0
  70. data/docs/EmploymentDetails.md +20 -0
  71. data/docs/EmploymentType.md +14 -0
  72. data/docs/Entitlement.md +15 -0
  73. data/docs/EventApi.md +63 -0
  74. data/docs/EventInfoDescription.md +9 -0
  75. data/docs/EventsubscriptionApi.md +293 -0
  76. data/docs/ImportConfigDTO.md +10 -0
  77. data/docs/ImportReportDTO.md +22 -0
  78. data/docs/Inventory.md +15 -0
  79. data/docs/InventoryApi.md +135 -0
  80. data/docs/Invoice.md +35 -0
  81. data/docs/InvoiceApi.md +514 -0
  82. data/docs/InvoicedetailsApi.md +66 -0
  83. data/docs/InvoicepaymentTypeApi.md +131 -0
  84. data/docs/Job.md +13 -0
  85. data/docs/JobDetailDTO.md +12 -0
  86. data/docs/LeaveOfAbsence.md +18 -0
  87. data/docs/LeaveOfAbsenceType.md +14 -0
  88. data/docs/LedgerAccount.md +16 -0
  89. data/docs/LedgerApi.md +169 -0
  90. data/docs/LedgeraccountApi.md +462 -0
  91. data/docs/LedgeraccountingPeriodApi.md +141 -0
  92. data/docs/LedgerannualAccountApi.md +133 -0
  93. data/docs/LedgercloseGroupApi.md +135 -0
  94. data/docs/LedgerpaymentTypeOutApi.md +409 -0
  95. data/docs/LedgerpostingApi.md +227 -0
  96. data/docs/LedgervatTypeApi.md +131 -0
  97. data/docs/LedgervoucherApi.md +850 -0
  98. data/docs/LedgervoucherTypeApi.md +129 -0
  99. data/docs/Link.md +10 -0
  100. data/docs/ListResponseAccommodationAllowance.md +12 -0
  101. data/docs/ListResponseAccount.md +12 -0
  102. data/docs/ListResponseAccountingPeriod.md +12 -0
  103. data/docs/ListResponseActivity.md +12 -0
  104. data/docs/ListResponseAddress.md +12 -0
  105. data/docs/ListResponseAnnualAccount.md +12 -0
  106. data/docs/ListResponseBank.md +12 -0
  107. data/docs/ListResponseBankReconciliation.md +12 -0
  108. data/docs/ListResponseBankReconciliationMatch.md +12 -0
  109. data/docs/ListResponseBankReconciliationPaymentType.md +12 -0
  110. data/docs/ListResponseBankStatement.md +12 -0
  111. data/docs/ListResponseBankTransaction.md +12 -0
  112. data/docs/ListResponseBanner.md +12 -0
  113. data/docs/ListResponseCloseGroup.md +12 -0
  114. data/docs/ListResponseCompany.md +12 -0
  115. data/docs/ListResponseCompanyAutoCompleteDTO.md +12 -0
  116. data/docs/ListResponseContact.md +12 -0
  117. data/docs/ListResponseCost.md +12 -0
  118. data/docs/ListResponseCountry.md +12 -0
  119. data/docs/ListResponseCurrency.md +12 -0
  120. data/docs/ListResponseCustomer.md +12 -0
  121. data/docs/ListResponseCustomerCategory.md +12 -0
  122. data/docs/ListResponseDepartment.md +12 -0
  123. data/docs/ListResponseEmployee.md +12 -0
  124. data/docs/ListResponseEmployment.md +12 -0
  125. data/docs/ListResponseEmploymentDetails.md +12 -0
  126. data/docs/ListResponseEmploymentType.md +12 -0
  127. data/docs/ListResponseEntitlement.md +12 -0
  128. data/docs/ListResponseInventory.md +12 -0
  129. data/docs/ListResponseInvoice.md +12 -0
  130. data/docs/ListResponseLeaveOfAbsenceType.md +12 -0
  131. data/docs/ListResponseLedgerAccount.md +12 -0
  132. data/docs/ListResponseMileageAllowance.md +12 -0
  133. data/docs/ListResponseNotification.md +12 -0
  134. data/docs/ListResponseOccupationCode.md +12 -0
  135. data/docs/ListResponseOrder.md +12 -0
  136. data/docs/ListResponseOrderLine.md +12 -0
  137. data/docs/ListResponseOrderOffer.md +12 -0
  138. data/docs/ListResponsePassenger.md +12 -0
  139. data/docs/ListResponsePaymentType.md +12 -0
  140. data/docs/ListResponsePaymentTypeOut.md +12 -0
  141. data/docs/ListResponsePayslip.md +12 -0
  142. data/docs/ListResponsePerDiemCompensation.md +12 -0
  143. data/docs/ListResponsePersonAutoCompleteDTO.md +12 -0
  144. data/docs/ListResponsePosting.md +12 -0
  145. data/docs/ListResponseProduct.md +12 -0
  146. data/docs/ListResponseProductUnit.md +12 -0
  147. data/docs/ListResponseProject.md +12 -0
  148. data/docs/ListResponseProjectCategory.md +12 -0
  149. data/docs/ListResponseProjectOrderLine.md +12 -0
  150. data/docs/ListResponseProjectParticipant.md +12 -0
  151. data/docs/ListResponseProspect.md +12 -0
  152. data/docs/ListResponseReminder.md +12 -0
  153. data/docs/ListResponseRemunerationType.md +12 -0
  154. data/docs/ListResponseSalarySpecification.md +12 -0
  155. data/docs/ListResponseSalaryTransaction.md +12 -0
  156. data/docs/ListResponseSalaryType.md +12 -0
  157. data/docs/ListResponseSearchCompletionDTO.md +12 -0
  158. data/docs/ListResponseStandardTime.md +12 -0
  159. data/docs/ListResponseSubscription.md +12 -0
  160. data/docs/ListResponseSupplier.md +12 -0
  161. data/docs/ListResponseSupplierBalance.md +12 -0
  162. data/docs/ListResponseTimeClock.md +12 -0
  163. data/docs/ListResponseTimesheetEntry.md +12 -0
  164. data/docs/ListResponseTravelCostCategory.md +12 -0
  165. data/docs/ListResponseTravelExpense.md +12 -0
  166. data/docs/ListResponseTravelExpenseRate.md +12 -0
  167. data/docs/ListResponseTravelExpenseRateCategory.md +12 -0
  168. data/docs/ListResponseTravelExpenseRateCategoryGroup.md +12 -0
  169. data/docs/ListResponseTravelPaymentType.md +12 -0
  170. data/docs/ListResponseVatType.md +12 -0
  171. data/docs/ListResponseVoucher.md +12 -0
  172. data/docs/ListResponseVoucherType.md +12 -0
  173. data/docs/ListResponseWeeklyStatus.md +12 -0
  174. data/docs/ListResponseWorkingHoursScheme.md +12 -0
  175. data/docs/LoggedInUserInfoDTO.md +12 -0
  176. data/docs/MaventaEventDataDTO.md +13 -0
  177. data/docs/MaventaStatusDTO.md +11 -0
  178. data/docs/MileageAllowance.md +22 -0
  179. data/docs/MobileAppLogin.md +11 -0
  180. data/docs/Modules.md +18 -0
  181. data/docs/MonthlyStatus.md +21 -0
  182. data/docs/Notification.md +16 -0
  183. data/docs/OccupationCode.md +13 -0
  184. data/docs/Order.md +44 -0
  185. data/docs/OrderApi.md +319 -0
  186. data/docs/OrderLine.md +28 -0
  187. data/docs/OrderOffer.md +15 -0
  188. data/docs/OrderorderlineApi.md +229 -0
  189. data/docs/Passenger.md +13 -0
  190. data/docs/PaymentType.md +17 -0
  191. data/docs/PaymentTypeOut.md +21 -0
  192. data/docs/Payslip.md +20 -0
  193. data/docs/PerDiemCompensation.md +24 -0
  194. data/docs/PersonAutoCompleteDTO.md +23 -0
  195. data/docs/Posting.md +32 -0
  196. data/docs/Product.md +24 -0
  197. data/docs/ProductApi.md +272 -0
  198. data/docs/ProductUnit.md +14 -0
  199. data/docs/ProductunitApi.md +135 -0
  200. data/docs/Project.md +32 -0
  201. data/docs/ProjectApi.md +603 -0
  202. data/docs/ProjectCategory.md +14 -0
  203. data/docs/ProjectInvoiceDetails.md +29 -0
  204. data/docs/ProjectOrderLine.md +26 -0
  205. data/docs/ProjectParticipant.md +14 -0
  206. data/docs/ProjectcategoryApi.md +248 -0
  207. data/docs/ProjectorderlineApi.md +287 -0
  208. data/docs/ProjectparticipantApi.md +287 -0
  209. data/docs/Prospect.md +28 -0
  210. data/docs/Reminder.md +28 -0
  211. data/docs/ReminderApi.md +143 -0
  212. data/docs/RemunerationType.md +14 -0
  213. data/docs/ResponseWrapperAccommodationAllowance.md +8 -0
  214. data/docs/ResponseWrapperAccount.md +8 -0
  215. data/docs/ResponseWrapperAccountingPeriod.md +8 -0
  216. data/docs/ResponseWrapperActivity.md +8 -0
  217. data/docs/ResponseWrapperAddress.md +8 -0
  218. data/docs/ResponseWrapperAnnualAccount.md +8 -0
  219. data/docs/ResponseWrapperApiConsumer.md +8 -0
  220. data/docs/ResponseWrapperAppSpecific.md +8 -0
  221. data/docs/ResponseWrapperBankReconciliation.md +8 -0
  222. data/docs/ResponseWrapperBankReconciliationMatch.md +8 -0
  223. data/docs/ResponseWrapperBankReconciliationPaymentType.md +8 -0
  224. data/docs/ResponseWrapperBankStatement.md +8 -0
  225. data/docs/ResponseWrapperBankTransaction.md +8 -0
  226. data/docs/ResponseWrapperBanner.md +8 -0
  227. data/docs/ResponseWrapperBoolean.md +8 -0
  228. data/docs/ResponseWrapperCloseGroup.md +8 -0
  229. data/docs/ResponseWrapperCompany.md +8 -0
  230. data/docs/ResponseWrapperConsumerToken.md +8 -0
  231. data/docs/ResponseWrapperContact.md +8 -0
  232. data/docs/ResponseWrapperCost.md +8 -0
  233. data/docs/ResponseWrapperCountry.md +8 -0
  234. data/docs/ResponseWrapperCurrency.md +8 -0
  235. data/docs/ResponseWrapperCustomer.md +8 -0
  236. data/docs/ResponseWrapperCustomerCategory.md +8 -0
  237. data/docs/ResponseWrapperDepartment.md +8 -0
  238. data/docs/ResponseWrapperDocument.md +8 -0
  239. data/docs/ResponseWrapperDouble.md +8 -0
  240. data/docs/ResponseWrapperEmployee.md +8 -0
  241. data/docs/ResponseWrapperEmployeeToken.md +8 -0
  242. data/docs/ResponseWrapperEmployment.md +8 -0
  243. data/docs/ResponseWrapperEmploymentDetails.md +8 -0
  244. data/docs/ResponseWrapperEntitlement.md +8 -0
  245. data/docs/ResponseWrapperInteger.md +8 -0
  246. data/docs/ResponseWrapperInventory.md +8 -0
  247. data/docs/ResponseWrapperInvoice.md +8 -0
  248. data/docs/ResponseWrapperLeaveOfAbsence.md +8 -0
  249. data/docs/ResponseWrapperListJob.md +8 -0
  250. data/docs/ResponseWrapperLoggedInUserInfoDTO.md +8 -0
  251. data/docs/ResponseWrapperMapStringEventInfoDescription.md +8 -0
  252. data/docs/ResponseWrapperMileageAllowance.md +8 -0
  253. data/docs/ResponseWrapperModules.md +8 -0
  254. data/docs/ResponseWrapperMonthlyStatus.md +8 -0
  255. data/docs/ResponseWrapperNotification.md +8 -0
  256. data/docs/ResponseWrapperObject.md +8 -0
  257. data/docs/ResponseWrapperOrder.md +8 -0
  258. data/docs/ResponseWrapperOrderLine.md +8 -0
  259. data/docs/ResponseWrapperOrderOffer.md +8 -0
  260. data/docs/ResponseWrapperPassenger.md +8 -0
  261. data/docs/ResponseWrapperPaymentType.md +8 -0
  262. data/docs/ResponseWrapperPaymentTypeOut.md +8 -0
  263. data/docs/ResponseWrapperPayslip.md +8 -0
  264. data/docs/ResponseWrapperPerDiemCompensation.md +8 -0
  265. data/docs/ResponseWrapperPosting.md +8 -0
  266. data/docs/ResponseWrapperProduct.md +8 -0
  267. data/docs/ResponseWrapperProductUnit.md +8 -0
  268. data/docs/ResponseWrapperProject.md +8 -0
  269. data/docs/ResponseWrapperProjectCategory.md +8 -0
  270. data/docs/ResponseWrapperProjectInvoiceDetails.md +8 -0
  271. data/docs/ResponseWrapperProjectOrderLine.md +8 -0
  272. data/docs/ResponseWrapperProjectParticipant.md +8 -0
  273. data/docs/ResponseWrapperProspect.md +8 -0
  274. data/docs/ResponseWrapperReminder.md +8 -0
  275. data/docs/ResponseWrapperSalarySpecification.md +8 -0
  276. data/docs/ResponseWrapperSalaryTransaction.md +8 -0
  277. data/docs/ResponseWrapperSalaryType.md +8 -0
  278. data/docs/ResponseWrapperSessionToken.md +8 -0
  279. data/docs/ResponseWrapperStandardTime.md +8 -0
  280. data/docs/ResponseWrapperString.md +8 -0
  281. data/docs/ResponseWrapperSubscription.md +8 -0
  282. data/docs/ResponseWrapperSupplier.md +8 -0
  283. data/docs/ResponseWrapperSystemMessage.md +8 -0
  284. data/docs/ResponseWrapperTimeClock.md +8 -0
  285. data/docs/ResponseWrapperTimesheetEntry.md +8 -0
  286. data/docs/ResponseWrapperTravelCostCategory.md +8 -0
  287. data/docs/ResponseWrapperTravelExpense.md +8 -0
  288. data/docs/ResponseWrapperTravelExpenseRate.md +8 -0
  289. data/docs/ResponseWrapperTravelExpenseRateCategory.md +8 -0
  290. data/docs/ResponseWrapperTravelExpenseRateCategoryGroup.md +8 -0
  291. data/docs/ResponseWrapperTravelPaymentType.md +8 -0
  292. data/docs/ResponseWrapperTripDTO.md +8 -0
  293. data/docs/ResponseWrapperTripletexAccountReturn.md +8 -0
  294. data/docs/ResponseWrapperUnreadCountDTO.md +8 -0
  295. data/docs/ResponseWrapperVatType.md +8 -0
  296. data/docs/ResponseWrapperVoucher.md +8 -0
  297. data/docs/ResponseWrapperVoucherType.md +8 -0
  298. data/docs/ResponseWrapperWeeklyStatus.md +8 -0
  299. data/docs/Result.md +17 -0
  300. data/docs/SalarySpecification.md +22 -0
  301. data/docs/SalaryTransaction.md +15 -0
  302. data/docs/SalaryType.md +14 -0
  303. data/docs/SalarypayslipApi.md +203 -0
  304. data/docs/SalarytransactionApi.md +176 -0
  305. data/docs/SalarytypeApi.md +135 -0
  306. data/docs/SearchCompletionDTO.md +18 -0
  307. data/docs/SessionToken.md +16 -0
  308. data/docs/SmartScanWebhook.md +10 -0
  309. data/docs/StandardTime.md +14 -0
  310. data/docs/Subscription.md +15 -0
  311. data/docs/Supplier.md +32 -0
  312. data/docs/SupplierApi.md +366 -0
  313. data/docs/SupplierBalance.md +13 -0
  314. data/docs/SystemMessage.md +8 -0
  315. data/docs/TimeClock.md +19 -0
  316. data/docs/TimesheetEntry.md +21 -0
  317. data/docs/TimesheetEntrySearchResponse.md +13 -0
  318. data/docs/TimesheetentryApi.md +613 -0
  319. data/docs/TimesheettimeClockApi.md +377 -0
  320. data/docs/TokenconsumerApi.md +66 -0
  321. data/docs/TokenemployeeApi.md +74 -0
  322. data/docs/TokensessionApi.md +170 -0
  323. data/docs/TravelCostCategory.md +18 -0
  324. data/docs/TravelDetails.md +18 -0
  325. data/docs/TravelExpense.md +47 -0
  326. data/docs/TravelExpenseApi.md +639 -0
  327. data/docs/TravelExpenseRate.md +17 -0
  328. data/docs/TravelExpenseRateCategory.md +23 -0
  329. data/docs/TravelExpenseRateCategoryGroup.md +15 -0
  330. data/docs/TravelExpenseaccommodationAllowanceApi.md +315 -0
  331. data/docs/TravelExpensecostApi.md +315 -0
  332. data/docs/TravelExpensecostCategoryApi.md +131 -0
  333. data/docs/TravelExpensemileageAllowanceApi.md +321 -0
  334. data/docs/TravelExpensepassengerApi.md +297 -0
  335. data/docs/TravelExpensepaymentTypeApi.md +131 -0
  336. data/docs/TravelExpenseperDiemCompensationApi.md +323 -0
  337. data/docs/TravelExpenserateApi.md +147 -0
  338. data/docs/TravelExpenserateCategoryApi.md +151 -0
  339. data/docs/TravelExpenserateCategoryGroupApi.md +135 -0
  340. data/docs/TravelPaymentType.md +16 -0
  341. data/docs/TriggerDTO.md +13 -0
  342. data/docs/TripDTO.md +10 -0
  343. data/docs/TripletexAccount.md +21 -0
  344. data/docs/TripletexAccountReturn.md +12 -0
  345. data/docs/UnreadCountDTO.md +9 -0
  346. data/docs/VNTCStatusDTO.md +13 -0
  347. data/docs/VatType.md +14 -0
  348. data/docs/Voucher.md +21 -0
  349. data/docs/VoucherSearchResponse.md +13 -0
  350. data/docs/VoucherType.md +12 -0
  351. data/docs/WeeklyStatus.md +18 -0
  352. data/docs/WorkingHoursScheme.md +14 -0
  353. data/git_push.sh +55 -0
  354. data/lib/tripletex_api.rb +386 -0
  355. data/lib/tripletex_api/api/activity_api.rb +228 -0
  356. data/lib/tripletex_api/api/address_api.rb +207 -0
  357. data/lib/tripletex_api/api/bank_api.rb +86 -0
  358. data/lib/tripletex_api/api/bankreconciliation_api.rb +431 -0
  359. data/lib/tripletex_api/api/bankreconciliationmatch_api.rb +346 -0
  360. data/lib/tripletex_api/api/bankreconciliationpayment_type_api.rb +140 -0
  361. data/lib/tripletex_api/api/bankstatement_api.rb +255 -0
  362. data/lib/tripletex_api/api/bankstatementtransaction_api.rb +197 -0
  363. data/lib/tripletex_api/api/company_api.rb +191 -0
  364. data/lib/tripletex_api/api/contact_api.rb +253 -0
  365. data/lib/tripletex_api/api/country_api.rb +140 -0
  366. data/lib/tripletex_api/api/crmprospect_api.rb +176 -0
  367. data/lib/tripletex_api/api/currency_api.rb +140 -0
  368. data/lib/tripletex_api/api/customer_api.rb +357 -0
  369. data/lib/tripletex_api/api/customercategory_api.rb +253 -0
  370. data/lib/tripletex_api/api/department_api.rb +348 -0
  371. data/lib/tripletex_api/api/document_api.rb +130 -0
  372. data/lib/tripletex_api/api/employee_api.rb +311 -0
  373. data/lib/tripletex_api/api/employeeemployment_api.rb +241 -0
  374. data/lib/tripletex_api/api/employeeemploymentdetails_api.rb +241 -0
  375. data/lib/tripletex_api/api/employeeemploymentemployment_type_api.rb +80 -0
  376. data/lib/tripletex_api/api/employeeemploymentleave_of_absence_api.rb +181 -0
  377. data/lib/tripletex_api/api/employeeemploymentleave_of_absence_type_api.rb +80 -0
  378. data/lib/tripletex_api/api/employeeemploymentoccupation_code_api.rb +86 -0
  379. data/lib/tripletex_api/api/employeeemploymentremuneration_type_api.rb +80 -0
  380. data/lib/tripletex_api/api/employeeemploymentworking_hours_scheme_api.rb +80 -0
  381. data/lib/tripletex_api/api/employeeentitlement_api.rb +334 -0
  382. data/lib/tripletex_api/api/employeestandard_time_api.rb +241 -0
  383. data/lib/tripletex_api/api/event_api.rb +71 -0
  384. data/lib/tripletex_api/api/eventsubscription_api.rb +286 -0
  385. data/lib/tripletex_api/api/inventory_api.rb +146 -0
  386. data/lib/tripletex_api/api/invoice_api.rb +562 -0
  387. data/lib/tripletex_api/api/invoicedetails_api.rb +77 -0
  388. data/lib/tripletex_api/api/invoicepayment_type_api.rb +140 -0
  389. data/lib/tripletex_api/api/ledger_api.rb +203 -0
  390. data/lib/tripletex_api/api/ledgeraccount_api.rb +446 -0
  391. data/lib/tripletex_api/api/ledgeraccounting_period_api.rb +155 -0
  392. data/lib/tripletex_api/api/ledgerannual_account_api.rb +143 -0
  393. data/lib/tripletex_api/api/ledgerclose_group_api.rb +151 -0
  394. data/lib/tripletex_api/api/ledgerpayment_type_out_api.rb +395 -0
  395. data/lib/tripletex_api/api/ledgerposting_api.rb +257 -0
  396. data/lib/tripletex_api/api/ledgervat_type_api.rb +140 -0
  397. data/lib/tripletex_api/api/ledgervoucher_api.rb +873 -0
  398. data/lib/tripletex_api/api/ledgervoucher_type_api.rb +137 -0
  399. data/lib/tripletex_api/api/order_api.rb +331 -0
  400. data/lib/tripletex_api/api/orderorderline_api.rb +225 -0
  401. data/lib/tripletex_api/api/product_api.rb +286 -0
  402. data/lib/tripletex_api/api/productunit_api.rb +146 -0
  403. data/lib/tripletex_api/api/project_api.rb +590 -0
  404. data/lib/tripletex_api/api/projectcategory_api.rb +250 -0
  405. data/lib/tripletex_api/api/projectorderline_api.rb +280 -0
  406. data/lib/tripletex_api/api/projectparticipant_api.rb +281 -0
  407. data/lib/tripletex_api/api/reminder_api.rb +163 -0
  408. data/lib/tripletex_api/api/salarypayslip_api.rb +220 -0
  409. data/lib/tripletex_api/api/salarytransaction_api.rb +179 -0
  410. data/lib/tripletex_api/api/salarytype_api.rb +146 -0
  411. data/lib/tripletex_api/api/supplier_api.rb +360 -0
  412. data/lib/tripletex_api/api/timesheetentry_api.rb +602 -0
  413. data/lib/tripletex_api/api/timesheettime_clock_api.rb +378 -0
  414. data/lib/tripletex_api/api/tokenconsumer_api.rb +78 -0
  415. data/lib/tripletex_api/api/tokenemployee_api.rb +103 -0
  416. data/lib/tripletex_api/api/tokensession_api.rb +187 -0
  417. data/lib/tripletex_api/api/travel_expense_api.rb +615 -0
  418. data/lib/tripletex_api/api/travel_expenseaccommodation_allowance_api.rb +321 -0
  419. data/lib/tripletex_api/api/travel_expensecost_api.rb +321 -0
  420. data/lib/tripletex_api/api/travel_expensecost_category_api.rb +140 -0
  421. data/lib/tripletex_api/api/travel_expensemileage_allowance_api.rb +330 -0
  422. data/lib/tripletex_api/api/travel_expensepassenger_api.rb +294 -0
  423. data/lib/tripletex_api/api/travel_expensepayment_type_api.rb +140 -0
  424. data/lib/tripletex_api/api/travel_expenseper_diem_compensation_api.rb +336 -0
  425. data/lib/tripletex_api/api/travel_expenserate_api.rb +167 -0
  426. data/lib/tripletex_api/api/travel_expenserate_category_api.rb +173 -0
  427. data/lib/tripletex_api/api/travel_expenserate_category_group_api.rb +146 -0
  428. data/lib/tripletex_api/api_client.rb +389 -0
  429. data/lib/tripletex_api/api_error.rb +38 -0
  430. data/lib/tripletex_api/configuration.rb +209 -0
  431. data/lib/tripletex_api/models/abstract_dto.rb +197 -0
  432. data/lib/tripletex_api/models/accommodation_allowance.rb +322 -0
  433. data/lib/tripletex_api/models/account.rb +545 -0
  434. data/lib/tripletex_api/models/accounting_period.rb +305 -0
  435. data/lib/tripletex_api/models/activity.rb +320 -0
  436. data/lib/tripletex_api/models/address.rb +396 -0
  437. data/lib/tripletex_api/models/annual_account.rb +244 -0
  438. data/lib/tripletex_api/models/api_consumer.rb +292 -0
  439. data/lib/tripletex_api/models/api_error.rb +244 -0
  440. data/lib/tripletex_api/models/api_validation_message.rb +197 -0
  441. data/lib/tripletex_api/models/app_specific.rb +245 -0
  442. data/lib/tripletex_api/models/bank.rb +288 -0
  443. data/lib/tripletex_api/models/bank_reconciliation.rb +310 -0
  444. data/lib/tripletex_api/models/bank_reconciliation_match.rb +298 -0
  445. data/lib/tripletex_api/models/bank_reconciliation_payment_type.rb +274 -0
  446. data/lib/tripletex_api/models/bank_statement.rb +259 -0
  447. data/lib/tripletex_api/models/bank_transaction.rb +269 -0
  448. data/lib/tripletex_api/models/banner.rb +374 -0
  449. data/lib/tripletex_api/models/change.rb +239 -0
  450. data/lib/tripletex_api/models/close_group.rb +237 -0
  451. data/lib/tripletex_api/models/company.rb +446 -0
  452. data/lib/tripletex_api/models/company_auto_complete_dto.rb +346 -0
  453. data/lib/tripletex_api/models/consumer_token.rb +260 -0
  454. data/lib/tripletex_api/models/contact.rb +369 -0
  455. data/lib/tripletex_api/models/cost.rb +401 -0
  456. data/lib/tripletex_api/models/country.rb +226 -0
  457. data/lib/tripletex_api/models/csv_record.rb +208 -0
  458. data/lib/tripletex_api/models/currency.rb +267 -0
  459. data/lib/tripletex_api/models/customer.rb +574 -0
  460. data/lib/tripletex_api/models/customer_category.rb +318 -0
  461. data/lib/tripletex_api/models/customer_tripletex_account.rb +407 -0
  462. data/lib/tripletex_api/models/department.rb +302 -0
  463. data/lib/tripletex_api/models/document.rb +285 -0
  464. data/lib/tripletex_api/models/employee.rb +566 -0
  465. data/lib/tripletex_api/models/employee_token.rb +269 -0
  466. data/lib/tripletex_api/models/employment.rb +305 -0
  467. data/lib/tripletex_api/models/employment_details.rb +307 -0
  468. data/lib/tripletex_api/models/employment_type.rb +315 -0
  469. data/lib/tripletex_api/models/entitlement.rb +272 -0
  470. data/lib/tripletex_api/models/event_info_description.rb +197 -0
  471. data/lib/tripletex_api/models/import_config_dto.rb +212 -0
  472. data/lib/tripletex_api/models/import_report_dto.rb +326 -0
  473. data/lib/tripletex_api/models/inventory.rb +315 -0
  474. data/lib/tripletex_api/models/invoice.rb +541 -0
  475. data/lib/tripletex_api/models/job.rb +239 -0
  476. data/lib/tripletex_api/models/job_detail_dto.rb +226 -0
  477. data/lib/tripletex_api/models/leave_of_absence.rb +314 -0
  478. data/lib/tripletex_api/models/leave_of_absence_type.rb +315 -0
  479. data/lib/tripletex_api/models/ledger_account.rb +263 -0
  480. data/lib/tripletex_api/models/link.rb +239 -0
  481. data/lib/tripletex_api/models/list_response_accommodation_allowance.rb +228 -0
  482. data/lib/tripletex_api/models/list_response_account.rb +228 -0
  483. data/lib/tripletex_api/models/list_response_accounting_period.rb +228 -0
  484. data/lib/tripletex_api/models/list_response_activity.rb +228 -0
  485. data/lib/tripletex_api/models/list_response_address.rb +228 -0
  486. data/lib/tripletex_api/models/list_response_annual_account.rb +228 -0
  487. data/lib/tripletex_api/models/list_response_bank.rb +228 -0
  488. data/lib/tripletex_api/models/list_response_bank_reconciliation.rb +228 -0
  489. data/lib/tripletex_api/models/list_response_bank_reconciliation_match.rb +228 -0
  490. data/lib/tripletex_api/models/list_response_bank_reconciliation_payment_type.rb +228 -0
  491. data/lib/tripletex_api/models/list_response_bank_statement.rb +228 -0
  492. data/lib/tripletex_api/models/list_response_bank_transaction.rb +228 -0
  493. data/lib/tripletex_api/models/list_response_banner.rb +228 -0
  494. data/lib/tripletex_api/models/list_response_close_group.rb +228 -0
  495. data/lib/tripletex_api/models/list_response_company.rb +228 -0
  496. data/lib/tripletex_api/models/list_response_company_auto_complete_dto.rb +228 -0
  497. data/lib/tripletex_api/models/list_response_contact.rb +228 -0
  498. data/lib/tripletex_api/models/list_response_cost.rb +228 -0
  499. data/lib/tripletex_api/models/list_response_country.rb +228 -0
  500. data/lib/tripletex_api/models/list_response_currency.rb +228 -0
  501. data/lib/tripletex_api/models/list_response_customer.rb +228 -0
  502. data/lib/tripletex_api/models/list_response_customer_category.rb +228 -0
  503. data/lib/tripletex_api/models/list_response_department.rb +228 -0
  504. data/lib/tripletex_api/models/list_response_employee.rb +228 -0
  505. data/lib/tripletex_api/models/list_response_employment.rb +228 -0
  506. data/lib/tripletex_api/models/list_response_employment_details.rb +228 -0
  507. data/lib/tripletex_api/models/list_response_employment_type.rb +228 -0
  508. data/lib/tripletex_api/models/list_response_entitlement.rb +228 -0
  509. data/lib/tripletex_api/models/list_response_inventory.rb +228 -0
  510. data/lib/tripletex_api/models/list_response_invoice.rb +228 -0
  511. data/lib/tripletex_api/models/list_response_leave_of_absence_type.rb +228 -0
  512. data/lib/tripletex_api/models/list_response_ledger_account.rb +228 -0
  513. data/lib/tripletex_api/models/list_response_mileage_allowance.rb +228 -0
  514. data/lib/tripletex_api/models/list_response_notification.rb +228 -0
  515. data/lib/tripletex_api/models/list_response_occupation_code.rb +228 -0
  516. data/lib/tripletex_api/models/list_response_order.rb +228 -0
  517. data/lib/tripletex_api/models/list_response_order_line.rb +228 -0
  518. data/lib/tripletex_api/models/list_response_order_offer.rb +228 -0
  519. data/lib/tripletex_api/models/list_response_passenger.rb +228 -0
  520. data/lib/tripletex_api/models/list_response_payment_type.rb +228 -0
  521. data/lib/tripletex_api/models/list_response_payment_type_out.rb +228 -0
  522. data/lib/tripletex_api/models/list_response_payslip.rb +228 -0
  523. data/lib/tripletex_api/models/list_response_per_diem_compensation.rb +228 -0
  524. data/lib/tripletex_api/models/list_response_person_auto_complete_dto.rb +228 -0
  525. data/lib/tripletex_api/models/list_response_posting.rb +228 -0
  526. data/lib/tripletex_api/models/list_response_product.rb +228 -0
  527. data/lib/tripletex_api/models/list_response_product_unit.rb +228 -0
  528. data/lib/tripletex_api/models/list_response_project.rb +228 -0
  529. data/lib/tripletex_api/models/list_response_project_category.rb +228 -0
  530. data/lib/tripletex_api/models/list_response_project_order_line.rb +228 -0
  531. data/lib/tripletex_api/models/list_response_project_participant.rb +228 -0
  532. data/lib/tripletex_api/models/list_response_prospect.rb +228 -0
  533. data/lib/tripletex_api/models/list_response_reminder.rb +228 -0
  534. data/lib/tripletex_api/models/list_response_remuneration_type.rb +228 -0
  535. data/lib/tripletex_api/models/list_response_salary_specification.rb +228 -0
  536. data/lib/tripletex_api/models/list_response_salary_transaction.rb +228 -0
  537. data/lib/tripletex_api/models/list_response_salary_type.rb +228 -0
  538. data/lib/tripletex_api/models/list_response_search_completion_dto.rb +228 -0
  539. data/lib/tripletex_api/models/list_response_standard_time.rb +228 -0
  540. data/lib/tripletex_api/models/list_response_subscription.rb +228 -0
  541. data/lib/tripletex_api/models/list_response_supplier.rb +228 -0
  542. data/lib/tripletex_api/models/list_response_supplier_balance.rb +228 -0
  543. data/lib/tripletex_api/models/list_response_time_clock.rb +228 -0
  544. data/lib/tripletex_api/models/list_response_timesheet_entry.rb +228 -0
  545. data/lib/tripletex_api/models/list_response_travel_cost_category.rb +228 -0
  546. data/lib/tripletex_api/models/list_response_travel_expense.rb +228 -0
  547. data/lib/tripletex_api/models/list_response_travel_expense_rate.rb +228 -0
  548. data/lib/tripletex_api/models/list_response_travel_expense_rate_category.rb +228 -0
  549. data/lib/tripletex_api/models/list_response_travel_expense_rate_category_group.rb +228 -0
  550. data/lib/tripletex_api/models/list_response_travel_payment_type.rb +228 -0
  551. data/lib/tripletex_api/models/list_response_vat_type.rb +228 -0
  552. data/lib/tripletex_api/models/list_response_voucher.rb +228 -0
  553. data/lib/tripletex_api/models/list_response_voucher_type.rb +228 -0
  554. data/lib/tripletex_api/models/list_response_weekly_status.rb +228 -0
  555. data/lib/tripletex_api/models/list_response_working_hours_scheme.rb +228 -0
  556. data/lib/tripletex_api/models/logged_in_user_info_dto.rb +224 -0
  557. data/lib/tripletex_api/models/maventa_event_data_dto.rb +258 -0
  558. data/lib/tripletex_api/models/maventa_status_dto.rb +235 -0
  559. data/lib/tripletex_api/models/mileage_allowance.rb +336 -0
  560. data/lib/tripletex_api/models/mobile_app_login.rb +239 -0
  561. data/lib/tripletex_api/models/modules.rb +308 -0
  562. data/lib/tripletex_api/models/monthly_status.rb +316 -0
  563. data/lib/tripletex_api/models/notification.rb +355 -0
  564. data/lib/tripletex_api/models/occupation_code.rb +267 -0
  565. data/lib/tripletex_api/models/order.rb +788 -0
  566. data/lib/tripletex_api/models/order_line.rb +385 -0
  567. data/lib/tripletex_api/models/order_offer.rb +270 -0
  568. data/lib/tripletex_api/models/passenger.rb +259 -0
  569. data/lib/tripletex_api/models/payment_type.rb +295 -0
  570. data/lib/tripletex_api/models/payment_type_out.rb +358 -0
  571. data/lib/tripletex_api/models/payslip.rb +307 -0
  572. data/lib/tripletex_api/models/per_diem_compensation.rb +398 -0
  573. data/lib/tripletex_api/models/person_auto_complete_dto.rb +346 -0
  574. data/lib/tripletex_api/models/posting.rb +440 -0
  575. data/lib/tripletex_api/models/product.rb +373 -0
  576. data/lib/tripletex_api/models/product_unit.rb +292 -0
  577. data/lib/tripletex_api/models/project.rb +528 -0
  578. data/lib/tripletex_api/models/project_category.rb +293 -0
  579. data/lib/tripletex_api/models/project_invoice_details.rb +413 -0
  580. data/lib/tripletex_api/models/project_order_line.rb +371 -0
  581. data/lib/tripletex_api/models/project_participant.rb +246 -0
  582. data/lib/tripletex_api/models/prospect.rb +448 -0
  583. data/lib/tripletex_api/models/reminder.rb +509 -0
  584. data/lib/tripletex_api/models/remuneration_type.rb +315 -0
  585. data/lib/tripletex_api/models/response_wrapper_accommodation_allowance.rb +188 -0
  586. data/lib/tripletex_api/models/response_wrapper_account.rb +188 -0
  587. data/lib/tripletex_api/models/response_wrapper_accounting_period.rb +188 -0
  588. data/lib/tripletex_api/models/response_wrapper_activity.rb +188 -0
  589. data/lib/tripletex_api/models/response_wrapper_address.rb +188 -0
  590. data/lib/tripletex_api/models/response_wrapper_annual_account.rb +188 -0
  591. data/lib/tripletex_api/models/response_wrapper_api_consumer.rb +188 -0
  592. data/lib/tripletex_api/models/response_wrapper_app_specific.rb +188 -0
  593. data/lib/tripletex_api/models/response_wrapper_bank_reconciliation.rb +188 -0
  594. data/lib/tripletex_api/models/response_wrapper_bank_reconciliation_match.rb +188 -0
  595. data/lib/tripletex_api/models/response_wrapper_bank_reconciliation_payment_type.rb +188 -0
  596. data/lib/tripletex_api/models/response_wrapper_bank_statement.rb +188 -0
  597. data/lib/tripletex_api/models/response_wrapper_bank_transaction.rb +188 -0
  598. data/lib/tripletex_api/models/response_wrapper_banner.rb +188 -0
  599. data/lib/tripletex_api/models/response_wrapper_boolean.rb +190 -0
  600. data/lib/tripletex_api/models/response_wrapper_close_group.rb +188 -0
  601. data/lib/tripletex_api/models/response_wrapper_company.rb +188 -0
  602. data/lib/tripletex_api/models/response_wrapper_consumer_token.rb +188 -0
  603. data/lib/tripletex_api/models/response_wrapper_contact.rb +188 -0
  604. data/lib/tripletex_api/models/response_wrapper_cost.rb +188 -0
  605. data/lib/tripletex_api/models/response_wrapper_country.rb +188 -0
  606. data/lib/tripletex_api/models/response_wrapper_currency.rb +188 -0
  607. data/lib/tripletex_api/models/response_wrapper_customer.rb +188 -0
  608. data/lib/tripletex_api/models/response_wrapper_customer_category.rb +188 -0
  609. data/lib/tripletex_api/models/response_wrapper_department.rb +188 -0
  610. data/lib/tripletex_api/models/response_wrapper_document.rb +188 -0
  611. data/lib/tripletex_api/models/response_wrapper_double.rb +188 -0
  612. data/lib/tripletex_api/models/response_wrapper_employee.rb +188 -0
  613. data/lib/tripletex_api/models/response_wrapper_employee_token.rb +188 -0
  614. data/lib/tripletex_api/models/response_wrapper_employment.rb +188 -0
  615. data/lib/tripletex_api/models/response_wrapper_employment_details.rb +188 -0
  616. data/lib/tripletex_api/models/response_wrapper_entitlement.rb +188 -0
  617. data/lib/tripletex_api/models/response_wrapper_integer.rb +188 -0
  618. data/lib/tripletex_api/models/response_wrapper_inventory.rb +188 -0
  619. data/lib/tripletex_api/models/response_wrapper_invoice.rb +188 -0
  620. data/lib/tripletex_api/models/response_wrapper_leave_of_absence.rb +188 -0
  621. data/lib/tripletex_api/models/response_wrapper_list_job.rb +190 -0
  622. data/lib/tripletex_api/models/response_wrapper_logged_in_user_info_dto.rb +188 -0
  623. data/lib/tripletex_api/models/response_wrapper_map_string_event_info_description.rb +190 -0
  624. data/lib/tripletex_api/models/response_wrapper_mileage_allowance.rb +188 -0
  625. data/lib/tripletex_api/models/response_wrapper_modules.rb +188 -0
  626. data/lib/tripletex_api/models/response_wrapper_monthly_status.rb +188 -0
  627. data/lib/tripletex_api/models/response_wrapper_notification.rb +188 -0
  628. data/lib/tripletex_api/models/response_wrapper_object.rb +188 -0
  629. data/lib/tripletex_api/models/response_wrapper_order.rb +188 -0
  630. data/lib/tripletex_api/models/response_wrapper_order_line.rb +188 -0
  631. data/lib/tripletex_api/models/response_wrapper_order_offer.rb +188 -0
  632. data/lib/tripletex_api/models/response_wrapper_passenger.rb +188 -0
  633. data/lib/tripletex_api/models/response_wrapper_payment_type.rb +188 -0
  634. data/lib/tripletex_api/models/response_wrapper_payment_type_out.rb +188 -0
  635. data/lib/tripletex_api/models/response_wrapper_payslip.rb +188 -0
  636. data/lib/tripletex_api/models/response_wrapper_per_diem_compensation.rb +188 -0
  637. data/lib/tripletex_api/models/response_wrapper_posting.rb +188 -0
  638. data/lib/tripletex_api/models/response_wrapper_product.rb +188 -0
  639. data/lib/tripletex_api/models/response_wrapper_product_unit.rb +188 -0
  640. data/lib/tripletex_api/models/response_wrapper_project.rb +188 -0
  641. data/lib/tripletex_api/models/response_wrapper_project_category.rb +188 -0
  642. data/lib/tripletex_api/models/response_wrapper_project_invoice_details.rb +188 -0
  643. data/lib/tripletex_api/models/response_wrapper_project_order_line.rb +188 -0
  644. data/lib/tripletex_api/models/response_wrapper_project_participant.rb +188 -0
  645. data/lib/tripletex_api/models/response_wrapper_prospect.rb +188 -0
  646. data/lib/tripletex_api/models/response_wrapper_reminder.rb +188 -0
  647. data/lib/tripletex_api/models/response_wrapper_salary_specification.rb +188 -0
  648. data/lib/tripletex_api/models/response_wrapper_salary_transaction.rb +188 -0
  649. data/lib/tripletex_api/models/response_wrapper_salary_type.rb +188 -0
  650. data/lib/tripletex_api/models/response_wrapper_session_token.rb +188 -0
  651. data/lib/tripletex_api/models/response_wrapper_standard_time.rb +188 -0
  652. data/lib/tripletex_api/models/response_wrapper_string.rb +188 -0
  653. data/lib/tripletex_api/models/response_wrapper_subscription.rb +188 -0
  654. data/lib/tripletex_api/models/response_wrapper_supplier.rb +188 -0
  655. data/lib/tripletex_api/models/response_wrapper_system_message.rb +188 -0
  656. data/lib/tripletex_api/models/response_wrapper_time_clock.rb +188 -0
  657. data/lib/tripletex_api/models/response_wrapper_timesheet_entry.rb +188 -0
  658. data/lib/tripletex_api/models/response_wrapper_travel_cost_category.rb +188 -0
  659. data/lib/tripletex_api/models/response_wrapper_travel_expense.rb +188 -0
  660. data/lib/tripletex_api/models/response_wrapper_travel_expense_rate.rb +188 -0
  661. data/lib/tripletex_api/models/response_wrapper_travel_expense_rate_category.rb +188 -0
  662. data/lib/tripletex_api/models/response_wrapper_travel_expense_rate_category_group.rb +188 -0
  663. data/lib/tripletex_api/models/response_wrapper_travel_payment_type.rb +188 -0
  664. data/lib/tripletex_api/models/response_wrapper_trip_dto.rb +188 -0
  665. data/lib/tripletex_api/models/response_wrapper_tripletex_account_return.rb +188 -0
  666. data/lib/tripletex_api/models/response_wrapper_unread_count_dto.rb +188 -0
  667. data/lib/tripletex_api/models/response_wrapper_vat_type.rb +188 -0
  668. data/lib/tripletex_api/models/response_wrapper_voucher.rb +188 -0
  669. data/lib/tripletex_api/models/response_wrapper_voucher_type.rb +188 -0
  670. data/lib/tripletex_api/models/response_wrapper_weekly_status.rb +188 -0
  671. data/lib/tripletex_api/models/result.rb +320 -0
  672. data/lib/tripletex_api/models/salary_specification.rb +331 -0
  673. data/lib/tripletex_api/models/salary_transaction.rb +272 -0
  674. data/lib/tripletex_api/models/salary_type.rb +276 -0
  675. data/lib/tripletex_api/models/search_completion_dto.rb +301 -0
  676. data/lib/tripletex_api/models/session_token.rb +299 -0
  677. data/lib/tripletex_api/models/smart_scan_webhook.rb +206 -0
  678. data/lib/tripletex_api/models/standard_time.rb +254 -0
  679. data/lib/tripletex_api/models/subscription.rb +377 -0
  680. data/lib/tripletex_api/models/supplier.rb +542 -0
  681. data/lib/tripletex_api/models/supplier_balance.rb +236 -0
  682. data/lib/tripletex_api/models/system_message.rb +188 -0
  683. data/lib/tripletex_api/models/time_clock.rb +320 -0
  684. data/lib/tripletex_api/models/timesheet_entry.rb +340 -0
  685. data/lib/tripletex_api/models/timesheet_entry_search_response.rb +237 -0
  686. data/lib/tripletex_api/models/travel_cost_category.rb +312 -0
  687. data/lib/tripletex_api/models/travel_details.rb +348 -0
  688. data/lib/tripletex_api/models/travel_expense.rb +644 -0
  689. data/lib/tripletex_api/models/travel_expense_rate.rb +281 -0
  690. data/lib/tripletex_api/models/travel_expense_rate_category.rb +396 -0
  691. data/lib/tripletex_api/models/travel_expense_rate_category_group.rb +265 -0
  692. data/lib/tripletex_api/models/travel_payment_type.rb +292 -0
  693. data/lib/tripletex_api/models/trigger_dto.rb +233 -0
  694. data/lib/tripletex_api/models/trip_dto.rb +206 -0
  695. data/lib/tripletex_api/models/tripletex_account.rb +402 -0
  696. data/lib/tripletex_api/models/tripletex_account_return.rb +224 -0
  697. data/lib/tripletex_api/models/unread_count_dto.rb +197 -0
  698. data/lib/tripletex_api/models/vat_type.rb +276 -0
  699. data/lib/tripletex_api/models/vntc_status_dto.rb +258 -0
  700. data/lib/tripletex_api/models/voucher.rb +362 -0
  701. data/lib/tripletex_api/models/voucher_search_response.rb +237 -0
  702. data/lib/tripletex_api/models/voucher_type.rb +242 -0
  703. data/lib/tripletex_api/models/weekly_status.rb +289 -0
  704. data/lib/tripletex_api/models/working_hours_scheme.rb +315 -0
  705. data/lib/tripletex_api/version.rb +15 -0
  706. data/spec/api/activity_api_spec.rb +89 -0
  707. data/spec/api/address_api_spec.rb +82 -0
  708. data/spec/api/bank_api_spec.rb +52 -0
  709. data/spec/api/bankreconciliation_api_spec.rb +132 -0
  710. data/spec/api/bankreconciliationmatch_api_spec.rb +114 -0
  711. data/spec/api/bankreconciliationpayment_type_api_spec.rb +65 -0
  712. data/spec/api/bankstatement_api_spec.rb +90 -0
  713. data/spec/api/bankstatementtransaction_api_spec.rb +77 -0
  714. data/spec/api/company_api_spec.rb +78 -0
  715. data/spec/api/contact_api_spec.rb +93 -0
  716. data/spec/api/country_api_spec.rb +65 -0
  717. data/spec/api/crmprospect_api_spec.rb +77 -0
  718. data/spec/api/currency_api_spec.rb +65 -0
  719. data/spec/api/customer_api_spec.rb +119 -0
  720. data/spec/api/customercategory_api_spec.rb +93 -0
  721. data/spec/api/department_api_spec.rb +116 -0
  722. data/spec/api/document_api_spec.rb +60 -0
  723. data/spec/api/employee_api_spec.rb +108 -0
  724. data/spec/api/employeeemployment_api_spec.rb +89 -0
  725. data/spec/api/employeeemploymentdetails_api_spec.rb +89 -0
  726. data/spec/api/employeeemploymentemployment_type_api_spec.rb +50 -0
  727. data/spec/api/employeeemploymentleave_of_absence_api_spec.rb +73 -0
  728. data/spec/api/employeeemploymentleave_of_absence_type_api_spec.rb +50 -0
  729. data/spec/api/employeeemploymentoccupation_code_api_spec.rb +52 -0
  730. data/spec/api/employeeemploymentremuneration_type_api_spec.rb +50 -0
  731. data/spec/api/employeeemploymentworking_hours_scheme_api_spec.rb +50 -0
  732. data/spec/api/employeeentitlement_api_spec.rb +109 -0
  733. data/spec/api/employeestandard_time_api_spec.rb +89 -0
  734. data/spec/api/event_api_spec.rb +47 -0
  735. data/spec/api/eventsubscription_api_spec.rb +100 -0
  736. data/spec/api/inventory_api_spec.rb +67 -0
  737. data/spec/api/invoice_api_spec.rb +159 -0
  738. data/spec/api/invoicedetails_api_spec.rb +48 -0
  739. data/spec/api/invoicepayment_type_api_spec.rb +65 -0
  740. data/spec/api/ledger_api_spec.rb +83 -0
  741. data/spec/api/ledgeraccount_api_spec.rb +139 -0
  742. data/spec/api/ledgeraccounting_period_api_spec.rb +70 -0
  743. data/spec/api/ledgerannual_account_api_spec.rb +66 -0
  744. data/spec/api/ledgerclose_group_api_spec.rb +66 -0
  745. data/spec/api/ledgerpayment_type_out_api_spec.rb +127 -0
  746. data/spec/api/ledgerposting_api_spec.rb +96 -0
  747. data/spec/api/ledgervat_type_api_spec.rb +65 -0
  748. data/spec/api/ledgervoucher_api_spec.rb +236 -0
  749. data/spec/api/ledgervoucher_type_api_spec.rb +64 -0
  750. data/spec/api/order_api_spec.rb +110 -0
  751. data/spec/api/orderorderline_api_spec.rb +84 -0
  752. data/spec/api/product_api_spec.rb +104 -0
  753. data/spec/api/productunit_api_spec.rb +67 -0
  754. data/spec/api/project_api_spec.rb +179 -0
  755. data/spec/api/projectcategory_api_spec.rb +92 -0
  756. data/spec/api/projectorderline_api_spec.rb +97 -0
  757. data/spec/api/projectparticipant_api_spec.rb +97 -0
  758. data/spec/api/reminder_api_spec.rb +70 -0
  759. data/spec/api/salarypayslip_api_spec.rb +86 -0
  760. data/spec/api/salarytransaction_api_spec.rb +73 -0
  761. data/spec/api/salarytype_api_spec.rb +67 -0
  762. data/spec/api/supplier_api_spec.rb +120 -0
  763. data/spec/api/timesheetentry_api_spec.rb +180 -0
  764. data/spec/api/timesheettime_clock_api_spec.rb +125 -0
  765. data/spec/api/tokenconsumer_api_spec.rb +48 -0
  766. data/spec/api/tokenemployee_api_spec.rb +51 -0
  767. data/spec/api/tokensession_api_spec.rb +73 -0
  768. data/spec/api/travel_expense_api_spec.rb +180 -0
  769. data/spec/api/travel_expenseaccommodation_allowance_api_spec.rb +111 -0
  770. data/spec/api/travel_expensecost_api_spec.rb +111 -0
  771. data/spec/api/travel_expensecost_category_api_spec.rb +65 -0
  772. data/spec/api/travel_expensemileage_allowance_api_spec.rb +114 -0
  773. data/spec/api/travel_expensepassenger_api_spec.rb +102 -0
  774. data/spec/api/travel_expensepayment_type_api_spec.rb +65 -0
  775. data/spec/api/travel_expenseper_diem_compensation_api_spec.rb +115 -0
  776. data/spec/api/travel_expenserate_api_spec.rb +73 -0
  777. data/spec/api/travel_expenserate_category_api_spec.rb +75 -0
  778. data/spec/api/travel_expenserate_category_group_api_spec.rb +67 -0
  779. data/spec/api_client_spec.rb +226 -0
  780. data/spec/configuration_spec.rb +42 -0
  781. data/spec/models/abstract_dto_spec.rb +48 -0
  782. data/spec/models/accommodation_allowance_spec.rb +114 -0
  783. data/spec/models/account_spec.rb +172 -0
  784. data/spec/models/accounting_period_spec.rb +90 -0
  785. data/spec/models/activity_spec.rb +102 -0
  786. data/spec/models/address_spec.rb +102 -0
  787. data/spec/models/annual_account_spec.rb +78 -0
  788. data/spec/models/api_consumer_spec.rb +72 -0
  789. data/spec/models/api_error_spec.rb +78 -0
  790. data/spec/models/api_validation_message_spec.rb +48 -0
  791. data/spec/models/app_specific_spec.rb +72 -0
  792. data/spec/models/bank_reconciliation_match_spec.rb +88 -0
  793. data/spec/models/bank_reconciliation_payment_type_spec.rb +84 -0
  794. data/spec/models/bank_reconciliation_spec.rb +114 -0
  795. data/spec/models/bank_spec.rb +82 -0
  796. data/spec/models/bank_statement_spec.rb +84 -0
  797. data/spec/models/bank_transaction_spec.rb +84 -0
  798. data/spec/models/banner_spec.rb +102 -0
  799. data/spec/models/change_spec.rb +58 -0
  800. data/spec/models/close_group_spec.rb +72 -0
  801. data/spec/models/company_auto_complete_dto_spec.rb +136 -0
  802. data/spec/models/company_spec.rb +124 -0
  803. data/spec/models/consumer_token_spec.rb +78 -0
  804. data/spec/models/contact_spec.rb +90 -0
  805. data/spec/models/cost_spec.rb +156 -0
  806. data/spec/models/country_spec.rb +66 -0
  807. data/spec/models/csv_record_spec.rb +54 -0
  808. data/spec/models/currency_spec.rb +72 -0
  809. data/spec/models/customer_category_spec.rb +84 -0
  810. data/spec/models/customer_spec.rb +186 -0
  811. data/spec/models/customer_tripletex_account_spec.rb +126 -0
  812. data/spec/models/department_spec.rb +78 -0
  813. data/spec/models/document_spec.rb +72 -0
  814. data/spec/models/employee_spec.rb +154 -0
  815. data/spec/models/employee_token_spec.rb +84 -0
  816. data/spec/models/employment_details_spec.rb +114 -0
  817. data/spec/models/employment_spec.rb +102 -0
  818. data/spec/models/employment_type_spec.rb +82 -0
  819. data/spec/models/entitlement_spec.rb +84 -0
  820. data/spec/models/event_info_description_spec.rb +48 -0
  821. data/spec/models/import_config_dto_spec.rb +54 -0
  822. data/spec/models/import_report_dto_spec.rb +126 -0
  823. data/spec/models/inventory_spec.rb +84 -0
  824. data/spec/models/invoice_spec.rb +208 -0
  825. data/spec/models/job_detail_dto_spec.rb +66 -0
  826. data/spec/models/job_spec.rb +72 -0
  827. data/spec/models/leave_of_absence_spec.rb +102 -0
  828. data/spec/models/leave_of_absence_type_spec.rb +82 -0
  829. data/spec/models/ledger_account_spec.rb +90 -0
  830. data/spec/models/link_spec.rb +58 -0
  831. data/spec/models/list_response_accommodation_allowance_spec.rb +66 -0
  832. data/spec/models/list_response_account_spec.rb +66 -0
  833. data/spec/models/list_response_accounting_period_spec.rb +66 -0
  834. data/spec/models/list_response_activity_spec.rb +66 -0
  835. data/spec/models/list_response_address_spec.rb +66 -0
  836. data/spec/models/list_response_annual_account_spec.rb +66 -0
  837. data/spec/models/list_response_bank_reconciliation_match_spec.rb +66 -0
  838. data/spec/models/list_response_bank_reconciliation_payment_type_spec.rb +66 -0
  839. data/spec/models/list_response_bank_reconciliation_spec.rb +66 -0
  840. data/spec/models/list_response_bank_spec.rb +66 -0
  841. data/spec/models/list_response_bank_statement_spec.rb +66 -0
  842. data/spec/models/list_response_bank_transaction_spec.rb +66 -0
  843. data/spec/models/list_response_banner_spec.rb +66 -0
  844. data/spec/models/list_response_close_group_spec.rb +66 -0
  845. data/spec/models/list_response_company_auto_complete_dto_spec.rb +66 -0
  846. data/spec/models/list_response_company_spec.rb +66 -0
  847. data/spec/models/list_response_contact_spec.rb +66 -0
  848. data/spec/models/list_response_cost_spec.rb +66 -0
  849. data/spec/models/list_response_country_spec.rb +66 -0
  850. data/spec/models/list_response_currency_spec.rb +66 -0
  851. data/spec/models/list_response_customer_category_spec.rb +66 -0
  852. data/spec/models/list_response_customer_spec.rb +66 -0
  853. data/spec/models/list_response_department_spec.rb +66 -0
  854. data/spec/models/list_response_employee_spec.rb +66 -0
  855. data/spec/models/list_response_employment_details_spec.rb +66 -0
  856. data/spec/models/list_response_employment_spec.rb +66 -0
  857. data/spec/models/list_response_employment_type_spec.rb +66 -0
  858. data/spec/models/list_response_entitlement_spec.rb +66 -0
  859. data/spec/models/list_response_inventory_spec.rb +66 -0
  860. data/spec/models/list_response_invoice_spec.rb +66 -0
  861. data/spec/models/list_response_leave_of_absence_type_spec.rb +66 -0
  862. data/spec/models/list_response_ledger_account_spec.rb +66 -0
  863. data/spec/models/list_response_mileage_allowance_spec.rb +66 -0
  864. data/spec/models/list_response_notification_spec.rb +66 -0
  865. data/spec/models/list_response_occupation_code_spec.rb +66 -0
  866. data/spec/models/list_response_order_line_spec.rb +66 -0
  867. data/spec/models/list_response_order_offer_spec.rb +66 -0
  868. data/spec/models/list_response_order_spec.rb +66 -0
  869. data/spec/models/list_response_passenger_spec.rb +66 -0
  870. data/spec/models/list_response_payment_type_out_spec.rb +66 -0
  871. data/spec/models/list_response_payment_type_spec.rb +66 -0
  872. data/spec/models/list_response_payslip_spec.rb +66 -0
  873. data/spec/models/list_response_per_diem_compensation_spec.rb +66 -0
  874. data/spec/models/list_response_person_auto_complete_dto_spec.rb +66 -0
  875. data/spec/models/list_response_posting_spec.rb +66 -0
  876. data/spec/models/list_response_product_spec.rb +66 -0
  877. data/spec/models/list_response_product_unit_spec.rb +66 -0
  878. data/spec/models/list_response_project_category_spec.rb +66 -0
  879. data/spec/models/list_response_project_order_line_spec.rb +66 -0
  880. data/spec/models/list_response_project_participant_spec.rb +66 -0
  881. data/spec/models/list_response_project_spec.rb +66 -0
  882. data/spec/models/list_response_prospect_spec.rb +66 -0
  883. data/spec/models/list_response_reminder_spec.rb +66 -0
  884. data/spec/models/list_response_remuneration_type_spec.rb +66 -0
  885. data/spec/models/list_response_salary_specification_spec.rb +66 -0
  886. data/spec/models/list_response_salary_transaction_spec.rb +66 -0
  887. data/spec/models/list_response_salary_type_spec.rb +66 -0
  888. data/spec/models/list_response_search_completion_dto_spec.rb +66 -0
  889. data/spec/models/list_response_standard_time_spec.rb +66 -0
  890. data/spec/models/list_response_subscription_spec.rb +66 -0
  891. data/spec/models/list_response_supplier_balance_spec.rb +66 -0
  892. data/spec/models/list_response_supplier_spec.rb +66 -0
  893. data/spec/models/list_response_time_clock_spec.rb +66 -0
  894. data/spec/models/list_response_timesheet_entry_spec.rb +66 -0
  895. data/spec/models/list_response_travel_cost_category_spec.rb +66 -0
  896. data/spec/models/list_response_travel_expense_rate_category_group_spec.rb +66 -0
  897. data/spec/models/list_response_travel_expense_rate_category_spec.rb +66 -0
  898. data/spec/models/list_response_travel_expense_rate_spec.rb +66 -0
  899. data/spec/models/list_response_travel_expense_spec.rb +66 -0
  900. data/spec/models/list_response_travel_payment_type_spec.rb +66 -0
  901. data/spec/models/list_response_vat_type_spec.rb +66 -0
  902. data/spec/models/list_response_voucher_spec.rb +66 -0
  903. data/spec/models/list_response_voucher_type_spec.rb +66 -0
  904. data/spec/models/list_response_weekly_status_spec.rb +66 -0
  905. data/spec/models/list_response_working_hours_scheme_spec.rb +66 -0
  906. data/spec/models/logged_in_user_info_dto_spec.rb +66 -0
  907. data/spec/models/maventa_event_data_dto_spec.rb +72 -0
  908. data/spec/models/maventa_status_dto_spec.rb +60 -0
  909. data/spec/models/mileage_allowance_spec.rb +126 -0
  910. data/spec/models/mobile_app_login_spec.rb +60 -0
  911. data/spec/models/modules_spec.rb +102 -0
  912. data/spec/models/monthly_status_spec.rb +120 -0
  913. data/spec/models/notification_spec.rb +90 -0
  914. data/spec/models/occupation_code_spec.rb +72 -0
  915. data/spec/models/order_line_spec.rb +162 -0
  916. data/spec/models/order_offer_spec.rb +84 -0
  917. data/spec/models/order_spec.rb +282 -0
  918. data/spec/models/passenger_spec.rb +72 -0
  919. data/spec/models/payment_type_out_spec.rb +120 -0
  920. data/spec/models/payment_type_spec.rb +96 -0
  921. data/spec/models/payslip_spec.rb +114 -0
  922. data/spec/models/per_diem_compensation_spec.rb +142 -0
  923. data/spec/models/person_auto_complete_dto_spec.rb +136 -0
  924. data/spec/models/posting_spec.rb +186 -0
  925. data/spec/models/product_spec.rb +138 -0
  926. data/spec/models/product_unit_spec.rb +78 -0
  927. data/spec/models/project_category_spec.rb +78 -0
  928. data/spec/models/project_invoice_details_spec.rb +168 -0
  929. data/spec/models/project_order_line_spec.rb +150 -0
  930. data/spec/models/project_participant_spec.rb +78 -0
  931. data/spec/models/project_spec.rb +190 -0
  932. data/spec/models/prospect_spec.rb +162 -0
  933. data/spec/models/reminder_spec.rb +166 -0
  934. data/spec/models/remuneration_type_spec.rb +82 -0
  935. data/spec/models/response_wrapper_accommodation_allowance_spec.rb +42 -0
  936. data/spec/models/response_wrapper_account_spec.rb +42 -0
  937. data/spec/models/response_wrapper_accounting_period_spec.rb +42 -0
  938. data/spec/models/response_wrapper_activity_spec.rb +42 -0
  939. data/spec/models/response_wrapper_address_spec.rb +42 -0
  940. data/spec/models/response_wrapper_annual_account_spec.rb +42 -0
  941. data/spec/models/response_wrapper_api_consumer_spec.rb +42 -0
  942. data/spec/models/response_wrapper_app_specific_spec.rb +42 -0
  943. data/spec/models/response_wrapper_bank_reconciliation_match_spec.rb +42 -0
  944. data/spec/models/response_wrapper_bank_reconciliation_payment_type_spec.rb +42 -0
  945. data/spec/models/response_wrapper_bank_reconciliation_spec.rb +42 -0
  946. data/spec/models/response_wrapper_bank_statement_spec.rb +42 -0
  947. data/spec/models/response_wrapper_bank_transaction_spec.rb +42 -0
  948. data/spec/models/response_wrapper_banner_spec.rb +42 -0
  949. data/spec/models/response_wrapper_boolean_spec.rb +42 -0
  950. data/spec/models/response_wrapper_close_group_spec.rb +42 -0
  951. data/spec/models/response_wrapper_company_spec.rb +42 -0
  952. data/spec/models/response_wrapper_consumer_token_spec.rb +42 -0
  953. data/spec/models/response_wrapper_contact_spec.rb +42 -0
  954. data/spec/models/response_wrapper_cost_spec.rb +42 -0
  955. data/spec/models/response_wrapper_country_spec.rb +42 -0
  956. data/spec/models/response_wrapper_currency_spec.rb +42 -0
  957. data/spec/models/response_wrapper_customer_category_spec.rb +42 -0
  958. data/spec/models/response_wrapper_customer_spec.rb +42 -0
  959. data/spec/models/response_wrapper_department_spec.rb +42 -0
  960. data/spec/models/response_wrapper_document_spec.rb +42 -0
  961. data/spec/models/response_wrapper_double_spec.rb +42 -0
  962. data/spec/models/response_wrapper_employee_spec.rb +42 -0
  963. data/spec/models/response_wrapper_employee_token_spec.rb +42 -0
  964. data/spec/models/response_wrapper_employment_details_spec.rb +42 -0
  965. data/spec/models/response_wrapper_employment_spec.rb +42 -0
  966. data/spec/models/response_wrapper_entitlement_spec.rb +42 -0
  967. data/spec/models/response_wrapper_integer_spec.rb +42 -0
  968. data/spec/models/response_wrapper_inventory_spec.rb +42 -0
  969. data/spec/models/response_wrapper_invoice_spec.rb +42 -0
  970. data/spec/models/response_wrapper_leave_of_absence_spec.rb +42 -0
  971. data/spec/models/response_wrapper_list_job_spec.rb +42 -0
  972. data/spec/models/response_wrapper_logged_in_user_info_dto_spec.rb +42 -0
  973. data/spec/models/response_wrapper_map_string_event_info_description_spec.rb +42 -0
  974. data/spec/models/response_wrapper_mileage_allowance_spec.rb +42 -0
  975. data/spec/models/response_wrapper_modules_spec.rb +42 -0
  976. data/spec/models/response_wrapper_monthly_status_spec.rb +42 -0
  977. data/spec/models/response_wrapper_notification_spec.rb +42 -0
  978. data/spec/models/response_wrapper_object_spec.rb +42 -0
  979. data/spec/models/response_wrapper_order_line_spec.rb +42 -0
  980. data/spec/models/response_wrapper_order_offer_spec.rb +42 -0
  981. data/spec/models/response_wrapper_order_spec.rb +42 -0
  982. data/spec/models/response_wrapper_passenger_spec.rb +42 -0
  983. data/spec/models/response_wrapper_payment_type_out_spec.rb +42 -0
  984. data/spec/models/response_wrapper_payment_type_spec.rb +42 -0
  985. data/spec/models/response_wrapper_payslip_spec.rb +42 -0
  986. data/spec/models/response_wrapper_per_diem_compensation_spec.rb +42 -0
  987. data/spec/models/response_wrapper_posting_spec.rb +42 -0
  988. data/spec/models/response_wrapper_product_spec.rb +42 -0
  989. data/spec/models/response_wrapper_product_unit_spec.rb +42 -0
  990. data/spec/models/response_wrapper_project_category_spec.rb +42 -0
  991. data/spec/models/response_wrapper_project_invoice_details_spec.rb +42 -0
  992. data/spec/models/response_wrapper_project_order_line_spec.rb +42 -0
  993. data/spec/models/response_wrapper_project_participant_spec.rb +42 -0
  994. data/spec/models/response_wrapper_project_spec.rb +42 -0
  995. data/spec/models/response_wrapper_prospect_spec.rb +42 -0
  996. data/spec/models/response_wrapper_reminder_spec.rb +42 -0
  997. data/spec/models/response_wrapper_salary_specification_spec.rb +42 -0
  998. data/spec/models/response_wrapper_salary_transaction_spec.rb +42 -0
  999. data/spec/models/response_wrapper_salary_type_spec.rb +42 -0
  1000. data/spec/models/response_wrapper_session_token_spec.rb +42 -0
  1001. data/spec/models/response_wrapper_standard_time_spec.rb +42 -0
  1002. data/spec/models/response_wrapper_string_spec.rb +42 -0
  1003. data/spec/models/response_wrapper_subscription_spec.rb +42 -0
  1004. data/spec/models/response_wrapper_supplier_spec.rb +42 -0
  1005. data/spec/models/response_wrapper_system_message_spec.rb +42 -0
  1006. data/spec/models/response_wrapper_time_clock_spec.rb +42 -0
  1007. data/spec/models/response_wrapper_timesheet_entry_spec.rb +42 -0
  1008. data/spec/models/response_wrapper_travel_cost_category_spec.rb +42 -0
  1009. data/spec/models/response_wrapper_travel_expense_rate_category_group_spec.rb +42 -0
  1010. data/spec/models/response_wrapper_travel_expense_rate_category_spec.rb +42 -0
  1011. data/spec/models/response_wrapper_travel_expense_rate_spec.rb +42 -0
  1012. data/spec/models/response_wrapper_travel_expense_spec.rb +42 -0
  1013. data/spec/models/response_wrapper_travel_payment_type_spec.rb +42 -0
  1014. data/spec/models/response_wrapper_trip_dto_spec.rb +42 -0
  1015. data/spec/models/response_wrapper_tripletex_account_return_spec.rb +42 -0
  1016. data/spec/models/response_wrapper_unread_count_dto_spec.rb +42 -0
  1017. data/spec/models/response_wrapper_vat_type_spec.rb +42 -0
  1018. data/spec/models/response_wrapper_voucher_spec.rb +42 -0
  1019. data/spec/models/response_wrapper_voucher_type_spec.rb +42 -0
  1020. data/spec/models/response_wrapper_weekly_status_spec.rb +42 -0
  1021. data/spec/models/result_spec.rb +104 -0
  1022. data/spec/models/salary_specification_spec.rb +126 -0
  1023. data/spec/models/salary_transaction_spec.rb +84 -0
  1024. data/spec/models/salary_type_spec.rb +78 -0
  1025. data/spec/models/search_completion_dto_spec.rb +106 -0
  1026. data/spec/models/session_token_spec.rb +90 -0
  1027. data/spec/models/smart_scan_webhook_spec.rb +54 -0
  1028. data/spec/models/standard_time_spec.rb +78 -0
  1029. data/spec/models/subscription_spec.rb +88 -0
  1030. data/spec/models/supplier_balance_spec.rb +72 -0
  1031. data/spec/models/supplier_spec.rb +186 -0
  1032. data/spec/models/system_message_spec.rb +42 -0
  1033. data/spec/models/time_clock_spec.rb +108 -0
  1034. data/spec/models/timesheet_entry_search_response_spec.rb +72 -0
  1035. data/spec/models/timesheet_entry_spec.rb +120 -0
  1036. data/spec/models/travel_cost_category_spec.rb +102 -0
  1037. data/spec/models/travel_details_spec.rb +102 -0
  1038. data/spec/models/travel_expense_rate_category_group_spec.rb +84 -0
  1039. data/spec/models/travel_expense_rate_category_spec.rb +136 -0
  1040. data/spec/models/travel_expense_rate_spec.rb +96 -0
  1041. data/spec/models/travel_expense_spec.rb +280 -0
  1042. data/spec/models/travel_payment_type_spec.rb +90 -0
  1043. data/spec/models/trigger_dto_spec.rb +72 -0
  1044. data/spec/models/trip_dto_spec.rb +54 -0
  1045. data/spec/models/tripletex_account_return_spec.rb +66 -0
  1046. data/spec/models/tripletex_account_spec.rb +128 -0
  1047. data/spec/models/unread_count_dto_spec.rb +48 -0
  1048. data/spec/models/vat_type_spec.rb +78 -0
  1049. data/spec/models/vntc_status_dto_spec.rb +72 -0
  1050. data/spec/models/voucher_search_response_spec.rb +72 -0
  1051. data/spec/models/voucher_spec.rb +120 -0
  1052. data/spec/models/voucher_type_spec.rb +66 -0
  1053. data/spec/models/weekly_status_spec.rb +102 -0
  1054. data/spec/models/working_hours_scheme_spec.rb +82 -0
  1055. data/spec/spec_helper.rb +111 -0
  1056. data/tripletex_api.gemspec +46 -0
  1057. metadata +1692 -0
@@ -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,639 @@
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
+ [**get**](TravelExpenseApi.md#get) | **GET** /travelExpense/{id} | [BETA] Get travel expense by ID.
13
+ [**post**](TravelExpenseApi.md#post) | **POST** /travelExpense | [BETA] Create travel expense.
14
+ [**put**](TravelExpenseApi.md#put) | **PUT** /travelExpense/{id} | [BETA] Update travel expense.
15
+ [**search**](TravelExpenseApi.md#search) | **GET** /travelExpense | [BETA] Find travel expenses corresponding with sent data.
16
+ [**unapprove**](TravelExpenseApi.md#unapprove) | **PUT** /travelExpense/:unapprove | [BETA] Unapprove travel expenses.
17
+ [**undeliver**](TravelExpenseApi.md#undeliver) | **PUT** /travelExpense/:undeliver | [BETA] Undeliver travel expenses.
18
+
19
+
20
+ # **approve**
21
+ > ListResponseTravelExpense approve(opts)
22
+
23
+ [BETA] Approve travel expenses.
24
+
25
+
26
+
27
+ ### Example
28
+ ```ruby
29
+ # load the gem
30
+ require 'tripletex_api'
31
+ # setup authorization
32
+ TripletexApi.configure do |config|
33
+ # Configure HTTP basic authorization: tokenAuthScheme
34
+ config.username = 'YOUR USERNAME'
35
+ config.password = 'YOUR PASSWORD'
36
+ end
37
+
38
+ api_instance = TripletexApi::TravelExpenseApi.new
39
+
40
+ opts = {
41
+ id: "id_example" # String | ID of the elements
42
+ }
43
+
44
+ begin
45
+ #[BETA] Approve travel expenses.
46
+ result = api_instance.approve(opts)
47
+ p result
48
+ rescue TripletexApi::ApiError => e
49
+ puts "Exception when calling TravelExpenseApi->approve: #{e}"
50
+ end
51
+ ```
52
+
53
+ ### Parameters
54
+
55
+ Name | Type | Description | Notes
56
+ ------------- | ------------- | ------------- | -------------
57
+ **id** | **String**| ID of the elements | [optional]
58
+
59
+ ### Return type
60
+
61
+ [**ListResponseTravelExpense**](ListResponseTravelExpense.md)
62
+
63
+ ### Authorization
64
+
65
+ [tokenAuthScheme](../README.md#tokenAuthScheme)
66
+
67
+ ### HTTP request headers
68
+
69
+ - **Content-Type**: Not defined
70
+ - **Accept**: Not defined
71
+
72
+
73
+
74
+ # **copy**
75
+ > ResponseWrapperTravelExpense copy(id)
76
+
77
+ [BETA] Copy travel expense.
78
+
79
+
80
+
81
+ ### Example
82
+ ```ruby
83
+ # load the gem
84
+ require 'tripletex_api'
85
+ # setup authorization
86
+ TripletexApi.configure do |config|
87
+ # Configure HTTP basic authorization: tokenAuthScheme
88
+ config.username = 'YOUR USERNAME'
89
+ config.password = 'YOUR PASSWORD'
90
+ end
91
+
92
+ api_instance = TripletexApi::TravelExpenseApi.new
93
+
94
+ id = 56 # Integer | Element ID
95
+
96
+
97
+ begin
98
+ #[BETA] Copy travel expense.
99
+ result = api_instance.copy(id)
100
+ p result
101
+ rescue TripletexApi::ApiError => e
102
+ puts "Exception when calling TravelExpenseApi->copy: #{e}"
103
+ end
104
+ ```
105
+
106
+ ### Parameters
107
+
108
+ Name | Type | Description | Notes
109
+ ------------- | ------------- | ------------- | -------------
110
+ **id** | **Integer**| Element ID |
111
+
112
+ ### Return type
113
+
114
+ [**ResponseWrapperTravelExpense**](ResponseWrapperTravelExpense.md)
115
+
116
+ ### Authorization
117
+
118
+ [tokenAuthScheme](../README.md#tokenAuthScheme)
119
+
120
+ ### HTTP request headers
121
+
122
+ - **Content-Type**: application/json; charset=utf-8
123
+ - **Accept**: Not defined
124
+
125
+
126
+
127
+ # **create_vouchers**
128
+ > ListResponseTravelExpense create_vouchers(date, opts)
129
+
130
+ [BETA] Create vouchers
131
+
132
+
133
+
134
+ ### Example
135
+ ```ruby
136
+ # load the gem
137
+ require 'tripletex_api'
138
+ # setup authorization
139
+ TripletexApi.configure do |config|
140
+ # Configure HTTP basic authorization: tokenAuthScheme
141
+ config.username = 'YOUR USERNAME'
142
+ config.password = 'YOUR PASSWORD'
143
+ end
144
+
145
+ api_instance = TripletexApi::TravelExpenseApi.new
146
+
147
+ date = "date_example" # String | yyyy-MM-dd. Defaults to today.
148
+
149
+ opts = {
150
+ id: "id_example" # String | ID of the elements
151
+ }
152
+
153
+ begin
154
+ #[BETA] Create vouchers
155
+ result = api_instance.create_vouchers(date, opts)
156
+ p result
157
+ rescue TripletexApi::ApiError => e
158
+ puts "Exception when calling TravelExpenseApi->create_vouchers: #{e}"
159
+ end
160
+ ```
161
+
162
+ ### Parameters
163
+
164
+ Name | Type | Description | Notes
165
+ ------------- | ------------- | ------------- | -------------
166
+ **date** | **String**| yyyy-MM-dd. Defaults to today. |
167
+ **id** | **String**| ID of the elements | [optional]
168
+
169
+ ### Return type
170
+
171
+ [**ListResponseTravelExpense**](ListResponseTravelExpense.md)
172
+
173
+ ### Authorization
174
+
175
+ [tokenAuthScheme](../README.md#tokenAuthScheme)
176
+
177
+ ### HTTP request headers
178
+
179
+ - **Content-Type**: application/json; charset=utf-8
180
+ - **Accept**: Not defined
181
+
182
+
183
+
184
+ # **delete**
185
+ > delete(id)
186
+
187
+ [BETA] Delete travel expense.
188
+
189
+
190
+
191
+ ### Example
192
+ ```ruby
193
+ # load the gem
194
+ require 'tripletex_api'
195
+ # setup authorization
196
+ TripletexApi.configure do |config|
197
+ # Configure HTTP basic authorization: tokenAuthScheme
198
+ config.username = 'YOUR USERNAME'
199
+ config.password = 'YOUR PASSWORD'
200
+ end
201
+
202
+ api_instance = TripletexApi::TravelExpenseApi.new
203
+
204
+ id = 56 # Integer | Element ID
205
+
206
+
207
+ begin
208
+ #[BETA] Delete travel expense.
209
+ api_instance.delete(id)
210
+ rescue TripletexApi::ApiError => e
211
+ puts "Exception when calling TravelExpenseApi->delete: #{e}"
212
+ end
213
+ ```
214
+
215
+ ### Parameters
216
+
217
+ Name | Type | Description | Notes
218
+ ------------- | ------------- | ------------- | -------------
219
+ **id** | **Integer**| Element ID |
220
+
221
+ ### Return type
222
+
223
+ nil (empty response body)
224
+
225
+ ### Authorization
226
+
227
+ [tokenAuthScheme](../README.md#tokenAuthScheme)
228
+
229
+ ### HTTP request headers
230
+
231
+ - **Content-Type**: Not defined
232
+ - **Accept**: Not defined
233
+
234
+
235
+
236
+ # **deliver**
237
+ > ListResponseTravelExpense deliver(opts)
238
+
239
+ [BETA] Deliver travel expenses.
240
+
241
+
242
+
243
+ ### Example
244
+ ```ruby
245
+ # load the gem
246
+ require 'tripletex_api'
247
+ # setup authorization
248
+ TripletexApi.configure do |config|
249
+ # Configure HTTP basic authorization: tokenAuthScheme
250
+ config.username = 'YOUR USERNAME'
251
+ config.password = 'YOUR PASSWORD'
252
+ end
253
+
254
+ api_instance = TripletexApi::TravelExpenseApi.new
255
+
256
+ opts = {
257
+ id: "id_example" # String | ID of the elements
258
+ }
259
+
260
+ begin
261
+ #[BETA] Deliver travel expenses.
262
+ result = api_instance.deliver(opts)
263
+ p result
264
+ rescue TripletexApi::ApiError => e
265
+ puts "Exception when calling TravelExpenseApi->deliver: #{e}"
266
+ end
267
+ ```
268
+
269
+ ### Parameters
270
+
271
+ Name | Type | Description | Notes
272
+ ------------- | ------------- | ------------- | -------------
273
+ **id** | **String**| ID of the elements | [optional]
274
+
275
+ ### Return type
276
+
277
+ [**ListResponseTravelExpense**](ListResponseTravelExpense.md)
278
+
279
+ ### Authorization
280
+
281
+ [tokenAuthScheme](../README.md#tokenAuthScheme)
282
+
283
+ ### HTTP request headers
284
+
285
+ - **Content-Type**: Not defined
286
+ - **Accept**: Not defined
287
+
288
+
289
+
290
+ # **get**
291
+ > ResponseWrapperTravelExpense get(id, opts)
292
+
293
+ [BETA] Get travel expense by ID.
294
+
295
+
296
+
297
+ ### Example
298
+ ```ruby
299
+ # load the gem
300
+ require 'tripletex_api'
301
+ # setup authorization
302
+ TripletexApi.configure do |config|
303
+ # Configure HTTP basic authorization: tokenAuthScheme
304
+ config.username = 'YOUR USERNAME'
305
+ config.password = 'YOUR PASSWORD'
306
+ end
307
+
308
+ api_instance = TripletexApi::TravelExpenseApi.new
309
+
310
+ id = 56 # Integer | Element ID
311
+
312
+ opts = {
313
+ fields: "fields_example" # String | Fields filter pattern
314
+ }
315
+
316
+ begin
317
+ #[BETA] Get travel expense by ID.
318
+ result = api_instance.get(id, opts)
319
+ p result
320
+ rescue TripletexApi::ApiError => e
321
+ puts "Exception when calling TravelExpenseApi->get: #{e}"
322
+ end
323
+ ```
324
+
325
+ ### Parameters
326
+
327
+ Name | Type | Description | Notes
328
+ ------------- | ------------- | ------------- | -------------
329
+ **id** | **Integer**| Element ID |
330
+ **fields** | **String**| Fields filter pattern | [optional]
331
+
332
+ ### Return type
333
+
334
+ [**ResponseWrapperTravelExpense**](ResponseWrapperTravelExpense.md)
335
+
336
+ ### Authorization
337
+
338
+ [tokenAuthScheme](../README.md#tokenAuthScheme)
339
+
340
+ ### HTTP request headers
341
+
342
+ - **Content-Type**: Not defined
343
+ - **Accept**: Not defined
344
+
345
+
346
+
347
+ # **post**
348
+ > ResponseWrapperTravelExpense post(opts)
349
+
350
+ [BETA] Create travel expense.
351
+
352
+
353
+
354
+ ### Example
355
+ ```ruby
356
+ # load the gem
357
+ require 'tripletex_api'
358
+ # setup authorization
359
+ TripletexApi.configure do |config|
360
+ # Configure HTTP basic authorization: tokenAuthScheme
361
+ config.username = 'YOUR USERNAME'
362
+ config.password = 'YOUR PASSWORD'
363
+ end
364
+
365
+ api_instance = TripletexApi::TravelExpenseApi.new
366
+
367
+ opts = {
368
+ body: TripletexApi::TravelExpense.new # TravelExpense | JSON representing the new object to be created. Should not have ID and version set.
369
+ }
370
+
371
+ begin
372
+ #[BETA] Create travel expense.
373
+ result = api_instance.post(opts)
374
+ p result
375
+ rescue TripletexApi::ApiError => e
376
+ puts "Exception when calling TravelExpenseApi->post: #{e}"
377
+ end
378
+ ```
379
+
380
+ ### Parameters
381
+
382
+ Name | Type | Description | Notes
383
+ ------------- | ------------- | ------------- | -------------
384
+ **body** | [**TravelExpense**](TravelExpense.md)| JSON representing the new object to be created. Should not have ID and version set. | [optional]
385
+
386
+ ### Return type
387
+
388
+ [**ResponseWrapperTravelExpense**](ResponseWrapperTravelExpense.md)
389
+
390
+ ### Authorization
391
+
392
+ [tokenAuthScheme](../README.md#tokenAuthScheme)
393
+
394
+ ### HTTP request headers
395
+
396
+ - **Content-Type**: application/json; charset=utf-8
397
+ - **Accept**: Not defined
398
+
399
+
400
+
401
+ # **put**
402
+ > ResponseWrapperTravelExpense put(id, opts)
403
+
404
+ [BETA] Update travel expense.
405
+
406
+
407
+
408
+ ### Example
409
+ ```ruby
410
+ # load the gem
411
+ require 'tripletex_api'
412
+ # setup authorization
413
+ TripletexApi.configure do |config|
414
+ # Configure HTTP basic authorization: tokenAuthScheme
415
+ config.username = 'YOUR USERNAME'
416
+ config.password = 'YOUR PASSWORD'
417
+ end
418
+
419
+ api_instance = TripletexApi::TravelExpenseApi.new
420
+
421
+ id = 56 # Integer | Element ID
422
+
423
+ opts = {
424
+ body: TripletexApi::TravelExpense.new # TravelExpense | Partial object describing what should be updated
425
+ }
426
+
427
+ begin
428
+ #[BETA] Update travel expense.
429
+ result = api_instance.put(id, opts)
430
+ p result
431
+ rescue TripletexApi::ApiError => e
432
+ puts "Exception when calling TravelExpenseApi->put: #{e}"
433
+ end
434
+ ```
435
+
436
+ ### Parameters
437
+
438
+ Name | Type | Description | Notes
439
+ ------------- | ------------- | ------------- | -------------
440
+ **id** | **Integer**| Element ID |
441
+ **body** | [**TravelExpense**](TravelExpense.md)| Partial object describing what should be updated | [optional]
442
+
443
+ ### Return type
444
+
445
+ [**ResponseWrapperTravelExpense**](ResponseWrapperTravelExpense.md)
446
+
447
+ ### Authorization
448
+
449
+ [tokenAuthScheme](../README.md#tokenAuthScheme)
450
+
451
+ ### HTTP request headers
452
+
453
+ - **Content-Type**: application/json; charset=utf-8
454
+ - **Accept**: Not defined
455
+
456
+
457
+
458
+ # **search**
459
+ > ListResponseTravelExpense search(opts)
460
+
461
+ [BETA] Find travel expenses corresponding with sent data.
462
+
463
+
464
+
465
+ ### Example
466
+ ```ruby
467
+ # load the gem
468
+ require 'tripletex_api'
469
+ # setup authorization
470
+ TripletexApi.configure do |config|
471
+ # Configure HTTP basic authorization: tokenAuthScheme
472
+ config.username = 'YOUR USERNAME'
473
+ config.password = 'YOUR PASSWORD'
474
+ end
475
+
476
+ api_instance = TripletexApi::TravelExpenseApi.new
477
+
478
+ opts = {
479
+ employee_id: "employee_id_example", # String | Equals
480
+ department_id: "department_id_example", # String | Equals
481
+ project_id: "project_id_example", # String | Equals
482
+ project_manager_id: "project_manager_id_example", # String | Equals
483
+ departure_date_from: "departure_date_from_example", # String | From and including
484
+ return_date_to: "return_date_to_example", # String | To and excluding
485
+ state: "ALL", # String | category
486
+ from: 0, # Integer | From index
487
+ count: 1000, # Integer | Number of elements to return
488
+ sorting: "sorting_example", # String | Sorting pattern
489
+ fields: "fields_example" # String | Fields filter pattern
490
+ }
491
+
492
+ begin
493
+ #[BETA] Find travel expenses corresponding with sent data.
494
+ result = api_instance.search(opts)
495
+ p result
496
+ rescue TripletexApi::ApiError => e
497
+ puts "Exception when calling TravelExpenseApi->search: #{e}"
498
+ end
499
+ ```
500
+
501
+ ### Parameters
502
+
503
+ Name | Type | Description | Notes
504
+ ------------- | ------------- | ------------- | -------------
505
+ **employee_id** | **String**| Equals | [optional]
506
+ **department_id** | **String**| Equals | [optional]
507
+ **project_id** | **String**| Equals | [optional]
508
+ **project_manager_id** | **String**| Equals | [optional]
509
+ **departure_date_from** | **String**| From and including | [optional]
510
+ **return_date_to** | **String**| To and excluding | [optional]
511
+ **state** | **String**| category | [optional] [default to ALL]
512
+ **from** | **Integer**| From index | [optional] [default to 0]
513
+ **count** | **Integer**| Number of elements to return | [optional] [default to 1000]
514
+ **sorting** | **String**| Sorting pattern | [optional]
515
+ **fields** | **String**| Fields filter pattern | [optional]
516
+
517
+ ### Return type
518
+
519
+ [**ListResponseTravelExpense**](ListResponseTravelExpense.md)
520
+
521
+ ### Authorization
522
+
523
+ [tokenAuthScheme](../README.md#tokenAuthScheme)
524
+
525
+ ### HTTP request headers
526
+
527
+ - **Content-Type**: Not defined
528
+ - **Accept**: Not defined
529
+
530
+
531
+
532
+ # **unapprove**
533
+ > ListResponseTravelExpense unapprove(opts)
534
+
535
+ [BETA] Unapprove travel expenses.
536
+
537
+
538
+
539
+ ### Example
540
+ ```ruby
541
+ # load the gem
542
+ require 'tripletex_api'
543
+ # setup authorization
544
+ TripletexApi.configure do |config|
545
+ # Configure HTTP basic authorization: tokenAuthScheme
546
+ config.username = 'YOUR USERNAME'
547
+ config.password = 'YOUR PASSWORD'
548
+ end
549
+
550
+ api_instance = TripletexApi::TravelExpenseApi.new
551
+
552
+ opts = {
553
+ id: "id_example" # String | ID of the elements
554
+ }
555
+
556
+ begin
557
+ #[BETA] Unapprove travel expenses.
558
+ result = api_instance.unapprove(opts)
559
+ p result
560
+ rescue TripletexApi::ApiError => e
561
+ puts "Exception when calling TravelExpenseApi->unapprove: #{e}"
562
+ end
563
+ ```
564
+
565
+ ### Parameters
566
+
567
+ Name | Type | Description | Notes
568
+ ------------- | ------------- | ------------- | -------------
569
+ **id** | **String**| ID of the elements | [optional]
570
+
571
+ ### Return type
572
+
573
+ [**ListResponseTravelExpense**](ListResponseTravelExpense.md)
574
+
575
+ ### Authorization
576
+
577
+ [tokenAuthScheme](../README.md#tokenAuthScheme)
578
+
579
+ ### HTTP request headers
580
+
581
+ - **Content-Type**: Not defined
582
+ - **Accept**: Not defined
583
+
584
+
585
+
586
+ # **undeliver**
587
+ > ListResponseTravelExpense undeliver(opts)
588
+
589
+ [BETA] Undeliver travel expenses.
590
+
591
+
592
+
593
+ ### Example
594
+ ```ruby
595
+ # load the gem
596
+ require 'tripletex_api'
597
+ # setup authorization
598
+ TripletexApi.configure do |config|
599
+ # Configure HTTP basic authorization: tokenAuthScheme
600
+ config.username = 'YOUR USERNAME'
601
+ config.password = 'YOUR PASSWORD'
602
+ end
603
+
604
+ api_instance = TripletexApi::TravelExpenseApi.new
605
+
606
+ opts = {
607
+ id: "id_example" # String | ID of the elements
608
+ }
609
+
610
+ begin
611
+ #[BETA] Undeliver travel expenses.
612
+ result = api_instance.undeliver(opts)
613
+ p result
614
+ rescue TripletexApi::ApiError => e
615
+ puts "Exception when calling TravelExpenseApi->undeliver: #{e}"
616
+ end
617
+ ```
618
+
619
+ ### Parameters
620
+
621
+ Name | Type | Description | Notes
622
+ ------------- | ------------- | ------------- | -------------
623
+ **id** | **String**| ID of the elements | [optional]
624
+
625
+ ### Return type
626
+
627
+ [**ListResponseTravelExpense**](ListResponseTravelExpense.md)
628
+
629
+ ### Authorization
630
+
631
+ [tokenAuthScheme](../README.md#tokenAuthScheme)
632
+
633
+ ### HTTP request headers
634
+
635
+ - **Content-Type**: Not defined
636
+ - **Accept**: Not defined
637
+
638
+
639
+