korona-cloud-client 1.0.3 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (754) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +235 -20
  3. data/docs/Account.md +34 -29
  4. data/docs/AccountSummary.md +12 -11
  5. data/docs/AccountTransaction.md +20 -17
  6. data/docs/AccountsApi.md +426 -30
  7. data/docs/AddOrUpdateResult.md +20 -19
  8. data/docs/AdditionalInfo.md +10 -9
  9. data/docs/AdditionalReceiptInfoType.md +38 -35
  10. data/docs/AdditionalReceiptInfoTypesApi.md +64 -31
  11. data/docs/AddressInformation.md +22 -21
  12. data/docs/Admission.md +10 -9
  13. data/docs/Amount.md +16 -15
  14. data/docs/AmountCountData.md +10 -9
  15. data/docs/Assortment.md +24 -21
  16. data/docs/AssortmentsApi.md +204 -86
  17. data/docs/Attendance.md +28 -25
  18. data/docs/BadRequestError.md +10 -9
  19. data/docs/Capacity.md +10 -9
  20. data/docs/Cashier.md +48 -43
  21. data/docs/CashierRole.md +20 -17
  22. data/docs/CashierRolesApi.md +204 -86
  23. data/docs/CashierSummary.md +18 -17
  24. data/docs/CashierVerificationRequirement.md +38 -0
  25. data/docs/CashierVerificationRequirementApi.md +378 -0
  26. data/docs/CashierVerificationResult.md +28 -0
  27. data/docs/CashiersApi.md +208 -90
  28. data/docs/Category.md +12 -11
  29. data/docs/CloudSubscription.md +10 -9
  30. data/docs/CloudSubscriptionDetails.md +10 -9
  31. data/docs/CommodityGroup.md +22 -17
  32. data/docs/CommodityGroupSummary.md +14 -13
  33. data/docs/CommodityGroupsApi.md +204 -86
  34. data/docs/CompanyIdentification.md +10 -9
  35. data/docs/Coupon.md +20 -0
  36. data/docs/CreationTask.md +28 -27
  37. data/docs/CurrenciesApi.md +149 -65
  38. data/docs/Currency.md +32 -29
  39. data/docs/CurrencyDenomination.md +10 -9
  40. data/docs/CurrencyExchangeRate.md +10 -9
  41. data/docs/Customer.md +54 -47
  42. data/docs/CustomerCard.md +10 -9
  43. data/docs/CustomerData.md +10 -9
  44. data/docs/CustomerDisplayConfiguration.md +52 -0
  45. data/docs/CustomerDisplayConfigurationsApi.md +450 -0
  46. data/docs/CustomerGroup.md +20 -17
  47. data/docs/CustomerGroupSummary.md +14 -13
  48. data/docs/CustomerGroupsApi.md +426 -30
  49. data/docs/CustomerInformation.md +12 -11
  50. data/docs/CustomerOrder.md +46 -43
  51. data/docs/CustomerOrderItem.md +46 -0
  52. data/docs/CustomerOrdersApi.md +192 -83
  53. data/docs/CustomersApi.md +204 -86
  54. data/docs/DateInterval.md +20 -0
  55. data/docs/DayRating.md +26 -25
  56. data/docs/DayTimePeriod.md +10 -9
  57. data/docs/DeliveryNote.md +40 -37
  58. data/docs/DeliveryNoteItem.md +22 -21
  59. data/docs/DeliveryNotesApi.md +157 -73
  60. data/docs/Deposit.md +16 -15
  61. data/docs/DeviceConfiguration.md +34 -0
  62. data/docs/DeviceConfigurationVariable.md +28 -0
  63. data/docs/DeviceConfigurationVariableValue.md +20 -0
  64. data/docs/DeviceConfigurationVariablesApi.md +448 -0
  65. data/docs/DeviceInformation.md +10 -9
  66. data/docs/DeviceParameterItem.md +22 -0
  67. data/docs/Discount.md +16 -11
  68. data/docs/EconomicZone.md +18 -15
  69. data/docs/EconomicZonesApi.md +149 -65
  70. data/docs/EndOfDayStatement.md +26 -23
  71. data/docs/EndOfDayStatementSummary.md +18 -17
  72. data/docs/EntryGate.md +22 -19
  73. data/docs/Event.md +32 -29
  74. data/docs/ExternalSystemCall.md +36 -31
  75. data/docs/ExternalSystemCallsApi.md +204 -86
  76. data/docs/FiscalTransaction.md +34 -33
  77. data/docs/FiscalUnit.md +46 -41
  78. data/docs/FiscalUnitCertificateInfo.md +10 -9
  79. data/docs/FiscalUnitPreConfiguration.md +28 -0
  80. data/docs/FiscalUnitState.md +18 -17
  81. data/docs/FiscalUnitStateUsageLevel.md +14 -13
  82. data/docs/FiscalUnitStateUsageLevelValue.md +10 -9
  83. data/docs/FiscalUnitStateVersionInfo.md +12 -11
  84. data/docs/FiscalUnitsApi.md +152 -68
  85. data/docs/ForbiddenError.md +10 -9
  86. data/docs/GeoLocation.md +10 -9
  87. data/docs/ImagesApi.md +29 -13
  88. data/docs/InfoText.md +22 -17
  89. data/docs/InfoTextsApi.md +149 -65
  90. data/docs/Interval.md +10 -9
  91. data/docs/InventoriesApi.md +526 -217
  92. data/docs/Inventory.md +46 -43
  93. data/docs/InventoryList.md +40 -35
  94. data/docs/InventoryListItem.md +18 -17
  95. data/docs/InventoryListItemStock.md +10 -9
  96. data/docs/KoronaAccount.md +30 -27
  97. data/docs/KoronaAccountApi.md +29 -13
  98. data/docs/MediaUrl.md +8 -7
  99. data/docs/MethodNotAllowedError.md +10 -9
  100. data/docs/ModelReference.md +12 -11
  101. data/docs/NotFoundError.md +10 -9
  102. data/docs/OpeningHours.md +12 -11
  103. data/docs/OrganizationalUnit.md +36 -33
  104. data/docs/OrganizationalUnitsApi.md +721 -174
  105. data/docs/Payment.md +22 -15
  106. data/docs/PaymentMethod.md +40 -33
  107. data/docs/PaymentMethodsApi.md +426 -30
  108. data/docs/PaymentServiceConfiguration.md +26 -0
  109. data/docs/PaymentSummary.md +12 -11
  110. data/docs/PaymentTerminalReceipt.md +20 -0
  111. data/docs/Period.md +12 -11
  112. data/docs/PeriodListTopSeller.md +12 -11
  113. data/docs/PeriodMapStringRevenueData.md +12 -11
  114. data/docs/PeriodObject.md +12 -11
  115. data/docs/PeriodRevenueData.md +12 -11
  116. data/docs/PointsOfSaleApi.md +505 -135
  117. data/docs/Pos.md +78 -51
  118. data/docs/PosBalance.md +46 -0
  119. data/docs/PosBalanceItem.md +26 -0
  120. data/docs/PosBalanceSummary.md +22 -0
  121. data/docs/PosBalanceSummaryChangeset.md +26 -0
  122. data/docs/PosBalanceTotal.md +20 -0
  123. data/docs/PosButton.md +32 -0
  124. data/docs/PosButtonFunction.md +38 -0
  125. data/docs/PosButtonLayout.md +32 -0
  126. data/docs/PosButtonLayoutsApi.md +524 -0
  127. data/docs/PosPageLayout.md +26 -0
  128. data/docs/PosPageLayoutConfiguration.md +34 -0
  129. data/docs/PosPageLayoutConfigurationsApi.md +524 -0
  130. data/docs/PosProfile.md +100 -0
  131. data/docs/PosProfilesApi.md +524 -0
  132. data/docs/PrepaidCard.md +20 -0
  133. data/docs/PriceGroup.md +22 -19
  134. data/docs/PriceGroupsApi.md +149 -65
  135. data/docs/PriceRule.md +40 -0
  136. data/docs/PriceRuleCalculation.md +20 -0
  137. data/docs/PriceRuleCondition.md +30 -0
  138. data/docs/PriceRuleTimeValidityRepetitionInterval.md +20 -0
  139. data/docs/PriceRuleValidityPeriod.md +22 -0
  140. data/docs/PriceRulesApi.md +520 -0
  141. data/docs/Product.md +100 -93
  142. data/docs/ProductCode.md +12 -11
  143. data/docs/ProductDescription.md +12 -11
  144. data/docs/ProductPrice.md +16 -15
  145. data/docs/ProductSpecialPrice.md +22 -0
  146. data/docs/ProductStock.md +16 -15
  147. data/docs/ProductSubproduct.md +16 -11
  148. data/docs/ProductSupplierPrice.md +16 -15
  149. data/docs/ProductTransferInvolvedPartyInformation.md +18 -17
  150. data/docs/ProductTransferInvolvedPartyInformationData.md +12 -11
  151. data/docs/ProductionType.md +26 -23
  152. data/docs/ProductionTypesApi.md +149 -65
  153. data/docs/ProductsApi.md +255 -110
  154. data/docs/Promotion.md +46 -0
  155. data/docs/PromotionBenefit.md +26 -0
  156. data/docs/PromotionBenefitCommonDiscount.md +32 -0
  157. data/docs/PromotionBenefitExtendedDiscount.md +20 -0
  158. data/docs/PromotionBenefitExtendedDiscountDiscountCalculation.md +24 -0
  159. data/docs/PromotionBenefitExtendedDiscountPositionSelection.md +24 -0
  160. data/docs/PromotionBenefitExtendedDiscountPositionSelectionCountAmount.md +20 -0
  161. data/docs/PromotionBenefitExtendedDiscountPositionSelectionCriteria.md +24 -0
  162. data/docs/PromotionBenefitExtendedDiscountPositionSelectionCriteriaMinMaxRange.md +20 -0
  163. data/docs/PromotionBenefitExtendedDiscountPositionSelectionCriteriaMinMaxRangeValueComperator.md +20 -0
  164. data/docs/PromotionBenefitExtendedDiscountPositionSelectionFilter.md +28 -0
  165. data/docs/PromotionBenefitReduceProductAmount.md +20 -0
  166. data/docs/PromotionBonuspoint.md +20 -0
  167. data/docs/PromotionBonuspointCreation.md +24 -0
  168. data/docs/PromotionBonuspointRedemption.md +24 -0
  169. data/docs/PromotionBonuspointRedemptionFixedDiscount.md +20 -0
  170. data/docs/PromotionBonuspointRedemptionPercentageDiscount.md +20 -0
  171. data/docs/PromotionBonuspointRedemptionTagDiscount.md +20 -0
  172. data/docs/PromotionCoupon.md +24 -0
  173. data/docs/PromotionCouponValidity.md +22 -0
  174. data/docs/PromotionCouponValidityDaysAfterPurchaseInterval.md +20 -0
  175. data/docs/PromotionLayer.md +20 -0
  176. data/docs/PromotionStamp.md +22 -0
  177. data/docs/PromotionTrigger.md +32 -0
  178. data/docs/PromotionTriggerProductAmountCondition.md +22 -0
  179. data/docs/PromotionTriggerReceiptProductAmountCondition.md +20 -0
  180. data/docs/PromotionTriggerReceiptRevenueCondition.md +20 -0
  181. data/docs/PromotionTriggerTagAmountCondition.md +22 -0
  182. data/docs/PromotionTriggerTagRevenueCondition.md +22 -0
  183. data/docs/PromotionValidity.md +26 -0
  184. data/docs/PromotionsApi.md +520 -0
  185. data/docs/Rating.md +12 -11
  186. data/docs/Receipt.md +80 -65
  187. data/docs/ReceiptItem.md +48 -33
  188. data/docs/ReceiptLayoutConfiguration.md +58 -0
  189. data/docs/ReceiptLayoutConfigurationsApi.md +524 -0
  190. data/docs/ReceiptMaxRevisions.md +18 -17
  191. data/docs/ReceiptRevenue.md +20 -0
  192. data/docs/ReceiptTotal.md +22 -0
  193. data/docs/ReceiptsApi.md +79 -46
  194. data/docs/ResultList.md +18 -17
  195. data/docs/ResultListAccount.md +18 -17
  196. data/docs/ResultListAdditionalReceiptInfoType.md +18 -17
  197. data/docs/ResultListAssortment.md +18 -17
  198. data/docs/ResultListAttendance.md +18 -17
  199. data/docs/ResultListCashier.md +18 -17
  200. data/docs/ResultListCashierRole.md +18 -17
  201. data/docs/ResultListCashierVerificationRequirement.md +28 -0
  202. data/docs/ResultListCommodityGroup.md +18 -17
  203. data/docs/ResultListCreationTask.md +18 -17
  204. data/docs/ResultListCurrency.md +18 -17
  205. data/docs/ResultListCustomer.md +18 -17
  206. data/docs/ResultListCustomerDisplayConfiguration.md +28 -0
  207. data/docs/ResultListCustomerGroup.md +18 -17
  208. data/docs/ResultListCustomerOrder.md +18 -17
  209. data/docs/ResultListDayRating.md +18 -17
  210. data/docs/ResultListDeliveryNote.md +18 -17
  211. data/docs/ResultListDeviceConfigurationVariable.md +28 -0
  212. data/docs/ResultListEconomicZone.md +18 -17
  213. data/docs/ResultListEndOfDayStatement.md +18 -17
  214. data/docs/ResultListEntryGate.md +18 -17
  215. data/docs/ResultListEvent.md +18 -17
  216. data/docs/ResultListExternalSystemCall.md +18 -17
  217. data/docs/ResultListFiscalUnit.md +18 -17
  218. data/docs/ResultListInfoText.md +18 -17
  219. data/docs/ResultListInventory.md +18 -17
  220. data/docs/ResultListInventoryList.md +18 -17
  221. data/docs/ResultListInventoryListItem.md +18 -17
  222. data/docs/ResultListOrganizationalUnit.md +18 -17
  223. data/docs/ResultListPaymentMethod.md +18 -17
  224. data/docs/ResultListPos.md +18 -17
  225. data/docs/ResultListPosBalance.md +28 -0
  226. data/docs/ResultListPosButtonLayout.md +28 -0
  227. data/docs/ResultListPosPageLayoutConfiguration.md +28 -0
  228. data/docs/ResultListPosProfile.md +28 -0
  229. data/docs/ResultListPriceGroup.md +18 -17
  230. data/docs/ResultListPriceRule.md +28 -0
  231. data/docs/ResultListProduct.md +18 -17
  232. data/docs/ResultListProductStock.md +18 -17
  233. data/docs/ResultListProductionType.md +18 -17
  234. data/docs/ResultListPromotion.md +28 -0
  235. data/docs/ResultListReceipt.md +18 -17
  236. data/docs/ResultListReceiptLayoutConfiguration.md +28 -0
  237. data/docs/ResultListSalesTax.md +18 -17
  238. data/docs/ResultListSector.md +18 -17
  239. data/docs/ResultListSpecialPriceConfiguration.md +28 -0
  240. data/docs/ResultListStockAdjustment.md +28 -0
  241. data/docs/ResultListStockAdjustmentItem.md +28 -0
  242. data/docs/ResultListStockOrder.md +18 -17
  243. data/docs/ResultListStockOrderItem.md +28 -0
  244. data/docs/ResultListStockReceipt.md +18 -17
  245. data/docs/ResultListStockReceiptItem.md +18 -17
  246. data/docs/ResultListStoreOrder.md +28 -0
  247. data/docs/ResultListStoreOrderItem.md +28 -0
  248. data/docs/ResultListSupplier.md +18 -17
  249. data/docs/ResultListTag.md +18 -17
  250. data/docs/ResultListTicket.md +18 -17
  251. data/docs/ResultListTicketDefinition.md +18 -17
  252. data/docs/ResultListTimeTrackingEntity.md +18 -17
  253. data/docs/ResultListTimeTrackingEntry.md +18 -17
  254. data/docs/ResultListUserRole.md +28 -0
  255. data/docs/RevenueData.md +16 -15
  256. data/docs/SalesTax.md +26 -23
  257. data/docs/SalesTaxRate.md +10 -9
  258. data/docs/SalesTaxesApi.md +149 -65
  259. data/docs/Sector.md +22 -19
  260. data/docs/SectorRevenueAccountItem.md +10 -9
  261. data/docs/SectorSalesTaxItem.md +10 -9
  262. data/docs/SectorsApi.md +149 -65
  263. data/docs/Service.md +10 -9
  264. data/docs/Signature.md +12 -11
  265. data/docs/SpecialPrice.md +22 -0
  266. data/docs/SpecialPriceConfiguration.md +34 -0
  267. data/docs/SpecialPriceConfigurationsApi.md +449 -0
  268. data/docs/Statistic.md +12 -11
  269. data/docs/StatisticListTopSeller.md +12 -11
  270. data/docs/StatisticMapStringRevenueData.md +12 -11
  271. data/docs/StatisticRevenueData.md +12 -11
  272. data/docs/StatisticsApi.md +123 -56
  273. data/docs/StockAdjustment.md +46 -0
  274. data/docs/StockAdjustmentItem.md +24 -0
  275. data/docs/StockAdjustmentItemReason.md +20 -0
  276. data/docs/StockAdjustmentsApi.md +834 -0
  277. data/docs/StockOrder.md +68 -63
  278. data/docs/StockOrderItem.md +30 -29
  279. data/docs/StockOrdersApi.md +263 -54
  280. data/docs/StockReceipt.md +56 -53
  281. data/docs/StockReceiptItem.md +20 -19
  282. data/docs/StockReceiptItemAmount.md +10 -9
  283. data/docs/StockReceiptItemIdentification.md +12 -11
  284. data/docs/StockReceiptItemPurchasePrice.md +10 -9
  285. data/docs/StockReceiptsApi.md +336 -150
  286. data/docs/StoreOrder.md +44 -0
  287. data/docs/StoreOrderItem.md +24 -0
  288. data/docs/StoreOrdersApi.md +836 -0
  289. data/docs/Supplier.md +34 -29
  290. data/docs/SupplierContact.md +14 -13
  291. data/docs/SupplierContactPerson.md +20 -19
  292. data/docs/SupplierPaymentInformation.md +24 -23
  293. data/docs/SuppliersApi.md +149 -65
  294. data/docs/Tag.md +18 -15
  295. data/docs/TagsApi.md +203 -85
  296. data/docs/TaxPayment.md +14 -13
  297. data/docs/TaxSummary.md +12 -11
  298. data/docs/TerminalReceiptPrintLine.md +20 -0
  299. data/docs/Ticket.md +20 -19
  300. data/docs/TicketCreationApi.md +63 -30
  301. data/docs/TicketData.md +28 -27
  302. data/docs/TicketDefinition.md +40 -29
  303. data/docs/TicketPersonalization.md +14 -13
  304. data/docs/TicketingApi.md +739 -311
  305. data/docs/TimeOfDayInterval.md +20 -0
  306. data/docs/TimePeriod.md +20 -19
  307. data/docs/TimeTrackingApi.md +190 -89
  308. data/docs/TimeTrackingEntity.md +20 -17
  309. data/docs/TimeTrackingEntry.md +20 -19
  310. data/docs/TooManyRequestsError.md +10 -9
  311. data/docs/TopSeller.md +16 -15
  312. data/docs/TotalPeriod.md +10 -9
  313. data/docs/TotalPrice.md +16 -15
  314. data/docs/UserRole.md +30 -0
  315. data/docs/UserRolesApi.md +518 -0
  316. data/docs/Validity.md +14 -13
  317. data/docs/VoidedReceiptItem.md +16 -15
  318. data/docs/VoucherTransaction.md +36 -0
  319. data/docs/Weather.md +12 -11
  320. data/korona-cloud-client.gemspec +3 -4
  321. data/lib/korona-cloud-client/api/accounts_api.rb +368 -10
  322. data/lib/korona-cloud-client/api/additional_receipt_info_types_api.rb +10 -8
  323. data/lib/korona-cloud-client/api/assortments_api.rb +30 -23
  324. data/lib/korona-cloud-client/api/cashier_roles_api.rb +30 -23
  325. data/lib/korona-cloud-client/api/cashier_verification_requirement_api.rb +378 -0
  326. data/lib/korona-cloud-client/api/cashiers_api.rb +30 -23
  327. data/lib/korona-cloud-client/api/commodity_groups_api.rb +30 -23
  328. data/lib/korona-cloud-client/api/currencies_api.rb +22 -17
  329. data/lib/korona-cloud-client/api/customer_display_configurations_api.rb +447 -0
  330. data/lib/korona-cloud-client/api/customer_groups_api.rb +366 -8
  331. data/lib/korona-cloud-client/api/customer_orders_api.rb +46 -28
  332. data/lib/korona-cloud-client/api/customers_api.rb +30 -23
  333. data/lib/korona-cloud-client/api/delivery_notes_api.rb +30 -25
  334. data/lib/korona-cloud-client/api/device_configuration_variables_api.rb +445 -0
  335. data/lib/korona-cloud-client/api/economic_zones_api.rb +22 -17
  336. data/lib/korona-cloud-client/api/external_system_calls_api.rb +30 -23
  337. data/lib/korona-cloud-client/api/fiscal_units_api.rb +22 -17
  338. data/lib/korona-cloud-client/api/images_api.rb +6 -5
  339. data/lib/korona-cloud-client/api/info_texts_api.rb +22 -17
  340. data/lib/korona-cloud-client/api/inventories_api.rb +217 -130
  341. data/lib/korona-cloud-client/api/korona_account_api.rb +6 -5
  342. data/lib/korona-cloud-client/api/organizational_units_api.rb +416 -51
  343. data/lib/korona-cloud-client/api/payment_methods_api.rb +366 -8
  344. data/lib/korona-cloud-client/api/points_of_sale_api.rb +277 -40
  345. data/lib/korona-cloud-client/api/pos_button_layouts_api.rb +524 -0
  346. data/lib/korona-cloud-client/api/pos_page_layout_configurations_api.rb +524 -0
  347. data/lib/korona-cloud-client/api/pos_profiles_api.rb +524 -0
  348. data/lib/korona-cloud-client/api/price_groups_api.rb +22 -17
  349. data/lib/korona-cloud-client/api/price_rules_api.rb +520 -0
  350. data/lib/korona-cloud-client/api/production_types_api.rb +22 -17
  351. data/lib/korona-cloud-client/api/products_api.rb +43 -26
  352. data/lib/korona-cloud-client/api/promotions_api.rb +520 -0
  353. data/lib/korona-cloud-client/api/receipt_layout_configurations_api.rb +524 -0
  354. data/lib/korona-cloud-client/api/receipts_api.rb +22 -20
  355. data/lib/korona-cloud-client/api/sales_taxes_api.rb +22 -17
  356. data/lib/korona-cloud-client/api/sectors_api.rb +22 -17
  357. data/lib/korona-cloud-client/api/special_price_configurations_api.rb +445 -0
  358. data/lib/korona-cloud-client/api/statistics_api.rb +18 -14
  359. data/lib/korona-cloud-client/api/stock_adjustments_api.rb +860 -0
  360. data/lib/korona-cloud-client/api/stock_orders_api.rb +177 -19
  361. data/lib/korona-cloud-client/api/stock_receipts_api.rb +54 -43
  362. data/lib/korona-cloud-client/api/store_orders_api.rb +860 -0
  363. data/lib/korona-cloud-client/api/suppliers_api.rb +22 -17
  364. data/lib/korona-cloud-client/api/tags_api.rb +30 -23
  365. data/lib/korona-cloud-client/api/ticket_creation_api.rb +14 -12
  366. data/lib/korona-cloud-client/api/ticketing_api.rb +112 -81
  367. data/lib/korona-cloud-client/api/time_tracking_api.rb +30 -24
  368. data/lib/korona-cloud-client/api/user_roles_api.rb +517 -0
  369. data/lib/korona-cloud-client/api_client.rb +51 -47
  370. data/lib/korona-cloud-client/api_error.rb +2 -2
  371. data/lib/korona-cloud-client/configuration.rb +39 -10
  372. data/lib/korona-cloud-client/models/account.rb +42 -12
  373. data/lib/korona-cloud-client/models/account_summary.rb +20 -8
  374. data/lib/korona-cloud-client/models/account_transaction.rb +43 -13
  375. data/lib/korona-cloud-client/models/add_or_update_result.rb +20 -8
  376. data/lib/korona-cloud-client/models/additional_info.rb +20 -8
  377. data/lib/korona-cloud-client/models/additional_receipt_info_type.rb +51 -12
  378. data/lib/korona-cloud-client/models/address_information.rb +20 -8
  379. data/lib/korona-cloud-client/models/admission.rb +20 -8
  380. data/lib/korona-cloud-client/models/amount.rb +20 -8
  381. data/lib/korona-cloud-client/models/amount_count_data.rb +20 -8
  382. data/lib/korona-cloud-client/models/assortment.rb +35 -13
  383. data/lib/korona-cloud-client/models/attendance.rb +37 -14
  384. data/lib/korona-cloud-client/models/bad_request_error.rb +22 -10
  385. data/lib/korona-cloud-client/models/capacity.rb +20 -8
  386. data/lib/korona-cloud-client/models/cashier.rb +52 -12
  387. data/lib/korona-cloud-client/models/cashier_role.rb +33 -12
  388. data/lib/korona-cloud-client/models/cashier_summary.rb +20 -8
  389. data/lib/korona-cloud-client/models/cashier_verification_requirement.rb +354 -0
  390. data/lib/korona-cloud-client/models/cashier_verification_result.rb +299 -0
  391. data/lib/korona-cloud-client/models/category.rb +20 -8
  392. data/lib/korona-cloud-client/models/cloud_subscription.rb +21 -9
  393. data/lib/korona-cloud-client/models/cloud_subscription_details.rb +22 -10
  394. data/lib/korona-cloud-client/models/commodity_group.rb +42 -12
  395. data/lib/korona-cloud-client/models/commodity_group_summary.rb +20 -8
  396. data/lib/korona-cloud-client/models/company_identification.rb +20 -8
  397. data/lib/korona-cloud-client/models/coupon.rb +227 -0
  398. data/lib/korona-cloud-client/models/creation_task.rb +22 -9
  399. data/lib/korona-cloud-client/models/currency.rb +33 -12
  400. data/lib/korona-cloud-client/models/currency_denomination.rb +20 -8
  401. data/lib/korona-cloud-client/models/currency_exchange_rate.rb +22 -9
  402. data/lib/korona-cloud-client/models/customer.rb +61 -13
  403. data/lib/korona-cloud-client/models/customer_card.rb +20 -8
  404. data/lib/korona-cloud-client/models/customer_data.rb +20 -8
  405. data/lib/korona-cloud-client/models/customer_display_configuration.rb +433 -0
  406. data/lib/korona-cloud-client/models/customer_group.rb +33 -12
  407. data/lib/korona-cloud-client/models/customer_group_summary.rb +20 -8
  408. data/lib/korona-cloud-client/models/customer_information.rb +22 -9
  409. data/lib/korona-cloud-client/models/customer_order.rb +43 -17
  410. data/lib/korona-cloud-client/models/customer_order_item.rb +358 -0
  411. data/lib/korona-cloud-client/models/date_interval.rb +229 -0
  412. data/lib/korona-cloud-client/models/day_rating.rb +22 -9
  413. data/lib/korona-cloud-client/models/day_time_period.rb +20 -8
  414. data/lib/korona-cloud-client/models/delivery_note.rb +37 -14
  415. data/lib/korona-cloud-client/models/delivery_note_item.rb +20 -8
  416. data/lib/korona-cloud-client/models/deposit.rb +22 -9
  417. data/lib/korona-cloud-client/models/device_configuration.rb +356 -0
  418. data/lib/korona-cloud-client/models/device_configuration_variable.rb +267 -0
  419. data/lib/korona-cloud-client/models/device_configuration_variable_value.rb +227 -0
  420. data/lib/korona-cloud-client/models/device_information.rb +22 -8
  421. data/lib/korona-cloud-client/models/device_parameter_item.rb +236 -0
  422. data/lib/korona-cloud-client/models/discount.rb +50 -18
  423. data/lib/korona-cloud-client/models/economic_zone.rb +33 -12
  424. data/lib/korona-cloud-client/models/end_of_day_statement.rb +35 -13
  425. data/lib/korona-cloud-client/models/end_of_day_statement_summary.rb +56 -8
  426. data/lib/korona-cloud-client/models/entry_gate.rb +33 -12
  427. data/lib/korona-cloud-client/models/event.rb +47 -13
  428. data/lib/korona-cloud-client/models/external_system_call.rb +42 -12
  429. data/lib/korona-cloud-client/models/fiscal_transaction.rb +26 -11
  430. data/lib/korona-cloud-client/models/fiscal_unit.rb +43 -13
  431. data/lib/korona-cloud-client/models/fiscal_unit_certificate_info.rb +23 -10
  432. data/lib/korona-cloud-client/models/fiscal_unit_pre_configuration.rb +263 -0
  433. data/lib/korona-cloud-client/models/fiscal_unit_state.rb +20 -8
  434. data/lib/korona-cloud-client/models/fiscal_unit_state_usage_level.rb +20 -8
  435. data/lib/korona-cloud-client/models/fiscal_unit_state_usage_level_value.rb +20 -8
  436. data/lib/korona-cloud-client/models/fiscal_unit_state_version_info.rb +20 -8
  437. data/lib/korona-cloud-client/models/forbidden_error.rb +20 -8
  438. data/lib/korona-cloud-client/models/geo_location.rb +20 -8
  439. data/lib/korona-cloud-client/models/info_text.rb +42 -12
  440. data/lib/korona-cloud-client/models/interval.rb +24 -10
  441. data/lib/korona-cloud-client/models/inventory.rb +43 -14
  442. data/lib/korona-cloud-client/models/inventory_list.rb +50 -16
  443. data/lib/korona-cloud-client/models/inventory_list_item.rb +20 -8
  444. data/lib/korona-cloud-client/models/inventory_list_item_stock.rb +20 -8
  445. data/lib/korona-cloud-client/models/korona_account.rb +39 -12
  446. data/lib/korona-cloud-client/models/media_url.rb +20 -8
  447. data/lib/korona-cloud-client/models/method_not_allowed_error.rb +20 -8
  448. data/lib/korona-cloud-client/models/model_reference.rb +20 -8
  449. data/lib/korona-cloud-client/models/not_found_error.rb +20 -8
  450. data/lib/korona-cloud-client/models/opening_hours.rb +22 -8
  451. data/lib/korona-cloud-client/models/organizational_unit.rb +39 -12
  452. data/lib/korona-cloud-client/models/payment.rb +57 -13
  453. data/lib/korona-cloud-client/models/payment_method.rb +51 -12
  454. data/lib/korona-cloud-client/models/payment_service_configuration.rb +288 -0
  455. data/lib/korona-cloud-client/models/payment_summary.rb +20 -8
  456. data/lib/korona-cloud-client/models/payment_terminal_receipt.rb +263 -0
  457. data/lib/korona-cloud-client/models/period.rb +24 -10
  458. data/lib/korona-cloud-client/models/period_list_top_seller.rb +24 -10
  459. data/lib/korona-cloud-client/models/period_map_string_revenue_data.rb +24 -10
  460. data/lib/korona-cloud-client/models/period_object.rb +24 -10
  461. data/lib/korona-cloud-client/models/period_revenue_data.rb +24 -10
  462. data/lib/korona-cloud-client/models/pos.rb +186 -12
  463. data/lib/korona-cloud-client/models/pos_balance.rb +374 -0
  464. data/lib/korona-cloud-client/models/pos_balance_item.rb +288 -0
  465. data/lib/korona-cloud-client/models/pos_balance_summary.rb +236 -0
  466. data/lib/korona-cloud-client/models/pos_balance_summary_changeset.rb +255 -0
  467. data/lib/korona-cloud-client/models/pos_balance_total.rb +227 -0
  468. data/lib/korona-cloud-client/models/pos_button.rb +329 -0
  469. data/lib/korona-cloud-client/models/pos_button_function.rb +366 -0
  470. data/lib/korona-cloud-client/models/pos_button_layout.rb +327 -0
  471. data/lib/korona-cloud-client/models/pos_page_layout.rb +288 -0
  472. data/lib/korona-cloud-client/models/pos_page_layout_configuration.rb +302 -0
  473. data/lib/korona-cloud-client/models/pos_profile.rb +667 -0
  474. data/lib/korona-cloud-client/models/prepaid_card.rb +227 -0
  475. data/lib/korona-cloud-client/models/price_group.rb +33 -12
  476. data/lib/korona-cloud-client/models/price_rule.rb +321 -0
  477. data/lib/korona-cloud-client/models/price_rule_calculation.rb +261 -0
  478. data/lib/korona-cloud-client/models/price_rule_condition.rb +306 -0
  479. data/lib/korona-cloud-client/models/price_rule_time_validity_repetition_interval.rb +261 -0
  480. data/lib/korona-cloud-client/models/price_rule_validity_period.rb +236 -0
  481. data/lib/korona-cloud-client/models/product.rb +65 -15
  482. data/lib/korona-cloud-client/models/product_code.rb +20 -8
  483. data/lib/korona-cloud-client/models/product_description.rb +20 -8
  484. data/lib/korona-cloud-client/models/product_price.rb +24 -9
  485. data/lib/korona-cloud-client/models/product_special_price.rb +237 -0
  486. data/lib/korona-cloud-client/models/product_stock.rb +20 -8
  487. data/lib/korona-cloud-client/models/product_subproduct.rb +76 -12
  488. data/lib/korona-cloud-client/models/product_supplier_price.rb +20 -8
  489. data/lib/korona-cloud-client/models/product_transfer_involved_party_information.rb +20 -8
  490. data/lib/korona-cloud-client/models/product_transfer_involved_party_information_data.rb +20 -8
  491. data/lib/korona-cloud-client/models/production_type.rb +35 -14
  492. data/lib/korona-cloud-client/models/promotion.rb +392 -0
  493. data/lib/korona-cloud-client/models/promotion_benefit.rb +288 -0
  494. data/lib/korona-cloud-client/models/promotion_benefit_common_discount.rb +351 -0
  495. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount.rb +229 -0
  496. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_discount_calculation.rb +291 -0
  497. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection.rb +279 -0
  498. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_count_amount.rb +261 -0
  499. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria.rb +247 -0
  500. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range.rb +227 -0
  501. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range_value_comperator.rb +227 -0
  502. data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_filter.rb +297 -0
  503. data/lib/korona-cloud-client/models/promotion_benefit_reduce_product_amount.rb +227 -0
  504. data/lib/korona-cloud-client/models/promotion_bonuspoint.rb +227 -0
  505. data/lib/korona-cloud-client/models/promotion_bonuspoint_creation.rb +279 -0
  506. data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption.rb +279 -0
  507. data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_fixed_discount.rb +227 -0
  508. data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_percentage_discount.rb +227 -0
  509. data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_tag_discount.rb +227 -0
  510. data/lib/korona-cloud-client/models/promotion_coupon.rb +287 -0
  511. data/lib/korona-cloud-client/models/promotion_coupon_validity.rb +270 -0
  512. data/lib/korona-cloud-client/models/promotion_coupon_validity_days_after_purchase_interval.rb +227 -0
  513. data/lib/korona-cloud-client/models/promotion_layer.rb +227 -0
  514. data/lib/korona-cloud-client/models/promotion_stamp.rb +270 -0
  515. data/lib/korona-cloud-client/models/promotion_trigger.rb +298 -0
  516. data/lib/korona-cloud-client/models/promotion_trigger_product_amount_condition.rb +270 -0
  517. data/lib/korona-cloud-client/models/promotion_trigger_receipt_product_amount_condition.rb +261 -0
  518. data/lib/korona-cloud-client/models/promotion_trigger_receipt_revenue_condition.rb +261 -0
  519. data/lib/korona-cloud-client/models/promotion_trigger_tag_amount_condition.rb +270 -0
  520. data/lib/korona-cloud-client/models/promotion_trigger_tag_revenue_condition.rb +270 -0
  521. data/lib/korona-cloud-client/models/promotion_validity.rb +294 -0
  522. data/lib/korona-cloud-client/models/rating.rb +20 -8
  523. data/lib/korona-cloud-client/models/receipt.rb +115 -14
  524. data/lib/korona-cloud-client/models/receipt_item.rb +158 -37
  525. data/lib/korona-cloud-client/models/receipt_layout_configuration.rb +436 -0
  526. data/lib/korona-cloud-client/models/receipt_max_revisions.rb +20 -8
  527. data/lib/korona-cloud-client/models/receipt_revenue.rb +227 -0
  528. data/lib/korona-cloud-client/models/receipt_total.rb +236 -0
  529. data/lib/korona-cloud-client/models/result_list.rb +20 -8
  530. data/lib/korona-cloud-client/models/result_list_account.rb +20 -8
  531. data/lib/korona-cloud-client/models/result_list_additional_receipt_info_type.rb +20 -8
  532. data/lib/korona-cloud-client/models/result_list_assortment.rb +20 -8
  533. data/lib/korona-cloud-client/models/result_list_attendance.rb +20 -8
  534. data/lib/korona-cloud-client/models/result_list_cashier.rb +20 -8
  535. data/lib/korona-cloud-client/models/result_list_cashier_role.rb +20 -8
  536. data/lib/korona-cloud-client/models/result_list_cashier_verification_requirement.rb +303 -0
  537. data/lib/korona-cloud-client/models/result_list_commodity_group.rb +20 -8
  538. data/lib/korona-cloud-client/models/result_list_creation_task.rb +20 -8
  539. data/lib/korona-cloud-client/models/result_list_currency.rb +20 -8
  540. data/lib/korona-cloud-client/models/result_list_customer.rb +20 -8
  541. data/lib/korona-cloud-client/models/result_list_customer_display_configuration.rb +303 -0
  542. data/lib/korona-cloud-client/models/result_list_customer_group.rb +20 -8
  543. data/lib/korona-cloud-client/models/result_list_customer_order.rb +20 -8
  544. data/lib/korona-cloud-client/models/result_list_day_rating.rb +20 -8
  545. data/lib/korona-cloud-client/models/result_list_delivery_note.rb +20 -8
  546. data/lib/korona-cloud-client/models/result_list_device_configuration_variable.rb +303 -0
  547. data/lib/korona-cloud-client/models/result_list_economic_zone.rb +20 -8
  548. data/lib/korona-cloud-client/models/result_list_end_of_day_statement.rb +20 -8
  549. data/lib/korona-cloud-client/models/result_list_entry_gate.rb +20 -8
  550. data/lib/korona-cloud-client/models/result_list_event.rb +20 -8
  551. data/lib/korona-cloud-client/models/result_list_external_system_call.rb +20 -8
  552. data/lib/korona-cloud-client/models/result_list_fiscal_unit.rb +20 -8
  553. data/lib/korona-cloud-client/models/result_list_info_text.rb +20 -8
  554. data/lib/korona-cloud-client/models/result_list_inventory.rb +20 -8
  555. data/lib/korona-cloud-client/models/result_list_inventory_list.rb +20 -8
  556. data/lib/korona-cloud-client/models/result_list_inventory_list_item.rb +20 -8
  557. data/lib/korona-cloud-client/models/result_list_organizational_unit.rb +20 -8
  558. data/lib/korona-cloud-client/models/result_list_payment_method.rb +20 -8
  559. data/lib/korona-cloud-client/models/result_list_pos.rb +20 -8
  560. data/lib/korona-cloud-client/models/result_list_pos_balance.rb +303 -0
  561. data/lib/korona-cloud-client/models/result_list_pos_button_layout.rb +303 -0
  562. data/lib/korona-cloud-client/models/result_list_pos_page_layout_configuration.rb +303 -0
  563. data/lib/korona-cloud-client/models/result_list_pos_profile.rb +303 -0
  564. data/lib/korona-cloud-client/models/result_list_price_group.rb +20 -8
  565. data/lib/korona-cloud-client/models/result_list_price_rule.rb +303 -0
  566. data/lib/korona-cloud-client/models/result_list_product.rb +20 -8
  567. data/lib/korona-cloud-client/models/result_list_product_stock.rb +20 -8
  568. data/lib/korona-cloud-client/models/result_list_production_type.rb +20 -8
  569. data/lib/korona-cloud-client/models/result_list_promotion.rb +303 -0
  570. data/lib/korona-cloud-client/models/result_list_receipt.rb +20 -8
  571. data/lib/korona-cloud-client/models/result_list_receipt_layout_configuration.rb +303 -0
  572. data/lib/korona-cloud-client/models/result_list_sales_tax.rb +20 -8
  573. data/lib/korona-cloud-client/models/result_list_sector.rb +20 -8
  574. data/lib/korona-cloud-client/models/result_list_special_price_configuration.rb +303 -0
  575. data/lib/korona-cloud-client/models/result_list_stock_adjustment.rb +303 -0
  576. data/lib/korona-cloud-client/models/result_list_stock_adjustment_item.rb +303 -0
  577. data/lib/korona-cloud-client/models/result_list_stock_order.rb +20 -8
  578. data/lib/korona-cloud-client/models/result_list_stock_order_item.rb +303 -0
  579. data/lib/korona-cloud-client/models/result_list_stock_receipt.rb +20 -8
  580. data/lib/korona-cloud-client/models/result_list_stock_receipt_item.rb +20 -8
  581. data/lib/korona-cloud-client/models/result_list_store_order.rb +303 -0
  582. data/lib/korona-cloud-client/models/result_list_store_order_item.rb +303 -0
  583. data/lib/korona-cloud-client/models/result_list_supplier.rb +20 -8
  584. data/lib/korona-cloud-client/models/result_list_tag.rb +20 -8
  585. data/lib/korona-cloud-client/models/result_list_ticket.rb +20 -8
  586. data/lib/korona-cloud-client/models/result_list_ticket_definition.rb +20 -8
  587. data/lib/korona-cloud-client/models/result_list_time_tracking_entity.rb +20 -8
  588. data/lib/korona-cloud-client/models/result_list_time_tracking_entry.rb +20 -8
  589. data/lib/korona-cloud-client/models/result_list_user_role.rb +303 -0
  590. data/lib/korona-cloud-client/models/revenue_data.rb +20 -8
  591. data/lib/korona-cloud-client/models/sales_tax.rb +33 -12
  592. data/lib/korona-cloud-client/models/sales_tax_rate.rb +22 -9
  593. data/lib/korona-cloud-client/models/sector.rb +33 -12
  594. data/lib/korona-cloud-client/models/sector_revenue_account_item.rb +20 -8
  595. data/lib/korona-cloud-client/models/sector_sales_tax_item.rb +20 -8
  596. data/lib/korona-cloud-client/models/service.rb +20 -8
  597. data/lib/korona-cloud-client/models/signature.rb +22 -9
  598. data/lib/korona-cloud-client/models/special_price.rb +237 -0
  599. data/lib/korona-cloud-client/models/special_price_configuration.rb +304 -0
  600. data/lib/korona-cloud-client/models/statistic.rb +20 -8
  601. data/lib/korona-cloud-client/models/statistic_list_top_seller.rb +20 -8
  602. data/lib/korona-cloud-client/models/statistic_map_string_revenue_data.rb +20 -8
  603. data/lib/korona-cloud-client/models/statistic_revenue_data.rb +20 -8
  604. data/lib/korona-cloud-client/models/stock_adjustment.rb +384 -0
  605. data/lib/korona-cloud-client/models/stock_adjustment_item.rb +245 -0
  606. data/lib/korona-cloud-client/models/stock_adjustment_item_reason.rb +261 -0
  607. data/lib/korona-cloud-client/models/stock_order.rb +135 -100
  608. data/lib/korona-cloud-client/models/stock_order_item.rb +22 -9
  609. data/lib/korona-cloud-client/models/stock_receipt.rb +39 -15
  610. data/lib/korona-cloud-client/models/stock_receipt_item.rb +22 -9
  611. data/lib/korona-cloud-client/models/stock_receipt_item_amount.rb +20 -8
  612. data/lib/korona-cloud-client/models/stock_receipt_item_identification.rb +20 -8
  613. data/lib/korona-cloud-client/models/stock_receipt_item_purchase_price.rb +20 -8
  614. data/lib/korona-cloud-client/models/store_order.rb +342 -0
  615. data/lib/korona-cloud-client/models/store_order_item.rb +245 -0
  616. data/lib/korona-cloud-client/models/supplier.rb +42 -12
  617. data/lib/korona-cloud-client/models/supplier_contact.rb +20 -8
  618. data/lib/korona-cloud-client/models/supplier_contact_person.rb +20 -8
  619. data/lib/korona-cloud-client/models/supplier_payment_information.rb +20 -8
  620. data/lib/korona-cloud-client/models/tag.rb +33 -12
  621. data/lib/korona-cloud-client/models/tax_payment.rb +20 -8
  622. data/lib/korona-cloud-client/models/tax_summary.rb +20 -8
  623. data/lib/korona-cloud-client/models/terminal_receipt_print_line.rb +261 -0
  624. data/lib/korona-cloud-client/models/ticket.rb +24 -10
  625. data/lib/korona-cloud-client/models/ticket_data.rb +26 -10
  626. data/lib/korona-cloud-client/models/ticket_definition.rb +75 -12
  627. data/lib/korona-cloud-client/models/ticket_personalization.rb +20 -8
  628. data/lib/korona-cloud-client/models/time_of_day_interval.rb +229 -0
  629. data/lib/korona-cloud-client/models/time_period.rb +20 -8
  630. data/lib/korona-cloud-client/models/time_tracking_entity.rb +33 -12
  631. data/lib/korona-cloud-client/models/time_tracking_entry.rb +22 -9
  632. data/lib/korona-cloud-client/models/too_many_requests_error.rb +20 -8
  633. data/lib/korona-cloud-client/models/top_seller.rb +20 -8
  634. data/lib/korona-cloud-client/models/total_period.rb +24 -10
  635. data/lib/korona-cloud-client/models/total_price.rb +20 -8
  636. data/lib/korona-cloud-client/models/user_role.rb +300 -0
  637. data/lib/korona-cloud-client/models/validity.rb +26 -8
  638. data/lib/korona-cloud-client/models/voided_receipt_item.rb +20 -8
  639. data/lib/korona-cloud-client/models/voucher_transaction.rb +335 -0
  640. data/lib/korona-cloud-client/models/weather.rb +20 -8
  641. data/lib/korona-cloud-client/version.rb +3 -3
  642. data/lib/korona-cloud-client.rb +107 -2
  643. data/spec/api/cashier_verification_requirement_api_spec.rb +101 -0
  644. data/spec/api/customer_display_configurations_api_spec.rb +114 -0
  645. data/spec/api/device_configuration_variables_api_spec.rb +113 -0
  646. data/spec/api/pos_button_layouts_api_spec.rb +128 -0
  647. data/spec/api/pos_page_layout_configurations_api_spec.rb +128 -0
  648. data/spec/api/pos_profiles_api_spec.rb +128 -0
  649. data/spec/api/price_rules_api_spec.rb +126 -0
  650. data/spec/api/promotions_api_spec.rb +126 -0
  651. data/spec/api/receipt_layout_configurations_api_spec.rb +128 -0
  652. data/spec/api/special_price_configurations_api_spec.rb +113 -0
  653. data/spec/api/stock_adjustments_api_spec.rb +190 -0
  654. data/spec/api/store_orders_api_spec.rb +190 -0
  655. data/spec/api/user_roles_api_spec.rb +125 -0
  656. data/spec/api_client_spec.rb +2 -2
  657. data/spec/configuration_spec.rb +2 -2
  658. data/spec/models/cashier_verification_requirement_spec.rb +98 -0
  659. data/spec/models/cashier_verification_result_spec.rb +68 -0
  660. data/spec/models/coupon_spec.rb +40 -0
  661. data/spec/models/customer_display_configuration_spec.rb +148 -0
  662. data/spec/models/customer_order_item_spec.rb +118 -0
  663. data/spec/models/date_interval_spec.rb +40 -0
  664. data/spec/models/device_configuration_spec.rb +94 -0
  665. data/spec/models/device_configuration_variable_spec.rb +64 -0
  666. data/spec/models/device_configuration_variable_value_spec.rb +40 -0
  667. data/spec/models/device_parameter_item_spec.rb +46 -0
  668. data/spec/models/fiscal_unit_pre_configuration_spec.rb +64 -0
  669. data/spec/models/payment_service_configuration_spec.rb +62 -0
  670. data/spec/models/payment_terminal_receipt_spec.rb +44 -0
  671. data/spec/models/pos_balance_item_spec.rb +62 -0
  672. data/spec/models/pos_balance_spec.rb +118 -0
  673. data/spec/models/pos_balance_summary_changeset_spec.rb +58 -0
  674. data/spec/models/pos_balance_summary_spec.rb +46 -0
  675. data/spec/models/pos_balance_total_spec.rb +40 -0
  676. data/spec/models/pos_button_function_spec.rb +106 -0
  677. data/spec/models/pos_button_layout_spec.rb +80 -0
  678. data/spec/models/pos_button_spec.rb +84 -0
  679. data/spec/models/pos_page_layout_configuration_spec.rb +82 -0
  680. data/spec/models/pos_page_layout_spec.rb +62 -0
  681. data/spec/models/pos_profile_spec.rb +288 -0
  682. data/spec/models/prepaid_card_spec.rb +40 -0
  683. data/spec/models/price_rule_calculation_spec.rb +44 -0
  684. data/spec/models/price_rule_condition_spec.rb +74 -0
  685. data/spec/models/price_rule_spec.rb +100 -0
  686. data/spec/models/price_rule_time_validity_repetition_interval_spec.rb +44 -0
  687. data/spec/models/price_rule_validity_period_spec.rb +46 -0
  688. data/spec/models/product_special_price_spec.rb +46 -0
  689. data/spec/models/promotion_benefit_common_discount_spec.rb +92 -0
  690. data/spec/models/promotion_benefit_extended_discount_discount_calculation_spec.rb +60 -0
  691. data/spec/models/promotion_benefit_extended_discount_position_selection_count_amount_spec.rb +44 -0
  692. data/spec/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range_spec.rb +40 -0
  693. data/spec/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_spec.rb +40 -0
  694. data/spec/models/promotion_benefit_extended_discount_position_selection_criteria_spec.rb +52 -0
  695. data/spec/models/promotion_benefit_extended_discount_position_selection_filter_spec.rb +68 -0
  696. data/spec/models/promotion_benefit_extended_discount_position_selection_spec.rb +56 -0
  697. data/spec/models/promotion_benefit_extended_discount_spec.rb +40 -0
  698. data/spec/models/promotion_benefit_reduce_product_amount_spec.rb +40 -0
  699. data/spec/models/promotion_benefit_spec.rb +62 -0
  700. data/spec/models/promotion_bonuspoint_creation_spec.rb +56 -0
  701. data/spec/models/promotion_bonuspoint_redemption_fixed_discount_spec.rb +40 -0
  702. data/spec/models/promotion_bonuspoint_redemption_percentage_discount_spec.rb +40 -0
  703. data/spec/models/promotion_bonuspoint_redemption_spec.rb +56 -0
  704. data/spec/models/promotion_bonuspoint_redemption_tag_discount_spec.rb +40 -0
  705. data/spec/models/promotion_bonuspoint_spec.rb +40 -0
  706. data/spec/models/promotion_coupon_spec.rb +56 -0
  707. data/spec/models/promotion_coupon_validity_days_after_purchase_interval_spec.rb +40 -0
  708. data/spec/models/promotion_coupon_validity_spec.rb +50 -0
  709. data/spec/models/promotion_layer_spec.rb +40 -0
  710. data/spec/models/promotion_spec.rb +122 -0
  711. data/spec/models/promotion_stamp_spec.rb +50 -0
  712. data/spec/models/promotion_trigger_product_amount_condition_spec.rb +50 -0
  713. data/spec/models/promotion_trigger_receipt_product_amount_condition_spec.rb +44 -0
  714. data/spec/models/promotion_trigger_receipt_revenue_condition_spec.rb +44 -0
  715. data/spec/models/promotion_trigger_spec.rb +76 -0
  716. data/spec/models/promotion_trigger_tag_amount_condition_spec.rb +50 -0
  717. data/spec/models/promotion_trigger_tag_revenue_condition_spec.rb +50 -0
  718. data/spec/models/promotion_validity_spec.rb +62 -0
  719. data/spec/models/receipt_layout_configuration_spec.rb +158 -0
  720. data/spec/models/receipt_revenue_spec.rb +40 -0
  721. data/spec/models/receipt_total_spec.rb +46 -0
  722. data/spec/models/result_list_cashier_verification_requirement_spec.rb +64 -0
  723. data/spec/models/result_list_customer_display_configuration_spec.rb +64 -0
  724. data/spec/models/result_list_device_configuration_variable_spec.rb +64 -0
  725. data/spec/models/result_list_pos_balance_spec.rb +64 -0
  726. data/spec/models/result_list_pos_button_layout_spec.rb +64 -0
  727. data/spec/models/result_list_pos_page_layout_configuration_spec.rb +64 -0
  728. data/spec/models/result_list_pos_profile_spec.rb +64 -0
  729. data/spec/models/result_list_price_rule_spec.rb +64 -0
  730. data/spec/models/result_list_promotion_spec.rb +64 -0
  731. data/spec/models/result_list_receipt_layout_configuration_spec.rb +64 -0
  732. data/spec/models/result_list_special_price_configuration_spec.rb +64 -0
  733. data/spec/models/result_list_stock_adjustment_item_spec.rb +64 -0
  734. data/spec/models/result_list_stock_adjustment_spec.rb +64 -0
  735. data/spec/models/result_list_stock_order_item_spec.rb +64 -0
  736. data/spec/models/result_list_store_order_item_spec.rb +64 -0
  737. data/spec/models/result_list_store_order_spec.rb +64 -0
  738. data/spec/models/result_list_user_role_spec.rb +64 -0
  739. data/spec/models/special_price_configuration_spec.rb +82 -0
  740. data/spec/models/special_price_spec.rb +46 -0
  741. data/spec/models/stock_adjustment_item_reason_spec.rb +44 -0
  742. data/spec/models/stock_adjustment_item_spec.rb +52 -0
  743. data/spec/models/stock_adjustment_spec.rb +122 -0
  744. data/spec/models/store_order_item_spec.rb +52 -0
  745. data/spec/models/store_order_spec.rb +112 -0
  746. data/spec/models/terminal_receipt_print_line_spec.rb +44 -0
  747. data/spec/models/time_of_day_interval_spec.rb +40 -0
  748. data/spec/models/user_role_spec.rb +74 -0
  749. data/spec/models/voucher_transaction_spec.rb +92 -0
  750. data/spec/spec_helper.rb +2 -2
  751. metadata +427 -31
  752. data/korona-cloud-client-1.0.0.gem +0 -0
  753. data/korona-cloud-client-1.0.1.gem +0 -0
  754. data/korona-cloud-client-1.0.2.gem +0 -0
@@ -2,35 +2,35 @@
2
2
 
3
3
  All URIs are relative to *https://www.koronacloud.com/web/api/v3*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**add_inventories**](InventoriesApi.md#add_inventories) | **POST** /accounts/{koronaAccountId}/inventories | adds a batch of new inventories
8
- [**add_inventory_inventory_list_items**](InventoriesApi.md#add_inventory_inventory_list_items) | **POST** /accounts/{koronaAccountId}/inventories/{inventoryId}/inventoryLists/{inventoryListId}/items | adds inventory list items
9
- [**delete_inventory**](InventoriesApi.md#delete_inventory) | **DELETE** /accounts/{koronaAccountId}/inventories/{inventoryId} | deletes the single inventory (only allowed if hasBookedReceipts=false)
10
- [**delete_inventory_inventory_list_item**](InventoriesApi.md#delete_inventory_inventory_list_item) | **DELETE** /accounts/{koronaAccountId}/inventories/{inventoryId}/inventoryLists/{inventoryListId}/items/{productId} | deletes the single inventory list item
11
- [**get_inventories**](InventoriesApi.md#get_inventories) | **GET** /accounts/{koronaAccountId}/inventories | lists all inventories
12
- [**get_inventory**](InventoriesApi.md#get_inventory) | **GET** /accounts/{koronaAccountId}/inventories/{inventoryId} | returns the single inventory
13
- [**get_inventory_inventory_list**](InventoriesApi.md#get_inventory_inventory_list) | **GET** /accounts/{koronaAccountId}/inventories/{inventoryId}/inventoryLists/{inventoryListId} | returns the single inventory list
14
- [**get_inventory_inventory_list_item**](InventoriesApi.md#get_inventory_inventory_list_item) | **GET** /accounts/{koronaAccountId}/inventories/{inventoryId}/inventoryLists/{inventoryListId}/items/{productId} | returns the single inventory list item
15
- [**get_inventory_inventory_list_items**](InventoriesApi.md#get_inventory_inventory_list_items) | **GET** /accounts/{koronaAccountId}/inventories/{inventoryId}/inventoryLists/{inventoryListId}/items | lists all inventory list items
16
- [**get_inventory_inventory_lists**](InventoriesApi.md#get_inventory_inventory_lists) | **GET** /accounts/{koronaAccountId}/inventories/{inventoryId}/inventoryLists | lists all inventory lists
17
- [**update_inventory**](InventoriesApi.md#update_inventory) | **PATCH** /accounts/{koronaAccountId}/inventories/{inventoryId} | updates the single inventory
18
- [**update_inventory_inventory_list**](InventoriesApi.md#update_inventory_inventory_list) | **PATCH** /accounts/{koronaAccountId}/inventories/{inventoryId}/inventoryLists/{inventoryListId} | updates the single inventory list
19
- [**update_inventory_inventory_list_item**](InventoriesApi.md#update_inventory_inventory_list_item) | **PATCH** /accounts/{koronaAccountId}/inventories/{inventoryId}/inventoryLists/{inventoryListId}/items/{productId} | updates the single inventory list item
20
- [**update_inventory_inventory_list_items**](InventoriesApi.md#update_inventory_inventory_list_items) | **PATCH** /accounts/{koronaAccountId}/inventories/{inventoryId}/inventoryLists/{inventoryListId}/items | updates inventory list items (property [product] required))
21
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**add_inventories**](InventoriesApi.md#add_inventories) | **POST** /accounts/{koronaAccountId}/inventories | adds a batch of new inventories |
8
+ | [**add_inventory_list_items**](InventoriesApi.md#add_inventory_list_items) | **POST** /accounts/{koronaAccountId}/inventories/{inventoryId}/inventoryLists/{inventoryListId}/items | adds inventory list items |
9
+ | [**book_inventory_list**](InventoriesApi.md#book_inventory_list) | **PATCH** /accounts/{koronaAccountId}/inventories/{inventoryId}/inventoryLists/{inventoryListId}/book | book the single inventory list |
10
+ | [**delete_inventory**](InventoriesApi.md#delete_inventory) | **DELETE** /accounts/{koronaAccountId}/inventories/{inventoryId} | deletes the single inventory (only allowed if hasBookedReceipts=false) |
11
+ | [**delete_inventory_list_item**](InventoriesApi.md#delete_inventory_list_item) | **DELETE** /accounts/{koronaAccountId}/inventories/{inventoryId}/inventoryLists/{inventoryListId}/items/{productId} | deletes the single inventory list item |
12
+ | [**get_inventories**](InventoriesApi.md#get_inventories) | **GET** /accounts/{koronaAccountId}/inventories | lists all inventories |
13
+ | [**get_inventory**](InventoriesApi.md#get_inventory) | **GET** /accounts/{koronaAccountId}/inventories/{inventoryId} | returns the single inventory |
14
+ | [**get_inventory_list**](InventoriesApi.md#get_inventory_list) | **GET** /accounts/{koronaAccountId}/inventories/{inventoryId}/inventoryLists/{inventoryListId} | returns the single inventory list |
15
+ | [**get_inventory_list_item**](InventoriesApi.md#get_inventory_list_item) | **GET** /accounts/{koronaAccountId}/inventories/{inventoryId}/inventoryLists/{inventoryListId}/items/{productId} | returns the single inventory list item |
16
+ | [**get_inventory_list_items**](InventoriesApi.md#get_inventory_list_items) | **GET** /accounts/{koronaAccountId}/inventories/{inventoryId}/inventoryLists/{inventoryListId}/items | lists all inventory list items |
17
+ | [**get_inventory_lists**](InventoriesApi.md#get_inventory_lists) | **GET** /accounts/{koronaAccountId}/inventories/{inventoryId}/inventoryLists | lists all inventory lists |
18
+ | [**update_inventory**](InventoriesApi.md#update_inventory) | **PATCH** /accounts/{koronaAccountId}/inventories/{inventoryId} | updates the single inventory |
19
+ | [**update_inventory_list**](InventoriesApi.md#update_inventory_list) | **PATCH** /accounts/{koronaAccountId}/inventories/{inventoryId}/inventoryLists/{inventoryListId} | updates the single inventory list |
20
+ | [**update_inventory_list_item**](InventoriesApi.md#update_inventory_list_item) | **PATCH** /accounts/{koronaAccountId}/inventories/{inventoryId}/inventoryLists/{inventoryListId}/items/{productId} | updates the single inventory list item |
21
+ | [**update_inventory_list_items**](InventoriesApi.md#update_inventory_list_items) | **PATCH** /accounts/{koronaAccountId}/inventories/{inventoryId}/inventoryLists/{inventoryListId}/items | updates inventory list items (property [product] required)) |
22
22
 
23
23
 
24
24
  ## add_inventories
25
25
 
26
- > Array<AddOrUpdateResult> add_inventories(korona_account_id, body)
26
+ > <Array<AddOrUpdateResult>> add_inventories(korona_account_id, body)
27
27
 
28
28
  adds a batch of new inventories
29
29
 
30
- ### Example
30
+ ### Examples
31
31
 
32
32
  ```ruby
33
- # load the gem
33
+ require 'time'
34
34
  require 'korona-cloud-client'
35
35
  # setup authorization
36
36
  KoronaCloudClient.configure do |config|
@@ -44,21 +44,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
44
44
  body = [KoronaCloudClient::Inventory.new] # Array<Inventory> | an array of new inventories
45
45
 
46
46
  begin
47
- #adds a batch of new inventories
47
+ # adds a batch of new inventories
48
48
  result = api_instance.add_inventories(korona_account_id, body)
49
49
  p result
50
50
  rescue KoronaCloudClient::ApiError => e
51
- puts "Exception when calling InventoriesApi->add_inventories: #{e}"
51
+ puts "Error when calling InventoriesApi->add_inventories: #{e}"
52
52
  end
53
53
  ```
54
54
 
55
- ### Parameters
55
+ #### Using the add_inventories_with_http_info variant
56
+
57
+ This returns an Array which contains the response data, status code and headers.
58
+
59
+ > <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> add_inventories_with_http_info(korona_account_id, body)
60
+
61
+ ```ruby
62
+ begin
63
+ # adds a batch of new inventories
64
+ data, status_code, headers = api_instance.add_inventories_with_http_info(korona_account_id, body)
65
+ p status_code # => 2xx
66
+ p headers # => { ... }
67
+ p data # => <Array<AddOrUpdateResult>>
68
+ rescue KoronaCloudClient::ApiError => e
69
+ puts "Error when calling InventoriesApi->add_inventories_with_http_info: #{e}"
70
+ end
71
+ ```
56
72
 
73
+ ### Parameters
57
74
 
58
- Name | Type | Description | Notes
59
- ------------- | ------------- | ------------- | -------------
60
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
61
- **body** | [**Array&lt;Inventory&gt;**](Inventory.md)| an array of new inventories |
75
+ | Name | Type | Description | Notes |
76
+ | ---- | ---- | ----------- | ----- |
77
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
78
+ | **body** | [**Array&lt;Inventory&gt;**](Inventory.md) | an array of new inventories | |
62
79
 
63
80
  ### Return type
64
81
 
@@ -74,16 +91,16 @@ Name | Type | Description | Notes
74
91
  - **Accept**: application/json
75
92
 
76
93
 
77
- ## add_inventory_inventory_list_items
94
+ ## add_inventory_list_items
78
95
 
79
- > Array&lt;AddOrUpdateResult&gt; add_inventory_inventory_list_items(korona_account_id, inventory_id, inventory_list_id, body)
96
+ > <Array<AddOrUpdateResult>> add_inventory_list_items(korona_account_id, inventory_id, inventory_list_id, body)
80
97
 
81
98
  adds inventory list items
82
99
 
83
- ### Example
100
+ ### Examples
84
101
 
85
102
  ```ruby
86
- # load the gem
103
+ require 'time'
87
104
  require 'korona-cloud-client'
88
105
  # setup authorization
89
106
  KoronaCloudClient.configure do |config|
@@ -99,23 +116,40 @@ inventory_list_id = 'inventory_list_id_example' # String | id of the related obj
99
116
  body = [KoronaCloudClient::InventoryListItem.new] # Array<InventoryListItem> | data to update
100
117
 
101
118
  begin
102
- #adds inventory list items
103
- result = api_instance.add_inventory_inventory_list_items(korona_account_id, inventory_id, inventory_list_id, body)
119
+ # adds inventory list items
120
+ result = api_instance.add_inventory_list_items(korona_account_id, inventory_id, inventory_list_id, body)
104
121
  p result
105
122
  rescue KoronaCloudClient::ApiError => e
106
- puts "Exception when calling InventoriesApi->add_inventory_inventory_list_items: #{e}"
123
+ puts "Error when calling InventoriesApi->add_inventory_list_items: #{e}"
107
124
  end
108
125
  ```
109
126
 
110
- ### Parameters
127
+ #### Using the add_inventory_list_items_with_http_info variant
111
128
 
129
+ This returns an Array which contains the response data, status code and headers.
112
130
 
113
- Name | Type | Description | Notes
114
- ------------- | ------------- | ------------- | -------------
115
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
116
- **inventory_id** | **String**| id of the related object (important: id should match the uuid-format) |
117
- **inventory_list_id** | **String**| id of the related object (important: id should match the uuid-format) |
118
- **body** | [**Array&lt;InventoryListItem&gt;**](InventoryListItem.md)| data to update |
131
+ > <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> add_inventory_list_items_with_http_info(korona_account_id, inventory_id, inventory_list_id, body)
132
+
133
+ ```ruby
134
+ begin
135
+ # adds inventory list items
136
+ data, status_code, headers = api_instance.add_inventory_list_items_with_http_info(korona_account_id, inventory_id, inventory_list_id, body)
137
+ p status_code # => 2xx
138
+ p headers # => { ... }
139
+ p data # => <Array<AddOrUpdateResult>>
140
+ rescue KoronaCloudClient::ApiError => e
141
+ puts "Error when calling InventoriesApi->add_inventory_list_items_with_http_info: #{e}"
142
+ end
143
+ ```
144
+
145
+ ### Parameters
146
+
147
+ | Name | Type | Description | Notes |
148
+ | ---- | ---- | ----------- | ----- |
149
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
150
+ | **inventory_id** | **String** | id of the related object (important: id should match the uuid-format) | |
151
+ | **inventory_list_id** | **String** | id of the related object (important: id should match the uuid-format) | |
152
+ | **body** | [**Array&lt;InventoryListItem&gt;**](InventoryListItem.md) | data to update | |
119
153
 
120
154
  ### Return type
121
155
 
@@ -131,16 +165,87 @@ Name | Type | Description | Notes
131
165
  - **Accept**: application/json
132
166
 
133
167
 
168
+ ## book_inventory_list
169
+
170
+ > book_inventory_list(korona_account_id, inventory_id, inventory_list_id)
171
+
172
+ book the single inventory list
173
+
174
+ ### Examples
175
+
176
+ ```ruby
177
+ require 'time'
178
+ require 'korona-cloud-client'
179
+ # setup authorization
180
+ KoronaCloudClient.configure do |config|
181
+ # Configure HTTP basic authorization: basicAuth
182
+ config.username = 'YOUR USERNAME'
183
+ config.password = 'YOUR PASSWORD'
184
+ end
185
+
186
+ api_instance = KoronaCloudClient::InventoriesApi.new
187
+ korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
188
+ inventory_id = 'inventory_id_example' # String | id of the related object (important: id should match the uuid-format)
189
+ inventory_list_id = 'inventory_list_id_example' # String | id of the related object (important: id should match the uuid-format)
190
+
191
+ begin
192
+ # book the single inventory list
193
+ api_instance.book_inventory_list(korona_account_id, inventory_id, inventory_list_id)
194
+ rescue KoronaCloudClient::ApiError => e
195
+ puts "Error when calling InventoriesApi->book_inventory_list: #{e}"
196
+ end
197
+ ```
198
+
199
+ #### Using the book_inventory_list_with_http_info variant
200
+
201
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
202
+
203
+ > <Array(nil, Integer, Hash)> book_inventory_list_with_http_info(korona_account_id, inventory_id, inventory_list_id)
204
+
205
+ ```ruby
206
+ begin
207
+ # book the single inventory list
208
+ data, status_code, headers = api_instance.book_inventory_list_with_http_info(korona_account_id, inventory_id, inventory_list_id)
209
+ p status_code # => 2xx
210
+ p headers # => { ... }
211
+ p data # => nil
212
+ rescue KoronaCloudClient::ApiError => e
213
+ puts "Error when calling InventoriesApi->book_inventory_list_with_http_info: #{e}"
214
+ end
215
+ ```
216
+
217
+ ### Parameters
218
+
219
+ | Name | Type | Description | Notes |
220
+ | ---- | ---- | ----------- | ----- |
221
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
222
+ | **inventory_id** | **String** | id of the related object (important: id should match the uuid-format) | |
223
+ | **inventory_list_id** | **String** | id of the related object (important: id should match the uuid-format) | |
224
+
225
+ ### Return type
226
+
227
+ nil (empty response body)
228
+
229
+ ### Authorization
230
+
231
+ [basicAuth](../README.md#basicAuth)
232
+
233
+ ### HTTP request headers
234
+
235
+ - **Content-Type**: Not defined
236
+ - **Accept**: application/json
237
+
238
+
134
239
  ## delete_inventory
135
240
 
136
241
  > delete_inventory(korona_account_id, inventory_id)
137
242
 
138
243
  deletes the single inventory (only allowed if hasBookedReceipts=false)
139
244
 
140
- ### Example
245
+ ### Examples
141
246
 
142
247
  ```ruby
143
- # load the gem
248
+ require 'time'
144
249
  require 'korona-cloud-client'
145
250
  # setup authorization
146
251
  KoronaCloudClient.configure do |config|
@@ -154,20 +259,37 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
154
259
  inventory_id = 'inventory_id_example' # String | id of the related object (important: id should match the uuid-format)
155
260
 
156
261
  begin
157
- #deletes the single inventory (only allowed if hasBookedReceipts=false)
262
+ # deletes the single inventory (only allowed if hasBookedReceipts=false)
158
263
  api_instance.delete_inventory(korona_account_id, inventory_id)
159
264
  rescue KoronaCloudClient::ApiError => e
160
- puts "Exception when calling InventoriesApi->delete_inventory: #{e}"
265
+ puts "Error when calling InventoriesApi->delete_inventory: #{e}"
161
266
  end
162
267
  ```
163
268
 
164
- ### Parameters
269
+ #### Using the delete_inventory_with_http_info variant
165
270
 
271
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
166
272
 
167
- Name | Type | Description | Notes
168
- ------------- | ------------- | ------------- | -------------
169
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
170
- **inventory_id** | **String**| id of the related object (important: id should match the uuid-format) |
273
+ > <Array(nil, Integer, Hash)> delete_inventory_with_http_info(korona_account_id, inventory_id)
274
+
275
+ ```ruby
276
+ begin
277
+ # deletes the single inventory (only allowed if hasBookedReceipts=false)
278
+ data, status_code, headers = api_instance.delete_inventory_with_http_info(korona_account_id, inventory_id)
279
+ p status_code # => 2xx
280
+ p headers # => { ... }
281
+ p data # => nil
282
+ rescue KoronaCloudClient::ApiError => e
283
+ puts "Error when calling InventoriesApi->delete_inventory_with_http_info: #{e}"
284
+ end
285
+ ```
286
+
287
+ ### Parameters
288
+
289
+ | Name | Type | Description | Notes |
290
+ | ---- | ---- | ----------- | ----- |
291
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
292
+ | **inventory_id** | **String** | id of the related object (important: id should match the uuid-format) | |
171
293
 
172
294
  ### Return type
173
295
 
@@ -183,16 +305,16 @@ nil (empty response body)
183
305
  - **Accept**: application/json
184
306
 
185
307
 
186
- ## delete_inventory_inventory_list_item
308
+ ## delete_inventory_list_item
187
309
 
188
- > delete_inventory_inventory_list_item(korona_account_id, inventory_id, inventory_list_id, product_id)
310
+ > delete_inventory_list_item(korona_account_id, inventory_id, inventory_list_id, product_id)
189
311
 
190
312
  deletes the single inventory list item
191
313
 
192
- ### Example
314
+ ### Examples
193
315
 
194
316
  ```ruby
195
- # load the gem
317
+ require 'time'
196
318
  require 'korona-cloud-client'
197
319
  # setup authorization
198
320
  KoronaCloudClient.configure do |config|
@@ -208,22 +330,39 @@ inventory_list_id = 'inventory_list_id_example' # String | id of the related obj
208
330
  product_id = 'product_id_example' # String | id of the related object (important: id should match the uuid-format)
209
331
 
210
332
  begin
211
- #deletes the single inventory list item
212
- api_instance.delete_inventory_inventory_list_item(korona_account_id, inventory_id, inventory_list_id, product_id)
333
+ # deletes the single inventory list item
334
+ api_instance.delete_inventory_list_item(korona_account_id, inventory_id, inventory_list_id, product_id)
213
335
  rescue KoronaCloudClient::ApiError => e
214
- puts "Exception when calling InventoriesApi->delete_inventory_inventory_list_item: #{e}"
336
+ puts "Error when calling InventoriesApi->delete_inventory_list_item: #{e}"
215
337
  end
216
338
  ```
217
339
 
218
- ### Parameters
340
+ #### Using the delete_inventory_list_item_with_http_info variant
219
341
 
342
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
220
343
 
221
- Name | Type | Description | Notes
222
- ------------- | ------------- | ------------- | -------------
223
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
224
- **inventory_id** | **String**| id of the related object (important: id should match the uuid-format) |
225
- **inventory_list_id** | **String**| id of the related object (important: id should match the uuid-format) |
226
- **product_id** | **String**| id of the related object (important: id should match the uuid-format) |
344
+ > <Array(nil, Integer, Hash)> delete_inventory_list_item_with_http_info(korona_account_id, inventory_id, inventory_list_id, product_id)
345
+
346
+ ```ruby
347
+ begin
348
+ # deletes the single inventory list item
349
+ data, status_code, headers = api_instance.delete_inventory_list_item_with_http_info(korona_account_id, inventory_id, inventory_list_id, product_id)
350
+ p status_code # => 2xx
351
+ p headers # => { ... }
352
+ p data # => nil
353
+ rescue KoronaCloudClient::ApiError => e
354
+ puts "Error when calling InventoriesApi->delete_inventory_list_item_with_http_info: #{e}"
355
+ end
356
+ ```
357
+
358
+ ### Parameters
359
+
360
+ | Name | Type | Description | Notes |
361
+ | ---- | ---- | ----------- | ----- |
362
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
363
+ | **inventory_id** | **String** | id of the related object (important: id should match the uuid-format) | |
364
+ | **inventory_list_id** | **String** | id of the related object (important: id should match the uuid-format) | |
365
+ | **product_id** | **String** | id of the related object (important: id should match the uuid-format) | |
227
366
 
228
367
  ### Return type
229
368
 
@@ -241,14 +380,14 @@ nil (empty response body)
241
380
 
242
381
  ## get_inventories
243
382
 
244
- > ResultListInventory get_inventories(korona_account_id, opts)
383
+ > <ResultListInventory> get_inventories(korona_account_id, opts)
245
384
 
246
385
  lists all inventories
247
386
 
248
- ### Example
387
+ ### Examples
249
388
 
250
389
  ```ruby
251
- # load the gem
390
+ require 'time'
252
391
  require 'korona-cloud-client'
253
392
  # setup authorization
254
393
  KoronaCloudClient.configure do |config|
@@ -263,32 +402,49 @@ opts = {
263
402
  page: 56, # Integer | number of the page to fetch
264
403
  size: 56, # Integer | amount of objects to return per page
265
404
  sort: 'sort_example', # String | attribute to sort by (multiple separated by comma; max. 5)
266
- revision: 56, # Integer | last revision number, objects with a greater revision than this will be returned
405
+ revision: 789, # Integer | last revision number, objects with a greater revision than this will be returned
267
406
  include_deleted: true, # Boolean | indicates deleted objects should be loaded or not (default: false)
268
407
  number: 'number_example' # String | number of the related object
269
408
  }
270
409
 
271
410
  begin
272
- #lists all inventories
411
+ # lists all inventories
273
412
  result = api_instance.get_inventories(korona_account_id, opts)
274
413
  p result
275
414
  rescue KoronaCloudClient::ApiError => e
276
- puts "Exception when calling InventoriesApi->get_inventories: #{e}"
415
+ puts "Error when calling InventoriesApi->get_inventories: #{e}"
277
416
  end
278
417
  ```
279
418
 
280
- ### Parameters
419
+ #### Using the get_inventories_with_http_info variant
420
+
421
+ This returns an Array which contains the response data, status code and headers.
422
+
423
+ > <Array(<ResultListInventory>, Integer, Hash)> get_inventories_with_http_info(korona_account_id, opts)
424
+
425
+ ```ruby
426
+ begin
427
+ # lists all inventories
428
+ data, status_code, headers = api_instance.get_inventories_with_http_info(korona_account_id, opts)
429
+ p status_code # => 2xx
430
+ p headers # => { ... }
431
+ p data # => <ResultListInventory>
432
+ rescue KoronaCloudClient::ApiError => e
433
+ puts "Error when calling InventoriesApi->get_inventories_with_http_info: #{e}"
434
+ end
435
+ ```
281
436
 
437
+ ### Parameters
282
438
 
283
- Name | Type | Description | Notes
284
- ------------- | ------------- | ------------- | -------------
285
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
286
- **page** | **Integer**| number of the page to fetch | [optional]
287
- **size** | **Integer**| amount of objects to return per page | [optional]
288
- **sort** | **String**| attribute to sort by (multiple separated by comma; max. 5) | [optional]
289
- **revision** | **Integer**| last revision number, objects with a greater revision than this will be returned | [optional]
290
- **include_deleted** | **Boolean**| indicates deleted objects should be loaded or not (default: false) | [optional]
291
- **number** | **String**| number of the related object | [optional]
439
+ | Name | Type | Description | Notes |
440
+ | ---- | ---- | ----------- | ----- |
441
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
442
+ | **page** | **Integer** | number of the page to fetch | [optional] |
443
+ | **size** | **Integer** | amount of objects to return per page | [optional] |
444
+ | **sort** | **String** | attribute to sort by (multiple separated by comma; max. 5) | [optional] |
445
+ | **revision** | **Integer** | last revision number, objects with a greater revision than this will be returned | [optional] |
446
+ | **include_deleted** | **Boolean** | indicates deleted objects should be loaded or not (default: false) | [optional] |
447
+ | **number** | **String** | number of the related object | [optional] |
292
448
 
293
449
  ### Return type
294
450
 
@@ -306,14 +462,14 @@ Name | Type | Description | Notes
306
462
 
307
463
  ## get_inventory
308
464
 
309
- > Inventory get_inventory(korona_account_id, inventory_id)
465
+ > <Inventory> get_inventory(korona_account_id, inventory_id)
310
466
 
311
467
  returns the single inventory
312
468
 
313
- ### Example
469
+ ### Examples
314
470
 
315
471
  ```ruby
316
- # load the gem
472
+ require 'time'
317
473
  require 'korona-cloud-client'
318
474
  # setup authorization
319
475
  KoronaCloudClient.configure do |config|
@@ -327,21 +483,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
327
483
  inventory_id = 'inventory_id_example' # String | id of the related object (important: id should match the uuid-format)
328
484
 
329
485
  begin
330
- #returns the single inventory
486
+ # returns the single inventory
331
487
  result = api_instance.get_inventory(korona_account_id, inventory_id)
332
488
  p result
333
489
  rescue KoronaCloudClient::ApiError => e
334
- puts "Exception when calling InventoriesApi->get_inventory: #{e}"
490
+ puts "Error when calling InventoriesApi->get_inventory: #{e}"
335
491
  end
336
492
  ```
337
493
 
338
- ### Parameters
494
+ #### Using the get_inventory_with_http_info variant
495
+
496
+ This returns an Array which contains the response data, status code and headers.
497
+
498
+ > <Array(<Inventory>, Integer, Hash)> get_inventory_with_http_info(korona_account_id, inventory_id)
499
+
500
+ ```ruby
501
+ begin
502
+ # returns the single inventory
503
+ data, status_code, headers = api_instance.get_inventory_with_http_info(korona_account_id, inventory_id)
504
+ p status_code # => 2xx
505
+ p headers # => { ... }
506
+ p data # => <Inventory>
507
+ rescue KoronaCloudClient::ApiError => e
508
+ puts "Error when calling InventoriesApi->get_inventory_with_http_info: #{e}"
509
+ end
510
+ ```
339
511
 
512
+ ### Parameters
340
513
 
341
- Name | Type | Description | Notes
342
- ------------- | ------------- | ------------- | -------------
343
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
344
- **inventory_id** | **String**| id of the related object (important: id should match the uuid-format) |
514
+ | Name | Type | Description | Notes |
515
+ | ---- | ---- | ----------- | ----- |
516
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
517
+ | **inventory_id** | **String** | id of the related object (important: id should match the uuid-format) | |
345
518
 
346
519
  ### Return type
347
520
 
@@ -357,16 +530,16 @@ Name | Type | Description | Notes
357
530
  - **Accept**: application/json
358
531
 
359
532
 
360
- ## get_inventory_inventory_list
533
+ ## get_inventory_list
361
534
 
362
- > InventoryList get_inventory_inventory_list(korona_account_id, inventory_id, inventory_list_id)
535
+ > <InventoryList> get_inventory_list(korona_account_id, inventory_id, inventory_list_id)
363
536
 
364
537
  returns the single inventory list
365
538
 
366
- ### Example
539
+ ### Examples
367
540
 
368
541
  ```ruby
369
- # load the gem
542
+ require 'time'
370
543
  require 'korona-cloud-client'
371
544
  # setup authorization
372
545
  KoronaCloudClient.configure do |config|
@@ -381,22 +554,39 @@ inventory_id = 'inventory_id_example' # String | id of the related object (impor
381
554
  inventory_list_id = 'inventory_list_id_example' # String | id of the related object (important: id should match the uuid-format)
382
555
 
383
556
  begin
384
- #returns the single inventory list
385
- result = api_instance.get_inventory_inventory_list(korona_account_id, inventory_id, inventory_list_id)
557
+ # returns the single inventory list
558
+ result = api_instance.get_inventory_list(korona_account_id, inventory_id, inventory_list_id)
386
559
  p result
387
560
  rescue KoronaCloudClient::ApiError => e
388
- puts "Exception when calling InventoriesApi->get_inventory_inventory_list: #{e}"
561
+ puts "Error when calling InventoriesApi->get_inventory_list: #{e}"
389
562
  end
390
563
  ```
391
564
 
392
- ### Parameters
565
+ #### Using the get_inventory_list_with_http_info variant
566
+
567
+ This returns an Array which contains the response data, status code and headers.
568
+
569
+ > <Array(<InventoryList>, Integer, Hash)> get_inventory_list_with_http_info(korona_account_id, inventory_id, inventory_list_id)
570
+
571
+ ```ruby
572
+ begin
573
+ # returns the single inventory list
574
+ data, status_code, headers = api_instance.get_inventory_list_with_http_info(korona_account_id, inventory_id, inventory_list_id)
575
+ p status_code # => 2xx
576
+ p headers # => { ... }
577
+ p data # => <InventoryList>
578
+ rescue KoronaCloudClient::ApiError => e
579
+ puts "Error when calling InventoriesApi->get_inventory_list_with_http_info: #{e}"
580
+ end
581
+ ```
393
582
 
583
+ ### Parameters
394
584
 
395
- Name | Type | Description | Notes
396
- ------------- | ------------- | ------------- | -------------
397
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
398
- **inventory_id** | **String**| id of the related object (important: id should match the uuid-format) |
399
- **inventory_list_id** | **String**| id of the related object (important: id should match the uuid-format) |
585
+ | Name | Type | Description | Notes |
586
+ | ---- | ---- | ----------- | ----- |
587
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
588
+ | **inventory_id** | **String** | id of the related object (important: id should match the uuid-format) | |
589
+ | **inventory_list_id** | **String** | id of the related object (important: id should match the uuid-format) | |
400
590
 
401
591
  ### Return type
402
592
 
@@ -412,16 +602,16 @@ Name | Type | Description | Notes
412
602
  - **Accept**: application/json
413
603
 
414
604
 
415
- ## get_inventory_inventory_list_item
605
+ ## get_inventory_list_item
416
606
 
417
- > InventoryListItem get_inventory_inventory_list_item(korona_account_id, inventory_id, inventory_list_id, product_id)
607
+ > <InventoryListItem> get_inventory_list_item(korona_account_id, inventory_id, inventory_list_id, product_id)
418
608
 
419
609
  returns the single inventory list item
420
610
 
421
- ### Example
611
+ ### Examples
422
612
 
423
613
  ```ruby
424
- # load the gem
614
+ require 'time'
425
615
  require 'korona-cloud-client'
426
616
  # setup authorization
427
617
  KoronaCloudClient.configure do |config|
@@ -437,23 +627,40 @@ inventory_list_id = 'inventory_list_id_example' # String | id of the related obj
437
627
  product_id = 'product_id_example' # String | id of the related object (important: id should match the uuid-format)
438
628
 
439
629
  begin
440
- #returns the single inventory list item
441
- result = api_instance.get_inventory_inventory_list_item(korona_account_id, inventory_id, inventory_list_id, product_id)
630
+ # returns the single inventory list item
631
+ result = api_instance.get_inventory_list_item(korona_account_id, inventory_id, inventory_list_id, product_id)
442
632
  p result
443
633
  rescue KoronaCloudClient::ApiError => e
444
- puts "Exception when calling InventoriesApi->get_inventory_inventory_list_item: #{e}"
634
+ puts "Error when calling InventoriesApi->get_inventory_list_item: #{e}"
445
635
  end
446
636
  ```
447
637
 
448
- ### Parameters
638
+ #### Using the get_inventory_list_item_with_http_info variant
639
+
640
+ This returns an Array which contains the response data, status code and headers.
641
+
642
+ > <Array(<InventoryListItem>, Integer, Hash)> get_inventory_list_item_with_http_info(korona_account_id, inventory_id, inventory_list_id, product_id)
643
+
644
+ ```ruby
645
+ begin
646
+ # returns the single inventory list item
647
+ data, status_code, headers = api_instance.get_inventory_list_item_with_http_info(korona_account_id, inventory_id, inventory_list_id, product_id)
648
+ p status_code # => 2xx
649
+ p headers # => { ... }
650
+ p data # => <InventoryListItem>
651
+ rescue KoronaCloudClient::ApiError => e
652
+ puts "Error when calling InventoriesApi->get_inventory_list_item_with_http_info: #{e}"
653
+ end
654
+ ```
449
655
 
656
+ ### Parameters
450
657
 
451
- Name | Type | Description | Notes
452
- ------------- | ------------- | ------------- | -------------
453
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
454
- **inventory_id** | **String**| id of the related object (important: id should match the uuid-format) |
455
- **inventory_list_id** | **String**| id of the related object (important: id should match the uuid-format) |
456
- **product_id** | **String**| id of the related object (important: id should match the uuid-format) |
658
+ | Name | Type | Description | Notes |
659
+ | ---- | ---- | ----------- | ----- |
660
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
661
+ | **inventory_id** | **String** | id of the related object (important: id should match the uuid-format) | |
662
+ | **inventory_list_id** | **String** | id of the related object (important: id should match the uuid-format) | |
663
+ | **product_id** | **String** | id of the related object (important: id should match the uuid-format) | |
457
664
 
458
665
  ### Return type
459
666
 
@@ -469,16 +676,16 @@ Name | Type | Description | Notes
469
676
  - **Accept**: application/json
470
677
 
471
678
 
472
- ## get_inventory_inventory_list_items
679
+ ## get_inventory_list_items
473
680
 
474
- > ResultListInventoryListItem get_inventory_inventory_list_items(korona_account_id, inventory_id, inventory_list_id, opts)
681
+ > <ResultListInventoryListItem> get_inventory_list_items(korona_account_id, inventory_id, inventory_list_id, opts)
475
682
 
476
683
  lists all inventory list items
477
684
 
478
- ### Example
685
+ ### Examples
479
686
 
480
687
  ```ruby
481
- # load the gem
688
+ require 'time'
482
689
  require 'korona-cloud-client'
483
690
  # setup authorization
484
691
  KoronaCloudClient.configure do |config|
@@ -495,30 +702,47 @@ opts = {
495
702
  page: 56, # Integer | number of the page to fetch
496
703
  size: 56, # Integer | amount of objects to return per page
497
704
  sort: 'sort_example', # String | attribute to sort by (multiple separated by comma; max. 5)
498
- revision: 56 # Integer | last revision number, objects with a greater revision than this will be returned
705
+ revision: 789 # Integer | last revision number, objects with a greater revision than this will be returned
499
706
  }
500
707
 
501
708
  begin
502
- #lists all inventory list items
503
- result = api_instance.get_inventory_inventory_list_items(korona_account_id, inventory_id, inventory_list_id, opts)
709
+ # lists all inventory list items
710
+ result = api_instance.get_inventory_list_items(korona_account_id, inventory_id, inventory_list_id, opts)
504
711
  p result
505
712
  rescue KoronaCloudClient::ApiError => e
506
- puts "Exception when calling InventoriesApi->get_inventory_inventory_list_items: #{e}"
713
+ puts "Error when calling InventoriesApi->get_inventory_list_items: #{e}"
507
714
  end
508
715
  ```
509
716
 
510
- ### Parameters
717
+ #### Using the get_inventory_list_items_with_http_info variant
511
718
 
719
+ This returns an Array which contains the response data, status code and headers.
512
720
 
513
- Name | Type | Description | Notes
514
- ------------- | ------------- | ------------- | -------------
515
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
516
- **inventory_id** | **String**| id of the related object (important: id should match the uuid-format) |
517
- **inventory_list_id** | **String**| id of the related object (important: id should match the uuid-format) |
518
- **page** | **Integer**| number of the page to fetch | [optional]
519
- **size** | **Integer**| amount of objects to return per page | [optional]
520
- **sort** | **String**| attribute to sort by (multiple separated by comma; max. 5) | [optional]
521
- **revision** | **Integer**| last revision number, objects with a greater revision than this will be returned | [optional]
721
+ > <Array(<ResultListInventoryListItem>, Integer, Hash)> get_inventory_list_items_with_http_info(korona_account_id, inventory_id, inventory_list_id, opts)
722
+
723
+ ```ruby
724
+ begin
725
+ # lists all inventory list items
726
+ data, status_code, headers = api_instance.get_inventory_list_items_with_http_info(korona_account_id, inventory_id, inventory_list_id, opts)
727
+ p status_code # => 2xx
728
+ p headers # => { ... }
729
+ p data # => <ResultListInventoryListItem>
730
+ rescue KoronaCloudClient::ApiError => e
731
+ puts "Error when calling InventoriesApi->get_inventory_list_items_with_http_info: #{e}"
732
+ end
733
+ ```
734
+
735
+ ### Parameters
736
+
737
+ | Name | Type | Description | Notes |
738
+ | ---- | ---- | ----------- | ----- |
739
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
740
+ | **inventory_id** | **String** | id of the related object (important: id should match the uuid-format) | |
741
+ | **inventory_list_id** | **String** | id of the related object (important: id should match the uuid-format) | |
742
+ | **page** | **Integer** | number of the page to fetch | [optional] |
743
+ | **size** | **Integer** | amount of objects to return per page | [optional] |
744
+ | **sort** | **String** | attribute to sort by (multiple separated by comma; max. 5) | [optional] |
745
+ | **revision** | **Integer** | last revision number, objects with a greater revision than this will be returned | [optional] |
522
746
 
523
747
  ### Return type
524
748
 
@@ -534,16 +758,16 @@ Name | Type | Description | Notes
534
758
  - **Accept**: application/json
535
759
 
536
760
 
537
- ## get_inventory_inventory_lists
761
+ ## get_inventory_lists
538
762
 
539
- > ResultListInventoryList get_inventory_inventory_lists(korona_account_id, inventory_id, opts)
763
+ > <ResultListInventoryList> get_inventory_lists(korona_account_id, inventory_id, opts)
540
764
 
541
765
  lists all inventory lists
542
766
 
543
- ### Example
767
+ ### Examples
544
768
 
545
769
  ```ruby
546
- # load the gem
770
+ require 'time'
547
771
  require 'korona-cloud-client'
548
772
  # setup authorization
549
773
  KoronaCloudClient.configure do |config|
@@ -559,43 +783,60 @@ opts = {
559
783
  page: 56, # Integer | number of the page to fetch
560
784
  size: 56, # Integer | amount of objects to return per page
561
785
  sort: 'sort_example', # String | attribute to sort by (multiple separated by comma; max. 5)
562
- revision: 56, # Integer | last revision number, objects with a greater revision than this will be returned
786
+ revision: 789, # Integer | last revision number, objects with a greater revision than this will be returned
563
787
  include_deleted: true, # Boolean | indicates deleted objects should be loaded or not (default: false)
564
- min_create_time: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | min (inclusive) create time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
565
- max_create_time: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | max (inclusive) create time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
566
- min_booking_time: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | min (inclusive) booking time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
567
- max_booking_time: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | max (inclusive) booking time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
568
- booking_status: 'booking_status_example', # String | booking status (possible values: BOOKED, IN_PROGRESS)
788
+ min_create_time: Time.parse('2013-10-20T19:20:30+01:00'), # Time | min (inclusive) create time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
789
+ max_create_time: Time.parse('2013-10-20T19:20:30+01:00'), # Time | max (inclusive) create time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
790
+ min_booking_time: Time.parse('2013-10-20T19:20:30+01:00'), # Time | min (inclusive) booking time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
791
+ max_booking_time: Time.parse('2013-10-20T19:20:30+01:00'), # Time | max (inclusive) booking time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
792
+ booking_status: 'BOOKED', # String | booking status (possible values: BOOKED, IN_PROGRESS)
569
793
  number: 'number_example' # String | number of the related object
570
794
  }
571
795
 
572
796
  begin
573
- #lists all inventory lists
574
- result = api_instance.get_inventory_inventory_lists(korona_account_id, inventory_id, opts)
797
+ # lists all inventory lists
798
+ result = api_instance.get_inventory_lists(korona_account_id, inventory_id, opts)
575
799
  p result
576
800
  rescue KoronaCloudClient::ApiError => e
577
- puts "Exception when calling InventoriesApi->get_inventory_inventory_lists: #{e}"
801
+ puts "Error when calling InventoriesApi->get_inventory_lists: #{e}"
578
802
  end
579
803
  ```
580
804
 
581
- ### Parameters
805
+ #### Using the get_inventory_lists_with_http_info variant
582
806
 
807
+ This returns an Array which contains the response data, status code and headers.
583
808
 
584
- Name | Type | Description | Notes
585
- ------------- | ------------- | ------------- | -------------
586
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
587
- **inventory_id** | **String**| id of the related object (important: id should match the uuid-format) |
588
- **page** | **Integer**| number of the page to fetch | [optional]
589
- **size** | **Integer**| amount of objects to return per page | [optional]
590
- **sort** | **String**| attribute to sort by (multiple separated by comma; max. 5) | [optional]
591
- **revision** | **Integer**| last revision number, objects with a greater revision than this will be returned | [optional]
592
- **include_deleted** | **Boolean**| indicates deleted objects should be loaded or not (default: false) | [optional]
593
- **min_create_time** | **DateTime**| min (inclusive) create time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional) | [optional]
594
- **max_create_time** | **DateTime**| max (inclusive) create time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional) | [optional]
595
- **min_booking_time** | **DateTime**| min (inclusive) booking time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional) | [optional]
596
- **max_booking_time** | **DateTime**| max (inclusive) booking time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional) | [optional]
597
- **booking_status** | **String**| booking status (possible values: BOOKED, IN_PROGRESS) | [optional]
598
- **number** | **String**| number of the related object | [optional]
809
+ > <Array(<ResultListInventoryList>, Integer, Hash)> get_inventory_lists_with_http_info(korona_account_id, inventory_id, opts)
810
+
811
+ ```ruby
812
+ begin
813
+ # lists all inventory lists
814
+ data, status_code, headers = api_instance.get_inventory_lists_with_http_info(korona_account_id, inventory_id, opts)
815
+ p status_code # => 2xx
816
+ p headers # => { ... }
817
+ p data # => <ResultListInventoryList>
818
+ rescue KoronaCloudClient::ApiError => e
819
+ puts "Error when calling InventoriesApi->get_inventory_lists_with_http_info: #{e}"
820
+ end
821
+ ```
822
+
823
+ ### Parameters
824
+
825
+ | Name | Type | Description | Notes |
826
+ | ---- | ---- | ----------- | ----- |
827
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
828
+ | **inventory_id** | **String** | id of the related object (important: id should match the uuid-format) | |
829
+ | **page** | **Integer** | number of the page to fetch | [optional] |
830
+ | **size** | **Integer** | amount of objects to return per page | [optional] |
831
+ | **sort** | **String** | attribute to sort by (multiple separated by comma; max. 5) | [optional] |
832
+ | **revision** | **Integer** | last revision number, objects with a greater revision than this will be returned | [optional] |
833
+ | **include_deleted** | **Boolean** | indicates deleted objects should be loaded or not (default: false) | [optional] |
834
+ | **min_create_time** | **Time** | min (inclusive) create time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional) | [optional] |
835
+ | **max_create_time** | **Time** | max (inclusive) create time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional) | [optional] |
836
+ | **min_booking_time** | **Time** | min (inclusive) booking time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional) | [optional] |
837
+ | **max_booking_time** | **Time** | max (inclusive) booking time of the receipt (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional) | [optional] |
838
+ | **booking_status** | **String** | booking status (possible values: BOOKED, IN_PROGRESS) | [optional] |
839
+ | **number** | **String** | number of the related object | [optional] |
599
840
 
600
841
  ### Return type
601
842
 
@@ -617,10 +858,10 @@ Name | Type | Description | Notes
617
858
 
618
859
  updates the single inventory
619
860
 
620
- ### Example
861
+ ### Examples
621
862
 
622
863
  ```ruby
623
- # load the gem
864
+ require 'time'
624
865
  require 'korona-cloud-client'
625
866
  # setup authorization
626
867
  KoronaCloudClient.configure do |config|
@@ -635,21 +876,38 @@ inventory_id = 'inventory_id_example' # String | id of the related object (impor
635
876
  body = KoronaCloudClient::Inventory.new # Inventory | the properties to update of the inventory
636
877
 
637
878
  begin
638
- #updates the single inventory
879
+ # updates the single inventory
639
880
  api_instance.update_inventory(korona_account_id, inventory_id, body)
640
881
  rescue KoronaCloudClient::ApiError => e
641
- puts "Exception when calling InventoriesApi->update_inventory: #{e}"
882
+ puts "Error when calling InventoriesApi->update_inventory: #{e}"
642
883
  end
643
884
  ```
644
885
 
645
- ### Parameters
886
+ #### Using the update_inventory_with_http_info variant
887
+
888
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
889
+
890
+ > <Array(nil, Integer, Hash)> update_inventory_with_http_info(korona_account_id, inventory_id, body)
891
+
892
+ ```ruby
893
+ begin
894
+ # updates the single inventory
895
+ data, status_code, headers = api_instance.update_inventory_with_http_info(korona_account_id, inventory_id, body)
896
+ p status_code # => 2xx
897
+ p headers # => { ... }
898
+ p data # => nil
899
+ rescue KoronaCloudClient::ApiError => e
900
+ puts "Error when calling InventoriesApi->update_inventory_with_http_info: #{e}"
901
+ end
902
+ ```
646
903
 
904
+ ### Parameters
647
905
 
648
- Name | Type | Description | Notes
649
- ------------- | ------------- | ------------- | -------------
650
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
651
- **inventory_id** | **String**| id of the related object (important: id should match the uuid-format) |
652
- **body** | [**Inventory**](Inventory.md)| the properties to update of the inventory |
906
+ | Name | Type | Description | Notes |
907
+ | ---- | ---- | ----------- | ----- |
908
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
909
+ | **inventory_id** | **String** | id of the related object (important: id should match the uuid-format) | |
910
+ | **body** | [**Inventory**](Inventory.md) | the properties to update of the inventory | |
653
911
 
654
912
  ### Return type
655
913
 
@@ -665,16 +923,16 @@ nil (empty response body)
665
923
  - **Accept**: application/json
666
924
 
667
925
 
668
- ## update_inventory_inventory_list
926
+ ## update_inventory_list
669
927
 
670
- > update_inventory_inventory_list(korona_account_id, inventory_id, inventory_list_id, body)
928
+ > update_inventory_list(korona_account_id, inventory_id, inventory_list_id, body)
671
929
 
672
930
  updates the single inventory list
673
931
 
674
- ### Example
932
+ ### Examples
675
933
 
676
934
  ```ruby
677
- # load the gem
935
+ require 'time'
678
936
  require 'korona-cloud-client'
679
937
  # setup authorization
680
938
  KoronaCloudClient.configure do |config|
@@ -690,22 +948,39 @@ inventory_list_id = 'inventory_list_id_example' # String | id of the related obj
690
948
  body = KoronaCloudClient::InventoryList.new # InventoryList | data to update
691
949
 
692
950
  begin
693
- #updates the single inventory list
694
- api_instance.update_inventory_inventory_list(korona_account_id, inventory_id, inventory_list_id, body)
951
+ # updates the single inventory list
952
+ api_instance.update_inventory_list(korona_account_id, inventory_id, inventory_list_id, body)
695
953
  rescue KoronaCloudClient::ApiError => e
696
- puts "Exception when calling InventoriesApi->update_inventory_inventory_list: #{e}"
954
+ puts "Error when calling InventoriesApi->update_inventory_list: #{e}"
697
955
  end
698
956
  ```
699
957
 
700
- ### Parameters
958
+ #### Using the update_inventory_list_with_http_info variant
701
959
 
960
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
702
961
 
703
- Name | Type | Description | Notes
704
- ------------- | ------------- | ------------- | -------------
705
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
706
- **inventory_id** | **String**| id of the related object (important: id should match the uuid-format) |
707
- **inventory_list_id** | **String**| id of the related object (important: id should match the uuid-format) |
708
- **body** | [**InventoryList**](InventoryList.md)| data to update |
962
+ > <Array(nil, Integer, Hash)> update_inventory_list_with_http_info(korona_account_id, inventory_id, inventory_list_id, body)
963
+
964
+ ```ruby
965
+ begin
966
+ # updates the single inventory list
967
+ data, status_code, headers = api_instance.update_inventory_list_with_http_info(korona_account_id, inventory_id, inventory_list_id, body)
968
+ p status_code # => 2xx
969
+ p headers # => { ... }
970
+ p data # => nil
971
+ rescue KoronaCloudClient::ApiError => e
972
+ puts "Error when calling InventoriesApi->update_inventory_list_with_http_info: #{e}"
973
+ end
974
+ ```
975
+
976
+ ### Parameters
977
+
978
+ | Name | Type | Description | Notes |
979
+ | ---- | ---- | ----------- | ----- |
980
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
981
+ | **inventory_id** | **String** | id of the related object (important: id should match the uuid-format) | |
982
+ | **inventory_list_id** | **String** | id of the related object (important: id should match the uuid-format) | |
983
+ | **body** | [**InventoryList**](InventoryList.md) | data to update | |
709
984
 
710
985
  ### Return type
711
986
 
@@ -721,16 +996,16 @@ nil (empty response body)
721
996
  - **Accept**: application/json
722
997
 
723
998
 
724
- ## update_inventory_inventory_list_item
999
+ ## update_inventory_list_item
725
1000
 
726
- > update_inventory_inventory_list_item(korona_account_id, inventory_id, inventory_list_id, product_id, body)
1001
+ > update_inventory_list_item(korona_account_id, inventory_id, inventory_list_id, product_id, body)
727
1002
 
728
1003
  updates the single inventory list item
729
1004
 
730
- ### Example
1005
+ ### Examples
731
1006
 
732
1007
  ```ruby
733
- # load the gem
1008
+ require 'time'
734
1009
  require 'korona-cloud-client'
735
1010
  # setup authorization
736
1011
  KoronaCloudClient.configure do |config|
@@ -747,23 +1022,40 @@ product_id = 'product_id_example' # String | id of the related object (important
747
1022
  body = KoronaCloudClient::InventoryListItem.new # InventoryListItem | data to update
748
1023
 
749
1024
  begin
750
- #updates the single inventory list item
751
- api_instance.update_inventory_inventory_list_item(korona_account_id, inventory_id, inventory_list_id, product_id, body)
1025
+ # updates the single inventory list item
1026
+ api_instance.update_inventory_list_item(korona_account_id, inventory_id, inventory_list_id, product_id, body)
752
1027
  rescue KoronaCloudClient::ApiError => e
753
- puts "Exception when calling InventoriesApi->update_inventory_inventory_list_item: #{e}"
1028
+ puts "Error when calling InventoriesApi->update_inventory_list_item: #{e}"
754
1029
  end
755
1030
  ```
756
1031
 
757
- ### Parameters
1032
+ #### Using the update_inventory_list_item_with_http_info variant
1033
+
1034
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
1035
+
1036
+ > <Array(nil, Integer, Hash)> update_inventory_list_item_with_http_info(korona_account_id, inventory_id, inventory_list_id, product_id, body)
758
1037
 
1038
+ ```ruby
1039
+ begin
1040
+ # updates the single inventory list item
1041
+ data, status_code, headers = api_instance.update_inventory_list_item_with_http_info(korona_account_id, inventory_id, inventory_list_id, product_id, body)
1042
+ p status_code # => 2xx
1043
+ p headers # => { ... }
1044
+ p data # => nil
1045
+ rescue KoronaCloudClient::ApiError => e
1046
+ puts "Error when calling InventoriesApi->update_inventory_list_item_with_http_info: #{e}"
1047
+ end
1048
+ ```
759
1049
 
760
- Name | Type | Description | Notes
761
- ------------- | ------------- | ------------- | -------------
762
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
763
- **inventory_id** | **String**| id of the related object (important: id should match the uuid-format) |
764
- **inventory_list_id** | **String**| id of the related object (important: id should match the uuid-format) |
765
- **product_id** | **String**| id of the related object (important: id should match the uuid-format) |
766
- **body** | [**InventoryListItem**](InventoryListItem.md)| data to update |
1050
+ ### Parameters
1051
+
1052
+ | Name | Type | Description | Notes |
1053
+ | ---- | ---- | ----------- | ----- |
1054
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
1055
+ | **inventory_id** | **String** | id of the related object (important: id should match the uuid-format) | |
1056
+ | **inventory_list_id** | **String** | id of the related object (important: id should match the uuid-format) | |
1057
+ | **product_id** | **String** | id of the related object (important: id should match the uuid-format) | |
1058
+ | **body** | [**InventoryListItem**](InventoryListItem.md) | data to update | |
767
1059
 
768
1060
  ### Return type
769
1061
 
@@ -779,16 +1071,16 @@ nil (empty response body)
779
1071
  - **Accept**: application/json
780
1072
 
781
1073
 
782
- ## update_inventory_inventory_list_items
1074
+ ## update_inventory_list_items
783
1075
 
784
- > Array&lt;AddOrUpdateResult&gt; update_inventory_inventory_list_items(korona_account_id, inventory_id, inventory_list_id, body)
1076
+ > <Array<AddOrUpdateResult>> update_inventory_list_items(korona_account_id, inventory_id, inventory_list_id, body)
785
1077
 
786
1078
  updates inventory list items (property [product] required))
787
1079
 
788
- ### Example
1080
+ ### Examples
789
1081
 
790
1082
  ```ruby
791
- # load the gem
1083
+ require 'time'
792
1084
  require 'korona-cloud-client'
793
1085
  # setup authorization
794
1086
  KoronaCloudClient.configure do |config|
@@ -804,23 +1096,40 @@ inventory_list_id = 'inventory_list_id_example' # String | id of the related obj
804
1096
  body = [KoronaCloudClient::InventoryListItem.new] # Array<InventoryListItem> | an array of inventory list items to update
805
1097
 
806
1098
  begin
807
- #updates inventory list items (property [product] required))
808
- result = api_instance.update_inventory_inventory_list_items(korona_account_id, inventory_id, inventory_list_id, body)
1099
+ # updates inventory list items (property [product] required))
1100
+ result = api_instance.update_inventory_list_items(korona_account_id, inventory_id, inventory_list_id, body)
809
1101
  p result
810
1102
  rescue KoronaCloudClient::ApiError => e
811
- puts "Exception when calling InventoriesApi->update_inventory_inventory_list_items: #{e}"
1103
+ puts "Error when calling InventoriesApi->update_inventory_list_items: #{e}"
812
1104
  end
813
1105
  ```
814
1106
 
815
- ### Parameters
1107
+ #### Using the update_inventory_list_items_with_http_info variant
1108
+
1109
+ This returns an Array which contains the response data, status code and headers.
816
1110
 
1111
+ > <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> update_inventory_list_items_with_http_info(korona_account_id, inventory_id, inventory_list_id, body)
1112
+
1113
+ ```ruby
1114
+ begin
1115
+ # updates inventory list items (property [product] required))
1116
+ data, status_code, headers = api_instance.update_inventory_list_items_with_http_info(korona_account_id, inventory_id, inventory_list_id, body)
1117
+ p status_code # => 2xx
1118
+ p headers # => { ... }
1119
+ p data # => <Array<AddOrUpdateResult>>
1120
+ rescue KoronaCloudClient::ApiError => e
1121
+ puts "Error when calling InventoriesApi->update_inventory_list_items_with_http_info: #{e}"
1122
+ end
1123
+ ```
1124
+
1125
+ ### Parameters
817
1126
 
818
- Name | Type | Description | Notes
819
- ------------- | ------------- | ------------- | -------------
820
- **korona_account_id** | **String**| account id of the KORONA.cloud account |
821
- **inventory_id** | **String**| id of the related object (important: id should match the uuid-format) |
822
- **inventory_list_id** | **String**| id of the related object (important: id should match the uuid-format) |
823
- **body** | [**Array&lt;InventoryListItem&gt;**](InventoryListItem.md)| an array of inventory list items to update |
1127
+ | Name | Type | Description | Notes |
1128
+ | ---- | ---- | ----------- | ----- |
1129
+ | **korona_account_id** | **String** | account id of the KORONA.cloud account | |
1130
+ | **inventory_id** | **String** | id of the related object (important: id should match the uuid-format) | |
1131
+ | **inventory_list_id** | **String** | id of the related object (important: id should match the uuid-format) | |
1132
+ | **body** | [**Array&lt;InventoryListItem&gt;**](InventoryListItem.md) | an array of inventory list items to update | |
824
1133
 
825
1134
  ### Return type
826
1135